Upgrade ldtplayer V08.005
authorymh <ymh.work@gmail.com>
Tue, 22 Oct 2024 08:53:02 +0200
changeset 1567 a805a8ee2b85
parent 1566 1afca431c540
child 1568 8a7d961908a7
Upgrade ldtplayer
web/player_embed.php
web/polemicaltimeline.php
web/renkan.php
web/res/metadataplayer/LdtPlayer-core.css
web/res/metadataplayer/LdtPlayer-core.js
--- a/web/player_embed.php	Sat Oct 19 01:42:58 2024 +0200
+++ b/web/player_embed.php	Tue Oct 22 08:53:02 2024 +0200
@@ -64,11 +64,9 @@
         css:'<?php echo(registry_url('metadataplayer','css'));?>',
         widgets: [
             {
-                type: "JwpPlayer",
+                type: "AutoPlayer",
                 height: 300,
-                url_transform: function(u) {
-                    return u.replace('ddc_player/video', 'ddc_player/mp4:video');
-                }
+                dailymotionPlayerId: "x10ckq"
             },
             { type: "Slider" },
             {
--- a/web/polemicaltimeline.php	Sat Oct 19 01:42:58 2024 +0200
+++ b/web/polemicaltimeline.php	Tue Oct 22 08:53:02 2024 +0200
@@ -133,11 +133,7 @@
                 type: "AutoPlayer",
                 height: 360,
                 width: 600,
-                url_transform: function(u) {
-                    var res = u.replace('ddc_player/video', 'ddc_player/mp4:video');
-                    //console.log(res);
-                    return res;
-                }
+                dailymotionPlayerId: "x10ckq"
             },
             { type: "Slider" },
             {
--- a/web/renkan.php	Sat Oct 19 01:42:58 2024 +0200
+++ b/web/renkan.php	Tue Oct 22 08:53:02 2024 +0200
@@ -60,12 +60,10 @@
         css:'<?php echo(registry_url('metadataplayer','css'));?>',
         widgets: [
             {
-                type: "JwpPlayer",
+                type: "AutoPlayer",
                 height: 360, 
                 width: 550,
-                url_transform: function(u) {
-                    return u.replace('ddc_player/video', 'ddc_player/mp4:video');
-                }
+                dailymotionPlayerId: "x10ckq"
             },
             { type: "Slider" },
             {
--- a/web/res/metadataplayer/LdtPlayer-core.css	Sat Oct 19 01:42:58 2024 +0200
+++ b/web/res/metadataplayer/LdtPlayer-core.css	Tue Oct 22 08:53:02 2024 +0200
@@ -22,10 +22,10 @@
    *  
    *  The fact that you are presently reading this means that you have had
    *  knowledge of the CeCILL-C license and that you accept its terms.
-   *  metadataplayer - version 0.1.1
+   *  metadataplayer - version 0.2
   */
-.Ldt-Loader{min-height:128px;background:url(data:image/gif;base64,R0lGODlhgACAAKUAAAQCBISChMTCxERCROTi5GRiZKSipCQmJPTy9HRydLSytNTS1FRWVDQ2NBQSFJSSlAwKDIyKjMzKzExKTOzq7GxqbKyqrCwuLPz6/Hx6fLy6vNza3FxeXDw+PAQGBISGhMTGxERGROTm5GRmZKSmpCwqLPT29HR2dLS2tFxaXDw6PBwaHJyanAwODIyOjMzOzExOTOzu7GxubKyurDQyNPz+/Hx+fLy+vNze3P///wAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgA5ACwAAAAAgACAAAAG/sCccEgsGo/IpDJXQ8REBNxms8DhCKKYCbPser/gsLhbwzgpUeqUeqXEEJjaeE6v25GYp3Q9XfA3OFlcd4SFhkdmaH1qfmuNVQRvg4eUlWI1T1GNjlRVm1WBcJajpEhNImqLfp44nlWpIghypbSjTRR7jK27rJ6OOBRbtcOHGLipbL28vHzAJsTQdwgEnMrWvKwEz9HcYnmtfcvXrLtsMZPd6UmnUqvi79ZTgcLqhWVbJvn4cV551OHj4GGzcs7LPQz69s3qZiYGBSgEIopwQ0+JCQqqBAZkBUgEOjxnIEqk+JHWPYdWUvm5kmXLQiMmqG3UKE7etiNlnEBpt4il/hZ+tfKIyPXrVceCSGIWpTlzg4ibRoSm5MPxaElKiWSqohqOQLCrMd3NHAsI6hCEihghU9mmIiVMUP5U4yQvVkmlyZjqxWGWCYKh4P6sottR1Nu/W1f1MrpJ20elY/W+elqkyb+5i/c0dnvnVmCA8Bh3NPHSBKq8kcc5hYpwqFrUzBa8Wvn0pR1jucQK7BTYGREMp1PTlEL57DGuZNcAuzpnGlvhRmMRMREjJXSBOJAKwatYcivZUrQV+pYRuprsk9jBvl6l9hDqPNc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+bBeIZukzyiiLoQgD7rY86COOLmpQUHO+t/oDeGtabCHCEzQLmQAGkPrUHWAAij7F8cNWdQNleiHLK+MFAyD1hCs7gBc0/SV7Bz2mH5DKD05+G/tT8CDKQIDH2p0FAwgARdmFdtlj+gJ3FlZQAVQsSfT4djLQQABWAFjBriAAKUhAl69u/D53oGIUEWvoTB+KMvAjqlGFV8tQYPTu8znp82AyaF9ql8Z3H+fPn2v/DOB+AJhc/4OAAfYHeh+wYQBoBxngb8YXcAeIWiAUcACydwC01YBSAwOxp3YugACDN1c3gAMXaHMPIAD5R4GHYANpJ3EXEGskaAgyQAMDOGwfQAOvt4JfNyt61neBNmg0iCCdowMdcAEQCAAHYAIdUADrZTtBAAA7) center no-repeat;text-indent:-9999px;position:absolute;width:100%}.Ldt-Widget{color:#000;font-size:12px}.Ldt-Highlight{background:#ffa0fc}/*! jQuery UI - v1.14.0 - 2024-08-05
+@charset "UTF-8";.Ldt-Loader{min-height:128px;background:url(data:image/gif;base64,R0lGODlhgACAAKUAAAQCBISChMTCxERCROTi5GRiZKSipCQmJPTy9HRydLSytNTS1FRWVDQ2NBQSFJSSlAwKDIyKjMzKzExKTOzq7GxqbKyqrCwuLPz6/Hx6fLy6vNza3FxeXDw+PAQGBISGhMTGxERGROTm5GRmZKSmpCwqLPT29HR2dLS2tFxaXDw6PBwaHJyanAwODIyOjMzOzExOTOzu7GxubKyurDQyNPz+/Hx+fLy+vNze3P///wAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgA5ACwAAAAAgACAAAAG/sCccEgsGo/IpDJXQ8REBNxms8DhCKKYCbPser/gsLhbwzgpUeqUeqXEEJjaeE6v25GYp3Q9XfA3OFlcd4SFhkdmaH1qfmuNVQRvg4eUlWI1T1GNjlRVm1WBcJajpEhNImqLfp44nlWpIghypbSjTRR7jK27rJ6OOBRbtcOHGLipbL28vHzAJsTQdwgEnMrWvKwEz9HcYnmtfcvXrLtsMZPd6UmnUqvi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qkOlW87kGgn7KpxUFYkR7wNRxTjGJHX1i0+LtBgJogauHDYAHhABRs/5UrcWAAu7qmsL1rbK0Izvp/tlA2MQedgs4qEWTJunQzDaAqSHtaEiTuwZ2Jo8MWJ1tYl8goXJKdoWWLbYNnDvajTZytLlMHhq0u900kM6GoIwOKSsg2s9eNJ3J7QB/DgEDl/43sSGAAdvMq9CQqGhkIFvuEmO54zvOUAkk3m4DTEJg9QqykKn85gnj2+PLDcDJR/ABkmf7Aw4+I51iRggCcHzcCXe5ZDVMHg7YvN0McAkMuejaQaAAwKdW+Mt7nWDy/qzg6NnuAFUY7ESeEwITDcDxuYNO2QasDQXsxrqra7D1xb3YHEP8BQYUbe6Xo1oEItXiA9Q+bBeIZukzyiiLoQgD7rY86COOLmpQUHO+t/oDeGtabCHCEzQLmQAGkPrUHWAAij7F8cNWdQNleiHLK+MFAyD1hCs7gBc0/SV7Bz2mH5DKD05+G/tT8CDKQIDH2p0FAwgARdmFdtlj+gJ3FlZQAVQsSfT4djLQQABWAFjBriAAKUhAl69u/D53oGIUEWvoTB+KMvAjqlGFV8tQYPTu8znp82AyaF9ql8Z3H+fPn2v/DOB+AJhc/4OAAfYHeh+wYQBoBxngb8YXcAeIWiAUcACydwC01YBSAwOxp3YugACDN1c3gAMXaHMPIAD5R4GHYANpJ3EXEGskaAgyQAMDOGwfQAOvt4JfNyt61neBNmg0iCCdowMdcAEQCAAHYAIdUADrZTtBAAA7) center no-repeat;text-indent:-9999px;position:absolute;width:100%}.Ldt-Widget{color:#000;font-size:12px}.Ldt-Highlight{background:#ffa0fc}/*! jQuery UI - v1.14.0 - 2024-08-05
 * https://jqueryui.com
 * Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
 * To view and modify this theme, visit https://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
-* Copyright OpenJS Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;user-select:none}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup>.ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup>.ui-controlgroup-item:focus,.ui-controlgroup>.ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical>.ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label+.ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label+.ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:calc(100% - 2.4em)}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJ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7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==);height:100%;opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:700;line-height:1.5;padding:2px .4em;margin:.5em 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:pointer;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;vertical-align:middle;margin:.2em 2em .2em .4em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #dddddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #dddddd;background:#e9e9e9;color:#333;font-weight:700}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:400;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #cccccc;background:#ededed;font-weight:400;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px #5e9ed6}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:400;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a,.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;background-image:none}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAQAAABFnnJAAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRABE2zymuwAAAAd0SU1FB+gIBRIyM3xvysUAABqXSURBVHja7Z1tjF1Hecd/J6RyW4gJhdo4tZ3gVgkgXhwvqURCBQii3VYKb8WE6w+koglrgUSgle0t2eVD16HrXdokDaA1SaOmEnsTm0JCpOauAgTSEheajY1SLAolYZ0UbD5QCJWqCNTTD3NeZs6Zt3POvXvv7pm/tb73nmdmzpx5/mfmnHmeeSZ6KwFtxnnDrkDAcBEI0HIEAqjoENMZdiXWEoEAMjosAUttokC/CTD8+6dDXDvnErAPEwXSkod/jX2ESgB7Bxhn/2xw3T/m/HFy9o4xjevcqRLrXYFQfzehgK3kDdRHyAToRwe4r0EJad70PqyOJnkhIqILdImILCU3ucaRQ5TNA6SXmN4HJsRQah4ZopyoVv70LjOd33XuuGHdfUt2XeM6Qt4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wE6dJJvsvyklCvWHD0pSV1yrHK0crX+cenotxSJS163fdLri2vLb1bUrz9rRQgCPKpUIMWjmm8yivJrswa8tiD/hlQ+mqPf0BVvkMc18j+qza+7Ptf1y/Wvmr8YvKqqHFA6f71WKkLMAyzzCl5VkNzLDdn3pvIH2c3LC/L7uG7N5IO+vmHLG0AQAD7Pb3IeO5KjJ+iyX0nXVH4vL2FTtgHFt/m8pJ61kA/6+oYtr43gENJyBGtgyxEI0HIEArQcgQAtRyBAyxEI0HLIxiDX7ryjLg+oAdUaOJZ9W9GmbioPGDmUh4BmqltxltDszo0alxCgoEgAlwJXWLHK0/AMJrgUaIrlnSKuaesPMKBIgDGwKnCMMatcROgwI8buMGHb8AXcDhUBFVEeAsZqlKLmtpfQ7P51ESigIsxbxozeU354CxgAquwXMOrygBoIE0EtRyBAyxEI0HIEArQcgQAtRyBAy7F+CdAJE0L9gEqA5vNsMdPETA+83h2WkrimAY2gEmBf8jdsuO5uof7usKu5EaASYCn5Gy5cd3dQfx/h2wPEdEp/1RCX/ukh1GumYar+8AzQF6geQUt0WdLeWxHQLfxVg1/49lT9+6zybngG6BdUAth6gH2ZatK/aiSYLR0pb+nSkcrXla6qPwwCfYC6NrB5oPeYGWa1+/WU3wyKaWT16+oQ1D8A+PYAzeHewqma+juGdAGVMEpvARHd5K8MnfrDM0AfoA4BHbp0RrJzjZNOv/gZ0BAhPkDLsX5tAQF9wf8Da4+m/PxLb+wAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAQAAABFnnJAAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRABVsYyGSQAAAAd0SU1FB+gIBRIyM3xvysUAABqeSURB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5ducddXlADajawLHsaEUbuqk8YORQHgKaNd2KM4Vmd27UOIUABUUCuBpwhRWrPHXPYIKrAU2+vFPENXX9AQYUCTAG1gYcY8wqFx46zIixG0zYNnwBt0FFQEWUh4CxGqmose0pNLt/XQQKqAjzljGj95Qf3gIGgCr7BYy6PKAGwkRQyxEI0HIEArQcgQAtRyBAyxEI0HKsXwJ0woRQP6ASoPk8W8w0MdMDz3eHpcSvaUAjqATYm3yGDdfdLZq/O+xsbgSoBFhKPsOF6+4Ozd9H+PYAMZ3Spxri0p8eonnNNEybPzwD9AWqRdASXZa091YEdAufavBz3542/16rvBueAfoFlQC2HmBv1jTppxoJZktnylu6dKT0damrzR8GgT5AXRvY3NF7zAyz2v16ym8GxTBy8+vyEJp/APDtAZrDvYVTtebvGMIFVMIovQVEdJNPGbrmD88AfYA6BHTo0hnJzjVOOv3id0BDBP8ALcf61QUE9AX/D4czm7GpxKnJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==)}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAQAAABFnnJAAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAD/h4/MvwAAAAd0SU1FB+gIBRIyM3xvysUAABhYSURBVHja7V1fjF3HWf+dYCmg1iYB4eLIfyI/JBWg1LmrSJAI1VGQrnkgFLUhuftQRGtYV5VCEYRdOXdfsm5lX4Oc4CJdK21EH3LX3bRK4z6wRiYE09qy5PUaRZgmahPWLu2ah6rNC4mE+Hg4/+bPN3/OOffuvbszv9Huvfd8M3Nm5vudOWe+b2ZOQogIGXeMuwAR40UkQOCIBJDRAaEz7kJsJCIBRHQwADAIiQLDJsD4r58O6j7XpuqfhokCec7jr+MwQWLoEFGHYAglYI3TschhSZ+n7Rjj2M8Na1p3DeznL4+667iJgl5Fc+V8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pDN6UHjBzKU0Az1q06U2jWc6PGKQQoKAqAi4GrrFrpqXsGE1wMNPnyThHX1PUHGFAUgAmwMnCCCStdeOgwI8ZuMGE78AXcBhUBFVGeAiZqpKLGtqfQrP+6BCigIsxHxozeU354CxgAqpwXMOr0gBoIC0EtRxCAliMIQMsRBKDlCALQcgQBaDnWrwB0woJQP6AKQPN1tphZYmYHXu4Oy4lf04BGUAVgd/IZNly9W7C/O+xijgNUAVhOPsOFq3cH9vcRviNATKf0qYa49KeHYK9ZDFP2h2eAvkC1CFqmy7K2b0VAt/CpBj/37Sn7d1vp3fAM0C+oAmAbAXZnrEk/1YRgvnSnfKRLR0pfl7rK/jAJ9AGjNALI7I+M9MD+vsJ3BGgO9xFO1djfMYQLqIRReguI6CafMnTsD88AfYC6PbxDl85IDq5xMugXvwMaIvgHaDnWry4goC/4f2pDmgEWwUu7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==)}.ui-icon-blank.ui-icon-blank.ui-icon-blank{background-image:none}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start,.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3}.ui-widget-shadow{box-shadow:0 0 5px #666}.vjs-svg-icon{display:inline-block;background-repeat:no-repeat;background-position:center;fill:currentColor;height:1.8em;width:1.8em}.vjs-svg-icon:before{content:none!important}.vjs-svg-icon:hover,.vjs-control:focus .vjs-svg-icon{filter:drop-shadow(0 0 .25em #fff)}.vjs-modal-dialog .vjs-modal-dialog-content,.video-js .vjs-modal-dialog,.vjs-button>.vjs-icon-placeholder:before,.video-js .vjs-big-play-button .vjs-icon-placeholder:before{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-button>.vjs-icon-placeholder:before,.video-js .vjs-big-play-button .vjs-icon-placeholder:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABTsAAsAAAAAIpAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFZRiV32Y21hcAAAAYQAAAEJAAAD5p42+VxnbHlmAAACkAAADtIAABckI4l972hlYWQAABFkAAAAKwAAADYsvIjpaGhlYQAAEZAAAAAdAAAAJA+RCL1obXR4AAARsAAAABcAAAC8Q2YAAGxvY2EAABHIAAAAYAAAAGB7CIGGbWF4cAAAEigAAAAfAAAAIAFAAI9uYW1lAAASSAAAASUAAAIK1cf1oHBvc3QAABNwAAABfAAAAnXdFqh1eJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGR7yDiBgZWBgaWQ5RkDA8MvCM0cwxDOeI6BgYmBlZkBKwhIc01hcPjI+FGPHcRdyA4RZgQRADaGCyYAAHic7dPXbcMwAEXRK1vuvffem749XAbKV3bjBA6fXsaIgMMLEWoQJaAEFKNnlELyQ4K27zib5PNF6vl8yld+TKr5kH0+cUw0xv00Hwvx2DResUyFKrV4XoMmLdp06NKjz4AhI8ZMmDJjzoIlK9Zs2LJjz4EjJ85cuHLjziPe/0UWL17mf2tqKLz/9jK9f8tXpGCoRdPKhtS0RqFkWvVQNtSKoVYNtWaodd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IyAkkCVYJiAmsCfIKIApWCsQLknicY2BkYGDQZ2hmYGcAASYg5gJCBob/YD4DABqrAdAAeJxdkE1qg0AYhl8Tk9AIoVDaVSmzahcF87PMARLIMoFAl0ZHY1BHdBJIT9AT9AQ9RQ9Qeqy+yteNMzDzfM+88w0K4BY/cNAMB6N2bUaPPBLukybCLvleeAAPj8JD+hfhMV7hC3u4wxs7OO4NzQSZcI/8Ltwnfwi75E/hAR7wJTyk/xYeY49fYQ/PztM+jbTZ7LY6OWdBJdX/pqs6NYWa+zMxa13oKrA6Uoerqi/JwtpYxZXJ1coUVmeZUWVlTjq0/tHacjmdxuL90OR8O0UEDYMNdtiSEpz5XQGqzlm30kzUdAYFFOb8R7NOZk0q2lwAyz1i7oAr1xoXvrOgtYhZx8wY5KRV269JZ5yGpmzPTjQhvY9je6vEElPOuJP3mWKnP5M3V+YAAAB4nG2ReVPbMBDF/ULi2EkDBFqO3gdHLxUzDB9IkdexBllydRD49ihO3Ckz7B/a31utZnafkkGyiXnyclxhgB0MMUKKMTLkmGCKV5hhF3vYxxwHOMRrvMERjnGCU7zFO7zHB3zEJ3zGF3zFN5zhHBe4xHf8wE/8wm8w/MEVimTYKv44XR9MSCsUjVoeHE3vjQoNsSZ4mmxZmVWPjSz7jlou6/0qKOWEJdKMtCe793/hQfqxa6XWZHMXFl56RS4TvPXSaDeoy0zUUZB109KstDK8lHo5q6Qi1hcOnqkImubPS6aqRq7mlnaEWabub4iYblba3SRmgldS0+FWdhNtt04F14JUaqkl7tcpOpJtErvNt3Bd9HRT5JWxK25Ldjvp6br4hzfFiIdSmlzTg2fSUzNrLd1LE1ynxq4OVaVoKLjzJ60UPtj1RKzHzsbjly6inVnFBS2MucviPncU7Rr7lfTxRepDs1A2j3ZHRc7PuzFYSfE3ZOd4kjwBy227hA==) format("woff");font-weight:400;font-style:normal}.vjs-icon-play,.video-js .vjs-play-control .vjs-icon-placeholder,.video-js .vjs-big-play-button .vjs-icon-placeholder:before{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play:before,.video-js .vjs-play-control .vjs-icon-placeholder:before,.video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:""}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:""}.vjs-icon-pause,.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pause:before,.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before{content:""}.vjs-icon-volume-mute,.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-mute:before,.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder:before{content:""}.vjs-icon-volume-low,.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-low:before,.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder:before{content:""}.vjs-icon-volume-mid,.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-mid:before,.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder:before{content:""}.vjs-icon-volume-high,.video-js .vjs-mute-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-high:before,.video-js .vjs-mute-control .vjs-icon-placeholder:before{content:""}.vjs-icon-fullscreen-enter,.video-js .vjs-fullscreen-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-fullscreen-enter:before,.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before{content:""}.vjs-icon-fullscreen-exit,.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-fullscreen-exit:before,.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before{content:""}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:""}.vjs-icon-subtitles,.video-js .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-subtitles-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-subtitles:before,.video-js .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-subtitles-button .vjs-icon-placeholder:before{content:""}.vjs-icon-captions,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-captions-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-captions:before,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-captions-button .vjs-icon-placeholder:before{content:""}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:""}.vjs-icon-chapters,.video-js .vjs-chapters-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-chapters:before,.video-js .vjs-chapters-button .vjs-icon-placeholder:before{content:""}.vjs-icon-downloading{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-downloading:before{content:""}.vjs-icon-file-download{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-file-download:before{content:""}.vjs-icon-file-download-done{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-file-download-done:before{content:""}.vjs-icon-file-download-off{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-file-download-off:before{content:""}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:""}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:""}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:""}.vjs-icon-circle,.vjs-seek-to-live-control .vjs-icon-placeholder,.video-js .vjs-volume-level,.video-js .vjs-play-progress{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle:before,.vjs-seek-to-live-control .vjs-icon-placeholder:before,.video-js .vjs-volume-level:before,.video-js .vjs-play-progress:before{content:""}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:""}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:""}.vjs-icon-cancel,.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cancel:before,.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before{content:""}.vjs-icon-repeat{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-repeat:before{content:""}.vjs-icon-replay,.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay:before,.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before{content:""}.vjs-icon-replay-5,.video-js .vjs-skip-backward-5 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay-5:before,.video-js .vjs-skip-backward-5 .vjs-icon-placeholder:before{content:""}.vjs-icon-replay-10,.video-js .vjs-skip-backward-10 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay-10:before,.video-js .vjs-skip-backward-10 .vjs-icon-placeholder:before{content:""}.vjs-icon-replay-30,.video-js .vjs-skip-backward-30 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay-30:before,.video-js .vjs-skip-backward-30 .vjs-icon-placeholder:before{content:""}.vjs-icon-forward-5,.video-js .vjs-skip-forward-5 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-forward-5:before,.video-js .vjs-skip-forward-5 .vjs-icon-placeholder:before{content:""}.vjs-icon-forward-10,.video-js .vjs-skip-forward-10 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-forward-10:before,.video-js .vjs-skip-forward-10 .vjs-icon-placeholder:before{content:""}.vjs-icon-forward-30,.video-js .vjs-skip-forward-30 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-forward-30:before,.video-js .vjs-skip-forward-30 .vjs-icon-placeholder:before{content:""}.vjs-icon-audio,.video-js .vjs-audio-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-audio:before,.video-js .vjs-audio-button .vjs-icon-placeholder:before{content:""}.vjs-icon-next-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-next-item:before{content:""}.vjs-icon-previous-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-previous-item:before{content:""}.vjs-icon-shuffle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-shuffle:before{content:""}.vjs-icon-cast{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cast:before{content:""}.vjs-icon-picture-in-picture-enter,.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-picture-in-picture-enter:before,.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder:before{content:""}.vjs-icon-picture-in-picture-exit,.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-picture-in-picture-exit:before,.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder:before{content:""}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:""}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:""}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:""}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:""}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:""}.vjs-icon-audio-description,.video-js .vjs-descriptions-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-audio-description:before,.video-js .vjs-descriptions-button .vjs-icon-placeholder:before{content:""}.video-js{display:inline-block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;word-break:initial}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js[tabindex="-1"]{outline:none}.video-js *,.video-js *:before,.video-js *:after{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-fluid,.video-js.vjs-16-9,.video-js.vjs-4-3,.video-js.vjs-9-16,.video-js.vjs-1-1{width:100%;max-width:100%}.video-js.vjs-fluid:not(.vjs-audio-only-mode),.video-js.vjs-16-9:not(.vjs-audio-only-mode),.video-js.vjs-4-3:not(.vjs-audio-only-mode),.video-js.vjs-9-16:not(.vjs-audio-only-mode),.video-js.vjs-1-1:not(.vjs-audio-only-mode){height:0}.video-js.vjs-16-9:not(.vjs-audio-only-mode){padding-top:56.25%}.video-js.vjs-4-3:not(.vjs-audio-only-mode){padding-top:75%}.video-js.vjs-9-16:not(.vjs-audio-only-mode){padding-top:177.7777777778%}.video-js.vjs-1-1:not(.vjs-audio-only-mode){padding-top:100%}.video-js.vjs-fill:not(.vjs-audio-only-mode){width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}.video-js.vjs-audio-only-mode .vjs-tech{display:none}body.vjs-full-window,body.vjs-pip-window{padding:0;margin:0;height:100%}.vjs-full-window .video-js.vjs-fullscreen,body.vjs-pip-window .video-js{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen:not(.vjs-ios-native-fs),body.vjs-pip-window .video-js{width:100%!important;height:100%!important;padding-top:0!important;display:block}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-pip-container .vjs-pip-text{position:absolute;bottom:10%;font-size:2em;background-color:#000000b3;padding:.5em;text-align:center;width:100%}.vjs-layout-tiny.vjs-pip-container .vjs-pip-text,.vjs-layout-x-small.vjs-pip-container .vjs-pip-text,.vjs-layout-small.vjs-pip-container .vjs-pip-text{bottom:0;font-size:1.4em}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1!important;visibility:visible!important}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.63332em;width:3em;display:block;position:absolute;top:50%;left:50%;padding:0;margin-top:-.81666em;margin-left:-1.5em;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:#2b333fb3;border-radius:.3em;transition:all .4s}.vjs-big-play-button .vjs-svg-icon{width:1em;height:1em;position:absolute;top:50%;left:50%;line-height:1;transform:translate(-50%,-50%)}.video-js:hover .vjs-big-play-button,.video-js .vjs-big-play-button:focus{border-color:#fff;background-color:#73859f;background-color:#73859f80;transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button,.vjs-error .vjs-big-play-button{display:none}.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause:not(.vjs-seeking,.vjs-scrubbing,.vjs-error) .vjs-big-play-button{display:block}.video-js button{background:none;border:none;color:inherit;display:inline-block;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.video-js.vjs-spatial-navigation-enabled .vjs-button:focus{outline:.0625em solid white;box-shadow:none}.vjs-control .vjs-button{width:100%;height:100%}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.video-js .vjs-modal-dialog{background:#000c;background:linear-gradient(180deg,#000c,#fff0);overflow:auto}.video-js .vjs-modal-dialog>*{box-sizing:border-box}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;font-family:Arial,Helvetica,sans-serif;overflow:auto}.vjs-menu .vjs-menu-content>*{box-sizing:border-box}.vjs-scrubbing .vjs-control.vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{display:flex;justify-content:center;list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.vjs-menu li.vjs-menu-item:focus,.vjs-menu li.vjs-menu-item:hover,.js-focus-visible .vjs-menu li.vjs-menu-item:hover{background-color:#73859f;background-color:#73859f80}.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover,.js-focus-visible .vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.vjs-menu li.vjs-selected .vjs-svg-icon,.vjs-menu li.vjs-selected:focus .vjs-svg-icon,.vjs-menu li.vjs-selected:hover .vjs-svg-icon,.js-focus-visible .vjs-menu li.vjs-selected:hover .vjs-svg-icon{fill:#000}.video-js .vjs-menu *:not(.vjs-selected):focus:not(:focus-visible),.js-focus-visible .vjs-menu *:not(.vjs-selected):focus:not(.focus-visible){background:none}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0em;margin-bottom:1.5em;border-top-color:#2b333fb3}.vjs-pip-window .vjs-menu-button-popup .vjs-menu{left:unset;right:1em}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:#2b333fb3;position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-layout-tiny .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:5em}.vjs-layout-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:10em}.vjs-layout-medium .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:14em}.vjs-layout-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-huge .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:25em}.vjs-workinghover .vjs-menu-button-popup.vjs-hover .vjs-menu,.vjs-menu-button-popup .vjs-menu.vjs-lock-showing{display:block}.video-js .vjs-menu-button-inline{transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline:hover,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline.vjs-slider-active{width:12em}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;transition:all .4s}.vjs-menu-button-inline:hover .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline.vjs-slider-active .vjs-menu{display:block;opacity:1}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:#2b333fb3}.video-js.vjs-spatial-navigation-enabled .vjs-control-bar{gap:1px}.video-js:not(.vjs-controls-disabled,.vjs-using-native-controls,.vjs-error) .vjs-control-bar.vjs-lock-showing{display:flex!important}.vjs-has-started .vjs-control-bar,.vjs-audio-only-mode .vjs-control-bar{display:flex;visibility:visible;opacity:1;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;pointer-events:none;transition:visibility 1s,opacity 1s}.vjs-controls-disabled .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar,.vjs-error .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar,.vjs-audio-only-mode.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible;pointer-events:auto}.video-js .vjs-control{position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;flex:none}.video-js .vjs-control.vjs-visible-text{width:auto;padding-left:1em;padding-right:1em}.vjs-button>.vjs-icon-placeholder:before{font-size:1.8em;line-height:1.67}.vjs-button>.vjs-icon-placeholder{display:block}.vjs-button>.vjs-svg-icon{display:inline-block}.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before,.video-js .vjs-control:focus{text-shadow:0em 0em 1em white}.video-js *:not(.vjs-visible-text)>.vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{cursor:pointer;flex:auto;display:flex;align-items:center;min-width:4em;touch-action:none}.video-js .vjs-progress-control.disabled{cursor:default}.vjs-live .vjs-progress-control{display:none}.vjs-liveui .vjs-progress-control{display:flex;align-items:center}.video-js .vjs-progress-holder{flex:auto;transition:all .2s;height:.3em}.video-js .vjs-progress-control .vjs-progress-holder{margin:0 10px}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666667em}.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled{font-size:1em}.video-js .vjs-progress-holder .vjs-play-progress,.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div{position:absolute;display:block;height:100%;margin:0;padding:0;width:0}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{font-size:.9em;position:absolute;right:-.5em;line-height:.35em;z-index:1}.vjs-svg-icons-enabled .vjs-play-progress:before{content:none!important}.vjs-play-progress .vjs-svg-icon{position:absolute;top:-.35em;right:-.4em;width:.9em;height:.9em;pointer-events:none;line-height:.15em;z-index:1}.video-js .vjs-load-progress{background:#73859f80}.video-js .vjs-load-progress div{background:#73859fbf}.video-js .vjs-time-tooltip{background-color:#fff;background-color:#fffc;border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-progress-holder:focus .vjs-time-tooltip{display:none}.video-js .vjs-progress-control:hover .vjs-time-tooltip,.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip{display:block;font-size:.6em;visibility:visible}.video-js .vjs-progress-control.disabled:hover .vjs-time-tooltip{font-size:1em}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:#000c}.video-js .vjs-slider{position:relative;cursor:pointer;padding:0;margin:0 .45em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#73859f;background-color:#73859f80}.video-js .vjs-slider.disabled{cursor:default}.video-js .vjs-slider:focus{text-shadow:0em 0em 1em white;box-shadow:0 0 1em #fff}.video-js.vjs-spatial-navigation-enabled .vjs-slider:focus{outline:.0625em solid white}.video-js .vjs-mute-control{cursor:pointer;flex:none}.video-js .vjs-volume-control{cursor:pointer;margin-right:1em;display:flex}.video-js .vjs-volume-control.vjs-volume-horizontal{width:5em}.video-js .vjs-volume-panel .vjs-volume-control{visibility:visible;opacity:0;width:1px;height:1px;margin-left:-1px}.video-js .vjs-volume-panel{transition:width 1s}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control,.video-js .vjs-volume-panel:active .vjs-volume-control,.video-js .vjs-volume-panel:focus .vjs-volume-control,.video-js .vjs-volume-panel .vjs-volume-control:active,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active{visibility:visible;opacity:1;position:relative;transition:visibility .1s,opacity .1s,height .1s,width .1s,left 0s,top 0s}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal{width:5em;height:3em;margin-right:0}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical{left:-3.5em;transition:left 0s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active{width:10em;transition:width .1s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-mute-toggle-only{width:4em}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{height:8em;width:3em;left:-3000em;transition:visibility 1s,opacity 1s,height 1s 1s,width 1s 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{transition:visibility 1s,opacity 1s,height 1s 1s,width 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel{display:flex}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em;z-index:1}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em;z-index:1}.vjs-svg-icons-enabled .vjs-volume-level:before{content:none}.vjs-volume-level .vjs-svg-icon{position:absolute;width:.9em;height:.9em;pointer-events:none;z-index:1}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{line-height:.35em;right:-.5em}.vjs-slider-horizontal .vjs-volume-level .vjs-svg-icon{right:-.3em;transform:translateY(-50%)}.vjs-slider-vertical .vjs-volume-level .vjs-svg-icon{top:-.55em;transform:translate(-50%)}.video-js .vjs-volume-panel.vjs-volume-panel-vertical{width:4em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.video-js .vjs-volume-vertical{width:3em;height:8em;bottom:8em;background-color:#2b333f;background-color:#2b333fb3}.video-js .vjs-volume-horizontal .vjs-menu{left:-2em}.video-js .vjs-volume-tooltip{background-color:#fff;background-color:#fffc;border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-volume-control:hover .vjs-volume-tooltip,.video-js .vjs-volume-control:hover .vjs-progress-holder:focus .vjs-volume-tooltip{display:block;font-size:1em;visibility:visible}.video-js .vjs-volume-vertical:hover .vjs-volume-tooltip,.video-js .vjs-volume-vertical:hover .vjs-progress-holder:focus .vjs-volume-tooltip{left:1em;top:-12px}.video-js .vjs-volume-control.disabled:hover .vjs-volume-tooltip{font-size:1em}.video-js .vjs-volume-control .vjs-mouse-display{display:none;position:absolute;width:100%;height:1px;background-color:#000;z-index:1}.video-js .vjs-volume-horizontal .vjs-mouse-display{width:1px;height:100%}.video-js .vjs-volume-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-volume-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.vjs-mouse-display .vjs-volume-tooltip{color:#fff;background-color:#000;background-color:#000c}.vjs-poster{display:inline-block;vertical-align:middle;cursor:pointer;margin:0;padding:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-has-started .vjs-poster,.vjs-using-native-controls .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster,.vjs-has-started.vjs-audio-poster-mode .vjs-poster,.vjs-pip-container.vjs-has-started .vjs-poster{display:block}.vjs-poster img{width:100%;height:100%;object-fit:contain}.video-js .vjs-live-control{display:flex;align-items:flex-start;flex:auto;font-size:1em;line-height:3em}.video-js:not(.vjs-live) .vjs-live-control,.video-js.vjs-liveui .vjs-live-control{display:none}.video-js .vjs-seek-to-live-control{align-items:center;cursor:pointer;flex:none;display:inline-flex;height:100%;padding-left:.5em;padding-right:.5em;font-size:1em;line-height:3em;width:auto;min-width:4em}.video-js.vjs-live:not(.vjs-liveui) .vjs-seek-to-live-control,.video-js:not(.vjs-live) .vjs-seek-to-live-control{display:none}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge{cursor:auto}.vjs-seek-to-live-control .vjs-icon-placeholder{margin-right:.5em;color:#888}.vjs-svg-icons-enabled .vjs-seek-to-live-control{line-height:0}.vjs-seek-to-live-control .vjs-svg-icon{width:1em;height:1em;pointer-events:none;fill:#888}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:red}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-svg-icon{fill:red}.video-js .vjs-time-control{flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.vjs-live .vjs-time-control,.vjs-live .vjs-time-divider,.video-js .vjs-current-time,.video-js .vjs-duration{display:none}.vjs-time-divider{display:none;line-height:3em}.vjs-normalise-time-controls:not(.vjs-live) .vjs-time-control{display:flex}.video-js .vjs-play-control{cursor:pointer}.video-js .vjs-play-control .vjs-icon-placeholder{flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.vjs-error .vjs-text-track-display{display:none}.video-js.vjs-controls-disabled .vjs-text-track-display,.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{transform:translateY(-3em)}.video-js.vjs-controls-disabled video::-webkit-media-text-track-display,.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{transform:translateY(-1.5em)}.video-js.vjs-force-center-align-cues .vjs-text-track-cue{text-align:center!important;width:80%!important}@supports not (inset: 10px){.video-js .vjs-text-track-display>div{top:0;right:0;bottom:0;left:0}}.video-js .vjs-picture-in-picture-control{cursor:pointer;flex:none}.video-js.vjs-audio-only-mode .vjs-picture-in-picture-control,.vjs-pip-window .vjs-picture-in-picture-control{display:none}.video-js .vjs-fullscreen-control{cursor:pointer;flex:none}.video-js.vjs-audio-only-mode .vjs-fullscreen-control,.vjs-pip-window .vjs-fullscreen-control{display:none}.vjs-playback-rate>.vjs-menu-button,.vjs-playback-rate .vjs-playback-rate-value{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-playback-rate .vjs-playback-rate-value{pointer-events:none;font-size:1.5em;line-height:2;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:.85;text-align:left;border:.6em solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:5em;height:5em;border-radius:50%;visibility:hidden}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:flex;justify-content:center;align-items:center;animation:vjs-spinner-show 0s linear .3s forwards}.vjs-error .vjs-loading-spinner{display:none}.vjs-loading-spinner:before,.vjs-loading-spinner:after{content:"";position:absolute;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:transparent;border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:before,.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after{animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;animation-delay:.44s}@keyframes vjs-spinner-show{to{visibility:visible}}@keyframes vjs-spinner-spin{to{transform:rotate(360deg)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}.video-js.vjs-audio-only-mode .vjs-captions-button{display:none}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js.vjs-audio-only-mode .vjs-descriptions-button{display:none}.vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-svg-icon{width:1.5em;height:1.5em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:"";font-size:1.5em;line-height:inherit}.video-js.vjs-audio-only-mode .vjs-subs-caps-button{display:none}.video-js .vjs-audio-button+.vjs-menu .vjs-descriptions-menu-item .vjs-menu-item-text .vjs-icon-placeholder,.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-audio-button+.vjs-menu .vjs-descriptions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before,.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:" ";font-size:1.5em;line-height:inherit}.video-js.vjs-layout-small .vjs-current-time,.video-js.vjs-layout-small .vjs-time-divider,.video-js.vjs-layout-small .vjs-duration,.video-js.vjs-layout-small .vjs-remaining-time,.video-js.vjs-layout-small .vjs-playback-rate,.video-js.vjs-layout-small .vjs-volume-control,.video-js.vjs-layout-x-small .vjs-current-time,.video-js.vjs-layout-x-small .vjs-time-divider,.video-js.vjs-layout-x-small .vjs-duration,.video-js.vjs-layout-x-small .vjs-remaining-time,.video-js.vjs-layout-x-small .vjs-playback-rate,.video-js.vjs-layout-x-small .vjs-volume-control,.video-js.vjs-layout-tiny .vjs-current-time,.video-js.vjs-layout-tiny .vjs-time-divider,.video-js.vjs-layout-tiny .vjs-duration,.video-js.vjs-layout-tiny .vjs-remaining-time,.video-js.vjs-layout-tiny .vjs-playback-rate,.video-js.vjs-layout-tiny .vjs-volume-control{display:none}.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover{width:auto;width:initial}.video-js.vjs-layout-x-small .vjs-progress-control,.video-js.vjs-layout-tiny .vjs-progress-control{display:none}.video-js.vjs-layout-x-small .vjs-custom-control-spacer{flex:auto;display:block}.vjs-modal-dialog.vjs-text-track-settings{background-color:#2b333f;background-color:#2b333fbf;color:#fff;height:70%}.vjs-spatial-navigation-enabled .vjs-modal-dialog.vjs-text-track-settings{height:80%}.vjs-error .vjs-text-track-settings{display:none}.vjs-text-track-settings .vjs-modal-dialog-content{display:table}.vjs-text-track-settings .vjs-track-settings-colors,.vjs-text-track-settings .vjs-track-settings-font,.vjs-text-track-settings .vjs-track-settings-controls{display:table-cell}.vjs-text-track-settings .vjs-track-settings-controls{text-align:right;vertical-align:bottom}@supports (display: grid){.vjs-text-track-settings .vjs-modal-dialog-content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;padding:20px 24px 0}.vjs-track-settings-controls .vjs-default-button{margin-bottom:20px}.vjs-text-track-settings .vjs-track-settings-controls{grid-column:1/-1}.vjs-layout-small .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-x-small .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-tiny .vjs-text-track-settings .vjs-modal-dialog-content{grid-template-columns:1fr}}.vjs-text-track-settings select{font-size:inherit}.vjs-track-setting>select{margin-right:1em;margin-bottom:.5em}.vjs-text-track-settings fieldset{margin:10px;border:none}.vjs-text-track-settings fieldset span{display:inline-block;padding:0 .6em .8em}.vjs-text-track-settings fieldset span>select{max-width:7.3em}.vjs-text-track-settings legend{color:#fff;font-weight:700;font-size:1.2em}.vjs-text-track-settings .vjs-label{margin:0 .5em .5em 0}.vjs-track-settings-controls button:focus,.vjs-track-settings-controls button:active{outline-style:solid;outline-width:medium;background-image:linear-gradient(0deg,#fff 88%,#73859f)}.vjs-track-settings-controls button:hover{color:#2b333fbf}.vjs-track-settings-controls button{background-color:#fff;background-image:linear-gradient(-180deg,#fff 88%,#73859f);color:#2b333f;cursor:pointer;border-radius:2px}.vjs-track-settings-controls .vjs-default-button{margin-right:1em}.vjs-title-bar{background:#000000e6;background:linear-gradient(180deg,#000000e6,#000000b3 60%,#0000);font-size:1.2em;line-height:1.5;transition:opacity .1s;padding:.666em 1.333em 4em;pointer-events:none;position:absolute;top:0;width:100%}.vjs-error .vjs-title-bar{display:none}.vjs-title-bar-title,.vjs-title-bar-description{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vjs-title-bar-title{font-weight:700;margin-bottom:.333em}.vjs-playing.vjs-user-inactive .vjs-title-bar{opacity:0;transition:opacity 1s}.video-js .vjs-skip-forward-5,.video-js .vjs-skip-forward-10,.video-js .vjs-skip-forward-30,.video-js .vjs-skip-backward-5,.video-js .vjs-skip-backward-10,.video-js .vjs-skip-backward-30{cursor:pointer}.video-js .vjs-transient-button{position:absolute;height:3em;display:flex;align-items:center;justify-content:center;background-color:#32323280;cursor:pointer;opacity:1;transition:opacity 1s}.video-js:not(.vjs-has-started) .vjs-transient-button{display:none}.video-js.not-hover .vjs-transient-button:not(.force-display),.video-js.vjs-user-inactive .vjs-transient-button:not(.force-display){opacity:0}.video-js .vjs-transient-button span{padding:0 .5em}.video-js .vjs-transient-button.vjs-left{left:1em}.video-js .vjs-transient-button.vjs-right{right:1em}.video-js .vjs-transient-button.vjs-top{top:1em}.video-js .vjs-transient-button.vjs-near-top{top:4em}.video-js .vjs-transient-button.vjs-bottom{bottom:4em}.video-js .vjs-transient-button:hover{background-color:#323232e6}@media print{.video-js>*:not(.vjs-tech):not(.vjs-poster){visibility:hidden}}.vjs-resize-manager{position:absolute;top:0;left:0;width:100%;height:100%;border:none;z-index:-1000}.js-focus-visible .video-js *:focus:not(.focus-visible){outline:none}.video-js *:focus:not(:focus-visible){outline:none}.Ldt-HelloWorld p{text-align:center;font-size:12px;margin:2px 0}.Ldt-HelloWorld-annotations{color:red;font-weight:700}.Ldt-Annotation-Widget{border-style:none solid solid;border-width:1px;border-color:#b7b7b7;padding:0 1px 1px;margin:0}.Ldt-Annotation-Widget.Ldt-Annotation-ShowTop{border-top-style:solid;padding-top:1px}.Ldt-Annotation-Inner{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAA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vPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);padding:5px;margin:0}.Ldt-Annotation-Inner h3{margin:5px 0;font-size:14px;font-weight:700}.Ldt-Annotation-Description{max-height:150px;overflow:auto}.Ldt-Annotation-Cleared{clear:both}.Ldt-Annotation-MaxMinButton{float:right;margin:5px 5px 0;width:17px;height:17px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAABECAYAAADk6ueFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA69pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wUmlnaHRzPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvcmlnaHRzLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzE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m7duhCrAy9V9+/f/6lqmpqaLPBPJf4eQvOLOY6YYKQhSItZwsXASEOQ7rBeJWyCkWWCEUXyh3bEFA1G6KYEo3ENRhSTP/hiLykIRqYTGo7Mr3M+MDKd0HBkfnVNMLIkGPHL6CVecEQRYDRJMOLH0HRCi/yYEo60aDCyJBhJGDJ5RMKRFg1GcKSCUeM9bcOLRzQcuWq9GBhJr7UTREC/YMSomYRGBC0JjLRKJ0woKgRGWs2FmFBUEIykmnAkoSgfGEn1giMJRQXBSCphyIQjOsPKyAdGcrX84nrBESvTBKNgDlLa0bpnOLEQi1D37dun3rx5o/r6+jI5HLAFz7Y/fPhwhshQiEV4/9SpUwo7oR48eJDBu3fLFl8GozIYlcHojzsxsjQY7dixwwEjLfpwRndYZn4OgmwwQrknMNaswWjjxo02GGmRhzMU/a9Figaj58+fE4yaPcEon8j7hcAon5jfHwlGlgSjYmLOIRihTcdZDRqMConXfYIRepQbjPSxgV84MsGIK2akSoEjTzAqReSJkQajYhHxik5eMCrFES8wKsURCUZWDow2IXEC+sTPK5TcDqKC3cNzVwFGaSTtpqVLlwZ44qhPJs1DG3liqcU3GJlRkOoXjMwolAxGXuWr1Q8YeZWviYnlE6MyGJXBqAxG/+t/pRVTPydGxdTXiZEf+RUwKnRiVBIYmVIqGHlJyWBkHjH8ChhJKYPRb4FR3h7uE4z8iC8wKqbFwMiP+gKjQuoHjIrpb50YUTnvV0+MtJZPjP4YMPpPgAEAe6usJmPTw18AAAAASUVORK5CYII=);background-position:0 -51px;cursor:pointer}.Ldt-Annotation-Social{float:right}.Ldt-Annotation-MaxMinButton:hover{background-position:-17px -51px}.Ldt-Annotation-Minimized div.Ldt-Annotation-MaxMinButton{background-position:0 -34px}.Ldt-Annotation-Minimized div.Ldt-Annotation-MaxMinButton:hover{background-position:-17px -34px}.Ldt-Annotation-Inner h3.Ldt-Annotation-MashupOrigin{font-size:12px}.Ldt-Annotation-Title,.Ldt-Annotation-MashupMedia{color:#0068c4;text-decoration:none}.Ldt-Annotation-Type{color:#8080a0}.Ldt-Annotation-Time{color:#ff3b77}.Ldt-Annotation-Inner p{font-size:12px;line-height:16px}.Ldt-Annotation-Label{font-size:12px;font-weight:700;max-width:90px;float:left;clear:left}.Ldt-Annotation-Labelled{margin:5px 0 0 90px;clear:right}.Ldt-Annotation-Tags-Block{font-size:12px}ul.Ldt-Annotation-Tags{list-style:none;padding:0}li.Ldt-Annotation-TagLabel{display:inline-block;border:none;margin:0 10px 5px 0;height:23px;padding:0 0 0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABFCAYAAAAPdqmYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpBQUJCNEZGNURDNjlFMTExODNCQzg1Q0Y3QzQ4MEQ3NyIgeG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ZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) left top no-repeat;cursor:pointer}.Ldt-Annotation-TagLabel span{display:inline-block;font-size:12px;height:19px;padding:4px 5px 0 0;border:none;margin:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABFCAYAAAAPdqmYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpBQUJCNEZGNURDNjlFMTExODNCQzg1Q0Y3QzQ4MEQ3NyIgeG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ZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) right top no-repeat}li.Ldt-Annotation-TagLabel:hover{background-position:left -23px}.Ldt-Annotation-TagLabel:hover span{background-position:right -23px}.Ldt-Annotation-MashupOrigin{display:none}.Ldt-Annotation-isMashup .Ldt-Annotation-MashupOrigin{display:block}.Ldt-Annotation-Empty .Ldt-Annotation-HiddenWhenEmpty,.Ldt-Annotation-Minimized .Ldt-Annotation-HiddenWhenMinimized,.Ldt-Annotation-EmptyBlock{display:none}.Ldt-AnnotationsController{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);width:535px;max-height:280px;margin:4px 0 0;border-style:solid;border-width:1px;border-color:#b7b7b7}.Ldt-AnnotationsController-ButtonsContainer{width:100%;min-height:30px;text-align:center}.Ldt-AnnotationsController-Button{display:inline-block;background-color:#d93c71;color:#fff;height:25px;width:150px;font-size:14px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;margin:5px 10px;padding:4px;text-align:center;vertical-align:middle;line-height:30px}.Ldt-AnnotationsController-Button:hover{background-color:#e15581;border-color:#222222 #e87d9f #f0adc3 #68273c}#ui-datepicker-div{display:none}.Ldt-AnnotationsListWidget{border:none;margin:0;padding:0;overflow:auto}.Ldt-AnnotationsListWidget a{text-decoration:none}.Ldt-AnnotationsList-Audio{width:1px;height:1px}.Ldt-AnnotationsList-Filters{display:table-cell;width:100%;height:30px;vertical-align:middle;text-align:center}.Ldt-AnnotationsList-filter-text{text-align:left;display:inline;margin:4px 2px}.Ldt-AnnotationsList-filter-dropdown,.Ldt-AnnotationsList-filter-checkbox{text-align:center;display:inline;margin:4px 2px}ul.Ldt-AnnotationsList-ul,ul.Ldt-AnnotationsList-ul-toDelete{list-style:none;padding:0;margin:0}li.Ldt-AnnotationsList-li{width:100%;clear:both;margin:2px 0;padding:2px 0;min-height:3em;position:relative}.Ldt-AnnotationsList-li.selected{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzZDMjFCMDhGMTBGMTFFMUIwNTRGNTYxQTQwQjIwQkEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzZDMjFCMDlGMTBGMTFFMUIwNTRGNTYxQTQwQjIwQkEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NkMyMUIwNkYxMEYxMUUxQjA1NEY1NjFBNDBCMjBCQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NkMyMUIwN0YxMEYxMUUxQjA1NEY1NjFBNDBCMjBCQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pth+eaYAAAAcSURBVHjaYrhy5cp/IGAAYQYYAyQIZ4BogAADADG3HGCLfhKkAAAAAElFTkSuQmCC);z-index:1}.Ldt-AnnotationsList-ThumbContainer{float:left;width:80px;height:50px;text-align:center;margin:0 2px 10px;box-shadow:gray 0 0 2px}.Ldt-AnnotationsList-Thumbnail{border:none;max-width:100%;max-height:100%;margin:0 auto}.Ldt-AnnotationsList-External-Icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsTAAALEwEAmpwYAAACzGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgIC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mi12i1c906nk3i9XtJsNp8j3ul0hJzb7aZkg8HwCEuELO8BOLHZbC8UCgUzmUyE6XSarVarb41G48fFYvEJyTg+bjweU9Egy5FQKGQymYzU4/H0QdEgOH5LJpN8MBhE55fFYvFYJBKdIjkQCPziTCYTVRhGsYSREJ/Pt0Ewm81WYVNDW5Z2u72FAHZI8BMeCsXRh+t2u/TFLJfL0+l0yjcaDVW9Xr+Tz+fvAr6B7ELIKnI4HD+QAOtqQtdzpopD/2WNRvMURBJDedxmsyHr9ZqF1tqFQuHJ5eOgvhiF9nu50/LL5fKJWq1+LBAIjvb7/VcQ7AxGdobOsK6JF9fDF4GrYAfr4XQDu2HAueP4cAooJmoCtn/+Sb8BxlbyfxWI4N8AAAAASUVORK5CYII=);z-index:100;height:15px;width:15px;position:relative;bottom:20px;left:64px}.Ldt-AnnotationsList-DeleteButton{margin:0;float:right;font-size:20px;position:relative;top:-50px;left:-5px;color:#787878}.Ldt-AnnotationsList-DeleteButton:hover{color:#f7268e;cursor:pointer}.Ldt-AnnotationsList-Duration{color:#f7268e;float:right;text-align:right;font-size:12px;margin:2px}.Ldt-AnnotationsList-CreationDate{color:#f7268e;text-align:left;font-size:12px;margin:2px 2px 2px 89px}h3.Ldt-AnnotationsList-Title span.Ldt-AnnotationsList-TitleContent{color:#0068c4;font-size:13px;margin-left:5px;font-weight:700}h3.Ldt-AnnotationsList-Title.Ldt-Annotation-Timecode{font-size:13px}.Ldt-AnnotationsList-Title a{color:#0068c4}.Ldt-AnnotationsList-Creator{color:#4d90f4;margin-left:5px;font-size:13px}p.Ldt-AnnotationsList-Description{margin:2px 0 2px 89px;font-size:12px;color:#333}.Ldt-AnnotationsList-Description a{color:#0068c4}.Ldt-AnnotationsList-Description a:hover{text-decoration:underline;color:maroon}ul.Ldt-AnnotationsList-Tags{list-style:none;padding:0;margin:2px 0 0 82px}li.Ldt-AnnotationsList-Tag-Li{display:inline-block;border:none;margin:0 10px 5px 0;height:23px;padding:0 0 0 20px;background:url(data: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EAiAQzfoeVY5uf0MDu4A4ACjY5hW2P6FQCFkBQCMQYfvT1dVlLCsrQ1YA0LRY08Fg0O/1enUf4rMIP7y4tbXFfD4f8/v9DB9VAVkEImx/wuFw0Ye4q0kmkxG2P+l0On56epos9TwA75NAJnt7ew1GY/FTJ9lsll8ubX+omiTb29uRPSCFQKbm5+dnR0dHi9r+BAIBRpXj0vaHvyMpJSgA3ieBCNuf5eXlsWJmcLydUhQlsb6+nuBi4b5YEAiQaUgXtj9OpzPEB3A9uB8vDwBkFIiw/UkRPp/PAGNqAAoFwvmd4ktqtaa6uruRGQDY9aMm91dXVweqqqp68EYdgOsCEbY/1Gk9/+DGDaW6uhoZAhCIBmH781cm87ivvx8ZAhCIDjPpdHrY7nDE+D/WAQACuc74b6nUgsfjcdfV1SFTAALRIGx/fn76FLY/QFrwOhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) left top no-repeat;cursor:pointer}.Ldt-AnnotationsList-Tag-Li span{display:inline-block;font-size:12px;height:19px;padding:4px 5px 0 0;border:none;margin:0;background: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iiqioEAiAQzfoeVY5uf0MDu4A4ACjY5hW2P6FQCFkBQCMQYfvT1dVlLCsrQ1YA0LRY08Fg0O/1enUf4rMIP7y4tbXFfD4f8/v9DB9VAVkEImx/wuFw0Ye4q0kmkxG2P+l0On56epos9TwA75NAJnt7ew1GY/FTJ9lsll8ubX+omiTb29uRPSCFQKbm5+dnR0dHi9r+BAIBRpXj0vaHvyMpJSgA3ieBCNuf5eXlsWJmcLydUhQlsb6+nuBi4b5YEAiQaUgXtj9OpzPEB3A9uB8vDwBkFIiw/UkRPp/PAGNqAAoFwvmd4ktqtaa6uruRGQDY9aMm91dXVweqqqp68EYdgOsCEbY/1Gk9/+DGDaW6uhoZAhCIBmH781cm87ivvx8ZAhCIDjPpdHrY7nDE+D/WAQACuc74b6nUgsfjcdfV1SFTAALRIGx/fn76FLY/QFrwOhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) right top no-repeat}li.Ldt-AnnotationsList-Tag-Li:hover{background-position:left -23px}.Ldt-AnnotationsList-Tag-Li:hover span{background-position:right -23px}.Ldt-AnnotationsList-Play{width:125px;height:20px;margin:2px 0 2px 82px;text-align:center;padding:3px 5px 0 20px;font-size:12px;cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAuCAYAAADKmOD6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUUwOUM5Q0UwN0YyMTFFMjkwNTJBRjQzMUFEMEVCNDUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUUwOUM5Q0YwN0YyMTFFMjkwNTJBRjQzMUFEMEVCNDUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZD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PfETMF97x0IEdBJSB7/eDyeDeXifSo5ANCMLCTV5wbYv8Abkdn+VVdXZ+E9PwBy5fz8nFvZX9q/hoaGLOXl5YgQ0M3q6qpjaWkpbf9yOBwW3vuD/Qv8Cs3NzSQLK23/4lpVQqXRz2qzUSgYRMSAJswmk5BN+l+hSttM8bt3FAgExOZzLBoV9wBoFpnQFb1s7GNf4fz8vHDjuN1u0S7D+4enp6eIGtAmrNfgrtDJyUmxGc1tM5zBeHq8vLxE9IAGYWXZZD44OKCJiQnRPsNdD5V2O11dXQmHDgCqwuLOBaNCWJlktrOzI0Zrayt9dLnIXlkpahgwsALVjGVQdjFkyWBer5c2Njaoo6NDmCmKiovR9w5UMpaO9hi2f62srNDW1haNjIxQQUEBRSIRRBWkhWVSCEtLY1/K/sVuHd4K+h4IvPgd8H/PWP8VtzQLi+1fbLFn+xe7dbgMofwNAGGJ7KOFhoYGUXYoKysTh4Lwwj2VvQDIKix+9jRr8fFF/f394jgjttFzqQGCArqExbD9iwXFxxexW4f74yEooHvxzv/4+CQ/zlBsZk1tRmNxDrQKS9i/lAtvnu7s79/TbfJoSCzMQTaSjQxp+xfv+6lNbZy1MOUBrezu7vIlbf+SJGlqenp6kDeaAdADz3Czs7Owf4E3B/Yv8HZksn/9EGAAfVj8tbLIAFEAAAAASUVORK5CYII=);color:#333}.Ldt-AnnotationsList-Play:hover{background-position:0 bottom}.Ldt-AnnotationsList-EditControls{opacity:0;position:absolute;bottom:2px;right:8px}.Ldt-AnnotationsList-li:hover .Ldt-AnnotationsList-EditControls{display:inline-block;opacity:.8;transition:opacity 1s ease-in-out}.Ldt-AnnotationsList-EditControls>div{display:inline-block;width:16px;height:16px;cursor:pointer;margin-left:8px}.Ldt-AnnotationsList-Delete{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAD9S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GcqN6GW6fK8dp1FBP9F/AxvoBwSjcF7Q/fM0FlvsD8iEyycbFuQknDFLPl40QWnqFsyRdY16hbV+gdjf8Rraytm890P0opy5+VggNECwVJzllBldL+r2ErFO7uHYmx4A/Kxc1GPT9cSpmjnC72L/0FRS76cD+dhSEAAAAASUVORK5CYII=)}.Ldt-AnnotationsList-PublishAnnotation{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAInSURBVDjLpZNBSJRBFMd/37papinFUgZmYESIFiGRYdQhynueig4eomNE0NmDidc8du7arUNFKJSpIKQHAwlNKkUzTVdd3W++mTfzOuxK2RoEzeENPHi//3/mvRepKv9z0gD65aVK7geqFhWHeoeKRSVBfQLO4MWgEoMz1HY+jXYDvFDecrOErgoRFAOgkH12q9RBsr5ApSoa4kI2AtUARCi/CFFqH+riPZ4gQrBLSG4MQoKqLdzBQjBoMGiIqcjcILj8HgCfAIIGA+qKRb8XGzTkQQW1eziQrdWC5V3KMSGYIiSGEBdEZLsUELzBzLxDkk/gLajgzSb7TxwpKAdDz8QUWfOAR3/8QQrAx6vI5gLVTbepbuniwOlrEBzq8xDyqM9jxFKfaeJ+ZXmpg0gVtzxJdmCYmva7RFFEz/c5WJrFBsGKcOzQKZrq2siZbTr665wRWzH0cE3TO/0+2NbF2kA360OPqb1yDwmW681deA344AkoixvznKm/xJaN0+Nzb+3Z3lRFGgAxRGUpqlrvEE+9IDf6HCMWr4GvqzO4IEhwOO/YTHKcO36ZLZdPj30eNsU5MGRf9aNiUBdj4w+Y2irEC0drGpDg8Rr4tjHH4eo6JuZHGJkd/miF1uhvy9T5pNEba7HBYsRyMtOcutjYwfu5UQanX09a4cJinybRv25jS29q5XzD1cyb6cFxG2hf7FNbbMC/ARq7oxUfyjJx8OXLfSo7+Z9JyXr5I2wfSAAAAABJRU5ErkJggg==)}.published .Ldt-AnnotationsList-PublishAnnotation{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJFSURBVBgZBcHda5V1AADg5/d733Oc7tjOaNs5GC6KdrEwmpPRxG7spoKghOim7oK8y0MIEQRL+geGEIQ3UXQvSJ8IafZxUbjQhRDZoU60iYsSc9t5v87b84TsVe3mrBWpHoCICIAIACixYTUfOJM2Z62YO97TOULSIKaEQAyESAzEgISAgLpi48de87MLUqmezhGyhO4SCW7f4O81YiSJiCQIkbqmNcXMIjMXeilIGsQxDp8AnKDY5teL3PyU6h4CdY3Av7cYu58R0QghZWeT9fP0v2V7i8Y4j77As2c5sAwIFAXDgjInJxURAzub/PwxMZBGphZYeIWJWZ44xdo5bl4kK8kzioohUUREd4kXP+Kpd3nkee72+epNBleAxdfoLJBlDEuKkpxoBAkBjXGm53n8ZZ45S/shrr7P75eBo6eo9zAsKCqGRBEB/1zj89e5eo7tLRr7ePJtWg9wZZV7t2i2OPQcw5JiRE4UESN1ZPc2g0tceos/LtPYx9HTaPDNe8Dhl9gtyStyUiMIJDXLp2m0GHzN2gdMzdPq0F3k+pcc/4+x/UwepKzIiSDWTB/iwBLT8xw8xt07rJ8HHj7GbkX/B+DBxyhrciIQ2N2i2AG2fiPL+OsXoNVlWPDnDaC5l6qiJJWjLlHxxRs0JhhcIyvp/8SHJylKdiu++4Tr31NW7B8nkrwzp627d9nkHM0Wsea+GSY6tDvESEyY6TIxyZ4GSUp/nTubqyF7WrvZtaKrZ4QSQ+TIMUSJHCVypGhaHW448z+h1tLAgvKk7gAAAABJRU5ErkJggg==)}.Ldt-AnnotationsList .editing{display:none}.Ldt-AnnotationsList .editableInput{width:80%}.Ldt-AnnotationsList-ScreenMain{margin:0;padding:0}.Ldt-AnnotationsList-ScreenDelete,.Ldt-AnnotationsList-ScreenSending,.Ldt-AnnotationsList-ScreenError,.Ldt-AnnotationsList-ScreenSuccess{margin-top:15px;width:100%;text-align:center;vertical-align:middle;font-size:14px;font-weight:700;color:#68273c}a.Ldt-AnnotationsList-Close{position:absolute;right:2px;display:inline-block;width:17px;height:17px;margin:4px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAABECAYAAADk6ueFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA69pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wUmlnaHRzPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvcmlnaHRzLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcFJpZ2h0czpNYXJrZWQ9IkZhbHNlIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InV1aWQ6ODZCMEQ5RTA0MDFCRTExMTlCMzc5NUZCQjlFODdENzMiIHhtcE1NOkRvY3VtZW50SUQ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HRCi/yYEo60aDCyJBhJGDJ5RMKRFg1GcKSCUeM9bcOLRzQcuWq9GBhJr7UTREC/YMSomYRGBC0JjLRKJ0woKgRGWs2FmFBUEIykmnAkoSgfGEn1giMJRQXBSCphyIQjOsPKyAdGcrX84nrBESvTBKNgDlLa0bpnOLEQi1D37dun3rx5o/r6+jI5HLAFz7Y/fPhwhshQiEV4/9SpUwo7oR48eJDBu3fLFl8GozIYlcHojzsxsjQY7dixwwEjLfpwRndYZn4OgmwwQrknMNaswWjjxo02GGmRhzMU/a9Figaj58+fE4yaPcEon8j7hcAon5jfHwlGlgSjYmLOIRihTcdZDRqMConXfYIRepQbjPSxgV84MsGIK2akSoEjTzAqReSJkQajYhHxik5eMCrFES8wKsURCUZWDow2IXEC+sTPK5TcDqKC3cNzVwFGaSTtpqVLlwZ44qhPJs1DG3liqcU3GJlRkOoXjMwolAxGXuWr1Q8YeZWviYnlE6MyGJXBqAxG/+t/pRVTPydGxdTXiZEf+RUwKnRiVBIYmVIqGHlJyWBkHjH8ChhJKYPRb4FR3h7uE4z8iC8wKqbFwMiP+gKjQuoHjIrpb50YUTnvV0+MtJZPjP4YMPpPgAEAe6usJmPTw18AAAAASUVORK5CYII=)}.Ldt-Ctrl{font-size:10px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAZCAIAAAB/8tMoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNocwwsKABEAQMHX3v9+IvKNiBAH2G2nBiHEw0dKiVIKrfXfGIO1Fucc3ntCCMQYSSmRc6aUQq3131qj984Ygzknay323pxzuPe+AgwA4k9AhsygN5kAAAAASUVORK5CYII=) repeat-x transparent;height:25px;border:1px solid #b6b8b8;position:relative;overflow:hidden}.Ldt-Ctrl-Left{float:left}.Ldt-Ctrl-Right{float:right}.Ldt-Ctrl-button{float:left;width:30px;height:25px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAABL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+URBMKLzprixO+3flNHeuYUesR7PxPcdinQMixoTk3QlqLPHguZX3Lsm2RJ3XY02TPEfjPIntErWSN5jOUyWGbus3j+K4pGH8kW1zAFguZ2sD0vlcTOmdvoIUG9ZoNeSYhEWPYED36I58+CAu0oDbxi0nNYcAmtuHbZ0BsTpFiGS4Tom9mY3YdD1LWVFEPCWHOLJJfiKhTAIXQoJPnm2VYQSpZ3lqsqQmJmAUGpK62KhSO5leYbpzGfuqU39qcep5bzUDO3Ht3COjEgTbwiCWipAIWC+yqW2eLa2CgETAw3ntNPpcESzTaBmZ2xGg1YHxsSv48orCSXuGURkFzPZOHqVHhVydMICwGpTItfWsErejiilQ8KStxwrG3ShmVIYFiuqVXp4SE0UtkzVU0GK01DiXXDeD9yWddOM9kAljUlktJ4xDUIdzOKQIDa0MjpSB6G7pcWo2FpwmVlhIS1nVMI1YrKymcQtMllpVFisIfIa+LFkj+Jbo2oa0ctkMoESJGyDsyqy5IM8colxYyq++aD3lR4TUPJ/0+AAQAMoiAmbt41YwAAAABJRU5ErkJggg==);cursor:pointer}.Ldt-Ctrl-spacer{float:left;width:1px;height:25px;background:#b6b8b8}.Ldt-Ctrl-Play{margin:0 15px}.Ldt-Ctrl-Play-PlayState{background-position:0 0}.Ldt-Ctrl-Play-PlayState:hover{background-position:0 -25px}.Ldt-Ctrl-Play-PlayState:active{background-position:0 -50px}.Ldt-Ctrl-Play-PauseState{background-position:-30px 0}.Ldt-Ctrl-Play-PauseState:hover{background-position:-30px -25px}.Ldt-Ctrl-Play-PauseState:active{background-position:-30px -50px}.Ldt-Ctrl-Annotate{margin:0 2px;background-position:-60px 0}.Ldt-Ctrl-Annotate:hover{background-position:-60px -25px}.Ldt-Ctrl-Annotate:active{background-position:-60px -50px}.Ldt-Ctrl-SearchBtn{margin:0 2px;background-position:-90px 0}.Ldt-Ctrl-SearchBtn:hover{background-position:-90px -25px}.Ldt-Ctrl-SearchBtn:active{background-position:-90px -50px}.Ldt-Ctrl-Search{width:0;float:left;overflow:hidden}input.Ldt-Ctrl-SearchInput{-moz-box-sizing:border-box;box-sizing:border-box;width:145px;height:20px;margin:2px;padding:3px;border:1px solid #8080a0;border-radius:3px;font-size:13px}.Ldt-Ctrl-Time{float:left;margin:5px;font-size:12px;font-family:Arial,Verdana,sans-serif}.Ldt-Ctrl-Time-Elapsed{float:left;color:#4a4a4a}.Ldt-Ctrl-Time-Separator{margin:0 4px;float:left}.Ldt-Ctrl-Time-Total{float:left;color:#b2b2b2}.Ldt-Ctrl-Sound{margin:0 2px}.Ldt-Ctrl-Sound-Full{background-position:-120px 0}.Ldt-Ctrl-Sound-Full:hover{background-position:-120px -25px}.Ldt-Ctrl-Sound-Full:active{background-position:-120px -50px}.Ldt-Ctrl-Sound-Mute{background-position:-150px 0}.Ldt-Ctrl-Sound-Mute:hover{background-position:-150px -25px}.Ldt-Ctrl-Sound-Mute:active{background-position:-150px -50px}.Ldt-Ctrl-Sound-Half{background-position:-180px 0}.Ldt-Ctrl-Sound-Half:hover{background-position:-180px -25px}.Ldt-Ctrl-Sound-Half:active{background-position:-180px -50px}.Ldt-Ctrl-Volume-Control{display:none;position:absolute;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAZCAIAAAB/8tMoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNocwwsKABEAQMHX3v9+IvKNiBAH2G2nBiHEw0dKiVIKrfXfGIO1Fucc3ntCCMQYSSmRc6aUQq3131qj984Ygzknay323pxzuPe+AgwA4k9AhsygN5kAAAAASUVORK5CYII=) repeat-x transparent;height:25px;width:100px;top:25px;right:-1px;z-index:100;padding:0 2px;border:1px solid #b6b8b8}.Ldt-Ctrl-Volume-Bar{height:5px;margin:9px 3px 0;background:#ccc;border:1px solid #999999;border-radius:2px}.Ldt-Ctrl-Volume-Control .ui-slider-handle{width:6px;height:19px;background:#a8a8a8;border:1px solid #999999;border-radius:2px;top:-8px;margin-left:-4px;cursor:pointer}.Ldt-Ctrl-Volume-Control:hover .ui-slider-handle{background:#f7268e}.Ldt-Ctrl-Quiz-Enable button,.Ldt-Ctrl-Quiz-Create button,.Ldt-Ctrl-Quiz-Disactivated button,.Ldt-Ctrl-Fullscreen-Button{border:none;background:transparent}.Ldt-Ctrl-Quiz-Enable{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='22'%20height='22'%20viewBox='0%200%2022.000001%2022.000001'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='quizzOff.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='20.48'%20inkscape:cx='26.114676'%20inkscape:cy='19.183621'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1855'%20inkscape:window-height='1056'%20inkscape:window-x='65'%20inkscape:window-y='24'%20inkscape:window-maximized='1'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1030.3622)'%3e%3cg%20id='g3090'%20transform='matrix(0.13943692,0,0,0.1456598,-4.0481427,902.11583)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path4152'%20d='m%2088.762577,966.09408%20a%2064.442296,17.911566%2052.208592%200%200%20-53.76267,-40.24111%2064.442296,17.911566%2052.208592%200%200%2025.08146,61.71245%2064.442296,17.911566%2052.208592%200%200%2053.763283,40.24068%2064.442296,17.911566%2052.208592%200%200%20-25.082073,-61.71202%20z'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:2.23528218;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='517.45343'%20x='875.27667'%20height='20.941669'%20width='15.681897'%20id='rect4311'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='519.57574'%20x='762.16467'%20height='19.048025'%20width='13.667582'%20id='rect4309'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='518.66687'%20x='889.6543'%20height='0.94452941'%20width='1.1967648'%20id='rect4313'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-3'%20d='m%20113.50338,1028.0563%209.89486,-7.4107%208.37707,-6.2729'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='18.476786'%20sodipodi:rx='64.438011'%20sodipodi:cy='516.2522'%20sodipodi:cx='826.67413'%20d='m%20891.11214,516.2522%20c%200,10.20444%20-28.84988,18.47678%20-64.43801,18.47678%20-35.58813,0%20-64.43801,-8.27234%20-64.43801,-18.47678%200,-10.20445%2028.84988,-18.47679%2064.43801,-18.47679%2035.58813,0%2064.43801,8.27234%2064.43801,18.47679%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='18.476786'%20rx='64.438011'%20cy='516.2522'%20cx='826.67413'%20id='path4150'%20style='fill:%23666666;stroke:%23000000;stroke-width:2.23541927;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156'%20d='m%2035.104607,925.77201%209.7327,-7.28939%208.23979,-6.17012'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='8.1607332'%20sodipodi:rx='36.851326'%20sodipodi:cy='517.20477'%20sodipodi:cx='827.2381'%20d='m%20864.08942,517.20477%20c%200,4.50705%20-16.4989,8.16074%20-36.85132,8.16074%20-20.35243,0%20-36.85133,-3.65369%20-36.85133,-8.16074%200,-4.50705%2016.4989,-8.16073%2036.85133,-8.16073%2020.35242,0%2036.85132,3.65368%2036.85132,8.16073%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='8.1607332'%20rx='36.851326'%20cy='517.20477'%20cx='827.2381'%20id='path4317'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:%23000000;stroke-width:1.30889452;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='907.08124'%20x='233.80257'%20height='3.9420969'%20width='24.027122'%20id='rect5190'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='906.15369'%20x='235.03923'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='905.3421'%20x='236.39369'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-1'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='904.47247'%20x='237.51262'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='903.92175'%20x='237.95427'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='908.00873'%20x='233.77309'%20height='2.5362754'%20width='18.712299'%20id='rect5190-9-0'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4'%20d='m%2069.344687,935.29586%2010.13887,-6.16215%208.58357,-5.21581'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='954.03864'%20x='285.80243'%20height='3.3044052'%20width='2.9445002'%20id='rect5279'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='948.15442'%20x='283.03458'%20height='7.8841949'%20width='6.0067806'%20id='rect5279-2'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='951.83563'%20x='286.62689'%20height='2.3188813'%20width='4.7700906'%20id='rect5279-2-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='953.51678'%20x='285.83188'%20height='1.971049'%20width='4.4167504'%20id='rect5279-2-3-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4-5'%20d='m%20114.62982,993.43082%209.47784,-7.0986%208.02405,-6.00861'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='909.45807'%20x='241.51714'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='11.1082'%20sodipodi:rx='36.846481'%20sodipodi:cy='495.24258'%20sodipodi:cx='824.92773'%20d='m%20861.77422,495.24258%20c%200,6.13489%20-16.49674,11.1082%20-36.84649,11.1082%20-20.34975,0%20-36.84648,-4.97331%20-36.84648,-11.1082%200,-6.13489%2016.49673,-11.1082%2036.84648,-11.1082%2020.34975,0%2036.84649,4.97331%2036.84649,11.1082%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='11.1082'%20rx='36.846481'%20cy='495.24258'%20cx='824.92773'%20id='path4351'%20style='fill:%23800000;fill-opacity:1;stroke:%23000000;stroke-width:0.924097;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20id='path4564'%20d='m%2076.182057,895.08255%20c%2028.049053,-21.23075%2069.407013,-14.64926%2092.435693,14.54291%2023.02867,29.19218%2019.04627,70.22994%20-9.00275,91.46064%20-27.96073,21.2524%20-111.393663,-84.75115%20-83.432943,-106.00355%20z'%20stroke-miterlimit='10'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:4.48099518;stroke-miterlimit:10;stroke-dasharray:none;display:inline'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");float:left;height:22px;width:22px;background-repeat:no-repeat}.Ldt-Ctrl-Quiz-Enable.Ldt-Ctrl-Quiz-Toggle-Active{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='22'%20height='22'%20viewBox='0%200%2022.000001%2022.000002'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='quizzOn.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='14.481547'%20inkscape:cx='20.213132'%20inkscape:cy='13.840792'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1855'%20inkscape:window-height='1056'%20inkscape:window-x='65'%20inkscape:window-y='24'%20inkscape:window-maximized='1'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1030.3622)'%3e%3cg%20id='g3065'%20transform='matrix(0.13987874,0,0,0.14224716,-4.400635,906.61726)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path4152'%20d='m%2091.229014,959.93306%20a%2064.4423,17.911567%2052.208592%200%200%20-53.76267,-40.2411%2064.4423,17.911567%2052.208592%200%200%2025.08146,61.7124%2064.4423,17.911567%2052.208592%200%200%2053.763276,40.24074%2064.4423,17.911567%2052.208592%200%200%20-25.082066,-61.71204%20z'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:2.23528218;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='511.73264'%20x='871.82239'%20height='20.941671'%20width='15.681898'%20id='rect4311'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='513.85492'%20x='758.71033'%20height='19.048027'%20width='13.667583'%20id='rect4309'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='512.94604'%20x='886.19995'%20height='0.94452947'%20width='1.1967649'%20id='rect4313'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-3'%20d='m%20115.96981,1021.8953%209.89486,-7.4107%208.37708,-6.2729'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='18.476788'%20sodipodi:rx='64.438011'%20sodipodi:cy='510.5314'%20sodipodi:cx='823.21979'%20d='m%20887.6578,510.5314%20c%200,10.20445%20-28.84988,18.47679%20-64.43801,18.47679%20-35.58813,0%20-64.43801,-8.27234%20-64.43801,-18.47679%200,-10.20445%2028.84988,-18.47678%2064.43801,-18.47678%2035.58813,0%2064.43801,8.27233%2064.43801,18.47678%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='18.476788'%20rx='64.438011'%20cy='510.5314'%20cx='823.21979'%20id='path4150'%20style='fill:%23666666;stroke:%23000000;stroke-width:2.23541927;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156'%20d='m%2037.571044,919.61096%209.7327,-7.2894%208.23979,-6.1701'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='8.1607332'%20sodipodi:rx='36.85133'%20sodipodi:cy='511.48398'%20sodipodi:cx='823.78375'%20d='m%20860.63508,511.48398%20c%200,4.50705%20-16.4989,8.16073%20-36.85133,8.16073%20-20.35243,0%20-36.85133,-3.65368%20-36.85133,-8.16073%200,-4.50705%2016.4989,-8.16073%2036.85133,-8.16073%2020.35243,0%2036.85133,3.65368%2036.85133,8.16073%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='8.1607332'%20rx='36.85133'%20cy='511.48398'%20cx='823.78375'%20id='path4317'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:%23000000;stroke-width:1.30889452;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='900.58234'%20x='235.14644'%20height='3.9420972'%20width='24.027124'%20id='rect5190'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='899.65472'%20x='236.3831'%20height='4.2899294'%20width='24.027124'%20id='rect5190-9'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='898.8432'%20x='237.73756'%20height='4.2899294'%20width='24.027124'%20id='rect5190-9-1'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='897.97357'%20x='238.85649'%20height='4.0000696'%20width='2.1789298'%20id='rect5190-9-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='897.42279'%20x='239.29814'%20height='4.0000696'%20width='2.1789298'%20id='rect5190-9-4-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='901.50983'%20x='235.11696'%20height='2.5362756'%20width='18.712301'%20id='rect5190-9-0'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4'%20d='m%2071.811124,929.13486%2010.13887,-6.1622%208.58357,-5.2158'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='947.53973'%20x='287.14633'%20height='3.3044055'%20width='2.9445004'%20id='rect5279'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='941.65546'%20x='284.37848'%20height='7.8841953'%20width='6.0067811'%20id='rect5279-2'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='945.33673'%20x='287.97079'%20height='2.3188815'%20width='4.7700911'%20id='rect5279-2-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='947.01788'%20x='287.17575'%20height='1.9710491'%20width='4.4167509'%20id='rect5279-2-3-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4-5'%20d='m%20117.09625,987.26976%209.47784,-7.0986%208.02406,-6.0086'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='902.95917'%20x='242.86101'%20height='4.2899294'%20width='24.027124'%20id='rect5190-9-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='11.108201'%20sodipodi:rx='36.846485'%20sodipodi:cy='489.52179'%20sodipodi:cx='821.47339'%20d='m%20858.31987,489.52179%20c%200,6.13489%20-16.49673,11.1082%20-36.84648,11.1082%20-20.34975,0%20-36.84649,-4.97331%20-36.84649,-11.1082%200,-6.13489%2016.49674,-11.1082%2036.84649,-11.1082%2020.34975,0%2036.84648,4.97331%2036.84648,11.1082%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='11.108201'%20rx='36.846485'%20cy='489.52179'%20cx='821.47339'%20id='path4351'%20style='fill:%23800000;fill-opacity:1;stroke:%23000000;stroke-width:0.924097;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20id='path4564'%20d='m%2078.648494,888.92156%20c%2028.049046,-21.2308%2069.407016,-14.6493%2092.435696,14.5429%2023.02867,29.1922%2019.04627,70.2299%20-9.00275,91.4606%20-27.96073,21.25254%20-111.393666,-84.7511%20-83.432946,-106.0035%20z'%20stroke-miterlimit='10'%20style='fill:%23aa0000;fill-opacity:1;stroke:%23000000;stroke-width:4.48099518;stroke-miterlimit:10;stroke-dasharray:none;display:inline'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.Ldt-Ctrl-Quiz-Create{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='26'%20height='25'%20viewBox='0%200%2026.000001%2025.000001'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='buzz.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='10.24'%20inkscape:cx='28.406106'%20inkscape:cy='5.347153'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1680'%20inkscape:window-height='1028'%20inkscape:window-x='75'%20inkscape:window-y='24'%20inkscape:window-maximized='0'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1027.3622)'%3e%3cg%20id='g3115'%20transform='matrix(0.13764231,0,0,0.14585411,-0.10960999,900.2163)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path4152'%20d='m%2088.762577,966.09408%20a%2064.442296,17.911566%2052.208592%200%200%20-53.76267,-40.24111%2064.442296,17.911566%2052.208592%200%200%2025.08146,61.71245%2064.442296,17.911566%2052.208592%200%200%2053.763283,40.24068%2064.442296,17.911566%2052.208592%200%200%20-25.082073,-61.71202%20z'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:2.23528218;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='517.45343'%20x='875.27667'%20height='20.941669'%20width='15.681897'%20id='rect4311'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='519.57574'%20x='762.16467'%20height='19.048025'%20width='13.667582'%20id='rect4309'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='518.66687'%20x='889.6543'%20height='0.94452941'%20width='1.1967648'%20id='rect4313'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-3'%20d='m%20113.50338,1028.0563%209.89486,-7.4107%208.37707,-6.2729'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='18.476786'%20sodipodi:rx='64.438011'%20sodipodi:cy='516.2522'%20sodipodi:cx='826.67413'%20d='m%20891.11214,516.2522%20c%200,10.20444%20-28.84988,18.47678%20-64.43801,18.47678%20-35.58813,0%20-64.43801,-8.27234%20-64.43801,-18.47678%200,-10.20445%2028.84988,-18.47679%2064.43801,-18.47679%2035.58813,0%2064.43801,8.27234%2064.43801,18.47679%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='18.476786'%20rx='64.438011'%20cy='516.2522'%20cx='826.67413'%20id='path4150'%20style='fill:%23666666;stroke:%23000000;stroke-width:2.23541927;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156'%20d='m%2035.104607,925.77201%209.7327,-7.28939%208.23979,-6.17012'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='8.1607332'%20sodipodi:rx='36.851326'%20sodipodi:cy='517.20477'%20sodipodi:cx='827.2381'%20d='m%20864.08942,517.20477%20c%200,4.50705%20-16.4989,8.16074%20-36.85132,8.16074%20-20.35243,0%20-36.85133,-3.65369%20-36.85133,-8.16074%200,-4.50705%2016.4989,-8.16073%2036.85133,-8.16073%2020.35242,0%2036.85132,3.65368%2036.85132,8.16073%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='8.1607332'%20rx='36.851326'%20cy='517.20477'%20cx='827.2381'%20id='path4317'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:%23000000;stroke-width:1.30889452;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='907.08124'%20x='233.80257'%20height='3.9420969'%20width='24.027122'%20id='rect5190'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='906.15369'%20x='235.03923'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='905.3421'%20x='236.39369'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-1'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='904.47247'%20x='237.51262'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='903.92175'%20x='237.95427'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='908.00873'%20x='233.77309'%20height='2.5362754'%20width='18.712299'%20id='rect5190-9-0'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4'%20d='m%2069.344687,935.29586%2010.13887,-6.16215%208.58357,-5.21581'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='954.03864'%20x='285.80243'%20height='3.3044052'%20width='2.9445002'%20id='rect5279'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='948.15442'%20x='283.03458'%20height='7.8841949'%20width='6.0067806'%20id='rect5279-2'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='951.83563'%20x='286.62689'%20height='2.3188813'%20width='4.7700906'%20id='rect5279-2-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='953.51678'%20x='285.83188'%20height='1.971049'%20width='4.4167504'%20id='rect5279-2-3-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4-5'%20d='m%20114.62982,993.43082%209.47784,-7.0986%208.02405,-6.00861'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='909.45807'%20x='241.51714'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='11.1082'%20sodipodi:rx='36.846481'%20sodipodi:cy='495.24258'%20sodipodi:cx='824.92773'%20d='m%20861.77422,495.24258%20c%200,6.13489%20-16.49674,11.1082%20-36.84649,11.1082%20-20.34975,0%20-36.84648,-4.97331%20-36.84648,-11.1082%200,-6.13489%2016.49673,-11.1082%2036.84648,-11.1082%2020.34975,0%2036.84649,4.97331%2036.84649,11.1082%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='11.1082'%20rx='36.846481'%20cy='495.24258'%20cx='824.92773'%20id='path4351'%20style='fill:%23800000;fill-opacity:1;stroke:%23000000;stroke-width:0.924097;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20id='path4564'%20d='m%2076.182057,895.08255%20c%2028.049053,-21.23075%2069.407013,-14.64926%2092.435693,14.54291%2023.02867,29.19218%2019.04627,70.22994%20-9.00275,91.46064%20-27.96073,21.2524%20-111.393663,-84.75115%20-83.432943,-106.00355%20z'%20stroke-miterlimit='10'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:4.48099518;stroke-miterlimit:10;stroke-dasharray:none;display:inline'%20inkscape:connector-curvature='0'%20/%3e%3cg%20id='flowRoot4822'%20style='font-size:40px;font-style:normal;font-weight:normal;line-height:125%25;letter-spacing:0px;word-spacing:0px;fill:%23000000;fill-opacity:1;stroke:none;font-family:sans-serif'%20transform='translate(2.4859224,821.53368)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path6077'%20style='font-size:90.00000763px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Franklin%20Gothic;-inkscape-font-specification:Franklin%20Gothic'%20d='m%20123.24902,138.67423%208.9209,0%200,11.16211%20-8.9209,0%200,-11.16211%20z%20m%208.65723,-6.45996%20-8.39355,0%200,-6.76758%20q%200,-4.43848%201.23047,-7.29492%201.23046,-2.85645%205.18554,-6.63575%20l%203.95508,-3.91113%20q%202.50488,-2.3291%203.60352,-4.39453%201.14258,-2.06543%201.14258,-4.218753%200,-3.911133%20-2.9004,-6.328125%20-2.85644,-2.416992%20-7.60254,-2.416992%20-3.47167,0%20-7.42675,1.538086%20-3.91114,1.538086%20-8.17383,4.482422%20l%200,-8.26172%20q%204.13086,-2.504883%208.34961,-3.735351%204.26269,-1.230469%208.78906,-1.230469%208.08594,0%2012.96387,4.262695%204.92187,4.262696%204.92187,11.250001%200,3.339846%20-1.58203,6.372076%20-1.58203,2.98828%20-5.53711,6.76757%20l%20-3.86718,3.7793%20q%20-2.06543,2.06543%20-2.94434,3.25195%20-0.83496,1.14258%20-1.18652,2.24122%20-0.26368,0.92285%20-0.39551,2.24121%20-0.13184,1.31836%20-0.13184,3.60351%20l%200,5.40528%20z'%20/%3e%3c/g%3e%3crect%20y='923.16681'%20x='45.770191'%20height='100.00001'%20width='15.000001'%20id='rect4834'%20style='fill:%23ff0000;fill-opacity:1;stroke:none'%20/%3e%3crect%20transform='matrix(-0.00595846,-0.99998225,0.99997419,-0.00718432,0,0)'%20y='-2.488034'%20x='-980.66632'%20height='99.91748'%20width='14.282415'%20id='rect4834-6'%20style='fill:%23ff0000;fill-opacity:1;stroke:none'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");float:left;height:23px;width:26px;background-repeat:no-repeat;margin-left:4px;margin-top:0;display:none}.Ldt-Ctrl-Quiz-Create.Ldt-Ctrl-Quiz-Toggle-Active{display:inline-block}.Ldt-Ctrl-Fullscreen-Button{margin-top:3px}.Ldt-Ctrl-Fullscreen-Button{float:left;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='22'%20height='22'%20viewBox='0%200%2022.000001%2022.000001'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='FS.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='20.48'%20inkscape:cx='10.91933'%20inkscape:cy='15.686744'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1680'%20inkscape:window-height='1028'%20inkscape:window-x='75'%20inkscape:window-y='24'%20inkscape:window-maximized='0'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1030.3622)'%3e%3cpath%20style='fill:%23000000'%20d='m%200.5522696,1051.6037%20c%20-0.41889785,-0.4329%20-0.41461065,-8.2715%200.00441,-8.2715%200.16357544,0%200.8770369,0.5915%201.5854719,1.3145%20l%201.2880668,1.3142%201.0474543,-1.062%20c%201.2537252,-1.2715%202.0021739,-1.362%202.9358328,-0.3551%200.9287537,1.0018%200.8386288,1.7291%20-0.3721746,3.0037%20l%20-1.0280047,1.0824%201.2720657,1.3309%20c%200.6996343,0.732%201.2720656,1.4692%201.2720656,1.6382%200,0.433%20-7.58640438,0.4375%20-8.00530223,0.01%20z%20m%2012.8865874,-0.01%20c%200,-0.169%200.572426,-0.9062%201.272067,-1.6382%20l%201.27206,-1.3308%20-1.027999,-1.0823%20c%20-1.210804,-1.2748%20-1.300935,-2.0022%20-0.372175,-3.0039%200.933653,-1.0069%201.682103,-0.9164%202.935828,0.3551%20l%201.047458,1.062%201.288068,-1.3143%20c%200.708435,-0.7229%201.421896,-1.3144%201.585473,-1.3144%200.419128,0%200.423427,7.8386%200.0044,8.2715%20-0.418887,0.4328%20-8.005291,0.4283%20-8.005291,-0.01%20z%20M%200.25939424,1035.3076%20c%200,-2.7627%200.0897934,-4.0772%200.29287536,-4.287%200.41889785,-0.4328%208.0053023,-0.4284%208.0053023,0.01%200,0.1691%20-0.5724257,0.9063%20-1.2720657,1.6383%20l%20-1.2720656,1.3309%201.0280047,1.0823%20c%201.2304351,1.2954%201.3179943,2.0686%200.3434664,3.0334%20-0.9694075,0.9597%20-1.6734008,0.8665%20-2.907119,-0.3846%20l%20-1.0474598,-1.0621%20-1.2880668,1.3143%20c%20-0.708435,0.723%20-1.42189663,1.3143%20-1.5854665,1.3143%20-0.2212842,0%20-0.29740536,-1.0197%20-0.29740536,-3.9844%20z%20m%2019.58692376,2.6673%20-1.274753,-1.3171%20-1.050191,1.0649%20c%20-1.236549,1.254%20-1.939853,1.3476%20-2.909856,0.3874%20-0.974534,-0.9647%20-0.886969,-1.738%200.343467,-3.0335%20l%201.027999,-1.0821%20-1.27206,-1.3311%20c%20-0.699641,-0.732%20-1.272067,-1.4691%20-1.272067,-1.6382%200,-0.433%207.586405,-0.4374%208.005303,-0.01%200.427969,0.4422%200.413673,8.2714%20-0.01511,8.2714%20-0.169391,0%20-0.881623,-0.5926%20-1.582735,-1.3171%20z'%20id='path3020'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/svg%3e");background-position:right;margin-right:6px;margin-top:1px;height:22px;width:22px;border:none}.Ldt-CreateAnnotation{border-style:none solid solid;border-width:1px;border-color:#b7b7b7;padding:0 1px 1px;margin:0}.Ldt-CreateAnnotation-Inner{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);padding:5px;margin:0;position:relative}.Ldt-CreateAnnotation-Inner h3{margin:5px 0;font-size:14px;font-weight:700;text-align:right;clear:both;color:#0068c4}.Ldt-CreateAnnotation-h3Left{float:left}.Ldt-CreateAnnotation-Main{min-height:50px}.Ldt-CreateAnnotation-Title,.Ldt-CreateAnnotation-Creator{font-size:14px;font-weight:700;color:#0068c4;border:1px solid #666666;border-radius:2px}.Ldt-CreateAnnotation-Title.empty,.Ldt-CreateAnnotation-Creator.empty{font-style:italic;color:#90b0d0}.Ldt-CreateAnnotation-Times{color:#ff3b77}.Ldt-CreateAnnotation-Submit,.Ldt-CreateAnnotation-Cancel,.Ldt-CreateAnnotation-PreviewSubmit{position:absolute;bottom:7px;color:#fff;height:50px;width:50px;padding:28px 0 0;font-size:12px;border:none;text-align:center;cursor:pointer}.Ldt-CreateAnnotation-Cancel{right:7px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAAXNSR0IArs4c6QAABOhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmR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eXElJ8yFqLyA4gTH898CDABtDHzkCw2kWQAAAABJRU5ErkJggg==)}.Ldt-CreateAnnotation-Submit:hover,.Ldt-CreateAnnotation-Cancel:hover{background-position:-50px 0}.Ldt-CreateAnnotation-Description{height:3em;padding:2px;resize:none;width:calc(100% - 122px);border:1px solid #666666;border-radius:2px}.Ldt-CreateAnnotation-Description.empty{font-style:italic;color:#999}.Ldt-CreateAnnotation-Avatar{float:right;width:48px;height:48px;margin:5px 0;padding:0 0 0 15px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAyCAYAAACUEBHwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkYyMDRBQzhBMEQ1MTFFMUFCQzk4MjM1Njg3NDU5MjkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkYyMDRBQzlBMEQ1MTFFMUFCQzk4MjM1Njg3NDU5MjkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyRjIwNEFDNkEwRDUxMUUxQUJDOTgyMzU2ODc0NTkyOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoyRjIwNEFDN0EwRDUxMUUxQUJDOTgyMzU2ODc0NTkyOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pl2yTgMAAABYSURBVHja7JHRCQAgCETNlXT/Cdzp0qA4qgH6SCjhXXrBCQDhY2ZQudSH70J3R7amO1gvGVS1yplBRIjmVQATsNEQcs3hvgTlsSkoG1w/vxv9iJ+AXYABAJQKJ+u9U9exAAAAAElFTkSuQmCC) left no-repeat}.Ldt-CreateAnnotation-Avatar img{float:right;display:block;max-width:100%;max-height:100%;border:1px solid #bbbbbb}.Ldt-CreateAnnotation-RecBlock{width:220px;float:left}.Ldt-CreateAnnotation-TagTitle,.Ldt-CreateAnnotation-PolemicTitle,.Ldt-CreateAnnotation-RecLabel{display:block;margin:5px 0 2px;font-size:12px}.Ldt-CreateAnnotation-TagList,.Ldt-CreateAnnotation-PolemicList{list-style:none;width:calc(100% - 122px);padding-left:0}li.Ldt-CreateAnnotation-TagLi{display:inline-block;border:none;margin:0 10px 5px 0;height:23px;padding:0 0 0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABFCAYAAAAPdqmYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVN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m5+dnR0dHi9r+BAIBRpXj0vaHvyMpJSgA3ieBCNuf5eXlsWJmcLydUhQlsb6+nuBi4b5YEAiQaUgXtj9OpzPEB3A9uB8vDwBkFIiw/UkRPp/PAGNqAAoFwvmd4ktqtaa6uruRGQDY9aMm91dXVweqqqp68EYdgOsCEbY/1Gk9/+DGDaW6uhoZAhCIBmH781cm87ivvx8ZAhCIDjPpdHrY7nDE+D/WAQACuc74b6nUgsfjcdfV1SFTAALRIGx/fn76FLY/QFrwOhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) left top no-repeat;cursor:pointer}.Ldt-CreateAnnotation-TagButton{display:inline-block;font-size:12px;height:19px;padding:4px 5px 0 0;border:none;margin:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABFCAYAAAAPdqmYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVz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Kbm5+dnR0dHi9r+BAIBRpXj0vaHvyMpJSgA3ieBCNuf5eXlsWJmcLydUhQlsb6+nuBi4b5YEAiQaUgXtj9OpzPEB3A9uB8vDwBkFIiw/UkRPp/PAGNqAAoFwvmd4ktqtaa6uruRGQDY9aMm91dXVweqqqp68EYdgOsCEbY/1Gk9/+DGDaW6uhoZAhCIBmH781cm87ivvx8ZAhCIDjPpdHrY7nDE+D/WAQACuc74b6nUgsfjcdfV1SFTAALRIGx/fn76FLY/QFrwOhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) right top no-repeat}li.Ldt-CreateAnnotation-TagLi:hover{background-position:left -23px}.Ldt-CreateAnnotation-TagLi:hover .Ldt-CreateAnnotation-TagButton{background-position:right -23px}li.Ldt-CreateAnnotation-TagLi.selected{background-position:left -46px}.Ldt-CreateAnnotation-TagLi.selected .Ldt-CreateAnnotation-TagButton{background-position:right -46px}li.Ldt-CreateAnnotation-PolemicLi{display:inline-block;border:none;margin:0 5px;height:21px;width:26px;padding:2px 0 0;background:url(data:image/png;base64,i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wRTUxMUUxQTZBMTk0Rjg2NDE4OUM2RCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhoDA04AAACMSURBVHja7NbBCcAgDEBRUwRxiR4coBs4iAt0AxdwCaHrdJMuYhE6gJcECj8H8fYI5PBljHE65RER57//pWydmzMaICAgICAgoF9DMsPBAvKllGwCzaf3fmsiMcbM1QEBAQEBAQEtx8mMB3UopXS01mw2qrU+mkgIYefqgICAgICAgJbjZMaDNvQKMAA8jg6kQ0liFgAAAABJRU5ErkJggg==) left top no-repeat;font-size:14px;font-weight:700;text-align:center;cursor:pointer}li.Ldt-CreateAnnotation-PolemicLi:hover{background-position:0 -23px}li.Ldt-CreateAnnotation-PolemicLi.selected{background-position:0 -46px}.Ldt-CreateAnnotation-InnerBox{margin:20px 50px;border:1px solid #CCCCCC;padding:20px;background:#fff;color:#ff3b77;text-align:center;font-size:13px;font-weight:700}a.Ldt-CreateAnnotation-Close{position:absolute;top:2px;right:2px;display:inline-block;width:17px;height:17px;margin:2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAABECAYAAADk6ueFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA69pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGl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ZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);width:535px;max-height:280px;margin:4px 0 0;border-style:solid;border-width:1px;border-color:#b7b7b7}.Ldt-CurrentSegmentInfobox-Element{margin:5px;vertical-align:top}.Ldt-CurrentSegmentInfobox-Tags-Ul{list-style:none;margin:0}.Ldt-CurrentSegmentInfobox-Tags{margin:0}.Ldt-CurrentSegmentInfobox-Tags-Li{display:inline-block;background-color:#fff;margin:2px;padding:2px;border:solid 1px;border-color:#aeaeae}.Ldt-CurrentSegmentInfobox-Title{color:#0068c4;font-size:15px;font-weight:700}.Ldt-CurrentSegmentInfobox-Description{font-size:13px;font-weight:700}textarea.Ldt-CurrentSegmentInfobox-DescriptionInput.Ldt-CurrentSegmentInfobox-Description{display:inline-block;width:95%}.Ldt-CurrentSegmentInfobox-NoSegment{font-size:15px;font-weight:700}.Ldt-CurrentSegmentInfobox-SubmitButton{display:inline-block;background-color:#d93c71;color:#fff;height:14px;width:100px;margin:5px 2px 2px;padding:2px;font-size:11px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;text-align:center;vertical-align:middle}.Ldt-CurrentSegmentInfobox-CancelButton{display:inline-block;background-color:#d93c71;color:#fff;height:14px;width:100px;margin:5px 5px 2px 2px;padding:2px;font-size:11px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;text-align:center;vertical-align:middle}.Ldt-CurrentSegmentInfobox-CreateTagButton{display:block;background-color:#d93c71;color:#fff;height:14px;width:75px;margin:2px;padding:2px;font-size:11px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;text-align:center}.Ldt-CurrentSegmentInfobox-Tags-Li-Input{width:80px}.Ldt-CurrentSegmentInfobox-EditButton{float:right;display:inline-block;background-color:#d93c71;color:#fff;height:18px;width:95px;font-size:14px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;margin:5px;padding:4px;text-align:center;vertical-align:middle;line-height:18px}.Ldt-CurrentSegmentInfobox-EditButton:hover,.Ldt-CurrentSegmentInfobox-CreateTagInput-Add:hover,.Ldt-CurrentSegmentInfobox-CreateTagButton:hover,.Ldt-CurrentSegmentInfobox-CancelButton:hover,.Ldt-CurrentSegmentInfobox-SubmitButton:hover{background-color:#e15581;border-color:#222222 #e87d9f #f0adc3 #68273c}.Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton{font-weight:700;color:#d93c71}.Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton:hover{color:#e16e93}.Ldt-CurrentSegmentInfobox-FieldsHeader{margin:5px}.Ldt-CurrentSegmentInfobox-TagsHeader{margin-top:10px;margin-left:5px}.Ldt-CurrentSegmentInfobox-CreateTagInput{border:2px solid #848484;margin:5px 2px;padding:4px}.Ldt-CurrentSegmentInfobox-CreateTagInput-Add{margin:5px;display:inline-block;background-color:#d93c71;color:#fff;height:14px;width:14px;font-size:14px;font-style:bold;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;padding:4px;text-align:center;vertical-align:middle;line-height:14px}.Ldt-EnrichedPlan-Slide{border-bottom:2px dotted #ccc;padding-top:4px;cursor:pointer}.Ldt-EnrichedPlan-SlideItem{max-height:3000px;transition:max-height .6s}.Ldt-EnrichedPlan-SlideItem.filtered_out{max-height:0px;overflow:hidden}.Ldt-EnrichedPlan-SlideTimecode{display:inline-block;color:#999!important;font-size:9px!important;width:24px;vertical-align:top}.Ldt-EnrichedPlan-SlideThumbnail{display:inline-block;width:180px;height:100px;padding-left:10px;margin:0;vertical-align:top}.Ldt-EnrichedPlan-SlideThumbnail img{max-width:180px;max-height:100px;margin:auto;border:1px solid #ccc}.Ldt-EnrichedPlan-SlideContent{display:inline-block;width:calc(100% - 220px);transition:width .4s}.Ldt-EnrichedPlan-SlideThumbnail.filtered_out+.Ldt-EnrichedPlan-SlideContent{width:calc(100% - 40px)}.Ldt-EnrichedPlan-SlideTitle{display:inline-block;font-size:14px;width:100%;height:1em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Ldt-EnrichedPlan-SlideTitle1{text-transform:uppercase;font-size:13px;font-weight:600}.Ldt-EnrichedPlan-Note{font-weight:400;font-size:14px;font-family:Roboto-italic}.Ldt-EnrichedPlan-Note:hover{background-color:#eee}.Ldt-EnrichedPlan-Note-Teacher{color:#e5007e;font-style:italic}.Ldt-EnrichedPlan-Note-Own{color:#6cf}.Ldt-EnrichedPlan-Note-Other{color:#963}.Ldt-EnrichedPlan-Note-Text{line-height:22px;word-wrap:break-word}.Ldt-EnrichedPlan-Note-Author{text-transform:uppercase;font-size:10px}.Ldt-EnrichedPlan-Content{margin-top:37px}.Ldt-EnrichedPlan-Controls{height:36px;padding:9px 0 6px;border-bottom:1px solid #000;overflow-y:hidden;overflow-x:hidden;position:absolute;top:0;left:0;right:0;z-index:1;background-color:#fff}.Ldt-EnrichedPlan-Control-Label{display:inline-block;text-transform:uppercase;line-height:10px;font-family:Roboto;font-size:10px;font-weight:100;width:80px;position:relative}.Ldt-EnrichedPlan-Controls .Ldt-EnrichedPlan-Search-Input{float:right;font-family:Roboto;font-size:16px;width:calc(100% - 340px)}.Ldt-EnrichedPlan-Note.non_matching{display:none}.Ldt-EnrichedPlan-Control-{font-style:normal}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked),.Ldt-EnrichedPlan-Control-Checkbox:checked{position:absolute;left:-9999px}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked)+label,.Ldt-EnrichedPlan-Control-Checkbox:checked+label{position:relative;padding-left:20px;cursor:pointer}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked)+label:before,.Ldt-EnrichedPlan-Control-Checkbox:checked+label:before{content:"";position:absolute;left:0;top:2px;width:13px;height:13px;border:1px solid #aaa}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked)+label:after,.Ldt-EnrichedPlan-Control-Checkbox:checked+label:after{content:"⨯";font-style:normal;position:absolute;top:3px;left:-1px;font-size:20px;transition:all .2s}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked)+label:after{opacity:0}.Ldt-EnrichedPlan-Control-Checkbox:checked+label:after{opacity:1}.Ldt-EnrichedPlan-Control-Checkbox:disabled:not(:checked)+label:before,.Ldt-EnrichedPlan-Control-Checkbox:disabled:checked+label:before{box-shadow:none;border-color:#bbb;background-color:#ddd}.Ldt-EnrichedPlan-Control-Checkbox:disabled:checked+label:after{color:#999}.Ldt-EnrichedPlan-Control-Checkbox:disabled+label{color:#aaa}.Ldt-EnrichedPlan-Control-Checkbox:checked:focus+label:before,.Ldt-EnrichedPlan-Control-Checkbox:not(:checked):focus+label:before{border:1px dotted blue}label:hover:before{border:1px solid #4778d9!important}label:hover:before{background-color:#ededed}.currentAnnotation{border:solid 3px red}.Ldt-ImageDisplay-Container{width:100%;height:100%;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain}.Ldt-ImageDisplay-Image{max-width:100%;max-height:100%}.Ldt-ImageDisplay-Overlay{width:30%;min-width:20px;height:100%;opacity:.1;position:absolute;top:0;bottom:0}.Ldt-ImageDisplay-Overlay-Left{left:0;cursor:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20id='arrow'%3e%3cpath%20style='fill:none;stroke:%23fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;'%20d='M31,1%20l-30,15%20l30,15'%3e%3c/path%3e%3cpath%20style='fill:none;stroke:%23000;stroke-width:4;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;'%20d='M31,1%20l-30,15%20l30,15'%3e%3c/path%3e%3c/svg%3e") 20 20,pointer}.Ldt-ImageDisplay-Overlay-Right{right:0;cursor:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20id='arrow'%3e%3cpath%20style='fill:none;stroke:%23fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;'%20d='M1,1%20l30,15%20l-30,15'%3e%3c/path%3e%3cpath%20style='fill:none;stroke:%23000;stroke-width:4;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;'%20d='M1,1%20l30,15%20l-30,15'%3e%3c/path%3e%3c/svg%3e") 20 20,pointer}.Ldt-LatestAnnotation{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);width:535px;max-height:180px;margin:4px 0 0;border-style:solid;border-width:1px;border-color:#b7b7b7}.Ldt-LatestAnnotation-Element{margin:5px;display:inline-block;vertical-align:top}.Ldt-LatestAnnotation-Box{background-color:#fff;margin:3px}.Ldt-LatestAnnotation-CreationDate{color:#f7268e}.Ldt-LatestAnnotation-Content{text-align:justify}.Ldt-LatestAnnotation-Title{color:#0068c4;font-size:14px;font-weight:700}.Ldt-LatestAnnotation-NoAnnotation{font-size:14px;font-weight:700}.Ldt-LatestAnnotation-CopyEditButton{display:inline-block;background-color:#d93c71;color:#fff;float:right;height:14px;width:100px;margin:2px;padding:2px;font-size:11px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;text-align:center;vertical-align:middle}.Ldt-LatestAnnotation-CopyEditButton:hover{background-color:#e15581;border-color:#222222 #e87d9f #f0adc3 #68273c}.Ldt-MashupPlayer-Media{position:absolute}.Ldt-MashupPlayer-Waiting{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#78788c99;background-image:url(data:image/gif;base64,R0lGODlhkABUAOZoAGVlZdbW1qysrNHR0ZSUlIODg56enh0dHTU1NdjY2FVVVfDw8LW1taGhoVlZZGJiYhYWFi4uLiwsLOLi4rq6unFxcTo6OpmZmfPz87Gxse7u7pKSknx8fNvb2+Tk5FBQUCoqKqampj8/Q+zs7CEhIUxMTL29vYyMjCgoKOjo6MjIyM7Ozt7e3uDg4MvLy0ZGRkJCQlxcXExMU+bm5hkZGYaGhsrKyri4uG5ubj09PURERBEREdTU1E5OTqmpqcTExMLCwurq6kBAQJCQkHFxg0JCRoiIiCQkJNzc3MbGxlhYWF9fX0hISMDAwHh4eKSkpFpaWjIyMr6+vqqqqoqKinV1dUpKSnNzc39/fyYmJjExMa+vryIiIj4+PmxsbI6Ojnp6ejc3N4CAgHZ2imhoaA0NDf///2xsfXh4jISEhFNTUzAwMGtra/z8/P7+/v39/fr6+lJSUvn5+WpqavT09Pv7+/j4+PX19ff39/b29oWFhUZGTGJicFJSXElJT////yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6Y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ByEkkMd3fQqCRAwl0FnFD3JUuggLD2wWggsjuFnYBJo9RUYGcBjKyAglHlGCGAxMIAenptYBBhpxQPXDk6YqMsIDR4CAwAsPUJEBDxjY6tUbqAkChQlvWLtIHUtEsAYI1kQAxRA/jADHr4TU0YAOglSQRDSPuIuABRQqVAIbBDCwYWFvGACDIFLwiacjruXAhA4iboTNEk0kUJ0bP5TQA/+hUkKyghpM+AgDkBpFYMEJQZj2gwUPbJExJEkI0UOPNwFZjg8XMCaIBzE8QCq9kMwAmZklvGjPAybYLJcHOAhwp7eNLKBEqFj2UMIcTYRZCB1P3GAHz5DAUcBdT6FBEhgB0CcXHitUy7QjOFyllSAA+KaIBkhMsDIkbwjABKRqKJGGVLOl4A/XkLixBZmR3kgJ4RrHKpkYAbCJ3NqOVAy1GlXYYDQ0yT6CwRxXqpFGB+Ax13mAHzDxVBUqSN7mwZLcQcVdYiSwpnOwSwIHFjqosUQCuXPueiRuRBgH5KfPFnzhW3QxR2fLQ7RCDE4EsDmOjQww6vVyBfDEAO5gr3EOfMgt0MJx4kcyQQqPBAIAOw==);background-position:center;background-repeat:no-repeat}.Ldt-MediaListWidget a{text-decoration:none}.Ldt-MediaListWidget h2{clear:both}.Ldt-MediaList-NowContainer{min-height:60px;margin:2px 0}h3.Ldt-MediaList-Now-Title{font-size:13px;margin:2px 2px 0 82px;font-weight:700}.Ldt-MediaListWidget h3 a{color:#0068c4}p.Ldt-MediaList-Now-Description{margin:2px 0 2px 82px;font-size:12px;color:#666}ul.Ldt-MediaList-OtherList{list-style:none;padding:2px;margin:0}li.Ldt-MediaList-OtherList-li{width:100%;clear:both;margin:2px 0;padding:2px 0;min-height:48px}.Ldt-MediaList-OtherList-li:hover,.Ldt-MediaList-NowContainer:hover{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5h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0iciI/Pth+eaYAAAAcSURBVHjaYrhy5cp/IGAAYQYYAyQIZ4BogAADADG3HGCLfhKkAAAAAElFTkSuQmCC)}.Ldt-MediaList-Now-ThumbContainer,.Ldt-MediaList-Other-ThumbContainer{float:left;width:80px;height:50px;text-align:center;margin:2px 0}.Ldt-MediaList-Other-ThumbContainer{width:60px;height:38px}.Ldt-MediaList-Now-Thumbnail,.Ldt-MediaList-Other-Thumbnail{border:none;max-width:100%;max-height:100%;margin:0 auto}h3.Ldt-MediaList-Other-Title{font-size:12px;margin:2px 2px 0 62px;font-weight:700}p.Ldt-MediaList-Other-Description{margin:2px 0 2px 62px;font-size:10px;color:#666}.Ldt-MediaList-Now-MediaView{clear:both;width:100%;height:12px;margin:5px 0 0;overflow:hidden;position:relative}.Ldt-MediaList-Other-MediaView{clear:both;width:100%;height:6px;margin:5px 0 0;overflow:hidden;position:relative}.Ldt-MediaList-MediaView-Background{position:absolute;top:0;left:0;width:100%;height:100%;filter:alpha(opacity=50);opacity:.5;background:#999}.Ldt-MediaList-Segment{position:absolute;top:0;height:100%;border-style:none solid;margin-left:-1px;border-color:#fff;border-width:1px}.Ldt-NoteTaking-Text{width:100%;min-height:360px}.Ldt-PlaceholderPlayer{font-size:40px;text-align:center;padding:40px 0;font-weight:bolder;background:#333;color:#fff}.Ldt-Polemic{border-style:solid none;border-color:#ccc;border-width:1px}.Ldt-Polemic-Position{background:#fc00ff;position:absolute;top:0;left:0;margin-left:-1px;width:2px;height:100%}.Ldt-Polemic-TweetDiv{position:absolute}.Ldt-Quiz-Container{position:absolute;height:calc(100% - 4px);top:0;width:calc(100% - 20px);margin:auto;border:1px solid black;font-size:18pt}.Ldt-Quiz-Title{line-height:1;padding-top:10px;text-align:center}.Ldt-Quiz-Header{font-size:12px;color:#000;border-bottom:1px solid green;padding:2px;height:22px}.Ldt-Quiz-Content{height:calc(100% - 82px);overflow-y:auto}.Ldt-Quiz-Footer{height:60px;width:100%;position:absolute;bottom:0;border-top:2px solid black;background-color:#fff}.Ldt-Quiz-Score{display:inline-block;position:absolute;right:20px}.Ldt-Quiz-Index{display:inline-block}.Ldt-Quiz-Image{max-width:100%;max-height:100%}.Ldt-Quiz-Questions{height:calc(100% - 2.5em);margin:10px;padding:10px;border-left:5px solid gray}.quiz-question-block{padding-top:10px}.quiz-resource-block{padding-top:10px;float:right;max-height:100%;height:100%}.quiz-resource-block img{max-height:100%;max-width:100%}.quiz-question-feedback{font-size:15px}.quiz-question-feedback div{display:inline-block;height:100%}.quiz-question-correct-feedback:before,.quiz-question-incorrect-feedback:before{content:"";vertical-align:middle;display:inline-block;width:48px;height:48px}.quiz-question-correct-feedback:before{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAAwEAYAAAC+hqOMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+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fjsOZosdEsoQg9/2j9bPbO3W6yMcY673PlfiVuDboiYW25up4gkZZMoI8LbT3jeDUucKuNtDmP7KOfk5vyNDUii+fgePRkK3hUmd7ONRTfJDOT4DTEtLrMhn9hOAc2hNdUMQv34EwjxC2JnTsdJGPMXa7n1/1GmeD/v41axkTH3cy8eU4nCueKgTrOWdbP+u9Tib+vff9iRbHtQiYO6JMUlk1zbFB/2JoO7ismVUR0PBlsd2TN0DGlZ6BrNIwcKyGwUsg1bL1q4N3N3G+rYE5aoEz5UJewrd8UyE8QkhICAioU8eYrQlt21ar9t/Qz0+If9NJxJfjUF5YVggNGnqe+7/r1yGgdp3yJ/55XB36xOK5sR4nlVoiAJC1O716QIZmW6Y3g9o/gqMI1neQHKXp1WQyP4gJ5P00OHRlOueGk1v8C7Plr9hkuLJC8PcXW751a+9qZbGdX40apxNfjkNFoUcI8lyrHqfXr73/6cQf+s+/0B9knCBolOJyFUK29gDVwfYifHAcaAjpl0L17yTVoloiJEYAj4mvgB+kq6nleu7PQPzKSYf2CCE+ziJUm7a/Rfz4uJYthaCVhScLwVMvP79atSqe+BfQ/wOcEIIuHOVMONl0cTpkqUPHL2B7V2x82z817OrvGY9w7rmQojsX1oSYskI4mfhxcde19PKC84WnC6Es8YcN+xv+Sd5Jpku1U8pDFG/8/f8t+HNt5+dvUps2tfafbwGcugiwoI9PpU2JrPrD5Cr8W/9RdtWHqMIqAVR9iCqsEkAVVuHfD/9/AGXINSMWNWt0AAAAAElFTkSuQmCC) left top no-repeat}.quiz-question-incorrect-feedback:before{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAAwEAYAAAC+hqOMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues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:before{content:"";vertical-align:middle;display:inline-block;width:12px;height:12px}.Ldt-Quiz-Submit{margin:10px}.Ldt-Quiz-Submit .Ldt-Quiz-Submit-Skip-Link{float:left}.Ldt-Quiz-Submit-Skip-Link a{text-decoration:none;font-size:16pt}.Ldt-Quiz-Submit .Ldt-Quiz-Submit-Button{float:right}.Ldt-Quiz-Votes{display:none;height:53px;position:relative}.Ldt-Quiz-Votes-Question{font-size:16px;position:absolute;top:2px;left:0}.Ldt-Quiz-Votes-Buttons{position:absolute;bottom:2px;left:0;right:0}.Ldt-Quiz-Votes-Buttons div{display:inline-block;width:33%;text-align:center}.Ldt-Quiz-Vote-Skip-Block{width:30%!important;text-align:right}.Ldt-Quiz-Vote-Skip-Block a{text-decoration:none}.Ldt-Quiz-Overlay{position:absolute;top:0;background-color:#fff;z-index:5;width:100%;height:100%}.Ldt-Pause-Add-Question{background:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='26'%20height='25'%20viewBox='0%200%2026.000001%2025.000001'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='buzz.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='10.24'%20inkscape:cx='28.406106'%20inkscape:cy='5.347153'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1680'%20inkscape:window-height='1028'%20inkscape:window-x='75'%20inkscape:window-y='24'%20inkscape:window-maximized='0'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1027.3622)'%3e%3cg%20id='g3115'%20transform='matrix(0.13764231,0,0,0.14585411,-0.10960999,900.2163)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path4152'%20d='m%2088.762577,966.09408%20a%2064.442296,17.911566%2052.208592%200%200%20-53.76267,-40.24111%2064.442296,17.911566%2052.208592%200%200%2025.08146,61.71245%2064.442296,17.911566%2052.208592%200%200%2053.763283,40.24068%2064.442296,17.911566%2052.208592%200%200%20-25.082073,-61.71202%20z'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:2.23528218;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='517.45343'%20x='875.27667'%20height='20.941669'%20width='15.681897'%20id='rect4311'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='519.57574'%20x='762.16467'%20height='19.048025'%20width='13.667582'%20id='rect4309'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='518.66687'%20x='889.6543'%20height='0.94452941'%20width='1.1967648'%20id='rect4313'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-3'%20d='m%20113.50338,1028.0563%209.89486,-7.4107%208.37707,-6.2729'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='18.476786'%20sodipodi:rx='64.438011'%20sodipodi:cy='516.2522'%20sodipodi:cx='826.67413'%20d='m%20891.11214,516.2522%20c%200,10.20444%20-28.84988,18.47678%20-64.43801,18.47678%20-35.58813,0%20-64.43801,-8.27234%20-64.43801,-18.47678%200,-10.20445%2028.84988,-18.47679%2064.43801,-18.47679%2035.58813,0%2064.43801,8.27234%2064.43801,18.47679%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='18.476786'%20rx='64.438011'%20cy='516.2522'%20cx='826.67413'%20id='path4150'%20style='fill:%23666666;stroke:%23000000;stroke-width:2.23541927;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156'%20d='m%2035.104607,925.77201%209.7327,-7.28939%208.23979,-6.17012'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='8.1607332'%20sodipodi:rx='36.851326'%20sodipodi:cy='517.20477'%20sodipodi:cx='827.2381'%20d='m%20864.08942,517.20477%20c%200,4.50705%20-16.4989,8.16074%20-36.85132,8.16074%20-20.35243,0%20-36.85133,-3.65369%20-36.85133,-8.16074%200,-4.50705%2016.4989,-8.16073%2036.85133,-8.16073%2020.35242,0%2036.85132,3.65368%2036.85132,8.16073%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='8.1607332'%20rx='36.851326'%20cy='517.20477'%20cx='827.2381'%20id='path4317'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:%23000000;stroke-width:1.30889452;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='907.08124'%20x='233.80257'%20height='3.9420969'%20width='24.027122'%20id='rect5190'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='906.15369'%20x='235.03923'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='905.3421'%20x='236.39369'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-1'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='904.47247'%20x='237.51262'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='903.92175'%20x='237.95427'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='908.00873'%20x='233.77309'%20height='2.5362754'%20width='18.712299'%20id='rect5190-9-0'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4'%20d='m%2069.344687,935.29586%2010.13887,-6.16215%208.58357,-5.21581'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='954.03864'%20x='285.80243'%20height='3.3044052'%20width='2.9445002'%20id='rect5279'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='948.15442'%20x='283.03458'%20height='7.8841949'%20width='6.0067806'%20id='rect5279-2'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='951.83563'%20x='286.62689'%20height='2.3188813'%20width='4.7700906'%20id='rect5279-2-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='953.51678'%20x='285.83188'%20height='1.971049'%20width='4.4167504'%20id='rect5279-2-3-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4-5'%20d='m%20114.62982,993.43082%209.47784,-7.0986%208.02405,-6.00861'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='909.45807'%20x='241.51714'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='11.1082'%20sodipodi:rx='36.846481'%20sodipodi:cy='495.24258'%20sodipodi:cx='824.92773'%20d='m%20861.77422,495.24258%20c%200,6.13489%20-16.49674,11.1082%20-36.84649,11.1082%20-20.34975,0%20-36.84648,-4.97331%20-36.84648,-11.1082%200,-6.13489%2016.49673,-11.1082%2036.84648,-11.1082%2020.34975,0%2036.84649,4.97331%2036.84649,11.1082%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='11.1082'%20rx='36.846481'%20cy='495.24258'%20cx='824.92773'%20id='path4351'%20style='fill:%23800000;fill-opacity:1;stroke:%23000000;stroke-width:0.924097;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20id='path4564'%20d='m%2076.182057,895.08255%20c%2028.049053,-21.23075%2069.407013,-14.64926%2092.435693,14.54291%2023.02867,29.19218%2019.04627,70.22994%20-9.00275,91.46064%20-27.96073,21.2524%20-111.393663,-84.75115%20-83.432943,-106.00355%20z'%20stroke-miterlimit='10'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:4.48099518;stroke-miterlimit:10;stroke-dasharray:none;display:inline'%20inkscape:connector-curvature='0'%20/%3e%3cg%20id='flowRoot4822'%20style='font-size:40px;font-style:normal;font-weight:normal;line-height:125%25;letter-spacing:0px;word-spacing:0px;fill:%23000000;fill-opacity:1;stroke:none;font-family:sans-serif'%20transform='translate(2.4859224,821.53368)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path6077'%20style='font-size:90.00000763px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Franklin%20Gothic;-inkscape-font-specification:Franklin%20Gothic'%20d='m%20123.24902,138.67423%208.9209,0%200,11.16211%20-8.9209,0%200,-11.16211%20z%20m%208.65723,-6.45996%20-8.39355,0%200,-6.76758%20q%200,-4.43848%201.23047,-7.29492%201.23046,-2.85645%205.18554,-6.63575%20l%203.95508,-3.91113%20q%202.50488,-2.3291%203.60352,-4.39453%201.14258,-2.06543%201.14258,-4.218753%200,-3.911133%20-2.9004,-6.328125%20-2.85644,-2.416992%20-7.60254,-2.416992%20-3.47167,0%20-7.42675,1.538086%20-3.91114,1.538086%20-8.17383,4.482422%20l%200,-8.26172%20q%204.13086,-2.504883%208.34961,-3.735351%204.26269,-1.230469%208.78906,-1.230469%208.08594,0%2012.96387,4.262695%204.92187,4.262696%204.92187,11.250001%200,3.339846%20-1.58203,6.372076%20-1.58203,2.98828%20-5.53711,6.76757%20l%20-3.86718,3.7793%20q%20-2.06543,2.06543%20-2.94434,3.25195%20-0.83496,1.14258%20-1.18652,2.24122%20-0.26368,0.92285%20-0.39551,2.24121%20-0.13184,1.31836%20-0.13184,3.60351%20l%200,5.40528%20z'%20/%3e%3c/g%3e%3crect%20y='923.16681'%20x='45.770191'%20height='100.00001'%20width='15.000001'%20id='rect4834'%20style='fill:%23ff0000;fill-opacity:1;stroke:none'%20/%3e%3crect%20transform='matrix(-0.00595846,-0.99998225,0.99997419,-0.00718432,0,0)'%20y='-2.488034'%20x='-980.66632'%20height='99.91748'%20width='14.282415'%20id='rect4834-6'%20style='fill:%23ff0000;fill-opacity:1;stroke:none'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e") no-repeat;background-position:center;background-size:contain;position:absolute;bottom:40px;right:0;height:15%;width:15%;max-width:64px;max-height:64px;z-index:10}.Ldt-Quiz-Result{position:absolute;height:0px;bottom:0;left:0;right:0;background:#fde073;text-align:center;line-height:2.5;overflow:hidden;-webkit-box-shadow:0 0 5px black;-moz-box-shadow:0 0 5px black;box-shadow:0 0 5px #000}input[type=button]{border:none;font-size:18pt;text-align:center;background-color:#5bce5b;color:#fff;cursor:pointer}input[value=Non]{background-color:#f86060}input.quiz-question:checked+.quiz-question-label{text-decoration:underline}.Ldt-QuizCreator-Ui{width:100%;padding:10px}.Ldt-QuizCreator-Form{width:100%}.Ldt-QuizCreator-Question-Area,.Ldt-QuizCreator-Resource-Area{width:calc(100% - 20px)}.Ldt-QuizCreator-Questions-Block{width:100%}.Ldt-QuizCreator-Questions-Answer{margin-top:5px;border-top:1px solid black}.Ldt-QuizCreator-Questions-Answer div{display:inline-block;vertical-align:middle}.Ldt-QuizCreator-Questions-Answer-Content{width:calc(100% - 80px)}.Ldt-QuizCreator-Questions-Answer-Content input,.Ldt-QuizCreator-Questions-Answer-Content textarea{width:calc(100% - 20px)}.Ldt-QuizCreator-Questions-Answer-Time input{width:60px}.Ldt-QuizCreator-Questions-Answer-Delete{width:15px;height:15px}.Ldt-QuizCreator-Remove{width:15px;height:15px;margin-left:8px;cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAD9SURBVBgZBcFLLkNRAADQc1/fU6qkhFRMMNIQn8TUQCJWYBE2YBkWYQWMJIZmNuAXCSoGFUGIInJf33VOSAAAAIAcgLOFt3079flaEdTS50M6nT7YeggJwPFle6nhAoVhc370rnaXcwBSp62GTdxoGdPrkAPQD5OSbRFr6oLvjByA53CqY9YUvjy68YQcgELTuTd/khENbQk5ANGqFUSFnq6WW2QA5Op4VuhreJVEZACUAKiJkogMgIEKANFARAZAKQKolColMgA+f7vVkBkRSeYjvf6QAfB1cnnXNWTUhHHrXuLoESEBYO/aYjNUSqX3snk/2DjshwQAAAD4B9GUWR0G4scKAAAAAElFTkSuQmCC)}input.quiz-question-edition{display:none}input.quiz-question-edition[type=radio]+label,input.quiz-question-edition[type=checkbox]+label{height:12px;width:24px;display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAYAAAB4MH11AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wkIDgo0Nt1/8QAAA4BJREFUOMuFlE9sVFUYxc9997735k0HBtspYzsh0GKNNUNrS6emIa0LNGEnXU1igYK1D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3NEEEABK29Da+9eoEBBigRAOANvP/o6/AcJtlraS7h2/AAAAAElFTkSuQmCC);cursor:pointer;content:"Mauvaise"}input.quiz-question-edition[type=radio]:checked+label,input.quiz-question-edition[type=checkbox]:checked+label{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAYAAAB4MH11AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wkIDgsADnK6BQAAAyJJREFUOMt9k01sVGUUhp/vfnfm9g5tLaWd4adjpETERCuNbUlJ2kRxQdzYGuMf6mAxICgSamITXRgWGF1IDAQUU0lJWJCIKRglaFCjJjY6bQ2oiGCs2IHSouO0nVHud3+OC5omXdh3c1bneTfPq5gvMnPzxAgJACEJfYsqEIEDK1Y5WmuzPXdeFLAvfbsSkXgYhuaF3AV5cmwSe96CDwGHFFfYgctXPMqn9Ud1lEnfzc73Vzc+UFPzTKFQ6Ht8S2UWgeF3G5qqqqqezufz7z2xtXootn4Q9b/wT4AULt+xi0t0U8YYq9i+44vk8dB6uLGurm5/RUVFa7FYzI6Ojm4FSKfTb5eXlzcXi8Vvc7ncc3vvGxyyADjJnZziDgQYAT4GbkbzI5uZZBsajUOEzVTPAUu7rrvJsqzWUqmE1ro5mUweSiaTh7TWzaVSCaXUGtd1u9bsDuOafhq4yDv8ySOMcYFWfmclcC+dTPE6IQup5G/S9PAgJ5pvWxid/yV9TURWi8gy3/cBUkDKGIMxhunp6WyhUNh9tO3XUc39vMI4nYQsxaKdHFd5imr+5S0ibsHlOrW8QQsHOUe44UWHLWvHrhzLLRoWkdYwDGfBxhhKpdLZfD6/+c30l0Onj+SxqeYgAUu5TgcWyzHsQzNFnBXEERz6SLGXEXzaIdHukvhpHHFFeZ6H7/uI3NBNKUUURUpE1IJzE7i1VSiOAzUs5hq7CMhQhoMDWIDiI8p4lpDLtMPnbUu456a/2FD5UEssFtsPNEVRNMcNy7IABn3f33Zk8oOsTQfwNVdZzEv8wwQ2O3FYAAwhvIzhMktmvhWcLNbFgkSQMcbMwrXWZwHCMGyYKWmyLCvzWHnHmRsWtQEWk1TwGi6v4jCMTQ8JfiABrJzlU5m/5EdR1GuMGfA8jyAIsiLSJSJdQRBkPc/DGDMgIr3P/3zMzN1BFgAHWEbEHygCWubO4/S6epyR39hzV2djEASbbNs+3D3YnwXY09TZHATBRtu2e7vP9H/vLa+fZ2jz5LP1t4KCw7WtjoiYjePfCEBfaq1SSsUzEwMewLpTF/kPcO1Z+ceMgygAAAAASUVORK5CYII=);content:"Bonne"}.Ldt-Segments-Segment{position:absolute;margin-left:-1px;border:1px solid #ffffff}.Ldt-Segments-Position{background:#fc00ff;position:absolute;top:-1px;left:0;margin-left:-1px;width:2px;bottom:-1px;z-index:80000}.Ldt-Slice{border-radius:0;border:none;padding:0;margin:12px 0;background:#b6b8b8;height:8px}.Ldt-Slice .ui-slider-handle{width:7px;height:20px;top:0;border:none;margin:0;padding:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAUCAYAAAC9BQwsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OEU0MUM0MTdDMUY1MTFFMUE4NTFFQjU4QzM5RDBBNEEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OEU0MUM0MThDMUY1MTFFMUE4NTFFQjU4QzM5RDBBNEEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4RTQxQzQxNUMxRjUxMUUxQTg1MUVCNThDMzlEMEE0QSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4RTQxQzQxNkMxRjUxMUUxQTg1MUVCNThDMzlEMEE0QSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkrDrbUAAABxSURBVHjaYvz//z8DOkhPT/8fPicAzF6ZsgFEMc6cORNFDRMDmWBUI6Ua0aNiqPkRlLyAGK8idHmQHpiNBDUja0J3KjE2/8flR5yakTXhCpz/xIhh08hIjBgTEZqwyjERqQlDDRO6ALZ0iSYOVgsQYABOFiWWZanvhQAAAABJRU5ErkJggg==);border-radius:0;cursor:pointer}.ui-slider-handle.Ldt-Slice-left-handle{margin-left:-7px}.ui-slider-handle.Ldt-Slice-right-handle{margin-left:0;background-position:-7px 0}.Ldt-Slice .ui-slider-range{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0W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Fja2V0IGVuZD0iciI/PskDa60AAAAfSURBVHjaYnzx4sVVqXMMDAwsEEr7mRELhALyAQIMALCHCn9r2oMCAAAAAElFTkSuQmCC)}.Ldt-SlidePreview-Container{background-color:#999;left:0;right:0;height:36px;padding-left:4px;overflow:hidden}.Ldt-SlidePreview-Slides{display:-webkit-inline-flex;display:inline-flex;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow-x:hidden;left:0;right:0;height:36px;padding:12px 0 0;margin:0;overflow-y:hidden}.Ldt-SlidePreview-Item{display:inline-block;width:20px;height:12px;background-color:#fff;transition:transform .2s ease-in-out}.Ldt-SlidePreview-Item img{max-width:100%;max-height:100%}.Ldt-SlidePreview-Item:hover{-webkit-transform:scale(2.8);z-index:4}.Ldt-SlidePreview-Item:hover+.slidepreviewitem{-webkit-transform:scale(1.8);z-index:1}.Ldt-Slider{border:none;border-radius:0;padding:0;margin:0;background:#b6b8b8}.Ldt-Slider .ui-slider-handle{border-radius:8px;top:-2px;background:#fc00ff;border:1px solid #ffffff}.Ldt-Slider .ui-slider-range{background:#747474}.Ldt-Slider-Time{position:absolute;bottom:32px;background:#ffffc0;color:#000;border-radius:3px;z-index:8;font-size:10px;width:34px;border:1px solid #999999;padding:1px;margin-left:-20px;display:none;text-align:center;font-weight:700;pointer-events:none}.Ldt-SlideVideoPlayer-panel{display:-webkit-flex;display:flex;width:50%;float:left}.Ldt-SlideVideoPlayer{width:100%;max-width:100%;height:100%;max-height:100%}.Ldt-SlideVideoPlayer-pip-main{position:relative;width:100%;height:100%;top:0;left:0;right:0;bottom:0;z-index:1}.Ldt-SlideVideoPlayer-pip-pip{position:absolute;width:30%;height:30%;right:2px;bottom:2px;z-index:3}.Ldt-SlideVideoPlayer h2{display:none}.Ldt-SlideVideoPlayer-pip-menu{position:absolute;top:0;right:0;z-index:10;display:none}.Ldt-SlideVideoPlayer-pip-pip:hover .Ldt-SlideVideoPlayer-pip-menu{background-color:#000;opacity:.5;display:inline-block}.Ldt-SlideVideoPlayer-pip-menu-toggle{width:18px;height:18px;cursor:pointer;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='5.0797176mm'%20height='5.0799999mm'%20viewBox='0%200%2017.998999%2018'%20id='svg19931'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='pip_toggle.svg'%3e%3cdefs%20id='defs19933'%20/%3e%3cg%20inkscape:label='Layer%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(-245.28621,-280.50506)'%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='23.586,59.714%2022.193,57.364%2020.805,59.714%20'%20id='polygon13969'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='22.971,59.364%2021.417,59.364%2022.496,57.544%2022.193,57.364%2021.894,57.544%2022.193,57.364%2021.894,57.187%2020.19,60.063%2024.199,60.063%2022.193,56.679%2021.894,57.187%2022.193,57.364%2021.894,57.544%20'%20id='polygon13971'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='20.805,66.874%2022.193,69.224%2023.586,66.874%20'%20id='polygon13973'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='21.417,67.224%2022.971,67.224%2021.894,69.044%2022.193,69.224%2022.496,69.044%2022.193,69.224%2022.496,69.399%2024.199,66.522%2020.19,66.522%2022.193,69.909%2022.496,69.399%2022.193,69.224%2022.496,69.044%20'%20id='polygon13975'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='25.818,64.685%2028.168,63.294%2025.818,61.903%20'%20id='polygon13977'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='26.168,64.071%2026.168,62.517%2027.988,63.595%2028.168,63.294%2027.988,62.993%2028.168,63.294%2028.347,62.993%2025.468,61.29%2025.468,65.298%2028.855,63.294%2028.347,62.993%2028.168,63.294%2027.988,62.993%20'%20id='polygon13979'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='18.659,61.903%2016.31,63.294%2018.659,64.685%20'%20id='polygon13981'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='18.309,62.517%2018.309,64.071%2016.488,62.993%2016.31,63.294%2016.488,63.595%2016.31,63.294%2016.132,63.595%2019.009,65.298%2019.009,61.29%2015.624,63.294%2016.132,63.595%2016.31,63.294%2016.488,63.595%20'%20id='polygon13983'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20style='fill:%23ffffff'%20d='m%20254.28521,298.00506%200,0.5%20c%204.965,-0.002%209,-4.035%209,-9%200,-4.965%20-4.035,-9%20-9,-9%20-4.963,0%20-8.998,4.035%20-8.999,9%2010e-4,4.965%204.036,8.998%208.999,9%20l%200,-0.5%200,-0.5%20c%20-2.206,0%20-4.202,-0.896%20-5.653,-2.346%20-1.45,-1.451%20-2.346,-3.447%20-2.346,-5.654%200,-2.207%200.896,-4.203%202.346,-5.654%201.451,-1.449%203.448,-2.346%205.653,-2.346%202.207,0%204.205,0.896%205.654,2.346%201.45,1.451%202.347,3.447%202.347,5.654%200,2.207%20-0.896,4.203%20-2.347,5.654%20-1.449,1.449%20-3.447,2.346%20-5.654,2.346%20l%200,0.5%200,0%20z'%20id='path13985'%20/%3e%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xqlAlQvQmt7xOoOBxzoea1O7lA/59QtsnsKhgHwuh/3pyUSfAea37GS5FJtBTnoEAz5JtPgwh08pIiK8TOHCovOayb+y+dX59QhZcHgxN22CfeQwxJVXIVBQIBl43pLLEd+7V74XS5z4CAuvcLZsyu/bEor34Bu/y1MW6QVZMWtQLkWCyJNTPYrLL5ChK9OcvHIh5PoQyHY7meGdyMPOTksmtH6ol+hSTSLCmpObr+hOCAZJND9IpgzWJ2bGnrGiajAUEj5/kEIeXybXe4paM0k4s2ieazqVgEmkjgWGm969YoPXdyQtga4pTevXLzebWxb7mG0zo+1aWeJ3iGzdghYCU73xRmi5eXDy86ETWUmThoveHgZngLltSZeN9Wo4GBJ60oVf4dc7KJn05eDifTkhBtJx1XAoKEJuCn4fp1T1zsBGDKT7OnNdKQgyn61q4cLinXarcYzuWZHVvkEosNf4JbwXpUU0fBIKRY4mTURTph1WFccraJ+imSBBv9l3sB62lYZtW2iNpmGZRKAUryuCX98WN/l9WsZmZ//ht3zBcLMaCObLZMUJpUNuQUofPIiWFSsRufpqpDllGI54TPsERus9QOBpsMtxaW7uJ6Fg7lG7Pt5MgMuQQXwVAHO3CLlhJaR9kp8TOKom6pqhBPI9zVMHmfbNCg9ZGjXykTY5z9hW7eDylIM7AgrypCUY5OW58dmv4P35ETxp+QrNKWNLFzmue1PAp+cJ0Q/BpF/sO9IC0elK5KMvGQshbH5tbSS4ZvqcEU+1t+yOhWfOXGRHo7cpwVAeLaDbo4GB30HsMxT6TRjBoOIrL08YnCLTeqteC0Fs3NXyQu/7ixY8SVJl2nnqIjdu34aAmidd4CDair0Sl+uKgP/98LTcJ4XiN129dBH5jNugBL3rD6omx9JjUdQUeF8UL37i/wkwAAivYyD5whznAAAAAElFTkSuQmCC)}.Ldt-Social-Url-Container{display:inline-block;width:24px;height:24px;margin:2px 0 0 2px;position:relative}a.Ldt-Social-Url{margin:0;background-position:-96px 0}a.Ldt-Social-Url:hover{background-position:-96px -24px}.Ldt-Social-UrlPop{position:abs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lbnRJRD0ieG1wLmRpZDoxMzI3QzI1QkNDMjAxMUUxQkYzMjlEMTA0NDk4RjExQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Phq9vMkAAAFZSURBVHja7N0xSsRAHIXxXdgyB/AAewAPYO9RUngAGzsPYJ3Sa6TNBaxSeYAcwD5mYNZCEOIazCt+D4Z8LKQZePw/QjJ7OIhIXI7X3NR13WzrRLZN27bHq28upez7fr5kmiaM8R+5DrvzshqlxDiEazEfajmVEuMErsV8WdatUmKcpbLri6mUGP+byq4rplJiHKaySolxmMoqJcZhKquUGIeprFJiHKaySolxmMoqJcaBKlt+HIbBJmEcprJnUxPjvKey5cXZx8vktGEYZzyVLZ+a3C3rmdZiHPRU9ns5aS3G+6vsj5PT5mG8n8rSWozn8HdlaS3GuZ990VqMQ08woLUYB6ksrcU4VGVpLcY7qexpZTE/lvVWD6Ut79Y+jePohF6RkJPYm9ro+3ptbKHIZinD77VcT7+88WtyVr6xlyKb5b326nDtfyU0tZQmpsh2KaWcyvVTgAEAa0hxoXypi/8AAAAASUVORK5CYII=);padding:3px 0 0 12px;width:218px;height:27px;display:none}.Ldt-Social-Input,.Ldt-Social-CopyBtn{font-size:11px;margin:1px;border:1px solid #ccc;height:16px;padding:1px;border-radius:2px;display:inline-block}.Ldt-Social-Input:hover,.Ldt-Social-CopyBtn.hover{border-color:#8080ff}.Ldt-Social-Input{width:200px}.Ldt-Social-CopyBtn{font-weight:700;width:50px;text-align:center;background:#f0f0ff}.Ldt-Social-CopyBtn.hover{background:#ffe0a0}.Ldt-Social-CopyBtn.active{background:#ff8000}a.Ldt-Social-Twitter{background-position:0 0}a.Ldt-Social-Twitter:hover{background-position:0 -24px}a.Ldt-Social-Fb{background-position:-24px 0}a.Ldt-Social-Fb:hover{background-position:-24px -24px}a.Ldt-Social-Gplus{background-position:-48px 0}a.Ldt-Social-Gplus:hover{background-position:-48px -24px}a.Ldt-Social-Mail{background-position:-72px 0}a.Ldt-Social-Mail:hover{background-position:-72px -24px}.Ldt-Tagcloud-Container{border:1px solid #b7b7b7;padding:1px;margin:0}ul.Ldt-Tagcloud-List{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);padding:5px;margin:0;list-style:none;text-align:center}li.Ldt-Tagcloud-item{display:inline-block;margin:2px;cursor:pointer}li.Ldt-Tagcloud-item:hover{color:#09f}.Ldt-Tagcloud-active{color:#c000c0;padding:0;margin:0}.Ldt-Tooltip{position:absolute;height:0;width:0;z-index:100000}.Ldt-Tooltip-Main{position:absolute;bottom:0;left:-96px}.Ldt-Tooltip-Corner-NW,.Ldt-Tooltip-Corner-NE,.Ldt-Tooltip-Corner-SW,.Ldt-Tooltip-Corner-SE{position:absolute;width:6px;height:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnM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:0}.Ldt-Tooltip-Corner-NE,.Ldt-Tooltip-Corner-SE{right:0}.Ldt-Tooltip-Corner-NW,.Ldt-Tooltip-Corner-NE{top:0}.Ldt-Tooltip-Corner-SW,.Ldt-Tooltip-Corner-SE{bottom:10px}.Ldt-Tooltip-Corner-NW{background-position:top left}.Ldt-Tooltip-Corner-NE{background-position:top right}.Ldt-Tooltip-Corner-SW{background-position:bottom left}.Ldt-Tooltip-Corner-SE{background-position:bottom right}.Ldt-Tooltip-Border-Top,.Ldt-Tooltip-Border-SW,.Ldt-Tooltip-Border-SE{position:absolute;height:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMCAYAAACji9dXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QTJFRDU1NTg0OUQ4MTFFMjk0NjFDMzA0MTA3OTUzODQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QTJFRDU1NTk0OUQ4MTFFMjk0NjFDMzA0MTA3OTUzODQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBMkVENTU1NjQ5RDgxMUUyOTQ2MUMzMDQxMDc5NTM4NCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBMkVENTU1NzQ5RDgxMUUyOTQ2MUMzMDQxMDc5NTM4NCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PpbbSR4AAAAsSURBVHjaYvj//z8DCEgwAQl9EOHBABT7D2IxIAgQ6GcGkSDiK0gJA0CAAQB1Kwwa1IaeSgAAAABJRU5ErkJggg==)}.Ldt-Tooltip-Border-Top{left:6px;right:6px}.Ldt-Tooltip-Border-SW,.Ldt-Tooltip-Border-SE{bottom:10px;background-position:bottom}.Ldt-Tooltip-Border-SW{left:6px}.Ldt-Tooltip-Border-SE{right:6px}.Ldt-Tooltip-Tip{position:absolute;height:16px;width:22px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAYAAAAS7Y8mAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0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mO456Xy+VPELxer+2yp0UtPOAFT4G0w2q1uk6lUn673a4XRVGYTCbqv5j6fD6bJEmGfr8/i0ajJ9TaFzAWaDPrdDrWZDLpMxqNOlmW56qq/lVLrFarzu1229br9SadTr+s1+tPSX4N4zmxoP6qTqfzeigUkugStKPRSGHt37t4nuf8fv8VrVYrFAqF97lc7jFMiTaMUb1GYqVSkWOx2BGdwKjX64XxeDz7kzGZShaLRWw2m18TicQjOvUrkt8RZzx9oJ9nxOlisXhDj1Oh1izRM4fDYdxnihhykIsa1MKDeannT4yebgaDwZL6645EIodms1mkUysYxd3RCgQCV9GKTCbTKJVKxyQ3iY/EN2LJszleMKFHtLLZ7JPtCOLGfzcF29FCLmpYLTwWPzy3YDoIC3GDuONyuR72ej1c4GY4HE7ptvsAe2iIIQe5rAa1wk+/HXMNcY24SdyLx+Mn1IY1jNrt9hBgDw0x5LBc1Gh+8doxxusoEi7iFnE/n8+fwgyzDbCHhhjLcbEabq8xM8ekmIgAcZsu6kGj0Zhs2MIeGmIsB7n8BZ9d4VxLJOKIuBsOhwv4BwTYQ2MxabcFWzR7xhSjJxOfibe1Wk0pFot43APaP6OvDywms9wL67sAAwC4H7Q69+87oAAAAABJRU5ErkJggg==);bottom:0}.Ldt-Tooltip-Border-Left,.Ldt-Tooltip-Border-Right{position:absolute;width:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAABCAYAAADq6085AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OURDMTUwMEQ0OUQ4MTFFMjlDOTM5OUJBMDZDODRERTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OURDMTUwMEU0OUQ4MTFFMjlDOTM5OUJBMDZDODRERTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5REMxNTAwQjQ5RDgxMUUyOUM5Mzk5QkEwNkM4NERFNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5REMxNTAwQzQ5RDgxMUUyOUM5Mzk5QkEwNkM4NERFNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtA8bAYAAAAgSURBVHjaYvj//z8DEEgAsTsQ9/9HAyAxqJwEiAsQYABG9RfHbF4W+AAAAABJRU5ErkJggg==);top:6px;bottom:16px}.Ldt-Tooltip-Border-Left{left:0;background-position:left}.Ldt-Tooltip-Border-Right{right:0;background-position:right}.Ldt-Tooltip-Inner{min-height:30px;max-height:140px;width:180px;overflow:hidden;margin:6px 6px 16px;background:url(data:image/png;base64,i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Q5RTkxMUUyODgyRUUwNjFBNzQwMzI2MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PpMSdUAAAAA/SURBVHjaYvjx48cZJgYgwEr8//+fAbcsxTqIVUyEOnoooYnsINE2dCQQYthYlCihWIIkdSQZRboYqgRAgAEAFOyIv3FqSkAAAAAASUVORK5CYII=) bottom}.Ldt-Tooltip-Color{float:left;margin:8px 2px 2px 8px;width:10px;height:10px}.Ldt-Tooltip-AltColor{float:left;margin:2px 2px 2px 3px;width:10px;height:10px}.Ldt-Tooltip img{max-width:140px;max-height:80px;margin:2px 20px}.Ldt-Tooltip p{margin:6px 8px;font-size:12px;line-height:14px}.Ldt-Transcript-Annotation{margin-right:.5em}.Ldt-Transcript-Annotation:hover{background-color:#bbb}.Ldt-Transcript-Annotation.active{background-color:#ddd}.Ldt-Tweet-Widget{border:1px solid #b7b7b7;padding:1px;margin:0}.Ldt-Tweet-Widget a{color:#0068c4}.Ldt-Tweet-Widget a:hover{color:#036}.Ldt-Tweet-Inner{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);padding:5px;margin:0;min-height:50px}.Ldt-Tweet-PinClose-Buttons{float:right}.Ldt-Tweet-PinClose-Buttons a{display:inline-block;width:17px;height:17px;margin:2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAABECAYAAADk6ueFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA69pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0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jYmLOIRihTcdZDRqMConXfYIRepQbjPSxgV84MsGIK2akSoEjTzAqReSJkQajYhHxik5eMCrFES8wKsURCUZWDow2IXEC+sTPK5TcDqKC3cNzVwFGaSTtpqVLlwZ44qhPJs1DG3liqcU3GJlRkOoXjMwolAxGXuWr1Q8YeZWviYnlE6MyGJXBqAxG/+t/pRVTPydGxdTXiZEf+RUwKnRiVBIYmVIqGHlJyWBkHjH8ChhJKYPRb4FR3h7uE4z8iC8wKqbFwMiP+gKjQuoHjIrpb50YUTnvV0+MtJZPjP4YMPpPgAEAe6usJmPTw18AAAAASUVORK5CYII=)}a.Ldt-Tweet-Pin{background-position:0 -17px}a.Ldt-Tweet-Pin:hover,a.Ldt-Tweet-Pin.active{background-position:-17px -17px}a.Ldt-Tweet-Pin.active:hover{background-position:0 -17px}a.Ldt-Tweet-Close:hover{background-position:-17px 0}.Ldt-Tweet-AvatarContainer{float:left;width:48px;height:48px;margin:2px 4px 2px 0}.Ldt-Tweet-Avatar{border:none;width:48px;height:48px}.Ldt-Tweet-Inner h3{margin:2px 0 5px 52px;font-size:14px}a.Ldt-Tweet-ScreenName{text-decoration:none}a.Ldt-Tweet-ScreenName:hover{text-decoration:underline}p.Ldt-Tweet-Contents{margin:5px 0 5px 52px;font-size:12px}.Ldt-Tweet-Bottom{margin:5px 0 0;font-size:12px;text-align:right}.Ldt-Tweet-Time{display:inline-block}.Ldt-Tweet-Bottom a{display:inline-block;margin-left:12px;text-decoration:none}.Ldt-Tweet-Bottom a:hover{text-decoration:underline}.Ldt-Tweet-Icon{display:inline-block;width:16px;height:16px;margin:0 2px -2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAQCAYAAADeWHeIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5U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uA9RLr97scE88vG+d8K/olWATINhboXbtLZiNFqYm+Uy8UIZdQJi9PLS0pKUifPIlwj/TAmAH7HBR0Thn1eCk0h2f91M/sSG88hHt+8wKT7nWflxMSUlegbes4pjO0LPwOcC/NilEKJMCd44dWvCnO2JHiRwmTL5yXL4xn9GktK3UgXAeeQXK3BVSFCFCUvAqpCgChOWgFUhwZpz2QhRTGI0Li9wrASAt1z/vKJ862ptbSWpVIpMT0+bx8TY4xjnkW9T/g3a4Adtyr/BKtchuPwkxPtdou/tmj2OcR75Tq1f3Ev+2u6ATKYETnIEmRLw1xfKQMVCMAl8gKUXLODHQmWgAt9oxXnAPxKqAF6AD8BNB1BgWPKBxS5DfxtLQ7/fjxa8ozoPAPwruF9j+CTcH4H+IZaGDJ8QzwP4fwH7c+2vGgJp7e2Bh2QzniSsMwLf9dBTl2261pAlBzu+ROOd9W7+Wy/zyaCTn0GoAHEnYUByrh+0CwMgnMDp6ekeXC6gsJjbRo+hZTKZHl3XAzZ4DfAQxMkTwMUZHi1uCPCPAa8pQ0De0A7+9a2Dq39y4+5ZrA9DlTCUPfY8hnmtlGPtSiVaCdor/A1sswkxdvwgUf/9u8DnPYDd3z8Z/zJ7gP8FGADQ6H0Wzotr+QAAAABJRU5ErkJggg==)}.Ldt-Tweet-Retweet .Ldt-Tweet-Icon{background-position:-80px 0}.Ldt-Tweet-Retweet:hover .Ldt-Tweet-Icon{background-position:-96px 0}.Ldt-Tweet-Reply:hover .Ldt-Tweet-Icon{background-position:-16px 0}
+* Copyright OpenJS Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;user-select:none}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup>.ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup>.ui-controlgroup-item:focus,.ui-controlgroup>.ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical>.ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label+.ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label+.ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:calc(100% - 2.4em)}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NY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9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==);height:100%;opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:700;line-height:1.5;padding:2px .4em;margin:.5em 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:pointer;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;vertical-align:middle;margin:.2em 2em .2em .4em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #dddddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #dddddd;background:#e9e9e9;color:#333;font-weight:700}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:400;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #cccccc;background:#ededed;font-weight:400;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px #5e9ed6}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:400;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a,.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;background-image:none}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAQAAABFnnJAAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRABE2zymuwAAAAd0SU1FB+gIBRIyM3xvysUAABqXSURBVHja7Z1tjF1Hecd/J6RyW4gJhdo4tZ3gVgkgXhwvqURCBQii3VYKb8WE6w+koglrgUSgle0t2eVD16HrXdokDaA1SaOmEnsTm0JCpOauAgTSEheajY1SLAolYZ0UbD5QCJWqCNTTD3NeZs6Zt3POvXvv7pm/tb73nmdmzpx5/mfmnHmeeSZ6KwFtxnnDrkDAcBEI0H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O5uof7usKu5EaASYCn5Gy5cd3dQfx/h2wPEdEp/1RCX/ukh1GumYar+8AzQF6geQUt0WdLeWxHQLfxVg1/49lT9+6zybngG6BdUAth6gH2ZatK/aiSYLR0pb+nSkcrXla6qPwwCfYC6NrB5oPeYGWa1+/WU3wyKaWT16+oQ1D8A+PYAzeHewqma+juGdAGVMEpvARHd5K8MnfrDM0AfoA4BHbp0RrJzjZNOv/gZ0BAhPkDLsX5tAQF9wf8Da4+m/PxLb+wAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC)}.ui-widget-header .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAQAAABFnnJAAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRABE2zymuwAAAAd0SU1FB+gIBRIyM3xvysUAABqXSURBVHja7Z1tjF1Hecd/J6RyW4gJhdo4tZ3gVgkgXhwvqURCBQii3VYKb8WE6w+koglrgUSgle0t2eVD16HrXdokDaA1SaOmEnsTm0JCpOauAgTSEheajY1SLAolYZ0UbD5QCJWqCNTTD3NeZs6Zt3POvXvv7pm/tb73nmdmzpx5/mfmnHmeeSZ6KwFtxnnDrkDAcBEI0HIEAqjoENMZdiXWEoEAMjosAUttokC/CTD8+6dDXDvnErAPEwXSkod/jX2ESgB7Bxhn/2xw3T/m/HFy9o4xjevcqRLrXYFQfzehgK3kDdRHyAToRwe4r0EJad70PqyOJnkhIqILdImILCU3ucaRQ5TNA6SXmN4HJsRQah4ZopyoVv70LjOd33XuuGHdfUt2XeM6Qt4D2DtAX9juQffwIc5uU6G9lGb3pm0Ikktu1s+MGKLKM4H2u8h2D+aNWvfecZdgvzftdbf3gXnJrn5mXaE6AeyIh940HZZqE8w+BKUlD/8a+4h+E2C9o8PSRlKvG4EALUeYCWw5AgFajkCAliMQoOUIBGg5AgFajkCAliP4AxTzDrv+a4wq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vK4g/7qUPpqzX9clb5DHNeI/po2vK5+r/HL+q8YvOq+qKgeUzl/fKhUh5gGWeRWvKUju48bsuKn8IXbxyoL8Aa5fM/mgyzdseQMIAsD9/DrnsCM5e5wu+5RwTeX38TI2ZRtQfIv7peZZC/mgyzdseW0Eg5CWI2gDW45AgJYjEKDlCARoOQIBWo5AgJZDVga5ducddXlADajawLHsaEUbuqk8YORQHgKaNd2KM4Vmd27UOIUABUUCuBpwhRWrPHXPYIKrAU2+vFPENXX9AQYUCTAG1gYcY8wqFx46zIixG0zYNnwBt0FFQEWUh4CxGqmose0pNLt/XQQKqAjzljGj95Qf3gIGgCr7BYy6PKAGwkRQyxEI0HIEArQcgQAtRyBAyxEI0HKsXwJ0woRQP6ASoPk8W8w0MdMDz3eHpcSvaUAjqATYm3yGDdfdLZq/O+xsbgSoBFhKPsOF6+4Ozd9H+PYAMZ3Spxri0p8eonnNNEybPzwD9AWqRdASXZa091YEdAufavBz3542/16rvBueAfoFlQC2HmBv1jTppxoJZktnylu6dKT0damrzR8GgT5AXRvY3NF7zAyz2v16ym8GxTBy8+vyEJp/APDtAZrDvYVTtebvGMIFVMIovQVEdJNPGbrmD88AfYA6BHTo0hnJzjVOOv3id0BDBP8ALcf61QUE9AX/D4czm7GpxKnJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==)}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAQAAABFnnJAAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAD/h4/MvwAAAAd0SU1FB+gIBRIyM3xvysUAABhYSURBVHja7V1fjF3HWf+dYCmg1iYB4eLIfyI/JBWg1LmrSJAI1VGQrnkgFLUhuftQRGtYV5VCEYRdOXdfsm5lX4Oc4CJdK21EH3LX3bRK4z6wRiYE09qy5PUaRZg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N+I9p4+vq56q/XP6q8YvOq6rSAWXw13OlIsQ6wAqv4jUFygPcnF03pT/EDl5ZoH+BG9eMPuj6DZveAEIA4LP8OuexLbl7nC57lHBN6Q/wMjZkB1B8m89K7FkL+qDrN2x6bQSDkJYjaANbjiAALUcQgJYjCEDLEQSg5QgC0HLIyiDX6byjTg+oAVUbOJFdrWpDN6UHjBzKU0Az1q06U2jWc6PGKQQoKAqAi4GrrFrpqXsGE1wMNPnyThHX1PUHGFAUgAmwMnCCCStdeOgwI8ZuMGE78AXcBhUBFVGeAiZqpKLGtqfQrP+6BCigIsxHxozeU354CxgAqpwXMOr0gBoIC0EtRxCAliMIQMsRBKDlCALQcgQBaDnWrwB0woJQP6AKQPN1tphZYmYHXu4Oy4lf04BGUAVgd/IZNly9W7C/O+xijgNUAVhOPsOFq3cH9vcRviNATKf0qYa49KeHYK9ZDFP2h2eAvkC1CFqmy7K2b0VAt/CpBj/37Sn7d1vp3fAM0C+oAmAbAXZnrEk/1YRgvnSnfKRLR0pfl7rK/jAJ9AGjNALI7I+M9MD+vsJ3BGgO9xFO1djfMYQLqIRReguI6CafMnTsD88AfYC6PbxDl85IDq5xMugXvwMaIvgHaDnWry4goC/4f2pDmgEWwUu7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==)}.ui-icon-blank.ui-icon-blank.ui-icon-blank{background-image:none}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start,.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3}.ui-widget-shadow{box-shadow:0 0 5px #666}.vjs-modal-dialog .vjs-modal-dialog-content,.video-js .vjs-modal-dialog,.vjs-button>.vjs-icon-placeholder:before,.video-js .vjs-big-play-button .vjs-icon-placeholder:before{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-button>.vjs-icon-placeholder:before,.video-js .vjs-big-play-button .vjs-icon-placeholder:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABDkAAsAAAAAG6gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFZRiV3hY21hcAAAAYQAAADaAAADPv749/pnbHlmAAACYAAAC3AAABHQZg6OcWhlYWQAAA3QAAAAKwAAADYZw251aGhlYQAADfwAAAAdAAAAJA+RCLFobXR4AAAOHAAAABMAAACM744AAGxvY2EAAA4wAAAASAAAAEhF6kqubWF4cAAADngAAAAfAAAAIAE0AIFuYW1lAAAOmAAAASUAAAIK1cf1oHBvc3QAAA/AAAABJAAAAdPExYuNeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS7wTiBgZWBgaWQ5RkDA8MvCM0cwxDOeI6BgYmBlZkBKwhIc01hcPjI+FGJHcRdyA4RZgQRADK3CxEAAHic7dFZbsMgAEXRS0ycyZnnOeG7y+qC8pU1dHusIOXxuoxaOlwZYWQB0Aea4quIEN4E9LzKbKjzDeM6H/mua6Lmc/p8yhg0lvdYx15ZG8uOLQOGjMp3EzqmzJizYMmKNRu27Nhz4MiJMxeu3Ljz4Ekqm7T8P52G8PP3lnTOVk++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/2A+AwAYCQG2AHicXZBNaoNAGIZfE5PQCKFQ2lUps2oXBfOzzAESyDKBQJdGR2NQR3QSSE/QE/QEPUUPUHqsvsrXjTMw83zPvPMNCuAWP3DQDAejdm1GjzwS7pMmwi75XngAD4/CQ/oX4TFe4Qt7uMMbOzjuDc0EmXCP/C7cJ38Iu+RP4QEe8CU8pP8WHmOPX2EPz87TPo202ey2OjlnQSXV/6arOjWFmvszMWtd6CqwOlKHq6ovycLaWMWVydXKFFZnmVFlZU46tP7R2nI5ncbi/dDkfDtFBA2DDXbYkhKc+V0Bqs5Zt9JM1HQGBRTm/EezTmZNKtpcAMs9Yu6AK9caF76zoLWIWcfMGOSkVduvSWechqZsz040Ib2PY3urxBJTzriT95lipz+TN1fmAAAAeJxtkMl2wjAMRfOAhABlKm2h80C3+ajgCKKDY6cegP59TYBzukAL+z1Zsq8ctaJTTKPrsUQLbXQQI0EXKXroY4AbDDHCGBNMcYsZ7nCPB8yxwCOe8IwXvOIN7/jAJ76wxHfUqWX+OzgumWAjJMV17i0Ndlr6irLKO+qftdT7i6y4uFSUvCknay+lFYZIZaQcmfH/xIFdYn98bqhra1aKTM/6lWMnyaYirx1rFUQZFBkb2zJUtoXeJCeg0WnLtHeSFc3OtrnozNwqi0TkSpBMDB1nSde5oJXW23hTS2/T0LilglXX7dmFVxLnq5U0vYATHFk3zX3BOisoQHNDFDeZnqKDy9hRNawN7Vh727hFzcJ5c8TILrKZfH7tIPxAFP0BpLeJPA==) format("woff");font-weight:400;font-style:normal}.vjs-icon-play,.video-js .vjs-play-control .vjs-icon-placeholder,.video-js .vjs-big-play-button .vjs-icon-placeholder:before{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play:before,.video-js .vjs-play-control .vjs-icon-placeholder:before,.video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:""}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:""}.vjs-icon-pause,.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pause:before,.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before{content:""}.vjs-icon-volume-mute,.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-mute:before,.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder:before{content:""}.vjs-icon-volume-low,.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-low:before,.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder:before{content:""}.vjs-icon-volume-mid,.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-mid:before,.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder:before{content:""}.vjs-icon-volume-high,.video-js .vjs-mute-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-volume-high:before,.video-js .vjs-mute-control .vjs-icon-placeholder:before{content:""}.vjs-icon-fullscreen-enter,.video-js .vjs-fullscreen-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-fullscreen-enter:before,.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before{content:""}.vjs-icon-fullscreen-exit,.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-fullscreen-exit:before,.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before{content:""}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:""}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:""}.vjs-icon-subtitles,.video-js .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-subtitles-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-subtitles:before,.video-js .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-subtitles-button .vjs-icon-placeholder:before{content:""}.vjs-icon-captions,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-captions-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-captions:before,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-captions-button .vjs-icon-placeholder:before{content:""}.vjs-icon-chapters,.video-js .vjs-chapters-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-chapters:before,.video-js .vjs-chapters-button .vjs-icon-placeholder:before{content:""}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:""}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:""}.vjs-icon-circle,.vjs-seek-to-live-control .vjs-icon-placeholder,.video-js .vjs-volume-level,.video-js .vjs-play-progress{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle:before,.vjs-seek-to-live-control .vjs-icon-placeholder:before,.video-js .vjs-volume-level:before,.video-js .vjs-play-progress:before{content:""}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:""}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:""}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:""}.vjs-icon-cancel,.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cancel:before,.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before{content:""}.vjs-icon-replay,.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay:before,.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before{content:""}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:""}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:""}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:""}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:""}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:""}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:""}.vjs-icon-audio-description,.video-js .vjs-descriptions-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-audio-description:before,.video-js .vjs-descriptions-button .vjs-icon-placeholder:before{content:""}.vjs-icon-audio,.video-js .vjs-audio-button .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-audio:before,.video-js .vjs-audio-button .vjs-icon-placeholder:before{content:""}.vjs-icon-next-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-next-item:before{content:""}.vjs-icon-previous-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-previous-item:before{content:""}.vjs-icon-picture-in-picture-enter,.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-picture-in-picture-enter:before,.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder:before{content:""}.vjs-icon-picture-in-picture-exit,.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-picture-in-picture-exit:before,.video-js.vjs-picture-in-picture .vjs-picture-in-picture-control .vjs-icon-placeholder:before{content:""}.video-js{display:block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;word-break:initial}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js[tabindex="-1"]{outline:none}.video-js *,.video-js *:before,.video-js *:after{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-fluid,.video-js.vjs-16-9,.video-js.vjs-4-3,.video-js.vjs-9-16,.video-js.vjs-1-1{width:100%;max-width:100%}.video-js.vjs-fluid:not(.vjs-audio-only-mode),.video-js.vjs-16-9:not(.vjs-audio-only-mode),.video-js.vjs-4-3:not(.vjs-audio-only-mode),.video-js.vjs-9-16:not(.vjs-audio-only-mode),.video-js.vjs-1-1:not(.vjs-audio-only-mode){height:0}.video-js.vjs-16-9:not(.vjs-audio-only-mode){padding-top:56.25%}.video-js.vjs-4-3:not(.vjs-audio-only-mode){padding-top:75%}.video-js.vjs-9-16:not(.vjs-audio-only-mode){padding-top:177.7777777778%}.video-js.vjs-1-1:not(.vjs-audio-only-mode){padding-top:100%}.video-js.vjs-fill:not(.vjs-audio-only-mode){width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}.video-js.vjs-audio-only-mode .vjs-tech{display:none}body.vjs-full-window{padding:0;margin:0;height:100%}.vjs-full-window .video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen:not(.vjs-ios-native-fs){width:100%!important;height:100%!important;padding-top:0!important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1!important;visibility:visible!important}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.63332em;width:3em;display:block;position:absolute;top:10px;left:10px;padding:0;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:#2b333fb3;border-radius:.3em;transition:all .4s}.vjs-big-play-centered .vjs-big-play-button{top:50%;left:50%;margin-top:-.81666em;margin-left:-1.5em}.video-js:hover .vjs-big-play-button,.video-js .vjs-big-play-button:focus{border-color:#fff;background-color:#73859f;background-color:#73859f80;transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button,.vjs-error .vjs-big-play-button{display:none}.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause .vjs-big-play-button{display:block}.video-js button{background:none;border:none;color:inherit;display:inline-block;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vjs-control .vjs-button{width:100%;height:100%}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.video-js .vjs-modal-dialog{background:#000c;background:linear-gradient(180deg,#000c,#fff0);overflow:auto}.video-js .vjs-modal-dialog>*{box-sizing:border-box}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;font-family:Arial,Helvetica,sans-serif;overflow:auto}.vjs-menu .vjs-menu-content>*{box-sizing:border-box}.vjs-scrubbing .vjs-control.vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.vjs-menu li.vjs-menu-item:focus,.vjs-menu li.vjs-menu-item:hover,.js-focus-visible .vjs-menu li.vjs-menu-item:hover{background-color:#73859f;background-color:#73859f80}.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover,.js-focus-visible .vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.video-js .vjs-menu *:not(.vjs-selected):focus:not(:focus-visible),.js-focus-visible .vjs-menu *:not(.vjs-selected):focus:not(.focus-visible){background:none}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0em;margin-bottom:1.5em;border-top-color:#2b333fb3}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:#2b333fb3;position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-layout-tiny .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:5em}.vjs-layout-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:10em}.vjs-layout-medium .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:14em}.vjs-layout-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-huge .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:25em}.vjs-workinghover .vjs-menu-button-popup.vjs-hover .vjs-menu,.vjs-menu-button-popup .vjs-menu.vjs-lock-showing{display:block}.video-js .vjs-menu-button-inline{transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline:hover,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js.vjs-no-flex .vjs-menu-button-inline{width:12em}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;transition:all .4s}.vjs-menu-button-inline:hover .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline.vjs-slider-active .vjs-menu{display:block;opacity:1}.vjs-no-flex .vjs-menu-button-inline .vjs-menu{display:block;opacity:1;position:relative;width:auto}.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu{width:auto}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:#2b333fb3}.vjs-has-started .vjs-control-bar,.vjs-audio-only-mode .vjs-control-bar{display:flex;visibility:visible;opacity:1;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;pointer-events:none;transition:visibility 1s,opacity 1s}.vjs-controls-disabled .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar,.vjs-error .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar,.vjs-audio-only-mode.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible;pointer-events:auto}.vjs-has-started.vjs-no-flex .vjs-control-bar{display:table}.video-js .vjs-control{position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;flex:none}.video-js .vjs-control.vjs-visible-text{width:auto;padding-left:1em;padding-right:1em}.vjs-button>.vjs-icon-placeholder:before{font-size:1.8em;line-height:1.67}.vjs-button>.vjs-icon-placeholder{display:block}.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before,.video-js .vjs-control:focus{text-shadow:0em 0em 1em white}.video-js *:not(.vjs-visible-text)>.vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-no-flex .vjs-control{display:table-cell;vertical-align:middle}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{cursor:pointer;flex:auto;display:flex;align-items:center;min-width:4em;touch-action:none}.video-js .vjs-progress-control.disabled{cursor:default}.vjs-live .vjs-progress-control{display:none}.vjs-liveui .vjs-progress-control{display:flex;align-items:center}.vjs-no-flex .vjs-progress-control{width:auto}.video-js .vjs-progress-holder{flex:auto;transition:all .2s;height:.3em}.video-js .vjs-progress-control .vjs-progress-holder{margin:0 10px}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666667em}.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled{font-size:1em}.video-js .vjs-progress-holder .vjs-play-progress,.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div{position:absolute;display:block;height:100%;margin:0;padding:0;width:0}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{font-size:.9em;position:absolute;right:-.5em;top:-.3333333333em;z-index:1}.video-js .vjs-load-progress{background:#73859f80}.video-js .vjs-load-progress div{background:#73859fbf}.video-js .vjs-time-tooltip{background-color:#fff;background-color:#fffc;border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-progress-holder:focus .vjs-time-tooltip{display:none}.video-js .vjs-progress-control:hover .vjs-time-tooltip,.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip{display:block;font-size:.6em;visibility:visible}.video-js .vjs-progress-control.disabled:hover .vjs-time-tooltip{font-size:1em}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.vjs-no-flex .vjs-progress-control .vjs-mouse-display{z-index:0}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display{display:none}.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:#000c}.video-js .vjs-slider{position:relative;cursor:pointer;padding:0;margin:0 .45em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#73859f;background-color:#73859f80}.video-js .vjs-slider.disabled{cursor:default}.video-js .vjs-slider:focus{text-shadow:0em 0em 1em white;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control{cursor:pointer;flex:none}.video-js .vjs-volume-control{cursor:pointer;margin-right:1em;display:flex}.video-js .vjs-volume-control.vjs-volume-horizontal{width:5em}.video-js .vjs-volume-panel .vjs-volume-control{visibility:visible;opacity:0;width:1px;height:1px;margin-left:-1px}.video-js .vjs-volume-panel{transition:width 1s}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control,.video-js .vjs-volume-panel:active .vjs-volume-control,.video-js .vjs-volume-panel:focus .vjs-volume-control,.video-js .vjs-volume-panel .vjs-volume-control:active,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active{visibility:visible;opacity:1;position:relative;transition:visibility .1s,opacity .1s,height .1s,width .1s,left 0s,top 0s}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal{width:5em;height:3em;margin-right:0}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical{left:-3.5em;transition:left 0s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active{width:10em;transition:width .1s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-mute-toggle-only{width:4em}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{height:8em;width:3em;left:-3000em;transition:visibility 1s,opacity 1s,height 1s 1s,width 1s 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{transition:visibility 1s,opacity 1s,height 1s 1s,width 1s,left 1s 1s,top 1s 1s}.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{width:5em;height:3em;visibility:visible;opacity:1;position:relative;transition:none}.video-js.vjs-no-flex .vjs-volume-control.vjs-volume-vertical,.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{position:absolute;bottom:3em;left:.5em}.video-js .vjs-volume-panel{display:flex}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em;z-index:1}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em;z-index:1}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{top:-.3em;right:-.5em}.video-js .vjs-volume-panel.vjs-volume-panel-vertical{width:4em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.video-js .vjs-volume-vertical{width:3em;height:8em;bottom:8em;background-color:#2b333f;background-color:#2b333fb3}.video-js .vjs-volume-horizontal .vjs-menu{left:-2em}.video-js .vjs-volume-tooltip{background-color:#fff;background-color:#fffc;border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-volume-control:hover .vjs-volume-tooltip,.video-js .vjs-volume-control:hover .vjs-progress-holder:focus .vjs-volume-tooltip{display:block;font-size:1em;visibility:visible}.video-js .vjs-volume-vertical:hover .vjs-volume-tooltip,.video-js .vjs-volume-vertical:hover .vjs-progress-holder:focus .vjs-volume-tooltip{left:1em;top:-12px}.video-js .vjs-volume-control.disabled:hover .vjs-volume-tooltip{font-size:1em}.video-js .vjs-volume-control .vjs-mouse-display{display:none;position:absolute;width:100%;height:1px;background-color:#000;z-index:1}.video-js .vjs-volume-horizontal .vjs-mouse-display{width:1px;height:100%}.vjs-no-flex .vjs-volume-control .vjs-mouse-display{z-index:0}.video-js .vjs-volume-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-volume-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-volume-control .vjs-mouse-display{display:none}.vjs-mouse-display .vjs-volume-tooltip{color:#fff;background-color:#000;background-color:#000c}.vjs-poster{display:inline-block;vertical-align:middle;background-repeat:no-repeat;background-position:50% 50%;background-size:contain;background-color:#000;cursor:pointer;margin:0;padding:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-has-started .vjs-poster,.vjs-using-native-controls .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster,.vjs-has-started.vjs-audio-poster-mode .vjs-poster{display:block}.video-js .vjs-live-control{display:flex;align-items:flex-start;flex:auto;font-size:1em;line-height:3em}.vjs-no-flex .vjs-live-control{display:table-cell;width:auto;text-align:left}.video-js:not(.vjs-live) .vjs-live-control,.video-js.vjs-liveui .vjs-live-control{display:none}.video-js .vjs-seek-to-live-control{align-items:center;cursor:pointer;flex:none;display:inline-flex;height:100%;padding-left:.5em;padding-right:.5em;font-size:1em;line-height:3em;width:auto;min-width:4em}.vjs-no-flex .vjs-seek-to-live-control{display:table-cell;width:auto;text-align:left}.video-js.vjs-live:not(.vjs-liveui) .vjs-seek-to-live-control,.video-js:not(.vjs-live) .vjs-seek-to-live-control{display:none}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge{cursor:auto}.vjs-seek-to-live-control .vjs-icon-placeholder{margin-right:.5em;color:#888}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:red}.video-js .vjs-time-control{flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.vjs-live .vjs-time-control,.video-js .vjs-current-time,.vjs-no-flex .vjs-current-time,.video-js .vjs-duration,.vjs-no-flex .vjs-duration{display:none}.vjs-time-divider{display:none;line-height:3em}.vjs-live .vjs-time-divider{display:none}.video-js .vjs-play-control{cursor:pointer}.video-js .vjs-play-control .vjs-icon-placeholder{flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.video-js.vjs-controls-disabled .vjs-text-track-display,.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{transform:translateY(-3em)}.video-js.vjs-controls-disabled video::-webkit-media-text-track-display,.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{transform:translateY(-1.5em)}.video-js .vjs-picture-in-picture-control{cursor:pointer;flex:none}.video-js.vjs-audio-only-mode .vjs-picture-in-picture-control{display:none}.video-js .vjs-fullscreen-control{cursor:pointer;flex:none}.video-js.vjs-audio-only-mode .vjs-fullscreen-control{display:none}.vjs-playback-rate>.vjs-menu-button,.vjs-playback-rate .vjs-playback-rate-value{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-playback-rate .vjs-playback-rate-value{pointer-events:none;font-size:1.5em;line-height:2;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:"X";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;opacity:.85;text-align:left;border:6px solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:50px;height:50px;border-radius:25px;visibility:hidden}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:block;-webkit-animation:vjs-spinner-show 0s linear .3s forwards;animation:vjs-spinner-show 0s linear .3s forwards}.vjs-loading-spinner:before,.vjs-loading-spinner:after{content:"";position:absolute;margin:-6px;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:transparent;border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:before,.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after{-webkit-animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite;animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;-webkit-animation-delay:.44s;animation-delay:.44s}@keyframes vjs-spinner-show{to{visibility:visible}}@-webkit-keyframes vjs-spinner-show{to{visibility:visible}}@keyframes vjs-spinner-spin{to{transform:rotate(360deg)}}@-webkit-keyframes vjs-spinner-spin{to{-webkit-transform:rotate(360deg)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}@-webkit-keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}.video-js.vjs-audio-only-mode .vjs-captions-button{display:none}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js.vjs-audio-only-mode .vjs-descriptions-button{display:none}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:"";font-size:1.5em;line-height:inherit}.video-js.vjs-audio-only-mode .vjs-subs-caps-button{display:none}.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:" ";font-size:1.5em;line-height:inherit}.video-js.vjs-layout-small .vjs-current-time,.video-js.vjs-layout-small .vjs-time-divider,.video-js.vjs-layout-small .vjs-duration,.video-js.vjs-layout-small .vjs-remaining-time,.video-js.vjs-layout-small .vjs-playback-rate,.video-js.vjs-layout-small .vjs-volume-control,.video-js.vjs-layout-x-small .vjs-current-time,.video-js.vjs-layout-x-small .vjs-time-divider,.video-js.vjs-layout-x-small .vjs-duration,.video-js.vjs-layout-x-small .vjs-remaining-time,.video-js.vjs-layout-x-small .vjs-playback-rate,.video-js.vjs-layout-x-small .vjs-volume-control,.video-js.vjs-layout-tiny .vjs-current-time,.video-js.vjs-layout-tiny .vjs-time-divider,.video-js.vjs-layout-tiny .vjs-duration,.video-js.vjs-layout-tiny .vjs-remaining-time,.video-js.vjs-layout-tiny .vjs-playback-rate,.video-js.vjs-layout-tiny .vjs-volume-control{display:none}.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover{width:auto;width:initial}.video-js.vjs-layout-x-small .vjs-progress-control,.video-js.vjs-layout-tiny .vjs-progress-control{display:none}.video-js.vjs-layout-x-small .vjs-custom-control-spacer{flex:auto;display:block}.video-js.vjs-layout-x-small.vjs-no-flex .vjs-custom-control-spacer{width:auto}.vjs-modal-dialog.vjs-text-track-settings{background-color:#2b333f;background-color:#2b333fbf;color:#fff;height:70%}.vjs-text-track-settings .vjs-modal-dialog-content{display:table}.vjs-text-track-settings .vjs-track-settings-colors,.vjs-text-track-settings .vjs-track-settings-font,.vjs-text-track-settings .vjs-track-settings-controls{display:table-cell}.vjs-text-track-settings .vjs-track-settings-controls{text-align:right;vertical-align:bottom}@supports (display: grid){.vjs-text-track-settings .vjs-modal-dialog-content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;padding:20px 24px 0}.vjs-track-settings-controls .vjs-default-button{margin-bottom:20px}.vjs-text-track-settings .vjs-track-settings-controls{grid-column:1/-1}.vjs-layout-small .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-x-small .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-tiny .vjs-text-track-settings .vjs-modal-dialog-content{grid-template-columns:1fr}}.vjs-track-setting>select{margin-right:1em;margin-bottom:.5em}.vjs-text-track-settings fieldset{margin:5px;padding:3px;border:none}.vjs-text-track-settings fieldset span{display:inline-block}.vjs-text-track-settings fieldset span>select{max-width:7.3em}.vjs-text-track-settings legend{color:#fff;margin:0 0 5px}.vjs-text-track-settings .vjs-label{position:absolute;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);display:block;margin:0 0 5px;padding:0;border:0;height:1px;width:1px;overflow:hidden}.vjs-track-settings-controls button:focus,.vjs-track-settings-controls button:active{outline-style:solid;outline-width:medium;background-image:linear-gradient(0deg,#fff 88%,#73859f)}.vjs-track-settings-controls button:hover{color:#2b333fbf}.vjs-track-settings-controls button{background-color:#fff;background-image:linear-gradient(-180deg,#fff 88%,#73859f);color:#2b333f;cursor:pointer;border-radius:2px}.vjs-track-settings-controls .vjs-default-button{margin-right:1em}@media print{.video-js>*:not(.vjs-tech):not(.vjs-poster){visibility:hidden}}.vjs-resize-manager{position:absolute;top:0;left:0;width:100%;height:100%;border:none;z-index:-1000}.js-focus-visible .video-js *:focus:not(.focus-visible){outline:none}.video-js *:focus:not(:focus-visible){outline:none}.Ldt-HelloWorld p{text-align:center;font-size:12px;margin:2px 0}.Ldt-HelloWorld-annotations{color:red;font-weight:700}.Ldt-Annotation-Widget{border-style:none solid solid;border-width:1px;border-color:#b7b7b7;padding:0 1px 1px;margin:0}.Ldt-Annotation-Widget.Ldt-Annotation-ShowTop{border-top-style:solid;padding-top:1px}.Ldt-Annotation-Inner{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);padding:5px;margin:0}.Ldt-Annotation-Inner h3{margin:5px 0;font-size:14px;font-weight:700}.Ldt-Annotation-Description{max-height:150px;overflow:auto}.Ldt-Annotation-Cleared{clear:both}.Ldt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QXBSCphyIQjOsPKyAdGcrX84nrBESvTBKNgDlLa0bpnOLEQi1D37dun3rx5o/r6+jI5HLAFz7Y/fPhwhshQiEV4/9SpUwo7oR48eJDBu3fLFl8GozIYlcHojzsxsjQY7dixwwEjLfpwRndYZn4OgmwwQrknMNaswWjjxo02GGmRhzMU/a9Figaj58+fE4yaPcEon8j7hcAon5jfHwlGlgSjYmLOIRihTcdZDRqMConXfYIRepQbjPSxgV84MsGIK2akSoEjTzAqReSJkQajYhHxik5eMCrFES8wKsURCUZWDow2IXEC+sTPK5TcDqKC3cNzVwFGaSTtpqVLlwZ44qhPJs1DG3liqcU3GJlRkOoXjMwolAxGXuWr1Q8YeZWviYnlE6MyGJXBqAxG/+t/pRVTPydGxdTXiZEf+RUwKnRiVBIYmVIqGHlJyWBkHjH8ChhJKYPRb4FR3h7uE4z8iC8wKqbFwMiP+gKjQuoHjIrpb50YUTnvV0+MtJZPjP4YMPpPgAEAe6usJmPTw18AAAAASUVORK5CYII=);background-position:0 -51px;cursor:pointer}.Ldt-Annotation-Social{float:right}.Ldt-Annotation-MaxMinButton:hover{background-position:-17px -51px}.Ldt-Annotation-Minimized div.Ldt-Annotation-MaxMinButton{background-position:0 -34px}.Ldt-Annotation-Minimized div.Ldt-Annotation-MaxMinButton:hover{background-position:-17px -34px}.Ldt-Annotation-Inner h3.Ldt-Annotation-MashupOrigin{font-size:12px}.Ldt-Annotation-Title,.Ldt-Annotation-MashupMedia{color:#0068c4;text-decoration:none}.Ldt-Annotation-Type{color:#8080a0}.Ldt-Annotation-Time{color:#ff3b77}.Ldt-Annotation-Inner p{font-size:12px;line-height:16px}.Ldt-Annotation-Label{font-size:12px;font-weight:700;max-width:90px;float:left;clear:left}.Ldt-Annotation-Labelled{margin:5px 0 0 90px;clear:right}.Ldt-Annotation-Tags-Block{font-size:12px}ul.Ldt-Annotation-Tags{list-style:none;padding:0}li.Ldt-Annotation-TagLabel{display:inline-block;border:none;margin:0 10px 5px 0;height:23px;padding:0 0 0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bH8i0aiiqioEAiAQzfoeVY5uf0MDu4A4ACjY5hW2P6FQCFkBQCMQYfvT1dVlLCsrQ1YA0LRY08Fg0O/1enUf4rMIP7y4tbXFfD4f8/v9DB9VAVkEImx/wuFw0Ye4q0kmkxG2P+l0On56epos9TwA75NAJnt7ew1GY/FTJ9lsll8ubX+omiTb29uRPSCFQKbm5+dnR0dHi9r+BAIBRpXj0vaHvyMpJSgA3ieBCNuf5eXlsWJmcLydUhQlsb6+nuBi4b5YEAiQaUgXtj9OpzPEB3A9uB8vDwBkFIiw/UkRPp/PAGNqAAoFwvmd4ktqtaa6uruRGQDY9aMm91dXVweqqqp68EYdgOsCEbY/1Gk9/+DGDaW6uhoZAhCIBmH781cm87ivvx8ZAhCIDjPpdHrY7nDE+D/WAQACuc74b6nUgsfjcdfV1SFTAALRIGx/fn76FLY/QFrwOhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) left top no-repeat;cursor:pointer}.Ldt-Annotation-TagLabel span{display:inline-block;font-size:12px;height:19px;padding:4px 5px 0 0;border:none;marg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bH8i0aiiqioEAiAQzfoeVY5uf0MDu4A4ACjY5hW2P6FQCFkBQCMQYfvT1dVlLCsrQ1YA0LRY08Fg0O/1enUf4rMIP7y4tbXFfD4f8/v9DB9VAVkEImx/wuFw0Ye4q0kmkxG2P+l0On56epos9TwA75NAJnt7ew1GY/FTJ9lsll8ubX+omiTb29uRPSCFQKbm5+dnR0dHi9r+BAIBRpXj0vaHvyMpJSgA3ieBCNuf5eXlsWJmcLydUhQlsb6+nuBi4b5YEAiQaUgXtj9OpzPEB3A9uB8vDwBkFIiw/UkRPp/PAGNqAAoFwvmd4ktqtaa6uruRGQDY9aMm91dXVweqqqp68EYdgOsCEbY/1Gk9/+DGDaW6uhoZAhCIBmH781cm87ivvx8ZAhCIDjPpdHrY7nDE+D/WAQACuc74b6nUgsfjcdfV1SFTAALRIGx/fn76FLY/QFrwOhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) right top no-repeat}li.Ldt-Annotation-TagLabel:hover{background-position:left -23px}.Ldt-Annotation-TagLabel:hover span{background-position:right -23px}.Ldt-Annotation-MashupOrigin{display:none}.Ldt-Annotation-isMashup .Ldt-Annotation-MashupOrigin{display:block}.Ldt-Annotation-Empty .Ldt-Annotation-HiddenWhenEmpty,.Ldt-Annotation-Minimized .Ldt-Annotation-HiddenWhenMinimized,.Ldt-Annotation-EmptyBlock{display:none}.Ldt-AnnotationsController{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);width:535px;max-height:280px;margin:4px 0 0;border-style:solid;border-width:1px;border-color:#b7b7b7}.Ldt-AnnotationsController-ButtonsContainer{width:100%;min-height:30px;text-align:center}.Ldt-AnnotationsController-Button{display:inline-block;background-color:#d93c71;color:#fff;height:25px;width:150px;font-size:14px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;margin:5px 10px;padding:4px;text-align:center;vertical-align:middle;line-height:30px}.Ldt-AnnotationsController-Button:hover{background-color:#e15581;border-color:#222222 #e87d9f #f0adc3 #68273c}#ui-datepicker-div{display:none}.Ldt-AnnotationsListWidget{border:none;margin:0;padding:0;overflow:auto}.Ldt-AnnotationsListWidget a{text-decoration:none}.Ldt-AnnotationsList-Audio{width:1px;height:1px}.Ldt-AnnotationsList-Filters{display:table-cell;width:100%;height:30px;vertical-align:middle;text-align:center}.Ldt-AnnotationsList-filter-text{text-align:left;display:inline;margin:4px 2px}.Ldt-AnnotationsList-filter-dropdown,.Ldt-AnnotationsList-filter-checkbox{text-align:center;display:inline;margin:4px 2px}ul.Ldt-AnnotationsList-ul,ul.Ldt-AnnotationsList-ul-toDelete{list-style:none;padding:0;margin:0}li.Ldt-AnnotationsList-li{width:100%;clear:both;margin:2px 0;padding:2px 0;min-height:3em;position:relative}.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dW1lbnRJRD0ieG1wLmRpZDo3NkMyMUIwN0YxMEYxMUUxQjA1NEY1NjFBNDBCMjBCQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pth+eaYAAAAcSURBVHjaYrhy5cp/IGAAYQYYAyQIZ4BogAADADG3HGCLfhKkAAAAAElFTkSuQmCC);z-index:1}.Ldt-AnnotationsList-ThumbContainer{float:left;width:80px;height:50px;text-align:center;margin:0 2px 10px;box-shadow:gray 0 0 2px}.Ldt-AnnotationsList-Thumbnail{border:none;max-width:100%;max-height:100%;margin:0 auto}.Ldt-AnnotationsList-External-Icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsTAAALEwEAmpwYAAACzGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iPgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj43Mi8xPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA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xmsyHr9ZqF1tqFQuHJ5eOgvhiF9nu50/LL5fKJWq1+LBAIjvb7/VcQ7AxGdobOsK6JF9fDF4GrYAfr4XQDu2HAueP4cAooJmoCtn/+Sb8BxlbyfxWI4N8AAAAASUVORK5CYII=);z-index:100;height:15px;width:15px;position:relative;bottom:20px;left:64px}.Ldt-AnnotationsList-DeleteButton{margin:0;float:right;font-size:20px;position:relative;top:-50px;left:-5px;color:#787878}.Ldt-AnnotationsList-DeleteButton:hover{color:#f7268e;cursor:pointer}.Ldt-AnnotationsList-Duration{color:#f7268e;float:right;text-align:right;font-size:12px;margin:2px}.Ldt-AnnotationsList-CreationDate{color:#f7268e;text-align:left;font-size:12px;margin:2px 2px 2px 89px}h3.Ldt-AnnotationsList-Title span.Ldt-AnnotationsList-TitleContent{color:#0068c4;font-size:13px;margin-left:5px;font-weight:700}h3.Ldt-AnnotationsList-Title.Ldt-Annotation-Timecode{font-size:13px}.Ldt-AnnotationsList-Title a{color:#0068c4}.Ldt-AnnotationsList-Creator{color:#4d90f4;margin-left:5px;font-size:13px}p.Ldt-AnnotationsList-Description{margin:2px 0 2px 89px;font-size:12px;color:#333}.Ldt-AnnotationsList-Description a{color:#0068c4}.Ldt-AnnotationsList-Description a:hover{text-decoration:underline;color:maroon}ul.Ldt-AnnotationsList-Tags{list-style:none;padding:0;margin:2px 0 0 82px}li.Ldt-AnnotationsList-Tag-Li{display:inline-block;border:none;margin:0 10px 5px 0;height:23px;padding:0 0 0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABFCAYAAAAPdqmYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG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B3A9uB8vDwBkFIiw/UkRPp/PAGNqAAoFwvmd4ktqtaa6uruRGQDY9aMm91dXVweqqqp68EYdgOsCEbY/1Gk9/+DGDaW6uhoZAhCIBmH781cm87ivvx8ZAhCIDjPpdHrY7nDE+D/WAQACuc74b6nUgsfjcdfV1SFTAALRIGx/fn76FLY/QFrwOhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) left top no-repeat;cursor:pointer}.Ldt-AnnotationsList-Tag-Li span{display:inline-block;font-size:12px;height:19px;padding:4px 5px 0 0;border:none;margin:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABFCAYAAAAPdqmYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIH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pzPEB3A9uB8vDwBkFIiw/UkRPp/PAGNqAAoFwvmd4ktqtaa6uruRGQDY9aMm91dXVweqqqp68EYdgOsCEbY/1Gk9/+DGDaW6uhoZAhCIBmH781cm87ivvx8ZAhCIDjPpdHrY7nDE+D/WAQACuc74b6nUgsfjcdfV1SFTAALRIGx/fn76FLY/QFrwOhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) right top no-repeat}li.Ldt-AnnotationsList-Tag-Li:hover{background-position:left -23px}.Ldt-AnnotationsList-Tag-Li:hover span{background-position:right -23px}.Ldt-AnnotationsList-Play{width:125px;height:20px;margin:2px 0 2px 82px;text-align:center;padding:3px 5px 0 20px;font-size:12px;cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAuCAYAAADKmOD6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ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44OKCJiQnRPsNdD5V2O11dXQmHDgCqwuLOBaNCWJlktrOzI0Zrayt9dLnIXlkpahgwsALVjGVQdjFkyWBer5c2Njaoo6NDmCmKiovR9w5UMpaO9hi2f62srNDW1haNjIxQQUEBRSIRRBWkhWVSCEtLY1/K/sVuHd4K+h4IvPgd8H/PWP8VtzQLi+1fbLFn+xe7dbgMofwNAGGJ7KOFhoYGUXYoKysTh4Lwwj2VvQDIKix+9jRr8fFF/f394jgjttFzqQGCArqExbD9iwXFxxexW4f74yEooHvxzv/4+CQ/zlBsZk1tRmNxDrQKS9i/lAtvnu7s79/TbfJoSCzMQTaSjQxp+xfv+6lNbZy1MOUBrezu7vIlbf+SJGlqenp6kDeaAdADz3Czs7Owf4E3B/Yv8HZksn/9EGAAfVj8tbLIAFEAAAAASUVORK5CYII=);color:#333}.Ldt-AnnotationsList-Play:hover{background-position:0 bottom}.Ldt-AnnotationsList-EditControls{opacity:0;position:absolute;bottom:2px;right:8px}.Ldt-AnnotationsList-li:hover .Ldt-AnnotationsList-EditControls{display:inline-block;opacity:.8;transition:opacity 1s ease-in-out}.Ldt-AnnotationsList-EditControls>div{display:inline-block;width:16px;height:16px;cursor:pointer;margin-left:8px}.Ldt-AnnotationsList-Delete{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAD9SURBVBgZBcFLLkNRAADQc1/fU6qkhFRMMNIQn8TUQCJWYBE2YBkWYQWMJIZmNuAXCSoGFUGIInJf33VOSAAAAIAcgLOFt3079flaEdTS50M6nT7YeggJwPFle6nhAoVhc370rnaXcwBSp62GTdxoGdPrkAPQD5OSbRFr6oLvjByA53CqY9YUvjy68YQcgELTuTd/khENbQk5ANGqFUSFnq6WW2QA5Op4VuhreJVEZACUAKiJkogMgIEKANFARAZAKQKolColMgA+f7vVkBkRSeYjvf6QAfB1cnnXNWTUhHHrXuLoESEBYO/aYjNUSqX3snk/2DjshwQAAAD4B9GUWR0G4scKAAAAAElFTkSuQmCC)}.Ldt-AnnotationsList-Edit{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIWSURBVDjLjZNPSBRRHMf32rVTdFOsDkJEhODNLGqXukgJpmiEURBGdEnbskNktrhCRQuaLEEikUhlbK5EiZmxjbWwfxvL0dHdtdlCx3VtZxyaed/eG5qwZct98DnM4/f9vN/M+40NgK1Y5p7tPTY9UIeZ4Q6EvIcQ9pQ3FR1O+kvqpbFWZCI+YG0RK5EhBNz2dFHhxIvSWjl+TdOSzyGNd0GJPoE+P4nogzPqpuGUv8wux64ahjIJZbYFy1Pnwfc3I9LXuDR1t2bnf8PC0xKHHL0MQw0gJ5yEmmhA9pMTYm9VOth9cA+rsdV1jm6lDFA0Cizabl6H9KH1d7gJ6kI9VmNXIHiqs5/dFfusQ5hg+PGbL/ipG7CWxPvAv7wEQ5mAKjZjPdGIDO2E9xwmgS7Hjo1dMoFuEIKMQvAtS8C9eoT4iBNh/22kuFrkxAYsh9ow661Bp9fHuqv4S9DiGTdPTa8SfM0QDLoOANl5TN8/jjHndrzrceCt2w71uwDXYJAJjhQULNJwQia4cXY3tMA9aNwdcB37MXRuF4Ih3qwpKLBegbUvLhGcqN6GW6fK8dp1FBP9F/AxvoBwSjcF7Q/fM0FlvsD8iEyycbFuQknDFLPl40QWnqFsyRdY16hbV+gdjf8Rraytm890P0opy5+VggNECwVJzllBldL+r2ErFO7uHYmx4A/Kxc1GPT9cSpmjnC72L/0FRS76cD+dhSEAAAAASUVORK5CYII=)}.Ldt-AnnotationsList-PublishAnnotation{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAInSURBVDjLpZNBSJRBFMd/37papinFUgZmYESIFiGRYdQhynueig4eomNE0NmDidc8du7arUNFKJSpIKQHAwlNKkUzTVdd3W++mTfzOuxK2RoEzeENPHi//3/mvRepKv9z0gD65aVK7geqFhWHeoeKRSVBfQLO4MWgEoMz1HY+jXYDvFDecrOErgoRFAOgkH12q9RBsr5ApSoa4kI2AtUARCi/CFFqH+riPZ4gQrBLSG4MQoKqLdzBQjBoMGiIqcjcILj8HgCfAIIGA+qKRb8XGzTkQQW1eziQrdWC5V3KMSGYIiSGEBdEZLsUELzBzLxDkk/gLajgzSb7TxwpKAdDz8QUWfOAR3/8QQrAx6vI5gLVTbepbuniwOlrEBzq8xDyqM9jxFKfaeJ+ZXmpg0gVtzxJdmCYmva7RFFEz/c5WJrFBsGKcOzQKZrq2siZbTr665wRWzH0cE3TO/0+2NbF2kA360OPqb1yDwmW681deA344AkoixvznKm/xJaN0+Nzb+3Z3lRFGgAxRGUpqlrvEE+9IDf6HCMWr4GvqzO4IEhwOO/YTHKcO36ZLZdPj30eNsU5MGRf9aNiUBdj4w+Y2irEC0drGpDg8Rr4tjHH4eo6JuZHGJkd/miF1uhvy9T5pNEba7HBYsRyMtOcutjYwfu5UQanX09a4cJinybRv25jS29q5XzD1cyb6cFxG2hf7FNbbMC/ARq7oxUfyjJx8OXLfSo7+Z9JyXr5I2wfSAAAAABJRU5ErkJggg==)}.published .Ldt-AnnotationsList-PublishAnnotation{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJFSURBVBgZBcHda5V1AADg5/d733Oc7tjOaNs5GC6KdrEwmpPRxG7spoKghOim7oK8y0MIEQRL+geGEIQ3UXQvSJ8IafZxUbjQhRDZoU60iYsSc9t5v87b84TsVe3mrBWpHoCICIAIACixYTUfOJM2Z62YO97TOULSIKaEQAyESAzEgISAgLpi48de87MLUqmezhGyhO4SCW7f4O81YiSJiCQIkbqmNcXMIjMXeilIGsQxDp8AnKDY5teL3PyU6h4CdY3Av7cYu58R0QghZWeT9fP0v2V7i8Y4j77As2c5sAwIFAXDgjInJxURAzub/PwxMZBGphZYeIWJWZ44xdo5bl4kK8kzioohUUREd4kXP+Kpd3nkee72+epNBleAxdfoLJBlDEuKkpxoBAkBjXGm53n8ZZ45S/shrr7P75eBo6eo9zAsKCqGRBEB/1zj89e5eo7tLRr7ePJtWg9wZZV7t2i2OPQcw5JiRE4UESN1ZPc2g0tceos/LtPYx9HTaPDNe8Dhl9gtyStyUiMIJDXLp2m0GHzN2gdMzdPq0F3k+pcc/4+x/UwepKzIiSDWTB/iwBLT8xw8xt07rJ8HHj7GbkX/B+DBxyhrciIQ2N2i2AG2fiPL+OsXoNVlWPDnDaC5l6qiJJWjLlHxxRs0JhhcIyvp/8SHJylKdiu++4Tr31NW7B8nkrwzp627d9nkHM0Wsea+GSY6tDvESEyY6TIxyZ4GSUp/nTubqyF7WrvZtaKrZ4QSQ+TIMUSJHCVypGhaHW448z+h1tLAgvKk7gAAAABJRU5ErkJggg==)}.Ldt-AnnotationsList .editing{display:none}.Ldt-AnnotationsList .editableInput{width:80%}.Ldt-AnnotationsList-ScreenMain{margin:0;padding:0}.Ldt-AnnotationsList-ScreenDelete,.Ldt-AnnotationsList-ScreenSending,.Ldt-AnnotationsList-ScreenError,.Ldt-AnnotationsList-ScreenSuccess{margin-top:15px;width:100%;text-align:center;vertical-align:middle;font-size:14px;font-weight:700;color:#68273c}a.Ldt-AnnotationsList-Close{position:absolute;right:2px;display:inline-block;width:17px;height:17px;margin:4px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAABECAYAAADk6ueFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA69p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NaswWjjxo02GGmRhzMU/a9Figaj58+fE4yaPcEon8j7hcAon5jfHwlGlgSjYmLOIRihTcdZDRqMConXfYIRepQbjPSxgV84MsGIK2akSoEjTzAqReSJkQajYhHxik5eMCrFES8wKsURCUZWDow2IXEC+sTPK5TcDqKC3cNzVwFGaSTtpqVLlwZ44qhPJs1DG3liqcU3GJlRkOoXjMwolAxGXuWr1Q8YeZWviYnlE6MyGJXBqAxG/+t/pRVTPydGxdTXiZEf+RUwKnRiVBIYmVIqGHlJyWBkHjH8ChhJKYPRb4FR3h7uE4z8iC8wKqbFwMiP+gKjQuoHjIrpb50YUTnvV0+MtJZPjP4YMPpPgAEAe6usJmPTw18AAAAASUVORK5CYII=)}.Ldt-Ctrl{font-size:10px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAZCAIAAAB/8tMoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNocwwsKABEAQMHX3v9+IvKNiBAH2G2nBiHEw0dKiVIKrfXfGIO1Fucc3ntCCMQYSSmRc6aUQq3131qj984Ygzknay323pxzuPe+AgwA4k9AhsygN5kAAAAASUVORK5CYII=) repeat-x transparent;height:25px;border:1px solid #b6b8b8;position:relative;overflow:hidden}.Ldt-Ctrl-Left{float:left}.Ldt-Ctrl-Right{float:right}.Ldt-Ctrl-button{float:left;width:30px;height:25px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAABLCAYAAAAF8NnJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMD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TbwiCWipAIWC+yqW2eLa2CgETAw3ntNPpcESzTaBmZ2xGg1YHxsSv48orCSXuGURkFzPZOHqVHhVydMICwGpTItfWsErejiilQ8KStxwrG3ShmVIYFiuqVXp4SE0UtkzVU0GK01DiXXDeD9yWddOM9kAljUlktJ4xDUIdzOKQIDa0MjpSB6G7pcWo2FpwmVlhIS1nVMI1YrKymcQtMllpVFisIfIa+LFkj+Jbo2oa0ctkMoESJGyDsyqy5IM8colxYyq++aD3lR4TUPJ/0+AAQAMoiAmbt41YwAAAABJRU5ErkJggg==);cursor:pointer}.Ldt-Ctrl-spacer{float:left;width:1px;height:25px;background:#b6b8b8}.Ldt-Ctrl-Play{margin:0 15px}.Ldt-Ctrl-Play-PlayState{background-position:0 0}.Ldt-Ctrl-Play-PlayState:hover{background-position:0 -25px}.Ldt-Ctrl-Play-PlayState:active{background-position:0 -50px}.Ldt-Ctrl-Play-PauseState{background-position:-30px 0}.Ldt-Ctrl-Play-PauseState:hover{background-position:-30px -25px}.Ldt-Ctrl-Play-PauseState:active{background-position:-30px -50px}.Ldt-Ctrl-Annotate{margin:0 2px;background-position:-60px 0}.Ldt-Ctrl-Annotate:hover{background-position:-60px -25px}.Ldt-Ctrl-Annotate:active{background-position:-60px -50px}.Ldt-Ctrl-SearchBtn{margin:0 2px;background-position:-90px 0}.Ldt-Ctrl-SearchBtn:hover{background-position:-90px -25px}.Ldt-Ctrl-SearchBtn:active{background-position:-90px -50px}.Ldt-Ctrl-Search{width:0;float:left;overflow:hidden}input.Ldt-Ctrl-SearchInput{-moz-box-sizing:border-box;box-sizing:border-box;width:145px;height:20px;margin:2px;padding:3px;border:1px solid #8080a0;border-radius:3px;font-size:13px}.Ldt-Ctrl-Time{float:left;margin:5px;font-size:12px;font-family:Arial,Verdana,sans-serif}.Ldt-Ctrl-Time-Elapsed{float:left;color:#4a4a4a}.Ldt-Ctrl-Time-Separator{margin:0 4px;float:left}.Ldt-Ctrl-Time-Total{float:left;color:#b2b2b2}.Ldt-Ctrl-Sound{margin:0 2px}.Ldt-Ctrl-Sound-Full{background-position:-120px 0}.Ldt-Ctrl-Sound-Full:hover{background-position:-120px -25px}.Ldt-Ctrl-Sound-Full:active{background-position:-120px -50px}.Ldt-Ctrl-Sound-Mute{background-position:-150px 0}.Ldt-Ctrl-Sound-Mute:hover{background-position:-150px -25px}.Ldt-Ctrl-Sound-Mute:active{background-position:-150px -50px}.Ldt-Ctrl-Sound-Half{background-position:-180px 0}.Ldt-Ctrl-Sound-Half:hover{background-position:-180px -25px}.Ldt-Ctrl-Sound-Half:active{background-position:-180px -50px}.Ldt-Ctrl-Volume-Control{display:none;position:absolute;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAZCAIAAAB/8tMoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNocwwsKABEAQMHX3v9+IvKNiBAH2G2nBiHEw0dKiVIKrfXfGIO1Fucc3ntCCMQYSSmRc6aUQq3131qj984Ygzknay323pxzuPe+AgwA4k9AhsygN5kAAAAASUVORK5CYII=) repeat-x transparent;height:25px;width:100px;top:25px;right:-1px;z-index:100;padding:0 2px;border:1px solid #b6b8b8}.Ldt-Ctrl-Volume-Bar{height:5px;margin:9px 3px 0;background:#ccc;border:1px solid #999999;border-radius:2px}.Ldt-Ctrl-Volume-Control .ui-slider-handle{width:6px;height:19px;background:#a8a8a8;border:1px solid #999999;border-radius:2px;top:-8px;margin-left:-4px;cursor:pointer}.Ldt-Ctrl-Volume-Control:hover .ui-slider-handle{background:#f7268e}.Ldt-Ctrl-Quiz-Enable button,.Ldt-Ctrl-Quiz-Create button,.Ldt-Ctrl-Quiz-Disactivated button,.Ldt-Ctrl-Fullscreen-Button{border:none;background:transparent}.Ldt-Ctrl-Quiz-Enable{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='22'%20height='22'%20viewBox='0%200%2022.000001%2022.000001'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='quizzOff.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='20.48'%20inkscape:cx='26.114676'%20inkscape:cy='19.183621'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1855'%20inkscape:window-height='1056'%20inkscape:window-x='65'%20inkscape:window-y='24'%20inkscape:window-maximized='1'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1030.3622)'%3e%3cg%20id='g3090'%20transform='matrix(0.13943692,0,0,0.1456598,-4.0481427,902.11583)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path4152'%20d='m%2088.762577,966.09408%20a%2064.442296,17.911566%2052.208592%200%200%20-53.76267,-40.24111%2064.442296,17.911566%2052.208592%200%200%2025.08146,61.71245%2064.442296,17.911566%2052.208592%200%200%2053.763283,40.24068%2064.442296,17.911566%2052.208592%200%200%20-25.082073,-61.71202%20z'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:2.23528218;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='517.45343'%20x='875.27667'%20height='20.941669'%20width='15.681897'%20id='rect4311'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='519.57574'%20x='762.16467'%20height='19.048025'%20width='13.667582'%20id='rect4309'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='518.66687'%20x='889.6543'%20height='0.94452941'%20width='1.1967648'%20id='rect4313'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-3'%20d='m%20113.50338,1028.0563%209.89486,-7.4107%208.37707,-6.2729'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='18.476786'%20sodipodi:rx='64.438011'%20sodipodi:cy='516.2522'%20sodipodi:cx='826.67413'%20d='m%20891.11214,516.2522%20c%200,10.20444%20-28.84988,18.47678%20-64.43801,18.47678%20-35.58813,0%20-64.43801,-8.27234%20-64.43801,-18.47678%200,-10.20445%2028.84988,-18.47679%2064.43801,-18.47679%2035.58813,0%2064.43801,8.27234%2064.43801,18.47679%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='18.476786'%20rx='64.438011'%20cy='516.2522'%20cx='826.67413'%20id='path4150'%20style='fill:%23666666;stroke:%23000000;stroke-width:2.23541927;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156'%20d='m%2035.104607,925.77201%209.7327,-7.28939%208.23979,-6.17012'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='8.1607332'%20sodipodi:rx='36.851326'%20sodipodi:cy='517.20477'%20sodipodi:cx='827.2381'%20d='m%20864.08942,517.20477%20c%200,4.50705%20-16.4989,8.16074%20-36.85132,8.16074%20-20.35243,0%20-36.85133,-3.65369%20-36.85133,-8.16074%200,-4.50705%2016.4989,-8.16073%2036.85133,-8.16073%2020.35242,0%2036.85132,3.65368%2036.85132,8.16073%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='8.1607332'%20rx='36.851326'%20cy='517.20477'%20cx='827.2381'%20id='path4317'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:%23000000;stroke-width:1.30889452;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='907.08124'%20x='233.80257'%20height='3.9420969'%20width='24.027122'%20id='rect5190'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='906.15369'%20x='235.03923'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='905.3421'%20x='236.39369'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-1'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='904.47247'%20x='237.51262'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='903.92175'%20x='237.95427'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='908.00873'%20x='233.77309'%20height='2.5362754'%20width='18.712299'%20id='rect5190-9-0'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4'%20d='m%2069.344687,935.29586%2010.13887,-6.16215%208.58357,-5.21581'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='954.03864'%20x='285.80243'%20height='3.3044052'%20width='2.9445002'%20id='rect5279'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='948.15442'%20x='283.03458'%20height='7.8841949'%20width='6.0067806'%20id='rect5279-2'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='951.83563'%20x='286.62689'%20height='2.3188813'%20width='4.7700906'%20id='rect5279-2-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='953.51678'%20x='285.83188'%20height='1.971049'%20width='4.4167504'%20id='rect5279-2-3-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4-5'%20d='m%20114.62982,993.43082%209.47784,-7.0986%208.02405,-6.00861'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='909.45807'%20x='241.51714'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='11.1082'%20sodipodi:rx='36.846481'%20sodipodi:cy='495.24258'%20sodipodi:cx='824.92773'%20d='m%20861.77422,495.24258%20c%200,6.13489%20-16.49674,11.1082%20-36.84649,11.1082%20-20.34975,0%20-36.84648,-4.97331%20-36.84648,-11.1082%200,-6.13489%2016.49673,-11.1082%2036.84648,-11.1082%2020.34975,0%2036.84649,4.97331%2036.84649,11.1082%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='11.1082'%20rx='36.846481'%20cy='495.24258'%20cx='824.92773'%20id='path4351'%20style='fill:%23800000;fill-opacity:1;stroke:%23000000;stroke-width:0.924097;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20id='path4564'%20d='m%2076.182057,895.08255%20c%2028.049053,-21.23075%2069.407013,-14.64926%2092.435693,14.54291%2023.02867,29.19218%2019.04627,70.22994%20-9.00275,91.46064%20-27.96073,21.2524%20-111.393663,-84.75115%20-83.432943,-106.00355%20z'%20stroke-miterlimit='10'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:4.48099518;stroke-miterlimit:10;stroke-dasharray:none;display:inline'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");float:left;height:22px;width:22px;background-repeat:no-repeat}.Ldt-Ctrl-Quiz-Enable.Ldt-Ctrl-Quiz-Toggle-Active{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='22'%20height='22'%20viewBox='0%200%2022.000001%2022.000002'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='quizzOn.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='14.481547'%20inkscape:cx='20.213132'%20inkscape:cy='13.840792'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1855'%20inkscape:window-height='1056'%20inkscape:window-x='65'%20inkscape:window-y='24'%20inkscape:window-maximized='1'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1030.3622)'%3e%3cg%20id='g3065'%20transform='matrix(0.13987874,0,0,0.14224716,-4.400635,906.61726)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path4152'%20d='m%2091.229014,959.93306%20a%2064.4423,17.911567%2052.208592%200%200%20-53.76267,-40.2411%2064.4423,17.911567%2052.208592%200%200%2025.08146,61.7124%2064.4423,17.911567%2052.208592%200%200%2053.763276,40.24074%2064.4423,17.911567%2052.208592%200%200%20-25.082066,-61.71204%20z'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:2.23528218;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='511.73264'%20x='871.82239'%20height='20.941671'%20width='15.681898'%20id='rect4311'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='513.85492'%20x='758.71033'%20height='19.048027'%20width='13.667583'%20id='rect4309'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='512.94604'%20x='886.19995'%20height='0.94452947'%20width='1.1967649'%20id='rect4313'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-3'%20d='m%20115.96981,1021.8953%209.89486,-7.4107%208.37708,-6.2729'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='18.476788'%20sodipodi:rx='64.438011'%20sodipodi:cy='510.5314'%20sodipodi:cx='823.21979'%20d='m%20887.6578,510.5314%20c%200,10.20445%20-28.84988,18.47679%20-64.43801,18.47679%20-35.58813,0%20-64.43801,-8.27234%20-64.43801,-18.47679%200,-10.20445%2028.84988,-18.47678%2064.43801,-18.47678%2035.58813,0%2064.43801,8.27233%2064.43801,18.47678%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='18.476788'%20rx='64.438011'%20cy='510.5314'%20cx='823.21979'%20id='path4150'%20style='fill:%23666666;stroke:%23000000;stroke-width:2.23541927;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156'%20d='m%2037.571044,919.61096%209.7327,-7.2894%208.23979,-6.1701'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='8.1607332'%20sodipodi:rx='36.85133'%20sodipodi:cy='511.48398'%20sodipodi:cx='823.78375'%20d='m%20860.63508,511.48398%20c%200,4.50705%20-16.4989,8.16073%20-36.85133,8.16073%20-20.35243,0%20-36.85133,-3.65368%20-36.85133,-8.16073%200,-4.50705%2016.4989,-8.16073%2036.85133,-8.16073%2020.35243,0%2036.85133,3.65368%2036.85133,8.16073%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='8.1607332'%20rx='36.85133'%20cy='511.48398'%20cx='823.78375'%20id='path4317'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:%23000000;stroke-width:1.30889452;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='900.58234'%20x='235.14644'%20height='3.9420972'%20width='24.027124'%20id='rect5190'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='899.65472'%20x='236.3831'%20height='4.2899294'%20width='24.027124'%20id='rect5190-9'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='898.8432'%20x='237.73756'%20height='4.2899294'%20width='24.027124'%20id='rect5190-9-1'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='897.97357'%20x='238.85649'%20height='4.0000696'%20width='2.1789298'%20id='rect5190-9-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='897.42279'%20x='239.29814'%20height='4.0000696'%20width='2.1789298'%20id='rect5190-9-4-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='901.50983'%20x='235.11696'%20height='2.5362756'%20width='18.712301'%20id='rect5190-9-0'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4'%20d='m%2071.811124,929.13486%2010.13887,-6.1622%208.58357,-5.2158'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='947.53973'%20x='287.14633'%20height='3.3044055'%20width='2.9445004'%20id='rect5279'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='941.65546'%20x='284.37848'%20height='7.8841953'%20width='6.0067811'%20id='rect5279-2'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='945.33673'%20x='287.97079'%20height='2.3188815'%20width='4.7700911'%20id='rect5279-2-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='947.01788'%20x='287.17575'%20height='1.9710491'%20width='4.4167509'%20id='rect5279-2-3-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4-5'%20d='m%20117.09625,987.26976%209.47784,-7.0986%208.02406,-6.0086'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='902.95917'%20x='242.86101'%20height='4.2899294'%20width='24.027124'%20id='rect5190-9-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='11.108201'%20sodipodi:rx='36.846485'%20sodipodi:cy='489.52179'%20sodipodi:cx='821.47339'%20d='m%20858.31987,489.52179%20c%200,6.13489%20-16.49673,11.1082%20-36.84648,11.1082%20-20.34975,0%20-36.84649,-4.97331%20-36.84649,-11.1082%200,-6.13489%2016.49674,-11.1082%2036.84649,-11.1082%2020.34975,0%2036.84648,4.97331%2036.84648,11.1082%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='11.108201'%20rx='36.846485'%20cy='489.52179'%20cx='821.47339'%20id='path4351'%20style='fill:%23800000;fill-opacity:1;stroke:%23000000;stroke-width:0.924097;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20id='path4564'%20d='m%2078.648494,888.92156%20c%2028.049046,-21.2308%2069.407016,-14.6493%2092.435696,14.5429%2023.02867,29.1922%2019.04627,70.2299%20-9.00275,91.4606%20-27.96073,21.25254%20-111.393666,-84.7511%20-83.432946,-106.0035%20z'%20stroke-miterlimit='10'%20style='fill:%23aa0000;fill-opacity:1;stroke:%23000000;stroke-width:4.48099518;stroke-miterlimit:10;stroke-dasharray:none;display:inline'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e")}.Ldt-Ctrl-Quiz-Create{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='26'%20height='25'%20viewBox='0%200%2026.000001%2025.000001'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='buzz.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='10.24'%20inkscape:cx='28.406106'%20inkscape:cy='5.347153'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1680'%20inkscape:window-height='1028'%20inkscape:window-x='75'%20inkscape:window-y='24'%20inkscape:window-maximized='0'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1027.3622)'%3e%3cg%20id='g3115'%20transform='matrix(0.13764231,0,0,0.14585411,-0.10960999,900.2163)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path4152'%20d='m%2088.762577,966.09408%20a%2064.442296,17.911566%2052.208592%200%200%20-53.76267,-40.24111%2064.442296,17.911566%2052.208592%200%200%2025.08146,61.71245%2064.442296,17.911566%2052.208592%200%200%2053.763283,40.24068%2064.442296,17.911566%2052.208592%200%200%20-25.082073,-61.71202%20z'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:2.23528218;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='517.45343'%20x='875.27667'%20height='20.941669'%20width='15.681897'%20id='rect4311'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='519.57574'%20x='762.16467'%20height='19.048025'%20width='13.667582'%20id='rect4309'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='518.66687'%20x='889.6543'%20height='0.94452941'%20width='1.1967648'%20id='rect4313'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-3'%20d='m%20113.50338,1028.0563%209.89486,-7.4107%208.37707,-6.2729'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='18.476786'%20sodipodi:rx='64.438011'%20sodipodi:cy='516.2522'%20sodipodi:cx='826.67413'%20d='m%20891.11214,516.2522%20c%200,10.20444%20-28.84988,18.47678%20-64.43801,18.47678%20-35.58813,0%20-64.43801,-8.27234%20-64.43801,-18.47678%200,-10.20445%2028.84988,-18.47679%2064.43801,-18.47679%2035.58813,0%2064.43801,8.27234%2064.43801,18.47679%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='18.476786'%20rx='64.438011'%20cy='516.2522'%20cx='826.67413'%20id='path4150'%20style='fill:%23666666;stroke:%23000000;stroke-width:2.23541927;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156'%20d='m%2035.104607,925.77201%209.7327,-7.28939%208.23979,-6.17012'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='8.1607332'%20sodipodi:rx='36.851326'%20sodipodi:cy='517.20477'%20sodipodi:cx='827.2381'%20d='m%20864.08942,517.20477%20c%200,4.50705%20-16.4989,8.16074%20-36.85132,8.16074%20-20.35243,0%20-36.85133,-3.65369%20-36.85133,-8.16074%200,-4.50705%2016.4989,-8.16073%2036.85133,-8.16073%2020.35242,0%2036.85132,3.65368%2036.85132,8.16073%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='8.1607332'%20rx='36.851326'%20cy='517.20477'%20cx='827.2381'%20id='path4317'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:%23000000;stroke-width:1.30889452;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='907.08124'%20x='233.80257'%20height='3.9420969'%20width='24.027122'%20id='rect5190'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='906.15369'%20x='235.03923'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='905.3421'%20x='236.39369'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-1'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='904.47247'%20x='237.51262'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='903.92175'%20x='237.95427'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='908.00873'%20x='233.77309'%20height='2.5362754'%20width='18.712299'%20id='rect5190-9-0'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4'%20d='m%2069.344687,935.29586%2010.13887,-6.16215%208.58357,-5.21581'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='954.03864'%20x='285.80243'%20height='3.3044052'%20width='2.9445002'%20id='rect5279'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='948.15442'%20x='283.03458'%20height='7.8841949'%20width='6.0067806'%20id='rect5279-2'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='951.83563'%20x='286.62689'%20height='2.3188813'%20width='4.7700906'%20id='rect5279-2-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='953.51678'%20x='285.83188'%20height='1.971049'%20width='4.4167504'%20id='rect5279-2-3-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4-5'%20d='m%20114.62982,993.43082%209.47784,-7.0986%208.02405,-6.00861'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='909.45807'%20x='241.51714'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='11.1082'%20sodipodi:rx='36.846481'%20sodipodi:cy='495.24258'%20sodipodi:cx='824.92773'%20d='m%20861.77422,495.24258%20c%200,6.13489%20-16.49674,11.1082%20-36.84649,11.1082%20-20.34975,0%20-36.84648,-4.97331%20-36.84648,-11.1082%200,-6.13489%2016.49673,-11.1082%2036.84648,-11.1082%2020.34975,0%2036.84649,4.97331%2036.84649,11.1082%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='11.1082'%20rx='36.846481'%20cy='495.24258'%20cx='824.92773'%20id='path4351'%20style='fill:%23800000;fill-opacity:1;stroke:%23000000;stroke-width:0.924097;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20id='path4564'%20d='m%2076.182057,895.08255%20c%2028.049053,-21.23075%2069.407013,-14.64926%2092.435693,14.54291%2023.02867,29.19218%2019.04627,70.22994%20-9.00275,91.46064%20-27.96073,21.2524%20-111.393663,-84.75115%20-83.432943,-106.00355%20z'%20stroke-miterlimit='10'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:4.48099518;stroke-miterlimit:10;stroke-dasharray:none;display:inline'%20inkscape:connector-curvature='0'%20/%3e%3cg%20id='flowRoot4822'%20style='font-size:40px;font-style:normal;font-weight:normal;line-height:125%25;letter-spacing:0px;word-spacing:0px;fill:%23000000;fill-opacity:1;stroke:none;font-family:sans-serif'%20transform='translate(2.4859224,821.53368)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path6077'%20style='font-size:90.00000763px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Franklin%20Gothic;-inkscape-font-specification:Franklin%20Gothic'%20d='m%20123.24902,138.67423%208.9209,0%200,11.16211%20-8.9209,0%200,-11.16211%20z%20m%208.65723,-6.45996%20-8.39355,0%200,-6.76758%20q%200,-4.43848%201.23047,-7.29492%201.23046,-2.85645%205.18554,-6.63575%20l%203.95508,-3.91113%20q%202.50488,-2.3291%203.60352,-4.39453%201.14258,-2.06543%201.14258,-4.218753%200,-3.911133%20-2.9004,-6.328125%20-2.85644,-2.416992%20-7.60254,-2.416992%20-3.47167,0%20-7.42675,1.538086%20-3.91114,1.538086%20-8.17383,4.482422%20l%200,-8.26172%20q%204.13086,-2.504883%208.34961,-3.735351%204.26269,-1.230469%208.78906,-1.230469%208.08594,0%2012.96387,4.262695%204.92187,4.262696%204.92187,11.250001%200,3.339846%20-1.58203,6.372076%20-1.58203,2.98828%20-5.53711,6.76757%20l%20-3.86718,3.7793%20q%20-2.06543,2.06543%20-2.94434,3.25195%20-0.83496,1.14258%20-1.18652,2.24122%20-0.26368,0.92285%20-0.39551,2.24121%20-0.13184,1.31836%20-0.13184,3.60351%20l%200,5.40528%20z'%20/%3e%3c/g%3e%3crect%20y='923.16681'%20x='45.770191'%20height='100.00001'%20width='15.000001'%20id='rect4834'%20style='fill:%23ff0000;fill-opacity:1;stroke:none'%20/%3e%3crect%20transform='matrix(-0.00595846,-0.99998225,0.99997419,-0.00718432,0,0)'%20y='-2.488034'%20x='-980.66632'%20height='99.91748'%20width='14.282415'%20id='rect4834-6'%20style='fill:%23ff0000;fill-opacity:1;stroke:none'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");float:left;height:23px;width:26px;background-repeat:no-repeat;margin-left:4px;margin-top:0;display:none}.Ldt-Ctrl-Quiz-Create.Ldt-Ctrl-Quiz-Toggle-Active{display:inline-block}.Ldt-Ctrl-Fullscreen-Button{margin-top:3px}.Ldt-Ctrl-Fullscreen-Button{float:left;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='22'%20height='22'%20viewBox='0%200%2022.000001%2022.000001'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='FS.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='20.48'%20inkscape:cx='10.91933'%20inkscape:cy='15.686744'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1680'%20inkscape:window-height='1028'%20inkscape:window-x='75'%20inkscape:window-y='24'%20inkscape:window-maximized='0'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1030.3622)'%3e%3cpath%20style='fill:%23000000'%20d='m%200.5522696,1051.6037%20c%20-0.41889785,-0.4329%20-0.41461065,-8.2715%200.00441,-8.2715%200.16357544,0%200.8770369,0.5915%201.5854719,1.3145%20l%201.2880668,1.3142%201.0474543,-1.062%20c%201.2537252,-1.2715%202.0021739,-1.362%202.9358328,-0.3551%200.9287537,1.0018%200.8386288,1.7291%20-0.3721746,3.0037%20l%20-1.0280047,1.0824%201.2720657,1.3309%20c%200.6996343,0.732%201.2720656,1.4692%201.2720656,1.6382%200,0.433%20-7.58640438,0.4375%20-8.00530223,0.01%20z%20m%2012.8865874,-0.01%20c%200,-0.169%200.572426,-0.9062%201.272067,-1.6382%20l%201.27206,-1.3308%20-1.027999,-1.0823%20c%20-1.210804,-1.2748%20-1.300935,-2.0022%20-0.372175,-3.0039%200.933653,-1.0069%201.682103,-0.9164%202.935828,0.3551%20l%201.047458,1.062%201.288068,-1.3143%20c%200.708435,-0.7229%201.421896,-1.3144%201.585473,-1.3144%200.419128,0%200.423427,7.8386%200.0044,8.2715%20-0.418887,0.4328%20-8.005291,0.4283%20-8.005291,-0.01%20z%20M%200.25939424,1035.3076%20c%200,-2.7627%200.0897934,-4.0772%200.29287536,-4.287%200.41889785,-0.4328%208.0053023,-0.4284%208.0053023,0.01%200,0.1691%20-0.5724257,0.9063%20-1.2720657,1.6383%20l%20-1.2720656,1.3309%201.0280047,1.0823%20c%201.2304351,1.2954%201.3179943,2.0686%200.3434664,3.0334%20-0.9694075,0.9597%20-1.6734008,0.8665%20-2.907119,-0.3846%20l%20-1.0474598,-1.0621%20-1.2880668,1.3143%20c%20-0.708435,0.723%20-1.42189663,1.3143%20-1.5854665,1.3143%20-0.2212842,0%20-0.29740536,-1.0197%20-0.29740536,-3.9844%20z%20m%2019.58692376,2.6673%20-1.274753,-1.3171%20-1.050191,1.0649%20c%20-1.236549,1.254%20-1.939853,1.3476%20-2.909856,0.3874%20-0.974534,-0.9647%20-0.886969,-1.738%200.343467,-3.0335%20l%201.027999,-1.0821%20-1.27206,-1.3311%20c%20-0.699641,-0.732%20-1.272067,-1.4691%20-1.272067,-1.6382%200,-0.433%207.586405,-0.4374%208.005303,-0.01%200.427969,0.4422%200.413673,8.2714%20-0.01511,8.2714%20-0.169391,0%20-0.881623,-0.5926%20-1.582735,-1.3171%20z'%20id='path3020'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/svg%3e");background-position:right;margin-right:6px;margin-top:1px;height:22px;width:22px;border:none}.Ldt-CreateAnnotation{border-style:none solid solid;border-width:1px;border-color:#b7b7b7;padding:0 1px 1px;margin:0}.Ldt-CreateAnnotation-Inner{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFn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A8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);padding:5px;margin:0;position:relative}.Ldt-CreateAnnotation-Inner h3{margin:5px 0;font-size:14px;font-weight:700;text-align:right;clear:both;color:#0068c4}.Ldt-CreateAnnotation-h3Left{float:left}.Ldt-CreateAnnotation-Main{min-height:50px}.Ldt-CreateAnnotation-Title,.Ldt-CreateAnnotation-Creator{font-size:14px;font-weight:700;color:#0068c4;border:1px solid #666666;border-radius:2px}.Ldt-CreateAnnotation-Title.empty,.Ldt-CreateAnnotation-Creator.empty{font-style:italic;color:#90b0d0}.Ldt-CreateAnnotation-Times{color:#ff3b77}.Ldt-CreateAnnotation-Submit,.Ldt-CreateAnnotation-Cancel,.Ldt-CreateAnnotation-PreviewSubmit{position:absolute;bottom:7px;color:#fff;height:50px;width:50px;padding:28px 0 0;font-size:12px;border:none;text-align:center;cursor:pointer}.Ldt-CreateAnnotation-Cancel{right:7px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAAXNSR0IArs4c6QAABOhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAgICAgIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVz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TNS4xIFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCRDk1NEIyN0Q3QTBFMTExQTU3N0QyNERENzIzQjg2NiIgc3RSZWY6ZG9jdW1lbnRJRD0idXVpZDoyNDgyMkUxNzJCMzJFMTExOTYwQUQxMkRFQzZDNEREMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PopShvMAAAGOSURBVHja7NbPS8JwGAbwrX2zHC21LIdiigchpJt0iaBjpyjo3B8RnTtE5/6Njh7CW7foGNIlsZ9SLVpqlrJwbs48RXjaZhsv8Tz34evHZw/yzcI5Z1mWpnM0Yqjv7dPSzsUxRynhQHAjscQ65cd+1+w1WkTO0m+Vk+rl/KSUn1lIimEiV2WkaEZOMEOpm7VP46VB5KyKVr/S3uLB0HI0tTgdI3IVi0WEWWmMQ2wHWMACFrCABSyEOX0ge3bk4mOuV3c9/RrJwr6Lp562DtAsMs1yVBZ3NRwldsriroZoll/N8r813o0XmoXNwmZhs7BZaNYfTtVQ3bz+425zqobq5vSPu1fN+q3jm5QjStdSnryGA6N+z6Ij9WM0uGoUKa8262Ztj+DiPG8fYuD9C7CABSxgAQtYCLCABSxgAQtYCLCABSxgAQtYCLCABSxgAeufhnWr6r2qPHw1iRyk6K1Xvb0up3Px1HhaJnKVEJniA4wV70rFWuXD7JD6DTezeXElJ8yFqLyA4gTH898CDABtDHzkCw2kWQAAAABJRU5ErkJggg==)}.Ldt-CreateAnnotation-Submit:hover,.Ldt-CreateAnnotation-Cancel:hover{background-position:-50px 0}.Ldt-CreateAnnotation-Description{height:3em;padding:2px;resize:none;width:calc(100% - 122px);border:1px solid #666666;border-radius:2px}.Ldt-CreateAnnotation-Description.empty{font-style:italic;color:#999}.Ldt-CreateAnnotation-Avatar{float:right;width:48px;height:48px;margin:5px 0;padding:0 0 0 15px;background:url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pZDoyRjIwNEFDN0EwRDUxMUUxQUJDOTgyMzU2ODc0NTkyOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pl2yTgMAAABYSURBVHja7JHRCQAgCETNlXT/Cdzp0qA4qgH6SCjhXXrBCQDhY2ZQudSH70J3R7amO1gvGVS1yplBRIjmVQATsNEQcs3hvgTlsSkoG1w/vxv9iJ+AXYABAJQKJ+u9U9exAAAAAElFTkSuQmCC) left no-repeat}.Ldt-CreateAnnotation-Avatar img{float:right;display:block;max-width:100%;max-height:100%;border:1px solid #bbbbbb}.Ldt-CreateAnnotation-RecBlock{width:220px;float:left}.Ldt-CreateAnnotation-TagTitle,.Ldt-CreateAnnotation-PolemicTitle,.Ldt-CreateAnnotation-RecLabel{display:block;margin:5px 0 2px;font-size:12px}.Ldt-CreateAnnotation-TagList,.Ldt-CreateAnnotation-PolemicList{list-style:none;width:calc(100% - 122px);padding-left:0}li.Ldt-CreateAnnotation-TagLi{display:inline-block;border:none;margin:0 10px 5px 0;height:23px;padding:0 0 0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABFCAYAAAAPdqmYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj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yA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) left top no-repeat;cursor:pointer}.Ldt-CreateAnnotation-TagButton{display:inline-block;font-size:12px;height:19px;padding:4px 5px 0 0;border:none;margin:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABFCAYAAAAPdqmYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMj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OhyA/1lBhO2Pw+Fg5eXlyBSQjv39/dK2P6qquvHdB0AFuc6EoigxbtwAAARSiLD9qaysZMWOvwMgq0CE7Y/dblcwdwCgY/tjtVq7KZAZADQCEbY/VD3QWgGgEYiw/XG5XEaTyYSsAKARyDRVDr+1yK4Vd3c/PjlhJxR8Z8tGLRg+uQWyCETY/pQ62n6Yz7N8Pi9sf+gaJ8EknU4nsgekEMikx+MpaftzfHzML5e2P7ROUjuG7AEpBDK1t7c3GwgEiiqEHzc5ODi4tP3ha7RYQBaBCNufg1xurKamRvehGqoWZSZTIn94mODiqKLATheQaUi/e/Dq1U2zxRJy2O26D/IZBZ/gAlkFImx/dnd3U3abzYCtXgAKBcIRtj/7udwUDe3IDABMx/Ynl8sNmM3mHhfaKQD0bX92dnae26xWxWKxIEMAAtEgbH+okjyGWQOAQPSZoVlk2GyxxGrdbmQJQCA6jG9vby+olZVum82GTAEIRIOw/Vnf2IDtD5CWfwUYAN18faXbEXdaAAAAAElFTkSuQmCC) right top no-repeat}li.Ldt-CreateAnnotation-TagLi:hover{background-position:left -23px}.Ldt-CreateAnnotation-TagLi:hover .Ldt-CreateAnnotation-TagButton{background-position:right -23px}li.Ldt-CreateAnnotation-TagLi.selected{background-position:left -46px}.Ldt-CreateAnnotation-TagLi.selected .Ldt-CreateAnnotation-TagButton{background-position:right -46px}li.Ldt-CreateAnnotation-PolemicLi{display:inline-block;border:none;margin:0 5px;height:21px;width:26px;padding:2px 0 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAABFCAYAAABUkvbsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb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S01mw2qrU+mkgIYefqgICAgICAgJbjZMaDNvQKMAA8jg6kQ0liFgAAAABJRU5ErkJggg==) left top no-repeat;font-size:14px;font-weight:700;text-align:center;cursor:pointer}li.Ldt-CreateAnnotation-PolemicLi:hover{background-position:0 -23px}li.Ldt-CreateAnnotation-PolemicLi.selected{background-position:0 -46px}.Ldt-CreateAnnotation-InnerBox{margin:20px 50px;border:1px solid #CCCCCC;padding:20px;background:#fff;color:#ff3b77;text-align:center;font-size:13px;font-weight:700}a.Ldt-CreateAnnotation-Close{position:absolute;top:2px;right:2px;display:inline-block;width:17px;height:17px;margin:2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAABECAYAAADk6ueFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA69pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wUmlnaHRzPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvcmlnaHRzLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy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xYJcaZ7THpBG3s2rUrsm7duhCrAy9V9+/f/6lqmpqaLPBPJf4eQvOLOY6YYKQhSItZwsXASEOQ7rBeJWyCkWWCEUXyh3bEFA1G6KYEo3ENRhSTP/hiLykIRqYTGo7Mr3M+MDKd0HBkfnVNMLIkGPHL6CVecEQRYDRJMOLH0HRCi/yYEo60aDCyJBhJGDJ5RMKRFg1GcKSCUeM9bcOLRzQcuWq9GBhJr7UTREC/YMSomYRGBC0JjLRKJ0woKgRGWs2FmFBUEIykmnAkoSgfGEn1giMJRQXBSCphyIQjOsPKyAdGcrX84nrBESvTBKNgDlLa0bpnOLEQi1D37dun3rx5o/r6+jI5HLAFz7Y/fPhwhshQiEV4/9SpUwo7oR48eJDBu3fLFl8GozIYlcHojzsxsjQY7dixwwEjLfpwRndYZn4OgmwwQrknMNaswWjjxo02GGmRhzMU/a9Figaj58+fE4yaPcEon8j7hcAon5jfHwlGlgSjYmLOIRihTcdZDRqMConXfYIRepQbjPSxgV84MsGIK2akSoEjTzAqReSJkQajYhHxik5eMCrFES8wKsURCUZWDow2IXEC+sTPK5TcDqKC3cNzVwFGaSTtpqVLlwZ44qhPJs1DG3liqcU3GJlRkOoXjMwolAxGXuWr1Q8YeZWviYnlE6MyGJXBqAxG/+t/pRVTPydGxdTXiZEf+RUwKnRiVBIYmVIqGHlJyWBkHjH8ChhJKYPRb4FR3h7uE4z8iC8wKqbFwMiP+gKjQuoHjIrpb50YUTnvV0+MtJZPjP4YMPpPgAEAe6usJmPTw18AAAAASUVORK5CYII=)}a.Ldt-CreateAnnotation-Close:hover{background-position:-17px 0}.Ldt-CurrentSegmentInfobox{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2Voa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AABJRU5ErkJggg==);width:535px;max-height:280px;margin:4px 0 0;border-style:solid;border-width:1px;border-color:#b7b7b7}.Ldt-CurrentSegmentInfobox-Element{margin:5px;vertical-align:top}.Ldt-CurrentSegmentInfobox-Tags-Ul{list-style:none;margin:0}.Ldt-CurrentSegmentInfobox-Tags{margin:0}.Ldt-CurrentSegmentInfobox-Tags-Li{display:inline-block;background-color:#fff;margin:2px;padding:2px;border:solid 1px;border-color:#aeaeae}.Ldt-CurrentSegmentInfobox-Title{color:#0068c4;font-size:15px;font-weight:700}.Ldt-CurrentSegmentInfobox-Description{font-size:13px;font-weight:700}textarea.Ldt-CurrentSegmentInfobox-DescriptionInput.Ldt-CurrentSegmentInfobox-Description{display:inline-block;width:95%}.Ldt-CurrentSegmentInfobox-NoSegment{font-size:15px;font-weight:700}.Ldt-CurrentSegmentInfobox-SubmitButton{display:inline-block;background-color:#d93c71;color:#fff;height:14px;width:100px;margin:5px 2px 2px;padding:2px;font-size:11px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;text-align:center;vertical-align:middle}.Ldt-CurrentSegmentInfobox-CancelButton{display:inline-block;background-color:#d93c71;color:#fff;height:14px;width:100px;margin:5px 5px 2px 2px;padding:2px;font-size:11px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;text-align:center;vertical-align:middle}.Ldt-CurrentSegmentInfobox-CreateTagButton{display:block;background-color:#d93c71;color:#fff;height:14px;width:75px;margin:2px;padding:2px;font-size:11px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;text-align:center}.Ldt-CurrentSegmentInfobox-Tags-Li-Input{width:80px}.Ldt-CurrentSegmentInfobox-EditButton{float:right;display:inline-block;background-color:#d93c71;color:#fff;height:18px;width:95px;font-size:14px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;margin:5px;padding:4px;text-align:center;vertical-align:middle;line-height:18px}.Ldt-CurrentSegmentInfobox-EditButton:hover,.Ldt-CurrentSegmentInfobox-CreateTagInput-Add:hover,.Ldt-CurrentSegmentInfobox-CreateTagButton:hover,.Ldt-CurrentSegmentInfobox-CancelButton:hover,.Ldt-CurrentSegmentInfobox-SubmitButton:hover{background-color:#e15581;border-color:#222222 #e87d9f #f0adc3 #68273c}.Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton{font-weight:700;color:#d93c71}.Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton:hover{color:#e16e93}.Ldt-CurrentSegmentInfobox-FieldsHeader{margin:5px}.Ldt-CurrentSegmentInfobox-TagsHeader{margin-top:10px;margin-left:5px}.Ldt-CurrentSegmentInfobox-CreateTagInput{border:2px solid #848484;margin:5px 2px;padding:4px}.Ldt-CurrentSegmentInfobox-CreateTagInput-Add{margin:5px;display:inline-block;background-color:#d93c71;color:#fff;height:14px;width:14px;font-size:14px;font-style:bold;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;padding:4px;text-align:center;vertical-align:middle;line-height:14px}.Ldt-EnrichedPlan-Slide{border-bottom:2px dotted #ccc;padding-top:4px;cursor:pointer}.Ldt-EnrichedPlan-SlideItem{max-height:3000px;transition:max-height .6s}.Ldt-EnrichedPlan-SlideItem.filtered_out{max-height:0px;overflow:hidden}.Ldt-EnrichedPlan-SlideTimecode{display:inline-block;color:#999!important;font-size:9px!important;width:24px;vertical-align:top}.Ldt-EnrichedPlan-SlideThumbnail{display:inline-block;width:180px;height:100px;padding-left:10px;margin:0;vertical-align:top}.Ldt-EnrichedPlan-SlideThumbnail img{max-width:180px;max-height:100px;margin:auto;border:1px solid #ccc}.Ldt-EnrichedPlan-SlideContent{display:inline-block;width:calc(100% - 220px);transition:width .4s}.Ldt-EnrichedPlan-SlideThumbnail.filtered_out+.Ldt-EnrichedPlan-SlideContent{width:calc(100% - 40px)}.Ldt-EnrichedPlan-SlideTitle{display:inline-block;font-size:14px;width:100%;height:1em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Ldt-EnrichedPlan-SlideTitle1{text-transform:uppercase;font-size:13px;font-weight:600}.Ldt-EnrichedPlan-Note{font-weight:400;font-size:14px;font-family:Roboto-italic}.Ldt-EnrichedPlan-Note:hover{background-color:#eee}.Ldt-EnrichedPlan-Note-Teacher{color:#e5007e;font-style:italic}.Ldt-EnrichedPlan-Note-Own{color:#6cf}.Ldt-EnrichedPlan-Note-Other{color:#963}.Ldt-EnrichedPlan-Note-Text{line-height:22px;word-wrap:break-word}.Ldt-EnrichedPlan-Note-Author{text-transform:uppercase;font-size:10px}.Ldt-EnrichedPlan-Content{margin-top:37px}.Ldt-EnrichedPlan-Controls{height:36px;padding:9px 0 6px;border-bottom:1px solid #000;overflow-y:hidden;overflow-x:hidden;position:absolute;top:0;left:0;right:0;z-index:1;background-color:#fff}.Ldt-EnrichedPlan-Control-Label{display:inline-block;text-transform:uppercase;line-height:10px;font-family:Roboto;font-size:10px;font-weight:100;width:80px;position:relative}.Ldt-EnrichedPlan-Controls .Ldt-EnrichedPlan-Search-Input{float:right;font-family:Roboto;font-size:16px;width:calc(100% - 340px)}.Ldt-EnrichedPlan-Note.non_matching{display:none}.Ldt-EnrichedPlan-Control-{font-style:normal}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked),.Ldt-EnrichedPlan-Control-Checkbox:checked{position:absolute;left:-9999px}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked)+label,.Ldt-EnrichedPlan-Control-Checkbox:checked+label{position:relative;padding-left:20px;cursor:pointer}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked)+label:before,.Ldt-EnrichedPlan-Control-Checkbox:checked+label:before{content:"";position:absolute;left:0;top:2px;width:13px;height:13px;border:1px solid #aaa}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked)+label:after,.Ldt-EnrichedPlan-Control-Checkbox:checked+label:after{content:"⨯";font-style:normal;position:absolute;top:3px;left:-1px;font-size:20px;transition:all .2s}.Ldt-EnrichedPlan-Control-Checkbox:not(:checked)+label:after{opacity:0}.Ldt-EnrichedPlan-Control-Checkbox:checked+label:after{opacity:1}.Ldt-EnrichedPlan-Control-Checkbox:disabled:not(:checked)+label:before,.Ldt-EnrichedPlan-Control-Checkbox:disabled:checked+label:before{box-shadow:none;border-color:#bbb;background-color:#ddd}.Ldt-EnrichedPlan-Control-Checkbox:disabled:checked+label:after{color:#999}.Ldt-EnrichedPlan-Control-Checkbox:disabled+label{color:#aaa}.Ldt-EnrichedPlan-Control-Checkbox:checked:focus+label:before,.Ldt-EnrichedPlan-Control-Checkbox:not(:checked):focus+label:before{border:1px dotted blue}label:hover:before{border:1px solid #4778d9!important}label:hover:before{background-color:#ededed}.currentAnnotation{border:solid 3px red}.Ldt-ImageDisplay-Container{width:100%;height:100%;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain}.Ldt-ImageDisplay-Image{max-width:100%;max-height:100%}.Ldt-ImageDisplay-Overlay{width:30%;min-width:20px;height:100%;opacity:.1;position:absolute;top:0;bottom:0}.Ldt-ImageDisplay-Overlay-Left{left:0;cursor:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20id='arrow'%3e%3cpath%20style='fill:none;stroke:%23fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;'%20d='M31,1%20l-30,15%20l30,15'%3e%3c/path%3e%3cpath%20style='fill:none;stroke:%23000;stroke-width:4;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;'%20d='M31,1%20l-30,15%20l30,15'%3e%3c/path%3e%3c/svg%3e") 20 20,pointer}.Ldt-ImageDisplay-Overlay-Right{right:0;cursor:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20id='arrow'%3e%3cpath%20style='fill:none;stroke:%23fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;'%20d='M1,1%20l30,15%20l-30,15'%3e%3c/path%3e%3cpath%20style='fill:none;stroke:%23000;stroke-width:4;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;'%20d='M1,1%20l30,15%20l-30,15'%3e%3c/path%3e%3c/svg%3e") 20 20,pointer}.Ldt-LatestAnnotation{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);width:535px;max-height:180px;margin:4px 0 0;border-style:solid;border-width:1px;border-color:#b7b7b7}.Ldt-LatestAnnotation-Element{margin:5px;display:inline-block;vertical-align:top}.Ldt-LatestAnnotation-Box{background-color:#fff;margin:3px}.Ldt-LatestAnnotation-CreationDate{color:#f7268e}.Ldt-LatestAnnotation-Content{text-align:justify}.Ldt-LatestAnnotation-Title{color:#0068c4;font-size:14px;font-weight:700}.Ldt-LatestAnnotation-NoAnnotation{font-size:14px;font-weight:700}.Ldt-LatestAnnotation-CopyEditButton{display:inline-block;background-color:#d93c71;color:#fff;float:right;height:14px;width:100px;margin:2px;padding:2px;font-size:11px;border:1px solid;border-color:#eca3bc #631e34 #36101c #e16e93;cursor:pointer;text-align:center;vertical-align:middle}.Ldt-LatestAnnotation-CopyEditButton:hover{background-color:#e15581;border-color:#222222 #e87d9f #f0adc3 #68273c}.Ldt-MashupPlayer-Media{position:absolute}.Ldt-MashupPlayer-Waiting{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#78788c99;background-image:url(data:image/gif;base64,R0lGODlhkABUAOZoAGVlZdbW1qysrNHR0ZSUlIODg56enh0dHTU1NdjY2FVVVfDw8LW1taGhoVlZZGJiYhYWFi4uLiwsLOLi4rq6un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QCq9kMwAmZklvGjPAybYLJcHOAhwp7eNLKBEqFj2UMIcTYRZCB1P3GAHz5DAUcBdT6FBEhgB0CcXHitUy7QjOFyllSAA+KaIBkhMsDIkbwjABKRqKJGGVLOl4A/XkLixBZmR3kgJ4RrHKpkYAbCJ3NqOVAy1GlXYYDQ0yT6CwRxXqpFGB+Ax13mAHzDxVBUqSN7mwZLcQcVdYiSwpnOwSwIHFjqosUQCuXPueiRuRBgH5KfPFnzhW3QxR2fLQ7RCDE4EsDmOjQww6vVyBfDEAO5gr3EOfMgt0MJx4kcyQQqPBAIAOw==);background-position:center;background-repeat:no-repeat}.Ldt-MediaListWidget a{text-decoration:none}.Ldt-MediaListWidget h2{clear:both}.Ldt-MediaList-NowContainer{min-height:60px;margin:2px 0}h3.Ldt-MediaList-Now-Title{font-size:13px;margin:2px 2px 0 82px;font-weight:700}.Ldt-MediaListWidget h3 a{color:#0068c4}p.Ldt-MediaList-Now-Description{margin:2px 0 2px 82px;font-size:12px;color:#666}ul.Ldt-MediaList-OtherList{list-style:none;padding:2px;margin:0}li.Ldt-MediaList-OtherList-li{width:100%;clear:both;margin:2px 0;padding:2px 0;min-height:48px}.Ldt-MediaList-OtherList-li:hover,.Ldt-MediaList-NowContainer:hover{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzZDMjFCMDhGMTBGMTFFMUIwNTRGNTYxQTQwQjIwQkEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzZDMjFCMDlGMTBGMTFFMUIwNTRGNTYxQTQwQjIwQkEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NkMyMUIwNkYxMEYxMUUxQjA1NEY1NjFBNDBCMjBCQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NkMyMUIwN0YxMEYxMUUxQjA1NEY1NjFBNDBCMjBCQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pth+eaYAAAAcSURBVHjaYrhy5cp/IGAAYQYYAyQIZ4BogAADADG3HGCLfhKkAAAAAElFTkSuQmCC)}.Ldt-MediaList-Now-ThumbContainer,.Ldt-MediaList-Other-ThumbContainer{float:left;width:80px;height:50px;text-align:center;margin:2px 0}.Ldt-MediaList-Other-ThumbContainer{width:60px;height:38px}.Ldt-MediaList-Now-Thumbnail,.Ldt-MediaList-Other-Thumbnail{border:none;max-width:100%;max-height:100%;margin:0 auto}h3.Ldt-MediaList-Other-Title{font-size:12px;margin:2px 2px 0 62px;font-weight:700}p.Ldt-MediaList-Other-Description{margin:2px 0 2px 62px;font-size:10px;color:#666}.Ldt-MediaList-Now-MediaView{clear:both;width:100%;height:12px;margin:5px 0 0;overflow:hidden;position:relative}.Ldt-MediaList-Other-MediaView{clear:both;width:100%;height:6px;margin:5px 0 0;overflow:hidden;position:relative}.Ldt-MediaList-MediaView-Background{position:absolute;top:0;left:0;width:100%;height:100%;filter:alpha(opacity=50);opacity:.5;background:#999}.Ldt-MediaList-Segment{position:absolute;top:0;height:100%;border-style:none solid;margin-left:-1px;border-color:#fff;border-width:1px}.Ldt-NoteTaking-Text{width:100%;min-height:360px}.Ldt-PlaceholderPlayer{font-size:40px;text-align:center;padding:40px 0;font-weight:bolder;background:#333;color:#fff}.Ldt-Polemic{border-style:solid none;border-color:#ccc;border-width:1px}.Ldt-Polemic-Position{background:#fc00ff;position:absolute;top:0;left:0;margin-left:-1px;width:2px;height:100%}.Ldt-Polemic-TweetDiv{position:absolute}.Ldt-Quiz-Container{position:absolute;height:calc(100% - 4px);top:0;width:calc(100% - 20px);margin:auto;border:1px solid black;font-size:18pt}.Ldt-Quiz-Title{line-height:1;padding-top:10px;text-align:center}.Ldt-Quiz-Header{font-size:12px;color:#000;border-bottom:1px solid green;padding:2px;height:22px}.Ldt-Quiz-Content{height:calc(100% - 82px);overflow-y:auto}.Ldt-Quiz-Footer{height:60px;width:100%;position:absolute;bottom:0;border-top:2px solid black;background-color:#fff}.Ldt-Quiz-Score{display:inline-block;position:absolute;right:20px}.Ldt-Quiz-Index{display:inline-block}.Ldt-Quiz-Image{max-width:100%;max-height:100%}.Ldt-Quiz-Questions{height:calc(100% - 2.5em);margin:10px;padding:10px;border-left:5px solid gray}.quiz-question-block{padding-top:10px}.quiz-resource-block{padding-top:10px;float:right;max-height:100%;height:100%}.quiz-resource-block img{max-height:100%;max-width:100%}.quiz-question-feedback{font-size:15px}.quiz-question-feedback div{display:inline-block;height:100%}.quiz-question-correct-feedback:before,.quiz-question-incorrect-feedback:before{content:"";vertical-align:middle;display:inline-block;width:48px;height:48px}.quiz-question-correct-feedback:before{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAAwEAYAAAC+hqOMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4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G+rYE5aoEz5UJewrd8UyE8QkhICAioU8eYrQlt21ar9t/Qz0+If9NJxJfjUF5YVggNGnqe+7/r1yGgdp3yJ/55XB36xOK5sR4nlVoiAJC1O716QIZmW6Y3g9o/gqMI1neQHKXp1WQyP4gJ5P00OHRlOueGk1v8C7Plr9hkuLJC8PcXW751a+9qZbGdX40apxNfjkNFoUcI8lyrHqfXr73/6cQf+s+/0B9knCBolOJyFUK29gDVwfYifHAcaAjpl0L17yTVoloiJEYAj4mvgB+kq6nleu7PQPzKSYf2CCE+ziJUm7a/Rfz4uJYthaCVhScLwVMvP79atSqe+BfQ/wOcEIIuHOVMONl0cTpkqUPHL2B7V2x82z817OrvGY9w7rmQojsX1oSYskI4mfhxcde19PKC84WnC6Es8YcN+xv+Sd5Jpku1U8pDFG/8/f8t+HNt5+dvUps2tfafbwGcugiwoI9PpU2JrPrD5Cr8W/9RdtWHqMIqAVR9iCqsEkAVVuHfD/9/AGXINSMWNWt0AAAAAElFTkSuQmCC) left top no-repeat}.quiz-question-incorrect-feedback:before{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAAwEAYAAAC+hqOMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcq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yMSUrq2KlmrfLDRLsQLCGhR4+yxJfj8HvoEYJcZ92n/Osn7219B+u7XEBLI54whazxBCtculCyKJ1umcroqulxSm9JlfWIfuwC6ZqG/Nnj4L4ZPteBsi/yoPQiyLpSfYI98FUXWZW5UQtwjfaEcW1vaM5O2XpcEMQvnzDo3XfHx918y1W+xtjt13f28TEm0e7vX6PGH8GAgFq1hPgNyhBfjsOZosdEsoQg9/2j9bPbO3W6yMcY673PlfiVuDboiYW25up4gkZZMoI8LbT3jeDUucKuNtDmP7KOfk5vyNDUii+fgePRkK3hUmd7ONRTfJDOT4DTEtLrMhn9hOAc2hNdUMQv34EwjxC2JnTsdJGPMXa7n1/1GmeD/v41axkTH3cy8eU4nCueKgTrOWdbP+u9Tib+vff9iRbHtQiYO6JMUlk1zbFB/2JoO7ismVUR0PBlsd2TN0DGlZ6BrNIwcKyGwUsg1bL1q4N3N3G+rYE5aoEz5UJewrd8UyE8QkhICAioU8eYrQlt21ar9t/Qz0+If9NJxJfjUF5YVggNGnqe+7/r1yGgdp3yJ/55XB36xOK5sR4nlVoiAJC1O716QIZmW6Y3g9o/gqMI1neQHKXp1WQyP4gJ5P00OHRlOueGk1v8C7Plr9hkuLJC8PcXW751a+9qZbGdX40apxNfjkNFoUcI8lyrHqfXr73/6cQf+s+/0B9knCBolOJyFUK29gDVwfYifHAcaAjpl0L17yTVoloiJEYAj4mvgB+kq6nleu7PQPzKSYf2CCE+ziJUm7a/Rfz4uJYthaCVhScLwVMvP79atSqe+BfQ/wOcEIIuHOVMONl0cTpkqUPHL2B7V2x82z817OrvGY9w7rmQojsX1oSYskI4mfhxcde19PKC84WnC6Es8YcN+xv+Sd5Jpku1U8pDFG/8/f8t+HNt5+dvUps2tfafbwGcugiwoI9PpU2JrPrD5Cr8W/9RdtWHqMIqAVR9iCqsEkAVVuHfD/9/AGXINSMWNWt0AAAAAElFTkSuQmCC) -49px top no-repeat}.Ldt-Quiz-Correct-Answer:before{background:url(data:image/png;base64,iVBORw0KGgo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3AGKvUgF8HaZnDo4Y4E/VXv/nH7AS7Wzh6nL4Y+kyJLe0VdGpjp2tqelfdQcdh1yZFhNLpfk0dlOxDKQn4NskA1U33CkoAEBIgU1xXny1PO0cK3fA7KYpEiAsGzWjXbp8A0qE2v+mRofeas/zFGr1/7qcMVoD0PRIGxHNRJ8GoLuE/B5pmgroMLq8Dxvpdv6Bp4StmQ2Vn6LlA927G3ZRu4Lg9WDN0SHanY3p/aH2HSiKPOasfm2HvyrGqv2mJOlFG+Dbr29B+kFcFwUPzYP6FXlz9erHIlO4MNpfJ19XCf313LlZt8/6pVGOcqDV1JbTtvz/oZHzCf/mlRCprrQCUMfxM8O6FBgkgE1x2I6f451zhviH85chxobtWm1twHZ1Pw5aAx0ZPFr5xmR866NM6oVqqLD19QHWz6Z1uJ+TT+tAK4VuqXBL5iSOBFV64zIbVFnlBH+/zhz9+qp1oVtvpbwXbf0Q2Rfk9lZE8XF/6eWDG2GHCKOSygDb3npNylmcgw2SMfOkJxM5HJ0oJAogSU1FAjJtMmvhfVPiFYBcJj/xsqLFhQxv+itPBBB/wbaeKEeez83psAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTUtMDctMDlUMTQ6MDA6MTMrMDI6MDCsSHTyAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE1LTA3LTA5VDEzOjU5OjUwKzAyOjAwmIZZ+QAAAABJRU5ErkJggg==) -13px top no-repeat}.Ldt-Quiz-Correct-Answer:before,.Ldt-Quiz-Incorrect-Answer:before{content:"";vertical-align:middle;display:inline-block;width:12px;height:12px}.Ldt-Quiz-Submit{margin:10px}.Ldt-Quiz-Submit .Ldt-Quiz-Submit-Skip-Link{float:left}.Ldt-Quiz-Submit-Skip-Link a{text-decoration:none;font-size:16pt}.Ldt-Quiz-Submit .Ldt-Quiz-Submit-Button{float:right}.Ldt-Quiz-Votes{display:none;height:53px;position:relative}.Ldt-Quiz-Votes-Question{font-size:16px;position:absolute;top:2px;left:0}.Ldt-Quiz-Votes-Buttons{position:absolute;bottom:2px;left:0;right:0}.Ldt-Quiz-Votes-Buttons div{display:inline-block;width:33%;text-align:center}.Ldt-Quiz-Vote-Skip-Block{width:30%!important;text-align:right}.Ldt-Quiz-Vote-Skip-Block a{text-decoration:none}.Ldt-Quiz-Overlay{position:absolute;top:0;background-color:#fff;z-index:5;width:100%;height:100%}.Ldt-Pause-Add-Question{background:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='26'%20height='25'%20viewBox='0%200%2026.000001%2025.000001'%20id='svg4208'%20version='1.1'%20inkscape:version='0.48.4%20r9939'%20sodipodi:docname='buzz.svg'%3e%3cdefs%20id='defs4210'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='10.24'%20inkscape:cx='28.406106'%20inkscape:cy='5.347153'%20inkscape:document-units='px'%20inkscape:current-layer='layer1'%20showgrid='false'%20inkscape:window-width='1680'%20inkscape:window-height='1028'%20inkscape:window-x='75'%20inkscape:window-y='24'%20inkscape:window-maximized='0'%20/%3e%3cmetadata%20id='metadata4213'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Calque%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(0,-1027.3622)'%3e%3cg%20id='g3115'%20transform='matrix(0.13764231,0,0,0.14585411,-0.10960999,900.2163)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path4152'%20d='m%2088.762577,966.09408%20a%2064.442296,17.911566%2052.208592%200%200%20-53.76267,-40.24111%2064.442296,17.911566%2052.208592%200%200%2025.08146,61.71245%2064.442296,17.911566%2052.208592%200%200%2053.763283,40.24068%2064.442296,17.911566%2052.208592%200%200%20-25.082073,-61.71202%20z'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:2.23528218;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='517.45343'%20x='875.27667'%20height='20.941669'%20width='15.681897'%20id='rect4311'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='519.57574'%20x='762.16467'%20height='19.048025'%20width='13.667582'%20id='rect4309'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20y='518.66687'%20x='889.6543'%20height='0.94452941'%20width='1.1967648'%20id='rect4313'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-3'%20d='m%20113.50338,1028.0563%209.89486,-7.4107%208.37707,-6.2729'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='18.476786'%20sodipodi:rx='64.438011'%20sodipodi:cy='516.2522'%20sodipodi:cx='826.67413'%20d='m%20891.11214,516.2522%20c%200,10.20444%20-28.84988,18.47678%20-64.43801,18.47678%20-35.58813,0%20-64.43801,-8.27234%20-64.43801,-18.47678%200,-10.20445%2028.84988,-18.47679%2064.43801,-18.47679%2035.58813,0%2064.43801,8.27234%2064.43801,18.47679%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='18.476786'%20rx='64.438011'%20cy='516.2522'%20cx='826.67413'%20id='path4150'%20style='fill:%23666666;stroke:%23000000;stroke-width:2.23541927;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156'%20d='m%2035.104607,925.77201%209.7327,-7.28939%208.23979,-6.17012'%20style='fill:none;stroke:%23000000;stroke-width:2.23528218;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='8.1607332'%20sodipodi:rx='36.851326'%20sodipodi:cy='517.20477'%20sodipodi:cx='827.2381'%20d='m%20864.08942,517.20477%20c%200,4.50705%20-16.4989,8.16074%20-36.85132,8.16074%20-20.35243,0%20-36.85133,-3.65369%20-36.85133,-8.16074%200,-4.50705%2016.4989,-8.16073%2036.85133,-8.16073%2020.35242,0%2036.85132,3.65368%2036.85132,8.16073%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='8.1607332'%20rx='36.851326'%20cy='517.20477'%20cx='827.2381'%20id='path4317'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:%23000000;stroke-width:1.30889452;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='907.08124'%20x='233.80257'%20height='3.9420969'%20width='24.027122'%20id='rect5190'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='906.15369'%20x='235.03923'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='905.3421'%20x='236.39369'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-1'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='904.47247'%20x='237.51262'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='903.92175'%20x='237.95427'%20height='4.0000691'%20width='2.1789296'%20id='rect5190-9-4-4'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='908.00873'%20x='233.77309'%20height='2.5362754'%20width='18.712299'%20id='rect5190-9-0'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4'%20d='m%2069.344687,935.29586%2010.13887,-6.16215%208.58357,-5.21581'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='954.03864'%20x='285.80243'%20height='3.3044052'%20width='2.9445002'%20id='rect5279'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='948.15442'%20x='283.03458'%20height='7.8841949'%20width='6.0067806'%20id='rect5279-2'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='951.83563'%20x='286.62689'%20height='2.3188813'%20width='4.7700906'%20id='rect5279-2-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='953.51678'%20x='285.83188'%20height='1.971049'%20width='4.4167504'%20id='rect5279-2-3-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cpath%20sodipodi:nodetypes='ccc'%20inkscape:connector-curvature='0'%20id='path4156-4-5'%20d='m%20114.62982,993.43082%209.47784,-7.0986%208.02405,-6.00861'%20style='fill:none;stroke:%23000000;stroke-width:1.30881441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3crect%20transform='matrix(0.98439737,0.17595972,-0.17595972,0.98439737,0,0)'%20y='909.45807'%20x='241.51714'%20height='4.2899289'%20width='24.027122'%20id='rect5190-9-3'%20style='fill:%23e6e6e6;fill-opacity:1;stroke:none;display:inline'%20/%3e%3cellipse%20sodipodi:ry='11.1082'%20sodipodi:rx='36.846481'%20sodipodi:cy='495.24258'%20sodipodi:cx='824.92773'%20d='m%20861.77422,495.24258%20c%200,6.13489%20-16.49674,11.1082%20-36.84649,11.1082%20-20.34975,0%20-36.84648,-4.97331%20-36.84648,-11.1082%200,-6.13489%2016.49673,-11.1082%2036.84648,-11.1082%2020.34975,0%2036.84649,4.97331%2036.84649,11.1082%20z'%20transform='matrix(0.61175214,0.7910495,-0.80052922,0.59929372,0,0)'%20ry='11.1082'%20rx='36.846481'%20cy='495.24258'%20cx='824.92773'%20id='path4351'%20style='fill:%23800000;fill-opacity:1;stroke:%23000000;stroke-width:0.924097;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline'%20/%3e%3cpath%20id='path4564'%20d='m%2076.182057,895.08255%20c%2028.049053,-21.23075%2069.407013,-14.64926%2092.435693,14.54291%2023.02867,29.19218%2019.04627,70.22994%20-9.00275,91.46064%20-27.96073,21.2524%20-111.393663,-84.75115%20-83.432943,-106.00355%20z'%20stroke-miterlimit='10'%20style='fill:%23b3b3b3;fill-opacity:1;stroke:%23000000;stroke-width:4.48099518;stroke-miterlimit:10;stroke-dasharray:none;display:inline'%20inkscape:connector-curvature='0'%20/%3e%3cg%20id='flowRoot4822'%20style='font-size:40px;font-style:normal;font-weight:normal;line-height:125%25;letter-spacing:0px;word-spacing:0px;fill:%23000000;fill-opacity:1;stroke:none;font-family:sans-serif'%20transform='translate(2.4859224,821.53368)'%3e%3cpath%20inkscape:connector-curvature='0'%20id='path6077'%20style='font-size:90.00000763px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Franklin%20Gothic;-inkscape-font-specification:Franklin%20Gothic'%20d='m%20123.24902,138.67423%208.9209,0%200,11.16211%20-8.9209,0%200,-11.16211%20z%20m%208.65723,-6.45996%20-8.39355,0%200,-6.76758%20q%200,-4.43848%201.23047,-7.29492%201.23046,-2.85645%205.18554,-6.63575%20l%203.95508,-3.91113%20q%202.50488,-2.3291%203.60352,-4.39453%201.14258,-2.06543%201.14258,-4.218753%200,-3.911133%20-2.9004,-6.328125%20-2.85644,-2.416992%20-7.60254,-2.416992%20-3.47167,0%20-7.42675,1.538086%20-3.91114,1.538086%20-8.17383,4.482422%20l%200,-8.26172%20q%204.13086,-2.504883%208.34961,-3.735351%204.26269,-1.230469%208.78906,-1.230469%208.08594,0%2012.96387,4.262695%204.92187,4.262696%204.92187,11.250001%200,3.339846%20-1.58203,6.372076%20-1.58203,2.98828%20-5.53711,6.76757%20l%20-3.86718,3.7793%20q%20-2.06543,2.06543%20-2.94434,3.25195%20-0.83496,1.14258%20-1.18652,2.24122%20-0.26368,0.92285%20-0.39551,2.24121%20-0.13184,1.31836%20-0.13184,3.60351%20l%200,5.40528%20z'%20/%3e%3c/g%3e%3crect%20y='923.16681'%20x='45.770191'%20height='100.00001'%20width='15.000001'%20id='rect4834'%20style='fill:%23ff0000;fill-opacity:1;stroke:none'%20/%3e%3crect%20transform='matrix(-0.00595846,-0.99998225,0.99997419,-0.00718432,0,0)'%20y='-2.488034'%20x='-980.66632'%20height='99.91748'%20width='14.282415'%20id='rect4834-6'%20style='fill:%23ff0000;fill-opacity:1;stroke:none'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e") no-repeat;background-position:center;background-size:contain;position:absolute;bottom:40px;right:0;height:15%;width:15%;max-width:64px;max-height:64px;z-index:10}.Ldt-Quiz-Result{position:absolute;height:0px;bottom:0;left:0;right:0;background:#fde073;text-align:center;line-height:2.5;overflow:hidden;-webkit-box-shadow:0 0 5px black;-moz-box-shadow:0 0 5px black;box-shadow:0 0 5px #000}input[type=button].Ldt-Quiz-Button{border:none;font-size:18pt;text-align:center;background-color:#5bce5b;color:#fff;cursor:pointer}input[value=Non].Ldt-Quiz-Button{background-color:#f86060}input.quiz-question:checked+.quiz-question-label{text-decoration:underline}.Ldt-QuizCreator-Ui{width:100%;padding:10px}.Ldt-QuizCreator-Form{width:100%}.Ldt-QuizCreator-Question-Area,.Ldt-QuizCreator-Resource-Area{width:calc(100% - 20px)}.Ldt-QuizCreator-Questions-Block{width:100%}.Ldt-QuizCreator-Questions-Answer{margin-top:5px;border-top:1px solid black}.Ldt-QuizCreator-Questions-Answer div{display:inline-block;vertical-align:middle}.Ldt-QuizCreator-Questions-Answer-Content{width:calc(100% - 80px)}.Ldt-QuizCreator-Questions-Answer-Content input,.Ldt-QuizCreator-Questions-Answer-Content textarea{width:calc(100% - 20px)}.Ldt-QuizCreator-Questions-Answer-Time input{width:60px}.Ldt-QuizCreator-Questions-Answer-Delete{width:15px;height:15px}.Ldt-QuizCreator-Remove{width:15px;height:15px;margin-left:8px;cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAD9SURBVBgZBcFLLkNRAADQc1/fU6qkhFRMMNIQn8TUQCJWYBE2YBkWYQWMJIZmNuAXCSoGFUGIInJf33VOSAAAAIAcgLOFt3079flaEdTS50M6nT7YeggJwPFle6nhAoVhc370rnaXcwBSp62GTdxoGdPrkAPQD5OSbRFr6oLvjByA53CqY9YUvjy68YQcgELTuTd/khENbQk5ANGqFUSFnq6WW2QA5Op4VuhreJVEZACUAKiJkogMgIEKANFARAZAKQKolColMgA+f7vVkBkRSeYjvf6QAfB1cnnXNWTUhHHrXuLoESEBYO/aYjNUSqX3snk/2DjshwQAAAD4B9GUWR0G4scKAAAAAElFTkSuQmCC)}input.quiz-question-edition{display:none}input.quiz-question-edition[type=radio]+label,input.quiz-question-edition[type=checkbox]+label{height:12px;width:24px;display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAYAAAB4MH11AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wkIDgo0Nt1/8QAAA4BJREFUOMuFlE9sVFUYxc9997735k0HBtspYzsh0GKNNUNrS6emIa0LNGEnXU1igYK1DViJiSaQqDExQlLjAqMRwYy1htkYF1iMEQ2awEbIUGpKWw0G5I9lCmOH6XRm+u57948Lu5CF9WzO7jsn+fI7BKtJr3geJiQEAI31wFjNGmgNMMuwKSOeBjQBAAKiFSwltQcCvTu7CLJqwDiw66td0aWlpVcZYxfi8fgPp5qPqOsbunH1+O228Hr7pVLeG3vyrc0ZaGD26PVEqMbaV8x5n8Xffmziyx2XVwn4Hth/er8zNzf3TqFQeI0xlo1EIgfra89/PZALttVucj4OrGNdvCgy924sHwCAaKPzib2WJfiiuJS7tTwcf6FuggFAX1/fFkKITp9KT+MmgFlg+Mwwzd7PDrmu+7JhGJQxpgzDKDJnNw1UnR4gVHW5JQ+UkkSkzhwFAIPqFrfkgRh42goaL6YP/HaVJpPJloWFhROVSiW59Zut12YGZ27icaChoaGXcz6ilHrEtu0H4XD4cHNz83jrlrQKXtY5aPUUtI4JLgHoqIaO+lxCeArlgsgU8+LoM8maO7SpqenNcrncq7WuJ4T0tJ9pn29tba0WQnygtd5kmqYbDAbfi8ViJ0eeH5F9r9voeK7q7q1f+RWiVBekjAouIbiE9CSWl+RUISeHnkgEJs6l82CO45xUStULIXYSQhqklB8RQoqU0s2UUk0pHQuFQh8e6z3mowsI9jgIztyDI6sIrWj4XEOtvM0AQCUhAWmQqtn7cGrXgU4fmc5tu7PtAiEkTCmNM8bWMsaqGWNgjH1rWdah1J7UX+gBfuquw7PhHK48CHXahjjuC9HmuwKSK0guIbiAkjJqatX+55L5S3cof9fATmB03+h8KBQ65DjO+7Ztl23bhmVZE6ZpvjHaPzqHR1cqEuCVjYOmEKK/XOIdlaIHXvLhunrKdfUUL/moFD2US7xDCNH/XTlmUQDA58DkiUneOdV5kVJappRGCCGHUwdTF2EAaPnn/t6Na9By7bzyrGBWerJFc3+DBM1IFhiSoOPaE23aEzEB9rNg9rvO4vzcwxxkgMFPB20AMa317dRQSqDzYTzObW+E/ccN+LU1bcT3BsDML1g2nwEAUVedgPD3atNKmbmFSd7Q+D8k/4d+3NEEEABK29Da+9eoEBBigRAOANvP/o6/AcJtlraS7h2/AAAAAElFTkSuQmCC);cursor:pointer;content:"Mauvaise"}input.quiz-question-edition[type=radio]:checked+label,input.quiz-question-edition[type=checkbox]:checked+label{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAYAAAB4MH11AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUU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EBfaq1SSsUzEwMewLpTF/kPcO1Z+ceMgygAAAAASUVORK5CYII=);content:"Bonne"}.Ldt-Segments-Segment{position:absolute;margin-left:-1px;border:1px solid #ffffff}.Ldt-Segments-Position{background:#fc00ff;position:absolute;top:-1px;left:0;margin-left:-1px;width:2px;bottom:-1px;z-index:80000}.Ldt-Slice{border-radius:0;border:none;padding:0;margin:12px 0;background:#b6b8b8;height:8px}.Ldt-Slice .ui-slider-handle{width:7px;height:20px;top:0;border:none;margin:0;padding:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAUCAYAAAC9BQwsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OEU0MUM0MTdDMUY1MTFFMUE4NTFFQjU4QzM5RDBBNEEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OEU0MUM0MThDMUY1MTFFMUE4NTFFQjU4QzM5RDBBNEEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4RTQxQzQxNUMxRjUxMUUxQTg1MUVCNThDMzlEMEE0QSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4RTQxQzQxNkMxRjUxMUUxQTg1MUVCNThDMzlEMEE0QSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkrDrbUAAABxSURBVHjaYvz//z8DOkhPT/8fPicAzF6ZsgFEMc6cORNFDRMDmWBUI6Ua0aNiqPkRlLyAGK8idHmQHpiNBDUja0J3KjE2/8flR5yakTXhCpz/xIhh08hIjBgTEZqwyjERqQlDDRO6ALZ0iSYOVgsQYABOFiWWZanvhQAAAABJRU5ErkJggg==);border-radius:0;cursor:pointer}.ui-slider-handle.Ldt-Slice-left-handle{margin-left:-7px}.ui-slider-handle.Ldt-Slice-right-handle{margin-left:0;background-position:-7px 0}.Ldt-Slice .ui-slider-range{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTYzQzBBM0ZDMUY1MTFFMUEwQTE5QzRENDgzNkZGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTYzQzBBNDBDMUY1MTFFMUEwQTE5QzRENDgzNkZGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1NjNDMEEzREMxRjUxMUUxQTBBMTlDNEQ0ODM2RkY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1NjNDMEEzRUMxRjUxMUUxQTBBMTlDNEQ0ODM2RkY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PskDa60AAAAfSURBVHjaYnzx4sVVqXMMDAwsEEr7mRELhALyAQIMALCHCn9r2oMCAAAAAElFTkSuQmCC)}.Ldt-SlidePreview-Container{background-color:#999;left:0;right:0;height:36px;padding-left:4px;overflow:hidden}.Ldt-SlidePreview-Slides{display:-webkit-inline-flex;display:inline-flex;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;overflow-x:hidden;left:0;right:0;height:36px;padding:12px 0 0;margin:0;overflow-y:hidden}.Ldt-SlidePreview-Item{display:inline-block;width:20px;height:12px;background-color:#fff;transition:transform .2s ease-in-out}.Ldt-SlidePreview-Item img{max-width:100%;max-height:100%}.Ldt-SlidePreview-Item:hover{-webkit-transform:scale(2.8);z-index:4}.Ldt-SlidePreview-Item:hover+.slidepreviewitem{-webkit-transform:scale(1.8);z-index:1}.Ldt-Slider{border:none;border-radius:0;padding:0;margin:0;background:#b6b8b8}.Ldt-Slider .ui-slider-handle{border-radius:8px;top:-2px;background:#fc00ff;border:1px solid #ffffff}.Ldt-Slider .ui-slider-range{background:#747474}.Ldt-Slider-Time{position:absolute;bottom:32px;background:#ffffc0;color:#000;border-radius:3px;z-index:8;font-size:10px;width:34px;border:1px solid #999999;padding:1px;margin-left:-20px;display:none;text-align:center;font-weight:700;pointer-events:none}.Ldt-SlideVideoPlayer-panel{display:-webkit-flex;display:flex;width:50%;float:left}.Ldt-SlideVideoPlayer{width:100%;max-width:100%;height:100%;max-height:100%}.Ldt-SlideVideoPlayer-pip-main{position:relative;width:100%;height:100%;top:0;left:0;right:0;bottom:0;z-index:1}.Ldt-SlideVideoPlayer-pip-pip{position:absolute;width:30%;height:30%;right:2px;bottom:2px;z-index:3}.Ldt-SlideVideoPlayer h2{display:none}.Ldt-SlideVideoPlayer-pip-menu{position:absolute;top:0;right:0;z-index:10;display:none}.Ldt-SlideVideoPlayer-pip-pip:hover .Ldt-SlideVideoPlayer-pip-menu{background-color:#000;opacity:.5;display:inline-block}.Ldt-SlideVideoPlayer-pip-menu-toggle{width:18px;height:18px;cursor:pointer;background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='5.0797176mm'%20height='5.0799999mm'%20viewBox='0%200%2017.998999%2018'%20id='svg19931'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='pip_toggle.svg'%3e%3cdefs%20id='defs19933'%20/%3e%3cg%20inkscape:label='Layer%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(-245.28621,-280.50506)'%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='23.586,59.714%2022.193,57.364%2020.805,59.714%20'%20id='polygon13969'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='22.971,59.364%2021.417,59.364%2022.496,57.544%2022.193,57.364%2021.894,57.544%2022.193,57.364%2021.894,57.187%2020.19,60.063%2024.199,60.063%2022.193,56.679%2021.894,57.187%2022.193,57.364%2021.894,57.544%20'%20id='polygon13971'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='20.805,66.874%2022.193,69.224%2023.586,66.874%20'%20id='polygon13973'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='21.417,67.224%2022.971,67.224%2021.894,69.044%2022.193,69.224%2022.496,69.044%2022.193,69.224%2022.496,69.399%2024.199,66.522%2020.19,66.522%2022.193,69.909%2022.496,69.399%2022.193,69.224%2022.496,69.044%20'%20id='polygon13975'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='25.818,64.685%2028.168,63.294%2025.818,61.903%20'%20id='polygon13977'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='26.168,64.071%2026.168,62.517%2027.988,63.595%2028.168,63.294%2027.988,62.993%2028.168,63.294%2028.347,62.993%2025.468,61.29%2025.468,65.298%2028.855,63.294%2028.347,62.993%2028.168,63.294%2027.988,62.993%20'%20id='polygon13979'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='18.659,61.903%2016.31,63.294%2018.659,64.685%20'%20id='polygon13981'%20/%3e%3cpolygon%20transform='translate(232.09221,226.21106)'%20style='fill:%23ffffff'%20points='18.309,62.517%2018.309,64.071%2016.488,62.993%2016.31,63.294%2016.488,63.595%2016.31,63.294%2016.132,63.595%2019.009,65.298%2019.009,61.29%2015.624,63.294%2016.132,63.595%2016.31,63.294%2016.488,63.595%20'%20id='polygon13983'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20style='fill:%23ffffff'%20d='m%20254.28521,298.00506%200,0.5%20c%204.965,-0.002%209,-4.035%209,-9%200,-4.965%20-4.035,-9%20-9,-9%20-4.963,0%20-8.998,4.035%20-8.999,9%2010e-4,4.965%204.036,8.998%208.999,9%20l%200,-0.5%200,-0.5%20c%20-2.206,0%20-4.202,-0.896%20-5.653,-2.346%20-1.45,-1.451%20-2.346,-3.447%20-2.346,-5.654%200,-2.207%200.896,-4.203%202.346,-5.654%201.451,-1.449%203.448,-2.346%205.653,-2.346%202.207,0%204.205,0.896%205.654,2.346%201.45,1.451%202.347,3.447%202.347,5.654%200,2.207%20-0.896,4.203%20-2.347,5.654%20-1.449,1.449%20-3.447,2.346%20-5.654,2.346%20l%200,0.5%200,0%20z'%20id='path13985'%20/%3e%3c/g%3e%3c/svg%3e")}.Ldt-Social a{display:inline-block;width:24px;height:24px;margin:2px 0 0 2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAwCAYAAADab77TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVz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2bGnrGiajAUEj5/kEIeXybXe4paM0k4s2ieazqVgEmkjgWGm969YoPXdyQtga4pTevXLzebWxb7mG0zo+1aWeJ3iGzdghYCU73xRmi5eXDy86ETWUmThoveHgZngLltSZeN9Wo4GBJ60oVf4dc7KJn05eDifTkhBtJx1XAoKEJuCn4fp1T1zsBGDKT7OnNdKQgyn61q4cLinXarcYzuWZHVvkEosNf4JbwXpUU0fBIKRY4mTURTph1WFccraJ+imSBBv9l3sB62lYZtW2iNpmGZRKAUryuCX98WN/l9WsZmZ//ht3zBcLMaCObLZMUJpUNuQUofPIiWFSsRufpqpDllGI54TPsERus9QOBpsMtxaW7uJ6Fg7lG7Pt5MgMuQQXwVAHO3CLlhJaR9kp8TOKom6pqhBPI9zVMHmfbNCg9ZGjXykTY5z9hW7eDylIM7AgrypCUY5OW58dmv4P35ETxp+QrNKWNLFzmue1PAp+cJ0Q/BpF/sO9IC0elK5KMvGQshbH5tbSS4ZvqcEU+1t+yOhWfOXGRHo7cpwVAeLaDbo4GB30HsMxT6TRjBoOIrL08YnCLTeqteC0Fs3NXyQu/7ixY8SVJl2nnqIjdu34aAmidd4CDair0Sl+uKgP/98LTcJ4XiN129dBH5jNugBL3rD6omx9JjUdQUeF8UL37i/wkwAAivYyD5whznAAAAAElFTkSuQmCC)}.Ldt-Social-Url-Container{display:inline-block;width:24px;height:24px;margin:2px 0 0 2px;position:relative}a.Ldt-Social-Url{margin:0;background-position:-96px 0}a.Ldt-Social-Url:hover{background-position:-96px -24px}.Ldt-Social-UrlPop{position:absolute;left:20px;top:-2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAAAeCAYAAAA4q2LPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG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z8LKQZePw/QjJ7OIhIXI7X3NR13WzrRLZN27bHq28upez7fr5kmiaM8R+5DrvzshqlxDiEazEfajmVEuMErsV8WdatUmKcpbLri6mUGP+byq4rplJiHKaySolxmMoqJcZhKquUGIeprFJiHKaySolxmMoqJcaBKlt+HIbBJmEcprJnUxPjvKey5cXZx8vktGEYZzyVLZ+a3C3rmdZiHPRU9ns5aS3G+6vsj5PT5mG8n8rSWozn8HdlaS3GuZ990VqMQ08woLUYB6ksrcU4VGVpLcY7qexpZTE/lvVWD6Ut79Y+jePohF6RkJPYm9ro+3ptbKHIZinD77VcT7+88WtyVr6xlyKb5b326nDtfyU0tZQmpsh2KaWcyvVTgAEAa0hxoXypi/8AAAAASUVORK5CYII=);padding:3px 0 0 12px;width:218px;height:27px;display:none}.Ldt-Social-Input,.Ldt-Social-CopyBtn{font-size:11px;margin:1px;border:1px solid #ccc;height:16px;padding:1px;border-radius:2px;display:inline-block}.Ldt-Social-Input:hover,.Ldt-Social-CopyBtn.hover{border-color:#8080ff}.Ldt-Social-Input{width:200px}.Ldt-Social-CopyBtn{font-weight:700;width:50px;text-align:center;background:#f0f0ff}.Ldt-Social-CopyBtn.hover{background:#ffe0a0}.Ldt-Social-CopyBtn.active{background:#ff8000}a.Ldt-Social-Twitter{background-position:0 0}a.Ldt-Social-Twitter:hover{background-position:0 -24px}a.Ldt-Social-Fb{background-position:-24px 0}a.Ldt-Social-Fb:hover{background-position:-24px -24px}a.Ldt-Social-Gplus{background-position:-48px 0}a.Ldt-Social-Gplus:hover{background-position:-48px -24px}a.Ldt-Social-Mail{background-position:-72px 0}a.Ldt-Social-Mail:hover{background-position:-72px -24px}.Ldt-Tagcloud-Container{border:1px solid #b7b7b7;padding:1px;margin:0}ul.Ldt-Tagcloud-List{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1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V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);padding:5px;margin:0;list-style:none;text-align:center}li.Ldt-Tagcloud-item{display:inline-block;margin:2px;cursor:pointer}li.Ldt-Tagcloud-item:hover{color:#09f}.Ldt-Tagcloud-active{color:#c000c0;padding:0;margin:0}.Ldt-Tooltip{position:absolute;height:0;width:0;z-index:100000}.Ldt-Tooltip-Main{position:absolute;bottom:0;left:-96px}.Ldt-Tooltip-Corner-NW,.Ldt-Tooltip-Corner-NE,.Ldt-Tooltip-Corner-SW,.Ldt-Tooltip-Corner-SE{position:absolute;width:6px;height:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzE5NkFCNTU0OUU3MTFFMkFFQTc4RDM0NDVCMkY0N0YiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzE5NkFCNTY0OUU3MTFFMkFFQTc4RDM0NDVCMkY0N0YiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozMTk2QUI1MzQ5RTcxMUUyQUVBNzhEMzQ0NUIyRjQ3RiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozMTk2QUI1NDQ5RTcxMUUyQUVBNzhEMzQ0NUIyRjQ3RiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtKFM/sAAACvSURBVHjalJK/CsIwEIeTaAsd6uBo1z6VD+hTuTjU0cEKFVOJ35WLHKJgfvA1cHe5f6lPKbkSreXjEccKKqizHc3wgAhPkqfskOAGNrCFVu0jXOAKkyTIFyoN3kEPndoHOJpq7wu1Zu6perA90+2e4w43qRLMLK3JbNWpb0keXKGC6W/Unj81qG9eWpR3oM9GZ/g19Fm2ReyUh466OqcDnr6sNdoKfz+cL/01XgIMAE8OQeqIbiaGAAAAAElFTkSuQmCC)}.Ldt-Tooltip-Corner-NW,.Ldt-Tooltip-Corner-SW{left:0}.Ldt-Tooltip-Corner-NE,.Ldt-Tooltip-Corner-SE{right:0}.Ldt-Tooltip-Corner-NW,.Ldt-Tooltip-Corner-NE{top:0}.Ldt-Tooltip-Corner-SW,.Ldt-Tooltip-Corner-SE{bottom:10px}.Ldt-Tooltip-Corner-NW{background-position:top left}.Ldt-Tooltip-Corner-NE{background-position:top right}.Ldt-Tooltip-Corner-SW{background-position:bottom left}.Ldt-Tooltip-Corner-SE{background-position:bottom right}.Ldt-Tooltip-Border-Top,.Ldt-Tooltip-Border-SW,.Ldt-Tooltip-Border-SE{position:absolute;height:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMCAYAAACji9dXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QTJFRDU1NTg0OUQ4MTFFMjk0NjFDMzA0MTA3OTUzODQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QTJFRDU1NTk0OUQ4MTFFMjk0NjFDMzA0MTA3OTUzODQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBMkVENTU1NjQ5RDgxMUUyOTQ2MUMzMDQxMDc5NTM4NCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBMkVENTU1NzQ5RDgxMUUyOTQ2MUMzMDQxMDc5NTM4NCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PpbbSR4AAAAsSURBVHjaYvj//z8DCEgwAQl9EOHBABT7D2IxIAgQ6GcGkSDiK0gJA0CAAQB1Kwwa1IaeSgAAAABJRU5ErkJggg==)}.Ldt-Tooltip-Border-Top{left:6px;right:6px}.Ldt-Tooltip-Border-SW,.Ldt-Tooltip-Border-SE{bottom:10px;background-position:bottom}.Ldt-Tooltip-Border-SW{left:6px}.Ldt-Tooltip-Border-SE{right:6px}.Ldt-Tooltip-Tip{position:absolute;height:16px;width:22px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAYAAAAS7Y8mAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2Jl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8RZzx9oJ9nxOlisXhDj1Oh1izRM4fDYdxnihhykIsa1MKDeannT4yebgaDwZL6645EIodms1mkUysYxd3RCgQCV9GKTCbTKJVKxyQ3iY/EN2LJszleMKFHtLLZ7JPtCOLGfzcF29FCLmpYLTwWPzy3YDoIC3GDuONyuR72ej1c4GY4HE7ptvsAe2iIIQe5rAa1wk+/HXMNcY24SdyLx+Mn1IY1jNrt9hBgDw0x5LBc1Gh+8doxxusoEi7iFnE/n8+fwgyzDbCHhhjLcbEabq8xM8ekmIgAcZsu6kGj0Zhs2MIeGmIsB7n8BZ9d4VxLJOKIuBsOhwv4BwTYQ2MxabcFWzR7xhSjJxOfibe1Wk0pFot43APaP6OvDywms9wL67sAAwC4H7Q69+87oAAAAABJRU5ErkJggg==);bottom:0}.Ldt-Tooltip-Border-Left,.Ldt-Tooltip-Border-Right{position:absolute;width:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAABCAYAAADq6085AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OURDMTUwMEQ0OUQ4MTFFMjlDOTM5OUJBMDZDODRERTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OURDMTUwMEU0OUQ4MTFFMjlDOTM5OUJBMDZDODRERTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5REMxNTAwQjQ5RDgxMUUyOUM5Mzk5QkEwNkM4NERFNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5REMxNTAwQzQ5RDgxMUUyOUM5Mzk5QkEwNkM4NERFNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtA8bAYAAAAgSURBVHjaYvj//z8DEEgAsTsQ9/9HAyAxqJwEiAsQYABG9RfHbF4W+AAAAABJRU5ErkJggg==);top:6px;bottom:16px}.Ldt-Tooltip-Border-Left{left:0;background-position:left}.Ldt-Tooltip-Border-Right{right:0;background-position:right}.Ldt-Tooltip-Inner{min-height:30px;max-height:140px;width:180px;overflow:hidden;margin:6px 6px 16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAYAAAAp8ov1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6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.Ldt-Tooltip-Color{float:left;margin:8px 2px 2px 8px;width:10px;height:10px}.Ldt-Tooltip-AltColor{float:left;margin:2px 2px 2px 3px;width:10px;height:10px}.Ldt-Tooltip img{max-width:140px;max-height:80px;margin:2px 20px}.Ldt-Tooltip p{margin:6px 8px;font-size:12px;line-height:14px}.Ldt-Transcript-Annotation{margin-right:.5em}.Ldt-Transcript-Annotation:hover{background-color:#bbb}.Ldt-Transcript-Annotation.active{background-color:#ddd}.Ldt-Tweet-Widget{border:1px solid #b7b7b7;padding:1px;margin:0}.Ldt-Tweet-Widget a{color:#0068c4}.Ldt-Tweet-Widget a:hover{color:#036}.Ldt-Tweet-Inner{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUMyMDk2RTQ5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUMyMDk2RTU5NTI4MTFFMUI2NkM4REE1QzZCNzhFMjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzIwOTZFMjk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzIwOTZFMzk1MjgxMUUxQjY2QzhEQTVDNkI3OEUyOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjITQJAAAAAaSURBVHjaYnjx4sV/MGCAUEA+A4QCkgABBgCHdxoXmXHxVQAAAABJRU5ErkJggg==);padding:5px;margin:0;min-height:50px}.Ldt-Tweet-PinClose-Buttons{float:right}.Ldt-Tweet-PinClose-Buttons a{display:inline-block;width:17px;height:17px;margin:2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAABECAYAAADk6ueFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA69pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczL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uE4z8iC8wKqbFwMiP+gKjQuoHjIrpb50YUTnvV0+MtJZPjP4YMPpPgAEAe6usJmPTw18AAAAASUVORK5CYII=)}a.Ldt-Tweet-Pin{background-position:0 -17px}a.Ldt-Tweet-Pin:hover,a.Ldt-Tweet-Pin.active{background-position:-17px -17px}a.Ldt-Tweet-Pin.active:hover{background-position:0 -17px}a.Ldt-Tweet-Close:hover{background-position:-17px 0}.Ldt-Tweet-AvatarContainer{float:left;width:48px;height:48px;margin:2px 4px 2px 0}.Ldt-Tweet-Avatar{border:none;width:48px;height:48px}.Ldt-Tweet-Inner h3{margin:2px 0 5px 52px;font-size:14px}a.Ldt-Tweet-ScreenName{text-decoration:none}a.Ldt-Tweet-ScreenName:hover{text-decoration:underline}p.Ldt-Tweet-Contents{margin:5px 0 5px 52px;font-size:12px}.Ldt-Tweet-Bottom{margin:5px 0 0;font-size:12px;text-align:right}.Ldt-Tweet-Time{display:inline-block}.Ldt-Tweet-Bottom a{display:inline-block;margin-left:12px;text-decoration:none}.Ldt-Tweet-Bottom a:hover{text-decoration:underline}.Ldt-Tweet-Icon{display:inline-block;width:16px;height:16px;margin:0 2px -2px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAQCAYAAADeWHeIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnM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Y4xjnkW9T/g3a4Adtyr/BKtchuPwkxPtdou/tmj2OcR75Tq1f3Ev+2u6ATKYETnIEmRLw1xfKQMVCMAl8gKUXLODHQmWgAt9oxXnAPxKqAF6AD8BNB1BgWPKBxS5DfxtLQ7/fjxa8ozoPAPwruF9j+CTcH4H+IZaGDJ8QzwP4fwH7c+2vGgJp7e2Bh2QzniSsMwLf9dBTl2261pAlBzu+ROOd9W7+Wy/zyaCTn0GoAHEnYUByrh+0CwMgnMDp6ekeXC6gsJjbRo+hZTKZHl3XAzZ4DfAQxMkTwMUZHi1uCPCPAa8pQ0De0A7+9a2Dq39y4+5ZrA9DlTCUPfY8hnmtlGPtSiVaCdor/A1sswkxdvwgUf/9u8DnPYDd3z8Z/zJ7gP8FGADQ6H0Wzotr+QAAAABJRU5ErkJggg==)}.Ldt-Tweet-Retweet .Ldt-Tweet-Icon{background-position:-80px 0}.Ldt-Tweet-Retweet:hover .Ldt-Tweet-Icon{background-position:-96px 0}.Ldt-Tweet-Reply:hover .Ldt-Tweet-Icon{background-position:-16px 0}
--- a/web/res/metadataplayer/LdtPlayer-core.js	Sat Oct 19 01:42:58 2024 +0200
+++ b/web/res/metadataplayer/LdtPlayer-core.js	Tue Oct 22 08:53:02 2024 +0200
@@ -22,9 +22,9 @@
    *  
    *  The fact that you are presently reading this means that you have had
    *  knowledge of the CeCILL-C license and that you accept its terms.
-   *  metadataplayer - version 0.1.1
+   *  metadataplayer - version 0.2
   */
-(function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.MetadataPlayer=e())})(this,function(){"use strict";var $m=Object.defineProperty;var Lm=(t,e,n)=>e in t?$m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Fi=(t,e,n)=>Lm(t,typeof e!="symbol"?e+"":e,n);const style={},global$1=globalThis||void 0||self;var commonjsGlobal$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getAugmentedNamespace(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function o(){return this instanceof o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var u=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,u.get?u:{enumerable:!0,get:function(){return t[o]}})}),n}var jquery={exports:{}};/*!
+(function(n,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(n=typeof globalThis<"u"?globalThis:n||self,n.MetadataPlayer=e())})(this,function(){"use strict";var Rm=Object.defineProperty;var Lm=(n,e,o)=>e in n?Rm(n,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[e]=o;var Or=(n,e,o)=>Lm(n,typeof e!="symbol"?e+"":e,o);const style$1={},global$1=globalThis||void 0||self;var commonjsGlobal$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function getAugmentedNamespace(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var o=function l(){return this instanceof l?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};o.prototype=e.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(n).forEach(function(l){var t=Object.getOwnPropertyDescriptor(n,l);Object.defineProperty(o,l,t.get?t:{enumerable:!0,get:function(){return n[l]}})}),o}var jquery={exports:{}};/*!
  * jQuery JavaScript Library v3.7.1
  * https://jquery.com/
  *
@@ -33,20 +33,20 @@
  * https://jquery.org/license
  *
  * Date: 2023-08-28T13:37Z
- */(function(t){(function(e,n){t.exports=e.document?n(e,!0):function(o){if(!o.document)throw new Error("jQuery requires a window with a document");return n(o)}})(typeof window<"u"?window:commonjsGlobal$1,function(e,n){var o=[],u=Object.getPrototypeOf,l=o.slice,m=o.flat?function(X){return o.flat.call(X)}:function(X){return o.concat.apply([],X)},y=o.push,E=o.indexOf,C={},k=C.toString,A=C.hasOwnProperty,D=A.toString,P=D.call(Object),R={},B=function(ae){return typeof ae=="function"&&typeof ae.nodeType!="number"&&typeof ae.item!="function"},F=function(ae){return ae!=null&&ae===ae.window},O=e.document,N={type:!0,src:!0,nonce:!0,noModule:!0};function Y(X,ae,Te){Te=Te||O;var Pe,ze,He=Te.createElement("script");if(He.text=X,ae)for(Pe in N)ze=ae[Pe]||ae.getAttribute&&ae.getAttribute(Pe),ze&&He.setAttribute(Pe,ze);Te.head.appendChild(He).parentNode.removeChild(He)}function J(X){return X==null?X+"":typeof X=="object"||typeof X=="function"?C[k.call(X)]||"object":typeof X}var ie="3.7.1",ue=/HTML$/i,Q=function(X,ae){return new Q.fn.init(X,ae)};Q.fn=Q.prototype={jquery:ie,constructor:Q,length:0,toArray:function(){return l.call(this)},get:function(X){return X==null?l.call(this):X<0?this[X+this.length]:this[X]},pushStack:function(X){var ae=Q.merge(this.constructor(),X);return ae.prevObject=this,ae},each:function(X){return Q.each(this,X)},map:function(X){return this.pushStack(Q.map(this,function(ae,Te){return X.call(ae,Te,ae)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Q.grep(this,function(X,ae){return(ae+1)%2}))},odd:function(){return this.pushStack(Q.grep(this,function(X,ae){return ae%2}))},eq:function(X){var ae=this.length,Te=+X+(X<0?ae:0);return this.pushStack(Te>=0&&Te<ae?[this[Te]]:[])},end:function(){return this.prevObject||this.constructor()},push:y,sort:o.sort,splice:o.splice},Q.extend=Q.fn.extend=function(){var X,ae,Te,Pe,ze,He,Ze=arguments[0]||{},It=1,St=arguments.length,Kt=!1;for(typeof Ze=="boolean"&&(Kt=Ze,Ze=arguments[It]||{},It++),typeof Ze!="object"&&!B(Ze)&&(Ze={}),It===St&&(Ze=this,It--);It<St;It++)if((X=arguments[It])!=null)for(ae in X)Pe=X[ae],!(ae==="__proto__"||Ze===Pe)&&(Kt&&Pe&&(Q.isPlainObject(Pe)||(ze=Array.isArray(Pe)))?(Te=Ze[ae],ze&&!Array.isArray(Te)?He=[]:!ze&&!Q.isPlainObject(Te)?He={}:He=Te,ze=!1,Ze[ae]=Q.extend(Kt,He,Pe)):Pe!==void 0&&(Ze[ae]=Pe));return Ze},Q.extend({expando:"jQuery"+(ie+Math.random()).replace(/\D/g,""),isReady:!0,error:function(X){throw new Error(X)},noop:function(){},isPlainObject:function(X){var ae,Te;return!X||k.call(X)!=="[object Object]"?!1:(ae=u(X),ae?(Te=A.call(ae,"constructor")&&ae.constructor,typeof Te=="function"&&D.call(Te)===P):!0)},isEmptyObject:function(X){var ae;for(ae in X)return!1;return!0},globalEval:function(X,ae,Te){Y(X,{nonce:ae&&ae.nonce},Te)},each:function(X,ae){var Te,Pe=0;if(ce(X))for(Te=X.length;Pe<Te&&ae.call(X[Pe],Pe,X[Pe])!==!1;Pe++);else for(Pe in X)if(ae.call(X[Pe],Pe,X[Pe])===!1)break;return X},text:function(X){var ae,Te="",Pe=0,ze=X.nodeType;if(!ze)for(;ae=X[Pe++];)Te+=Q.text(ae);return ze===1||ze===11?X.textContent:ze===9?X.documentElement.textContent:ze===3||ze===4?X.nodeValue:Te},makeArray:function(X,ae){var Te=ae||[];return X!=null&&(ce(Object(X))?Q.merge(Te,typeof X=="string"?[X]:X):y.call(Te,X)),Te},inArray:function(X,ae,Te){return ae==null?-1:E.call(ae,X,Te)},isXMLDoc:function(X){var ae=X&&X.namespaceURI,Te=X&&(X.ownerDocument||X).documentElement;return!ue.test(ae||Te&&Te.nodeName||"HTML")},merge:function(X,ae){for(var Te=+ae.length,Pe=0,ze=X.length;Pe<Te;Pe++)X[ze++]=ae[Pe];return X.length=ze,X},grep:function(X,ae,Te){for(var Pe,ze=[],He=0,Ze=X.length,It=!Te;He<Ze;He++)Pe=!ae(X[He],He),Pe!==It&&ze.push(X[He]);return ze},map:function(X,ae,Te){var Pe,ze,He=0,Ze=[];if(ce(X))for(Pe=X.length;He<Pe;He++)ze=ae(X[He],He,Te),ze!=null&&Ze.push(ze);else for(He in X)ze=ae(X[He],He,Te),ze!=null&&Ze.push(ze);return m(Ze)},guid:1,support:R}),typeof Symbol=="function"&&(Q.fn[Symbol.iterator]=o[Symbol.iterator]),Q.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(X,ae){C["[object "+ae+"]"]=ae.toLowerCase()});function ce(X){var ae=!!X&&"length"in X&&X.length,Te=J(X);return B(X)||F(X)?!1:Te==="array"||ae===0||typeof ae=="number"&&ae>0&&ae-1 in X}function he(X,ae){return X.nodeName&&X.nodeName.toLowerCase()===ae.toLowerCase()}var ke=o.pop,L=o.sort,d=o.splice,v="[\\x20\\t\\r\\n\\f]",w=new RegExp("^"+v+"+|((?:^|[^\\\\])(?:\\\\.)*)"+v+"+$","g");Q.contains=function(X,ae){var Te=ae&&ae.parentNode;return X===Te||!!(Te&&Te.nodeType===1&&(X.contains?X.contains(Te):X.compareDocumentPosition&&X.compareDocumentPosition(Te)&16))};var c=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(X,ae){return ae?X==="\0"?"�":X.slice(0,-1)+"\\"+X.charCodeAt(X.length-1).toString(16)+" ":"\\"+X}Q.escapeSelector=function(X){return(X+"").replace(c,p)};var x=O,S=y;(function(){var X,ae,Te,Pe,ze,He=S,Ze,It,St,Kt,di,bi=Q.expando,ri=0,Ni=0,Ki=da(),yr=da(),fr=da(),Or=da(),jr=function(_t,Ht){return _t===Ht&&(ze=!0),0},Qr="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Cn="(?:\\\\[\\da-fA-F]{1,6}"+v+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Tr="\\["+v+"*("+Cn+")(?:"+v+"*([*^$|!~]?=)"+v+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Cn+"))|)"+v+"*\\]",$n=":("+Cn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Tr+")*)|.*)\\)|)",Sr=new RegExp(v+"+","g"),Lr=new RegExp("^"+v+"*,"+v+"*"),wa=new RegExp("^"+v+"*([>+~]|"+v+")"+v+"*"),La=new RegExp(v+"|>"),rn=new RegExp($n),ra=new RegExp("^"+Cn+"$"),un={ID:new RegExp("^#("+Cn+")"),CLASS:new RegExp("^\\.("+Cn+")"),TAG:new RegExp("^("+Cn+"|[*])"),ATTR:new RegExp("^"+Tr),PSEUDO:new RegExp("^"+$n),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+v+"*(even|odd|(([+-]|)(\\d*)n|)"+v+"*(?:([+-]|)"+v+"*(\\d+)|))"+v+"*\\)|)","i"),bool:new RegExp("^(?:"+Qr+")$","i"),needsContext:new RegExp("^"+v+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+v+"*((?:-\\d)?\\d*)"+v+"*\\)|)(?=[^-]|$)","i")},Ln=/^(?:input|select|textarea|button)$/i,Vn=/^h\d$/i,Jr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ha=/[+~]/,Bn=new RegExp("\\\\[\\da-fA-F]{1,6}"+v+"?|\\\\([^\\r\\n\\f])","g"),An=function(_t,Ht){var ti="0x"+_t.slice(1)-65536;return Ht||(ti<0?String.fromCharCode(ti+65536):String.fromCharCode(ti>>10|55296,ti&1023|56320))},ln=function(){Wn()},Ba=aa(function(_t){return _t.disabled===!0&&he(_t,"fieldset")},{dir:"parentNode",next:"legend"});function Sa(){try{return Ze.activeElement}catch{}}try{He.apply(o=l.call(x.childNodes),x.childNodes),o[x.childNodes.length].nodeType}catch{He={apply:function(Ht,ti){S.apply(Ht,l.call(ti))},call:function(Ht){S.apply(Ht,l.call(arguments,1))}}}function Ir(_t,Ht,ti,ui){var mt,Nt,Bt,_i,Mi,Yi,Xi,Ui=Ht&&Ht.ownerDocument,gr=Ht?Ht.nodeType:9;if(ti=ti||[],typeof _t!="string"||!_t||gr!==1&&gr!==9&&gr!==11)return ti;if(!ui&&(Wn(Ht),Ht=Ht||Ze,St)){if(gr!==11&&(Mi=Jr.exec(_t)))if(mt=Mi[1]){if(gr===9)if(Bt=Ht.getElementById(mt)){if(Bt.id===mt)return He.call(ti,Bt),ti}else return ti;else if(Ui&&(Bt=Ui.getElementById(mt))&&Ir.contains(Ht,Bt)&&Bt.id===mt)return He.call(ti,Bt),ti}else{if(Mi[2])return He.apply(ti,Ht.getElementsByTagName(_t)),ti;if((mt=Mi[3])&&Ht.getElementsByClassName)return He.apply(ti,Ht.getElementsByClassName(mt)),ti}if(!Or[_t+" "]&&(!Kt||!Kt.test(_t))){if(Xi=_t,Ui=Ht,gr===1&&(La.test(_t)||wa.test(_t))){for(Ui=ha.test(_t)&&Ga(Ht.parentNode)||Ht,(Ui!=Ht||!R.scope)&&((_i=Ht.getAttribute("id"))?_i=Q.escapeSelector(_i):Ht.setAttribute("id",_i=bi)),Yi=ma(_t),Nt=Yi.length;Nt--;)Yi[Nt]=(_i?"#"+_i:":scope")+" "+xn(Yi[Nt]);Xi=Yi.join(",")}try{return He.apply(ti,Ui.querySelectorAll(Xi)),ti}catch{Or(_t,!0)}finally{_i===bi&&Ht.removeAttribute("id")}}}return ss(_t.replace(w,"$1"),Ht,ti,ui)}function da(){var _t=[];function Ht(ti,ui){return _t.push(ti+" ")>ae.cacheLength&&delete Ht[_t.shift()],Ht[ti+" "]=ui}return Ht}function _n(_t){return _t[bi]=!0,_t}function na(_t){var Ht=Ze.createElement("fieldset");try{return!!_t(Ht)}catch{return!1}finally{Ht.parentNode&&Ht.parentNode.removeChild(Ht),Ht=null}}function gs(_t){return function(Ht){return he(Ht,"input")&&Ht.type===_t}}function ns(_t){return function(Ht){return(he(Ht,"input")||he(Ht,"button"))&&Ht.type===_t}}function pa(_t){return function(Ht){return"form"in Ht?Ht.parentNode&&Ht.disabled===!1?"label"in Ht?"label"in Ht.parentNode?Ht.parentNode.disabled===_t:Ht.disabled===_t:Ht.isDisabled===_t||Ht.isDisabled!==!_t&&Ba(Ht)===_t:Ht.disabled===_t:"label"in Ht?Ht.disabled===_t:!1}}function cn(_t){return _n(function(Ht){return Ht=+Ht,_n(function(ti,ui){for(var mt,Nt=_t([],ti.length,Ht),Bt=Nt.length;Bt--;)ti[mt=Nt[Bt]]&&(ti[mt]=!(ui[mt]=ti[mt]))})})}function Ga(_t){return _t&&typeof _t.getElementsByTagName<"u"&&_t}function Wn(_t){var Ht,ti=_t?_t.ownerDocument||_t:x;return ti==Ze||ti.nodeType!==9||!ti.documentElement||(Ze=ti,It=Ze.documentElement,St=!Q.isXMLDoc(Ze),di=It.matches||It.webkitMatchesSelector||It.msMatchesSelector,It.msMatchesSelector&&x!=Ze&&(Ht=Ze.defaultView)&&Ht.top!==Ht&&Ht.addEventListener("unload",ln),R.getById=na(function(ui){return It.appendChild(ui).id=Q.expando,!Ze.getElementsByName||!Ze.getElementsByName(Q.expando).length}),R.disconnectedMatch=na(function(ui){return di.call(ui,"*")}),R.scope=na(function(){return Ze.querySelectorAll(":scope")}),R.cssHas=na(function(){try{return Ze.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),R.getById?(ae.filter.ID=function(ui){var mt=ui.replace(Bn,An);return function(Nt){return Nt.getAttribute("id")===mt}},ae.find.ID=function(ui,mt){if(typeof mt.getElementById<"u"&&St){var Nt=mt.getElementById(ui);return Nt?[Nt]:[]}}):(ae.filter.ID=function(ui){var mt=ui.replace(Bn,An);return function(Nt){var Bt=typeof Nt.getAttributeNode<"u"&&Nt.getAttributeNode("id");return Bt&&Bt.value===mt}},ae.find.ID=function(ui,mt){if(typeof mt.getElementById<"u"&&St){var Nt,Bt,_i,Mi=mt.getElementById(ui);if(Mi){if(Nt=Mi.getAttributeNode("id"),Nt&&Nt.value===ui)return[Mi];for(_i=mt.getElementsByName(ui),Bt=0;Mi=_i[Bt++];)if(Nt=Mi.getAttributeNode("id"),Nt&&Nt.value===ui)return[Mi]}return[]}}),ae.find.TAG=function(ui,mt){return typeof mt.getElementsByTagName<"u"?mt.getElementsByTagName(ui):mt.querySelectorAll(ui)},ae.find.CLASS=function(ui,mt){if(typeof mt.getElementsByClassName<"u"&&St)return mt.getElementsByClassName(ui)},Kt=[],na(function(ui){var mt;It.appendChild(ui).innerHTML="<a id='"+bi+"' href='' disabled='disabled'></a><select id='"+bi+"-\r\\' disabled='disabled'><option selected=''></option></select>",ui.querySelectorAll("[selected]").length||Kt.push("\\["+v+"*(?:value|"+Qr+")"),ui.querySelectorAll("[id~="+bi+"-]").length||Kt.push("~="),ui.querySelectorAll("a#"+bi+"+*").length||Kt.push(".#.+[+~]"),ui.querySelectorAll(":checked").length||Kt.push(":checked"),mt=Ze.createElement("input"),mt.setAttribute("type","hidden"),ui.appendChild(mt).setAttribute("name","D"),It.appendChild(ui).disabled=!0,ui.querySelectorAll(":disabled").length!==2&&Kt.push(":enabled",":disabled"),mt=Ze.createElement("input"),mt.setAttribute("name",""),ui.appendChild(mt),ui.querySelectorAll("[name='']").length||Kt.push("\\["+v+"*name"+v+"*="+v+`*(?:''|"")`)}),R.cssHas||Kt.push(":has"),Kt=Kt.length&&new RegExp(Kt.join("|")),jr=function(ui,mt){if(ui===mt)return ze=!0,0;var Nt=!ui.compareDocumentPosition-!mt.compareDocumentPosition;return Nt||(Nt=(ui.ownerDocument||ui)==(mt.ownerDocument||mt)?ui.compareDocumentPosition(mt):1,Nt&1||!R.sortDetached&&mt.compareDocumentPosition(ui)===Nt?ui===Ze||ui.ownerDocument==x&&Ir.contains(x,ui)?-1:mt===Ze||mt.ownerDocument==x&&Ir.contains(x,mt)?1:Pe?E.call(Pe,ui)-E.call(Pe,mt):0:Nt&4?-1:1)}),Ze}Ir.matches=function(_t,Ht){return Ir(_t,null,null,Ht)},Ir.matchesSelector=function(_t,Ht){if(Wn(_t),St&&!Or[Ht+" "]&&(!Kt||!Kt.test(Ht)))try{var ti=di.call(_t,Ht);if(ti||R.disconnectedMatch||_t.document&&_t.document.nodeType!==11)return ti}catch{Or(Ht,!0)}return Ir(Ht,Ze,null,[_t]).length>0},Ir.contains=function(_t,Ht){return(_t.ownerDocument||_t)!=Ze&&Wn(_t),Q.contains(_t,Ht)},Ir.attr=function(_t,Ht){(_t.ownerDocument||_t)!=Ze&&Wn(_t);var ti=ae.attrHandle[Ht.toLowerCase()],ui=ti&&A.call(ae.attrHandle,Ht.toLowerCase())?ti(_t,Ht,!St):void 0;return ui!==void 0?ui:_t.getAttribute(Ht)},Ir.error=function(_t){throw new Error("Syntax error, unrecognized expression: "+_t)},Q.uniqueSort=function(_t){var Ht,ti=[],ui=0,mt=0;if(ze=!R.sortStable,Pe=!R.sortStable&&l.call(_t,0),L.call(_t,jr),ze){for(;Ht=_t[mt++];)Ht===_t[mt]&&(ui=ti.push(mt));for(;ui--;)d.call(_t,ti[ui],1)}return Pe=null,_t},Q.fn.uniqueSort=function(){return this.pushStack(Q.uniqueSort(l.apply(this)))},ae=Q.expr={cacheLength:50,createPseudo:_n,match:un,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_t){return _t[1]=_t[1].replace(Bn,An),_t[3]=(_t[3]||_t[4]||_t[5]||"").replace(Bn,An),_t[2]==="~="&&(_t[3]=" "+_t[3]+" "),_t.slice(0,4)},CHILD:function(_t){return _t[1]=_t[1].toLowerCase(),_t[1].slice(0,3)==="nth"?(_t[3]||Ir.error(_t[0]),_t[4]=+(_t[4]?_t[5]+(_t[6]||1):2*(_t[3]==="even"||_t[3]==="odd")),_t[5]=+(_t[7]+_t[8]||_t[3]==="odd")):_t[3]&&Ir.error(_t[0]),_t},PSEUDO:function(_t){var Ht,ti=!_t[6]&&_t[2];return un.CHILD.test(_t[0])?null:(_t[3]?_t[2]=_t[4]||_t[5]||"":ti&&rn.test(ti)&&(Ht=ma(ti,!0))&&(Ht=ti.indexOf(")",ti.length-Ht)-ti.length)&&(_t[0]=_t[0].slice(0,Ht),_t[2]=ti.slice(0,Ht)),_t.slice(0,3))}},filter:{TAG:function(_t){var Ht=_t.replace(Bn,An).toLowerCase();return _t==="*"?function(){return!0}:function(ti){return he(ti,Ht)}},CLASS:function(_t){var Ht=Ki[_t+" "];return Ht||(Ht=new RegExp("(^|"+v+")"+_t+"("+v+"|$)"))&&Ki(_t,function(ti){return Ht.test(typeof ti.className=="string"&&ti.className||typeof ti.getAttribute<"u"&&ti.getAttribute("class")||"")})},ATTR:function(_t,Ht,ti){return function(ui){var mt=Ir.attr(ui,_t);return mt==null?Ht==="!=":Ht?(mt+="",Ht==="="?mt===ti:Ht==="!="?mt!==ti:Ht==="^="?ti&&mt.indexOf(ti)===0:Ht==="*="?ti&&mt.indexOf(ti)>-1:Ht==="$="?ti&&mt.slice(-ti.length)===ti:Ht==="~="?(" "+mt.replace(Sr," ")+" ").indexOf(ti)>-1:Ht==="|="?mt===ti||mt.slice(0,ti.length+1)===ti+"-":!1):!0}},CHILD:function(_t,Ht,ti,ui,mt){var Nt=_t.slice(0,3)!=="nth",Bt=_t.slice(-4)!=="last",_i=Ht==="of-type";return ui===1&&mt===0?function(Mi){return!!Mi.parentNode}:function(Mi,Yi,Xi){var Ui,gr,ar,Er,Hr,Yr=Nt!==Bt?"nextSibling":"previousSibling",Vr=Mi.parentNode,nn=_i&&Mi.nodeName.toLowerCase(),Mn=!Xi&&!_i,vr=!1;if(Vr){if(Nt){for(;Yr;){for(ar=Mi;ar=ar[Yr];)if(_i?he(ar,nn):ar.nodeType===1)return!1;Hr=Yr=_t==="only"&&!Hr&&"nextSibling"}return!0}if(Hr=[Bt?Vr.firstChild:Vr.lastChild],Bt&&Mn){for(gr=Vr[bi]||(Vr[bi]={}),Ui=gr[_t]||[],Er=Ui[0]===ri&&Ui[1],vr=Er&&Ui[2],ar=Er&&Vr.childNodes[Er];ar=++Er&&ar&&ar[Yr]||(vr=Er=0)||Hr.pop();)if(ar.nodeType===1&&++vr&&ar===Mi){gr[_t]=[ri,Er,vr];break}}else if(Mn&&(gr=Mi[bi]||(Mi[bi]={}),Ui=gr[_t]||[],Er=Ui[0]===ri&&Ui[1],vr=Er),vr===!1)for(;(ar=++Er&&ar&&ar[Yr]||(vr=Er=0)||Hr.pop())&&!((_i?he(ar,nn):ar.nodeType===1)&&++vr&&(Mn&&(gr=ar[bi]||(ar[bi]={}),gr[_t]=[ri,vr]),ar===Mi)););return vr-=mt,vr===ui||vr%ui===0&&vr/ui>=0}}},PSEUDO:function(_t,Ht){var ti,ui=ae.pseudos[_t]||ae.setFilters[_t.toLowerCase()]||Ir.error("unsupported pseudo: "+_t);return ui[bi]?ui(Ht):ui.length>1?(ti=[_t,_t,"",Ht],ae.setFilters.hasOwnProperty(_t.toLowerCase())?_n(function(mt,Nt){for(var Bt,_i=ui(mt,Ht),Mi=_i.length;Mi--;)Bt=E.call(mt,_i[Mi]),mt[Bt]=!(Nt[Bt]=_i[Mi])}):function(mt){return ui(mt,0,ti)}):ui}},pseudos:{not:_n(function(_t){var Ht=[],ti=[],ui=Ka(_t.replace(w,"$1"));return ui[bi]?_n(function(mt,Nt,Bt,_i){for(var Mi,Yi=ui(mt,null,_i,[]),Xi=mt.length;Xi--;)(Mi=Yi[Xi])&&(mt[Xi]=!(Nt[Xi]=Mi))}):function(mt,Nt,Bt){return Ht[0]=mt,ui(Ht,null,Bt,ti),Ht[0]=null,!ti.pop()}}),has:_n(function(_t){return function(Ht){return Ir(_t,Ht).length>0}}),contains:_n(function(_t){return _t=_t.replace(Bn,An),function(Ht){return(Ht.textContent||Q.text(Ht)).indexOf(_t)>-1}}),lang:_n(function(_t){return ra.test(_t||"")||Ir.error("unsupported lang: "+_t),_t=_t.replace(Bn,An).toLowerCase(),function(Ht){var ti;do if(ti=St?Ht.lang:Ht.getAttribute("xml:lang")||Ht.getAttribute("lang"))return ti=ti.toLowerCase(),ti===_t||ti.indexOf(_t+"-")===0;while((Ht=Ht.parentNode)&&Ht.nodeType===1);return!1}}),target:function(_t){var Ht=e.location&&e.location.hash;return Ht&&Ht.slice(1)===_t.id},root:function(_t){return _t===It},focus:function(_t){return _t===Sa()&&Ze.hasFocus()&&!!(_t.type||_t.href||~_t.tabIndex)},enabled:pa(!1),disabled:pa(!0),checked:function(_t){return he(_t,"input")&&!!_t.checked||he(_t,"option")&&!!_t.selected},selected:function(_t){return _t.parentNode&&_t.parentNode.selectedIndex,_t.selected===!0},empty:function(_t){for(_t=_t.firstChild;_t;_t=_t.nextSibling)if(_t.nodeType<6)return!1;return!0},parent:function(_t){return!ae.pseudos.empty(_t)},header:function(_t){return Vn.test(_t.nodeName)},input:function(_t){return Ln.test(_t.nodeName)},button:function(_t){return he(_t,"input")&&_t.type==="button"||he(_t,"button")},text:function(_t){var Ht;return he(_t,"input")&&_t.type==="text"&&((Ht=_t.getAttribute("type"))==null||Ht.toLowerCase()==="text")},first:cn(function(){return[0]}),last:cn(function(_t,Ht){return[Ht-1]}),eq:cn(function(_t,Ht,ti){return[ti<0?ti+Ht:ti]}),even:cn(function(_t,Ht){for(var ti=0;ti<Ht;ti+=2)_t.push(ti);return _t}),odd:cn(function(_t,Ht){for(var ti=1;ti<Ht;ti+=2)_t.push(ti);return _t}),lt:cn(function(_t,Ht,ti){var ui;for(ti<0?ui=ti+Ht:ti>Ht?ui=Ht:ui=ti;--ui>=0;)_t.push(ui);return _t}),gt:cn(function(_t,Ht,ti){for(var ui=ti<0?ti+Ht:ti;++ui<Ht;)_t.push(ui);return _t})}},ae.pseudos.nth=ae.pseudos.eq;for(X in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})ae.pseudos[X]=gs(X);for(X in{submit:!0,reset:!0})ae.pseudos[X]=ns(X);function Gn(){}Gn.prototype=ae.filters=ae.pseudos,ae.setFilters=new Gn;function ma(_t,Ht){var ti,ui,mt,Nt,Bt,_i,Mi,Yi=yr[_t+" "];if(Yi)return Ht?0:Yi.slice(0);for(Bt=_t,_i=[],Mi=ae.preFilter;Bt;){(!ti||(ui=Lr.exec(Bt)))&&(ui&&(Bt=Bt.slice(ui[0].length)||Bt),_i.push(mt=[])),ti=!1,(ui=wa.exec(Bt))&&(ti=ui.shift(),mt.push({value:ti,type:ui[0].replace(w," ")}),Bt=Bt.slice(ti.length));for(Nt in ae.filter)(ui=un[Nt].exec(Bt))&&(!Mi[Nt]||(ui=Mi[Nt](ui)))&&(ti=ui.shift(),mt.push({value:ti,type:Nt,matches:ui}),Bt=Bt.slice(ti.length));if(!ti)break}return Ht?Bt.length:Bt?Ir.error(_t):yr(_t,_i).slice(0)}function xn(_t){for(var Ht=0,ti=_t.length,ui="";Ht<ti;Ht++)ui+=_t[Ht].value;return ui}function aa(_t,Ht,ti){var ui=Ht.dir,mt=Ht.next,Nt=mt||ui,Bt=ti&&Nt==="parentNode",_i=Ni++;return Ht.first?function(Mi,Yi,Xi){for(;Mi=Mi[ui];)if(Mi.nodeType===1||Bt)return _t(Mi,Yi,Xi);return!1}:function(Mi,Yi,Xi){var Ui,gr,ar=[ri,_i];if(Xi){for(;Mi=Mi[ui];)if((Mi.nodeType===1||Bt)&&_t(Mi,Yi,Xi))return!0}else for(;Mi=Mi[ui];)if(Mi.nodeType===1||Bt)if(gr=Mi[bi]||(Mi[bi]={}),mt&&he(Mi,mt))Mi=Mi[ui]||Mi;else{if((Ui=gr[Nt])&&Ui[0]===ri&&Ui[1]===_i)return ar[2]=Ui[2];if(gr[Nt]=ar,ar[2]=_t(Mi,Yi,Xi))return!0}return!1}}function ja(_t){return _t.length>1?function(Ht,ti,ui){for(var mt=_t.length;mt--;)if(!_t[mt](Ht,ti,ui))return!1;return!0}:_t[0]}function vs(_t,Ht,ti){for(var ui=0,mt=Ht.length;ui<mt;ui++)Ir(_t,Ht[ui],ti);return ti}function Oa(_t,Ht,ti,ui,mt){for(var Nt,Bt=[],_i=0,Mi=_t.length,Yi=Ht!=null;_i<Mi;_i++)(Nt=_t[_i])&&(!ti||ti(Nt,ui,mt))&&(Bt.push(Nt),Yi&&Ht.push(_i));return Bt}function Kn(_t,Ht,ti,ui,mt,Nt){return ui&&!ui[bi]&&(ui=Kn(ui)),mt&&!mt[bi]&&(mt=Kn(mt,Nt)),_n(function(Bt,_i,Mi,Yi){var Xi,Ui,gr,ar,Er=[],Hr=[],Yr=_i.length,Vr=Bt||vs(Ht||"*",Mi.nodeType?[Mi]:Mi,[]),nn=_t&&(Bt||!Ht)?Oa(Vr,Er,_t,Mi,Yi):Vr;if(ti?(ar=mt||(Bt?_t:Yr||ui)?[]:_i,ti(nn,ar,Mi,Yi)):ar=nn,ui)for(Xi=Oa(ar,Hr),ui(Xi,[],Mi,Yi),Ui=Xi.length;Ui--;)(gr=Xi[Ui])&&(ar[Hr[Ui]]=!(nn[Hr[Ui]]=gr));if(Bt){if(mt||_t){if(mt){for(Xi=[],Ui=ar.length;Ui--;)(gr=ar[Ui])&&Xi.push(nn[Ui]=gr);mt(null,ar=[],Xi,Yi)}for(Ui=ar.length;Ui--;)(gr=ar[Ui])&&(Xi=mt?E.call(Bt,gr):Er[Ui])>-1&&(Bt[Xi]=!(_i[Xi]=gr))}}else ar=Oa(ar===_i?ar.splice(Yr,ar.length):ar),mt?mt(null,_i,ar,Yi):He.apply(_i,ar)})}function fn(_t){for(var Ht,ti,ui,mt=_t.length,Nt=ae.relative[_t[0].type],Bt=Nt||ae.relative[" "],_i=Nt?1:0,Mi=aa(function(Ui){return Ui===Ht},Bt,!0),Yi=aa(function(Ui){return E.call(Ht,Ui)>-1},Bt,!0),Xi=[function(Ui,gr,ar){var Er=!Nt&&(ar||gr!=Te)||((Ht=gr).nodeType?Mi(Ui,gr,ar):Yi(Ui,gr,ar));return Ht=null,Er}];_i<mt;_i++)if(ti=ae.relative[_t[_i].type])Xi=[aa(ja(Xi),ti)];else{if(ti=ae.filter[_t[_i].type].apply(null,_t[_i].matches),ti[bi]){for(ui=++_i;ui<mt&&!ae.relative[_t[ui].type];ui++);return Kn(_i>1&&ja(Xi),_i>1&&xn(_t.slice(0,_i-1).concat({value:_t[_i-2].type===" "?"*":""})).replace(w,"$1"),ti,_i<ui&&fn(_t.slice(_i,ui)),ui<mt&&fn(_t=_t.slice(ui)),ui<mt&&xn(_t))}Xi.push(ti)}return ja(Xi)}function as(_t,Ht){var ti=Ht.length>0,ui=_t.length>0,mt=function(Nt,Bt,_i,Mi,Yi){var Xi,Ui,gr,ar=0,Er="0",Hr=Nt&&[],Yr=[],Vr=Te,nn=Nt||ui&&ae.find.TAG("*",Yi),Mn=ri+=Vr==null?1:Math.random()||.1,vr=nn.length;for(Yi&&(Te=Bt==Ze||Bt||Yi);Er!==vr&&(Xi=nn[Er])!=null;Er++){if(ui&&Xi){for(Ui=0,!Bt&&Xi.ownerDocument!=Ze&&(Wn(Xi),_i=!St);gr=_t[Ui++];)if(gr(Xi,Bt||Ze,_i)){He.call(Mi,Xi);break}Yi&&(ri=Mn)}ti&&((Xi=!gr&&Xi)&&ar--,Nt&&Hr.push(Xi))}if(ar+=Er,ti&&Er!==ar){for(Ui=0;gr=Ht[Ui++];)gr(Hr,Yr,Bt,_i);if(Nt){if(ar>0)for(;Er--;)Hr[Er]||Yr[Er]||(Yr[Er]=ke.call(Mi));Yr=Oa(Yr)}He.apply(Mi,Yr),Yi&&!Nt&&Yr.length>0&&ar+Ht.length>1&&Q.uniqueSort(Mi)}return Yi&&(ri=Mn,Te=Vr),Hr};return ti?_n(mt):mt}function Ka(_t,Ht){var ti,ui=[],mt=[],Nt=fr[_t+" "];if(!Nt){for(Ht||(Ht=ma(_t)),ti=Ht.length;ti--;)Nt=fn(Ht[ti]),Nt[bi]?ui.push(Nt):mt.push(Nt);Nt=fr(_t,as(mt,ui)),Nt.selector=_t}return Nt}function ss(_t,Ht,ti,ui){var mt,Nt,Bt,_i,Mi,Yi=typeof _t=="function"&&_t,Xi=!ui&&ma(_t=Yi.selector||_t);if(ti=ti||[],Xi.length===1){if(Nt=Xi[0]=Xi[0].slice(0),Nt.length>2&&(Bt=Nt[0]).type==="ID"&&Ht.nodeType===9&&St&&ae.relative[Nt[1].type]){if(Ht=(ae.find.ID(Bt.matches[0].replace(Bn,An),Ht)||[])[0],Ht)Yi&&(Ht=Ht.parentNode);else return ti;_t=_t.slice(Nt.shift().value.length)}for(mt=un.needsContext.test(_t)?0:Nt.length;mt--&&(Bt=Nt[mt],!ae.relative[_i=Bt.type]);)if((Mi=ae.find[_i])&&(ui=Mi(Bt.matches[0].replace(Bn,An),ha.test(Nt[0].type)&&Ga(Ht.parentNode)||Ht))){if(Nt.splice(mt,1),_t=ui.length&&xn(Nt),!_t)return He.apply(ti,ui),ti;break}}return(Yi||Ka(_t,Xi))(ui,Ht,!St,ti,!Ht||ha.test(_t)&&Ga(Ht.parentNode)||Ht),ti}R.sortStable=bi.split("").sort(jr).join("")===bi,Wn(),R.sortDetached=na(function(_t){return _t.compareDocumentPosition(Ze.createElement("fieldset"))&1}),Q.find=Ir,Q.expr[":"]=Q.expr.pseudos,Q.unique=Q.uniqueSort,Ir.compile=Ka,Ir.select=ss,Ir.setDocument=Wn,Ir.tokenize=ma,Ir.escape=Q.escapeSelector,Ir.getText=Q.text,Ir.isXML=Q.isXMLDoc,Ir.selectors=Q.expr,Ir.support=Q.support,Ir.uniqueSort=Q.uniqueSort})();var b=function(X,ae,Te){for(var Pe=[],ze=Te!==void 0;(X=X[ae])&&X.nodeType!==9;)if(X.nodeType===1){if(ze&&Q(X).is(Te))break;Pe.push(X)}return Pe},h=function(X,ae){for(var Te=[];X;X=X.nextSibling)X.nodeType===1&&X!==ae&&Te.push(X);return Te},T=Q.expr.match.needsContext,M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(X,ae,Te){return B(ae)?Q.grep(X,function(Pe,ze){return!!ae.call(Pe,ze,Pe)!==Te}):ae.nodeType?Q.grep(X,function(Pe){return Pe===ae!==Te}):typeof ae!="string"?Q.grep(X,function(Pe){return E.call(ae,Pe)>-1!==Te}):Q.filter(ae,X,Te)}Q.filter=function(X,ae,Te){var Pe=ae[0];return Te&&(X=":not("+X+")"),ae.length===1&&Pe.nodeType===1?Q.find.matchesSelector(Pe,X)?[Pe]:[]:Q.find.matches(X,Q.grep(ae,function(ze){return ze.nodeType===1}))},Q.fn.extend({find:function(X){var ae,Te,Pe=this.length,ze=this;if(typeof X!="string")return this.pushStack(Q(X).filter(function(){for(ae=0;ae<Pe;ae++)if(Q.contains(ze[ae],this))return!0}));for(Te=this.pushStack([]),ae=0;ae<Pe;ae++)Q.find(X,ze[ae],Te);return Pe>1?Q.uniqueSort(Te):Te},filter:function(X){return this.pushStack(j(this,X||[],!1))},not:function(X){return this.pushStack(j(this,X||[],!0))},is:function(X){return!!j(this,typeof X=="string"&&T.test(X)?Q(X):X||[],!1).length}});var V,ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Z=Q.fn.init=function(X,ae,Te){var Pe,ze;if(!X)return this;if(Te=Te||V,typeof X=="string")if(X[0]==="<"&&X[X.length-1]===">"&&X.length>=3?Pe=[null,X,null]:Pe=ee.exec(X),Pe&&(Pe[1]||!ae))if(Pe[1]){if(ae=ae instanceof Q?ae[0]:ae,Q.merge(this,Q.parseHTML(Pe[1],ae&&ae.nodeType?ae.ownerDocument||ae:O,!0)),M.test(Pe[1])&&Q.isPlainObject(ae))for(Pe in ae)B(this[Pe])?this[Pe](ae[Pe]):this.attr(Pe,ae[Pe]);return this}else return ze=O.getElementById(Pe[2]),ze&&(this[0]=ze,this.length=1),this;else return!ae||ae.jquery?(ae||Te).find(X):this.constructor(ae).find(X);else{if(X.nodeType)return this[0]=X,this.length=1,this;if(B(X))return Te.ready!==void 0?Te.ready(X):X(Q)}return Q.makeArray(X,this)};Z.prototype=Q.fn,V=Q(O);var U=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};Q.fn.extend({has:function(X){var ae=Q(X,this),Te=ae.length;return this.filter(function(){for(var Pe=0;Pe<Te;Pe++)if(Q.contains(this,ae[Pe]))return!0})},closest:function(X,ae){var Te,Pe=0,ze=this.length,He=[],Ze=typeof X!="string"&&Q(X);if(!T.test(X)){for(;Pe<ze;Pe++)for(Te=this[Pe];Te&&Te!==ae;Te=Te.parentNode)if(Te.nodeType<11&&(Ze?Ze.index(Te)>-1:Te.nodeType===1&&Q.find.matchesSelector(Te,X))){He.push(Te);break}}return this.pushStack(He.length>1?Q.uniqueSort(He):He)},index:function(X){return X?typeof X=="string"?E.call(Q(X),this[0]):E.call(this,X.jquery?X[0]:X):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(X,ae){return this.pushStack(Q.uniqueSort(Q.merge(this.get(),Q(X,ae))))},addBack:function(X){return this.add(X==null?this.prevObject:this.prevObject.filter(X))}});function ne(X,ae){for(;(X=X[ae])&&X.nodeType!==1;);return X}Q.each({parent:function(X){var ae=X.parentNode;return ae&&ae.nodeType!==11?ae:null},parents:function(X){return b(X,"parentNode")},parentsUntil:function(X,ae,Te){return b(X,"parentNode",Te)},next:function(X){return ne(X,"nextSibling")},prev:function(X){return ne(X,"previousSibling")},nextAll:function(X){return b(X,"nextSibling")},prevAll:function(X){return b(X,"previousSibling")},nextUntil:function(X,ae,Te){return b(X,"nextSibling",Te)},prevUntil:function(X,ae,Te){return b(X,"previousSibling",Te)},siblings:function(X){return h((X.parentNode||{}).firstChild,X)},children:function(X){return h(X.firstChild)},contents:function(X){return X.contentDocument!=null&&u(X.contentDocument)?X.contentDocument:(he(X,"template")&&(X=X.content||X),Q.merge([],X.childNodes))}},function(X,ae){Q.fn[X]=function(Te,Pe){var ze=Q.map(this,ae,Te);return X.slice(-5)!=="Until"&&(Pe=Te),Pe&&typeof Pe=="string"&&(ze=Q.filter(Pe,ze)),this.length>1&&(z[X]||Q.uniqueSort(ze),U.test(X)&&ze.reverse()),this.pushStack(ze)}});var fe=/[^\x20\t\r\n\f]+/g;function me(X){var ae={};return Q.each(X.match(fe)||[],function(Te,Pe){ae[Pe]=!0}),ae}Q.Callbacks=function(X){X=typeof X=="string"?me(X):Q.extend({},X);var ae,Te,Pe,ze,He=[],Ze=[],It=-1,St=function(){for(ze=ze||X.once,Pe=ae=!0;Ze.length;It=-1)for(Te=Ze.shift();++It<He.length;)He[It].apply(Te[0],Te[1])===!1&&X.stopOnFalse&&(It=He.length,Te=!1);X.memory||(Te=!1),ae=!1,ze&&(Te?He=[]:He="")},Kt={add:function(){return He&&(Te&&!ae&&(It=He.length-1,Ze.push(Te)),function di(bi){Q.each(bi,function(ri,Ni){B(Ni)?(!X.unique||!Kt.has(Ni))&&He.push(Ni):Ni&&Ni.length&&J(Ni)!=="string"&&di(Ni)})}(arguments),Te&&!ae&&St()),this},remove:function(){return Q.each(arguments,function(di,bi){for(var ri;(ri=Q.inArray(bi,He,ri))>-1;)He.splice(ri,1),ri<=It&&It--}),this},has:function(di){return di?Q.inArray(di,He)>-1:He.length>0},empty:function(){return He&&(He=[]),this},disable:function(){return ze=Ze=[],He=Te="",this},disabled:function(){return!He},lock:function(){return ze=Ze=[],!Te&&!ae&&(He=Te=""),this},locked:function(){return!!ze},fireWith:function(di,bi){return ze||(bi=bi||[],bi=[di,bi.slice?bi.slice():bi],Ze.push(bi),ae||St()),this},fire:function(){return Kt.fireWith(this,arguments),this},fired:function(){return!!Pe}};return Kt};function de(X){return X}function Oe(X){throw X}function lt(X,ae,Te,Pe){var ze;try{X&&B(ze=X.promise)?ze.call(X).done(ae).fail(Te):X&&B(ze=X.then)?ze.call(X,ae,Te):ae.apply(void 0,[X].slice(Pe))}catch(He){Te.apply(void 0,[He])}}Q.extend({Deferred:function(X){var ae=[["notify","progress",Q.Callbacks("memory"),Q.Callbacks("memory"),2],["resolve","done",Q.Callbacks("once memory"),Q.Callbacks("once memory"),0,"resolved"],["reject","fail",Q.Callbacks("once memory"),Q.Callbacks("once memory"),1,"rejected"]],Te="pending",Pe={state:function(){return Te},always:function(){return ze.done(arguments).fail(arguments),this},catch:function(He){return Pe.then(null,He)},pipe:function(){var He=arguments;return Q.Deferred(function(Ze){Q.each(ae,function(It,St){var Kt=B(He[St[4]])&&He[St[4]];ze[St[1]](function(){var di=Kt&&Kt.apply(this,arguments);di&&B(di.promise)?di.promise().progress(Ze.notify).done(Ze.resolve).fail(Ze.reject):Ze[St[0]+"With"](this,Kt?[di]:arguments)})}),He=null}).promise()},then:function(He,Ze,It){var St=0;function Kt(di,bi,ri,Ni){return function(){var Ki=this,yr=arguments,fr=function(){var jr,Qr;if(!(di<St)){if(jr=ri.apply(Ki,yr),jr===bi.promise())throw new TypeError("Thenable self-resolution");Qr=jr&&(typeof jr=="object"||typeof jr=="function")&&jr.then,B(Qr)?Ni?Qr.call(jr,Kt(St,bi,de,Ni),Kt(St,bi,Oe,Ni)):(St++,Qr.call(jr,Kt(St,bi,de,Ni),Kt(St,bi,Oe,Ni),Kt(St,bi,de,bi.notifyWith))):(ri!==de&&(Ki=void 0,yr=[jr]),(Ni||bi.resolveWith)(Ki,yr))}},Or=Ni?fr:function(){try{fr()}catch(jr){Q.Deferred.exceptionHook&&Q.Deferred.exceptionHook(jr,Or.error),di+1>=St&&(ri!==Oe&&(Ki=void 0,yr=[jr]),bi.rejectWith(Ki,yr))}};di?Or():(Q.Deferred.getErrorHook?Or.error=Q.Deferred.getErrorHook():Q.Deferred.getStackHook&&(Or.error=Q.Deferred.getStackHook()),e.setTimeout(Or))}}return Q.Deferred(function(di){ae[0][3].add(Kt(0,di,B(It)?It:de,di.notifyWith)),ae[1][3].add(Kt(0,di,B(He)?He:de)),ae[2][3].add(Kt(0,di,B(Ze)?Ze:Oe))}).promise()},promise:function(He){return He!=null?Q.extend(He,Pe):Pe}},ze={};return Q.each(ae,function(He,Ze){var It=Ze[2],St=Ze[5];Pe[Ze[1]]=It.add,St&&It.add(function(){Te=St},ae[3-He][2].disable,ae[3-He][3].disable,ae[0][2].lock,ae[0][3].lock),It.add(Ze[3].fire),ze[Ze[0]]=function(){return ze[Ze[0]+"With"](this===ze?void 0:this,arguments),this},ze[Ze[0]+"With"]=It.fireWith}),Pe.promise(ze),X&&X.call(ze,ze),ze},when:function(X){var ae=arguments.length,Te=ae,Pe=Array(Te),ze=l.call(arguments),He=Q.Deferred(),Ze=function(It){return function(St){Pe[It]=this,ze[It]=arguments.length>1?l.call(arguments):St,--ae||He.resolveWith(Pe,ze)}};if(ae<=1&&(lt(X,He.done(Ze(Te)).resolve,He.reject,!ae),He.state()==="pending"||B(ze[Te]&&ze[Te].then)))return He.then();for(;Te--;)lt(ze[Te],Ze(Te),He.reject);return He.promise()}});var it=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Q.Deferred.exceptionHook=function(X,ae){e.console&&e.console.warn&&X&&it.test(X.name)&&e.console.warn("jQuery.Deferred exception: "+X.message,X.stack,ae)},Q.readyException=function(X){e.setTimeout(function(){throw X})};var ot=Q.Deferred();Q.fn.ready=function(X){return ot.then(X).catch(function(ae){Q.readyException(ae)}),this},Q.extend({isReady:!1,readyWait:1,ready:function(X){(X===!0?--Q.readyWait:Q.isReady)||(Q.isReady=!0,!(X!==!0&&--Q.readyWait>0)&&ot.resolveWith(O,[Q]))}}),Q.ready.then=ot.then;function Ct(){O.removeEventListener("DOMContentLoaded",Ct),e.removeEventListener("load",Ct),Q.ready()}O.readyState==="complete"||O.readyState!=="loading"&&!O.documentElement.doScroll?e.setTimeout(Q.ready):(O.addEventListener("DOMContentLoaded",Ct),e.addEventListener("load",Ct));var nt=function(X,ae,Te,Pe,ze,He,Ze){var It=0,St=X.length,Kt=Te==null;if(J(Te)==="object"){ze=!0;for(It in Te)nt(X,ae,It,Te[It],!0,He,Ze)}else if(Pe!==void 0&&(ze=!0,B(Pe)||(Ze=!0),Kt&&(Ze?(ae.call(X,Pe),ae=null):(Kt=ae,ae=function(di,bi,ri){return Kt.call(Q(di),ri)})),ae))for(;It<St;It++)ae(X[It],Te,Ze?Pe:Pe.call(X[It],It,ae(X[It],Te)));return ze?X:Kt?ae.call(X):St?ae(X[0],Te):He},Je=/^-ms-/,tt=/-([a-z])/g;function rt(X,ae){return ae.toUpperCase()}function ht(X){return X.replace(Je,"ms-").replace(tt,rt)}var jt=function(X){return X.nodeType===1||X.nodeType===9||!+X.nodeType};function Ve(){this.expando=Q.expando+Ve.uid++}Ve.uid=1,Ve.prototype={cache:function(X){var ae=X[this.expando];return ae||(ae={},jt(X)&&(X.nodeType?X[this.expando]=ae:Object.defineProperty(X,this.expando,{value:ae,configurable:!0}))),ae},set:function(X,ae,Te){var Pe,ze=this.cache(X);if(typeof ae=="string")ze[ht(ae)]=Te;else for(Pe in ae)ze[ht(Pe)]=ae[Pe];return ze},get:function(X,ae){return ae===void 0?this.cache(X):X[this.expando]&&X[this.expando][ht(ae)]},access:function(X,ae,Te){return ae===void 0||ae&&typeof ae=="string"&&Te===void 0?this.get(X,ae):(this.set(X,ae,Te),Te!==void 0?Te:ae)},remove:function(X,ae){var Te,Pe=X[this.expando];if(Pe!==void 0){if(ae!==void 0)for(Array.isArray(ae)?ae=ae.map(ht):(ae=ht(ae),ae=ae in Pe?[ae]:ae.match(fe)||[]),Te=ae.length;Te--;)delete Pe[ae[Te]];(ae===void 0||Q.isEmptyObject(Pe))&&(X.nodeType?X[this.expando]=void 0:delete X[this.expando])}},hasData:function(X){var ae=X[this.expando];return ae!==void 0&&!Q.isEmptyObject(ae)}};var We=new Ve,Gt=new Ve,wt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Et=/[A-Z]/g;function Yt(X){return X==="true"?!0:X==="false"?!1:X==="null"?null:X===+X+""?+X:wt.test(X)?JSON.parse(X):X}function Ce(X,ae,Te){var Pe;if(Te===void 0&&X.nodeType===1)if(Pe="data-"+ae.replace(Et,"-$&").toLowerCase(),Te=X.getAttribute(Pe),typeof Te=="string"){try{Te=Yt(Te)}catch{}Gt.set(X,ae,Te)}else Te=void 0;return Te}Q.extend({hasData:function(X){return Gt.hasData(X)||We.hasData(X)},data:function(X,ae,Te){return Gt.access(X,ae,Te)},removeData:function(X,ae){Gt.remove(X,ae)},_data:function(X,ae,Te){return We.access(X,ae,Te)},_removeData:function(X,ae){We.remove(X,ae)}}),Q.fn.extend({data:function(X,ae){var Te,Pe,ze,He=this[0],Ze=He&&He.attributes;if(X===void 0){if(this.length&&(ze=Gt.get(He),He.nodeType===1&&!We.get(He,"hasDataAttrs"))){for(Te=Ze.length;Te--;)Ze[Te]&&(Pe=Ze[Te].name,Pe.indexOf("data-")===0&&(Pe=ht(Pe.slice(5)),Ce(He,Pe,ze[Pe])));We.set(He,"hasDataAttrs",!0)}return ze}return typeof X=="object"?this.each(function(){Gt.set(this,X)}):nt(this,function(It){var St;if(He&&It===void 0)return St=Gt.get(He,X),St!==void 0||(St=Ce(He,X),St!==void 0)?St:void 0;this.each(function(){Gt.set(this,X,It)})},null,ae,arguments.length>1,null,!0)},removeData:function(X){return this.each(function(){Gt.remove(this,X)})}}),Q.extend({queue:function(X,ae,Te){var Pe;if(X)return ae=(ae||"fx")+"queue",Pe=We.get(X,ae),Te&&(!Pe||Array.isArray(Te)?Pe=We.access(X,ae,Q.makeArray(Te)):Pe.push(Te)),Pe||[]},dequeue:function(X,ae){ae=ae||"fx";var Te=Q.queue(X,ae),Pe=Te.length,ze=Te.shift(),He=Q._queueHooks(X,ae),Ze=function(){Q.dequeue(X,ae)};ze==="inprogress"&&(ze=Te.shift(),Pe--),ze&&(ae==="fx"&&Te.unshift("inprogress"),delete He.stop,ze.call(X,Ze,He)),!Pe&&He&&He.empty.fire()},_queueHooks:function(X,ae){var Te=ae+"queueHooks";return We.get(X,Te)||We.access(X,Te,{empty:Q.Callbacks("once memory").add(function(){We.remove(X,[ae+"queue",Te])})})}}),Q.fn.extend({queue:function(X,ae){var Te=2;return typeof X!="string"&&(ae=X,X="fx",Te--),arguments.length<Te?Q.queue(this[0],X):ae===void 0?this:this.each(function(){var Pe=Q.queue(this,X,ae);Q._queueHooks(this,X),X==="fx"&&Pe[0]!=="inprogress"&&Q.dequeue(this,X)})},dequeue:function(X){return this.each(function(){Q.dequeue(this,X)})},clearQueue:function(X){return this.queue(X||"fx",[])},promise:function(X,ae){var Te,Pe=1,ze=Q.Deferred(),He=this,Ze=this.length,It=function(){--Pe||ze.resolveWith(He,[He])};for(typeof X!="string"&&(ae=X,X=void 0),X=X||"fx";Ze--;)Te=We.get(He[Ze],X+"queueHooks"),Te&&Te.empty&&(Pe++,Te.empty.add(It));return It(),ze.promise(ae)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ye=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),Le=["Top","Right","Bottom","Left"],Ue=O.documentElement,Qe=function(X){return Q.contains(X.ownerDocument,X)},Ke={composed:!0};Ue.getRootNode&&(Qe=function(X){return Q.contains(X.ownerDocument,X)||X.getRootNode(Ke)===X.ownerDocument});var De=function(X,ae){return X=ae||X,X.style.display==="none"||X.style.display===""&&Qe(X)&&Q.css(X,"display")==="none"};function Vt(X,ae,Te,Pe){var ze,He,Ze=20,It=Pe?function(){return Pe.cur()}:function(){return Q.css(X,ae,"")},St=It(),Kt=Te&&Te[3]||(Q.cssNumber[ae]?"":"px"),di=X.nodeType&&(Q.cssNumber[ae]||Kt!=="px"&&+St)&&ye.exec(Q.css(X,ae));if(di&&di[3]!==Kt){for(St=St/2,Kt=Kt||di[3],di=+St||1;Ze--;)Q.style(X,ae,di+Kt),(1-He)*(1-(He=It()/St||.5))<=0&&(Ze=0),di=di/He;di=di*2,Q.style(X,ae,di+Kt),Te=Te||[]}return Te&&(di=+di||+St||0,ze=Te[1]?di+(Te[1]+1)*Te[2]:+Te[2],Pe&&(Pe.unit=Kt,Pe.start=di,Pe.end=ze)),ze}var At={};function ve(X){var ae,Te=X.ownerDocument,Pe=X.nodeName,ze=At[Pe];return ze||(ae=Te.body.appendChild(Te.createElement(Pe)),ze=Q.css(ae,"display"),ae.parentNode.removeChild(ae),ze==="none"&&(ze="block"),At[Pe]=ze,ze)}function Pt(X,ae){for(var Te,Pe,ze=[],He=0,Ze=X.length;He<Ze;He++)Pe=X[He],Pe.style&&(Te=Pe.style.display,ae?(Te==="none"&&(ze[He]=We.get(Pe,"display")||null,ze[He]||(Pe.style.display="")),Pe.style.display===""&&De(Pe)&&(ze[He]=ve(Pe))):Te!=="none"&&(ze[He]="none",We.set(Pe,"display",Te)));for(He=0;He<Ze;He++)ze[He]!=null&&(X[He].style.display=ze[He]);return X}Q.fn.extend({show:function(){return Pt(this,!0)},hide:function(){return Pt(this)},toggle:function(X){return typeof X=="boolean"?X?this.show():this.hide():this.each(function(){De(this)?Q(this).show():Q(this).hide()})}});var pt=/^(?:checkbox|radio)$/i,Ne=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;(function(){var X=O.createDocumentFragment(),ae=X.appendChild(O.createElement("div")),Te=O.createElement("input");Te.setAttribute("type","radio"),Te.setAttribute("checked","checked"),Te.setAttribute("name","t"),ae.appendChild(Te),R.checkClone=ae.cloneNode(!0).cloneNode(!0).lastChild.checked,ae.innerHTML="<textarea>x</textarea>",R.noCloneChecked=!!ae.cloneNode(!0).lastChild.defaultValue,ae.innerHTML="<option></option>",R.option=!!ae.lastChild})();var ut={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ut.tbody=ut.tfoot=ut.colgroup=ut.caption=ut.thead,ut.th=ut.td,R.option||(ut.optgroup=ut.option=[1,"<select multiple='multiple'>","</select>"]);function $t(X,ae){var Te;return typeof X.getElementsByTagName<"u"?Te=X.getElementsByTagName(ae||"*"):typeof X.querySelectorAll<"u"?Te=X.querySelectorAll(ae||"*"):Te=[],ae===void 0||ae&&he(X,ae)?Q.merge([X],Te):Te}function fi(X,ae){for(var Te=0,Pe=X.length;Te<Pe;Te++)We.set(X[Te],"globalEval",!ae||We.get(ae[Te],"globalEval"))}var kt=/<|&#?\w+;/;function Wt(X,ae,Te,Pe,ze){for(var He,Ze,It,St,Kt,di,bi=ae.createDocumentFragment(),ri=[],Ni=0,Ki=X.length;Ni<Ki;Ni++)if(He=X[Ni],He||He===0)if(J(He)==="object")Q.merge(ri,He.nodeType?[He]:He);else if(!kt.test(He))ri.push(ae.createTextNode(He));else{for(Ze=Ze||bi.appendChild(ae.createElement("div")),It=(Ne.exec(He)||["",""])[1].toLowerCase(),St=ut[It]||ut._default,Ze.innerHTML=St[1]+Q.htmlPrefilter(He)+St[2],di=St[0];di--;)Ze=Ze.lastChild;Q.merge(ri,Ze.childNodes),Ze=bi.firstChild,Ze.textContent=""}for(bi.textContent="",Ni=0;He=ri[Ni++];){if(Pe&&Q.inArray(He,Pe)>-1){ze&&ze.push(He);continue}if(Kt=Qe(He),Ze=$t(bi.appendChild(He),"script"),Kt&&fi(Ze),Te)for(di=0;He=Ze[di++];)vt.test(He.type||"")&&Te.push(He)}return bi}var Zi=/^([^.]*)(?:\.(.+)|)/;function Ut(){return!0}function Xt(){return!1}function Be(X,ae,Te,Pe,ze,He){var Ze,It;if(typeof ae=="object"){typeof Te!="string"&&(Pe=Pe||Te,Te=void 0);for(It in ae)Be(X,It,Te,Pe,ae[It],He);return X}if(Pe==null&&ze==null?(ze=Te,Pe=Te=void 0):ze==null&&(typeof Te=="string"?(ze=Pe,Pe=void 0):(ze=Pe,Pe=Te,Te=void 0)),ze===!1)ze=Xt;else if(!ze)return X;return He===1&&(Ze=ze,ze=function(St){return Q().off(St),Ze.apply(this,arguments)},ze.guid=Ze.guid||(Ze.guid=Q.guid++)),X.each(function(){Q.event.add(this,ae,ze,Pe,Te)})}Q.event={global:{},add:function(X,ae,Te,Pe,ze){var He,Ze,It,St,Kt,di,bi,ri,Ni,Ki,yr,fr=We.get(X);if(jt(X))for(Te.handler&&(He=Te,Te=He.handler,ze=He.selector),ze&&Q.find.matchesSelector(Ue,ze),Te.guid||(Te.guid=Q.guid++),(St=fr.events)||(St=fr.events=Object.create(null)),(Ze=fr.handle)||(Ze=fr.handle=function(Or){return typeof Q<"u"&&Q.event.triggered!==Or.type?Q.event.dispatch.apply(X,arguments):void 0}),ae=(ae||"").match(fe)||[""],Kt=ae.length;Kt--;)It=Zi.exec(ae[Kt])||[],Ni=yr=It[1],Ki=(It[2]||"").split(".").sort(),Ni&&(bi=Q.event.special[Ni]||{},Ni=(ze?bi.delegateType:bi.bindType)||Ni,bi=Q.event.special[Ni]||{},di=Q.extend({type:Ni,origType:yr,data:Pe,handler:Te,guid:Te.guid,selector:ze,needsContext:ze&&Q.expr.match.needsContext.test(ze),namespace:Ki.join(".")},He),(ri=St[Ni])||(ri=St[Ni]=[],ri.delegateCount=0,(!bi.setup||bi.setup.call(X,Pe,Ki,Ze)===!1)&&X.addEventListener&&X.addEventListener(Ni,Ze)),bi.add&&(bi.add.call(X,di),di.handler.guid||(di.handler.guid=Te.guid)),ze?ri.splice(ri.delegateCount++,0,di):ri.push(di),Q.event.global[Ni]=!0)},remove:function(X,ae,Te,Pe,ze){var He,Ze,It,St,Kt,di,bi,ri,Ni,Ki,yr,fr=We.hasData(X)&&We.get(X);if(!(!fr||!(St=fr.events))){for(ae=(ae||"").match(fe)||[""],Kt=ae.length;Kt--;){if(It=Zi.exec(ae[Kt])||[],Ni=yr=It[1],Ki=(It[2]||"").split(".").sort(),!Ni){for(Ni in St)Q.event.remove(X,Ni+ae[Kt],Te,Pe,!0);continue}for(bi=Q.event.special[Ni]||{},Ni=(Pe?bi.delegateType:bi.bindType)||Ni,ri=St[Ni]||[],It=It[2]&&new RegExp("(^|\\.)"+Ki.join("\\.(?:.*\\.|)")+"(\\.|$)"),Ze=He=ri.length;He--;)di=ri[He],(ze||yr===di.origType)&&(!Te||Te.guid===di.guid)&&(!It||It.test(di.namespace))&&(!Pe||Pe===di.selector||Pe==="**"&&di.selector)&&(ri.splice(He,1),di.selector&&ri.delegateCount--,bi.remove&&bi.remove.call(X,di));Ze&&!ri.length&&((!bi.teardown||bi.teardown.call(X,Ki,fr.handle)===!1)&&Q.removeEvent(X,Ni,fr.handle),delete St[Ni])}Q.isEmptyObject(St)&&We.remove(X,"handle events")}},dispatch:function(X){var ae,Te,Pe,ze,He,Ze,It=new Array(arguments.length),St=Q.event.fix(X),Kt=(We.get(this,"events")||Object.create(null))[St.type]||[],di=Q.event.special[St.type]||{};for(It[0]=St,ae=1;ae<arguments.length;ae++)It[ae]=arguments[ae];if(St.delegateTarget=this,!(di.preDispatch&&di.preDispatch.call(this,St)===!1)){for(Ze=Q.event.handlers.call(this,St,Kt),ae=0;(ze=Ze[ae++])&&!St.isPropagationStopped();)for(St.currentTarget=ze.elem,Te=0;(He=ze.handlers[Te++])&&!St.isImmediatePropagationStopped();)(!St.rnamespace||He.namespace===!1||St.rnamespace.test(He.namespace))&&(St.handleObj=He,St.data=He.data,Pe=((Q.event.special[He.origType]||{}).handle||He.handler).apply(ze.elem,It),Pe!==void 0&&(St.result=Pe)===!1&&(St.preventDefault(),St.stopPropagation()));return di.postDispatch&&di.postDispatch.call(this,St),St.result}},handlers:function(X,ae){var Te,Pe,ze,He,Ze,It=[],St=ae.delegateCount,Kt=X.target;if(St&&Kt.nodeType&&!(X.type==="click"&&X.button>=1)){for(;Kt!==this;Kt=Kt.parentNode||this)if(Kt.nodeType===1&&!(X.type==="click"&&Kt.disabled===!0)){for(He=[],Ze={},Te=0;Te<St;Te++)Pe=ae[Te],ze=Pe.selector+" ",Ze[ze]===void 0&&(Ze[ze]=Pe.needsContext?Q(ze,this).index(Kt)>-1:Q.find(ze,this,null,[Kt]).length),Ze[ze]&&He.push(Pe);He.length&&It.push({elem:Kt,handlers:He})}}return Kt=this,St<ae.length&&It.push({elem:Kt,handlers:ae.slice(St)}),It},addProp:function(X,ae){Object.defineProperty(Q.Event.prototype,X,{enumerable:!0,configurable:!0,get:B(ae)?function(){if(this.originalEvent)return ae(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[X]},set:function(Te){Object.defineProperty(this,X,{enumerable:!0,configurable:!0,writable:!0,value:Te})}})},fix:function(X){return X[Q.expando]?X:new Q.Event(X)},special:{load:{noBubble:!0},click:{setup:function(X){var ae=this||X;return pt.test(ae.type)&&ae.click&&he(ae,"input")&&be(ae,"click",!0),!1},trigger:function(X){var ae=this||X;return pt.test(ae.type)&&ae.click&&he(ae,"input")&&be(ae,"click"),!0},_default:function(X){var ae=X.target;return pt.test(ae.type)&&ae.click&&he(ae,"input")&&We.get(ae,"click")||he(ae,"a")}},beforeunload:{postDispatch:function(X){X.result!==void 0&&X.originalEvent&&(X.originalEvent.returnValue=X.result)}}}};function be(X,ae,Te){if(!Te){We.get(X,ae)===void 0&&Q.event.add(X,ae,Ut);return}We.set(X,ae,!1),Q.event.add(X,ae,{namespace:!1,handler:function(Pe){var ze,He=We.get(this,ae);if(Pe.isTrigger&1&&this[ae]){if(He)(Q.event.special[ae]||{}).delegateType&&Pe.stopPropagation();else if(He=l.call(arguments),We.set(this,ae,He),this[ae](),ze=We.get(this,ae),We.set(this,ae,!1),He!==ze)return Pe.stopImmediatePropagation(),Pe.preventDefault(),ze}else He&&(We.set(this,ae,Q.event.trigger(He[0],He.slice(1),this)),Pe.stopPropagation(),Pe.isImmediatePropagationStopped=Ut)}})}Q.removeEvent=function(X,ae,Te){X.removeEventListener&&X.removeEventListener(ae,Te)},Q.Event=function(X,ae){if(!(this instanceof Q.Event))return new Q.Event(X,ae);X&&X.type?(this.originalEvent=X,this.type=X.type,this.isDefaultPrevented=X.defaultPrevented||X.defaultPrevented===void 0&&X.returnValue===!1?Ut:Xt,this.target=X.target&&X.target.nodeType===3?X.target.parentNode:X.target,this.currentTarget=X.currentTarget,this.relatedTarget=X.relatedTarget):this.type=X,ae&&Q.extend(this,ae),this.timeStamp=X&&X.timeStamp||Date.now(),this[Q.expando]=!0},Q.Event.prototype={constructor:Q.Event,isDefaultPrevented:Xt,isPropagationStopped:Xt,isImmediatePropagationStopped:Xt,isSimulated:!1,preventDefault:function(){var X=this.originalEvent;this.isDefaultPrevented=Ut,X&&!this.isSimulated&&X.preventDefault()},stopPropagation:function(){var X=this.originalEvent;this.isPropagationStopped=Ut,X&&!this.isSimulated&&X.stopPropagation()},stopImmediatePropagation:function(){var X=this.originalEvent;this.isImmediatePropagationStopped=Ut,X&&!this.isSimulated&&X.stopImmediatePropagation(),this.stopPropagation()}},Q.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Q.event.addProp),Q.each({focus:"focusin",blur:"focusout"},function(X,ae){function Te(Pe){if(O.documentMode){var ze=We.get(this,"handle"),He=Q.event.fix(Pe);He.type=Pe.type==="focusin"?"focus":"blur",He.isSimulated=!0,ze(Pe),He.target===He.currentTarget&&ze(He)}else Q.event.simulate(ae,Pe.target,Q.event.fix(Pe))}Q.event.special[X]={setup:function(){var Pe;if(be(this,X,!0),O.documentMode)Pe=We.get(this,ae),Pe||this.addEventListener(ae,Te),We.set(this,ae,(Pe||0)+1);else return!1},trigger:function(){return be(this,X),!0},teardown:function(){var Pe;if(O.documentMode)Pe=We.get(this,ae)-1,Pe?We.set(this,ae,Pe):(this.removeEventListener(ae,Te),We.remove(this,ae));else return!1},_default:function(Pe){return We.get(Pe.target,X)},delegateType:ae},Q.event.special[ae]={setup:function(){var Pe=this.ownerDocument||this.document||this,ze=O.documentMode?this:Pe,He=We.get(ze,ae);He||(O.documentMode?this.addEventListener(ae,Te):Pe.addEventListener(X,Te,!0)),We.set(ze,ae,(He||0)+1)},teardown:function(){var Pe=this.ownerDocument||this.document||this,ze=O.documentMode?this:Pe,He=We.get(ze,ae)-1;He?We.set(ze,ae,He):(O.documentMode?this.removeEventListener(ae,Te):Pe.removeEventListener(X,Te,!0),We.remove(ze,ae))}}}),Q.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(X,ae){Q.event.special[X]={delegateType:ae,bindType:ae,handle:function(Te){var Pe,ze=this,He=Te.relatedTarget,Ze=Te.handleObj;return(!He||He!==ze&&!Q.contains(ze,He))&&(Te.type=Ze.origType,Pe=Ze.handler.apply(this,arguments),Te.type=ae),Pe}}}),Q.fn.extend({on:function(X,ae,Te,Pe){return Be(this,X,ae,Te,Pe)},one:function(X,ae,Te,Pe){return Be(this,X,ae,Te,Pe,1)},off:function(X,ae,Te){var Pe,ze;if(X&&X.preventDefault&&X.handleObj)return Pe=X.handleObj,Q(X.delegateTarget).off(Pe.namespace?Pe.origType+"."+Pe.namespace:Pe.origType,Pe.selector,Pe.handler),this;if(typeof X=="object"){for(ze in X)this.off(ze,ae,X[ze]);return this}return(ae===!1||typeof ae=="function")&&(Te=ae,ae=void 0),Te===!1&&(Te=Xt),this.each(function(){Q.event.remove(this,X,Te,ae)})}});var ge=/<script|<style|<link/i,oe=/checked\s*(?:[^=]|=\s*.checked.)/i,Ae=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function qe(X,ae){return he(X,"table")&&he(ae.nodeType!==11?ae:ae.firstChild,"tr")&&Q(X).children("tbody")[0]||X}function bt(X){return X.type=(X.getAttribute("type")!==null)+"/"+X.type,X}function at(X){return(X.type||"").slice(0,5)==="true/"?X.type=X.type.slice(5):X.removeAttribute("type"),X}function gt(X,ae){var Te,Pe,ze,He,Ze,It,St;if(ae.nodeType===1){if(We.hasData(X)&&(He=We.get(X),St=He.events,St)){We.remove(ae,"handle events");for(ze in St)for(Te=0,Pe=St[ze].length;Te<Pe;Te++)Q.event.add(ae,ze,St[ze][Te])}Gt.hasData(X)&&(Ze=Gt.access(X),It=Q.extend({},Ze),Gt.set(ae,It))}}function ei(X,ae){var Te=ae.nodeName.toLowerCase();Te==="input"&&pt.test(X.type)?ae.checked=X.checked:(Te==="input"||Te==="textarea")&&(ae.defaultValue=X.defaultValue)}function ii(X,ae,Te,Pe){ae=m(ae);var ze,He,Ze,It,St,Kt,di=0,bi=X.length,ri=bi-1,Ni=ae[0],Ki=B(Ni);if(Ki||bi>1&&typeof Ni=="string"&&!R.checkClone&&oe.test(Ni))return X.each(function(yr){var fr=X.eq(yr);Ki&&(ae[0]=Ni.call(this,yr,fr.html())),ii(fr,ae,Te,Pe)});if(bi&&(ze=Wt(ae,X[0].ownerDocument,!1,X,Pe),He=ze.firstChild,ze.childNodes.length===1&&(ze=He),He||Pe)){for(Ze=Q.map($t(ze,"script"),bt),It=Ze.length;di<bi;di++)St=ze,di!==ri&&(St=Q.clone(St,!0,!0),It&&Q.merge(Ze,$t(St,"script"))),Te.call(X[di],St,di);if(It)for(Kt=Ze[Ze.length-1].ownerDocument,Q.map(Ze,at),di=0;di<It;di++)St=Ze[di],vt.test(St.type||"")&&!We.access(St,"globalEval")&&Q.contains(Kt,St)&&(St.src&&(St.type||"").toLowerCase()!=="module"?Q._evalUrl&&!St.noModule&&Q._evalUrl(St.src,{nonce:St.nonce||St.getAttribute("nonce")},Kt):Y(St.textContent.replace(Ae,""),St,Kt))}return X}function Bi(X,ae,Te){for(var Pe,ze=ae?Q.filter(ae,X):X,He=0;(Pe=ze[He])!=null;He++)!Te&&Pe.nodeType===1&&Q.cleanData($t(Pe)),Pe.parentNode&&(Te&&Qe(Pe)&&fi($t(Pe,"script")),Pe.parentNode.removeChild(Pe));return X}Q.extend({htmlPrefilter:function(X){return X},clone:function(X,ae,Te){var Pe,ze,He,Ze,It=X.cloneNode(!0),St=Qe(X);if(!R.noCloneChecked&&(X.nodeType===1||X.nodeType===11)&&!Q.isXMLDoc(X))for(Ze=$t(It),He=$t(X),Pe=0,ze=He.length;Pe<ze;Pe++)ei(He[Pe],Ze[Pe]);if(ae)if(Te)for(He=He||$t(X),Ze=Ze||$t(It),Pe=0,ze=He.length;Pe<ze;Pe++)gt(He[Pe],Ze[Pe]);else gt(X,It);return Ze=$t(It,"script"),Ze.length>0&&fi(Ze,!St&&$t(X,"script")),It},cleanData:function(X){for(var ae,Te,Pe,ze=Q.event.special,He=0;(Te=X[He])!==void 0;He++)if(jt(Te)){if(ae=Te[We.expando]){if(ae.events)for(Pe in ae.events)ze[Pe]?Q.event.remove(Te,Pe):Q.removeEvent(Te,Pe,ae.handle);Te[We.expando]=void 0}Te[Gt.expando]&&(Te[Gt.expando]=void 0)}}}),Q.fn.extend({detach:function(X){return Bi(this,X,!0)},remove:function(X){return Bi(this,X)},text:function(X){return nt(this,function(ae){return ae===void 0?Q.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=ae)})},null,X,arguments.length)},append:function(){return ii(this,arguments,function(X){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var ae=qe(this,X);ae.appendChild(X)}})},prepend:function(){return ii(this,arguments,function(X){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var ae=qe(this,X);ae.insertBefore(X,ae.firstChild)}})},before:function(){return ii(this,arguments,function(X){this.parentNode&&this.parentNode.insertBefore(X,this)})},after:function(){return ii(this,arguments,function(X){this.parentNode&&this.parentNode.insertBefore(X,this.nextSibling)})},empty:function(){for(var X,ae=0;(X=this[ae])!=null;ae++)X.nodeType===1&&(Q.cleanData($t(X,!1)),X.textContent="");return this},clone:function(X,ae){return X=X??!1,ae=ae??X,this.map(function(){return Q.clone(this,X,ae)})},html:function(X){return nt(this,function(ae){var Te=this[0]||{},Pe=0,ze=this.length;if(ae===void 0&&Te.nodeType===1)return Te.innerHTML;if(typeof ae=="string"&&!ge.test(ae)&&!ut[(Ne.exec(ae)||["",""])[1].toLowerCase()]){ae=Q.htmlPrefilter(ae);try{for(;Pe<ze;Pe++)Te=this[Pe]||{},Te.nodeType===1&&(Q.cleanData($t(Te,!1)),Te.innerHTML=ae);Te=0}catch{}}Te&&this.empty().append(ae)},null,X,arguments.length)},replaceWith:function(){var X=[];return ii(this,arguments,function(ae){var Te=this.parentNode;Q.inArray(this,X)<0&&(Q.cleanData($t(this)),Te&&Te.replaceChild(ae,this))},X)}}),Q.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(X,ae){Q.fn[X]=function(Te){for(var Pe,ze=[],He=Q(Te),Ze=He.length-1,It=0;It<=Ze;It++)Pe=It===Ze?this:this.clone(!0),Q(He[It])[ae](Pe),y.apply(ze,Pe.get());return this.pushStack(ze)}});var hi=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Di=/^--/,ni=function(X){var ae=X.ownerDocument.defaultView;return(!ae||!ae.opener)&&(ae=e),ae.getComputedStyle(X)},pi=function(X,ae,Te){var Pe,ze,He={};for(ze in ae)He[ze]=X.style[ze],X.style[ze]=ae[ze];Pe=Te.call(X);for(ze in ae)X.style[ze]=He[ze];return Pe},Ii=new RegExp(Le.join("|"),"i");(function(){function X(){if(Kt){St.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Kt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ue.appendChild(St).appendChild(Kt);var di=e.getComputedStyle(Kt);Te=di.top!=="1%",It=ae(di.marginLeft)===12,Kt.style.right="60%",He=ae(di.right)===36,Pe=ae(di.width)===36,Kt.style.position="absolute",ze=ae(Kt.offsetWidth/3)===12,Ue.removeChild(St),Kt=null}}function ae(di){return Math.round(parseFloat(di))}var Te,Pe,ze,He,Ze,It,St=O.createElement("div"),Kt=O.createElement("div");Kt.style&&(Kt.style.backgroundClip="content-box",Kt.cloneNode(!0).style.backgroundClip="",R.clearCloneStyle=Kt.style.backgroundClip==="content-box",Q.extend(R,{boxSizingReliable:function(){return X(),Pe},pixelBoxStyles:function(){return X(),He},pixelPosition:function(){return X(),Te},reliableMarginLeft:function(){return X(),It},scrollboxSize:function(){return X(),ze},reliableTrDimensions:function(){var di,bi,ri,Ni;return Ze==null&&(di=O.createElement("table"),bi=O.createElement("tr"),ri=O.createElement("div"),di.style.cssText="position:absolute;left:-11111px;border-collapse:separate",bi.style.cssText="box-sizing:content-box;border:1px solid",bi.style.height="1px",ri.style.height="9px",ri.style.display="block",Ue.appendChild(di).appendChild(bi).appendChild(ri),Ni=e.getComputedStyle(bi),Ze=parseInt(Ni.height,10)+parseInt(Ni.borderTopWidth,10)+parseInt(Ni.borderBottomWidth,10)===bi.offsetHeight,Ue.removeChild(di)),Ze}}))})();function Ci(X,ae,Te){var Pe,ze,He,Ze,It=Di.test(ae),St=X.style;return Te=Te||ni(X),Te&&(Ze=Te.getPropertyValue(ae)||Te[ae],It&&Ze&&(Ze=Ze.replace(w,"$1")||void 0),Ze===""&&!Qe(X)&&(Ze=Q.style(X,ae)),!R.pixelBoxStyles()&&hi.test(Ze)&&Ii.test(ae)&&(Pe=St.width,ze=St.minWidth,He=St.maxWidth,St.minWidth=St.maxWidth=St.width=Ze,Ze=Te.width,St.width=Pe,St.minWidth=ze,St.maxWidth=He)),Ze!==void 0?Ze+"":Ze}function zi(X,ae){return{get:function(){if(X()){delete this.get;return}return(this.get=ae).apply(this,arguments)}}}var qi=["Webkit","Moz","ms"],Ai=O.createElement("div").style,ji={};function ki(X){for(var ae=X[0].toUpperCase()+X.slice(1),Te=qi.length;Te--;)if(X=qi[Te]+ae,X in Ai)return X}function Ti(X){var ae=Q.cssProps[X]||ji[X];return ae||(X in Ai?X:ji[X]=ki(X)||X)}var wi=/^(none|table(?!-c[ea]).+)/,oi={position:"absolute",visibility:"hidden",display:"block"},zt={letterSpacing:"0",fontWeight:"400"};function Qt(X,ae,Te){var Pe=ye.exec(ae);return Pe?Math.max(0,Pe[2]-(Te||0))+(Pe[3]||"px"):ae}function Si(X,ae,Te,Pe,ze,He){var Ze=ae==="width"?1:0,It=0,St=0,Kt=0;if(Te===(Pe?"border":"content"))return 0;for(;Ze<4;Ze+=2)Te==="margin"&&(Kt+=Q.css(X,Te+Le[Ze],!0,ze)),Pe?(Te==="content"&&(St-=Q.css(X,"padding"+Le[Ze],!0,ze)),Te!=="margin"&&(St-=Q.css(X,"border"+Le[Ze]+"Width",!0,ze))):(St+=Q.css(X,"padding"+Le[Ze],!0,ze),Te!=="padding"?St+=Q.css(X,"border"+Le[Ze]+"Width",!0,ze):It+=Q.css(X,"border"+Le[Ze]+"Width",!0,ze));return!Pe&&He>=0&&(St+=Math.max(0,Math.ceil(X["offset"+ae[0].toUpperCase()+ae.slice(1)]-He-St-It-.5))||0),St+Kt}function mi(X,ae,Te){var Pe=ni(X),ze=!R.boxSizingReliable()||Te,He=ze&&Q.css(X,"boxSizing",!1,Pe)==="border-box",Ze=He,It=Ci(X,ae,Pe),St="offset"+ae[0].toUpperCase()+ae.slice(1);if(hi.test(It)){if(!Te)return It;It="auto"}return(!R.boxSizingReliable()&&He||!R.reliableTrDimensions()&&he(X,"tr")||It==="auto"||!parseFloat(It)&&Q.css(X,"display",!1,Pe)==="inline")&&X.getClientRects().length&&(He=Q.css(X,"boxSizing",!1,Pe)==="border-box",Ze=St in X,Ze&&(It=X[St])),It=parseFloat(It)||0,It+Si(X,ae,Te||(He?"border":"content"),Ze,Pe,It)+"px"}Q.extend({cssHooks:{opacity:{get:function(X,ae){if(ae){var Te=Ci(X,"opacity");return Te===""?"1":Te}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(X,ae,Te,Pe){if(!(!X||X.nodeType===3||X.nodeType===8||!X.style)){var ze,He,Ze,It=ht(ae),St=Di.test(ae),Kt=X.style;if(St||(ae=Ti(It)),Ze=Q.cssHooks[ae]||Q.cssHooks[It],Te!==void 0){if(He=typeof Te,He==="string"&&(ze=ye.exec(Te))&&ze[1]&&(Te=Vt(X,ae,ze),He="number"),Te==null||Te!==Te)return;He==="number"&&!St&&(Te+=ze&&ze[3]||(Q.cssNumber[It]?"":"px")),!R.clearCloneStyle&&Te===""&&ae.indexOf("background")===0&&(Kt[ae]="inherit"),(!Ze||!("set"in Ze)||(Te=Ze.set(X,Te,Pe))!==void 0)&&(St?Kt.setProperty(ae,Te):Kt[ae]=Te)}else return Ze&&"get"in Ze&&(ze=Ze.get(X,!1,Pe))!==void 0?ze:Kt[ae]}},css:function(X,ae,Te,Pe){var ze,He,Ze,It=ht(ae),St=Di.test(ae);return St||(ae=Ti(It)),Ze=Q.cssHooks[ae]||Q.cssHooks[It],Ze&&"get"in Ze&&(ze=Ze.get(X,!0,Te)),ze===void 0&&(ze=Ci(X,ae,Pe)),ze==="normal"&&ae in zt&&(ze=zt[ae]),Te===""||Te?(He=parseFloat(ze),Te===!0||isFinite(He)?He||0:ze):ze}}),Q.each(["height","width"],function(X,ae){Q.cssHooks[ae]={get:function(Te,Pe,ze){if(Pe)return wi.test(Q.css(Te,"display"))&&(!Te.getClientRects().length||!Te.getBoundingClientRect().width)?pi(Te,oi,function(){return mi(Te,ae,ze)}):mi(Te,ae,ze)},set:function(Te,Pe,ze){var He,Ze=ni(Te),It=!R.scrollboxSize()&&Ze.position==="absolute",St=It||ze,Kt=St&&Q.css(Te,"boxSizing",!1,Ze)==="border-box",di=ze?Si(Te,ae,ze,Kt,Ze):0;return Kt&&It&&(di-=Math.ceil(Te["offset"+ae[0].toUpperCase()+ae.slice(1)]-parseFloat(Ze[ae])-Si(Te,ae,"border",!1,Ze)-.5)),di&&(He=ye.exec(Pe))&&(He[3]||"px")!=="px"&&(Te.style[ae]=Pe,Pe=Q.css(Te,ae)),Qt(Te,Pe,di)}}}),Q.cssHooks.marginLeft=zi(R.reliableMarginLeft,function(X,ae){if(ae)return(parseFloat(Ci(X,"marginLeft"))||X.getBoundingClientRect().left-pi(X,{marginLeft:0},function(){return X.getBoundingClientRect().left}))+"px"}),Q.each({margin:"",padding:"",border:"Width"},function(X,ae){Q.cssHooks[X+ae]={expand:function(Te){for(var Pe=0,ze={},He=typeof Te=="string"?Te.split(" "):[Te];Pe<4;Pe++)ze[X+Le[Pe]+ae]=He[Pe]||He[Pe-2]||He[0];return ze}},X!=="margin"&&(Q.cssHooks[X+ae].set=Qt)}),Q.fn.extend({css:function(X,ae){return nt(this,function(Te,Pe,ze){var He,Ze,It={},St=0;if(Array.isArray(Pe)){for(He=ni(Te),Ze=Pe.length;St<Ze;St++)It[Pe[St]]=Q.css(Te,Pe[St],!1,He);return It}return ze!==void 0?Q.style(Te,Pe,ze):Q.css(Te,Pe)},X,ae,arguments.length>1)}});function ai(X,ae,Te,Pe,ze){return new ai.prototype.init(X,ae,Te,Pe,ze)}Q.Tween=ai,ai.prototype={constructor:ai,init:function(X,ae,Te,Pe,ze,He){this.elem=X,this.prop=Te,this.easing=ze||Q.easing._default,this.options=ae,this.start=this.now=this.cur(),this.end=Pe,this.unit=He||(Q.cssNumber[Te]?"":"px")},cur:function(){var X=ai.propHooks[this.prop];return X&&X.get?X.get(this):ai.propHooks._default.get(this)},run:function(X){var ae,Te=ai.propHooks[this.prop];return this.options.duration?this.pos=ae=Q.easing[this.easing](X,this.options.duration*X,0,1,this.options.duration):this.pos=ae=X,this.now=(this.end-this.start)*ae+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),Te&&Te.set?Te.set(this):ai.propHooks._default.set(this),this}},ai.prototype.init.prototype=ai.prototype,ai.propHooks={_default:{get:function(X){var ae;return X.elem.nodeType!==1||X.elem[X.prop]!=null&&X.elem.style[X.prop]==null?X.elem[X.prop]:(ae=Q.css(X.elem,X.prop,""),!ae||ae==="auto"?0:ae)},set:function(X){Q.fx.step[X.prop]?Q.fx.step[X.prop](X):X.elem.nodeType===1&&(Q.cssHooks[X.prop]||X.elem.style[Ti(X.prop)]!=null)?Q.style(X.elem,X.prop,X.now+X.unit):X.elem[X.prop]=X.now}}},ai.propHooks.scrollTop=ai.propHooks.scrollLeft={set:function(X){X.elem.nodeType&&X.elem.parentNode&&(X.elem[X.prop]=X.now)}},Q.easing={linear:function(X){return X},swing:function(X){return .5-Math.cos(X*Math.PI)/2},_default:"swing"},Q.fx=ai.prototype.init,Q.fx.step={};var gi,Hi,or=/^(?:toggle|show|hide)$/,nr=/queueHooks$/;function Gi(){Hi&&(O.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(Gi):e.setTimeout(Gi,Q.fx.interval),Q.fx.tick())}function Mt(){return e.setTimeout(function(){gi=void 0}),gi=Date.now()}function er(X,ae){var Te,Pe=0,ze={height:X};for(ae=ae?1:0;Pe<4;Pe+=2-ae)Te=Le[Pe],ze["margin"+Te]=ze["padding"+Te]=X;return ae&&(ze.opacity=ze.width=X),ze}function tr(X,ae,Te){for(var Pe,ze=(we.tweeners[ae]||[]).concat(we.tweeners["*"]),He=0,Ze=ze.length;He<Ze;He++)if(Pe=ze[He].call(Te,ae,X))return Pe}function br(X,ae,Te){var Pe,ze,He,Ze,It,St,Kt,di,bi="width"in ae||"height"in ae,ri=this,Ni={},Ki=X.style,yr=X.nodeType&&De(X),fr=We.get(X,"fxshow");Te.queue||(Ze=Q._queueHooks(X,"fx"),Ze.unqueued==null&&(Ze.unqueued=0,It=Ze.empty.fire,Ze.empty.fire=function(){Ze.unqueued||It()}),Ze.unqueued++,ri.always(function(){ri.always(function(){Ze.unqueued--,Q.queue(X,"fx").length||Ze.empty.fire()})}));for(Pe in ae)if(ze=ae[Pe],or.test(ze)){if(delete ae[Pe],He=He||ze==="toggle",ze===(yr?"hide":"show"))if(ze==="show"&&fr&&fr[Pe]!==void 0)yr=!0;else continue;Ni[Pe]=fr&&fr[Pe]||Q.style(X,Pe)}if(St=!Q.isEmptyObject(ae),!(!St&&Q.isEmptyObject(Ni))){bi&&X.nodeType===1&&(Te.overflow=[Ki.overflow,Ki.overflowX,Ki.overflowY],Kt=fr&&fr.display,Kt==null&&(Kt=We.get(X,"display")),di=Q.css(X,"display"),di==="none"&&(Kt?di=Kt:(Pt([X],!0),Kt=X.style.display||Kt,di=Q.css(X,"display"),Pt([X]))),(di==="inline"||di==="inline-block"&&Kt!=null)&&Q.css(X,"float")==="none"&&(St||(ri.done(function(){Ki.display=Kt}),Kt==null&&(di=Ki.display,Kt=di==="none"?"":di)),Ki.display="inline-block")),Te.overflow&&(Ki.overflow="hidden",ri.always(function(){Ki.overflow=Te.overflow[0],Ki.overflowX=Te.overflow[1],Ki.overflowY=Te.overflow[2]})),St=!1;for(Pe in Ni)St||(fr?"hidden"in fr&&(yr=fr.hidden):fr=We.access(X,"fxshow",{display:Kt}),He&&(fr.hidden=!yr),yr&&Pt([X],!0),ri.done(function(){yr||Pt([X]),We.remove(X,"fxshow");for(Pe in Ni)Q.style(X,Pe,Ni[Pe])})),St=tr(yr?fr[Pe]:0,Pe,ri),Pe in fr||(fr[Pe]=St.start,yr&&(St.end=St.start,St.start=0))}}function le(X,ae){var Te,Pe,ze,He,Ze;for(Te in X)if(Pe=ht(Te),ze=ae[Pe],He=X[Te],Array.isArray(He)&&(ze=He[1],He=X[Te]=He[0]),Te!==Pe&&(X[Pe]=He,delete X[Te]),Ze=Q.cssHooks[Pe],Ze&&"expand"in Ze){He=Ze.expand(He),delete X[Pe];for(Te in He)Te in X||(X[Te]=He[Te],ae[Te]=ze)}else ae[Pe]=ze}function we(X,ae,Te){var Pe,ze,He=0,Ze=we.prefilters.length,It=Q.Deferred().always(function(){delete St.elem}),St=function(){if(ze)return!1;for(var bi=gi||Mt(),ri=Math.max(0,Kt.startTime+Kt.duration-bi),Ni=ri/Kt.duration||0,Ki=1-Ni,yr=0,fr=Kt.tweens.length;yr<fr;yr++)Kt.tweens[yr].run(Ki);return It.notifyWith(X,[Kt,Ki,ri]),Ki<1&&fr?ri:(fr||It.notifyWith(X,[Kt,1,0]),It.resolveWith(X,[Kt]),!1)},Kt=It.promise({elem:X,props:Q.extend({},ae),opts:Q.extend(!0,{specialEasing:{},easing:Q.easing._default},Te),originalProperties:ae,originalOptions:Te,startTime:gi||Mt(),duration:Te.duration,tweens:[],createTween:function(bi,ri){var Ni=Q.Tween(X,Kt.opts,bi,ri,Kt.opts.specialEasing[bi]||Kt.opts.easing);return Kt.tweens.push(Ni),Ni},stop:function(bi){var ri=0,Ni=bi?Kt.tweens.length:0;if(ze)return this;for(ze=!0;ri<Ni;ri++)Kt.tweens[ri].run(1);return bi?(It.notifyWith(X,[Kt,1,0]),It.resolveWith(X,[Kt,bi])):It.rejectWith(X,[Kt,bi]),this}}),di=Kt.props;for(le(di,Kt.opts.specialEasing);He<Ze;He++)if(Pe=we.prefilters[He].call(Kt,X,di,Kt.opts),Pe)return B(Pe.stop)&&(Q._queueHooks(Kt.elem,Kt.opts.queue).stop=Pe.stop.bind(Pe)),Pe;return Q.map(di,tr,Kt),B(Kt.opts.start)&&Kt.opts.start.call(X,Kt),Kt.progress(Kt.opts.progress).done(Kt.opts.done,Kt.opts.complete).fail(Kt.opts.fail).always(Kt.opts.always),Q.fx.timer(Q.extend(St,{elem:X,anim:Kt,queue:Kt.opts.queue})),Kt}Q.Animation=Q.extend(we,{tweeners:{"*":[function(X,ae){var Te=this.createTween(X,ae);return Vt(Te.elem,X,ye.exec(ae),Te),Te}]},tweener:function(X,ae){B(X)?(ae=X,X=["*"]):X=X.match(fe);for(var Te,Pe=0,ze=X.length;Pe<ze;Pe++)Te=X[Pe],we.tweeners[Te]=we.tweeners[Te]||[],we.tweeners[Te].unshift(ae)},prefilters:[br],prefilter:function(X,ae){ae?we.prefilters.unshift(X):we.prefilters.push(X)}}),Q.speed=function(X,ae,Te){var Pe=X&&typeof X=="object"?Q.extend({},X):{complete:Te||!Te&&ae||B(X)&&X,duration:X,easing:Te&&ae||ae&&!B(ae)&&ae};return Q.fx.off?Pe.duration=0:typeof Pe.duration!="number"&&(Pe.duration in Q.fx.speeds?Pe.duration=Q.fx.speeds[Pe.duration]:Pe.duration=Q.fx.speeds._default),(Pe.queue==null||Pe.queue===!0)&&(Pe.queue="fx"),Pe.old=Pe.complete,Pe.complete=function(){B(Pe.old)&&Pe.old.call(this),Pe.queue&&Q.dequeue(this,Pe.queue)},Pe},Q.fn.extend({fadeTo:function(X,ae,Te,Pe){return this.filter(De).css("opacity",0).show().end().animate({opacity:ae},X,Te,Pe)},animate:function(X,ae,Te,Pe){var ze=Q.isEmptyObject(X),He=Q.speed(ae,Te,Pe),Ze=function(){var It=we(this,Q.extend({},X),He);(ze||We.get(this,"finish"))&&It.stop(!0)};return Ze.finish=Ze,ze||He.queue===!1?this.each(Ze):this.queue(He.queue,Ze)},stop:function(X,ae,Te){var Pe=function(ze){var He=ze.stop;delete ze.stop,He(Te)};return typeof X!="string"&&(Te=ae,ae=X,X=void 0),ae&&this.queue(X||"fx",[]),this.each(function(){var ze=!0,He=X!=null&&X+"queueHooks",Ze=Q.timers,It=We.get(this);if(He)It[He]&&It[He].stop&&Pe(It[He]);else for(He in It)It[He]&&It[He].stop&&nr.test(He)&&Pe(It[He]);for(He=Ze.length;He--;)Ze[He].elem===this&&(X==null||Ze[He].queue===X)&&(Ze[He].anim.stop(Te),ze=!1,Ze.splice(He,1));(ze||!Te)&&Q.dequeue(this,X)})},finish:function(X){return X!==!1&&(X=X||"fx"),this.each(function(){var ae,Te=We.get(this),Pe=Te[X+"queue"],ze=Te[X+"queueHooks"],He=Q.timers,Ze=Pe?Pe.length:0;for(Te.finish=!0,Q.queue(this,X,[]),ze&&ze.stop&&ze.stop.call(this,!0),ae=He.length;ae--;)He[ae].elem===this&&He[ae].queue===X&&(He[ae].anim.stop(!0),He.splice(ae,1));for(ae=0;ae<Ze;ae++)Pe[ae]&&Pe[ae].finish&&Pe[ae].finish.call(this);delete Te.finish})}}),Q.each(["toggle","show","hide"],function(X,ae){var Te=Q.fn[ae];Q.fn[ae]=function(Pe,ze,He){return Pe==null||typeof Pe=="boolean"?Te.apply(this,arguments):this.animate(er(ae,!0),Pe,ze,He)}}),Q.each({slideDown:er("show"),slideUp:er("hide"),slideToggle:er("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(X,ae){Q.fn[X]=function(Te,Pe,ze){return this.animate(ae,Te,Pe,ze)}}),Q.timers=[],Q.fx.tick=function(){var X,ae=0,Te=Q.timers;for(gi=Date.now();ae<Te.length;ae++)X=Te[ae],!X()&&Te[ae]===X&&Te.splice(ae--,1);Te.length||Q.fx.stop(),gi=void 0},Q.fx.timer=function(X){Q.timers.push(X),Q.fx.start()},Q.fx.interval=13,Q.fx.start=function(){Hi||(Hi=!0,Gi())},Q.fx.stop=function(){Hi=null},Q.fx.speeds={slow:600,fast:200,_default:400},Q.fn.delay=function(X,ae){return X=Q.fx&&Q.fx.speeds[X]||X,ae=ae||"fx",this.queue(ae,function(Te,Pe){var ze=e.setTimeout(Te,X);Pe.stop=function(){e.clearTimeout(ze)}})},function(){var X=O.createElement("input"),ae=O.createElement("select"),Te=ae.appendChild(O.createElement("option"));X.type="checkbox",R.checkOn=X.value!=="",R.optSelected=Te.selected,X=O.createElement("input"),X.value="t",X.type="radio",R.radioValue=X.value==="t"}();var $e,je=Q.expr.attrHandle;Q.fn.extend({attr:function(X,ae){return nt(this,Q.attr,X,ae,arguments.length>1)},removeAttr:function(X){return this.each(function(){Q.removeAttr(this,X)})}}),Q.extend({attr:function(X,ae,Te){var Pe,ze,He=X.nodeType;if(!(He===3||He===8||He===2)){if(typeof X.getAttribute>"u")return Q.prop(X,ae,Te);if((He!==1||!Q.isXMLDoc(X))&&(ze=Q.attrHooks[ae.toLowerCase()]||(Q.expr.match.bool.test(ae)?$e:void 0)),Te!==void 0){if(Te===null){Q.removeAttr(X,ae);return}return ze&&"set"in ze&&(Pe=ze.set(X,Te,ae))!==void 0?Pe:(X.setAttribute(ae,Te+""),Te)}return ze&&"get"in ze&&(Pe=ze.get(X,ae))!==null?Pe:(Pe=Q.find.attr(X,ae),Pe??void 0)}},attrHooks:{type:{set:function(X,ae){if(!R.radioValue&&ae==="radio"&&he(X,"input")){var Te=X.value;return X.setAttribute("type",ae),Te&&(X.value=Te),ae}}}},removeAttr:function(X,ae){var Te,Pe=0,ze=ae&&ae.match(fe);if(ze&&X.nodeType===1)for(;Te=ze[Pe++];)X.removeAttribute(Te)}}),$e={set:function(X,ae,Te){return ae===!1?Q.removeAttr(X,Te):X.setAttribute(Te,Te),Te}},Q.each(Q.expr.match.bool.source.match(/\w+/g),function(X,ae){var Te=je[ae]||Q.find.attr;je[ae]=function(Pe,ze,He){var Ze,It,St=ze.toLowerCase();return He||(It=je[St],je[St]=Ze,Ze=Te(Pe,ze,He)!=null?St:null,je[St]=It),Ze}});var Ge=/^(?:input|select|textarea|button)$/i,st=/^(?:a|area)$/i;Q.fn.extend({prop:function(X,ae){return nt(this,Q.prop,X,ae,arguments.length>1)},removeProp:function(X){return this.each(function(){delete this[Q.propFix[X]||X]})}}),Q.extend({prop:function(X,ae,Te){var Pe,ze,He=X.nodeType;if(!(He===3||He===8||He===2))return(He!==1||!Q.isXMLDoc(X))&&(ae=Q.propFix[ae]||ae,ze=Q.propHooks[ae]),Te!==void 0?ze&&"set"in ze&&(Pe=ze.set(X,Te,ae))!==void 0?Pe:X[ae]=Te:ze&&"get"in ze&&(Pe=ze.get(X,ae))!==null?Pe:X[ae]},propHooks:{tabIndex:{get:function(X){var ae=Q.find.attr(X,"tabindex");return ae?parseInt(ae,10):Ge.test(X.nodeName)||st.test(X.nodeName)&&X.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),R.optSelected||(Q.propHooks.selected={get:function(X){var ae=X.parentNode;return ae&&ae.parentNode&&ae.parentNode.selectedIndex,null},set:function(X){var ae=X.parentNode;ae&&(ae.selectedIndex,ae.parentNode&&ae.parentNode.selectedIndex)}}),Q.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Q.propFix[this.toLowerCase()]=this});function xe(X){var ae=X.match(fe)||[];return ae.join(" ")}function Ee(X){return X.getAttribute&&X.getAttribute("class")||""}function Ie(X){return Array.isArray(X)?X:typeof X=="string"?X.match(fe)||[]:[]}Q.fn.extend({addClass:function(X){var ae,Te,Pe,ze,He,Ze;return B(X)?this.each(function(It){Q(this).addClass(X.call(this,It,Ee(this)))}):(ae=Ie(X),ae.length?this.each(function(){if(Pe=Ee(this),Te=this.nodeType===1&&" "+xe(Pe)+" ",Te){for(He=0;He<ae.length;He++)ze=ae[He],Te.indexOf(" "+ze+" ")<0&&(Te+=ze+" ");Ze=xe(Te),Pe!==Ze&&this.setAttribute("class",Ze)}}):this)},removeClass:function(X){var ae,Te,Pe,ze,He,Ze;return B(X)?this.each(function(It){Q(this).removeClass(X.call(this,It,Ee(this)))}):arguments.length?(ae=Ie(X),ae.length?this.each(function(){if(Pe=Ee(this),Te=this.nodeType===1&&" "+xe(Pe)+" ",Te){for(He=0;He<ae.length;He++)for(ze=ae[He];Te.indexOf(" "+ze+" ")>-1;)Te=Te.replace(" "+ze+" "," ");Ze=xe(Te),Pe!==Ze&&this.setAttribute("class",Ze)}}):this):this.attr("class","")},toggleClass:function(X,ae){var Te,Pe,ze,He,Ze=typeof X,It=Ze==="string"||Array.isArray(X);return B(X)?this.each(function(St){Q(this).toggleClass(X.call(this,St,Ee(this),ae),ae)}):typeof ae=="boolean"&&It?ae?this.addClass(X):this.removeClass(X):(Te=Ie(X),this.each(function(){if(It)for(He=Q(this),ze=0;ze<Te.length;ze++)Pe=Te[ze],He.hasClass(Pe)?He.removeClass(Pe):He.addClass(Pe);else(X===void 0||Ze==="boolean")&&(Pe=Ee(this),Pe&&We.set(this,"__className__",Pe),this.setAttribute&&this.setAttribute("class",Pe||X===!1?"":We.get(this,"__className__")||""))}))},hasClass:function(X){var ae,Te,Pe=0;for(ae=" "+X+" ";Te=this[Pe++];)if(Te.nodeType===1&&(" "+xe(Ee(Te))+" ").indexOf(ae)>-1)return!0;return!1}});var Xe=/\r/g;Q.fn.extend({val:function(X){var ae,Te,Pe,ze=this[0];return arguments.length?(Pe=B(X),this.each(function(He){var Ze;this.nodeType===1&&(Pe?Ze=X.call(this,He,Q(this).val()):Ze=X,Ze==null?Ze="":typeof Ze=="number"?Ze+="":Array.isArray(Ze)&&(Ze=Q.map(Ze,function(It){return It==null?"":It+""})),ae=Q.valHooks[this.type]||Q.valHooks[this.nodeName.toLowerCase()],(!ae||!("set"in ae)||ae.set(this,Ze,"value")===void 0)&&(this.value=Ze))})):ze?(ae=Q.valHooks[ze.type]||Q.valHooks[ze.nodeName.toLowerCase()],ae&&"get"in ae&&(Te=ae.get(ze,"value"))!==void 0?Te:(Te=ze.value,typeof Te=="string"?Te.replace(Xe,""):Te??"")):void 0}}),Q.extend({valHooks:{option:{get:function(X){var ae=Q.find.attr(X,"value");return ae??xe(Q.text(X))}},select:{get:function(X){var ae,Te,Pe,ze=X.options,He=X.selectedIndex,Ze=X.type==="select-one",It=Ze?null:[],St=Ze?He+1:ze.length;for(He<0?Pe=St:Pe=Ze?He:0;Pe<St;Pe++)if(Te=ze[Pe],(Te.selected||Pe===He)&&!Te.disabled&&(!Te.parentNode.disabled||!he(Te.parentNode,"optgroup"))){if(ae=Q(Te).val(),Ze)return ae;It.push(ae)}return It},set:function(X,ae){for(var Te,Pe,ze=X.options,He=Q.makeArray(ae),Ze=ze.length;Ze--;)Pe=ze[Ze],(Pe.selected=Q.inArray(Q.valHooks.option.get(Pe),He)>-1)&&(Te=!0);return Te||(X.selectedIndex=-1),He}}}}),Q.each(["radio","checkbox"],function(){Q.valHooks[this]={set:function(X,ae){if(Array.isArray(ae))return X.checked=Q.inArray(Q(X).val(),ae)>-1}},R.checkOn||(Q.valHooks[this].get=function(X){return X.getAttribute("value")===null?"on":X.value})});var xt=e.location,Lt={guid:Date.now()},Ft=/\?/;Q.parseXML=function(X){var ae,Te;if(!X||typeof X!="string")return null;try{ae=new e.DOMParser().parseFromString(X,"text/xml")}catch{}return Te=ae&&ae.getElementsByTagName("parsererror")[0],(!ae||Te)&&Q.error("Invalid XML: "+(Te?Q.map(Te.childNodes,function(Pe){return Pe.textContent}).join(`
-`):X)),ae};var Ot=/^(?:focusinfocus|focusoutblur)$/,si=function(X){X.stopPropagation()};Q.extend(Q.event,{trigger:function(X,ae,Te,Pe){var ze,He,Ze,It,St,Kt,di,bi,ri=[Te||O],Ni=A.call(X,"type")?X.type:X,Ki=A.call(X,"namespace")?X.namespace.split("."):[];if(He=bi=Ze=Te=Te||O,!(Te.nodeType===3||Te.nodeType===8)&&!Ot.test(Ni+Q.event.triggered)&&(Ni.indexOf(".")>-1&&(Ki=Ni.split("."),Ni=Ki.shift(),Ki.sort()),St=Ni.indexOf(":")<0&&"on"+Ni,X=X[Q.expando]?X:new Q.Event(Ni,typeof X=="object"&&X),X.isTrigger=Pe?2:3,X.namespace=Ki.join("."),X.rnamespace=X.namespace?new RegExp("(^|\\.)"+Ki.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,X.result=void 0,X.target||(X.target=Te),ae=ae==null?[X]:Q.makeArray(ae,[X]),di=Q.event.special[Ni]||{},!(!Pe&&di.trigger&&di.trigger.apply(Te,ae)===!1))){if(!Pe&&!di.noBubble&&!F(Te)){for(It=di.delegateType||Ni,Ot.test(It+Ni)||(He=He.parentNode);He;He=He.parentNode)ri.push(He),Ze=He;Ze===(Te.ownerDocument||O)&&ri.push(Ze.defaultView||Ze.parentWindow||e)}for(ze=0;(He=ri[ze++])&&!X.isPropagationStopped();)bi=He,X.type=ze>1?It:di.bindType||Ni,Kt=(We.get(He,"events")||Object.create(null))[X.type]&&We.get(He,"handle"),Kt&&Kt.apply(He,ae),Kt=St&&He[St],Kt&&Kt.apply&&jt(He)&&(X.result=Kt.apply(He,ae),X.result===!1&&X.preventDefault());return X.type=Ni,!Pe&&!X.isDefaultPrevented()&&(!di._default||di._default.apply(ri.pop(),ae)===!1)&&jt(Te)&&St&&B(Te[Ni])&&!F(Te)&&(Ze=Te[St],Ze&&(Te[St]=null),Q.event.triggered=Ni,X.isPropagationStopped()&&bi.addEventListener(Ni,si),Te[Ni](),X.isPropagationStopped()&&bi.removeEventListener(Ni,si),Q.event.triggered=void 0,Ze&&(Te[St]=Ze)),X.result}},simulate:function(X,ae,Te){var Pe=Q.extend(new Q.Event,Te,{type:X,isSimulated:!0});Q.event.trigger(Pe,null,ae)}}),Q.fn.extend({trigger:function(X,ae){return this.each(function(){Q.event.trigger(X,ae,this)})},triggerHandler:function(X,ae){var Te=this[0];if(Te)return Q.event.trigger(X,ae,Te,!0)}});var yi=/\[\]$/,vi=/\r?\n/g,li=/^(?:submit|button|image|reset|file)$/i,Vi=/^(?:input|select|textarea|keygen)/i;function Ei(X,ae,Te,Pe){var ze;if(Array.isArray(ae))Q.each(ae,function(He,Ze){Te||yi.test(X)?Pe(X,Ze):Ei(X+"["+(typeof Ze=="object"&&Ze!=null?He:"")+"]",Ze,Te,Pe)});else if(!Te&&J(ae)==="object")for(ze in ae)Ei(X+"["+ze+"]",ae[ze],Te,Pe);else Pe(X,ae)}Q.param=function(X,ae){var Te,Pe=[],ze=function(He,Ze){var It=B(Ze)?Ze():Ze;Pe[Pe.length]=encodeURIComponent(He)+"="+encodeURIComponent(It??"")};if(X==null)return"";if(Array.isArray(X)||X.jquery&&!Q.isPlainObject(X))Q.each(X,function(){ze(this.name,this.value)});else for(Te in X)Ei(Te,X[Te],ae,ze);return Pe.join("&")},Q.fn.extend({serialize:function(){return Q.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var X=Q.prop(this,"elements");return X?Q.makeArray(X):this}).filter(function(){var X=this.type;return this.name&&!Q(this).is(":disabled")&&Vi.test(this.nodeName)&&!li.test(X)&&(this.checked||!pt.test(X))}).map(function(X,ae){var Te=Q(this).val();return Te==null?null:Array.isArray(Te)?Q.map(Te,function(Pe){return{name:ae.name,value:Pe.replace(vi,`\r
-`)}}):{name:ae.name,value:Te.replace(vi,`\r
-`)}}).get()}});var $i=/%20/g,xi=/#.*$/,ir=/([?&])_=[^&]*/,Ji=/^(.*?):[ \t]*([^\r\n]*)$/mg,ur=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zn=/^(?:GET|HEAD)$/,Un=/^\/\//,_r={},xr={},En="*/".concat("*"),kn=O.createElement("a");kn.href=xt.href;function ia(X){return function(ae,Te){typeof ae!="string"&&(Te=ae,ae="*");var Pe,ze=0,He=ae.toLowerCase().match(fe)||[];if(B(Te))for(;Pe=He[ze++];)Pe[0]==="+"?(Pe=Pe.slice(1)||"*",(X[Pe]=X[Pe]||[]).unshift(Te)):(X[Pe]=X[Pe]||[]).push(Te)}}function pn(X,ae,Te,Pe){var ze={},He=X===xr;function Ze(It){var St;return ze[It]=!0,Q.each(X[It]||[],function(Kt,di){var bi=di(ae,Te,Pe);if(typeof bi=="string"&&!He&&!ze[bi])return ae.dataTypes.unshift(bi),Ze(bi),!1;if(He)return!(St=bi)}),St}return Ze(ae.dataTypes[0])||!ze["*"]&&Ze("*")}function yn(X,ae){var Te,Pe,ze=Q.ajaxSettings.flatOptions||{};for(Te in ae)ae[Te]!==void 0&&((ze[Te]?X:Pe||(Pe={}))[Te]=ae[Te]);return Pe&&Q.extend(!0,X,Pe),X}function ca(X,ae,Te){for(var Pe,ze,He,Ze,It=X.contents,St=X.dataTypes;St[0]==="*";)St.shift(),Pe===void 0&&(Pe=X.mimeType||ae.getResponseHeader("Content-Type"));if(Pe){for(ze in It)if(It[ze]&&It[ze].test(Pe)){St.unshift(ze);break}}if(St[0]in Te)He=St[0];else{for(ze in Te){if(!St[0]||X.converters[ze+" "+St[0]]){He=ze;break}Ze||(Ze=ze)}He=He||Ze}if(He)return He!==St[0]&&St.unshift(He),Te[He]}function _a(X,ae,Te,Pe){var ze,He,Ze,It,St,Kt={},di=X.dataTypes.slice();if(di[1])for(Ze in X.converters)Kt[Ze.toLowerCase()]=X.converters[Ze];for(He=di.shift();He;)if(X.responseFields[He]&&(Te[X.responseFields[He]]=ae),!St&&Pe&&X.dataFilter&&(ae=X.dataFilter(ae,X.dataType)),St=He,He=di.shift(),He){if(He==="*")He=St;else if(St!=="*"&&St!==He){if(Ze=Kt[St+" "+He]||Kt["* "+He],!Ze){for(ze in Kt)if(It=ze.split(" "),It[1]===He&&(Ze=Kt[St+" "+It[0]]||Kt["* "+It[0]],Ze)){Ze===!0?Ze=Kt[ze]:Kt[ze]!==!0&&(He=It[0],di.unshift(It[1]));break}}if(Ze!==!0)if(Ze&&X.throws)ae=Ze(ae);else try{ae=Ze(ae)}catch(bi){return{state:"parsererror",error:Ze?bi:"No conversion from "+St+" to "+He}}}}return{state:"success",data:ae}}Q.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:ur.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":En,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Q.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(X,ae){return ae?yn(yn(X,Q.ajaxSettings),ae):yn(Q.ajaxSettings,X)},ajaxPrefilter:ia(_r),ajaxTransport:ia(xr),ajax:function(X,ae){typeof X=="object"&&(ae=X,X=void 0),ae=ae||{};var Te,Pe,ze,He,Ze,It,St,Kt,di,bi,ri=Q.ajaxSetup({},ae),Ni=ri.context||ri,Ki=ri.context&&(Ni.nodeType||Ni.jquery)?Q(Ni):Q.event,yr=Q.Deferred(),fr=Q.Callbacks("once memory"),Or=ri.statusCode||{},jr={},Qr={},Cn="canceled",Tr={readyState:0,getResponseHeader:function(Sr){var Lr;if(St){if(!He)for(He={};Lr=Ji.exec(ze);)He[Lr[1].toLowerCase()+" "]=(He[Lr[1].toLowerCase()+" "]||[]).concat(Lr[2]);Lr=He[Sr.toLowerCase()+" "]}return Lr==null?null:Lr.join(", ")},getAllResponseHeaders:function(){return St?ze:null},setRequestHeader:function(Sr,Lr){return St==null&&(Sr=Qr[Sr.toLowerCase()]=Qr[Sr.toLowerCase()]||Sr,jr[Sr]=Lr),this},overrideMimeType:function(Sr){return St==null&&(ri.mimeType=Sr),this},statusCode:function(Sr){var Lr;if(Sr)if(St)Tr.always(Sr[Tr.status]);else for(Lr in Sr)Or[Lr]=[Or[Lr],Sr[Lr]];return this},abort:function(Sr){var Lr=Sr||Cn;return Te&&Te.abort(Lr),$n(0,Lr),this}};if(yr.promise(Tr),ri.url=((X||ri.url||xt.href)+"").replace(Un,xt.protocol+"//"),ri.type=ae.method||ae.type||ri.method||ri.type,ri.dataTypes=(ri.dataType||"*").toLowerCase().match(fe)||[""],ri.crossDomain==null){It=O.createElement("a");try{It.href=ri.url,It.href=It.href,ri.crossDomain=kn.protocol+"//"+kn.host!=It.protocol+"//"+It.host}catch{ri.crossDomain=!0}}if(ri.data&&ri.processData&&typeof ri.data!="string"&&(ri.data=Q.param(ri.data,ri.traditional)),pn(_r,ri,ae,Tr),St)return Tr;Kt=Q.event&&ri.global,Kt&&Q.active++===0&&Q.event.trigger("ajaxStart"),ri.type=ri.type.toUpperCase(),ri.hasContent=!zn.test(ri.type),Pe=ri.url.replace(xi,""),ri.hasContent?ri.data&&ri.processData&&(ri.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ri.data=ri.data.replace($i,"+")):(bi=ri.url.slice(Pe.length),ri.data&&(ri.processData||typeof ri.data=="string")&&(Pe+=(Ft.test(Pe)?"&":"?")+ri.data,delete ri.data),ri.cache===!1&&(Pe=Pe.replace(ir,"$1"),bi=(Ft.test(Pe)?"&":"?")+"_="+Lt.guid+++bi),ri.url=Pe+bi),ri.ifModified&&(Q.lastModified[Pe]&&Tr.setRequestHeader("If-Modified-Since",Q.lastModified[Pe]),Q.etag[Pe]&&Tr.setRequestHeader("If-None-Match",Q.etag[Pe])),(ri.data&&ri.hasContent&&ri.contentType!==!1||ae.contentType)&&Tr.setRequestHeader("Content-Type",ri.contentType),Tr.setRequestHeader("Accept",ri.dataTypes[0]&&ri.accepts[ri.dataTypes[0]]?ri.accepts[ri.dataTypes[0]]+(ri.dataTypes[0]!=="*"?", "+En+"; q=0.01":""):ri.accepts["*"]);for(di in ri.headers)Tr.setRequestHeader(di,ri.headers[di]);if(ri.beforeSend&&(ri.beforeSend.call(Ni,Tr,ri)===!1||St))return Tr.abort();if(Cn="abort",fr.add(ri.complete),Tr.done(ri.success),Tr.fail(ri.error),Te=pn(xr,ri,ae,Tr),!Te)$n(-1,"No Transport");else{if(Tr.readyState=1,Kt&&Ki.trigger("ajaxSend",[Tr,ri]),St)return Tr;ri.async&&ri.timeout>0&&(Ze=e.setTimeout(function(){Tr.abort("timeout")},ri.timeout));try{St=!1,Te.send(jr,$n)}catch(Sr){if(St)throw Sr;$n(-1,Sr)}}function $n(Sr,Lr,wa,La){var rn,ra,un,Ln,Vn,Jr=Lr;St||(St=!0,Ze&&e.clearTimeout(Ze),Te=void 0,ze=La||"",Tr.readyState=Sr>0?4:0,rn=Sr>=200&&Sr<300||Sr===304,wa&&(Ln=ca(ri,Tr,wa)),!rn&&Q.inArray("script",ri.dataTypes)>-1&&Q.inArray("json",ri.dataTypes)<0&&(ri.converters["text script"]=function(){}),Ln=_a(ri,Ln,Tr,rn),rn?(ri.ifModified&&(Vn=Tr.getResponseHeader("Last-Modified"),Vn&&(Q.lastModified[Pe]=Vn),Vn=Tr.getResponseHeader("etag"),Vn&&(Q.etag[Pe]=Vn)),Sr===204||ri.type==="HEAD"?Jr="nocontent":Sr===304?Jr="notmodified":(Jr=Ln.state,ra=Ln.data,un=Ln.error,rn=!un)):(un=Jr,(Sr||!Jr)&&(Jr="error",Sr<0&&(Sr=0))),Tr.status=Sr,Tr.statusText=(Lr||Jr)+"",rn?yr.resolveWith(Ni,[ra,Jr,Tr]):yr.rejectWith(Ni,[Tr,Jr,un]),Tr.statusCode(Or),Or=void 0,Kt&&Ki.trigger(rn?"ajaxSuccess":"ajaxError",[Tr,ri,rn?ra:un]),fr.fireWith(Ni,[Tr,Jr]),Kt&&(Ki.trigger("ajaxComplete",[Tr,ri]),--Q.active||Q.event.trigger("ajaxStop")))}return Tr},getJSON:function(X,ae,Te){return Q.get(X,ae,Te,"json")},getScript:function(X,ae){return Q.get(X,void 0,ae,"script")}}),Q.each(["get","post"],function(X,ae){Q[ae]=function(Te,Pe,ze,He){return B(Pe)&&(He=He||ze,ze=Pe,Pe=void 0),Q.ajax(Q.extend({url:Te,type:ae,dataType:He,data:Pe,success:ze},Q.isPlainObject(Te)&&Te))}}),Q.ajaxPrefilter(function(X){var ae;for(ae in X.headers)ae.toLowerCase()==="content-type"&&(X.contentType=X.headers[ae]||"")}),Q._evalUrl=function(X,ae,Te){return Q.ajax({url:X,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(Pe){Q.globalEval(Pe,ae,Te)}})},Q.fn.extend({wrapAll:function(X){var ae;return this[0]&&(B(X)&&(X=X.call(this[0])),ae=Q(X,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&ae.insertBefore(this[0]),ae.map(function(){for(var Te=this;Te.firstElementChild;)Te=Te.firstElementChild;return Te}).append(this)),this},wrapInner:function(X){return B(X)?this.each(function(ae){Q(this).wrapInner(X.call(this,ae))}):this.each(function(){var ae=Q(this),Te=ae.contents();Te.length?Te.wrapAll(X):ae.append(X)})},wrap:function(X){var ae=B(X);return this.each(function(Te){Q(this).wrapAll(ae?X.call(this,Te):X)})},unwrap:function(X){return this.parent(X).not("body").each(function(){Q(this).replaceWith(this.childNodes)}),this}}),Q.expr.pseudos.hidden=function(X){return!Q.expr.pseudos.visible(X)},Q.expr.pseudos.visible=function(X){return!!(X.offsetWidth||X.offsetHeight||X.getClientRects().length)},Q.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch{}};var fa={0:200,1223:204},$r=Q.ajaxSettings.xhr();R.cors=!!$r&&"withCredentials"in $r,R.ajax=$r=!!$r,Q.ajaxTransport(function(X){var ae,Te;if(R.cors||$r&&!X.crossDomain)return{send:function(Pe,ze){var He,Ze=X.xhr();if(Ze.open(X.type,X.url,X.async,X.username,X.password),X.xhrFields)for(He in X.xhrFields)Ze[He]=X.xhrFields[He];X.mimeType&&Ze.overrideMimeType&&Ze.overrideMimeType(X.mimeType),!X.crossDomain&&!Pe["X-Requested-With"]&&(Pe["X-Requested-With"]="XMLHttpRequest");for(He in Pe)Ze.setRequestHeader(He,Pe[He]);ae=function(It){return function(){ae&&(ae=Te=Ze.onload=Ze.onerror=Ze.onabort=Ze.ontimeout=Ze.onreadystatechange=null,It==="abort"?Ze.abort():It==="error"?typeof Ze.status!="number"?ze(0,"error"):ze(Ze.status,Ze.statusText):ze(fa[Ze.status]||Ze.status,Ze.statusText,(Ze.responseType||"text")!=="text"||typeof Ze.responseText!="string"?{binary:Ze.response}:{text:Ze.responseText},Ze.getAllResponseHeaders()))}},Ze.onload=ae(),Te=Ze.onerror=Ze.ontimeout=ae("error"),Ze.onabort!==void 0?Ze.onabort=Te:Ze.onreadystatechange=function(){Ze.readyState===4&&e.setTimeout(function(){ae&&Te()})},ae=ae("abort");try{Ze.send(X.hasContent&&X.data||null)}catch(It){if(ae)throw It}},abort:function(){ae&&ae()}}}),Q.ajaxPrefilter(function(X){X.crossDomain&&(X.contents.script=!1)}),Q.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(X){return Q.globalEval(X),X}}}),Q.ajaxPrefilter("script",function(X){X.cache===void 0&&(X.cache=!1),X.crossDomain&&(X.type="GET")}),Q.ajaxTransport("script",function(X){if(X.crossDomain||X.scriptAttrs){var ae,Te;return{send:function(Pe,ze){ae=Q("<script>").attr(X.scriptAttrs||{}).prop({charset:X.scriptCharset,src:X.url}).on("load error",Te=function(He){ae.remove(),Te=null,He&&ze(He.type==="error"?404:200,He.type)}),O.head.appendChild(ae[0])},abort:function(){Te&&Te()}}}});var Hn=[],Zr=/(=)\?(?=&|$)|\?\?/;Q.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var X=Hn.pop()||Q.expando+"_"+Lt.guid++;return this[X]=!0,X}}),Q.ajaxPrefilter("json jsonp",function(X,ae,Te){var Pe,ze,He,Ze=X.jsonp!==!1&&(Zr.test(X.url)?"url":typeof X.data=="string"&&(X.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Zr.test(X.data)&&"data");if(Ze||X.dataTypes[0]==="jsonp")return Pe=X.jsonpCallback=B(X.jsonpCallback)?X.jsonpCallback():X.jsonpCallback,Ze?X[Ze]=X[Ze].replace(Zr,"$1"+Pe):X.jsonp!==!1&&(X.url+=(Ft.test(X.url)?"&":"?")+X.jsonp+"="+Pe),X.converters["script json"]=function(){return He||Q.error(Pe+" was not called"),He[0]},X.dataTypes[0]="json",ze=e[Pe],e[Pe]=function(){He=arguments},Te.always(function(){ze===void 0?Q(e).removeProp(Pe):e[Pe]=ze,X[Pe]&&(X.jsonpCallback=ae.jsonpCallback,Hn.push(Pe)),He&&B(ze)&&ze(He[0]),He=ze=void 0}),"script"}),R.createHTMLDocument=function(){var X=O.implementation.createHTMLDocument("").body;return X.innerHTML="<form></form><form></form>",X.childNodes.length===2}(),Q.parseHTML=function(X,ae,Te){if(typeof X!="string")return[];typeof ae=="boolean"&&(Te=ae,ae=!1);var Pe,ze,He;return ae||(R.createHTMLDocument?(ae=O.implementation.createHTMLDocument(""),Pe=ae.createElement("base"),Pe.href=O.location.href,ae.head.appendChild(Pe)):ae=O),ze=M.exec(X),He=!Te&&[],ze?[ae.createElement(ze[1])]:(ze=Wt([X],ae,He),He&&He.length&&Q(He).remove(),Q.merge([],ze.childNodes))},Q.fn.load=function(X,ae,Te){var Pe,ze,He,Ze=this,It=X.indexOf(" ");return It>-1&&(Pe=xe(X.slice(It)),X=X.slice(0,It)),B(ae)?(Te=ae,ae=void 0):ae&&typeof ae=="object"&&(ze="POST"),Ze.length>0&&Q.ajax({url:X,type:ze||"GET",dataType:"html",data:ae}).done(function(St){He=arguments,Ze.html(Pe?Q("<div>").append(Q.parseHTML(St)).find(Pe):St)}).always(Te&&function(St,Kt){Ze.each(function(){Te.apply(this,He||[St.responseText,Kt,St])})}),this},Q.expr.pseudos.animated=function(X){return Q.grep(Q.timers,function(ae){return X===ae.elem}).length},Q.offset={setOffset:function(X,ae,Te){var Pe,ze,He,Ze,It,St,Kt,di=Q.css(X,"position"),bi=Q(X),ri={};di==="static"&&(X.style.position="relative"),It=bi.offset(),He=Q.css(X,"top"),St=Q.css(X,"left"),Kt=(di==="absolute"||di==="fixed")&&(He+St).indexOf("auto")>-1,Kt?(Pe=bi.position(),Ze=Pe.top,ze=Pe.left):(Ze=parseFloat(He)||0,ze=parseFloat(St)||0),B(ae)&&(ae=ae.call(X,Te,Q.extend({},It))),ae.top!=null&&(ri.top=ae.top-It.top+Ze),ae.left!=null&&(ri.left=ae.left-It.left+ze),"using"in ae?ae.using.call(X,ri):bi.css(ri)}},Q.fn.extend({offset:function(X){if(arguments.length)return X===void 0?this:this.each(function(ze){Q.offset.setOffset(this,X,ze)});var ae,Te,Pe=this[0];if(Pe)return Pe.getClientRects().length?(ae=Pe.getBoundingClientRect(),Te=Pe.ownerDocument.defaultView,{top:ae.top+Te.pageYOffset,left:ae.left+Te.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var X,ae,Te,Pe=this[0],ze={top:0,left:0};if(Q.css(Pe,"position")==="fixed")ae=Pe.getBoundingClientRect();else{for(ae=this.offset(),Te=Pe.ownerDocument,X=Pe.offsetParent||Te.documentElement;X&&(X===Te.body||X===Te.documentElement)&&Q.css(X,"position")==="static";)X=X.parentNode;X&&X!==Pe&&X.nodeType===1&&(ze=Q(X).offset(),ze.top+=Q.css(X,"borderTopWidth",!0),ze.left+=Q.css(X,"borderLeftWidth",!0))}return{top:ae.top-ze.top-Q.css(Pe,"marginTop",!0),left:ae.left-ze.left-Q.css(Pe,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var X=this.offsetParent;X&&Q.css(X,"position")==="static";)X=X.offsetParent;return X||Ue})}}),Q.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(X,ae){var Te=ae==="pageYOffset";Q.fn[X]=function(Pe){return nt(this,function(ze,He,Ze){var It;if(F(ze)?It=ze:ze.nodeType===9&&(It=ze.defaultView),Ze===void 0)return It?It[ae]:ze[He];It?It.scrollTo(Te?It.pageXOffset:Ze,Te?Ze:It.pageYOffset):ze[He]=Ze},X,Pe,arguments.length)}}),Q.each(["top","left"],function(X,ae){Q.cssHooks[ae]=zi(R.pixelPosition,function(Te,Pe){if(Pe)return Pe=Ci(Te,ae),hi.test(Pe)?Q(Te).position()[ae]+"px":Pe})}),Q.each({Height:"height",Width:"width"},function(X,ae){Q.each({padding:"inner"+X,content:ae,"":"outer"+X},function(Te,Pe){Q.fn[Pe]=function(ze,He){var Ze=arguments.length&&(Te||typeof ze!="boolean"),It=Te||(ze===!0||He===!0?"margin":"border");return nt(this,function(St,Kt,di){var bi;return F(St)?Pe.indexOf("outer")===0?St["inner"+X]:St.document.documentElement["client"+X]:St.nodeType===9?(bi=St.documentElement,Math.max(St.body["scroll"+X],bi["scroll"+X],St.body["offset"+X],bi["offset"+X],bi["client"+X])):di===void 0?Q.css(St,Kt,It):Q.style(St,Kt,di,It)},ae,Ze?ze:void 0,Ze)}})}),Q.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(X,ae){Q.fn[ae]=function(Te){return this.on(ae,Te)}}),Q.fn.extend({bind:function(X,ae,Te){return this.on(X,null,ae,Te)},unbind:function(X,ae){return this.off(X,null,ae)},delegate:function(X,ae,Te,Pe){return this.on(ae,X,Te,Pe)},undelegate:function(X,ae,Te){return arguments.length===1?this.off(X,"**"):this.off(ae,X||"**",Te)},hover:function(X,ae){return this.on("mouseenter",X).on("mouseleave",ae||X)}}),Q.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(X,ae){Q.fn[ae]=function(Te,Pe){return arguments.length>0?this.on(ae,null,Te,Pe):this.trigger(ae)}});var xa=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Q.proxy=function(X,ae){var Te,Pe,ze;if(typeof ae=="string"&&(Te=X[ae],ae=X,X=Te),!!B(X))return Pe=l.call(arguments,2),ze=function(){return X.apply(ae||this,Pe.concat(l.call(arguments)))},ze.guid=X.guid=X.guid||Q.guid++,ze},Q.holdReady=function(X){X?Q.readyWait++:Q.ready(!0)},Q.isArray=Array.isArray,Q.parseJSON=JSON.parse,Q.nodeName=he,Q.isFunction=B,Q.isWindow=F,Q.camelCase=ht,Q.type=J,Q.now=Date.now,Q.isNumeric=function(X){var ae=Q.type(X);return(ae==="number"||ae==="string")&&!isNaN(X-parseFloat(X))},Q.trim=function(X){return X==null?"":(X+"").replace(xa,"$1")};var mn=e.jQuery,tn=e.$;return Q.noConflict=function(X){return e.$===Q&&(e.$=tn),X&&e.jQuery===Q&&(e.jQuery=mn),Q},typeof n>"u"&&(e.jQuery=e.$=Q),Q})})(jquery);var jqueryExports=jquery.exports;const jQuery=getDefaultExportFromCjs$1(jqueryExports);/*! jQuery UI - v1.14.0 - 2024-08-05
+ */(function(n){(function(e,o){n.exports=e.document?o(e,!0):function(l){if(!l.document)throw new Error("jQuery requires a window with a document");return o(l)}})(typeof window<"u"?window:commonjsGlobal$1,function(e,o){var l=[],t=Object.getPrototypeOf,u=l.slice,h=l.flat?function(Y){return l.flat.call(Y)}:function(Y){return l.concat.apply([],Y)},v=l.push,w=l.indexOf,A={},E=A.toString,C=A.hasOwnProperty,M=C.toString,P=M.call(Object),I={},j=function(ne){return typeof ne=="function"&&typeof ne.nodeType!="number"&&typeof ne.item!="function"},B=function(ne){return ne!=null&&ne===ne.window},F=e.document,N={type:!0,src:!0,nonce:!0,noModule:!0};function ee(Y,ne,ke){ke=ke||F;var Le,He,Ve=ke.createElement("script");if(Ve.text=Y,ne)for(Le in N)He=ne[Le]||ne.getAttribute&&ne.getAttribute(Le),He&&Ve.setAttribute(Le,He);ke.head.appendChild(Ve).parentNode.removeChild(Ve)}function Z(Y){return Y==null?Y+"":typeof Y=="object"||typeof Y=="function"?A[E.call(Y)]||"object":typeof Y}var re="3.7.1",fe=/HTML$/i,V=function(Y,ne){return new V.fn.init(Y,ne)};V.fn=V.prototype={jquery:re,constructor:V,length:0,toArray:function(){return u.call(this)},get:function(Y){return Y==null?u.call(this):Y<0?this[Y+this.length]:this[Y]},pushStack:function(Y){var ne=V.merge(this.constructor(),Y);return ne.prevObject=this,ne},each:function(Y){return V.each(this,Y)},map:function(Y){return this.pushStack(V.map(this,function(ne,ke){return Y.call(ne,ke,ne)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(V.grep(this,function(Y,ne){return(ne+1)%2}))},odd:function(){return this.pushStack(V.grep(this,function(Y,ne){return ne%2}))},eq:function(Y){var ne=this.length,ke=+Y+(Y<0?ne:0);return this.pushStack(ke>=0&&ke<ne?[this[ke]]:[])},end:function(){return this.prevObject||this.constructor()},push:v,sort:l.sort,splice:l.splice},V.extend=V.fn.extend=function(){var Y,ne,ke,Le,He,Ve,nt=arguments[0]||{},Ot=1,At=arguments.length,Vt=!1;for(typeof nt=="boolean"&&(Vt=nt,nt=arguments[Ot]||{},Ot++),typeof nt!="object"&&!j(nt)&&(nt={}),Ot===At&&(nt=this,Ot--);Ot<At;Ot++)if((Y=arguments[Ot])!=null)for(ne in Y)Le=Y[ne],!(ne==="__proto__"||nt===Le)&&(Vt&&Le&&(V.isPlainObject(Le)||(He=Array.isArray(Le)))?(ke=nt[ne],He&&!Array.isArray(ke)?Ve=[]:!He&&!V.isPlainObject(ke)?Ve={}:Ve=ke,He=!1,nt[ne]=V.extend(Vt,Ve,Le)):Le!==void 0&&(nt[ne]=Le));return nt},V.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(Y){throw new Error(Y)},noop:function(){},isPlainObject:function(Y){var ne,ke;return!Y||E.call(Y)!=="[object Object]"?!1:(ne=t(Y),ne?(ke=C.call(ne,"constructor")&&ne.constructor,typeof ke=="function"&&M.call(ke)===P):!0)},isEmptyObject:function(Y){var ne;for(ne in Y)return!1;return!0},globalEval:function(Y,ne,ke){ee(Y,{nonce:ne&&ne.nonce},ke)},each:function(Y,ne){var ke,Le=0;if(le(Y))for(ke=Y.length;Le<ke&&ne.call(Y[Le],Le,Y[Le])!==!1;Le++);else for(Le in Y)if(ne.call(Y[Le],Le,Y[Le])===!1)break;return Y},text:function(Y){var ne,ke="",Le=0,He=Y.nodeType;if(!He)for(;ne=Y[Le++];)ke+=V.text(ne);return He===1||He===11?Y.textContent:He===9?Y.documentElement.textContent:He===3||He===4?Y.nodeValue:ke},makeArray:function(Y,ne){var ke=ne||[];return Y!=null&&(le(Object(Y))?V.merge(ke,typeof Y=="string"?[Y]:Y):v.call(ke,Y)),ke},inArray:function(Y,ne,ke){return ne==null?-1:w.call(ne,Y,ke)},isXMLDoc:function(Y){var ne=Y&&Y.namespaceURI,ke=Y&&(Y.ownerDocument||Y).documentElement;return!fe.test(ne||ke&&ke.nodeName||"HTML")},merge:function(Y,ne){for(var ke=+ne.length,Le=0,He=Y.length;Le<ke;Le++)Y[He++]=ne[Le];return Y.length=He,Y},grep:function(Y,ne,ke){for(var Le,He=[],Ve=0,nt=Y.length,Ot=!ke;Ve<nt;Ve++)Le=!ne(Y[Ve],Ve),Le!==Ot&&He.push(Y[Ve]);return He},map:function(Y,ne,ke){var Le,He,Ve=0,nt=[];if(le(Y))for(Le=Y.length;Ve<Le;Ve++)He=ne(Y[Ve],Ve,ke),He!=null&&nt.push(He);else for(Ve in Y)He=ne(Y[Ve],Ve,ke),He!=null&&nt.push(He);return h(nt)},guid:1,support:I}),typeof Symbol=="function"&&(V.fn[Symbol.iterator]=l[Symbol.iterator]),V.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(Y,ne){A["[object "+ne+"]"]=ne.toLowerCase()});function le(Y){var ne=!!Y&&"length"in Y&&Y.length,ke=Z(Y);return j(Y)||B(Y)?!1:ke==="array"||ne===0||typeof ne=="number"&&ne>0&&ne-1 in Y}function he(Y,ne){return Y.nodeName&&Y.nodeName.toLowerCase()===ne.toLowerCase()}var ye=l.pop,L=l.sort,p=l.splice,y="[\\x20\\t\\r\\n\\f]",S=new RegExp("^"+y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+y+"+$","g");V.contains=function(Y,ne){var ke=ne&&ne.parentNode;return Y===ke||!!(ke&&ke.nodeType===1&&(Y.contains?Y.contains(ke):Y.compareDocumentPosition&&Y.compareDocumentPosition(ke)&16))};var c=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function m(Y,ne){return ne?Y==="\0"?"�":Y.slice(0,-1)+"\\"+Y.charCodeAt(Y.length-1).toString(16)+" ":"\\"+Y}V.escapeSelector=function(Y){return(Y+"").replace(c,m)};var x=F,T=v;(function(){var Y,ne,ke,Le,He,Ve=T,nt,Ot,At,Vt,or,yr=V.expando,er=0,$r=0,Kr=ia(),hi=ia(),ci=ia(),ji=ia(),Pi=function(oe,Ee){return oe===Ee&&(He=!0),0},pn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",mn="(?:\\\\[\\da-fA-F]{1,6}"+y+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",di="\\["+y+"*("+mn+")(?:"+y+"*([*^$|!~]?=)"+y+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+mn+"))|)"+y+"*\\]",en=":("+mn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+di+")*)|.*)\\)|)",vi=new RegExp(y+"+","g"),Ai=new RegExp("^"+y+"*,"+y+"*"),Kn=new RegExp("^"+y+"*([>+~]|"+y+")"+y+"*"),ta=new RegExp(y+"|>"),tn=new RegExp(en),Ln=new RegExp("^"+mn+"$"),Wi={ID:new RegExp("^#("+mn+")"),CLASS:new RegExp("^\\.("+mn+")"),TAG:new RegExp("^("+mn+"|[*])"),ATTR:new RegExp("^"+di),PSEUDO:new RegExp("^"+en),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+y+"*(even|odd|(([+-]|)(\\d*)n|)"+y+"*(?:([+-]|)"+y+"*(\\d+)|))"+y+"*\\)|)","i"),bool:new RegExp("^(?:"+pn+")$","i"),needsContext:new RegExp("^"+y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+y+"*((?:-\\d)?\\d*)"+y+"*\\)|)(?=[^-]|$)","i")},gn=/^(?:input|select|textarea|button)$/i,En=/^h\d$/i,$i=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Bn=/[+~]/,kn=new RegExp("\\\\[\\da-fA-F]{1,6}"+y+"?|\\\\([^\\r\\n\\f])","g"),vn=function(oe,Ee){var Ce="0x"+oe.slice(1)-65536;return Ee||(Ce<0?String.fromCharCode(Ce+65536):String.fromCharCode(Ce>>10|55296,Ce&1023|56320))},Qi=function(){An()},wa=Un(function(oe){return oe.disabled===!0&&he(oe,"fieldset")},{dir:"parentNode",next:"legend"});function ra(){try{return nt.activeElement}catch{}}try{Ve.apply(l=u.call(x.childNodes),x.childNodes),l[x.childNodes.length].nodeType}catch{Ve={apply:function(Ee,Ce){T.apply(Ee,u.call(Ce))},call:function(Ee){T.apply(Ee,u.call(arguments,1))}}}function wi(oe,Ee,Ce,Ue){var Oe,Ze,Ke,gt,It,ir,cr,Zt=Ee&&Ee.ownerDocument,qr=Ee?Ee.nodeType:9;if(Ce=Ce||[],typeof oe!="string"||!oe||qr!==1&&qr!==9&&qr!==11)return Ce;if(!Ue&&(An(Ee),Ee=Ee||nt,At)){if(qr!==11&&(It=$i.exec(oe)))if(Oe=It[1]){if(qr===9)if(Ke=Ee.getElementById(Oe)){if(Ke.id===Oe)return Ve.call(Ce,Ke),Ce}else return Ce;else if(Zt&&(Ke=Zt.getElementById(Oe))&&wi.contains(Ee,Ke)&&Ke.id===Oe)return Ve.call(Ce,Ke),Ce}else{if(It[2])return Ve.apply(Ce,Ee.getElementsByTagName(oe)),Ce;if((Oe=It[3])&&Ee.getElementsByClassName)return Ve.apply(Ce,Ee.getElementsByClassName(Oe)),Ce}if(!ji[oe+" "]&&(!Vt||!Vt.test(oe))){if(cr=oe,Zt=Ee,qr===1&&(ta.test(oe)||Kn.test(oe))){for(Zt=Bn.test(oe)&&Sa(Ee.parentNode)||Ee,(Zt!=Ee||!I.scope)&&((gt=Ee.getAttribute("id"))?gt=V.escapeSelector(gt):Ee.setAttribute("id",gt=yr)),ir=Qn(oe),Ze=ir.length;Ze--;)ir[Ze]=(gt?"#"+gt:":scope")+" "+fn(ir[Ze]);cr=ir.join(",")}try{return Ve.apply(Ce,Zt.querySelectorAll(cr)),Ce}catch{ji(oe,!0)}finally{gt===yr&&Ee.removeAttribute("id")}}}return Se(oe.replace(S,"$1"),Ee,Ce,Ue)}function ia(){var oe=[];function Ee(Ce,Ue){return oe.push(Ce+" ")>ne.cacheLength&&delete Ee[oe.shift()],Ee[Ce+" "]=Ue}return Ee}function un(oe){return oe[yr]=!0,oe}function ln(oe){var Ee=nt.createElement("fieldset");try{return!!oe(Ee)}catch{return!1}finally{Ee.parentNode&&Ee.parentNode.removeChild(Ee),Ee=null}}function Ei(oe){return function(Ee){return he(Ee,"input")&&Ee.type===oe}}function zn(oe){return function(Ee){return(he(Ee,"input")||he(Ee,"button"))&&Ee.type===oe}}function Ni(oe){return function(Ee){return"form"in Ee?Ee.parentNode&&Ee.disabled===!1?"label"in Ee?"label"in Ee.parentNode?Ee.parentNode.disabled===oe:Ee.disabled===oe:Ee.isDisabled===oe||Ee.isDisabled!==!oe&&wa(Ee)===oe:Ee.disabled===oe:"label"in Ee?Ee.disabled===oe:!1}}function Di(oe){return un(function(Ee){return Ee=+Ee,un(function(Ce,Ue){for(var Oe,Ze=oe([],Ce.length,Ee),Ke=Ze.length;Ke--;)Ce[Oe=Ze[Ke]]&&(Ce[Oe]=!(Ue[Oe]=Ce[Oe]))})})}function Sa(oe){return oe&&typeof oe.getElementsByTagName<"u"&&oe}function An(oe){var Ee,Ce=oe?oe.ownerDocument||oe:x;return Ce==nt||Ce.nodeType!==9||!Ce.documentElement||(nt=Ce,Ot=nt.documentElement,At=!V.isXMLDoc(nt),or=Ot.matches||Ot.webkitMatchesSelector||Ot.msMatchesSelector,Ot.msMatchesSelector&&x!=nt&&(Ee=nt.defaultView)&&Ee.top!==Ee&&Ee.addEventListener("unload",Qi),I.getById=ln(function(Ue){return Ot.appendChild(Ue).id=V.expando,!nt.getElementsByName||!nt.getElementsByName(V.expando).length}),I.disconnectedMatch=ln(function(Ue){return or.call(Ue,"*")}),I.scope=ln(function(){return nt.querySelectorAll(":scope")}),I.cssHas=ln(function(){try{return nt.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),I.getById?(ne.filter.ID=function(Ue){var Oe=Ue.replace(kn,vn);return function(Ze){return Ze.getAttribute("id")===Oe}},ne.find.ID=function(Ue,Oe){if(typeof Oe.getElementById<"u"&&At){var Ze=Oe.getElementById(Ue);return Ze?[Ze]:[]}}):(ne.filter.ID=function(Ue){var Oe=Ue.replace(kn,vn);return function(Ze){var Ke=typeof Ze.getAttributeNode<"u"&&Ze.getAttributeNode("id");return Ke&&Ke.value===Oe}},ne.find.ID=function(Ue,Oe){if(typeof Oe.getElementById<"u"&&At){var Ze,Ke,gt,It=Oe.getElementById(Ue);if(It){if(Ze=It.getAttributeNode("id"),Ze&&Ze.value===Ue)return[It];for(gt=Oe.getElementsByName(Ue),Ke=0;It=gt[Ke++];)if(Ze=It.getAttributeNode("id"),Ze&&Ze.value===Ue)return[It]}return[]}}),ne.find.TAG=function(Ue,Oe){return typeof Oe.getElementsByTagName<"u"?Oe.getElementsByTagName(Ue):Oe.querySelectorAll(Ue)},ne.find.CLASS=function(Ue,Oe){if(typeof Oe.getElementsByClassName<"u"&&At)return Oe.getElementsByClassName(Ue)},Vt=[],ln(function(Ue){var Oe;Ot.appendChild(Ue).innerHTML="<a id='"+yr+"' href='' disabled='disabled'></a><select id='"+yr+"-\r\\' disabled='disabled'><option selected=''></option></select>",Ue.querySelectorAll("[selected]").length||Vt.push("\\["+y+"*(?:value|"+pn+")"),Ue.querySelectorAll("[id~="+yr+"-]").length||Vt.push("~="),Ue.querySelectorAll("a#"+yr+"+*").length||Vt.push(".#.+[+~]"),Ue.querySelectorAll(":checked").length||Vt.push(":checked"),Oe=nt.createElement("input"),Oe.setAttribute("type","hidden"),Ue.appendChild(Oe).setAttribute("name","D"),Ot.appendChild(Ue).disabled=!0,Ue.querySelectorAll(":disabled").length!==2&&Vt.push(":enabled",":disabled"),Oe=nt.createElement("input"),Oe.setAttribute("name",""),Ue.appendChild(Oe),Ue.querySelectorAll("[name='']").length||Vt.push("\\["+y+"*name"+y+"*="+y+`*(?:''|"")`)}),I.cssHas||Vt.push(":has"),Vt=Vt.length&&new RegExp(Vt.join("|")),Pi=function(Ue,Oe){if(Ue===Oe)return He=!0,0;var Ze=!Ue.compareDocumentPosition-!Oe.compareDocumentPosition;return Ze||(Ze=(Ue.ownerDocument||Ue)==(Oe.ownerDocument||Oe)?Ue.compareDocumentPosition(Oe):1,Ze&1||!I.sortDetached&&Oe.compareDocumentPosition(Ue)===Ze?Ue===nt||Ue.ownerDocument==x&&wi.contains(x,Ue)?-1:Oe===nt||Oe.ownerDocument==x&&wi.contains(x,Oe)?1:Le?w.call(Le,Ue)-w.call(Le,Oe):0:Ze&4?-1:1)}),nt}wi.matches=function(oe,Ee){return wi(oe,null,null,Ee)},wi.matchesSelector=function(oe,Ee){if(An(oe),At&&!ji[Ee+" "]&&(!Vt||!Vt.test(Ee)))try{var Ce=or.call(oe,Ee);if(Ce||I.disconnectedMatch||oe.document&&oe.document.nodeType!==11)return Ce}catch{ji(Ee,!0)}return wi(Ee,nt,null,[oe]).length>0},wi.contains=function(oe,Ee){return(oe.ownerDocument||oe)!=nt&&An(oe),V.contains(oe,Ee)},wi.attr=function(oe,Ee){(oe.ownerDocument||oe)!=nt&&An(oe);var Ce=ne.attrHandle[Ee.toLowerCase()],Ue=Ce&&C.call(ne.attrHandle,Ee.toLowerCase())?Ce(oe,Ee,!At):void 0;return Ue!==void 0?Ue:oe.getAttribute(Ee)},wi.error=function(oe){throw new Error("Syntax error, unrecognized expression: "+oe)},V.uniqueSort=function(oe){var Ee,Ce=[],Ue=0,Oe=0;if(He=!I.sortStable,Le=!I.sortStable&&u.call(oe,0),L.call(oe,Pi),He){for(;Ee=oe[Oe++];)Ee===oe[Oe]&&(Ue=Ce.push(Oe));for(;Ue--;)p.call(oe,Ce[Ue],1)}return Le=null,oe},V.fn.uniqueSort=function(){return this.pushStack(V.uniqueSort(u.apply(this)))},ne=V.expr={cacheLength:50,createPseudo:un,match:Wi,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(oe){return oe[1]=oe[1].replace(kn,vn),oe[3]=(oe[3]||oe[4]||oe[5]||"").replace(kn,vn),oe[2]==="~="&&(oe[3]=" "+oe[3]+" "),oe.slice(0,4)},CHILD:function(oe){return oe[1]=oe[1].toLowerCase(),oe[1].slice(0,3)==="nth"?(oe[3]||wi.error(oe[0]),oe[4]=+(oe[4]?oe[5]+(oe[6]||1):2*(oe[3]==="even"||oe[3]==="odd")),oe[5]=+(oe[7]+oe[8]||oe[3]==="odd")):oe[3]&&wi.error(oe[0]),oe},PSEUDO:function(oe){var Ee,Ce=!oe[6]&&oe[2];return Wi.CHILD.test(oe[0])?null:(oe[3]?oe[2]=oe[4]||oe[5]||"":Ce&&tn.test(Ce)&&(Ee=Qn(Ce,!0))&&(Ee=Ce.indexOf(")",Ce.length-Ee)-Ce.length)&&(oe[0]=oe[0].slice(0,Ee),oe[2]=Ce.slice(0,Ee)),oe.slice(0,3))}},filter:{TAG:function(oe){var Ee=oe.replace(kn,vn).toLowerCase();return oe==="*"?function(){return!0}:function(Ce){return he(Ce,Ee)}},CLASS:function(oe){var Ee=Kr[oe+" "];return Ee||(Ee=new RegExp("(^|"+y+")"+oe+"("+y+"|$)"))&&Kr(oe,function(Ce){return Ee.test(typeof Ce.className=="string"&&Ce.className||typeof Ce.getAttribute<"u"&&Ce.getAttribute("class")||"")})},ATTR:function(oe,Ee,Ce){return function(Ue){var Oe=wi.attr(Ue,oe);return Oe==null?Ee==="!=":Ee?(Oe+="",Ee==="="?Oe===Ce:Ee==="!="?Oe!==Ce:Ee==="^="?Ce&&Oe.indexOf(Ce)===0:Ee==="*="?Ce&&Oe.indexOf(Ce)>-1:Ee==="$="?Ce&&Oe.slice(-Ce.length)===Ce:Ee==="~="?(" "+Oe.replace(vi," ")+" ").indexOf(Ce)>-1:Ee==="|="?Oe===Ce||Oe.slice(0,Ce.length+1)===Ce+"-":!1):!0}},CHILD:function(oe,Ee,Ce,Ue,Oe){var Ze=oe.slice(0,3)!=="nth",Ke=oe.slice(-4)!=="last",gt=Ee==="of-type";return Ue===1&&Oe===0?function(It){return!!It.parentNode}:function(It,ir,cr){var Zt,qr,Gr,ii,Mi,Li=Ze!==Ke?"nextSibling":"previousSibling",Bi=It.parentNode,Vi=gt&&It.nodeName.toLowerCase(),yn=!cr&&!gt,ui=!1;if(Bi){if(Ze){for(;Li;){for(Gr=It;Gr=Gr[Li];)if(gt?he(Gr,Vi):Gr.nodeType===1)return!1;Mi=Li=oe==="only"&&!Mi&&"nextSibling"}return!0}if(Mi=[Ke?Bi.firstChild:Bi.lastChild],Ke&&yn){for(qr=Bi[yr]||(Bi[yr]={}),Zt=qr[oe]||[],ii=Zt[0]===er&&Zt[1],ui=ii&&Zt[2],Gr=ii&&Bi.childNodes[ii];Gr=++ii&&Gr&&Gr[Li]||(ui=ii=0)||Mi.pop();)if(Gr.nodeType===1&&++ui&&Gr===It){qr[oe]=[er,ii,ui];break}}else if(yn&&(qr=It[yr]||(It[yr]={}),Zt=qr[oe]||[],ii=Zt[0]===er&&Zt[1],ui=ii),ui===!1)for(;(Gr=++ii&&Gr&&Gr[Li]||(ui=ii=0)||Mi.pop())&&!((gt?he(Gr,Vi):Gr.nodeType===1)&&++ui&&(yn&&(qr=Gr[yr]||(Gr[yr]={}),qr[oe]=[er,ui]),Gr===It)););return ui-=Oe,ui===Ue||ui%Ue===0&&ui/Ue>=0}}},PSEUDO:function(oe,Ee){var Ce,Ue=ne.pseudos[oe]||ne.setFilters[oe.toLowerCase()]||wi.error("unsupported pseudo: "+oe);return Ue[yr]?Ue(Ee):Ue.length>1?(Ce=[oe,oe,"",Ee],ne.setFilters.hasOwnProperty(oe.toLowerCase())?un(function(Oe,Ze){for(var Ke,gt=Ue(Oe,Ee),It=gt.length;It--;)Ke=w.call(Oe,gt[It]),Oe[Ke]=!(Ze[Ke]=gt[It])}):function(Oe){return Ue(Oe,0,Ce)}):Ue}},pseudos:{not:un(function(oe){var Ee=[],Ce=[],Ue=Te(oe.replace(S,"$1"));return Ue[yr]?un(function(Oe,Ze,Ke,gt){for(var It,ir=Ue(Oe,null,gt,[]),cr=Oe.length;cr--;)(It=ir[cr])&&(Oe[cr]=!(Ze[cr]=It))}):function(Oe,Ze,Ke){return Ee[0]=Oe,Ue(Ee,null,Ke,Ce),Ee[0]=null,!Ce.pop()}}),has:un(function(oe){return function(Ee){return wi(oe,Ee).length>0}}),contains:un(function(oe){return oe=oe.replace(kn,vn),function(Ee){return(Ee.textContent||V.text(Ee)).indexOf(oe)>-1}}),lang:un(function(oe){return Ln.test(oe||"")||wi.error("unsupported lang: "+oe),oe=oe.replace(kn,vn).toLowerCase(),function(Ee){var Ce;do if(Ce=At?Ee.lang:Ee.getAttribute("xml:lang")||Ee.getAttribute("lang"))return Ce=Ce.toLowerCase(),Ce===oe||Ce.indexOf(oe+"-")===0;while((Ee=Ee.parentNode)&&Ee.nodeType===1);return!1}}),target:function(oe){var Ee=e.location&&e.location.hash;return Ee&&Ee.slice(1)===oe.id},root:function(oe){return oe===Ot},focus:function(oe){return oe===ra()&&nt.hasFocus()&&!!(oe.type||oe.href||~oe.tabIndex)},enabled:Ni(!1),disabled:Ni(!0),checked:function(oe){return he(oe,"input")&&!!oe.checked||he(oe,"option")&&!!oe.selected},selected:function(oe){return oe.parentNode&&oe.parentNode.selectedIndex,oe.selected===!0},empty:function(oe){for(oe=oe.firstChild;oe;oe=oe.nextSibling)if(oe.nodeType<6)return!1;return!0},parent:function(oe){return!ne.pseudos.empty(oe)},header:function(oe){return En.test(oe.nodeName)},input:function(oe){return gn.test(oe.nodeName)},button:function(oe){return he(oe,"input")&&oe.type==="button"||he(oe,"button")},text:function(oe){var Ee;return he(oe,"input")&&oe.type==="text"&&((Ee=oe.getAttribute("type"))==null||Ee.toLowerCase()==="text")},first:Di(function(){return[0]}),last:Di(function(oe,Ee){return[Ee-1]}),eq:Di(function(oe,Ee,Ce){return[Ce<0?Ce+Ee:Ce]}),even:Di(function(oe,Ee){for(var Ce=0;Ce<Ee;Ce+=2)oe.push(Ce);return oe}),odd:Di(function(oe,Ee){for(var Ce=1;Ce<Ee;Ce+=2)oe.push(Ce);return oe}),lt:Di(function(oe,Ee,Ce){var Ue;for(Ce<0?Ue=Ce+Ee:Ce>Ee?Ue=Ee:Ue=Ce;--Ue>=0;)oe.push(Ue);return oe}),gt:Di(function(oe,Ee,Ce){for(var Ue=Ce<0?Ce+Ee:Ce;++Ue<Ee;)oe.push(Ue);return oe})}},ne.pseudos.nth=ne.pseudos.eq;for(Y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})ne.pseudos[Y]=Ei(Y);for(Y in{submit:!0,reset:!0})ne.pseudos[Y]=zn(Y);function pa(){}pa.prototype=ne.filters=ne.pseudos,ne.setFilters=new pa;function Qn(oe,Ee){var Ce,Ue,Oe,Ze,Ke,gt,It,ir=hi[oe+" "];if(ir)return Ee?0:ir.slice(0);for(Ke=oe,gt=[],It=ne.preFilter;Ke;){(!Ce||(Ue=Ai.exec(Ke)))&&(Ue&&(Ke=Ke.slice(Ue[0].length)||Ke),gt.push(Oe=[])),Ce=!1,(Ue=Kn.exec(Ke))&&(Ce=Ue.shift(),Oe.push({value:Ce,type:Ue[0].replace(S," ")}),Ke=Ke.slice(Ce.length));for(Ze in ne.filter)(Ue=Wi[Ze].exec(Ke))&&(!It[Ze]||(Ue=It[Ze](Ue)))&&(Ce=Ue.shift(),Oe.push({value:Ce,type:Ze,matches:Ue}),Ke=Ke.slice(Ce.length));if(!Ce)break}return Ee?Ke.length:Ke?wi.error(oe):hi(oe,gt).slice(0)}function fn(oe){for(var Ee=0,Ce=oe.length,Ue="";Ee<Ce;Ee++)Ue+=oe[Ee].value;return Ue}function Un(oe,Ee,Ce){var Ue=Ee.dir,Oe=Ee.next,Ze=Oe||Ue,Ke=Ce&&Ze==="parentNode",gt=$r++;return Ee.first?function(It,ir,cr){for(;It=It[Ue];)if(It.nodeType===1||Ke)return oe(It,ir,cr);return!1}:function(It,ir,cr){var Zt,qr,Gr=[er,gt];if(cr){for(;It=It[Ue];)if((It.nodeType===1||Ke)&&oe(It,ir,cr))return!0}else for(;It=It[Ue];)if(It.nodeType===1||Ke)if(qr=It[yr]||(It[yr]={}),Oe&&he(It,Oe))It=It[Ue]||It;else{if((Zt=qr[Ze])&&Zt[0]===er&&Zt[1]===gt)return Gr[2]=Zt[2];if(qr[Ze]=Gr,Gr[2]=oe(It,ir,cr))return!0}return!1}}function Ta(oe){return oe.length>1?function(Ee,Ce,Ue){for(var Oe=oe.length;Oe--;)if(!oe[Oe](Ee,Ce,Ue))return!1;return!0}:oe[0]}function za(oe,Ee,Ce){for(var Ue=0,Oe=Ee.length;Ue<Oe;Ue++)wi(oe,Ee[Ue],Ce);return Ce}function ma(oe,Ee,Ce,Ue,Oe){for(var Ze,Ke=[],gt=0,It=oe.length,ir=Ee!=null;gt<It;gt++)(Ze=oe[gt])&&(!Ce||Ce(Ze,Ue,Oe))&&(Ke.push(Ze),ir&&Ee.push(gt));return Ke}function Cn(oe,Ee,Ce,Ue,Oe,Ze){return Ue&&!Ue[yr]&&(Ue=Cn(Ue)),Oe&&!Oe[yr]&&(Oe=Cn(Oe,Ze)),un(function(Ke,gt,It,ir){var cr,Zt,qr,Gr,ii=[],Mi=[],Li=gt.length,Bi=Ke||za(Ee||"*",It.nodeType?[It]:It,[]),Vi=oe&&(Ke||!Ee)?ma(Bi,ii,oe,It,ir):Bi;if(Ce?(Gr=Oe||(Ke?oe:Li||Ue)?[]:gt,Ce(Vi,Gr,It,ir)):Gr=Vi,Ue)for(cr=ma(Gr,Mi),Ue(cr,[],It,ir),Zt=cr.length;Zt--;)(qr=cr[Zt])&&(Gr[Mi[Zt]]=!(Vi[Mi[Zt]]=qr));if(Ke){if(Oe||oe){if(Oe){for(cr=[],Zt=Gr.length;Zt--;)(qr=Gr[Zt])&&cr.push(Vi[Zt]=qr);Oe(null,Gr=[],cr,ir)}for(Zt=Gr.length;Zt--;)(qr=Gr[Zt])&&(cr=Oe?w.call(Ke,qr):ii[Zt])>-1&&(Ke[cr]=!(gt[cr]=qr))}}else Gr=ma(Gr===gt?Gr.splice(Li,Gr.length):Gr),Oe?Oe(null,gt,Gr,ir):Ve.apply(gt,Gr)})}function it(oe){for(var Ee,Ce,Ue,Oe=oe.length,Ze=ne.relative[oe[0].type],Ke=Ze||ne.relative[" "],gt=Ze?1:0,It=Un(function(Zt){return Zt===Ee},Ke,!0),ir=Un(function(Zt){return w.call(Ee,Zt)>-1},Ke,!0),cr=[function(Zt,qr,Gr){var ii=!Ze&&(Gr||qr!=ke)||((Ee=qr).nodeType?It(Zt,qr,Gr):ir(Zt,qr,Gr));return Ee=null,ii}];gt<Oe;gt++)if(Ce=ne.relative[oe[gt].type])cr=[Un(Ta(cr),Ce)];else{if(Ce=ne.filter[oe[gt].type].apply(null,oe[gt].matches),Ce[yr]){for(Ue=++gt;Ue<Oe&&!ne.relative[oe[Ue].type];Ue++);return Cn(gt>1&&Ta(cr),gt>1&&fn(oe.slice(0,gt-1).concat({value:oe[gt-2].type===" "?"*":""})).replace(S,"$1"),Ce,gt<Ue&&it(oe.slice(gt,Ue)),Ue<Oe&&it(oe=oe.slice(Ue)),Ue<Oe&&fn(oe))}cr.push(Ce)}return Ta(cr)}function ue(oe,Ee){var Ce=Ee.length>0,Ue=oe.length>0,Oe=function(Ze,Ke,gt,It,ir){var cr,Zt,qr,Gr=0,ii="0",Mi=Ze&&[],Li=[],Bi=ke,Vi=Ze||Ue&&ne.find.TAG("*",ir),yn=er+=Bi==null?1:Math.random()||.1,ui=Vi.length;for(ir&&(ke=Ke==nt||Ke||ir);ii!==ui&&(cr=Vi[ii])!=null;ii++){if(Ue&&cr){for(Zt=0,!Ke&&cr.ownerDocument!=nt&&(An(cr),gt=!At);qr=oe[Zt++];)if(qr(cr,Ke||nt,gt)){Ve.call(It,cr);break}ir&&(er=yn)}Ce&&((cr=!qr&&cr)&&Gr--,Ze&&Mi.push(cr))}if(Gr+=ii,Ce&&ii!==Gr){for(Zt=0;qr=Ee[Zt++];)qr(Mi,Li,Ke,gt);if(Ze){if(Gr>0)for(;ii--;)Mi[ii]||Li[ii]||(Li[ii]=ye.call(It));Li=ma(Li)}Ve.apply(It,Li),ir&&!Ze&&Li.length>0&&Gr+Ee.length>1&&V.uniqueSort(It)}return ir&&(er=yn,ke=Bi),Mi};return Ce?un(Oe):Oe}function Te(oe,Ee){var Ce,Ue=[],Oe=[],Ze=ci[oe+" "];if(!Ze){for(Ee||(Ee=Qn(oe)),Ce=Ee.length;Ce--;)Ze=it(Ee[Ce]),Ze[yr]?Ue.push(Ze):Oe.push(Ze);Ze=ci(oe,ue(Oe,Ue)),Ze.selector=oe}return Ze}function Se(oe,Ee,Ce,Ue){var Oe,Ze,Ke,gt,It,ir=typeof oe=="function"&&oe,cr=!Ue&&Qn(oe=ir.selector||oe);if(Ce=Ce||[],cr.length===1){if(Ze=cr[0]=cr[0].slice(0),Ze.length>2&&(Ke=Ze[0]).type==="ID"&&Ee.nodeType===9&&At&&ne.relative[Ze[1].type]){if(Ee=(ne.find.ID(Ke.matches[0].replace(kn,vn),Ee)||[])[0],Ee)ir&&(Ee=Ee.parentNode);else return Ce;oe=oe.slice(Ze.shift().value.length)}for(Oe=Wi.needsContext.test(oe)?0:Ze.length;Oe--&&(Ke=Ze[Oe],!ne.relative[gt=Ke.type]);)if((It=ne.find[gt])&&(Ue=It(Ke.matches[0].replace(kn,vn),Bn.test(Ze[0].type)&&Sa(Ee.parentNode)||Ee))){if(Ze.splice(Oe,1),oe=Ue.length&&fn(Ze),!oe)return Ve.apply(Ce,Ue),Ce;break}}return(ir||Te(oe,cr))(Ue,Ee,!At,Ce,!Ee||Bn.test(oe)&&Sa(Ee.parentNode)||Ee),Ce}I.sortStable=yr.split("").sort(Pi).join("")===yr,An(),I.sortDetached=ln(function(oe){return oe.compareDocumentPosition(nt.createElement("fieldset"))&1}),V.find=wi,V.expr[":"]=V.expr.pseudos,V.unique=V.uniqueSort,wi.compile=Te,wi.select=Se,wi.setDocument=An,wi.tokenize=Qn,wi.escape=V.escapeSelector,wi.getText=V.text,wi.isXML=V.isXMLDoc,wi.selectors=V.expr,wi.support=V.support,wi.uniqueSort=V.uniqueSort})();var b=function(Y,ne,ke){for(var Le=[],He=ke!==void 0;(Y=Y[ne])&&Y.nodeType!==9;)if(Y.nodeType===1){if(He&&V(Y).is(ke))break;Le.push(Y)}return Le},d=function(Y,ne){for(var ke=[];Y;Y=Y.nextSibling)Y.nodeType===1&&Y!==ne&&ke.push(Y);return ke},k=V.expr.match.needsContext,D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(Y,ne,ke){return j(ne)?V.grep(Y,function(Le,He){return!!ne.call(Le,He,Le)!==ke}):ne.nodeType?V.grep(Y,function(Le){return Le===ne!==ke}):typeof ne!="string"?V.grep(Y,function(Le){return w.call(ne,Le)>-1!==ke}):V.filter(ne,Y,ke)}V.filter=function(Y,ne,ke){var Le=ne[0];return ke&&(Y=":not("+Y+")"),ne.length===1&&Le.nodeType===1?V.find.matchesSelector(Le,Y)?[Le]:[]:V.find.matches(Y,V.grep(ne,function(He){return He.nodeType===1}))},V.fn.extend({find:function(Y){var ne,ke,Le=this.length,He=this;if(typeof Y!="string")return this.pushStack(V(Y).filter(function(){for(ne=0;ne<Le;ne++)if(V.contains(He[ne],this))return!0}));for(ke=this.pushStack([]),ne=0;ne<Le;ne++)V.find(Y,He[ne],ke);return Le>1?V.uniqueSort(ke):ke},filter:function(Y){return this.pushStack(O(this,Y||[],!1))},not:function(Y){return this.pushStack(O(this,Y||[],!0))},is:function(Y){return!!O(this,typeof Y=="string"&&k.test(Y)?V(Y):Y||[],!1).length}});var Q,J=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,X=V.fn.init=function(Y,ne,ke){var Le,He;if(!Y)return this;if(ke=ke||Q,typeof Y=="string")if(Y[0]==="<"&&Y[Y.length-1]===">"&&Y.length>=3?Le=[null,Y,null]:Le=J.exec(Y),Le&&(Le[1]||!ne))if(Le[1]){if(ne=ne instanceof V?ne[0]:ne,V.merge(this,V.parseHTML(Le[1],ne&&ne.nodeType?ne.ownerDocument||ne:F,!0)),D.test(Le[1])&&V.isPlainObject(ne))for(Le in ne)j(this[Le])?this[Le](ne[Le]):this.attr(Le,ne[Le]);return this}else return He=F.getElementById(Le[2]),He&&(this[0]=He,this.length=1),this;else return!ne||ne.jquery?(ne||ke).find(Y):this.constructor(ne).find(Y);else{if(Y.nodeType)return this[0]=Y,this.length=1,this;if(j(Y))return ke.ready!==void 0?ke.ready(Y):Y(V)}return V.makeArray(Y,this)};X.prototype=V.fn,Q=V(F);var U=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};V.fn.extend({has:function(Y){var ne=V(Y,this),ke=ne.length;return this.filter(function(){for(var Le=0;Le<ke;Le++)if(V.contains(this,ne[Le]))return!0})},closest:function(Y,ne){var ke,Le=0,He=this.length,Ve=[],nt=typeof Y!="string"&&V(Y);if(!k.test(Y)){for(;Le<He;Le++)for(ke=this[Le];ke&&ke!==ne;ke=ke.parentNode)if(ke.nodeType<11&&(nt?nt.index(ke)>-1:ke.nodeType===1&&V.find.matchesSelector(ke,Y))){Ve.push(ke);break}}return this.pushStack(Ve.length>1?V.uniqueSort(Ve):Ve)},index:function(Y){return Y?typeof Y=="string"?w.call(V(Y),this[0]):w.call(this,Y.jquery?Y[0]:Y):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(Y,ne){return this.pushStack(V.uniqueSort(V.merge(this.get(),V(Y,ne))))},addBack:function(Y){return this.add(Y==null?this.prevObject:this.prevObject.filter(Y))}});function ie(Y,ne){for(;(Y=Y[ne])&&Y.nodeType!==1;);return Y}V.each({parent:function(Y){var ne=Y.parentNode;return ne&&ne.nodeType!==11?ne:null},parents:function(Y){return b(Y,"parentNode")},parentsUntil:function(Y,ne,ke){return b(Y,"parentNode",ke)},next:function(Y){return ie(Y,"nextSibling")},prev:function(Y){return ie(Y,"previousSibling")},nextAll:function(Y){return b(Y,"nextSibling")},prevAll:function(Y){return b(Y,"previousSibling")},nextUntil:function(Y,ne,ke){return b(Y,"nextSibling",ke)},prevUntil:function(Y,ne,ke){return b(Y,"previousSibling",ke)},siblings:function(Y){return d((Y.parentNode||{}).firstChild,Y)},children:function(Y){return d(Y.firstChild)},contents:function(Y){return Y.contentDocument!=null&&t(Y.contentDocument)?Y.contentDocument:(he(Y,"template")&&(Y=Y.content||Y),V.merge([],Y.childNodes))}},function(Y,ne){V.fn[Y]=function(ke,Le){var He=V.map(this,ne,ke);return Y.slice(-5)!=="Until"&&(Le=ke),Le&&typeof Le=="string"&&(He=V.filter(Le,He)),this.length>1&&(z[Y]||V.uniqueSort(He),U.test(Y)&&He.reverse()),this.pushStack(He)}});var de=/[^\x20\t\r\n\f]+/g;function me(Y){var ne={};return V.each(Y.match(de)||[],function(ke,Le){ne[Le]=!0}),ne}V.Callbacks=function(Y){Y=typeof Y=="string"?me(Y):V.extend({},Y);var ne,ke,Le,He,Ve=[],nt=[],Ot=-1,At=function(){for(He=He||Y.once,Le=ne=!0;nt.length;Ot=-1)for(ke=nt.shift();++Ot<Ve.length;)Ve[Ot].apply(ke[0],ke[1])===!1&&Y.stopOnFalse&&(Ot=Ve.length,ke=!1);Y.memory||(ke=!1),ne=!1,He&&(ke?Ve=[]:Ve="")},Vt={add:function(){return Ve&&(ke&&!ne&&(Ot=Ve.length-1,nt.push(ke)),function or(yr){V.each(yr,function(er,$r){j($r)?(!Y.unique||!Vt.has($r))&&Ve.push($r):$r&&$r.length&&Z($r)!=="string"&&or($r)})}(arguments),ke&&!ne&&At()),this},remove:function(){return V.each(arguments,function(or,yr){for(var er;(er=V.inArray(yr,Ve,er))>-1;)Ve.splice(er,1),er<=Ot&&Ot--}),this},has:function(or){return or?V.inArray(or,Ve)>-1:Ve.length>0},empty:function(){return Ve&&(Ve=[]),this},disable:function(){return He=nt=[],Ve=ke="",this},disabled:function(){return!Ve},lock:function(){return He=nt=[],!ke&&!ne&&(Ve=ke=""),this},locked:function(){return!!He},fireWith:function(or,yr){return He||(yr=yr||[],yr=[or,yr.slice?yr.slice():yr],nt.push(yr),ne||At()),this},fire:function(){return Vt.fireWith(this,arguments),this},fired:function(){return!!Le}};return Vt};function pe(Y){return Y}function qe(Y){throw Y}function mt(Y,ne,ke,Le){var He;try{Y&&j(He=Y.promise)?He.call(Y).done(ne).fail(ke):Y&&j(He=Y.then)?He.call(Y,ne,ke):ne.apply(void 0,[Y].slice(Le))}catch(Ve){ke.apply(void 0,[Ve])}}V.extend({Deferred:function(Y){var ne=[["notify","progress",V.Callbacks("memory"),V.Callbacks("memory"),2],["resolve","done",V.Callbacks("once memory"),V.Callbacks("once memory"),0,"resolved"],["reject","fail",V.Callbacks("once memory"),V.Callbacks("once memory"),1,"rejected"]],ke="pending",Le={state:function(){return ke},always:function(){return He.done(arguments).fail(arguments),this},catch:function(Ve){return Le.then(null,Ve)},pipe:function(){var Ve=arguments;return V.Deferred(function(nt){V.each(ne,function(Ot,At){var Vt=j(Ve[At[4]])&&Ve[At[4]];He[At[1]](function(){var or=Vt&&Vt.apply(this,arguments);or&&j(or.promise)?or.promise().progress(nt.notify).done(nt.resolve).fail(nt.reject):nt[At[0]+"With"](this,Vt?[or]:arguments)})}),Ve=null}).promise()},then:function(Ve,nt,Ot){var At=0;function Vt(or,yr,er,$r){return function(){var Kr=this,hi=arguments,ci=function(){var Pi,pn;if(!(or<At)){if(Pi=er.apply(Kr,hi),Pi===yr.promise())throw new TypeError("Thenable self-resolution");pn=Pi&&(typeof Pi=="object"||typeof Pi=="function")&&Pi.then,j(pn)?$r?pn.call(Pi,Vt(At,yr,pe,$r),Vt(At,yr,qe,$r)):(At++,pn.call(Pi,Vt(At,yr,pe,$r),Vt(At,yr,qe,$r),Vt(At,yr,pe,yr.notifyWith))):(er!==pe&&(Kr=void 0,hi=[Pi]),($r||yr.resolveWith)(Kr,hi))}},ji=$r?ci:function(){try{ci()}catch(Pi){V.Deferred.exceptionHook&&V.Deferred.exceptionHook(Pi,ji.error),or+1>=At&&(er!==qe&&(Kr=void 0,hi=[Pi]),yr.rejectWith(Kr,hi))}};or?ji():(V.Deferred.getErrorHook?ji.error=V.Deferred.getErrorHook():V.Deferred.getStackHook&&(ji.error=V.Deferred.getStackHook()),e.setTimeout(ji))}}return V.Deferred(function(or){ne[0][3].add(Vt(0,or,j(Ot)?Ot:pe,or.notifyWith)),ne[1][3].add(Vt(0,or,j(Ve)?Ve:pe)),ne[2][3].add(Vt(0,or,j(nt)?nt:qe))}).promise()},promise:function(Ve){return Ve!=null?V.extend(Ve,Le):Le}},He={};return V.each(ne,function(Ve,nt){var Ot=nt[2],At=nt[5];Le[nt[1]]=Ot.add,At&&Ot.add(function(){ke=At},ne[3-Ve][2].disable,ne[3-Ve][3].disable,ne[0][2].lock,ne[0][3].lock),Ot.add(nt[3].fire),He[nt[0]]=function(){return He[nt[0]+"With"](this===He?void 0:this,arguments),this},He[nt[0]+"With"]=Ot.fireWith}),Le.promise(He),Y&&Y.call(He,He),He},when:function(Y){var ne=arguments.length,ke=ne,Le=Array(ke),He=u.call(arguments),Ve=V.Deferred(),nt=function(Ot){return function(At){Le[Ot]=this,He[Ot]=arguments.length>1?u.call(arguments):At,--ne||Ve.resolveWith(Le,He)}};if(ne<=1&&(mt(Y,Ve.done(nt(ke)).resolve,Ve.reject,!ne),Ve.state()==="pending"||j(He[ke]&&He[ke].then)))return Ve.then();for(;ke--;)mt(He[ke],nt(ke),Ve.reject);return Ve.promise()}});var st=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;V.Deferred.exceptionHook=function(Y,ne){e.console&&e.console.warn&&Y&&st.test(Y.name)&&e.console.warn("jQuery.Deferred exception: "+Y.message,Y.stack,ne)},V.readyException=function(Y){e.setTimeout(function(){throw Y})};var dt=V.Deferred();V.fn.ready=function(Y){return dt.then(Y).catch(function(ne){V.readyException(ne)}),this},V.extend({isReady:!1,readyWait:1,ready:function(Y){(Y===!0?--V.readyWait:V.isReady)||(V.isReady=!0,!(Y!==!0&&--V.readyWait>0)&&dt.resolveWith(F,[V]))}}),V.ready.then=dt.then;function Tt(){F.removeEventListener("DOMContentLoaded",Tt),e.removeEventListener("load",Tt),V.ready()}F.readyState==="complete"||F.readyState!=="loading"&&!F.documentElement.doScroll?e.setTimeout(V.ready):(F.addEventListener("DOMContentLoaded",Tt),e.addEventListener("load",Tt));var lt=function(Y,ne,ke,Le,He,Ve,nt){var Ot=0,At=Y.length,Vt=ke==null;if(Z(ke)==="object"){He=!0;for(Ot in ke)lt(Y,ne,Ot,ke[Ot],!0,Ve,nt)}else if(Le!==void 0&&(He=!0,j(Le)||(nt=!0),Vt&&(nt?(ne.call(Y,Le),ne=null):(Vt=ne,ne=function(or,yr,er){return Vt.call(V(or),er)})),ne))for(;Ot<At;Ot++)ne(Y[Ot],ke,nt?Le:Le.call(Y[Ot],Ot,ne(Y[Ot],ke)));return He?Y:Vt?ne.call(Y):At?ne(Y[0],ke):Ve},Je=/^-ms-/,ht=/-([a-z])/g;function at(Y,ne){return ne.toUpperCase()}function bt(Y){return Y.replace(Je,"ms-").replace(ht,at)}var jt=function(Y){return Y.nodeType===1||Y.nodeType===9||!+Y.nodeType};function Ge(){this.expando=V.expando+Ge.uid++}Ge.uid=1,Ge.prototype={cache:function(Y){var ne=Y[this.expando];return ne||(ne={},jt(Y)&&(Y.nodeType?Y[this.expando]=ne:Object.defineProperty(Y,this.expando,{value:ne,configurable:!0}))),ne},set:function(Y,ne,ke){var Le,He=this.cache(Y);if(typeof ne=="string")He[bt(ne)]=ke;else for(Le in ne)He[bt(Le)]=ne[Le];return He},get:function(Y,ne){return ne===void 0?this.cache(Y):Y[this.expando]&&Y[this.expando][bt(ne)]},access:function(Y,ne,ke){return ne===void 0||ne&&typeof ne=="string"&&ke===void 0?this.get(Y,ne):(this.set(Y,ne,ke),ke!==void 0?ke:ne)},remove:function(Y,ne){var ke,Le=Y[this.expando];if(Le!==void 0){if(ne!==void 0)for(Array.isArray(ne)?ne=ne.map(bt):(ne=bt(ne),ne=ne in Le?[ne]:ne.match(de)||[]),ke=ne.length;ke--;)delete Le[ne[ke]];(ne===void 0||V.isEmptyObject(Le))&&(Y.nodeType?Y[this.expando]=void 0:delete Y[this.expando])}},hasData:function(Y){var ne=Y[this.expando];return ne!==void 0&&!V.isEmptyObject(ne)}};var Qe=new Ge,Wt=new Ge,Et=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ct=/[A-Z]/g;function Kt(Y){return Y==="true"?!0:Y==="false"?!1:Y==="null"?null:Y===+Y+""?+Y:Et.test(Y)?JSON.parse(Y):Y}function Me(Y,ne,ke){var Le;if(ke===void 0&&Y.nodeType===1)if(Le="data-"+ne.replace(Ct,"-$&").toLowerCase(),ke=Y.getAttribute(Le),typeof ke=="string"){try{ke=Kt(ke)}catch{}Wt.set(Y,ne,ke)}else ke=void 0;return ke}V.extend({hasData:function(Y){return Wt.hasData(Y)||Qe.hasData(Y)},data:function(Y,ne,ke){return Wt.access(Y,ne,ke)},removeData:function(Y,ne){Wt.remove(Y,ne)},_data:function(Y,ne,ke){return Qe.access(Y,ne,ke)},_removeData:function(Y,ne){Qe.remove(Y,ne)}}),V.fn.extend({data:function(Y,ne){var ke,Le,He,Ve=this[0],nt=Ve&&Ve.attributes;if(Y===void 0){if(this.length&&(He=Wt.get(Ve),Ve.nodeType===1&&!Qe.get(Ve,"hasDataAttrs"))){for(ke=nt.length;ke--;)nt[ke]&&(Le=nt[ke].name,Le.indexOf("data-")===0&&(Le=bt(Le.slice(5)),Me(Ve,Le,He[Le])));Qe.set(Ve,"hasDataAttrs",!0)}return He}return typeof Y=="object"?this.each(function(){Wt.set(this,Y)}):lt(this,function(Ot){var At;if(Ve&&Ot===void 0)return At=Wt.get(Ve,Y),At!==void 0||(At=Me(Ve,Y),At!==void 0)?At:void 0;this.each(function(){Wt.set(this,Y,Ot)})},null,ne,arguments.length>1,null,!0)},removeData:function(Y){return this.each(function(){Wt.remove(this,Y)})}}),V.extend({queue:function(Y,ne,ke){var Le;if(Y)return ne=(ne||"fx")+"queue",Le=Qe.get(Y,ne),ke&&(!Le||Array.isArray(ke)?Le=Qe.access(Y,ne,V.makeArray(ke)):Le.push(ke)),Le||[]},dequeue:function(Y,ne){ne=ne||"fx";var ke=V.queue(Y,ne),Le=ke.length,He=ke.shift(),Ve=V._queueHooks(Y,ne),nt=function(){V.dequeue(Y,ne)};He==="inprogress"&&(He=ke.shift(),Le--),He&&(ne==="fx"&&ke.unshift("inprogress"),delete Ve.stop,He.call(Y,nt,Ve)),!Le&&Ve&&Ve.empty.fire()},_queueHooks:function(Y,ne){var ke=ne+"queueHooks";return Qe.get(Y,ke)||Qe.access(Y,ke,{empty:V.Callbacks("once memory").add(function(){Qe.remove(Y,[ne+"queue",ke])})})}}),V.fn.extend({queue:function(Y,ne){var ke=2;return typeof Y!="string"&&(ne=Y,Y="fx",ke--),arguments.length<ke?V.queue(this[0],Y):ne===void 0?this:this.each(function(){var Le=V.queue(this,Y,ne);V._queueHooks(this,Y),Y==="fx"&&Le[0]!=="inprogress"&&V.dequeue(this,Y)})},dequeue:function(Y){return this.each(function(){V.dequeue(this,Y)})},clearQueue:function(Y){return this.queue(Y||"fx",[])},promise:function(Y,ne){var ke,Le=1,He=V.Deferred(),Ve=this,nt=this.length,Ot=function(){--Le||He.resolveWith(Ve,[Ve])};for(typeof Y!="string"&&(ne=Y,Y=void 0),Y=Y||"fx";nt--;)ke=Qe.get(Ve[nt],Y+"queueHooks"),ke&&ke.empty&&(Le++,ke.empty.add(Ot));return Ot(),He.promise(ne)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_e=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),je=["Top","Right","Bottom","Left"],We=F.documentElement,et=function(Y){return V.contains(Y.ownerDocument,Y)},Ye={composed:!0};We.getRootNode&&(et=function(Y){return V.contains(Y.ownerDocument,Y)||Y.getRootNode(Ye)===Y.ownerDocument});var De=function(Y,ne){return Y=ne||Y,Y.style.display==="none"||Y.style.display===""&&et(Y)&&V.css(Y,"display")==="none"};function Ht(Y,ne,ke,Le){var He,Ve,nt=20,Ot=Le?function(){return Le.cur()}:function(){return V.css(Y,ne,"")},At=Ot(),Vt=ke&&ke[3]||(V.cssNumber[ne]?"":"px"),or=Y.nodeType&&(V.cssNumber[ne]||Vt!=="px"&&+At)&&_e.exec(V.css(Y,ne));if(or&&or[3]!==Vt){for(At=At/2,Vt=Vt||or[3],or=+At||1;nt--;)V.style(Y,ne,or+Vt),(1-Ve)*(1-(Ve=Ot()/At||.5))<=0&&(nt=0),or=or/Ve;or=or*2,V.style(Y,ne,or+Vt),ke=ke||[]}return ke&&(or=+or||+At||0,He=ke[1]?or+(ke[1]+1)*ke[2]:+ke[2],Le&&(Le.unit=Vt,Le.start=or,Le.end=He)),He}var Mt={};function ge(Y){var ne,ke=Y.ownerDocument,Le=Y.nodeName,He=Mt[Le];return He||(ne=ke.body.appendChild(ke.createElement(Le)),He=V.css(ne,"display"),ne.parentNode.removeChild(ne),He==="none"&&(He="block"),Mt[Le]=He,He)}function Dt(Y,ne){for(var ke,Le,He=[],Ve=0,nt=Y.length;Ve<nt;Ve++)Le=Y[Ve],Le.style&&(ke=Le.style.display,ne?(ke==="none"&&(He[Ve]=Qe.get(Le,"display")||null,He[Ve]||(Le.style.display="")),Le.style.display===""&&De(Le)&&(He[Ve]=ge(Le))):ke!=="none"&&(He[Ve]="none",Qe.set(Le,"display",ke)));for(Ve=0;Ve<nt;Ve++)He[Ve]!=null&&(Y[Ve].style.display=He[Ve]);return Y}V.fn.extend({show:function(){return Dt(this,!0)},hide:function(){return Dt(this)},toggle:function(Y){return typeof Y=="boolean"?Y?this.show():this.hide():this.each(function(){De(this)?V(this).show():V(this).hide()})}});var yt=/^(?:checkbox|radio)$/i,Ne=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_t=/^$|^module$|\/(?:java|ecma)script/i;(function(){var Y=F.createDocumentFragment(),ne=Y.appendChild(F.createElement("div")),ke=F.createElement("input");ke.setAttribute("type","radio"),ke.setAttribute("checked","checked"),ke.setAttribute("name","t"),ne.appendChild(ke),I.checkClone=ne.cloneNode(!0).cloneNode(!0).lastChild.checked,ne.innerHTML="<textarea>x</textarea>",I.noCloneChecked=!!ne.cloneNode(!0).lastChild.defaultValue,ne.innerHTML="<option></option>",I.option=!!ne.lastChild})();var pt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};pt.tbody=pt.tfoot=pt.colgroup=pt.caption=pt.thead,pt.th=pt.td,I.option||(pt.optgroup=pt.option=[1,"<select multiple='multiple'>","</select>"]);function Bt(Y,ne){var ke;return typeof Y.getElementsByTagName<"u"?ke=Y.getElementsByTagName(ne||"*"):typeof Y.querySelectorAll<"u"?ke=Y.querySelectorAll(ne||"*"):ke=[],ne===void 0||ne&&he(Y,ne)?V.merge([Y],ke):ke}function ur(Y,ne){for(var ke=0,Le=Y.length;ke<Le;ke++)Qe.set(Y[ke],"globalEval",!ne||Qe.get(ne[ke],"globalEval"))}var kt=/<|&#?\w+;/;function Ut(Y,ne,ke,Le,He){for(var Ve,nt,Ot,At,Vt,or,yr=ne.createDocumentFragment(),er=[],$r=0,Kr=Y.length;$r<Kr;$r++)if(Ve=Y[$r],Ve||Ve===0)if(Z(Ve)==="object")V.merge(er,Ve.nodeType?[Ve]:Ve);else if(!kt.test(Ve))er.push(ne.createTextNode(Ve));else{for(nt=nt||yr.appendChild(ne.createElement("div")),Ot=(Ne.exec(Ve)||["",""])[1].toLowerCase(),At=pt[Ot]||pt._default,nt.innerHTML=At[1]+V.htmlPrefilter(Ve)+At[2],or=At[0];or--;)nt=nt.lastChild;V.merge(er,nt.childNodes),nt=yr.firstChild,nt.textContent=""}for(yr.textContent="",$r=0;Ve=er[$r++];){if(Le&&V.inArray(Ve,Le)>-1){He&&He.push(Ve);continue}if(Vt=et(Ve),nt=Bt(yr.appendChild(Ve),"script"),Vt&&ur(nt),ke)for(or=0;Ve=nt[or++];)_t.test(Ve.type||"")&&ke.push(Ve)}return yr}var Wr=/^([^.]*)(?:\.(.+)|)/;function zt(){return!0}function Qt(){return!1}function $e(Y,ne,ke,Le,He,Ve){var nt,Ot;if(typeof ne=="object"){typeof ke!="string"&&(Le=Le||ke,ke=void 0);for(Ot in ne)$e(Y,Ot,ke,Le,ne[Ot],Ve);return Y}if(Le==null&&He==null?(He=ke,Le=ke=void 0):He==null&&(typeof ke=="string"?(He=Le,Le=void 0):(He=Le,Le=ke,ke=void 0)),He===!1)He=Qt;else if(!He)return Y;return Ve===1&&(nt=He,He=function(At){return V().off(At),nt.apply(this,arguments)},He.guid=nt.guid||(nt.guid=V.guid++)),Y.each(function(){V.event.add(this,ne,He,Le,ke)})}V.event={global:{},add:function(Y,ne,ke,Le,He){var Ve,nt,Ot,At,Vt,or,yr,er,$r,Kr,hi,ci=Qe.get(Y);if(jt(Y))for(ke.handler&&(Ve=ke,ke=Ve.handler,He=Ve.selector),He&&V.find.matchesSelector(We,He),ke.guid||(ke.guid=V.guid++),(At=ci.events)||(At=ci.events=Object.create(null)),(nt=ci.handle)||(nt=ci.handle=function(ji){return typeof V<"u"&&V.event.triggered!==ji.type?V.event.dispatch.apply(Y,arguments):void 0}),ne=(ne||"").match(de)||[""],Vt=ne.length;Vt--;)Ot=Wr.exec(ne[Vt])||[],$r=hi=Ot[1],Kr=(Ot[2]||"").split(".").sort(),$r&&(yr=V.event.special[$r]||{},$r=(He?yr.delegateType:yr.bindType)||$r,yr=V.event.special[$r]||{},or=V.extend({type:$r,origType:hi,data:Le,handler:ke,guid:ke.guid,selector:He,needsContext:He&&V.expr.match.needsContext.test(He),namespace:Kr.join(".")},Ve),(er=At[$r])||(er=At[$r]=[],er.delegateCount=0,(!yr.setup||yr.setup.call(Y,Le,Kr,nt)===!1)&&Y.addEventListener&&Y.addEventListener($r,nt)),yr.add&&(yr.add.call(Y,or),or.handler.guid||(or.handler.guid=ke.guid)),He?er.splice(er.delegateCount++,0,or):er.push(or),V.event.global[$r]=!0)},remove:function(Y,ne,ke,Le,He){var Ve,nt,Ot,At,Vt,or,yr,er,$r,Kr,hi,ci=Qe.hasData(Y)&&Qe.get(Y);if(!(!ci||!(At=ci.events))){for(ne=(ne||"").match(de)||[""],Vt=ne.length;Vt--;){if(Ot=Wr.exec(ne[Vt])||[],$r=hi=Ot[1],Kr=(Ot[2]||"").split(".").sort(),!$r){for($r in At)V.event.remove(Y,$r+ne[Vt],ke,Le,!0);continue}for(yr=V.event.special[$r]||{},$r=(Le?yr.delegateType:yr.bindType)||$r,er=At[$r]||[],Ot=Ot[2]&&new RegExp("(^|\\.)"+Kr.join("\\.(?:.*\\.|)")+"(\\.|$)"),nt=Ve=er.length;Ve--;)or=er[Ve],(He||hi===or.origType)&&(!ke||ke.guid===or.guid)&&(!Ot||Ot.test(or.namespace))&&(!Le||Le===or.selector||Le==="**"&&or.selector)&&(er.splice(Ve,1),or.selector&&er.delegateCount--,yr.remove&&yr.remove.call(Y,or));nt&&!er.length&&((!yr.teardown||yr.teardown.call(Y,Kr,ci.handle)===!1)&&V.removeEvent(Y,$r,ci.handle),delete At[$r])}V.isEmptyObject(At)&&Qe.remove(Y,"handle events")}},dispatch:function(Y){var ne,ke,Le,He,Ve,nt,Ot=new Array(arguments.length),At=V.event.fix(Y),Vt=(Qe.get(this,"events")||Object.create(null))[At.type]||[],or=V.event.special[At.type]||{};for(Ot[0]=At,ne=1;ne<arguments.length;ne++)Ot[ne]=arguments[ne];if(At.delegateTarget=this,!(or.preDispatch&&or.preDispatch.call(this,At)===!1)){for(nt=V.event.handlers.call(this,At,Vt),ne=0;(He=nt[ne++])&&!At.isPropagationStopped();)for(At.currentTarget=He.elem,ke=0;(Ve=He.handlers[ke++])&&!At.isImmediatePropagationStopped();)(!At.rnamespace||Ve.namespace===!1||At.rnamespace.test(Ve.namespace))&&(At.handleObj=Ve,At.data=Ve.data,Le=((V.event.special[Ve.origType]||{}).handle||Ve.handler).apply(He.elem,Ot),Le!==void 0&&(At.result=Le)===!1&&(At.preventDefault(),At.stopPropagation()));return or.postDispatch&&or.postDispatch.call(this,At),At.result}},handlers:function(Y,ne){var ke,Le,He,Ve,nt,Ot=[],At=ne.delegateCount,Vt=Y.target;if(At&&Vt.nodeType&&!(Y.type==="click"&&Y.button>=1)){for(;Vt!==this;Vt=Vt.parentNode||this)if(Vt.nodeType===1&&!(Y.type==="click"&&Vt.disabled===!0)){for(Ve=[],nt={},ke=0;ke<At;ke++)Le=ne[ke],He=Le.selector+" ",nt[He]===void 0&&(nt[He]=Le.needsContext?V(He,this).index(Vt)>-1:V.find(He,this,null,[Vt]).length),nt[He]&&Ve.push(Le);Ve.length&&Ot.push({elem:Vt,handlers:Ve})}}return Vt=this,At<ne.length&&Ot.push({elem:Vt,handlers:ne.slice(At)}),Ot},addProp:function(Y,ne){Object.defineProperty(V.Event.prototype,Y,{enumerable:!0,configurable:!0,get:j(ne)?function(){if(this.originalEvent)return ne(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[Y]},set:function(ke){Object.defineProperty(this,Y,{enumerable:!0,configurable:!0,writable:!0,value:ke})}})},fix:function(Y){return Y[V.expando]?Y:new V.Event(Y)},special:{load:{noBubble:!0},click:{setup:function(Y){var ne=this||Y;return yt.test(ne.type)&&ne.click&&he(ne,"input")&&be(ne,"click",!0),!1},trigger:function(Y){var ne=this||Y;return yt.test(ne.type)&&ne.click&&he(ne,"input")&&be(ne,"click"),!0},_default:function(Y){var ne=Y.target;return yt.test(ne.type)&&ne.click&&he(ne,"input")&&Qe.get(ne,"click")||he(ne,"a")}},beforeunload:{postDispatch:function(Y){Y.result!==void 0&&Y.originalEvent&&(Y.originalEvent.returnValue=Y.result)}}}};function be(Y,ne,ke){if(!ke){Qe.get(Y,ne)===void 0&&V.event.add(Y,ne,zt);return}Qe.set(Y,ne,!1),V.event.add(Y,ne,{namespace:!1,handler:function(Le){var He,Ve=Qe.get(this,ne);if(Le.isTrigger&1&&this[ne]){if(Ve)(V.event.special[ne]||{}).delegateType&&Le.stopPropagation();else if(Ve=u.call(arguments),Qe.set(this,ne,Ve),this[ne](),He=Qe.get(this,ne),Qe.set(this,ne,!1),Ve!==He)return Le.stopImmediatePropagation(),Le.preventDefault(),He}else Ve&&(Qe.set(this,ne,V.event.trigger(Ve[0],Ve.slice(1),this)),Le.stopPropagation(),Le.isImmediatePropagationStopped=zt)}})}V.removeEvent=function(Y,ne,ke){Y.removeEventListener&&Y.removeEventListener(ne,ke)},V.Event=function(Y,ne){if(!(this instanceof V.Event))return new V.Event(Y,ne);Y&&Y.type?(this.originalEvent=Y,this.type=Y.type,this.isDefaultPrevented=Y.defaultPrevented||Y.defaultPrevented===void 0&&Y.returnValue===!1?zt:Qt,this.target=Y.target&&Y.target.nodeType===3?Y.target.parentNode:Y.target,this.currentTarget=Y.currentTarget,this.relatedTarget=Y.relatedTarget):this.type=Y,ne&&V.extend(this,ne),this.timeStamp=Y&&Y.timeStamp||Date.now(),this[V.expando]=!0},V.Event.prototype={constructor:V.Event,isDefaultPrevented:Qt,isPropagationStopped:Qt,isImmediatePropagationStopped:Qt,isSimulated:!1,preventDefault:function(){var Y=this.originalEvent;this.isDefaultPrevented=zt,Y&&!this.isSimulated&&Y.preventDefault()},stopPropagation:function(){var Y=this.originalEvent;this.isPropagationStopped=zt,Y&&!this.isSimulated&&Y.stopPropagation()},stopImmediatePropagation:function(){var Y=this.originalEvent;this.isImmediatePropagationStopped=zt,Y&&!this.isSimulated&&Y.stopImmediatePropagation(),this.stopPropagation()}},V.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},V.event.addProp),V.each({focus:"focusin",blur:"focusout"},function(Y,ne){function ke(Le){if(F.documentMode){var He=Qe.get(this,"handle"),Ve=V.event.fix(Le);Ve.type=Le.type==="focusin"?"focus":"blur",Ve.isSimulated=!0,He(Le),Ve.target===Ve.currentTarget&&He(Ve)}else V.event.simulate(ne,Le.target,V.event.fix(Le))}V.event.special[Y]={setup:function(){var Le;if(be(this,Y,!0),F.documentMode)Le=Qe.get(this,ne),Le||this.addEventListener(ne,ke),Qe.set(this,ne,(Le||0)+1);else return!1},trigger:function(){return be(this,Y),!0},teardown:function(){var Le;if(F.documentMode)Le=Qe.get(this,ne)-1,Le?Qe.set(this,ne,Le):(this.removeEventListener(ne,ke),Qe.remove(this,ne));else return!1},_default:function(Le){return Qe.get(Le.target,Y)},delegateType:ne},V.event.special[ne]={setup:function(){var Le=this.ownerDocument||this.document||this,He=F.documentMode?this:Le,Ve=Qe.get(He,ne);Ve||(F.documentMode?this.addEventListener(ne,ke):Le.addEventListener(Y,ke,!0)),Qe.set(He,ne,(Ve||0)+1)},teardown:function(){var Le=this.ownerDocument||this.document||this,He=F.documentMode?this:Le,Ve=Qe.get(He,ne)-1;Ve?Qe.set(He,ne,Ve):(F.documentMode?this.removeEventListener(ne,ke):Le.removeEventListener(Y,ke,!0),Qe.remove(He,ne))}}}),V.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(Y,ne){V.event.special[Y]={delegateType:ne,bindType:ne,handle:function(ke){var Le,He=this,Ve=ke.relatedTarget,nt=ke.handleObj;return(!Ve||Ve!==He&&!V.contains(He,Ve))&&(ke.type=nt.origType,Le=nt.handler.apply(this,arguments),ke.type=ne),Le}}}),V.fn.extend({on:function(Y,ne,ke,Le){return $e(this,Y,ne,ke,Le)},one:function(Y,ne,ke,Le){return $e(this,Y,ne,ke,Le,1)},off:function(Y,ne,ke){var Le,He;if(Y&&Y.preventDefault&&Y.handleObj)return Le=Y.handleObj,V(Y.delegateTarget).off(Le.namespace?Le.origType+"."+Le.namespace:Le.origType,Le.selector,Le.handler),this;if(typeof Y=="object"){for(He in Y)this.off(He,ne,Y[He]);return this}return(ne===!1||typeof ne=="function")&&(ke=ne,ne=void 0),ke===!1&&(ke=Qt),this.each(function(){V.event.remove(this,Y,ke,ne)})}});var ve=/<script|<style|<link/i,se=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ze(Y,ne){return he(Y,"table")&&he(ne.nodeType!==11?ne:ne.firstChild,"tr")&&V(Y).children("tbody")[0]||Y}function xt(Y){return Y.type=(Y.getAttribute("type")!==null)+"/"+Y.type,Y}function ot(Y){return(Y.type||"").slice(0,5)==="true/"?Y.type=Y.type.slice(5):Y.removeAttribute("type"),Y}function wt(Y,ne){var ke,Le,He,Ve,nt,Ot,At;if(ne.nodeType===1){if(Qe.hasData(Y)&&(Ve=Qe.get(Y),At=Ve.events,At)){Qe.remove(ne,"handle events");for(He in At)for(ke=0,Le=At[He].length;ke<Le;ke++)V.event.add(ne,He,At[He][ke])}Wt.hasData(Y)&&(nt=Wt.access(Y),Ot=V.extend({},nt),Wt.set(ne,Ot))}}function Yt(Y,ne){var ke=ne.nodeName.toLowerCase();ke==="input"&&yt.test(Y.type)?ne.checked=Y.checked:(ke==="input"||ke==="textarea")&&(ne.defaultValue=Y.defaultValue)}function Jt(Y,ne,ke,Le){ne=h(ne);var He,Ve,nt,Ot,At,Vt,or=0,yr=Y.length,er=yr-1,$r=ne[0],Kr=j($r);if(Kr||yr>1&&typeof $r=="string"&&!I.checkClone&&se.test($r))return Y.each(function(hi){var ci=Y.eq(hi);Kr&&(ne[0]=$r.call(this,hi,ci.html())),Jt(ci,ne,ke,Le)});if(yr&&(He=Ut(ne,Y[0].ownerDocument,!1,Y,Le),Ve=He.firstChild,He.childNodes.length===1&&(He=Ve),Ve||Le)){for(nt=V.map(Bt(He,"script"),xt),Ot=nt.length;or<yr;or++)At=He,or!==er&&(At=V.clone(At,!0,!0),Ot&&V.merge(nt,Bt(At,"script"))),ke.call(Y[or],At,or);if(Ot)for(Vt=nt[nt.length-1].ownerDocument,V.map(nt,ot),or=0;or<Ot;or++)At=nt[or],_t.test(At.type||"")&&!Qe.access(At,"globalEval")&&V.contains(Vt,At)&&(At.src&&(At.type||"").toLowerCase()!=="module"?V._evalUrl&&!At.noModule&&V._evalUrl(At.src,{nonce:At.nonce||At.getAttribute("nonce")},Vt):ee(At.textContent.replace(Pe,""),At,Vt))}return Y}function wr(Y,ne,ke){for(var Le,He=ne?V.filter(ne,Y):Y,Ve=0;(Le=He[Ve])!=null;Ve++)!ke&&Le.nodeType===1&&V.cleanData(Bt(Le)),Le.parentNode&&(ke&&et(Le)&&ur(Bt(Le,"script")),Le.parentNode.removeChild(Le));return Y}V.extend({htmlPrefilter:function(Y){return Y},clone:function(Y,ne,ke){var Le,He,Ve,nt,Ot=Y.cloneNode(!0),At=et(Y);if(!I.noCloneChecked&&(Y.nodeType===1||Y.nodeType===11)&&!V.isXMLDoc(Y))for(nt=Bt(Ot),Ve=Bt(Y),Le=0,He=Ve.length;Le<He;Le++)Yt(Ve[Le],nt[Le]);if(ne)if(ke)for(Ve=Ve||Bt(Y),nt=nt||Bt(Ot),Le=0,He=Ve.length;Le<He;Le++)wt(Ve[Le],nt[Le]);else wt(Y,Ot);return nt=Bt(Ot,"script"),nt.length>0&&ur(nt,!At&&Bt(Y,"script")),Ot},cleanData:function(Y){for(var ne,ke,Le,He=V.event.special,Ve=0;(ke=Y[Ve])!==void 0;Ve++)if(jt(ke)){if(ne=ke[Qe.expando]){if(ne.events)for(Le in ne.events)He[Le]?V.event.remove(ke,Le):V.removeEvent(ke,Le,ne.handle);ke[Qe.expando]=void 0}ke[Wt.expando]&&(ke[Wt.expando]=void 0)}}}),V.fn.extend({detach:function(Y){return wr(this,Y,!0)},remove:function(Y){return wr(this,Y)},text:function(Y){return lt(this,function(ne){return ne===void 0?V.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=ne)})},null,Y,arguments.length)},append:function(){return Jt(this,arguments,function(Y){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var ne=ze(this,Y);ne.appendChild(Y)}})},prepend:function(){return Jt(this,arguments,function(Y){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var ne=ze(this,Y);ne.insertBefore(Y,ne.firstChild)}})},before:function(){return Jt(this,arguments,function(Y){this.parentNode&&this.parentNode.insertBefore(Y,this)})},after:function(){return Jt(this,arguments,function(Y){this.parentNode&&this.parentNode.insertBefore(Y,this.nextSibling)})},empty:function(){for(var Y,ne=0;(Y=this[ne])!=null;ne++)Y.nodeType===1&&(V.cleanData(Bt(Y,!1)),Y.textContent="");return this},clone:function(Y,ne){return Y=Y??!1,ne=ne??Y,this.map(function(){return V.clone(this,Y,ne)})},html:function(Y){return lt(this,function(ne){var ke=this[0]||{},Le=0,He=this.length;if(ne===void 0&&ke.nodeType===1)return ke.innerHTML;if(typeof ne=="string"&&!ve.test(ne)&&!pt[(Ne.exec(ne)||["",""])[1].toLowerCase()]){ne=V.htmlPrefilter(ne);try{for(;Le<He;Le++)ke=this[Le]||{},ke.nodeType===1&&(V.cleanData(Bt(ke,!1)),ke.innerHTML=ne);ke=0}catch{}}ke&&this.empty().append(ne)},null,Y,arguments.length)},replaceWith:function(){var Y=[];return Jt(this,arguments,function(ne){var ke=this.parentNode;V.inArray(this,Y)<0&&(V.cleanData(Bt(this)),ke&&ke.replaceChild(ne,this))},Y)}}),V.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(Y,ne){V.fn[Y]=function(ke){for(var Le,He=[],Ve=V(ke),nt=Ve.length-1,Ot=0;Ot<=nt;Ot++)Le=Ot===nt?this:this.clone(!0),V(Ve[Ot])[ne](Le),v.apply(He,Le.get());return this.pushStack(He)}});var lr=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Rr=/^--/,vr=function(Y){var ne=Y.ownerDocument.defaultView;return(!ne||!ne.opener)&&(ne=e),ne.getComputedStyle(Y)},dr=function(Y,ne,ke){var Le,He,Ve={};for(He in ne)Ve[He]=Y.style[He],Y.style[He]=ne[He];Le=ke.call(Y);for(He in ne)Y.style[He]=Ve[He];return Le},Ir=new RegExp(je.join("|"),"i");(function(){function Y(){if(Vt){At.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Vt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",We.appendChild(At).appendChild(Vt);var or=e.getComputedStyle(Vt);ke=or.top!=="1%",Ot=ne(or.marginLeft)===12,Vt.style.right="60%",Ve=ne(or.right)===36,Le=ne(or.width)===36,Vt.style.position="absolute",He=ne(Vt.offsetWidth/3)===12,We.removeChild(At),Vt=null}}function ne(or){return Math.round(parseFloat(or))}var ke,Le,He,Ve,nt,Ot,At=F.createElement("div"),Vt=F.createElement("div");Vt.style&&(Vt.style.backgroundClip="content-box",Vt.cloneNode(!0).style.backgroundClip="",I.clearCloneStyle=Vt.style.backgroundClip==="content-box",V.extend(I,{boxSizingReliable:function(){return Y(),Le},pixelBoxStyles:function(){return Y(),Ve},pixelPosition:function(){return Y(),ke},reliableMarginLeft:function(){return Y(),Ot},scrollboxSize:function(){return Y(),He},reliableTrDimensions:function(){var or,yr,er,$r;return nt==null&&(or=F.createElement("table"),yr=F.createElement("tr"),er=F.createElement("div"),or.style.cssText="position:absolute;left:-11111px;border-collapse:separate",yr.style.cssText="box-sizing:content-box;border:1px solid",yr.style.height="1px",er.style.height="9px",er.style.display="block",We.appendChild(or).appendChild(yr).appendChild(er),$r=e.getComputedStyle(yr),nt=parseInt($r.height,10)+parseInt($r.borderTopWidth,10)+parseInt($r.borderBottomWidth,10)===yr.offsetHeight,We.removeChild(or)),nt}}))})();function kr(Y,ne,ke){var Le,He,Ve,nt,Ot=Rr.test(ne),At=Y.style;return ke=ke||vr(Y),ke&&(nt=ke.getPropertyValue(ne)||ke[ne],Ot&&nt&&(nt=nt.replace(S,"$1")||void 0),nt===""&&!et(Y)&&(nt=V.style(Y,ne)),!I.pixelBoxStyles()&&lr.test(nt)&&Ir.test(ne)&&(Le=At.width,He=At.minWidth,Ve=At.maxWidth,At.minWidth=At.maxWidth=At.width=nt,nt=ke.width,At.width=Le,At.minWidth=He,At.maxWidth=Ve)),nt!==void 0?nt+"":nt}function Fr(Y,ne){return{get:function(){if(Y()){delete this.get;return}return(this.get=ne).apply(this,arguments)}}}var jr=["Webkit","Moz","ms"],Cr=F.createElement("div").style,Lr={};function Ar(Y){for(var ne=Y[0].toUpperCase()+Y.slice(1),ke=jr.length;ke--;)if(Y=jr[ke]+ne,Y in Cr)return Y}function Tr(Y){var ne=V.cssProps[Y]||Lr[Y];return ne||(Y in Cr?Y:Lr[Y]=Ar(Y)||Y)}var Sr=/^(none|table(?!-c[ea]).+)/,rr={position:"absolute",visibility:"hidden",display:"block"},Nt={letterSpacing:"0",fontWeight:"400"};function Gt(Y,ne,ke){var Le=_e.exec(ne);return Le?Math.max(0,Le[2]-(ke||0))+(Le[3]||"px"):ne}function xr(Y,ne,ke,Le,He,Ve){var nt=ne==="width"?1:0,Ot=0,At=0,Vt=0;if(ke===(Le?"border":"content"))return 0;for(;nt<4;nt+=2)ke==="margin"&&(Vt+=V.css(Y,ke+je[nt],!0,He)),Le?(ke==="content"&&(At-=V.css(Y,"padding"+je[nt],!0,He)),ke!=="margin"&&(At-=V.css(Y,"border"+je[nt]+"Width",!0,He))):(At+=V.css(Y,"padding"+je[nt],!0,He),ke!=="padding"?At+=V.css(Y,"border"+je[nt]+"Width",!0,He):Ot+=V.css(Y,"border"+je[nt]+"Width",!0,He));return!Le&&Ve>=0&&(At+=Math.max(0,Math.ceil(Y["offset"+ne[0].toUpperCase()+ne.slice(1)]-Ve-At-Ot-.5))||0),At+Vt}function pr(Y,ne,ke){var Le=vr(Y),He=!I.boxSizingReliable()||ke,Ve=He&&V.css(Y,"boxSizing",!1,Le)==="border-box",nt=Ve,Ot=kr(Y,ne,Le),At="offset"+ne[0].toUpperCase()+ne.slice(1);if(lr.test(Ot)){if(!ke)return Ot;Ot="auto"}return(!I.boxSizingReliable()&&Ve||!I.reliableTrDimensions()&&he(Y,"tr")||Ot==="auto"||!parseFloat(Ot)&&V.css(Y,"display",!1,Le)==="inline")&&Y.getClientRects().length&&(Ve=V.css(Y,"boxSizing",!1,Le)==="border-box",nt=At in Y,nt&&(Ot=Y[At])),Ot=parseFloat(Ot)||0,Ot+xr(Y,ne,ke||(Ve?"border":"content"),nt,Le,Ot)+"px"}V.extend({cssHooks:{opacity:{get:function(Y,ne){if(ne){var ke=kr(Y,"opacity");return ke===""?"1":ke}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(Y,ne,ke,Le){if(!(!Y||Y.nodeType===3||Y.nodeType===8||!Y.style)){var He,Ve,nt,Ot=bt(ne),At=Rr.test(ne),Vt=Y.style;if(At||(ne=Tr(Ot)),nt=V.cssHooks[ne]||V.cssHooks[Ot],ke!==void 0){if(Ve=typeof ke,Ve==="string"&&(He=_e.exec(ke))&&He[1]&&(ke=Ht(Y,ne,He),Ve="number"),ke==null||ke!==ke)return;Ve==="number"&&!At&&(ke+=He&&He[3]||(V.cssNumber[Ot]?"":"px")),!I.clearCloneStyle&&ke===""&&ne.indexOf("background")===0&&(Vt[ne]="inherit"),(!nt||!("set"in nt)||(ke=nt.set(Y,ke,Le))!==void 0)&&(At?Vt.setProperty(ne,ke):Vt[ne]=ke)}else return nt&&"get"in nt&&(He=nt.get(Y,!1,Le))!==void 0?He:Vt[ne]}},css:function(Y,ne,ke,Le){var He,Ve,nt,Ot=bt(ne),At=Rr.test(ne);return At||(ne=Tr(Ot)),nt=V.cssHooks[ne]||V.cssHooks[Ot],nt&&"get"in nt&&(He=nt.get(Y,!0,ke)),He===void 0&&(He=kr(Y,ne,Le)),He==="normal"&&ne in Nt&&(He=Nt[ne]),ke===""||ke?(Ve=parseFloat(He),ke===!0||isFinite(Ve)?Ve||0:He):He}}),V.each(["height","width"],function(Y,ne){V.cssHooks[ne]={get:function(ke,Le,He){if(Le)return Sr.test(V.css(ke,"display"))&&(!ke.getClientRects().length||!ke.getBoundingClientRect().width)?dr(ke,rr,function(){return pr(ke,ne,He)}):pr(ke,ne,He)},set:function(ke,Le,He){var Ve,nt=vr(ke),Ot=!I.scrollboxSize()&&nt.position==="absolute",At=Ot||He,Vt=At&&V.css(ke,"boxSizing",!1,nt)==="border-box",or=He?xr(ke,ne,He,Vt,nt):0;return Vt&&Ot&&(or-=Math.ceil(ke["offset"+ne[0].toUpperCase()+ne.slice(1)]-parseFloat(nt[ne])-xr(ke,ne,"border",!1,nt)-.5)),or&&(Ve=_e.exec(Le))&&(Ve[3]||"px")!=="px"&&(ke.style[ne]=Le,Le=V.css(ke,ne)),Gt(ke,Le,or)}}}),V.cssHooks.marginLeft=Fr(I.reliableMarginLeft,function(Y,ne){if(ne)return(parseFloat(kr(Y,"marginLeft"))||Y.getBoundingClientRect().left-dr(Y,{marginLeft:0},function(){return Y.getBoundingClientRect().left}))+"px"}),V.each({margin:"",padding:"",border:"Width"},function(Y,ne){V.cssHooks[Y+ne]={expand:function(ke){for(var Le=0,He={},Ve=typeof ke=="string"?ke.split(" "):[ke];Le<4;Le++)He[Y+je[Le]+ne]=Ve[Le]||Ve[Le-2]||Ve[0];return He}},Y!=="margin"&&(V.cssHooks[Y+ne].set=Gt)}),V.fn.extend({css:function(Y,ne){return lt(this,function(ke,Le,He){var Ve,nt,Ot={},At=0;if(Array.isArray(Le)){for(Ve=vr(ke),nt=Le.length;At<nt;At++)Ot[Le[At]]=V.css(ke,Le[At],!1,Ve);return Ot}return He!==void 0?V.style(ke,Le,He):V.css(ke,Le)},Y,ne,arguments.length>1)}});function tr(Y,ne,ke,Le,He){return new tr.prototype.init(Y,ne,ke,Le,He)}V.Tween=tr,tr.prototype={constructor:tr,init:function(Y,ne,ke,Le,He,Ve){this.elem=Y,this.prop=ke,this.easing=He||V.easing._default,this.options=ne,this.start=this.now=this.cur(),this.end=Le,this.unit=Ve||(V.cssNumber[ke]?"":"px")},cur:function(){var Y=tr.propHooks[this.prop];return Y&&Y.get?Y.get(this):tr.propHooks._default.get(this)},run:function(Y){var ne,ke=tr.propHooks[this.prop];return this.options.duration?this.pos=ne=V.easing[this.easing](Y,this.options.duration*Y,0,1,this.options.duration):this.pos=ne=Y,this.now=(this.end-this.start)*ne+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),ke&&ke.set?ke.set(this):tr.propHooks._default.set(this),this}},tr.prototype.init.prototype=tr.prototype,tr.propHooks={_default:{get:function(Y){var ne;return Y.elem.nodeType!==1||Y.elem[Y.prop]!=null&&Y.elem.style[Y.prop]==null?Y.elem[Y.prop]:(ne=V.css(Y.elem,Y.prop,""),!ne||ne==="auto"?0:ne)},set:function(Y){V.fx.step[Y.prop]?V.fx.step[Y.prop](Y):Y.elem.nodeType===1&&(V.cssHooks[Y.prop]||Y.elem.style[Tr(Y.prop)]!=null)?V.style(Y.elem,Y.prop,Y.now+Y.unit):Y.elem[Y.prop]=Y.now}}},tr.propHooks.scrollTop=tr.propHooks.scrollLeft={set:function(Y){Y.elem.nodeType&&Y.elem.parentNode&&(Y.elem[Y.prop]=Y.now)}},V.easing={linear:function(Y){return Y},swing:function(Y){return .5-Math.cos(Y*Math.PI)/2},_default:"swing"},V.fx=tr.prototype.init,V.fx.step={};var br,Nr,Yr=/^(?:toggle|show|hide)$/,ei=/queueHooks$/;function Hr(){Nr&&(F.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(Hr):e.setTimeout(Hr,V.fx.interval),V.fx.tick())}function Pt(){return e.setTimeout(function(){br=void 0}),br=Date.now()}function Jr(Y,ne){var ke,Le=0,He={height:Y};for(ne=ne?1:0;Le<4;Le+=2-ne)ke=je[Le],He["margin"+ke]=He["padding"+ke]=Y;return ne&&(He.opacity=He.width=Y),He}function Xr(Y,ne,ke){for(var Le,He=(xe.tweeners[ne]||[]).concat(xe.tweeners["*"]),Ve=0,nt=He.length;Ve<nt;Ve++)if(Le=He[Ve].call(ke,ne,Y))return Le}function fi(Y,ne,ke){var Le,He,Ve,nt,Ot,At,Vt,or,yr="width"in ne||"height"in ne,er=this,$r={},Kr=Y.style,hi=Y.nodeType&&De(Y),ci=Qe.get(Y,"fxshow");ke.queue||(nt=V._queueHooks(Y,"fx"),nt.unqueued==null&&(nt.unqueued=0,Ot=nt.empty.fire,nt.empty.fire=function(){nt.unqueued||Ot()}),nt.unqueued++,er.always(function(){er.always(function(){nt.unqueued--,V.queue(Y,"fx").length||nt.empty.fire()})}));for(Le in ne)if(He=ne[Le],Yr.test(He)){if(delete ne[Le],Ve=Ve||He==="toggle",He===(hi?"hide":"show"))if(He==="show"&&ci&&ci[Le]!==void 0)hi=!0;else continue;$r[Le]=ci&&ci[Le]||V.style(Y,Le)}if(At=!V.isEmptyObject(ne),!(!At&&V.isEmptyObject($r))){yr&&Y.nodeType===1&&(ke.overflow=[Kr.overflow,Kr.overflowX,Kr.overflowY],Vt=ci&&ci.display,Vt==null&&(Vt=Qe.get(Y,"display")),or=V.css(Y,"display"),or==="none"&&(Vt?or=Vt:(Dt([Y],!0),Vt=Y.style.display||Vt,or=V.css(Y,"display"),Dt([Y]))),(or==="inline"||or==="inline-block"&&Vt!=null)&&V.css(Y,"float")==="none"&&(At||(er.done(function(){Kr.display=Vt}),Vt==null&&(or=Kr.display,Vt=or==="none"?"":or)),Kr.display="inline-block")),ke.overflow&&(Kr.overflow="hidden",er.always(function(){Kr.overflow=ke.overflow[0],Kr.overflowX=ke.overflow[1],Kr.overflowY=ke.overflow[2]})),At=!1;for(Le in $r)At||(ci?"hidden"in ci&&(hi=ci.hidden):ci=Qe.access(Y,"fxshow",{display:Vt}),Ve&&(ci.hidden=!hi),hi&&Dt([Y],!0),er.done(function(){hi||Dt([Y]),Qe.remove(Y,"fxshow");for(Le in $r)V.style(Y,Le,$r[Le])})),At=Xr(hi?ci[Le]:0,Le,er),Le in ci||(ci[Le]=At.start,hi&&(At.end=At.start,At.start=0))}}function ce(Y,ne){var ke,Le,He,Ve,nt;for(ke in Y)if(Le=bt(ke),He=ne[Le],Ve=Y[ke],Array.isArray(Ve)&&(He=Ve[1],Ve=Y[ke]=Ve[0]),ke!==Le&&(Y[Le]=Ve,delete Y[ke]),nt=V.cssHooks[Le],nt&&"expand"in nt){Ve=nt.expand(Ve),delete Y[Le];for(ke in Ve)ke in Y||(Y[ke]=Ve[ke],ne[ke]=He)}else ne[Le]=He}function xe(Y,ne,ke){var Le,He,Ve=0,nt=xe.prefilters.length,Ot=V.Deferred().always(function(){delete At.elem}),At=function(){if(He)return!1;for(var yr=br||Pt(),er=Math.max(0,Vt.startTime+Vt.duration-yr),$r=er/Vt.duration||0,Kr=1-$r,hi=0,ci=Vt.tweens.length;hi<ci;hi++)Vt.tweens[hi].run(Kr);return Ot.notifyWith(Y,[Vt,Kr,er]),Kr<1&&ci?er:(ci||Ot.notifyWith(Y,[Vt,1,0]),Ot.resolveWith(Y,[Vt]),!1)},Vt=Ot.promise({elem:Y,props:V.extend({},ne),opts:V.extend(!0,{specialEasing:{},easing:V.easing._default},ke),originalProperties:ne,originalOptions:ke,startTime:br||Pt(),duration:ke.duration,tweens:[],createTween:function(yr,er){var $r=V.Tween(Y,Vt.opts,yr,er,Vt.opts.specialEasing[yr]||Vt.opts.easing);return Vt.tweens.push($r),$r},stop:function(yr){var er=0,$r=yr?Vt.tweens.length:0;if(He)return this;for(He=!0;er<$r;er++)Vt.tweens[er].run(1);return yr?(Ot.notifyWith(Y,[Vt,1,0]),Ot.resolveWith(Y,[Vt,yr])):Ot.rejectWith(Y,[Vt,yr]),this}}),or=Vt.props;for(ce(or,Vt.opts.specialEasing);Ve<nt;Ve++)if(Le=xe.prefilters[Ve].call(Vt,Y,or,Vt.opts),Le)return j(Le.stop)&&(V._queueHooks(Vt.elem,Vt.opts.queue).stop=Le.stop.bind(Le)),Le;return V.map(or,Xr,Vt),j(Vt.opts.start)&&Vt.opts.start.call(Y,Vt),Vt.progress(Vt.opts.progress).done(Vt.opts.done,Vt.opts.complete).fail(Vt.opts.fail).always(Vt.opts.always),V.fx.timer(V.extend(At,{elem:Y,anim:Vt,queue:Vt.opts.queue})),Vt}V.Animation=V.extend(xe,{tweeners:{"*":[function(Y,ne){var ke=this.createTween(Y,ne);return Ht(ke.elem,Y,_e.exec(ne),ke),ke}]},tweener:function(Y,ne){j(Y)?(ne=Y,Y=["*"]):Y=Y.match(de);for(var ke,Le=0,He=Y.length;Le<He;Le++)ke=Y[Le],xe.tweeners[ke]=xe.tweeners[ke]||[],xe.tweeners[ke].unshift(ne)},prefilters:[fi],prefilter:function(Y,ne){ne?xe.prefilters.unshift(Y):xe.prefilters.push(Y)}}),V.speed=function(Y,ne,ke){var Le=Y&&typeof Y=="object"?V.extend({},Y):{complete:ke||!ke&&ne||j(Y)&&Y,duration:Y,easing:ke&&ne||ne&&!j(ne)&&ne};return V.fx.off?Le.duration=0:typeof Le.duration!="number"&&(Le.duration in V.fx.speeds?Le.duration=V.fx.speeds[Le.duration]:Le.duration=V.fx.speeds._default),(Le.queue==null||Le.queue===!0)&&(Le.queue="fx"),Le.old=Le.complete,Le.complete=function(){j(Le.old)&&Le.old.call(this),Le.queue&&V.dequeue(this,Le.queue)},Le},V.fn.extend({fadeTo:function(Y,ne,ke,Le){return this.filter(De).css("opacity",0).show().end().animate({opacity:ne},Y,ke,Le)},animate:function(Y,ne,ke,Le){var He=V.isEmptyObject(Y),Ve=V.speed(ne,ke,Le),nt=function(){var Ot=xe(this,V.extend({},Y),Ve);(He||Qe.get(this,"finish"))&&Ot.stop(!0)};return nt.finish=nt,He||Ve.queue===!1?this.each(nt):this.queue(Ve.queue,nt)},stop:function(Y,ne,ke){var Le=function(He){var Ve=He.stop;delete He.stop,Ve(ke)};return typeof Y!="string"&&(ke=ne,ne=Y,Y=void 0),ne&&this.queue(Y||"fx",[]),this.each(function(){var He=!0,Ve=Y!=null&&Y+"queueHooks",nt=V.timers,Ot=Qe.get(this);if(Ve)Ot[Ve]&&Ot[Ve].stop&&Le(Ot[Ve]);else for(Ve in Ot)Ot[Ve]&&Ot[Ve].stop&&ei.test(Ve)&&Le(Ot[Ve]);for(Ve=nt.length;Ve--;)nt[Ve].elem===this&&(Y==null||nt[Ve].queue===Y)&&(nt[Ve].anim.stop(ke),He=!1,nt.splice(Ve,1));(He||!ke)&&V.dequeue(this,Y)})},finish:function(Y){return Y!==!1&&(Y=Y||"fx"),this.each(function(){var ne,ke=Qe.get(this),Le=ke[Y+"queue"],He=ke[Y+"queueHooks"],Ve=V.timers,nt=Le?Le.length:0;for(ke.finish=!0,V.queue(this,Y,[]),He&&He.stop&&He.stop.call(this,!0),ne=Ve.length;ne--;)Ve[ne].elem===this&&Ve[ne].queue===Y&&(Ve[ne].anim.stop(!0),Ve.splice(ne,1));for(ne=0;ne<nt;ne++)Le[ne]&&Le[ne].finish&&Le[ne].finish.call(this);delete ke.finish})}}),V.each(["toggle","show","hide"],function(Y,ne){var ke=V.fn[ne];V.fn[ne]=function(Le,He,Ve){return Le==null||typeof Le=="boolean"?ke.apply(this,arguments):this.animate(Jr(ne,!0),Le,He,Ve)}}),V.each({slideDown:Jr("show"),slideUp:Jr("hide"),slideToggle:Jr("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(Y,ne){V.fn[Y]=function(ke,Le,He){return this.animate(ne,ke,Le,He)}}),V.timers=[],V.fx.tick=function(){var Y,ne=0,ke=V.timers;for(br=Date.now();ne<ke.length;ne++)Y=ke[ne],!Y()&&ke[ne]===Y&&ke.splice(ne--,1);ke.length||V.fx.stop(),br=void 0},V.fx.timer=function(Y){V.timers.push(Y),V.fx.start()},V.fx.interval=13,V.fx.start=function(){Nr||(Nr=!0,Hr())},V.fx.stop=function(){Nr=null},V.fx.speeds={slow:600,fast:200,_default:400},V.fn.delay=function(Y,ne){return Y=V.fx&&V.fx.speeds[Y]||Y,ne=ne||"fx",this.queue(ne,function(ke,Le){var He=e.setTimeout(ke,Y);Le.stop=function(){e.clearTimeout(He)}})},function(){var Y=F.createElement("input"),ne=F.createElement("select"),ke=ne.appendChild(F.createElement("option"));Y.type="checkbox",I.checkOn=Y.value!=="",I.optSelected=ke.selected,Y=F.createElement("input"),Y.value="t",Y.type="radio",I.radioValue=Y.value==="t"}();var Be,Fe=V.expr.attrHandle;V.fn.extend({attr:function(Y,ne){return lt(this,V.attr,Y,ne,arguments.length>1)},removeAttr:function(Y){return this.each(function(){V.removeAttr(this,Y)})}}),V.extend({attr:function(Y,ne,ke){var Le,He,Ve=Y.nodeType;if(!(Ve===3||Ve===8||Ve===2)){if(typeof Y.getAttribute>"u")return V.prop(Y,ne,ke);if((Ve!==1||!V.isXMLDoc(Y))&&(He=V.attrHooks[ne.toLowerCase()]||(V.expr.match.bool.test(ne)?Be:void 0)),ke!==void 0){if(ke===null){V.removeAttr(Y,ne);return}return He&&"set"in He&&(Le=He.set(Y,ke,ne))!==void 0?Le:(Y.setAttribute(ne,ke+""),ke)}return He&&"get"in He&&(Le=He.get(Y,ne))!==null?Le:(Le=V.find.attr(Y,ne),Le??void 0)}},attrHooks:{type:{set:function(Y,ne){if(!I.radioValue&&ne==="radio"&&he(Y,"input")){var ke=Y.value;return Y.setAttribute("type",ne),ke&&(Y.value=ke),ne}}}},removeAttr:function(Y,ne){var ke,Le=0,He=ne&&ne.match(de);if(He&&Y.nodeType===1)for(;ke=He[Le++];)Y.removeAttribute(ke)}}),Be={set:function(Y,ne,ke){return ne===!1?V.removeAttr(Y,ke):Y.setAttribute(ke,ke),ke}},V.each(V.expr.match.bool.source.match(/\w+/g),function(Y,ne){var ke=Fe[ne]||V.find.attr;Fe[ne]=function(Le,He,Ve){var nt,Ot,At=He.toLowerCase();return Ve||(Ot=Fe[At],Fe[At]=nt,nt=ke(Le,He,Ve)!=null?At:null,Fe[At]=Ot),nt}});var Xe=/^(?:input|select|textarea|button)$/i,ct=/^(?:a|area)$/i;V.fn.extend({prop:function(Y,ne){return lt(this,V.prop,Y,ne,arguments.length>1)},removeProp:function(Y){return this.each(function(){delete this[V.propFix[Y]||Y]})}}),V.extend({prop:function(Y,ne,ke){var Le,He,Ve=Y.nodeType;if(!(Ve===3||Ve===8||Ve===2))return(Ve!==1||!V.isXMLDoc(Y))&&(ne=V.propFix[ne]||ne,He=V.propHooks[ne]),ke!==void 0?He&&"set"in He&&(Le=He.set(Y,ke,ne))!==void 0?Le:Y[ne]=ke:He&&"get"in He&&(Le=He.get(Y,ne))!==null?Le:Y[ne]},propHooks:{tabIndex:{get:function(Y){var ne=V.find.attr(Y,"tabindex");return ne?parseInt(ne,10):Xe.test(Y.nodeName)||ct.test(Y.nodeName)&&Y.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),I.optSelected||(V.propHooks.selected={get:function(Y){var ne=Y.parentNode;return ne&&ne.parentNode&&ne.parentNode.selectedIndex,null},set:function(Y){var ne=Y.parentNode;ne&&(ne.selectedIndex,ne.parentNode&&ne.parentNode.selectedIndex)}}),V.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){V.propFix[this.toLowerCase()]=this});function we(Y){var ne=Y.match(de)||[];return ne.join(" ")}function Ae(Y){return Y.getAttribute&&Y.getAttribute("class")||""}function Re(Y){return Array.isArray(Y)?Y:typeof Y=="string"?Y.match(de)||[]:[]}V.fn.extend({addClass:function(Y){var ne,ke,Le,He,Ve,nt;return j(Y)?this.each(function(Ot){V(this).addClass(Y.call(this,Ot,Ae(this)))}):(ne=Re(Y),ne.length?this.each(function(){if(Le=Ae(this),ke=this.nodeType===1&&" "+we(Le)+" ",ke){for(Ve=0;Ve<ne.length;Ve++)He=ne[Ve],ke.indexOf(" "+He+" ")<0&&(ke+=He+" ");nt=we(ke),Le!==nt&&this.setAttribute("class",nt)}}):this)},removeClass:function(Y){var ne,ke,Le,He,Ve,nt;return j(Y)?this.each(function(Ot){V(this).removeClass(Y.call(this,Ot,Ae(this)))}):arguments.length?(ne=Re(Y),ne.length?this.each(function(){if(Le=Ae(this),ke=this.nodeType===1&&" "+we(Le)+" ",ke){for(Ve=0;Ve<ne.length;Ve++)for(He=ne[Ve];ke.indexOf(" "+He+" ")>-1;)ke=ke.replace(" "+He+" "," ");nt=we(ke),Le!==nt&&this.setAttribute("class",nt)}}):this):this.attr("class","")},toggleClass:function(Y,ne){var ke,Le,He,Ve,nt=typeof Y,Ot=nt==="string"||Array.isArray(Y);return j(Y)?this.each(function(At){V(this).toggleClass(Y.call(this,At,Ae(this),ne),ne)}):typeof ne=="boolean"&&Ot?ne?this.addClass(Y):this.removeClass(Y):(ke=Re(Y),this.each(function(){if(Ot)for(Ve=V(this),He=0;He<ke.length;He++)Le=ke[He],Ve.hasClass(Le)?Ve.removeClass(Le):Ve.addClass(Le);else(Y===void 0||nt==="boolean")&&(Le=Ae(this),Le&&Qe.set(this,"__className__",Le),this.setAttribute&&this.setAttribute("class",Le||Y===!1?"":Qe.get(this,"__className__")||""))}))},hasClass:function(Y){var ne,ke,Le=0;for(ne=" "+Y+" ";ke=this[Le++];)if(ke.nodeType===1&&(" "+we(Ae(ke))+" ").indexOf(ne)>-1)return!0;return!1}});var rt=/\r/g;V.fn.extend({val:function(Y){var ne,ke,Le,He=this[0];return arguments.length?(Le=j(Y),this.each(function(Ve){var nt;this.nodeType===1&&(Le?nt=Y.call(this,Ve,V(this).val()):nt=Y,nt==null?nt="":typeof nt=="number"?nt+="":Array.isArray(nt)&&(nt=V.map(nt,function(Ot){return Ot==null?"":Ot+""})),ne=V.valHooks[this.type]||V.valHooks[this.nodeName.toLowerCase()],(!ne||!("set"in ne)||ne.set(this,nt,"value")===void 0)&&(this.value=nt))})):He?(ne=V.valHooks[He.type]||V.valHooks[He.nodeName.toLowerCase()],ne&&"get"in ne&&(ke=ne.get(He,"value"))!==void 0?ke:(ke=He.value,typeof ke=="string"?ke.replace(rt,""):ke??"")):void 0}}),V.extend({valHooks:{option:{get:function(Y){var ne=V.find.attr(Y,"value");return ne??we(V.text(Y))}},select:{get:function(Y){var ne,ke,Le,He=Y.options,Ve=Y.selectedIndex,nt=Y.type==="select-one",Ot=nt?null:[],At=nt?Ve+1:He.length;for(Ve<0?Le=At:Le=nt?Ve:0;Le<At;Le++)if(ke=He[Le],(ke.selected||Le===Ve)&&!ke.disabled&&(!ke.parentNode.disabled||!he(ke.parentNode,"optgroup"))){if(ne=V(ke).val(),nt)return ne;Ot.push(ne)}return Ot},set:function(Y,ne){for(var ke,Le,He=Y.options,Ve=V.makeArray(ne),nt=He.length;nt--;)Le=He[nt],(Le.selected=V.inArray(V.valHooks.option.get(Le),Ve)>-1)&&(ke=!0);return ke||(Y.selectedIndex=-1),Ve}}}}),V.each(["radio","checkbox"],function(){V.valHooks[this]={set:function(Y,ne){if(Array.isArray(ne))return Y.checked=V.inArray(V(Y).val(),ne)>-1}},I.checkOn||(V.valHooks[this].get=function(Y){return Y.getAttribute("value")===null?"on":Y.value})});var St=e.location,Lt={guid:Date.now()},Ft=/\?/;V.parseXML=function(Y){var ne,ke;if(!Y||typeof Y!="string")return null;try{ne=new e.DOMParser().parseFromString(Y,"text/xml")}catch{}return ke=ne&&ne.getElementsByTagName("parsererror")[0],(!ne||ke)&&V.error("Invalid XML: "+(ke?V.map(ke.childNodes,function(Le){return Le.textContent}).join(`
+`):Y)),ne};var $t=/^(?:focusinfocus|focusoutblur)$/,nr=function(Y){Y.stopPropagation()};V.extend(V.event,{trigger:function(Y,ne,ke,Le){var He,Ve,nt,Ot,At,Vt,or,yr,er=[ke||F],$r=C.call(Y,"type")?Y.type:Y,Kr=C.call(Y,"namespace")?Y.namespace.split("."):[];if(Ve=yr=nt=ke=ke||F,!(ke.nodeType===3||ke.nodeType===8)&&!$t.test($r+V.event.triggered)&&($r.indexOf(".")>-1&&(Kr=$r.split("."),$r=Kr.shift(),Kr.sort()),At=$r.indexOf(":")<0&&"on"+$r,Y=Y[V.expando]?Y:new V.Event($r,typeof Y=="object"&&Y),Y.isTrigger=Le?2:3,Y.namespace=Kr.join("."),Y.rnamespace=Y.namespace?new RegExp("(^|\\.)"+Kr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,Y.result=void 0,Y.target||(Y.target=ke),ne=ne==null?[Y]:V.makeArray(ne,[Y]),or=V.event.special[$r]||{},!(!Le&&or.trigger&&or.trigger.apply(ke,ne)===!1))){if(!Le&&!or.noBubble&&!B(ke)){for(Ot=or.delegateType||$r,$t.test(Ot+$r)||(Ve=Ve.parentNode);Ve;Ve=Ve.parentNode)er.push(Ve),nt=Ve;nt===(ke.ownerDocument||F)&&er.push(nt.defaultView||nt.parentWindow||e)}for(He=0;(Ve=er[He++])&&!Y.isPropagationStopped();)yr=Ve,Y.type=He>1?Ot:or.bindType||$r,Vt=(Qe.get(Ve,"events")||Object.create(null))[Y.type]&&Qe.get(Ve,"handle"),Vt&&Vt.apply(Ve,ne),Vt=At&&Ve[At],Vt&&Vt.apply&&jt(Ve)&&(Y.result=Vt.apply(Ve,ne),Y.result===!1&&Y.preventDefault());return Y.type=$r,!Le&&!Y.isDefaultPrevented()&&(!or._default||or._default.apply(er.pop(),ne)===!1)&&jt(ke)&&At&&j(ke[$r])&&!B(ke)&&(nt=ke[At],nt&&(ke[At]=null),V.event.triggered=$r,Y.isPropagationStopped()&&yr.addEventListener($r,nr),ke[$r](),Y.isPropagationStopped()&&yr.removeEventListener($r,nr),V.event.triggered=void 0,nt&&(ke[At]=nt)),Y.result}},simulate:function(Y,ne,ke){var Le=V.extend(new V.Event,ke,{type:Y,isSimulated:!0});V.event.trigger(Le,null,ne)}}),V.fn.extend({trigger:function(Y,ne){return this.each(function(){V.event.trigger(Y,ne,this)})},triggerHandler:function(Y,ne){var ke=this[0];if(ke)return V.event.trigger(Y,ne,ke,!0)}});var gr=/\[\]$/,fr=/\r?\n/g,ar=/^(?:submit|button|image|reset|file)$/i,Ur=/^(?:input|select|textarea|keygen)/i;function Er(Y,ne,ke,Le){var He;if(Array.isArray(ne))V.each(ne,function(Ve,nt){ke||gr.test(Y)?Le(Y,nt):Er(Y+"["+(typeof nt=="object"&&nt!=null?Ve:"")+"]",nt,ke,Le)});else if(!ke&&Z(ne)==="object")for(He in ne)Er(Y+"["+He+"]",ne[He],ke,Le);else Le(Y,ne)}V.param=function(Y,ne){var ke,Le=[],He=function(Ve,nt){var Ot=j(nt)?nt():nt;Le[Le.length]=encodeURIComponent(Ve)+"="+encodeURIComponent(Ot??"")};if(Y==null)return"";if(Array.isArray(Y)||Y.jquery&&!V.isPlainObject(Y))V.each(Y,function(){He(this.name,this.value)});else for(ke in Y)Er(ke,Y[ke],ne,He);return Le.join("&")},V.fn.extend({serialize:function(){return V.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var Y=V.prop(this,"elements");return Y?V.makeArray(Y):this}).filter(function(){var Y=this.type;return this.name&&!V(this).is(":disabled")&&Ur.test(this.nodeName)&&!ar.test(Y)&&(this.checked||!yt.test(Y))}).map(function(Y,ne){var ke=V(this).val();return ke==null?null:Array.isArray(ke)?V.map(ke,function(Le){return{name:ne.name,value:Le.replace(fr,`\r
+`)}}):{name:ne.name,value:ke.replace(fr,`\r
+`)}}).get()}});var Pr=/%20/g,_r=/#.*$/,ti=/([?&])_=[^&]*/,Qr=/^(.*?):[ \t]*([^\r\n]*)$/mg,ri=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xi=/^(?:GET|HEAD)$/,Zi=/^\/\//,li={},oi={},Tn="*/".concat("*"),an=F.createElement("a");an.href=St.href;function Rn(Y){return function(ne,ke){typeof ne!="string"&&(ke=ne,ne="*");var Le,He=0,Ve=ne.toLowerCase().match(de)||[];if(j(ke))for(;Le=Ve[He++];)Le[0]==="+"?(Le=Le.slice(1)||"*",(Y[Le]=Y[Le]||[]).unshift(ke)):(Y[Le]=Y[Le]||[]).push(ke)}}function Ui(Y,ne,ke,Le){var He={},Ve=Y===oi;function nt(Ot){var At;return He[Ot]=!0,V.each(Y[Ot]||[],function(Vt,or){var yr=or(ne,ke,Le);if(typeof yr=="string"&&!Ve&&!He[yr])return ne.dataTypes.unshift(yr),nt(yr),!1;if(Ve)return!(At=yr)}),At}return nt(ne.dataTypes[0])||!He["*"]&&nt("*")}function sn(Y,ne){var ke,Le,He=V.ajaxSettings.flatOptions||{};for(ke in ne)ne[ke]!==void 0&&((He[ke]?Y:Le||(Le={}))[ke]=ne[ke]);return Le&&V.extend(!0,Y,Le),Y}function Gn(Y,ne,ke){for(var Le,He,Ve,nt,Ot=Y.contents,At=Y.dataTypes;At[0]==="*";)At.shift(),Le===void 0&&(Le=Y.mimeType||ne.getResponseHeader("Content-Type"));if(Le){for(He in Ot)if(Ot[He]&&Ot[He].test(Le)){At.unshift(He);break}}if(At[0]in ke)Ve=At[0];else{for(He in ke){if(!At[0]||Y.converters[He+" "+At[0]]){Ve=He;break}nt||(nt=He)}Ve=Ve||nt}if(Ve)return Ve!==At[0]&&At.unshift(Ve),ke[Ve]}function Jn(Y,ne,ke,Le){var He,Ve,nt,Ot,At,Vt={},or=Y.dataTypes.slice();if(or[1])for(nt in Y.converters)Vt[nt.toLowerCase()]=Y.converters[nt];for(Ve=or.shift();Ve;)if(Y.responseFields[Ve]&&(ke[Y.responseFields[Ve]]=ne),!At&&Le&&Y.dataFilter&&(ne=Y.dataFilter(ne,Y.dataType)),At=Ve,Ve=or.shift(),Ve){if(Ve==="*")Ve=At;else if(At!=="*"&&At!==Ve){if(nt=Vt[At+" "+Ve]||Vt["* "+Ve],!nt){for(He in Vt)if(Ot=He.split(" "),Ot[1]===Ve&&(nt=Vt[At+" "+Ot[0]]||Vt["* "+Ot[0]],nt)){nt===!0?nt=Vt[He]:Vt[He]!==!0&&(Ve=Ot[0],or.unshift(Ot[1]));break}}if(nt!==!0)if(nt&&Y.throws)ne=nt(ne);else try{ne=nt(ne)}catch(yr){return{state:"parsererror",error:nt?yr:"No conversion from "+At+" to "+Ve}}}}return{state:"success",data:ne}}V.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:ri.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Tn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":V.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(Y,ne){return ne?sn(sn(Y,V.ajaxSettings),ne):sn(V.ajaxSettings,Y)},ajaxPrefilter:Rn(li),ajaxTransport:Rn(oi),ajax:function(Y,ne){typeof Y=="object"&&(ne=Y,Y=void 0),ne=ne||{};var ke,Le,He,Ve,nt,Ot,At,Vt,or,yr,er=V.ajaxSetup({},ne),$r=er.context||er,Kr=er.context&&($r.nodeType||$r.jquery)?V($r):V.event,hi=V.Deferred(),ci=V.Callbacks("once memory"),ji=er.statusCode||{},Pi={},pn={},mn="canceled",di={readyState:0,getResponseHeader:function(vi){var Ai;if(At){if(!Ve)for(Ve={};Ai=Qr.exec(He);)Ve[Ai[1].toLowerCase()+" "]=(Ve[Ai[1].toLowerCase()+" "]||[]).concat(Ai[2]);Ai=Ve[vi.toLowerCase()+" "]}return Ai==null?null:Ai.join(", ")},getAllResponseHeaders:function(){return At?He:null},setRequestHeader:function(vi,Ai){return At==null&&(vi=pn[vi.toLowerCase()]=pn[vi.toLowerCase()]||vi,Pi[vi]=Ai),this},overrideMimeType:function(vi){return At==null&&(er.mimeType=vi),this},statusCode:function(vi){var Ai;if(vi)if(At)di.always(vi[di.status]);else for(Ai in vi)ji[Ai]=[ji[Ai],vi[Ai]];return this},abort:function(vi){var Ai=vi||mn;return ke&&ke.abort(Ai),en(0,Ai),this}};if(hi.promise(di),er.url=((Y||er.url||St.href)+"").replace(Zi,St.protocol+"//"),er.type=ne.method||ne.type||er.method||er.type,er.dataTypes=(er.dataType||"*").toLowerCase().match(de)||[""],er.crossDomain==null){Ot=F.createElement("a");try{Ot.href=er.url,Ot.href=Ot.href,er.crossDomain=an.protocol+"//"+an.host!=Ot.protocol+"//"+Ot.host}catch{er.crossDomain=!0}}if(er.data&&er.processData&&typeof er.data!="string"&&(er.data=V.param(er.data,er.traditional)),Ui(li,er,ne,di),At)return di;Vt=V.event&&er.global,Vt&&V.active++===0&&V.event.trigger("ajaxStart"),er.type=er.type.toUpperCase(),er.hasContent=!Xi.test(er.type),Le=er.url.replace(_r,""),er.hasContent?er.data&&er.processData&&(er.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(er.data=er.data.replace(Pr,"+")):(yr=er.url.slice(Le.length),er.data&&(er.processData||typeof er.data=="string")&&(Le+=(Ft.test(Le)?"&":"?")+er.data,delete er.data),er.cache===!1&&(Le=Le.replace(ti,"$1"),yr=(Ft.test(Le)?"&":"?")+"_="+Lt.guid+++yr),er.url=Le+yr),er.ifModified&&(V.lastModified[Le]&&di.setRequestHeader("If-Modified-Since",V.lastModified[Le]),V.etag[Le]&&di.setRequestHeader("If-None-Match",V.etag[Le])),(er.data&&er.hasContent&&er.contentType!==!1||ne.contentType)&&di.setRequestHeader("Content-Type",er.contentType),di.setRequestHeader("Accept",er.dataTypes[0]&&er.accepts[er.dataTypes[0]]?er.accepts[er.dataTypes[0]]+(er.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):er.accepts["*"]);for(or in er.headers)di.setRequestHeader(or,er.headers[or]);if(er.beforeSend&&(er.beforeSend.call($r,di,er)===!1||At))return di.abort();if(mn="abort",ci.add(er.complete),di.done(er.success),di.fail(er.error),ke=Ui(oi,er,ne,di),!ke)en(-1,"No Transport");else{if(di.readyState=1,Vt&&Kr.trigger("ajaxSend",[di,er]),At)return di;er.async&&er.timeout>0&&(nt=e.setTimeout(function(){di.abort("timeout")},er.timeout));try{At=!1,ke.send(Pi,en)}catch(vi){if(At)throw vi;en(-1,vi)}}function en(vi,Ai,Kn,ta){var tn,Ln,Wi,gn,En,$i=Ai;At||(At=!0,nt&&e.clearTimeout(nt),ke=void 0,He=ta||"",di.readyState=vi>0?4:0,tn=vi>=200&&vi<300||vi===304,Kn&&(gn=Gn(er,di,Kn)),!tn&&V.inArray("script",er.dataTypes)>-1&&V.inArray("json",er.dataTypes)<0&&(er.converters["text script"]=function(){}),gn=Jn(er,gn,di,tn),tn?(er.ifModified&&(En=di.getResponseHeader("Last-Modified"),En&&(V.lastModified[Le]=En),En=di.getResponseHeader("etag"),En&&(V.etag[Le]=En)),vi===204||er.type==="HEAD"?$i="nocontent":vi===304?$i="notmodified":($i=gn.state,Ln=gn.data,Wi=gn.error,tn=!Wi)):(Wi=$i,(vi||!$i)&&($i="error",vi<0&&(vi=0))),di.status=vi,di.statusText=(Ai||$i)+"",tn?hi.resolveWith($r,[Ln,$i,di]):hi.rejectWith($r,[di,$i,Wi]),di.statusCode(ji),ji=void 0,Vt&&Kr.trigger(tn?"ajaxSuccess":"ajaxError",[di,er,tn?Ln:Wi]),ci.fireWith($r,[di,$i]),Vt&&(Kr.trigger("ajaxComplete",[di,er]),--V.active||V.event.trigger("ajaxStop")))}return di},getJSON:function(Y,ne,ke){return V.get(Y,ne,ke,"json")},getScript:function(Y,ne){return V.get(Y,void 0,ne,"script")}}),V.each(["get","post"],function(Y,ne){V[ne]=function(ke,Le,He,Ve){return j(Le)&&(Ve=Ve||He,He=Le,Le=void 0),V.ajax(V.extend({url:ke,type:ne,dataType:Ve,data:Le,success:He},V.isPlainObject(ke)&&ke))}}),V.ajaxPrefilter(function(Y){var ne;for(ne in Y.headers)ne.toLowerCase()==="content-type"&&(Y.contentType=Y.headers[ne]||"")}),V._evalUrl=function(Y,ne,ke){return V.ajax({url:Y,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(Le){V.globalEval(Le,ne,ke)}})},V.fn.extend({wrapAll:function(Y){var ne;return this[0]&&(j(Y)&&(Y=Y.call(this[0])),ne=V(Y,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&ne.insertBefore(this[0]),ne.map(function(){for(var ke=this;ke.firstElementChild;)ke=ke.firstElementChild;return ke}).append(this)),this},wrapInner:function(Y){return j(Y)?this.each(function(ne){V(this).wrapInner(Y.call(this,ne))}):this.each(function(){var ne=V(this),ke=ne.contents();ke.length?ke.wrapAll(Y):ne.append(Y)})},wrap:function(Y){var ne=j(Y);return this.each(function(ke){V(this).wrapAll(ne?Y.call(this,ke):Y)})},unwrap:function(Y){return this.parent(Y).not("body").each(function(){V(this).replaceWith(this.childNodes)}),this}}),V.expr.pseudos.hidden=function(Y){return!V.expr.pseudos.visible(Y)},V.expr.pseudos.visible=function(Y){return!!(Y.offsetWidth||Y.offsetHeight||Y.getClientRects().length)},V.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch{}};var Nn={0:200,1223:204},ki=V.ajaxSettings.xhr();I.cors=!!ki&&"withCredentials"in ki,I.ajax=ki=!!ki,V.ajaxTransport(function(Y){var ne,ke;if(I.cors||ki&&!Y.crossDomain)return{send:function(Le,He){var Ve,nt=Y.xhr();if(nt.open(Y.type,Y.url,Y.async,Y.username,Y.password),Y.xhrFields)for(Ve in Y.xhrFields)nt[Ve]=Y.xhrFields[Ve];Y.mimeType&&nt.overrideMimeType&&nt.overrideMimeType(Y.mimeType),!Y.crossDomain&&!Le["X-Requested-With"]&&(Le["X-Requested-With"]="XMLHttpRequest");for(Ve in Le)nt.setRequestHeader(Ve,Le[Ve]);ne=function(Ot){return function(){ne&&(ne=ke=nt.onload=nt.onerror=nt.onabort=nt.ontimeout=nt.onreadystatechange=null,Ot==="abort"?nt.abort():Ot==="error"?typeof nt.status!="number"?He(0,"error"):He(nt.status,nt.statusText):He(Nn[nt.status]||nt.status,nt.statusText,(nt.responseType||"text")!=="text"||typeof nt.responseText!="string"?{binary:nt.response}:{text:nt.responseText},nt.getAllResponseHeaders()))}},nt.onload=ne(),ke=nt.onerror=nt.ontimeout=ne("error"),nt.onabort!==void 0?nt.onabort=ke:nt.onreadystatechange=function(){nt.readyState===4&&e.setTimeout(function(){ne&&ke()})},ne=ne("abort");try{nt.send(Y.hasContent&&Y.data||null)}catch(Ot){if(ne)throw Ot}},abort:function(){ne&&ne()}}}),V.ajaxPrefilter(function(Y){Y.crossDomain&&(Y.contents.script=!1)}),V.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(Y){return V.globalEval(Y),Y}}}),V.ajaxPrefilter("script",function(Y){Y.cache===void 0&&(Y.cache=!1),Y.crossDomain&&(Y.type="GET")}),V.ajaxTransport("script",function(Y){if(Y.crossDomain||Y.scriptAttrs){var ne,ke;return{send:function(Le,He){ne=V("<script>").attr(Y.scriptAttrs||{}).prop({charset:Y.scriptCharset,src:Y.url}).on("load error",ke=function(Ve){ne.remove(),ke=null,Ve&&He(Ve.type==="error"?404:200,Ve.type)}),F.head.appendChild(ne[0])},abort:function(){ke&&ke()}}}});var Ki=[],Ji=/(=)\?(?=&|$)|\?\?/;V.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var Y=Ki.pop()||V.expando+"_"+Lt.guid++;return this[Y]=!0,Y}}),V.ajaxPrefilter("json jsonp",function(Y,ne,ke){var Le,He,Ve,nt=Y.jsonp!==!1&&(Ji.test(Y.url)?"url":typeof Y.data=="string"&&(Y.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Ji.test(Y.data)&&"data");if(nt||Y.dataTypes[0]==="jsonp")return Le=Y.jsonpCallback=j(Y.jsonpCallback)?Y.jsonpCallback():Y.jsonpCallback,nt?Y[nt]=Y[nt].replace(Ji,"$1"+Le):Y.jsonp!==!1&&(Y.url+=(Ft.test(Y.url)?"&":"?")+Y.jsonp+"="+Le),Y.converters["script json"]=function(){return Ve||V.error(Le+" was not called"),Ve[0]},Y.dataTypes[0]="json",He=e[Le],e[Le]=function(){Ve=arguments},ke.always(function(){He===void 0?V(e).removeProp(Le):e[Le]=He,Y[Le]&&(Y.jsonpCallback=ne.jsonpCallback,Ki.push(Le)),Ve&&j(He)&&He(Ve[0]),Ve=He=void 0}),"script"}),I.createHTMLDocument=function(){var Y=F.implementation.createHTMLDocument("").body;return Y.innerHTML="<form></form><form></form>",Y.childNodes.length===2}(),V.parseHTML=function(Y,ne,ke){if(typeof Y!="string")return[];typeof ne=="boolean"&&(ke=ne,ne=!1);var Le,He,Ve;return ne||(I.createHTMLDocument?(ne=F.implementation.createHTMLDocument(""),Le=ne.createElement("base"),Le.href=F.location.href,ne.head.appendChild(Le)):ne=F),He=D.exec(Y),Ve=!ke&&[],He?[ne.createElement(He[1])]:(He=Ut([Y],ne,Ve),Ve&&Ve.length&&V(Ve).remove(),V.merge([],He.childNodes))},V.fn.load=function(Y,ne,ke){var Le,He,Ve,nt=this,Ot=Y.indexOf(" ");return Ot>-1&&(Le=we(Y.slice(Ot)),Y=Y.slice(0,Ot)),j(ne)?(ke=ne,ne=void 0):ne&&typeof ne=="object"&&(He="POST"),nt.length>0&&V.ajax({url:Y,type:He||"GET",dataType:"html",data:ne}).done(function(At){Ve=arguments,nt.html(Le?V("<div>").append(V.parseHTML(At)).find(Le):At)}).always(ke&&function(At,Vt){nt.each(function(){ke.apply(this,Ve||[At.responseText,Vt,At])})}),this},V.expr.pseudos.animated=function(Y){return V.grep(V.timers,function(ne){return Y===ne.elem}).length},V.offset={setOffset:function(Y,ne,ke){var Le,He,Ve,nt,Ot,At,Vt,or=V.css(Y,"position"),yr=V(Y),er={};or==="static"&&(Y.style.position="relative"),Ot=yr.offset(),Ve=V.css(Y,"top"),At=V.css(Y,"left"),Vt=(or==="absolute"||or==="fixed")&&(Ve+At).indexOf("auto")>-1,Vt?(Le=yr.position(),nt=Le.top,He=Le.left):(nt=parseFloat(Ve)||0,He=parseFloat(At)||0),j(ne)&&(ne=ne.call(Y,ke,V.extend({},Ot))),ne.top!=null&&(er.top=ne.top-Ot.top+nt),ne.left!=null&&(er.left=ne.left-Ot.left+He),"using"in ne?ne.using.call(Y,er):yr.css(er)}},V.fn.extend({offset:function(Y){if(arguments.length)return Y===void 0?this:this.each(function(He){V.offset.setOffset(this,Y,He)});var ne,ke,Le=this[0];if(Le)return Le.getClientRects().length?(ne=Le.getBoundingClientRect(),ke=Le.ownerDocument.defaultView,{top:ne.top+ke.pageYOffset,left:ne.left+ke.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var Y,ne,ke,Le=this[0],He={top:0,left:0};if(V.css(Le,"position")==="fixed")ne=Le.getBoundingClientRect();else{for(ne=this.offset(),ke=Le.ownerDocument,Y=Le.offsetParent||ke.documentElement;Y&&(Y===ke.body||Y===ke.documentElement)&&V.css(Y,"position")==="static";)Y=Y.parentNode;Y&&Y!==Le&&Y.nodeType===1&&(He=V(Y).offset(),He.top+=V.css(Y,"borderTopWidth",!0),He.left+=V.css(Y,"borderLeftWidth",!0))}return{top:ne.top-He.top-V.css(Le,"marginTop",!0),left:ne.left-He.left-V.css(Le,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var Y=this.offsetParent;Y&&V.css(Y,"position")==="static";)Y=Y.offsetParent;return Y||We})}}),V.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(Y,ne){var ke=ne==="pageYOffset";V.fn[Y]=function(Le){return lt(this,function(He,Ve,nt){var Ot;if(B(He)?Ot=He:He.nodeType===9&&(Ot=He.defaultView),nt===void 0)return Ot?Ot[ne]:He[Ve];Ot?Ot.scrollTo(ke?Ot.pageXOffset:nt,ke?nt:Ot.pageYOffset):He[Ve]=nt},Y,Le,arguments.length)}}),V.each(["top","left"],function(Y,ne){V.cssHooks[ne]=Fr(I.pixelPosition,function(ke,Le){if(Le)return Le=kr(ke,ne),lr.test(Le)?V(ke).position()[ne]+"px":Le})}),V.each({Height:"height",Width:"width"},function(Y,ne){V.each({padding:"inner"+Y,content:ne,"":"outer"+Y},function(ke,Le){V.fn[Le]=function(He,Ve){var nt=arguments.length&&(ke||typeof He!="boolean"),Ot=ke||(He===!0||Ve===!0?"margin":"border");return lt(this,function(At,Vt,or){var yr;return B(At)?Le.indexOf("outer")===0?At["inner"+Y]:At.document.documentElement["client"+Y]:At.nodeType===9?(yr=At.documentElement,Math.max(At.body["scroll"+Y],yr["scroll"+Y],At.body["offset"+Y],yr["offset"+Y],yr["client"+Y])):or===void 0?V.css(At,Vt,Ot):V.style(At,Vt,or,Ot)},ne,nt?He:void 0,nt)}})}),V.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(Y,ne){V.fn[ne]=function(ke){return this.on(ne,ke)}}),V.fn.extend({bind:function(Y,ne,ke){return this.on(Y,null,ne,ke)},unbind:function(Y,ne){return this.off(Y,null,ne)},delegate:function(Y,ne,ke,Le){return this.on(ne,Y,ke,Le)},undelegate:function(Y,ne,ke){return arguments.length===1?this.off(Y,"**"):this.off(ne,Y||"**",ke)},hover:function(Y,ne){return this.on("mouseenter",Y).on("mouseleave",ne||Y)}}),V.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(Y,ne){V.fn[ne]=function(ke,Le){return arguments.length>0?this.on(ne,null,ke,Le):this.trigger(ne)}});var ea=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;V.proxy=function(Y,ne){var ke,Le,He;if(typeof ne=="string"&&(ke=Y[ne],ne=Y,Y=ke),!!j(Y))return Le=u.call(arguments,2),He=function(){return Y.apply(ne||this,Le.concat(u.call(arguments)))},He.guid=Y.guid=Y.guid||V.guid++,He},V.holdReady=function(Y){Y?V.readyWait++:V.ready(!0)},V.isArray=Array.isArray,V.parseJSON=JSON.parse,V.nodeName=he,V.isFunction=j,V.isWindow=B,V.camelCase=bt,V.type=Z,V.now=Date.now,V.isNumeric=function(Y){var ne=V.type(Y);return(ne==="number"||ne==="string")&&!isNaN(Y-parseFloat(Y))},V.trim=function(Y){return Y==null?"":(Y+"").replace(ea,"$1")};var gi=e.jQuery,Hi=e.$;return V.noConflict=function(Y){return e.$===V&&(e.$=Hi),Y&&e.jQuery===V&&(e.jQuery=gi),V},typeof o>"u"&&(e.jQuery=e.$=V),V})})(jquery);var jqueryExports=jquery.exports;const jQuery=getDefaultExportFromCjs$1(jqueryExports);/*! jQuery UI - v1.14.0 - 2024-08-05
 * https://jqueryui.com
 * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
-* Copyright OpenJS Foundation and other contributors; Licensed MIT */(function(t){typeof define=="function"&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){t.ui=t.ui||{},t.ui.version="1.14.0";/*!
+* Copyright OpenJS Foundation and other contributors; Licensed MIT */(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)})(function(n){n.ui=n.ui||{},n.ui.version="1.14.0";/*!
  * jQuery UI Widget 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */var e=0,n=Array.prototype.hasOwnProperty,o=Array.prototype.slice;t.cleanData=function(c){return function(p){var x,S,b;for(b=0;(S=p[b])!=null;b++)x=t._data(S,"events"),x&&x.remove&&t(S).triggerHandler("remove");c(p)}}(t.cleanData),t.widget=function(c,p,x){var S,b,h,T={},M=c.split(".")[0];c=c.split(".")[1];var j=M+"-"+c;return x||(x=p,p=t.Widget),Array.isArray(x)&&(x=t.extend.apply(null,[{}].concat(x))),t.expr.pseudos[j.toLowerCase()]=function(V){return!!t.data(V,j)},t[M]=t[M]||{},S=t[M][c],b=t[M][c]=function(V,ee){if(!this||!this._createWidget)return new b(V,ee);arguments.length&&this._createWidget(V,ee)},t.extend(b,S,{version:x.version,_proto:t.extend({},x),_childConstructors:[]}),h=new p,h.options=t.widget.extend({},h.options),t.each(x,function(V,ee){if(typeof ee!="function"){T[V]=ee;return}T[V]=function(){function Z(){return p.prototype[V].apply(this,arguments)}function U(z){return p.prototype[V].apply(this,z)}return function(){var z=this._super,ne=this._superApply,fe;return this._super=Z,this._superApply=U,fe=ee.apply(this,arguments),this._super=z,this._superApply=ne,fe}}()}),b.prototype=t.widget.extend(h,{widgetEventPrefix:S&&h.widgetEventPrefix||c},T,{constructor:b,namespace:M,widgetName:c,widgetFullName:j}),S?(t.each(S._childConstructors,function(V,ee){var Z=ee.prototype;t.widget(Z.namespace+"."+Z.widgetName,b,ee._proto)}),delete S._childConstructors):p._childConstructors.push(b),t.widget.bridge(c,b),b},t.widget.extend=function(c){for(var p=o.call(arguments,1),x=0,S=p.length,b,h;x<S;x++)for(b in p[x])h=p[x][b],n.call(p[x],b)&&h!==void 0&&(t.isPlainObject(h)?c[b]=t.isPlainObject(c[b])?t.widget.extend({},c[b],h):t.widget.extend({},h):c[b]=h);return c},t.widget.bridge=function(c,p){var x=p.prototype.widgetFullName||c;t.fn[c]=function(S){var b=typeof S=="string",h=o.call(arguments,1),T=this;return b?!this.length&&S==="instance"?T=void 0:this.each(function(){var M,j=t.data(this,x);if(S==="instance")return T=j,!1;if(!j)return t.error("cannot call methods on "+c+" prior to initialization; attempted to call method '"+S+"'");if(typeof j[S]!="function"||S.charAt(0)==="_")return t.error("no such method '"+S+"' for "+c+" widget instance");if(M=j[S].apply(j,h),M!==j&&M!==void 0)return T=M&&M.jquery?T.pushStack(M.get()):M,!1}):(h.length&&(S=t.widget.extend.apply(null,[S].concat(h))),this.each(function(){var M=t.data(this,x);M?(M.option(S||{}),M._init&&M._init()):t.data(this,x,new p(S,this))})),T}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(c,p){p=t(p||this.defaultElement||this)[0],this.element=t(p),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},p!==this&&(t.data(p,this.widgetFullName,this),this._on(!0,this.element,{remove:function(x){x.target===p&&this.destroy()}}),this.document=t(p.style?p.ownerDocument:p.document||p),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),c),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var c=this;this._destroy(),t.each(this.classesElementLookup,function(p,x){c._removeClass(x,p)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(c,p){var x=c,S,b,h;if(arguments.length===0)return t.widget.extend({},this.options);if(typeof c=="string")if(x={},S=c.split("."),c=S.shift(),S.length){for(b=x[c]=t.widget.extend({},this.options[c]),h=0;h<S.length-1;h++)b[S[h]]=b[S[h]]||{},b=b[S[h]];if(c=S.pop(),arguments.length===1)return b[c]===void 0?null:b[c];b[c]=p}else{if(arguments.length===1)return this.options[c]===void 0?null:this.options[c];x[c]=p}return this._setOptions(x),this},_setOptions:function(c){var p;for(p in c)this._setOption(p,c[p]);return this},_setOption:function(c,p){return c==="classes"&&this._setOptionClasses(p),this.options[c]=p,c==="disabled"&&this._setOptionDisabled(p),this},_setOptionClasses:function(c){var p,x,S;for(p in c)S=this.classesElementLookup[p],!(c[p]===this.options.classes[p]||!S||!S.length)&&(x=t(S.get()),this._removeClass(S,p),x.addClass(this._classes({element:x,keys:p,classes:c,add:!0})))},_setOptionDisabled:function(c){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!c),c&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(c){var p=[],x=this;c=t.extend({element:this.element,classes:this.options.classes||{}},c);function S(){var h=[];c.element.each(function(T,M){var j=t.map(x.classesElementLookup,function(V){return V}).some(function(V){return V.is(M)});j||h.push(M)}),x._on(t(h),{remove:"_untrackClassesElement"})}function b(h,T){var M,j;for(j=0;j<h.length;j++)M=x.classesElementLookup[h[j]]||t(),c.add?(S(),M=t(t.uniqueSort(M.get().concat(c.element.get())))):M=t(M.not(c.element).get()),x.classesElementLookup[h[j]]=M,p.push(h[j]),T&&c.classes[h[j]]&&p.push(c.classes[h[j]])}return c.keys&&b(c.keys.match(/\S+/g)||[],!0),c.extra&&b(c.extra.match(/\S+/g)||[]),p.join(" ")},_untrackClassesElement:function(c){var p=this;t.each(p.classesElementLookup,function(x,S){t.inArray(c.target,S)!==-1&&(p.classesElementLookup[x]=t(S.not(c.target).get()))}),this._off(t(c.target))},_removeClass:function(c,p,x){return this._toggleClass(c,p,x,!1)},_addClass:function(c,p,x){return this._toggleClass(c,p,x,!0)},_toggleClass:function(c,p,x,S){S=typeof S=="boolean"?S:x;var b=typeof c=="string"||c===null,h={extra:b?p:x,keys:b?c:p,element:b?this.element:c,add:S};return h.element.toggleClass(this._classes(h),S),this},_on:function(c,p,x){var S,b=this;typeof c!="boolean"&&(x=p,p=c,c=!1),x?(p=S=t(p),this.bindings=this.bindings.add(p)):(x=p,p=this.element,S=this.widget()),t.each(x,function(h,T){function M(){if(!(!c&&(b.options.disabled===!0||t(this).hasClass("ui-state-disabled"))))return(typeof T=="string"?b[T]:T).apply(b,arguments)}typeof T!="string"&&(M.guid=T.guid=T.guid||M.guid||t.guid++);var j=h.match(/^([\w:-]*)\s*(.*)$/),V=j[1]+b.eventNamespace,ee=j[2];ee?S.on(V,ee,M):p.on(V,M)})},_off:function(c,p){p=(p||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,c.off(p),this.bindings=t(this.bindings.not(c).get()),this.focusable=t(this.focusable.not(c).get()),this.hoverable=t(this.hoverable.not(c).get())},_delay:function(c,p){function x(){return(typeof c=="string"?S[c]:c).apply(S,arguments)}var S=this;return setTimeout(x,p||0)},_hoverable:function(c){this.hoverable=this.hoverable.add(c),this._on(c,{mouseenter:function(p){this._addClass(t(p.currentTarget),null,"ui-state-hover")},mouseleave:function(p){this._removeClass(t(p.currentTarget),null,"ui-state-hover")}})},_focusable:function(c){this.focusable=this.focusable.add(c),this._on(c,{focusin:function(p){this._addClass(t(p.currentTarget),null,"ui-state-focus")},focusout:function(p){this._removeClass(t(p.currentTarget),null,"ui-state-focus")}})},_trigger:function(c,p,x){var S,b,h=this.options[c];if(x=x||{},p=t.Event(p),p.type=(c===this.widgetEventPrefix?c:this.widgetEventPrefix+c).toLowerCase(),p.target=this.element[0],b=p.originalEvent,b)for(S in b)S in p||(p[S]=b[S]);return this.element.trigger(p,x),!(typeof h=="function"&&h.apply(this.element[0],[p].concat(x))===!1||p.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(c,p){t.Widget.prototype["_"+c]=function(x,S,b){typeof S=="string"&&(S={effect:S});var h,T=S?S===!0||typeof S=="number"?p:S.effect||p:c;S=S||{},typeof S=="number"?S={duration:S}:S===!0&&(S={}),h=!t.isEmptyObject(S),S.complete=b,S.delay&&x.delay(S.delay),h&&t.effects&&t.effects.effect[T]?x[c](S):T!==c&&x[T]?x[T](S.duration,S.easing,b):x.queue(function(M){t(this)[c](),b&&b.call(x[0]),M()})}}),t.widget;/*!
+ */var e=0,o=Array.prototype.hasOwnProperty,l=Array.prototype.slice;n.cleanData=function(c){return function(m){var x,T,b;for(b=0;(T=m[b])!=null;b++)x=n._data(T,"events"),x&&x.remove&&n(T).triggerHandler("remove");c(m)}}(n.cleanData),n.widget=function(c,m,x){var T,b,d,k={},D=c.split(".")[0];c=c.split(".")[1];var O=D+"-"+c;return x||(x=m,m=n.Widget),Array.isArray(x)&&(x=n.extend.apply(null,[{}].concat(x))),n.expr.pseudos[O.toLowerCase()]=function(Q){return!!n.data(Q,O)},n[D]=n[D]||{},T=n[D][c],b=n[D][c]=function(Q,J){if(!this||!this._createWidget)return new b(Q,J);arguments.length&&this._createWidget(Q,J)},n.extend(b,T,{version:x.version,_proto:n.extend({},x),_childConstructors:[]}),d=new m,d.options=n.widget.extend({},d.options),n.each(x,function(Q,J){if(typeof J!="function"){k[Q]=J;return}k[Q]=function(){function X(){return m.prototype[Q].apply(this,arguments)}function U(z){return m.prototype[Q].apply(this,z)}return function(){var z=this._super,ie=this._superApply,de;return this._super=X,this._superApply=U,de=J.apply(this,arguments),this._super=z,this._superApply=ie,de}}()}),b.prototype=n.widget.extend(d,{widgetEventPrefix:T&&d.widgetEventPrefix||c},k,{constructor:b,namespace:D,widgetName:c,widgetFullName:O}),T?(n.each(T._childConstructors,function(Q,J){var X=J.prototype;n.widget(X.namespace+"."+X.widgetName,b,J._proto)}),delete T._childConstructors):m._childConstructors.push(b),n.widget.bridge(c,b),b},n.widget.extend=function(c){for(var m=l.call(arguments,1),x=0,T=m.length,b,d;x<T;x++)for(b in m[x])d=m[x][b],o.call(m[x],b)&&d!==void 0&&(n.isPlainObject(d)?c[b]=n.isPlainObject(c[b])?n.widget.extend({},c[b],d):n.widget.extend({},d):c[b]=d);return c},n.widget.bridge=function(c,m){var x=m.prototype.widgetFullName||c;n.fn[c]=function(T){var b=typeof T=="string",d=l.call(arguments,1),k=this;return b?!this.length&&T==="instance"?k=void 0:this.each(function(){var D,O=n.data(this,x);if(T==="instance")return k=O,!1;if(!O)return n.error("cannot call methods on "+c+" prior to initialization; attempted to call method '"+T+"'");if(typeof O[T]!="function"||T.charAt(0)==="_")return n.error("no such method '"+T+"' for "+c+" widget instance");if(D=O[T].apply(O,d),D!==O&&D!==void 0)return k=D&&D.jquery?k.pushStack(D.get()):D,!1}):(d.length&&(T=n.widget.extend.apply(null,[T].concat(d))),this.each(function(){var D=n.data(this,x);D?(D.option(T||{}),D._init&&D._init()):n.data(this,x,new m(T,this))})),k}},n.Widget=function(){},n.Widget._childConstructors=[],n.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(c,m){m=n(m||this.defaultElement||this)[0],this.element=n(m),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=n(),this.hoverable=n(),this.focusable=n(),this.classesElementLookup={},m!==this&&(n.data(m,this.widgetFullName,this),this._on(!0,this.element,{remove:function(x){x.target===m&&this.destroy()}}),this.document=n(m.style?m.ownerDocument:m.document||m),this.window=n(this.document[0].defaultView||this.document[0].parentWindow)),this.options=n.widget.extend({},this.options,this._getCreateOptions(),c),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:n.noop,_create:n.noop,_init:n.noop,destroy:function(){var c=this;this._destroy(),n.each(this.classesElementLookup,function(m,x){c._removeClass(x,m)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:n.noop,widget:function(){return this.element},option:function(c,m){var x=c,T,b,d;if(arguments.length===0)return n.widget.extend({},this.options);if(typeof c=="string")if(x={},T=c.split("."),c=T.shift(),T.length){for(b=x[c]=n.widget.extend({},this.options[c]),d=0;d<T.length-1;d++)b[T[d]]=b[T[d]]||{},b=b[T[d]];if(c=T.pop(),arguments.length===1)return b[c]===void 0?null:b[c];b[c]=m}else{if(arguments.length===1)return this.options[c]===void 0?null:this.options[c];x[c]=m}return this._setOptions(x),this},_setOptions:function(c){var m;for(m in c)this._setOption(m,c[m]);return this},_setOption:function(c,m){return c==="classes"&&this._setOptionClasses(m),this.options[c]=m,c==="disabled"&&this._setOptionDisabled(m),this},_setOptionClasses:function(c){var m,x,T;for(m in c)T=this.classesElementLookup[m],!(c[m]===this.options.classes[m]||!T||!T.length)&&(x=n(T.get()),this._removeClass(T,m),x.addClass(this._classes({element:x,keys:m,classes:c,add:!0})))},_setOptionDisabled:function(c){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!c),c&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(c){var m=[],x=this;c=n.extend({element:this.element,classes:this.options.classes||{}},c);function T(){var d=[];c.element.each(function(k,D){var O=n.map(x.classesElementLookup,function(Q){return Q}).some(function(Q){return Q.is(D)});O||d.push(D)}),x._on(n(d),{remove:"_untrackClassesElement"})}function b(d,k){var D,O;for(O=0;O<d.length;O++)D=x.classesElementLookup[d[O]]||n(),c.add?(T(),D=n(n.uniqueSort(D.get().concat(c.element.get())))):D=n(D.not(c.element).get()),x.classesElementLookup[d[O]]=D,m.push(d[O]),k&&c.classes[d[O]]&&m.push(c.classes[d[O]])}return c.keys&&b(c.keys.match(/\S+/g)||[],!0),c.extra&&b(c.extra.match(/\S+/g)||[]),m.join(" ")},_untrackClassesElement:function(c){var m=this;n.each(m.classesElementLookup,function(x,T){n.inArray(c.target,T)!==-1&&(m.classesElementLookup[x]=n(T.not(c.target).get()))}),this._off(n(c.target))},_removeClass:function(c,m,x){return this._toggleClass(c,m,x,!1)},_addClass:function(c,m,x){return this._toggleClass(c,m,x,!0)},_toggleClass:function(c,m,x,T){T=typeof T=="boolean"?T:x;var b=typeof c=="string"||c===null,d={extra:b?m:x,keys:b?c:m,element:b?this.element:c,add:T};return d.element.toggleClass(this._classes(d),T),this},_on:function(c,m,x){var T,b=this;typeof c!="boolean"&&(x=m,m=c,c=!1),x?(m=T=n(m),this.bindings=this.bindings.add(m)):(x=m,m=this.element,T=this.widget()),n.each(x,function(d,k){function D(){if(!(!c&&(b.options.disabled===!0||n(this).hasClass("ui-state-disabled"))))return(typeof k=="string"?b[k]:k).apply(b,arguments)}typeof k!="string"&&(D.guid=k.guid=k.guid||D.guid||n.guid++);var O=d.match(/^([\w:-]*)\s*(.*)$/),Q=O[1]+b.eventNamespace,J=O[2];J?T.on(Q,J,D):m.on(Q,D)})},_off:function(c,m){m=(m||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,c.off(m),this.bindings=n(this.bindings.not(c).get()),this.focusable=n(this.focusable.not(c).get()),this.hoverable=n(this.hoverable.not(c).get())},_delay:function(c,m){function x(){return(typeof c=="string"?T[c]:c).apply(T,arguments)}var T=this;return setTimeout(x,m||0)},_hoverable:function(c){this.hoverable=this.hoverable.add(c),this._on(c,{mouseenter:function(m){this._addClass(n(m.currentTarget),null,"ui-state-hover")},mouseleave:function(m){this._removeClass(n(m.currentTarget),null,"ui-state-hover")}})},_focusable:function(c){this.focusable=this.focusable.add(c),this._on(c,{focusin:function(m){this._addClass(n(m.currentTarget),null,"ui-state-focus")},focusout:function(m){this._removeClass(n(m.currentTarget),null,"ui-state-focus")}})},_trigger:function(c,m,x){var T,b,d=this.options[c];if(x=x||{},m=n.Event(m),m.type=(c===this.widgetEventPrefix?c:this.widgetEventPrefix+c).toLowerCase(),m.target=this.element[0],b=m.originalEvent,b)for(T in b)T in m||(m[T]=b[T]);return this.element.trigger(m,x),!(typeof d=="function"&&d.apply(this.element[0],[m].concat(x))===!1||m.isDefaultPrevented())}},n.each({show:"fadeIn",hide:"fadeOut"},function(c,m){n.Widget.prototype["_"+c]=function(x,T,b){typeof T=="string"&&(T={effect:T});var d,k=T?T===!0||typeof T=="number"?m:T.effect||m:c;T=T||{},typeof T=="number"?T={duration:T}:T===!0&&(T={}),d=!n.isEmptyObject(T),T.complete=b,T.delay&&x.delay(T.delay),d&&n.effects&&n.effects.effect[k]?x[c](T):k!==c&&x[k]?x[k](T.duration,T.easing,b):x.queue(function(D){n(this)[c](),b&&b.call(x[0]),D()})}}),n.widget;/*!
  * jQuery UI Position 1.14.0
  * https://jqueryui.com
  *
@@ -55,21 +55,21 @@
  * https://jquery.org/license
  *
  * https://api.jqueryui.com/position/
- */(function(){var c,p=Math.max,x=Math.abs,S=/left|center|right/,b=/top|center|bottom/,h=/[\+\-]\d+(\.[\d]+)?%?/,T=/^\w+/,M=/%$/,j=t.fn.position;function V(z,ne,fe){return[parseFloat(z[0])*(M.test(z[0])?ne/100:1),parseFloat(z[1])*(M.test(z[1])?fe/100:1)]}function ee(z,ne){return parseInt(t.css(z,ne),10)||0}function Z(z){return z!=null&&z===z.window}function U(z){var ne=z[0];return ne.nodeType===9?{width:z.width(),height:z.height(),offset:{top:0,left:0}}:Z(ne)?{width:z.width(),height:z.height(),offset:{top:z.scrollTop(),left:z.scrollLeft()}}:ne.preventDefault?{width:0,height:0,offset:{top:ne.pageY,left:ne.pageX}}:{width:z.outerWidth(),height:z.outerHeight(),offset:z.offset()}}t.position={scrollbarWidth:function(){if(c!==void 0)return c;var z,ne,fe=t("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),me=fe.children()[0];return t("body").append(fe),z=me.offsetWidth,fe.css("overflow","scroll"),ne=me.offsetWidth,z===ne&&(ne=fe[0].clientWidth),fe.remove(),c=z-ne},getScrollInfo:function(z){var ne=z.isWindow||z.isDocument?"":z.element.css("overflow-x"),fe=z.isWindow||z.isDocument?"":z.element.css("overflow-y"),me=ne==="scroll"||ne==="auto"&&z.width<z.element[0].scrollWidth,de=fe==="scroll"||fe==="auto"&&z.height<z.element[0].scrollHeight;return{width:de?t.position.scrollbarWidth():0,height:me?t.position.scrollbarWidth():0}},getWithinInfo:function(z){var ne=t(z||window),fe=Z(ne[0]),me=!!ne[0]&&ne[0].nodeType===9,de=!fe&&!me;return{element:ne,isWindow:fe,isDocument:me,offset:de?t(z).offset():{left:0,top:0},scrollLeft:ne.scrollLeft(),scrollTop:ne.scrollTop(),width:ne.outerWidth(),height:ne.outerHeight()}}},t.fn.position=function(z){if(!z||!z.of)return j.apply(this,arguments);z=t.extend({},z);var ne,fe,me,de,Oe,lt,it=typeof z.of=="string"?t(document).find(z.of):t(z.of),ot=t.position.getWithinInfo(z.within),Ct=t.position.getScrollInfo(ot),nt=(z.collision||"flip").split(" "),Je={};return lt=U(it),it[0].preventDefault&&(z.at="left top"),fe=lt.width,me=lt.height,de=lt.offset,Oe=t.extend({},de),t.each(["my","at"],function(){var tt=(z[this]||"").split(" "),rt,ht;tt.length===1&&(tt=S.test(tt[0])?tt.concat(["center"]):b.test(tt[0])?["center"].concat(tt):["center","center"]),tt[0]=S.test(tt[0])?tt[0]:"center",tt[1]=b.test(tt[1])?tt[1]:"center",rt=h.exec(tt[0]),ht=h.exec(tt[1]),Je[this]=[rt?rt[0]:0,ht?ht[0]:0],z[this]=[T.exec(tt[0])[0],T.exec(tt[1])[0]]}),nt.length===1&&(nt[1]=nt[0]),z.at[0]==="right"?Oe.left+=fe:z.at[0]==="center"&&(Oe.left+=fe/2),z.at[1]==="bottom"?Oe.top+=me:z.at[1]==="center"&&(Oe.top+=me/2),ne=V(Je.at,fe,me),Oe.left+=ne[0],Oe.top+=ne[1],this.each(function(){var tt,rt,ht=t(this),jt=ht.outerWidth(),Ve=ht.outerHeight(),We=ee(this,"marginLeft"),Gt=ee(this,"marginTop"),wt=jt+We+ee(this,"marginRight")+Ct.width,Et=Ve+Gt+ee(this,"marginBottom")+Ct.height,Yt=t.extend({},Oe),Ce=V(Je.my,ht.outerWidth(),ht.outerHeight());z.my[0]==="right"?Yt.left-=jt:z.my[0]==="center"&&(Yt.left-=jt/2),z.my[1]==="bottom"?Yt.top-=Ve:z.my[1]==="center"&&(Yt.top-=Ve/2),Yt.left+=Ce[0],Yt.top+=Ce[1],tt={marginLeft:We,marginTop:Gt},t.each(["left","top"],function(te,ye){t.ui.position[nt[te]]&&t.ui.position[nt[te]][ye](Yt,{targetWidth:fe,targetHeight:me,elemWidth:jt,elemHeight:Ve,collisionPosition:tt,collisionWidth:wt,collisionHeight:Et,offset:[ne[0]+Ce[0],ne[1]+Ce[1]],my:z.my,at:z.at,within:ot,elem:ht})}),z.using&&(rt=function(te){var ye=de.left-Yt.left,Le=ye+fe-jt,Ue=de.top-Yt.top,Qe=Ue+me-Ve,Ke={target:{element:it,left:de.left,top:de.top,width:fe,height:me},element:{element:ht,left:Yt.left,top:Yt.top,width:jt,height:Ve},horizontal:Le<0?"left":ye>0?"right":"center",vertical:Qe<0?"top":Ue>0?"bottom":"middle"};fe<jt&&x(ye+Le)<fe&&(Ke.horizontal="center"),me<Ve&&x(Ue+Qe)<me&&(Ke.vertical="middle"),p(x(ye),x(Le))>p(x(Ue),x(Qe))?Ke.important="horizontal":Ke.important="vertical",z.using.call(this,te,Ke)}),ht.offset(t.extend(Yt,{using:rt}))})},t.ui.position={fit:{left:function(z,ne){var fe=ne.within,me=fe.isWindow?fe.scrollLeft:fe.offset.left,de=fe.width,Oe=z.left-ne.collisionPosition.marginLeft,lt=me-Oe,it=Oe+ne.collisionWidth-de-me,ot;ne.collisionWidth>de?lt>0&&it<=0?(ot=z.left+lt+ne.collisionWidth-de-me,z.left+=lt-ot):it>0&&lt<=0?z.left=me:lt>it?z.left=me+de-ne.collisionWidth:z.left=me:lt>0?z.left+=lt:it>0?z.left-=it:z.left=p(z.left-Oe,z.left)},top:function(z,ne){var fe=ne.within,me=fe.isWindow?fe.scrollTop:fe.offset.top,de=ne.within.height,Oe=z.top-ne.collisionPosition.marginTop,lt=me-Oe,it=Oe+ne.collisionHeight-de-me,ot;ne.collisionHeight>de?lt>0&&it<=0?(ot=z.top+lt+ne.collisionHeight-de-me,z.top+=lt-ot):it>0&&lt<=0?z.top=me:lt>it?z.top=me+de-ne.collisionHeight:z.top=me:lt>0?z.top+=lt:it>0?z.top-=it:z.top=p(z.top-Oe,z.top)}},flip:{left:function(z,ne){var fe=ne.within,me=fe.offset.left+fe.scrollLeft,de=fe.width,Oe=fe.isWindow?fe.scrollLeft:fe.offset.left,lt=z.left-ne.collisionPosition.marginLeft,it=lt-Oe,ot=lt+ne.collisionWidth-de-Oe,Ct=ne.my[0]==="left"?-ne.elemWidth:ne.my[0]==="right"?ne.elemWidth:0,nt=ne.at[0]==="left"?ne.targetWidth:ne.at[0]==="right"?-ne.targetWidth:0,Je=-2*ne.offset[0],tt,rt;it<0?(tt=z.left+Ct+nt+Je+ne.collisionWidth-de-me,(tt<0||tt<x(it))&&(z.left+=Ct+nt+Je)):ot>0&&(rt=z.left-ne.collisionPosition.marginLeft+Ct+nt+Je-Oe,(rt>0||x(rt)<ot)&&(z.left+=Ct+nt+Je))},top:function(z,ne){var fe=ne.within,me=fe.offset.top+fe.scrollTop,de=fe.height,Oe=fe.isWindow?fe.scrollTop:fe.offset.top,lt=z.top-ne.collisionPosition.marginTop,it=lt-Oe,ot=lt+ne.collisionHeight-de-Oe,Ct=ne.my[1]==="top",nt=Ct?-ne.elemHeight:ne.my[1]==="bottom"?ne.elemHeight:0,Je=ne.at[1]==="top"?ne.targetHeight:ne.at[1]==="bottom"?-ne.targetHeight:0,tt=-2*ne.offset[1],rt,ht;it<0?(ht=z.top+nt+Je+tt+ne.collisionHeight-de-me,(ht<0||ht<x(it))&&(z.top+=nt+Je+tt)):ot>0&&(rt=z.top-ne.collisionPosition.marginTop+nt+Je+tt-Oe,(rt>0||x(rt)<ot)&&(z.top+=nt+Je+tt))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}})(),t.ui.position;/*!
+ */(function(){var c,m=Math.max,x=Math.abs,T=/left|center|right/,b=/top|center|bottom/,d=/[\+\-]\d+(\.[\d]+)?%?/,k=/^\w+/,D=/%$/,O=n.fn.position;function Q(z,ie,de){return[parseFloat(z[0])*(D.test(z[0])?ie/100:1),parseFloat(z[1])*(D.test(z[1])?de/100:1)]}function J(z,ie){return parseInt(n.css(z,ie),10)||0}function X(z){return z!=null&&z===z.window}function U(z){var ie=z[0];return ie.nodeType===9?{width:z.width(),height:z.height(),offset:{top:0,left:0}}:X(ie)?{width:z.width(),height:z.height(),offset:{top:z.scrollTop(),left:z.scrollLeft()}}:ie.preventDefault?{width:0,height:0,offset:{top:ie.pageY,left:ie.pageX}}:{width:z.outerWidth(),height:z.outerHeight(),offset:z.offset()}}n.position={scrollbarWidth:function(){if(c!==void 0)return c;var z,ie,de=n("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),me=de.children()[0];return n("body").append(de),z=me.offsetWidth,de.css("overflow","scroll"),ie=me.offsetWidth,z===ie&&(ie=de[0].clientWidth),de.remove(),c=z-ie},getScrollInfo:function(z){var ie=z.isWindow||z.isDocument?"":z.element.css("overflow-x"),de=z.isWindow||z.isDocument?"":z.element.css("overflow-y"),me=ie==="scroll"||ie==="auto"&&z.width<z.element[0].scrollWidth,pe=de==="scroll"||de==="auto"&&z.height<z.element[0].scrollHeight;return{width:pe?n.position.scrollbarWidth():0,height:me?n.position.scrollbarWidth():0}},getWithinInfo:function(z){var ie=n(z||window),de=X(ie[0]),me=!!ie[0]&&ie[0].nodeType===9,pe=!de&&!me;return{element:ie,isWindow:de,isDocument:me,offset:pe?n(z).offset():{left:0,top:0},scrollLeft:ie.scrollLeft(),scrollTop:ie.scrollTop(),width:ie.outerWidth(),height:ie.outerHeight()}}},n.fn.position=function(z){if(!z||!z.of)return O.apply(this,arguments);z=n.extend({},z);var ie,de,me,pe,qe,mt,st=typeof z.of=="string"?n(document).find(z.of):n(z.of),dt=n.position.getWithinInfo(z.within),Tt=n.position.getScrollInfo(dt),lt=(z.collision||"flip").split(" "),Je={};return mt=U(st),st[0].preventDefault&&(z.at="left top"),de=mt.width,me=mt.height,pe=mt.offset,qe=n.extend({},pe),n.each(["my","at"],function(){var ht=(z[this]||"").split(" "),at,bt;ht.length===1&&(ht=T.test(ht[0])?ht.concat(["center"]):b.test(ht[0])?["center"].concat(ht):["center","center"]),ht[0]=T.test(ht[0])?ht[0]:"center",ht[1]=b.test(ht[1])?ht[1]:"center",at=d.exec(ht[0]),bt=d.exec(ht[1]),Je[this]=[at?at[0]:0,bt?bt[0]:0],z[this]=[k.exec(ht[0])[0],k.exec(ht[1])[0]]}),lt.length===1&&(lt[1]=lt[0]),z.at[0]==="right"?qe.left+=de:z.at[0]==="center"&&(qe.left+=de/2),z.at[1]==="bottom"?qe.top+=me:z.at[1]==="center"&&(qe.top+=me/2),ie=Q(Je.at,de,me),qe.left+=ie[0],qe.top+=ie[1],this.each(function(){var ht,at,bt=n(this),jt=bt.outerWidth(),Ge=bt.outerHeight(),Qe=J(this,"marginLeft"),Wt=J(this,"marginTop"),Et=jt+Qe+J(this,"marginRight")+Tt.width,Ct=Ge+Wt+J(this,"marginBottom")+Tt.height,Kt=n.extend({},qe),Me=Q(Je.my,bt.outerWidth(),bt.outerHeight());z.my[0]==="right"?Kt.left-=jt:z.my[0]==="center"&&(Kt.left-=jt/2),z.my[1]==="bottom"?Kt.top-=Ge:z.my[1]==="center"&&(Kt.top-=Ge/2),Kt.left+=Me[0],Kt.top+=Me[1],ht={marginLeft:Qe,marginTop:Wt},n.each(["left","top"],function(te,_e){n.ui.position[lt[te]]&&n.ui.position[lt[te]][_e](Kt,{targetWidth:de,targetHeight:me,elemWidth:jt,elemHeight:Ge,collisionPosition:ht,collisionWidth:Et,collisionHeight:Ct,offset:[ie[0]+Me[0],ie[1]+Me[1]],my:z.my,at:z.at,within:dt,elem:bt})}),z.using&&(at=function(te){var _e=pe.left-Kt.left,je=_e+de-jt,We=pe.top-Kt.top,et=We+me-Ge,Ye={target:{element:st,left:pe.left,top:pe.top,width:de,height:me},element:{element:bt,left:Kt.left,top:Kt.top,width:jt,height:Ge},horizontal:je<0?"left":_e>0?"right":"center",vertical:et<0?"top":We>0?"bottom":"middle"};de<jt&&x(_e+je)<de&&(Ye.horizontal="center"),me<Ge&&x(We+et)<me&&(Ye.vertical="middle"),m(x(_e),x(je))>m(x(We),x(et))?Ye.important="horizontal":Ye.important="vertical",z.using.call(this,te,Ye)}),bt.offset(n.extend(Kt,{using:at}))})},n.ui.position={fit:{left:function(z,ie){var de=ie.within,me=de.isWindow?de.scrollLeft:de.offset.left,pe=de.width,qe=z.left-ie.collisionPosition.marginLeft,mt=me-qe,st=qe+ie.collisionWidth-pe-me,dt;ie.collisionWidth>pe?mt>0&&st<=0?(dt=z.left+mt+ie.collisionWidth-pe-me,z.left+=mt-dt):st>0&&mt<=0?z.left=me:mt>st?z.left=me+pe-ie.collisionWidth:z.left=me:mt>0?z.left+=mt:st>0?z.left-=st:z.left=m(z.left-qe,z.left)},top:function(z,ie){var de=ie.within,me=de.isWindow?de.scrollTop:de.offset.top,pe=ie.within.height,qe=z.top-ie.collisionPosition.marginTop,mt=me-qe,st=qe+ie.collisionHeight-pe-me,dt;ie.collisionHeight>pe?mt>0&&st<=0?(dt=z.top+mt+ie.collisionHeight-pe-me,z.top+=mt-dt):st>0&&mt<=0?z.top=me:mt>st?z.top=me+pe-ie.collisionHeight:z.top=me:mt>0?z.top+=mt:st>0?z.top-=st:z.top=m(z.top-qe,z.top)}},flip:{left:function(z,ie){var de=ie.within,me=de.offset.left+de.scrollLeft,pe=de.width,qe=de.isWindow?de.scrollLeft:de.offset.left,mt=z.left-ie.collisionPosition.marginLeft,st=mt-qe,dt=mt+ie.collisionWidth-pe-qe,Tt=ie.my[0]==="left"?-ie.elemWidth:ie.my[0]==="right"?ie.elemWidth:0,lt=ie.at[0]==="left"?ie.targetWidth:ie.at[0]==="right"?-ie.targetWidth:0,Je=-2*ie.offset[0],ht,at;st<0?(ht=z.left+Tt+lt+Je+ie.collisionWidth-pe-me,(ht<0||ht<x(st))&&(z.left+=Tt+lt+Je)):dt>0&&(at=z.left-ie.collisionPosition.marginLeft+Tt+lt+Je-qe,(at>0||x(at)<dt)&&(z.left+=Tt+lt+Je))},top:function(z,ie){var de=ie.within,me=de.offset.top+de.scrollTop,pe=de.height,qe=de.isWindow?de.scrollTop:de.offset.top,mt=z.top-ie.collisionPosition.marginTop,st=mt-qe,dt=mt+ie.collisionHeight-pe-qe,Tt=ie.my[1]==="top",lt=Tt?-ie.elemHeight:ie.my[1]==="bottom"?ie.elemHeight:0,Je=ie.at[1]==="top"?ie.targetHeight:ie.at[1]==="bottom"?-ie.targetHeight:0,ht=-2*ie.offset[1],at,bt;st<0?(bt=z.top+lt+Je+ht+ie.collisionHeight-pe-me,(bt<0||bt<x(st))&&(z.top+=lt+Je+ht)):dt>0&&(at=z.top-ie.collisionPosition.marginTop+lt+Je+ht-qe,(at>0||x(at)<dt)&&(z.top+=lt+Je+ht))}},flipfit:{left:function(){n.ui.position.flip.left.apply(this,arguments),n.ui.position.fit.left.apply(this,arguments)},top:function(){n.ui.position.flip.top.apply(this,arguments),n.ui.position.fit.top.apply(this,arguments)}}}})(),n.ui.position;/*!
  * jQuery UI :data 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.extend(t.expr.pseudos,{data:t.expr.createPseudo(function(c){return function(p){return!!t.data(p,c)}})});/*!
+ */n.extend(n.expr.pseudos,{data:n.expr.createPseudo(function(c){return function(m){return!!n.data(m,c)}})});/*!
  * jQuery UI Disable Selection 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.fn.extend({disableSelection:function(){var c="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(c+".ui-disableSelection",function(p){p.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}});var u=t;/*!
+ */n.fn.extend({disableSelection:function(){var c="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(c+".ui-disableSelection",function(m){m.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}});var t=n;/*!
  * jQuery Color Animations v3.0.0
  * https://github.com/jquery/jquery-color
  *
@@ -78,126 +78,126 @@
  * https://jquery.org/license
  *
  * Date: Wed May 15 16:49:44 2024 +0200
- */var l="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",m={},y=m.toString,E=/^([\-+])=\s*(\d+\.?\d*)/,C=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(c){return[c[1],c[2],c[3],c[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(c){return[c[1]*2.55,c[2]*2.55,c[3]*2.55,c[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(c){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16),c[4]?(parseInt(c[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(c){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16),c[4]?(parseInt(c[4]+c[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(c){return[c[1],c[2]/100,c[3]/100,c[4]]}}],k=u.Color=function(c,p,x,S){return new u.Color.fn.parse(c,p,x,S)},A={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},D={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},P,R=u.each;R(A,function(c,p){p.cache="_"+c,p.props.alpha={idx:3,type:"percent",def:1}}),u.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(c,p){m["[object "+p+"]"]=p.toLowerCase()});function B(c){return c==null?c+"":typeof c=="object"?m[y.call(c)]||"object":typeof c}function F(c,p,x){var S=D[p.type]||{};return c==null?x||!p.def?null:p.def:(c=S.floor?~~c:parseFloat(c),S.mod?(c+S.mod)%S.mod:Math.min(S.max,Math.max(0,c)))}function O(c){var p=k(),x=p._rgba=[];return c=c.toLowerCase(),R(C,function(S,b){var h,T=b.re.exec(c),M=T&&b.parse(T),j=b.space||"rgba";if(M)return h=p[j](M),p[A[j].cache]=h[A[j].cache],x=p._rgba=h._rgba,!1}),x.length?(x.join()==="0,0,0,0"&&u.extend(x,P.transparent),p):P[c]}k.fn=u.extend(k.prototype,{parse:function(c,p,x,S){if(c===void 0)return this._rgba=[null,null,null,null],this;(c.jquery||c.nodeType)&&(c=u(c).css(p),p=void 0);var b=this,h=B(c),T=this._rgba=[];if(p!==void 0&&(c=[c,p,x,S],h="array"),h==="string")return this.parse(O(c)||P._default);if(h==="array")return R(A.rgba.props,function(M,j){T[j.idx]=F(c[j.idx],j)}),this;if(h==="object")return c instanceof k?R(A,function(M,j){c[j.cache]&&(b[j.cache]=c[j.cache].slice())}):R(A,function(M,j){var V=j.cache;R(j.props,function(ee,Z){if(!b[V]&&j.to){if(ee==="alpha"||c[ee]==null)return;b[V]=j.to(b._rgba)}b[V][Z.idx]=F(c[ee],Z,!0)}),b[V]&&u.inArray(null,b[V].slice(0,3))<0&&(b[V][3]==null&&(b[V][3]=1),j.from&&(b._rgba=j.from(b[V])))}),this},is:function(c){var p=k(c),x=!0,S=this;return R(A,function(b,h){var T,M=p[h.cache];return M&&(T=S[h.cache]||h.to&&h.to(S._rgba)||[],R(h.props,function(j,V){if(M[V.idx]!=null)return x=M[V.idx]===T[V.idx],x})),x}),x},_space:function(){var c=[],p=this;return R(A,function(x,S){p[S.cache]&&c.push(x)}),c.pop()},transition:function(c,p){var x=k(c),S=x._space(),b=A[S],h=this.alpha()===0?k("transparent"):this,T=h[b.cache]||b.to(h._rgba),M=T.slice();return x=x[b.cache],R(b.props,function(j,V){var ee=V.idx,Z=T[ee],U=x[ee],z=D[V.type]||{};U!==null&&(Z===null?M[ee]=U:(z.mod&&(U-Z>z.mod/2?Z+=z.mod:Z-U>z.mod/2&&(Z-=z.mod)),M[ee]=F((U-Z)*p+Z,V)))}),this[S](M)},blend:function(c){if(this._rgba[3]===1)return this;var p=this._rgba.slice(),x=p.pop(),S=k(c)._rgba;return k(u.map(p,function(b,h){return(1-x)*S[h]+x*b}))},toRgbaString:function(){var c="rgba(",p=u.map(this._rgba,function(x,S){return x??(S>2?1:0)});return p[3]===1&&(p.pop(),c="rgb("),c+p.join(", ")+")"},toHslaString:function(){var c="hsla(",p=u.map(this.hsla(),function(x,S){return x==null&&(x=S>2?1:0),S&&S<3&&(x=Math.round(x*100)+"%"),x});return p[3]===1&&(p.pop(),c="hsl("),c+p.join(", ")+")"},toHexString:function(c){var p=this._rgba.slice(),x=p.pop();return c&&p.push(~~(x*255)),"#"+u.map(p,function(S){return("0"+(S||0).toString(16)).substr(-2)}).join("")},toString:function(){return this.toRgbaString()}}),k.fn.parse.prototype=k.fn;function N(c,p,x){return x=(x+1)%1,x*6<1?c+(p-c)*x*6:x*2<1?p:x*3<2?c+(p-c)*(2/3-x)*6:c}A.hsla.to=function(c){if(c[0]==null||c[1]==null||c[2]==null)return[null,null,null,c[3]];var p=c[0]/255,x=c[1]/255,S=c[2]/255,b=c[3],h=Math.max(p,x,S),T=Math.min(p,x,S),M=h-T,j=h+T,V=j*.5,ee,Z;return T===h?ee=0:p===h?ee=60*(x-S)/M+360:x===h?ee=60*(S-p)/M+120:ee=60*(p-x)/M+240,M===0?Z=0:V<=.5?Z=M/j:Z=M/(2-j),[Math.round(ee)%360,Z,V,b??1]},A.hsla.from=function(c){if(c[0]==null||c[1]==null||c[2]==null)return[null,null,null,c[3]];var p=c[0]/360,x=c[1],S=c[2],b=c[3],h=S<=.5?S*(1+x):S+x-S*x,T=2*S-h;return[Math.round(N(T,h,p+1/3)*255),Math.round(N(T,h,p)*255),Math.round(N(T,h,p-1/3)*255),b]},R(A,function(c,p){var x=p.props,S=p.cache,b=p.to,h=p.from;k.fn[c]=function(T){if(b&&!this[S]&&(this[S]=b(this._rgba)),T===void 0)return this[S].slice();var M,j=B(T),V=j==="array"||j==="object"?T:arguments,ee=this[S].slice();return R(x,function(Z,U){var z=V[j==="object"?Z:U.idx];z==null&&(z=ee[U.idx]),ee[U.idx]=F(z,U)}),h?(M=k(h(ee)),M[S]=ee,M):k(ee)},R(x,function(T,M){k.fn[T]||(k.fn[T]=function(j){var V,ee,Z,U,z=B(j);return T==="alpha"?U=this._hsla?"hsla":"rgba":U=c,V=this[U](),ee=V[M.idx],z==="undefined"?ee:(z==="function"&&(j=j.call(this,ee),z=B(j)),j==null&&M.empty?this:(z==="string"&&(Z=E.exec(j),Z&&(j=ee+parseFloat(Z[2])*(Z[1]==="+"?1:-1))),V[M.idx]=j,this[U](V)))})})}),k.hook=function(c){var p=c.split(" ");R(p,function(x,S){u.cssHooks[S]={set:function(b,h){var T;h!=="transparent"&&(B(h)!=="string"||(T=O(h)))&&(h=k(T||h),h=h.toRgbaString()),b.style[S]=h}},u.fx.step[S]=function(b){b.colorInit||(b.start=k(b.elem,S),b.end=k(b.end),b.colorInit=!0),u.cssHooks[S].set(b.elem,b.start.transition(b.end,b.pos))}})},k.hook(l),u.cssHooks.borderColor={expand:function(c){var p={};return R(["Top","Right","Bottom","Left"],function(x,S){p["border"+S+"Color"]=c}),p}},P=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"};/*!
+ */var u="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",h={},v=h.toString,w=/^([\-+])=\s*(\d+\.?\d*)/,A=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(c){return[c[1],c[2],c[3],c[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(c){return[c[1]*2.55,c[2]*2.55,c[3]*2.55,c[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(c){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16),c[4]?(parseInt(c[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(c){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16),c[4]?(parseInt(c[4]+c[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(c){return[c[1],c[2]/100,c[3]/100,c[4]]}}],E=t.Color=function(c,m,x,T){return new t.Color.fn.parse(c,m,x,T)},C={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},M={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},P,I=t.each;I(C,function(c,m){m.cache="_"+c,m.props.alpha={idx:3,type:"percent",def:1}}),t.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(c,m){h["[object "+m+"]"]=m.toLowerCase()});function j(c){return c==null?c+"":typeof c=="object"?h[v.call(c)]||"object":typeof c}function B(c,m,x){var T=M[m.type]||{};return c==null?x||!m.def?null:m.def:(c=T.floor?~~c:parseFloat(c),T.mod?(c+T.mod)%T.mod:Math.min(T.max,Math.max(0,c)))}function F(c){var m=E(),x=m._rgba=[];return c=c.toLowerCase(),I(A,function(T,b){var d,k=b.re.exec(c),D=k&&b.parse(k),O=b.space||"rgba";if(D)return d=m[O](D),m[C[O].cache]=d[C[O].cache],x=m._rgba=d._rgba,!1}),x.length?(x.join()==="0,0,0,0"&&t.extend(x,P.transparent),m):P[c]}E.fn=t.extend(E.prototype,{parse:function(c,m,x,T){if(c===void 0)return this._rgba=[null,null,null,null],this;(c.jquery||c.nodeType)&&(c=t(c).css(m),m=void 0);var b=this,d=j(c),k=this._rgba=[];if(m!==void 0&&(c=[c,m,x,T],d="array"),d==="string")return this.parse(F(c)||P._default);if(d==="array")return I(C.rgba.props,function(D,O){k[O.idx]=B(c[O.idx],O)}),this;if(d==="object")return c instanceof E?I(C,function(D,O){c[O.cache]&&(b[O.cache]=c[O.cache].slice())}):I(C,function(D,O){var Q=O.cache;I(O.props,function(J,X){if(!b[Q]&&O.to){if(J==="alpha"||c[J]==null)return;b[Q]=O.to(b._rgba)}b[Q][X.idx]=B(c[J],X,!0)}),b[Q]&&t.inArray(null,b[Q].slice(0,3))<0&&(b[Q][3]==null&&(b[Q][3]=1),O.from&&(b._rgba=O.from(b[Q])))}),this},is:function(c){var m=E(c),x=!0,T=this;return I(C,function(b,d){var k,D=m[d.cache];return D&&(k=T[d.cache]||d.to&&d.to(T._rgba)||[],I(d.props,function(O,Q){if(D[Q.idx]!=null)return x=D[Q.idx]===k[Q.idx],x})),x}),x},_space:function(){var c=[],m=this;return I(C,function(x,T){m[T.cache]&&c.push(x)}),c.pop()},transition:function(c,m){var x=E(c),T=x._space(),b=C[T],d=this.alpha()===0?E("transparent"):this,k=d[b.cache]||b.to(d._rgba),D=k.slice();return x=x[b.cache],I(b.props,function(O,Q){var J=Q.idx,X=k[J],U=x[J],z=M[Q.type]||{};U!==null&&(X===null?D[J]=U:(z.mod&&(U-X>z.mod/2?X+=z.mod:X-U>z.mod/2&&(X-=z.mod)),D[J]=B((U-X)*m+X,Q)))}),this[T](D)},blend:function(c){if(this._rgba[3]===1)return this;var m=this._rgba.slice(),x=m.pop(),T=E(c)._rgba;return E(t.map(m,function(b,d){return(1-x)*T[d]+x*b}))},toRgbaString:function(){var c="rgba(",m=t.map(this._rgba,function(x,T){return x??(T>2?1:0)});return m[3]===1&&(m.pop(),c="rgb("),c+m.join(", ")+")"},toHslaString:function(){var c="hsla(",m=t.map(this.hsla(),function(x,T){return x==null&&(x=T>2?1:0),T&&T<3&&(x=Math.round(x*100)+"%"),x});return m[3]===1&&(m.pop(),c="hsl("),c+m.join(", ")+")"},toHexString:function(c){var m=this._rgba.slice(),x=m.pop();return c&&m.push(~~(x*255)),"#"+t.map(m,function(T){return("0"+(T||0).toString(16)).substr(-2)}).join("")},toString:function(){return this.toRgbaString()}}),E.fn.parse.prototype=E.fn;function N(c,m,x){return x=(x+1)%1,x*6<1?c+(m-c)*x*6:x*2<1?m:x*3<2?c+(m-c)*(2/3-x)*6:c}C.hsla.to=function(c){if(c[0]==null||c[1]==null||c[2]==null)return[null,null,null,c[3]];var m=c[0]/255,x=c[1]/255,T=c[2]/255,b=c[3],d=Math.max(m,x,T),k=Math.min(m,x,T),D=d-k,O=d+k,Q=O*.5,J,X;return k===d?J=0:m===d?J=60*(x-T)/D+360:x===d?J=60*(T-m)/D+120:J=60*(m-x)/D+240,D===0?X=0:Q<=.5?X=D/O:X=D/(2-O),[Math.round(J)%360,X,Q,b??1]},C.hsla.from=function(c){if(c[0]==null||c[1]==null||c[2]==null)return[null,null,null,c[3]];var m=c[0]/360,x=c[1],T=c[2],b=c[3],d=T<=.5?T*(1+x):T+x-T*x,k=2*T-d;return[Math.round(N(k,d,m+1/3)*255),Math.round(N(k,d,m)*255),Math.round(N(k,d,m-1/3)*255),b]},I(C,function(c,m){var x=m.props,T=m.cache,b=m.to,d=m.from;E.fn[c]=function(k){if(b&&!this[T]&&(this[T]=b(this._rgba)),k===void 0)return this[T].slice();var D,O=j(k),Q=O==="array"||O==="object"?k:arguments,J=this[T].slice();return I(x,function(X,U){var z=Q[O==="object"?X:U.idx];z==null&&(z=J[U.idx]),J[U.idx]=B(z,U)}),d?(D=E(d(J)),D[T]=J,D):E(J)},I(x,function(k,D){E.fn[k]||(E.fn[k]=function(O){var Q,J,X,U,z=j(O);return k==="alpha"?U=this._hsla?"hsla":"rgba":U=c,Q=this[U](),J=Q[D.idx],z==="undefined"?J:(z==="function"&&(O=O.call(this,J),z=j(O)),O==null&&D.empty?this:(z==="string"&&(X=w.exec(O),X&&(O=J+parseFloat(X[2])*(X[1]==="+"?1:-1))),Q[D.idx]=O,this[U](Q)))})})}),E.hook=function(c){var m=c.split(" ");I(m,function(x,T){t.cssHooks[T]={set:function(b,d){var k;d!=="transparent"&&(j(d)!=="string"||(k=F(d)))&&(d=E(k||d),d=d.toRgbaString()),b.style[T]=d}},t.fx.step[T]=function(b){b.colorInit||(b.start=E(b.elem,T),b.end=E(b.end),b.colorInit=!0),t.cssHooks[T].set(b.elem,b.start.transition(b.end,b.pos))}})},E.hook(u),t.cssHooks.borderColor={expand:function(c){var m={};return I(["Top","Right","Bottom","Left"],function(x,T){m["border"+T+"Color"]=c}),m}},P=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"};/*!
  * jQuery UI Effects 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */var Y="ui-effects-",J="ui-effects-style",ie="ui-effects-animated";t.effects={effect:{}},function(){var c=["add","remove","toggle"],p={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(h,T){t.fx.step[T]=function(M){(M.end!=="none"&&!M.setAttr||M.pos===1&&!M.setAttr)&&(u.style(M.elem,T,M.end),M.setAttr=!0)}});function x(h){return h.replace(/-([\da-z])/gi,function(T,M){return M.toUpperCase()})}function S(h){var T,M,j=h.ownerDocument.defaultView.getComputedStyle(h),V={};for(M=j.length;M--;)T=j[M],typeof j[T]=="string"&&(V[x(T)]=j[T]);return V}function b(h,T){var M={},j,V;for(j in T)V=T[j],h[j]!==V&&(p[j]||(t.fx.step[j]||!isNaN(parseFloat(V)))&&(M[j]=V));return M}t.effects.animateClass=function(h,T,M,j){var V=t.speed(T,M,j);return this.queue(function(){var ee=t(this),Z=ee.attr("class")||"",U,z=V.children?ee.find("*").addBack():ee;z=z.map(function(){var ne=t(this);return{el:ne,start:S(this)}}),U=function(){t.each(c,function(ne,fe){h[fe]&&ee[fe+"Class"](h[fe])})},U(),z=z.map(function(){return this.end=S(this.el[0]),this.diff=b(this.start,this.end),this}),ee.attr("class",Z),z=z.map(function(){var ne=this,fe=t.Deferred(),me=t.extend({},V,{queue:!1,complete:function(){fe.resolve(ne)}});return this.el.animate(this.diff,me),fe.promise()}),t.when.apply(t,z.get()).done(function(){U(),t.each(arguments,function(){var ne=this.el;t.each(this.diff,function(fe){ne.css(fe,"")})}),V.complete.call(ee[0])})})},t.fn.extend({addClass:function(h){return function(T,M,j,V){return M?t.effects.animateClass.call(this,{add:T},M,j,V):h.apply(this,arguments)}}(t.fn.addClass),removeClass:function(h){return function(T,M,j,V){return arguments.length>1?t.effects.animateClass.call(this,{remove:T},M,j,V):h.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(h){return function(T,M,j,V,ee){return typeof M=="boolean"||M===void 0?j?t.effects.animateClass.call(this,M?{add:T}:{remove:T},j,V,ee):h.apply(this,arguments):t.effects.animateClass.call(this,{toggle:T},M,j,V)}}(t.fn.toggleClass),switchClass:function(h,T,M,j,V){return t.effects.animateClass.call(this,{add:T,remove:h},M,j,V)}})}(),function(){t.expr&&t.expr.pseudos&&t.expr.pseudos.animated&&(t.expr.pseudos.animated=function(S){return function(b){return!!t(b).data(ie)||S(b)}}(t.expr.pseudos.animated)),t.uiBackCompat===!0&&t.extend(t.effects,{save:function(S,b){for(var h=0,T=b.length;h<T;h++)b[h]!==null&&S.data(Y+b[h],S[0].style[b[h]])},restore:function(S,b){for(var h,T=0,M=b.length;T<M;T++)b[T]!==null&&(h=S.data(Y+b[T]),S.css(b[T],h))},setMode:function(S,b){return b==="toggle"&&(b=S.is(":hidden")?"show":"hide"),b},createWrapper:function(S){if(S.parent().is(".ui-effects-wrapper"))return S.parent();var b={width:S.outerWidth(!0),height:S.outerHeight(!0),float:S.css("float")},h=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),T={width:S.width(),height:S.height()},M=document.activeElement;try{M.id}catch{M=document.body}return S.wrap(h),(S[0]===M||t.contains(S[0],M))&&t(M).trigger("focus"),h=S.parent(),S.css("position")==="static"?(h.css({position:"relative"}),S.css({position:"relative"})):(t.extend(b,{position:S.css("position"),zIndex:S.css("z-index")}),t.each(["top","left","bottom","right"],function(j,V){b[V]=S.css(V),isNaN(parseInt(b[V],10))&&(b[V]="auto")}),S.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),S.css(T),h.css(b).show()},removeWrapper:function(S){var b=document.activeElement;return S.parent().is(".ui-effects-wrapper")&&(S.parent().replaceWith(S),(S[0]===b||t.contains(S[0],b))&&t(b).trigger("focus")),S}}),t.extend(t.effects,{version:"1.14.0",define:function(S,b,h){return h||(h=b,b="effect"),t.effects.effect[S]=h,t.effects.effect[S].mode=b,h},scaledDimensions:function(S,b,h){if(b===0)return{height:0,width:0,outerHeight:0,outerWidth:0};var T=h!=="horizontal"?(b||100)/100:1,M=h!=="vertical"?(b||100)/100:1;return{height:S.height()*M,width:S.width()*T,outerHeight:S.outerHeight()*M,outerWidth:S.outerWidth()*T}},clipToBox:function(S){return{width:S.clip.right-S.clip.left,height:S.clip.bottom-S.clip.top,left:S.clip.left,top:S.clip.top}},unshift:function(S,b,h){var T=S.queue();b>1&&T.splice.apply(T,[1,0].concat(T.splice(b,h))),S.dequeue()},saveStyle:function(S){S.data(J,S[0].style.cssText)},restoreStyle:function(S){S[0].style.cssText=S.data(J)||"",S.removeData(J)},mode:function(S,b){var h=S.is(":hidden");return b==="toggle"&&(b=h?"show":"hide"),(h?b==="hide":b==="show")&&(b="none"),b},getBaseline:function(S,b){var h,T;switch(S[0]){case"top":h=0;break;case"middle":h=.5;break;case"bottom":h=1;break;default:h=S[0]/b.height}switch(S[1]){case"left":T=0;break;case"center":T=.5;break;case"right":T=1;break;default:T=S[1]/b.width}return{x:T,y:h}},createPlaceholder:function(S){var b,h=S.css("position"),T=S.position();return S.css({marginTop:S.css("marginTop"),marginBottom:S.css("marginBottom"),marginLeft:S.css("marginLeft"),marginRight:S.css("marginRight")}).outerWidth(S.outerWidth()).outerHeight(S.outerHeight()),/^(static|relative)/.test(h)&&(h="absolute",b=t("<"+S[0].nodeName+">").insertAfter(S).css({display:/^(inline|ruby)/.test(S.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:S.css("marginTop"),marginBottom:S.css("marginBottom"),marginLeft:S.css("marginLeft"),marginRight:S.css("marginRight"),float:S.css("float")}).outerWidth(S.outerWidth()).outerHeight(S.outerHeight()).addClass("ui-effects-placeholder"),S.data(Y+"placeholder",b)),S.css({position:h,left:T.left,top:T.top}),b},removePlaceholder:function(S){var b=Y+"placeholder",h=S.data(b);h&&(h.remove(),S.removeData(b))},cleanUp:function(S){t.effects.restoreStyle(S),t.effects.removePlaceholder(S)},setTransition:function(S,b,h,T){return T=T||{},t.each(b,function(M,j){var V=S.cssUnit(j);V[0]>0&&(T[j]=V[0]*h+V[1])}),T}});function c(S,b,h,T){return t.isPlainObject(S)&&(b=S,S=S.effect),S={effect:S},b==null&&(b={}),typeof b=="function"&&(T=b,h=null,b={}),(typeof b=="number"||t.fx.speeds[b])&&(T=h,h=b,b={}),typeof h=="function"&&(T=h,h=null),b&&t.extend(S,b),h=h||b.duration,S.duration=t.fx.off?0:typeof h=="number"?h:h in t.fx.speeds?t.fx.speeds[h]:t.fx.speeds._default,S.complete=T||b.complete,S}function p(S){return!!(!S||typeof S=="number"||t.fx.speeds[S]||typeof S=="string"&&!t.effects.effect[S]||typeof S=="function"||typeof S=="object"&&!S.effect)}t.fn.extend({effect:function(){var S=c.apply(this,arguments),b=t.effects.effect[S.effect],h=b.mode,T=S.queue,M=T||"fx",j=S.complete,V=S.mode,ee=[],Z=function(z){var ne=t(this),fe=t.effects.mode(ne,V)||h;ne.data(ie,!0),ee.push(fe),h&&(fe==="show"||fe===h&&fe==="hide")&&ne.show(),(!h||fe!=="none")&&t.effects.saveStyle(ne),typeof z=="function"&&z()};if(t.fx.off||!b)return V?this[V](S.duration,j):this.each(function(){j&&j.call(this)});function U(z){var ne=t(this);function fe(){ne.removeData(ie),t.effects.cleanUp(ne),S.mode==="hide"&&ne.hide(),me()}function me(){typeof j=="function"&&j.call(ne[0]),typeof z=="function"&&z()}S.mode=ee.shift(),t.uiBackCompat===!0&&!h?(ne.is(":hidden")?V==="hide":V==="show")?(ne[V](),me()):b.call(ne[0],S,me):S.mode==="none"?(ne[V](),me()):b.call(ne[0],S,fe)}return T===!1?this.each(Z).each(U):this.queue(M,Z).queue(M,U)},show:function(S){return function(b){if(p(b))return S.apply(this,arguments);var h=c.apply(this,arguments);return h.mode="show",this.effect.call(this,h)}}(t.fn.show),hide:function(S){return function(b){if(p(b))return S.apply(this,arguments);var h=c.apply(this,arguments);return h.mode="hide",this.effect.call(this,h)}}(t.fn.hide),toggle:function(S){return function(b){if(p(b)||typeof b=="boolean")return S.apply(this,arguments);var h=c.apply(this,arguments);return h.mode="toggle",this.effect.call(this,h)}}(t.fn.toggle),cssUnit:function(S){var b=this.css(S),h=[];return t.each(["em","px","%","pt"],function(T,M){b.indexOf(M)>0&&(h=[parseFloat(b),M])}),h},cssClip:function(S){return S?this.css("clip","rect("+S.top+"px "+S.right+"px "+S.bottom+"px "+S.left+"px)"):x(this.css("clip"),this)},transfer:function(S,b){var h=t(this),T=t(S.to),M=T.css("position")==="fixed",j=t("body"),V=M?j.scrollTop():0,ee=M?j.scrollLeft():0,Z=T.offset(),U={top:Z.top-V,left:Z.left-ee,height:T.innerHeight(),width:T.innerWidth()},z=h.offset(),ne=t("<div class='ui-effects-transfer'></div>");ne.appendTo("body").addClass(S.className).css({top:z.top-V,left:z.left-ee,height:h.innerHeight(),width:h.innerWidth(),position:M?"fixed":"absolute"}).animate(U,S.duration,S.easing,function(){ne.remove(),typeof b=="function"&&b()})}});function x(S,b){var h=b.outerWidth(),T=b.outerHeight(),M=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,j=M.exec(S)||["",0,h,T,0];return{top:parseFloat(j[1])||0,right:j[2]==="auto"?h:parseFloat(j[2]),bottom:j[3]==="auto"?T:parseFloat(j[3]),left:parseFloat(j[4])||0}}t.fx.step.clip=function(S){S.clipInit||(S.start=t(S.elem).cssClip(),typeof S.end=="string"&&(S.end=x(S.end,S.elem)),S.clipInit=!0),t(S.elem).cssClip({top:S.pos*(S.end.top-S.start.top)+S.start.top,right:S.pos*(S.end.right-S.start.right)+S.start.right,bottom:S.pos*(S.end.bottom-S.start.bottom)+S.start.bottom,left:S.pos*(S.end.left-S.start.left)+S.start.left})}}(),function(){var c={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(p,x){c[x]=function(S){return Math.pow(S,p+2)}}),t.extend(c,{Sine:function(p){return 1-Math.cos(p*Math.PI/2)},Circ:function(p){return 1-Math.sqrt(1-p*p)},Elastic:function(p){return p===0||p===1?p:-Math.pow(2,8*(p-1))*Math.sin(((p-1)*80-7.5)*Math.PI/15)},Back:function(p){return p*p*(3*p-2)},Bounce:function(p){for(var x,S=4;p<((x=Math.pow(2,--S))-1)/11;);return 1/Math.pow(4,3-S)-7.5625*Math.pow((x*3-2)/22-p,2)}}),t.each(c,function(p,x){t.easing["easeIn"+p]=x,t.easing["easeOut"+p]=function(S){return 1-x(1-S)},t.easing["easeInOut"+p]=function(S){return S<.5?x(S*2)/2:1-x(S*-2+2)/2}})}(),t.effects;/*!
+ */var ee="ui-effects-",Z="ui-effects-style",re="ui-effects-animated";n.effects={effect:{}},function(){var c=["add","remove","toggle"],m={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};n.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(d,k){n.fx.step[k]=function(D){(D.end!=="none"&&!D.setAttr||D.pos===1&&!D.setAttr)&&(t.style(D.elem,k,D.end),D.setAttr=!0)}});function x(d){return d.replace(/-([\da-z])/gi,function(k,D){return D.toUpperCase()})}function T(d){var k,D,O=d.ownerDocument.defaultView.getComputedStyle(d),Q={};for(D=O.length;D--;)k=O[D],typeof O[k]=="string"&&(Q[x(k)]=O[k]);return Q}function b(d,k){var D={},O,Q;for(O in k)Q=k[O],d[O]!==Q&&(m[O]||(n.fx.step[O]||!isNaN(parseFloat(Q)))&&(D[O]=Q));return D}n.effects.animateClass=function(d,k,D,O){var Q=n.speed(k,D,O);return this.queue(function(){var J=n(this),X=J.attr("class")||"",U,z=Q.children?J.find("*").addBack():J;z=z.map(function(){var ie=n(this);return{el:ie,start:T(this)}}),U=function(){n.each(c,function(ie,de){d[de]&&J[de+"Class"](d[de])})},U(),z=z.map(function(){return this.end=T(this.el[0]),this.diff=b(this.start,this.end),this}),J.attr("class",X),z=z.map(function(){var ie=this,de=n.Deferred(),me=n.extend({},Q,{queue:!1,complete:function(){de.resolve(ie)}});return this.el.animate(this.diff,me),de.promise()}),n.when.apply(n,z.get()).done(function(){U(),n.each(arguments,function(){var ie=this.el;n.each(this.diff,function(de){ie.css(de,"")})}),Q.complete.call(J[0])})})},n.fn.extend({addClass:function(d){return function(k,D,O,Q){return D?n.effects.animateClass.call(this,{add:k},D,O,Q):d.apply(this,arguments)}}(n.fn.addClass),removeClass:function(d){return function(k,D,O,Q){return arguments.length>1?n.effects.animateClass.call(this,{remove:k},D,O,Q):d.apply(this,arguments)}}(n.fn.removeClass),toggleClass:function(d){return function(k,D,O,Q,J){return typeof D=="boolean"||D===void 0?O?n.effects.animateClass.call(this,D?{add:k}:{remove:k},O,Q,J):d.apply(this,arguments):n.effects.animateClass.call(this,{toggle:k},D,O,Q)}}(n.fn.toggleClass),switchClass:function(d,k,D,O,Q){return n.effects.animateClass.call(this,{add:k,remove:d},D,O,Q)}})}(),function(){n.expr&&n.expr.pseudos&&n.expr.pseudos.animated&&(n.expr.pseudos.animated=function(T){return function(b){return!!n(b).data(re)||T(b)}}(n.expr.pseudos.animated)),n.uiBackCompat===!0&&n.extend(n.effects,{save:function(T,b){for(var d=0,k=b.length;d<k;d++)b[d]!==null&&T.data(ee+b[d],T[0].style[b[d]])},restore:function(T,b){for(var d,k=0,D=b.length;k<D;k++)b[k]!==null&&(d=T.data(ee+b[k]),T.css(b[k],d))},setMode:function(T,b){return b==="toggle"&&(b=T.is(":hidden")?"show":"hide"),b},createWrapper:function(T){if(T.parent().is(".ui-effects-wrapper"))return T.parent();var b={width:T.outerWidth(!0),height:T.outerHeight(!0),float:T.css("float")},d=n("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),k={width:T.width(),height:T.height()},D=document.activeElement;try{D.id}catch{D=document.body}return T.wrap(d),(T[0]===D||n.contains(T[0],D))&&n(D).trigger("focus"),d=T.parent(),T.css("position")==="static"?(d.css({position:"relative"}),T.css({position:"relative"})):(n.extend(b,{position:T.css("position"),zIndex:T.css("z-index")}),n.each(["top","left","bottom","right"],function(O,Q){b[Q]=T.css(Q),isNaN(parseInt(b[Q],10))&&(b[Q]="auto")}),T.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),T.css(k),d.css(b).show()},removeWrapper:function(T){var b=document.activeElement;return T.parent().is(".ui-effects-wrapper")&&(T.parent().replaceWith(T),(T[0]===b||n.contains(T[0],b))&&n(b).trigger("focus")),T}}),n.extend(n.effects,{version:"1.14.0",define:function(T,b,d){return d||(d=b,b="effect"),n.effects.effect[T]=d,n.effects.effect[T].mode=b,d},scaledDimensions:function(T,b,d){if(b===0)return{height:0,width:0,outerHeight:0,outerWidth:0};var k=d!=="horizontal"?(b||100)/100:1,D=d!=="vertical"?(b||100)/100:1;return{height:T.height()*D,width:T.width()*k,outerHeight:T.outerHeight()*D,outerWidth:T.outerWidth()*k}},clipToBox:function(T){return{width:T.clip.right-T.clip.left,height:T.clip.bottom-T.clip.top,left:T.clip.left,top:T.clip.top}},unshift:function(T,b,d){var k=T.queue();b>1&&k.splice.apply(k,[1,0].concat(k.splice(b,d))),T.dequeue()},saveStyle:function(T){T.data(Z,T[0].style.cssText)},restoreStyle:function(T){T[0].style.cssText=T.data(Z)||"",T.removeData(Z)},mode:function(T,b){var d=T.is(":hidden");return b==="toggle"&&(b=d?"show":"hide"),(d?b==="hide":b==="show")&&(b="none"),b},getBaseline:function(T,b){var d,k;switch(T[0]){case"top":d=0;break;case"middle":d=.5;break;case"bottom":d=1;break;default:d=T[0]/b.height}switch(T[1]){case"left":k=0;break;case"center":k=.5;break;case"right":k=1;break;default:k=T[1]/b.width}return{x:k,y:d}},createPlaceholder:function(T){var b,d=T.css("position"),k=T.position();return T.css({marginTop:T.css("marginTop"),marginBottom:T.css("marginBottom"),marginLeft:T.css("marginLeft"),marginRight:T.css("marginRight")}).outerWidth(T.outerWidth()).outerHeight(T.outerHeight()),/^(static|relative)/.test(d)&&(d="absolute",b=n("<"+T[0].nodeName+">").insertAfter(T).css({display:/^(inline|ruby)/.test(T.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:T.css("marginTop"),marginBottom:T.css("marginBottom"),marginLeft:T.css("marginLeft"),marginRight:T.css("marginRight"),float:T.css("float")}).outerWidth(T.outerWidth()).outerHeight(T.outerHeight()).addClass("ui-effects-placeholder"),T.data(ee+"placeholder",b)),T.css({position:d,left:k.left,top:k.top}),b},removePlaceholder:function(T){var b=ee+"placeholder",d=T.data(b);d&&(d.remove(),T.removeData(b))},cleanUp:function(T){n.effects.restoreStyle(T),n.effects.removePlaceholder(T)},setTransition:function(T,b,d,k){return k=k||{},n.each(b,function(D,O){var Q=T.cssUnit(O);Q[0]>0&&(k[O]=Q[0]*d+Q[1])}),k}});function c(T,b,d,k){return n.isPlainObject(T)&&(b=T,T=T.effect),T={effect:T},b==null&&(b={}),typeof b=="function"&&(k=b,d=null,b={}),(typeof b=="number"||n.fx.speeds[b])&&(k=d,d=b,b={}),typeof d=="function"&&(k=d,d=null),b&&n.extend(T,b),d=d||b.duration,T.duration=n.fx.off?0:typeof d=="number"?d:d in n.fx.speeds?n.fx.speeds[d]:n.fx.speeds._default,T.complete=k||b.complete,T}function m(T){return!!(!T||typeof T=="number"||n.fx.speeds[T]||typeof T=="string"&&!n.effects.effect[T]||typeof T=="function"||typeof T=="object"&&!T.effect)}n.fn.extend({effect:function(){var T=c.apply(this,arguments),b=n.effects.effect[T.effect],d=b.mode,k=T.queue,D=k||"fx",O=T.complete,Q=T.mode,J=[],X=function(z){var ie=n(this),de=n.effects.mode(ie,Q)||d;ie.data(re,!0),J.push(de),d&&(de==="show"||de===d&&de==="hide")&&ie.show(),(!d||de!=="none")&&n.effects.saveStyle(ie),typeof z=="function"&&z()};if(n.fx.off||!b)return Q?this[Q](T.duration,O):this.each(function(){O&&O.call(this)});function U(z){var ie=n(this);function de(){ie.removeData(re),n.effects.cleanUp(ie),T.mode==="hide"&&ie.hide(),me()}function me(){typeof O=="function"&&O.call(ie[0]),typeof z=="function"&&z()}T.mode=J.shift(),n.uiBackCompat===!0&&!d?(ie.is(":hidden")?Q==="hide":Q==="show")?(ie[Q](),me()):b.call(ie[0],T,me):T.mode==="none"?(ie[Q](),me()):b.call(ie[0],T,de)}return k===!1?this.each(X).each(U):this.queue(D,X).queue(D,U)},show:function(T){return function(b){if(m(b))return T.apply(this,arguments);var d=c.apply(this,arguments);return d.mode="show",this.effect.call(this,d)}}(n.fn.show),hide:function(T){return function(b){if(m(b))return T.apply(this,arguments);var d=c.apply(this,arguments);return d.mode="hide",this.effect.call(this,d)}}(n.fn.hide),toggle:function(T){return function(b){if(m(b)||typeof b=="boolean")return T.apply(this,arguments);var d=c.apply(this,arguments);return d.mode="toggle",this.effect.call(this,d)}}(n.fn.toggle),cssUnit:function(T){var b=this.css(T),d=[];return n.each(["em","px","%","pt"],function(k,D){b.indexOf(D)>0&&(d=[parseFloat(b),D])}),d},cssClip:function(T){return T?this.css("clip","rect("+T.top+"px "+T.right+"px "+T.bottom+"px "+T.left+"px)"):x(this.css("clip"),this)},transfer:function(T,b){var d=n(this),k=n(T.to),D=k.css("position")==="fixed",O=n("body"),Q=D?O.scrollTop():0,J=D?O.scrollLeft():0,X=k.offset(),U={top:X.top-Q,left:X.left-J,height:k.innerHeight(),width:k.innerWidth()},z=d.offset(),ie=n("<div class='ui-effects-transfer'></div>");ie.appendTo("body").addClass(T.className).css({top:z.top-Q,left:z.left-J,height:d.innerHeight(),width:d.innerWidth(),position:D?"fixed":"absolute"}).animate(U,T.duration,T.easing,function(){ie.remove(),typeof b=="function"&&b()})}});function x(T,b){var d=b.outerWidth(),k=b.outerHeight(),D=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,O=D.exec(T)||["",0,d,k,0];return{top:parseFloat(O[1])||0,right:O[2]==="auto"?d:parseFloat(O[2]),bottom:O[3]==="auto"?k:parseFloat(O[3]),left:parseFloat(O[4])||0}}n.fx.step.clip=function(T){T.clipInit||(T.start=n(T.elem).cssClip(),typeof T.end=="string"&&(T.end=x(T.end,T.elem)),T.clipInit=!0),n(T.elem).cssClip({top:T.pos*(T.end.top-T.start.top)+T.start.top,right:T.pos*(T.end.right-T.start.right)+T.start.right,bottom:T.pos*(T.end.bottom-T.start.bottom)+T.start.bottom,left:T.pos*(T.end.left-T.start.left)+T.start.left})}}(),function(){var c={};n.each(["Quad","Cubic","Quart","Quint","Expo"],function(m,x){c[x]=function(T){return Math.pow(T,m+2)}}),n.extend(c,{Sine:function(m){return 1-Math.cos(m*Math.PI/2)},Circ:function(m){return 1-Math.sqrt(1-m*m)},Elastic:function(m){return m===0||m===1?m:-Math.pow(2,8*(m-1))*Math.sin(((m-1)*80-7.5)*Math.PI/15)},Back:function(m){return m*m*(3*m-2)},Bounce:function(m){for(var x,T=4;m<((x=Math.pow(2,--T))-1)/11;);return 1/Math.pow(4,3-T)-7.5625*Math.pow((x*3-2)/22-m,2)}}),n.each(c,function(m,x){n.easing["easeIn"+m]=x,n.easing["easeOut"+m]=function(T){return 1-x(1-T)},n.easing["easeInOut"+m]=function(T){return T<.5?x(T*2)/2:1-x(T*-2+2)/2}})}(),n.effects;/*!
  * jQuery UI Effects Blind 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("blind","hide",function(c,p){var x={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},S=t(this),b=c.direction||"up",h=S.cssClip(),T={clip:t.extend({},h)},M=t.effects.createPlaceholder(S);T.clip[x[b][0]]=T.clip[x[b][1]],c.mode==="show"&&(S.cssClip(T.clip),M&&M.css(t.effects.clipToBox(T)),T.clip=h),M&&M.animate(t.effects.clipToBox(T),c.duration,c.easing),S.animate(T,{queue:!1,duration:c.duration,easing:c.easing,complete:p})});/*!
+ */n.effects.define("blind","hide",function(c,m){var x={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},T=n(this),b=c.direction||"up",d=T.cssClip(),k={clip:n.extend({},d)},D=n.effects.createPlaceholder(T);k.clip[x[b][0]]=k.clip[x[b][1]],c.mode==="show"&&(T.cssClip(k.clip),D&&D.css(n.effects.clipToBox(k)),k.clip=d),D&&D.animate(n.effects.clipToBox(k),c.duration,c.easing),T.animate(k,{queue:!1,duration:c.duration,easing:c.easing,complete:m})});/*!
  * jQuery UI Effects Bounce 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("bounce",function(c,p){var x,S,b,h=t(this),T=c.mode,M=T==="hide",j=T==="show",V=c.direction||"up",ee=c.distance,Z=c.times||5,U=Z*2+(j||M?1:0),z=c.duration/U,ne=c.easing,fe=V==="up"||V==="down"?"top":"left",me=V==="up"||V==="left",de=0,Oe=h.queue().length;for(t.effects.createPlaceholder(h),b=h.css(fe),ee||(ee=h[fe==="top"?"outerHeight":"outerWidth"]()/3),j&&(S={opacity:1},S[fe]=b,h.css("opacity",0).css(fe,me?-ee*2:ee*2).animate(S,z,ne)),M&&(ee=ee/Math.pow(2,Z-1)),S={},S[fe]=b;de<Z;de++)x={},x[fe]=(me?"-=":"+=")+ee,h.animate(x,z,ne).animate(S,z,ne),ee=M?ee*2:ee/2;M&&(x={opacity:0},x[fe]=(me?"-=":"+=")+ee,h.animate(x,z,ne)),h.queue(p),t.effects.unshift(h,Oe,U+1)});/*!
+ */n.effects.define("bounce",function(c,m){var x,T,b,d=n(this),k=c.mode,D=k==="hide",O=k==="show",Q=c.direction||"up",J=c.distance,X=c.times||5,U=X*2+(O||D?1:0),z=c.duration/U,ie=c.easing,de=Q==="up"||Q==="down"?"top":"left",me=Q==="up"||Q==="left",pe=0,qe=d.queue().length;for(n.effects.createPlaceholder(d),b=d.css(de),J||(J=d[de==="top"?"outerHeight":"outerWidth"]()/3),O&&(T={opacity:1},T[de]=b,d.css("opacity",0).css(de,me?-J*2:J*2).animate(T,z,ie)),D&&(J=J/Math.pow(2,X-1)),T={},T[de]=b;pe<X;pe++)x={},x[de]=(me?"-=":"+=")+J,d.animate(x,z,ie).animate(T,z,ie),J=D?J*2:J/2;D&&(x={opacity:0},x[de]=(me?"-=":"+=")+J,d.animate(x,z,ie)),d.queue(m),n.effects.unshift(d,qe,U+1)});/*!
  * jQuery UI Effects Clip 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("clip","hide",function(c,p){var x,S={},b=t(this),h=c.direction||"vertical",T=h==="both",M=T||h==="horizontal",j=T||h==="vertical";x=b.cssClip(),S.clip={top:j?(x.bottom-x.top)/2:x.top,right:M?(x.right-x.left)/2:x.right,bottom:j?(x.bottom-x.top)/2:x.bottom,left:M?(x.right-x.left)/2:x.left},t.effects.createPlaceholder(b),c.mode==="show"&&(b.cssClip(S.clip),S.clip=x),b.animate(S,{queue:!1,duration:c.duration,easing:c.easing,complete:p})});/*!
+ */n.effects.define("clip","hide",function(c,m){var x,T={},b=n(this),d=c.direction||"vertical",k=d==="both",D=k||d==="horizontal",O=k||d==="vertical";x=b.cssClip(),T.clip={top:O?(x.bottom-x.top)/2:x.top,right:D?(x.right-x.left)/2:x.right,bottom:O?(x.bottom-x.top)/2:x.bottom,left:D?(x.right-x.left)/2:x.left},n.effects.createPlaceholder(b),c.mode==="show"&&(b.cssClip(T.clip),T.clip=x),b.animate(T,{queue:!1,duration:c.duration,easing:c.easing,complete:m})});/*!
  * jQuery UI Effects Drop 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("drop","hide",function(c,p){var x,S=t(this),b=c.mode,h=b==="show",T=c.direction||"left",M=T==="up"||T==="down"?"top":"left",j=T==="up"||T==="left"?"-=":"+=",V=j==="+="?"-=":"+=",ee={opacity:0};t.effects.createPlaceholder(S),x=c.distance||S[M==="top"?"outerHeight":"outerWidth"](!0)/2,ee[M]=j+x,h&&(S.css(ee),ee[M]=V+x,ee.opacity=1),S.animate(ee,{queue:!1,duration:c.duration,easing:c.easing,complete:p})});/*!
+ */n.effects.define("drop","hide",function(c,m){var x,T=n(this),b=c.mode,d=b==="show",k=c.direction||"left",D=k==="up"||k==="down"?"top":"left",O=k==="up"||k==="left"?"-=":"+=",Q=O==="+="?"-=":"+=",J={opacity:0};n.effects.createPlaceholder(T),x=c.distance||T[D==="top"?"outerHeight":"outerWidth"](!0)/2,J[D]=O+x,d&&(T.css(J),J[D]=Q+x,J.opacity=1),T.animate(J,{queue:!1,duration:c.duration,easing:c.easing,complete:m})});/*!
  * jQuery UI Effects Explode 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("explode","hide",function(c,p){var x,S,b,h,T,M,j=c.pieces?Math.round(Math.sqrt(c.pieces)):3,V=j,ee=t(this),Z=c.mode,U=Z==="show",z=ee.show().css("visibility","hidden").offset(),ne=Math.ceil(ee.outerWidth()/V),fe=Math.ceil(ee.outerHeight()/j),me=[];function de(){me.push(this),me.length===j*V&&Oe()}for(x=0;x<j;x++)for(h=z.top+x*fe,M=x-(j-1)/2,S=0;S<V;S++)b=z.left+S*ne,T=S-(V-1)/2,ee.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-S*ne,top:-x*fe}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:ne,height:fe,left:b+(U?T*ne:0),top:h+(U?M*fe:0),opacity:U?0:1}).animate({left:b+(U?0:T*ne),top:h+(U?0:M*fe),opacity:U?1:0},c.duration||500,c.easing,de);function Oe(){ee.css({visibility:"visible"}),t(me).remove(),p()}});/*!
+ */n.effects.define("explode","hide",function(c,m){var x,T,b,d,k,D,O=c.pieces?Math.round(Math.sqrt(c.pieces)):3,Q=O,J=n(this),X=c.mode,U=X==="show",z=J.show().css("visibility","hidden").offset(),ie=Math.ceil(J.outerWidth()/Q),de=Math.ceil(J.outerHeight()/O),me=[];function pe(){me.push(this),me.length===O*Q&&qe()}for(x=0;x<O;x++)for(d=z.top+x*de,D=x-(O-1)/2,T=0;T<Q;T++)b=z.left+T*ie,k=T-(Q-1)/2,J.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-T*ie,top:-x*de}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:ie,height:de,left:b+(U?k*ie:0),top:d+(U?D*de:0),opacity:U?0:1}).animate({left:b+(U?0:k*ie),top:d+(U?0:D*de),opacity:U?1:0},c.duration||500,c.easing,pe);function qe(){J.css({visibility:"visible"}),n(me).remove(),m()}});/*!
  * jQuery UI Effects Fade 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("fade","toggle",function(c,p){var x=c.mode==="show";t(this).css("opacity",x?0:1).animate({opacity:x?1:0},{queue:!1,duration:c.duration,easing:c.easing,complete:p})});/*!
+ */n.effects.define("fade","toggle",function(c,m){var x=c.mode==="show";n(this).css("opacity",x?0:1).animate({opacity:x?1:0},{queue:!1,duration:c.duration,easing:c.easing,complete:m})});/*!
  * jQuery UI Effects Fold 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("fold","hide",function(c,p){var x=t(this),S=c.mode,b=S==="show",h=S==="hide",T=c.size||15,M=/([0-9]+)%/.exec(T),j=!!c.horizFirst,V=j?["right","bottom"]:["bottom","right"],ee=c.duration/2,Z=t.effects.createPlaceholder(x),U=x.cssClip(),z={clip:t.extend({},U)},ne={clip:t.extend({},U)},fe=[U[V[0]],U[V[1]]],me=x.queue().length;M&&(T=parseInt(M[1],10)/100*fe[h?0:1]),z.clip[V[0]]=T,ne.clip[V[0]]=T,ne.clip[V[1]]=0,b&&(x.cssClip(ne.clip),Z&&Z.css(t.effects.clipToBox(ne)),ne.clip=U),x.queue(function(de){Z&&Z.animate(t.effects.clipToBox(z),ee,c.easing).animate(t.effects.clipToBox(ne),ee,c.easing),de()}).animate(z,ee,c.easing).animate(ne,ee,c.easing).queue(p),t.effects.unshift(x,me,4)});/*!
+ */n.effects.define("fold","hide",function(c,m){var x=n(this),T=c.mode,b=T==="show",d=T==="hide",k=c.size||15,D=/([0-9]+)%/.exec(k),O=!!c.horizFirst,Q=O?["right","bottom"]:["bottom","right"],J=c.duration/2,X=n.effects.createPlaceholder(x),U=x.cssClip(),z={clip:n.extend({},U)},ie={clip:n.extend({},U)},de=[U[Q[0]],U[Q[1]]],me=x.queue().length;D&&(k=parseInt(D[1],10)/100*de[d?0:1]),z.clip[Q[0]]=k,ie.clip[Q[0]]=k,ie.clip[Q[1]]=0,b&&(x.cssClip(ie.clip),X&&X.css(n.effects.clipToBox(ie)),ie.clip=U),x.queue(function(pe){X&&X.animate(n.effects.clipToBox(z),J,c.easing).animate(n.effects.clipToBox(ie),J,c.easing),pe()}).animate(z,J,c.easing).animate(ie,J,c.easing).queue(m),n.effects.unshift(x,me,4)});/*!
  * jQuery UI Effects Highlight 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("highlight","show",function(c,p){var x=t(this),S={backgroundColor:x.css("backgroundColor")};c.mode==="hide"&&(S.opacity=0),t.effects.saveStyle(x),x.css({backgroundImage:"none",backgroundColor:c.color||"#ffff99"}).animate(S,{queue:!1,duration:c.duration,easing:c.easing,complete:p})});/*!
+ */n.effects.define("highlight","show",function(c,m){var x=n(this),T={backgroundColor:x.css("backgroundColor")};c.mode==="hide"&&(T.opacity=0),n.effects.saveStyle(x),x.css({backgroundImage:"none",backgroundColor:c.color||"#ffff99"}).animate(T,{queue:!1,duration:c.duration,easing:c.easing,complete:m})});/*!
  * jQuery UI Effects Size 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("size",function(c,p){var x,S,b,h=t(this),T=["fontSize"],M=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],j=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],V=c.mode,ee=V!=="effect",Z=c.scale||"both",U=c.origin||["middle","center"],z=h.css("position"),ne=h.position(),fe=t.effects.scaledDimensions(h),me=c.from||fe,de=c.to||t.effects.scaledDimensions(h,0);t.effects.createPlaceholder(h),V==="show"&&(b=me,me=de,de=b),S={from:{y:me.height/fe.height,x:me.width/fe.width},to:{y:de.height/fe.height,x:de.width/fe.width}},(Z==="box"||Z==="both")&&(S.from.y!==S.to.y&&(me=t.effects.setTransition(h,M,S.from.y,me),de=t.effects.setTransition(h,M,S.to.y,de)),S.from.x!==S.to.x&&(me=t.effects.setTransition(h,j,S.from.x,me),de=t.effects.setTransition(h,j,S.to.x,de))),(Z==="content"||Z==="both")&&S.from.y!==S.to.y&&(me=t.effects.setTransition(h,T,S.from.y,me),de=t.effects.setTransition(h,T,S.to.y,de)),U&&(x=t.effects.getBaseline(U,fe),me.top=(fe.outerHeight-me.outerHeight)*x.y+ne.top,me.left=(fe.outerWidth-me.outerWidth)*x.x+ne.left,de.top=(fe.outerHeight-de.outerHeight)*x.y+ne.top,de.left=(fe.outerWidth-de.outerWidth)*x.x+ne.left),delete me.outerHeight,delete me.outerWidth,h.css(me),(Z==="content"||Z==="both")&&(M=M.concat(["marginTop","marginBottom"]).concat(T),j=j.concat(["marginLeft","marginRight"]),h.find("*[width]").each(function(){var Oe=t(this),lt=t.effects.scaledDimensions(Oe),it={height:lt.height*S.from.y,width:lt.width*S.from.x,outerHeight:lt.outerHeight*S.from.y,outerWidth:lt.outerWidth*S.from.x},ot={height:lt.height*S.to.y,width:lt.width*S.to.x,outerHeight:lt.height*S.to.y,outerWidth:lt.width*S.to.x};S.from.y!==S.to.y&&(it=t.effects.setTransition(Oe,M,S.from.y,it),ot=t.effects.setTransition(Oe,M,S.to.y,ot)),S.from.x!==S.to.x&&(it=t.effects.setTransition(Oe,j,S.from.x,it),ot=t.effects.setTransition(Oe,j,S.to.x,ot)),ee&&t.effects.saveStyle(Oe),Oe.css(it),Oe.animate(ot,c.duration,c.easing,function(){ee&&t.effects.restoreStyle(Oe)})})),h.animate(de,{queue:!1,duration:c.duration,easing:c.easing,complete:function(){var Oe=h.offset();de.opacity===0&&h.css("opacity",me.opacity),ee||(h.css("position",z==="static"?"relative":z).offset(Oe),t.effects.saveStyle(h)),p()}})});/*!
+ */n.effects.define("size",function(c,m){var x,T,b,d=n(this),k=["fontSize"],D=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],O=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],Q=c.mode,J=Q!=="effect",X=c.scale||"both",U=c.origin||["middle","center"],z=d.css("position"),ie=d.position(),de=n.effects.scaledDimensions(d),me=c.from||de,pe=c.to||n.effects.scaledDimensions(d,0);n.effects.createPlaceholder(d),Q==="show"&&(b=me,me=pe,pe=b),T={from:{y:me.height/de.height,x:me.width/de.width},to:{y:pe.height/de.height,x:pe.width/de.width}},(X==="box"||X==="both")&&(T.from.y!==T.to.y&&(me=n.effects.setTransition(d,D,T.from.y,me),pe=n.effects.setTransition(d,D,T.to.y,pe)),T.from.x!==T.to.x&&(me=n.effects.setTransition(d,O,T.from.x,me),pe=n.effects.setTransition(d,O,T.to.x,pe))),(X==="content"||X==="both")&&T.from.y!==T.to.y&&(me=n.effects.setTransition(d,k,T.from.y,me),pe=n.effects.setTransition(d,k,T.to.y,pe)),U&&(x=n.effects.getBaseline(U,de),me.top=(de.outerHeight-me.outerHeight)*x.y+ie.top,me.left=(de.outerWidth-me.outerWidth)*x.x+ie.left,pe.top=(de.outerHeight-pe.outerHeight)*x.y+ie.top,pe.left=(de.outerWidth-pe.outerWidth)*x.x+ie.left),delete me.outerHeight,delete me.outerWidth,d.css(me),(X==="content"||X==="both")&&(D=D.concat(["marginTop","marginBottom"]).concat(k),O=O.concat(["marginLeft","marginRight"]),d.find("*[width]").each(function(){var qe=n(this),mt=n.effects.scaledDimensions(qe),st={height:mt.height*T.from.y,width:mt.width*T.from.x,outerHeight:mt.outerHeight*T.from.y,outerWidth:mt.outerWidth*T.from.x},dt={height:mt.height*T.to.y,width:mt.width*T.to.x,outerHeight:mt.height*T.to.y,outerWidth:mt.width*T.to.x};T.from.y!==T.to.y&&(st=n.effects.setTransition(qe,D,T.from.y,st),dt=n.effects.setTransition(qe,D,T.to.y,dt)),T.from.x!==T.to.x&&(st=n.effects.setTransition(qe,O,T.from.x,st),dt=n.effects.setTransition(qe,O,T.to.x,dt)),J&&n.effects.saveStyle(qe),qe.css(st),qe.animate(dt,c.duration,c.easing,function(){J&&n.effects.restoreStyle(qe)})})),d.animate(pe,{queue:!1,duration:c.duration,easing:c.easing,complete:function(){var qe=d.offset();pe.opacity===0&&d.css("opacity",me.opacity),J||(d.css("position",z==="static"?"relative":z).offset(qe),n.effects.saveStyle(d)),m()}})});/*!
  * jQuery UI Effects Scale 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("scale",function(c,p){var x=t(this),S=c.mode,b=parseInt(c.percent,10)||(parseInt(c.percent,10)===0||S!=="effect"?0:100),h=t.extend(!0,{from:t.effects.scaledDimensions(x),to:t.effects.scaledDimensions(x,b,c.direction||"both"),origin:c.origin||["middle","center"]},c);c.fade&&(h.from.opacity=1,h.to.opacity=0),t.effects.effect.size.call(this,h,p)});/*!
+ */n.effects.define("scale",function(c,m){var x=n(this),T=c.mode,b=parseInt(c.percent,10)||(parseInt(c.percent,10)===0||T!=="effect"?0:100),d=n.extend(!0,{from:n.effects.scaledDimensions(x),to:n.effects.scaledDimensions(x,b,c.direction||"both"),origin:c.origin||["middle","center"]},c);c.fade&&(d.from.opacity=1,d.to.opacity=0),n.effects.effect.size.call(this,d,m)});/*!
  * jQuery UI Effects Puff 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("puff","hide",function(c,p){var x=t.extend(!0,{},c,{fade:!0,percent:parseInt(c.percent,10)||150});t.effects.effect.scale.call(this,x,p)});/*!
+ */n.effects.define("puff","hide",function(c,m){var x=n.extend(!0,{},c,{fade:!0,percent:parseInt(c.percent,10)||150});n.effects.effect.scale.call(this,x,m)});/*!
  * jQuery UI Effects Pulsate 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("pulsate","show",function(c,p){var x=t(this),S=c.mode,b=S==="show",h=S==="hide",T=b||h,M=(c.times||5)*2+(T?1:0),j=c.duration/M,V=0,ee=1,Z=x.queue().length;for((b||!x.is(":visible"))&&(x.css("opacity",0).show(),V=1);ee<M;ee++)x.animate({opacity:V},j,c.easing),V=1-V;x.animate({opacity:V},j,c.easing),x.queue(p),t.effects.unshift(x,Z,M+1)});/*!
+ */n.effects.define("pulsate","show",function(c,m){var x=n(this),T=c.mode,b=T==="show",d=T==="hide",k=b||d,D=(c.times||5)*2+(k?1:0),O=c.duration/D,Q=0,J=1,X=x.queue().length;for((b||!x.is(":visible"))&&(x.css("opacity",0).show(),Q=1);J<D;J++)x.animate({opacity:Q},O,c.easing),Q=1-Q;x.animate({opacity:Q},O,c.easing),x.queue(m),n.effects.unshift(x,X,D+1)});/*!
  * jQuery UI Effects Shake 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("shake",function(c,p){var x=1,S=t(this),b=c.direction||"left",h=c.distance||20,T=c.times||3,M=T*2+1,j=Math.round(c.duration/M),V=b==="up"||b==="down"?"top":"left",ee=b==="up"||b==="left",Z={},U={},z={},ne=S.queue().length;for(t.effects.createPlaceholder(S),Z[V]=(ee?"-=":"+=")+h,U[V]=(ee?"+=":"-=")+h*2,z[V]=(ee?"-=":"+=")+h*2,S.animate(Z,j,c.easing);x<T;x++)S.animate(U,j,c.easing).animate(z,j,c.easing);S.animate(U,j,c.easing).animate(Z,j/2,c.easing).queue(p),t.effects.unshift(S,ne,M+1)});/*!
+ */n.effects.define("shake",function(c,m){var x=1,T=n(this),b=c.direction||"left",d=c.distance||20,k=c.times||3,D=k*2+1,O=Math.round(c.duration/D),Q=b==="up"||b==="down"?"top":"left",J=b==="up"||b==="left",X={},U={},z={},ie=T.queue().length;for(n.effects.createPlaceholder(T),X[Q]=(J?"-=":"+=")+d,U[Q]=(J?"+=":"-=")+d*2,z[Q]=(J?"-=":"+=")+d*2,T.animate(X,O,c.easing);x<k;x++)T.animate(U,O,c.easing).animate(z,O,c.easing);T.animate(U,O,c.easing).animate(X,O/2,c.easing).queue(m),n.effects.unshift(T,ie,D+1)});/*!
  * jQuery UI Effects Slide 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.effects.define("slide","show",function(c,p){var x,S,b=t(this),h={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},T=c.mode,M=c.direction||"left",j=M==="up"||M==="down"?"top":"left",V=M==="up"||M==="left",ee=c.distance||b[j==="top"?"outerHeight":"outerWidth"](!0),Z={};t.effects.createPlaceholder(b),x=b.cssClip(),S=b.position()[j],Z[j]=(V?-1:1)*ee+S,Z.clip=b.cssClip(),Z.clip[h[M][1]]=Z.clip[h[M][0]],T==="show"&&(b.cssClip(Z.clip),b.css(j,Z[j]),Z.clip=x,Z[j]=S),b.animate(Z,{queue:!1,duration:c.duration,easing:c.easing,complete:p})}),t.uiBackCompat===!0&&t.effects.define("transfer",function(c,p){t(this).transfer(c,p)});/*!
+ */n.effects.define("slide","show",function(c,m){var x,T,b=n(this),d={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},k=c.mode,D=c.direction||"left",O=D==="up"||D==="down"?"top":"left",Q=D==="up"||D==="left",J=c.distance||b[O==="top"?"outerHeight":"outerWidth"](!0),X={};n.effects.createPlaceholder(b),x=b.cssClip(),T=b.position()[O],X[O]=(Q?-1:1)*J+T,X.clip=b.cssClip(),X.clip[d[D][1]]=X.clip[d[D][0]],k==="show"&&(b.cssClip(X.clip),b.css(O,X[O]),X.clip=x,X[O]=T),b.animate(X,{queue:!1,duration:c.duration,easing:c.easing,complete:m})}),n.uiBackCompat===!0&&n.effects.define("transfer",function(c,m){n(this).transfer(c,m)});/*!
  * jQuery UI Focusable 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.ui.focusable=function(c,p){var x,S,b,h,T,M=c.nodeName.toLowerCase();return M==="area"?(x=c.parentNode,S=x.name,!c.href||!S||x.nodeName.toLowerCase()!=="map"?!1:(b=t("img[usemap='#"+S+"']"),b.length>0&&b.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(M)?(h=!c.disabled,h&&(T=t(c).closest("fieldset")[0],T&&(h=!T.disabled))):M==="a"?h=c.href||p:h=p,h&&t(c).is(":visible")&&t(c).css("visibility")==="visible")},t.extend(t.expr.pseudos,{focusable:function(c){return t.ui.focusable(c,t.attr(c,"tabindex")!=null)}}),t.ui.focusable;/*!
+ */n.ui.focusable=function(c,m){var x,T,b,d,k,D=c.nodeName.toLowerCase();return D==="area"?(x=c.parentNode,T=x.name,!c.href||!T||x.nodeName.toLowerCase()!=="map"?!1:(b=n("img[usemap='#"+T+"']"),b.length>0&&b.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(D)?(d=!c.disabled,d&&(k=n(c).closest("fieldset")[0],k&&(d=!k.disabled))):D==="a"?d=c.href||m:d=m,d&&n(c).is(":visible")&&n(c).css("visibility")==="visible")},n.extend(n.expr.pseudos,{focusable:function(c){return n.ui.focusable(c,n.attr(c,"tabindex")!=null)}}),n.ui.focusable;/*!
  * jQuery UI Form Reset Mixin 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.ui.formResetMixin={_formResetHandler:function(){var c=t(this);setTimeout(function(){var p=c.data("ui-form-reset-instances");t.each(p,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=t(this.element.prop("form")),!!this.form.length){var c=this.form.data("ui-form-reset-instances")||[];c.length||this.form.on("reset.ui-form-reset",this._formResetHandler),c.push(this),this.form.data("ui-form-reset-instances",c)}},_unbindFormResetHandler:function(){if(this.form.length){var c=this.form.data("ui-form-reset-instances");c.splice(t.inArray(this,c),1),c.length?this.form.data("ui-form-reset-instances",c):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};/*!
+ */n.ui.formResetMixin={_formResetHandler:function(){var c=n(this);setTimeout(function(){var m=c.data("ui-form-reset-instances");n.each(m,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=n(this.element.prop("form")),!!this.form.length){var c=this.form.data("ui-form-reset-instances")||[];c.length||this.form.on("reset.ui-form-reset",this._formResetHandler),c.push(this),this.form.data("ui-form-reset-instances",c)}},_unbindFormResetHandler:function(){if(this.form.length){var c=this.form.data("ui-form-reset-instances");c.splice(n.inArray(this,c),1),c.length?this.form.data("ui-form-reset-instances",c):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};/*!
  * jQuery UI Legacy jQuery Core patches 1.14.0
  * https://jqueryui.com
  *
@@ -205,391 +205,252 @@
  * Released under the MIT license.
  * https://jquery.org/license
  *
- */t.escapeSelector||(t.escapeSelector=function(c){return CSS.escape(c+"")}),(!t.fn.even||!t.fn.odd)&&t.fn.extend({even:function(){return this.filter(function(c){return c%2===0})},odd:function(){return this.filter(function(c){return c%2===1})}});/*!
+ */n.escapeSelector||(n.escapeSelector=function(c){return CSS.escape(c+"")}),(!n.fn.even||!n.fn.odd)&&n.fn.extend({even:function(){return this.filter(function(c){return c%2===0})},odd:function(){return this.filter(function(c){return c%2===1})}});/*!
  * jQuery UI Keycode 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38};/*!
+ */n.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38};/*!
  * jQuery UI Labels 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.fn.labels=function(){var c,p,x,S,b;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(S=this.eq(0).parents("label"),x=this.attr("id"),x&&(c=this.eq(0).parents().last(),b=c.add(c.length?c.siblings():this.siblings()),p="label[for='"+CSS.escape(x)+"']",S=S.add(b.find(p).addBack(p))),this.pushStack(S)):this.pushStack([])};/*!
+ */n.fn.labels=function(){var c,m,x,T,b;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(T=this.eq(0).parents("label"),x=this.attr("id"),x&&(c=this.eq(0).parents().last(),b=c.add(c.length?c.siblings():this.siblings()),m="label[for='"+CSS.escape(x)+"']",T=T.add(b.find(m).addBack(m))),this.pushStack(T)):this.pushStack([])};/*!
  * jQuery UI Scroll Parent 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.fn.scrollParent=function(c){var p=this.css("position"),x=p==="absolute",S=c?/(auto|scroll|hidden)/:/(auto|scroll)/,b=this.parents().filter(function(){var h=t(this);return x&&h.css("position")==="static"?!1:S.test(h.css("overflow")+h.css("overflow-y")+h.css("overflow-x"))}).eq(0);return p==="fixed"||!b.length?t(this[0].ownerDocument||document):b};/*!
+ */n.fn.scrollParent=function(c){var m=this.css("position"),x=m==="absolute",T=c?/(auto|scroll|hidden)/:/(auto|scroll)/,b=this.parents().filter(function(){var d=n(this);return x&&d.css("position")==="static"?!1:T.test(d.css("overflow")+d.css("overflow-y")+d.css("overflow-x"))}).eq(0);return m==="fixed"||!b.length?n(this[0].ownerDocument||document):b};/*!
  * jQuery UI Tabbable 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.extend(t.expr.pseudos,{tabbable:function(c){var p=t.attr(c,"tabindex"),x=p!=null;return(!x||p>=0)&&t.ui.focusable(c,x)}});/*!
+ */n.extend(n.expr.pseudos,{tabbable:function(c){var m=n.attr(c,"tabindex"),x=m!=null;return(!x||m>=0)&&n.ui.focusable(c,x)}});/*!
  * jQuery UI Unique ID 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.fn.extend({uniqueId:function(){var c=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++c)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}});/*!
+ */n.fn.extend({uniqueId:function(){var c=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++c)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&n(this).removeAttr("id")})}});/*!
  * jQuery UI Accordion 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.accordion",{version:"1.14.0",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(c){return c.find("> li > :first-child").add(c.find("> :not(li)").filter(function(p){return p%2===0}))},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var c=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),!c.collapsible&&(c.active===!1||c.active==null)&&(c.active=0),this._processPanels(),c.active<0&&(c.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var c,p,x=this.options.icons;x&&(c=t("<span>"),this._addClass(c,"ui-accordion-header-icon","ui-icon "+x.header),c.prependTo(this.headers),p=this.active.children(".ui-accordion-header-icon"),this._removeClass(p,x.header)._addClass(p,null,x.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var c;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),c=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),this.options.heightStyle!=="content"&&c.css("height","")},_setOption:function(c,p){if(c==="active"){this._activate(p);return}c==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(p)),this._super(c,p),c==="collapsible"&&!p&&this.options.active===!1&&this._activate(0),c==="icons"&&(this._destroyIcons(),p&&this._createIcons())},_setOptionDisabled:function(c){this._super(c),this.element.attr("aria-disabled",c),this._toggleClass(null,"ui-state-disabled",!!c)},_keydown:function(c){if(!(c.altKey||c.ctrlKey)){var p=t.ui.keyCode,x=this.headers.length,S=this.headers.index(c.target),b=!1;switch(c.keyCode){case p.RIGHT:case p.DOWN:b=this.headers[(S+1)%x];break;case p.LEFT:case p.UP:b=this.headers[(S-1+x)%x];break;case p.SPACE:case p.ENTER:this._eventHandler(c);break;case p.HOME:b=this.headers[0];break;case p.END:b=this.headers[x-1];break}b&&(t(c.target).attr("tabIndex",-1),t(b).attr("tabIndex",0),t(b).trigger("focus"),c.preventDefault())}},_panelKeyDown:function(c){c.keyCode===t.ui.keyCode.UP&&c.ctrlKey&&t(c.currentTarget).prev().trigger("focus")},refresh:function(){var c=this.options;this._processPanels(),c.active===!1&&c.collapsible===!0||!this.headers.length?(c.active=!1,this.active=t()):c.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(c.active=!1,this.active=t()):this._activate(Math.max(0,c.active-1)):c.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var c=this.headers,p=this.panels;typeof this.options.header=="function"?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),p&&(this._off(c.not(this.headers)),this._off(p.not(this.panels)))},_refresh:function(){var c,p=this.options,x=p.heightStyle,S=this.element.parent();this.active=this._findActive(p.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var b=t(this),h=b.uniqueId().attr("id"),T=b.next(),M=T.uniqueId().attr("id");b.attr("aria-controls",M),T.attr("aria-labelledby",h)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(p.event),x==="fill"?(c=S.height(),this.element.siblings(":visible").each(function(){var b=t(this),h=b.css("position");h==="absolute"||h==="fixed"||(c-=b.outerHeight(!0))}),this.headers.each(function(){c-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,c-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):x==="auto"&&(c=0,this.headers.next().each(function(){var b=t(this).is(":visible");b||t(this).show(),c=Math.max(c,t(this).css("height","").height()),b||t(this).hide()}).height(c))},_activate:function(c){var p=this._findActive(c)[0];p!==this.active[0]&&(p=p||this.active[0],this._eventHandler({target:p,currentTarget:p,preventDefault:t.noop}))},_findActive:function(c){return typeof c=="number"?this.headers.eq(c):t()},_setupEvents:function(c){var p={keydown:"_keydown"};c&&t.each(c.split(" "),function(x,S){p[S]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,p),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(c){var p,x,S=this.options,b=this.active,h=t(c.currentTarget),T=h[0]===b[0],M=T&&S.collapsible,j=M?t():h.next(),V=b.next(),ee={oldHeader:b,oldPanel:V,newHeader:M?t():h,newPanel:j};c.preventDefault(),!(T&&!S.collapsible||this._trigger("beforeActivate",c,ee)===!1)&&(S.active=M?!1:this.headers.index(h),this.active=T?t():h,this._toggle(ee),this._removeClass(b,"ui-accordion-header-active","ui-state-active"),S.icons&&(p=b.children(".ui-accordion-header-icon"),this._removeClass(p,null,S.icons.activeHeader)._addClass(p,null,S.icons.header)),T||(this._removeClass(h,"ui-accordion-header-collapsed")._addClass(h,"ui-accordion-header-active","ui-state-active"),S.icons&&(x=h.children(".ui-accordion-header-icon"),this._removeClass(x,null,S.icons.header)._addClass(x,null,S.icons.activeHeader)),this._addClass(h.next(),"ui-accordion-content-active")))},_toggle:function(c){var p=c.newPanel,x=this.prevShow.length?this.prevShow:c.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=p,this.prevHide=x,this.options.animate?this._animate(p,x,c):(x.hide(),p.show(),this._toggleComplete(c)),x.attr({"aria-hidden":"true"}),x.prev().attr({"aria-selected":"false","aria-expanded":"false"}),p.length&&x.length?x.prev().attr({tabIndex:-1,"aria-expanded":"false"}):p.length&&this.headers.filter(function(){return parseInt(t(this).attr("tabIndex"),10)===0}).attr("tabIndex",-1),p.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(c,p,x){var S,b,h,T=this,M=0,j=c.css("box-sizing"),V=c.length&&(!p.length||c.index()<p.index()),ee=this.options.animate||{},Z=V&&ee.down||ee,U=function(){T._toggleComplete(x)};if(typeof Z=="number"&&(h=Z),typeof Z=="string"&&(b=Z),b=b||Z.easing||ee.easing,h=h||Z.duration||ee.duration,!p.length)return c.animate(this.showProps,h,b,U);if(!c.length)return p.animate(this.hideProps,h,b,U);S=c.show().outerHeight(),p.animate(this.hideProps,{duration:h,easing:b,step:function(z,ne){ne.now=Math.round(z)}}),c.hide().animate(this.showProps,{duration:h,easing:b,complete:U,step:function(z,ne){ne.now=Math.round(z),ne.prop!=="height"?j==="content-box"&&(M+=ne.now):T.options.heightStyle!=="content"&&(ne.now=Math.round(S-p.outerHeight()-M),M=0)}})},_toggleComplete:function(c){var p=c.oldPanel,x=p.prev();this._removeClass(p,"ui-accordion-content-active"),this._removeClass(x,"ui-accordion-header-active")._addClass(x,"ui-accordion-header-collapsed"),this._trigger("activate",null,c)}});/*!
+ */n.widget("ui.accordion",{version:"1.14.0",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(c){return c.find("> li > :first-child").add(c.find("> :not(li)").filter(function(m){return m%2===0}))},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var c=this.options;this.prevShow=this.prevHide=n(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),!c.collapsible&&(c.active===!1||c.active==null)&&(c.active=0),this._processPanels(),c.active<0&&(c.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():n()}},_createIcons:function(){var c,m,x=this.options.icons;x&&(c=n("<span>"),this._addClass(c,"ui-accordion-header-icon","ui-icon "+x.header),c.prependTo(this.headers),m=this.active.children(".ui-accordion-header-icon"),this._removeClass(m,x.header)._addClass(m,null,x.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var c;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),c=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),this.options.heightStyle!=="content"&&c.css("height","")},_setOption:function(c,m){if(c==="active"){this._activate(m);return}c==="event"&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(m)),this._super(c,m),c==="collapsible"&&!m&&this.options.active===!1&&this._activate(0),c==="icons"&&(this._destroyIcons(),m&&this._createIcons())},_setOptionDisabled:function(c){this._super(c),this.element.attr("aria-disabled",c),this._toggleClass(null,"ui-state-disabled",!!c)},_keydown:function(c){if(!(c.altKey||c.ctrlKey)){var m=n.ui.keyCode,x=this.headers.length,T=this.headers.index(c.target),b=!1;switch(c.keyCode){case m.RIGHT:case m.DOWN:b=this.headers[(T+1)%x];break;case m.LEFT:case m.UP:b=this.headers[(T-1+x)%x];break;case m.SPACE:case m.ENTER:this._eventHandler(c);break;case m.HOME:b=this.headers[0];break;case m.END:b=this.headers[x-1];break}b&&(n(c.target).attr("tabIndex",-1),n(b).attr("tabIndex",0),n(b).trigger("focus"),c.preventDefault())}},_panelKeyDown:function(c){c.keyCode===n.ui.keyCode.UP&&c.ctrlKey&&n(c.currentTarget).prev().trigger("focus")},refresh:function(){var c=this.options;this._processPanels(),c.active===!1&&c.collapsible===!0||!this.headers.length?(c.active=!1,this.active=n()):c.active===!1?this._activate(0):this.active.length&&!n.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(c.active=!1,this.active=n()):this._activate(Math.max(0,c.active-1)):c.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var c=this.headers,m=this.panels;typeof this.options.header=="function"?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),m&&(this._off(c.not(this.headers)),this._off(m.not(this.panels)))},_refresh:function(){var c,m=this.options,x=m.heightStyle,T=this.element.parent();this.active=this._findActive(m.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var b=n(this),d=b.uniqueId().attr("id"),k=b.next(),D=k.uniqueId().attr("id");b.attr("aria-controls",D),k.attr("aria-labelledby",d)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(m.event),x==="fill"?(c=T.height(),this.element.siblings(":visible").each(function(){var b=n(this),d=b.css("position");d==="absolute"||d==="fixed"||(c-=b.outerHeight(!0))}),this.headers.each(function(){c-=n(this).outerHeight(!0)}),this.headers.next().each(function(){n(this).height(Math.max(0,c-n(this).innerHeight()+n(this).height()))}).css("overflow","auto")):x==="auto"&&(c=0,this.headers.next().each(function(){var b=n(this).is(":visible");b||n(this).show(),c=Math.max(c,n(this).css("height","").height()),b||n(this).hide()}).height(c))},_activate:function(c){var m=this._findActive(c)[0];m!==this.active[0]&&(m=m||this.active[0],this._eventHandler({target:m,currentTarget:m,preventDefault:n.noop}))},_findActive:function(c){return typeof c=="number"?this.headers.eq(c):n()},_setupEvents:function(c){var m={keydown:"_keydown"};c&&n.each(c.split(" "),function(x,T){m[T]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,m),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(c){var m,x,T=this.options,b=this.active,d=n(c.currentTarget),k=d[0]===b[0],D=k&&T.collapsible,O=D?n():d.next(),Q=b.next(),J={oldHeader:b,oldPanel:Q,newHeader:D?n():d,newPanel:O};c.preventDefault(),!(k&&!T.collapsible||this._trigger("beforeActivate",c,J)===!1)&&(T.active=D?!1:this.headers.index(d),this.active=k?n():d,this._toggle(J),this._removeClass(b,"ui-accordion-header-active","ui-state-active"),T.icons&&(m=b.children(".ui-accordion-header-icon"),this._removeClass(m,null,T.icons.activeHeader)._addClass(m,null,T.icons.header)),k||(this._removeClass(d,"ui-accordion-header-collapsed")._addClass(d,"ui-accordion-header-active","ui-state-active"),T.icons&&(x=d.children(".ui-accordion-header-icon"),this._removeClass(x,null,T.icons.header)._addClass(x,null,T.icons.activeHeader)),this._addClass(d.next(),"ui-accordion-content-active")))},_toggle:function(c){var m=c.newPanel,x=this.prevShow.length?this.prevShow:c.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=m,this.prevHide=x,this.options.animate?this._animate(m,x,c):(x.hide(),m.show(),this._toggleComplete(c)),x.attr({"aria-hidden":"true"}),x.prev().attr({"aria-selected":"false","aria-expanded":"false"}),m.length&&x.length?x.prev().attr({tabIndex:-1,"aria-expanded":"false"}):m.length&&this.headers.filter(function(){return parseInt(n(this).attr("tabIndex"),10)===0}).attr("tabIndex",-1),m.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(c,m,x){var T,b,d,k=this,D=0,O=c.css("box-sizing"),Q=c.length&&(!m.length||c.index()<m.index()),J=this.options.animate||{},X=Q&&J.down||J,U=function(){k._toggleComplete(x)};if(typeof X=="number"&&(d=X),typeof X=="string"&&(b=X),b=b||X.easing||J.easing,d=d||X.duration||J.duration,!m.length)return c.animate(this.showProps,d,b,U);if(!c.length)return m.animate(this.hideProps,d,b,U);T=c.show().outerHeight(),m.animate(this.hideProps,{duration:d,easing:b,step:function(z,ie){ie.now=Math.round(z)}}),c.hide().animate(this.showProps,{duration:d,easing:b,complete:U,step:function(z,ie){ie.now=Math.round(z),ie.prop!=="height"?O==="content-box"&&(D+=ie.now):k.options.heightStyle!=="content"&&(ie.now=Math.round(T-m.outerHeight()-D),D=0)}})},_toggleComplete:function(c){var m=c.oldPanel,x=m.prev();this._removeClass(m,"ui-accordion-content-active"),this._removeClass(x,"ui-accordion-header-active")._addClass(x,"ui-accordion-header-collapsed"),this._trigger("activate",null,c)}});/*!
  * jQuery UI Menu 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.menu",{version:"1.14.0",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(c){c.preventDefault(),this._activateItem(c)},"click .ui-menu-item":function(c){var p=t(c.target),x=t(this.document[0].activeElement);!this.mouseHandled&&p.not(".ui-state-disabled").length&&(this.select(c),c.isPropagationStopped()||(this.mouseHandled=!0),p.has(".ui-menu").length?this.expand(c):!this.element.is(":focus")&&x.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(c,p){var x=this.active||this._menuItems().first();p||this.focus(c,x)},blur:function(c){this._delay(function(){var p=!t.contains(this.element[0],this.document[0].activeElement);p&&this.collapseAll(c)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(c){this._closeOnDocumentClick(c)&&this.collapseAll(c,!0),this.mouseHandled=!1}})},_activateItem:function(c){if(!this.previousFilter&&!(c.clientX===this.lastMousePosition.x&&c.clientY===this.lastMousePosition.y)){this.lastMousePosition={x:c.clientX,y:c.clientY};var p=t(c.target).closest(".ui-menu-item"),x=t(c.currentTarget);p[0]===x[0]&&(x.is(".ui-state-active")||(this._removeClass(x.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(c,x)))}},_destroy:function(){var c=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),p=c.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),p.children().each(function(){var x=t(this);x.data("ui-menu-submenu-caret")&&x.remove()})},_keydown:function(c){var p,x,S,b,h=!0;switch(c.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(c);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(c);break;case t.ui.keyCode.HOME:this._move("first","first",c);break;case t.ui.keyCode.END:this._move("last","last",c);break;case t.ui.keyCode.UP:this.previous(c);break;case t.ui.keyCode.DOWN:this.next(c);break;case t.ui.keyCode.LEFT:this.collapse(c);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(c);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(c);break;case t.ui.keyCode.ESCAPE:this.collapse(c);break;default:h=!1,x=this.previousFilter||"",b=!1,S=c.keyCode>=96&&c.keyCode<=105?(c.keyCode-96).toString():String.fromCharCode(c.keyCode),clearTimeout(this.filterTimer),S===x?b=!0:S=x+S,p=this._filterMenuItems(S),p=b&&p.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):p,p.length||(S=String.fromCharCode(c.keyCode),p=this._filterMenuItems(S)),p.length?(this.focus(c,p),this.previousFilter=S,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}h&&c.preventDefault()},_activate:function(c){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(c):this.select(c))},refresh:function(){var c,p,x,S,b,h=this,T=this.options.icons.submenu,M=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),x=M.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var j=t(this),V=j.prev(),ee=t("<span>").data("ui-menu-submenu-caret",!0);h._addClass(ee,"ui-menu-icon","ui-icon "+T),V.attr("aria-haspopup","true").prepend(ee),j.attr("aria-labelledby",V.attr("id"))}),this._addClass(x,"ui-menu","ui-widget ui-widget-content ui-front"),c=M.add(this.element),p=c.find(this.options.items),p.not(".ui-menu-item").each(function(){var j=t(this);h._isDivider(j)&&h._addClass(j,"ui-menu-divider","ui-widget-content")}),S=p.not(".ui-menu-item, .ui-menu-divider"),b=S.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(S,"ui-menu-item")._addClass(b,"ui-menu-item-wrapper"),p.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(c,p){if(c==="icons"){var x=this.element.find(".ui-menu-icon");this._removeClass(x,null,this.options.icons.submenu)._addClass(x,null,p.submenu)}this._super(c,p)},_setOptionDisabled:function(c){this._super(c),this.element.attr("aria-disabled",String(c)),this._toggleClass(null,"ui-state-disabled",!!c)},focus:function(c,p){var x,S,b;this.blur(c,c&&c.type==="focus"),this._scrollIntoView(p),this.active=p.first(),S=this.active.children(".ui-menu-item-wrapper"),this._addClass(S,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",S.attr("id")),b=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(b,null,"ui-state-active"),c&&c.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),x=p.children(".ui-menu"),x.length&&c&&/^mouse/.test(c.type)&&this._startOpening(x),this.activeMenu=p.parent(),this._trigger("focus",c,{item:p})},_scrollIntoView:function(c){var p,x,S,b,h,T;this._hasScroll()&&(p=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,x=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,S=c.offset().top-this.activeMenu.offset().top-p-x,b=this.activeMenu.scrollTop(),h=this.activeMenu.height(),T=c.outerHeight(),S<0?this.activeMenu.scrollTop(b+S):S+T>h&&this.activeMenu.scrollTop(b+S-h+T))},blur:function(c,p){p||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",c,{item:this.active}),this.active=null)},_startOpening:function(c){clearTimeout(this.timer),c.attr("aria-hidden")==="true"&&(this.timer=this._delay(function(){this._close(),this._open(c)},this.delay))},_open:function(c){var p=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(c.parents(".ui-menu")).hide().attr("aria-hidden","true"),c.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(p)},collapseAll:function(c,p){clearTimeout(this.timer),this.timer=this._delay(function(){var x=p?this.element:t(c&&c.target).closest(this.element.find(".ui-menu"));x.length||(x=this.element),this._close(x),this.blur(c),this._removeClass(x.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=x},p?0:this.delay)},_close:function(c){c||(c=this.active?this.active.parent():this.element),c.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(c){return!t(c.target).closest(".ui-menu").length},_isDivider:function(c){return!/[^\-\u2014\u2013\s]/.test(c.text())},collapse:function(c){var p=this.active&&this.active.parent().closest(".ui-menu-item",this.element);p&&p.length&&(this._close(),this.focus(c,p))},expand:function(c){var p=this.active&&this._menuItems(this.active.children(".ui-menu")).first();p&&p.length&&(this._open(p.parent()),this._delay(function(){this.focus(c,p)}))},next:function(c){this._move("next","first",c)},previous:function(c){this._move("prev","last",c)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(c){return(c||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(c,p,x){var S;this.active&&(c==="first"||c==="last"?S=this.active[c==="first"?"prevAll":"nextAll"](".ui-menu-item").last():S=this.active[c+"All"](".ui-menu-item").first()),(!S||!S.length||!this.active)&&(S=this._menuItems(this.activeMenu)[p]()),this.focus(x,S)},nextPage:function(c){var p,x,S;if(!this.active){this.next(c);return}this.isLastItem()||(this._hasScroll()?(x=this.active.offset().top,S=this.element.innerHeight(),t.fn.jquery.indexOf("3.2.")===0&&(S+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return p=t(this),p.offset().top-x-S<0}),this.focus(c,p)):this.focus(c,this._menuItems(this.activeMenu)[this.active?"last":"first"]()))},previousPage:function(c){var p,x,S;if(!this.active){this.next(c);return}this.isFirstItem()||(this._hasScroll()?(x=this.active.offset().top,S=this.element.innerHeight(),t.fn.jquery.indexOf("3.2.")===0&&(S+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return p=t(this),p.offset().top-x+S>0}),this.focus(c,p)):this.focus(c,this._menuItems(this.activeMenu).first()))},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(c){this.active=this.active||t(c.target).closest(".ui-menu-item");var p={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(c,!0),this._trigger("select",c,p)},_filterMenuItems:function(c){var p=c.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),x=new RegExp("^"+p,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return x.test(String.prototype.trim.call(t(this).children(".ui-menu-item-wrapper").text()))})}});/*!
+ */n.widget("ui.menu",{version:"1.14.0",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(c){c.preventDefault(),this._activateItem(c)},"click .ui-menu-item":function(c){var m=n(c.target),x=n(this.document[0].activeElement);!this.mouseHandled&&m.not(".ui-state-disabled").length&&(this.select(c),c.isPropagationStopped()||(this.mouseHandled=!0),m.has(".ui-menu").length?this.expand(c):!this.element.is(":focus")&&x.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&this.active.parents(".ui-menu").length===1&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(c,m){var x=this.active||this._menuItems().first();m||this.focus(c,x)},blur:function(c){this._delay(function(){var m=!n.contains(this.element[0],this.document[0].activeElement);m&&this.collapseAll(c)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(c){this._closeOnDocumentClick(c)&&this.collapseAll(c,!0),this.mouseHandled=!1}})},_activateItem:function(c){if(!this.previousFilter&&!(c.clientX===this.lastMousePosition.x&&c.clientY===this.lastMousePosition.y)){this.lastMousePosition={x:c.clientX,y:c.clientY};var m=n(c.target).closest(".ui-menu-item"),x=n(c.currentTarget);m[0]===x[0]&&(x.is(".ui-state-active")||(this._removeClass(x.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(c,x)))}},_destroy:function(){var c=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),m=c.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),m.children().each(function(){var x=n(this);x.data("ui-menu-submenu-caret")&&x.remove()})},_keydown:function(c){var m,x,T,b,d=!0;switch(c.keyCode){case n.ui.keyCode.PAGE_UP:this.previousPage(c);break;case n.ui.keyCode.PAGE_DOWN:this.nextPage(c);break;case n.ui.keyCode.HOME:this._move("first","first",c);break;case n.ui.keyCode.END:this._move("last","last",c);break;case n.ui.keyCode.UP:this.previous(c);break;case n.ui.keyCode.DOWN:this.next(c);break;case n.ui.keyCode.LEFT:this.collapse(c);break;case n.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(c);break;case n.ui.keyCode.ENTER:case n.ui.keyCode.SPACE:this._activate(c);break;case n.ui.keyCode.ESCAPE:this.collapse(c);break;default:d=!1,x=this.previousFilter||"",b=!1,T=c.keyCode>=96&&c.keyCode<=105?(c.keyCode-96).toString():String.fromCharCode(c.keyCode),clearTimeout(this.filterTimer),T===x?b=!0:T=x+T,m=this._filterMenuItems(T),m=b&&m.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):m,m.length||(T=String.fromCharCode(c.keyCode),m=this._filterMenuItems(T)),m.length?(this.focus(c,m),this.previousFilter=T,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}d&&c.preventDefault()},_activate:function(c){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(c):this.select(c))},refresh:function(){var c,m,x,T,b,d=this,k=this.options.icons.submenu,D=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),x=D.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var O=n(this),Q=O.prev(),J=n("<span>").data("ui-menu-submenu-caret",!0);d._addClass(J,"ui-menu-icon","ui-icon "+k),Q.attr("aria-haspopup","true").prepend(J),O.attr("aria-labelledby",Q.attr("id"))}),this._addClass(x,"ui-menu","ui-widget ui-widget-content ui-front"),c=D.add(this.element),m=c.find(this.options.items),m.not(".ui-menu-item").each(function(){var O=n(this);d._isDivider(O)&&d._addClass(O,"ui-menu-divider","ui-widget-content")}),T=m.not(".ui-menu-item, .ui-menu-divider"),b=T.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(T,"ui-menu-item")._addClass(b,"ui-menu-item-wrapper"),m.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!n.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(c,m){if(c==="icons"){var x=this.element.find(".ui-menu-icon");this._removeClass(x,null,this.options.icons.submenu)._addClass(x,null,m.submenu)}this._super(c,m)},_setOptionDisabled:function(c){this._super(c),this.element.attr("aria-disabled",String(c)),this._toggleClass(null,"ui-state-disabled",!!c)},focus:function(c,m){var x,T,b;this.blur(c,c&&c.type==="focus"),this._scrollIntoView(m),this.active=m.first(),T=this.active.children(".ui-menu-item-wrapper"),this._addClass(T,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",T.attr("id")),b=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(b,null,"ui-state-active"),c&&c.type==="keydown"?this._close():this.timer=this._delay(function(){this._close()},this.delay),x=m.children(".ui-menu"),x.length&&c&&/^mouse/.test(c.type)&&this._startOpening(x),this.activeMenu=m.parent(),this._trigger("focus",c,{item:m})},_scrollIntoView:function(c){var m,x,T,b,d,k;this._hasScroll()&&(m=parseFloat(n.css(this.activeMenu[0],"borderTopWidth"))||0,x=parseFloat(n.css(this.activeMenu[0],"paddingTop"))||0,T=c.offset().top-this.activeMenu.offset().top-m-x,b=this.activeMenu.scrollTop(),d=this.activeMenu.height(),k=c.outerHeight(),T<0?this.activeMenu.scrollTop(b+T):T+k>d&&this.activeMenu.scrollTop(b+T-d+k))},blur:function(c,m){m||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",c,{item:this.active}),this.active=null)},_startOpening:function(c){clearTimeout(this.timer),c.attr("aria-hidden")==="true"&&(this.timer=this._delay(function(){this._close(),this._open(c)},this.delay))},_open:function(c){var m=n.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(c.parents(".ui-menu")).hide().attr("aria-hidden","true"),c.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(m)},collapseAll:function(c,m){clearTimeout(this.timer),this.timer=this._delay(function(){var x=m?this.element:n(c&&c.target).closest(this.element.find(".ui-menu"));x.length||(x=this.element),this._close(x),this.blur(c),this._removeClass(x.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=x},m?0:this.delay)},_close:function(c){c||(c=this.active?this.active.parent():this.element),c.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(c){return!n(c.target).closest(".ui-menu").length},_isDivider:function(c){return!/[^\-\u2014\u2013\s]/.test(c.text())},collapse:function(c){var m=this.active&&this.active.parent().closest(".ui-menu-item",this.element);m&&m.length&&(this._close(),this.focus(c,m))},expand:function(c){var m=this.active&&this._menuItems(this.active.children(".ui-menu")).first();m&&m.length&&(this._open(m.parent()),this._delay(function(){this.focus(c,m)}))},next:function(c){this._move("next","first",c)},previous:function(c){this._move("prev","last",c)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(c){return(c||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(c,m,x){var T;this.active&&(c==="first"||c==="last"?T=this.active[c==="first"?"prevAll":"nextAll"](".ui-menu-item").last():T=this.active[c+"All"](".ui-menu-item").first()),(!T||!T.length||!this.active)&&(T=this._menuItems(this.activeMenu)[m]()),this.focus(x,T)},nextPage:function(c){var m,x,T;if(!this.active){this.next(c);return}this.isLastItem()||(this._hasScroll()?(x=this.active.offset().top,T=this.element.innerHeight(),n.fn.jquery.indexOf("3.2.")===0&&(T+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return m=n(this),m.offset().top-x-T<0}),this.focus(c,m)):this.focus(c,this._menuItems(this.activeMenu)[this.active?"last":"first"]()))},previousPage:function(c){var m,x,T;if(!this.active){this.next(c);return}this.isFirstItem()||(this._hasScroll()?(x=this.active.offset().top,T=this.element.innerHeight(),n.fn.jquery.indexOf("3.2.")===0&&(T+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return m=n(this),m.offset().top-x+T>0}),this.focus(c,m)):this.focus(c,this._menuItems(this.activeMenu).first()))},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(c){this.active=this.active||n(c.target).closest(".ui-menu-item");var m={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(c,!0),this._trigger("select",c,m)},_filterMenuItems:function(c){var m=c.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),x=new RegExp("^"+m,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return x.test(String.prototype.trim.call(n(this).children(".ui-menu-item-wrapper").text()))})}});/*!
  * jQuery UI Autocomplete 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.autocomplete",{version:"1.14.0",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var c,p,x,S=this.element[0].nodeName.toLowerCase(),b=S==="textarea",h=S==="input";this.isMultiLine=b||!h&&this.element.prop("contentEditable")==="true",this.valueMethod=this.element[b||h?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(T){if(this.element.prop("readOnly")){c=!0,x=!0,p=!0;return}c=!1,x=!1,p=!1;var M=t.ui.keyCode;switch(T.keyCode){case M.PAGE_UP:c=!0,this._move("previousPage",T);break;case M.PAGE_DOWN:c=!0,this._move("nextPage",T);break;case M.UP:c=!0,this._keyEvent("previous",T);break;case M.DOWN:c=!0,this._keyEvent("next",T);break;case M.ENTER:this.menu.active&&(c=!0,T.preventDefault(),this.menu.select(T));break;case M.TAB:this.menu.active&&this.menu.select(T);break;case M.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(T),T.preventDefault());break;default:p=!0,this._searchTimeout(T);break}},keypress:function(T){if(c){c=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&T.preventDefault();return}if(!p){var M=t.ui.keyCode;switch(T.keyCode){case M.PAGE_UP:this._move("previousPage",T);break;case M.PAGE_DOWN:this._move("nextPage",T);break;case M.UP:this._keyEvent("previous",T);break;case M.DOWN:this._keyEvent("next",T);break}}},input:function(T){if(x){x=!1,T.preventDefault();return}this._searchTimeout(T)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(T){clearTimeout(this.searching),this.close(T),this._change(T)}}),this._initSource(),this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(T){T.preventDefault()},menufocus:function(T,M){var j,V;if(this.isNewMenu&&(this.isNewMenu=!1,T.originalEvent&&/^mouse/.test(T.originalEvent.type))){this.menu.blur(),this.document.one("mousemove",function(){t(T.target).trigger(T.originalEvent)});return}V=M.item.data("ui-autocomplete-item"),this._trigger("focus",T,{item:V})!==!1&&T.originalEvent&&/^key/.test(T.originalEvent.type)&&this._value(V.value),j=M.item.attr("aria-label")||V.value,j&&String.prototype.trim.call(j).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(t("<div>").text(j))},100))},menuselect:function(T,M){var j=M.item.data("ui-autocomplete-item"),V=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=V),this._trigger("select",T,{item:j})!==!1&&this._value(j.value),this.term=this._value(),this.close(T),this.selectedItem=j}}),this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(c,p){this._super(c,p),c==="source"&&this._initSource(),c==="appendTo"&&this.menu.element.appendTo(this._appendTo()),c==="disabled"&&p&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(c){var p=this.menu.element[0];return c.target===this.element[0]||c.target===p||t.contains(p,c.target)},_closeOnClickOutside:function(c){this._isEventTargetInWidget(c)||this.close()},_appendTo:function(){var c=this.options.appendTo;return c&&(c=c.jquery||c.nodeType?t(c):this.document.find(c).eq(0)),(!c||!c[0])&&(c=this.element.closest(".ui-front, dialog")),c.length||(c=this.document[0].body),c},_initSource:function(){var c,p,x=this;Array.isArray(this.options.source)?(c=this.options.source,this.source=function(S,b){b(t.ui.autocomplete.filter(c,S.term))}):typeof this.options.source=="string"?(p=this.options.source,this.source=function(S,b){x.xhr&&x.xhr.abort(),x.xhr=t.ajax({url:p,data:S,dataType:"json",success:function(h){b(h)},error:function(){b([])}})}):this.source=this.options.source},_searchTimeout:function(c){clearTimeout(this.searching),this.searching=this._delay(function(){var p=this.term===this._value(),x=this.menu.element.is(":visible"),S=c.altKey||c.ctrlKey||c.metaKey||c.shiftKey;(!p||p&&!x&&!S)&&(this.selectedItem=null,this.search(null,c))},this.options.delay)},search:function(c,p){if(c=c??this._value(),this.term=this._value(),c.length<this.options.minLength)return this.close(p);if(this._trigger("search",p)!==!1)return this._search(c)},_search:function(c){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:c},this._response())},_response:function(){var c=++this.requestIndex;return(function(p){c===this.requestIndex&&this.__response(p),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}).bind(this)},__response:function(c){c&&(c=this._normalize(c)),this._trigger("response",null,{content:c}),!this.options.disabled&&c&&c.length&&!this.cancelSearch?(this._suggest(c),this._trigger("open")):this._close()},close:function(c){this.cancelSearch=!0,this._close(c)},_close:function(c){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",c))},_change:function(c){this.previous!==this._value()&&this._trigger("change",c,{item:this.selectedItem})},_normalize:function(c){return c.length&&c[0].label&&c[0].value?c:t.map(c,function(p){return typeof p=="string"?{label:p,value:p}:t.extend({},p,{label:p.label||p.value,value:p.value||p.label})})},_suggest:function(c){var p=this.menu.element.empty();this._renderMenu(p,c),this.isNewMenu=!0,this.menu.refresh(),p.show(),this._resizeMenu(),p.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var c=this.menu.element;c.outerWidth(Math.max(c.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(c,p){var x=this;t.each(p,function(S,b){x._renderItemData(c,b)})},_renderItemData:function(c,p){return this._renderItem(c,p).data("ui-autocomplete-item",p)},_renderItem:function(c,p){return t("<li>").append(t("<div>").text(p.label)).appendTo(c)},_move:function(c,p){if(!this.menu.element.is(":visible")){this.search(null,p);return}if(this.menu.isFirstItem()&&/^previous/.test(c)||this.menu.isLastItem()&&/^next/.test(c)){this.isMultiLine||this._value(this.term),this.menu.blur();return}this.menu[c](p)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(c,p){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(c,p),p.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(c){return c.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(c,p){var x=new RegExp(t.ui.autocomplete.escapeRegex(p),"i");return t.grep(c,function(S){return x.test(S.label||S.value||S)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(c){return c+(c>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(c){var p;this._superApply(arguments),!(this.options.disabled||this.cancelSearch)&&(c&&c.length?p=this.options.messages.results(c.length):p=this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(t("<div>").text(p))},100))}}),t.ui.autocomplete;/*!
+ */n.widget("ui.autocomplete",{version:"1.14.0",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var c,m,x,T=this.element[0].nodeName.toLowerCase(),b=T==="textarea",d=T==="input";this.isMultiLine=b||!d&&this.element.prop("contentEditable")==="true",this.valueMethod=this.element[b||d?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(k){if(this.element.prop("readOnly")){c=!0,x=!0,m=!0;return}c=!1,x=!1,m=!1;var D=n.ui.keyCode;switch(k.keyCode){case D.PAGE_UP:c=!0,this._move("previousPage",k);break;case D.PAGE_DOWN:c=!0,this._move("nextPage",k);break;case D.UP:c=!0,this._keyEvent("previous",k);break;case D.DOWN:c=!0,this._keyEvent("next",k);break;case D.ENTER:this.menu.active&&(c=!0,k.preventDefault(),this.menu.select(k));break;case D.TAB:this.menu.active&&this.menu.select(k);break;case D.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(k),k.preventDefault());break;default:m=!0,this._searchTimeout(k);break}},keypress:function(k){if(c){c=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&k.preventDefault();return}if(!m){var D=n.ui.keyCode;switch(k.keyCode){case D.PAGE_UP:this._move("previousPage",k);break;case D.PAGE_DOWN:this._move("nextPage",k);break;case D.UP:this._keyEvent("previous",k);break;case D.DOWN:this._keyEvent("next",k);break}}},input:function(k){if(x){x=!1,k.preventDefault();return}this._searchTimeout(k)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(k){clearTimeout(this.searching),this.close(k),this._change(k)}}),this._initSource(),this.menu=n("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(k){k.preventDefault()},menufocus:function(k,D){var O,Q;if(this.isNewMenu&&(this.isNewMenu=!1,k.originalEvent&&/^mouse/.test(k.originalEvent.type))){this.menu.blur(),this.document.one("mousemove",function(){n(k.target).trigger(k.originalEvent)});return}Q=D.item.data("ui-autocomplete-item"),this._trigger("focus",k,{item:Q})!==!1&&k.originalEvent&&/^key/.test(k.originalEvent.type)&&this._value(Q.value),O=D.item.attr("aria-label")||Q.value,O&&String.prototype.trim.call(O).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(n("<div>").text(O))},100))},menuselect:function(k,D){var O=D.item.data("ui-autocomplete-item"),Q=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=Q),this._trigger("select",k,{item:O})!==!1&&this._value(O.value),this.term=this._value(),this.close(k),this.selectedItem=O}}),this.liveRegion=n("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(c,m){this._super(c,m),c==="source"&&this._initSource(),c==="appendTo"&&this.menu.element.appendTo(this._appendTo()),c==="disabled"&&m&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(c){var m=this.menu.element[0];return c.target===this.element[0]||c.target===m||n.contains(m,c.target)},_closeOnClickOutside:function(c){this._isEventTargetInWidget(c)||this.close()},_appendTo:function(){var c=this.options.appendTo;return c&&(c=c.jquery||c.nodeType?n(c):this.document.find(c).eq(0)),(!c||!c[0])&&(c=this.element.closest(".ui-front, dialog")),c.length||(c=this.document[0].body),c},_initSource:function(){var c,m,x=this;Array.isArray(this.options.source)?(c=this.options.source,this.source=function(T,b){b(n.ui.autocomplete.filter(c,T.term))}):typeof this.options.source=="string"?(m=this.options.source,this.source=function(T,b){x.xhr&&x.xhr.abort(),x.xhr=n.ajax({url:m,data:T,dataType:"json",success:function(d){b(d)},error:function(){b([])}})}):this.source=this.options.source},_searchTimeout:function(c){clearTimeout(this.searching),this.searching=this._delay(function(){var m=this.term===this._value(),x=this.menu.element.is(":visible"),T=c.altKey||c.ctrlKey||c.metaKey||c.shiftKey;(!m||m&&!x&&!T)&&(this.selectedItem=null,this.search(null,c))},this.options.delay)},search:function(c,m){if(c=c??this._value(),this.term=this._value(),c.length<this.options.minLength)return this.close(m);if(this._trigger("search",m)!==!1)return this._search(c)},_search:function(c){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:c},this._response())},_response:function(){var c=++this.requestIndex;return(function(m){c===this.requestIndex&&this.__response(m),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}).bind(this)},__response:function(c){c&&(c=this._normalize(c)),this._trigger("response",null,{content:c}),!this.options.disabled&&c&&c.length&&!this.cancelSearch?(this._suggest(c),this._trigger("open")):this._close()},close:function(c){this.cancelSearch=!0,this._close(c)},_close:function(c){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",c))},_change:function(c){this.previous!==this._value()&&this._trigger("change",c,{item:this.selectedItem})},_normalize:function(c){return c.length&&c[0].label&&c[0].value?c:n.map(c,function(m){return typeof m=="string"?{label:m,value:m}:n.extend({},m,{label:m.label||m.value,value:m.value||m.label})})},_suggest:function(c){var m=this.menu.element.empty();this._renderMenu(m,c),this.isNewMenu=!0,this.menu.refresh(),m.show(),this._resizeMenu(),m.position(n.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var c=this.menu.element;c.outerWidth(Math.max(c.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(c,m){var x=this;n.each(m,function(T,b){x._renderItemData(c,b)})},_renderItemData:function(c,m){return this._renderItem(c,m).data("ui-autocomplete-item",m)},_renderItem:function(c,m){return n("<li>").append(n("<div>").text(m.label)).appendTo(c)},_move:function(c,m){if(!this.menu.element.is(":visible")){this.search(null,m);return}if(this.menu.isFirstItem()&&/^previous/.test(c)||this.menu.isLastItem()&&/^next/.test(c)){this.isMultiLine||this._value(this.term),this.menu.blur();return}this.menu[c](m)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(c,m){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(c,m),m.preventDefault())}}),n.extend(n.ui.autocomplete,{escapeRegex:function(c){return c.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(c,m){var x=new RegExp(n.ui.autocomplete.escapeRegex(m),"i");return n.grep(c,function(T){return x.test(T.label||T.value||T)})}}),n.widget("ui.autocomplete",n.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(c){return c+(c>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(c){var m;this._superApply(arguments),!(this.options.disabled||this.cancelSearch)&&(c&&c.length?m=this.options.messages.results(c.length):m=this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(n("<div>").text(m))},100))}}),n.ui.autocomplete;/*!
  * jQuery UI Controlgroup 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */var ue=/ui-corner-([a-z]){2,6}/g;t.widget("ui.controlgroup",{version:"1.14.0",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var c=this,p=[];t.each(this.options.items,function(x,S){var b,h={};if(S){if(x==="controlgroupLabel"){b=c.element.find(S),b.each(function(){var T=t(this);T.children(".ui-controlgroup-label-contents").length||T.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),c._addClass(b,null,"ui-widget ui-widget-content ui-state-default"),p=p.concat(b.get());return}t.fn[x]&&(c["_"+x+"Options"]?h=c["_"+x+"Options"]("middle"):h={classes:{}},c.element.find(S).each(function(){var T=t(this),M=T[x]("instance"),j=t.widget.extend({},h);if(!(x==="button"&&T.parent(".ui-spinner").length)){M||(M=T[x]()[x]("instance")),M&&(j.classes=c._resolveClassesValues(j.classes,M)),T[x](j);var V=T[x]("widget");t.data(V[0],"ui-controlgroup-data",M||T[x]("instance")),p.push(V[0])}}))}}),this.childWidgets=t(t.uniqueSort(p)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(c){this.childWidgets.each(function(){var p=t(this),x=p.data("ui-controlgroup-data");x&&x[c]&&x[c]()})},_updateCornerClass:function(c,p){var x="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",S=this._buildSimpleOptions(p,"label").classes.label;this._removeClass(c,null,x),this._addClass(c,null,S)},_buildSimpleOptions:function(c,p){var x=this.options.direction==="vertical",S={classes:{}};return S.classes[p]={middle:"",first:"ui-corner-"+(x?"top":"left"),last:"ui-corner-"+(x?"bottom":"right"),only:"ui-corner-all"}[c],S},_spinnerOptions:function(c){var p=this._buildSimpleOptions(c,"ui-spinner");return p.classes["ui-spinner-up"]="",p.classes["ui-spinner-down"]="",p},_buttonOptions:function(c){return this._buildSimpleOptions(c,"ui-button")},_checkboxradioOptions:function(c){return this._buildSimpleOptions(c,"ui-checkboxradio-label")},_selectmenuOptions:function(c){var p=this.options.direction==="vertical";return{width:p?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(p?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(p?"top":"left")},last:{"ui-selectmenu-button-open":p?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(p?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[c]}},_resolveClassesValues:function(c,p){var x={};return t.each(c,function(S){var b=p.options.classes[S]||"";b=String.prototype.trim.call(b.replace(ue,"")),x[S]=(b+" "+c[S]).replace(/\s+/g," ")}),x},_setOption:function(c,p){if(c==="direction"&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(c,p),c==="disabled"){this._callChildMethod(p?"disable":"enable");return}this.refresh()},refresh:function(){var c,p=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),this.options.direction==="horizontal"&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),c=this.childWidgets,this.options.onlyVisible&&(c=c.filter(":visible")),c.length&&(t.each(["first","last"],function(x,S){var b=c[S]().data("ui-controlgroup-data");if(b&&p["_"+b.widgetName+"Options"]){var h=p["_"+b.widgetName+"Options"](c.length===1?"only":S);h.classes=p._resolveClassesValues(h.classes,b),b.element[b.widgetName](h)}else p._updateCornerClass(c[S](),S)}),this._callChildMethod("refresh"))}});/*!
+ */var fe=/ui-corner-([a-z]){2,6}/g;n.widget("ui.controlgroup",{version:"1.14.0",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var c=this,m=[];n.each(this.options.items,function(x,T){var b,d={};if(T){if(x==="controlgroupLabel"){b=c.element.find(T),b.each(function(){var k=n(this);k.children(".ui-controlgroup-label-contents").length||k.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),c._addClass(b,null,"ui-widget ui-widget-content ui-state-default"),m=m.concat(b.get());return}n.fn[x]&&(c["_"+x+"Options"]?d=c["_"+x+"Options"]("middle"):d={classes:{}},c.element.find(T).each(function(){var k=n(this),D=k[x]("instance"),O=n.widget.extend({},d);if(!(x==="button"&&k.parent(".ui-spinner").length)){D||(D=k[x]()[x]("instance")),D&&(O.classes=c._resolveClassesValues(O.classes,D)),k[x](O);var Q=k[x]("widget");n.data(Q[0],"ui-controlgroup-data",D||k[x]("instance")),m.push(Q[0])}}))}}),this.childWidgets=n(n.uniqueSort(m)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(c){this.childWidgets.each(function(){var m=n(this),x=m.data("ui-controlgroup-data");x&&x[c]&&x[c]()})},_updateCornerClass:function(c,m){var x="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",T=this._buildSimpleOptions(m,"label").classes.label;this._removeClass(c,null,x),this._addClass(c,null,T)},_buildSimpleOptions:function(c,m){var x=this.options.direction==="vertical",T={classes:{}};return T.classes[m]={middle:"",first:"ui-corner-"+(x?"top":"left"),last:"ui-corner-"+(x?"bottom":"right"),only:"ui-corner-all"}[c],T},_spinnerOptions:function(c){var m=this._buildSimpleOptions(c,"ui-spinner");return m.classes["ui-spinner-up"]="",m.classes["ui-spinner-down"]="",m},_buttonOptions:function(c){return this._buildSimpleOptions(c,"ui-button")},_checkboxradioOptions:function(c){return this._buildSimpleOptions(c,"ui-checkboxradio-label")},_selectmenuOptions:function(c){var m=this.options.direction==="vertical";return{width:m?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(m?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(m?"top":"left")},last:{"ui-selectmenu-button-open":m?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(m?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[c]}},_resolveClassesValues:function(c,m){var x={};return n.each(c,function(T){var b=m.options.classes[T]||"";b=String.prototype.trim.call(b.replace(fe,"")),x[T]=(b+" "+c[T]).replace(/\s+/g," ")}),x},_setOption:function(c,m){if(c==="direction"&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(c,m),c==="disabled"){this._callChildMethod(m?"disable":"enable");return}this.refresh()},refresh:function(){var c,m=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),this.options.direction==="horizontal"&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),c=this.childWidgets,this.options.onlyVisible&&(c=c.filter(":visible")),c.length&&(n.each(["first","last"],function(x,T){var b=c[T]().data("ui-controlgroup-data");if(b&&m["_"+b.widgetName+"Options"]){var d=m["_"+b.widgetName+"Options"](c.length===1?"only":T);d.classes=m._resolveClassesValues(d.classes,b),b.element[b.widgetName](d)}else m._updateCornerClass(c[T](),T)}),this._callChildMethod("refresh"))}});/*!
  * jQuery UI Checkboxradio 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.14.0",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var c,p,x,S=this._super()||{};return this._readType(),p=this.element.labels(),this.label=t(p[p.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",x=this.label.contents().not(this.element[0]),x.length&&(this.originalLabel+=x.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(S.label=this.originalLabel),c=this.element[0].disabled,c!=null&&(S.disabled=c),S},_create:function(){var c=this.element[0].checked;this._bindFormResetHandler(),this.options.disabled==null&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),this.type==="radio"&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),c&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var c=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,(c!=="input"||!/radio|checkbox/.test(this.type))&&t.error("Can't create checkboxradio on element.nodeName="+c+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var c,p=this.element[0].name,x="input[name='"+CSS.escape(p)+"']";return p?(this.form.length?c=t(this.form[0].elements).filter(x):c=t(x).filter(function(){return t(t(this).prop("form")).length===0}),c.not(this.element)):t([])},_toggleClasses:function(){var c=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",c),this.options.icon&&this.type==="checkbox"&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",c)._toggleClass(this.icon,null,"ui-icon-blank",!c),this.type==="radio"&&this._getRadioGroup().each(function(){var p=t(this).checkboxradio("instance");p&&p._removeClass(p.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(c,p){if(!(c==="label"&&!p)){if(this._super(c,p),c==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",p),this.element[0].disabled=p;return}this.refresh()}},_updateIcon:function(c){var p="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t("<span>"),this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),this.type==="checkbox"?(p+=c?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,c?"ui-icon-blank":"ui-icon-check")):p+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",p),c||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):this.icon!==void 0&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var c=this.label.contents().not(this.element[0]);this.icon&&(c=c.not(this.icon[0])),this.iconSpace&&(c=c.not(this.iconSpace[0])),c.remove(),this.label.append(this.options.label)},refresh:function(){var c=this.element[0].checked,p=this.element[0].disabled;this._updateIcon(c),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",c),this.options.label!==null&&this._updateLabel(),p!==this.options.disabled&&this._setOptions({disabled:p})}}]),t.ui.checkboxradio;/*!
+ */n.widget("ui.checkboxradio",[n.ui.formResetMixin,{version:"1.14.0",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var c,m,x,T=this._super()||{};return this._readType(),m=this.element.labels(),this.label=n(m[m.length-1]),this.label.length||n.error("No label found for checkboxradio widget"),this.originalLabel="",x=this.label.contents().not(this.element[0]),x.length&&(this.originalLabel+=x.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(T.label=this.originalLabel),c=this.element[0].disabled,c!=null&&(T.disabled=c),T},_create:function(){var c=this.element[0].checked;this._bindFormResetHandler(),this.options.disabled==null&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),this.type==="radio"&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),c&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var c=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,(c!=="input"||!/radio|checkbox/.test(this.type))&&n.error("Can't create checkboxradio on element.nodeName="+c+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var c,m=this.element[0].name,x="input[name='"+CSS.escape(m)+"']";return m?(this.form.length?c=n(this.form[0].elements).filter(x):c=n(x).filter(function(){return n(n(this).prop("form")).length===0}),c.not(this.element)):n([])},_toggleClasses:function(){var c=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",c),this.options.icon&&this.type==="checkbox"&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",c)._toggleClass(this.icon,null,"ui-icon-blank",!c),this.type==="radio"&&this._getRadioGroup().each(function(){var m=n(this).checkboxradio("instance");m&&m._removeClass(m.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(c,m){if(!(c==="label"&&!m)){if(this._super(c,m),c==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",m),this.element[0].disabled=m;return}this.refresh()}},_updateIcon:function(c){var m="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=n("<span>"),this.iconSpace=n("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),this.type==="checkbox"?(m+=c?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,c?"ui-icon-blank":"ui-icon-check")):m+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",m),c||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):this.icon!==void 0&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var c=this.label.contents().not(this.element[0]);this.icon&&(c=c.not(this.icon[0])),this.iconSpace&&(c=c.not(this.iconSpace[0])),c.remove(),this.label.append(this.options.label)},refresh:function(){var c=this.element[0].checked,m=this.element[0].disabled;this._updateIcon(c),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",c),this.options.label!==null&&this._updateLabel(),m!==this.options.disabled&&this._setOptions({disabled:m})}}]),n.ui.checkboxradio;/*!
  * jQuery UI Button 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.button",{version:"1.14.0",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var c,p=this._super()||{};return this.isInput=this.element.is("input"),c=this.element[0].disabled,c!=null&&(p.disabled=c),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(p.label=this.originalLabel),p},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),this.options.disabled==null&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(c){c.keyCode===t.ui.keyCode.SPACE&&(c.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),!this.options.showLabel&&!this.title&&this.element.attr("title",this.options.label)},_updateIcon:function(c,p){var x=c!=="iconPosition",S=x?this.options.iconPosition:p,b=S==="top"||S==="bottom";this.icon?x&&this._removeClass(this.icon,null,this.options.icon):(this.icon=t("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),x&&this._addClass(this.icon,null,p),this._attachIcon(S),b?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(S))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(c){this.icon[/^(?:end|bottom)/.test(c)?"before":"after"](this.iconSpace)},_attachIcon:function(c){this.element[/^(?:end|bottom)/.test(c)?"append":"prepend"](this.icon)},_setOptions:function(c){var p=c.showLabel===void 0?this.options.showLabel:c.showLabel,x=c.icon===void 0?this.options.icon:c.icon;!p&&!x&&(c.showLabel=!0),this._super(c)},_setOption:function(c,p){c==="icon"&&(p?this._updateIcon(c,p):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),c==="iconPosition"&&this._updateIcon(c,p),c==="showLabel"&&(this._toggleClass("ui-button-icon-only",null,!p),this._updateTooltip()),c==="label"&&(this.isInput?this.element.val(p):(this.element.html(p),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(c,p),c==="disabled"&&(this._toggleClass(null,"ui-state-disabled",p),this.element[0].disabled=p,p&&this.element.trigger("blur"))},refresh:function(){var c=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");c!==this.options.disabled&&this._setOptions({disabled:c}),this._updateTooltip()}}),t.uiBackCompat===!0&&(t.widget("ui.button",t.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),!this.options.icon&&(this.options.icons.primary||this.options.icons.secondary)?this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"):this.options.icon&&(this.options.icons.primary=this.options.icon),this._super()},_setOption:function(c,p){if(c==="text"){this._super("showLabel",p);return}c==="showLabel"&&(this.options.text=p),c==="icon"&&(this.options.icons.primary=p),c==="icons"&&(p.primary?(this._super("icon",p.primary),this._super("iconPosition","beginning")):p.secondary&&(this._super("icon",p.secondary),this._super("iconPosition","end"))),this._superApply(arguments)}}),t.fn.button=function(c){return function(p){var x=typeof p=="string",S=Array.prototype.slice.call(arguments,1),b=this;return x?!this.length&&p==="instance"?b=void 0:this.each(function(){var h,T=t(this).attr("type"),M=T!=="checkbox"&&T!=="radio"?"button":"checkboxradio",j=t.data(this,"ui-"+M);if(p==="instance")return b=j,!1;if(!j)return t.error("cannot call methods on button prior to initialization; attempted to call method '"+p+"'");if(typeof j[p]!="function"||p.charAt(0)==="_")return t.error("no such method '"+p+"' for button widget instance");if(h=j[p].apply(j,S),h!==j&&h!==void 0)return b=h&&h.jquery?b.pushStack(h.get()):h,!1}):(S.length&&(p=t.widget.extend.apply(null,[p].concat(S))),this.each(function(){var h=t(this).attr("type"),T=h!=="checkbox"&&h!=="radio"?"button":"checkboxradio",M=t.data(this,"ui-"+T);if(M)M.option(p||{}),M._init&&M._init();else{if(T==="button"){c.call(t(this),p);return}t(this).checkboxradio(t.extend({icon:!1},p))}})),b}}(t.fn.button),t.fn.buttonset=function(){return t.ui.controlgroup||t.error("Controlgroup widget missing"),arguments[0]==="option"&&arguments[1]==="items"&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):arguments[0]==="option"&&arguments[1]==="items"?this.controlgroup.apply(this,[arguments[0],"items.button"]):(typeof arguments[0]=="object"&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),t.ui.button;/*!
+ */n.widget("ui.button",{version:"1.14.0",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var c,m=this._super()||{};return this.isInput=this.element.is("input"),c=this.element[0].disabled,c!=null&&(m.disabled=c),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(m.label=this.originalLabel),m},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),this.options.disabled==null&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(c){c.keyCode===n.ui.keyCode.SPACE&&(c.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),!this.options.showLabel&&!this.title&&this.element.attr("title",this.options.label)},_updateIcon:function(c,m){var x=c!=="iconPosition",T=x?this.options.iconPosition:m,b=T==="top"||T==="bottom";this.icon?x&&this._removeClass(this.icon,null,this.options.icon):(this.icon=n("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),x&&this._addClass(this.icon,null,m),this._attachIcon(T),b?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=n("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(T))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(c){this.icon[/^(?:end|bottom)/.test(c)?"before":"after"](this.iconSpace)},_attachIcon:function(c){this.element[/^(?:end|bottom)/.test(c)?"append":"prepend"](this.icon)},_setOptions:function(c){var m=c.showLabel===void 0?this.options.showLabel:c.showLabel,x=c.icon===void 0?this.options.icon:c.icon;!m&&!x&&(c.showLabel=!0),this._super(c)},_setOption:function(c,m){c==="icon"&&(m?this._updateIcon(c,m):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),c==="iconPosition"&&this._updateIcon(c,m),c==="showLabel"&&(this._toggleClass("ui-button-icon-only",null,!m),this._updateTooltip()),c==="label"&&(this.isInput?this.element.val(m):(this.element.html(m),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(c,m),c==="disabled"&&(this._toggleClass(null,"ui-state-disabled",m),this.element[0].disabled=m,m&&this.element.trigger("blur"))},refresh:function(){var c=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");c!==this.options.disabled&&this._setOptions({disabled:c}),this._updateTooltip()}}),n.uiBackCompat===!0&&(n.widget("ui.button",n.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),!this.options.icon&&(this.options.icons.primary||this.options.icons.secondary)?this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"):this.options.icon&&(this.options.icons.primary=this.options.icon),this._super()},_setOption:function(c,m){if(c==="text"){this._super("showLabel",m);return}c==="showLabel"&&(this.options.text=m),c==="icon"&&(this.options.icons.primary=m),c==="icons"&&(m.primary?(this._super("icon",m.primary),this._super("iconPosition","beginning")):m.secondary&&(this._super("icon",m.secondary),this._super("iconPosition","end"))),this._superApply(arguments)}}),n.fn.button=function(c){return function(m){var x=typeof m=="string",T=Array.prototype.slice.call(arguments,1),b=this;return x?!this.length&&m==="instance"?b=void 0:this.each(function(){var d,k=n(this).attr("type"),D=k!=="checkbox"&&k!=="radio"?"button":"checkboxradio",O=n.data(this,"ui-"+D);if(m==="instance")return b=O,!1;if(!O)return n.error("cannot call methods on button prior to initialization; attempted to call method '"+m+"'");if(typeof O[m]!="function"||m.charAt(0)==="_")return n.error("no such method '"+m+"' for button widget instance");if(d=O[m].apply(O,T),d!==O&&d!==void 0)return b=d&&d.jquery?b.pushStack(d.get()):d,!1}):(T.length&&(m=n.widget.extend.apply(null,[m].concat(T))),this.each(function(){var d=n(this).attr("type"),k=d!=="checkbox"&&d!=="radio"?"button":"checkboxradio",D=n.data(this,"ui-"+k);if(D)D.option(m||{}),D._init&&D._init();else{if(k==="button"){c.call(n(this),m);return}n(this).checkboxradio(n.extend({icon:!1},m))}})),b}}(n.fn.button),n.fn.buttonset=function(){return n.ui.controlgroup||n.error("Controlgroup widget missing"),arguments[0]==="option"&&arguments[1]==="items"&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):arguments[0]==="option"&&arguments[1]==="items"?this.controlgroup.apply(this,[arguments[0],"items.button"]):(typeof arguments[0]=="object"&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),n.ui.button;/*!
  * jQuery UI Datepicker 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.extend(t.ui,{datepicker:{version:"1.14.0"}});var Q;function ce(c){for(var p,x;c.length&&c[0]!==document;){if(p=c.css("position"),(p==="absolute"||p==="relative"||p==="fixed")&&(x=parseInt(c.css("zIndex"),10),!isNaN(x)&&x!==0))return x;c=c.parent()}return 0}function he(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=ke(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}t.extend(he.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(c){return d(this._defaults,c||{}),this},_attachDatepicker:function(c,p){var x,S,b;x=c.nodeName.toLowerCase(),S=x==="div"||x==="span",c.id||(this.uuid+=1,c.id="dp"+this.uuid),b=this._newInst(t(c),S),b.settings=t.extend({},p||{}),x==="input"?this._connectDatepicker(c,b):S&&this._inlineDatepicker(c,b)},_newInst:function(c,p){var x=c[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:x,input:c,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:p,dpDiv:p?ke(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(c,p){var x=t(c);p.append=t([]),p.trigger=t([]),!x.hasClass(this.markerClassName)&&(this._attachments(x,p),x.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(p),t.data(c,"datepicker",p),p.settings.disabled&&this._disableDatepicker(c))},_attachments:function(c,p){var x,S,b,h=this._get(p,"appendText"),T=this._get(p,"isRTL");p.append&&p.append.remove(),h&&(p.append=t("<span>").addClass(this._appendClass).text(h),c[T?"before":"after"](p.append)),c.off("focus",this._showDatepicker),p.trigger&&p.trigger.remove(),x=this._get(p,"showOn"),(x==="focus"||x==="both")&&c.on("focus",this._showDatepicker),(x==="button"||x==="both")&&(S=this._get(p,"buttonText"),b=this._get(p,"buttonImage"),this._get(p,"buttonImageOnly")?p.trigger=t("<img>").addClass(this._triggerClass).attr({src:b,alt:S,title:S}):(p.trigger=t("<button type='button'>").addClass(this._triggerClass),b?p.trigger.html(t("<img>").attr({src:b,alt:S,title:S})):p.trigger.text(S)),c[T?"before":"after"](p.trigger),p.trigger.on("click",function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===c[0]?t.datepicker._hideDatepicker():(t.datepicker._datepickerShowing&&t.datepicker._lastInput!==c[0]&&t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(c[0])),!1}))},_autoSize:function(c){if(this._get(c,"autoSize")&&!c.inline){var p,x,S,b,h=new Date(2009,11,20),T=this._get(c,"dateFormat");T.match(/[DM]/)&&(p=function(M){for(x=0,S=0,b=0;b<M.length;b++)M[b].length>x&&(x=M[b].length,S=b);return S},h.setMonth(p(this._get(c,T.match(/MM/)?"monthNames":"monthNamesShort"))),h.setDate(p(this._get(c,T.match(/DD/)?"dayNames":"dayNamesShort"))+20-h.getDay())),c.input.attr("size",this._formatDate(c,h).length)}},_inlineDatepicker:function(c,p){var x=t(c);x.hasClass(this.markerClassName)||(x.addClass(this.markerClassName).append(p.dpDiv),t.data(c,"datepicker",p),this._setDate(p,this._getDefaultDate(p),!0),this._updateDatepicker(p),this._updateAlternate(p),p.settings.disabled&&this._disableDatepicker(c),p.dpDiv.css("display","block"))},_dialogDatepicker:function(c,p,x,S,b){var h,T,M,j,V,ee=this._dialogInst;return ee||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+h+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),ee=this._dialogInst=this._newInst(this._dialogInput,!1),ee.settings={},t.data(this._dialogInput[0],"datepicker",ee)),d(ee.settings,S||{}),p=p&&p.constructor===Date?this._formatDate(ee,p):p,this._dialogInput.val(p),this._pos=b?b.length?b:[b.pageX,b.pageY]:null,this._pos||(T=document.documentElement.clientWidth,M=document.documentElement.clientHeight,j=document.documentElement.scrollLeft||document.body.scrollLeft,V=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[T/2-100+j,M/2-150+V]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),ee.settings.onSelect=x,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",ee),this},_destroyDatepicker:function(c){var p,x=t(c),S=t.data(c,"datepicker");x.hasClass(this.markerClassName)&&(p=c.nodeName.toLowerCase(),t.removeData(c,"datepicker"),p==="input"?(S.append.remove(),S.trigger.remove(),x.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):(p==="div"||p==="span")&&x.removeClass(this.markerClassName).empty(),t.datepicker._hideDatepicker(),Q===S&&(Q=null,this._curInst=null))},_enableDatepicker:function(c){var p,x,S=t(c),b=t.data(c,"datepicker");S.hasClass(this.markerClassName)&&(p=c.nodeName.toLowerCase(),p==="input"?(c.disabled=!1,b.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):(p==="div"||p==="span")&&(x=S.children("."+this._inlineClass),x.children().removeClass("ui-state-disabled"),x.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(h){return h===c?null:h}))},_disableDatepicker:function(c){var p,x,S=t(c),b=t.data(c,"datepicker");S.hasClass(this.markerClassName)&&(p=c.nodeName.toLowerCase(),p==="input"?(c.disabled=!0,b.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):(p==="div"||p==="span")&&(x=S.children("."+this._inlineClass),x.children().addClass("ui-state-disabled"),x.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(h){return h===c?null:h}),this._disabledInputs[this._disabledInputs.length]=c)},_isDisabledDatepicker:function(c){if(!c)return!1;for(var p=0;p<this._disabledInputs.length;p++)if(this._disabledInputs[p]===c)return!0;return!1},_getInst:function(c){try{return t.data(c,"datepicker")}catch{throw"Missing instance data for this datepicker"}},_optionDatepicker:function(c,p,x){var S,b,h,T,M=this._getInst(c);if(arguments.length===2&&typeof p=="string")return p==="defaults"?t.extend({},t.datepicker._defaults):M?p==="all"?t.extend({},M.settings):this._get(M,p):null;S=p||{},typeof p=="string"&&(S={},S[p]=x),M&&(this._curInst===M&&this._hideDatepicker(),b=this._getDateDatepicker(c,!0),h=this._getMinMaxDate(M,"min"),T=this._getMinMaxDate(M,"max"),d(M.settings,S),h!==null&&S.dateFormat!==void 0&&S.minDate===void 0&&(M.settings.minDate=this._formatDate(M,h)),T!==null&&S.dateFormat!==void 0&&S.maxDate===void 0&&(M.settings.maxDate=this._formatDate(M,T)),"disabled"in S&&(S.disabled?this._disableDatepicker(c):this._enableDatepicker(c)),this._attachments(t(c),M),this._autoSize(M),this._setDate(M,b),this._updateAlternate(M),this._updateDatepicker(M))},_changeDatepicker:function(c,p,x){this._optionDatepicker(c,p,x)},_refreshDatepicker:function(c){var p=this._getInst(c);p&&this._updateDatepicker(p)},_setDateDatepicker:function(c,p){var x=this._getInst(c);x&&(this._setDate(x,p),this._updateDatepicker(x),this._updateAlternate(x))},_getDateDatepicker:function(c,p){var x=this._getInst(c);return x&&!x.inline&&this._setDateFromField(x,p),x?this._getDate(x):null},_doKeyDown:function(c){var p,x,S,b=t.datepicker._getInst(c.target),h=!0,T=b.dpDiv.is(".ui-datepicker-rtl");if(b._keyEvent=!0,t.datepicker._datepickerShowing)switch(c.keyCode){case 9:t.datepicker._hideDatepicker(),h=!1;break;case 13:return S=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",b.dpDiv),S[0]&&t.datepicker._selectDay(c.target,b.selectedMonth,b.selectedYear,S[0]),p=t.datepicker._get(b,"onSelect"),p?(x=t.datepicker._formatDate(b),p.apply(b.input?b.input[0]:null,[x,b])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(c.target,c.ctrlKey?-t.datepicker._get(b,"stepBigMonths"):-t.datepicker._get(b,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(c.target,c.ctrlKey?+t.datepicker._get(b,"stepBigMonths"):+t.datepicker._get(b,"stepMonths"),"M");break;case 35:(c.ctrlKey||c.metaKey)&&t.datepicker._clearDate(c.target),h=c.ctrlKey||c.metaKey;break;case 36:(c.ctrlKey||c.metaKey)&&t.datepicker._gotoToday(c.target),h=c.ctrlKey||c.metaKey;break;case 37:(c.ctrlKey||c.metaKey)&&t.datepicker._adjustDate(c.target,T?1:-1,"D"),h=c.ctrlKey||c.metaKey,c.originalEvent.altKey&&t.datepicker._adjustDate(c.target,c.ctrlKey?-t.datepicker._get(b,"stepBigMonths"):-t.datepicker._get(b,"stepMonths"),"M");break;case 38:(c.ctrlKey||c.metaKey)&&t.datepicker._adjustDate(c.target,-7,"D"),h=c.ctrlKey||c.metaKey;break;case 39:(c.ctrlKey||c.metaKey)&&t.datepicker._adjustDate(c.target,T?-1:1,"D"),h=c.ctrlKey||c.metaKey,c.originalEvent.altKey&&t.datepicker._adjustDate(c.target,c.ctrlKey?+t.datepicker._get(b,"stepBigMonths"):+t.datepicker._get(b,"stepMonths"),"M");break;case 40:(c.ctrlKey||c.metaKey)&&t.datepicker._adjustDate(c.target,7,"D"),h=c.ctrlKey||c.metaKey;break;default:h=!1}else c.keyCode===36&&c.ctrlKey?t.datepicker._showDatepicker(this):h=!1;h&&(c.preventDefault(),c.stopPropagation())},_doKeyPress:function(c){var p,x,S=t.datepicker._getInst(c.target);if(t.datepicker._get(S,"constrainInput"))return p=t.datepicker._possibleChars(t.datepicker._get(S,"dateFormat")),x=String.fromCharCode(c.charCode==null?c.keyCode:c.charCode),c.ctrlKey||c.metaKey||x<" "||!p||p.indexOf(x)>-1},_doKeyUp:function(c){var p,x=t.datepicker._getInst(c.target);if(x.input.val()!==x.lastVal)try{p=t.datepicker.parseDate(t.datepicker._get(x,"dateFormat"),x.input?x.input.val():null,t.datepicker._getFormatConfig(x)),p&&(t.datepicker._setDateFromField(x),t.datepicker._updateAlternate(x),t.datepicker._updateDatepicker(x))}catch{}return!0},_showDatepicker:function(c){if(c=c.target||c,c.nodeName.toLowerCase()!=="input"&&(c=t("input",c.parentNode)[0]),!(t.datepicker._isDisabledDatepicker(c)||t.datepicker._lastInput===c)){var p,x,S,b,h,T,M;p=t.datepicker._getInst(c),t.datepicker._curInst&&t.datepicker._curInst!==p&&(t.datepicker._curInst.dpDiv.stop(!0,!0),p&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),x=t.datepicker._get(p,"beforeShow"),S=x?x.apply(c,[c,p]):{},S!==!1&&(d(p.settings,S),p.lastVal=null,t.datepicker._lastInput=c,t.datepicker._setDateFromField(p),t.datepicker._inDialog&&(c.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(c),t.datepicker._pos[1]+=c.offsetHeight),b=!1,t(c).parents().each(function(){return b|=t(this).css("position")==="fixed",!b}),h={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,p.dpDiv.empty(),p.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(p),h=t.datepicker._checkOffset(p,h,b),p.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":b?"fixed":"absolute",display:"none",left:h.left+"px",top:h.top+"px"}),p.inline||(T=t.datepicker._get(p,"showAnim"),M=t.datepicker._get(p,"duration"),p.dpDiv.css("z-index",ce(t(c))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[T]?p.dpDiv.show(T,t.datepicker._get(p,"showOptions"),M):p.dpDiv[T||"show"](T?M:null),t.datepicker._shouldFocusInput(p)&&p.input.trigger("focus"),t.datepicker._curInst=p))}},_updateDatepicker:function(c){this.maxRows=4,Q=c,c.dpDiv.empty().append(this._generateHTML(c)),this._attachHandlers(c);var p,x=this._getNumberOfMonths(c),S=x[1],b=17,h=c.dpDiv.find("."+this._dayOverClass+" a"),T=t.datepicker._get(c,"onUpdateDatepicker");h.length>0&&L.apply(h.get(0)),c.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),S>1&&c.dpDiv.addClass("ui-datepicker-multi-"+S).css("width",b*S+"em"),c.dpDiv[(x[0]!==1||x[1]!==1?"add":"remove")+"Class"]("ui-datepicker-multi"),c.dpDiv[(this._get(c,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),c===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(c)&&c.input.trigger("focus"),c.yearshtml&&(p=c.yearshtml,setTimeout(function(){p===c.yearshtml&&c.yearshtml&&c.dpDiv.find("select.ui-datepicker-year").first().replaceWith(c.yearshtml),p=c.yearshtml=null},0)),T&&T.apply(c.input?c.input[0]:null,[c])},_shouldFocusInput:function(c){return c.input&&c.input.is(":visible")&&!c.input.is(":disabled")},_checkOffset:function(c,p,x){var S=c.dpDiv.outerWidth(),b=c.dpDiv.outerHeight(),h=c.input?c.input.outerWidth():0,T=c.input?c.input.outerHeight():0,M=document.documentElement.clientWidth+(x?0:t(document).scrollLeft()),j=document.documentElement.clientHeight+(x?0:t(document).scrollTop());return p.left-=this._get(c,"isRTL")?S-h:0,p.left-=x&&p.left===c.input.offset().left?t(document).scrollLeft():0,p.top-=x&&p.top===c.input.offset().top+T?t(document).scrollTop():0,p.left-=Math.min(p.left,p.left+S>M&&M>S?Math.abs(p.left+S-M):0),p.top-=Math.min(p.top,p.top+b>j&&j>b?Math.abs(b+T):0),p},_findPos:function(c){for(var p,x=this._getInst(c),S=this._get(x,"isRTL");c&&(c.type==="hidden"||c.nodeType!==1||t.expr.pseudos.hidden(c));)c=c[S?"previousSibling":"nextSibling"];return p=t(c).offset(),[p.left,p.top]},_hideDatepicker:function(c){var p,x,S,b,h=this._curInst;!h||c&&h!==t.data(c,"datepicker")||this._datepickerShowing&&(p=this._get(h,"showAnim"),x=this._get(h,"duration"),S=function(){t.datepicker._tidyDialog(h)},t.effects&&t.effects.effect[p]?h.dpDiv.hide(p,t.datepicker._get(h,"showOptions"),x,S):h.dpDiv[p==="slideDown"?"slideUp":p==="fadeIn"?"fadeOut":"hide"](p?x:null,S),p||S(),this._datepickerShowing=!1,b=this._get(h,"onClose"),b&&b.apply(h.input?h.input[0]:null,[h.input?h.input.val():"",h]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(c){c.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(c){if(t.datepicker._curInst){var p=t(c.target),x=t.datepicker._getInst(p[0]);(p[0].id!==t.datepicker._mainDivId&&p.parents("#"+t.datepicker._mainDivId).length===0&&!p.hasClass(t.datepicker.markerClassName)&&!p.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&!(t.datepicker._inDialog&&t.blockUI)||p.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==x)&&t.datepicker._hideDatepicker()}},_adjustDate:function(c,p,x){var S=t(c),b=this._getInst(S[0]);this._isDisabledDatepicker(S[0])||(this._adjustInstDate(b,p,x),this._updateDatepicker(b))},_gotoToday:function(c){var p,x=t(c),S=this._getInst(x[0]);this._get(S,"gotoCurrent")&&S.currentDay?(S.selectedDay=S.currentDay,S.drawMonth=S.selectedMonth=S.currentMonth,S.drawYear=S.selectedYear=S.currentYear):(p=new Date,S.selectedDay=p.getDate(),S.drawMonth=S.selectedMonth=p.getMonth(),S.drawYear=S.selectedYear=p.getFullYear()),this._notifyChange(S),this._adjustDate(x)},_selectMonthYear:function(c,p,x){var S=t(c),b=this._getInst(S[0]);b["selected"+(x==="M"?"Month":"Year")]=b["draw"+(x==="M"?"Month":"Year")]=parseInt(p.options[p.selectedIndex].value,10),this._notifyChange(b),this._adjustDate(S)},_selectDay:function(c,p,x,S){var b,h=t(c);t(S).hasClass(this._unselectableClass)||this._isDisabledDatepicker(h[0])||(b=this._getInst(h[0]),b.selectedDay=b.currentDay=parseInt(t("a",S).attr("data-date")),b.selectedMonth=b.currentMonth=p,b.selectedYear=b.currentYear=x,this._selectDate(c,this._formatDate(b,b.currentDay,b.currentMonth,b.currentYear)))},_clearDate:function(c){var p=t(c);this._selectDate(p,"")},_selectDate:function(c,p){var x,S=t(c),b=this._getInst(S[0]);p=p??this._formatDate(b),b.input&&b.input.val(p),this._updateAlternate(b),x=this._get(b,"onSelect"),x?x.apply(b.input?b.input[0]:null,[p,b]):b.input&&b.input.trigger("change"),b.inline?this._updateDatepicker(b):(this._hideDatepicker(),this._lastInput=b.input[0],typeof b.input[0]!="object"&&b.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(c){var p,x,S,b=this._get(c,"altField");b&&(p=this._get(c,"altFormat")||this._get(c,"dateFormat"),x=this._getDate(c),S=this.formatDate(p,x,this._getFormatConfig(c)),t(document).find(b).val(S))},noWeekends:function(c){var p=c.getDay();return[p>0&&p<6,""]},iso8601Week:function(c){var p,x=new Date(c.getTime());return x.setDate(x.getDate()+4-(x.getDay()||7)),p=x.getTime(),x.setMonth(0),x.setDate(1),Math.floor(Math.round((p-x)/864e5)/7)+1},parseDate:function(c,p,x){if(c==null||p==null)throw"Invalid arguments";if(p=typeof p=="object"?p.toString():p+"",p==="")return null;var S,b,h,T=0,M=(x?x.shortYearCutoff:null)||this._defaults.shortYearCutoff,j=typeof M!="string"?M:new Date().getFullYear()%100+parseInt(M,10),V=(x?x.dayNamesShort:null)||this._defaults.dayNamesShort,ee=(x?x.dayNames:null)||this._defaults.dayNames,Z=(x?x.monthNamesShort:null)||this._defaults.monthNamesShort,U=(x?x.monthNames:null)||this._defaults.monthNames,z=-1,ne=-1,fe=-1,me=-1,de=!1,Oe,lt=function(nt){var Je=S+1<c.length&&c.charAt(S+1)===nt;return Je&&S++,Je},it=function(nt){var Je=lt(nt),tt=nt==="@"?14:nt==="!"?20:nt==="y"&&Je?4:nt==="o"?3:2,rt=nt==="y"?tt:1,ht=new RegExp("^\\d{"+rt+","+tt+"}"),jt=p.substring(T).match(ht);if(!jt)throw"Missing number at position "+T;return T+=jt[0].length,parseInt(jt[0],10)},ot=function(nt,Je,tt){var rt=-1,ht=t.map(lt(nt)?tt:Je,function(jt,Ve){return[[Ve,jt]]}).sort(function(jt,Ve){return-(jt[1].length-Ve[1].length)});if(t.each(ht,function(jt,Ve){var We=Ve[1];if(p.substr(T,We.length).toLowerCase()===We.toLowerCase())return rt=Ve[0],T+=We.length,!1}),rt!==-1)return rt+1;throw"Unknown name at position "+T},Ct=function(){if(p.charAt(T)!==c.charAt(S))throw"Unexpected literal at position "+T;T++};for(S=0;S<c.length;S++)if(de)c.charAt(S)==="'"&&!lt("'")?de=!1:Ct();else switch(c.charAt(S)){case"d":fe=it("d");break;case"D":ot("D",V,ee);break;case"o":me=it("o");break;case"m":ne=it("m");break;case"M":ne=ot("M",Z,U);break;case"y":z=it("y");break;case"@":Oe=new Date(it("@")),z=Oe.getFullYear(),ne=Oe.getMonth()+1,fe=Oe.getDate();break;case"!":Oe=new Date((it("!")-this._ticksTo1970)/1e4),z=Oe.getFullYear(),ne=Oe.getMonth()+1,fe=Oe.getDate();break;case"'":lt("'")?Ct():de=!0;break;default:Ct()}if(T<p.length&&(h=p.substr(T),!/^\s+/.test(h)))throw"Extra/unparsed characters found in date: "+h;if(z===-1?z=new Date().getFullYear():z<100&&(z+=new Date().getFullYear()-new Date().getFullYear()%100+(z<=j?0:-100)),me>-1){ne=1,fe=me;do{if(b=this._getDaysInMonth(z,ne-1),fe<=b)break;ne++,fe-=b}while(!0)}if(Oe=this._daylightSavingAdjust(new Date(z,ne-1,fe)),Oe.getFullYear()!==z||Oe.getMonth()+1!==ne||Oe.getDate()!==fe)throw"Invalid date";return Oe},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(1969*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*1e7,formatDate:function(c,p,x){if(!p)return"";var S,b=(x?x.dayNamesShort:null)||this._defaults.dayNamesShort,h=(x?x.dayNames:null)||this._defaults.dayNames,T=(x?x.monthNamesShort:null)||this._defaults.monthNamesShort,M=(x?x.monthNames:null)||this._defaults.monthNames,j=function(z){var ne=S+1<c.length&&c.charAt(S+1)===z;return ne&&S++,ne},V=function(z,ne,fe){var me=""+ne;if(j(z))for(;me.length<fe;)me="0"+me;return me},ee=function(z,ne,fe,me){return j(z)?me[ne]:fe[ne]},Z="",U=!1;if(p)for(S=0;S<c.length;S++)if(U)c.charAt(S)==="'"&&!j("'")?U=!1:Z+=c.charAt(S);else switch(c.charAt(S)){case"d":Z+=V("d",p.getDate(),2);break;case"D":Z+=ee("D",p.getDay(),b,h);break;case"o":Z+=V("o",Math.round((new Date(p.getFullYear(),p.getMonth(),p.getDate()).getTime()-new Date(p.getFullYear(),0,0).getTime())/864e5),3);break;case"m":Z+=V("m",p.getMonth()+1,2);break;case"M":Z+=ee("M",p.getMonth(),T,M);break;case"y":Z+=j("y")?p.getFullYear():(p.getFullYear()%100<10?"0":"")+p.getFullYear()%100;break;case"@":Z+=p.getTime();break;case"!":Z+=p.getTime()*1e4+this._ticksTo1970;break;case"'":j("'")?Z+="'":U=!0;break;default:Z+=c.charAt(S)}return Z},_possibleChars:function(c){var p,x="",S=!1,b=function(h){var T=p+1<c.length&&c.charAt(p+1)===h;return T&&p++,T};for(p=0;p<c.length;p++)if(S)c.charAt(p)==="'"&&!b("'")?S=!1:x+=c.charAt(p);else switch(c.charAt(p)){case"d":case"m":case"y":case"@":x+="0123456789";break;case"D":case"M":return null;case"'":b("'")?x+="'":S=!0;break;default:x+=c.charAt(p)}return x},_get:function(c,p){return c.settings[p]!==void 0?c.settings[p]:this._defaults[p]},_setDateFromField:function(c,p){if(c.input.val()!==c.lastVal){var x=this._get(c,"dateFormat"),S=c.lastVal=c.input?c.input.val():null,b=this._getDefaultDate(c),h=b,T=this._getFormatConfig(c);try{h=this.parseDate(x,S,T)||b}catch{S=p?"":S}c.selectedDay=h.getDate(),c.drawMonth=c.selectedMonth=h.getMonth(),c.drawYear=c.selectedYear=h.getFullYear(),c.currentDay=S?h.getDate():0,c.currentMonth=S?h.getMonth():0,c.currentYear=S?h.getFullYear():0,this._adjustInstDate(c)}},_getDefaultDate:function(c){return this._restrictMinMax(c,this._determineDate(c,this._get(c,"defaultDate"),new Date))},_determineDate:function(c,p,x){var S=function(T){var M=new Date;return M.setDate(M.getDate()+T),M},b=function(T){try{return t.datepicker.parseDate(t.datepicker._get(c,"dateFormat"),T,t.datepicker._getFormatConfig(c))}catch{}for(var M=(T.toLowerCase().match(/^c/)?t.datepicker._getDate(c):null)||new Date,j=M.getFullYear(),V=M.getMonth(),ee=M.getDate(),Z=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,U=Z.exec(T);U;){switch(U[2]||"d"){case"d":case"D":ee+=parseInt(U[1],10);break;case"w":case"W":ee+=parseInt(U[1],10)*7;break;case"m":case"M":V+=parseInt(U[1],10),ee=Math.min(ee,t.datepicker._getDaysInMonth(j,V));break;case"y":case"Y":j+=parseInt(U[1],10),ee=Math.min(ee,t.datepicker._getDaysInMonth(j,V));break}U=Z.exec(T)}return new Date(j,V,ee)},h=p==null||p===""?x:typeof p=="string"?b(p):typeof p=="number"?isNaN(p)?x:S(p):new Date(p.getTime());return h=h&&h.toString()==="Invalid Date"?x:h,h&&(h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0)),this._daylightSavingAdjust(h)},_daylightSavingAdjust:function(c){return c?(c.setHours(c.getHours()>12?c.getHours()+2:0),c):null},_setDate:function(c,p,x){var S=!p,b=c.selectedMonth,h=c.selectedYear,T=this._restrictMinMax(c,this._determineDate(c,p,new Date));c.selectedDay=c.currentDay=T.getDate(),c.drawMonth=c.selectedMonth=c.currentMonth=T.getMonth(),c.drawYear=c.selectedYear=c.currentYear=T.getFullYear(),(b!==c.selectedMonth||h!==c.selectedYear)&&!x&&this._notifyChange(c),this._adjustInstDate(c),c.input&&c.input.val(S?"":this._formatDate(c))},_getDate:function(c){var p=!c.currentYear||c.input&&c.input.val()===""?null:this._daylightSavingAdjust(new Date(c.currentYear,c.currentMonth,c.currentDay));return p},_attachHandlers:function(c){var p=this._get(c,"stepMonths"),x="#"+c.id.replace(/\\\\/g,"\\");c.dpDiv.find("[data-handler]").map(function(){var S={prev:function(){t.datepicker._adjustDate(x,-p,"M")},next:function(){t.datepicker._adjustDate(x,+p,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(x)},selectDay:function(){return t.datepicker._selectDay(x,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(x,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(x,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),S[this.getAttribute("data-handler")])})},_generateHTML:function(c){var p,x,S,b,h,T,M,j,V,ee,Z,U,z,ne,fe,me,de,Oe,lt,it,ot,Ct,nt,Je,tt,rt,ht,jt,Ve,We,Gt,wt,Et,Yt,Ce,te,ye,Le,Ue,Qe=new Date,Ke=this._daylightSavingAdjust(new Date(Qe.getFullYear(),Qe.getMonth(),Qe.getDate())),De=this._get(c,"isRTL"),Vt=this._get(c,"showButtonPanel"),At=this._get(c,"hideIfNoPrevNext"),ve=this._get(c,"navigationAsDateFormat"),Pt=this._getNumberOfMonths(c),pt=this._get(c,"showCurrentAtPos"),Ne=this._get(c,"stepMonths"),vt=Pt[0]!==1||Pt[1]!==1,ut=this._daylightSavingAdjust(c.currentDay?new Date(c.currentYear,c.currentMonth,c.currentDay):new Date(9999,9,9)),$t=this._getMinMaxDate(c,"min"),fi=this._getMinMaxDate(c,"max"),kt=c.drawMonth-pt,Wt=c.drawYear;if(kt<0&&(kt+=12,Wt--),fi)for(p=this._daylightSavingAdjust(new Date(fi.getFullYear(),fi.getMonth()-Pt[0]*Pt[1]+1,fi.getDate())),p=$t&&p<$t?$t:p;this._daylightSavingAdjust(new Date(Wt,kt,1))>p;)kt--,kt<0&&(kt=11,Wt--);for(c.drawMonth=kt,c.drawYear=Wt,x=this._get(c,"prevText"),x=ve?this.formatDate(x,this._daylightSavingAdjust(new Date(Wt,kt-Ne,1)),this._getFormatConfig(c)):x,this._canAdjustMonth(c,-1,Wt,kt)?S=t("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:x}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(De?"e":"w")).text(x))[0].outerHTML:At?S="":S=t("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:x}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(De?"e":"w")).text(x))[0].outerHTML,b=this._get(c,"nextText"),b=ve?this.formatDate(b,this._daylightSavingAdjust(new Date(Wt,kt+Ne,1)),this._getFormatConfig(c)):b,this._canAdjustMonth(c,1,Wt,kt)?h=t("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:b}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(De?"w":"e")).text(b))[0].outerHTML:At?h="":h=t("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:b}).append(t("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(De?"w":"e")).text(b))[0].outerHTML,T=this._get(c,"currentText"),M=this._get(c,"gotoCurrent")&&c.currentDay?ut:Ke,T=ve?this.formatDate(T,M,this._getFormatConfig(c)):T,j="",c.inline||(j=t("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(c,"closeText"))[0].outerHTML),V="",Vt&&(V=t("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(De?j:"").append(this._isInRange(c,M)?t("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(T):"").append(De?"":j)[0].outerHTML),ee=parseInt(this._get(c,"firstDay"),10),ee=isNaN(ee)?0:ee,Z=this._get(c,"showWeek"),U=this._get(c,"dayNames"),z=this._get(c,"dayNamesMin"),ne=this._get(c,"monthNames"),fe=this._get(c,"monthNamesShort"),me=this._get(c,"beforeShowDay"),de=this._get(c,"showOtherMonths"),Oe=this._get(c,"selectOtherMonths"),lt=this._getDefaultDate(c),it="",Ct=0;Ct<Pt[0];Ct++){for(nt="",this.maxRows=4,Je=0;Je<Pt[1];Je++){if(tt=this._daylightSavingAdjust(new Date(Wt,kt,c.selectedDay)),rt=" ui-corner-all",ht="",vt){if(ht+="<div class='ui-datepicker-group",Pt[1]>1)switch(Je){case 0:ht+=" ui-datepicker-group-first",rt=" ui-corner-"+(De?"right":"left");break;case Pt[1]-1:ht+=" ui-datepicker-group-last",rt=" ui-corner-"+(De?"left":"right");break;default:ht+=" ui-datepicker-group-middle",rt="";break}ht+="'>"}for(ht+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+rt+"'>"+(/all|left/.test(rt)&&Ct===0?De?h:S:"")+(/all|right/.test(rt)&&Ct===0?De?S:h:"")+this._generateMonthYearHeader(c,kt,Wt,$t,fi,Ct>0||Je>0,ne,fe)+"</div><table class='ui-datepicker-calendar'><thead><tr>",jt=Z?"<th class='ui-datepicker-week-col'>"+this._get(c,"weekHeader")+"</th>":"",ot=0;ot<7;ot++)Ve=(ot+ee)%7,jt+="<th scope='col'"+((ot+ee+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+U[Ve]+"'>"+z[Ve]+"</span></th>";for(ht+=jt+"</tr></thead><tbody>",We=this._getDaysInMonth(Wt,kt),Wt===c.selectedYear&&kt===c.selectedMonth&&(c.selectedDay=Math.min(c.selectedDay,We)),Gt=(this._getFirstDayOfMonth(Wt,kt)-ee+7)%7,wt=Math.ceil((Gt+We)/7),Et=vt&&this.maxRows>wt?this.maxRows:wt,this.maxRows=Et,Yt=this._daylightSavingAdjust(new Date(Wt,kt,1-Gt)),Ce=0;Ce<Et;Ce++){for(ht+="<tr>",te=Z?"<td class='ui-datepicker-week-col'>"+this._get(c,"calculateWeek")(Yt)+"</td>":"",ot=0;ot<7;ot++)ye=me?me.apply(c.input?c.input[0]:null,[Yt]):[!0,""],Le=Yt.getMonth()!==kt,Ue=Le&&!Oe||!ye[0]||$t&&Yt<$t||fi&&Yt>fi,te+="<td class='"+((ot+ee+6)%7>=5?" ui-datepicker-week-end":"")+(Le?" ui-datepicker-other-month":"")+(Yt.getTime()===tt.getTime()&&kt===c.selectedMonth&&c._keyEvent||lt.getTime()===Yt.getTime()&&lt.getTime()===tt.getTime()?" "+this._dayOverClass:"")+(Ue?" "+this._unselectableClass+" ui-state-disabled":"")+(Le&&!de?"":" "+ye[1]+(Yt.getTime()===ut.getTime()?" "+this._currentClass:"")+(Yt.getTime()===Ke.getTime()?" ui-datepicker-today":""))+"'"+((!Le||de)&&ye[2]?" title='"+ye[2].replace(/'/g,"&#39;")+"'":"")+(Ue?"":" data-handler='selectDay' data-event='click' data-month='"+Yt.getMonth()+"' data-year='"+Yt.getFullYear()+"'")+">"+(Le&&!de?"&#xa0;":Ue?"<span class='ui-state-default'>"+Yt.getDate()+"</span>":"<a class='ui-state-default"+(Yt.getTime()===Ke.getTime()?" ui-state-highlight":"")+(Yt.getTime()===ut.getTime()?" ui-state-active":"")+(Le?" ui-priority-secondary":"")+"' href='#' aria-current='"+(Yt.getTime()===ut.getTime()?"true":"false")+"' data-date='"+Yt.getDate()+"'>"+Yt.getDate()+"</a>")+"</td>",Yt.setDate(Yt.getDate()+1),Yt=this._daylightSavingAdjust(Yt);ht+=te+"</tr>"}kt++,kt>11&&(kt=0,Wt++),ht+="</tbody></table>"+(vt?"</div>"+(Pt[0]>0&&Je===Pt[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),nt+=ht}it+=nt}return it+=V,c._keyEvent=!1,it},_generateMonthYearHeader:function(c,p,x,S,b,h,T,M){var j,V,ee,Z,U,z,ne,fe,me=this._get(c,"changeMonth"),de=this._get(c,"changeYear"),Oe=this._get(c,"showMonthAfterYear"),lt=this._get(c,"selectMonthLabel"),it=this._get(c,"selectYearLabel"),ot="<div class='ui-datepicker-title'>",Ct="";if(h||!me)Ct+="<span class='ui-datepicker-month'>"+T[p]+"</span>";else{for(j=S&&S.getFullYear()===x,V=b&&b.getFullYear()===x,Ct+="<select class='ui-datepicker-month' aria-label='"+lt+"' data-handler='selectMonth' data-event='change'>",ee=0;ee<12;ee++)(!j||ee>=S.getMonth())&&(!V||ee<=b.getMonth())&&(Ct+="<option value='"+ee+"'"+(ee===p?" selected='selected'":"")+">"+M[ee]+"</option>");Ct+="</select>"}if(Oe||(ot+=Ct+(h||!(me&&de)?"&#xa0;":"")),!c.yearshtml)if(c.yearshtml="",h||!de)ot+="<span class='ui-datepicker-year'>"+x+"</span>";else{for(Z=this._get(c,"yearRange").split(":"),U=new Date().getFullYear(),z=function(nt){var Je=nt.match(/c[+\-].*/)?x+parseInt(nt.substring(1),10):nt.match(/[+\-].*/)?U+parseInt(nt,10):parseInt(nt,10);return isNaN(Je)?U:Je},ne=z(Z[0]),fe=Math.max(ne,z(Z[1]||"")),ne=S?Math.max(ne,S.getFullYear()):ne,fe=b?Math.min(fe,b.getFullYear()):fe,c.yearshtml+="<select class='ui-datepicker-year' aria-label='"+it+"' data-handler='selectYear' data-event='change'>";ne<=fe;ne++)c.yearshtml+="<option value='"+ne+"'"+(ne===x?" selected='selected'":"")+">"+ne+"</option>";c.yearshtml+="</select>",ot+=c.yearshtml,c.yearshtml=null}return ot+=this._get(c,"yearSuffix"),Oe&&(ot+=(h||!(me&&de)?"&#xa0;":"")+Ct),ot+="</div>",ot},_adjustInstDate:function(c,p,x){var S=c.selectedYear+(x==="Y"?p:0),b=c.selectedMonth+(x==="M"?p:0),h=Math.min(c.selectedDay,this._getDaysInMonth(S,b))+(x==="D"?p:0),T=this._restrictMinMax(c,this._daylightSavingAdjust(new Date(S,b,h)));c.selectedDay=T.getDate(),c.drawMonth=c.selectedMonth=T.getMonth(),c.drawYear=c.selectedYear=T.getFullYear(),(x==="M"||x==="Y")&&this._notifyChange(c)},_restrictMinMax:function(c,p){var x=this._getMinMaxDate(c,"min"),S=this._getMinMaxDate(c,"max"),b=x&&p<x?x:p;return S&&b>S?S:b},_notifyChange:function(c){var p=this._get(c,"onChangeMonthYear");p&&p.apply(c.input?c.input[0]:null,[c.selectedYear,c.selectedMonth+1,c])},_getNumberOfMonths:function(c){var p=this._get(c,"numberOfMonths");return p==null?[1,1]:typeof p=="number"?[1,p]:p},_getMinMaxDate:function(c,p){return this._determineDate(c,this._get(c,p+"Date"),null)},_getDaysInMonth:function(c,p){return 32-this._daylightSavingAdjust(new Date(c,p,32)).getDate()},_getFirstDayOfMonth:function(c,p){return new Date(c,p,1).getDay()},_canAdjustMonth:function(c,p,x,S){var b=this._getNumberOfMonths(c),h=this._daylightSavingAdjust(new Date(x,S+(p<0?p:b[0]*b[1]),1));return p<0&&h.setDate(this._getDaysInMonth(h.getFullYear(),h.getMonth())),this._isInRange(c,h)},_isInRange:function(c,p){var x,S,b=this._getMinMaxDate(c,"min"),h=this._getMinMaxDate(c,"max"),T=null,M=null,j=this._get(c,"yearRange");return j&&(x=j.split(":"),S=new Date().getFullYear(),T=parseInt(x[0],10),M=parseInt(x[1],10),x[0].match(/[+\-].*/)&&(T+=S),x[1].match(/[+\-].*/)&&(M+=S)),(!b||p.getTime()>=b.getTime())&&(!h||p.getTime()<=h.getTime())&&(!T||p.getFullYear()>=T)&&(!M||p.getFullYear()<=M)},_getFormatConfig:function(c){var p=this._get(c,"shortYearCutoff");return p=typeof p!="string"?p:new Date().getFullYear()%100+parseInt(p,10),{shortYearCutoff:p,dayNamesShort:this._get(c,"dayNamesShort"),dayNames:this._get(c,"dayNames"),monthNamesShort:this._get(c,"monthNamesShort"),monthNames:this._get(c,"monthNames")}},_formatDate:function(c,p,x,S){p||(c.currentDay=c.selectedDay,c.currentMonth=c.selectedMonth,c.currentYear=c.selectedYear);var b=p?typeof p=="object"?p:this._daylightSavingAdjust(new Date(S,x,p)):this._daylightSavingAdjust(new Date(c.currentYear,c.currentMonth,c.currentDay));return this.formatDate(this._get(c,"dateFormat"),b,this._getFormatConfig(c))}});function ke(c){var p="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return c.on("mouseout",p,function(){t(this).removeClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!==-1&&t(this).removeClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!==-1&&t(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",p,L)}function L(){t.datepicker._isDisabledDatepicker(Q.inline?Q.dpDiv.parent()[0]:Q.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!==-1&&t(this).addClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!==-1&&t(this).addClass("ui-datepicker-next-hover"))}function d(c,p){t.extend(c,p);for(var x in p)p[x]==null&&(c[x]=p[x]);return c}t.fn.datepicker=function(c){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),t("#"+t.datepicker._mainDivId).length===0&&t("body").append(t.datepicker.dpDiv);var p=Array.prototype.slice.call(arguments,1);return typeof c=="string"&&(c==="isDisabled"||c==="getDate"||c==="widget")?t.datepicker["_"+c+"Datepicker"].apply(t.datepicker,[this[0]].concat(p)):c==="option"&&arguments.length===2&&typeof arguments[1]=="string"?t.datepicker["_"+c+"Datepicker"].apply(t.datepicker,[this[0]].concat(p)):this.each(function(){typeof c=="string"?t.datepicker["_"+c+"Datepicker"].apply(t.datepicker,[this].concat(p)):t.datepicker._attachDatepicker(this,c)})},t.datepicker=new he,t.datepicker.initialized=!1,t.datepicker.uuid=new Date().getTime(),t.datepicker.version="1.14.0",t.datepicker;/*!
+ */n.extend(n.ui,{datepicker:{version:"1.14.0"}});var V;function le(c){for(var m,x;c.length&&c[0]!==document;){if(m=c.css("position"),(m==="absolute"||m==="relative"||m==="fixed")&&(x=parseInt(c.css("zIndex"),10),!isNaN(x)&&x!==0))return x;c=c.parent()}return 0}function he(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},n.extend(this._defaults,this.regional[""]),this.regional.en=n.extend(!0,{},this.regional[""]),this.regional["en-US"]=n.extend(!0,{},this.regional.en),this.dpDiv=ye(n("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}n.extend(he.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(c){return p(this._defaults,c||{}),this},_attachDatepicker:function(c,m){var x,T,b;x=c.nodeName.toLowerCase(),T=x==="div"||x==="span",c.id||(this.uuid+=1,c.id="dp"+this.uuid),b=this._newInst(n(c),T),b.settings=n.extend({},m||{}),x==="input"?this._connectDatepicker(c,b):T&&this._inlineDatepicker(c,b)},_newInst:function(c,m){var x=c[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:x,input:c,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:m,dpDiv:m?ye(n("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(c,m){var x=n(c);m.append=n([]),m.trigger=n([]),!x.hasClass(this.markerClassName)&&(this._attachments(x,m),x.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(m),n.data(c,"datepicker",m),m.settings.disabled&&this._disableDatepicker(c))},_attachments:function(c,m){var x,T,b,d=this._get(m,"appendText"),k=this._get(m,"isRTL");m.append&&m.append.remove(),d&&(m.append=n("<span>").addClass(this._appendClass).text(d),c[k?"before":"after"](m.append)),c.off("focus",this._showDatepicker),m.trigger&&m.trigger.remove(),x=this._get(m,"showOn"),(x==="focus"||x==="both")&&c.on("focus",this._showDatepicker),(x==="button"||x==="both")&&(T=this._get(m,"buttonText"),b=this._get(m,"buttonImage"),this._get(m,"buttonImageOnly")?m.trigger=n("<img>").addClass(this._triggerClass).attr({src:b,alt:T,title:T}):(m.trigger=n("<button type='button'>").addClass(this._triggerClass),b?m.trigger.html(n("<img>").attr({src:b,alt:T,title:T})):m.trigger.text(T)),c[k?"before":"after"](m.trigger),m.trigger.on("click",function(){return n.datepicker._datepickerShowing&&n.datepicker._lastInput===c[0]?n.datepicker._hideDatepicker():(n.datepicker._datepickerShowing&&n.datepicker._lastInput!==c[0]&&n.datepicker._hideDatepicker(),n.datepicker._showDatepicker(c[0])),!1}))},_autoSize:function(c){if(this._get(c,"autoSize")&&!c.inline){var m,x,T,b,d=new Date(2009,11,20),k=this._get(c,"dateFormat");k.match(/[DM]/)&&(m=function(D){for(x=0,T=0,b=0;b<D.length;b++)D[b].length>x&&(x=D[b].length,T=b);return T},d.setMonth(m(this._get(c,k.match(/MM/)?"monthNames":"monthNamesShort"))),d.setDate(m(this._get(c,k.match(/DD/)?"dayNames":"dayNamesShort"))+20-d.getDay())),c.input.attr("size",this._formatDate(c,d).length)}},_inlineDatepicker:function(c,m){var x=n(c);x.hasClass(this.markerClassName)||(x.addClass(this.markerClassName).append(m.dpDiv),n.data(c,"datepicker",m),this._setDate(m,this._getDefaultDate(m),!0),this._updateDatepicker(m),this._updateAlternate(m),m.settings.disabled&&this._disableDatepicker(c),m.dpDiv.css("display","block"))},_dialogDatepicker:function(c,m,x,T,b){var d,k,D,O,Q,J=this._dialogInst;return J||(this.uuid+=1,d="dp"+this.uuid,this._dialogInput=n("<input type='text' id='"+d+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),n("body").append(this._dialogInput),J=this._dialogInst=this._newInst(this._dialogInput,!1),J.settings={},n.data(this._dialogInput[0],"datepicker",J)),p(J.settings,T||{}),m=m&&m.constructor===Date?this._formatDate(J,m):m,this._dialogInput.val(m),this._pos=b?b.length?b:[b.pageX,b.pageY]:null,this._pos||(k=document.documentElement.clientWidth,D=document.documentElement.clientHeight,O=document.documentElement.scrollLeft||document.body.scrollLeft,Q=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[k/2-100+O,D/2-150+Q]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),J.settings.onSelect=x,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),n.blockUI&&n.blockUI(this.dpDiv),n.data(this._dialogInput[0],"datepicker",J),this},_destroyDatepicker:function(c){var m,x=n(c),T=n.data(c,"datepicker");x.hasClass(this.markerClassName)&&(m=c.nodeName.toLowerCase(),n.removeData(c,"datepicker"),m==="input"?(T.append.remove(),T.trigger.remove(),x.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):(m==="div"||m==="span")&&x.removeClass(this.markerClassName).empty(),n.datepicker._hideDatepicker(),V===T&&(V=null,this._curInst=null))},_enableDatepicker:function(c){var m,x,T=n(c),b=n.data(c,"datepicker");T.hasClass(this.markerClassName)&&(m=c.nodeName.toLowerCase(),m==="input"?(c.disabled=!1,b.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):(m==="div"||m==="span")&&(x=T.children("."+this._inlineClass),x.children().removeClass("ui-state-disabled"),x.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=n.map(this._disabledInputs,function(d){return d===c?null:d}))},_disableDatepicker:function(c){var m,x,T=n(c),b=n.data(c,"datepicker");T.hasClass(this.markerClassName)&&(m=c.nodeName.toLowerCase(),m==="input"?(c.disabled=!0,b.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):(m==="div"||m==="span")&&(x=T.children("."+this._inlineClass),x.children().addClass("ui-state-disabled"),x.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=n.map(this._disabledInputs,function(d){return d===c?null:d}),this._disabledInputs[this._disabledInputs.length]=c)},_isDisabledDatepicker:function(c){if(!c)return!1;for(var m=0;m<this._disabledInputs.length;m++)if(this._disabledInputs[m]===c)return!0;return!1},_getInst:function(c){try{return n.data(c,"datepicker")}catch{throw"Missing instance data for this datepicker"}},_optionDatepicker:function(c,m,x){var T,b,d,k,D=this._getInst(c);if(arguments.length===2&&typeof m=="string")return m==="defaults"?n.extend({},n.datepicker._defaults):D?m==="all"?n.extend({},D.settings):this._get(D,m):null;T=m||{},typeof m=="string"&&(T={},T[m]=x),D&&(this._curInst===D&&this._hideDatepicker(),b=this._getDateDatepicker(c,!0),d=this._getMinMaxDate(D,"min"),k=this._getMinMaxDate(D,"max"),p(D.settings,T),d!==null&&T.dateFormat!==void 0&&T.minDate===void 0&&(D.settings.minDate=this._formatDate(D,d)),k!==null&&T.dateFormat!==void 0&&T.maxDate===void 0&&(D.settings.maxDate=this._formatDate(D,k)),"disabled"in T&&(T.disabled?this._disableDatepicker(c):this._enableDatepicker(c)),this._attachments(n(c),D),this._autoSize(D),this._setDate(D,b),this._updateAlternate(D),this._updateDatepicker(D))},_changeDatepicker:function(c,m,x){this._optionDatepicker(c,m,x)},_refreshDatepicker:function(c){var m=this._getInst(c);m&&this._updateDatepicker(m)},_setDateDatepicker:function(c,m){var x=this._getInst(c);x&&(this._setDate(x,m),this._updateDatepicker(x),this._updateAlternate(x))},_getDateDatepicker:function(c,m){var x=this._getInst(c);return x&&!x.inline&&this._setDateFromField(x,m),x?this._getDate(x):null},_doKeyDown:function(c){var m,x,T,b=n.datepicker._getInst(c.target),d=!0,k=b.dpDiv.is(".ui-datepicker-rtl");if(b._keyEvent=!0,n.datepicker._datepickerShowing)switch(c.keyCode){case 9:n.datepicker._hideDatepicker(),d=!1;break;case 13:return T=n("td."+n.datepicker._dayOverClass+":not(."+n.datepicker._currentClass+")",b.dpDiv),T[0]&&n.datepicker._selectDay(c.target,b.selectedMonth,b.selectedYear,T[0]),m=n.datepicker._get(b,"onSelect"),m?(x=n.datepicker._formatDate(b),m.apply(b.input?b.input[0]:null,[x,b])):n.datepicker._hideDatepicker(),!1;case 27:n.datepicker._hideDatepicker();break;case 33:n.datepicker._adjustDate(c.target,c.ctrlKey?-n.datepicker._get(b,"stepBigMonths"):-n.datepicker._get(b,"stepMonths"),"M");break;case 34:n.datepicker._adjustDate(c.target,c.ctrlKey?+n.datepicker._get(b,"stepBigMonths"):+n.datepicker._get(b,"stepMonths"),"M");break;case 35:(c.ctrlKey||c.metaKey)&&n.datepicker._clearDate(c.target),d=c.ctrlKey||c.metaKey;break;case 36:(c.ctrlKey||c.metaKey)&&n.datepicker._gotoToday(c.target),d=c.ctrlKey||c.metaKey;break;case 37:(c.ctrlKey||c.metaKey)&&n.datepicker._adjustDate(c.target,k?1:-1,"D"),d=c.ctrlKey||c.metaKey,c.originalEvent.altKey&&n.datepicker._adjustDate(c.target,c.ctrlKey?-n.datepicker._get(b,"stepBigMonths"):-n.datepicker._get(b,"stepMonths"),"M");break;case 38:(c.ctrlKey||c.metaKey)&&n.datepicker._adjustDate(c.target,-7,"D"),d=c.ctrlKey||c.metaKey;break;case 39:(c.ctrlKey||c.metaKey)&&n.datepicker._adjustDate(c.target,k?-1:1,"D"),d=c.ctrlKey||c.metaKey,c.originalEvent.altKey&&n.datepicker._adjustDate(c.target,c.ctrlKey?+n.datepicker._get(b,"stepBigMonths"):+n.datepicker._get(b,"stepMonths"),"M");break;case 40:(c.ctrlKey||c.metaKey)&&n.datepicker._adjustDate(c.target,7,"D"),d=c.ctrlKey||c.metaKey;break;default:d=!1}else c.keyCode===36&&c.ctrlKey?n.datepicker._showDatepicker(this):d=!1;d&&(c.preventDefault(),c.stopPropagation())},_doKeyPress:function(c){var m,x,T=n.datepicker._getInst(c.target);if(n.datepicker._get(T,"constrainInput"))return m=n.datepicker._possibleChars(n.datepicker._get(T,"dateFormat")),x=String.fromCharCode(c.charCode==null?c.keyCode:c.charCode),c.ctrlKey||c.metaKey||x<" "||!m||m.indexOf(x)>-1},_doKeyUp:function(c){var m,x=n.datepicker._getInst(c.target);if(x.input.val()!==x.lastVal)try{m=n.datepicker.parseDate(n.datepicker._get(x,"dateFormat"),x.input?x.input.val():null,n.datepicker._getFormatConfig(x)),m&&(n.datepicker._setDateFromField(x),n.datepicker._updateAlternate(x),n.datepicker._updateDatepicker(x))}catch{}return!0},_showDatepicker:function(c){if(c=c.target||c,c.nodeName.toLowerCase()!=="input"&&(c=n("input",c.parentNode)[0]),!(n.datepicker._isDisabledDatepicker(c)||n.datepicker._lastInput===c)){var m,x,T,b,d,k,D;m=n.datepicker._getInst(c),n.datepicker._curInst&&n.datepicker._curInst!==m&&(n.datepicker._curInst.dpDiv.stop(!0,!0),m&&n.datepicker._datepickerShowing&&n.datepicker._hideDatepicker(n.datepicker._curInst.input[0])),x=n.datepicker._get(m,"beforeShow"),T=x?x.apply(c,[c,m]):{},T!==!1&&(p(m.settings,T),m.lastVal=null,n.datepicker._lastInput=c,n.datepicker._setDateFromField(m),n.datepicker._inDialog&&(c.value=""),n.datepicker._pos||(n.datepicker._pos=n.datepicker._findPos(c),n.datepicker._pos[1]+=c.offsetHeight),b=!1,n(c).parents().each(function(){return b|=n(this).css("position")==="fixed",!b}),d={left:n.datepicker._pos[0],top:n.datepicker._pos[1]},n.datepicker._pos=null,m.dpDiv.empty(),m.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),n.datepicker._updateDatepicker(m),d=n.datepicker._checkOffset(m,d,b),m.dpDiv.css({position:n.datepicker._inDialog&&n.blockUI?"static":b?"fixed":"absolute",display:"none",left:d.left+"px",top:d.top+"px"}),m.inline||(k=n.datepicker._get(m,"showAnim"),D=n.datepicker._get(m,"duration"),m.dpDiv.css("z-index",le(n(c))+1),n.datepicker._datepickerShowing=!0,n.effects&&n.effects.effect[k]?m.dpDiv.show(k,n.datepicker._get(m,"showOptions"),D):m.dpDiv[k||"show"](k?D:null),n.datepicker._shouldFocusInput(m)&&m.input.trigger("focus"),n.datepicker._curInst=m))}},_updateDatepicker:function(c){this.maxRows=4,V=c,c.dpDiv.empty().append(this._generateHTML(c)),this._attachHandlers(c);var m,x=this._getNumberOfMonths(c),T=x[1],b=17,d=c.dpDiv.find("."+this._dayOverClass+" a"),k=n.datepicker._get(c,"onUpdateDatepicker");d.length>0&&L.apply(d.get(0)),c.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),T>1&&c.dpDiv.addClass("ui-datepicker-multi-"+T).css("width",b*T+"em"),c.dpDiv[(x[0]!==1||x[1]!==1?"add":"remove")+"Class"]("ui-datepicker-multi"),c.dpDiv[(this._get(c,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),c===n.datepicker._curInst&&n.datepicker._datepickerShowing&&n.datepicker._shouldFocusInput(c)&&c.input.trigger("focus"),c.yearshtml&&(m=c.yearshtml,setTimeout(function(){m===c.yearshtml&&c.yearshtml&&c.dpDiv.find("select.ui-datepicker-year").first().replaceWith(c.yearshtml),m=c.yearshtml=null},0)),k&&k.apply(c.input?c.input[0]:null,[c])},_shouldFocusInput:function(c){return c.input&&c.input.is(":visible")&&!c.input.is(":disabled")},_checkOffset:function(c,m,x){var T=c.dpDiv.outerWidth(),b=c.dpDiv.outerHeight(),d=c.input?c.input.outerWidth():0,k=c.input?c.input.outerHeight():0,D=document.documentElement.clientWidth+(x?0:n(document).scrollLeft()),O=document.documentElement.clientHeight+(x?0:n(document).scrollTop());return m.left-=this._get(c,"isRTL")?T-d:0,m.left-=x&&m.left===c.input.offset().left?n(document).scrollLeft():0,m.top-=x&&m.top===c.input.offset().top+k?n(document).scrollTop():0,m.left-=Math.min(m.left,m.left+T>D&&D>T?Math.abs(m.left+T-D):0),m.top-=Math.min(m.top,m.top+b>O&&O>b?Math.abs(b+k):0),m},_findPos:function(c){for(var m,x=this._getInst(c),T=this._get(x,"isRTL");c&&(c.type==="hidden"||c.nodeType!==1||n.expr.pseudos.hidden(c));)c=c[T?"previousSibling":"nextSibling"];return m=n(c).offset(),[m.left,m.top]},_hideDatepicker:function(c){var m,x,T,b,d=this._curInst;!d||c&&d!==n.data(c,"datepicker")||this._datepickerShowing&&(m=this._get(d,"showAnim"),x=this._get(d,"duration"),T=function(){n.datepicker._tidyDialog(d)},n.effects&&n.effects.effect[m]?d.dpDiv.hide(m,n.datepicker._get(d,"showOptions"),x,T):d.dpDiv[m==="slideDown"?"slideUp":m==="fadeIn"?"fadeOut":"hide"](m?x:null,T),m||T(),this._datepickerShowing=!1,b=this._get(d,"onClose"),b&&b.apply(d.input?d.input[0]:null,[d.input?d.input.val():"",d]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),n.blockUI&&(n.unblockUI(),n("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(c){c.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(c){if(n.datepicker._curInst){var m=n(c.target),x=n.datepicker._getInst(m[0]);(m[0].id!==n.datepicker._mainDivId&&m.parents("#"+n.datepicker._mainDivId).length===0&&!m.hasClass(n.datepicker.markerClassName)&&!m.closest("."+n.datepicker._triggerClass).length&&n.datepicker._datepickerShowing&&!(n.datepicker._inDialog&&n.blockUI)||m.hasClass(n.datepicker.markerClassName)&&n.datepicker._curInst!==x)&&n.datepicker._hideDatepicker()}},_adjustDate:function(c,m,x){var T=n(c),b=this._getInst(T[0]);this._isDisabledDatepicker(T[0])||(this._adjustInstDate(b,m,x),this._updateDatepicker(b))},_gotoToday:function(c){var m,x=n(c),T=this._getInst(x[0]);this._get(T,"gotoCurrent")&&T.currentDay?(T.selectedDay=T.currentDay,T.drawMonth=T.selectedMonth=T.currentMonth,T.drawYear=T.selectedYear=T.currentYear):(m=new Date,T.selectedDay=m.getDate(),T.drawMonth=T.selectedMonth=m.getMonth(),T.drawYear=T.selectedYear=m.getFullYear()),this._notifyChange(T),this._adjustDate(x)},_selectMonthYear:function(c,m,x){var T=n(c),b=this._getInst(T[0]);b["selected"+(x==="M"?"Month":"Year")]=b["draw"+(x==="M"?"Month":"Year")]=parseInt(m.options[m.selectedIndex].value,10),this._notifyChange(b),this._adjustDate(T)},_selectDay:function(c,m,x,T){var b,d=n(c);n(T).hasClass(this._unselectableClass)||this._isDisabledDatepicker(d[0])||(b=this._getInst(d[0]),b.selectedDay=b.currentDay=parseInt(n("a",T).attr("data-date")),b.selectedMonth=b.currentMonth=m,b.selectedYear=b.currentYear=x,this._selectDate(c,this._formatDate(b,b.currentDay,b.currentMonth,b.currentYear)))},_clearDate:function(c){var m=n(c);this._selectDate(m,"")},_selectDate:function(c,m){var x,T=n(c),b=this._getInst(T[0]);m=m??this._formatDate(b),b.input&&b.input.val(m),this._updateAlternate(b),x=this._get(b,"onSelect"),x?x.apply(b.input?b.input[0]:null,[m,b]):b.input&&b.input.trigger("change"),b.inline?this._updateDatepicker(b):(this._hideDatepicker(),this._lastInput=b.input[0],typeof b.input[0]!="object"&&b.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(c){var m,x,T,b=this._get(c,"altField");b&&(m=this._get(c,"altFormat")||this._get(c,"dateFormat"),x=this._getDate(c),T=this.formatDate(m,x,this._getFormatConfig(c)),n(document).find(b).val(T))},noWeekends:function(c){var m=c.getDay();return[m>0&&m<6,""]},iso8601Week:function(c){var m,x=new Date(c.getTime());return x.setDate(x.getDate()+4-(x.getDay()||7)),m=x.getTime(),x.setMonth(0),x.setDate(1),Math.floor(Math.round((m-x)/864e5)/7)+1},parseDate:function(c,m,x){if(c==null||m==null)throw"Invalid arguments";if(m=typeof m=="object"?m.toString():m+"",m==="")return null;var T,b,d,k=0,D=(x?x.shortYearCutoff:null)||this._defaults.shortYearCutoff,O=typeof D!="string"?D:new Date().getFullYear()%100+parseInt(D,10),Q=(x?x.dayNamesShort:null)||this._defaults.dayNamesShort,J=(x?x.dayNames:null)||this._defaults.dayNames,X=(x?x.monthNamesShort:null)||this._defaults.monthNamesShort,U=(x?x.monthNames:null)||this._defaults.monthNames,z=-1,ie=-1,de=-1,me=-1,pe=!1,qe,mt=function(lt){var Je=T+1<c.length&&c.charAt(T+1)===lt;return Je&&T++,Je},st=function(lt){var Je=mt(lt),ht=lt==="@"?14:lt==="!"?20:lt==="y"&&Je?4:lt==="o"?3:2,at=lt==="y"?ht:1,bt=new RegExp("^\\d{"+at+","+ht+"}"),jt=m.substring(k).match(bt);if(!jt)throw"Missing number at position "+k;return k+=jt[0].length,parseInt(jt[0],10)},dt=function(lt,Je,ht){var at=-1,bt=n.map(mt(lt)?ht:Je,function(jt,Ge){return[[Ge,jt]]}).sort(function(jt,Ge){return-(jt[1].length-Ge[1].length)});if(n.each(bt,function(jt,Ge){var Qe=Ge[1];if(m.substr(k,Qe.length).toLowerCase()===Qe.toLowerCase())return at=Ge[0],k+=Qe.length,!1}),at!==-1)return at+1;throw"Unknown name at position "+k},Tt=function(){if(m.charAt(k)!==c.charAt(T))throw"Unexpected literal at position "+k;k++};for(T=0;T<c.length;T++)if(pe)c.charAt(T)==="'"&&!mt("'")?pe=!1:Tt();else switch(c.charAt(T)){case"d":de=st("d");break;case"D":dt("D",Q,J);break;case"o":me=st("o");break;case"m":ie=st("m");break;case"M":ie=dt("M",X,U);break;case"y":z=st("y");break;case"@":qe=new Date(st("@")),z=qe.getFullYear(),ie=qe.getMonth()+1,de=qe.getDate();break;case"!":qe=new Date((st("!")-this._ticksTo1970)/1e4),z=qe.getFullYear(),ie=qe.getMonth()+1,de=qe.getDate();break;case"'":mt("'")?Tt():pe=!0;break;default:Tt()}if(k<m.length&&(d=m.substr(k),!/^\s+/.test(d)))throw"Extra/unparsed characters found in date: "+d;if(z===-1?z=new Date().getFullYear():z<100&&(z+=new Date().getFullYear()-new Date().getFullYear()%100+(z<=O?0:-100)),me>-1){ie=1,de=me;do{if(b=this._getDaysInMonth(z,ie-1),de<=b)break;ie++,de-=b}while(!0)}if(qe=this._daylightSavingAdjust(new Date(z,ie-1,de)),qe.getFullYear()!==z||qe.getMonth()+1!==ie||qe.getDate()!==de)throw"Invalid date";return qe},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(1969*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*1e7,formatDate:function(c,m,x){if(!m)return"";var T,b=(x?x.dayNamesShort:null)||this._defaults.dayNamesShort,d=(x?x.dayNames:null)||this._defaults.dayNames,k=(x?x.monthNamesShort:null)||this._defaults.monthNamesShort,D=(x?x.monthNames:null)||this._defaults.monthNames,O=function(z){var ie=T+1<c.length&&c.charAt(T+1)===z;return ie&&T++,ie},Q=function(z,ie,de){var me=""+ie;if(O(z))for(;me.length<de;)me="0"+me;return me},J=function(z,ie,de,me){return O(z)?me[ie]:de[ie]},X="",U=!1;if(m)for(T=0;T<c.length;T++)if(U)c.charAt(T)==="'"&&!O("'")?U=!1:X+=c.charAt(T);else switch(c.charAt(T)){case"d":X+=Q("d",m.getDate(),2);break;case"D":X+=J("D",m.getDay(),b,d);break;case"o":X+=Q("o",Math.round((new Date(m.getFullYear(),m.getMonth(),m.getDate()).getTime()-new Date(m.getFullYear(),0,0).getTime())/864e5),3);break;case"m":X+=Q("m",m.getMonth()+1,2);break;case"M":X+=J("M",m.getMonth(),k,D);break;case"y":X+=O("y")?m.getFullYear():(m.getFullYear()%100<10?"0":"")+m.getFullYear()%100;break;case"@":X+=m.getTime();break;case"!":X+=m.getTime()*1e4+this._ticksTo1970;break;case"'":O("'")?X+="'":U=!0;break;default:X+=c.charAt(T)}return X},_possibleChars:function(c){var m,x="",T=!1,b=function(d){var k=m+1<c.length&&c.charAt(m+1)===d;return k&&m++,k};for(m=0;m<c.length;m++)if(T)c.charAt(m)==="'"&&!b("'")?T=!1:x+=c.charAt(m);else switch(c.charAt(m)){case"d":case"m":case"y":case"@":x+="0123456789";break;case"D":case"M":return null;case"'":b("'")?x+="'":T=!0;break;default:x+=c.charAt(m)}return x},_get:function(c,m){return c.settings[m]!==void 0?c.settings[m]:this._defaults[m]},_setDateFromField:function(c,m){if(c.input.val()!==c.lastVal){var x=this._get(c,"dateFormat"),T=c.lastVal=c.input?c.input.val():null,b=this._getDefaultDate(c),d=b,k=this._getFormatConfig(c);try{d=this.parseDate(x,T,k)||b}catch{T=m?"":T}c.selectedDay=d.getDate(),c.drawMonth=c.selectedMonth=d.getMonth(),c.drawYear=c.selectedYear=d.getFullYear(),c.currentDay=T?d.getDate():0,c.currentMonth=T?d.getMonth():0,c.currentYear=T?d.getFullYear():0,this._adjustInstDate(c)}},_getDefaultDate:function(c){return this._restrictMinMax(c,this._determineDate(c,this._get(c,"defaultDate"),new Date))},_determineDate:function(c,m,x){var T=function(k){var D=new Date;return D.setDate(D.getDate()+k),D},b=function(k){try{return n.datepicker.parseDate(n.datepicker._get(c,"dateFormat"),k,n.datepicker._getFormatConfig(c))}catch{}for(var D=(k.toLowerCase().match(/^c/)?n.datepicker._getDate(c):null)||new Date,O=D.getFullYear(),Q=D.getMonth(),J=D.getDate(),X=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,U=X.exec(k);U;){switch(U[2]||"d"){case"d":case"D":J+=parseInt(U[1],10);break;case"w":case"W":J+=parseInt(U[1],10)*7;break;case"m":case"M":Q+=parseInt(U[1],10),J=Math.min(J,n.datepicker._getDaysInMonth(O,Q));break;case"y":case"Y":O+=parseInt(U[1],10),J=Math.min(J,n.datepicker._getDaysInMonth(O,Q));break}U=X.exec(k)}return new Date(O,Q,J)},d=m==null||m===""?x:typeof m=="string"?b(m):typeof m=="number"?isNaN(m)?x:T(m):new Date(m.getTime());return d=d&&d.toString()==="Invalid Date"?x:d,d&&(d.setHours(0),d.setMinutes(0),d.setSeconds(0),d.setMilliseconds(0)),this._daylightSavingAdjust(d)},_daylightSavingAdjust:function(c){return c?(c.setHours(c.getHours()>12?c.getHours()+2:0),c):null},_setDate:function(c,m,x){var T=!m,b=c.selectedMonth,d=c.selectedYear,k=this._restrictMinMax(c,this._determineDate(c,m,new Date));c.selectedDay=c.currentDay=k.getDate(),c.drawMonth=c.selectedMonth=c.currentMonth=k.getMonth(),c.drawYear=c.selectedYear=c.currentYear=k.getFullYear(),(b!==c.selectedMonth||d!==c.selectedYear)&&!x&&this._notifyChange(c),this._adjustInstDate(c),c.input&&c.input.val(T?"":this._formatDate(c))},_getDate:function(c){var m=!c.currentYear||c.input&&c.input.val()===""?null:this._daylightSavingAdjust(new Date(c.currentYear,c.currentMonth,c.currentDay));return m},_attachHandlers:function(c){var m=this._get(c,"stepMonths"),x="#"+c.id.replace(/\\\\/g,"\\");c.dpDiv.find("[data-handler]").map(function(){var T={prev:function(){n.datepicker._adjustDate(x,-m,"M")},next:function(){n.datepicker._adjustDate(x,+m,"M")},hide:function(){n.datepicker._hideDatepicker()},today:function(){n.datepicker._gotoToday(x)},selectDay:function(){return n.datepicker._selectDay(x,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return n.datepicker._selectMonthYear(x,this,"M"),!1},selectYear:function(){return n.datepicker._selectMonthYear(x,this,"Y"),!1}};n(this).on(this.getAttribute("data-event"),T[this.getAttribute("data-handler")])})},_generateHTML:function(c){var m,x,T,b,d,k,D,O,Q,J,X,U,z,ie,de,me,pe,qe,mt,st,dt,Tt,lt,Je,ht,at,bt,jt,Ge,Qe,Wt,Et,Ct,Kt,Me,te,_e,je,We,et=new Date,Ye=this._daylightSavingAdjust(new Date(et.getFullYear(),et.getMonth(),et.getDate())),De=this._get(c,"isRTL"),Ht=this._get(c,"showButtonPanel"),Mt=this._get(c,"hideIfNoPrevNext"),ge=this._get(c,"navigationAsDateFormat"),Dt=this._getNumberOfMonths(c),yt=this._get(c,"showCurrentAtPos"),Ne=this._get(c,"stepMonths"),_t=Dt[0]!==1||Dt[1]!==1,pt=this._daylightSavingAdjust(c.currentDay?new Date(c.currentYear,c.currentMonth,c.currentDay):new Date(9999,9,9)),Bt=this._getMinMaxDate(c,"min"),ur=this._getMinMaxDate(c,"max"),kt=c.drawMonth-yt,Ut=c.drawYear;if(kt<0&&(kt+=12,Ut--),ur)for(m=this._daylightSavingAdjust(new Date(ur.getFullYear(),ur.getMonth()-Dt[0]*Dt[1]+1,ur.getDate())),m=Bt&&m<Bt?Bt:m;this._daylightSavingAdjust(new Date(Ut,kt,1))>m;)kt--,kt<0&&(kt=11,Ut--);for(c.drawMonth=kt,c.drawYear=Ut,x=this._get(c,"prevText"),x=ge?this.formatDate(x,this._daylightSavingAdjust(new Date(Ut,kt-Ne,1)),this._getFormatConfig(c)):x,this._canAdjustMonth(c,-1,Ut,kt)?T=n("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:x}).append(n("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(De?"e":"w")).text(x))[0].outerHTML:Mt?T="":T=n("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:x}).append(n("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(De?"e":"w")).text(x))[0].outerHTML,b=this._get(c,"nextText"),b=ge?this.formatDate(b,this._daylightSavingAdjust(new Date(Ut,kt+Ne,1)),this._getFormatConfig(c)):b,this._canAdjustMonth(c,1,Ut,kt)?d=n("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:b}).append(n("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(De?"w":"e")).text(b))[0].outerHTML:Mt?d="":d=n("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:b}).append(n("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(De?"w":"e")).text(b))[0].outerHTML,k=this._get(c,"currentText"),D=this._get(c,"gotoCurrent")&&c.currentDay?pt:Ye,k=ge?this.formatDate(k,D,this._getFormatConfig(c)):k,O="",c.inline||(O=n("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(c,"closeText"))[0].outerHTML),Q="",Ht&&(Q=n("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(De?O:"").append(this._isInRange(c,D)?n("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(k):"").append(De?"":O)[0].outerHTML),J=parseInt(this._get(c,"firstDay"),10),J=isNaN(J)?0:J,X=this._get(c,"showWeek"),U=this._get(c,"dayNames"),z=this._get(c,"dayNamesMin"),ie=this._get(c,"monthNames"),de=this._get(c,"monthNamesShort"),me=this._get(c,"beforeShowDay"),pe=this._get(c,"showOtherMonths"),qe=this._get(c,"selectOtherMonths"),mt=this._getDefaultDate(c),st="",Tt=0;Tt<Dt[0];Tt++){for(lt="",this.maxRows=4,Je=0;Je<Dt[1];Je++){if(ht=this._daylightSavingAdjust(new Date(Ut,kt,c.selectedDay)),at=" ui-corner-all",bt="",_t){if(bt+="<div class='ui-datepicker-group",Dt[1]>1)switch(Je){case 0:bt+=" ui-datepicker-group-first",at=" ui-corner-"+(De?"right":"left");break;case Dt[1]-1:bt+=" ui-datepicker-group-last",at=" ui-corner-"+(De?"left":"right");break;default:bt+=" ui-datepicker-group-middle",at="";break}bt+="'>"}for(bt+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+at+"'>"+(/all|left/.test(at)&&Tt===0?De?d:T:"")+(/all|right/.test(at)&&Tt===0?De?T:d:"")+this._generateMonthYearHeader(c,kt,Ut,Bt,ur,Tt>0||Je>0,ie,de)+"</div><table class='ui-datepicker-calendar'><thead><tr>",jt=X?"<th class='ui-datepicker-week-col'>"+this._get(c,"weekHeader")+"</th>":"",dt=0;dt<7;dt++)Ge=(dt+J)%7,jt+="<th scope='col'"+((dt+J+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+U[Ge]+"'>"+z[Ge]+"</span></th>";for(bt+=jt+"</tr></thead><tbody>",Qe=this._getDaysInMonth(Ut,kt),Ut===c.selectedYear&&kt===c.selectedMonth&&(c.selectedDay=Math.min(c.selectedDay,Qe)),Wt=(this._getFirstDayOfMonth(Ut,kt)-J+7)%7,Et=Math.ceil((Wt+Qe)/7),Ct=_t&&this.maxRows>Et?this.maxRows:Et,this.maxRows=Ct,Kt=this._daylightSavingAdjust(new Date(Ut,kt,1-Wt)),Me=0;Me<Ct;Me++){for(bt+="<tr>",te=X?"<td class='ui-datepicker-week-col'>"+this._get(c,"calculateWeek")(Kt)+"</td>":"",dt=0;dt<7;dt++)_e=me?me.apply(c.input?c.input[0]:null,[Kt]):[!0,""],je=Kt.getMonth()!==kt,We=je&&!qe||!_e[0]||Bt&&Kt<Bt||ur&&Kt>ur,te+="<td class='"+((dt+J+6)%7>=5?" ui-datepicker-week-end":"")+(je?" ui-datepicker-other-month":"")+(Kt.getTime()===ht.getTime()&&kt===c.selectedMonth&&c._keyEvent||mt.getTime()===Kt.getTime()&&mt.getTime()===ht.getTime()?" "+this._dayOverClass:"")+(We?" "+this._unselectableClass+" ui-state-disabled":"")+(je&&!pe?"":" "+_e[1]+(Kt.getTime()===pt.getTime()?" "+this._currentClass:"")+(Kt.getTime()===Ye.getTime()?" ui-datepicker-today":""))+"'"+((!je||pe)&&_e[2]?" title='"+_e[2].replace(/'/g,"&#39;")+"'":"")+(We?"":" data-handler='selectDay' data-event='click' data-month='"+Kt.getMonth()+"' data-year='"+Kt.getFullYear()+"'")+">"+(je&&!pe?"&#xa0;":We?"<span class='ui-state-default'>"+Kt.getDate()+"</span>":"<a class='ui-state-default"+(Kt.getTime()===Ye.getTime()?" ui-state-highlight":"")+(Kt.getTime()===pt.getTime()?" ui-state-active":"")+(je?" ui-priority-secondary":"")+"' href='#' aria-current='"+(Kt.getTime()===pt.getTime()?"true":"false")+"' data-date='"+Kt.getDate()+"'>"+Kt.getDate()+"</a>")+"</td>",Kt.setDate(Kt.getDate()+1),Kt=this._daylightSavingAdjust(Kt);bt+=te+"</tr>"}kt++,kt>11&&(kt=0,Ut++),bt+="</tbody></table>"+(_t?"</div>"+(Dt[0]>0&&Je===Dt[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),lt+=bt}st+=lt}return st+=Q,c._keyEvent=!1,st},_generateMonthYearHeader:function(c,m,x,T,b,d,k,D){var O,Q,J,X,U,z,ie,de,me=this._get(c,"changeMonth"),pe=this._get(c,"changeYear"),qe=this._get(c,"showMonthAfterYear"),mt=this._get(c,"selectMonthLabel"),st=this._get(c,"selectYearLabel"),dt="<div class='ui-datepicker-title'>",Tt="";if(d||!me)Tt+="<span class='ui-datepicker-month'>"+k[m]+"</span>";else{for(O=T&&T.getFullYear()===x,Q=b&&b.getFullYear()===x,Tt+="<select class='ui-datepicker-month' aria-label='"+mt+"' data-handler='selectMonth' data-event='change'>",J=0;J<12;J++)(!O||J>=T.getMonth())&&(!Q||J<=b.getMonth())&&(Tt+="<option value='"+J+"'"+(J===m?" selected='selected'":"")+">"+D[J]+"</option>");Tt+="</select>"}if(qe||(dt+=Tt+(d||!(me&&pe)?"&#xa0;":"")),!c.yearshtml)if(c.yearshtml="",d||!pe)dt+="<span class='ui-datepicker-year'>"+x+"</span>";else{for(X=this._get(c,"yearRange").split(":"),U=new Date().getFullYear(),z=function(lt){var Je=lt.match(/c[+\-].*/)?x+parseInt(lt.substring(1),10):lt.match(/[+\-].*/)?U+parseInt(lt,10):parseInt(lt,10);return isNaN(Je)?U:Je},ie=z(X[0]),de=Math.max(ie,z(X[1]||"")),ie=T?Math.max(ie,T.getFullYear()):ie,de=b?Math.min(de,b.getFullYear()):de,c.yearshtml+="<select class='ui-datepicker-year' aria-label='"+st+"' data-handler='selectYear' data-event='change'>";ie<=de;ie++)c.yearshtml+="<option value='"+ie+"'"+(ie===x?" selected='selected'":"")+">"+ie+"</option>";c.yearshtml+="</select>",dt+=c.yearshtml,c.yearshtml=null}return dt+=this._get(c,"yearSuffix"),qe&&(dt+=(d||!(me&&pe)?"&#xa0;":"")+Tt),dt+="</div>",dt},_adjustInstDate:function(c,m,x){var T=c.selectedYear+(x==="Y"?m:0),b=c.selectedMonth+(x==="M"?m:0),d=Math.min(c.selectedDay,this._getDaysInMonth(T,b))+(x==="D"?m:0),k=this._restrictMinMax(c,this._daylightSavingAdjust(new Date(T,b,d)));c.selectedDay=k.getDate(),c.drawMonth=c.selectedMonth=k.getMonth(),c.drawYear=c.selectedYear=k.getFullYear(),(x==="M"||x==="Y")&&this._notifyChange(c)},_restrictMinMax:function(c,m){var x=this._getMinMaxDate(c,"min"),T=this._getMinMaxDate(c,"max"),b=x&&m<x?x:m;return T&&b>T?T:b},_notifyChange:function(c){var m=this._get(c,"onChangeMonthYear");m&&m.apply(c.input?c.input[0]:null,[c.selectedYear,c.selectedMonth+1,c])},_getNumberOfMonths:function(c){var m=this._get(c,"numberOfMonths");return m==null?[1,1]:typeof m=="number"?[1,m]:m},_getMinMaxDate:function(c,m){return this._determineDate(c,this._get(c,m+"Date"),null)},_getDaysInMonth:function(c,m){return 32-this._daylightSavingAdjust(new Date(c,m,32)).getDate()},_getFirstDayOfMonth:function(c,m){return new Date(c,m,1).getDay()},_canAdjustMonth:function(c,m,x,T){var b=this._getNumberOfMonths(c),d=this._daylightSavingAdjust(new Date(x,T+(m<0?m:b[0]*b[1]),1));return m<0&&d.setDate(this._getDaysInMonth(d.getFullYear(),d.getMonth())),this._isInRange(c,d)},_isInRange:function(c,m){var x,T,b=this._getMinMaxDate(c,"min"),d=this._getMinMaxDate(c,"max"),k=null,D=null,O=this._get(c,"yearRange");return O&&(x=O.split(":"),T=new Date().getFullYear(),k=parseInt(x[0],10),D=parseInt(x[1],10),x[0].match(/[+\-].*/)&&(k+=T),x[1].match(/[+\-].*/)&&(D+=T)),(!b||m.getTime()>=b.getTime())&&(!d||m.getTime()<=d.getTime())&&(!k||m.getFullYear()>=k)&&(!D||m.getFullYear()<=D)},_getFormatConfig:function(c){var m=this._get(c,"shortYearCutoff");return m=typeof m!="string"?m:new Date().getFullYear()%100+parseInt(m,10),{shortYearCutoff:m,dayNamesShort:this._get(c,"dayNamesShort"),dayNames:this._get(c,"dayNames"),monthNamesShort:this._get(c,"monthNamesShort"),monthNames:this._get(c,"monthNames")}},_formatDate:function(c,m,x,T){m||(c.currentDay=c.selectedDay,c.currentMonth=c.selectedMonth,c.currentYear=c.selectedYear);var b=m?typeof m=="object"?m:this._daylightSavingAdjust(new Date(T,x,m)):this._daylightSavingAdjust(new Date(c.currentYear,c.currentMonth,c.currentDay));return this.formatDate(this._get(c,"dateFormat"),b,this._getFormatConfig(c))}});function ye(c){var m="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return c.on("mouseout",m,function(){n(this).removeClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!==-1&&n(this).removeClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!==-1&&n(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",m,L)}function L(){n.datepicker._isDisabledDatepicker(V.inline?V.dpDiv.parent()[0]:V.input[0])||(n(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),n(this).addClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!==-1&&n(this).addClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!==-1&&n(this).addClass("ui-datepicker-next-hover"))}function p(c,m){n.extend(c,m);for(var x in m)m[x]==null&&(c[x]=m[x]);return c}n.fn.datepicker=function(c){if(!this.length)return this;n.datepicker.initialized||(n(document).on("mousedown",n.datepicker._checkExternalClick),n.datepicker.initialized=!0),n("#"+n.datepicker._mainDivId).length===0&&n("body").append(n.datepicker.dpDiv);var m=Array.prototype.slice.call(arguments,1);return typeof c=="string"&&(c==="isDisabled"||c==="getDate"||c==="widget")?n.datepicker["_"+c+"Datepicker"].apply(n.datepicker,[this[0]].concat(m)):c==="option"&&arguments.length===2&&typeof arguments[1]=="string"?n.datepicker["_"+c+"Datepicker"].apply(n.datepicker,[this[0]].concat(m)):this.each(function(){typeof c=="string"?n.datepicker["_"+c+"Datepicker"].apply(n.datepicker,[this].concat(m)):n.datepicker._attachDatepicker(this,c)})},n.datepicker=new he,n.datepicker.initialized=!1,n.datepicker.uuid=new Date().getTime(),n.datepicker.version="1.14.0",n.datepicker;/*!
  * jQuery UI Mouse 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */var v=!1;t(document).on("mouseup",function(){v=!1}),t.widget("ui.mouse",{version:"1.14.0",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var c=this;this.element.on("mousedown."+this.widgetName,function(p){return c._mouseDown(p)}).on("click."+this.widgetName,function(p){if(t.data(p.target,c.widgetName+".preventClickEvent")===!0)return t.removeData(p.target,c.widgetName+".preventClickEvent"),p.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(c){if(!v){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(c),this._mouseDownEvent=c;var p=this,x=c.which===1,S=typeof this.options.cancel=="string"?t(c.target).closest(this.options.cancel).length:!1;return!x||S||!this._mouseCapture(c)?!0:(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){p.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(c)&&this._mouseDelayMet(c)&&(this._mouseStarted=this._mouseStart(c)!==!1,!this._mouseStarted)?(c.preventDefault(),!0):(t.data(c.target,this.widgetName+".preventClickEvent")===!0&&t.removeData(c.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(b){return p._mouseMove(b)},this._mouseUpDelegate=function(b){return p._mouseUp(b)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),c.preventDefault(),v=!0,!0))}},_mouseMove:function(c){if(this._mouseMoved&&!c.which){if(c.originalEvent.altKey||c.originalEvent.ctrlKey||c.originalEvent.metaKey||c.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(c)}return(c.which||c.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(c),c.preventDefault()):(this._mouseDistanceMet(c)&&this._mouseDelayMet(c)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,c)!==!1,this._mouseStarted?this._mouseDrag(c):this._mouseUp(c)),!this._mouseStarted)},_mouseUp:function(c){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,c.target===this._mouseDownEvent.target&&t.data(c.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(c)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,v=!1,c.preventDefault()},_mouseDistanceMet:function(c){return Math.max(Math.abs(this._mouseDownEvent.pageX-c.pageX),Math.abs(this._mouseDownEvent.pageY-c.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(c,p,x){var S,b=t.ui[c].prototype;for(S in x)b.plugins[S]=b.plugins[S]||[],b.plugins[S].push([p,x[S]])},call:function(c,p,x,S){var b,h=c.plugins[p];if(h&&!(!S&&(!c.element[0].parentNode||c.element[0].parentNode.nodeType===11)))for(b=0;b<h.length;b++)c.options[h[b][0]]&&h[b][1].apply(c.element,x)}};/*!
+ */var y=!1;n(document).on("mouseup",function(){y=!1}),n.widget("ui.mouse",{version:"1.14.0",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var c=this;this.element.on("mousedown."+this.widgetName,function(m){return c._mouseDown(m)}).on("click."+this.widgetName,function(m){if(n.data(m.target,c.widgetName+".preventClickEvent")===!0)return n.removeData(m.target,c.widgetName+".preventClickEvent"),m.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(c){if(!y){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(c),this._mouseDownEvent=c;var m=this,x=c.which===1,T=typeof this.options.cancel=="string"?n(c.target).closest(this.options.cancel).length:!1;return!x||T||!this._mouseCapture(c)?!0:(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){m.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(c)&&this._mouseDelayMet(c)&&(this._mouseStarted=this._mouseStart(c)!==!1,!this._mouseStarted)?(c.preventDefault(),!0):(n.data(c.target,this.widgetName+".preventClickEvent")===!0&&n.removeData(c.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(b){return m._mouseMove(b)},this._mouseUpDelegate=function(b){return m._mouseUp(b)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),c.preventDefault(),y=!0,!0))}},_mouseMove:function(c){if(this._mouseMoved&&!c.which){if(c.originalEvent.altKey||c.originalEvent.ctrlKey||c.originalEvent.metaKey||c.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(c)}return(c.which||c.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(c),c.preventDefault()):(this._mouseDistanceMet(c)&&this._mouseDelayMet(c)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,c)!==!1,this._mouseStarted?this._mouseDrag(c):this._mouseUp(c)),!this._mouseStarted)},_mouseUp:function(c){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,c.target===this._mouseDownEvent.target&&n.data(c.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(c)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,y=!1,c.preventDefault()},_mouseDistanceMet:function(c){return Math.max(Math.abs(this._mouseDownEvent.pageX-c.pageX),Math.abs(this._mouseDownEvent.pageY-c.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),n.ui.plugin={add:function(c,m,x){var T,b=n.ui[c].prototype;for(T in x)b.plugins[T]=b.plugins[T]||[],b.plugins[T].push([m,x[T]])},call:function(c,m,x,T){var b,d=c.plugins[m];if(d&&!(!T&&(!c.element[0].parentNode||c.element[0].parentNode.nodeType===11)))for(b=0;b<d.length;b++)c.options[d[b][0]]&&d[b][1].apply(c.element,x)}};/*!
  * jQuery UI Draggable 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.draggable",t.ui.mouse,{version:"1.14.0",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){this.options.helper==="original"&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(c,p){this._super(c,p),c==="handle"&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging")){this.destroyOnClear=!0;return}this._removeHandleClassName(),this._mouseDestroy()},_mouseCapture:function(c){var p=this.options;return this.helper||p.disabled||t(c.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(c),!this.handle)?!1:(this._blurActiveElement(c),this._blockFrames(p.iframeFix===!0?"iframe":p.iframeFix),!0)},_blockFrames:function(c){this.iframeBlocks=this.document.find(c).map(function(){var p=t(this);return t("<div>").css("position","absolute").appendTo(p.parent()).outerWidth(p.outerWidth()).outerHeight(p.outerHeight()).offset(p.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(c){var p=this.document[0].activeElement,x=t(c.target);x.closest(p).length||t(p).trigger("blur")},_mouseStart:function(c){var p=this.options;return this.helper=this._createHelper(c),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return t(this).css("position")==="fixed"}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(c),this.originalPosition=this.position=this._generatePosition(c,!1),this.originalPageX=c.pageX,this.originalPageY=c.pageY,p.cursorAt&&this._adjustOffsetFromHelper(p.cursorAt),this._setContainment(),this._trigger("start",c)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!p.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,c),this._mouseDrag(c,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,c),!0)},_refreshOffsets:function(c){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:c.pageX-this.offset.left,top:c.pageY-this.offset.top}},_mouseDrag:function(c,p){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(c,!0),this.positionAbs=this._convertPositionTo("absolute"),!p){var x=this._uiHash();if(this._trigger("drag",c,x)===!1)return this._mouseUp(new t.Event("mouseup",c)),!1;this.position=x.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,c),!1},_mouseStop:function(c){var p=this,x=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(x=t.ui.ddmanager.drop(this,c)),this.dropped&&(x=this.dropped,this.dropped=!1),this.options.revert==="invalid"&&!x||this.options.revert==="valid"&&x||this.options.revert===!0||typeof this.options.revert=="function"&&this.options.revert.call(this.element,x)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){p._trigger("stop",c)!==!1&&p._clear()}):this._trigger("stop",c)!==!1&&this._clear(),!1},_mouseUp:function(c){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,c),this.handleElement.is(c.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,c)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(c){return this.options.handle?!!t(c.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(c){var p=this.options,x=typeof p.helper=="function",S=x?t(p.helper.apply(this.element[0],[c])):p.helper==="clone"?this.element.clone().removeAttr("id"):this.element;return S.parents("body").length||S.appendTo(p.appendTo==="parent"?this.element[0].parentNode:p.appendTo),x&&S[0]===this.element[0]&&this._setPositionRelative(),S[0]!==this.element[0]&&!/(fixed|absolute)/.test(S.css("position"))&&S.css("position","absolute"),S},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(c){typeof c=="string"&&(c=c.split(" ")),Array.isArray(c)&&(c={left:+c[0],top:+c[1]||0}),"left"in c&&(this.offset.click.left=c.left+this.margins.left),"right"in c&&(this.offset.click.left=this.helperProportions.width-c.right+this.margins.left),"top"in c&&(this.offset.click.top=c.top+this.margins.top),"bottom"in c&&(this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top)},_isRootNode:function(c){return/(html|body)/i.test(c.tagName)||c===this.document[0]},_getParentOffset:function(){var c=this.offsetParent.offset(),p=this.document[0];return this.cssPosition==="absolute"&&this.scrollParent[0]!==p&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(c.left+=this.scrollParent.scrollLeft(),c.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(c={top:0,left:0}),{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition!=="relative")return{top:0,left:0};var c=this.element.position(),p=this._isRootNode(this.scrollParent[0]);return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+(p?0:this.scrollParent.scrollTop()),left:c.left-(parseInt(this.helper.css("left"),10)||0)+(p?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var c,p,x,S=this.options,b=this.document[0];if(this.relativeContainer=null,!S.containment){this.containment=null;return}if(S.containment==="window"){this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||b.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(S.containment==="document"){this.containment=[0,0,t(b).width()-this.helperProportions.width-this.margins.left,(t(b).height()||b.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(S.containment.constructor===Array){this.containment=S.containment;return}S.containment==="parent"&&(S.containment=this.helper[0].parentNode),p=t(S.containment),x=p[0],x&&(c=/(scroll|auto)/.test(p.css("overflow")),this.containment=[(parseInt(p.css("borderLeftWidth"),10)||0)+(parseInt(p.css("paddingLeft"),10)||0),(parseInt(p.css("borderTopWidth"),10)||0)+(parseInt(p.css("paddingTop"),10)||0),(c?Math.max(x.scrollWidth,x.offsetWidth):x.offsetWidth)-(parseInt(p.css("borderRightWidth"),10)||0)-(parseInt(p.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(c?Math.max(x.scrollHeight,x.offsetHeight):x.offsetHeight)-(parseInt(p.css("borderBottomWidth"),10)||0)-(parseInt(p.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=p)},_convertPositionTo:function(c,p){p||(p=this.position);var x=c==="absolute"?1:-1,S=this._isRootNode(this.scrollParent[0]);return{top:p.top+this.offset.relative.top*x+this.offset.parent.top*x-(this.cssPosition==="fixed"?-this.offset.scroll.top:S?0:this.offset.scroll.top)*x,left:p.left+this.offset.relative.left*x+this.offset.parent.left*x-(this.cssPosition==="fixed"?-this.offset.scroll.left:S?0:this.offset.scroll.left)*x}},_generatePosition:function(c,p){var x,S,b,h,T=this.options,M=this._isRootNode(this.scrollParent[0]),j=c.pageX,V=c.pageY;return(!M||!this.offset.scroll)&&(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),p&&(this.containment&&(this.relativeContainer?(S=this.relativeContainer.offset(),x=[this.containment[0]+S.left,this.containment[1]+S.top,this.containment[2]+S.left,this.containment[3]+S.top]):x=this.containment,c.pageX-this.offset.click.left<x[0]&&(j=x[0]+this.offset.click.left),c.pageY-this.offset.click.top<x[1]&&(V=x[1]+this.offset.click.top),c.pageX-this.offset.click.left>x[2]&&(j=x[2]+this.offset.click.left),c.pageY-this.offset.click.top>x[3]&&(V=x[3]+this.offset.click.top)),T.grid&&(b=T.grid[1]?this.originalPageY+Math.round((V-this.originalPageY)/T.grid[1])*T.grid[1]:this.originalPageY,V=x?b-this.offset.click.top>=x[1]||b-this.offset.click.top>x[3]?b:b-this.offset.click.top>=x[1]?b-T.grid[1]:b+T.grid[1]:b,h=T.grid[0]?this.originalPageX+Math.round((j-this.originalPageX)/T.grid[0])*T.grid[0]:this.originalPageX,j=x?h-this.offset.click.left>=x[0]||h-this.offset.click.left>x[2]?h:h-this.offset.click.left>=x[0]?h-T.grid[0]:h+T.grid[0]:h),T.axis==="y"&&(j=this.originalPageX),T.axis==="x"&&(V=this.originalPageY)),{top:V-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.offset.scroll.top:M?0:this.offset.scroll.top),left:j-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.offset.scroll.left:M?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(c,p,x){return x=x||this._uiHash(),t.ui.plugin.call(this,c,[p,x,this],!0),/^(drag|start|stop)/.test(c)&&(this.positionAbs=this._convertPositionTo("absolute"),x.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,c,p,x)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(c,p,x){var S=t.extend({},p,{item:x.element});x.sortables=[],t(x.options.connectToSortable).each(function(){var b=t(this).sortable("instance");b&&!b.options.disabled&&(x.sortables.push(b),b.refreshPositions(),b._trigger("activate",c,S))})},stop:function(c,p,x){var S=t.extend({},p,{item:x.element});x.cancelHelperRemoval=!1,t.each(x.sortables,function(){var b=this;b.isOver?(b.isOver=0,x.cancelHelperRemoval=!0,b.cancelHelperRemoval=!1,b._storedCSS={position:b.placeholder.css("position"),top:b.placeholder.css("top"),left:b.placeholder.css("left")},b._mouseStop(c),b.options.helper=b.options._helper):(b.cancelHelperRemoval=!0,b._trigger("deactivate",c,S))})},drag:function(c,p,x){t.each(x.sortables,function(){var S=!1,b=this;b.positionAbs=x.positionAbs,b.helperProportions=x.helperProportions,b.offset.click=x.offset.click,b._intersectsWith(b.containerCache)&&(S=!0,t.each(x.sortables,function(){return this.positionAbs=x.positionAbs,this.helperProportions=x.helperProportions,this.offset.click=x.offset.click,this!==b&&this._intersectsWith(this.containerCache)&&t.contains(b.element[0],this.element[0])&&(S=!1),S})),S?(b.isOver||(b.isOver=1,x._parent=p.helper.parent(),b.currentItem=p.helper.appendTo(b.element).data("ui-sortable-item",!0),b.options._helper=b.options.helper,b.options.helper=function(){return p.helper[0]},c.target=b.currentItem[0],b._mouseCapture(c,!0),b._mouseStart(c,!0,!0),b.offset.click.top=x.offset.click.top,b.offset.click.left=x.offset.click.left,b.offset.parent.left-=x.offset.parent.left-b.offset.parent.left,b.offset.parent.top-=x.offset.parent.top-b.offset.parent.top,x._trigger("toSortable",c),x.dropped=b.element,t.each(x.sortables,function(){this.refreshPositions()}),x.currentItem=x.element,b.fromOutside=x),b.currentItem&&(b._mouseDrag(c),p.position=b.position)):b.isOver&&(b.isOver=0,b.cancelHelperRemoval=!0,b.options._revert=b.options.revert,b.options.revert=!1,b._trigger("out",c,b._uiHash(b)),b._mouseStop(c,!0),b.options.revert=b.options._revert,b.options.helper=b.options._helper,b.placeholder&&b.placeholder.remove(),p.helper.appendTo(x._parent),x._refreshOffsets(c),p.position=x._generatePosition(c,!0),x._trigger("fromSortable",c),x.dropped=!1,t.each(x.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(c,p,x){var S=t("body"),b=x.options;S.css("cursor")&&(b._cursor=S.css("cursor")),S.css("cursor",b.cursor)},stop:function(c,p,x){var S=x.options;S._cursor&&t("body").css("cursor",S._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(c,p,x){var S=t(p.helper),b=x.options;S.css("opacity")&&(b._opacity=S.css("opacity")),S.css("opacity",b.opacity)},stop:function(c,p,x){var S=x.options;S._opacity&&t(p.helper).css("opacity",S._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(c,p,x){x.scrollParentNotHidden||(x.scrollParentNotHidden=x.helper.scrollParent(!1)),x.scrollParentNotHidden[0]!==x.document[0]&&x.scrollParentNotHidden[0].tagName!=="HTML"&&(x.overflowOffset=x.scrollParentNotHidden.offset())},drag:function(c,p,x){var S=x.options,b=!1,h=x.scrollParentNotHidden[0],T=x.document[0];h!==T&&h.tagName!=="HTML"?((!S.axis||S.axis!=="x")&&(x.overflowOffset.top+h.offsetHeight-c.pageY<S.scrollSensitivity?h.scrollTop=b=h.scrollTop+S.scrollSpeed:c.pageY-x.overflowOffset.top<S.scrollSensitivity&&(h.scrollTop=b=h.scrollTop-S.scrollSpeed)),(!S.axis||S.axis!=="y")&&(x.overflowOffset.left+h.offsetWidth-c.pageX<S.scrollSensitivity?h.scrollLeft=b=h.scrollLeft+S.scrollSpeed:c.pageX-x.overflowOffset.left<S.scrollSensitivity&&(h.scrollLeft=b=h.scrollLeft-S.scrollSpeed))):((!S.axis||S.axis!=="x")&&(c.pageY-t(T).scrollTop()<S.scrollSensitivity?b=t(T).scrollTop(t(T).scrollTop()-S.scrollSpeed):t(window).height()-(c.pageY-t(T).scrollTop())<S.scrollSensitivity&&(b=t(T).scrollTop(t(T).scrollTop()+S.scrollSpeed))),(!S.axis||S.axis!=="y")&&(c.pageX-t(T).scrollLeft()<S.scrollSensitivity?b=t(T).scrollLeft(t(T).scrollLeft()-S.scrollSpeed):t(window).width()-(c.pageX-t(T).scrollLeft())<S.scrollSensitivity&&(b=t(T).scrollLeft(t(T).scrollLeft()+S.scrollSpeed)))),b!==!1&&t.ui.ddmanager&&!S.dropBehaviour&&t.ui.ddmanager.prepareOffsets(x,c)}}),t.ui.plugin.add("draggable","snap",{start:function(c,p,x){var S=x.options;x.snapElements=[],t(S.snap.constructor!==String?S.snap.items||":data(ui-draggable)":S.snap).each(function(){var b=t(this),h=b.offset();this!==x.element[0]&&x.snapElements.push({item:this,width:b.outerWidth(),height:b.outerHeight(),top:h.top,left:h.left})})},drag:function(c,p,x){var S,b,h,T,M,j,V,ee,Z,U,z=x.options,ne=z.snapTolerance,fe=p.offset.left,me=fe+x.helperProportions.width,de=p.offset.top,Oe=de+x.helperProportions.height;for(Z=x.snapElements.length-1;Z>=0;Z--){if(M=x.snapElements[Z].left-x.margins.left,j=M+x.snapElements[Z].width,V=x.snapElements[Z].top-x.margins.top,ee=V+x.snapElements[Z].height,me<M-ne||fe>j+ne||Oe<V-ne||de>ee+ne||!t.contains(x.snapElements[Z].item.ownerDocument,x.snapElements[Z].item)){x.snapElements[Z].snapping&&x.options.snap.release&&x.options.snap.release.call(x.element,c,t.extend(x._uiHash(),{snapItem:x.snapElements[Z].item})),x.snapElements[Z].snapping=!1;continue}z.snapMode!=="inner"&&(S=Math.abs(V-Oe)<=ne,b=Math.abs(ee-de)<=ne,h=Math.abs(M-me)<=ne,T=Math.abs(j-fe)<=ne,S&&(p.position.top=x._convertPositionTo("relative",{top:V-x.helperProportions.height,left:0}).top),b&&(p.position.top=x._convertPositionTo("relative",{top:ee,left:0}).top),h&&(p.position.left=x._convertPositionTo("relative",{top:0,left:M-x.helperProportions.width}).left),T&&(p.position.left=x._convertPositionTo("relative",{top:0,left:j}).left)),U=S||b||h||T,z.snapMode!=="outer"&&(S=Math.abs(V-de)<=ne,b=Math.abs(ee-Oe)<=ne,h=Math.abs(M-fe)<=ne,T=Math.abs(j-me)<=ne,S&&(p.position.top=x._convertPositionTo("relative",{top:V,left:0}).top),b&&(p.position.top=x._convertPositionTo("relative",{top:ee-x.helperProportions.height,left:0}).top),h&&(p.position.left=x._convertPositionTo("relative",{top:0,left:M}).left),T&&(p.position.left=x._convertPositionTo("relative",{top:0,left:j-x.helperProportions.width}).left)),!x.snapElements[Z].snapping&&(S||b||h||T||U)&&x.options.snap.snap&&x.options.snap.snap.call(x.element,c,t.extend(x._uiHash(),{snapItem:x.snapElements[Z].item})),x.snapElements[Z].snapping=S||b||h||T||U}}}),t.ui.plugin.add("draggable","stack",{start:function(c,p,x){var S,b=x.options,h=t.makeArray(t(b.stack)).sort(function(T,M){return(parseInt(t(T).css("zIndex"),10)||0)-(parseInt(t(M).css("zIndex"),10)||0)});h.length&&(S=parseInt(t(h[0]).css("zIndex"),10)||0,t(h).each(function(T){t(this).css("zIndex",S+T)}),this.css("zIndex",S+h.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(c,p,x){var S=t(p.helper),b=x.options;S.css("zIndex")&&(b._zIndex=S.css("zIndex")),S.css("zIndex",b.zIndex)},stop:function(c,p,x){var S=x.options;S._zIndex&&t(p.helper).css("zIndex",S._zIndex)}}),t.ui.draggable;/*!
+ */n.widget("ui.draggable",n.ui.mouse,{version:"1.14.0",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){this.options.helper==="original"&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(c,m){this._super(c,m),c==="handle"&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging")){this.destroyOnClear=!0;return}this._removeHandleClassName(),this._mouseDestroy()},_mouseCapture:function(c){var m=this.options;return this.helper||m.disabled||n(c.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(c),!this.handle)?!1:(this._blurActiveElement(c),this._blockFrames(m.iframeFix===!0?"iframe":m.iframeFix),!0)},_blockFrames:function(c){this.iframeBlocks=this.document.find(c).map(function(){var m=n(this);return n("<div>").css("position","absolute").appendTo(m.parent()).outerWidth(m.outerWidth()).outerHeight(m.outerHeight()).offset(m.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(c){var m=this.document[0].activeElement,x=n(c.target);x.closest(m).length||n(m).trigger("blur")},_mouseStart:function(c){var m=this.options;return this.helper=this._createHelper(c),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),n.ui.ddmanager&&(n.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return n(this).css("position")==="fixed"}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(c),this.originalPosition=this.position=this._generatePosition(c,!1),this.originalPageX=c.pageX,this.originalPageY=c.pageY,m.cursorAt&&this._adjustOffsetFromHelper(m.cursorAt),this._setContainment(),this._trigger("start",c)===!1?(this._clear(),!1):(this._cacheHelperProportions(),n.ui.ddmanager&&!m.dropBehaviour&&n.ui.ddmanager.prepareOffsets(this,c),this._mouseDrag(c,!0),n.ui.ddmanager&&n.ui.ddmanager.dragStart(this,c),!0)},_refreshOffsets:function(c){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:c.pageX-this.offset.left,top:c.pageY-this.offset.top}},_mouseDrag:function(c,m){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(c,!0),this.positionAbs=this._convertPositionTo("absolute"),!m){var x=this._uiHash();if(this._trigger("drag",c,x)===!1)return this._mouseUp(new n.Event("mouseup",c)),!1;this.position=x.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",n.ui.ddmanager&&n.ui.ddmanager.drag(this,c),!1},_mouseStop:function(c){var m=this,x=!1;return n.ui.ddmanager&&!this.options.dropBehaviour&&(x=n.ui.ddmanager.drop(this,c)),this.dropped&&(x=this.dropped,this.dropped=!1),this.options.revert==="invalid"&&!x||this.options.revert==="valid"&&x||this.options.revert===!0||typeof this.options.revert=="function"&&this.options.revert.call(this.element,x)?n(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){m._trigger("stop",c)!==!1&&m._clear()}):this._trigger("stop",c)!==!1&&this._clear(),!1},_mouseUp:function(c){return this._unblockFrames(),n.ui.ddmanager&&n.ui.ddmanager.dragStop(this,c),this.handleElement.is(c.target)&&this.element.trigger("focus"),n.ui.mouse.prototype._mouseUp.call(this,c)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new n.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(c){return this.options.handle?!!n(c.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(c){var m=this.options,x=typeof m.helper=="function",T=x?n(m.helper.apply(this.element[0],[c])):m.helper==="clone"?this.element.clone().removeAttr("id"):this.element;return T.parents("body").length||T.appendTo(m.appendTo==="parent"?this.element[0].parentNode:m.appendTo),x&&T[0]===this.element[0]&&this._setPositionRelative(),T[0]!==this.element[0]&&!/(fixed|absolute)/.test(T.css("position"))&&T.css("position","absolute"),T},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(c){typeof c=="string"&&(c=c.split(" ")),Array.isArray(c)&&(c={left:+c[0],top:+c[1]||0}),"left"in c&&(this.offset.click.left=c.left+this.margins.left),"right"in c&&(this.offset.click.left=this.helperProportions.width-c.right+this.margins.left),"top"in c&&(this.offset.click.top=c.top+this.margins.top),"bottom"in c&&(this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top)},_isRootNode:function(c){return/(html|body)/i.test(c.tagName)||c===this.document[0]},_getParentOffset:function(){var c=this.offsetParent.offset(),m=this.document[0];return this.cssPosition==="absolute"&&this.scrollParent[0]!==m&&n.contains(this.scrollParent[0],this.offsetParent[0])&&(c.left+=this.scrollParent.scrollLeft(),c.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(c={top:0,left:0}),{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition!=="relative")return{top:0,left:0};var c=this.element.position(),m=this._isRootNode(this.scrollParent[0]);return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+(m?0:this.scrollParent.scrollTop()),left:c.left-(parseInt(this.helper.css("left"),10)||0)+(m?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var c,m,x,T=this.options,b=this.document[0];if(this.relativeContainer=null,!T.containment){this.containment=null;return}if(T.containment==="window"){this.containment=[n(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,n(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,n(window).scrollLeft()+n(window).width()-this.helperProportions.width-this.margins.left,n(window).scrollTop()+(n(window).height()||b.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(T.containment==="document"){this.containment=[0,0,n(b).width()-this.helperProportions.width-this.margins.left,(n(b).height()||b.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(T.containment.constructor===Array){this.containment=T.containment;return}T.containment==="parent"&&(T.containment=this.helper[0].parentNode),m=n(T.containment),x=m[0],x&&(c=/(scroll|auto)/.test(m.css("overflow")),this.containment=[(parseInt(m.css("borderLeftWidth"),10)||0)+(parseInt(m.css("paddingLeft"),10)||0),(parseInt(m.css("borderTopWidth"),10)||0)+(parseInt(m.css("paddingTop"),10)||0),(c?Math.max(x.scrollWidth,x.offsetWidth):x.offsetWidth)-(parseInt(m.css("borderRightWidth"),10)||0)-(parseInt(m.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(c?Math.max(x.scrollHeight,x.offsetHeight):x.offsetHeight)-(parseInt(m.css("borderBottomWidth"),10)||0)-(parseInt(m.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=m)},_convertPositionTo:function(c,m){m||(m=this.position);var x=c==="absolute"?1:-1,T=this._isRootNode(this.scrollParent[0]);return{top:m.top+this.offset.relative.top*x+this.offset.parent.top*x-(this.cssPosition==="fixed"?-this.offset.scroll.top:T?0:this.offset.scroll.top)*x,left:m.left+this.offset.relative.left*x+this.offset.parent.left*x-(this.cssPosition==="fixed"?-this.offset.scroll.left:T?0:this.offset.scroll.left)*x}},_generatePosition:function(c,m){var x,T,b,d,k=this.options,D=this._isRootNode(this.scrollParent[0]),O=c.pageX,Q=c.pageY;return(!D||!this.offset.scroll)&&(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),m&&(this.containment&&(this.relativeContainer?(T=this.relativeContainer.offset(),x=[this.containment[0]+T.left,this.containment[1]+T.top,this.containment[2]+T.left,this.containment[3]+T.top]):x=this.containment,c.pageX-this.offset.click.left<x[0]&&(O=x[0]+this.offset.click.left),c.pageY-this.offset.click.top<x[1]&&(Q=x[1]+this.offset.click.top),c.pageX-this.offset.click.left>x[2]&&(O=x[2]+this.offset.click.left),c.pageY-this.offset.click.top>x[3]&&(Q=x[3]+this.offset.click.top)),k.grid&&(b=k.grid[1]?this.originalPageY+Math.round((Q-this.originalPageY)/k.grid[1])*k.grid[1]:this.originalPageY,Q=x?b-this.offset.click.top>=x[1]||b-this.offset.click.top>x[3]?b:b-this.offset.click.top>=x[1]?b-k.grid[1]:b+k.grid[1]:b,d=k.grid[0]?this.originalPageX+Math.round((O-this.originalPageX)/k.grid[0])*k.grid[0]:this.originalPageX,O=x?d-this.offset.click.left>=x[0]||d-this.offset.click.left>x[2]?d:d-this.offset.click.left>=x[0]?d-k.grid[0]:d+k.grid[0]:d),k.axis==="y"&&(O=this.originalPageX),k.axis==="x"&&(Q=this.originalPageY)),{top:Q-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.offset.scroll.top:D?0:this.offset.scroll.top),left:O-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.offset.scroll.left:D?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(c,m,x){return x=x||this._uiHash(),n.ui.plugin.call(this,c,[m,x,this],!0),/^(drag|start|stop)/.test(c)&&(this.positionAbs=this._convertPositionTo("absolute"),x.offset=this.positionAbs),n.Widget.prototype._trigger.call(this,c,m,x)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),n.ui.plugin.add("draggable","connectToSortable",{start:function(c,m,x){var T=n.extend({},m,{item:x.element});x.sortables=[],n(x.options.connectToSortable).each(function(){var b=n(this).sortable("instance");b&&!b.options.disabled&&(x.sortables.push(b),b.refreshPositions(),b._trigger("activate",c,T))})},stop:function(c,m,x){var T=n.extend({},m,{item:x.element});x.cancelHelperRemoval=!1,n.each(x.sortables,function(){var b=this;b.isOver?(b.isOver=0,x.cancelHelperRemoval=!0,b.cancelHelperRemoval=!1,b._storedCSS={position:b.placeholder.css("position"),top:b.placeholder.css("top"),left:b.placeholder.css("left")},b._mouseStop(c),b.options.helper=b.options._helper):(b.cancelHelperRemoval=!0,b._trigger("deactivate",c,T))})},drag:function(c,m,x){n.each(x.sortables,function(){var T=!1,b=this;b.positionAbs=x.positionAbs,b.helperProportions=x.helperProportions,b.offset.click=x.offset.click,b._intersectsWith(b.containerCache)&&(T=!0,n.each(x.sortables,function(){return this.positionAbs=x.positionAbs,this.helperProportions=x.helperProportions,this.offset.click=x.offset.click,this!==b&&this._intersectsWith(this.containerCache)&&n.contains(b.element[0],this.element[0])&&(T=!1),T})),T?(b.isOver||(b.isOver=1,x._parent=m.helper.parent(),b.currentItem=m.helper.appendTo(b.element).data("ui-sortable-item",!0),b.options._helper=b.options.helper,b.options.helper=function(){return m.helper[0]},c.target=b.currentItem[0],b._mouseCapture(c,!0),b._mouseStart(c,!0,!0),b.offset.click.top=x.offset.click.top,b.offset.click.left=x.offset.click.left,b.offset.parent.left-=x.offset.parent.left-b.offset.parent.left,b.offset.parent.top-=x.offset.parent.top-b.offset.parent.top,x._trigger("toSortable",c),x.dropped=b.element,n.each(x.sortables,function(){this.refreshPositions()}),x.currentItem=x.element,b.fromOutside=x),b.currentItem&&(b._mouseDrag(c),m.position=b.position)):b.isOver&&(b.isOver=0,b.cancelHelperRemoval=!0,b.options._revert=b.options.revert,b.options.revert=!1,b._trigger("out",c,b._uiHash(b)),b._mouseStop(c,!0),b.options.revert=b.options._revert,b.options.helper=b.options._helper,b.placeholder&&b.placeholder.remove(),m.helper.appendTo(x._parent),x._refreshOffsets(c),m.position=x._generatePosition(c,!0),x._trigger("fromSortable",c),x.dropped=!1,n.each(x.sortables,function(){this.refreshPositions()}))})}}),n.ui.plugin.add("draggable","cursor",{start:function(c,m,x){var T=n("body"),b=x.options;T.css("cursor")&&(b._cursor=T.css("cursor")),T.css("cursor",b.cursor)},stop:function(c,m,x){var T=x.options;T._cursor&&n("body").css("cursor",T._cursor)}}),n.ui.plugin.add("draggable","opacity",{start:function(c,m,x){var T=n(m.helper),b=x.options;T.css("opacity")&&(b._opacity=T.css("opacity")),T.css("opacity",b.opacity)},stop:function(c,m,x){var T=x.options;T._opacity&&n(m.helper).css("opacity",T._opacity)}}),n.ui.plugin.add("draggable","scroll",{start:function(c,m,x){x.scrollParentNotHidden||(x.scrollParentNotHidden=x.helper.scrollParent(!1)),x.scrollParentNotHidden[0]!==x.document[0]&&x.scrollParentNotHidden[0].tagName!=="HTML"&&(x.overflowOffset=x.scrollParentNotHidden.offset())},drag:function(c,m,x){var T=x.options,b=!1,d=x.scrollParentNotHidden[0],k=x.document[0];d!==k&&d.tagName!=="HTML"?((!T.axis||T.axis!=="x")&&(x.overflowOffset.top+d.offsetHeight-c.pageY<T.scrollSensitivity?d.scrollTop=b=d.scrollTop+T.scrollSpeed:c.pageY-x.overflowOffset.top<T.scrollSensitivity&&(d.scrollTop=b=d.scrollTop-T.scrollSpeed)),(!T.axis||T.axis!=="y")&&(x.overflowOffset.left+d.offsetWidth-c.pageX<T.scrollSensitivity?d.scrollLeft=b=d.scrollLeft+T.scrollSpeed:c.pageX-x.overflowOffset.left<T.scrollSensitivity&&(d.scrollLeft=b=d.scrollLeft-T.scrollSpeed))):((!T.axis||T.axis!=="x")&&(c.pageY-n(k).scrollTop()<T.scrollSensitivity?b=n(k).scrollTop(n(k).scrollTop()-T.scrollSpeed):n(window).height()-(c.pageY-n(k).scrollTop())<T.scrollSensitivity&&(b=n(k).scrollTop(n(k).scrollTop()+T.scrollSpeed))),(!T.axis||T.axis!=="y")&&(c.pageX-n(k).scrollLeft()<T.scrollSensitivity?b=n(k).scrollLeft(n(k).scrollLeft()-T.scrollSpeed):n(window).width()-(c.pageX-n(k).scrollLeft())<T.scrollSensitivity&&(b=n(k).scrollLeft(n(k).scrollLeft()+T.scrollSpeed)))),b!==!1&&n.ui.ddmanager&&!T.dropBehaviour&&n.ui.ddmanager.prepareOffsets(x,c)}}),n.ui.plugin.add("draggable","snap",{start:function(c,m,x){var T=x.options;x.snapElements=[],n(T.snap.constructor!==String?T.snap.items||":data(ui-draggable)":T.snap).each(function(){var b=n(this),d=b.offset();this!==x.element[0]&&x.snapElements.push({item:this,width:b.outerWidth(),height:b.outerHeight(),top:d.top,left:d.left})})},drag:function(c,m,x){var T,b,d,k,D,O,Q,J,X,U,z=x.options,ie=z.snapTolerance,de=m.offset.left,me=de+x.helperProportions.width,pe=m.offset.top,qe=pe+x.helperProportions.height;for(X=x.snapElements.length-1;X>=0;X--){if(D=x.snapElements[X].left-x.margins.left,O=D+x.snapElements[X].width,Q=x.snapElements[X].top-x.margins.top,J=Q+x.snapElements[X].height,me<D-ie||de>O+ie||qe<Q-ie||pe>J+ie||!n.contains(x.snapElements[X].item.ownerDocument,x.snapElements[X].item)){x.snapElements[X].snapping&&x.options.snap.release&&x.options.snap.release.call(x.element,c,n.extend(x._uiHash(),{snapItem:x.snapElements[X].item})),x.snapElements[X].snapping=!1;continue}z.snapMode!=="inner"&&(T=Math.abs(Q-qe)<=ie,b=Math.abs(J-pe)<=ie,d=Math.abs(D-me)<=ie,k=Math.abs(O-de)<=ie,T&&(m.position.top=x._convertPositionTo("relative",{top:Q-x.helperProportions.height,left:0}).top),b&&(m.position.top=x._convertPositionTo("relative",{top:J,left:0}).top),d&&(m.position.left=x._convertPositionTo("relative",{top:0,left:D-x.helperProportions.width}).left),k&&(m.position.left=x._convertPositionTo("relative",{top:0,left:O}).left)),U=T||b||d||k,z.snapMode!=="outer"&&(T=Math.abs(Q-pe)<=ie,b=Math.abs(J-qe)<=ie,d=Math.abs(D-de)<=ie,k=Math.abs(O-me)<=ie,T&&(m.position.top=x._convertPositionTo("relative",{top:Q,left:0}).top),b&&(m.position.top=x._convertPositionTo("relative",{top:J-x.helperProportions.height,left:0}).top),d&&(m.position.left=x._convertPositionTo("relative",{top:0,left:D}).left),k&&(m.position.left=x._convertPositionTo("relative",{top:0,left:O-x.helperProportions.width}).left)),!x.snapElements[X].snapping&&(T||b||d||k||U)&&x.options.snap.snap&&x.options.snap.snap.call(x.element,c,n.extend(x._uiHash(),{snapItem:x.snapElements[X].item})),x.snapElements[X].snapping=T||b||d||k||U}}}),n.ui.plugin.add("draggable","stack",{start:function(c,m,x){var T,b=x.options,d=n.makeArray(n(b.stack)).sort(function(k,D){return(parseInt(n(k).css("zIndex"),10)||0)-(parseInt(n(D).css("zIndex"),10)||0)});d.length&&(T=parseInt(n(d[0]).css("zIndex"),10)||0,n(d).each(function(k){n(this).css("zIndex",T+k)}),this.css("zIndex",T+d.length))}}),n.ui.plugin.add("draggable","zIndex",{start:function(c,m,x){var T=n(m.helper),b=x.options;T.css("zIndex")&&(b._zIndex=T.css("zIndex")),T.css("zIndex",b.zIndex)},stop:function(c,m,x){var T=x.options;T._zIndex&&n(m.helper).css("zIndex",T._zIndex)}}),n.ui.draggable;/*!
  * jQuery UI Resizable 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.resizable",t.ui.mouse,{version:"1.14.0",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(c){return parseFloat(c)||0},_isNumber:function(c){return!isNaN(parseFloat(c))},_hasScroll:function(c,p){if(t(c).css("overflow")==="hidden")return!1;var x=p&&p==="left"?"scrollLeft":"scrollTop",S=!1;if(c[x]>0)return!0;try{c[x]=1,S=c[x]>0,c[x]=0}catch{}return S},_create:function(){var c,p=this.options,x=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!p.aspectRatio,aspectRatio:p.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:p.helper||p.ghost||p.animate?p.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,c={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(c),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this._proportionallyResize()),this._setupHandles(),p.autoHide&&t(this.element).on("mouseenter",function(){p.disabled||(x._removeClass("ui-resizable-autohide"),x._handles.show())}).on("mouseleave",function(){p.disabled||x.resizing||(x._addClass("ui-resizable-autohide"),x._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();var c,p=function(x){t(x).removeData("resizable").removeData("ui-resizable").off(".resizable")};return this.elementIsWrapper&&(p(this.element),c=this.element,this.originalElement.css({position:c.css("position"),width:c.outerWidth(),height:c.outerHeight(),top:c.css("top"),left:c.css("left")}).insertAfter(c),c.remove()),this.originalElement.css("resize",this.originalResizeStyle),p(this.originalElement),this},_setOption:function(c,p){switch(this._super(c,p),c){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!p;break}},_setupHandles:function(){var c=this.options,p,x,S,b,h,T=this;if(this.handles=c.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this._addedHandles=t(),this.handles.constructor===String)for(this.handles==="all"&&(this.handles="n,e,s,w,se,sw,ne,nw"),S=this.handles.split(","),this.handles={},x=0;x<S.length;x++)p=String.prototype.trim.call(S[x]),b="ui-resizable-"+p,h=t("<div>"),this._addClass(h,"ui-resizable-handle "+b),h.css({zIndex:c.zIndex}),this.handles[p]=".ui-resizable-"+p,this.element.children(this.handles[p]).length||(this.element.append(h),this._addedHandles=this._addedHandles.add(h));this._renderAxis=function(M){var j,V,ee,Z;M=M||this.element;for(j in this.handles)this.handles[j].constructor===String?this.handles[j]=this.element.children(this.handles[j]).first().show():(this.handles[j].jquery||this.handles[j].nodeType)&&(this.handles[j]=t(this.handles[j]),this._on(this.handles[j],{mousedown:T._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(V=t(this.handles[j],this.element),Z=/sw|ne|nw|se|n|s/.test(j)?V.outerHeight():V.outerWidth(),ee=["padding",/ne|nw|n/.test(j)?"Top":/se|sw|s/.test(j)?"Bottom":/^e$/.test(j)?"Right":"Left"].join(""),M.css(ee,Z),this._proportionallyResize()),this._handles=this._handles.add(this.handles[j])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){T.resizing||(this.className&&(h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),T.axis=h&&h[1]?h[1]:"se")}),c.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(c){var p,x,S=!1;for(p in this.handles)x=t(this.handles[p])[0],(x===c.target||t.contains(x,c.target))&&(S=!0);return!this.options.disabled&&S},_mouseStart:function(c){var p,x,S,b=this.options,h=this.element;return this.resizing=!0,this._renderProxy(),p=this._num(this.helper.css("left")),x=this._num(this.helper.css("top")),b.containment&&(p+=t(b.containment).scrollLeft()||0,x+=t(b.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:p,top:x},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:h.width(),height:h.height()},this.originalSize=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.sizeDiff={width:h.outerWidth()-h.width(),height:h.outerHeight()-h.height()},this.originalPosition={left:p,top:x},this.originalMousePosition={left:c.pageX,top:c.pageY},this.aspectRatio=typeof b.aspectRatio=="number"?b.aspectRatio:this.originalSize.width/this.originalSize.height||1,S=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor",S==="auto"?this.axis+"-resize":S),this._addClass("ui-resizable-resizing"),this._propagate("start",c),!0},_mouseDrag:function(c){var p,x,S=this.originalMousePosition,b=this.axis,h=c.pageX-S.left||0,T=c.pageY-S.top||0,M=this._change[b];return this._updatePrevProperties(),M&&(p=M.apply(this,[c,h,T]),this._updateVirtualBoundaries(c.shiftKey),(this._aspectRatio||c.shiftKey)&&(p=this._updateRatio(p,c)),p=this._respectSize(p,c),this._updateCache(p),this._propagate("resize",c),x=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(x)||(this._updatePrevProperties(),this._trigger("resize",c,this.ui()),this._applyChanges())),!1},_mouseStop:function(c){this.resizing=!1;var p,x,S,b,h,T,M,j=this.options,V=this;return this._helper&&(p=this._proportionallyResizeElements,x=p.length&&/textarea/i.test(p[0].nodeName),S=x&&this._hasScroll(p[0],"left")?0:V.sizeDiff.height,b=x?0:V.sizeDiff.width,h={width:V.helper.width()-b,height:V.helper.height()-S},T=parseFloat(V.element.css("left"))+(V.position.left-V.originalPosition.left)||null,M=parseFloat(V.element.css("top"))+(V.position.top-V.originalPosition.top)||null,j.animate||this.element.css(t.extend(h,{top:M,left:T})),V.helper.height(V.size.height),V.helper.width(V.size.width),this._helper&&!j.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",c),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var c={};return this.position.top!==this.prevPosition.top&&(c.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(c.left=this.position.left+"px"),this.helper.css(c),this.size.width!==this.prevSize.width&&(c.width=this.size.width+"px",this.helper.width(c.width)),this.size.height!==this.prevSize.height&&(c.height=this.size.height+"px",this.helper.height(c.height)),c},_updateVirtualBoundaries:function(c){var p,x,S,b,h,T=this.options;h={minWidth:this._isNumber(T.minWidth)?T.minWidth:0,maxWidth:this._isNumber(T.maxWidth)?T.maxWidth:1/0,minHeight:this._isNumber(T.minHeight)?T.minHeight:0,maxHeight:this._isNumber(T.maxHeight)?T.maxHeight:1/0},(this._aspectRatio||c)&&(p=h.minHeight*this.aspectRatio,S=h.minWidth/this.aspectRatio,x=h.maxHeight*this.aspectRatio,b=h.maxWidth/this.aspectRatio,p>h.minWidth&&(h.minWidth=p),S>h.minHeight&&(h.minHeight=S),x<h.maxWidth&&(h.maxWidth=x),b<h.maxHeight&&(h.maxHeight=b)),this._vBoundaries=h},_updateCache:function(c){this.offset=this.helper.offset(),this._isNumber(c.left)&&(this.position.left=c.left),this._isNumber(c.top)&&(this.position.top=c.top),this._isNumber(c.height)&&(this.size.height=c.height),this._isNumber(c.width)&&(this.size.width=c.width)},_updateRatio:function(c){var p=this.position,x=this.size,S=this.axis;return this._isNumber(c.height)?c.width=c.height*this.aspectRatio:this._isNumber(c.width)&&(c.height=c.width/this.aspectRatio),S==="sw"&&(c.left=p.left+(x.width-c.width),c.top=null),S==="nw"&&(c.top=p.top+(x.height-c.height),c.left=p.left+(x.width-c.width)),c},_respectSize:function(c){var p=this._vBoundaries,x=this.axis,S=this._isNumber(c.width)&&p.maxWidth&&p.maxWidth<c.width,b=this._isNumber(c.height)&&p.maxHeight&&p.maxHeight<c.height,h=this._isNumber(c.width)&&p.minWidth&&p.minWidth>c.width,T=this._isNumber(c.height)&&p.minHeight&&p.minHeight>c.height,M=this.originalPosition.left+this.originalSize.width,j=this.originalPosition.top+this.originalSize.height,V=/sw|nw|w/.test(x),ee=/nw|ne|n/.test(x);return h&&(c.width=p.minWidth),T&&(c.height=p.minHeight),S&&(c.width=p.maxWidth),b&&(c.height=p.maxHeight),h&&V&&(c.left=M-p.minWidth),S&&V&&(c.left=M-p.maxWidth),T&&ee&&(c.top=j-p.minHeight),b&&ee&&(c.top=j-p.maxHeight),!c.width&&!c.height&&!c.left&&c.top?c.top=null:!c.width&&!c.height&&!c.top&&c.left&&(c.left=null),c},_getPaddingPlusBorderDimensions:function(c){for(var p=0,x=[],S=[c.css("borderTopWidth"),c.css("borderRightWidth"),c.css("borderBottomWidth"),c.css("borderLeftWidth")],b=[c.css("paddingTop"),c.css("paddingRight"),c.css("paddingBottom"),c.css("paddingLeft")];p<4;p++)x[p]=parseFloat(S[p])||0,x[p]+=parseFloat(b[p])||0;return{height:x[0]+x[2],width:x[1]+x[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var c,p=0,x=this.helper||this.element;p<this._proportionallyResizeElements.length;p++)c=this._proportionallyResizeElements[p],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(c)),c.css({height:x.height()-this.outerDimensions.height||0,width:x.width()-this.outerDimensions.width||0})},_renderProxy:function(){var c=this.element,p=this.options;this.elementOffset=c.offset(),this._helper?(this.helper=this.helper||t("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++p.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(c,p){return{width:this.originalSize.width+p}},w:function(c,p){var x=this.originalSize,S=this.originalPosition;return{left:S.left+p,width:x.width-p}},n:function(c,p,x){var S=this.originalSize,b=this.originalPosition;return{top:b.top+x,height:S.height-x}},s:function(c,p,x){return{height:this.originalSize.height+x}},se:function(c,p,x){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[c,p,x]))},sw:function(c,p,x){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[c,p,x]))},ne:function(c,p,x){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[c,p,x]))},nw:function(c,p,x){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[c,p,x]))}},_propagate:function(c,p){t.ui.plugin.call(this,c,[p,this.ui()]),c!=="resize"&&this._trigger(c,p,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(c){var p=t(this).resizable("instance"),x=p.options,S=p._proportionallyResizeElements,b=S.length&&/textarea/i.test(S[0].nodeName),h=b&&p._hasScroll(S[0],"left")?0:p.sizeDiff.height,T=b?0:p.sizeDiff.width,M={width:p.size.width-T,height:p.size.height-h},j=parseFloat(p.element.css("left"))+(p.position.left-p.originalPosition.left)||null,V=parseFloat(p.element.css("top"))+(p.position.top-p.originalPosition.top)||null;p.element.animate(t.extend(M,V&&j?{top:V,left:j}:{}),{duration:x.animateDuration,easing:x.animateEasing,step:function(){var ee={width:parseFloat(p.element.css("width")),height:parseFloat(p.element.css("height")),top:parseFloat(p.element.css("top")),left:parseFloat(p.element.css("left"))};S&&S.length&&t(S[0]).css({width:ee.width,height:ee.height}),p._updateCache(ee),p._propagate("resize",c)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var c,p,x,S,b,h,T,M=t(this).resizable("instance"),j=M.options,V=M.element,ee=j.containment,Z=ee instanceof t?ee.get(0):/parent/.test(ee)?V.parent().get(0):ee;Z&&(M.containerElement=t(Z),/document/.test(ee)||ee===document?(M.containerOffset={left:0,top:0},M.containerPosition={left:0,top:0},M.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(c=t(Z),p=[],t(["Top","Right","Left","Bottom"]).each(function(U,z){p[U]=M._num(c.css("padding"+z))}),M.containerOffset=c.offset(),M.containerPosition=c.position(),M.containerSize={height:c.innerHeight()-p[3],width:c.innerWidth()-p[1]},x=M.containerOffset,S=M.containerSize.height,b=M.containerSize.width,h=M._hasScroll(Z,"left")?Z.scrollWidth:b,T=M._hasScroll(Z)?Z.scrollHeight:S,M.parentData={element:Z,left:x.left,top:x.top,width:h,height:T}))},resize:function(c){var p,x,S,b,h=t(this).resizable("instance"),T=h.options,M=h.containerOffset,j=h.position,V=h._aspectRatio||c.shiftKey,ee={top:0,left:0},Z=h.containerElement,U=!0;Z[0]!==document&&/static/.test(Z.css("position"))&&(ee=M),j.left<(h._helper?M.left:0)&&(h.size.width=h.size.width+(h._helper?h.position.left-M.left:h.position.left-ee.left),V&&(h.size.height=h.size.width/h.aspectRatio,U=!1),h.position.left=T.helper?M.left:0),j.top<(h._helper?M.top:0)&&(h.size.height=h.size.height+(h._helper?h.position.top-M.top:h.position.top),V&&(h.size.width=h.size.height*h.aspectRatio,U=!1),h.position.top=h._helper?M.top:0),S=h.containerElement.get(0)===h.element.parent().get(0),b=/relative|absolute/.test(h.containerElement.css("position")),S&&b?(h.offset.left=h.parentData.left+h.position.left,h.offset.top=h.parentData.top+h.position.top):(h.offset.left=h.element.offset().left,h.offset.top=h.element.offset().top),p=Math.abs(h.sizeDiff.width+(h._helper?h.offset.left-ee.left:h.offset.left-M.left)),x=Math.abs(h.sizeDiff.height+(h._helper?h.offset.top-ee.top:h.offset.top-M.top)),p+h.size.width>=h.parentData.width&&(h.size.width=h.parentData.width-p,V&&(h.size.height=h.size.width/h.aspectRatio,U=!1)),x+h.size.height>=h.parentData.height&&(h.size.height=h.parentData.height-x,V&&(h.size.width=h.size.height*h.aspectRatio,U=!1)),U||(h.position.left=h.prevPosition.left,h.position.top=h.prevPosition.top,h.size.width=h.prevSize.width,h.size.height=h.prevSize.height)},stop:function(){var c=t(this).resizable("instance"),p=c.options,x=c.containerOffset,S=c.containerPosition,b=c.containerElement,h=t(c.helper),T=h.offset(),M=h.outerWidth()-c.sizeDiff.width,j=h.outerHeight()-c.sizeDiff.height;c._helper&&!p.animate&&/relative/.test(b.css("position"))&&t(this).css({left:T.left-S.left-x.left,width:M,height:j}),c._helper&&!p.animate&&/static/.test(b.css("position"))&&t(this).css({left:T.left-S.left-x.left,width:M,height:j})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var c=t(this).resizable("instance"),p=c.options;t(p.alsoResize).each(function(){var x=t(this);x.data("ui-resizable-alsoresize",{width:parseFloat(x.css("width")),height:parseFloat(x.css("height")),left:parseFloat(x.css("left")),top:parseFloat(x.css("top"))})})},resize:function(c,p){var x=t(this).resizable("instance"),S=x.options,b=x.originalSize,h=x.originalPosition,T={height:x.size.height-b.height||0,width:x.size.width-b.width||0,top:x.position.top-h.top||0,left:x.position.left-h.left||0};t(S.alsoResize).each(function(){var M=t(this),j=t(this).data("ui-resizable-alsoresize"),V={},ee=M.parents(p.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(ee,function(Z,U){var z=(j[U]||0)+(T[U]||0);z&&z>=0&&(V[U]=z||null)}),M.css(V)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var c=t(this).resizable("instance"),p=c.size;c.ghost=c.originalElement.clone(),c.ghost.css({opacity:.25,display:"block",position:"relative",height:p.height,width:p.width,margin:0,left:0,top:0}),c._addClass(c.ghost,"ui-resizable-ghost"),t.uiBackCompat===!0&&typeof c.options.ghost=="string"&&c.ghost.addClass(this.options.ghost),c.ghost.appendTo(c.helper)},resize:function(){var c=t(this).resizable("instance");c.ghost&&c.ghost.css({position:"relative",height:c.size.height,width:c.size.width})},stop:function(){var c=t(this).resizable("instance");c.ghost&&c.helper&&c.helper.get(0).removeChild(c.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var c,p=t(this).resizable("instance"),x=p.options,S=p.size,b=p.originalSize,h=p.originalPosition,T=p.axis,M=typeof x.grid=="number"?[x.grid,x.grid]:x.grid,j=M[0]||1,V=M[1]||1,ee=Math.round((S.width-b.width)/j)*j,Z=Math.round((S.height-b.height)/V)*V,U=b.width+ee,z=b.height+Z,ne=x.maxWidth&&x.maxWidth<U,fe=x.maxHeight&&x.maxHeight<z,me=x.minWidth&&x.minWidth>U,de=x.minHeight&&x.minHeight>z;x.grid=M,me&&(U+=j),de&&(z+=V),ne&&(U-=j),fe&&(z-=V),/^(se|s|e)$/.test(T)?(p.size.width=U,p.size.height=z):/^(ne)$/.test(T)?(p.size.width=U,p.size.height=z,p.position.top=h.top-Z):/^(sw)$/.test(T)?(p.size.width=U,p.size.height=z,p.position.left=h.left-ee):((z-V<=0||U-j<=0)&&(c=p._getPaddingPlusBorderDimensions(this)),z-V>0?(p.size.height=z,p.position.top=h.top-Z):(z=V-c.height,p.size.height=z,p.position.top=h.top+b.height-z),U-j>0?(p.size.width=U,p.position.left=h.left-ee):(U=j-c.width,p.size.width=U,p.position.left=h.left+b.width-U))}}),t.ui.resizable;/*!
+ */n.widget("ui.resizable",n.ui.mouse,{version:"1.14.0",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(c){return parseFloat(c)||0},_isNumber:function(c){return!isNaN(parseFloat(c))},_hasScroll:function(c,m){if(n(c).css("overflow")==="hidden")return!1;var x=m&&m==="left"?"scrollLeft":"scrollTop",T=!1;if(c[x]>0)return!0;try{c[x]=1,T=c[x]>0,c[x]=0}catch{}return T},_create:function(){var c,m=this.options,x=this;this._addClass("ui-resizable"),n.extend(this,{_aspectRatio:!!m.aspectRatio,aspectRatio:m.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:m.helper||m.ghost||m.animate?m.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(n("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,c={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(c),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this._proportionallyResize()),this._setupHandles(),m.autoHide&&n(this.element).on("mouseenter",function(){m.disabled||(x._removeClass("ui-resizable-autohide"),x._handles.show())}).on("mouseleave",function(){m.disabled||x.resizing||(x._addClass("ui-resizable-autohide"),x._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();var c,m=function(x){n(x).removeData("resizable").removeData("ui-resizable").off(".resizable")};return this.elementIsWrapper&&(m(this.element),c=this.element,this.originalElement.css({position:c.css("position"),width:c.outerWidth(),height:c.outerHeight(),top:c.css("top"),left:c.css("left")}).insertAfter(c),c.remove()),this.originalElement.css("resize",this.originalResizeStyle),m(this.originalElement),this},_setOption:function(c,m){switch(this._super(c,m),c){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!m;break}},_setupHandles:function(){var c=this.options,m,x,T,b,d,k=this;if(this.handles=c.handles||(n(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=n(),this._addedHandles=n(),this.handles.constructor===String)for(this.handles==="all"&&(this.handles="n,e,s,w,se,sw,ne,nw"),T=this.handles.split(","),this.handles={},x=0;x<T.length;x++)m=String.prototype.trim.call(T[x]),b="ui-resizable-"+m,d=n("<div>"),this._addClass(d,"ui-resizable-handle "+b),d.css({zIndex:c.zIndex}),this.handles[m]=".ui-resizable-"+m,this.element.children(this.handles[m]).length||(this.element.append(d),this._addedHandles=this._addedHandles.add(d));this._renderAxis=function(D){var O,Q,J,X;D=D||this.element;for(O in this.handles)this.handles[O].constructor===String?this.handles[O]=this.element.children(this.handles[O]).first().show():(this.handles[O].jquery||this.handles[O].nodeType)&&(this.handles[O]=n(this.handles[O]),this._on(this.handles[O],{mousedown:k._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(Q=n(this.handles[O],this.element),X=/sw|ne|nw|se|n|s/.test(O)?Q.outerHeight():Q.outerWidth(),J=["padding",/ne|nw|n/.test(O)?"Top":/se|sw|s/.test(O)?"Bottom":/^e$/.test(O)?"Right":"Left"].join(""),D.css(J,X),this._proportionallyResize()),this._handles=this._handles.add(this.handles[O])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){k.resizing||(this.className&&(d=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),k.axis=d&&d[1]?d[1]:"se")}),c.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(c){var m,x,T=!1;for(m in this.handles)x=n(this.handles[m])[0],(x===c.target||n.contains(x,c.target))&&(T=!0);return!this.options.disabled&&T},_mouseStart:function(c){var m,x,T,b=this.options,d=this.element;return this.resizing=!0,this._renderProxy(),m=this._num(this.helper.css("left")),x=this._num(this.helper.css("top")),b.containment&&(m+=n(b.containment).scrollLeft()||0,x+=n(b.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:m,top:x},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:d.width(),height:d.height()},this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()},this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()},this.originalPosition={left:m,top:x},this.originalMousePosition={left:c.pageX,top:c.pageY},this.aspectRatio=typeof b.aspectRatio=="number"?b.aspectRatio:this.originalSize.width/this.originalSize.height||1,T=n(".ui-resizable-"+this.axis).css("cursor"),n("body").css("cursor",T==="auto"?this.axis+"-resize":T),this._addClass("ui-resizable-resizing"),this._propagate("start",c),!0},_mouseDrag:function(c){var m,x,T=this.originalMousePosition,b=this.axis,d=c.pageX-T.left||0,k=c.pageY-T.top||0,D=this._change[b];return this._updatePrevProperties(),D&&(m=D.apply(this,[c,d,k]),this._updateVirtualBoundaries(c.shiftKey),(this._aspectRatio||c.shiftKey)&&(m=this._updateRatio(m,c)),m=this._respectSize(m,c),this._updateCache(m),this._propagate("resize",c),x=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),n.isEmptyObject(x)||(this._updatePrevProperties(),this._trigger("resize",c,this.ui()),this._applyChanges())),!1},_mouseStop:function(c){this.resizing=!1;var m,x,T,b,d,k,D,O=this.options,Q=this;return this._helper&&(m=this._proportionallyResizeElements,x=m.length&&/textarea/i.test(m[0].nodeName),T=x&&this._hasScroll(m[0],"left")?0:Q.sizeDiff.height,b=x?0:Q.sizeDiff.width,d={width:Q.helper.width()-b,height:Q.helper.height()-T},k=parseFloat(Q.element.css("left"))+(Q.position.left-Q.originalPosition.left)||null,D=parseFloat(Q.element.css("top"))+(Q.position.top-Q.originalPosition.top)||null,O.animate||this.element.css(n.extend(d,{top:D,left:k})),Q.helper.height(Q.size.height),Q.helper.width(Q.size.width),this._helper&&!O.animate&&this._proportionallyResize()),n("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",c),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var c={};return this.position.top!==this.prevPosition.top&&(c.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(c.left=this.position.left+"px"),this.helper.css(c),this.size.width!==this.prevSize.width&&(c.width=this.size.width+"px",this.helper.width(c.width)),this.size.height!==this.prevSize.height&&(c.height=this.size.height+"px",this.helper.height(c.height)),c},_updateVirtualBoundaries:function(c){var m,x,T,b,d,k=this.options;d={minWidth:this._isNumber(k.minWidth)?k.minWidth:0,maxWidth:this._isNumber(k.maxWidth)?k.maxWidth:1/0,minHeight:this._isNumber(k.minHeight)?k.minHeight:0,maxHeight:this._isNumber(k.maxHeight)?k.maxHeight:1/0},(this._aspectRatio||c)&&(m=d.minHeight*this.aspectRatio,T=d.minWidth/this.aspectRatio,x=d.maxHeight*this.aspectRatio,b=d.maxWidth/this.aspectRatio,m>d.minWidth&&(d.minWidth=m),T>d.minHeight&&(d.minHeight=T),x<d.maxWidth&&(d.maxWidth=x),b<d.maxHeight&&(d.maxHeight=b)),this._vBoundaries=d},_updateCache:function(c){this.offset=this.helper.offset(),this._isNumber(c.left)&&(this.position.left=c.left),this._isNumber(c.top)&&(this.position.top=c.top),this._isNumber(c.height)&&(this.size.height=c.height),this._isNumber(c.width)&&(this.size.width=c.width)},_updateRatio:function(c){var m=this.position,x=this.size,T=this.axis;return this._isNumber(c.height)?c.width=c.height*this.aspectRatio:this._isNumber(c.width)&&(c.height=c.width/this.aspectRatio),T==="sw"&&(c.left=m.left+(x.width-c.width),c.top=null),T==="nw"&&(c.top=m.top+(x.height-c.height),c.left=m.left+(x.width-c.width)),c},_respectSize:function(c){var m=this._vBoundaries,x=this.axis,T=this._isNumber(c.width)&&m.maxWidth&&m.maxWidth<c.width,b=this._isNumber(c.height)&&m.maxHeight&&m.maxHeight<c.height,d=this._isNumber(c.width)&&m.minWidth&&m.minWidth>c.width,k=this._isNumber(c.height)&&m.minHeight&&m.minHeight>c.height,D=this.originalPosition.left+this.originalSize.width,O=this.originalPosition.top+this.originalSize.height,Q=/sw|nw|w/.test(x),J=/nw|ne|n/.test(x);return d&&(c.width=m.minWidth),k&&(c.height=m.minHeight),T&&(c.width=m.maxWidth),b&&(c.height=m.maxHeight),d&&Q&&(c.left=D-m.minWidth),T&&Q&&(c.left=D-m.maxWidth),k&&J&&(c.top=O-m.minHeight),b&&J&&(c.top=O-m.maxHeight),!c.width&&!c.height&&!c.left&&c.top?c.top=null:!c.width&&!c.height&&!c.top&&c.left&&(c.left=null),c},_getPaddingPlusBorderDimensions:function(c){for(var m=0,x=[],T=[c.css("borderTopWidth"),c.css("borderRightWidth"),c.css("borderBottomWidth"),c.css("borderLeftWidth")],b=[c.css("paddingTop"),c.css("paddingRight"),c.css("paddingBottom"),c.css("paddingLeft")];m<4;m++)x[m]=parseFloat(T[m])||0,x[m]+=parseFloat(b[m])||0;return{height:x[0]+x[2],width:x[1]+x[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var c,m=0,x=this.helper||this.element;m<this._proportionallyResizeElements.length;m++)c=this._proportionallyResizeElements[m],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(c)),c.css({height:x.height()-this.outerDimensions.height||0,width:x.width()-this.outerDimensions.width||0})},_renderProxy:function(){var c=this.element,m=this.options;this.elementOffset=c.offset(),this._helper?(this.helper=this.helper||n("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++m.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(c,m){return{width:this.originalSize.width+m}},w:function(c,m){var x=this.originalSize,T=this.originalPosition;return{left:T.left+m,width:x.width-m}},n:function(c,m,x){var T=this.originalSize,b=this.originalPosition;return{top:b.top+x,height:T.height-x}},s:function(c,m,x){return{height:this.originalSize.height+x}},se:function(c,m,x){return n.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[c,m,x]))},sw:function(c,m,x){return n.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[c,m,x]))},ne:function(c,m,x){return n.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[c,m,x]))},nw:function(c,m,x){return n.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[c,m,x]))}},_propagate:function(c,m){n.ui.plugin.call(this,c,[m,this.ui()]),c!=="resize"&&this._trigger(c,m,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),n.ui.plugin.add("resizable","animate",{stop:function(c){var m=n(this).resizable("instance"),x=m.options,T=m._proportionallyResizeElements,b=T.length&&/textarea/i.test(T[0].nodeName),d=b&&m._hasScroll(T[0],"left")?0:m.sizeDiff.height,k=b?0:m.sizeDiff.width,D={width:m.size.width-k,height:m.size.height-d},O=parseFloat(m.element.css("left"))+(m.position.left-m.originalPosition.left)||null,Q=parseFloat(m.element.css("top"))+(m.position.top-m.originalPosition.top)||null;m.element.animate(n.extend(D,Q&&O?{top:Q,left:O}:{}),{duration:x.animateDuration,easing:x.animateEasing,step:function(){var J={width:parseFloat(m.element.css("width")),height:parseFloat(m.element.css("height")),top:parseFloat(m.element.css("top")),left:parseFloat(m.element.css("left"))};T&&T.length&&n(T[0]).css({width:J.width,height:J.height}),m._updateCache(J),m._propagate("resize",c)}})}}),n.ui.plugin.add("resizable","containment",{start:function(){var c,m,x,T,b,d,k,D=n(this).resizable("instance"),O=D.options,Q=D.element,J=O.containment,X=J instanceof n?J.get(0):/parent/.test(J)?Q.parent().get(0):J;X&&(D.containerElement=n(X),/document/.test(J)||J===document?(D.containerOffset={left:0,top:0},D.containerPosition={left:0,top:0},D.parentData={element:n(document),left:0,top:0,width:n(document).width(),height:n(document).height()||document.body.parentNode.scrollHeight}):(c=n(X),m=[],n(["Top","Right","Left","Bottom"]).each(function(U,z){m[U]=D._num(c.css("padding"+z))}),D.containerOffset=c.offset(),D.containerPosition=c.position(),D.containerSize={height:c.innerHeight()-m[3],width:c.innerWidth()-m[1]},x=D.containerOffset,T=D.containerSize.height,b=D.containerSize.width,d=D._hasScroll(X,"left")?X.scrollWidth:b,k=D._hasScroll(X)?X.scrollHeight:T,D.parentData={element:X,left:x.left,top:x.top,width:d,height:k}))},resize:function(c){var m,x,T,b,d=n(this).resizable("instance"),k=d.options,D=d.containerOffset,O=d.position,Q=d._aspectRatio||c.shiftKey,J={top:0,left:0},X=d.containerElement,U=!0;X[0]!==document&&/static/.test(X.css("position"))&&(J=D),O.left<(d._helper?D.left:0)&&(d.size.width=d.size.width+(d._helper?d.position.left-D.left:d.position.left-J.left),Q&&(d.size.height=d.size.width/d.aspectRatio,U=!1),d.position.left=k.helper?D.left:0),O.top<(d._helper?D.top:0)&&(d.size.height=d.size.height+(d._helper?d.position.top-D.top:d.position.top),Q&&(d.size.width=d.size.height*d.aspectRatio,U=!1),d.position.top=d._helper?D.top:0),T=d.containerElement.get(0)===d.element.parent().get(0),b=/relative|absolute/.test(d.containerElement.css("position")),T&&b?(d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top):(d.offset.left=d.element.offset().left,d.offset.top=d.element.offset().top),m=Math.abs(d.sizeDiff.width+(d._helper?d.offset.left-J.left:d.offset.left-D.left)),x=Math.abs(d.sizeDiff.height+(d._helper?d.offset.top-J.top:d.offset.top-D.top)),m+d.size.width>=d.parentData.width&&(d.size.width=d.parentData.width-m,Q&&(d.size.height=d.size.width/d.aspectRatio,U=!1)),x+d.size.height>=d.parentData.height&&(d.size.height=d.parentData.height-x,Q&&(d.size.width=d.size.height*d.aspectRatio,U=!1)),U||(d.position.left=d.prevPosition.left,d.position.top=d.prevPosition.top,d.size.width=d.prevSize.width,d.size.height=d.prevSize.height)},stop:function(){var c=n(this).resizable("instance"),m=c.options,x=c.containerOffset,T=c.containerPosition,b=c.containerElement,d=n(c.helper),k=d.offset(),D=d.outerWidth()-c.sizeDiff.width,O=d.outerHeight()-c.sizeDiff.height;c._helper&&!m.animate&&/relative/.test(b.css("position"))&&n(this).css({left:k.left-T.left-x.left,width:D,height:O}),c._helper&&!m.animate&&/static/.test(b.css("position"))&&n(this).css({left:k.left-T.left-x.left,width:D,height:O})}}),n.ui.plugin.add("resizable","alsoResize",{start:function(){var c=n(this).resizable("instance"),m=c.options;n(m.alsoResize).each(function(){var x=n(this);x.data("ui-resizable-alsoresize",{width:parseFloat(x.css("width")),height:parseFloat(x.css("height")),left:parseFloat(x.css("left")),top:parseFloat(x.css("top"))})})},resize:function(c,m){var x=n(this).resizable("instance"),T=x.options,b=x.originalSize,d=x.originalPosition,k={height:x.size.height-b.height||0,width:x.size.width-b.width||0,top:x.position.top-d.top||0,left:x.position.left-d.left||0};n(T.alsoResize).each(function(){var D=n(this),O=n(this).data("ui-resizable-alsoresize"),Q={},J=D.parents(m.originalElement[0]).length?["width","height"]:["width","height","top","left"];n.each(J,function(X,U){var z=(O[U]||0)+(k[U]||0);z&&z>=0&&(Q[U]=z||null)}),D.css(Q)})},stop:function(){n(this).removeData("ui-resizable-alsoresize")}}),n.ui.plugin.add("resizable","ghost",{start:function(){var c=n(this).resizable("instance"),m=c.size;c.ghost=c.originalElement.clone(),c.ghost.css({opacity:.25,display:"block",position:"relative",height:m.height,width:m.width,margin:0,left:0,top:0}),c._addClass(c.ghost,"ui-resizable-ghost"),n.uiBackCompat===!0&&typeof c.options.ghost=="string"&&c.ghost.addClass(this.options.ghost),c.ghost.appendTo(c.helper)},resize:function(){var c=n(this).resizable("instance");c.ghost&&c.ghost.css({position:"relative",height:c.size.height,width:c.size.width})},stop:function(){var c=n(this).resizable("instance");c.ghost&&c.helper&&c.helper.get(0).removeChild(c.ghost.get(0))}}),n.ui.plugin.add("resizable","grid",{resize:function(){var c,m=n(this).resizable("instance"),x=m.options,T=m.size,b=m.originalSize,d=m.originalPosition,k=m.axis,D=typeof x.grid=="number"?[x.grid,x.grid]:x.grid,O=D[0]||1,Q=D[1]||1,J=Math.round((T.width-b.width)/O)*O,X=Math.round((T.height-b.height)/Q)*Q,U=b.width+J,z=b.height+X,ie=x.maxWidth&&x.maxWidth<U,de=x.maxHeight&&x.maxHeight<z,me=x.minWidth&&x.minWidth>U,pe=x.minHeight&&x.minHeight>z;x.grid=D,me&&(U+=O),pe&&(z+=Q),ie&&(U-=O),de&&(z-=Q),/^(se|s|e)$/.test(k)?(m.size.width=U,m.size.height=z):/^(ne)$/.test(k)?(m.size.width=U,m.size.height=z,m.position.top=d.top-X):/^(sw)$/.test(k)?(m.size.width=U,m.size.height=z,m.position.left=d.left-J):((z-Q<=0||U-O<=0)&&(c=m._getPaddingPlusBorderDimensions(this)),z-Q>0?(m.size.height=z,m.position.top=d.top-X):(z=Q-c.height,m.size.height=z,m.position.top=d.top+b.height-z),U-O>0?(m.size.width=U,m.position.left=d.left-J):(U=O-c.width,m.size.width=U,m.position.left=d.left+b.width-U))}}),n.ui.resizable;/*!
  * jQuery UI Dialog 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.dialog",{version:"1.14.0",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(c){var p=t(this).css(c).offset().top;p<0&&t(this).css("top",c.top-p)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title==null&&this.originalTitle!=null&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var c=this.options.appendTo;return c&&(c.jquery||c.nodeType)?t(c):this.document.find(c||"body").eq(0)},_destroy:function(){var c,p=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),c=p.parent.children().eq(p.index),c.length&&c[0]!==this.element[0]?c.before(this.element):p.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(c){var p=this;!this._isOpen||this._trigger("beforeClose",c)===!1||(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||t(this.document[0].activeElement).trigger("blur"),this._hide(this.uiDialog,this.options.hide,function(){p._trigger("close",c)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(c,p){var x=!1,S=this.uiDialog.siblings(".ui-front:visible").map(function(){return+t(this).css("z-index")}).get(),b=Math.max.apply(null,S);return b>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",b+1),x=!0),x&&!p&&this._trigger("focus",c),x},open:function(){var c=this;if(this._isOpen){this._moveToTop()&&this._focusTabbable();return}this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){c._focusTabbable(),c._trigger("focus")}),this._makeFocusTarget(),this._trigger("open")},_focusTabbable:function(){var c=this._focusedElement;c||(c=this.element.find("[autofocus]")),c.length||(c=this.element.find(":tabbable")),c.length||(c=this.uiDialogButtonPane.find(":tabbable")),c.length||(c=this.uiDialogTitlebarClose.filter(":tabbable")),c.length||(c=this.uiDialog),c.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var c=this.document[0].activeElement,p=this.uiDialog[0]===c||t.contains(this.uiDialog[0],c);p||this._focusTabbable()},_keepFocus:function(c){c.preventDefault(),this._restoreTabbableFocus()},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog","aria-modal":this.options.modal?"true":null}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(c){if(this.options.closeOnEscape&&!c.isDefaultPrevented()&&c.keyCode&&c.keyCode===t.ui.keyCode.ESCAPE){c.preventDefault(),this.close(c);return}if(!(c.keyCode!==t.ui.keyCode.TAB||c.isDefaultPrevented())){var p=this.uiDialog.find(":tabbable"),x=p.first(),S=p.last();(c.target===S[0]||c.target===this.uiDialog[0])&&!c.shiftKey?(this._delay(function(){x.trigger("focus")}),c.preventDefault()):(c.target===x[0]||c.target===this.uiDialog[0])&&c.shiftKey&&(this._delay(function(){S.trigger("focus")}),c.preventDefault())}},mousedown:function(c){this._moveToTop(c)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var c;this.uiDialogTitlebar=t("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(p){t(p.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(p){p.preventDefault(),this.close(p)}}),c=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(c,"ui-dialog-title"),this._title(c),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":c.attr("id")})},_title:function(c){this.options.title?c.text(this.options.title):c.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var c=this,p=this.options.buttons;if(this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(p)||Array.isArray(p)&&!p.length){this._removeClass(this.uiDialog,"ui-dialog-buttons");return}t.each(p,function(x,S){var b,h;S=typeof S=="function"?{click:S,text:x}:S,S=t.extend({type:"button"},S),b=S.click,h={icon:S.icon,iconPosition:S.iconPosition,showLabel:S.showLabel,icons:S.icons,text:S.text},delete S.click,delete S.icon,delete S.iconPosition,delete S.showLabel,delete S.icons,typeof S.text=="boolean"&&delete S.text,t("<button></button>",S).button(h).appendTo(c.uiButtonSet).on("click",function(){b.apply(c.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){var c=this,p=this.options;function x(S){return{position:S.position,offset:S.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(S,b){c._addClass(t(this),"ui-dialog-dragging"),c._blockFrames(),c._trigger("dragStart",S,x(b))},drag:function(S,b){c._trigger("drag",S,x(b))},stop:function(S,b){var h=b.offset.left-c.document.scrollLeft(),T=b.offset.top-c.document.scrollTop();p.position={my:"left top",at:"left"+(h>=0?"+":"")+h+" top"+(T>=0?"+":"")+T,of:c.window},c._removeClass(t(this),"ui-dialog-dragging"),c._unblockFrames(),c._trigger("dragStop",S,x(b))}})},_makeResizable:function(){var c=this,p=this.options,x=p.resizable,S=this.uiDialog.css("position"),b=typeof x=="string"?x:"n,e,s,w,se,sw,ne,nw";function h(T){return{originalPosition:T.originalPosition,originalSize:T.originalSize,position:T.position,size:T.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:p.maxWidth,maxHeight:p.maxHeight,minWidth:p.minWidth,minHeight:this._minHeight(),handles:b,start:function(T,M){c._addClass(t(this),"ui-dialog-resizing"),c._blockFrames(),c._trigger("resizeStart",T,h(M))},resize:function(T,M){c._trigger("resize",T,h(M))},stop:function(T,M){var j=c.uiDialog.offset(),V=j.left-c.document.scrollLeft(),ee=j.top-c.document.scrollTop();p.height=c.uiDialog.height(),p.width=c.uiDialog.width(),p.position={my:"left top",at:"left"+(V>=0?"+":"")+V+" top"+(ee>=0?"+":"")+ee,of:c.window},c._removeClass(t(this),"ui-dialog-resizing"),c._unblockFrames(),c._trigger("resizeStop",T,h(M))}}).css("position",S)},_trackFocus:function(){this._on(this.widget(),{focusin:function(c){this._makeFocusTarget(),this._focusedElement=t(c.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var c=this._trackingInstances(),p=t.inArray(this,c);p!==-1&&c.splice(p,1)},_trackingInstances:function(){var c=this.document.data("ui-dialog-instances");return c||(c=[],this.document.data("ui-dialog-instances",c)),c},_minHeight:function(){var c=this.options;return c.height==="auto"?c.minHeight:Math.min(c.minHeight,c.height)},_position:function(){var c=this.uiDialog.is(":visible");c||this.uiDialog.show(),this.uiDialog.position(this.options.position),c||this.uiDialog.hide()},_setOptions:function(c){var p=this,x=!1,S={};t.each(c,function(b,h){p._setOption(b,h),b in p.sizeRelatedOptions&&(x=!0),b in p.resizableRelatedOptions&&(S[b]=h)}),x&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",S)},_setOption:function(c,p){var x,S,b=this.uiDialog;c!=="disabled"&&(this._super(c,p),c==="appendTo"&&this.uiDialog.appendTo(this._appendTo()),c==="buttons"&&this._createButtons(),c==="closeText"&&this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()}),c==="draggable"&&(x=b.is(":data(ui-draggable)"),x&&!p&&b.draggable("destroy"),!x&&p&&this._makeDraggable()),c==="position"&&this._position(),c==="resizable"&&(S=b.is(":data(ui-resizable)"),S&&!p&&b.resizable("destroy"),S&&typeof p=="string"&&b.resizable("option","handles",p),!S&&p!==!1&&this._makeResizable()),c==="title"&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")),c==="modal"&&b.attr("aria-modal",p?"true":null))},_size:function(){var c,p,x,S=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),S.minWidth>S.width&&(S.width=S.minWidth),c=this.uiDialog.css({height:"auto",width:S.width}).outerHeight(),p=Math.max(0,S.minHeight-c),x=typeof S.maxHeight=="number"?Math.max(0,S.maxHeight-c):"none",S.height==="auto"?this.element.css({minHeight:p,maxHeight:x,height:"auto"}):this.element.height(Math.max(0,S.height-c)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var c=t(this);return t("<div>").css({position:"absolute",width:c.outerWidth(),height:c.outerHeight()}).appendTo(c.parent()).offset(c.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(c){return t(c.target).closest(".ui-dialog").length?!0:!!t(c.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var c=!0;this._delay(function(){c=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",(function(p){if(!c){var x=this._trackingInstances()[0];x._allowInteraction(p)||(p.preventDefault(),x._focusTabbable())}}).bind(this)),this.overlay=t("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var c=this.document.data("ui-dialog-overlays")-1;c?this.document.data("ui-dialog-overlays",c):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),t.uiBackCompat===!0&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(c,p){c==="dialogClass"&&this.uiDialog.removeClass(this.options.dialogClass).addClass(p),this._superApply(arguments)}}),t.ui.dialog;/*!
+ */n.widget("ui.dialog",{version:"1.14.0",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(c){var m=n(this).css(c).offset().top;m<0&&n(this).css("top",c.top-m)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title==null&&this.originalTitle!=null&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&n.fn.draggable&&this._makeDraggable(),this.options.resizable&&n.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var c=this.options.appendTo;return c&&(c.jquery||c.nodeType)?n(c):this.document.find(c||"body").eq(0)},_destroy:function(){var c,m=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),c=m.parent.children().eq(m.index),c.length&&c[0]!==this.element[0]?c.before(this.element):m.parent.append(this.element)},widget:function(){return this.uiDialog},disable:n.noop,enable:n.noop,close:function(c){var m=this;!this._isOpen||this._trigger("beforeClose",c)===!1||(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||n(this.document[0].activeElement).trigger("blur"),this._hide(this.uiDialog,this.options.hide,function(){m._trigger("close",c)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(c,m){var x=!1,T=this.uiDialog.siblings(".ui-front:visible").map(function(){return+n(this).css("z-index")}).get(),b=Math.max.apply(null,T);return b>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",b+1),x=!0),x&&!m&&this._trigger("focus",c),x},open:function(){var c=this;if(this._isOpen){this._moveToTop()&&this._focusTabbable();return}this._isOpen=!0,this.opener=n(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){c._focusTabbable(),c._trigger("focus")}),this._makeFocusTarget(),this._trigger("open")},_focusTabbable:function(){var c=this._focusedElement;c||(c=this.element.find("[autofocus]")),c.length||(c=this.element.find(":tabbable")),c.length||(c=this.uiDialogButtonPane.find(":tabbable")),c.length||(c=this.uiDialogTitlebarClose.filter(":tabbable")),c.length||(c=this.uiDialog),c.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var c=this.document[0].activeElement,m=this.uiDialog[0]===c||n.contains(this.uiDialog[0],c);m||this._focusTabbable()},_keepFocus:function(c){c.preventDefault(),this._restoreTabbableFocus()},_createWrapper:function(){this.uiDialog=n("<div>").hide().attr({tabIndex:-1,role:"dialog","aria-modal":this.options.modal?"true":null}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(c){if(this.options.closeOnEscape&&!c.isDefaultPrevented()&&c.keyCode&&c.keyCode===n.ui.keyCode.ESCAPE){c.preventDefault(),this.close(c);return}if(!(c.keyCode!==n.ui.keyCode.TAB||c.isDefaultPrevented())){var m=this.uiDialog.find(":tabbable"),x=m.first(),T=m.last();(c.target===T[0]||c.target===this.uiDialog[0])&&!c.shiftKey?(this._delay(function(){x.trigger("focus")}),c.preventDefault()):(c.target===x[0]||c.target===this.uiDialog[0])&&c.shiftKey&&(this._delay(function(){T.trigger("focus")}),c.preventDefault())}},mousedown:function(c){this._moveToTop(c)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var c;this.uiDialogTitlebar=n("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(m){n(m.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=n("<button type='button'></button>").button({label:n("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(m){m.preventDefault(),this.close(m)}}),c=n("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(c,"ui-dialog-title"),this._title(c),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":c.attr("id")})},_title:function(c){this.options.title?c.text(this.options.title):c.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=n("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=n("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var c=this,m=this.options.buttons;if(this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),n.isEmptyObject(m)||Array.isArray(m)&&!m.length){this._removeClass(this.uiDialog,"ui-dialog-buttons");return}n.each(m,function(x,T){var b,d;T=typeof T=="function"?{click:T,text:x}:T,T=n.extend({type:"button"},T),b=T.click,d={icon:T.icon,iconPosition:T.iconPosition,showLabel:T.showLabel,icons:T.icons,text:T.text},delete T.click,delete T.icon,delete T.iconPosition,delete T.showLabel,delete T.icons,typeof T.text=="boolean"&&delete T.text,n("<button></button>",T).button(d).appendTo(c.uiButtonSet).on("click",function(){b.apply(c.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){var c=this,m=this.options;function x(T){return{position:T.position,offset:T.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(T,b){c._addClass(n(this),"ui-dialog-dragging"),c._blockFrames(),c._trigger("dragStart",T,x(b))},drag:function(T,b){c._trigger("drag",T,x(b))},stop:function(T,b){var d=b.offset.left-c.document.scrollLeft(),k=b.offset.top-c.document.scrollTop();m.position={my:"left top",at:"left"+(d>=0?"+":"")+d+" top"+(k>=0?"+":"")+k,of:c.window},c._removeClass(n(this),"ui-dialog-dragging"),c._unblockFrames(),c._trigger("dragStop",T,x(b))}})},_makeResizable:function(){var c=this,m=this.options,x=m.resizable,T=this.uiDialog.css("position"),b=typeof x=="string"?x:"n,e,s,w,se,sw,ne,nw";function d(k){return{originalPosition:k.originalPosition,originalSize:k.originalSize,position:k.position,size:k.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:m.maxWidth,maxHeight:m.maxHeight,minWidth:m.minWidth,minHeight:this._minHeight(),handles:b,start:function(k,D){c._addClass(n(this),"ui-dialog-resizing"),c._blockFrames(),c._trigger("resizeStart",k,d(D))},resize:function(k,D){c._trigger("resize",k,d(D))},stop:function(k,D){var O=c.uiDialog.offset(),Q=O.left-c.document.scrollLeft(),J=O.top-c.document.scrollTop();m.height=c.uiDialog.height(),m.width=c.uiDialog.width(),m.position={my:"left top",at:"left"+(Q>=0?"+":"")+Q+" top"+(J>=0?"+":"")+J,of:c.window},c._removeClass(n(this),"ui-dialog-resizing"),c._unblockFrames(),c._trigger("resizeStop",k,d(D))}}).css("position",T)},_trackFocus:function(){this._on(this.widget(),{focusin:function(c){this._makeFocusTarget(),this._focusedElement=n(c.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var c=this._trackingInstances(),m=n.inArray(this,c);m!==-1&&c.splice(m,1)},_trackingInstances:function(){var c=this.document.data("ui-dialog-instances");return c||(c=[],this.document.data("ui-dialog-instances",c)),c},_minHeight:function(){var c=this.options;return c.height==="auto"?c.minHeight:Math.min(c.minHeight,c.height)},_position:function(){var c=this.uiDialog.is(":visible");c||this.uiDialog.show(),this.uiDialog.position(this.options.position),c||this.uiDialog.hide()},_setOptions:function(c){var m=this,x=!1,T={};n.each(c,function(b,d){m._setOption(b,d),b in m.sizeRelatedOptions&&(x=!0),b in m.resizableRelatedOptions&&(T[b]=d)}),x&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",T)},_setOption:function(c,m){var x,T,b=this.uiDialog;c!=="disabled"&&(this._super(c,m),c==="appendTo"&&this.uiDialog.appendTo(this._appendTo()),c==="buttons"&&this._createButtons(),c==="closeText"&&this.uiDialogTitlebarClose.button({label:n("<a>").text(""+this.options.closeText).html()}),c==="draggable"&&(x=b.is(":data(ui-draggable)"),x&&!m&&b.draggable("destroy"),!x&&m&&this._makeDraggable()),c==="position"&&this._position(),c==="resizable"&&(T=b.is(":data(ui-resizable)"),T&&!m&&b.resizable("destroy"),T&&typeof m=="string"&&b.resizable("option","handles",m),!T&&m!==!1&&this._makeResizable()),c==="title"&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")),c==="modal"&&b.attr("aria-modal",m?"true":null))},_size:function(){var c,m,x,T=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),T.minWidth>T.width&&(T.width=T.minWidth),c=this.uiDialog.css({height:"auto",width:T.width}).outerHeight(),m=Math.max(0,T.minHeight-c),x=typeof T.maxHeight=="number"?Math.max(0,T.maxHeight-c):"none",T.height==="auto"?this.element.css({minHeight:m,maxHeight:x,height:"auto"}):this.element.height(Math.max(0,T.height-c)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var c=n(this);return n("<div>").css({position:"absolute",width:c.outerWidth(),height:c.outerHeight()}).appendTo(c.parent()).offset(c.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(c){return n(c.target).closest(".ui-dialog").length?!0:!!n(c.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var c=!0;this._delay(function(){c=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",(function(m){if(!c){var x=this._trackingInstances()[0];x._allowInteraction(m)||(m.preventDefault(),x._focusTabbable())}}).bind(this)),this.overlay=n("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var c=this.document.data("ui-dialog-overlays")-1;c?this.document.data("ui-dialog-overlays",c):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),n.uiBackCompat===!0&&n.widget("ui.dialog",n.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(c,m){c==="dialogClass"&&this.uiDialog.removeClass(this.options.dialogClass).addClass(m),this._superApply(arguments)}}),n.ui.dialog;/*!
  * jQuery UI Droppable 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.droppable",{version:"1.14.0",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var c,p=this.options,x=p.accept;this.isover=!1,this.isout=!0,this.accept=typeof x=="function"?x:function(S){return S.is(x)},this.proportions=function(){if(arguments.length)c=arguments[0];else return c||(c={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight})},this._addToManager(p.scope),p.addClasses&&this._addClass("ui-droppable")},_addToManager:function(c){t.ui.ddmanager.droppables[c]=t.ui.ddmanager.droppables[c]||[],t.ui.ddmanager.droppables[c].push(this)},_splice:function(c){for(var p=0;p<c.length;p++)c[p]===this&&c.splice(p,1)},_destroy:function(){var c=t.ui.ddmanager.droppables[this.options.scope];this._splice(c)},_setOption:function(c,p){if(c==="accept")this.accept=typeof p=="function"?p:function(S){return S.is(p)};else if(c==="scope"){var x=t.ui.ddmanager.droppables[this.options.scope];this._splice(x),this._addToManager(p)}this._super(c,p)},_activate:function(c){var p=t.ui.ddmanager.current;this._addActiveClass(),p&&this._trigger("activate",c,this.ui(p))},_deactivate:function(c){var p=t.ui.ddmanager.current;this._removeActiveClass(),p&&this._trigger("deactivate",c,this.ui(p))},_over:function(c){var p=t.ui.ddmanager.current;!p||(p.currentItem||p.element)[0]===this.element[0]||this.accept.call(this.element[0],p.currentItem||p.element)&&(this._addHoverClass(),this._trigger("over",c,this.ui(p)))},_out:function(c){var p=t.ui.ddmanager.current;!p||(p.currentItem||p.element)[0]===this.element[0]||this.accept.call(this.element[0],p.currentItem||p.element)&&(this._removeHoverClass(),this._trigger("out",c,this.ui(p)))},_drop:function(c,p){var x=p||t.ui.ddmanager.current,S=!1;return!x||(x.currentItem||x.element)[0]===this.element[0]||(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var b=t(this).droppable("instance");if(b.options.greedy&&!b.options.disabled&&b.options.scope===x.options.scope&&b.accept.call(b.element[0],x.currentItem||x.element)&&t.ui.intersect(x,t.extend(b,{offset:b.element.offset()}),b.options.tolerance,c))return S=!0,!1}),S)?!1:this.accept.call(this.element[0],x.currentItem||x.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",c,this.ui(x)),this.element):!1},ui:function(c){return{draggable:c.currentItem||c.element,helper:c.helper,position:c.position,offset:c.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),t.ui.intersect=function(){function c(p,x,S){return p>=x&&p<x+S}return function(p,x,S,b){if(!x.offset)return!1;var h=(p.positionAbs||p.position.absolute).left+p.margins.left,T=(p.positionAbs||p.position.absolute).top+p.margins.top,M=h+p.helperProportions.width,j=T+p.helperProportions.height,V=x.offset.left,ee=x.offset.top,Z=V+x.proportions().width,U=ee+x.proportions().height;switch(S){case"fit":return V<=h&&M<=Z&&ee<=T&&j<=U;case"intersect":return V<h+p.helperProportions.width/2&&M-p.helperProportions.width/2<Z&&ee<T+p.helperProportions.height/2&&j-p.helperProportions.height/2<U;case"pointer":return c(b.pageY,ee,x.proportions().height)&&c(b.pageX,V,x.proportions().width);case"touch":return(T>=ee&&T<=U||j>=ee&&j<=U||T<ee&&j>U)&&(h>=V&&h<=Z||M>=V&&M<=Z||h<V&&M>Z);default:return!1}}}(),t.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(c,p){var x,S,b=t.ui.ddmanager.droppables[c.options.scope]||[],h=p?p.type:null,T=(c.currentItem||c.element).find(":data(ui-droppable)").addBack();e:for(x=0;x<b.length;x++)if(!(b[x].options.disabled||c&&!b[x].accept.call(b[x].element[0],c.currentItem||c.element))){for(S=0;S<T.length;S++)if(T[S]===b[x].element[0]){b[x].proportions().height=0;continue e}b[x].visible=b[x].element.css("display")!=="none",b[x].visible&&(h==="mousedown"&&b[x]._activate.call(b[x],p),b[x].offset=b[x].element.offset(),b[x].proportions({width:b[x].element[0].offsetWidth,height:b[x].element[0].offsetHeight}))}},drop:function(c,p){var x=!1;return t.each((t.ui.ddmanager.droppables[c.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(c,this,this.options.tolerance,p)&&(x=this._drop.call(this,p)||x),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,p)))}),x},dragStart:function(c,p){c.element.parentsUntil("body").on("scroll.droppable",function(){c.options.refreshPositions||t.ui.ddmanager.prepareOffsets(c,p)})},drag:function(c,p){c.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(c,p),t.each(t.ui.ddmanager.droppables[c.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var x,S,b,h=t.ui.intersect(c,this,this.options.tolerance,p),T=!h&&this.isover?"isout":h&&!this.isover?"isover":null;T&&(this.options.greedy&&(S=this.options.scope,b=this.element.parents(":data(ui-droppable)").filter(function(){return t(this).droppable("instance").options.scope===S}),b.length&&(x=t(b[0]).droppable("instance"),x.greedyChild=T==="isover")),x&&T==="isover"&&(x.isover=!1,x.isout=!0,x._out.call(x,p)),this[T]=!0,this[T==="isout"?"isover":"isout"]=!1,this[T==="isover"?"_over":"_out"].call(this,p),x&&T==="isout"&&(x.isout=!1,x.isover=!0,x._over.call(x,p)))}})},dragStop:function(c,p){c.element.parentsUntil("body").off("scroll.droppable"),c.options.refreshPositions||t.ui.ddmanager.prepareOffsets(c,p)}},t.uiBackCompat===!0&&t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),t.ui.droppable;/*!
+ */n.widget("ui.droppable",{version:"1.14.0",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var c,m=this.options,x=m.accept;this.isover=!1,this.isout=!0,this.accept=typeof x=="function"?x:function(T){return T.is(x)},this.proportions=function(){if(arguments.length)c=arguments[0];else return c||(c={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight})},this._addToManager(m.scope),m.addClasses&&this._addClass("ui-droppable")},_addToManager:function(c){n.ui.ddmanager.droppables[c]=n.ui.ddmanager.droppables[c]||[],n.ui.ddmanager.droppables[c].push(this)},_splice:function(c){for(var m=0;m<c.length;m++)c[m]===this&&c.splice(m,1)},_destroy:function(){var c=n.ui.ddmanager.droppables[this.options.scope];this._splice(c)},_setOption:function(c,m){if(c==="accept")this.accept=typeof m=="function"?m:function(T){return T.is(m)};else if(c==="scope"){var x=n.ui.ddmanager.droppables[this.options.scope];this._splice(x),this._addToManager(m)}this._super(c,m)},_activate:function(c){var m=n.ui.ddmanager.current;this._addActiveClass(),m&&this._trigger("activate",c,this.ui(m))},_deactivate:function(c){var m=n.ui.ddmanager.current;this._removeActiveClass(),m&&this._trigger("deactivate",c,this.ui(m))},_over:function(c){var m=n.ui.ddmanager.current;!m||(m.currentItem||m.element)[0]===this.element[0]||this.accept.call(this.element[0],m.currentItem||m.element)&&(this._addHoverClass(),this._trigger("over",c,this.ui(m)))},_out:function(c){var m=n.ui.ddmanager.current;!m||(m.currentItem||m.element)[0]===this.element[0]||this.accept.call(this.element[0],m.currentItem||m.element)&&(this._removeHoverClass(),this._trigger("out",c,this.ui(m)))},_drop:function(c,m){var x=m||n.ui.ddmanager.current,T=!1;return!x||(x.currentItem||x.element)[0]===this.element[0]||(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var b=n(this).droppable("instance");if(b.options.greedy&&!b.options.disabled&&b.options.scope===x.options.scope&&b.accept.call(b.element[0],x.currentItem||x.element)&&n.ui.intersect(x,n.extend(b,{offset:b.element.offset()}),b.options.tolerance,c))return T=!0,!1}),T)?!1:this.accept.call(this.element[0],x.currentItem||x.element)?(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",c,this.ui(x)),this.element):!1},ui:function(c){return{draggable:c.currentItem||c.element,helper:c.helper,position:c.position,offset:c.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),n.ui.intersect=function(){function c(m,x,T){return m>=x&&m<x+T}return function(m,x,T,b){if(!x.offset)return!1;var d=(m.positionAbs||m.position.absolute).left+m.margins.left,k=(m.positionAbs||m.position.absolute).top+m.margins.top,D=d+m.helperProportions.width,O=k+m.helperProportions.height,Q=x.offset.left,J=x.offset.top,X=Q+x.proportions().width,U=J+x.proportions().height;switch(T){case"fit":return Q<=d&&D<=X&&J<=k&&O<=U;case"intersect":return Q<d+m.helperProportions.width/2&&D-m.helperProportions.width/2<X&&J<k+m.helperProportions.height/2&&O-m.helperProportions.height/2<U;case"pointer":return c(b.pageY,J,x.proportions().height)&&c(b.pageX,Q,x.proportions().width);case"touch":return(k>=J&&k<=U||O>=J&&O<=U||k<J&&O>U)&&(d>=Q&&d<=X||D>=Q&&D<=X||d<Q&&D>X);default:return!1}}}(),n.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(c,m){var x,T,b=n.ui.ddmanager.droppables[c.options.scope]||[],d=m?m.type:null,k=(c.currentItem||c.element).find(":data(ui-droppable)").addBack();e:for(x=0;x<b.length;x++)if(!(b[x].options.disabled||c&&!b[x].accept.call(b[x].element[0],c.currentItem||c.element))){for(T=0;T<k.length;T++)if(k[T]===b[x].element[0]){b[x].proportions().height=0;continue e}b[x].visible=b[x].element.css("display")!=="none",b[x].visible&&(d==="mousedown"&&b[x]._activate.call(b[x],m),b[x].offset=b[x].element.offset(),b[x].proportions({width:b[x].element[0].offsetWidth,height:b[x].element[0].offsetHeight}))}},drop:function(c,m){var x=!1;return n.each((n.ui.ddmanager.droppables[c.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&n.ui.intersect(c,this,this.options.tolerance,m)&&(x=this._drop.call(this,m)||x),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,m)))}),x},dragStart:function(c,m){c.element.parentsUntil("body").on("scroll.droppable",function(){c.options.refreshPositions||n.ui.ddmanager.prepareOffsets(c,m)})},drag:function(c,m){c.options.refreshPositions&&n.ui.ddmanager.prepareOffsets(c,m),n.each(n.ui.ddmanager.droppables[c.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var x,T,b,d=n.ui.intersect(c,this,this.options.tolerance,m),k=!d&&this.isover?"isout":d&&!this.isover?"isover":null;k&&(this.options.greedy&&(T=this.options.scope,b=this.element.parents(":data(ui-droppable)").filter(function(){return n(this).droppable("instance").options.scope===T}),b.length&&(x=n(b[0]).droppable("instance"),x.greedyChild=k==="isover")),x&&k==="isover"&&(x.isover=!1,x.isout=!0,x._out.call(x,m)),this[k]=!0,this[k==="isout"?"isover":"isout"]=!1,this[k==="isover"?"_over":"_out"].call(this,m),x&&k==="isout"&&(x.isout=!1,x.isover=!0,x._over.call(x,m)))}})},dragStop:function(c,m){c.element.parentsUntil("body").off("scroll.droppable"),c.options.refreshPositions||n.ui.ddmanager.prepareOffsets(c,m)}},n.uiBackCompat===!0&&n.widget("ui.droppable",n.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),n.ui.droppable;/*!
  * jQuery UI Progressbar 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.progressbar",{version:"1.14.0",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=t("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(c){if(c===void 0)return this.options.value;this.options.value=this._constrainedValue(c),this._refreshValue()},_constrainedValue:function(c){return c===void 0&&(c=this.options.value),this.indeterminate=c===!1,typeof c!="number"&&(c=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,c))},_setOptions:function(c){var p=c.value;delete c.value,this._super(c),this.options.value=this._constrainedValue(p),this._refreshValue()},_setOption:function(c,p){c==="max"&&(p=Math.max(this.min,p)),this._super(c,p)},_setOptionDisabled:function(c){this._super(c),this.element.attr("aria-disabled",c),this._toggleClass(null,"ui-state-disabled",!!c)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var c=this.options.value,p=this._percentage();this.valueDiv.toggle(this.indeterminate||c>this.min).width(p.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,c===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":c}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==c&&(this.oldValue=c,this._trigger("change")),c===this.options.max&&this._trigger("complete")}});/*!
+ */n.widget("ui.progressbar",{version:"1.14.0",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=n("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(c){if(c===void 0)return this.options.value;this.options.value=this._constrainedValue(c),this._refreshValue()},_constrainedValue:function(c){return c===void 0&&(c=this.options.value),this.indeterminate=c===!1,typeof c!="number"&&(c=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,c))},_setOptions:function(c){var m=c.value;delete c.value,this._super(c),this.options.value=this._constrainedValue(m),this._refreshValue()},_setOption:function(c,m){c==="max"&&(m=Math.max(this.min,m)),this._super(c,m)},_setOptionDisabled:function(c){this._super(c),this.element.attr("aria-disabled",c),this._toggleClass(null,"ui-state-disabled",!!c)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var c=this.options.value,m=this._percentage();this.valueDiv.toggle(this.indeterminate||c>this.min).width(m.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,c===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=n("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":c}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==c&&(this.oldValue=c,this._trigger("change")),c===this.options.max&&this._trigger("complete")}});/*!
  * jQuery UI Selectable 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.selectable",t.ui.mouse,{version:"1.14.0",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var c=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){c.elementPos=t(c.element[0]).offset(),c.selectees=t(c.options.filter,c.element[0]),c._addClass(c.selectees,"ui-selectee"),c.selectees.each(function(){var p=t(this),x=p.offset(),S={left:x.left-c.elementPos.left,top:x.top-c.elementPos.top};t.data(this,"selectable-item",{element:this,$element:p,left:S.left,top:S.top,right:S.left+p.outerWidth(),bottom:S.top+p.outerHeight(),startselected:!1,selected:p.hasClass("ui-selected"),selecting:p.hasClass("ui-selecting"),unselecting:p.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=t("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(c){var p=this,x=this.options;this.opos=[c.pageX,c.pageY],this.elementPos=t(this.element[0]).offset(),!this.options.disabled&&(this.selectees=t(x.filter,this.element[0]),this._trigger("start",c),t(x.appendTo).append(this.helper),this.helper.css({left:c.pageX,top:c.pageY,width:0,height:0}),x.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var S=t.data(this,"selectable-item");S.startselected=!0,!c.metaKey&&!c.ctrlKey&&(p._removeClass(S.$element,"ui-selected"),S.selected=!1,p._addClass(S.$element,"ui-unselecting"),S.unselecting=!0,p._trigger("unselecting",c,{unselecting:S.element}))}),t(c.target).parents().addBack().each(function(){var S,b=t.data(this,"selectable-item");if(b)return S=!c.metaKey&&!c.ctrlKey||!b.$element.hasClass("ui-selected"),p._removeClass(b.$element,S?"ui-unselecting":"ui-selected")._addClass(b.$element,S?"ui-selecting":"ui-unselecting"),b.unselecting=!S,b.selecting=S,b.selected=S,S?p._trigger("selecting",c,{selecting:b.element}):p._trigger("unselecting",c,{unselecting:b.element}),!1}))},_mouseDrag:function(c){if(this.dragged=!0,!this.options.disabled){var p,x=this,S=this.options,b=this.opos[0],h=this.opos[1],T=c.pageX,M=c.pageY;return b>T&&(p=T,T=b,b=p),h>M&&(p=M,M=h,h=p),this.helper.css({left:b,top:h,width:T-b,height:M-h}),this.selectees.each(function(){var j=t.data(this,"selectable-item"),V=!1,ee={};!j||j.element===x.element[0]||(ee.left=j.left+x.elementPos.left,ee.right=j.right+x.elementPos.left,ee.top=j.top+x.elementPos.top,ee.bottom=j.bottom+x.elementPos.top,S.tolerance==="touch"?V=!(ee.left>T||ee.right<b||ee.top>M||ee.bottom<h):S.tolerance==="fit"&&(V=ee.left>b&&ee.right<T&&ee.top>h&&ee.bottom<M),V?(j.selected&&(x._removeClass(j.$element,"ui-selected"),j.selected=!1),j.unselecting&&(x._removeClass(j.$element,"ui-unselecting"),j.unselecting=!1),j.selecting||(x._addClass(j.$element,"ui-selecting"),j.selecting=!0,x._trigger("selecting",c,{selecting:j.element}))):(j.selecting&&((c.metaKey||c.ctrlKey)&&j.startselected?(x._removeClass(j.$element,"ui-selecting"),j.selecting=!1,x._addClass(j.$element,"ui-selected"),j.selected=!0):(x._removeClass(j.$element,"ui-selecting"),j.selecting=!1,j.startselected&&(x._addClass(j.$element,"ui-unselecting"),j.unselecting=!0),x._trigger("unselecting",c,{unselecting:j.element}))),j.selected&&!c.metaKey&&!c.ctrlKey&&!j.startselected&&(x._removeClass(j.$element,"ui-selected"),j.selected=!1,x._addClass(j.$element,"ui-unselecting"),j.unselecting=!0,x._trigger("unselecting",c,{unselecting:j.element}))))}),!1}},_mouseStop:function(c){var p=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var x=t.data(this,"selectable-item");p._removeClass(x.$element,"ui-unselecting"),x.unselecting=!1,x.startselected=!1,p._trigger("unselected",c,{unselected:x.element})}),t(".ui-selecting",this.element[0]).each(function(){var x=t.data(this,"selectable-item");p._removeClass(x.$element,"ui-selecting")._addClass(x.$element,"ui-selected"),x.selecting=!1,x.selected=!0,x.startselected=!0,p._trigger("selected",c,{selected:x.element})}),this._trigger("stop",c),this.helper.remove(),!1}});/*!
+ */n.widget("ui.selectable",n.ui.mouse,{version:"1.14.0",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var c=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){c.elementPos=n(c.element[0]).offset(),c.selectees=n(c.options.filter,c.element[0]),c._addClass(c.selectees,"ui-selectee"),c.selectees.each(function(){var m=n(this),x=m.offset(),T={left:x.left-c.elementPos.left,top:x.top-c.elementPos.top};n.data(this,"selectable-item",{element:this,$element:m,left:T.left,top:T.top,right:T.left+m.outerWidth(),bottom:T.top+m.outerHeight(),startselected:!1,selected:m.hasClass("ui-selected"),selecting:m.hasClass("ui-selecting"),unselecting:m.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=n("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(c){var m=this,x=this.options;this.opos=[c.pageX,c.pageY],this.elementPos=n(this.element[0]).offset(),!this.options.disabled&&(this.selectees=n(x.filter,this.element[0]),this._trigger("start",c),n(x.appendTo).append(this.helper),this.helper.css({left:c.pageX,top:c.pageY,width:0,height:0}),x.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var T=n.data(this,"selectable-item");T.startselected=!0,!c.metaKey&&!c.ctrlKey&&(m._removeClass(T.$element,"ui-selected"),T.selected=!1,m._addClass(T.$element,"ui-unselecting"),T.unselecting=!0,m._trigger("unselecting",c,{unselecting:T.element}))}),n(c.target).parents().addBack().each(function(){var T,b=n.data(this,"selectable-item");if(b)return T=!c.metaKey&&!c.ctrlKey||!b.$element.hasClass("ui-selected"),m._removeClass(b.$element,T?"ui-unselecting":"ui-selected")._addClass(b.$element,T?"ui-selecting":"ui-unselecting"),b.unselecting=!T,b.selecting=T,b.selected=T,T?m._trigger("selecting",c,{selecting:b.element}):m._trigger("unselecting",c,{unselecting:b.element}),!1}))},_mouseDrag:function(c){if(this.dragged=!0,!this.options.disabled){var m,x=this,T=this.options,b=this.opos[0],d=this.opos[1],k=c.pageX,D=c.pageY;return b>k&&(m=k,k=b,b=m),d>D&&(m=D,D=d,d=m),this.helper.css({left:b,top:d,width:k-b,height:D-d}),this.selectees.each(function(){var O=n.data(this,"selectable-item"),Q=!1,J={};!O||O.element===x.element[0]||(J.left=O.left+x.elementPos.left,J.right=O.right+x.elementPos.left,J.top=O.top+x.elementPos.top,J.bottom=O.bottom+x.elementPos.top,T.tolerance==="touch"?Q=!(J.left>k||J.right<b||J.top>D||J.bottom<d):T.tolerance==="fit"&&(Q=J.left>b&&J.right<k&&J.top>d&&J.bottom<D),Q?(O.selected&&(x._removeClass(O.$element,"ui-selected"),O.selected=!1),O.unselecting&&(x._removeClass(O.$element,"ui-unselecting"),O.unselecting=!1),O.selecting||(x._addClass(O.$element,"ui-selecting"),O.selecting=!0,x._trigger("selecting",c,{selecting:O.element}))):(O.selecting&&((c.metaKey||c.ctrlKey)&&O.startselected?(x._removeClass(O.$element,"ui-selecting"),O.selecting=!1,x._addClass(O.$element,"ui-selected"),O.selected=!0):(x._removeClass(O.$element,"ui-selecting"),O.selecting=!1,O.startselected&&(x._addClass(O.$element,"ui-unselecting"),O.unselecting=!0),x._trigger("unselecting",c,{unselecting:O.element}))),O.selected&&!c.metaKey&&!c.ctrlKey&&!O.startselected&&(x._removeClass(O.$element,"ui-selected"),O.selected=!1,x._addClass(O.$element,"ui-unselecting"),O.unselecting=!0,x._trigger("unselecting",c,{unselecting:O.element}))))}),!1}},_mouseStop:function(c){var m=this;return this.dragged=!1,n(".ui-unselecting",this.element[0]).each(function(){var x=n.data(this,"selectable-item");m._removeClass(x.$element,"ui-unselecting"),x.unselecting=!1,x.startselected=!1,m._trigger("unselected",c,{unselected:x.element})}),n(".ui-selecting",this.element[0]).each(function(){var x=n.data(this,"selectable-item");m._removeClass(x.$element,"ui-selecting")._addClass(x.$element,"ui-selected"),x.selecting=!1,x.selected=!0,x.startselected=!0,m._trigger("selected",c,{selected:x.element})}),this._trigger("stop",c),this.helper.remove(),!1}});/*!
  * jQuery UI Selectmenu 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.selectmenu",[t.ui.formResetMixin,{version:"1.14.0",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var c=this.element.uniqueId().attr("id");this.ids={element:c,button:c+"-button",menu:c+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=t()},_drawButton:function(){var c,p=this,x=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(S){this.button.trigger("focus"),S.preventDefault()}}),this.element.hide(),this.button=t("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),c=t("<span>").appendTo(this.button),this._addClass(c,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(x).appendTo(this.button),this.options.width!==!1&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){p._rendered||p._refreshMenu()})},_drawMenu:function(){var c=this;this.menu=t("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=t("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(p,x){p.preventDefault(),c._select(x.item.data("ui-selectmenu-item"),p)},focus:function(p,x){var S=x.item.data("ui-selectmenu-item");c.focusIndex!=null&&S.index!==c.focusIndex&&(c._trigger("focus",p,{item:S}),c.isOpen||c._select(S,p)),c.focusIndex=S.index,c.button.attr("aria-activedescendant",c.menuItems.eq(S.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),this.options.width===null&&this._resizeButton()},_refreshMenu:function(){var c,p=this.element.find("option");this.menu.empty(),this._parseOptions(p),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,p.length&&(c=this._getSelectedItem(),this.menuInstance.focus(null,c),this._setAria(c.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(c){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",c)))},_position:function(){this.menuWrap.position(t.extend({of:this.button},this.options.position))},close:function(c){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",c))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(c){var p=t("<span>");return this._setText(p,c.label),this._addClass(p,"ui-selectmenu-text"),p},_renderMenu:function(c,p){var x=this,S="";t.each(p,function(b,h){var T;h.optgroup!==S&&(T=t("<li>",{text:h.optgroup}),x._addClass(T,"ui-selectmenu-optgroup","ui-menu-divider"+(h.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),T.appendTo(c),S=h.optgroup),x._renderItemData(c,h)})},_renderItemData:function(c,p){return this._renderItem(c,p).data("ui-selectmenu-item",p)},_renderItem:function(c,p){var x=t("<li>"),S=t("<div>",{title:p.element.attr("title")});return p.disabled&&this._addClass(x,null,"ui-state-disabled"),p.hidden?x.prop("hidden",!0):this._setText(S,p.label),x.append(S).appendTo(c)},_setText:function(c,p){p?c.text(p):c.html("&#160;")},_move:function(c,p){var x,S,b=".ui-menu-item";this.isOpen?x=this.menuItems.eq(this.focusIndex).parent("li"):(x=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),b+=":not(.ui-state-disabled)"),c==="first"||c==="last"?S=x[c==="first"?"prevAll":"nextAll"](b).eq(-1):S=x[c+"All"](b).eq(0),S.length&&this.menuInstance.focus(p,S)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(c){this[this.isOpen?"close":"open"](c)},_setSelection:function(){var c;this.range&&(c=window.getSelection(),c.removeAllRanges(),c.addRange(this.range))},_documentClick:{mousedown:function(c){this.isOpen&&(t(c.target).closest(".ui-selectmenu-menu, #"+CSS.escape(this.ids.button)).length||this.close(c))}},_buttonEvents:{mousedown:function(){var c=window.getSelection();c.rangeCount&&(this.range=c.getRangeAt(0))},click:function(c){this._setSelection(),this._toggle(c)},keydown:function(c){var p=!0;switch(c.keyCode){case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(c),p=!1;break;case t.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(c);break;case t.ui.keyCode.UP:c.altKey?this._toggle(c):this._move("prev",c);break;case t.ui.keyCode.DOWN:c.altKey?this._toggle(c):this._move("next",c);break;case t.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(c):this._toggle(c);break;case t.ui.keyCode.LEFT:this._move("prev",c);break;case t.ui.keyCode.RIGHT:this._move("next",c);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",c);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",c);break;default:this.menu.trigger(c),p=!1}p&&c.preventDefault()}},_selectFocusedItem:function(c){var p=this.menuItems.eq(this.focusIndex).parent("li");p.hasClass("ui-state-disabled")||this._select(p.data("ui-selectmenu-item"),c)},_select:function(c,p){var x=this.element[0].selectedIndex;this.element[0].selectedIndex=c.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(c)),this._setAria(c),this._trigger("select",p,{item:c}),c.index!==x&&this._trigger("change",p,{item:c}),this.close(p)},_setAria:function(c){var p=this.menuItems.eq(c.index).attr("id");this.button.attr({"aria-labelledby":p,"aria-activedescendant":p}),this.menu.attr("aria-activedescendant",p)},_setOption:function(c,p){if(c==="icons"){var x=this.button.find("span.ui-icon");this._removeClass(x,null,this.options.icons.button)._addClass(x,null,p.button)}this._super(c,p),c==="appendTo"&&this.menuWrap.appendTo(this._appendTo()),c==="width"&&this._resizeButton()},_setOptionDisabled:function(c){this._super(c),this.menuInstance.option("disabled",c),this.button.attr("aria-disabled",c),this._toggleClass(this.button,null,"ui-state-disabled",c),this.element.prop("disabled",c),c?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var c=this.options.appendTo;return c&&(c=c.jquery||c.nodeType?t(c):this.document.find(c).eq(0)),(!c||!c[0])&&(c=this.element.closest(".ui-front, dialog")),c.length||(c=this.document[0].body),c},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var c=this.options.width;if(c===!1){this.button.css("width","");return}c===null&&(c=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(c)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()))},_getCreateOptions:function(){var c=this._super();return c.disabled=this.element.prop("disabled"),c},_parseOptions:function(c){var p=this,x=[];c.each(function(S,b){x.push(p._parseOption(t(b),S))}),this.items=x},_parseOption:function(c,p){var x=c.parent("optgroup");return{element:c,index:p,value:c.val(),label:c.text(),hidden:x.prop("hidden")||c.prop("hidden"),optgroup:x.attr("label")||"",disabled:x.prop("disabled")||c.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]);/*!
+ */n.widget("ui.selectmenu",[n.ui.formResetMixin,{version:"1.14.0",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var c=this.element.uniqueId().attr("id");this.ids={element:c,button:c+"-button",menu:c+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=n()},_drawButton:function(){var c,m=this,x=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(T){this.button.trigger("focus"),T.preventDefault()}}),this.element.hide(),this.button=n("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),c=n("<span>").appendTo(this.button),this._addClass(c,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(x).appendTo(this.button),this.options.width!==!1&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){m._rendered||m._refreshMenu()})},_drawMenu:function(){var c=this;this.menu=n("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=n("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(m,x){m.preventDefault(),c._select(x.item.data("ui-selectmenu-item"),m)},focus:function(m,x){var T=x.item.data("ui-selectmenu-item");c.focusIndex!=null&&T.index!==c.focusIndex&&(c._trigger("focus",m,{item:T}),c.isOpen||c._select(T,m)),c.focusIndex=T.index,c.button.attr("aria-activedescendant",c.menuItems.eq(T.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),this.options.width===null&&this._resizeButton()},_refreshMenu:function(){var c,m=this.element.find("option");this.menu.empty(),this._parseOptions(m),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,m.length&&(c=this._getSelectedItem(),this.menuInstance.focus(null,c),this._setAria(c.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(c){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",c)))},_position:function(){this.menuWrap.position(n.extend({of:this.button},this.options.position))},close:function(c){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",c))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(c){var m=n("<span>");return this._setText(m,c.label),this._addClass(m,"ui-selectmenu-text"),m},_renderMenu:function(c,m){var x=this,T="";n.each(m,function(b,d){var k;d.optgroup!==T&&(k=n("<li>",{text:d.optgroup}),x._addClass(k,"ui-selectmenu-optgroup","ui-menu-divider"+(d.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),k.appendTo(c),T=d.optgroup),x._renderItemData(c,d)})},_renderItemData:function(c,m){return this._renderItem(c,m).data("ui-selectmenu-item",m)},_renderItem:function(c,m){var x=n("<li>"),T=n("<div>",{title:m.element.attr("title")});return m.disabled&&this._addClass(x,null,"ui-state-disabled"),m.hidden?x.prop("hidden",!0):this._setText(T,m.label),x.append(T).appendTo(c)},_setText:function(c,m){m?c.text(m):c.html("&#160;")},_move:function(c,m){var x,T,b=".ui-menu-item";this.isOpen?x=this.menuItems.eq(this.focusIndex).parent("li"):(x=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),b+=":not(.ui-state-disabled)"),c==="first"||c==="last"?T=x[c==="first"?"prevAll":"nextAll"](b).eq(-1):T=x[c+"All"](b).eq(0),T.length&&this.menuInstance.focus(m,T)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(c){this[this.isOpen?"close":"open"](c)},_setSelection:function(){var c;this.range&&(c=window.getSelection(),c.removeAllRanges(),c.addRange(this.range))},_documentClick:{mousedown:function(c){this.isOpen&&(n(c.target).closest(".ui-selectmenu-menu, #"+CSS.escape(this.ids.button)).length||this.close(c))}},_buttonEvents:{mousedown:function(){var c=window.getSelection();c.rangeCount&&(this.range=c.getRangeAt(0))},click:function(c){this._setSelection(),this._toggle(c)},keydown:function(c){var m=!0;switch(c.keyCode){case n.ui.keyCode.TAB:case n.ui.keyCode.ESCAPE:this.close(c),m=!1;break;case n.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(c);break;case n.ui.keyCode.UP:c.altKey?this._toggle(c):this._move("prev",c);break;case n.ui.keyCode.DOWN:c.altKey?this._toggle(c):this._move("next",c);break;case n.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(c):this._toggle(c);break;case n.ui.keyCode.LEFT:this._move("prev",c);break;case n.ui.keyCode.RIGHT:this._move("next",c);break;case n.ui.keyCode.HOME:case n.ui.keyCode.PAGE_UP:this._move("first",c);break;case n.ui.keyCode.END:case n.ui.keyCode.PAGE_DOWN:this._move("last",c);break;default:this.menu.trigger(c),m=!1}m&&c.preventDefault()}},_selectFocusedItem:function(c){var m=this.menuItems.eq(this.focusIndex).parent("li");m.hasClass("ui-state-disabled")||this._select(m.data("ui-selectmenu-item"),c)},_select:function(c,m){var x=this.element[0].selectedIndex;this.element[0].selectedIndex=c.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(c)),this._setAria(c),this._trigger("select",m,{item:c}),c.index!==x&&this._trigger("change",m,{item:c}),this.close(m)},_setAria:function(c){var m=this.menuItems.eq(c.index).attr("id");this.button.attr({"aria-labelledby":m,"aria-activedescendant":m}),this.menu.attr("aria-activedescendant",m)},_setOption:function(c,m){if(c==="icons"){var x=this.button.find("span.ui-icon");this._removeClass(x,null,this.options.icons.button)._addClass(x,null,m.button)}this._super(c,m),c==="appendTo"&&this.menuWrap.appendTo(this._appendTo()),c==="width"&&this._resizeButton()},_setOptionDisabled:function(c){this._super(c),this.menuInstance.option("disabled",c),this.button.attr("aria-disabled",c),this._toggleClass(this.button,null,"ui-state-disabled",c),this.element.prop("disabled",c),c?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var c=this.options.appendTo;return c&&(c=c.jquery||c.nodeType?n(c):this.document.find(c).eq(0)),(!c||!c[0])&&(c=this.element.closest(".ui-front, dialog")),c.length||(c=this.document[0].body),c},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var c=this.options.width;if(c===!1){this.button.css("width","");return}c===null&&(c=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(c)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()))},_getCreateOptions:function(){var c=this._super();return c.disabled=this.element.prop("disabled"),c},_parseOptions:function(c){var m=this,x=[];c.each(function(T,b){x.push(m._parseOption(n(b),T))}),this.items=x},_parseOption:function(c,m){var x=c.parent("optgroup");return{element:c,index:m,value:c.val(),label:c.text(),hidden:x.prop("hidden")||c.prop("hidden"),optgroup:x.attr("label")||"",disabled:x.prop("disabled")||c.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]);/*!
  * jQuery UI Slider 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.slider",t.ui.mouse,{version:"1.14.0",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var c,p,x=this.options,S=this.element.find(".ui-slider-handle"),b="<span tabindex='0'></span>",h=[];for(p=x.values&&x.values.length||1,S.length>p&&(S.slice(p).remove(),S=S.slice(0,p)),c=S.length;c<p;c++)h.push(b);this.handles=S.add(t(h.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(T){t(this).data("ui-slider-handle-index",T).attr("tabIndex",0)})},_createRange:function(){var c=this.options;c.range?(c.range===!0&&(c.values?c.values.length&&c.values.length!==2?c.values=[c.values[0],c.values[0]]:Array.isArray(c.values)&&(c.values=c.values.slice(0)):c.values=[this._valueMin(),this._valueMin()]),!this.range||!this.range.length?(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")):(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})),(c.range==="min"||c.range==="max")&&this._addClass(this.range,"ui-slider-range-"+c.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(c){var p,x,S,b,h,T,M,j,V=this,ee=this.options;return ee.disabled||(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),p={x:c.pageX,y:c.pageY},x=this._normValueFromMouse(p),S=this._valueMax()-this._valueMin()+1,this.handles.each(function(Z){var U=Math.abs(x-V.values(Z));(S>U||S===U&&(Z===V._lastChangedValue||V.values(Z)===ee.min))&&(S=U,b=t(this),h=Z)}),T=this._start(c,h),T===!1)?!1:(this._mouseSliding=!0,this._handleIndex=h,this._addClass(b,null,"ui-state-active"),b.trigger("focus"),M=b.offset(),j=!t(c.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=j?{left:0,top:0}:{left:c.pageX-M.left-b.width()/2,top:c.pageY-M.top-b.height()/2-(parseInt(b.css("borderTopWidth"),10)||0)-(parseInt(b.css("borderBottomWidth"),10)||0)+(parseInt(b.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(c,h,x),this._animateOff=!0,!0)},_mouseStart:function(){return!0},_mouseDrag:function(c){var p={x:c.pageX,y:c.pageY},x=this._normValueFromMouse(p);return this._slide(c,this._handleIndex,x),!1},_mouseStop:function(c){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(c,this._handleIndex),this._change(c,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(c){var p,x,S,b,h;return this.orientation==="horizontal"?(p=this.elementSize.width,x=c.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(p=this.elementSize.height,x=c.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),S=x/p,S>1&&(S=1),S<0&&(S=0),this.orientation==="vertical"&&(S=1-S),b=this._valueMax()-this._valueMin(),h=this._valueMin()+S*b,this._trimAlignValue(h)},_uiHash:function(c,p,x){var S={handle:this.handles[c],handleIndex:c,value:p!==void 0?p:this.value()};return this._hasMultipleValues()&&(S.value=p!==void 0?p:this.values(c),S.values=x||this.values()),S},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(c,p){return this._trigger("start",c,this._uiHash(p))},_slide:function(c,p,x){var S,b,h=this.value(),T=this.values();this._hasMultipleValues()&&(b=this.values(p?0:1),h=this.values(p),this.options.values.length===2&&this.options.range===!0&&(x=p===0?Math.min(b,x):Math.max(b,x)),T[p]=x),x!==h&&(S=this._trigger("slide",c,this._uiHash(p,x,T)),S!==!1&&(this._hasMultipleValues()?this.values(p,x):this.value(x)))},_stop:function(c,p){this._trigger("stop",c,this._uiHash(p))},_change:function(c,p){!this._keySliding&&!this._mouseSliding&&(this._lastChangedValue=p,this._trigger("change",c,this._uiHash(p)))},value:function(c){if(arguments.length){this.options.value=this._trimAlignValue(c),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(c,p){var x,S,b;if(arguments.length>1){this.options.values[c]=this._trimAlignValue(p),this._refreshValue(),this._change(null,c);return}if(arguments.length)if(Array.isArray(arguments[0])){for(x=this.options.values,S=arguments[0],b=0;b<x.length;b+=1)x[b]=this._trimAlignValue(S[b]),this._change(null,b);this._refreshValue()}else return this._hasMultipleValues()?this._values(c):this.value();else return this._values()},_setOption:function(c,p){var x,S=0;switch(c==="range"&&this.options.range===!0&&(p==="min"?(this.options.value=this._values(0),this.options.values=null):p==="max"&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(S=this.options.values.length),this._super(c,p),c){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(p),this.handles.css(p==="horizontal"?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),x=S-1;x>=0;x--)this._change(null,x);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1;break}},_setOptionDisabled:function(c){this._super(c),this._toggleClass(null,"ui-state-disabled",!!c)},_value:function(){var c=this.options.value;return c=this._trimAlignValue(c),c},_values:function(c){var p,x,S;if(arguments.length)return p=this.options.values[c],p=this._trimAlignValue(p),p;if(this._hasMultipleValues()){for(x=this.options.values.slice(),S=0;S<x.length;S+=1)x[S]=this._trimAlignValue(x[S]);return x}else return[]},_trimAlignValue:function(c){if(c<=this._valueMin())return this._valueMin();if(c>=this._valueMax())return this._valueMax();var p=this.options.step>0?this.options.step:1,x=(c-this._valueMin())%p,S=c-x;return Math.abs(x)*2>=p&&(S+=x>0?p:-p),parseFloat(S.toFixed(5))},_calculateNewMax:function(){var c=this.options.max,p=this._valueMin(),x=this.options.step,S=Math.round((c-p)/x)*x;c=S+p,c>this.options.max&&(c-=x),this.max=parseFloat(c.toFixed(this._precision()))},_precision:function(){var c=this._precisionOf(this.options.step);return this.options.min!==null&&(c=Math.max(c,this._precisionOf(this.options.min))),c},_precisionOf:function(c){var p=c.toString(),x=p.indexOf(".");return x===-1?0:p.length-x-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(c){c==="vertical"&&this.range.css({width:"",left:""}),c==="horizontal"&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var c,p,x,S,b,h=this.options.range,T=this.options,M=this,j=this._animateOff?!1:T.animate,V={};this._hasMultipleValues()?this.handles.each(function(ee){p=(M.values(ee)-M._valueMin())/(M._valueMax()-M._valueMin())*100,V[M.orientation==="horizontal"?"left":"bottom"]=p+"%",t(this).stop(1,1)[j?"animate":"css"](V,T.animate),M.options.range===!0&&(M.orientation==="horizontal"?(ee===0&&M.range.stop(1,1)[j?"animate":"css"]({left:p+"%"},T.animate),ee===1&&M.range[j?"animate":"css"]({width:p-c+"%"},{queue:!1,duration:T.animate})):(ee===0&&M.range.stop(1,1)[j?"animate":"css"]({bottom:p+"%"},T.animate),ee===1&&M.range[j?"animate":"css"]({height:p-c+"%"},{queue:!1,duration:T.animate}))),c=p}):(x=this.value(),S=this._valueMin(),b=this._valueMax(),p=b!==S?(x-S)/(b-S)*100:0,V[this.orientation==="horizontal"?"left":"bottom"]=p+"%",this.handle.stop(1,1)[j?"animate":"css"](V,T.animate),h==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[j?"animate":"css"]({width:p+"%"},T.animate),h==="max"&&this.orientation==="horizontal"&&this.range.stop(1,1)[j?"animate":"css"]({width:100-p+"%"},T.animate),h==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[j?"animate":"css"]({height:p+"%"},T.animate),h==="max"&&this.orientation==="vertical"&&this.range.stop(1,1)[j?"animate":"css"]({height:100-p+"%"},T.animate))},_handleEvents:{keydown:function(c){var p,x,S,b,h=t(c.target).data("ui-slider-handle-index");switch(c.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(c.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(c.target),null,"ui-state-active"),p=this._start(c,h),p===!1))return;break}switch(b=this.options.step,this._hasMultipleValues()?x=S=this.values(h):x=S=this.value(),c.keyCode){case t.ui.keyCode.HOME:S=this._valueMin();break;case t.ui.keyCode.END:S=this._valueMax();break;case t.ui.keyCode.PAGE_UP:S=this._trimAlignValue(x+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:S=this._trimAlignValue(x-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(x===this._valueMax())return;S=this._trimAlignValue(x+b);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(x===this._valueMin())return;S=this._trimAlignValue(x-b);break}this._slide(c,h,S)},keyup:function(c){var p=t(c.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(c,p),this._change(c,p),this._removeClass(t(c.target),null,"ui-state-active"))}}});/*!
+ */n.widget("ui.slider",n.ui.mouse,{version:"1.14.0",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var c,m,x=this.options,T=this.element.find(".ui-slider-handle"),b="<span tabindex='0'></span>",d=[];for(m=x.values&&x.values.length||1,T.length>m&&(T.slice(m).remove(),T=T.slice(0,m)),c=T.length;c<m;c++)d.push(b);this.handles=T.add(n(d.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(k){n(this).data("ui-slider-handle-index",k).attr("tabIndex",0)})},_createRange:function(){var c=this.options;c.range?(c.range===!0&&(c.values?c.values.length&&c.values.length!==2?c.values=[c.values[0],c.values[0]]:Array.isArray(c.values)&&(c.values=c.values.slice(0)):c.values=[this._valueMin(),this._valueMin()]),!this.range||!this.range.length?(this.range=n("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")):(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})),(c.range==="min"||c.range==="max")&&this._addClass(this.range,"ui-slider-range-"+c.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(c){var m,x,T,b,d,k,D,O,Q=this,J=this.options;return J.disabled||(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),m={x:c.pageX,y:c.pageY},x=this._normValueFromMouse(m),T=this._valueMax()-this._valueMin()+1,this.handles.each(function(X){var U=Math.abs(x-Q.values(X));(T>U||T===U&&(X===Q._lastChangedValue||Q.values(X)===J.min))&&(T=U,b=n(this),d=X)}),k=this._start(c,d),k===!1)?!1:(this._mouseSliding=!0,this._handleIndex=d,this._addClass(b,null,"ui-state-active"),b.trigger("focus"),D=b.offset(),O=!n(c.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=O?{left:0,top:0}:{left:c.pageX-D.left-b.width()/2,top:c.pageY-D.top-b.height()/2-(parseInt(b.css("borderTopWidth"),10)||0)-(parseInt(b.css("borderBottomWidth"),10)||0)+(parseInt(b.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(c,d,x),this._animateOff=!0,!0)},_mouseStart:function(){return!0},_mouseDrag:function(c){var m={x:c.pageX,y:c.pageY},x=this._normValueFromMouse(m);return this._slide(c,this._handleIndex,x),!1},_mouseStop:function(c){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(c,this._handleIndex),this._change(c,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(c){var m,x,T,b,d;return this.orientation==="horizontal"?(m=this.elementSize.width,x=c.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(m=this.elementSize.height,x=c.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),T=x/m,T>1&&(T=1),T<0&&(T=0),this.orientation==="vertical"&&(T=1-T),b=this._valueMax()-this._valueMin(),d=this._valueMin()+T*b,this._trimAlignValue(d)},_uiHash:function(c,m,x){var T={handle:this.handles[c],handleIndex:c,value:m!==void 0?m:this.value()};return this._hasMultipleValues()&&(T.value=m!==void 0?m:this.values(c),T.values=x||this.values()),T},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(c,m){return this._trigger("start",c,this._uiHash(m))},_slide:function(c,m,x){var T,b,d=this.value(),k=this.values();this._hasMultipleValues()&&(b=this.values(m?0:1),d=this.values(m),this.options.values.length===2&&this.options.range===!0&&(x=m===0?Math.min(b,x):Math.max(b,x)),k[m]=x),x!==d&&(T=this._trigger("slide",c,this._uiHash(m,x,k)),T!==!1&&(this._hasMultipleValues()?this.values(m,x):this.value(x)))},_stop:function(c,m){this._trigger("stop",c,this._uiHash(m))},_change:function(c,m){!this._keySliding&&!this._mouseSliding&&(this._lastChangedValue=m,this._trigger("change",c,this._uiHash(m)))},value:function(c){if(arguments.length){this.options.value=this._trimAlignValue(c),this._refreshValue(),this._change(null,0);return}return this._value()},values:function(c,m){var x,T,b;if(arguments.length>1){this.options.values[c]=this._trimAlignValue(m),this._refreshValue(),this._change(null,c);return}if(arguments.length)if(Array.isArray(arguments[0])){for(x=this.options.values,T=arguments[0],b=0;b<x.length;b+=1)x[b]=this._trimAlignValue(T[b]),this._change(null,b);this._refreshValue()}else return this._hasMultipleValues()?this._values(c):this.value();else return this._values()},_setOption:function(c,m){var x,T=0;switch(c==="range"&&this.options.range===!0&&(m==="min"?(this.options.value=this._values(0),this.options.values=null):m==="max"&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(T=this.options.values.length),this._super(c,m),c){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(m),this.handles.css(m==="horizontal"?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),x=T-1;x>=0;x--)this._change(null,x);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1;break}},_setOptionDisabled:function(c){this._super(c),this._toggleClass(null,"ui-state-disabled",!!c)},_value:function(){var c=this.options.value;return c=this._trimAlignValue(c),c},_values:function(c){var m,x,T;if(arguments.length)return m=this.options.values[c],m=this._trimAlignValue(m),m;if(this._hasMultipleValues()){for(x=this.options.values.slice(),T=0;T<x.length;T+=1)x[T]=this._trimAlignValue(x[T]);return x}else return[]},_trimAlignValue:function(c){if(c<=this._valueMin())return this._valueMin();if(c>=this._valueMax())return this._valueMax();var m=this.options.step>0?this.options.step:1,x=(c-this._valueMin())%m,T=c-x;return Math.abs(x)*2>=m&&(T+=x>0?m:-m),parseFloat(T.toFixed(5))},_calculateNewMax:function(){var c=this.options.max,m=this._valueMin(),x=this.options.step,T=Math.round((c-m)/x)*x;c=T+m,c>this.options.max&&(c-=x),this.max=parseFloat(c.toFixed(this._precision()))},_precision:function(){var c=this._precisionOf(this.options.step);return this.options.min!==null&&(c=Math.max(c,this._precisionOf(this.options.min))),c},_precisionOf:function(c){var m=c.toString(),x=m.indexOf(".");return x===-1?0:m.length-x-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(c){c==="vertical"&&this.range.css({width:"",left:""}),c==="horizontal"&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var c,m,x,T,b,d=this.options.range,k=this.options,D=this,O=this._animateOff?!1:k.animate,Q={};this._hasMultipleValues()?this.handles.each(function(J){m=(D.values(J)-D._valueMin())/(D._valueMax()-D._valueMin())*100,Q[D.orientation==="horizontal"?"left":"bottom"]=m+"%",n(this).stop(1,1)[O?"animate":"css"](Q,k.animate),D.options.range===!0&&(D.orientation==="horizontal"?(J===0&&D.range.stop(1,1)[O?"animate":"css"]({left:m+"%"},k.animate),J===1&&D.range[O?"animate":"css"]({width:m-c+"%"},{queue:!1,duration:k.animate})):(J===0&&D.range.stop(1,1)[O?"animate":"css"]({bottom:m+"%"},k.animate),J===1&&D.range[O?"animate":"css"]({height:m-c+"%"},{queue:!1,duration:k.animate}))),c=m}):(x=this.value(),T=this._valueMin(),b=this._valueMax(),m=b!==T?(x-T)/(b-T)*100:0,Q[this.orientation==="horizontal"?"left":"bottom"]=m+"%",this.handle.stop(1,1)[O?"animate":"css"](Q,k.animate),d==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[O?"animate":"css"]({width:m+"%"},k.animate),d==="max"&&this.orientation==="horizontal"&&this.range.stop(1,1)[O?"animate":"css"]({width:100-m+"%"},k.animate),d==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[O?"animate":"css"]({height:m+"%"},k.animate),d==="max"&&this.orientation==="vertical"&&this.range.stop(1,1)[O?"animate":"css"]({height:100-m+"%"},k.animate))},_handleEvents:{keydown:function(c){var m,x,T,b,d=n(c.target).data("ui-slider-handle-index");switch(c.keyCode){case n.ui.keyCode.HOME:case n.ui.keyCode.END:case n.ui.keyCode.PAGE_UP:case n.ui.keyCode.PAGE_DOWN:case n.ui.keyCode.UP:case n.ui.keyCode.RIGHT:case n.ui.keyCode.DOWN:case n.ui.keyCode.LEFT:if(c.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(n(c.target),null,"ui-state-active"),m=this._start(c,d),m===!1))return;break}switch(b=this.options.step,this._hasMultipleValues()?x=T=this.values(d):x=T=this.value(),c.keyCode){case n.ui.keyCode.HOME:T=this._valueMin();break;case n.ui.keyCode.END:T=this._valueMax();break;case n.ui.keyCode.PAGE_UP:T=this._trimAlignValue(x+(this._valueMax()-this._valueMin())/this.numPages);break;case n.ui.keyCode.PAGE_DOWN:T=this._trimAlignValue(x-(this._valueMax()-this._valueMin())/this.numPages);break;case n.ui.keyCode.UP:case n.ui.keyCode.RIGHT:if(x===this._valueMax())return;T=this._trimAlignValue(x+b);break;case n.ui.keyCode.DOWN:case n.ui.keyCode.LEFT:if(x===this._valueMin())return;T=this._trimAlignValue(x-b);break}this._slide(c,d,T)},keyup:function(c){var m=n(c.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(c,m),this._change(c,m),this._removeClass(n(c.target),null,"ui-state-active"))}}});/*!
  * jQuery UI Sortable 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.sortable",t.ui.mouse,{version:"1.14.0",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(c,p,x){return c>=p&&c<p+x},_isFloating:function(c){return/left|right/.test(c.css("float"))||/inline|table-cell/.test(c.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(c,p){this._super(c,p),c==="handle"&&this._setHandleClassName()},_setHandleClassName:function(){var c=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){c._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var c=this.items.length-1;c>=0;c--)this.items[c].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(c,p){var x=null,S=!1,b=this;return this.reverting||this.options.disabled||this.options.type==="static"||(this._refreshItems(c),t(c.target).parents().each(function(){if(t.data(this,b.widgetName+"-item")===b)return x=t(this),!1}),t.data(c.target,b.widgetName+"-item")===b&&(x=t(c.target)),!x)||this.options.handle&&!p&&(t(this.options.handle,x).find("*").addBack().each(function(){this===c.target&&(S=!0)}),!S)?!1:(this.currentItem=x,this._removeCurrentsFromItems(),!0)},_mouseStart:function(c,p,x){var S,b,h=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=t(h.appendTo!=="parent"?h.appendTo:this.currentItem.parent()),this.helper=this._createHelper(c),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:c.pageX-this.offset.left,top:c.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),h.cursorAt&&this._adjustOffsetFromHelper(h.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),t.extend(this.offset,{parent:this._getParentOffset()}),h.containment&&this._setContainment(),h.cursor&&h.cursor!=="auto"&&(b=this.document.find("body"),this._storedStylesheet=t("<style>*{ cursor: "+h.cursor+" !important; }</style>").appendTo(b)),h.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",h.zIndex)),h.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",h.opacity)),this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",c,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!x)for(S=this.containers.length-1;S>=0;S--)this.containers[S]._trigger("activate",c,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!h.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,c),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(c),this.originalPageX=c.pageX,this.originalPageY=c.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(c),!0},_scroll:function(c){var p=this.options,x=!1;return this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-c.pageY<p.scrollSensitivity?this.scrollParent[0].scrollTop=x=this.scrollParent[0].scrollTop+p.scrollSpeed:c.pageY-this.overflowOffset.top<p.scrollSensitivity&&(this.scrollParent[0].scrollTop=x=this.scrollParent[0].scrollTop-p.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-c.pageX<p.scrollSensitivity?this.scrollParent[0].scrollLeft=x=this.scrollParent[0].scrollLeft+p.scrollSpeed:c.pageX-this.overflowOffset.left<p.scrollSensitivity&&(this.scrollParent[0].scrollLeft=x=this.scrollParent[0].scrollLeft-p.scrollSpeed)):(c.pageY-this.document.scrollTop()<p.scrollSensitivity?x=this.document.scrollTop(this.document.scrollTop()-p.scrollSpeed):this.window.height()-(c.pageY-this.document.scrollTop())<p.scrollSensitivity&&(x=this.document.scrollTop(this.document.scrollTop()+p.scrollSpeed)),c.pageX-this.document.scrollLeft()<p.scrollSensitivity?x=this.document.scrollLeft(this.document.scrollLeft()-p.scrollSpeed):this.window.width()-(c.pageX-this.document.scrollLeft())<p.scrollSensitivity&&(x=this.document.scrollLeft(this.document.scrollLeft()+p.scrollSpeed))),x},_mouseDrag:function(c){var p,x,S,b,h=this.options;for(this.position=this._generatePosition(c),this.positionAbs=this._convertPositionTo("absolute"),(!this.options.axis||this.options.axis!=="y")&&(this.helper[0].style.left=this.position.left+"px"),(!this.options.axis||this.options.axis!=="x")&&(this.helper[0].style.top=this.position.top+"px"),h.scroll&&this._scroll(c)!==!1&&(this._refreshItemPositions(!0),t.ui.ddmanager&&!h.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,c)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},p=this.items.length-1;p>=0;p--)if(x=this.items[p],S=x.item[0],b=this._intersectsWithPointer(x),!!b&&x.instance===this.currentContainer&&S!==this.currentItem[0]&&this.placeholder[b===1?"next":"prev"]()[0]!==S&&!t.contains(this.placeholder[0],S)&&(this.options.type!=="semi-dynamic"||!t.contains(this.element[0],S))){if(this.direction=b===1?"down":"up",this.options.tolerance==="pointer"||this._intersectsWithSides(x))this._rearrange(c,x);else break;this._trigger("change",c,this._uiHash());break}return this._contactContainers(c),t.ui.ddmanager&&t.ui.ddmanager.drag(this,c),this._trigger("sort",c,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(c,p){if(c){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,c),this.options.revert){var x=this,S=this.placeholder.offset(),b=this.options.axis,h={};(!b||b==="x")&&(h.left=S.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),(!b||b==="y")&&(h.top=S.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(h,parseInt(this.options.revert,10)||500,function(){x._clear(c)})}else this._clear(c,p);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),this.options.helper==="original"?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("deactivate",null,this._uiHash(this)),this.containers[c].containerCache.over&&(this.containers[c]._trigger("out",null,this._uiHash(this)),this.containers[c].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(c){var p=this._getItemsAsjQuery(c&&c.connected),x=[];return c=c||{},t(p).each(function(){var S=(t(c.item||this).attr(c.attribute||"id")||"").match(c.expression||/(.+)[\-=_](.+)/);S&&x.push((c.key||S[1]+"[]")+"="+(c.key&&c.expression?S[1]:S[2]))}),!x.length&&c.key&&x.push(c.key+"="),x.join("&")},toArray:function(c){var p=this._getItemsAsjQuery(c&&c.connected),x=[];return c=c||{},p.each(function(){x.push(t(c.item||this).attr(c.attribute||"id")||"")}),x},_intersectsWith:function(c){var p=this.positionAbs.left,x=p+this.helperProportions.width,S=this.positionAbs.top,b=S+this.helperProportions.height,h=c.left,T=h+c.width,M=c.top,j=M+c.height,V=this.offset.click.top,ee=this.offset.click.left,Z=this.options.axis==="x"||S+V>M&&S+V<j,U=this.options.axis==="y"||p+ee>h&&p+ee<T,z=Z&&U;return this.options.tolerance==="pointer"||this.options.forcePointerForContainers||this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>c[this.floating?"width":"height"]?z:h<p+this.helperProportions.width/2&&x-this.helperProportions.width/2<T&&M<S+this.helperProportions.height/2&&b-this.helperProportions.height/2<j},_intersectsWithPointer:function(c){var p,x,S=this.options.axis==="x"||this._isOverAxis(this.positionAbs.top+this.offset.click.top,c.top,c.height),b=this.options.axis==="y"||this._isOverAxis(this.positionAbs.left+this.offset.click.left,c.left,c.width),h=S&&b;return h?(p=this.dragDirection.vertical,x=this.dragDirection.horizontal,this.floating?x==="right"||p==="down"?2:1:p&&(p==="down"?2:1)):!1},_intersectsWithSides:function(c){var p=this._isOverAxis(this.positionAbs.top+this.offset.click.top,c.top+c.height/2,c.height),x=this._isOverAxis(this.positionAbs.left+this.offset.click.left,c.left+c.width/2,c.width),S=this.dragDirection.vertical,b=this.dragDirection.horizontal;return this.floating&&b?b==="right"&&x||b==="left"&&!x:S&&(S==="down"&&p||S==="up"&&!p)},_getDragVerticalDirection:function(){var c=this.positionAbs.top-this.lastPositionAbs.top;return c!==0&&(c>0?"down":"up")},_getDragHorizontalDirection:function(){var c=this.positionAbs.left-this.lastPositionAbs.left;return c!==0&&(c>0?"right":"left")},refresh:function(c){return this._refreshItems(c),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var c=this.options;return c.connectWith.constructor===String?[c.connectWith]:c.connectWith},_getItemsAsjQuery:function(c){var p,x,S,b,h=[],T=[],M=this._connectWith();if(M&&c)for(p=M.length-1;p>=0;p--)for(S=t(M[p],this.document[0]),x=S.length-1;x>=0;x--)b=t.data(S[x],this.widgetFullName),b&&b!==this&&!b.options.disabled&&T.push([typeof b.options.items=="function"?b.options.items.call(b.element):t(b.options.items,b.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),b]);T.push([typeof this.options.items=="function"?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);function j(){h.push(this)}for(p=T.length-1;p>=0;p--)T[p][0].each(j);return t(h)},_removeCurrentsFromItems:function(){var c=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(p){for(var x=0;x<c.length;x++)if(c[x]===p.item[0])return!1;return!0})},_refreshItems:function(c){this.items=[],this.containers=[this];var p,x,S,b,h,T,M,j,V=this.items,ee=[[typeof this.options.items=="function"?this.options.items.call(this.element[0],c,{item:this.currentItem}):t(this.options.items,this.element),this]],Z=this._connectWith();if(Z&&this.ready)for(p=Z.length-1;p>=0;p--)for(S=t(Z[p],this.document[0]),x=S.length-1;x>=0;x--)b=t.data(S[x],this.widgetFullName),b&&b!==this&&!b.options.disabled&&(ee.push([typeof b.options.items=="function"?b.options.items.call(b.element[0],c,{item:this.currentItem}):t(b.options.items,b.element),b]),this.containers.push(b));for(p=ee.length-1;p>=0;p--)for(h=ee[p][1],T=ee[p][0],x=0,j=T.length;x<j;x++)M=t(T[x]),M.data(this.widgetName+"-item",h),V.push({item:M,instance:h,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(c){var p,x,S,b;for(p=this.items.length-1;p>=0;p--)x=this.items[p],!(this.currentContainer&&x.instance!==this.currentContainer&&x.item[0]!==this.currentItem[0])&&(S=this.options.toleranceElement?t(this.options.toleranceElement,x.item):x.item,c||(x.width=S.outerWidth(),x.height=S.outerHeight()),b=S.offset(),x.left=b.left,x.top=b.top)},refreshPositions:function(c){this.floating=this.items.length?this.options.axis==="x"||this._isFloating(this.items[0].item):!1,this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(c);var p,x;if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(p=this.containers.length-1;p>=0;p--)x=this.containers[p].element.offset(),this.containers[p].containerCache.left=x.left,this.containers[p].containerCache.top=x.top,this.containers[p].containerCache.width=this.containers[p].element.outerWidth(),this.containers[p].containerCache.height=this.containers[p].element.outerHeight();return this},_createPlaceholder:function(c){c=c||this;var p,x,S=c.options;(!S.placeholder||S.placeholder.constructor===String)&&(p=S.placeholder,x=c.currentItem[0].nodeName.toLowerCase(),S.placeholder={element:function(){var b=t("<"+x+">",c.document[0]);return c._addClass(b,"ui-sortable-placeholder",p||c.currentItem[0].className)._removeClass(b,"ui-sortable-helper"),x==="tbody"?c._createTrPlaceholder(c.currentItem.find("tr").eq(0),t("<tr>",c.document[0]).appendTo(b)):x==="tr"?c._createTrPlaceholder(c.currentItem,b):x==="img"&&b.attr("src",c.currentItem.attr("src")),p||b.css("visibility","hidden"),b},update:function(b,h){p&&!S.forcePlaceholderSize||((!h.height()||S.forcePlaceholderSize&&(x==="tbody"||x==="tr"))&&h.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css("paddingTop")||0,10)-parseInt(c.currentItem.css("paddingBottom")||0,10)),h.width()||h.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css("paddingLeft")||0,10)-parseInt(c.currentItem.css("paddingRight")||0,10)))}}),c.placeholder=t(S.placeholder.element.call(c.element,c.currentItem)),c.currentItem.after(c.placeholder),S.placeholder.update(c,c.placeholder)},_createTrPlaceholder:function(c,p){var x=this;c.children().each(function(){t("<td>&#160;</td>",x.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(p)})},_contactContainers:function(c){var p,x,S,b,h,T,M,j,V,ee,Z=null,U=null;for(p=this.containers.length-1;p>=0;p--)if(!t.contains(this.currentItem[0],this.containers[p].element[0]))if(this._intersectsWith(this.containers[p].containerCache)){if(Z&&t.contains(this.containers[p].element[0],Z.element[0]))continue;Z=this.containers[p],U=p}else this.containers[p].containerCache.over&&(this.containers[p]._trigger("out",c,this._uiHash(this)),this.containers[p].containerCache.over=0);if(Z)if(this.containers.length===1)this.containers[U].containerCache.over||(this.containers[U]._trigger("over",c,this._uiHash(this)),this.containers[U].containerCache.over=1);else{for(S=1e4,b=null,V=Z.floating||this._isFloating(this.currentItem),h=V?"left":"top",T=V?"width":"height",ee=V?"pageX":"pageY",x=this.items.length-1;x>=0;x--)t.contains(this.containers[U].element[0],this.items[x].item[0])&&this.items[x].item[0]!==this.currentItem[0]&&(M=this.items[x].item.offset()[h],j=!1,c[ee]-M>this.items[x][T]/2&&(j=!0),Math.abs(c[ee]-M)<S&&(S=Math.abs(c[ee]-M),b=this.items[x],this.direction=j?"up":"down"));if(!b&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[U]){this.currentContainer.containerCache.over||(this.containers[U]._trigger("over",c,this._uiHash()),this.currentContainer.containerCache.over=1);return}b?this._rearrange(c,b,null,!0):this._rearrange(c,null,this.containers[U].element,!0),this._trigger("change",c,this._uiHash()),this.containers[U]._trigger("change",c,this._uiHash(this)),this.currentContainer=this.containers[U],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this.containers[U]._trigger("over",c,this._uiHash(this)),this.containers[U].containerCache.over=1}},_createHelper:function(c){var p=this.options,x=typeof p.helper=="function"?t(p.helper.apply(this.element[0],[c,this.currentItem])):p.helper==="clone"?this.currentItem.clone():this.currentItem;return x.parents("body").length||this.appendTo[0].appendChild(x[0]),x[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!x[0].style.width||p.forceHelperSize)&&x.width(this.currentItem.width()),(!x[0].style.height||p.forceHelperSize)&&x.height(this.currentItem.height()),x},_adjustOffsetFromHelper:function(c){typeof c=="string"&&(c=c.split(" ")),Array.isArray(c)&&(c={left:+c[0],top:+c[1]||0}),"left"in c&&(this.offset.click.left=c.left+this.margins.left),"right"in c&&(this.offset.click.left=this.helperProportions.width-c.right+this.margins.left),"top"in c&&(this.offset.click.top=c.top+this.margins.top),"bottom"in c&&(this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var c=this.offsetParent.offset();return this.cssPosition==="absolute"&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(c.left+=this.scrollParent.scrollLeft(),c.top+=this.scrollParent.scrollTop()),this.offsetParent[0]===this.document[0].body&&(c={top:0,left:0}),{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var c=this.currentItem.position();return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:c.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var c,p,x,S=this.options;S.containment==="parent"&&(S.containment=this.helper[0].parentNode),(S.containment==="document"||S.containment==="window")&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,S.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(S.containment==="document"?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(S.containment)||(c=t(S.containment)[0],p=t(S.containment).offset(),x=t(c).css("overflow")!=="hidden",this.containment=[p.left+(parseInt(t(c).css("borderLeftWidth"),10)||0)+(parseInt(t(c).css("paddingLeft"),10)||0)-this.margins.left,p.top+(parseInt(t(c).css("borderTopWidth"),10)||0)+(parseInt(t(c).css("paddingTop"),10)||0)-this.margins.top,p.left+(x?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(t(c).css("borderLeftWidth"),10)||0)-(parseInt(t(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,p.top+(x?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(t(c).css("borderTopWidth"),10)||0)-(parseInt(t(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(c,p){p||(p=this.position);var x=c==="absolute"?1:-1,S=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,b=/(html|body)/i.test(S[0].tagName);return{top:p.top+this.offset.relative.top*x+this.offset.parent.top*x-(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():b?0:S.scrollTop())*x,left:p.left+this.offset.relative.left*x+this.offset.parent.left*x-(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():b?0:S.scrollLeft())*x}},_generatePosition:function(c){var p,x,S=this.options,b=c.pageX,h=c.pageY,T=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,M=/(html|body)/i.test(T[0].tagName);return this.cssPosition==="relative"&&!(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(c.pageX-this.offset.click.left<this.containment[0]&&(b=this.containment[0]+this.offset.click.left),c.pageY-this.offset.click.top<this.containment[1]&&(h=this.containment[1]+this.offset.click.top),c.pageX-this.offset.click.left>this.containment[2]&&(b=this.containment[2]+this.offset.click.left),c.pageY-this.offset.click.top>this.containment[3]&&(h=this.containment[3]+this.offset.click.top)),S.grid&&(p=this.originalPageY+Math.round((h-this.originalPageY)/S.grid[1])*S.grid[1],h=this.containment?p-this.offset.click.top>=this.containment[1]&&p-this.offset.click.top<=this.containment[3]?p:p-this.offset.click.top>=this.containment[1]?p-S.grid[1]:p+S.grid[1]:p,x=this.originalPageX+Math.round((b-this.originalPageX)/S.grid[0])*S.grid[0],b=this.containment?x-this.offset.click.left>=this.containment[0]&&x-this.offset.click.left<=this.containment[2]?x:x-this.offset.click.left>=this.containment[0]?x-S.grid[0]:x+S.grid[0]:x)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():M?0:T.scrollTop()),left:b-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():M?0:T.scrollLeft())}},_rearrange:function(c,p,x,S){x?x[0].appendChild(this.placeholder[0]):p.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==="down"?p.item[0]:p.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var b=this.counter;this._delay(function(){b===this.counter&&this.refreshPositions(!S)})},_clear:function(c,p){this.reverting=!1;var x,S=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(x in this._storedCSS)(this._storedCSS[x]==="auto"||this._storedCSS[x]==="static")&&(this._storedCSS[x]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!p&&S.push(function(h){this._trigger("receive",h,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!p&&S.push(function(h){this._trigger("update",h,this._uiHash())}),this!==this.currentContainer&&(p||(S.push(function(h){this._trigger("remove",h,this._uiHash())}),S.push((function(h){return function(T){h._trigger("receive",T,this._uiHash(this))}}).call(this,this.currentContainer)),S.push((function(h){return function(T){h._trigger("update",T,this._uiHash(this))}}).call(this,this.currentContainer))));function b(h,T,M){return function(j){M._trigger(h,j,T._uiHash(T))}}for(x=this.containers.length-1;x>=0;x--)p||S.push(b("deactivate",this,this.containers[x])),this.containers[x].containerCache.over&&(S.push(b("out",this,this.containers[x])),this.containers[x].containerCache.over=0);if(this._storedStylesheet&&(this._storedStylesheet.remove(),this._storedStylesheet=null),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex),this.dragging=!1,p||this._trigger("beforeStop",c,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!p){for(x=0;x<S.length;x++)S[x].call(this,c);this._trigger("stop",c,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(c){var p=c||this;return{helper:p.helper,placeholder:p.placeholder||t([]),position:p.position,originalPosition:p.originalPosition,offset:p.positionAbs,item:p.currentItem,sender:c?c.element:null}}});/*!
+ */n.widget("ui.sortable",n.ui.mouse,{version:"1.14.0",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(c,m,x){return c>=m&&c<m+x},_isFloating:function(c){return/left|right/.test(c.css("float"))||/inline|table-cell/.test(c.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(c,m){this._super(c,m),c==="handle"&&this._setHandleClassName()},_setHandleClassName:function(){var c=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),n.each(this.items,function(){c._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var c=this.items.length-1;c>=0;c--)this.items[c].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(c,m){var x=null,T=!1,b=this;return this.reverting||this.options.disabled||this.options.type==="static"||(this._refreshItems(c),n(c.target).parents().each(function(){if(n.data(this,b.widgetName+"-item")===b)return x=n(this),!1}),n.data(c.target,b.widgetName+"-item")===b&&(x=n(c.target)),!x)||this.options.handle&&!m&&(n(this.options.handle,x).find("*").addBack().each(function(){this===c.target&&(T=!0)}),!T)?!1:(this.currentItem=x,this._removeCurrentsFromItems(),!0)},_mouseStart:function(c,m,x){var T,b,d=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=n(d.appendTo!=="parent"?d.appendTo:this.currentItem.parent()),this.helper=this._createHelper(c),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},n.extend(this.offset,{click:{left:c.pageX-this.offset.left,top:c.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),n.extend(this.offset,{parent:this._getParentOffset()}),d.containment&&this._setContainment(),d.cursor&&d.cursor!=="auto"&&(b=this.document.find("body"),this._storedStylesheet=n("<style>*{ cursor: "+d.cursor+" !important; }</style>").appendTo(b)),d.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",d.zIndex)),d.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",d.opacity)),this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",c,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!x)for(T=this.containers.length-1;T>=0;T--)this.containers[T]._trigger("activate",c,this._uiHash(this));return n.ui.ddmanager&&(n.ui.ddmanager.current=this),n.ui.ddmanager&&!d.dropBehaviour&&n.ui.ddmanager.prepareOffsets(this,c),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(c),this.originalPageX=c.pageX,this.originalPageY=c.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(c),!0},_scroll:function(c){var m=this.options,x=!1;return this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-c.pageY<m.scrollSensitivity?this.scrollParent[0].scrollTop=x=this.scrollParent[0].scrollTop+m.scrollSpeed:c.pageY-this.overflowOffset.top<m.scrollSensitivity&&(this.scrollParent[0].scrollTop=x=this.scrollParent[0].scrollTop-m.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-c.pageX<m.scrollSensitivity?this.scrollParent[0].scrollLeft=x=this.scrollParent[0].scrollLeft+m.scrollSpeed:c.pageX-this.overflowOffset.left<m.scrollSensitivity&&(this.scrollParent[0].scrollLeft=x=this.scrollParent[0].scrollLeft-m.scrollSpeed)):(c.pageY-this.document.scrollTop()<m.scrollSensitivity?x=this.document.scrollTop(this.document.scrollTop()-m.scrollSpeed):this.window.height()-(c.pageY-this.document.scrollTop())<m.scrollSensitivity&&(x=this.document.scrollTop(this.document.scrollTop()+m.scrollSpeed)),c.pageX-this.document.scrollLeft()<m.scrollSensitivity?x=this.document.scrollLeft(this.document.scrollLeft()-m.scrollSpeed):this.window.width()-(c.pageX-this.document.scrollLeft())<m.scrollSensitivity&&(x=this.document.scrollLeft(this.document.scrollLeft()+m.scrollSpeed))),x},_mouseDrag:function(c){var m,x,T,b,d=this.options;for(this.position=this._generatePosition(c),this.positionAbs=this._convertPositionTo("absolute"),(!this.options.axis||this.options.axis!=="y")&&(this.helper[0].style.left=this.position.left+"px"),(!this.options.axis||this.options.axis!=="x")&&(this.helper[0].style.top=this.position.top+"px"),d.scroll&&this._scroll(c)!==!1&&(this._refreshItemPositions(!0),n.ui.ddmanager&&!d.dropBehaviour&&n.ui.ddmanager.prepareOffsets(this,c)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},m=this.items.length-1;m>=0;m--)if(x=this.items[m],T=x.item[0],b=this._intersectsWithPointer(x),!!b&&x.instance===this.currentContainer&&T!==this.currentItem[0]&&this.placeholder[b===1?"next":"prev"]()[0]!==T&&!n.contains(this.placeholder[0],T)&&(this.options.type!=="semi-dynamic"||!n.contains(this.element[0],T))){if(this.direction=b===1?"down":"up",this.options.tolerance==="pointer"||this._intersectsWithSides(x))this._rearrange(c,x);else break;this._trigger("change",c,this._uiHash());break}return this._contactContainers(c),n.ui.ddmanager&&n.ui.ddmanager.drag(this,c),this._trigger("sort",c,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(c,m){if(c){if(n.ui.ddmanager&&!this.options.dropBehaviour&&n.ui.ddmanager.drop(this,c),this.options.revert){var x=this,T=this.placeholder.offset(),b=this.options.axis,d={};(!b||b==="x")&&(d.left=T.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),(!b||b==="y")&&(d.top=T.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,n(this.helper).animate(d,parseInt(this.options.revert,10)||500,function(){x._clear(c)})}else this._clear(c,m);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new n.Event("mouseup",{target:null})),this.options.helper==="original"?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("deactivate",null,this._uiHash(this)),this.containers[c].containerCache.over&&(this.containers[c]._trigger("out",null,this._uiHash(this)),this.containers[c].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),n.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?n(this.domPosition.prev).after(this.currentItem):n(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(c){var m=this._getItemsAsjQuery(c&&c.connected),x=[];return c=c||{},n(m).each(function(){var T=(n(c.item||this).attr(c.attribute||"id")||"").match(c.expression||/(.+)[\-=_](.+)/);T&&x.push((c.key||T[1]+"[]")+"="+(c.key&&c.expression?T[1]:T[2]))}),!x.length&&c.key&&x.push(c.key+"="),x.join("&")},toArray:function(c){var m=this._getItemsAsjQuery(c&&c.connected),x=[];return c=c||{},m.each(function(){x.push(n(c.item||this).attr(c.attribute||"id")||"")}),x},_intersectsWith:function(c){var m=this.positionAbs.left,x=m+this.helperProportions.width,T=this.positionAbs.top,b=T+this.helperProportions.height,d=c.left,k=d+c.width,D=c.top,O=D+c.height,Q=this.offset.click.top,J=this.offset.click.left,X=this.options.axis==="x"||T+Q>D&&T+Q<O,U=this.options.axis==="y"||m+J>d&&m+J<k,z=X&&U;return this.options.tolerance==="pointer"||this.options.forcePointerForContainers||this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>c[this.floating?"width":"height"]?z:d<m+this.helperProportions.width/2&&x-this.helperProportions.width/2<k&&D<T+this.helperProportions.height/2&&b-this.helperProportions.height/2<O},_intersectsWithPointer:function(c){var m,x,T=this.options.axis==="x"||this._isOverAxis(this.positionAbs.top+this.offset.click.top,c.top,c.height),b=this.options.axis==="y"||this._isOverAxis(this.positionAbs.left+this.offset.click.left,c.left,c.width),d=T&&b;return d?(m=this.dragDirection.vertical,x=this.dragDirection.horizontal,this.floating?x==="right"||m==="down"?2:1:m&&(m==="down"?2:1)):!1},_intersectsWithSides:function(c){var m=this._isOverAxis(this.positionAbs.top+this.offset.click.top,c.top+c.height/2,c.height),x=this._isOverAxis(this.positionAbs.left+this.offset.click.left,c.left+c.width/2,c.width),T=this.dragDirection.vertical,b=this.dragDirection.horizontal;return this.floating&&b?b==="right"&&x||b==="left"&&!x:T&&(T==="down"&&m||T==="up"&&!m)},_getDragVerticalDirection:function(){var c=this.positionAbs.top-this.lastPositionAbs.top;return c!==0&&(c>0?"down":"up")},_getDragHorizontalDirection:function(){var c=this.positionAbs.left-this.lastPositionAbs.left;return c!==0&&(c>0?"right":"left")},refresh:function(c){return this._refreshItems(c),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var c=this.options;return c.connectWith.constructor===String?[c.connectWith]:c.connectWith},_getItemsAsjQuery:function(c){var m,x,T,b,d=[],k=[],D=this._connectWith();if(D&&c)for(m=D.length-1;m>=0;m--)for(T=n(D[m],this.document[0]),x=T.length-1;x>=0;x--)b=n.data(T[x],this.widgetFullName),b&&b!==this&&!b.options.disabled&&k.push([typeof b.options.items=="function"?b.options.items.call(b.element):n(b.options.items,b.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),b]);k.push([typeof this.options.items=="function"?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):n(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);function O(){d.push(this)}for(m=k.length-1;m>=0;m--)k[m][0].each(O);return n(d)},_removeCurrentsFromItems:function(){var c=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=n.grep(this.items,function(m){for(var x=0;x<c.length;x++)if(c[x]===m.item[0])return!1;return!0})},_refreshItems:function(c){this.items=[],this.containers=[this];var m,x,T,b,d,k,D,O,Q=this.items,J=[[typeof this.options.items=="function"?this.options.items.call(this.element[0],c,{item:this.currentItem}):n(this.options.items,this.element),this]],X=this._connectWith();if(X&&this.ready)for(m=X.length-1;m>=0;m--)for(T=n(X[m],this.document[0]),x=T.length-1;x>=0;x--)b=n.data(T[x],this.widgetFullName),b&&b!==this&&!b.options.disabled&&(J.push([typeof b.options.items=="function"?b.options.items.call(b.element[0],c,{item:this.currentItem}):n(b.options.items,b.element),b]),this.containers.push(b));for(m=J.length-1;m>=0;m--)for(d=J[m][1],k=J[m][0],x=0,O=k.length;x<O;x++)D=n(k[x]),D.data(this.widgetName+"-item",d),Q.push({item:D,instance:d,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(c){var m,x,T,b;for(m=this.items.length-1;m>=0;m--)x=this.items[m],!(this.currentContainer&&x.instance!==this.currentContainer&&x.item[0]!==this.currentItem[0])&&(T=this.options.toleranceElement?n(this.options.toleranceElement,x.item):x.item,c||(x.width=T.outerWidth(),x.height=T.outerHeight()),b=T.offset(),x.left=b.left,x.top=b.top)},refreshPositions:function(c){this.floating=this.items.length?this.options.axis==="x"||this._isFloating(this.items[0].item):!1,this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(c);var m,x;if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(m=this.containers.length-1;m>=0;m--)x=this.containers[m].element.offset(),this.containers[m].containerCache.left=x.left,this.containers[m].containerCache.top=x.top,this.containers[m].containerCache.width=this.containers[m].element.outerWidth(),this.containers[m].containerCache.height=this.containers[m].element.outerHeight();return this},_createPlaceholder:function(c){c=c||this;var m,x,T=c.options;(!T.placeholder||T.placeholder.constructor===String)&&(m=T.placeholder,x=c.currentItem[0].nodeName.toLowerCase(),T.placeholder={element:function(){var b=n("<"+x+">",c.document[0]);return c._addClass(b,"ui-sortable-placeholder",m||c.currentItem[0].className)._removeClass(b,"ui-sortable-helper"),x==="tbody"?c._createTrPlaceholder(c.currentItem.find("tr").eq(0),n("<tr>",c.document[0]).appendTo(b)):x==="tr"?c._createTrPlaceholder(c.currentItem,b):x==="img"&&b.attr("src",c.currentItem.attr("src")),m||b.css("visibility","hidden"),b},update:function(b,d){m&&!T.forcePlaceholderSize||((!d.height()||T.forcePlaceholderSize&&(x==="tbody"||x==="tr"))&&d.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css("paddingTop")||0,10)-parseInt(c.currentItem.css("paddingBottom")||0,10)),d.width()||d.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css("paddingLeft")||0,10)-parseInt(c.currentItem.css("paddingRight")||0,10)))}}),c.placeholder=n(T.placeholder.element.call(c.element,c.currentItem)),c.currentItem.after(c.placeholder),T.placeholder.update(c,c.placeholder)},_createTrPlaceholder:function(c,m){var x=this;c.children().each(function(){n("<td>&#160;</td>",x.document[0]).attr("colspan",n(this).attr("colspan")||1).appendTo(m)})},_contactContainers:function(c){var m,x,T,b,d,k,D,O,Q,J,X=null,U=null;for(m=this.containers.length-1;m>=0;m--)if(!n.contains(this.currentItem[0],this.containers[m].element[0]))if(this._intersectsWith(this.containers[m].containerCache)){if(X&&n.contains(this.containers[m].element[0],X.element[0]))continue;X=this.containers[m],U=m}else this.containers[m].containerCache.over&&(this.containers[m]._trigger("out",c,this._uiHash(this)),this.containers[m].containerCache.over=0);if(X)if(this.containers.length===1)this.containers[U].containerCache.over||(this.containers[U]._trigger("over",c,this._uiHash(this)),this.containers[U].containerCache.over=1);else{for(T=1e4,b=null,Q=X.floating||this._isFloating(this.currentItem),d=Q?"left":"top",k=Q?"width":"height",J=Q?"pageX":"pageY",x=this.items.length-1;x>=0;x--)n.contains(this.containers[U].element[0],this.items[x].item[0])&&this.items[x].item[0]!==this.currentItem[0]&&(D=this.items[x].item.offset()[d],O=!1,c[J]-D>this.items[x][k]/2&&(O=!0),Math.abs(c[J]-D)<T&&(T=Math.abs(c[J]-D),b=this.items[x],this.direction=O?"up":"down"));if(!b&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[U]){this.currentContainer.containerCache.over||(this.containers[U]._trigger("over",c,this._uiHash()),this.currentContainer.containerCache.over=1);return}b?this._rearrange(c,b,null,!0):this._rearrange(c,null,this.containers[U].element,!0),this._trigger("change",c,this._uiHash()),this.containers[U]._trigger("change",c,this._uiHash(this)),this.currentContainer=this.containers[U],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this.containers[U]._trigger("over",c,this._uiHash(this)),this.containers[U].containerCache.over=1}},_createHelper:function(c){var m=this.options,x=typeof m.helper=="function"?n(m.helper.apply(this.element[0],[c,this.currentItem])):m.helper==="clone"?this.currentItem.clone():this.currentItem;return x.parents("body").length||this.appendTo[0].appendChild(x[0]),x[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!x[0].style.width||m.forceHelperSize)&&x.width(this.currentItem.width()),(!x[0].style.height||m.forceHelperSize)&&x.height(this.currentItem.height()),x},_adjustOffsetFromHelper:function(c){typeof c=="string"&&(c=c.split(" ")),Array.isArray(c)&&(c={left:+c[0],top:+c[1]||0}),"left"in c&&(this.offset.click.left=c.left+this.margins.left),"right"in c&&(this.offset.click.left=this.helperProportions.width-c.right+this.margins.left),"top"in c&&(this.offset.click.top=c.top+this.margins.top),"bottom"in c&&(this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var c=this.offsetParent.offset();return this.cssPosition==="absolute"&&this.scrollParent[0]!==this.document[0]&&n.contains(this.scrollParent[0],this.offsetParent[0])&&(c.left+=this.scrollParent.scrollLeft(),c.top+=this.scrollParent.scrollTop()),this.offsetParent[0]===this.document[0].body&&(c={top:0,left:0}),{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var c=this.currentItem.position();return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:c.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var c,m,x,T=this.options;T.containment==="parent"&&(T.containment=this.helper[0].parentNode),(T.containment==="document"||T.containment==="window")&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,T.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(T.containment==="document"?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(T.containment)||(c=n(T.containment)[0],m=n(T.containment).offset(),x=n(c).css("overflow")!=="hidden",this.containment=[m.left+(parseInt(n(c).css("borderLeftWidth"),10)||0)+(parseInt(n(c).css("paddingLeft"),10)||0)-this.margins.left,m.top+(parseInt(n(c).css("borderTopWidth"),10)||0)+(parseInt(n(c).css("paddingTop"),10)||0)-this.margins.top,m.left+(x?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(n(c).css("borderLeftWidth"),10)||0)-(parseInt(n(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,m.top+(x?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(n(c).css("borderTopWidth"),10)||0)-(parseInt(n(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(c,m){m||(m=this.position);var x=c==="absolute"?1:-1,T=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&n.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,b=/(html|body)/i.test(T[0].tagName);return{top:m.top+this.offset.relative.top*x+this.offset.parent.top*x-(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():b?0:T.scrollTop())*x,left:m.left+this.offset.relative.left*x+this.offset.parent.left*x-(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():b?0:T.scrollLeft())*x}},_generatePosition:function(c){var m,x,T=this.options,b=c.pageX,d=c.pageY,k=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&n.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,D=/(html|body)/i.test(k[0].tagName);return this.cssPosition==="relative"&&!(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(c.pageX-this.offset.click.left<this.containment[0]&&(b=this.containment[0]+this.offset.click.left),c.pageY-this.offset.click.top<this.containment[1]&&(d=this.containment[1]+this.offset.click.top),c.pageX-this.offset.click.left>this.containment[2]&&(b=this.containment[2]+this.offset.click.left),c.pageY-this.offset.click.top>this.containment[3]&&(d=this.containment[3]+this.offset.click.top)),T.grid&&(m=this.originalPageY+Math.round((d-this.originalPageY)/T.grid[1])*T.grid[1],d=this.containment?m-this.offset.click.top>=this.containment[1]&&m-this.offset.click.top<=this.containment[3]?m:m-this.offset.click.top>=this.containment[1]?m-T.grid[1]:m+T.grid[1]:m,x=this.originalPageX+Math.round((b-this.originalPageX)/T.grid[0])*T.grid[0],b=this.containment?x-this.offset.click.left>=this.containment[0]&&x-this.offset.click.left<=this.containment[2]?x:x-this.offset.click.left>=this.containment[0]?x-T.grid[0]:x+T.grid[0]:x)),{top:d-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():D?0:k.scrollTop()),left:b-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():D?0:k.scrollLeft())}},_rearrange:function(c,m,x,T){x?x[0].appendChild(this.placeholder[0]):m.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==="down"?m.item[0]:m.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var b=this.counter;this._delay(function(){b===this.counter&&this.refreshPositions(!T)})},_clear:function(c,m){this.reverting=!1;var x,T=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(x in this._storedCSS)(this._storedCSS[x]==="auto"||this._storedCSS[x]==="static")&&(this._storedCSS[x]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!m&&T.push(function(d){this._trigger("receive",d,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!m&&T.push(function(d){this._trigger("update",d,this._uiHash())}),this!==this.currentContainer&&(m||(T.push(function(d){this._trigger("remove",d,this._uiHash())}),T.push((function(d){return function(k){d._trigger("receive",k,this._uiHash(this))}}).call(this,this.currentContainer)),T.push((function(d){return function(k){d._trigger("update",k,this._uiHash(this))}}).call(this,this.currentContainer))));function b(d,k,D){return function(O){D._trigger(d,O,k._uiHash(k))}}for(x=this.containers.length-1;x>=0;x--)m||T.push(b("deactivate",this,this.containers[x])),this.containers[x].containerCache.over&&(T.push(b("out",this,this.containers[x])),this.containers[x].containerCache.over=0);if(this._storedStylesheet&&(this._storedStylesheet.remove(),this._storedStylesheet=null),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex),this.dragging=!1,m||this._trigger("beforeStop",c,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!m){for(x=0;x<T.length;x++)T[x].call(this,c);this._trigger("stop",c,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){n.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(c){var m=c||this;return{helper:m.helper,placeholder:m.placeholder||n([]),position:m.position,originalPosition:m.originalPosition,offset:m.positionAbs,item:m.currentItem,sender:c?c.element:null}}});/*!
  * jQuery UI Spinner 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */function w(c){return function(){var p=this.element.val();c.apply(this,arguments),this._refresh(),p!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.14.0",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this.value()!==""&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var c=this._super(),p=this.element;return t.each(["min","max","step"],function(x,S){var b=p.attr(S);b!=null&&b.length&&(c[S]=b)}),c},_events:{keydown:function(c){this._start(c)&&this._keydown(c)&&c.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(c){this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",c)},mousewheel:function(c,p){var x=this.document[0].activeElement,S=this.element[0]===x;if(!(!S||!p)){if(!this.spinning&&!this._start(c))return!1;this._spin((p>0?1:-1)*this.options.step,c),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(c)},100),c.preventDefault()}},"mousedown .ui-spinner-button":function(c){var p;p=this.element[0]===this.document[0].activeElement?this.previous:this.element.val();function x(){var S=this.element[0]===this.document[0].activeElement;S||(this.element.trigger("focus"),this.previous=p)}c.preventDefault(),x.call(this),this._start(c)!==!1&&this._repeat(null,t(c.currentTarget).hasClass("ui-spinner-up")?1:-1,c)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(c){if(t(c.currentTarget).hasClass("ui-state-active")){if(this._start(c)===!1)return!1;this._repeat(null,t(c.currentTarget).hasClass("ui-spinner-up")?1:-1,c)}},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(this.uiSpinner.height()*.5)&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(c){var p=this.options,x=t.ui.keyCode;switch(c.keyCode){case x.UP:return this._repeat(null,1,c),!0;case x.DOWN:return this._repeat(null,-1,c),!0;case x.PAGE_UP:return this._repeat(null,p.page,c),!0;case x.PAGE_DOWN:return this._repeat(null,-p.page,c),!0}return!1},_start:function(c){return!this.spinning&&this._trigger("start",c)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(c,p,x){c=c||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,p,x)},c),this._spin(p*this.options.step,x)},_spin:function(c,p){var x=this.value()||0;this.counter||(this.counter=1),x=this._adjustValue(x+c*this._increment(this.counter)),(!this.spinning||this._trigger("spin",p,{value:x})!==!1)&&(this._value(x),this.counter++)},_increment:function(c){var p=this.options.incremental;return p?typeof p=="function"?p(c):Math.floor(c*c*c/5e4-c*c/500+17*c/200+1):1},_precision:function(){var c=this._precisionOf(this.options.step);return this.options.min!==null&&(c=Math.max(c,this._precisionOf(this.options.min))),c},_precisionOf:function(c){var p=c.toString(),x=p.indexOf(".");return x===-1?0:p.length-x-1},_adjustValue:function(c){var p,x,S=this.options;return p=S.min!==null?S.min:0,x=c-p,x=Math.round(x/S.step)*S.step,c=p+x,c=parseFloat(c.toFixed(this._precision())),S.max!==null&&c>S.max?S.max:S.min!==null&&c<S.min?S.min:c},_stop:function(c){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",c))},_setOption:function(c,p){var x,S,b;if(c==="culture"||c==="numberFormat"){x=this._parse(this.element.val()),this.options[c]=p,this.element.val(this._format(x));return}(c==="max"||c==="min"||c==="step")&&typeof p=="string"&&(p=this._parse(p)),c==="icons"&&(S=this.buttons.first().find(".ui-icon"),this._removeClass(S,null,this.options.icons.up),this._addClass(S,null,p.up),b=this.buttons.last().find(".ui-icon"),this._removeClass(b,null,this.options.icons.down),this._addClass(b,null,p.down)),this._super(c,p)},_setOptionDisabled:function(c){this._super(c),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!c),this.element.prop("disabled",!!c),this.buttons.button(c?"disable":"enable")},_setOptions:w(function(c){this._super(c)}),_parse:function(c){return typeof c=="string"&&c!==""&&(c=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(c,10,this.options.culture):+c),c===""||isNaN(c)?null:c},_format:function(c){return c===""?"":window.Globalize&&this.options.numberFormat?Globalize.format(c,this.options.numberFormat,this.options.culture):c},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var c=this.value();return c===null?!1:c===this._adjustValue(c)},_value:function(c,p){var x;c!==""&&(x=this._parse(c),x!==null&&(p||(x=this._adjustValue(x)),c=this._format(x))),this.element.val(c),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:w(function(c){this._stepUp(c)}),_stepUp:function(c){this._start()&&(this._spin((c||1)*this.options.step),this._stop())},stepDown:w(function(c){this._stepDown(c)}),_stepDown:function(c){this._start()&&(this._spin((c||1)*-this.options.step),this._stop())},pageUp:w(function(c){this._stepUp((c||1)*this.options.page)}),pageDown:w(function(c){this._stepDown((c||1)*this.options.page)}),value:function(c){if(!arguments.length)return this._parse(this.element.val());w(this._value).call(this,c)},widget:function(){return this.uiSpinner}}),t.uiBackCompat===!0&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),t.ui.spinner;/*!
+ */function S(c){return function(){var m=this.element.val();c.apply(this,arguments),this._refresh(),m!==this.element.val()&&this._trigger("change")}}n.widget("ui.spinner",{version:"1.14.0",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this.value()!==""&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var c=this._super(),m=this.element;return n.each(["min","max","step"],function(x,T){var b=m.attr(T);b!=null&&b.length&&(c[T]=b)}),c},_events:{keydown:function(c){this._start(c)&&this._keydown(c)&&c.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(c){this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",c)},mousewheel:function(c,m){var x=this.document[0].activeElement,T=this.element[0]===x;if(!(!T||!m)){if(!this.spinning&&!this._start(c))return!1;this._spin((m>0?1:-1)*this.options.step,c),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(c)},100),c.preventDefault()}},"mousedown .ui-spinner-button":function(c){var m;m=this.element[0]===this.document[0].activeElement?this.previous:this.element.val();function x(){var T=this.element[0]===this.document[0].activeElement;T||(this.element.trigger("focus"),this.previous=m)}c.preventDefault(),x.call(this),this._start(c)!==!1&&this._repeat(null,n(c.currentTarget).hasClass("ui-spinner-up")?1:-1,c)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(c){if(n(c.currentTarget).hasClass("ui-state-active")){if(this._start(c)===!1)return!1;this._repeat(null,n(c.currentTarget).hasClass("ui-spinner-up")?1:-1,c)}},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(this.uiSpinner.height()*.5)&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(c){var m=this.options,x=n.ui.keyCode;switch(c.keyCode){case x.UP:return this._repeat(null,1,c),!0;case x.DOWN:return this._repeat(null,-1,c),!0;case x.PAGE_UP:return this._repeat(null,m.page,c),!0;case x.PAGE_DOWN:return this._repeat(null,-m.page,c),!0}return!1},_start:function(c){return!this.spinning&&this._trigger("start",c)===!1?!1:(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(c,m,x){c=c||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,m,x)},c),this._spin(m*this.options.step,x)},_spin:function(c,m){var x=this.value()||0;this.counter||(this.counter=1),x=this._adjustValue(x+c*this._increment(this.counter)),(!this.spinning||this._trigger("spin",m,{value:x})!==!1)&&(this._value(x),this.counter++)},_increment:function(c){var m=this.options.incremental;return m?typeof m=="function"?m(c):Math.floor(c*c*c/5e4-c*c/500+17*c/200+1):1},_precision:function(){var c=this._precisionOf(this.options.step);return this.options.min!==null&&(c=Math.max(c,this._precisionOf(this.options.min))),c},_precisionOf:function(c){var m=c.toString(),x=m.indexOf(".");return x===-1?0:m.length-x-1},_adjustValue:function(c){var m,x,T=this.options;return m=T.min!==null?T.min:0,x=c-m,x=Math.round(x/T.step)*T.step,c=m+x,c=parseFloat(c.toFixed(this._precision())),T.max!==null&&c>T.max?T.max:T.min!==null&&c<T.min?T.min:c},_stop:function(c){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",c))},_setOption:function(c,m){var x,T,b;if(c==="culture"||c==="numberFormat"){x=this._parse(this.element.val()),this.options[c]=m,this.element.val(this._format(x));return}(c==="max"||c==="min"||c==="step")&&typeof m=="string"&&(m=this._parse(m)),c==="icons"&&(T=this.buttons.first().find(".ui-icon"),this._removeClass(T,null,this.options.icons.up),this._addClass(T,null,m.up),b=this.buttons.last().find(".ui-icon"),this._removeClass(b,null,this.options.icons.down),this._addClass(b,null,m.down)),this._super(c,m)},_setOptionDisabled:function(c){this._super(c),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!c),this.element.prop("disabled",!!c),this.buttons.button(c?"disable":"enable")},_setOptions:S(function(c){this._super(c)}),_parse:function(c){return typeof c=="string"&&c!==""&&(c=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(c,10,this.options.culture):+c),c===""||isNaN(c)?null:c},_format:function(c){return c===""?"":window.Globalize&&this.options.numberFormat?Globalize.format(c,this.options.numberFormat,this.options.culture):c},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var c=this.value();return c===null?!1:c===this._adjustValue(c)},_value:function(c,m){var x;c!==""&&(x=this._parse(c),x!==null&&(m||(x=this._adjustValue(x)),c=this._format(x))),this.element.val(c),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:S(function(c){this._stepUp(c)}),_stepUp:function(c){this._start()&&(this._spin((c||1)*this.options.step),this._stop())},stepDown:S(function(c){this._stepDown(c)}),_stepDown:function(c){this._start()&&(this._spin((c||1)*-this.options.step),this._stop())},pageUp:S(function(c){this._stepUp((c||1)*this.options.page)}),pageDown:S(function(c){this._stepDown((c||1)*this.options.page)}),value:function(c){if(!arguments.length)return this._parse(this.element.val());S(this._value).call(this,c)},widget:function(){return this.uiSpinner}}),n.uiBackCompat===!0&&n.widget("ui.spinner",n.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),n.ui.spinner;/*!
  * jQuery UI Tabs 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.tabs",{version:"1.14.0",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var c=/#.*$/;return function(p){var x,S;x=p.href.replace(c,""),S=location.href.replace(c,"");try{x=decodeURIComponent(x)}catch{}try{S=decodeURIComponent(S)}catch{}return p.hash.length>1&&x===S}}(),_create:function(){var c=this,p=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,p.collapsible),this._processTabs(),p.active=this._initialActive(),Array.isArray(p.disabled)&&(p.disabled=t.uniqueSort(p.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(x){return c.tabs.index(x)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(p.active):this.active=t(),this._refresh(),this.active.length&&this.load(p.active)},_initialActive:function(){var c=this.options.active,p=this.options.collapsible,x=location.hash.substring(1);return c===null&&(x&&this.tabs.each(function(S,b){if(t(b).attr("aria-controls")===x)return c=S,!1}),c===null&&(c=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(c===null||c===-1)&&(c=this.tabs.length?0:!1)),c!==!1&&(c=this.tabs.index(this.tabs.eq(c)),c===-1&&(c=p?!1:0)),!p&&c===!1&&this.anchors.length&&(c=0),c},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(c){var p=t(this.document[0].activeElement).closest("li"),x=this.tabs.index(p),S=!0;if(!this._handlePageNav(c)){switch(c.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:x++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:S=!1,x--;break;case t.ui.keyCode.END:x=this.anchors.length-1;break;case t.ui.keyCode.HOME:x=0;break;case t.ui.keyCode.SPACE:c.preventDefault(),clearTimeout(this.activating),this._activate(x);return;case t.ui.keyCode.ENTER:c.preventDefault(),clearTimeout(this.activating),this._activate(x===this.options.active?!1:x);return;default:return}c.preventDefault(),clearTimeout(this.activating),x=this._focusNextTab(x,S),!c.ctrlKey&&!c.metaKey&&(p.attr("aria-selected","false"),this.tabs.eq(x).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",x)},this.delay))}},_panelKeydown:function(c){this._handlePageNav(c)||c.ctrlKey&&c.keyCode===t.ui.keyCode.UP&&(c.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(c){if(c.altKey&&c.keyCode===t.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(c.altKey&&c.keyCode===t.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(c,p){var x=this.tabs.length-1;function S(){return c>x&&(c=0),c<0&&(c=x),c}for(;t.inArray(S(),this.options.disabled)!==-1;)c=p?c+1:c-1;return c},_focusNextTab:function(c,p){return c=this._findNextTab(c,p),this.tabs.eq(c).trigger("focus"),c},_setOption:function(c,p){if(c==="active"){this._activate(p);return}this._super(c,p),c==="collapsible"&&(this._toggleClass("ui-tabs-collapsible",null,p),!p&&this.options.active===!1&&this._activate(0)),c==="event"&&this._setupEvents(p),c==="heightStyle"&&this._setupHeightStyle(p)},_sanitizeSelector:function(c){return c?c.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var c=this.options,p=this.tablist.children(":has(a[href])");c.disabled=t.map(p.filter(".ui-state-disabled"),function(x){return p.index(x)}),this._processTabs(),c.active===!1||!this.anchors.length?(c.active=!1,this.active=t()):this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===c.disabled.length?(c.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,c.active-1),!1)):c.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var c=this,p=this.tabs,x=this.anchors,S=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(b){t(this).is(".ui-state-disabled")&&b.preventDefault()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(b,h){var T,M,j,V=t(h).uniqueId().attr("id"),ee=t(h).closest("li"),Z=ee.attr("aria-controls");c._isLocal(h)?(T=h.hash,j=T.substring(1),M=c.element.find(c._sanitizeSelector(T))):(j=ee.attr("aria-controls")||t({}).uniqueId()[0].id,T="#"+j,M=c.element.find(T),M.length||(M=c._createPanel(j),M.insertAfter(c.panels[b-1]||c.tablist)),M.attr("aria-live","polite")),M.length&&(c.panels=c.panels.add(M)),Z&&ee.data("ui-tabs-aria-controls",Z),ee.attr({"aria-controls":j,"aria-labelledby":V}),M.attr("aria-labelledby",V)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),p&&(this._off(p.not(this.tabs)),this._off(x.not(this.anchors)),this._off(S.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(c){return t("<div>").attr("id",c).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(c){var p,x,S;for(Array.isArray(c)&&(c.length?c.length===this.anchors.length&&(c=!0):c=!1),S=0;x=this.tabs[S];S++)p=t(x),c===!0||t.inArray(S,c)!==-1?(p.attr("aria-disabled","true"),this._addClass(p,null,"ui-state-disabled")):(p.removeAttr("aria-disabled"),this._removeClass(p,null,"ui-state-disabled"));this.options.disabled=c,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,c===!0)},_setupEvents:function(c){var p={};c&&t.each(c.split(" "),function(x,S){p[S]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(x){x.preventDefault()}}),this._on(this.anchors,p),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(c){var p,x=this.element.parent();c==="fill"?(p=x.height(),p-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var S=t(this),b=S.css("position");b==="absolute"||b==="fixed"||(p-=S.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){p-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,p-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):c==="auto"&&(p=0,this.panels.each(function(){p=Math.max(p,t(this).height("").height())}).height(p))},_eventHandler:function(c){var p=this.options,x=this.active,S=t(c.currentTarget),b=S.closest("li"),h=b[0]===x[0],T=h&&p.collapsible,M=T?t():this._getPanelForTab(b),j=x.length?this._getPanelForTab(x):t(),V={oldTab:x,oldPanel:j,newTab:T?t():b,newPanel:M};c.preventDefault(),!(b.hasClass("ui-state-disabled")||b.hasClass("ui-tabs-loading")||this.running||h&&!p.collapsible||this._trigger("beforeActivate",c,V)===!1)&&(p.active=T?!1:this.tabs.index(b),this.active=h?t():b,this.xhr&&this.xhr.abort(),!j.length&&!M.length&&t.error("jQuery UI Tabs: Mismatching fragment identifier."),M.length&&this.load(this.tabs.index(b),c),this._toggle(c,V))},_toggle:function(c,p){var x=this,S=p.newPanel,b=p.oldPanel;this.running=!0;function h(){x.running=!1,x._trigger("activate",c,p)}function T(){x._addClass(p.newTab.closest("li"),"ui-tabs-active","ui-state-active"),S.length&&x.options.show?x._show(S,x.options.show,h):(S.show(),h())}b.length&&this.options.hide?this._hide(b,this.options.hide,function(){x._removeClass(p.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),T()}):(this._removeClass(p.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),b.hide(),T()),b.attr("aria-hidden","true"),p.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),S.length&&b.length?p.oldTab.attr("tabIndex",-1):S.length&&this.tabs.filter(function(){return t(this).attr("tabIndex")===0}).attr("tabIndex",-1),S.attr("aria-hidden","false"),p.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(c){var p,x=this._findActive(c);x[0]!==this.active[0]&&(x.length||(x=this.active),p=x.find(".ui-tabs-anchor")[0],this._eventHandler({target:p,currentTarget:p,preventDefault:t.noop}))},_findActive:function(c){return c===!1?t():this.tabs.eq(c)},_getIndex:function(c){return typeof c=="string"&&(c=this.anchors.index(this.anchors.filter("[href$='"+CSS.escape(c)+"']"))),c},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var c=t(this),p=c.data("ui-tabs-aria-controls");p?c.attr("aria-controls",p).removeData("ui-tabs-aria-controls"):c.removeAttr("aria-controls")}),this.panels.show(),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(c){var p=this.options.disabled;p!==!1&&(c===void 0?p=!1:(c=this._getIndex(c),Array.isArray(p)?p=t.map(p,function(x){return x!==c?x:null}):p=t.map(this.tabs,function(x,S){return S!==c?S:null})),this._setOptionDisabled(p))},disable:function(c){var p=this.options.disabled;if(p!==!0){if(c===void 0)p=!0;else{if(c=this._getIndex(c),t.inArray(c,p)!==-1)return;Array.isArray(p)?p=t.merge([c],p).sort():p=[c]}this._setOptionDisabled(p)}},load:function(c,p){c=this._getIndex(c);var x=this,S=this.tabs.eq(c),b=S.find(".ui-tabs-anchor"),h=this._getPanelForTab(S),T={tab:S,panel:h},M=function(j,V){V==="abort"&&x.panels.stop(!1,!0),x._removeClass(S,"ui-tabs-loading"),h.removeAttr("aria-busy"),j===x.xhr&&delete x.xhr};this._isLocal(b[0])||(this.xhr=t.ajax(this._ajaxSettings(b,p,T)),this.xhr.statusText!=="canceled"&&(this._addClass(S,"ui-tabs-loading"),h.attr("aria-busy","true"),this.xhr.done(function(j,V,ee){h.html(j),x._trigger("load",p,T),M(ee,V)}).fail(function(j,V){M(j,V)})))},_ajaxSettings:function(c,p,x){var S=this;return{url:c.attr("href"),beforeSend:function(b,h){return S._trigger("beforeLoad",p,t.extend({jqXHR:b,ajaxSettings:h},x))}}},_getPanelForTab:function(c){var p=t(c).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+p))}}),t.uiBackCompat===!0&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),t.ui.tabs;/*!
+ */n.widget("ui.tabs",{version:"1.14.0",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var c=/#.*$/;return function(m){var x,T;x=m.href.replace(c,""),T=location.href.replace(c,"");try{x=decodeURIComponent(x)}catch{}try{T=decodeURIComponent(T)}catch{}return m.hash.length>1&&x===T}}(),_create:function(){var c=this,m=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,m.collapsible),this._processTabs(),m.active=this._initialActive(),Array.isArray(m.disabled)&&(m.disabled=n.uniqueSort(m.disabled.concat(n.map(this.tabs.filter(".ui-state-disabled"),function(x){return c.tabs.index(x)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(m.active):this.active=n(),this._refresh(),this.active.length&&this.load(m.active)},_initialActive:function(){var c=this.options.active,m=this.options.collapsible,x=location.hash.substring(1);return c===null&&(x&&this.tabs.each(function(T,b){if(n(b).attr("aria-controls")===x)return c=T,!1}),c===null&&(c=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(c===null||c===-1)&&(c=this.tabs.length?0:!1)),c!==!1&&(c=this.tabs.index(this.tabs.eq(c)),c===-1&&(c=m?!1:0)),!m&&c===!1&&this.anchors.length&&(c=0),c},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):n()}},_tabKeydown:function(c){var m=n(this.document[0].activeElement).closest("li"),x=this.tabs.index(m),T=!0;if(!this._handlePageNav(c)){switch(c.keyCode){case n.ui.keyCode.RIGHT:case n.ui.keyCode.DOWN:x++;break;case n.ui.keyCode.UP:case n.ui.keyCode.LEFT:T=!1,x--;break;case n.ui.keyCode.END:x=this.anchors.length-1;break;case n.ui.keyCode.HOME:x=0;break;case n.ui.keyCode.SPACE:c.preventDefault(),clearTimeout(this.activating),this._activate(x);return;case n.ui.keyCode.ENTER:c.preventDefault(),clearTimeout(this.activating),this._activate(x===this.options.active?!1:x);return;default:return}c.preventDefault(),clearTimeout(this.activating),x=this._focusNextTab(x,T),!c.ctrlKey&&!c.metaKey&&(m.attr("aria-selected","false"),this.tabs.eq(x).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",x)},this.delay))}},_panelKeydown:function(c){this._handlePageNav(c)||c.ctrlKey&&c.keyCode===n.ui.keyCode.UP&&(c.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(c){if(c.altKey&&c.keyCode===n.ui.keyCode.PAGE_UP)return this._activate(this._focusNextTab(this.options.active-1,!1)),!0;if(c.altKey&&c.keyCode===n.ui.keyCode.PAGE_DOWN)return this._activate(this._focusNextTab(this.options.active+1,!0)),!0},_findNextTab:function(c,m){var x=this.tabs.length-1;function T(){return c>x&&(c=0),c<0&&(c=x),c}for(;n.inArray(T(),this.options.disabled)!==-1;)c=m?c+1:c-1;return c},_focusNextTab:function(c,m){return c=this._findNextTab(c,m),this.tabs.eq(c).trigger("focus"),c},_setOption:function(c,m){if(c==="active"){this._activate(m);return}this._super(c,m),c==="collapsible"&&(this._toggleClass("ui-tabs-collapsible",null,m),!m&&this.options.active===!1&&this._activate(0)),c==="event"&&this._setupEvents(m),c==="heightStyle"&&this._setupHeightStyle(m)},_sanitizeSelector:function(c){return c?c.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var c=this.options,m=this.tablist.children(":has(a[href])");c.disabled=n.map(m.filter(".ui-state-disabled"),function(x){return m.index(x)}),this._processTabs(),c.active===!1||!this.anchors.length?(c.active=!1,this.active=n()):this.active.length&&!n.contains(this.tablist[0],this.active[0])?this.tabs.length===c.disabled.length?(c.active=!1,this.active=n()):this._activate(this._findNextTab(Math.max(0,c.active-1),!1)):c.active=this.tabs.index(this.active),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var c=this,m=this.tabs,x=this.anchors,T=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(b){n(this).is(".ui-state-disabled")&&b.preventDefault()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return n("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=n(),this.anchors.each(function(b,d){var k,D,O,Q=n(d).uniqueId().attr("id"),J=n(d).closest("li"),X=J.attr("aria-controls");c._isLocal(d)?(k=d.hash,O=k.substring(1),D=c.element.find(c._sanitizeSelector(k))):(O=J.attr("aria-controls")||n({}).uniqueId()[0].id,k="#"+O,D=c.element.find(k),D.length||(D=c._createPanel(O),D.insertAfter(c.panels[b-1]||c.tablist)),D.attr("aria-live","polite")),D.length&&(c.panels=c.panels.add(D)),X&&J.data("ui-tabs-aria-controls",X),J.attr({"aria-controls":O,"aria-labelledby":Q}),D.attr("aria-labelledby",Q)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),m&&(this._off(m.not(this.tabs)),this._off(x.not(this.anchors)),this._off(T.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(c){return n("<div>").attr("id",c).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(c){var m,x,T;for(Array.isArray(c)&&(c.length?c.length===this.anchors.length&&(c=!0):c=!1),T=0;x=this.tabs[T];T++)m=n(x),c===!0||n.inArray(T,c)!==-1?(m.attr("aria-disabled","true"),this._addClass(m,null,"ui-state-disabled")):(m.removeAttr("aria-disabled"),this._removeClass(m,null,"ui-state-disabled"));this.options.disabled=c,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,c===!0)},_setupEvents:function(c){var m={};c&&n.each(c.split(" "),function(x,T){m[T]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(x){x.preventDefault()}}),this._on(this.anchors,m),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(c){var m,x=this.element.parent();c==="fill"?(m=x.height(),m-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var T=n(this),b=T.css("position");b==="absolute"||b==="fixed"||(m-=T.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){m-=n(this).outerHeight(!0)}),this.panels.each(function(){n(this).height(Math.max(0,m-n(this).innerHeight()+n(this).height()))}).css("overflow","auto")):c==="auto"&&(m=0,this.panels.each(function(){m=Math.max(m,n(this).height("").height())}).height(m))},_eventHandler:function(c){var m=this.options,x=this.active,T=n(c.currentTarget),b=T.closest("li"),d=b[0]===x[0],k=d&&m.collapsible,D=k?n():this._getPanelForTab(b),O=x.length?this._getPanelForTab(x):n(),Q={oldTab:x,oldPanel:O,newTab:k?n():b,newPanel:D};c.preventDefault(),!(b.hasClass("ui-state-disabled")||b.hasClass("ui-tabs-loading")||this.running||d&&!m.collapsible||this._trigger("beforeActivate",c,Q)===!1)&&(m.active=k?!1:this.tabs.index(b),this.active=d?n():b,this.xhr&&this.xhr.abort(),!O.length&&!D.length&&n.error("jQuery UI Tabs: Mismatching fragment identifier."),D.length&&this.load(this.tabs.index(b),c),this._toggle(c,Q))},_toggle:function(c,m){var x=this,T=m.newPanel,b=m.oldPanel;this.running=!0;function d(){x.running=!1,x._trigger("activate",c,m)}function k(){x._addClass(m.newTab.closest("li"),"ui-tabs-active","ui-state-active"),T.length&&x.options.show?x._show(T,x.options.show,d):(T.show(),d())}b.length&&this.options.hide?this._hide(b,this.options.hide,function(){x._removeClass(m.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),k()}):(this._removeClass(m.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),b.hide(),k()),b.attr("aria-hidden","true"),m.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),T.length&&b.length?m.oldTab.attr("tabIndex",-1):T.length&&this.tabs.filter(function(){return n(this).attr("tabIndex")===0}).attr("tabIndex",-1),T.attr("aria-hidden","false"),m.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(c){var m,x=this._findActive(c);x[0]!==this.active[0]&&(x.length||(x=this.active),m=x.find(".ui-tabs-anchor")[0],this._eventHandler({target:m,currentTarget:m,preventDefault:n.noop}))},_findActive:function(c){return c===!1?n():this.tabs.eq(c)},_getIndex:function(c){return typeof c=="string"&&(c=this.anchors.index(this.anchors.filter("[href$='"+CSS.escape(c)+"']"))),c},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){n.data(this,"ui-tabs-destroy")?n(this).remove():n(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var c=n(this),m=c.data("ui-tabs-aria-controls");m?c.attr("aria-controls",m).removeData("ui-tabs-aria-controls"):c.removeAttr("aria-controls")}),this.panels.show(),this.options.heightStyle!=="content"&&this.panels.css("height","")},enable:function(c){var m=this.options.disabled;m!==!1&&(c===void 0?m=!1:(c=this._getIndex(c),Array.isArray(m)?m=n.map(m,function(x){return x!==c?x:null}):m=n.map(this.tabs,function(x,T){return T!==c?T:null})),this._setOptionDisabled(m))},disable:function(c){var m=this.options.disabled;if(m!==!0){if(c===void 0)m=!0;else{if(c=this._getIndex(c),n.inArray(c,m)!==-1)return;Array.isArray(m)?m=n.merge([c],m).sort():m=[c]}this._setOptionDisabled(m)}},load:function(c,m){c=this._getIndex(c);var x=this,T=this.tabs.eq(c),b=T.find(".ui-tabs-anchor"),d=this._getPanelForTab(T),k={tab:T,panel:d},D=function(O,Q){Q==="abort"&&x.panels.stop(!1,!0),x._removeClass(T,"ui-tabs-loading"),d.removeAttr("aria-busy"),O===x.xhr&&delete x.xhr};this._isLocal(b[0])||(this.xhr=n.ajax(this._ajaxSettings(b,m,k)),this.xhr.statusText!=="canceled"&&(this._addClass(T,"ui-tabs-loading"),d.attr("aria-busy","true"),this.xhr.done(function(O,Q,J){d.html(O),x._trigger("load",m,k),D(J,Q)}).fail(function(O,Q){D(O,Q)})))},_ajaxSettings:function(c,m,x){var T=this;return{url:c.attr("href"),beforeSend:function(b,d){return T._trigger("beforeLoad",m,n.extend({jqXHR:b,ajaxSettings:d},x))}}},_getPanelForTab:function(c){var m=n(c).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+m))}}),n.uiBackCompat===!0&&n.widget("ui.tabs",n.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),n.ui.tabs;/*!
  * jQuery UI Tooltip 1.14.0
  * https://jqueryui.com
  *
  * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * https://jquery.org/license
- */t.widget("ui.tooltip",{version:"1.14.0",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var c=t(this).attr("title");return t("<a>").text(c).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(c,p){var x=(c.attr("aria-describedby")||"").split(/\s+/);x.push(p),c.data("ui-tooltip-id",p).attr("aria-describedby",String.prototype.trim.call(x.join(" ")))},_removeDescribedBy:function(c){var p=c.data("ui-tooltip-id"),x=(c.attr("aria-describedby")||"").split(/\s+/),S=t.inArray(p,x);S!==-1&&x.splice(S,1),c.removeData("ui-tooltip-id"),x=String.prototype.trim.call(x.join(" ")),x?c.attr("aria-describedby",x):c.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(c,p){var x=this;this._super(c,p),c==="content"&&t.each(this.tooltips,function(S,b){x._updateContent(b.element)})},_setOptionDisabled:function(c){this[c?"_disable":"_enable"]()},_disable:function(){var c=this;t.each(this.tooltips,function(p,x){var S=t.Event("blur");S.target=S.currentTarget=x.element[0],c.close(S,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var p=t(this);if(p.is("[title]"))return p.data("ui-tooltip-title",p.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var c=t(this);c.data("ui-tooltip-title")&&c.attr("title",c.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(c){var p=this,x=t(c?c.target:this.element).closest(this.options.items);!x.length||x.data("ui-tooltip-id")||(x.attr("title")&&x.data("ui-tooltip-title",x.attr("title")),x.data("ui-tooltip-open",!0),c&&c.type==="mouseover"&&x.parents().each(function(){var S=t(this),b;S.data("ui-tooltip-open")&&(b=t.Event("blur"),b.target=b.currentTarget=this,p.close(b,!0)),S.attr("title")&&(S.uniqueId(),p.parents[this.id]={element:this,title:S.attr("title")},S.attr("title",""))}),this._registerCloseHandlers(c,x),this._updateContent(x,c))},_updateContent:function(c,p){var x,S=this.options.content,b=this,h=p?p.type:null;if(typeof S=="string"||S.nodeType||S.jquery)return this._open(p,c,S);x=S.call(c[0],function(T){c.data("ui-tooltip-open")&&(p&&(p.type=h),b._open(p,c,T))}),x&&this._open(p,c,x)},_open:function(c,p,x){var S,b,h,T,M=t.extend({},this.options.position);if(!x)return;if(S=this._find(p),S){S.tooltip.find(".ui-tooltip-content").html(x);return}p.is("[title]")&&(c&&c.type==="mouseover"?p.attr("title",""):p.removeAttr("title")),S=this._tooltip(p),b=S.tooltip,this._addDescribedBy(p,b.attr("id")),b.find(".ui-tooltip-content").html(x),this.liveRegion.children().hide(),T=t("<div>").html(b.find(".ui-tooltip-content").html()),T.removeAttr("name").find("[name]").removeAttr("name"),T.removeAttr("id").find("[id]").removeAttr("id"),T.appendTo(this.liveRegion);function j(V){M.of=V,!b.is(":hidden")&&b.position(M)}this.options.track&&c&&/^mouse/.test(c.type)?(this._on(this.document,{mousemove:j}),j(c)):b.position(t.extend({of:p},this.options.position)),b.hide(),this._show(b,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){b.is(":visible")&&(j(M.of),clearInterval(h))},13)),this._trigger("open",c,{tooltip:b})},_registerCloseHandlers:function(c,p){var x={keyup:function(S){if(S.keyCode===t.ui.keyCode.ESCAPE){var b=t.Event(S);b.currentTarget=p[0],this.close(b,!0)}}};p[0]!==this.element[0]&&(x.remove=function(){var S=this._find(p);S&&this._removeTooltip(S.tooltip)}),(!c||c.type==="mouseover")&&(x.mouseleave="close"),(!c||c.type==="focusin")&&(x.focusout="close"),this._on(!0,p,x)},close:function(c){var p,x=this,S=t(c?c.currentTarget:this.element),b=this._find(S);if(!b){S.removeData("ui-tooltip-open");return}p=b.tooltip,!b.closing&&(clearInterval(this.delayedShow),S.data("ui-tooltip-title")&&!S.attr("title")&&S.attr("title",S.data("ui-tooltip-title")),this._removeDescribedBy(S),b.hiding=!0,p.stop(!0),this._hide(p,this.options.hide,function(){x._removeTooltip(t(this))}),S.removeData("ui-tooltip-open"),this._off(S,"mouseleave focusout keyup"),S[0]!==this.element[0]&&this._off(S,"remove"),this._off(this.document,"mousemove"),c&&c.type==="mouseleave"&&t.each(this.parents,function(h,T){t(T.element).attr("title",T.title),delete x.parents[h]}),b.closing=!0,this._trigger("close",c,{tooltip:p}),b.hiding||(b.closing=!1))},_tooltip:function(c){var p=t("<div>").attr("role","tooltip"),x=t("<div>").appendTo(p),S=p.uniqueId().attr("id");return this._addClass(x,"ui-tooltip-content"),this._addClass(p,"ui-tooltip","ui-widget ui-widget-content"),p.appendTo(this._appendTo(c)),this.tooltips[S]={element:c,tooltip:p}},_find:function(c){var p=c.data("ui-tooltip-id");return p?this.tooltips[p]:null},_removeTooltip:function(c){clearInterval(this.delayedShow),c.remove(),delete this.tooltips[c.attr("id")]},_appendTo:function(c){var p=c.closest(".ui-front, dialog");return p.length||(p=this.document[0].body),p},_destroy:function(){var c=this;t.each(this.tooltips,function(p,x){var S=t.Event("blur"),b=x.element;S.target=S.currentTarget=b[0],c.close(S,!0),t("#"+p).remove(),b.data("ui-tooltip-title")&&(b.attr("title")||b.attr("title",b.data("ui-tooltip-title")),b.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),t.uiBackCompat===!0&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var c=this._superApply(arguments);return this.options.tooltipClass&&c.tooltip.addClass(this.options.tooltipClass),c}}),t.ui.tooltip});var lodash={exports:{}};/**
+ */n.widget("ui.tooltip",{version:"1.14.0",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var c=n(this).attr("title");return n("<a>").text(c).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(c,m){var x=(c.attr("aria-describedby")||"").split(/\s+/);x.push(m),c.data("ui-tooltip-id",m).attr("aria-describedby",String.prototype.trim.call(x.join(" ")))},_removeDescribedBy:function(c){var m=c.data("ui-tooltip-id"),x=(c.attr("aria-describedby")||"").split(/\s+/),T=n.inArray(m,x);T!==-1&&x.splice(T,1),c.removeData("ui-tooltip-id"),x=String.prototype.trim.call(x.join(" ")),x?c.attr("aria-describedby",x):c.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=n("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=n([])},_setOption:function(c,m){var x=this;this._super(c,m),c==="content"&&n.each(this.tooltips,function(T,b){x._updateContent(b.element)})},_setOptionDisabled:function(c){this[c?"_disable":"_enable"]()},_disable:function(){var c=this;n.each(this.tooltips,function(m,x){var T=n.Event("blur");T.target=T.currentTarget=x.element[0],c.close(T,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var m=n(this);if(m.is("[title]"))return m.data("ui-tooltip-title",m.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var c=n(this);c.data("ui-tooltip-title")&&c.attr("title",c.data("ui-tooltip-title"))}),this.disabledTitles=n([])},open:function(c){var m=this,x=n(c?c.target:this.element).closest(this.options.items);!x.length||x.data("ui-tooltip-id")||(x.attr("title")&&x.data("ui-tooltip-title",x.attr("title")),x.data("ui-tooltip-open",!0),c&&c.type==="mouseover"&&x.parents().each(function(){var T=n(this),b;T.data("ui-tooltip-open")&&(b=n.Event("blur"),b.target=b.currentTarget=this,m.close(b,!0)),T.attr("title")&&(T.uniqueId(),m.parents[this.id]={element:this,title:T.attr("title")},T.attr("title",""))}),this._registerCloseHandlers(c,x),this._updateContent(x,c))},_updateContent:function(c,m){var x,T=this.options.content,b=this,d=m?m.type:null;if(typeof T=="string"||T.nodeType||T.jquery)return this._open(m,c,T);x=T.call(c[0],function(k){c.data("ui-tooltip-open")&&(m&&(m.type=d),b._open(m,c,k))}),x&&this._open(m,c,x)},_open:function(c,m,x){var T,b,d,k,D=n.extend({},this.options.position);if(!x)return;if(T=this._find(m),T){T.tooltip.find(".ui-tooltip-content").html(x);return}m.is("[title]")&&(c&&c.type==="mouseover"?m.attr("title",""):m.removeAttr("title")),T=this._tooltip(m),b=T.tooltip,this._addDescribedBy(m,b.attr("id")),b.find(".ui-tooltip-content").html(x),this.liveRegion.children().hide(),k=n("<div>").html(b.find(".ui-tooltip-content").html()),k.removeAttr("name").find("[name]").removeAttr("name"),k.removeAttr("id").find("[id]").removeAttr("id"),k.appendTo(this.liveRegion);function O(Q){D.of=Q,!b.is(":hidden")&&b.position(D)}this.options.track&&c&&/^mouse/.test(c.type)?(this._on(this.document,{mousemove:O}),O(c)):b.position(n.extend({of:m},this.options.position)),b.hide(),this._show(b,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(d=this.delayedShow=setInterval(function(){b.is(":visible")&&(O(D.of),clearInterval(d))},13)),this._trigger("open",c,{tooltip:b})},_registerCloseHandlers:function(c,m){var x={keyup:function(T){if(T.keyCode===n.ui.keyCode.ESCAPE){var b=n.Event(T);b.currentTarget=m[0],this.close(b,!0)}}};m[0]!==this.element[0]&&(x.remove=function(){var T=this._find(m);T&&this._removeTooltip(T.tooltip)}),(!c||c.type==="mouseover")&&(x.mouseleave="close"),(!c||c.type==="focusin")&&(x.focusout="close"),this._on(!0,m,x)},close:function(c){var m,x=this,T=n(c?c.currentTarget:this.element),b=this._find(T);if(!b){T.removeData("ui-tooltip-open");return}m=b.tooltip,!b.closing&&(clearInterval(this.delayedShow),T.data("ui-tooltip-title")&&!T.attr("title")&&T.attr("title",T.data("ui-tooltip-title")),this._removeDescribedBy(T),b.hiding=!0,m.stop(!0),this._hide(m,this.options.hide,function(){x._removeTooltip(n(this))}),T.removeData("ui-tooltip-open"),this._off(T,"mouseleave focusout keyup"),T[0]!==this.element[0]&&this._off(T,"remove"),this._off(this.document,"mousemove"),c&&c.type==="mouseleave"&&n.each(this.parents,function(d,k){n(k.element).attr("title",k.title),delete x.parents[d]}),b.closing=!0,this._trigger("close",c,{tooltip:m}),b.hiding||(b.closing=!1))},_tooltip:function(c){var m=n("<div>").attr("role","tooltip"),x=n("<div>").appendTo(m),T=m.uniqueId().attr("id");return this._addClass(x,"ui-tooltip-content"),this._addClass(m,"ui-tooltip","ui-widget ui-widget-content"),m.appendTo(this._appendTo(c)),this.tooltips[T]={element:c,tooltip:m}},_find:function(c){var m=c.data("ui-tooltip-id");return m?this.tooltips[m]:null},_removeTooltip:function(c){clearInterval(this.delayedShow),c.remove(),delete this.tooltips[c.attr("id")]},_appendTo:function(c){var m=c.closest(".ui-front, dialog");return m.length||(m=this.document[0].body),m},_destroy:function(){var c=this;n.each(this.tooltips,function(m,x){var T=n.Event("blur"),b=x.element;T.target=T.currentTarget=b[0],c.close(T,!0),n("#"+m).remove(),b.data("ui-tooltip-title")&&(b.attr("title")||b.attr("title",b.data("ui-tooltip-title")),b.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),n.uiBackCompat===!0&&n.widget("ui.tooltip",n.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var c=this._superApply(arguments);return this.options.tooltipClass&&c.tooltip.addClass(this.options.tooltipClass),c}}),n.ui.tooltip});var lodash={exports:{}};/**
  * @license
  * Lodash <https://lodash.com/>
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  * Released under MIT license <https://lodash.com/license>
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */lodash.exports,function(t,e){(function(){var n,o="4.17.21",u=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",m="Expected a function",y="Invalid `variable` option passed into `_.template`",E="__lodash_hash_undefined__",C=500,k="__lodash_placeholder__",A=1,D=2,P=4,R=1,B=2,F=1,O=2,N=4,Y=8,J=16,ie=32,ue=64,Q=128,ce=256,he=512,ke=30,L="...",d=800,v=16,w=1,c=2,p=3,x=1/0,S=9007199254740991,b=17976931348623157e292,h=NaN,T=4294967295,M=T-1,j=T>>>1,V=[["ary",Q],["bind",F],["bindKey",O],["curry",Y],["curryRight",J],["flip",he],["partial",ie],["partialRight",ue],["rearg",ce]],ee="[object Arguments]",Z="[object Array]",U="[object AsyncFunction]",z="[object Boolean]",ne="[object Date]",fe="[object DOMException]",me="[object Error]",de="[object Function]",Oe="[object GeneratorFunction]",lt="[object Map]",it="[object Number]",ot="[object Null]",Ct="[object Object]",nt="[object Promise]",Je="[object Proxy]",tt="[object RegExp]",rt="[object Set]",ht="[object String]",jt="[object Symbol]",Ve="[object Undefined]",We="[object WeakMap]",Gt="[object WeakSet]",wt="[object ArrayBuffer]",Et="[object DataView]",Yt="[object Float32Array]",Ce="[object Float64Array]",te="[object Int8Array]",ye="[object Int16Array]",Le="[object Int32Array]",Ue="[object Uint8Array]",Qe="[object Uint8ClampedArray]",Ke="[object Uint16Array]",De="[object Uint32Array]",Vt=/\b__p \+= '';/g,At=/\b(__p \+=) '' \+/g,ve=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Pt=/&(?:amp|lt|gt|quot|#39);/g,pt=/[&<>"']/g,Ne=RegExp(Pt.source),vt=RegExp(pt.source),ut=/<%-([\s\S]+?)%>/g,$t=/<%([\s\S]+?)%>/g,fi=/<%=([\s\S]+?)%>/g,kt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wt=/^\w*$/,Zi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ut=/[\\^$.*+?()[\]{}|]/g,Xt=RegExp(Ut.source),Be=/^\s+/,be=/\s/,ge=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oe=/\{\n\/\* \[wrapped with (.+)\] \*/,Ae=/,? & /,qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,bt=/[()=,{}\[\]\/\s]/,at=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ei=/\w*$/,ii=/^[-+]0x[0-9a-f]+$/i,Bi=/^0b[01]+$/i,hi=/^\[object .+?Constructor\]$/,Di=/^0o[0-7]+$/i,ni=/^(?:0|[1-9]\d*)$/,pi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ii=/($^)/,Ci=/['\n\r\u2028\u2029\\]/g,zi="\\ud800-\\udfff",qi="\\u0300-\\u036f",Ai="\\ufe20-\\ufe2f",ji="\\u20d0-\\u20ff",ki=qi+Ai+ji,Ti="\\u2700-\\u27bf",wi="a-z\\xdf-\\xf6\\xf8-\\xff",oi="\\xac\\xb1\\xd7\\xf7",zt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qt="\\u2000-\\u206f",Si=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mi="A-Z\\xc0-\\xd6\\xd8-\\xde",ai="\\ufe0e\\ufe0f",gi=oi+zt+Qt+Si,Hi="['’]",or="["+zi+"]",nr="["+gi+"]",Gi="["+ki+"]",Mt="\\d+",er="["+Ti+"]",tr="["+wi+"]",br="[^"+zi+gi+Mt+Ti+wi+mi+"]",le="\\ud83c[\\udffb-\\udfff]",we="(?:"+Gi+"|"+le+")",$e="[^"+zi+"]",je="(?:\\ud83c[\\udde6-\\uddff]){2}",Ge="[\\ud800-\\udbff][\\udc00-\\udfff]",st="["+mi+"]",xe="\\u200d",Ee="(?:"+tr+"|"+br+")",Ie="(?:"+st+"|"+br+")",Xe="(?:"+Hi+"(?:d|ll|m|re|s|t|ve))?",xt="(?:"+Hi+"(?:D|LL|M|RE|S|T|VE))?",Lt=we+"?",Ft="["+ai+"]?",Ot="(?:"+xe+"(?:"+[$e,je,Ge].join("|")+")"+Ft+Lt+")*",si="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",vi=Ft+Lt+Ot,li="(?:"+[er,je,Ge].join("|")+")"+vi,Vi="(?:"+[$e+Gi+"?",Gi,je,Ge,or].join("|")+")",Ei=RegExp(Hi,"g"),$i=RegExp(Gi,"g"),xi=RegExp(le+"(?="+le+")|"+Vi+vi,"g"),ir=RegExp([st+"?"+tr+"+"+Xe+"(?="+[nr,st,"$"].join("|")+")",Ie+"+"+xt+"(?="+[nr,st+Ee,"$"].join("|")+")",st+"?"+Ee+"+"+Xe,st+"+"+xt,yi,si,Mt,li].join("|"),"g"),Ji=RegExp("["+xe+zi+ki+ai+"]"),ur=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Un=-1,_r={};_r[Yt]=_r[Ce]=_r[te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",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},kn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ia={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},pn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},yn=parseFloat,ca=parseInt,_a=typeof commonjsGlobal$1=="object"&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,fa=typeof self=="object"&&self&&self.Object===Object&&self,$r=_a||fa||Function("return this")(),Hn=e&&!e.nodeType&&e,Zr=Hn&&!0&&t&&!t.nodeType&&t,xa=Zr&&Zr.exports===Hn,mn=xa&&_a.process,tn=function(){try{var mt=Zr&&Zr.require&&Zr.require("util").types;return mt||mn&&mn.binding&&mn.binding("util")}catch{}}(),X=tn&&tn.isArrayBuffer,ae=tn&&tn.isDate,Te=tn&&tn.isMap,Pe=tn&&tn.isRegExp,ze=tn&&tn.isSet,He=tn&&tn.isTypedArray;function Ze(mt,Nt,Bt){switch(Bt.length){case 0:return mt.call(Nt);case 1:return mt.call(Nt,Bt[0]);case 2:return mt.call(Nt,Bt[0],Bt[1]);case 3:return mt.call(Nt,Bt[0],Bt[1],Bt[2])}return mt.apply(Nt,Bt)}function It(mt,Nt,Bt,_i){for(var Mi=-1,Yi=mt==null?0:mt.length;++Mi<Yi;){var Xi=mt[Mi];Nt(_i,Xi,Bt(Xi),mt)}return _i}function St(mt,Nt){for(var Bt=-1,_i=mt==null?0:mt.length;++Bt<_i&&Nt(mt[Bt],Bt,mt)!==!1;);return mt}function Kt(mt,Nt){for(var Bt=mt==null?0:mt.length;Bt--&&Nt(mt[Bt],Bt,mt)!==!1;);return mt}function di(mt,Nt){for(var Bt=-1,_i=mt==null?0:mt.length;++Bt<_i;)if(!Nt(mt[Bt],Bt,mt))return!1;return!0}function bi(mt,Nt){for(var Bt=-1,_i=mt==null?0:mt.length,Mi=0,Yi=[];++Bt<_i;){var Xi=mt[Bt];Nt(Xi,Bt,mt)&&(Yi[Mi++]=Xi)}return Yi}function ri(mt,Nt){var Bt=mt==null?0:mt.length;return!!Bt&&Lr(mt,Nt,0)>-1}function Ni(mt,Nt,Bt){for(var _i=-1,Mi=mt==null?0:mt.length;++_i<Mi;)if(Bt(Nt,mt[_i]))return!0;return!1}function Ki(mt,Nt){for(var Bt=-1,_i=mt==null?0:mt.length,Mi=Array(_i);++Bt<_i;)Mi[Bt]=Nt(mt[Bt],Bt,mt);return Mi}function yr(mt,Nt){for(var Bt=-1,_i=Nt.length,Mi=mt.length;++Bt<_i;)mt[Mi+Bt]=Nt[Bt];return mt}function fr(mt,Nt,Bt,_i){var Mi=-1,Yi=mt==null?0:mt.length;for(_i&&Yi&&(Bt=mt[++Mi]);++Mi<Yi;)Bt=Nt(Bt,mt[Mi],Mi,mt);return Bt}function Or(mt,Nt,Bt,_i){var Mi=mt==null?0:mt.length;for(_i&&Mi&&(Bt=mt[--Mi]);Mi--;)Bt=Nt(Bt,mt[Mi],Mi,mt);return Bt}function jr(mt,Nt){for(var Bt=-1,_i=mt==null?0:mt.length;++Bt<_i;)if(Nt(mt[Bt],Bt,mt))return!0;return!1}var Qr=ra("length");function Cn(mt){return mt.split("")}function Tr(mt){return mt.match(qe)||[]}function $n(mt,Nt,Bt){var _i;return Bt(mt,function(Mi,Yi,Xi){if(Nt(Mi,Yi,Xi))return _i=Yi,!1}),_i}function Sr(mt,Nt,Bt,_i){for(var Mi=mt.length,Yi=Bt+(_i?1:-1);_i?Yi--:++Yi<Mi;)if(Nt(mt[Yi],Yi,mt))return Yi;return-1}function Lr(mt,Nt,Bt){return Nt===Nt?vs(mt,Nt,Bt):Sr(mt,La,Bt)}function wa(mt,Nt,Bt,_i){for(var Mi=Bt-1,Yi=mt.length;++Mi<Yi;)if(_i(mt[Mi],Nt))return Mi;return-1}function La(mt){return mt!==mt}function rn(mt,Nt){var Bt=mt==null?0:mt.length;return Bt?Jr(mt,Nt)/Bt:h}function ra(mt){return function(Nt){return Nt==null?n:Nt[mt]}}function un(mt){return function(Nt){return mt==null?n:mt[Nt]}}function Ln(mt,Nt,Bt,_i,Mi){return Mi(mt,function(Yi,Xi,Ui){Bt=_i?(_i=!1,Yi):Nt(Bt,Yi,Xi,Ui)}),Bt}function Vn(mt,Nt){var Bt=mt.length;for(mt.sort(Nt);Bt--;)mt[Bt]=mt[Bt].value;return mt}function Jr(mt,Nt){for(var Bt,_i=-1,Mi=mt.length;++_i<Mi;){var Yi=Nt(mt[_i]);Yi!==n&&(Bt=Bt===n?Yi:Bt+Yi)}return Bt}function ha(mt,Nt){for(var Bt=-1,_i=Array(mt);++Bt<mt;)_i[Bt]=Nt(Bt);return _i}function Bn(mt,Nt){return Ki(Nt,function(Bt){return[Bt,mt[Bt]]})}function An(mt){return mt&&mt.slice(0,as(mt)+1).replace(Be,"")}function ln(mt){return function(Nt){return mt(Nt)}}function Ba(mt,Nt){return Ki(Nt,function(Bt){return mt[Bt]})}function Sa(mt,Nt){return mt.has(Nt)}function Ir(mt,Nt){for(var Bt=-1,_i=mt.length;++Bt<_i&&Lr(Nt,mt[Bt],0)>-1;);return Bt}function da(mt,Nt){for(var Bt=mt.length;Bt--&&Lr(Nt,mt[Bt],0)>-1;);return Bt}function _n(mt,Nt){for(var Bt=mt.length,_i=0;Bt--;)mt[Bt]===Nt&&++_i;return _i}var na=un(En),gs=un(kn);function ns(mt){return"\\"+pn[mt]}function pa(mt,Nt){return mt==null?n:mt[Nt]}function cn(mt){return Ji.test(mt)}function Ga(mt){return ur.test(mt)}function Wn(mt){for(var Nt,Bt=[];!(Nt=mt.next()).done;)Bt.push(Nt.value);return Bt}function Gn(mt){var Nt=-1,Bt=Array(mt.size);return mt.forEach(function(_i,Mi){Bt[++Nt]=[Mi,_i]}),Bt}function ma(mt,Nt){return function(Bt){return mt(Nt(Bt))}}function xn(mt,Nt){for(var Bt=-1,_i=mt.length,Mi=0,Yi=[];++Bt<_i;){var Xi=mt[Bt];(Xi===Nt||Xi===k)&&(mt[Bt]=k,Yi[Mi++]=Bt)}return Yi}function aa(mt){var Nt=-1,Bt=Array(mt.size);return mt.forEach(function(_i){Bt[++Nt]=_i}),Bt}function ja(mt){var Nt=-1,Bt=Array(mt.size);return mt.forEach(function(_i){Bt[++Nt]=[_i,_i]}),Bt}function vs(mt,Nt,Bt){for(var _i=Bt-1,Mi=mt.length;++_i<Mi;)if(mt[_i]===Nt)return _i;return-1}function Oa(mt,Nt,Bt){for(var _i=Bt+1;_i--;)if(mt[_i]===Nt)return _i;return _i}function Kn(mt){return cn(mt)?ss(mt):Qr(mt)}function fn(mt){return cn(mt)?_t(mt):Cn(mt)}function as(mt){for(var Nt=mt.length;Nt--&&be.test(mt.charAt(Nt)););return Nt}var Ka=un(ia);function ss(mt){for(var Nt=xi.lastIndex=0;xi.test(mt);)++Nt;return Nt}function _t(mt){return mt.match(xi)||[]}function Ht(mt){return mt.match(ir)||[]}var ti=function mt(Nt){Nt=Nt==null?$r:ui.defaults($r.Object(),Nt,ui.pick($r,zn));var Bt=Nt.Array,_i=Nt.Date,Mi=Nt.Error,Yi=Nt.Function,Xi=Nt.Math,Ui=Nt.Object,gr=Nt.RegExp,ar=Nt.String,Er=Nt.TypeError,Hr=Bt.prototype,Yr=Yi.prototype,Vr=Ui.prototype,nn=Nt["__core-js_shared__"],Mn=Yr.toString,vr=Vr.hasOwnProperty,Ps=0,ys=function(){var I=/[^.]+$/.exec(nn&&nn.keys&&nn.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),Fa=Vr.toString,Ds=Mn.call(Ui),bs=$r._,co=gr("^"+Mn.call(vr).replace(Ut,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Na=xa?Nt.Buffer:n,Qn=Nt.Symbol,Qa=Nt.Uint8Array,Ya=Na?Na.allocUnsafe:n,Ta=ma(Ui.getPrototypeOf,Ui),Is=Ui.create,Rs=Vr.propertyIsEnumerable,os=Hr.splice,$s=Qn?Qn.isConcatSpreadable:n,Xa=Qn?Qn.iterator:n,sa=Qn?Qn.toStringTag:n,us=function(){try{var I=ts(Ui,"defineProperty");return I({},"",{}),I}catch{}}(),fo=Nt.clearTimeout!==$r.clearTimeout&&Nt.clearTimeout,Ls=_i&&_i.now!==$r.Date.now&&_i.now,qa=Nt.setTimeout!==$r.setTimeout&&Nt.setTimeout,Rr=Xi.ceil,Yn=Xi.floor,en=Ui.getOwnPropertySymbols,Xn=Na?Na.isBuffer:n,Bs=Nt.isFinite,js=Hr.join,ho=ma(Ui.keys,Ui),Wr=Xi.max,an=Xi.min,po=_i.now,mo=Nt.parseInt,Os=Xi.random,go=Hr.reverse,ls=ts(Nt,"DataView"),re=ts(Nt,"Map"),pe=ts(Nt,"Promise"),Se=ts(Nt,"Set"),_e=ts(Nt,"WeakMap"),Me=ts(Ui,"create"),Fe=_e&&new _e,dt={},yt=is(ls),Tt=is(re),Rt=is(pe),Zt=is(Se),ci=is(_e),Wi=Qn?Qn.prototype:n,Pi=Wi?Wi.valueOf:n,lr=Wi?Wi.toString:n;function et(I){if(Ur(I)&&!wr(I)&&!(I instanceof Ar)){if(I instanceof Xr)return I;if(vr.call(I,"__wrapped__"))return ul(I)}return new Xr(I)}var Fr=function(){function I(){}return function(H){if(!qr(H))return{};if(Is)return Is(H);I.prototype=H;var se=new I;return I.prototype=n,se}}();function hn(){}function Xr(I,H){this.__wrapped__=I,this.__actions__=[],this.__chain__=!!H,this.__index__=0,this.__values__=n}et.templateSettings={escape:ut,evaluate:$t,interpolate:fi,variable:"",imports:{_:et}},et.prototype=hn.prototype,et.prototype.constructor=et,Xr.prototype=Fr(hn.prototype),Xr.prototype.constructor=Xr;function Ar(I){this.__wrapped__=I,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=T,this.__views__=[]}function Fs(){var I=new Ar(this.__wrapped__);return I.__actions__=Pn(this.__actions__),I.__dir__=this.__dir__,I.__filtered__=this.__filtered__,I.__iteratees__=Pn(this.__iteratees__),I.__takeCount__=this.__takeCount__,I.__views__=Pn(this.__views__),I}function Ns(){if(this.__filtered__){var I=new Ar(this);I.__dir__=-1,I.__filtered__=!0}else I=this.clone(),I.__dir__*=-1;return I}function _s(){var I=this.__wrapped__.value(),H=this.__dir__,se=wr(I),Re=H<0,Ye=se?I.length:0,ct=ef(0,Ye,this.__views__),Dt=ct.start,qt=ct.end,Jt=qt-Dt,Ri=Re?qt:Dt-1,Li=this.__iteratees__,Oi=Li.length,Qi=0,rr=an(Jt,this.__takeCount__);if(!se||!Re&&Ye==Jt&&rr==Jt)return Pu(I,this.__actions__);var dr=[];e:for(;Jt--&&Qi<rr;){Ri+=H;for(var Cr=-1,pr=I[Ri];++Cr<Oi;){var Pr=Li[Cr],Dr=Pr.iteratee,Nn=Pr.type,Tn=Dr(pr);if(Nn==c)pr=Tn;else if(!Tn){if(Nn==w)continue e;break e}}dr[Qi++]=pr}return dr}Ar.prototype=Fr(hn.prototype),Ar.prototype.constructor=Ar;function ga(I){var H=-1,se=I==null?0:I.length;for(this.clear();++H<se;){var Re=I[H];this.set(Re[0],Re[1])}}function Nr(){this.__data__=Me?Me(null):{},this.size=0}function qs(I){var H=this.has(I)&&delete this.__data__[I];return this.size-=H?1:0,H}function Ea(I){var H=this.__data__;if(Me){var se=H[I];return se===E?n:se}return vr.call(H,I)?H[I]:n}function Vl(I){var H=this.__data__;return Me?H[I]!==n:vr.call(H,I)}function Wl(I,H){var se=this.__data__;return this.size+=this.has(I)?0:1,se[I]=Me&&H===n?E:H,this}ga.prototype.clear=Nr,ga.prototype.delete=qs,ga.prototype.get=Ea,ga.prototype.has=Vl,ga.prototype.set=Wl;function ka(I){var H=-1,se=I==null?0:I.length;for(this.clear();++H<se;){var Re=I[H];this.set(Re[0],Re[1])}}function Gl(){this.__data__=[],this.size=0}function Kl(I){var H=this.__data__,se=zs(H,I);if(se<0)return!1;var Re=H.length-1;return se==Re?H.pop():os.call(H,se,1),--this.size,!0}function Ql(I){var H=this.__data__,se=zs(H,I);return se<0?n:H[se][1]}function Yl(I){return zs(this.__data__,I)>-1}function Xl(I,H){var se=this.__data__,Re=zs(se,I);return Re<0?(++this.size,se.push([I,H])):se[Re][1]=H,this}ka.prototype.clear=Gl,ka.prototype.delete=Kl,ka.prototype.get=Ql,ka.prototype.has=Yl,ka.prototype.set=Xl;function Ca(I){var H=-1,se=I==null?0:I.length;for(this.clear();++H<se;){var Re=I[H];this.set(Re[0],Re[1])}}function Zl(){this.size=0,this.__data__={hash:new ga,map:new(re||ka),string:new ga}}function Jl(I){var H=eo(this,I).delete(I);return this.size-=H?1:0,H}function tc(I){return eo(this,I).get(I)}function ic(I){return eo(this,I).has(I)}function rc(I,H){var se=eo(this,I),Re=se.size;return se.set(I,H),this.size+=se.size==Re?0:1,this}Ca.prototype.clear=Zl,Ca.prototype.delete=Jl,Ca.prototype.get=tc,Ca.prototype.has=ic,Ca.prototype.set=rc;function Za(I){var H=-1,se=I==null?0:I.length;for(this.__data__=new Ca;++H<se;)this.add(I[H])}function nc(I){return this.__data__.set(I,E),this}function ac(I){return this.__data__.has(I)}Za.prototype.add=Za.prototype.push=nc,Za.prototype.has=ac;function oa(I){var H=this.__data__=new ka(I);this.size=H.size}function sc(){this.__data__=new ka,this.size=0}function oc(I){var H=this.__data__,se=H.delete(I);return this.size=H.size,se}function uc(I){return this.__data__.get(I)}function lc(I){return this.__data__.has(I)}function cc(I,H){var se=this.__data__;if(se instanceof ka){var Re=se.__data__;if(!re||Re.length<u-1)return Re.push([I,H]),this.size=++se.size,this;se=this.__data__=new Ca(Re)}return se.set(I,H),this.size=se.size,this}oa.prototype.clear=sc,oa.prototype.delete=oc,oa.prototype.get=uc,oa.prototype.has=lc,oa.prototype.set=cc;function ou(I,H){var se=wr(I),Re=!se&&rs(I),Ye=!se&&!Re&&Wa(I),ct=!se&&!Re&&!Ye&&ds(I),Dt=se||Re||Ye||ct,qt=Dt?ha(I.length,ar):[],Jt=qt.length;for(var Ri in I)(H||vr.call(I,Ri))&&!(Dt&&(Ri=="length"||Ye&&(Ri=="offset"||Ri=="parent")||ct&&(Ri=="buffer"||Ri=="byteLength"||Ri=="byteOffset")||Da(Ri,Jt)))&&qt.push(Ri);return qt}function uu(I){var H=I.length;return H?I[Co(0,H-1)]:n}function fc(I,H){return to(Pn(I),Ja(H,0,I.length))}function hc(I){return to(Pn(I))}function vo(I,H,se){(se!==n&&!ua(I[H],se)||se===n&&!(H in I))&&Aa(I,H,se)}function xs(I,H,se){var Re=I[H];(!(vr.call(I,H)&&ua(Re,se))||se===n&&!(H in I))&&Aa(I,H,se)}function zs(I,H){for(var se=I.length;se--;)if(ua(I[se][0],H))return se;return-1}function dc(I,H,se,Re){return za(I,function(Ye,ct,Dt){H(Re,Ye,se(Ye),Dt)}),Re}function lu(I,H){return I&&ya(H,sn(H),I)}function pc(I,H){return I&&ya(H,In(H),I)}function Aa(I,H,se){H=="__proto__"&&us?us(I,H,{configurable:!0,enumerable:!0,value:se,writable:!0}):I[H]=se}function yo(I,H){for(var se=-1,Re=H.length,Ye=Bt(Re),ct=I==null;++se<Re;)Ye[se]=ct?n:Zo(I,H[se]);return Ye}function Ja(I,H,se){return I===I&&(se!==n&&(I=I<=se?I:se),H!==n&&(I=I>=H?I:H)),I}function Zn(I,H,se,Re,Ye,ct){var Dt,qt=H&A,Jt=H&D,Ri=H&P;if(se&&(Dt=Ye?se(I,Re,Ye,ct):se(I)),Dt!==n)return Dt;if(!qr(I))return I;var Li=wr(I);if(Li){if(Dt=rf(I),!qt)return Pn(I,Dt)}else{var Oi=gn(I),Qi=Oi==de||Oi==Oe;if(Wa(I))return Ru(I,qt);if(Oi==Ct||Oi==ee||Qi&&!Ye){if(Dt=Jt||Qi?{}:Zu(I),!qt)return Jt?Vc(I,pc(Dt,I)):Hc(I,lu(Dt,I))}else{if(!xr[Oi])return Ye?I:{};Dt=nf(I,Oi,qt)}}ct||(ct=new oa);var rr=ct.get(I);if(rr)return rr;ct.set(I,Dt),Ml(I)?I.forEach(function(pr){Dt.add(Zn(pr,H,se,pr,I,ct))}):Cl(I)&&I.forEach(function(pr,Pr){Dt.set(Pr,Zn(pr,H,se,Pr,I,ct))});var dr=Ri?Jt?Oo:jo:Jt?In:sn,Cr=Li?n:dr(I);return St(Cr||I,function(pr,Pr){Cr&&(Pr=pr,pr=I[Pr]),xs(Dt,Pr,Zn(pr,H,se,Pr,I,ct))}),Dt}function mc(I){var H=sn(I);return function(se){return cu(se,I,H)}}function cu(I,H,se){var Re=se.length;if(I==null)return!Re;for(I=Ui(I);Re--;){var Ye=se[Re],ct=H[Ye],Dt=I[Ye];if(Dt===n&&!(Ye in I)||!ct(Dt))return!1}return!0}function fu(I,H,se){if(typeof I!="function")throw new Er(m);return As(function(){I.apply(n,se)},H)}function ws(I,H,se,Re){var Ye=-1,ct=ri,Dt=!0,qt=I.length,Jt=[],Ri=H.length;if(!qt)return Jt;se&&(H=Ki(H,ln(se))),Re?(ct=Ni,Dt=!1):H.length>=u&&(ct=Sa,Dt=!1,H=new Za(H));e:for(;++Ye<qt;){var Li=I[Ye],Oi=se==null?Li:se(Li);if(Li=Re||Li!==0?Li:0,Dt&&Oi===Oi){for(var Qi=Ri;Qi--;)if(H[Qi]===Oi)continue e;Jt.push(Li)}else ct(H,Oi,Re)||Jt.push(Li)}return Jt}var za=Ou(va),hu=Ou(_o,!0);function gc(I,H){var se=!0;return za(I,function(Re,Ye,ct){return se=!!H(Re,Ye,ct),se}),se}function Us(I,H,se){for(var Re=-1,Ye=I.length;++Re<Ye;){var ct=I[Re],Dt=H(ct);if(Dt!=null&&(qt===n?Dt===Dt&&!On(Dt):se(Dt,qt)))var qt=Dt,Jt=ct}return Jt}function vc(I,H,se,Re){var Ye=I.length;for(se=kr(se),se<0&&(se=-se>Ye?0:Ye+se),Re=Re===n||Re>Ye?Ye:kr(Re),Re<0&&(Re+=Ye),Re=se>Re?0:Dl(Re);se<Re;)I[se++]=H;return I}function du(I,H){var se=[];return za(I,function(Re,Ye,ct){H(Re,Ye,ct)&&se.push(Re)}),se}function dn(I,H,se,Re,Ye){var ct=-1,Dt=I.length;for(se||(se=sf),Ye||(Ye=[]);++ct<Dt;){var qt=I[ct];H>0&&se(qt)?H>1?dn(qt,H-1,se,Re,Ye):yr(Ye,qt):Re||(Ye[Ye.length]=qt)}return Ye}var bo=Fu(),pu=Fu(!0);function va(I,H){return I&&bo(I,H,sn)}function _o(I,H){return I&&pu(I,H,sn)}function Hs(I,H){return bi(H,function(se){return Ia(I[se])})}function es(I,H){H=Ha(H,I);for(var se=0,Re=H.length;I!=null&&se<Re;)I=I[ba(H[se++])];return se&&se==Re?I:n}function mu(I,H,se){var Re=H(I);return wr(I)?Re:yr(Re,se(I))}function wn(I){return I==null?I===n?Ve:ot:sa&&sa in Ui(I)?Jc(I):df(I)}function xo(I,H){return I>H}function yc(I,H){return I!=null&&vr.call(I,H)}function bc(I,H){return I!=null&&H in Ui(I)}function _c(I,H,se){return I>=an(H,se)&&I<Wr(H,se)}function wo(I,H,se){for(var Re=se?Ni:ri,Ye=I[0].length,ct=I.length,Dt=ct,qt=Bt(ct),Jt=1/0,Ri=[];Dt--;){var Li=I[Dt];Dt&&H&&(Li=Ki(Li,ln(H))),Jt=an(Li.length,Jt),qt[Dt]=!se&&(H||Ye>=120&&Li.length>=120)?new Za(Dt&&Li):n}Li=I[0];var Oi=-1,Qi=qt[0];e:for(;++Oi<Ye&&Ri.length<Jt;){var rr=Li[Oi],dr=H?H(rr):rr;if(rr=se||rr!==0?rr:0,!(Qi?Sa(Qi,dr):Re(Ri,dr,se))){for(Dt=ct;--Dt;){var Cr=qt[Dt];if(!(Cr?Sa(Cr,dr):Re(I[Dt],dr,se)))continue e}Qi&&Qi.push(dr),Ri.push(rr)}}return Ri}function xc(I,H,se,Re){return va(I,function(Ye,ct,Dt){H(Re,se(Ye),ct,Dt)}),Re}function Ss(I,H,se){H=Ha(H,I),I=il(I,H);var Re=I==null?I:I[ba(ea(H))];return Re==null?n:Ze(Re,I,se)}function gu(I){return Ur(I)&&wn(I)==ee}function wc(I){return Ur(I)&&wn(I)==wt}function Sc(I){return Ur(I)&&wn(I)==ne}function Ts(I,H,se,Re,Ye){return I===H?!0:I==null||H==null||!Ur(I)&&!Ur(H)?I!==I&&H!==H:Tc(I,H,se,Re,Ts,Ye)}function Tc(I,H,se,Re,Ye,ct){var Dt=wr(I),qt=wr(H),Jt=Dt?Z:gn(I),Ri=qt?Z:gn(H);Jt=Jt==ee?Ct:Jt,Ri=Ri==ee?Ct:Ri;var Li=Jt==Ct,Oi=Ri==Ct,Qi=Jt==Ri;if(Qi&&Wa(I)){if(!Wa(H))return!1;Dt=!0,Li=!1}if(Qi&&!Li)return ct||(ct=new oa),Dt||ds(I)?Qu(I,H,se,Re,Ye,ct):Xc(I,H,Jt,se,Re,Ye,ct);if(!(se&R)){var rr=Li&&vr.call(I,"__wrapped__"),dr=Oi&&vr.call(H,"__wrapped__");if(rr||dr){var Cr=rr?I.value():I,pr=dr?H.value():H;return ct||(ct=new oa),Ye(Cr,pr,se,Re,ct)}}return Qi?(ct||(ct=new oa),Zc(I,H,se,Re,Ye,ct)):!1}function Ec(I){return Ur(I)&&gn(I)==lt}function So(I,H,se,Re){var Ye=se.length,ct=Ye,Dt=!Re;if(I==null)return!ct;for(I=Ui(I);Ye--;){var qt=se[Ye];if(Dt&&qt[2]?qt[1]!==I[qt[0]]:!(qt[0]in I))return!1}for(;++Ye<ct;){qt=se[Ye];var Jt=qt[0],Ri=I[Jt],Li=qt[1];if(Dt&&qt[2]){if(Ri===n&&!(Jt in I))return!1}else{var Oi=new oa;if(Re)var Qi=Re(Ri,Li,Jt,I,H,Oi);if(!(Qi===n?Ts(Li,Ri,R|B,Re,Oi):Qi))return!1}}return!0}function vu(I){if(!qr(I)||uf(I))return!1;var H=Ia(I)?co:hi;return H.test(is(I))}function kc(I){return Ur(I)&&wn(I)==tt}function Cc(I){return Ur(I)&&gn(I)==rt}function Ac(I){return Ur(I)&&oo(I.length)&&!!_r[wn(I)]}function yu(I){return typeof I=="function"?I:I==null?Rn:typeof I=="object"?wr(I)?xu(I[0],I[1]):_u(I):Ul(I)}function To(I){if(!Cs(I))return ho(I);var H=[];for(var se in Ui(I))vr.call(I,se)&&se!="constructor"&&H.push(se);return H}function Mc(I){if(!qr(I))return hf(I);var H=Cs(I),se=[];for(var Re in I)Re=="constructor"&&(H||!vr.call(I,Re))||se.push(Re);return se}function Eo(I,H){return I<H}function bu(I,H){var se=-1,Re=Dn(I)?Bt(I.length):[];return za(I,function(Ye,ct,Dt){Re[++se]=H(Ye,ct,Dt)}),Re}function _u(I){var H=No(I);return H.length==1&&H[0][2]?el(H[0][0],H[0][1]):function(se){return se===I||So(se,I,H)}}function xu(I,H){return zo(I)&&Ju(H)?el(ba(I),H):function(se){var Re=Zo(se,I);return Re===n&&Re===H?Jo(se,I):Ts(H,Re,R|B)}}function Vs(I,H,se,Re,Ye){I!==H&&bo(H,function(ct,Dt){if(Ye||(Ye=new oa),qr(ct))Pc(I,H,Dt,se,Vs,Re,Ye);else{var qt=Re?Re(Ho(I,Dt),ct,Dt+"",I,H,Ye):n;qt===n&&(qt=ct),vo(I,Dt,qt)}},In)}function Pc(I,H,se,Re,Ye,ct,Dt){var qt=Ho(I,se),Jt=Ho(H,se),Ri=Dt.get(Jt);if(Ri){vo(I,se,Ri);return}var Li=ct?ct(qt,Jt,se+"",I,H,Dt):n,Oi=Li===n;if(Oi){var Qi=wr(Jt),rr=!Qi&&Wa(Jt),dr=!Qi&&!rr&&ds(Jt);Li=Jt,Qi||rr||dr?wr(qt)?Li=qt:Gr(qt)?Li=Pn(qt):rr?(Oi=!1,Li=Ru(Jt,!0)):dr?(Oi=!1,Li=$u(Jt,!0)):Li=[]:Ms(Jt)||rs(Jt)?(Li=qt,rs(qt)?Li=Il(qt):(!qr(qt)||Ia(qt))&&(Li=Zu(Jt))):Oi=!1}Oi&&(Dt.set(Jt,Li),Ye(Li,Jt,Re,ct,Dt),Dt.delete(Jt)),vo(I,se,Li)}function wu(I,H){var se=I.length;if(se)return H+=H<0?se:0,Da(H,se)?I[H]:n}function Su(I,H,se){H.length?H=Ki(H,function(ct){return wr(ct)?function(Dt){return es(Dt,ct.length===1?ct[0]:ct)}:ct}):H=[Rn];var Re=-1;H=Ki(H,ln(cr()));var Ye=bu(I,function(ct,Dt,qt){var Jt=Ki(H,function(Ri){return Ri(ct)});return{criteria:Jt,index:++Re,value:ct}});return Vn(Ye,function(ct,Dt){return Uc(ct,Dt,se)})}function Dc(I,H){return Tu(I,H,function(se,Re){return Jo(I,Re)})}function Tu(I,H,se){for(var Re=-1,Ye=H.length,ct={};++Re<Ye;){var Dt=H[Re],qt=es(I,Dt);se(qt,Dt)&&Es(ct,Ha(Dt,I),qt)}return ct}function Ic(I){return function(H){return es(H,I)}}function ko(I,H,se,Re){var Ye=Re?wa:Lr,ct=-1,Dt=H.length,qt=I;for(I===H&&(H=Pn(H)),se&&(qt=Ki(I,ln(se)));++ct<Dt;)for(var Jt=0,Ri=H[ct],Li=se?se(Ri):Ri;(Jt=Ye(qt,Li,Jt,Re))>-1;)qt!==I&&os.call(qt,Jt,1),os.call(I,Jt,1);return I}function Eu(I,H){for(var se=I?H.length:0,Re=se-1;se--;){var Ye=H[se];if(se==Re||Ye!==ct){var ct=Ye;Da(Ye)?os.call(I,Ye,1):Po(I,Ye)}}return I}function Co(I,H){return I+Yn(Os()*(H-I+1))}function Rc(I,H,se,Re){for(var Ye=-1,ct=Wr(Rr((H-I)/(se||1)),0),Dt=Bt(ct);ct--;)Dt[Re?ct:++Ye]=I,I+=se;return Dt}function Ao(I,H){var se="";if(!I||H<1||H>S)return se;do H%2&&(se+=I),H=Yn(H/2),H&&(I+=I);while(H);return se}function Mr(I,H){return Vo(tl(I,H,Rn),I+"")}function $c(I){return uu(ps(I))}function Lc(I,H){var se=ps(I);return to(se,Ja(H,0,se.length))}function Es(I,H,se,Re){if(!qr(I))return I;H=Ha(H,I);for(var Ye=-1,ct=H.length,Dt=ct-1,qt=I;qt!=null&&++Ye<ct;){var Jt=ba(H[Ye]),Ri=se;if(Jt==="__proto__"||Jt==="constructor"||Jt==="prototype")return I;if(Ye!=Dt){var Li=qt[Jt];Ri=Re?Re(Li,Jt,qt):n,Ri===n&&(Ri=qr(Li)?Li:Da(H[Ye+1])?[]:{})}xs(qt,Jt,Ri),qt=qt[Jt]}return I}var ku=Fe?function(I,H){return Fe.set(I,H),I}:Rn,Bc=us?function(I,H){return us(I,"toString",{configurable:!0,enumerable:!1,value:tu(H),writable:!0})}:Rn;function jc(I){return to(ps(I))}function Jn(I,H,se){var Re=-1,Ye=I.length;H<0&&(H=-H>Ye?0:Ye+H),se=se>Ye?Ye:se,se<0&&(se+=Ye),Ye=H>se?0:se-H>>>0,H>>>=0;for(var ct=Bt(Ye);++Re<Ye;)ct[Re]=I[Re+H];return ct}function Oc(I,H){var se;return za(I,function(Re,Ye,ct){return se=H(Re,Ye,ct),!se}),!!se}function Ws(I,H,se){var Re=0,Ye=I==null?Re:I.length;if(typeof H=="number"&&H===H&&Ye<=j){for(;Re<Ye;){var ct=Re+Ye>>>1,Dt=I[ct];Dt!==null&&!On(Dt)&&(se?Dt<=H:Dt<H)?Re=ct+1:Ye=ct}return Ye}return Mo(I,H,Rn,se)}function Mo(I,H,se,Re){var Ye=0,ct=I==null?0:I.length;if(ct===0)return 0;H=se(H);for(var Dt=H!==H,qt=H===null,Jt=On(H),Ri=H===n;Ye<ct;){var Li=Yn((Ye+ct)/2),Oi=se(I[Li]),Qi=Oi!==n,rr=Oi===null,dr=Oi===Oi,Cr=On(Oi);if(Dt)var pr=Re||dr;else Ri?pr=dr&&(Re||Qi):qt?pr=dr&&Qi&&(Re||!rr):Jt?pr=dr&&Qi&&!rr&&(Re||!Cr):rr||Cr?pr=!1:pr=Re?Oi<=H:Oi<H;pr?Ye=Li+1:ct=Li}return an(ct,M)}function Cu(I,H){for(var se=-1,Re=I.length,Ye=0,ct=[];++se<Re;){var Dt=I[se],qt=H?H(Dt):Dt;if(!se||!ua(qt,Jt)){var Jt=qt;ct[Ye++]=Dt===0?0:Dt}}return ct}function Au(I){return typeof I=="number"?I:On(I)?h:+I}function jn(I){if(typeof I=="string")return I;if(wr(I))return Ki(I,jn)+"";if(On(I))return lr?lr.call(I):"";var H=I+"";return H=="0"&&1/I==-x?"-0":H}function Ua(I,H,se){var Re=-1,Ye=ri,ct=I.length,Dt=!0,qt=[],Jt=qt;if(se)Dt=!1,Ye=Ni;else if(ct>=u){var Ri=H?null:Qc(I);if(Ri)return aa(Ri);Dt=!1,Ye=Sa,Jt=new Za}else Jt=H?[]:qt;e:for(;++Re<ct;){var Li=I[Re],Oi=H?H(Li):Li;if(Li=se||Li!==0?Li:0,Dt&&Oi===Oi){for(var Qi=Jt.length;Qi--;)if(Jt[Qi]===Oi)continue e;H&&Jt.push(Oi),qt.push(Li)}else Ye(Jt,Oi,se)||(Jt!==qt&&Jt.push(Oi),qt.push(Li))}return qt}function Po(I,H){return H=Ha(H,I),I=il(I,H),I==null||delete I[ba(ea(H))]}function Mu(I,H,se,Re){return Es(I,H,se(es(I,H)),Re)}function Gs(I,H,se,Re){for(var Ye=I.length,ct=Re?Ye:-1;(Re?ct--:++ct<Ye)&&H(I[ct],ct,I););return se?Jn(I,Re?0:ct,Re?ct+1:Ye):Jn(I,Re?ct+1:0,Re?Ye:ct)}function Pu(I,H){var se=I;return se instanceof Ar&&(se=se.value()),fr(H,function(Re,Ye){return Ye.func.apply(Ye.thisArg,yr([Re],Ye.args))},se)}function Do(I,H,se){var Re=I.length;if(Re<2)return Re?Ua(I[0]):[];for(var Ye=-1,ct=Bt(Re);++Ye<Re;)for(var Dt=I[Ye],qt=-1;++qt<Re;)qt!=Ye&&(ct[Ye]=ws(ct[Ye]||Dt,I[qt],H,se));return Ua(dn(ct,1),H,se)}function Du(I,H,se){for(var Re=-1,Ye=I.length,ct=H.length,Dt={};++Re<Ye;){var qt=Re<ct?H[Re]:n;se(Dt,I[Re],qt)}return Dt}function Io(I){return Gr(I)?I:[]}function Ro(I){return typeof I=="function"?I:Rn}function Ha(I,H){return wr(I)?I:zo(I,H)?[I]:ol(Br(I))}var Fc=Mr;function Va(I,H,se){var Re=I.length;return se=se===n?Re:se,!H&&se>=Re?I:Jn(I,H,se)}var Iu=fo||function(I){return $r.clearTimeout(I)};function Ru(I,H){if(H)return I.slice();var se=I.length,Re=Ya?Ya(se):new I.constructor(se);return I.copy(Re),Re}function $o(I){var H=new I.constructor(I.byteLength);return new Qa(H).set(new Qa(I)),H}function Nc(I,H){var se=H?$o(I.buffer):I.buffer;return new I.constructor(se,I.byteOffset,I.byteLength)}function qc(I){var H=new I.constructor(I.source,ei.exec(I));return H.lastIndex=I.lastIndex,H}function zc(I){return Pi?Ui(Pi.call(I)):{}}function $u(I,H){var se=H?$o(I.buffer):I.buffer;return new I.constructor(se,I.byteOffset,I.length)}function Lu(I,H){if(I!==H){var se=I!==n,Re=I===null,Ye=I===I,ct=On(I),Dt=H!==n,qt=H===null,Jt=H===H,Ri=On(H);if(!qt&&!Ri&&!ct&&I>H||ct&&Dt&&Jt&&!qt&&!Ri||Re&&Dt&&Jt||!se&&Jt||!Ye)return 1;if(!Re&&!ct&&!Ri&&I<H||Ri&&se&&Ye&&!Re&&!ct||qt&&se&&Ye||!Dt&&Ye||!Jt)return-1}return 0}function Uc(I,H,se){for(var Re=-1,Ye=I.criteria,ct=H.criteria,Dt=Ye.length,qt=se.length;++Re<Dt;){var Jt=Lu(Ye[Re],ct[Re]);if(Jt){if(Re>=qt)return Jt;var Ri=se[Re];return Jt*(Ri=="desc"?-1:1)}}return I.index-H.index}function Bu(I,H,se,Re){for(var Ye=-1,ct=I.length,Dt=se.length,qt=-1,Jt=H.length,Ri=Wr(ct-Dt,0),Li=Bt(Jt+Ri),Oi=!Re;++qt<Jt;)Li[qt]=H[qt];for(;++Ye<Dt;)(Oi||Ye<ct)&&(Li[se[Ye]]=I[Ye]);for(;Ri--;)Li[qt++]=I[Ye++];return Li}function ju(I,H,se,Re){for(var Ye=-1,ct=I.length,Dt=-1,qt=se.length,Jt=-1,Ri=H.length,Li=Wr(ct-qt,0),Oi=Bt(Li+Ri),Qi=!Re;++Ye<Li;)Oi[Ye]=I[Ye];for(var rr=Ye;++Jt<Ri;)Oi[rr+Jt]=H[Jt];for(;++Dt<qt;)(Qi||Ye<ct)&&(Oi[rr+se[Dt]]=I[Ye++]);return Oi}function Pn(I,H){var se=-1,Re=I.length;for(H||(H=Bt(Re));++se<Re;)H[se]=I[se];return H}function ya(I,H,se,Re){var Ye=!se;se||(se={});for(var ct=-1,Dt=H.length;++ct<Dt;){var qt=H[ct],Jt=Re?Re(se[qt],I[qt],qt,se,I):n;Jt===n&&(Jt=I[qt]),Ye?Aa(se,qt,Jt):xs(se,qt,Jt)}return se}function Hc(I,H){return ya(I,qo(I),H)}function Vc(I,H){return ya(I,Yu(I),H)}function Ks(I,H){return function(se,Re){var Ye=wr(se)?It:dc,ct=H?H():{};return Ye(se,I,cr(Re,2),ct)}}function cs(I){return Mr(function(H,se){var Re=-1,Ye=se.length,ct=Ye>1?se[Ye-1]:n,Dt=Ye>2?se[2]:n;for(ct=I.length>3&&typeof ct=="function"?(Ye--,ct):n,Dt&&Sn(se[0],se[1],Dt)&&(ct=Ye<3?n:ct,Ye=1),H=Ui(H);++Re<Ye;){var qt=se[Re];qt&&I(H,qt,Re,ct)}return H})}function Ou(I,H){return function(se,Re){if(se==null)return se;if(!Dn(se))return I(se,Re);for(var Ye=se.length,ct=H?Ye:-1,Dt=Ui(se);(H?ct--:++ct<Ye)&&Re(Dt[ct],ct,Dt)!==!1;);return se}}function Fu(I){return function(H,se,Re){for(var Ye=-1,ct=Ui(H),Dt=Re(H),qt=Dt.length;qt--;){var Jt=Dt[I?qt:++Ye];if(se(ct[Jt],Jt,ct)===!1)break}return H}}function Wc(I,H,se){var Re=H&F,Ye=ks(I);function ct(){var Dt=this&&this!==$r&&this instanceof ct?Ye:I;return Dt.apply(Re?se:this,arguments)}return ct}function Nu(I){return function(H){H=Br(H);var se=cn(H)?fn(H):n,Re=se?se[0]:H.charAt(0),Ye=se?Va(se,1).join(""):H.slice(1);return Re[I]()+Ye}}function fs(I){return function(H){return fr(Nl(Fl(H).replace(Ei,"")),I,"")}}function ks(I){return function(){var H=arguments;switch(H.length){case 0:return new I;case 1:return new I(H[0]);case 2:return new I(H[0],H[1]);case 3:return new I(H[0],H[1],H[2]);case 4:return new I(H[0],H[1],H[2],H[3]);case 5:return new I(H[0],H[1],H[2],H[3],H[4]);case 6:return new I(H[0],H[1],H[2],H[3],H[4],H[5]);case 7:return new I(H[0],H[1],H[2],H[3],H[4],H[5],H[6])}var se=Fr(I.prototype),Re=I.apply(se,H);return qr(Re)?Re:se}}function Gc(I,H,se){var Re=ks(I);function Ye(){for(var ct=arguments.length,Dt=Bt(ct),qt=ct,Jt=hs(Ye);qt--;)Dt[qt]=arguments[qt];var Ri=ct<3&&Dt[0]!==Jt&&Dt[ct-1]!==Jt?[]:xn(Dt,Jt);if(ct-=Ri.length,ct<se)return Vu(I,H,Qs,Ye.placeholder,n,Dt,Ri,n,n,se-ct);var Li=this&&this!==$r&&this instanceof Ye?Re:I;return Ze(Li,this,Dt)}return Ye}function qu(I){return function(H,se,Re){var Ye=Ui(H);if(!Dn(H)){var ct=cr(se,3);H=sn(H),se=function(qt){return ct(Ye[qt],qt,Ye)}}var Dt=I(H,se,Re);return Dt>-1?Ye[ct?H[Dt]:Dt]:n}}function zu(I){return Pa(function(H){var se=H.length,Re=se,Ye=Xr.prototype.thru;for(I&&H.reverse();Re--;){var ct=H[Re];if(typeof ct!="function")throw new Er(m);if(Ye&&!Dt&&Js(ct)=="wrapper")var Dt=new Xr([],!0)}for(Re=Dt?Re:se;++Re<se;){ct=H[Re];var qt=Js(ct),Jt=qt=="wrapper"?Fo(ct):n;Jt&&Uo(Jt[0])&&Jt[1]==(Q|Y|ie|ce)&&!Jt[4].length&&Jt[9]==1?Dt=Dt[Js(Jt[0])].apply(Dt,Jt[3]):Dt=ct.length==1&&Uo(ct)?Dt[qt]():Dt.thru(ct)}return function(){var Ri=arguments,Li=Ri[0];if(Dt&&Ri.length==1&&wr(Li))return Dt.plant(Li).value();for(var Oi=0,Qi=se?H[Oi].apply(this,Ri):Li;++Oi<se;)Qi=H[Oi].call(this,Qi);return Qi}})}function Qs(I,H,se,Re,Ye,ct,Dt,qt,Jt,Ri){var Li=H&Q,Oi=H&F,Qi=H&O,rr=H&(Y|J),dr=H&he,Cr=Qi?n:ks(I);function pr(){for(var Pr=arguments.length,Dr=Bt(Pr),Nn=Pr;Nn--;)Dr[Nn]=arguments[Nn];if(rr)var Tn=hs(pr),qn=_n(Dr,Tn);if(Re&&(Dr=Bu(Dr,Re,Ye,rr)),ct&&(Dr=ju(Dr,ct,Dt,rr)),Pr-=qn,rr&&Pr<Ri){var Kr=xn(Dr,Tn);return Vu(I,H,Qs,pr.placeholder,se,Dr,Kr,qt,Jt,Ri-Pr)}var la=Oi?se:this,$a=Qi?la[I]:I;return Pr=Dr.length,qt?Dr=pf(Dr,qt):dr&&Pr>1&&Dr.reverse(),Li&&Jt<Pr&&(Dr.length=Jt),this&&this!==$r&&this instanceof pr&&($a=Cr||ks($a)),$a.apply(la,Dr)}return pr}function Uu(I,H){return function(se,Re){return xc(se,I,H(Re),{})}}function Ys(I,H){return function(se,Re){var Ye;if(se===n&&Re===n)return H;if(se!==n&&(Ye=se),Re!==n){if(Ye===n)return Re;typeof se=="string"||typeof Re=="string"?(se=jn(se),Re=jn(Re)):(se=Au(se),Re=Au(Re)),Ye=I(se,Re)}return Ye}}function Lo(I){return Pa(function(H){return H=Ki(H,ln(cr())),Mr(function(se){var Re=this;return I(H,function(Ye){return Ze(Ye,Re,se)})})})}function Xs(I,H){H=H===n?" ":jn(H);var se=H.length;if(se<2)return se?Ao(H,I):H;var Re=Ao(H,Rr(I/Kn(H)));return cn(H)?Va(fn(Re),0,I).join(""):Re.slice(0,I)}function Kc(I,H,se,Re){var Ye=H&F,ct=ks(I);function Dt(){for(var qt=-1,Jt=arguments.length,Ri=-1,Li=Re.length,Oi=Bt(Li+Jt),Qi=this&&this!==$r&&this instanceof Dt?ct:I;++Ri<Li;)Oi[Ri]=Re[Ri];for(;Jt--;)Oi[Ri++]=arguments[++qt];return Ze(Qi,Ye?se:this,Oi)}return Dt}function Hu(I){return function(H,se,Re){return Re&&typeof Re!="number"&&Sn(H,se,Re)&&(se=Re=n),H=Ra(H),se===n?(se=H,H=0):se=Ra(se),Re=Re===n?H<se?1:-1:Ra(Re),Rc(H,se,Re,I)}}function Zs(I){return function(H,se){return typeof H=="string"&&typeof se=="string"||(H=ta(H),se=ta(se)),I(H,se)}}function Vu(I,H,se,Re,Ye,ct,Dt,qt,Jt,Ri){var Li=H&Y,Oi=Li?Dt:n,Qi=Li?n:Dt,rr=Li?ct:n,dr=Li?n:ct;H|=Li?ie:ue,H&=~(Li?ue:ie),H&N||(H&=~(F|O));var Cr=[I,H,Ye,rr,Oi,dr,Qi,qt,Jt,Ri],pr=se.apply(n,Cr);return Uo(I)&&rl(pr,Cr),pr.placeholder=Re,nl(pr,I,H)}function Bo(I){var H=Xi[I];return function(se,Re){if(se=ta(se),Re=Re==null?0:an(kr(Re),292),Re&&Bs(se)){var Ye=(Br(se)+"e").split("e"),ct=H(Ye[0]+"e"+(+Ye[1]+Re));return Ye=(Br(ct)+"e").split("e"),+(Ye[0]+"e"+(+Ye[1]-Re))}return H(se)}}var Qc=Se&&1/aa(new Se([,-0]))[1]==x?function(I){return new Se(I)}:nu;function Wu(I){return function(H){var se=gn(H);return se==lt?Gn(H):se==rt?ja(H):Bn(H,I(H))}}function Ma(I,H,se,Re,Ye,ct,Dt,qt){var Jt=H&O;if(!Jt&&typeof I!="function")throw new Er(m);var Ri=Re?Re.length:0;if(Ri||(H&=~(ie|ue),Re=Ye=n),Dt=Dt===n?Dt:Wr(kr(Dt),0),qt=qt===n?qt:kr(qt),Ri-=Ye?Ye.length:0,H&ue){var Li=Re,Oi=Ye;Re=Ye=n}var Qi=Jt?n:Fo(I),rr=[I,H,se,Re,Ye,Li,Oi,ct,Dt,qt];if(Qi&&ff(rr,Qi),I=rr[0],H=rr[1],se=rr[2],Re=rr[3],Ye=rr[4],qt=rr[9]=rr[9]===n?Jt?0:I.length:Wr(rr[9]-Ri,0),!qt&&H&(Y|J)&&(H&=~(Y|J)),!H||H==F)var dr=Wc(I,H,se);else H==Y||H==J?dr=Gc(I,H,qt):(H==ie||H==(F|ie))&&!Ye.length?dr=Kc(I,H,se,Re):dr=Qs.apply(n,rr);var Cr=Qi?ku:rl;return nl(Cr(dr,rr),I,H)}function Gu(I,H,se,Re){return I===n||ua(I,Vr[se])&&!vr.call(Re,se)?H:I}function Ku(I,H,se,Re,Ye,ct){return qr(I)&&qr(H)&&(ct.set(H,I),Vs(I,H,n,Ku,ct),ct.delete(H)),I}function Yc(I){return Ms(I)?n:I}function Qu(I,H,se,Re,Ye,ct){var Dt=se&R,qt=I.length,Jt=H.length;if(qt!=Jt&&!(Dt&&Jt>qt))return!1;var Ri=ct.get(I),Li=ct.get(H);if(Ri&&Li)return Ri==H&&Li==I;var Oi=-1,Qi=!0,rr=se&B?new Za:n;for(ct.set(I,H),ct.set(H,I);++Oi<qt;){var dr=I[Oi],Cr=H[Oi];if(Re)var pr=Dt?Re(Cr,dr,Oi,H,I,ct):Re(dr,Cr,Oi,I,H,ct);if(pr!==n){if(pr)continue;Qi=!1;break}if(rr){if(!jr(H,function(Pr,Dr){if(!Sa(rr,Dr)&&(dr===Pr||Ye(dr,Pr,se,Re,ct)))return rr.push(Dr)})){Qi=!1;break}}else if(!(dr===Cr||Ye(dr,Cr,se,Re,ct))){Qi=!1;break}}return ct.delete(I),ct.delete(H),Qi}function Xc(I,H,se,Re,Ye,ct,Dt){switch(se){case Et:if(I.byteLength!=H.byteLength||I.byteOffset!=H.byteOffset)return!1;I=I.buffer,H=H.buffer;case wt:return!(I.byteLength!=H.byteLength||!ct(new Qa(I),new Qa(H)));case z:case ne:case it:return ua(+I,+H);case me:return I.name==H.name&&I.message==H.message;case tt:case ht:return I==H+"";case lt:var qt=Gn;case rt:var Jt=Re&R;if(qt||(qt=aa),I.size!=H.size&&!Jt)return!1;var Ri=Dt.get(I);if(Ri)return Ri==H;Re|=B,Dt.set(I,H);var Li=Qu(qt(I),qt(H),Re,Ye,ct,Dt);return Dt.delete(I),Li;case jt:if(Pi)return Pi.call(I)==Pi.call(H)}return!1}function Zc(I,H,se,Re,Ye,ct){var Dt=se&R,qt=jo(I),Jt=qt.length,Ri=jo(H),Li=Ri.length;if(Jt!=Li&&!Dt)return!1;for(var Oi=Jt;Oi--;){var Qi=qt[Oi];if(!(Dt?Qi in H:vr.call(H,Qi)))return!1}var rr=ct.get(I),dr=ct.get(H);if(rr&&dr)return rr==H&&dr==I;var Cr=!0;ct.set(I,H),ct.set(H,I);for(var pr=Dt;++Oi<Jt;){Qi=qt[Oi];var Pr=I[Qi],Dr=H[Qi];if(Re)var Nn=Dt?Re(Dr,Pr,Qi,H,I,ct):Re(Pr,Dr,Qi,I,H,ct);if(!(Nn===n?Pr===Dr||Ye(Pr,Dr,se,Re,ct):Nn)){Cr=!1;break}pr||(pr=Qi=="constructor")}if(Cr&&!pr){var Tn=I.constructor,qn=H.constructor;Tn!=qn&&"constructor"in I&&"constructor"in H&&!(typeof Tn=="function"&&Tn instanceof Tn&&typeof qn=="function"&&qn instanceof qn)&&(Cr=!1)}return ct.delete(I),ct.delete(H),Cr}function Pa(I){return Vo(tl(I,n,fl),I+"")}function jo(I){return mu(I,sn,qo)}function Oo(I){return mu(I,In,Yu)}var Fo=Fe?function(I){return Fe.get(I)}:nu;function Js(I){for(var H=I.name+"",se=dt[H],Re=vr.call(dt,H)?se.length:0;Re--;){var Ye=se[Re],ct=Ye.func;if(ct==null||ct==I)return Ye.name}return H}function hs(I){var H=vr.call(et,"placeholder")?et:I;return H.placeholder}function cr(){var I=et.iteratee||iu;return I=I===iu?yu:I,arguments.length?I(arguments[0],arguments[1]):I}function eo(I,H){var se=I.__data__;return of(H)?se[typeof H=="string"?"string":"hash"]:se.map}function No(I){for(var H=sn(I),se=H.length;se--;){var Re=H[se],Ye=I[Re];H[se]=[Re,Ye,Ju(Ye)]}return H}function ts(I,H){var se=pa(I,H);return vu(se)?se:n}function Jc(I){var H=vr.call(I,sa),se=I[sa];try{I[sa]=n;var Re=!0}catch{}var Ye=Fa.call(I);return Re&&(H?I[sa]=se:delete I[sa]),Ye}var qo=en?function(I){return I==null?[]:(I=Ui(I),bi(en(I),function(H){return Rs.call(I,H)}))}:au,Yu=en?function(I){for(var H=[];I;)yr(H,qo(I)),I=Ta(I);return H}:au,gn=wn;(ls&&gn(new ls(new ArrayBuffer(1)))!=Et||re&&gn(new re)!=lt||pe&&gn(pe.resolve())!=nt||Se&&gn(new Se)!=rt||_e&&gn(new _e)!=We)&&(gn=function(I){var H=wn(I),se=H==Ct?I.constructor:n,Re=se?is(se):"";if(Re)switch(Re){case yt:return Et;case Tt:return lt;case Rt:return nt;case Zt:return rt;case ci:return We}return H});function ef(I,H,se){for(var Re=-1,Ye=se.length;++Re<Ye;){var ct=se[Re],Dt=ct.size;switch(ct.type){case"drop":I+=Dt;break;case"dropRight":H-=Dt;break;case"take":H=an(H,I+Dt);break;case"takeRight":I=Wr(I,H-Dt);break}}return{start:I,end:H}}function tf(I){var H=I.match(oe);return H?H[1].split(Ae):[]}function Xu(I,H,se){H=Ha(H,I);for(var Re=-1,Ye=H.length,ct=!1;++Re<Ye;){var Dt=ba(H[Re]);if(!(ct=I!=null&&se(I,Dt)))break;I=I[Dt]}return ct||++Re!=Ye?ct:(Ye=I==null?0:I.length,!!Ye&&oo(Ye)&&Da(Dt,Ye)&&(wr(I)||rs(I)))}function rf(I){var H=I.length,se=new I.constructor(H);return H&&typeof I[0]=="string"&&vr.call(I,"index")&&(se.index=I.index,se.input=I.input),se}function Zu(I){return typeof I.constructor=="function"&&!Cs(I)?Fr(Ta(I)):{}}function nf(I,H,se){var Re=I.constructor;switch(H){case wt:return $o(I);case z:case ne:return new Re(+I);case Et:return Nc(I,se);case Yt:case Ce:case te:case ye:case Le:case Ue:case Qe:case Ke:case De:return $u(I,se);case lt:return new Re;case it:case ht:return new Re(I);case tt:return qc(I);case rt:return new Re;case jt:return zc(I)}}function af(I,H){var se=H.length;if(!se)return I;var Re=se-1;return H[Re]=(se>1?"& ":"")+H[Re],H=H.join(se>2?", ":" "),I.replace(ge,`{
+ */lodash.exports,function(n,e){(function(){var o,l="4.17.21",t=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",h="Expected a function",v="Invalid `variable` option passed into `_.template`",w="__lodash_hash_undefined__",A=500,E="__lodash_placeholder__",C=1,M=2,P=4,I=1,j=2,B=1,F=2,N=4,ee=8,Z=16,re=32,fe=64,V=128,le=256,he=512,ye=30,L="...",p=800,y=16,S=1,c=2,m=3,x=1/0,T=9007199254740991,b=17976931348623157e292,d=NaN,k=4294967295,D=k-1,O=k>>>1,Q=[["ary",V],["bind",B],["bindKey",F],["curry",ee],["curryRight",Z],["flip",he],["partial",re],["partialRight",fe],["rearg",le]],J="[object Arguments]",X="[object Array]",U="[object AsyncFunction]",z="[object Boolean]",ie="[object Date]",de="[object DOMException]",me="[object Error]",pe="[object Function]",qe="[object GeneratorFunction]",mt="[object Map]",st="[object Number]",dt="[object Null]",Tt="[object Object]",lt="[object Promise]",Je="[object Proxy]",ht="[object RegExp]",at="[object Set]",bt="[object String]",jt="[object Symbol]",Ge="[object Undefined]",Qe="[object WeakMap]",Wt="[object WeakSet]",Et="[object ArrayBuffer]",Ct="[object DataView]",Kt="[object Float32Array]",Me="[object Float64Array]",te="[object Int8Array]",_e="[object Int16Array]",je="[object Int32Array]",We="[object Uint8Array]",et="[object Uint8ClampedArray]",Ye="[object Uint16Array]",De="[object Uint32Array]",Ht=/\b__p \+= '';/g,Mt=/\b(__p \+=) '' \+/g,ge=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Dt=/&(?:amp|lt|gt|quot|#39);/g,yt=/[&<>"']/g,Ne=RegExp(Dt.source),_t=RegExp(yt.source),pt=/<%-([\s\S]+?)%>/g,Bt=/<%([\s\S]+?)%>/g,ur=/<%=([\s\S]+?)%>/g,kt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ut=/^\w*$/,Wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zt=/[\\^$.*+?()[\]{}|]/g,Qt=RegExp(zt.source),$e=/^\s+/,be=/\s/,ve=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,Pe=/,? & /,ze=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,xt=/[()=,{}\[\]\/\s]/,ot=/\\(\\)?/g,wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yt=/\w*$/,Jt=/^[-+]0x[0-9a-f]+$/i,wr=/^0b[01]+$/i,lr=/^\[object .+?Constructor\]$/,Rr=/^0o[0-7]+$/i,vr=/^(?:0|[1-9]\d*)$/,dr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ir=/($^)/,kr=/['\n\r\u2028\u2029\\]/g,Fr="\\ud800-\\udfff",jr="\\u0300-\\u036f",Cr="\\ufe20-\\ufe2f",Lr="\\u20d0-\\u20ff",Ar=jr+Cr+Lr,Tr="\\u2700-\\u27bf",Sr="a-z\\xdf-\\xf6\\xf8-\\xff",rr="\\xac\\xb1\\xd7\\xf7",Nt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Gt="\\u2000-\\u206f",xr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pr="A-Z\\xc0-\\xd6\\xd8-\\xde",tr="\\ufe0e\\ufe0f",br=rr+Nt+Gt+xr,Nr="['’]",Yr="["+Fr+"]",ei="["+br+"]",Hr="["+Ar+"]",Pt="\\d+",Jr="["+Tr+"]",Xr="["+Sr+"]",fi="[^"+Fr+br+Pt+Tr+Sr+pr+"]",ce="\\ud83c[\\udffb-\\udfff]",xe="(?:"+Hr+"|"+ce+")",Be="[^"+Fr+"]",Fe="(?:\\ud83c[\\udde6-\\uddff]){2}",Xe="[\\ud800-\\udbff][\\udc00-\\udfff]",ct="["+pr+"]",we="\\u200d",Ae="(?:"+Xr+"|"+fi+")",Re="(?:"+ct+"|"+fi+")",rt="(?:"+Nr+"(?:d|ll|m|re|s|t|ve))?",St="(?:"+Nr+"(?:D|LL|M|RE|S|T|VE))?",Lt=xe+"?",Ft="["+tr+"]?",$t="(?:"+we+"(?:"+[Be,Fe,Xe].join("|")+")"+Ft+Lt+")*",nr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fr=Ft+Lt+$t,ar="(?:"+[Jr,Fe,Xe].join("|")+")"+fr,Ur="(?:"+[Be+Hr+"?",Hr,Fe,Xe,Yr].join("|")+")",Er=RegExp(Nr,"g"),Pr=RegExp(Hr,"g"),_r=RegExp(ce+"(?="+ce+")|"+Ur+fr,"g"),ti=RegExp([ct+"?"+Xr+"+"+rt+"(?="+[ei,ct,"$"].join("|")+")",Re+"+"+St+"(?="+[ei,ct+Ae,"$"].join("|")+")",ct+"?"+Ae+"+"+rt,ct+"+"+St,gr,nr,Pt,ar].join("|"),"g"),Qr=RegExp("["+we+Fr+Ar+tr+"]"),ri=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xi=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Zi=-1,li={};li[Kt]=li[Me]=li[te]=li[_e]=li[je]=li[We]=li[et]=li[Ye]=li[De]=!0,li[J]=li[X]=li[Et]=li[z]=li[Ct]=li[ie]=li[me]=li[pe]=li[mt]=li[st]=li[Tt]=li[ht]=li[at]=li[bt]=li[Qe]=!1;var oi={};oi[J]=oi[X]=oi[Et]=oi[Ct]=oi[z]=oi[ie]=oi[Kt]=oi[Me]=oi[te]=oi[_e]=oi[je]=oi[mt]=oi[st]=oi[Tt]=oi[ht]=oi[at]=oi[bt]=oi[jt]=oi[We]=oi[et]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:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},an={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Rn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ui={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},sn=parseFloat,Gn=parseInt,Jn=typeof commonjsGlobal$1=="object"&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,Nn=typeof self=="object"&&self&&self.Object===Object&&self,ki=Jn||Nn||Function("return this")(),Ki=e&&!e.nodeType&&e,Ji=Ki&&!0&&n&&!n.nodeType&&n,ea=Ji&&Ji.exports===Ki,gi=ea&&Jn.process,Hi=function(){try{var Oe=Ji&&Ji.require&&Ji.require("util").types;return Oe||gi&&gi.binding&&gi.binding("util")}catch{}}(),Y=Hi&&Hi.isArrayBuffer,ne=Hi&&Hi.isDate,ke=Hi&&Hi.isMap,Le=Hi&&Hi.isRegExp,He=Hi&&Hi.isSet,Ve=Hi&&Hi.isTypedArray;function nt(Oe,Ze,Ke){switch(Ke.length){case 0:return Oe.call(Ze);case 1:return Oe.call(Ze,Ke[0]);case 2:return Oe.call(Ze,Ke[0],Ke[1]);case 3:return Oe.call(Ze,Ke[0],Ke[1],Ke[2])}return Oe.apply(Ze,Ke)}function Ot(Oe,Ze,Ke,gt){for(var It=-1,ir=Oe==null?0:Oe.length;++It<ir;){var cr=Oe[It];Ze(gt,cr,Ke(cr),Oe)}return gt}function At(Oe,Ze){for(var Ke=-1,gt=Oe==null?0:Oe.length;++Ke<gt&&Ze(Oe[Ke],Ke,Oe)!==!1;);return Oe}function Vt(Oe,Ze){for(var Ke=Oe==null?0:Oe.length;Ke--&&Ze(Oe[Ke],Ke,Oe)!==!1;);return Oe}function or(Oe,Ze){for(var Ke=-1,gt=Oe==null?0:Oe.length;++Ke<gt;)if(!Ze(Oe[Ke],Ke,Oe))return!1;return!0}function yr(Oe,Ze){for(var Ke=-1,gt=Oe==null?0:Oe.length,It=0,ir=[];++Ke<gt;){var cr=Oe[Ke];Ze(cr,Ke,Oe)&&(ir[It++]=cr)}return ir}function er(Oe,Ze){var Ke=Oe==null?0:Oe.length;return!!Ke&&Ai(Oe,Ze,0)>-1}function $r(Oe,Ze,Ke){for(var gt=-1,It=Oe==null?0:Oe.length;++gt<It;)if(Ke(Ze,Oe[gt]))return!0;return!1}function Kr(Oe,Ze){for(var Ke=-1,gt=Oe==null?0:Oe.length,It=Array(gt);++Ke<gt;)It[Ke]=Ze(Oe[Ke],Ke,Oe);return It}function hi(Oe,Ze){for(var Ke=-1,gt=Ze.length,It=Oe.length;++Ke<gt;)Oe[It+Ke]=Ze[Ke];return Oe}function ci(Oe,Ze,Ke,gt){var It=-1,ir=Oe==null?0:Oe.length;for(gt&&ir&&(Ke=Oe[++It]);++It<ir;)Ke=Ze(Ke,Oe[It],It,Oe);return Ke}function ji(Oe,Ze,Ke,gt){var It=Oe==null?0:Oe.length;for(gt&&It&&(Ke=Oe[--It]);It--;)Ke=Ze(Ke,Oe[It],It,Oe);return Ke}function Pi(Oe,Ze){for(var Ke=-1,gt=Oe==null?0:Oe.length;++Ke<gt;)if(Ze(Oe[Ke],Ke,Oe))return!0;return!1}var pn=Ln("length");function mn(Oe){return Oe.split("")}function di(Oe){return Oe.match(ze)||[]}function en(Oe,Ze,Ke){var gt;return Ke(Oe,function(It,ir,cr){if(Ze(It,ir,cr))return gt=ir,!1}),gt}function vi(Oe,Ze,Ke,gt){for(var It=Oe.length,ir=Ke+(gt?1:-1);gt?ir--:++ir<It;)if(Ze(Oe[ir],ir,Oe))return ir;return-1}function Ai(Oe,Ze,Ke){return Ze===Ze?za(Oe,Ze,Ke):vi(Oe,ta,Ke)}function Kn(Oe,Ze,Ke,gt){for(var It=Ke-1,ir=Oe.length;++It<ir;)if(gt(Oe[It],Ze))return It;return-1}function ta(Oe){return Oe!==Oe}function tn(Oe,Ze){var Ke=Oe==null?0:Oe.length;return Ke?$i(Oe,Ze)/Ke:d}function Ln(Oe){return function(Ze){return Ze==null?o:Ze[Oe]}}function Wi(Oe){return function(Ze){return Oe==null?o:Oe[Ze]}}function gn(Oe,Ze,Ke,gt,It){return It(Oe,function(ir,cr,Zt){Ke=gt?(gt=!1,ir):Ze(Ke,ir,cr,Zt)}),Ke}function En(Oe,Ze){var Ke=Oe.length;for(Oe.sort(Ze);Ke--;)Oe[Ke]=Oe[Ke].value;return Oe}function $i(Oe,Ze){for(var Ke,gt=-1,It=Oe.length;++gt<It;){var ir=Ze(Oe[gt]);ir!==o&&(Ke=Ke===o?ir:Ke+ir)}return Ke}function Bn(Oe,Ze){for(var Ke=-1,gt=Array(Oe);++Ke<Oe;)gt[Ke]=Ze(Ke);return gt}function kn(Oe,Ze){return Kr(Ze,function(Ke){return[Ke,Oe[Ke]]})}function vn(Oe){return Oe&&Oe.slice(0,ue(Oe)+1).replace($e,"")}function Qi(Oe){return function(Ze){return Oe(Ze)}}function wa(Oe,Ze){return Kr(Ze,function(Ke){return Oe[Ke]})}function ra(Oe,Ze){return Oe.has(Ze)}function wi(Oe,Ze){for(var Ke=-1,gt=Oe.length;++Ke<gt&&Ai(Ze,Oe[Ke],0)>-1;);return Ke}function ia(Oe,Ze){for(var Ke=Oe.length;Ke--&&Ai(Ze,Oe[Ke],0)>-1;);return Ke}function un(Oe,Ze){for(var Ke=Oe.length,gt=0;Ke--;)Oe[Ke]===Ze&&++gt;return gt}var ln=Wi(Tn),Ei=Wi(an);function zn(Oe){return"\\"+Ui[Oe]}function Ni(Oe,Ze){return Oe==null?o:Oe[Ze]}function Di(Oe){return Qr.test(Oe)}function Sa(Oe){return ri.test(Oe)}function An(Oe){for(var Ze,Ke=[];!(Ze=Oe.next()).done;)Ke.push(Ze.value);return Ke}function pa(Oe){var Ze=-1,Ke=Array(Oe.size);return Oe.forEach(function(gt,It){Ke[++Ze]=[It,gt]}),Ke}function Qn(Oe,Ze){return function(Ke){return Oe(Ze(Ke))}}function fn(Oe,Ze){for(var Ke=-1,gt=Oe.length,It=0,ir=[];++Ke<gt;){var cr=Oe[Ke];(cr===Ze||cr===E)&&(Oe[Ke]=E,ir[It++]=Ke)}return ir}function Un(Oe){var Ze=-1,Ke=Array(Oe.size);return Oe.forEach(function(gt){Ke[++Ze]=gt}),Ke}function Ta(Oe){var Ze=-1,Ke=Array(Oe.size);return Oe.forEach(function(gt){Ke[++Ze]=[gt,gt]}),Ke}function za(Oe,Ze,Ke){for(var gt=Ke-1,It=Oe.length;++gt<It;)if(Oe[gt]===Ze)return gt;return-1}function ma(Oe,Ze,Ke){for(var gt=Ke+1;gt--;)if(Oe[gt]===Ze)return gt;return gt}function Cn(Oe){return Di(Oe)?Se(Oe):pn(Oe)}function it(Oe){return Di(Oe)?oe(Oe):mn(Oe)}function ue(Oe){for(var Ze=Oe.length;Ze--&&be.test(Oe.charAt(Ze)););return Ze}var Te=Wi(Rn);function Se(Oe){for(var Ze=_r.lastIndex=0;_r.test(Oe);)++Ze;return Ze}function oe(Oe){return Oe.match(_r)||[]}function Ee(Oe){return Oe.match(ti)||[]}var Ce=function Oe(Ze){Ze=Ze==null?ki:Ue.defaults(ki.Object(),Ze,Ue.pick(ki,Xi));var Ke=Ze.Array,gt=Ze.Date,It=Ze.Error,ir=Ze.Function,cr=Ze.Math,Zt=Ze.Object,qr=Ze.RegExp,Gr=Ze.String,ii=Ze.TypeError,Mi=Ke.prototype,Li=ir.prototype,Bi=Zt.prototype,Vi=Ze["__core-js_shared__"],yn=Li.toString,ui=Bi.hasOwnProperty,is=0,Ii=function(){var R=/[^.]+$/.exec(Vi&&Vi.keys&&Vi.keys.IE_PROTO||"");return R?"Symbol(src)_1."+R:""}(),Ea=Bi.toString,na=yn.call(Zt),_l=ki._,xl=qr("^"+yn.call(ui).replace(zt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ns=ea?Ze.Buffer:o,ga=Ze.Symbol,as=Ze.Uint8Array,Po=ns?ns.allocUnsafe:o,ss=Qn(Zt.getPrototypeOf,Zt),Do=Zt.create,Io=Bi.propertyIsEnumerable,os=Mi.splice,Ro=ga?ga.isConcatSpreadable:o,Ua=ga?ga.iterator:o,ka=ga?ga.toStringTag:o,us=function(){try{var R=Da(Zt,"defineProperty");return R({},"",{}),R}catch{}}(),wl=Ze.clearTimeout!==ki.clearTimeout&&Ze.clearTimeout,Sl=gt&&gt.now!==ki.Date.now&&gt.now,Tl=Ze.setTimeout!==ki.setTimeout&&Ze.setTimeout,ls=cr.ceil,fs=cr.floor,Os=Zt.getOwnPropertySymbols,El=ns?ns.isBuffer:o,Lo=Ze.isFinite,kl=Mi.join,Al=Qn(Zt.keys,Zt),zi=cr.max,rn=cr.min,Cl=gt.now,Ml=Ze.parseInt,Bo=cr.random,Pl=Mi.reverse,js=Da(Ze,"DataView"),Ha=Da(Ze,"Map"),$s=Da(Ze,"Promise"),La=Da(Ze,"Set"),Wa=Da(Ze,"WeakMap"),Va=Da(Zt,"create"),cs=Wa&&new Wa,Ba={},Dl=Ia(js),Il=Ia(Ha),Rl=Ia($s),Ll=Ia(La),Bl=Ia(Wa),hs=ga?ga.prototype:o,Ga=hs?hs.valueOf:o,Oo=hs?hs.toString:o;function ut(R){if(Oi(R)&&!pi(R)&&!(R instanceof Si)){if(R instanceof On)return R;if(ui.call(R,"__wrapped__"))return ju(R)}return new On(R)}var Oa=function(){function R(){}return function(H){if(!Ri(H))return{};if(Do)return Do(H);R.prototype=H;var ae=new R;return R.prototype=o,ae}}();function ds(){}function On(R,H){this.__wrapped__=R,this.__actions__=[],this.__chain__=!!H,this.__index__=0,this.__values__=o}ut.templateSettings={escape:pt,evaluate:Bt,interpolate:ur,variable:"",imports:{_:ut}},ut.prototype=ds.prototype,ut.prototype.constructor=ut,On.prototype=Oa(ds.prototype),On.prototype.constructor=On;function Si(R){this.__wrapped__=R,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=k,this.__views__=[]}function Ol(){var R=new Si(this.__wrapped__);return R.__actions__=_n(this.__actions__),R.__dir__=this.__dir__,R.__filtered__=this.__filtered__,R.__iteratees__=_n(this.__iteratees__),R.__takeCount__=this.__takeCount__,R.__views__=_n(this.__views__),R}function jl(){if(this.__filtered__){var R=new Si(this);R.__dir__=-1,R.__filtered__=!0}else R=this.clone(),R.__dir__*=-1;return R}function $l(){var R=this.__wrapped__.value(),H=this.__dir__,ae=pi(R),Ie=H<0,tt=ae?R.length:0,vt=Zf(0,tt,this.__views__),Rt=vt.start,qt=vt.end,Xt=qt-Rt,Mr=Ie?qt:Rt-1,Dr=this.__iteratees__,Br=Dr.length,Vr=0,Zr=rn(Xt,this.__takeCount__);if(!ae||!Ie&&tt==Xt&&Zr==Xt)return su(R,this.__actions__);var ai=[];e:for(;Xt--&&Vr<Zr;){Mr+=H;for(var yi=-1,si=R[Mr];++yi<Br;){var xi=Dr[yi],Ti=xi.iteratee,Dn=xi.type,dn=Ti(si);if(Dn==c)si=dn;else if(!dn){if(Dn==S)continue e;break e}}ai[Vr++]=si}return ai}Si.prototype=Oa(ds.prototype),Si.prototype.constructor=Si;function Aa(R){var H=-1,ae=R==null?0:R.length;for(this.clear();++H<ae;){var Ie=R[H];this.set(Ie[0],Ie[1])}}function Fl(){this.__data__=Va?Va(null):{},this.size=0}function ql(R){var H=this.has(R)&&delete this.__data__[R];return this.size-=H?1:0,H}function Nl(R){var H=this.__data__;if(Va){var ae=H[R];return ae===w?o:ae}return ui.call(H,R)?H[R]:o}function Ul(R){var H=this.__data__;return Va?H[R]!==o:ui.call(H,R)}function Hl(R,H){var ae=this.__data__;return this.size+=this.has(R)?0:1,ae[R]=Va&&H===o?w:H,this}Aa.prototype.clear=Fl,Aa.prototype.delete=ql,Aa.prototype.get=Nl,Aa.prototype.has=Ul,Aa.prototype.set=Hl;function aa(R){var H=-1,ae=R==null?0:R.length;for(this.clear();++H<ae;){var Ie=R[H];this.set(Ie[0],Ie[1])}}function Wl(){this.__data__=[],this.size=0}function Vl(R){var H=this.__data__,ae=ps(H,R);if(ae<0)return!1;var Ie=H.length-1;return ae==Ie?H.pop():os.call(H,ae,1),--this.size,!0}function Gl(R){var H=this.__data__,ae=ps(H,R);return ae<0?o:H[ae][1]}function Kl(R){return ps(this.__data__,R)>-1}function Ql(R,H){var ae=this.__data__,Ie=ps(ae,R);return Ie<0?(++this.size,ae.push([R,H])):ae[Ie][1]=H,this}aa.prototype.clear=Wl,aa.prototype.delete=Vl,aa.prototype.get=Gl,aa.prototype.has=Kl,aa.prototype.set=Ql;function sa(R){var H=-1,ae=R==null?0:R.length;for(this.clear();++H<ae;){var Ie=R[H];this.set(Ie[0],Ie[1])}}function Yl(){this.size=0,this.__data__={hash:new Aa,map:new(Ha||aa),string:new Aa}}function Xl(R){var H=ks(this,R).delete(R);return this.size-=H?1:0,H}function Zl(R){return ks(this,R).get(R)}function Jl(R){return ks(this,R).has(R)}function ef(R,H){var ae=ks(this,R),Ie=ae.size;return ae.set(R,H),this.size+=ae.size==Ie?0:1,this}sa.prototype.clear=Yl,sa.prototype.delete=Xl,sa.prototype.get=Zl,sa.prototype.has=Jl,sa.prototype.set=ef;function Ca(R){var H=-1,ae=R==null?0:R.length;for(this.__data__=new sa;++H<ae;)this.add(R[H])}function tf(R){return this.__data__.set(R,w),this}function rf(R){return this.__data__.has(R)}Ca.prototype.add=Ca.prototype.push=tf,Ca.prototype.has=rf;function Hn(R){var H=this.__data__=new aa(R);this.size=H.size}function nf(){this.__data__=new aa,this.size=0}function af(R){var H=this.__data__,ae=H.delete(R);return this.size=H.size,ae}function sf(R){return this.__data__.get(R)}function of(R){return this.__data__.has(R)}function uf(R,H){var ae=this.__data__;if(ae instanceof aa){var Ie=ae.__data__;if(!Ha||Ie.length<t-1)return Ie.push([R,H]),this.size=++ae.size,this;ae=this.__data__=new sa(Ie)}return ae.set(R,H),this.size=ae.size,this}Hn.prototype.clear=nf,Hn.prototype.delete=af,Hn.prototype.get=sf,Hn.prototype.has=of,Hn.prototype.set=uf;function jo(R,H){var ae=pi(R),Ie=!ae&&Ra(R),tt=!ae&&!Ie&&xa(R),vt=!ae&&!Ie&&!tt&&qa(R),Rt=ae||Ie||tt||vt,qt=Rt?Bn(R.length,Gr):[],Xt=qt.length;for(var Mr in R)(H||ui.call(R,Mr))&&!(Rt&&(Mr=="length"||tt&&(Mr=="offset"||Mr=="parent")||vt&&(Mr=="buffer"||Mr=="byteLength"||Mr=="byteOffset")||fa(Mr,Xt)))&&qt.push(Mr);return qt}function $o(R){var H=R.length;return H?R[Qs(0,H-1)]:o}function lf(R,H){return As(_n(R),Ma(H,0,R.length))}function ff(R){return As(_n(R))}function Fs(R,H,ae){(ae!==o&&!Wn(R[H],ae)||ae===o&&!(H in R))&&oa(R,H,ae)}function Ka(R,H,ae){var Ie=R[H];(!(ui.call(R,H)&&Wn(Ie,ae))||ae===o&&!(H in R))&&oa(R,H,ae)}function ps(R,H){for(var ae=R.length;ae--;)if(Wn(R[ae][0],H))return ae;return-1}function cf(R,H,ae,Ie){return va(R,function(tt,vt,Rt){H(Ie,tt,ae(tt),Rt)}),Ie}function Fo(R,H){return R&&Xn(H,Gi(H),R)}function hf(R,H){return R&&Xn(H,wn(H),R)}function oa(R,H,ae){H=="__proto__"&&us?us(R,H,{configurable:!0,enumerable:!0,value:ae,writable:!0}):R[H]=ae}function qs(R,H){for(var ae=-1,Ie=H.length,tt=Ke(Ie),vt=R==null;++ae<Ie;)tt[ae]=vt?o:xo(R,H[ae]);return tt}function Ma(R,H,ae){return R===R&&(ae!==o&&(R=R<=ae?R:ae),H!==o&&(R=R>=H?R:H)),R}function jn(R,H,ae,Ie,tt,vt){var Rt,qt=H&C,Xt=H&M,Mr=H&P;if(ae&&(Rt=tt?ae(R,Ie,tt,vt):ae(R)),Rt!==o)return Rt;if(!Ri(R))return R;var Dr=pi(R);if(Dr){if(Rt=tc(R),!qt)return _n(R,Rt)}else{var Br=nn(R),Vr=Br==pe||Br==qe;if(xa(R))return lu(R,qt);if(Br==Tt||Br==J||Vr&&!tt){if(Rt=Xt||Vr?{}:Cu(R),!qt)return Xt?Uf(R,hf(Rt,R)):zf(R,Fo(Rt,R))}else{if(!oi[Br])return tt?R:{};Rt=rc(R,Br,qt)}}vt||(vt=new Hn);var Zr=vt.get(R);if(Zr)return Zr;vt.set(R,Rt),il(R)?R.forEach(function(si){Rt.add(jn(si,H,ae,si,R,vt))}):tl(R)&&R.forEach(function(si,xi){Rt.set(xi,jn(si,H,ae,xi,R,vt))});var ai=Mr?Xt?so:ao:Xt?wn:Gi,yi=Dr?o:ai(R);return At(yi||R,function(si,xi){yi&&(xi=si,si=R[xi]),Ka(Rt,xi,jn(si,H,ae,xi,R,vt))}),Rt}function df(R){var H=Gi(R);return function(ae){return qo(ae,R,H)}}function qo(R,H,ae){var Ie=ae.length;if(R==null)return!Ie;for(R=Zt(R);Ie--;){var tt=ae[Ie],vt=H[tt],Rt=R[tt];if(Rt===o&&!(tt in R)||!vt(Rt))return!1}return!0}function No(R,H,ae){if(typeof R!="function")throw new ii(h);return ts(function(){R.apply(o,ae)},H)}function Qa(R,H,ae,Ie){var tt=-1,vt=er,Rt=!0,qt=R.length,Xt=[],Mr=H.length;if(!qt)return Xt;ae&&(H=Kr(H,Qi(ae))),Ie?(vt=$r,Rt=!1):H.length>=t&&(vt=ra,Rt=!1,H=new Ca(H));e:for(;++tt<qt;){var Dr=R[tt],Br=ae==null?Dr:ae(Dr);if(Dr=Ie||Dr!==0?Dr:0,Rt&&Br===Br){for(var Vr=Mr;Vr--;)if(H[Vr]===Br)continue e;Xt.push(Dr)}else vt(H,Br,Ie)||Xt.push(Dr)}return Xt}var va=pu(Yn),zo=pu(zs,!0);function pf(R,H){var ae=!0;return va(R,function(Ie,tt,vt){return ae=!!H(Ie,tt,vt),ae}),ae}function ms(R,H,ae){for(var Ie=-1,tt=R.length;++Ie<tt;){var vt=R[Ie],Rt=H(vt);if(Rt!=null&&(qt===o?Rt===Rt&&!Pn(Rt):ae(Rt,qt)))var qt=Rt,Xt=vt}return Xt}function mf(R,H,ae,Ie){var tt=R.length;for(ae=mi(ae),ae<0&&(ae=-ae>tt?0:tt+ae),Ie=Ie===o||Ie>tt?tt:mi(Ie),Ie<0&&(Ie+=tt),Ie=ae>Ie?0:al(Ie);ae<Ie;)R[ae++]=H;return R}function Uo(R,H){var ae=[];return va(R,function(Ie,tt,vt){H(Ie,tt,vt)&&ae.push(Ie)}),ae}function Yi(R,H,ae,Ie,tt){var vt=-1,Rt=R.length;for(ae||(ae=nc),tt||(tt=[]);++vt<Rt;){var qt=R[vt];H>0&&ae(qt)?H>1?Yi(qt,H-1,ae,Ie,tt):hi(tt,qt):Ie||(tt[tt.length]=qt)}return tt}var Ns=mu(),Ho=mu(!0);function Yn(R,H){return R&&Ns(R,H,Gi)}function zs(R,H){return R&&Ho(R,H,Gi)}function gs(R,H){return yr(H,function(ae){return ca(R[ae])})}function Pa(R,H){H=ba(H,R);for(var ae=0,Ie=H.length;R!=null&&ae<Ie;)R=R[Zn(H[ae++])];return ae&&ae==Ie?R:o}function Wo(R,H,ae){var Ie=H(R);return pi(R)?Ie:hi(Ie,ae(R))}function cn(R){return R==null?R===o?Ge:dt:ka&&ka in Zt(R)?Xf(R):cc(R)}function Us(R,H){return R>H}function gf(R,H){return R!=null&&ui.call(R,H)}function vf(R,H){return R!=null&&H in Zt(R)}function yf(R,H,ae){return R>=rn(H,ae)&&R<zi(H,ae)}function Hs(R,H,ae){for(var Ie=ae?$r:er,tt=R[0].length,vt=R.length,Rt=vt,qt=Ke(vt),Xt=1/0,Mr=[];Rt--;){var Dr=R[Rt];Rt&&H&&(Dr=Kr(Dr,Qi(H))),Xt=rn(Dr.length,Xt),qt[Rt]=!ae&&(H||tt>=120&&Dr.length>=120)?new Ca(Rt&&Dr):o}Dr=R[0];var Br=-1,Vr=qt[0];e:for(;++Br<tt&&Mr.length<Xt;){var Zr=Dr[Br],ai=H?H(Zr):Zr;if(Zr=ae||Zr!==0?Zr:0,!(Vr?ra(Vr,ai):Ie(Mr,ai,ae))){for(Rt=vt;--Rt;){var yi=qt[Rt];if(!(yi?ra(yi,ai):Ie(R[Rt],ai,ae)))continue e}Vr&&Vr.push(ai),Mr.push(Zr)}}return Mr}function bf(R,H,ae,Ie){return Yn(R,function(tt,vt,Rt){H(Ie,ae(tt),vt,Rt)}),Ie}function Ya(R,H,ae){H=ba(H,R),R=Iu(R,H);var Ie=R==null?R:R[Zn(Fn(H))];return Ie==null?o:nt(Ie,R,ae)}function Vo(R){return Oi(R)&&cn(R)==J}function _f(R){return Oi(R)&&cn(R)==Et}function xf(R){return Oi(R)&&cn(R)==ie}function Xa(R,H,ae,Ie,tt){return R===H?!0:R==null||H==null||!Oi(R)&&!Oi(H)?R!==R&&H!==H:wf(R,H,ae,Ie,Xa,tt)}function wf(R,H,ae,Ie,tt,vt){var Rt=pi(R),qt=pi(H),Xt=Rt?X:nn(R),Mr=qt?X:nn(H);Xt=Xt==J?Tt:Xt,Mr=Mr==J?Tt:Mr;var Dr=Xt==Tt,Br=Mr==Tt,Vr=Xt==Mr;if(Vr&&xa(R)){if(!xa(H))return!1;Rt=!0,Dr=!1}if(Vr&&!Dr)return vt||(vt=new Hn),Rt||qa(R)?Eu(R,H,ae,Ie,tt,vt):Qf(R,H,Xt,ae,Ie,tt,vt);if(!(ae&I)){var Zr=Dr&&ui.call(R,"__wrapped__"),ai=Br&&ui.call(H,"__wrapped__");if(Zr||ai){var yi=Zr?R.value():R,si=ai?H.value():H;return vt||(vt=new Hn),tt(yi,si,ae,Ie,vt)}}return Vr?(vt||(vt=new Hn),Yf(R,H,ae,Ie,tt,vt)):!1}function Sf(R){return Oi(R)&&nn(R)==mt}function Ws(R,H,ae,Ie){var tt=ae.length,vt=tt,Rt=!Ie;if(R==null)return!vt;for(R=Zt(R);tt--;){var qt=ae[tt];if(Rt&&qt[2]?qt[1]!==R[qt[0]]:!(qt[0]in R))return!1}for(;++tt<vt;){qt=ae[tt];var Xt=qt[0],Mr=R[Xt],Dr=qt[1];if(Rt&&qt[2]){if(Mr===o&&!(Xt in R))return!1}else{var Br=new Hn;if(Ie)var Vr=Ie(Mr,Dr,Xt,R,H,Br);if(!(Vr===o?Xa(Dr,Mr,I|j,Ie,Br):Vr))return!1}}return!0}function Go(R){if(!Ri(R)||sc(R))return!1;var H=ca(R)?xl:lr;return H.test(Ia(R))}function Tf(R){return Oi(R)&&cn(R)==ht}function Ef(R){return Oi(R)&&nn(R)==at}function kf(R){return Oi(R)&&Rs(R.length)&&!!li[cn(R)]}function Ko(R){return typeof R=="function"?R:R==null?Sn:typeof R=="object"?pi(R)?Xo(R[0],R[1]):Yo(R):yl(R)}function Vs(R){if(!es(R))return Al(R);var H=[];for(var ae in Zt(R))ui.call(R,ae)&&ae!="constructor"&&H.push(ae);return H}function Af(R){if(!Ri(R))return fc(R);var H=es(R),ae=[];for(var Ie in R)Ie=="constructor"&&(H||!ui.call(R,Ie))||ae.push(Ie);return ae}function Gs(R,H){return R<H}function Qo(R,H){var ae=-1,Ie=xn(R)?Ke(R.length):[];return va(R,function(tt,vt,Rt){Ie[++ae]=H(tt,vt,Rt)}),Ie}function Yo(R){var H=uo(R);return H.length==1&&H[0][2]?Pu(H[0][0],H[0][1]):function(ae){return ae===R||Ws(ae,R,H)}}function Xo(R,H){return fo(R)&&Mu(H)?Pu(Zn(R),H):function(ae){var Ie=xo(ae,R);return Ie===o&&Ie===H?wo(ae,R):Xa(H,Ie,I|j)}}function vs(R,H,ae,Ie,tt){R!==H&&Ns(H,function(vt,Rt){if(tt||(tt=new Hn),Ri(vt))Cf(R,H,Rt,ae,vs,Ie,tt);else{var qt=Ie?Ie(ho(R,Rt),vt,Rt+"",R,H,tt):o;qt===o&&(qt=vt),Fs(R,Rt,qt)}},wn)}function Cf(R,H,ae,Ie,tt,vt,Rt){var qt=ho(R,ae),Xt=ho(H,ae),Mr=Rt.get(Xt);if(Mr){Fs(R,ae,Mr);return}var Dr=vt?vt(qt,Xt,ae+"",R,H,Rt):o,Br=Dr===o;if(Br){var Vr=pi(Xt),Zr=!Vr&&xa(Xt),ai=!Vr&&!Zr&&qa(Xt);Dr=Xt,Vr||Zr||ai?pi(qt)?Dr=qt:Fi(qt)?Dr=_n(qt):Zr?(Br=!1,Dr=lu(Xt,!0)):ai?(Br=!1,Dr=fu(Xt,!0)):Dr=[]:rs(Xt)||Ra(Xt)?(Dr=qt,Ra(qt)?Dr=ol(qt):(!Ri(qt)||ca(qt))&&(Dr=Cu(Xt))):Br=!1}Br&&(Rt.set(Xt,Dr),tt(Dr,Xt,Ie,vt,Rt),Rt.delete(Xt)),Fs(R,ae,Dr)}function Zo(R,H){var ae=R.length;if(ae)return H+=H<0?ae:0,fa(H,ae)?R[H]:o}function Jo(R,H,ae){H.length?H=Kr(H,function(vt){return pi(vt)?function(Rt){return Pa(Rt,vt.length===1?vt[0]:vt)}:vt}):H=[Sn];var Ie=-1;H=Kr(H,Qi(ni()));var tt=Qo(R,function(vt,Rt,qt){var Xt=Kr(H,function(Mr){return Mr(vt)});return{criteria:Xt,index:++Ie,value:vt}});return En(tt,function(vt,Rt){return Nf(vt,Rt,ae)})}function Mf(R,H){return eu(R,H,function(ae,Ie){return wo(R,Ie)})}function eu(R,H,ae){for(var Ie=-1,tt=H.length,vt={};++Ie<tt;){var Rt=H[Ie],qt=Pa(R,Rt);ae(qt,Rt)&&Za(vt,ba(Rt,R),qt)}return vt}function Pf(R){return function(H){return Pa(H,R)}}function Ks(R,H,ae,Ie){var tt=Ie?Kn:Ai,vt=-1,Rt=H.length,qt=R;for(R===H&&(H=_n(H)),ae&&(qt=Kr(R,Qi(ae)));++vt<Rt;)for(var Xt=0,Mr=H[vt],Dr=ae?ae(Mr):Mr;(Xt=tt(qt,Dr,Xt,Ie))>-1;)qt!==R&&os.call(qt,Xt,1),os.call(R,Xt,1);return R}function tu(R,H){for(var ae=R?H.length:0,Ie=ae-1;ae--;){var tt=H[ae];if(ae==Ie||tt!==vt){var vt=tt;fa(tt)?os.call(R,tt,1):Zs(R,tt)}}return R}function Qs(R,H){return R+fs(Bo()*(H-R+1))}function Df(R,H,ae,Ie){for(var tt=-1,vt=zi(ls((H-R)/(ae||1)),0),Rt=Ke(vt);vt--;)Rt[Ie?vt:++tt]=R,R+=ae;return Rt}function Ys(R,H){var ae="";if(!R||H<1||H>T)return ae;do H%2&&(ae+=R),H=fs(H/2),H&&(R+=R);while(H);return ae}function bi(R,H){return po(Du(R,H,Sn),R+"")}function If(R){return $o(Na(R))}function Rf(R,H){var ae=Na(R);return As(ae,Ma(H,0,ae.length))}function Za(R,H,ae,Ie){if(!Ri(R))return R;H=ba(H,R);for(var tt=-1,vt=H.length,Rt=vt-1,qt=R;qt!=null&&++tt<vt;){var Xt=Zn(H[tt]),Mr=ae;if(Xt==="__proto__"||Xt==="constructor"||Xt==="prototype")return R;if(tt!=Rt){var Dr=qt[Xt];Mr=Ie?Ie(Dr,Xt,qt):o,Mr===o&&(Mr=Ri(Dr)?Dr:fa(H[tt+1])?[]:{})}Ka(qt,Xt,Mr),qt=qt[Xt]}return R}var ru=cs?function(R,H){return cs.set(R,H),R}:Sn,Lf=us?function(R,H){return us(R,"toString",{configurable:!0,enumerable:!1,value:To(H),writable:!0})}:Sn;function Bf(R){return As(Na(R))}function $n(R,H,ae){var Ie=-1,tt=R.length;H<0&&(H=-H>tt?0:tt+H),ae=ae>tt?tt:ae,ae<0&&(ae+=tt),tt=H>ae?0:ae-H>>>0,H>>>=0;for(var vt=Ke(tt);++Ie<tt;)vt[Ie]=R[Ie+H];return vt}function Of(R,H){var ae;return va(R,function(Ie,tt,vt){return ae=H(Ie,tt,vt),!ae}),!!ae}function ys(R,H,ae){var Ie=0,tt=R==null?Ie:R.length;if(typeof H=="number"&&H===H&&tt<=O){for(;Ie<tt;){var vt=Ie+tt>>>1,Rt=R[vt];Rt!==null&&!Pn(Rt)&&(ae?Rt<=H:Rt<H)?Ie=vt+1:tt=vt}return tt}return Xs(R,H,Sn,ae)}function Xs(R,H,ae,Ie){var tt=0,vt=R==null?0:R.length;if(vt===0)return 0;H=ae(H);for(var Rt=H!==H,qt=H===null,Xt=Pn(H),Mr=H===o;tt<vt;){var Dr=fs((tt+vt)/2),Br=ae(R[Dr]),Vr=Br!==o,Zr=Br===null,ai=Br===Br,yi=Pn(Br);if(Rt)var si=Ie||ai;else Mr?si=ai&&(Ie||Vr):qt?si=ai&&Vr&&(Ie||!Zr):Xt?si=ai&&Vr&&!Zr&&(Ie||!yi):Zr||yi?si=!1:si=Ie?Br<=H:Br<H;si?tt=Dr+1:vt=Dr}return rn(vt,D)}function iu(R,H){for(var ae=-1,Ie=R.length,tt=0,vt=[];++ae<Ie;){var Rt=R[ae],qt=H?H(Rt):Rt;if(!ae||!Wn(qt,Xt)){var Xt=qt;vt[tt++]=Rt===0?0:Rt}}return vt}function nu(R){return typeof R=="number"?R:Pn(R)?d:+R}function Mn(R){if(typeof R=="string")return R;if(pi(R))return Kr(R,Mn)+"";if(Pn(R))return Oo?Oo.call(R):"";var H=R+"";return H=="0"&&1/R==-x?"-0":H}function ya(R,H,ae){var Ie=-1,tt=er,vt=R.length,Rt=!0,qt=[],Xt=qt;if(ae)Rt=!1,tt=$r;else if(vt>=t){var Mr=H?null:Gf(R);if(Mr)return Un(Mr);Rt=!1,tt=ra,Xt=new Ca}else Xt=H?[]:qt;e:for(;++Ie<vt;){var Dr=R[Ie],Br=H?H(Dr):Dr;if(Dr=ae||Dr!==0?Dr:0,Rt&&Br===Br){for(var Vr=Xt.length;Vr--;)if(Xt[Vr]===Br)continue e;H&&Xt.push(Br),qt.push(Dr)}else tt(Xt,Br,ae)||(Xt!==qt&&Xt.push(Br),qt.push(Dr))}return qt}function Zs(R,H){return H=ba(H,R),R=Iu(R,H),R==null||delete R[Zn(Fn(H))]}function au(R,H,ae,Ie){return Za(R,H,ae(Pa(R,H)),Ie)}function bs(R,H,ae,Ie){for(var tt=R.length,vt=Ie?tt:-1;(Ie?vt--:++vt<tt)&&H(R[vt],vt,R););return ae?$n(R,Ie?0:vt,Ie?vt+1:tt):$n(R,Ie?vt+1:0,Ie?tt:vt)}function su(R,H){var ae=R;return ae instanceof Si&&(ae=ae.value()),ci(H,function(Ie,tt){return tt.func.apply(tt.thisArg,hi([Ie],tt.args))},ae)}function Js(R,H,ae){var Ie=R.length;if(Ie<2)return Ie?ya(R[0]):[];for(var tt=-1,vt=Ke(Ie);++tt<Ie;)for(var Rt=R[tt],qt=-1;++qt<Ie;)qt!=tt&&(vt[tt]=Qa(vt[tt]||Rt,R[qt],H,ae));return ya(Yi(vt,1),H,ae)}function ou(R,H,ae){for(var Ie=-1,tt=R.length,vt=H.length,Rt={};++Ie<tt;){var qt=Ie<vt?H[Ie]:o;ae(Rt,R[Ie],qt)}return Rt}function eo(R){return Fi(R)?R:[]}function to(R){return typeof R=="function"?R:Sn}function ba(R,H){return pi(R)?R:fo(R,H)?[R]:Ou(Ci(R))}var jf=bi;function _a(R,H,ae){var Ie=R.length;return ae=ae===o?Ie:ae,!H&&ae>=Ie?R:$n(R,H,ae)}var uu=wl||function(R){return ki.clearTimeout(R)};function lu(R,H){if(H)return R.slice();var ae=R.length,Ie=Po?Po(ae):new R.constructor(ae);return R.copy(Ie),Ie}function ro(R){var H=new R.constructor(R.byteLength);return new as(H).set(new as(R)),H}function $f(R,H){var ae=H?ro(R.buffer):R.buffer;return new R.constructor(ae,R.byteOffset,R.byteLength)}function Ff(R){var H=new R.constructor(R.source,Yt.exec(R));return H.lastIndex=R.lastIndex,H}function qf(R){return Ga?Zt(Ga.call(R)):{}}function fu(R,H){var ae=H?ro(R.buffer):R.buffer;return new R.constructor(ae,R.byteOffset,R.length)}function cu(R,H){if(R!==H){var ae=R!==o,Ie=R===null,tt=R===R,vt=Pn(R),Rt=H!==o,qt=H===null,Xt=H===H,Mr=Pn(H);if(!qt&&!Mr&&!vt&&R>H||vt&&Rt&&Xt&&!qt&&!Mr||Ie&&Rt&&Xt||!ae&&Xt||!tt)return 1;if(!Ie&&!vt&&!Mr&&R<H||Mr&&ae&&tt&&!Ie&&!vt||qt&&ae&&tt||!Rt&&tt||!Xt)return-1}return 0}function Nf(R,H,ae){for(var Ie=-1,tt=R.criteria,vt=H.criteria,Rt=tt.length,qt=ae.length;++Ie<Rt;){var Xt=cu(tt[Ie],vt[Ie]);if(Xt){if(Ie>=qt)return Xt;var Mr=ae[Ie];return Xt*(Mr=="desc"?-1:1)}}return R.index-H.index}function hu(R,H,ae,Ie){for(var tt=-1,vt=R.length,Rt=ae.length,qt=-1,Xt=H.length,Mr=zi(vt-Rt,0),Dr=Ke(Xt+Mr),Br=!Ie;++qt<Xt;)Dr[qt]=H[qt];for(;++tt<Rt;)(Br||tt<vt)&&(Dr[ae[tt]]=R[tt]);for(;Mr--;)Dr[qt++]=R[tt++];return Dr}function du(R,H,ae,Ie){for(var tt=-1,vt=R.length,Rt=-1,qt=ae.length,Xt=-1,Mr=H.length,Dr=zi(vt-qt,0),Br=Ke(Dr+Mr),Vr=!Ie;++tt<Dr;)Br[tt]=R[tt];for(var Zr=tt;++Xt<Mr;)Br[Zr+Xt]=H[Xt];for(;++Rt<qt;)(Vr||tt<vt)&&(Br[Zr+ae[Rt]]=R[tt++]);return Br}function _n(R,H){var ae=-1,Ie=R.length;for(H||(H=Ke(Ie));++ae<Ie;)H[ae]=R[ae];return H}function Xn(R,H,ae,Ie){var tt=!ae;ae||(ae={});for(var vt=-1,Rt=H.length;++vt<Rt;){var qt=H[vt],Xt=Ie?Ie(ae[qt],R[qt],qt,ae,R):o;Xt===o&&(Xt=R[qt]),tt?oa(ae,qt,Xt):Ka(ae,qt,Xt)}return ae}function zf(R,H){return Xn(R,lo(R),H)}function Uf(R,H){return Xn(R,ku(R),H)}function _s(R,H){return function(ae,Ie){var tt=pi(ae)?Ot:cf,vt=H?H():{};return tt(ae,R,ni(Ie,2),vt)}}function ja(R){return bi(function(H,ae){var Ie=-1,tt=ae.length,vt=tt>1?ae[tt-1]:o,Rt=tt>2?ae[2]:o;for(vt=R.length>3&&typeof vt=="function"?(tt--,vt):o,Rt&&hn(ae[0],ae[1],Rt)&&(vt=tt<3?o:vt,tt=1),H=Zt(H);++Ie<tt;){var qt=ae[Ie];qt&&R(H,qt,Ie,vt)}return H})}function pu(R,H){return function(ae,Ie){if(ae==null)return ae;if(!xn(ae))return R(ae,Ie);for(var tt=ae.length,vt=H?tt:-1,Rt=Zt(ae);(H?vt--:++vt<tt)&&Ie(Rt[vt],vt,Rt)!==!1;);return ae}}function mu(R){return function(H,ae,Ie){for(var tt=-1,vt=Zt(H),Rt=Ie(H),qt=Rt.length;qt--;){var Xt=Rt[R?qt:++tt];if(ae(vt[Xt],Xt,vt)===!1)break}return H}}function Hf(R,H,ae){var Ie=H&B,tt=Ja(R);function vt(){var Rt=this&&this!==ki&&this instanceof vt?tt:R;return Rt.apply(Ie?ae:this,arguments)}return vt}function gu(R){return function(H){H=Ci(H);var ae=Di(H)?it(H):o,Ie=ae?ae[0]:H.charAt(0),tt=ae?_a(ae,1).join(""):H.slice(1);return Ie[R]()+tt}}function $a(R){return function(H){return ci(gl(ml(H).replace(Er,"")),R,"")}}function Ja(R){return function(){var H=arguments;switch(H.length){case 0:return new R;case 1:return new R(H[0]);case 2:return new R(H[0],H[1]);case 3:return new R(H[0],H[1],H[2]);case 4:return new R(H[0],H[1],H[2],H[3]);case 5:return new R(H[0],H[1],H[2],H[3],H[4]);case 6:return new R(H[0],H[1],H[2],H[3],H[4],H[5]);case 7:return new R(H[0],H[1],H[2],H[3],H[4],H[5],H[6])}var ae=Oa(R.prototype),Ie=R.apply(ae,H);return Ri(Ie)?Ie:ae}}function Wf(R,H,ae){var Ie=Ja(R);function tt(){for(var vt=arguments.length,Rt=Ke(vt),qt=vt,Xt=Fa(tt);qt--;)Rt[qt]=arguments[qt];var Mr=vt<3&&Rt[0]!==Xt&&Rt[vt-1]!==Xt?[]:fn(Rt,Xt);if(vt-=Mr.length,vt<ae)return xu(R,H,xs,tt.placeholder,o,Rt,Mr,o,o,ae-vt);var Dr=this&&this!==ki&&this instanceof tt?Ie:R;return nt(Dr,this,Rt)}return tt}function vu(R){return function(H,ae,Ie){var tt=Zt(H);if(!xn(H)){var vt=ni(ae,3);H=Gi(H),ae=function(qt){return vt(tt[qt],qt,tt)}}var Rt=R(H,ae,Ie);return Rt>-1?tt[vt?H[Rt]:Rt]:o}}function yu(R){return la(function(H){var ae=H.length,Ie=ae,tt=On.prototype.thru;for(R&&H.reverse();Ie--;){var vt=H[Ie];if(typeof vt!="function")throw new ii(h);if(tt&&!Rt&&Es(vt)=="wrapper")var Rt=new On([],!0)}for(Ie=Rt?Ie:ae;++Ie<ae;){vt=H[Ie];var qt=Es(vt),Xt=qt=="wrapper"?oo(vt):o;Xt&&co(Xt[0])&&Xt[1]==(V|ee|re|le)&&!Xt[4].length&&Xt[9]==1?Rt=Rt[Es(Xt[0])].apply(Rt,Xt[3]):Rt=vt.length==1&&co(vt)?Rt[qt]():Rt.thru(vt)}return function(){var Mr=arguments,Dr=Mr[0];if(Rt&&Mr.length==1&&pi(Dr))return Rt.plant(Dr).value();for(var Br=0,Vr=ae?H[Br].apply(this,Mr):Dr;++Br<ae;)Vr=H[Br].call(this,Vr);return Vr}})}function xs(R,H,ae,Ie,tt,vt,Rt,qt,Xt,Mr){var Dr=H&V,Br=H&B,Vr=H&F,Zr=H&(ee|Z),ai=H&he,yi=Vr?o:Ja(R);function si(){for(var xi=arguments.length,Ti=Ke(xi),Dn=xi;Dn--;)Ti[Dn]=arguments[Dn];if(Zr)var dn=Fa(si),In=un(Ti,dn);if(Ie&&(Ti=hu(Ti,Ie,tt,Zr)),vt&&(Ti=du(Ti,vt,Rt,Zr)),xi-=In,Zr&&xi<Mr){var qi=fn(Ti,dn);return xu(R,H,xs,si.placeholder,ae,Ti,qi,qt,Xt,Mr-xi)}var Vn=Br?ae:this,da=Vr?Vn[R]:R;return xi=Ti.length,qt?Ti=hc(Ti,qt):ai&&xi>1&&Ti.reverse(),Dr&&Xt<xi&&(Ti.length=Xt),this&&this!==ki&&this instanceof si&&(da=yi||Ja(da)),da.apply(Vn,Ti)}return si}function bu(R,H){return function(ae,Ie){return bf(ae,R,H(Ie),{})}}function ws(R,H){return function(ae,Ie){var tt;if(ae===o&&Ie===o)return H;if(ae!==o&&(tt=ae),Ie!==o){if(tt===o)return Ie;typeof ae=="string"||typeof Ie=="string"?(ae=Mn(ae),Ie=Mn(Ie)):(ae=nu(ae),Ie=nu(Ie)),tt=R(ae,Ie)}return tt}}function io(R){return la(function(H){return H=Kr(H,Qi(ni())),bi(function(ae){var Ie=this;return R(H,function(tt){return nt(tt,Ie,ae)})})})}function Ss(R,H){H=H===o?" ":Mn(H);var ae=H.length;if(ae<2)return ae?Ys(H,R):H;var Ie=Ys(H,ls(R/Cn(H)));return Di(H)?_a(it(Ie),0,R).join(""):Ie.slice(0,R)}function Vf(R,H,ae,Ie){var tt=H&B,vt=Ja(R);function Rt(){for(var qt=-1,Xt=arguments.length,Mr=-1,Dr=Ie.length,Br=Ke(Dr+Xt),Vr=this&&this!==ki&&this instanceof Rt?vt:R;++Mr<Dr;)Br[Mr]=Ie[Mr];for(;Xt--;)Br[Mr++]=arguments[++qt];return nt(Vr,tt?ae:this,Br)}return Rt}function _u(R){return function(H,ae,Ie){return Ie&&typeof Ie!="number"&&hn(H,ae,Ie)&&(ae=Ie=o),H=ha(H),ae===o?(ae=H,H=0):ae=ha(ae),Ie=Ie===o?H<ae?1:-1:ha(Ie),Df(H,ae,Ie,R)}}function Ts(R){return function(H,ae){return typeof H=="string"&&typeof ae=="string"||(H=qn(H),ae=qn(ae)),R(H,ae)}}function xu(R,H,ae,Ie,tt,vt,Rt,qt,Xt,Mr){var Dr=H&ee,Br=Dr?Rt:o,Vr=Dr?o:Rt,Zr=Dr?vt:o,ai=Dr?o:vt;H|=Dr?re:fe,H&=~(Dr?fe:re),H&N||(H&=~(B|F));var yi=[R,H,tt,Zr,Br,ai,Vr,qt,Xt,Mr],si=ae.apply(o,yi);return co(R)&&Ru(si,yi),si.placeholder=Ie,Lu(si,R,H)}function no(R){var H=cr[R];return function(ae,Ie){if(ae=qn(ae),Ie=Ie==null?0:rn(mi(Ie),292),Ie&&Lo(ae)){var tt=(Ci(ae)+"e").split("e"),vt=H(tt[0]+"e"+(+tt[1]+Ie));return tt=(Ci(vt)+"e").split("e"),+(tt[0]+"e"+(+tt[1]-Ie))}return H(ae)}}var Gf=La&&1/Un(new La([,-0]))[1]==x?function(R){return new La(R)}:Ao;function wu(R){return function(H){var ae=nn(H);return ae==mt?pa(H):ae==at?Ta(H):kn(H,R(H))}}function ua(R,H,ae,Ie,tt,vt,Rt,qt){var Xt=H&F;if(!Xt&&typeof R!="function")throw new ii(h);var Mr=Ie?Ie.length:0;if(Mr||(H&=~(re|fe),Ie=tt=o),Rt=Rt===o?Rt:zi(mi(Rt),0),qt=qt===o?qt:mi(qt),Mr-=tt?tt.length:0,H&fe){var Dr=Ie,Br=tt;Ie=tt=o}var Vr=Xt?o:oo(R),Zr=[R,H,ae,Ie,tt,Dr,Br,vt,Rt,qt];if(Vr&&lc(Zr,Vr),R=Zr[0],H=Zr[1],ae=Zr[2],Ie=Zr[3],tt=Zr[4],qt=Zr[9]=Zr[9]===o?Xt?0:R.length:zi(Zr[9]-Mr,0),!qt&&H&(ee|Z)&&(H&=~(ee|Z)),!H||H==B)var ai=Hf(R,H,ae);else H==ee||H==Z?ai=Wf(R,H,qt):(H==re||H==(B|re))&&!tt.length?ai=Vf(R,H,ae,Ie):ai=xs.apply(o,Zr);var yi=Vr?ru:Ru;return Lu(yi(ai,Zr),R,H)}function Su(R,H,ae,Ie){return R===o||Wn(R,Bi[ae])&&!ui.call(Ie,ae)?H:R}function Tu(R,H,ae,Ie,tt,vt){return Ri(R)&&Ri(H)&&(vt.set(H,R),vs(R,H,o,Tu,vt),vt.delete(H)),R}function Kf(R){return rs(R)?o:R}function Eu(R,H,ae,Ie,tt,vt){var Rt=ae&I,qt=R.length,Xt=H.length;if(qt!=Xt&&!(Rt&&Xt>qt))return!1;var Mr=vt.get(R),Dr=vt.get(H);if(Mr&&Dr)return Mr==H&&Dr==R;var Br=-1,Vr=!0,Zr=ae&j?new Ca:o;for(vt.set(R,H),vt.set(H,R);++Br<qt;){var ai=R[Br],yi=H[Br];if(Ie)var si=Rt?Ie(yi,ai,Br,H,R,vt):Ie(ai,yi,Br,R,H,vt);if(si!==o){if(si)continue;Vr=!1;break}if(Zr){if(!Pi(H,function(xi,Ti){if(!ra(Zr,Ti)&&(ai===xi||tt(ai,xi,ae,Ie,vt)))return Zr.push(Ti)})){Vr=!1;break}}else if(!(ai===yi||tt(ai,yi,ae,Ie,vt))){Vr=!1;break}}return vt.delete(R),vt.delete(H),Vr}function Qf(R,H,ae,Ie,tt,vt,Rt){switch(ae){case Ct:if(R.byteLength!=H.byteLength||R.byteOffset!=H.byteOffset)return!1;R=R.buffer,H=H.buffer;case Et:return!(R.byteLength!=H.byteLength||!vt(new as(R),new as(H)));case z:case ie:case st:return Wn(+R,+H);case me:return R.name==H.name&&R.message==H.message;case ht:case bt:return R==H+"";case mt:var qt=pa;case at:var Xt=Ie&I;if(qt||(qt=Un),R.size!=H.size&&!Xt)return!1;var Mr=Rt.get(R);if(Mr)return Mr==H;Ie|=j,Rt.set(R,H);var Dr=Eu(qt(R),qt(H),Ie,tt,vt,Rt);return Rt.delete(R),Dr;case jt:if(Ga)return Ga.call(R)==Ga.call(H)}return!1}function Yf(R,H,ae,Ie,tt,vt){var Rt=ae&I,qt=ao(R),Xt=qt.length,Mr=ao(H),Dr=Mr.length;if(Xt!=Dr&&!Rt)return!1;for(var Br=Xt;Br--;){var Vr=qt[Br];if(!(Rt?Vr in H:ui.call(H,Vr)))return!1}var Zr=vt.get(R),ai=vt.get(H);if(Zr&&ai)return Zr==H&&ai==R;var yi=!0;vt.set(R,H),vt.set(H,R);for(var si=Rt;++Br<Xt;){Vr=qt[Br];var xi=R[Vr],Ti=H[Vr];if(Ie)var Dn=Rt?Ie(Ti,xi,Vr,H,R,vt):Ie(xi,Ti,Vr,R,H,vt);if(!(Dn===o?xi===Ti||tt(xi,Ti,ae,Ie,vt):Dn)){yi=!1;break}si||(si=Vr=="constructor")}if(yi&&!si){var dn=R.constructor,In=H.constructor;dn!=In&&"constructor"in R&&"constructor"in H&&!(typeof dn=="function"&&dn instanceof dn&&typeof In=="function"&&In instanceof In)&&(yi=!1)}return vt.delete(R),vt.delete(H),yi}function la(R){return po(Du(R,o,qu),R+"")}function ao(R){return Wo(R,Gi,lo)}function so(R){return Wo(R,wn,ku)}var oo=cs?function(R){return cs.get(R)}:Ao;function Es(R){for(var H=R.name+"",ae=Ba[H],Ie=ui.call(Ba,H)?ae.length:0;Ie--;){var tt=ae[Ie],vt=tt.func;if(vt==null||vt==R)return tt.name}return H}function Fa(R){var H=ui.call(ut,"placeholder")?ut:R;return H.placeholder}function ni(){var R=ut.iteratee||Eo;return R=R===Eo?Ko:R,arguments.length?R(arguments[0],arguments[1]):R}function ks(R,H){var ae=R.__data__;return ac(H)?ae[typeof H=="string"?"string":"hash"]:ae.map}function uo(R){for(var H=Gi(R),ae=H.length;ae--;){var Ie=H[ae],tt=R[Ie];H[ae]=[Ie,tt,Mu(tt)]}return H}function Da(R,H){var ae=Ni(R,H);return Go(ae)?ae:o}function Xf(R){var H=ui.call(R,ka),ae=R[ka];try{R[ka]=o;var Ie=!0}catch{}var tt=Ea.call(R);return Ie&&(H?R[ka]=ae:delete R[ka]),tt}var lo=Os?function(R){return R==null?[]:(R=Zt(R),yr(Os(R),function(H){return Io.call(R,H)}))}:Co,ku=Os?function(R){for(var H=[];R;)hi(H,lo(R)),R=ss(R);return H}:Co,nn=cn;(js&&nn(new js(new ArrayBuffer(1)))!=Ct||Ha&&nn(new Ha)!=mt||$s&&nn($s.resolve())!=lt||La&&nn(new La)!=at||Wa&&nn(new Wa)!=Qe)&&(nn=function(R){var H=cn(R),ae=H==Tt?R.constructor:o,Ie=ae?Ia(ae):"";if(Ie)switch(Ie){case Dl:return Ct;case Il:return mt;case Rl:return lt;case Ll:return at;case Bl:return Qe}return H});function Zf(R,H,ae){for(var Ie=-1,tt=ae.length;++Ie<tt;){var vt=ae[Ie],Rt=vt.size;switch(vt.type){case"drop":R+=Rt;break;case"dropRight":H-=Rt;break;case"take":H=rn(H,R+Rt);break;case"takeRight":R=zi(R,H-Rt);break}}return{start:R,end:H}}function Jf(R){var H=R.match(se);return H?H[1].split(Pe):[]}function Au(R,H,ae){H=ba(H,R);for(var Ie=-1,tt=H.length,vt=!1;++Ie<tt;){var Rt=Zn(H[Ie]);if(!(vt=R!=null&&ae(R,Rt)))break;R=R[Rt]}return vt||++Ie!=tt?vt:(tt=R==null?0:R.length,!!tt&&Rs(tt)&&fa(Rt,tt)&&(pi(R)||Ra(R)))}function tc(R){var H=R.length,ae=new R.constructor(H);return H&&typeof R[0]=="string"&&ui.call(R,"index")&&(ae.index=R.index,ae.input=R.input),ae}function Cu(R){return typeof R.constructor=="function"&&!es(R)?Oa(ss(R)):{}}function rc(R,H,ae){var Ie=R.constructor;switch(H){case Et:return ro(R);case z:case ie:return new Ie(+R);case Ct:return $f(R,ae);case Kt:case Me:case te:case _e:case je:case We:case et:case Ye:case De:return fu(R,ae);case mt:return new Ie;case st:case bt:return new Ie(R);case ht:return Ff(R);case at:return new Ie;case jt:return qf(R)}}function ic(R,H){var ae=H.length;if(!ae)return R;var Ie=ae-1;return H[Ie]=(ae>1?"& ":"")+H[Ie],H=H.join(ae>2?", ":" "),R.replace(ve,`{
 /* [wrapped with `+H+`] */
-`)}function sf(I){return wr(I)||rs(I)||!!($s&&I&&I[$s])}function Da(I,H){var se=typeof I;return H=H??S,!!H&&(se=="number"||se!="symbol"&&ni.test(I))&&I>-1&&I%1==0&&I<H}function Sn(I,H,se){if(!qr(se))return!1;var Re=typeof H;return(Re=="number"?Dn(se)&&Da(H,se.length):Re=="string"&&H in se)?ua(se[H],I):!1}function zo(I,H){if(wr(I))return!1;var se=typeof I;return se=="number"||se=="symbol"||se=="boolean"||I==null||On(I)?!0:Wt.test(I)||!kt.test(I)||H!=null&&I in Ui(H)}function of(I){var H=typeof I;return H=="string"||H=="number"||H=="symbol"||H=="boolean"?I!=="__proto__":I===null}function Uo(I){var H=Js(I),se=et[H];if(typeof se!="function"||!(H in Ar.prototype))return!1;if(I===se)return!0;var Re=Fo(se);return!!Re&&I===Re[0]}function uf(I){return!!ys&&ys in I}var lf=nn?Ia:su;function Cs(I){var H=I&&I.constructor,se=typeof H=="function"&&H.prototype||Vr;return I===se}function Ju(I){return I===I&&!qr(I)}function el(I,H){return function(se){return se==null?!1:se[I]===H&&(H!==n||I in Ui(se))}}function cf(I){var H=ao(I,function(Re){return se.size===C&&se.clear(),Re}),se=H.cache;return H}function ff(I,H){var se=I[1],Re=H[1],Ye=se|Re,ct=Ye<(F|O|Q),Dt=Re==Q&&se==Y||Re==Q&&se==ce&&I[7].length<=H[8]||Re==(Q|ce)&&H[7].length<=H[8]&&se==Y;if(!(ct||Dt))return I;Re&F&&(I[2]=H[2],Ye|=se&F?0:N);var qt=H[3];if(qt){var Jt=I[3];I[3]=Jt?Bu(Jt,qt,H[4]):qt,I[4]=Jt?xn(I[3],k):H[4]}return qt=H[5],qt&&(Jt=I[5],I[5]=Jt?ju(Jt,qt,H[6]):qt,I[6]=Jt?xn(I[5],k):H[6]),qt=H[7],qt&&(I[7]=qt),Re&Q&&(I[8]=I[8]==null?H[8]:an(I[8],H[8])),I[9]==null&&(I[9]=H[9]),I[0]=H[0],I[1]=Ye,I}function hf(I){var H=[];if(I!=null)for(var se in Ui(I))H.push(se);return H}function df(I){return Fa.call(I)}function tl(I,H,se){return H=Wr(H===n?I.length-1:H,0),function(){for(var Re=arguments,Ye=-1,ct=Wr(Re.length-H,0),Dt=Bt(ct);++Ye<ct;)Dt[Ye]=Re[H+Ye];Ye=-1;for(var qt=Bt(H+1);++Ye<H;)qt[Ye]=Re[Ye];return qt[H]=se(Dt),Ze(I,this,qt)}}function il(I,H){return H.length<2?I:es(I,Jn(H,0,-1))}function pf(I,H){for(var se=I.length,Re=an(H.length,se),Ye=Pn(I);Re--;){var ct=H[Re];I[Re]=Da(ct,se)?Ye[ct]:n}return I}function Ho(I,H){if(!(H==="constructor"&&typeof I[H]=="function")&&H!="__proto__")return I[H]}var rl=al(ku),As=qa||function(I,H){return $r.setTimeout(I,H)},Vo=al(Bc);function nl(I,H,se){var Re=H+"";return Vo(I,af(Re,mf(tf(Re),se)))}function al(I){var H=0,se=0;return function(){var Re=po(),Ye=v-(Re-se);if(se=Re,Ye>0){if(++H>=d)return arguments[0]}else H=0;return I.apply(n,arguments)}}function to(I,H){var se=-1,Re=I.length,Ye=Re-1;for(H=H===n?Re:H;++se<H;){var ct=Co(se,Ye),Dt=I[ct];I[ct]=I[se],I[se]=Dt}return I.length=H,I}var ol=cf(function(I){var H=[];return I.charCodeAt(0)===46&&H.push(""),I.replace(Zi,function(se,Re,Ye,ct){H.push(Ye?ct.replace(at,"$1"):Re||se)}),H});function ba(I){if(typeof I=="string"||On(I))return I;var H=I+"";return H=="0"&&1/I==-x?"-0":H}function is(I){if(I!=null){try{return Mn.call(I)}catch{}try{return I+""}catch{}}return""}function mf(I,H){return St(V,function(se){var Re="_."+se[0];H&se[1]&&!ri(I,Re)&&I.push(Re)}),I.sort()}function ul(I){if(I instanceof Ar)return I.clone();var H=new Xr(I.__wrapped__,I.__chain__);return H.__actions__=Pn(I.__actions__),H.__index__=I.__index__,H.__values__=I.__values__,H}function gf(I,H,se){(se?Sn(I,H,se):H===n)?H=1:H=Wr(kr(H),0);var Re=I==null?0:I.length;if(!Re||H<1)return[];for(var Ye=0,ct=0,Dt=Bt(Rr(Re/H));Ye<Re;)Dt[ct++]=Jn(I,Ye,Ye+=H);return Dt}function vf(I){for(var H=-1,se=I==null?0:I.length,Re=0,Ye=[];++H<se;){var ct=I[H];ct&&(Ye[Re++]=ct)}return Ye}function yf(){var I=arguments.length;if(!I)return[];for(var H=Bt(I-1),se=arguments[0],Re=I;Re--;)H[Re-1]=arguments[Re];return yr(wr(se)?Pn(se):[se],dn(H,1))}var bf=Mr(function(I,H){return Gr(I)?ws(I,dn(H,1,Gr,!0)):[]}),_f=Mr(function(I,H){var se=ea(H);return Gr(se)&&(se=n),Gr(I)?ws(I,dn(H,1,Gr,!0),cr(se,2)):[]}),xf=Mr(function(I,H){var se=ea(H);return Gr(se)&&(se=n),Gr(I)?ws(I,dn(H,1,Gr,!0),n,se):[]});function wf(I,H,se){var Re=I==null?0:I.length;return Re?(H=se||H===n?1:kr(H),Jn(I,H<0?0:H,Re)):[]}function Sf(I,H,se){var Re=I==null?0:I.length;return Re?(H=se||H===n?1:kr(H),H=Re-H,Jn(I,0,H<0?0:H)):[]}function Tf(I,H){return I&&I.length?Gs(I,cr(H,3),!0,!0):[]}function Ef(I,H){return I&&I.length?Gs(I,cr(H,3),!0):[]}function kf(I,H,se,Re){var Ye=I==null?0:I.length;return Ye?(se&&typeof se!="number"&&Sn(I,H,se)&&(se=0,Re=Ye),vc(I,H,se,Re)):[]}function ll(I,H,se){var Re=I==null?0:I.length;if(!Re)return-1;var Ye=se==null?0:kr(se);return Ye<0&&(Ye=Wr(Re+Ye,0)),Sr(I,cr(H,3),Ye)}function cl(I,H,se){var Re=I==null?0:I.length;if(!Re)return-1;var Ye=Re-1;return se!==n&&(Ye=kr(se),Ye=se<0?Wr(Re+Ye,0):an(Ye,Re-1)),Sr(I,cr(H,3),Ye,!0)}function fl(I){var H=I==null?0:I.length;return H?dn(I,1):[]}function Cf(I){var H=I==null?0:I.length;return H?dn(I,x):[]}function Af(I,H){var se=I==null?0:I.length;return se?(H=H===n?1:kr(H),dn(I,H)):[]}function Mf(I){for(var H=-1,se=I==null?0:I.length,Re={};++H<se;){var Ye=I[H];Re[Ye[0]]=Ye[1]}return Re}function dl(I){return I&&I.length?I[0]:n}function Pf(I,H,se){var Re=I==null?0:I.length;if(!Re)return-1;var Ye=se==null?0:kr(se);return Ye<0&&(Ye=Wr(Re+Ye,0)),Lr(I,H,Ye)}function Df(I){var H=I==null?0:I.length;return H?Jn(I,0,-1):[]}var If=Mr(function(I){var H=Ki(I,Io);return H.length&&H[0]===I[0]?wo(H):[]}),Rf=Mr(function(I){var H=ea(I),se=Ki(I,Io);return H===ea(se)?H=n:se.pop(),se.length&&se[0]===I[0]?wo(se,cr(H,2)):[]}),$f=Mr(function(I){var H=ea(I),se=Ki(I,Io);return H=typeof H=="function"?H:n,H&&se.pop(),se.length&&se[0]===I[0]?wo(se,n,H):[]});function Lf(I,H){return I==null?"":js.call(I,H)}function ea(I){var H=I==null?0:I.length;return H?I[H-1]:n}function Bf(I,H,se){var Re=I==null?0:I.length;if(!Re)return-1;var Ye=Re;return se!==n&&(Ye=kr(se),Ye=Ye<0?Wr(Re+Ye,0):an(Ye,Re-1)),H===H?Oa(I,H,Ye):Sr(I,La,Ye,!0)}function jf(I,H){return I&&I.length?wu(I,kr(H)):n}var Of=Mr(pl);function pl(I,H){return I&&I.length&&H&&H.length?ko(I,H):I}function Ff(I,H,se){return I&&I.length&&H&&H.length?ko(I,H,cr(se,2)):I}function Nf(I,H,se){return I&&I.length&&H&&H.length?ko(I,H,n,se):I}var qf=Pa(function(I,H){var se=I==null?0:I.length,Re=yo(I,H);return Eu(I,Ki(H,function(Ye){return Da(Ye,se)?+Ye:Ye}).sort(Lu)),Re});function zf(I,H){var se=[];if(!(I&&I.length))return se;var Re=-1,Ye=[],ct=I.length;for(H=cr(H,3);++Re<ct;){var Dt=I[Re];H(Dt,Re,I)&&(se.push(Dt),Ye.push(Re))}return Eu(I,Ye),se}function Wo(I){return I==null?I:go.call(I)}function Uf(I,H,se){var Re=I==null?0:I.length;return Re?(se&&typeof se!="number"&&Sn(I,H,se)?(H=0,se=Re):(H=H==null?0:kr(H),se=se===n?Re:kr(se)),Jn(I,H,se)):[]}function Hf(I,H){return Ws(I,H)}function Vf(I,H,se){return Mo(I,H,cr(se,2))}function Wf(I,H){var se=I==null?0:I.length;if(se){var Re=Ws(I,H);if(Re<se&&ua(I[Re],H))return Re}return-1}function Gf(I,H){return Ws(I,H,!0)}function Kf(I,H,se){return Mo(I,H,cr(se,2),!0)}function Qf(I,H){var se=I==null?0:I.length;if(se){var Re=Ws(I,H,!0)-1;if(ua(I[Re],H))return Re}return-1}function Yf(I){return I&&I.length?Cu(I):[]}function Xf(I,H){return I&&I.length?Cu(I,cr(H,2)):[]}function Zf(I){var H=I==null?0:I.length;return H?Jn(I,1,H):[]}function Jf(I,H,se){return I&&I.length?(H=se||H===n?1:kr(H),Jn(I,0,H<0?0:H)):[]}function eh(I,H,se){var Re=I==null?0:I.length;return Re?(H=se||H===n?1:kr(H),H=Re-H,Jn(I,H<0?0:H,Re)):[]}function th(I,H){return I&&I.length?Gs(I,cr(H,3),!1,!0):[]}function ih(I,H){return I&&I.length?Gs(I,cr(H,3)):[]}var nh=Mr(function(I){return Ua(dn(I,1,Gr,!0))}),ah=Mr(function(I){var H=ea(I);return Gr(H)&&(H=n),Ua(dn(I,1,Gr,!0),cr(H,2))}),oh=Mr(function(I){var H=ea(I);return H=typeof H=="function"?H:n,Ua(dn(I,1,Gr,!0),n,H)});function uh(I){return I&&I.length?Ua(I):[]}function lh(I,H){return I&&I.length?Ua(I,cr(H,2)):[]}function fh(I,H){return H=typeof H=="function"?H:n,I&&I.length?Ua(I,n,H):[]}function Go(I){if(!(I&&I.length))return[];var H=0;return I=bi(I,function(se){if(Gr(se))return H=Wr(se.length,H),!0}),ha(H,function(se){return Ki(I,ra(se))})}function ml(I,H){if(!(I&&I.length))return[];var se=Go(I);return H==null?se:Ki(se,function(Re){return Ze(H,n,Re)})}var hh=Mr(function(I,H){return Gr(I)?ws(I,H):[]}),ph=Mr(function(I){return Do(bi(I,Gr))}),mh=Mr(function(I){var H=ea(I);return Gr(H)&&(H=n),Do(bi(I,Gr),cr(H,2))}),gh=Mr(function(I){var H=ea(I);return H=typeof H=="function"?H:n,Do(bi(I,Gr),n,H)}),vh=Mr(Go);function yh(I,H){return Du(I||[],H||[],xs)}function bh(I,H){return Du(I||[],H||[],Es)}var _h=Mr(function(I){var H=I.length,se=H>1?I[H-1]:n;return se=typeof se=="function"?(I.pop(),se):n,ml(I,se)});function gl(I){var H=et(I);return H.__chain__=!0,H}function xh(I,H){return H(I),I}function io(I,H){return H(I)}var wh=Pa(function(I){var H=I.length,se=H?I[0]:0,Re=this.__wrapped__,Ye=function(ct){return yo(ct,I)};return H>1||this.__actions__.length||!(Re instanceof Ar)||!Da(se)?this.thru(Ye):(Re=Re.slice(se,+se+(H?1:0)),Re.__actions__.push({func:io,args:[Ye],thisArg:n}),new Xr(Re,this.__chain__).thru(function(ct){return H&&!ct.length&&ct.push(n),ct}))});function Sh(){return gl(this)}function Th(){return new Xr(this.value(),this.__chain__)}function Eh(){this.__values__===n&&(this.__values__=Pl(this.value()));var I=this.__index__>=this.__values__.length,H=I?n:this.__values__[this.__index__++];return{done:I,value:H}}function kh(){return this}function Ah(I){for(var H,se=this;se instanceof hn;){var Re=ul(se);Re.__index__=0,Re.__values__=n,H?Ye.__wrapped__=Re:H=Re;var Ye=Re;se=se.__wrapped__}return Ye.__wrapped__=I,H}function Mh(){var I=this.__wrapped__;if(I instanceof Ar){var H=I;return this.__actions__.length&&(H=new Ar(this)),H=H.reverse(),H.__actions__.push({func:io,args:[Wo],thisArg:n}),new Xr(H,this.__chain__)}return this.thru(Wo)}function Ph(){return Pu(this.__wrapped__,this.__actions__)}var Dh=Ks(function(I,H,se){vr.call(I,se)?++I[se]:Aa(I,se,1)});function Ih(I,H,se){var Re=wr(I)?di:gc;return se&&Sn(I,H,se)&&(H=n),Re(I,cr(H,3))}function Rh(I,H){var se=wr(I)?bi:du;return se(I,cr(H,3))}var $h=qu(ll),Lh=qu(cl);function Bh(I,H){return dn(ro(I,H),1)}function jh(I,H){return dn(ro(I,H),x)}function Oh(I,H,se){return se=se===n?1:kr(se),dn(ro(I,H),se)}function vl(I,H){var se=wr(I)?St:za;return se(I,cr(H,3))}function yl(I,H){var se=wr(I)?Kt:hu;return se(I,cr(H,3))}var Fh=Ks(function(I,H,se){vr.call(I,se)?I[se].push(H):Aa(I,se,[H])});function Nh(I,H,se,Re){I=Dn(I)?I:ps(I),se=se&&!Re?kr(se):0;var Ye=I.length;return se<0&&(se=Wr(Ye+se,0)),uo(I)?se<=Ye&&I.indexOf(H,se)>-1:!!Ye&&Lr(I,H,se)>-1}var qh=Mr(function(I,H,se){var Re=-1,Ye=typeof H=="function",ct=Dn(I)?Bt(I.length):[];return za(I,function(Dt){ct[++Re]=Ye?Ze(H,Dt,se):Ss(Dt,H,se)}),ct}),zh=Ks(function(I,H,se){Aa(I,se,H)});function ro(I,H){var se=wr(I)?Ki:bu;return se(I,cr(H,3))}function Uh(I,H,se,Re){return I==null?[]:(wr(H)||(H=H==null?[]:[H]),se=Re?n:se,wr(se)||(se=se==null?[]:[se]),Su(I,H,se))}var Hh=Ks(function(I,H,se){I[se?0:1].push(H)},function(){return[[],[]]});function Vh(I,H,se){var Re=wr(I)?fr:Ln,Ye=arguments.length<3;return Re(I,cr(H,4),se,Ye,za)}function Wh(I,H,se){var Re=wr(I)?Or:Ln,Ye=arguments.length<3;return Re(I,cr(H,4),se,Ye,hu)}function Gh(I,H){var se=wr(I)?bi:du;return se(I,so(cr(H,3)))}function Qh(I){var H=wr(I)?uu:$c;return H(I)}function Yh(I,H,se){(se?Sn(I,H,se):H===n)?H=1:H=kr(H);var Re=wr(I)?fc:Lc;return Re(I,H)}function Xh(I){var H=wr(I)?hc:jc;return H(I)}function Zh(I){if(I==null)return 0;if(Dn(I))return uo(I)?Kn(I):I.length;var H=gn(I);return H==lt||H==rt?I.size:To(I).length}function Jh(I,H,se){var Re=wr(I)?jr:Oc;return se&&Sn(I,H,se)&&(H=n),Re(I,cr(H,3))}var ed=Mr(function(I,H){if(I==null)return[];var se=H.length;return se>1&&Sn(I,H[0],H[1])?H=[]:se>2&&Sn(H[0],H[1],H[2])&&(H=[H[0]]),Su(I,dn(H,1),[])}),no=Ls||function(){return $r.Date.now()};function td(I,H){if(typeof H!="function")throw new Er(m);return I=kr(I),function(){if(--I<1)return H.apply(this,arguments)}}function bl(I,H,se){return H=se?n:H,H=I&&H==null?I.length:H,Ma(I,Q,n,n,n,n,H)}function _l(I,H){var se;if(typeof H!="function")throw new Er(m);return I=kr(I),function(){return--I>0&&(se=H.apply(this,arguments)),I<=1&&(H=n),se}}var Ko=Mr(function(I,H,se){var Re=F;if(se.length){var Ye=xn(se,hs(Ko));Re|=ie}return Ma(I,Re,H,se,Ye)}),xl=Mr(function(I,H,se){var Re=F|O;if(se.length){var Ye=xn(se,hs(xl));Re|=ie}return Ma(H,Re,I,se,Ye)});function wl(I,H,se){H=se?n:H;var Re=Ma(I,Y,n,n,n,n,n,H);return Re.placeholder=wl.placeholder,Re}function Sl(I,H,se){H=se?n:H;var Re=Ma(I,J,n,n,n,n,n,H);return Re.placeholder=Sl.placeholder,Re}function Tl(I,H,se){var Re,Ye,ct,Dt,qt,Jt,Ri=0,Li=!1,Oi=!1,Qi=!0;if(typeof I!="function")throw new Er(m);H=ta(H)||0,qr(se)&&(Li=!!se.leading,Oi="maxWait"in se,ct=Oi?Wr(ta(se.maxWait)||0,H):ct,Qi="trailing"in se?!!se.trailing:Qi);function rr(Kr){var la=Re,$a=Ye;return Re=Ye=n,Ri=Kr,Dt=I.apply($a,la),Dt}function dr(Kr){return Ri=Kr,qt=As(Pr,H),Li?rr(Kr):Dt}function Cr(Kr){var la=Kr-Jt,$a=Kr-Ri,Hl=H-la;return Oi?an(Hl,ct-$a):Hl}function pr(Kr){var la=Kr-Jt,$a=Kr-Ri;return Jt===n||la>=H||la<0||Oi&&$a>=ct}function Pr(){var Kr=no();if(pr(Kr))return Dr(Kr);qt=As(Pr,Cr(Kr))}function Dr(Kr){return qt=n,Qi&&Re?rr(Kr):(Re=Ye=n,Dt)}function Nn(){qt!==n&&Iu(qt),Ri=0,Re=Jt=Ye=qt=n}function Tn(){return qt===n?Dt:Dr(no())}function qn(){var Kr=no(),la=pr(Kr);if(Re=arguments,Ye=this,Jt=Kr,la){if(qt===n)return dr(Jt);if(Oi)return Iu(qt),qt=As(Pr,H),rr(Jt)}return qt===n&&(qt=As(Pr,H)),Dt}return qn.cancel=Nn,qn.flush=Tn,qn}var id=Mr(function(I,H){return fu(I,1,H)}),rd=Mr(function(I,H,se){return fu(I,ta(H)||0,se)});function nd(I){return Ma(I,he)}function ao(I,H){if(typeof I!="function"||H!=null&&typeof H!="function")throw new Er(m);var se=function(){var Re=arguments,Ye=H?H.apply(this,Re):Re[0],ct=se.cache;if(ct.has(Ye))return ct.get(Ye);var Dt=I.apply(this,Re);return se.cache=ct.set(Ye,Dt)||ct,Dt};return se.cache=new(ao.Cache||Ca),se}ao.Cache=Ca;function so(I){if(typeof I!="function")throw new Er(m);return function(){var H=arguments;switch(H.length){case 0:return!I.call(this);case 1:return!I.call(this,H[0]);case 2:return!I.call(this,H[0],H[1]);case 3:return!I.call(this,H[0],H[1],H[2])}return!I.apply(this,H)}}function ad(I){return _l(2,I)}var sd=Fc(function(I,H){H=H.length==1&&wr(H[0])?Ki(H[0],ln(cr())):Ki(dn(H,1),ln(cr()));var se=H.length;return Mr(function(Re){for(var Ye=-1,ct=an(Re.length,se);++Ye<ct;)Re[Ye]=H[Ye].call(this,Re[Ye]);return Ze(I,this,Re)})}),Qo=Mr(function(I,H){var se=xn(H,hs(Qo));return Ma(I,ie,n,H,se)}),El=Mr(function(I,H){var se=xn(H,hs(El));return Ma(I,ue,n,H,se)}),od=Pa(function(I,H){return Ma(I,ce,n,n,n,H)});function ud(I,H){if(typeof I!="function")throw new Er(m);return H=H===n?H:kr(H),Mr(I,H)}function ld(I,H){if(typeof I!="function")throw new Er(m);return H=H==null?0:Wr(kr(H),0),Mr(function(se){var Re=se[H],Ye=Va(se,0,H);return Re&&yr(Ye,Re),Ze(I,this,Ye)})}function cd(I,H,se){var Re=!0,Ye=!0;if(typeof I!="function")throw new Er(m);return qr(se)&&(Re="leading"in se?!!se.leading:Re,Ye="trailing"in se?!!se.trailing:Ye),Tl(I,H,{leading:Re,maxWait:H,trailing:Ye})}function fd(I){return bl(I,1)}function hd(I,H){return Qo(Ro(H),I)}function dd(){if(!arguments.length)return[];var I=arguments[0];return wr(I)?I:[I]}function pd(I){return Zn(I,P)}function md(I,H){return H=typeof H=="function"?H:n,Zn(I,P,H)}function gd(I){return Zn(I,A|P)}function vd(I,H){return H=typeof H=="function"?H:n,Zn(I,A|P,H)}function yd(I,H){return H==null||cu(I,H,sn(H))}function ua(I,H){return I===H||I!==I&&H!==H}var bd=Zs(xo),_d=Zs(function(I,H){return I>=H}),rs=gu(function(){return arguments}())?gu:function(I){return Ur(I)&&vr.call(I,"callee")&&!Rs.call(I,"callee")},wr=Bt.isArray,xd=X?ln(X):wc;function Dn(I){return I!=null&&oo(I.length)&&!Ia(I)}function Gr(I){return Ur(I)&&Dn(I)}function wd(I){return I===!0||I===!1||Ur(I)&&wn(I)==z}var Wa=Xn||su,Sd=ae?ln(ae):Sc;function Td(I){return Ur(I)&&I.nodeType===1&&!Ms(I)}function Ed(I){if(I==null)return!0;if(Dn(I)&&(wr(I)||typeof I=="string"||typeof I.splice=="function"||Wa(I)||ds(I)||rs(I)))return!I.length;var H=gn(I);if(H==lt||H==rt)return!I.size;if(Cs(I))return!To(I).length;for(var se in I)if(vr.call(I,se))return!1;return!0}function kd(I,H){return Ts(I,H)}function Cd(I,H,se){se=typeof se=="function"?se:n;var Re=se?se(I,H):n;return Re===n?Ts(I,H,n,se):!!Re}function Yo(I){if(!Ur(I))return!1;var H=wn(I);return H==me||H==fe||typeof I.message=="string"&&typeof I.name=="string"&&!Ms(I)}function Ad(I){return typeof I=="number"&&Bs(I)}function Ia(I){if(!qr(I))return!1;var H=wn(I);return H==de||H==Oe||H==U||H==Je}function kl(I){return typeof I=="number"&&I==kr(I)}function oo(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=S}function qr(I){var H=typeof I;return I!=null&&(H=="object"||H=="function")}function Ur(I){return I!=null&&typeof I=="object"}var Cl=Te?ln(Te):Ec;function Md(I,H){return I===H||So(I,H,No(H))}function Pd(I,H,se){return se=typeof se=="function"?se:n,So(I,H,No(H),se)}function Dd(I){return Al(I)&&I!=+I}function Id(I){if(lf(I))throw new Mi(l);return vu(I)}function Rd(I){return I===null}function $d(I){return I==null}function Al(I){return typeof I=="number"||Ur(I)&&wn(I)==it}function Ms(I){if(!Ur(I)||wn(I)!=Ct)return!1;var H=Ta(I);if(H===null)return!0;var se=vr.call(H,"constructor")&&H.constructor;return typeof se=="function"&&se instanceof se&&Mn.call(se)==Ds}var Xo=Pe?ln(Pe):kc;function Ld(I){return kl(I)&&I>=-S&&I<=S}var Ml=ze?ln(ze):Cc;function uo(I){return typeof I=="string"||!wr(I)&&Ur(I)&&wn(I)==ht}function On(I){return typeof I=="symbol"||Ur(I)&&wn(I)==jt}var ds=He?ln(He):Ac;function Bd(I){return I===n}function jd(I){return Ur(I)&&gn(I)==We}function Od(I){return Ur(I)&&wn(I)==Gt}var Fd=Zs(Eo),Nd=Zs(function(I,H){return I<=H});function Pl(I){if(!I)return[];if(Dn(I))return uo(I)?fn(I):Pn(I);if(Xa&&I[Xa])return Wn(I[Xa]());var H=gn(I),se=H==lt?Gn:H==rt?aa:ps;return se(I)}function Ra(I){if(!I)return I===0?I:0;if(I=ta(I),I===x||I===-x){var H=I<0?-1:1;return H*b}return I===I?I:0}function kr(I){var H=Ra(I),se=H%1;return H===H?se?H-se:H:0}function Dl(I){return I?Ja(kr(I),0,T):0}function ta(I){if(typeof I=="number")return I;if(On(I))return h;if(qr(I)){var H=typeof I.valueOf=="function"?I.valueOf():I;I=qr(H)?H+"":H}if(typeof I!="string")return I===0?I:+I;I=An(I);var se=Bi.test(I);return se||Di.test(I)?ca(I.slice(2),se?2:8):ii.test(I)?h:+I}function Il(I){return ya(I,In(I))}function qd(I){return I?Ja(kr(I),-S,S):I===0?I:0}function Br(I){return I==null?"":jn(I)}var zd=cs(function(I,H){if(Cs(H)||Dn(H)){ya(H,sn(H),I);return}for(var se in H)vr.call(H,se)&&xs(I,se,H[se])}),Rl=cs(function(I,H){ya(H,In(H),I)}),lo=cs(function(I,H,se,Re){ya(H,In(H),I,Re)}),Ud=cs(function(I,H,se,Re){ya(H,sn(H),I,Re)}),Hd=Pa(yo);function Vd(I,H){var se=Fr(I);return H==null?se:lu(se,H)}var Wd=Mr(function(I,H){I=Ui(I);var se=-1,Re=H.length,Ye=Re>2?H[2]:n;for(Ye&&Sn(H[0],H[1],Ye)&&(Re=1);++se<Re;)for(var ct=H[se],Dt=In(ct),qt=-1,Jt=Dt.length;++qt<Jt;){var Ri=Dt[qt],Li=I[Ri];(Li===n||ua(Li,Vr[Ri])&&!vr.call(I,Ri))&&(I[Ri]=ct[Ri])}return I}),Gd=Mr(function(I){return I.push(n,Ku),Ze($l,n,I)});function Kd(I,H){return $n(I,cr(H,3),va)}function Qd(I,H){return $n(I,cr(H,3),_o)}function Yd(I,H){return I==null?I:bo(I,cr(H,3),In)}function Xd(I,H){return I==null?I:pu(I,cr(H,3),In)}function Zd(I,H){return I&&va(I,cr(H,3))}function Jd(I,H){return I&&_o(I,cr(H,3))}function ep(I){return I==null?[]:Hs(I,sn(I))}function tp(I){return I==null?[]:Hs(I,In(I))}function Zo(I,H,se){var Re=I==null?n:es(I,H);return Re===n?se:Re}function ip(I,H){return I!=null&&Xu(I,H,yc)}function Jo(I,H){return I!=null&&Xu(I,H,bc)}var rp=Uu(function(I,H,se){H!=null&&typeof H.toString!="function"&&(H=Fa.call(H)),I[H]=se},tu(Rn)),np=Uu(function(I,H,se){H!=null&&typeof H.toString!="function"&&(H=Fa.call(H)),vr.call(I,H)?I[H].push(se):I[H]=[se]},cr),ap=Mr(Ss);function sn(I){return Dn(I)?ou(I):To(I)}function In(I){return Dn(I)?ou(I,!0):Mc(I)}function sp(I,H){var se={};return H=cr(H,3),va(I,function(Re,Ye,ct){Aa(se,H(Re,Ye,ct),Re)}),se}function op(I,H){var se={};return H=cr(H,3),va(I,function(Re,Ye,ct){Aa(se,Ye,H(Re,Ye,ct))}),se}var up=cs(function(I,H,se){Vs(I,H,se)}),$l=cs(function(I,H,se,Re){Vs(I,H,se,Re)}),lp=Pa(function(I,H){var se={};if(I==null)return se;var Re=!1;H=Ki(H,function(ct){return ct=Ha(ct,I),Re||(Re=ct.length>1),ct}),ya(I,Oo(I),se),Re&&(se=Zn(se,A|D|P,Yc));for(var Ye=H.length;Ye--;)Po(se,H[Ye]);return se});function cp(I,H){return Ll(I,so(cr(H)))}var fp=Pa(function(I,H){return I==null?{}:Dc(I,H)});function Ll(I,H){if(I==null)return{};var se=Ki(Oo(I),function(Re){return[Re]});return H=cr(H),Tu(I,se,function(Re,Ye){return H(Re,Ye[0])})}function hp(I,H,se){H=Ha(H,I);var Re=-1,Ye=H.length;for(Ye||(Ye=1,I=n);++Re<Ye;){var ct=I==null?n:I[ba(H[Re])];ct===n&&(Re=Ye,ct=se),I=Ia(ct)?ct.call(I):ct}return I}function dp(I,H,se){return I==null?I:Es(I,H,se)}function pp(I,H,se,Re){return Re=typeof Re=="function"?Re:n,I==null?I:Es(I,H,se,Re)}var Bl=Wu(sn),jl=Wu(In);function mp(I,H,se){var Re=wr(I),Ye=Re||Wa(I)||ds(I);if(H=cr(H,4),se==null){var ct=I&&I.constructor;Ye?se=Re?new ct:[]:qr(I)?se=Ia(ct)?Fr(Ta(I)):{}:se={}}return(Ye?St:va)(I,function(Dt,qt,Jt){return H(se,Dt,qt,Jt)}),se}function gp(I,H){return I==null?!0:Po(I,H)}function vp(I,H,se){return I==null?I:Mu(I,H,Ro(se))}function yp(I,H,se,Re){return Re=typeof Re=="function"?Re:n,I==null?I:Mu(I,H,Ro(se),Re)}function ps(I){return I==null?[]:Ba(I,sn(I))}function bp(I){return I==null?[]:Ba(I,In(I))}function _p(I,H,se){return se===n&&(se=H,H=n),se!==n&&(se=ta(se),se=se===se?se:0),H!==n&&(H=ta(H),H=H===H?H:0),Ja(ta(I),H,se)}function xp(I,H,se){return H=Ra(H),se===n?(se=H,H=0):se=Ra(se),I=ta(I),_c(I,H,se)}function wp(I,H,se){if(se&&typeof se!="boolean"&&Sn(I,H,se)&&(H=se=n),se===n&&(typeof H=="boolean"?(se=H,H=n):typeof I=="boolean"&&(se=I,I=n)),I===n&&H===n?(I=0,H=1):(I=Ra(I),H===n?(H=I,I=0):H=Ra(H)),I>H){var Re=I;I=H,H=Re}if(se||I%1||H%1){var Ye=Os();return an(I+Ye*(H-I+yn("1e-"+((Ye+"").length-1))),H)}return Co(I,H)}var Sp=fs(function(I,H,se){return H=H.toLowerCase(),I+(se?Ol(H):H)});function Ol(I){return eu(Br(I).toLowerCase())}function Fl(I){return I=Br(I),I&&I.replace(pi,na).replace($i,"")}function Tp(I,H,se){I=Br(I),H=jn(H);var Re=I.length;se=se===n?Re:Ja(kr(se),0,Re);var Ye=se;return se-=H.length,se>=0&&I.slice(se,Ye)==H}function Ep(I){return I=Br(I),I&&vt.test(I)?I.replace(pt,gs):I}function kp(I){return I=Br(I),I&&Xt.test(I)?I.replace(Ut,"\\$&"):I}var Cp=fs(function(I,H,se){return I+(se?"-":"")+H.toLowerCase()}),Ap=fs(function(I,H,se){return I+(se?" ":"")+H.toLowerCase()}),Mp=Nu("toLowerCase");function Pp(I,H,se){I=Br(I),H=kr(H);var Re=H?Kn(I):0;if(!H||Re>=H)return I;var Ye=(H-Re)/2;return Xs(Yn(Ye),se)+I+Xs(Rr(Ye),se)}function Dp(I,H,se){I=Br(I),H=kr(H);var Re=H?Kn(I):0;return H&&Re<H?I+Xs(H-Re,se):I}function Ip(I,H,se){I=Br(I),H=kr(H);var Re=H?Kn(I):0;return H&&Re<H?Xs(H-Re,se)+I:I}function Rp(I,H,se){return se||H==null?H=0:H&&(H=+H),mo(Br(I).replace(Be,""),H||0)}function $p(I,H,se){return(se?Sn(I,H,se):H===n)?H=1:H=kr(H),Ao(Br(I),H)}function Lp(){var I=arguments,H=Br(I[0]);return I.length<3?H:H.replace(I[1],I[2])}var Bp=fs(function(I,H,se){return I+(se?"_":"")+H.toLowerCase()});function jp(I,H,se){return se&&typeof se!="number"&&Sn(I,H,se)&&(H=se=n),se=se===n?T:se>>>0,se?(I=Br(I),I&&(typeof H=="string"||H!=null&&!Xo(H))&&(H=jn(H),!H&&cn(I))?Va(fn(I),0,se):I.split(H,se)):[]}var Op=fs(function(I,H,se){return I+(se?" ":"")+eu(H)});function Fp(I,H,se){return I=Br(I),se=se==null?0:Ja(kr(se),0,I.length),H=jn(H),I.slice(se,se+H.length)==H}function Np(I,H,se){var Re=et.templateSettings;se&&Sn(I,H,se)&&(H=n),I=Br(I),H=lo({},H,Re,Gu);var Ye=lo({},H.imports,Re.imports,Gu),ct=sn(Ye),Dt=Ba(Ye,ct),qt,Jt,Ri=0,Li=H.interpolate||Ii,Oi="__p += '",Qi=gr((H.escape||Ii).source+"|"+Li.source+"|"+(Li===fi?gt:Ii).source+"|"+(H.evaluate||Ii).source+"|$","g"),rr="//# sourceURL="+(vr.call(H,"sourceURL")?(H.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Un+"]")+`
-`;I.replace(Qi,function(pr,Pr,Dr,Nn,Tn,qn){return Dr||(Dr=Nn),Oi+=I.slice(Ri,qn).replace(Ci,ns),Pr&&(qt=!0,Oi+=`' +
-__e(`+Pr+`) +
-'`),Tn&&(Jt=!0,Oi+=`';
-`+Tn+`;
-__p += '`),Dr&&(Oi+=`' +
-((__t = (`+Dr+`)) == null ? '' : __t) +
-'`),Ri=qn+pr.length,pr}),Oi+=`';
-`;var dr=vr.call(H,"variable")&&H.variable;if(!dr)Oi=`with (obj) {
-`+Oi+`
+`)}function nc(R){return pi(R)||Ra(R)||!!(Ro&&R&&R[Ro])}function fa(R,H){var ae=typeof R;return H=H??T,!!H&&(ae=="number"||ae!="symbol"&&vr.test(R))&&R>-1&&R%1==0&&R<H}function hn(R,H,ae){if(!Ri(ae))return!1;var Ie=typeof H;return(Ie=="number"?xn(ae)&&fa(H,ae.length):Ie=="string"&&H in ae)?Wn(ae[H],R):!1}function fo(R,H){if(pi(R))return!1;var ae=typeof R;return ae=="number"||ae=="symbol"||ae=="boolean"||R==null||Pn(R)?!0:Ut.test(R)||!kt.test(R)||H!=null&&R in Zt(H)}function ac(R){var H=typeof R;return H=="string"||H=="number"||H=="symbol"||H=="boolean"?R!=="__proto__":R===null}function co(R){var H=Es(R),ae=ut[H];if(typeof ae!="function"||!(H in Si.prototype))return!1;if(R===ae)return!0;var Ie=oo(ae);return!!Ie&&R===Ie[0]}function sc(R){return!!Ii&&Ii in R}var oc=Vi?ca:Mo;function es(R){var H=R&&R.constructor,ae=typeof H=="function"&&H.prototype||Bi;return R===ae}function Mu(R){return R===R&&!Ri(R)}function Pu(R,H){return function(ae){return ae==null?!1:ae[R]===H&&(H!==o||R in Zt(ae))}}function uc(R){var H=Ds(R,function(Ie){return ae.size===A&&ae.clear(),Ie}),ae=H.cache;return H}function lc(R,H){var ae=R[1],Ie=H[1],tt=ae|Ie,vt=tt<(B|F|V),Rt=Ie==V&&ae==ee||Ie==V&&ae==le&&R[7].length<=H[8]||Ie==(V|le)&&H[7].length<=H[8]&&ae==ee;if(!(vt||Rt))return R;Ie&B&&(R[2]=H[2],tt|=ae&B?0:N);var qt=H[3];if(qt){var Xt=R[3];R[3]=Xt?hu(Xt,qt,H[4]):qt,R[4]=Xt?fn(R[3],E):H[4]}return qt=H[5],qt&&(Xt=R[5],R[5]=Xt?du(Xt,qt,H[6]):qt,R[6]=Xt?fn(R[5],E):H[6]),qt=H[7],qt&&(R[7]=qt),Ie&V&&(R[8]=R[8]==null?H[8]:rn(R[8],H[8])),R[9]==null&&(R[9]=H[9]),R[0]=H[0],R[1]=tt,R}function fc(R){var H=[];if(R!=null)for(var ae in Zt(R))H.push(ae);return H}function cc(R){return Ea.call(R)}function Du(R,H,ae){return H=zi(H===o?R.length-1:H,0),function(){for(var Ie=arguments,tt=-1,vt=zi(Ie.length-H,0),Rt=Ke(vt);++tt<vt;)Rt[tt]=Ie[H+tt];tt=-1;for(var qt=Ke(H+1);++tt<H;)qt[tt]=Ie[tt];return qt[H]=ae(Rt),nt(R,this,qt)}}function Iu(R,H){return H.length<2?R:Pa(R,$n(H,0,-1))}function hc(R,H){for(var ae=R.length,Ie=rn(H.length,ae),tt=_n(R);Ie--;){var vt=H[Ie];R[Ie]=fa(vt,ae)?tt[vt]:o}return R}function ho(R,H){if(!(H==="constructor"&&typeof R[H]=="function")&&H!="__proto__")return R[H]}var Ru=Bu(ru),ts=Tl||function(R,H){return ki.setTimeout(R,H)},po=Bu(Lf);function Lu(R,H,ae){var Ie=H+"";return po(R,ic(Ie,dc(Jf(Ie),ae)))}function Bu(R){var H=0,ae=0;return function(){var Ie=Cl(),tt=y-(Ie-ae);if(ae=Ie,tt>0){if(++H>=p)return arguments[0]}else H=0;return R.apply(o,arguments)}}function As(R,H){var ae=-1,Ie=R.length,tt=Ie-1;for(H=H===o?Ie:H;++ae<H;){var vt=Qs(ae,tt),Rt=R[vt];R[vt]=R[ae],R[ae]=Rt}return R.length=H,R}var Ou=uc(function(R){var H=[];return R.charCodeAt(0)===46&&H.push(""),R.replace(Wr,function(ae,Ie,tt,vt){H.push(tt?vt.replace(ot,"$1"):Ie||ae)}),H});function Zn(R){if(typeof R=="string"||Pn(R))return R;var H=R+"";return H=="0"&&1/R==-x?"-0":H}function Ia(R){if(R!=null){try{return yn.call(R)}catch{}try{return R+""}catch{}}return""}function dc(R,H){return At(Q,function(ae){var Ie="_."+ae[0];H&ae[1]&&!er(R,Ie)&&R.push(Ie)}),R.sort()}function ju(R){if(R instanceof Si)return R.clone();var H=new On(R.__wrapped__,R.__chain__);return H.__actions__=_n(R.__actions__),H.__index__=R.__index__,H.__values__=R.__values__,H}function pc(R,H,ae){(ae?hn(R,H,ae):H===o)?H=1:H=zi(mi(H),0);var Ie=R==null?0:R.length;if(!Ie||H<1)return[];for(var tt=0,vt=0,Rt=Ke(ls(Ie/H));tt<Ie;)Rt[vt++]=$n(R,tt,tt+=H);return Rt}function mc(R){for(var H=-1,ae=R==null?0:R.length,Ie=0,tt=[];++H<ae;){var vt=R[H];vt&&(tt[Ie++]=vt)}return tt}function gc(){var R=arguments.length;if(!R)return[];for(var H=Ke(R-1),ae=arguments[0],Ie=R;Ie--;)H[Ie-1]=arguments[Ie];return hi(pi(ae)?_n(ae):[ae],Yi(H,1))}var vc=bi(function(R,H){return Fi(R)?Qa(R,Yi(H,1,Fi,!0)):[]}),yc=bi(function(R,H){var ae=Fn(H);return Fi(ae)&&(ae=o),Fi(R)?Qa(R,Yi(H,1,Fi,!0),ni(ae,2)):[]}),bc=bi(function(R,H){var ae=Fn(H);return Fi(ae)&&(ae=o),Fi(R)?Qa(R,Yi(H,1,Fi,!0),o,ae):[]});function _c(R,H,ae){var Ie=R==null?0:R.length;return Ie?(H=ae||H===o?1:mi(H),$n(R,H<0?0:H,Ie)):[]}function xc(R,H,ae){var Ie=R==null?0:R.length;return Ie?(H=ae||H===o?1:mi(H),H=Ie-H,$n(R,0,H<0?0:H)):[]}function wc(R,H){return R&&R.length?bs(R,ni(H,3),!0,!0):[]}function Sc(R,H){return R&&R.length?bs(R,ni(H,3),!0):[]}function Tc(R,H,ae,Ie){var tt=R==null?0:R.length;return tt?(ae&&typeof ae!="number"&&hn(R,H,ae)&&(ae=0,Ie=tt),mf(R,H,ae,Ie)):[]}function $u(R,H,ae){var Ie=R==null?0:R.length;if(!Ie)return-1;var tt=ae==null?0:mi(ae);return tt<0&&(tt=zi(Ie+tt,0)),vi(R,ni(H,3),tt)}function Fu(R,H,ae){var Ie=R==null?0:R.length;if(!Ie)return-1;var tt=Ie-1;return ae!==o&&(tt=mi(ae),tt=ae<0?zi(Ie+tt,0):rn(tt,Ie-1)),vi(R,ni(H,3),tt,!0)}function qu(R){var H=R==null?0:R.length;return H?Yi(R,1):[]}function Ec(R){var H=R==null?0:R.length;return H?Yi(R,x):[]}function kc(R,H){var ae=R==null?0:R.length;return ae?(H=H===o?1:mi(H),Yi(R,H)):[]}function Ac(R){for(var H=-1,ae=R==null?0:R.length,Ie={};++H<ae;){var tt=R[H];Ie[tt[0]]=tt[1]}return Ie}function Nu(R){return R&&R.length?R[0]:o}function Cc(R,H,ae){var Ie=R==null?0:R.length;if(!Ie)return-1;var tt=ae==null?0:mi(ae);return tt<0&&(tt=zi(Ie+tt,0)),Ai(R,H,tt)}function Mc(R){var H=R==null?0:R.length;return H?$n(R,0,-1):[]}var Pc=bi(function(R){var H=Kr(R,eo);return H.length&&H[0]===R[0]?Hs(H):[]}),Dc=bi(function(R){var H=Fn(R),ae=Kr(R,eo);return H===Fn(ae)?H=o:ae.pop(),ae.length&&ae[0]===R[0]?Hs(ae,ni(H,2)):[]}),Ic=bi(function(R){var H=Fn(R),ae=Kr(R,eo);return H=typeof H=="function"?H:o,H&&ae.pop(),ae.length&&ae[0]===R[0]?Hs(ae,o,H):[]});function Rc(R,H){return R==null?"":kl.call(R,H)}function Fn(R){var H=R==null?0:R.length;return H?R[H-1]:o}function Lc(R,H,ae){var Ie=R==null?0:R.length;if(!Ie)return-1;var tt=Ie;return ae!==o&&(tt=mi(ae),tt=tt<0?zi(Ie+tt,0):rn(tt,Ie-1)),H===H?ma(R,H,tt):vi(R,ta,tt,!0)}function Bc(R,H){return R&&R.length?Zo(R,mi(H)):o}var Oc=bi(zu);function zu(R,H){return R&&R.length&&H&&H.length?Ks(R,H):R}function jc(R,H,ae){return R&&R.length&&H&&H.length?Ks(R,H,ni(ae,2)):R}function $c(R,H,ae){return R&&R.length&&H&&H.length?Ks(R,H,o,ae):R}var Fc=la(function(R,H){var ae=R==null?0:R.length,Ie=qs(R,H);return tu(R,Kr(H,function(tt){return fa(tt,ae)?+tt:tt}).sort(cu)),Ie});function qc(R,H){var ae=[];if(!(R&&R.length))return ae;var Ie=-1,tt=[],vt=R.length;for(H=ni(H,3);++Ie<vt;){var Rt=R[Ie];H(Rt,Ie,R)&&(ae.push(Rt),tt.push(Ie))}return tu(R,tt),ae}function mo(R){return R==null?R:Pl.call(R)}function Nc(R,H,ae){var Ie=R==null?0:R.length;return Ie?(ae&&typeof ae!="number"&&hn(R,H,ae)?(H=0,ae=Ie):(H=H==null?0:mi(H),ae=ae===o?Ie:mi(ae)),$n(R,H,ae)):[]}function zc(R,H){return ys(R,H)}function Uc(R,H,ae){return Xs(R,H,ni(ae,2))}function Hc(R,H){var ae=R==null?0:R.length;if(ae){var Ie=ys(R,H);if(Ie<ae&&Wn(R[Ie],H))return Ie}return-1}function Wc(R,H){return ys(R,H,!0)}function Vc(R,H,ae){return Xs(R,H,ni(ae,2),!0)}function Gc(R,H){var ae=R==null?0:R.length;if(ae){var Ie=ys(R,H,!0)-1;if(Wn(R[Ie],H))return Ie}return-1}function Kc(R){return R&&R.length?iu(R):[]}function Qc(R,H){return R&&R.length?iu(R,ni(H,2)):[]}function Yc(R){var H=R==null?0:R.length;return H?$n(R,1,H):[]}function Xc(R,H,ae){return R&&R.length?(H=ae||H===o?1:mi(H),$n(R,0,H<0?0:H)):[]}function Zc(R,H,ae){var Ie=R==null?0:R.length;return Ie?(H=ae||H===o?1:mi(H),H=Ie-H,$n(R,H<0?0:H,Ie)):[]}function Jc(R,H){return R&&R.length?bs(R,ni(H,3),!1,!0):[]}function eh(R,H){return R&&R.length?bs(R,ni(H,3)):[]}var th=bi(function(R){return ya(Yi(R,1,Fi,!0))}),ih=bi(function(R){var H=Fn(R);return Fi(H)&&(H=o),ya(Yi(R,1,Fi,!0),ni(H,2))}),nh=bi(function(R){var H=Fn(R);return H=typeof H=="function"?H:o,ya(Yi(R,1,Fi,!0),o,H)});function ah(R){return R&&R.length?ya(R):[]}function oh(R,H){return R&&R.length?ya(R,ni(H,2)):[]}function uh(R,H){return H=typeof H=="function"?H:o,R&&R.length?ya(R,o,H):[]}function go(R){if(!(R&&R.length))return[];var H=0;return R=yr(R,function(ae){if(Fi(ae))return H=zi(ae.length,H),!0}),Bn(H,function(ae){return Kr(R,Ln(ae))})}function Uu(R,H){if(!(R&&R.length))return[];var ae=go(R);return H==null?ae:Kr(ae,function(Ie){return nt(H,o,Ie)})}var lh=bi(function(R,H){return Fi(R)?Qa(R,H):[]}),fh=bi(function(R){return Js(yr(R,Fi))}),hh=bi(function(R){var H=Fn(R);return Fi(H)&&(H=o),Js(yr(R,Fi),ni(H,2))}),ph=bi(function(R){var H=Fn(R);return H=typeof H=="function"?H:o,Js(yr(R,Fi),o,H)}),mh=bi(go);function gh(R,H){return ou(R||[],H||[],Ka)}function vh(R,H){return ou(R||[],H||[],Za)}var yh=bi(function(R){var H=R.length,ae=H>1?R[H-1]:o;return ae=typeof ae=="function"?(R.pop(),ae):o,Uu(R,ae)});function Hu(R){var H=ut(R);return H.__chain__=!0,H}function bh(R,H){return H(R),R}function Cs(R,H){return H(R)}var _h=la(function(R){var H=R.length,ae=H?R[0]:0,Ie=this.__wrapped__,tt=function(vt){return qs(vt,R)};return H>1||this.__actions__.length||!(Ie instanceof Si)||!fa(ae)?this.thru(tt):(Ie=Ie.slice(ae,+ae+(H?1:0)),Ie.__actions__.push({func:Cs,args:[tt],thisArg:o}),new On(Ie,this.__chain__).thru(function(vt){return H&&!vt.length&&vt.push(o),vt}))});function xh(){return Hu(this)}function wh(){return new On(this.value(),this.__chain__)}function Sh(){this.__values__===o&&(this.__values__=nl(this.value()));var R=this.__index__>=this.__values__.length,H=R?o:this.__values__[this.__index__++];return{done:R,value:H}}function Th(){return this}function Eh(R){for(var H,ae=this;ae instanceof ds;){var Ie=ju(ae);Ie.__index__=0,Ie.__values__=o,H?tt.__wrapped__=Ie:H=Ie;var tt=Ie;ae=ae.__wrapped__}return tt.__wrapped__=R,H}function kh(){var R=this.__wrapped__;if(R instanceof Si){var H=R;return this.__actions__.length&&(H=new Si(this)),H=H.reverse(),H.__actions__.push({func:Cs,args:[mo],thisArg:o}),new On(H,this.__chain__)}return this.thru(mo)}function Ah(){return su(this.__wrapped__,this.__actions__)}var Mh=_s(function(R,H,ae){ui.call(R,ae)?++R[ae]:oa(R,ae,1)});function Ph(R,H,ae){var Ie=pi(R)?or:pf;return ae&&hn(R,H,ae)&&(H=o),Ie(R,ni(H,3))}function Dh(R,H){var ae=pi(R)?yr:Uo;return ae(R,ni(H,3))}var Ih=vu($u),Rh=vu(Fu);function Lh(R,H){return Yi(Ms(R,H),1)}function Bh(R,H){return Yi(Ms(R,H),x)}function Oh(R,H,ae){return ae=ae===o?1:mi(ae),Yi(Ms(R,H),ae)}function Wu(R,H){var ae=pi(R)?At:va;return ae(R,ni(H,3))}function Vu(R,H){var ae=pi(R)?Vt:zo;return ae(R,ni(H,3))}var jh=_s(function(R,H,ae){ui.call(R,ae)?R[ae].push(H):oa(R,ae,[H])});function $h(R,H,ae,Ie){R=xn(R)?R:Na(R),ae=ae&&!Ie?mi(ae):0;var tt=R.length;return ae<0&&(ae=zi(tt+ae,0)),Ls(R)?ae<=tt&&R.indexOf(H,ae)>-1:!!tt&&Ai(R,H,ae)>-1}var Fh=bi(function(R,H,ae){var Ie=-1,tt=typeof H=="function",vt=xn(R)?Ke(R.length):[];return va(R,function(Rt){vt[++Ie]=tt?nt(H,Rt,ae):Ya(Rt,H,ae)}),vt}),qh=_s(function(R,H,ae){oa(R,ae,H)});function Ms(R,H){var ae=pi(R)?Kr:Qo;return ae(R,ni(H,3))}function Nh(R,H,ae,Ie){return R==null?[]:(pi(H)||(H=H==null?[]:[H]),ae=Ie?o:ae,pi(ae)||(ae=ae==null?[]:[ae]),Jo(R,H,ae))}var zh=_s(function(R,H,ae){R[ae?0:1].push(H)},function(){return[[],[]]});function Uh(R,H,ae){var Ie=pi(R)?ci:gn,tt=arguments.length<3;return Ie(R,ni(H,4),ae,tt,va)}function Hh(R,H,ae){var Ie=pi(R)?ji:gn,tt=arguments.length<3;return Ie(R,ni(H,4),ae,tt,zo)}function Wh(R,H){var ae=pi(R)?yr:Uo;return ae(R,Is(ni(H,3)))}function Vh(R){var H=pi(R)?$o:If;return H(R)}function Gh(R,H,ae){(ae?hn(R,H,ae):H===o)?H=1:H=mi(H);var Ie=pi(R)?lf:Rf;return Ie(R,H)}function Qh(R){var H=pi(R)?ff:Bf;return H(R)}function Yh(R){if(R==null)return 0;if(xn(R))return Ls(R)?Cn(R):R.length;var H=nn(R);return H==mt||H==at?R.size:Vs(R).length}function Xh(R,H,ae){var Ie=pi(R)?Pi:Of;return ae&&hn(R,H,ae)&&(H=o),Ie(R,ni(H,3))}var Zh=bi(function(R,H){if(R==null)return[];var ae=H.length;return ae>1&&hn(R,H[0],H[1])?H=[]:ae>2&&hn(H[0],H[1],H[2])&&(H=[H[0]]),Jo(R,Yi(H,1),[])}),Ps=Sl||function(){return ki.Date.now()};function Jh(R,H){if(typeof H!="function")throw new ii(h);return R=mi(R),function(){if(--R<1)return H.apply(this,arguments)}}function Gu(R,H,ae){return H=ae?o:H,H=R&&H==null?R.length:H,ua(R,V,o,o,o,o,H)}function Ku(R,H){var ae;if(typeof H!="function")throw new ii(h);return R=mi(R),function(){return--R>0&&(ae=H.apply(this,arguments)),R<=1&&(H=o),ae}}var vo=bi(function(R,H,ae){var Ie=B;if(ae.length){var tt=fn(ae,Fa(vo));Ie|=re}return ua(R,Ie,H,ae,tt)}),Qu=bi(function(R,H,ae){var Ie=B|F;if(ae.length){var tt=fn(ae,Fa(Qu));Ie|=re}return ua(H,Ie,R,ae,tt)});function Yu(R,H,ae){H=ae?o:H;var Ie=ua(R,ee,o,o,o,o,o,H);return Ie.placeholder=Yu.placeholder,Ie}function Xu(R,H,ae){H=ae?o:H;var Ie=ua(R,Z,o,o,o,o,o,H);return Ie.placeholder=Xu.placeholder,Ie}function Zu(R,H,ae){var Ie,tt,vt,Rt,qt,Xt,Mr=0,Dr=!1,Br=!1,Vr=!0;if(typeof R!="function")throw new ii(h);H=qn(H)||0,Ri(ae)&&(Dr=!!ae.leading,Br="maxWait"in ae,vt=Br?zi(qn(ae.maxWait)||0,H):vt,Vr="trailing"in ae?!!ae.trailing:Vr);function Zr(qi){var Vn=Ie,da=tt;return Ie=tt=o,Mr=qi,Rt=R.apply(da,Vn),Rt}function ai(qi){return Mr=qi,qt=ts(xi,H),Dr?Zr(qi):Rt}function yi(qi){var Vn=qi-Xt,da=qi-Mr,bl=H-Vn;return Br?rn(bl,vt-da):bl}function si(qi){var Vn=qi-Xt,da=qi-Mr;return Xt===o||Vn>=H||Vn<0||Br&&da>=vt}function xi(){var qi=Ps();if(si(qi))return Ti(qi);qt=ts(xi,yi(qi))}function Ti(qi){return qt=o,Vr&&Ie?Zr(qi):(Ie=tt=o,Rt)}function Dn(){qt!==o&&uu(qt),Mr=0,Ie=Xt=tt=qt=o}function dn(){return qt===o?Rt:Ti(Ps())}function In(){var qi=Ps(),Vn=si(qi);if(Ie=arguments,tt=this,Xt=qi,Vn){if(qt===o)return ai(Xt);if(Br)return uu(qt),qt=ts(xi,H),Zr(Xt)}return qt===o&&(qt=ts(xi,H)),Rt}return In.cancel=Dn,In.flush=dn,In}var ed=bi(function(R,H){return No(R,1,H)}),td=bi(function(R,H,ae){return No(R,qn(H)||0,ae)});function rd(R){return ua(R,he)}function Ds(R,H){if(typeof R!="function"||H!=null&&typeof H!="function")throw new ii(h);var ae=function(){var Ie=arguments,tt=H?H.apply(this,Ie):Ie[0],vt=ae.cache;if(vt.has(tt))return vt.get(tt);var Rt=R.apply(this,Ie);return ae.cache=vt.set(tt,Rt)||vt,Rt};return ae.cache=new(Ds.Cache||sa),ae}Ds.Cache=sa;function Is(R){if(typeof R!="function")throw new ii(h);return function(){var H=arguments;switch(H.length){case 0:return!R.call(this);case 1:return!R.call(this,H[0]);case 2:return!R.call(this,H[0],H[1]);case 3:return!R.call(this,H[0],H[1],H[2])}return!R.apply(this,H)}}function id(R){return Ku(2,R)}var nd=jf(function(R,H){H=H.length==1&&pi(H[0])?Kr(H[0],Qi(ni())):Kr(Yi(H,1),Qi(ni()));var ae=H.length;return bi(function(Ie){for(var tt=-1,vt=rn(Ie.length,ae);++tt<vt;)Ie[tt]=H[tt].call(this,Ie[tt]);return nt(R,this,Ie)})}),yo=bi(function(R,H){var ae=fn(H,Fa(yo));return ua(R,re,o,H,ae)}),Ju=bi(function(R,H){var ae=fn(H,Fa(Ju));return ua(R,fe,o,H,ae)}),ad=la(function(R,H){return ua(R,le,o,o,o,H)});function sd(R,H){if(typeof R!="function")throw new ii(h);return H=H===o?H:mi(H),bi(R,H)}function od(R,H){if(typeof R!="function")throw new ii(h);return H=H==null?0:zi(mi(H),0),bi(function(ae){var Ie=ae[H],tt=_a(ae,0,H);return Ie&&hi(tt,Ie),nt(R,this,tt)})}function ud(R,H,ae){var Ie=!0,tt=!0;if(typeof R!="function")throw new ii(h);return Ri(ae)&&(Ie="leading"in ae?!!ae.leading:Ie,tt="trailing"in ae?!!ae.trailing:tt),Zu(R,H,{leading:Ie,maxWait:H,trailing:tt})}function ld(R){return Gu(R,1)}function fd(R,H){return yo(to(H),R)}function cd(){if(!arguments.length)return[];var R=arguments[0];return pi(R)?R:[R]}function hd(R){return jn(R,P)}function dd(R,H){return H=typeof H=="function"?H:o,jn(R,P,H)}function pd(R){return jn(R,C|P)}function md(R,H){return H=typeof H=="function"?H:o,jn(R,C|P,H)}function gd(R,H){return H==null||qo(R,H,Gi(H))}function Wn(R,H){return R===H||R!==R&&H!==H}var vd=Ts(Us),yd=Ts(function(R,H){return R>=H}),Ra=Vo(function(){return arguments}())?Vo:function(R){return Oi(R)&&ui.call(R,"callee")&&!Io.call(R,"callee")},pi=Ke.isArray,bd=Y?Qi(Y):_f;function xn(R){return R!=null&&Rs(R.length)&&!ca(R)}function Fi(R){return Oi(R)&&xn(R)}function _d(R){return R===!0||R===!1||Oi(R)&&cn(R)==z}var xa=El||Mo,xd=ne?Qi(ne):xf;function wd(R){return Oi(R)&&R.nodeType===1&&!rs(R)}function Sd(R){if(R==null)return!0;if(xn(R)&&(pi(R)||typeof R=="string"||typeof R.splice=="function"||xa(R)||qa(R)||Ra(R)))return!R.length;var H=nn(R);if(H==mt||H==at)return!R.size;if(es(R))return!Vs(R).length;for(var ae in R)if(ui.call(R,ae))return!1;return!0}function Td(R,H){return Xa(R,H)}function Ed(R,H,ae){ae=typeof ae=="function"?ae:o;var Ie=ae?ae(R,H):o;return Ie===o?Xa(R,H,o,ae):!!Ie}function bo(R){if(!Oi(R))return!1;var H=cn(R);return H==me||H==de||typeof R.message=="string"&&typeof R.name=="string"&&!rs(R)}function kd(R){return typeof R=="number"&&Lo(R)}function ca(R){if(!Ri(R))return!1;var H=cn(R);return H==pe||H==qe||H==U||H==Je}function el(R){return typeof R=="number"&&R==mi(R)}function Rs(R){return typeof R=="number"&&R>-1&&R%1==0&&R<=T}function Ri(R){var H=typeof R;return R!=null&&(H=="object"||H=="function")}function Oi(R){return R!=null&&typeof R=="object"}var tl=ke?Qi(ke):Sf;function Ad(R,H){return R===H||Ws(R,H,uo(H))}function Cd(R,H,ae){return ae=typeof ae=="function"?ae:o,Ws(R,H,uo(H),ae)}function Md(R){return rl(R)&&R!=+R}function Pd(R){if(oc(R))throw new It(u);return Go(R)}function Dd(R){return R===null}function Id(R){return R==null}function rl(R){return typeof R=="number"||Oi(R)&&cn(R)==st}function rs(R){if(!Oi(R)||cn(R)!=Tt)return!1;var H=ss(R);if(H===null)return!0;var ae=ui.call(H,"constructor")&&H.constructor;return typeof ae=="function"&&ae instanceof ae&&yn.call(ae)==na}var _o=Le?Qi(Le):Tf;function Rd(R){return el(R)&&R>=-T&&R<=T}var il=He?Qi(He):Ef;function Ls(R){return typeof R=="string"||!pi(R)&&Oi(R)&&cn(R)==bt}function Pn(R){return typeof R=="symbol"||Oi(R)&&cn(R)==jt}var qa=Ve?Qi(Ve):kf;function Ld(R){return R===o}function Bd(R){return Oi(R)&&nn(R)==Qe}function Od(R){return Oi(R)&&cn(R)==Wt}var jd=Ts(Gs),$d=Ts(function(R,H){return R<=H});function nl(R){if(!R)return[];if(xn(R))return Ls(R)?it(R):_n(R);if(Ua&&R[Ua])return An(R[Ua]());var H=nn(R),ae=H==mt?pa:H==at?Un:Na;return ae(R)}function ha(R){if(!R)return R===0?R:0;if(R=qn(R),R===x||R===-x){var H=R<0?-1:1;return H*b}return R===R?R:0}function mi(R){var H=ha(R),ae=H%1;return H===H?ae?H-ae:H:0}function al(R){return R?Ma(mi(R),0,k):0}function qn(R){if(typeof R=="number")return R;if(Pn(R))return d;if(Ri(R)){var H=typeof R.valueOf=="function"?R.valueOf():R;R=Ri(H)?H+"":H}if(typeof R!="string")return R===0?R:+R;R=vn(R);var ae=wr.test(R);return ae||Rr.test(R)?Gn(R.slice(2),ae?2:8):Jt.test(R)?d:+R}function ol(R){return Xn(R,wn(R))}function Fd(R){return R?Ma(mi(R),-T,T):R===0?R:0}function Ci(R){return R==null?"":Mn(R)}var qd=ja(function(R,H){if(es(H)||xn(H)){Xn(H,Gi(H),R);return}for(var ae in H)ui.call(H,ae)&&Ka(R,ae,H[ae])}),ul=ja(function(R,H){Xn(H,wn(H),R)}),Bs=ja(function(R,H,ae,Ie){Xn(H,wn(H),R,Ie)}),Nd=ja(function(R,H,ae,Ie){Xn(H,Gi(H),R,Ie)}),zd=la(qs);function Ud(R,H){var ae=Oa(R);return H==null?ae:Fo(ae,H)}var Hd=bi(function(R,H){R=Zt(R);var ae=-1,Ie=H.length,tt=Ie>2?H[2]:o;for(tt&&hn(H[0],H[1],tt)&&(Ie=1);++ae<Ie;)for(var vt=H[ae],Rt=wn(vt),qt=-1,Xt=Rt.length;++qt<Xt;){var Mr=Rt[qt],Dr=R[Mr];(Dr===o||Wn(Dr,Bi[Mr])&&!ui.call(R,Mr))&&(R[Mr]=vt[Mr])}return R}),Wd=bi(function(R){return R.push(o,Tu),nt(ll,o,R)});function Vd(R,H){return en(R,ni(H,3),Yn)}function Gd(R,H){return en(R,ni(H,3),zs)}function Kd(R,H){return R==null?R:Ns(R,ni(H,3),wn)}function Qd(R,H){return R==null?R:Ho(R,ni(H,3),wn)}function Yd(R,H){return R&&Yn(R,ni(H,3))}function Xd(R,H){return R&&zs(R,ni(H,3))}function Zd(R){return R==null?[]:gs(R,Gi(R))}function Jd(R){return R==null?[]:gs(R,wn(R))}function xo(R,H,ae){var Ie=R==null?o:Pa(R,H);return Ie===o?ae:Ie}function ep(R,H){return R!=null&&Au(R,H,gf)}function wo(R,H){return R!=null&&Au(R,H,vf)}var tp=bu(function(R,H,ae){H!=null&&typeof H.toString!="function"&&(H=Ea.call(H)),R[H]=ae},To(Sn)),rp=bu(function(R,H,ae){H!=null&&typeof H.toString!="function"&&(H=Ea.call(H)),ui.call(R,H)?R[H].push(ae):R[H]=[ae]},ni),ip=bi(Ya);function Gi(R){return xn(R)?jo(R):Vs(R)}function wn(R){return xn(R)?jo(R,!0):Af(R)}function np(R,H){var ae={};return H=ni(H,3),Yn(R,function(Ie,tt,vt){oa(ae,H(Ie,tt,vt),Ie)}),ae}function ap(R,H){var ae={};return H=ni(H,3),Yn(R,function(Ie,tt,vt){oa(ae,tt,H(Ie,tt,vt))}),ae}var sp=ja(function(R,H,ae){vs(R,H,ae)}),ll=ja(function(R,H,ae,Ie){vs(R,H,ae,Ie)}),op=la(function(R,H){var ae={};if(R==null)return ae;var Ie=!1;H=Kr(H,function(vt){return vt=ba(vt,R),Ie||(Ie=vt.length>1),vt}),Xn(R,so(R),ae),Ie&&(ae=jn(ae,C|M|P,Kf));for(var tt=H.length;tt--;)Zs(ae,H[tt]);return ae});function up(R,H){return fl(R,Is(ni(H)))}var lp=la(function(R,H){return R==null?{}:Mf(R,H)});function fl(R,H){if(R==null)return{};var ae=Kr(so(R),function(Ie){return[Ie]});return H=ni(H),eu(R,ae,function(Ie,tt){return H(Ie,tt[0])})}function fp(R,H,ae){H=ba(H,R);var Ie=-1,tt=H.length;for(tt||(tt=1,R=o);++Ie<tt;){var vt=R==null?o:R[Zn(H[Ie])];vt===o&&(Ie=tt,vt=ae),R=ca(vt)?vt.call(R):vt}return R}function cp(R,H,ae){return R==null?R:Za(R,H,ae)}function hp(R,H,ae,Ie){return Ie=typeof Ie=="function"?Ie:o,R==null?R:Za(R,H,ae,Ie)}var cl=wu(Gi),dl=wu(wn);function dp(R,H,ae){var Ie=pi(R),tt=Ie||xa(R)||qa(R);if(H=ni(H,4),ae==null){var vt=R&&R.constructor;tt?ae=Ie?new vt:[]:Ri(R)?ae=ca(vt)?Oa(ss(R)):{}:ae={}}return(tt?At:Yn)(R,function(Rt,qt,Xt){return H(ae,Rt,qt,Xt)}),ae}function pp(R,H){return R==null?!0:Zs(R,H)}function mp(R,H,ae){return R==null?R:au(R,H,to(ae))}function gp(R,H,ae,Ie){return Ie=typeof Ie=="function"?Ie:o,R==null?R:au(R,H,to(ae),Ie)}function Na(R){return R==null?[]:wa(R,Gi(R))}function vp(R){return R==null?[]:wa(R,wn(R))}function yp(R,H,ae){return ae===o&&(ae=H,H=o),ae!==o&&(ae=qn(ae),ae=ae===ae?ae:0),H!==o&&(H=qn(H),H=H===H?H:0),Ma(qn(R),H,ae)}function bp(R,H,ae){return H=ha(H),ae===o?(ae=H,H=0):ae=ha(ae),R=qn(R),yf(R,H,ae)}function _p(R,H,ae){if(ae&&typeof ae!="boolean"&&hn(R,H,ae)&&(H=ae=o),ae===o&&(typeof H=="boolean"?(ae=H,H=o):typeof R=="boolean"&&(ae=R,R=o)),R===o&&H===o?(R=0,H=1):(R=ha(R),H===o?(H=R,R=0):H=ha(H)),R>H){var Ie=R;R=H,H=Ie}if(ae||R%1||H%1){var tt=Bo();return rn(R+tt*(H-R+sn("1e-"+((tt+"").length-1))),H)}return Qs(R,H)}var xp=$a(function(R,H,ae){return H=H.toLowerCase(),R+(ae?pl(H):H)});function pl(R){return So(Ci(R).toLowerCase())}function ml(R){return R=Ci(R),R&&R.replace(dr,ln).replace(Pr,"")}function wp(R,H,ae){R=Ci(R),H=Mn(H);var Ie=R.length;ae=ae===o?Ie:Ma(mi(ae),0,Ie);var tt=ae;return ae-=H.length,ae>=0&&R.slice(ae,tt)==H}function Sp(R){return R=Ci(R),R&&_t.test(R)?R.replace(yt,Ei):R}function Tp(R){return R=Ci(R),R&&Qt.test(R)?R.replace(zt,"\\$&"):R}var Ep=$a(function(R,H,ae){return R+(ae?"-":"")+H.toLowerCase()}),kp=$a(function(R,H,ae){return R+(ae?" ":"")+H.toLowerCase()}),Ap=gu("toLowerCase");function Cp(R,H,ae){R=Ci(R),H=mi(H);var Ie=H?Cn(R):0;if(!H||Ie>=H)return R;var tt=(H-Ie)/2;return Ss(fs(tt),ae)+R+Ss(ls(tt),ae)}function Mp(R,H,ae){R=Ci(R),H=mi(H);var Ie=H?Cn(R):0;return H&&Ie<H?R+Ss(H-Ie,ae):R}function Pp(R,H,ae){R=Ci(R),H=mi(H);var Ie=H?Cn(R):0;return H&&Ie<H?Ss(H-Ie,ae)+R:R}function Dp(R,H,ae){return ae||H==null?H=0:H&&(H=+H),Ml(Ci(R).replace($e,""),H||0)}function Ip(R,H,ae){return(ae?hn(R,H,ae):H===o)?H=1:H=mi(H),Ys(Ci(R),H)}function Rp(){var R=arguments,H=Ci(R[0]);return R.length<3?H:H.replace(R[1],R[2])}var Lp=$a(function(R,H,ae){return R+(ae?"_":"")+H.toLowerCase()});function Bp(R,H,ae){return ae&&typeof ae!="number"&&hn(R,H,ae)&&(H=ae=o),ae=ae===o?k:ae>>>0,ae?(R=Ci(R),R&&(typeof H=="string"||H!=null&&!_o(H))&&(H=Mn(H),!H&&Di(R))?_a(it(R),0,ae):R.split(H,ae)):[]}var Op=$a(function(R,H,ae){return R+(ae?" ":"")+So(H)});function jp(R,H,ae){return R=Ci(R),ae=ae==null?0:Ma(mi(ae),0,R.length),H=Mn(H),R.slice(ae,ae+H.length)==H}function $p(R,H,ae){var Ie=ut.templateSettings;ae&&hn(R,H,ae)&&(H=o),R=Ci(R),H=Bs({},H,Ie,Su);var tt=Bs({},H.imports,Ie.imports,Su),vt=Gi(tt),Rt=wa(tt,vt),qt,Xt,Mr=0,Dr=H.interpolate||Ir,Br="__p += '",Vr=qr((H.escape||Ir).source+"|"+Dr.source+"|"+(Dr===ur?wt:Ir).source+"|"+(H.evaluate||Ir).source+"|$","g"),Zr="//# sourceURL="+(ui.call(H,"sourceURL")?(H.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Zi+"]")+`
+`;R.replace(Vr,function(si,xi,Ti,Dn,dn,In){return Ti||(Ti=Dn),Br+=R.slice(Mr,In).replace(kr,zn),xi&&(qt=!0,Br+=`' +
+__e(`+xi+`) +
+'`),dn&&(Xt=!0,Br+=`';
+`+dn+`;
+__p += '`),Ti&&(Br+=`' +
+((__t = (`+Ti+`)) == null ? '' : __t) +
+'`),Mr=In+si.length,si}),Br+=`';
+`;var ai=ui.call(H,"variable")&&H.variable;if(!ai)Br=`with (obj) {
+`+Br+`
 }
-`;else if(bt.test(dr))throw new Mi(y);Oi=(Jt?Oi.replace(Vt,""):Oi).replace(At,"$1").replace(ve,"$1;"),Oi="function("+(dr||"obj")+`) {
-`+(dr?"":`obj || (obj = {});
-`)+"var __t, __p = ''"+(qt?", __e = _.escape":"")+(Jt?`, __j = Array.prototype.join;
+`;else if(xt.test(ai))throw new It(v);Br=(Xt?Br.replace(Ht,""):Br).replace(Mt,"$1").replace(ge,"$1;"),Br="function("+(ai||"obj")+`) {
+`+(ai?"":`obj || (obj = {});
+`)+"var __t, __p = ''"+(qt?", __e = _.escape":"")+(Xt?`, __j = Array.prototype.join;
 function print() { __p += __j.call(arguments, '') }
 `:`;
-`)+Oi+`return __p
-}`;var Cr=ql(function(){return Yi(ct,rr+"return "+Oi).apply(n,Dt)});if(Cr.source=Oi,Yo(Cr))throw Cr;return Cr}function qp(I){return Br(I).toLowerCase()}function zp(I){return Br(I).toUpperCase()}function Up(I,H,se){if(I=Br(I),I&&(se||H===n))return An(I);if(!I||!(H=jn(H)))return I;var Re=fn(I),Ye=fn(H),ct=Ir(Re,Ye),Dt=da(Re,Ye)+1;return Va(Re,ct,Dt).join("")}function Hp(I,H,se){if(I=Br(I),I&&(se||H===n))return I.slice(0,as(I)+1);if(!I||!(H=jn(H)))return I;var Re=fn(I),Ye=da(Re,fn(H))+1;return Va(Re,0,Ye).join("")}function Vp(I,H,se){if(I=Br(I),I&&(se||H===n))return I.replace(Be,"");if(!I||!(H=jn(H)))return I;var Re=fn(I),Ye=Ir(Re,fn(H));return Va(Re,Ye).join("")}function Wp(I,H){var se=ke,Re=L;if(qr(H)){var Ye="separator"in H?H.separator:Ye;se="length"in H?kr(H.length):se,Re="omission"in H?jn(H.omission):Re}I=Br(I);var ct=I.length;if(cn(I)){var Dt=fn(I);ct=Dt.length}if(se>=ct)return I;var qt=se-Kn(Re);if(qt<1)return Re;var Jt=Dt?Va(Dt,0,qt).join(""):I.slice(0,qt);if(Ye===n)return Jt+Re;if(Dt&&(qt+=Jt.length-qt),Xo(Ye)){if(I.slice(qt).search(Ye)){var Ri,Li=Jt;for(Ye.global||(Ye=gr(Ye.source,Br(ei.exec(Ye))+"g")),Ye.lastIndex=0;Ri=Ye.exec(Li);)var Oi=Ri.index;Jt=Jt.slice(0,Oi===n?qt:Oi)}}else if(I.indexOf(jn(Ye),qt)!=qt){var Qi=Jt.lastIndexOf(Ye);Qi>-1&&(Jt=Jt.slice(0,Qi))}return Jt+Re}function Gp(I){return I=Br(I),I&&Ne.test(I)?I.replace(Pt,Ka):I}var Kp=fs(function(I,H,se){return I+(se?" ":"")+H.toUpperCase()}),eu=Nu("toUpperCase");function Nl(I,H,se){return I=Br(I),H=se?n:H,H===n?Ga(I)?Ht(I):Tr(I):I.match(H)||[]}var ql=Mr(function(I,H){try{return Ze(I,n,H)}catch(se){return Yo(se)?se:new Mi(se)}}),Qp=Pa(function(I,H){return St(H,function(se){se=ba(se),Aa(I,se,Ko(I[se],I))}),I});function Yp(I){var H=I==null?0:I.length,se=cr();return I=H?Ki(I,function(Re){if(typeof Re[1]!="function")throw new Er(m);return[se(Re[0]),Re[1]]}):[],Mr(function(Re){for(var Ye=-1;++Ye<H;){var ct=I[Ye];if(Ze(ct[0],this,Re))return Ze(ct[1],this,Re)}})}function Xp(I){return mc(Zn(I,A))}function tu(I){return function(){return I}}function Zp(I,H){return I==null||I!==I?H:I}var Jp=zu(),em=zu(!0);function Rn(I){return I}function iu(I){return yu(typeof I=="function"?I:Zn(I,A))}function tm(I){return _u(Zn(I,A))}function im(I,H){return xu(I,Zn(H,A))}var rm=Mr(function(I,H){return function(se){return Ss(se,I,H)}}),nm=Mr(function(I,H){return function(se){return Ss(I,se,H)}});function ru(I,H,se){var Re=sn(H),Ye=Hs(H,Re);se==null&&!(qr(H)&&(Ye.length||!Re.length))&&(se=H,H=I,I=this,Ye=Hs(H,sn(H)));var ct=!(qr(se)&&"chain"in se)||!!se.chain,Dt=Ia(I);return St(Ye,function(qt){var Jt=H[qt];I[qt]=Jt,Dt&&(I.prototype[qt]=function(){var Ri=this.__chain__;if(ct||Ri){var Li=I(this.__wrapped__),Oi=Li.__actions__=Pn(this.__actions__);return Oi.push({func:Jt,args:arguments,thisArg:I}),Li.__chain__=Ri,Li}return Jt.apply(I,yr([this.value()],arguments))})}),I}function am(){return $r._===this&&($r._=bs),this}function nu(){}function sm(I){return I=kr(I),Mr(function(H){return wu(H,I)})}var om=Lo(Ki),um=Lo(di),lm=Lo(jr);function Ul(I){return zo(I)?ra(ba(I)):Ic(I)}function cm(I){return function(H){return I==null?n:es(I,H)}}var fm=Hu(),hm=Hu(!0);function au(){return[]}function su(){return!1}function dm(){return{}}function pm(){return""}function mm(){return!0}function gm(I,H){if(I=kr(I),I<1||I>S)return[];var se=T,Re=an(I,T);H=cr(H),I-=T;for(var Ye=ha(Re,H);++se<I;)H(se);return Ye}function vm(I){return wr(I)?Ki(I,ba):On(I)?[I]:Pn(ol(Br(I)))}function ym(I){var H=++Ps;return Br(I)+H}var bm=Ys(function(I,H){return I+H},0),_m=Bo("ceil"),xm=Ys(function(I,H){return I/H},1),wm=Bo("floor");function Sm(I){return I&&I.length?Us(I,Rn,xo):n}function Tm(I,H){return I&&I.length?Us(I,cr(H,2),xo):n}function Em(I){return rn(I,Rn)}function km(I,H){return rn(I,cr(H,2))}function Cm(I){return I&&I.length?Us(I,Rn,Eo):n}function Am(I,H){return I&&I.length?Us(I,cr(H,2),Eo):n}var Mm=Ys(function(I,H){return I*H},1),Pm=Bo("round"),Dm=Ys(function(I,H){return I-H},0);function Im(I){return I&&I.length?Jr(I,Rn):0}function Rm(I,H){return I&&I.length?Jr(I,cr(H,2)):0}return et.after=td,et.ary=bl,et.assign=zd,et.assignIn=Rl,et.assignInWith=lo,et.assignWith=Ud,et.at=Hd,et.before=_l,et.bind=Ko,et.bindAll=Qp,et.bindKey=xl,et.castArray=dd,et.chain=gl,et.chunk=gf,et.compact=vf,et.concat=yf,et.cond=Yp,et.conforms=Xp,et.constant=tu,et.countBy=Dh,et.create=Vd,et.curry=wl,et.curryRight=Sl,et.debounce=Tl,et.defaults=Wd,et.defaultsDeep=Gd,et.defer=id,et.delay=rd,et.difference=bf,et.differenceBy=_f,et.differenceWith=xf,et.drop=wf,et.dropRight=Sf,et.dropRightWhile=Tf,et.dropWhile=Ef,et.fill=kf,et.filter=Rh,et.flatMap=Bh,et.flatMapDeep=jh,et.flatMapDepth=Oh,et.flatten=fl,et.flattenDeep=Cf,et.flattenDepth=Af,et.flip=nd,et.flow=Jp,et.flowRight=em,et.fromPairs=Mf,et.functions=ep,et.functionsIn=tp,et.groupBy=Fh,et.initial=Df,et.intersection=If,et.intersectionBy=Rf,et.intersectionWith=$f,et.invert=rp,et.invertBy=np,et.invokeMap=qh,et.iteratee=iu,et.keyBy=zh,et.keys=sn,et.keysIn=In,et.map=ro,et.mapKeys=sp,et.mapValues=op,et.matches=tm,et.matchesProperty=im,et.memoize=ao,et.merge=up,et.mergeWith=$l,et.method=rm,et.methodOf=nm,et.mixin=ru,et.negate=so,et.nthArg=sm,et.omit=lp,et.omitBy=cp,et.once=ad,et.orderBy=Uh,et.over=om,et.overArgs=sd,et.overEvery=um,et.overSome=lm,et.partial=Qo,et.partialRight=El,et.partition=Hh,et.pick=fp,et.pickBy=Ll,et.property=Ul,et.propertyOf=cm,et.pull=Of,et.pullAll=pl,et.pullAllBy=Ff,et.pullAllWith=Nf,et.pullAt=qf,et.range=fm,et.rangeRight=hm,et.rearg=od,et.reject=Gh,et.remove=zf,et.rest=ud,et.reverse=Wo,et.sampleSize=Yh,et.set=dp,et.setWith=pp,et.shuffle=Xh,et.slice=Uf,et.sortBy=ed,et.sortedUniq=Yf,et.sortedUniqBy=Xf,et.split=jp,et.spread=ld,et.tail=Zf,et.take=Jf,et.takeRight=eh,et.takeRightWhile=th,et.takeWhile=ih,et.tap=xh,et.throttle=cd,et.thru=io,et.toArray=Pl,et.toPairs=Bl,et.toPairsIn=jl,et.toPath=vm,et.toPlainObject=Il,et.transform=mp,et.unary=fd,et.union=nh,et.unionBy=ah,et.unionWith=oh,et.uniq=uh,et.uniqBy=lh,et.uniqWith=fh,et.unset=gp,et.unzip=Go,et.unzipWith=ml,et.update=vp,et.updateWith=yp,et.values=ps,et.valuesIn=bp,et.without=hh,et.words=Nl,et.wrap=hd,et.xor=ph,et.xorBy=mh,et.xorWith=gh,et.zip=vh,et.zipObject=yh,et.zipObjectDeep=bh,et.zipWith=_h,et.entries=Bl,et.entriesIn=jl,et.extend=Rl,et.extendWith=lo,ru(et,et),et.add=bm,et.attempt=ql,et.camelCase=Sp,et.capitalize=Ol,et.ceil=_m,et.clamp=_p,et.clone=pd,et.cloneDeep=gd,et.cloneDeepWith=vd,et.cloneWith=md,et.conformsTo=yd,et.deburr=Fl,et.defaultTo=Zp,et.divide=xm,et.endsWith=Tp,et.eq=ua,et.escape=Ep,et.escapeRegExp=kp,et.every=Ih,et.find=$h,et.findIndex=ll,et.findKey=Kd,et.findLast=Lh,et.findLastIndex=cl,et.findLastKey=Qd,et.floor=wm,et.forEach=vl,et.forEachRight=yl,et.forIn=Yd,et.forInRight=Xd,et.forOwn=Zd,et.forOwnRight=Jd,et.get=Zo,et.gt=bd,et.gte=_d,et.has=ip,et.hasIn=Jo,et.head=dl,et.identity=Rn,et.includes=Nh,et.indexOf=Pf,et.inRange=xp,et.invoke=ap,et.isArguments=rs,et.isArray=wr,et.isArrayBuffer=xd,et.isArrayLike=Dn,et.isArrayLikeObject=Gr,et.isBoolean=wd,et.isBuffer=Wa,et.isDate=Sd,et.isElement=Td,et.isEmpty=Ed,et.isEqual=kd,et.isEqualWith=Cd,et.isError=Yo,et.isFinite=Ad,et.isFunction=Ia,et.isInteger=kl,et.isLength=oo,et.isMap=Cl,et.isMatch=Md,et.isMatchWith=Pd,et.isNaN=Dd,et.isNative=Id,et.isNil=$d,et.isNull=Rd,et.isNumber=Al,et.isObject=qr,et.isObjectLike=Ur,et.isPlainObject=Ms,et.isRegExp=Xo,et.isSafeInteger=Ld,et.isSet=Ml,et.isString=uo,et.isSymbol=On,et.isTypedArray=ds,et.isUndefined=Bd,et.isWeakMap=jd,et.isWeakSet=Od,et.join=Lf,et.kebabCase=Cp,et.last=ea,et.lastIndexOf=Bf,et.lowerCase=Ap,et.lowerFirst=Mp,et.lt=Fd,et.lte=Nd,et.max=Sm,et.maxBy=Tm,et.mean=Em,et.meanBy=km,et.min=Cm,et.minBy=Am,et.stubArray=au,et.stubFalse=su,et.stubObject=dm,et.stubString=pm,et.stubTrue=mm,et.multiply=Mm,et.nth=jf,et.noConflict=am,et.noop=nu,et.now=no,et.pad=Pp,et.padEnd=Dp,et.padStart=Ip,et.parseInt=Rp,et.random=wp,et.reduce=Vh,et.reduceRight=Wh,et.repeat=$p,et.replace=Lp,et.result=hp,et.round=Pm,et.runInContext=mt,et.sample=Qh,et.size=Zh,et.snakeCase=Bp,et.some=Jh,et.sortedIndex=Hf,et.sortedIndexBy=Vf,et.sortedIndexOf=Wf,et.sortedLastIndex=Gf,et.sortedLastIndexBy=Kf,et.sortedLastIndexOf=Qf,et.startCase=Op,et.startsWith=Fp,et.subtract=Dm,et.sum=Im,et.sumBy=Rm,et.template=Np,et.times=gm,et.toFinite=Ra,et.toInteger=kr,et.toLength=Dl,et.toLower=qp,et.toNumber=ta,et.toSafeInteger=qd,et.toString=Br,et.toUpper=zp,et.trim=Up,et.trimEnd=Hp,et.trimStart=Vp,et.truncate=Wp,et.unescape=Gp,et.uniqueId=ym,et.upperCase=Kp,et.upperFirst=eu,et.each=vl,et.eachRight=yl,et.first=dl,ru(et,function(){var I={};return va(et,function(H,se){vr.call(et.prototype,se)||(I[se]=H)}),I}(),{chain:!1}),et.VERSION=o,St(["bind","bindKey","curry","curryRight","partial","partialRight"],function(I){et[I].placeholder=et}),St(["drop","take"],function(I,H){Ar.prototype[I]=function(se){se=se===n?1:Wr(kr(se),0);var Re=this.__filtered__&&!H?new Ar(this):this.clone();return Re.__filtered__?Re.__takeCount__=an(se,Re.__takeCount__):Re.__views__.push({size:an(se,T),type:I+(Re.__dir__<0?"Right":"")}),Re},Ar.prototype[I+"Right"]=function(se){return this.reverse()[I](se).reverse()}}),St(["filter","map","takeWhile"],function(I,H){var se=H+1,Re=se==w||se==p;Ar.prototype[I]=function(Ye){var ct=this.clone();return ct.__iteratees__.push({iteratee:cr(Ye,3),type:se}),ct.__filtered__=ct.__filtered__||Re,ct}}),St(["head","last"],function(I,H){var se="take"+(H?"Right":"");Ar.prototype[I]=function(){return this[se](1).value()[0]}}),St(["initial","tail"],function(I,H){var se="drop"+(H?"":"Right");Ar.prototype[I]=function(){return this.__filtered__?new Ar(this):this[se](1)}}),Ar.prototype.compact=function(){return this.filter(Rn)},Ar.prototype.find=function(I){return this.filter(I).head()},Ar.prototype.findLast=function(I){return this.reverse().find(I)},Ar.prototype.invokeMap=Mr(function(I,H){return typeof I=="function"?new Ar(this):this.map(function(se){return Ss(se,I,H)})}),Ar.prototype.reject=function(I){return this.filter(so(cr(I)))},Ar.prototype.slice=function(I,H){I=kr(I);var se=this;return se.__filtered__&&(I>0||H<0)?new Ar(se):(I<0?se=se.takeRight(-I):I&&(se=se.drop(I)),H!==n&&(H=kr(H),se=H<0?se.dropRight(-H):se.take(H-I)),se)},Ar.prototype.takeRightWhile=function(I){return this.reverse().takeWhile(I).reverse()},Ar.prototype.toArray=function(){return this.take(T)},va(Ar.prototype,function(I,H){var se=/^(?:filter|find|map|reject)|While$/.test(H),Re=/^(?:head|last)$/.test(H),Ye=et[Re?"take"+(H=="last"?"Right":""):H],ct=Re||/^find/.test(H);Ye&&(et.prototype[H]=function(){var Dt=this.__wrapped__,qt=Re?[1]:arguments,Jt=Dt instanceof Ar,Ri=qt[0],Li=Jt||wr(Dt),Oi=function(Pr){var Dr=Ye.apply(et,yr([Pr],qt));return Re&&Qi?Dr[0]:Dr};Li&&se&&typeof Ri=="function"&&Ri.length!=1&&(Jt=Li=!1);var Qi=this.__chain__,rr=!!this.__actions__.length,dr=ct&&!Qi,Cr=Jt&&!rr;if(!ct&&Li){Dt=Cr?Dt:new Ar(this);var pr=I.apply(Dt,qt);return pr.__actions__.push({func:io,args:[Oi],thisArg:n}),new Xr(pr,Qi)}return dr&&Cr?I.apply(this,qt):(pr=this.thru(Oi),dr?Re?pr.value()[0]:pr.value():pr)})}),St(["pop","push","shift","sort","splice","unshift"],function(I){var H=Hr[I],se=/^(?:push|sort|unshift)$/.test(I)?"tap":"thru",Re=/^(?:pop|shift)$/.test(I);et.prototype[I]=function(){var Ye=arguments;if(Re&&!this.__chain__){var ct=this.value();return H.apply(wr(ct)?ct:[],Ye)}return this[se](function(Dt){return H.apply(wr(Dt)?Dt:[],Ye)})}}),va(Ar.prototype,function(I,H){var se=et[H];if(se){var Re=se.name+"";vr.call(dt,Re)||(dt[Re]=[]),dt[Re].push({name:H,func:se})}}),dt[Qs(n,O).name]=[{name:"wrapper",func:n}],Ar.prototype.clone=Fs,Ar.prototype.reverse=Ns,Ar.prototype.value=_s,et.prototype.at=wh,et.prototype.chain=Sh,et.prototype.commit=Th,et.prototype.next=Eh,et.prototype.plant=Ah,et.prototype.reverse=Mh,et.prototype.toJSON=et.prototype.valueOf=et.prototype.value=Ph,et.prototype.first=et.prototype.head,Xa&&(et.prototype[Xa]=kh),et},ui=ti();Zr?((Zr.exports=ui)._=ui,Hn._=ui):$r._=ui}).call(commonjsGlobal$1)}(lodash,lodash.exports);var lodashExports=lodash.exports;const _$1=getDefaultExportFromCjs$1(lodashExports);window.$=jqueryExports.$,window.jQuery=jqueryExports.jQuery,global$1.$=jqueryExports.$,global$1.jQuery=jqueryExports.jQuery;const __APP_VERSION__="",APP_VERSION=__APP_VERSION__,IriSP$1={VERSION:APP_VERSION,jQuery:jqueryExports.jQuery,libFiles:{locations:{}}};window.IriSP=IriSP$1;const Model=function(t){function e(v,w,c){c=c||10;for(var p=w.toString(c);p.length<v;)p="0"+p;return p}function n(v){return e(v,Math.floor(Math.random()*Math.pow(16,v)),16)}var o=n(8)+"-"+n(4)+"-",u=Math.floor(Math.random()*65536),l=["[aáàâä]","[cç]","[eéèêë]","[iíìîï]","[oóòôö]","[uùûü]"],m=["̀","́","̂","̃","̧","{","}","(",")","[","]","【","】","、","・","‥","。","「","」","『","』","〜",":","!","?"," ",","," ",";","(",")",".","*","+","\\","?","|","{","}","[","]","^","#","/"],y={},E=y._SOURCE_STATUS_EMPTY=0,C=y._SOURCE_STATUS_WAITING=1,k=y._SOURCE_STATUS_READY=2,A=y.extendPrototype=function(v,w){var c=w.prototype,p=v.prototype;for(var x in c)c.hasOwnProperty(x)&&(p[x]=c[x])},D=y.getUID=function(){return o+e(4,++u%65536,16)+"-"+n(4)+"-"+n(6)+n(6)};y.isLocalURL=function(v){var w=v.match(/^(\w+:)\/\/([^/]+)/);return w?w[1]===document.location.protocol&&w[2]===document.location.host:!0};var P=y.regexpFromTextOrArray=function(v,p,x){var p=p||!1,x=x||!1;function S(T){return T.replace(/([\\\*\+\?\|\{\[\}\]\(\)\^\$\.\#\/])/gm,"\\$1")}var b=typeof v=="string"?S(v):_$1(v).map(S).join("|"),h="im";return p||(b="("+b+")",h+="g"),x&&(b="^"+b+"$"),new RegExp(b,h)},R=y.fullTextRegexps=function(v){for(var w="[\\"+m.join("\\")+"]",c=new RegExp(w,"gm"),p=v.toLowerCase().replace(c,""),x=_$1(l).map(function(T){return new RegExp(T)}),S="",b=0;b<p.length;b++){b&&(S+=w+"*");var h=p[b];_$1(l).each(function(T,M){h=h.replace(x[M],T)}),S+=h}return"("+S+")"};y.isoToDate=function(v){var w="([0-9]{4})(-([0-9]{2})(-([0-9]{2})(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?",c=v.match(new RegExp(w)),p=0,x=new Date(c[1],0,1);c[3]&&x.setMonth(c[3]-1),c[5]&&x.setDate(c[5]),c[7]&&x.setHours(c[7]),c[8]&&x.setMinutes(c[8]),c[10]&&x.setSeconds(c[10]),c[12]&&x.setMilliseconds(+("0."+c[12])*1e3),c[14]&&(p=Number(c[16])*60+Number(c[17]),p*=c[15]=="-"?1:-1),p-=x.getTimezoneOffset();const S=Number(x)+p*60*1e3;var b=new Date;return b.setTime(Number(S)),b},y.dateToIso=function(v){var w=v?new Date(v):new Date;return w.getUTCFullYear()+"-"+e(2,w.getUTCMonth()+1)+"-"+e(2,w.getUTCDate())+"T"+e(2,w.getUTCHours())+":"+e(2,w.getUTCMinutes())+":"+e(2,w.getUTCSeconds())+"Z"};var B=y.List=function(v){if(Array.call(this),this.directory=v,this.idIndex=[],this.__events={},typeof v>"u")throw console.trace(),"Error : new List(directory): directory is undefined";var w=this;this.on("clear-search",function(){w.searching=!1,w.regexp=void 0,w.forEach(function(c){c.found=void 0}),w.trigger("search-cleared")})};B.prototype=new Array,B.prototype.hasId=function(v){return _$1(this.idIndex).includes(v)},typeof Array.prototype.forEach>"u"&&(B.prototype.forEach=function(v){var w=this;_$1(this).forEach(function(c,p){v(c,p,w)})}),typeof Array.prototype.map>"u"&&(B.prototype.map=function(v){var w=this;return _$1(this).map(function(c,p){return v(c,p,w)})}),B.prototype.pluck=function(v){return this.map(function(w){return w[v]})},B.prototype.filter=function(v){var w=this,c=new B(this.directory);return c.addElements(_$1(this).filter(function(p,x){return v(p,x,w)})),c},B.prototype.slice=function(v,w){var c=new B(this.directory);return c.addElements(Array.prototype.slice.call(this,v,w)),c},B.prototype.splice=function(v,w){var c=new B(this.directory);return c.addElements(Array.prototype.splice.call(this,v,w)),this.idIndex.splice(v,w),c},B.prototype.sortBy=function(v){var w=this,c=new B(this.directory);return c.addElements(_$1(this).sortBy(function(p,x){return v(p,x,w)})),c},B.prototype.searchByTitle=function(v,c){var c=c||!1,p=P(v,!0,c);return this.filter(function(x){return p.test(x.title)})},B.prototype.searchByDescription=function(v,c){var c=c||!1,p=P(v,!0,c);return this.filter(function(x){return p.test(x.description)})},B.prototype.searchByTextFields=function(v,c){var c=c||!1,p=P(v,!0,c);return this.filter(function(x){var S=(x.keywords||x.getTagTexts()||[]).join(", ");return p.test(x.description)||p.test(x.title)||p.test(S)})},B.prototype.search=function(v){if(!v)return this.trigger("clear-search"),this;this.searching=!0,this.trigger("search",v);var w=R(v),c=new RegExp(w,"im");this.regexp=new RegExp(w,"gim");var p=this.filter(function(x,S){var b=c.test(x.title),h=c.test(x.description),T=!!(b||h);return x.found=T,x.trigger(T?"found":"not-found"),T});return this.trigger(p.length?"found":"not-found",p),p},B.prototype.searchByTags=function(v){if(!v)return this.trigger("clear-search"),this;this.searching=!0,this.trigger("search",v);var w=R(v),c=new RegExp(w,"im");this.regexp=new RegExp(w,"gim");var p=this.filter(function(x,S){var b=c.test(x.getTagTexts());return x.found=b,x.trigger(b?"found":"not-found"),b});return this.trigger(p.length?"found":"not-found",p),p},B.prototype.getTitles=function(){return this.map(function(v){return v.title})},B.prototype.addId=function(v){var w=this.directory.getElement(v);!this.hasId(v)&&typeof w<"u"&&(this.idIndex.push(v),Array.prototype.push.call(this,w))},B.prototype.push=function(v){if(!(typeof v>"u")){var w=_$1(this.idIndex).indexOf(v.id);w===-1?(this.idIndex.push(v.id),Array.prototype.push.call(this,v)):this[w]=v}},B.prototype.addIds=function(v){v.length;var w=this;_$1(v).forEach(function(c){w.addId(c)})},B.prototype.addElements=function(v){var w=this;_$1(v).forEach(function(c){w.push(c)})},B.prototype.removeId=function(v,c){var c=c||!1,p=_$1(this.idIndex).indexOf(v);p!==-1&&this.splice(p,1),c&&delete this.directory.elements[v]},B.prototype.removeElement=function(v,w){this.removeId(v.id)},B.prototype.removeIds=function(v,w){var c=this;_$1(v).forEach(function(p){c.removeId(p)})},B.prototype.removeElements=function(v,w){var c=this;_$1(v).forEach(function(p){c.removeElement(p)})},B.prototype.on=function(v,w){typeof this.__events[v]>"u"&&(this.__events[v]=[]),this.__events[v].push(w)},B.prototype.off=function(v,w){typeof this.__events[v]<"u"&&(this.__events[v]=t._(this.__events[v]).reject(function(c){return c===w}))},B.prototype.trigger=function(v,w){var c=this;_$1(this.__events[v]).each(function(p){p.call(c,w)})};var F=y.Time=function(v){this.milliseconds=0,this.setMilliseconds(v)};F.prototype.setMilliseconds=function(v){var w=this.milliseconds;switch(typeof v){case"string":this.milliseconds=parseInt(v);break;case"number":this.milliseconds=Math.floor(v);break;case"object":this.milliseconds=parseInt(v.valueOf());break;default:this.milliseconds=0}this.milliseconds===NaN&&(this.milliseconds=w)},F.prototype.setSeconds=function(v){this.milliseconds=1e3*v},F.prototype.getSeconds=function(){return this.milliseconds/1e3},F.prototype.getHMS=function(){var v=Math.abs(Math.floor(this.getSeconds()));return{hours:Math.floor(v/3600),minutes:Math.floor(v/60)%60,seconds:v%60,milliseconds:this.milliseconds%1e3}},F.prototype.add=function(v){this.milliseconds+=new F(v).milliseconds},F.prototype.valueOf=function(){return this.milliseconds},F.prototype.toString=function(v){var w=this.getHMS(),c="";return w.hours&&(c+=w.hours+":"),c+=e(2,w.minutes)+":"+e(2,w.seconds),v&&(c+="."+Math.floor(w.milliseconds/100)),c};var O=y.Reference=function(v,w){this.source=v,this.id=w,typeof w=="object"?this.isList=!0:this.isList=!1,this.refresh()};O.prototype.refresh=function(){this.isList?(this.contents=new B(this.source.directory),this.contents.addIds(this.id)):this.contents=this.source.getElement(this.id)},O.prototype.getContents=function(){return(typeof this.contents>"u"||this.isList&&this.contents.length!=this.id.length)&&this.refresh(),this.contents},O.prototype.isOrHasId=function(v){return this.isList?_$1(this.id).indexOf(v)!==-1:this.id==v};var N=y.Element=function(v,w){this.elementType="element",this.title="",this.description="",this.__events={},!(typeof w>"u")&&((typeof v>"u"||!v)&&(v=D()),this.id=v,this.source=w,w!==this&&this.source.directory.addElement(this))};N.prototype.toString=function(){return this.elementType+(this.elementType!=="element"?", id="+this.id+', title="'+this.title+'"':"")},N.prototype.setReference=function(v,w){this[v]=new O(this.source,w)},N.prototype.getReference=function(v){if(typeof this[v]<"u")return this[v].getContents()},N.prototype.getRelated=function(v,w){w=typeof w<"u"&&w;var c=this;return this.source.getList(v,w).filter(function(p){var x=p[c.elementType];return x&&x.isOrHasId(c.id)})},N.prototype.on=function(v,w){typeof this.__events[v]>"u"&&(this.__events[v]=[]),this.__events[v].push(w)},N.prototype.off=function(v,w){typeof this.__events[v]<"u"&&(this.__events[v]=_$1(this.__events[v]).reject(function(c){return c===w}))},N.prototype.trigger=function(v,w){var c=this;_$1(this.__events[v]).each(function(p){p.call(c,w)})};var Y=y.Playable=function(v,w){if(N.call(this,v,w),!(typeof w>"u")){this.elementType="playable",this.currentTime=new F,this.volume=.5,this.paused=!0,this.muted=!1,this.timeRange=!1,this.loadedMetadata=!1;var c=this;this.on("play",function(){c.paused=!1}),this.on("pause",function(){c.paused=!0}),this.on("timeupdate",function(p){c.currentTime=p,c.getAnnotations().filter(function(x){return(x.end<=p||x.begin>p)&&x.playing}).forEach(function(x){x.playing=!1,x.trigger("leave"),c.trigger("leave-annotation",x)}),c.getAnnotations().filter(function(x){return x.begin<=p&&x.end>p&&!x.playing}).forEach(function(x){x.playing=!0,x.trigger("enter"),c.trigger("enter-annotation",x)}),c.getTimeRange()&&(c.getTimeRange()[0]>p&&(c.pause(),c.setCurrentTime(c.getTimeRange()[0])),c.getTimeRange()[1]<p&&(c.pause(),c.setCurrentTime(c.getTimeRange()[1])))}),this.on("loadedmetadata",function(){c.loadedMetadata=!0})}};A(Y,N),Y.prototype.getCurrentTime=function(){return this.currentTime},Y.prototype.getVolume=function(){return this.volume},Y.prototype.getPaused=function(){return this.paused},Y.prototype.getMuted=function(){return this.muted},Y.prototype.getTimeRange=function(){return this.timeRange},Y.prototype.setCurrentTime=function(v){this.trigger("setcurrenttime",v)},Y.prototype.setVolume=function(v){this.trigger("setvolume",v)},Y.prototype.setMuted=function(v){this.trigger("setmuted",v)},Y.prototype.setTimeRange=function(v,w){if(v<w&&v>=0&&w>0)return this.trigger("settimerange",[v,w])},Y.prototype.resetTimeRange=function(){return this.trigger("resettimerange")},Y.prototype.play=function(){this.trigger("setplay")},Y.prototype.pause=function(){this.trigger("setpause")},Y.prototype.show=function(){},Y.prototype.hide=function(){};var J=y.Media=function(v,w){Y.call(this,v,w),this.elementType="media",this.duration=new F,this.video=""};A(J,Y);var J=y.Media=function(v,w){Y.call(this,v,w),this.elementType="media",this.duration=new F,this.video=""};A(J,Y),J.prototype.setDuration=function(v){this.duration.setMilliseconds(v)},J.prototype.getAnnotations=function(){return this.getRelated("annotation")},J.prototype.getAnnotationsByTypeTitle=function(v){var w=this.source.getAnnotationTypes().searchByTitle(v).pluck("id");return w.length?this.getAnnotations().filter(function(c){return _$1(w).indexOf(c.getAnnotationType().id)!==-1}):new B(this.source.directory)};var ie=y.Tag=function(v,w){N.call(this,v,w),this.elementType="tag"};A(ie,N),ie.prototype.getAnnotations=function(){return this.getRelated("annotation")};var ue=y.AnnotationType=function(v,w){N.call(this,v,w),this.elementType="annotationType"};A(ue,N),ue.prototype.getAnnotations=function(){return this.getRelated("annotation")};var Q=y.Annotation=function(v,w){N.call(this,v,w),this.elementType="annotation",this.begin=new F,this.end=new F,this.tag=new O(w,[]),this.playing=!1;var c=this;this.on("click",function(){c.getMedia().setCurrentTime(c.begin)})};A(Q,N),Q.prototype.setBeginEnd=function(v,w){v=Math.max(0,v),w=Math.max(0,w),w<v&&(w=v),this.begin.setMilliseconds(v),this.end.setMilliseconds(w),this.trigger("change-begin"),this.trigger("change-end")},Q.prototype.setBegin=function(v){this.begin.setMilliseconds(Math.max(0,v)),this.trigger("change-begin"),this.end<this.begin&&this.setEnd(this.begin)},Q.prototype.setEnd=function(v){this.end.setMilliseconds(Math.min(v,this.getMedia().duration.milliseconds)),this.trigger("change-end"),this.end<this.begin&&this.setBegin(this.end)},Q.prototype.setDuration=function(v){this.setEnd(v+this.begin.milliseconds)},Q.prototype.setMedia=function(v){this.setReference("media",v)},Q.prototype.getMedia=function(){return this.getReference("media")},Q.prototype.setAnnotationType=function(v){this.setReference("annotationType",v)},Q.prototype.getAnnotationType=function(){return this.getReference("annotationType")},Q.prototype.setTags=function(v){this.setReference("tag",v)},Q.prototype.getTags=function(){return this.getReference("tag")},Q.prototype.getTagTexts=function(){return this.getTags().getTitles()},Q.prototype.getDuration=function(){return new F(this.end.milliseconds-this.begin.milliseconds)};var ce=y.MashedAnnotation=function(v,w){N.call(this,v.id+"_"+w.id,w.source),this.elementType="mashedAnnotation",this.annotation=w,this.begin=new F,this.end=new F,this.duration=new F,this.title=this.annotation.title,this.description=this.annotation.description,this.color=this.annotation.color;var c=this;this.on("click",function(){v.setCurrentTime(c.begin)}),this.on("enter",function(){c.annotation.trigger("enter")}),this.on("leave",function(){c.annotation.trigger("leave")})};A(ce,N),ce.prototype.getMedia=function(){return this.annotation.getReference("media")},ce.prototype.getAnnotationType=function(){return this.annotation.getReference("annotationType")},ce.prototype.getTags=function(){return this.annotation.getReference("tag")},ce.prototype.getTagTexts=function(){return this.annotation.getTags().getTitles()},ce.prototype.getDuration=function(){return this.annotation.getDuration()},ce.prototype.setBegin=function(v){this.begin.setMilliseconds(v),this.duration.setMilliseconds(this.annotation.getDuration()),this.end.setMilliseconds(v+this.duration)};var he=y.Mashup=function(v,w){Y.call(this,v,w),this.elementType="mashup",this.duration=new F,this.segments=new B(w.directory),this.loaded=!1;var c=this;this._updateTimes=function(){c.updateTimes(),c.trigger("change")},this.on("add",this._updateTimes),this.on("remove",this._updateTimes)};A(he,Y),he.prototype.updateTimes=function(){var v=0;this.segments.forEach(function(w){w.setBegin(v),v=w.end}),this.duration.setMilliseconds(v)},he.prototype.addAnnotation=function(v,p){var c=new ce(this,v),p=p||!1;this.segments.push(c),v.on("change-begin",this._updateTimes),v.on("change-end",this._updateTimes),p||this.trigger("add")},he.prototype.addAnnotationById=function(v,p){var c=this.source.getElement(v),p=p||!1;typeof c<"u"&&this.addAnnotation(c,p)},he.prototype.addAnnotations=function(v){var w=this;_$1(v).forEach(function(c){w.addAnnotation(c,!0)}),this.trigger("add")},he.prototype.addAnnotationsById=function(v){var w=this;_$1(v).forEach(function(c){w.addAnnotationById(c,!0)}),this.trigger("add")},he.prototype.removeAnnotation=function(v,c){var c=c||!1;v.off("change-begin",this._updateTimes),v.off("change-end",this._updateTimes),this.segments.removeId(this.id+"_"+v.id),c||this.trigger("remove")},he.prototype.removeAnnotationById=function(v,c){var c=c||!1,p=this.source.getElement(v);p&&this.removeAnnotation(p,c),c||this.trigger("remove")},he.prototype.setAnnotations=function(v){for(;this.segments.length;)this.removeAnnotation(this.segments[0].annotation,!0);this.addAnnotations(v)},he.prototype.setAnnotationsById=function(v){for(;this.segments.length;)this.removeAnnotation(this.segments[0].annotation,!0);this.addAnnotationsById(v)},he.prototype.hasAnnotation=function(v){return!!_$1(this.segments).find(function(w){return w.annotation===v})},he.prototype.getAnnotation=function(v){return _$1(this.segments).find(function(w){return w.annotation===v})},he.prototype.getAnnotationById=function(v){return _$1(this.segments).find(function(w){return w.annotation.id===v})},he.prototype.getAnnotations=function(){return this.segments},he.prototype.getOriginalAnnotations=function(){var v=new B(this.source.directory);return this.segments.forEach(function(w){v.push(w.annotation)}),v},he.prototype.getMedias=function(){var v=new B(this.source.directory);return this.segments.forEach(function(w){v.push(w.getMedia())}),v},he.prototype.getAnnotationsByTypeTitle=function(v){var w=this.source.getAnnotationTypes().searchByTitle(v).pluck("id");return w.length?this.getAnnotations().filter(function(c){return _$1(w).indexOf(c.getAnnotationType().id)!==-1}):new B(this.source.directory)},he.prototype.getAnnotationAtTime=function(v){var w=this.segments.filter(function(c){return c.begin<=v&&c.end>v});if(w.length)return w[0]},he.prototype.getMediaAtTime=function(v){var w=this.getAnnotationAtTime(v);if(typeof w<"u")return w.getMedia()};var ke=y.Source=function(v){if(N.call(this,!1,this),this.status=E,this.elementType="source",typeof v<"u"){var w=this;_$1(v).forEach(function(c,p){w[p]=c}),this.callbackQueue=[],this.contents={},this.get()}};A(ke,N),ke.prototype.addList=function(v,w){typeof this.contents[v]>"u"&&(this.contents[v]=new B(this.directory)),this.contents[v].addElements(w)},ke.prototype.getList=function(v,w){return w=typeof w<"u"&&w,w?this.directory.getGlobalList().filter(function(c){return c.elementType===v}):(typeof this.contents[v]>"u"&&(this.contents[v]=new B(this.directory)),this.contents[v])},ke.prototype.forEach=function(v){var w=this;_$1(this.contents).forEach(function(c,p){v.call(w,c,p)})},ke.prototype.getElement=function(v){return this.directory.getElement(v)},ke.prototype.get=function(){this.status=C,this.handleCallbacks()},ke.prototype.deferCallback=function(v){var w=this;_$1.defer(function(){v.call(w)})},ke.prototype.handleCallbacks=function(){for(this.status=k;this.callbackQueue.length;)this.deferCallback(this.callbackQueue.splice(0,1)[0])},ke.prototype.onLoad=function(v){this.status===k?this.deferCallback(v):this.callbackQueue.push(v)},ke.prototype.serialize=function(){return this.serializer.serialize(this)},ke.prototype.deSerialize=function(v){this.serializer.deSerialize(v,this)},ke.prototype.getAnnotations=function(v){return v=typeof v<"u"&&v,this.getList("annotation",v)},ke.prototype.getMedias=function(v){return v=typeof v<"u"&&v,this.getList("media",v)},ke.prototype.getTags=function(v){return v=typeof v<"u"&&v,this.getList("tag",v)},ke.prototype.getMashups=function(v){return v=typeof v<"u"&&v,this.getList("mashup",v)},ke.prototype.getAnnotationTypes=function(v){return v=typeof v<"u"&&v,this.getList("annotationType",v)},ke.prototype.getAnnotationsByTypeTitle=function(v,w){w=typeof w<"u"&&w;var c=new B(this.directory),p=this.getAnnotationTypes(w).searchByTitle(v);return p.forEach(function(x){c.addElements(x.getAnnotations(w))}),c},ke.prototype.getDuration=function(){var v=this.currentMedia;if(typeof v<"u")return this.currentMedia.duration},ke.prototype.getCurrentMedia=function(v){if(typeof this.currentMedia>"u")if(v.is_mashup){var w=this.getMashups();w.length&&(this.currentMedia=w[0])}else{var c=this.getMedias();c.length&&(this.currentMedia=c[0])}return this.currentMedia},ke.prototype.merge=function(v){var w=this;v.forEach(function(c,p){w.getList(p).addElements(c)})};var L=y.RemoteSource=function(v){ke.call(this,v)};A(L,ke),L.prototype.get=function(){this.status=C;var v=this,w=this.url_params||{},c=this.dataType||"json";w.format=c,jQuery.ajax({url:this.url,dataType:c,data:w,traditional:!0,success:function(p){v.deSerialize(p),v.handleCallbacks()}})};var d=y.Directory=function(){this.remoteSources={},this.elements={}};return d.prototype.remoteSource=function(v){if(typeof v!="object"||typeof v.url>"u")throw"Error : Directory.remoteSource(configuration): configuration.url is undefined";var w=_$1({directory:this}).extend(v);w.url_params=w.url_params||{};var c=w.url+"?"+jQuery.param(w.url_params);return typeof this.remoteSources[c]>"u"&&(this.remoteSources[c]=new L(w)),this.remoteSources[c]},d.prototype.newLocalSource=function(v){var w=_$1({directory:this}).extend(v),c=new ke(w);return c},d.prototype.getElement=function(v){return this.elements[v]},d.prototype.addElement=function(v){this.elements[v.id]=v},d.prototype.getGlobalList=function(){var v=new B(this);return v.addIds(_$1(this.elements).keys()),v},y},htmlPlayer=function(t,e,n){var o=n||{},u=o.video||t.video;typeof o.url_transform=="function"&&(u=o.url_transform(u));var l=jQuery("<video>");if(l.attr({width:o.width||void 0,height:o.height||void 0,controls:o.controls||void 0,autoplay:o.autostart||o.autoplay||void 0}),typeof u=="string")l.attr("src",u);else for(var m=0;m<u.length;m++){var y=jQuery("<source>");y.attr({src:u[m].src,type:u[m].type}),l.append(y)}if(o.subtitle){var E=jQuery("<track>");E.attr({label:"Subtitles",kind:"subtitles",srclang:"fr",src:o.subtitle,default:""}),l.append(E)}e.html(l);var C=l[0];t.on("setcurrenttime",function(A){try{C.currentTime=A/1e3}catch{}}),t.on("setvolume",function(A){t.volume=A;try{C.volume=A}catch{}}),t.on("setmuted",function(A){t.muted=A;try{C.muted=A}catch{}}),t.on("settimerange",function(A){t.timeRange=A;try{(t.getCurrentTime()>A[0]||t.getCurrentTime()<A)&&(C.currentTime=A[0]/1e3)}catch{}}),t.on("resettimerange",function(){t.timeRange=!1}),t.on("setplay",function(){try{C.play()}catch{}}),t.on("setpause",function(){try{C.pause()}catch{}});function k(){t.muted=C.muted,t.volume=C.volume}l.on("loadedmetadata",function(){k(),t.trigger("loadedmetadata"),t.trigger("volumechange")}),l.on("timeupdate",function(){t.trigger("timeupdate",new IriSP.Model.Time(1e3*C.currentTime))}),l.on("volumechange",function(){k(),t.trigger("volumechange")}),l.on("play",function(){t.trigger("play")}),l.on("pause",function(){t.trigger("pause")}),l.on("seeking",function(){t.trigger("seeking")}),l.on("seeked",function(){t.trigger("seeked")}),l.on("click",function(){C.paused?t.play():t.pause()})};function utils$s(t){return{jqEscape:function(e){return e.replace(/(:|\.)/g,"\\$1")},textFieldHtml:function(e,n,o){var u=[],l=[],m=e.replace(/(^\s+|\s+$)/g,"");function y(R,B,F){for(;;){var O=R.exec(m);if(!O)break;var N=R.lastIndex,Y=O.index;u.push({start:Y,end:N,startHtml:typeof B=="function"?B(O):B,endHtml:typeof F=="function"?F(O):F}),l.push(Y),l.push(N)}}n&&y(n,'<span class="Ldt-Highlight">',"</span>"),y(/(https?:\/\/)?[\w\d\-]+\.[\w\d\-]+\S+/gm,function(R){return'<a href="'+(R[1]?"":"http://")+R[0]+'" target="_blank">'},"</a>"),y(/@([\d\w]{1,15})/gm,function(R){return'<a href="http://twitter.com/'+R[1]+'" target="_blank">'},"</a>"),y(/\*[^*]+\*/gm,"<b>","</b>"),y(/[\n\r]+/gm,"","<br />"),_$1(o).each(function(R){y.apply(null,R)}),l=_$1(l).chain().uniq().sortBy(function(R){return parseInt(R)}).value();for(var E="",C=0,k=0;k<l.length;k++){var A=l[k];E+=m.substring(C,A);for(var D=u.length-1;D>=0;D--){var P=u[D];P.start<A&&P.end>=A&&(E+=P.endHtml)}for(var D=0;D<u.length;D++){var P=u[D];P.start<=A&&P.end>A&&(E+=P.startHtml)}C=A}return E+=m.substring(C),E},log:function(){typeof console<"u"&&typeof t.logging<"u"&&t.logging&&console.log.apply(console,arguments)},attachDndData:function(e,n){e.attr("draggable","true").on("dragstart",function(o){var u=typeof n=="function"?n.call(this):n;try{u.html===void 0&&u.uri&&u.text&&(u.html='<a href="'+u.uri+'">'+u.text+"</a>"),_$1(u).each(function(l,m){l&&m!="text"&&m!="html"&&o.originalEvent.dataTransfer.setData("text/x-iri-"+m,l)}),u.uri&&u.text&&(o.originalEvent.dataTransfer.setData("text/x-moz-url",u.uri+`
-`+u.text.replace(`
-`," ")),o.originalEvent.dataTransfer.setData("text/plain",u.text+" "+u.uri)),u.html!==void 0&&o.originalEvent.dataTransfer.setData("text/html",u.html),u.text!==void 0&&!u.uri&&o.originalEvent.dataTransfer.setData("text/plain",u.text)}catch{o.originalEvent.dataTransfer.setData("Text",JSON.stringify(u))}})},FakeClass:function(e){var n=this,o=function(){};_$1(e).each(function(u){n[u]=o})},timestamp2ms:function(e){for(var n=e.split(":").reverse();n.length<3;)n.push("0");return 1e3*(3600*parseInt(n[2],10)+60*parseInt(n[1],10)+parseInt(n[0],10))},setFullScreen:function(e,n){n?e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen():document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},isFullscreen:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},getFullscreenElement:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||void 0},getFullscreenEventname:function(){return document.exitFullscreen&&"fullscreenchange"||document.webkitExitFullscreen&&"webkitfullscreenchange"||document.mozExitFullScreen&&"mozfullscreenchange"||document.msExitFullscreen&&"msfullscreenchange"||""}}}const iFrameUpdater=function(t){var e=document.getElementById(t),n=!1,o=function(){n=!0,window.setTimeout(function(){n=!1},1e3),e.contentWindow.postMessage(document.location.hash,"*")};window.onhashchange=o,window.addEventListener("message",function(u){/^#/.test(u.data)&&!n&&(typeof window.history<"u"&&typeof window.history.replaceState<"u"?window.history.replaceState({},"",u.data):document.location.hash=u.data)}),window.setTimeout(o,2e3)},content=function(t){return{deSerialize:function(e,n){var o=new t.Model.List(n.directory);function u(l,m){var y=new t.Model.Media(l.iri_id,n);y.video=l.media_url,y.title=l.title,y.description=l.description,y.setDuration(l.duration),y.thumbnail=l.image,y.color=t.vizcolors[m%t.vizcolors.length],y.keywords=l.tags,o.push(y)}typeof e.objects<"u"?_$1(e.objects).each(u):u(e,0),n.addList("media",o)}}},ldt_annotate=function(t){return{serializeAnnotation:function(e,n){var o=e.getAnnotationType();return{id:e.id,begin:e.begin.milliseconds,end:e.end.milliseconds,content:{data:e.content?e.content.data||{}:{},description:e.description,title:e.title,audio:e.audio},id:e.id?e.id:"",tags:e.getTagTexts(),media:e.getMedia().id,project:e.project_id,type_title:o.title,type:typeof o.dont_send_id<"u"&&o.dont_send_id?"":o.id,meta:{created:e.created,creator:e.creator,modified:e.modified,contributor:e.contributor}}},deserializeAnnotation:function(e,n){var o=new t.Model.Annotation(e.id,n);o.description=e.content.description||"",o.title=e.content.title||"",o.creator=e.meta.creator||"",o.created=new Date(e.meta.created),o.setMedia(e.media,n);var u=n.getElement(e.type);u||(u=new t.Model.AnnotationType(e.type,n),u.title=e.type_title,n.getAnnotationTypes().push(u)),o.setAnnotationType(u.id);var l=_$1(e.tags).map(function(m){var y=n.getTags(!0).searchByTitle(m,!0);if(y.length)var E=y[0];else E=new t.Model.Tag(m.replace(/\W/g,"_"),n),E.title=m,n.getTags().push(E);return E.id});o.setTags(l),o.setBeginEnd(e.begin,e.end),typeof e.content.audio<"u"&&e.content.audio.href&&(o.audio=e.content.audio),e.content.data&&(o.content={data:e.content.data}),n.getAnnotations().push(o)},serialize:function(e){return JSON.stringify(this.serializeAnnotation(e.getAnnotations()[0],e))},deSerialize:function(e,n){typeof e=="string"&&(e=JSON.parse(e)),n.addList("tag",new t.Model.List(n.directory)),n.addList("annotationType",new t.Model.List(n.directory)),n.addList("annotation",new t.Model.List(n.directory)),this.deserializeAnnotation(e,n)}}},ldt_localstorage=function(t){return{serializeAnnotation:function(e,n){var o=e.getAnnotationType();return{id:e.id,begin:e.begin.milliseconds,end:e.end.milliseconds,content:{data:e.content?e.content.data||{}:{},description:e.description,title:e.title,audio:e.audio},tags:e.getTagTexts(),media:e.getMedia().id,type_title:o.title,type:typeof o.dont_send_id<"u"&&o.dont_send_id?"":o.id,meta:{created:e.created,creator:e.creator,modified:e.modified,contributor:e.contributor}}},deserializeAnnotation:function(e,n){var o=new t.Model.Annotation(e.id,n);o.description=e.content.description||"",o.title=e.content.title||"",o.creator=e.meta.creator||"",o.created=new Date(e.meta.created),o.contributor=e.meta.contributor||"",o.modified=new Date(e.meta.modified),o.setMedia(e.media,n);var u=n.getElement(e.type);u||(u=new t.Model.AnnotationType(e.type,n),u.title=e.type_title,n.getAnnotationTypes().push(u)),o.setAnnotationType(u.id);var l=_$1(e.tags).map(function(m){var y=n.getTags(!0).searchByTitle(m,!0);if(y.length)var E=y[0];else E=new t.Model.Tag(m.replace(/\W/g,"_"),n),E.title=m,n.getTags().push(E);return E.id});o.setTags(l),o.setBeginEnd(e.begin,e.end),typeof e.content.audio<"u"&&e.content.audio.href&&(o.audio=e.content.audio),e.content.data&&(o.content={data:e.content.data}),n.getAnnotations().push(o)},serialize:function(e){var n=this;return JSON.stringify(e.getAnnotations().map(function(o){return n.serializeAnnotation(o,e)}))},deSerialize:function(e,n){var o=this;typeof e=="string"&&(e=JSON.parse(e)),n.addList("tag",new t.Model.List(n.directory)),n.addList("annotationType",new t.Model.List(n.directory)),n.addList("annotation",new t.Model.List(n.directory)),e.map(function(u){o.deserializeAnnotation(u,n)})}}},ldt=function(t){return{types:{media:{serialized_name:"medias",deserializer:function(e,n){var o=new t.Model.Media(e.id,n);return o.video=typeof e.url<"u"?e.url:typeof e.href<"u"?e.href:null,typeof e.meta.item<"u"&&e.meta.item.name==="streamer"&&(o.streamer=e.meta.item.value),o.title=e.meta["dc:title"],o.description=e.meta["dc:description"],o.setDuration(e.meta["dc:duration"]),o.url=e.meta.url,typeof e.meta.img<"u"&&e.meta.img.src!=="undefined"&&(o.thumbnail=e.meta.img.src),o},serializer:function(e,n,o){var u={id:e.id,url:e.video,meta:{"dc:title":e.title||"","dc:description":e.description||"","dc:created":t.Model.dateToIso(e.created||n.created),"dc:modified":t.Model.dateToIso(e.modified||n.modified),"dc:creator":e.creator||n.creator,"dc:contributor":e.contributor||n.contributor||e.creator||n.creator,"dc:duration":e.duration.milliseconds}};o.medias.push(u);var l={id:t.Model.getUID(),meta:{"dc:title":e.title||"","dc:description":e.description||"","dc:created":t.Model.dateToIso(e.created||n.created),"dc:modified":t.Model.dateToIso(e.modified||n.modified),"dc:creator":e.creator||n.creator,"dc:contributor":e.contributor||n.contributor||e.creator||n.creator,"id-ref":e.id},items:n.getAnnotationTypes().filter(function(m){switch(typeof m.media){case"object":return m.media===e;case"string":return m.media===e.id;default:var y=m.getAnnotations();if(y){for(var E=0;E<y.length;E++)if(y[E].getMedia()===e)return!0}}return!1}).map(function(m){return{"id-ref":m.id}})};o.lists.push(l),o.views[0].contents.push(e.id)}},tag:{serialized_name:"tags",deserializer:function(e,n){var o=new t.Model.Tag(e.id,n);return o.title=e.meta["dc:title"],o},serializer:function(e,n,o){if(!(n.regenerateTags&&!e.regenerated)){var u={id:e.id,meta:{"dc:title":e.title||"","dc:description":e.description||"","dc:created":t.Model.dateToIso(e.created||n.created),"dc:modified":t.Model.dateToIso(e.modified||n.modified),"dc:creator":e.creator||n.creator,"dc:contributor":e.contributor||n.contributor||e.creator||n.creator}};o.tags.push(u)}}},annotationType:{serialized_name:"annotation-types",deserializer:function(e,n){var o=new t.Model.AnnotationType(e.id,n);return o.title=e["dc:title"],o.description=e["dc:description"],o},serializer:function(e,n,o){var u={id:e.id,"dc:title":e.title||"","dc:description":e.description||"","dc:created":t.Model.dateToIso(e.created||n.created),"dc:modified":t.Model.dateToIso(e.modified||n.modified),"dc:creator":e.creator||n.creator,"dc:contributor":e.contributor||n.contributor||e.creator||n.creator};o["annotation-types"].push(u),o.views[0].annotation_types.push(e.id)}},annotation:{serialized_name:"annotations",deserializer:function(e,n){var o=new t.Model.Annotation(e.id,n);if(o.title=e.content.title||"",o.description=e.content.description||"",typeof e.content.img<"u"&&e.content.img.src!=="undefined"&&(o.thumbnail=e.content.img.src),o.created=t.Model.isoToDate(e.created?e.created:e.meta?e.meta["dc:created"]:""),typeof e.color<"u"){for(var u=parseInt(e.color).toString(16);u.length<6;)u="0"+u;o.color="#"+u}return o.content=e.content,o.setMedia(e.media),o.setAnnotationType(e.meta["id-ref"]),o.setTags(_$1(e.tags).map("id-ref")),o.keywords=o.getTagTexts(),o.setBegin(e.begin),o.setEnd(e.end),o.creator=e.meta["dc:creator"]||"",o.project=e.meta.project||"",typeof e.meta["dc:source"]<"u"&&typeof e.meta["dc:source"].content<"u"&&(o.source=JSON.parse(e.meta["dc:source"].content)),typeof e.content.audio<"u"&&e.content.audio.href&&(o.audio=e.content.audio),o},serializer:function(e,n,o){var u=parseInt(e.color.replace(/^#/,""),16).toString(),l={id:e.id,begin:e.begin.milliseconds,end:e.end.milliseconds,content:_$1.defaults({},{title:e.title,description:e.description,audio:e.audio,img:{src:e.thumbnail}},e.content,{title:"",description:""}),color:u,media:e.media.id,meta:{"id-ref":e.getAnnotationType().id,"dc:created":t.Model.dateToIso(e.created||n.created),"dc:modified":t.Model.dateToIso(e.modified||n.modified),"dc:creator":e.creator||n.creator,"dc:contributor":e.contributor||n.contributor||e.creator||n.creator}};n.regenerateTags?l.tags=_$1(e.keywords).map(function(m){return{"id-ref":n.__keywords[m.toLowerCase()].id}}):l.tags=_$1(e.tag.id).map(function(m){return{"id-ref":m}}),l.content.title=e.title||l.content.title||"",o.annotations.push(l)}},mashup:{serialized_name:"lists",deserializer:function(e,n){if(!(typeof e.meta!="object"||typeof e.meta.listtype!="string"||e.meta.listtype!=="mashup")){var o=new t.Model.Mashup(e.id,n);return o.title=e.meta["dc:title"],o.description=e.meta["dc:description"],o.creator=e.meta["dc:creator"],o.setAnnotationsById(e.items),o}},serializer:function(e,n,o){var u={meta:{"dc:title":e.title||"","dc:description":e.description||"","dc:created":t.Model.dateToIso(e.created||n.created),"dc:modified":t.Model.dateToIso(e.modified||n.modified),"dc:creator":e.creator||n.creator,"dc:contributor":e.contributor||n.contributor||e.creator||n.creator,listtype:"mashup"},items:e.segments.map(function(l){return l.annotation.id}),id:e.id};o.lists.push(u)}}},serialize:function(e){var n={meta:{"dc:creator":e.creator,"dc:contributor":e.contributor||e.creator,"dc:created":t.Model.dateToIso(e.created),"dc:modified":t.Model.dateToIso(e.modified),"dc:title":e.title||"","dc:description":e.description||"",id:e.projectId||e.id},views:[{id:t.Model.getUID(),contents:[],annotation_types:[]}],lists:[],"annotation-types":[],medias:[],tags:[],annotations:[]},o=this;return e.regenerateTags&&(e.__keywords={},e.getAnnotations().forEach(function(u){_$1(u.keywords).each(function(l){var m=l.toLowerCase();typeof e.__keywords[m]>"u"&&(e.__keywords[m]={id:t.Model.getUID(),title:l,regenerated:!0})})}),_$1(e.__keywords).each(function(u){o.types.tag.serializer(u,e,n)})),e.forEach(function(u,l){typeof o.types[l]<"u"&&u.forEach(function(m){o.types[l].serializer(m,e,n)})}),JSON.stringify(n)},deSerialize:function(e,n){typeof e!="object"||e===null||(_$1(this.types).forEach(function(o,u){var l=e[o.serialized_name],m=new t.Model.List(n.directory);if(typeof l<"u"&&l!==null)if(l.hasOwnProperty("length"))for(var y=l.length,E=0;E<y;E++){var C=o.deserializer(l[E],n);typeof C<"u"&&C&&m.push(C)}else{var C=o.deserializer(l,n);typeof C<"u"&&C&&m.push(C)}n.addList(u,m)}),typeof e.meta<"u"&&(n.projectId=e.meta.id,n.title=e.meta["dc:title"]||e.meta.title||"",n.description=e.meta["dc:description"]||e.meta.description||"",n.creator=e.meta["dc:creator"]||e.meta.creator||"",n.contributor=e.meta["dc:contributor"]||e.meta.contributor||n.creator,n.created=t.Model.isoToDate(e.meta["dc:created"]||e.meta.created)),typeof e.meta<"u"&&typeof e.meta.main_media<"u"&&typeof e.meta.main_media["id-ref"]<"u"&&(n.currentMedia=n.getElement(e.meta.main_media["id-ref"])))}}},segmentapi=function(t){return{deSerialize:function(e,n){var o=new t.Model.List(n.directory),u=new t.Model.List(n.directory);n.addList("media",u);function l(m){var y=new t.Model.Annotation(m.element_id,n),E=n.getElement(m.iri_id);E||(E=new t.Model.Media(m.iri_id,n),n.getMedias().push(E)),y.setMedia(m.iri_id),y.title=m.title,y.description=m.abstract,y.begin=new t.Model.Time(m.start_ts),y.end=new t.Model.Time(m.start_ts+m.duration),y.keywords=m.tags?m.tags.split(","):[],y.project_id=m.project_id,o.push(y)}typeof e.objects<"u"?_$1(e.objects).each(l):l(e),n.addList("annotation",o)}}},serializers=function(t){return{content:content(t),ldt_annotate:ldt_annotate(t),ldt_localstorage:ldt_localstorage(t),ldt:ldt(t),segmentapi:segmentapi(t)}};var Youtube={exports:{}},win;typeof window<"u"?win=window:typeof commonjsGlobal$1<"u"?win=commonjsGlobal$1:typeof self<"u"?win=self:win={};var window_1=win;const window$1$1=getDefaultExportFromCjs$1(window_1),__viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$6=getAugmentedNamespace(__viteBrowserExternal$1);var topLevel=typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:{},minDoc=require$$0$6,doccy;typeof document<"u"?doccy=document:(doccy=topLevel["__GLOBAL_DOCUMENT_CACHE@4"],doccy||(doccy=topLevel["__GLOBAL_DOCUMENT_CACHE@4"]=minDoc));var document_1=doccy;const document$1$1=getDefaultExportFromCjs$1(document_1);var lib$6={exports:{}};function _extends$2(){return _extends$2=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},_extends$2.apply(null,arguments)}const _extends$3=Object.freeze(Object.defineProperty({__proto__:null,get default(){return _extends$2}},Symbol.toStringTag,{value:"Module"})),require$$1$6=getAugmentedNamespace(_extends$3);var isFunction_1=isFunction$3,toString$2=Object.prototype.toString;function isFunction$3(t){if(!t)return!1;var e=toString$2.call(t);return e==="[object Function]"||typeof t=="function"&&e!=="[object RegExp]"||typeof window<"u"&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}function _createForOfIteratorHelperLoose(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=_unsupportedIterableToArray(t))||e){n&&(t=n);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(t,e){if(t){if(typeof t=="string")return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(t,e)}}function _arrayLikeToArray(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var InterceptorsStorage$1=function(){function t(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var e=t.prototype;return e.getIsEnabled=function(){return this.enabled_},e.enable=function(){this.enabled_=!0},e.disable=function(){this.enabled_=!1},e.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},e.addInterceptor=function(o,u){this.typeToInterceptorsMap_.has(o)||this.typeToInterceptorsMap_.set(o,new Set);var l=this.typeToInterceptorsMap_.get(o);return l.has(u)?!1:(l.add(u),!0)},e.removeInterceptor=function(o,u){var l=this.typeToInterceptorsMap_.get(o);return l&&l.has(u)?(l.delete(u),!0):!1},e.clearInterceptorsByType=function(o){var u=this.typeToInterceptorsMap_.get(o);return u?(this.typeToInterceptorsMap_.delete(o),this.typeToInterceptorsMap_.set(o,new Set),!0):!1},e.clear=function(){return this.typeToInterceptorsMap_.size?(this.typeToInterceptorsMap_=new Map,!0):!1},e.getForType=function(o){return this.typeToInterceptorsMap_.get(o)||new Set},e.execute=function(o,u){for(var l=this.getForType(o),m=_createForOfIteratorHelperLoose(l),y;!(y=m()).done;){var E=y.value;try{u=E(u)}catch{}}return u},t}(),interceptors=InterceptorsStorage$1,RetryManager$1=function(){function t(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var e=t.prototype;return e.getIsEnabled=function(){return this.enabled_},e.enable=function(){this.enabled_=!0},e.disable=function(){this.enabled_=!1},e.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},e.getMaxAttempts=function(){return this.maxAttempts_},e.setMaxAttempts=function(o){this.maxAttempts_=o},e.getDelayFactor=function(){return this.delayFactor_},e.setDelayFactor=function(o){this.delayFactor_=o},e.getFuzzFactor=function(){return this.fuzzFactor_},e.setFuzzFactor=function(o){this.fuzzFactor_=o},e.getInitialDelay=function(){return this.initialDelay_},e.setInitialDelay=function(o){this.initialDelay_=o},e.createRetry=function(o){var u=o===void 0?{}:o,l=u.maxAttempts,m=u.delayFactor,y=u.fuzzFactor,E=u.initialDelay;return new Retry({maxAttempts:l||this.maxAttempts_,delayFactor:m||this.delayFactor_,fuzzFactor:y||this.fuzzFactor_,initialDelay:E||this.initialDelay_})},t}(),Retry=function(){function t(n){this.maxAttempts_=n.maxAttempts,this.delayFactor_=n.delayFactor,this.fuzzFactor_=n.fuzzFactor,this.currentDelay_=n.initialDelay,this.currentAttempt_=1}var e=t.prototype;return e.moveToNextAttempt=function(){this.currentAttempt_++;var o=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+o},e.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},e.getCurrentDelay=function(){return this.currentDelay_},e.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},e.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},e.getCurrentFuzzedDelay=function(){var o=this.getCurrentMinPossibleDelay(),u=this.getCurrentMaxPossibleDelay();return o+Math.random()*(u-o)},t}(),retry=RetryManager$1,window$3=window_1,httpResponseHandler=function(e,n){return n===void 0&&(n=!1),function(o,u,l){if(o){e(o);return}if(u.statusCode>=400&&u.statusCode<=599){var m=l;if(n)if(window$3.TextDecoder){var y=getCharset(u.headers&&u.headers["content-type"]);try{m=new TextDecoder(y).decode(l)}catch{}}else m=String.fromCharCode.apply(null,new Uint8Array(l));e({cause:m});return}e(null,l)}};function getCharset(t){return t===void 0&&(t=""),t.toLowerCase().split(";").reduce(function(e,n){var o=n.split("="),u=o[0],l=o[1];return u.trim()==="charset"?l.trim():e},"utf-8")}var httpHandler=httpResponseHandler,window$2=window_1,_extends$1=require$$1$6,isFunction$2=isFunction_1,InterceptorsStorage=interceptors,RetryManager=retry;createXHR.httpHandler=httpHandler,createXHR.requestInterceptorsStorage=new InterceptorsStorage,createXHR.responseInterceptorsStorage=new InterceptorsStorage,createXHR.retryManager=new RetryManager;/**
+`)+Br+`return __p
+}`;var yi=vl(function(){return ir(vt,Zr+"return "+Br).apply(o,Rt)});if(yi.source=Br,bo(yi))throw yi;return yi}function Fp(R){return Ci(R).toLowerCase()}function qp(R){return Ci(R).toUpperCase()}function Np(R,H,ae){if(R=Ci(R),R&&(ae||H===o))return vn(R);if(!R||!(H=Mn(H)))return R;var Ie=it(R),tt=it(H),vt=wi(Ie,tt),Rt=ia(Ie,tt)+1;return _a(Ie,vt,Rt).join("")}function zp(R,H,ae){if(R=Ci(R),R&&(ae||H===o))return R.slice(0,ue(R)+1);if(!R||!(H=Mn(H)))return R;var Ie=it(R),tt=ia(Ie,it(H))+1;return _a(Ie,0,tt).join("")}function Up(R,H,ae){if(R=Ci(R),R&&(ae||H===o))return R.replace($e,"");if(!R||!(H=Mn(H)))return R;var Ie=it(R),tt=wi(Ie,it(H));return _a(Ie,tt).join("")}function Hp(R,H){var ae=ye,Ie=L;if(Ri(H)){var tt="separator"in H?H.separator:tt;ae="length"in H?mi(H.length):ae,Ie="omission"in H?Mn(H.omission):Ie}R=Ci(R);var vt=R.length;if(Di(R)){var Rt=it(R);vt=Rt.length}if(ae>=vt)return R;var qt=ae-Cn(Ie);if(qt<1)return Ie;var Xt=Rt?_a(Rt,0,qt).join(""):R.slice(0,qt);if(tt===o)return Xt+Ie;if(Rt&&(qt+=Xt.length-qt),_o(tt)){if(R.slice(qt).search(tt)){var Mr,Dr=Xt;for(tt.global||(tt=qr(tt.source,Ci(Yt.exec(tt))+"g")),tt.lastIndex=0;Mr=tt.exec(Dr);)var Br=Mr.index;Xt=Xt.slice(0,Br===o?qt:Br)}}else if(R.indexOf(Mn(tt),qt)!=qt){var Vr=Xt.lastIndexOf(tt);Vr>-1&&(Xt=Xt.slice(0,Vr))}return Xt+Ie}function Wp(R){return R=Ci(R),R&&Ne.test(R)?R.replace(Dt,Te):R}var Vp=$a(function(R,H,ae){return R+(ae?" ":"")+H.toUpperCase()}),So=gu("toUpperCase");function gl(R,H,ae){return R=Ci(R),H=ae?o:H,H===o?Sa(R)?Ee(R):di(R):R.match(H)||[]}var vl=bi(function(R,H){try{return nt(R,o,H)}catch(ae){return bo(ae)?ae:new It(ae)}}),Gp=la(function(R,H){return At(H,function(ae){ae=Zn(ae),oa(R,ae,vo(R[ae],R))}),R});function Kp(R){var H=R==null?0:R.length,ae=ni();return R=H?Kr(R,function(Ie){if(typeof Ie[1]!="function")throw new ii(h);return[ae(Ie[0]),Ie[1]]}):[],bi(function(Ie){for(var tt=-1;++tt<H;){var vt=R[tt];if(nt(vt[0],this,Ie))return nt(vt[1],this,Ie)}})}function Qp(R){return df(jn(R,C))}function To(R){return function(){return R}}function Yp(R,H){return R==null||R!==R?H:R}var Xp=yu(),Zp=yu(!0);function Sn(R){return R}function Eo(R){return Ko(typeof R=="function"?R:jn(R,C))}function Jp(R){return Yo(jn(R,C))}function em(R,H){return Xo(R,jn(H,C))}var tm=bi(function(R,H){return function(ae){return Ya(ae,R,H)}}),rm=bi(function(R,H){return function(ae){return Ya(R,ae,H)}});function ko(R,H,ae){var Ie=Gi(H),tt=gs(H,Ie);ae==null&&!(Ri(H)&&(tt.length||!Ie.length))&&(ae=H,H=R,R=this,tt=gs(H,Gi(H)));var vt=!(Ri(ae)&&"chain"in ae)||!!ae.chain,Rt=ca(R);return At(tt,function(qt){var Xt=H[qt];R[qt]=Xt,Rt&&(R.prototype[qt]=function(){var Mr=this.__chain__;if(vt||Mr){var Dr=R(this.__wrapped__),Br=Dr.__actions__=_n(this.__actions__);return Br.push({func:Xt,args:arguments,thisArg:R}),Dr.__chain__=Mr,Dr}return Xt.apply(R,hi([this.value()],arguments))})}),R}function im(){return ki._===this&&(ki._=_l),this}function Ao(){}function nm(R){return R=mi(R),bi(function(H){return Zo(H,R)})}var am=io(Kr),sm=io(or),om=io(Pi);function yl(R){return fo(R)?Ln(Zn(R)):Pf(R)}function um(R){return function(H){return R==null?o:Pa(R,H)}}var lm=_u(),fm=_u(!0);function Co(){return[]}function Mo(){return!1}function cm(){return{}}function hm(){return""}function dm(){return!0}function pm(R,H){if(R=mi(R),R<1||R>T)return[];var ae=k,Ie=rn(R,k);H=ni(H),R-=k;for(var tt=Bn(Ie,H);++ae<R;)H(ae);return tt}function mm(R){return pi(R)?Kr(R,Zn):Pn(R)?[R]:_n(Ou(Ci(R)))}function gm(R){var H=++is;return Ci(R)+H}var ym=ws(function(R,H){return R+H},0),bm=no("ceil"),_m=ws(function(R,H){return R/H},1),xm=no("floor");function wm(R){return R&&R.length?ms(R,Sn,Us):o}function Sm(R,H){return R&&R.length?ms(R,ni(H,2),Us):o}function Tm(R){return tn(R,Sn)}function Em(R,H){return tn(R,ni(H,2))}function km(R){return R&&R.length?ms(R,Sn,Gs):o}function Am(R,H){return R&&R.length?ms(R,ni(H,2),Gs):o}var Cm=ws(function(R,H){return R*H},1),Mm=no("round"),Pm=ws(function(R,H){return R-H},0);function Dm(R){return R&&R.length?$i(R,Sn):0}function Im(R,H){return R&&R.length?$i(R,ni(H,2)):0}return ut.after=Jh,ut.ary=Gu,ut.assign=qd,ut.assignIn=ul,ut.assignInWith=Bs,ut.assignWith=Nd,ut.at=zd,ut.before=Ku,ut.bind=vo,ut.bindAll=Gp,ut.bindKey=Qu,ut.castArray=cd,ut.chain=Hu,ut.chunk=pc,ut.compact=mc,ut.concat=gc,ut.cond=Kp,ut.conforms=Qp,ut.constant=To,ut.countBy=Mh,ut.create=Ud,ut.curry=Yu,ut.curryRight=Xu,ut.debounce=Zu,ut.defaults=Hd,ut.defaultsDeep=Wd,ut.defer=ed,ut.delay=td,ut.difference=vc,ut.differenceBy=yc,ut.differenceWith=bc,ut.drop=_c,ut.dropRight=xc,ut.dropRightWhile=wc,ut.dropWhile=Sc,ut.fill=Tc,ut.filter=Dh,ut.flatMap=Lh,ut.flatMapDeep=Bh,ut.flatMapDepth=Oh,ut.flatten=qu,ut.flattenDeep=Ec,ut.flattenDepth=kc,ut.flip=rd,ut.flow=Xp,ut.flowRight=Zp,ut.fromPairs=Ac,ut.functions=Zd,ut.functionsIn=Jd,ut.groupBy=jh,ut.initial=Mc,ut.intersection=Pc,ut.intersectionBy=Dc,ut.intersectionWith=Ic,ut.invert=tp,ut.invertBy=rp,ut.invokeMap=Fh,ut.iteratee=Eo,ut.keyBy=qh,ut.keys=Gi,ut.keysIn=wn,ut.map=Ms,ut.mapKeys=np,ut.mapValues=ap,ut.matches=Jp,ut.matchesProperty=em,ut.memoize=Ds,ut.merge=sp,ut.mergeWith=ll,ut.method=tm,ut.methodOf=rm,ut.mixin=ko,ut.negate=Is,ut.nthArg=nm,ut.omit=op,ut.omitBy=up,ut.once=id,ut.orderBy=Nh,ut.over=am,ut.overArgs=nd,ut.overEvery=sm,ut.overSome=om,ut.partial=yo,ut.partialRight=Ju,ut.partition=zh,ut.pick=lp,ut.pickBy=fl,ut.property=yl,ut.propertyOf=um,ut.pull=Oc,ut.pullAll=zu,ut.pullAllBy=jc,ut.pullAllWith=$c,ut.pullAt=Fc,ut.range=lm,ut.rangeRight=fm,ut.rearg=ad,ut.reject=Wh,ut.remove=qc,ut.rest=sd,ut.reverse=mo,ut.sampleSize=Gh,ut.set=cp,ut.setWith=hp,ut.shuffle=Qh,ut.slice=Nc,ut.sortBy=Zh,ut.sortedUniq=Kc,ut.sortedUniqBy=Qc,ut.split=Bp,ut.spread=od,ut.tail=Yc,ut.take=Xc,ut.takeRight=Zc,ut.takeRightWhile=Jc,ut.takeWhile=eh,ut.tap=bh,ut.throttle=ud,ut.thru=Cs,ut.toArray=nl,ut.toPairs=cl,ut.toPairsIn=dl,ut.toPath=mm,ut.toPlainObject=ol,ut.transform=dp,ut.unary=ld,ut.union=th,ut.unionBy=ih,ut.unionWith=nh,ut.uniq=ah,ut.uniqBy=oh,ut.uniqWith=uh,ut.unset=pp,ut.unzip=go,ut.unzipWith=Uu,ut.update=mp,ut.updateWith=gp,ut.values=Na,ut.valuesIn=vp,ut.without=lh,ut.words=gl,ut.wrap=fd,ut.xor=fh,ut.xorBy=hh,ut.xorWith=ph,ut.zip=mh,ut.zipObject=gh,ut.zipObjectDeep=vh,ut.zipWith=yh,ut.entries=cl,ut.entriesIn=dl,ut.extend=ul,ut.extendWith=Bs,ko(ut,ut),ut.add=ym,ut.attempt=vl,ut.camelCase=xp,ut.capitalize=pl,ut.ceil=bm,ut.clamp=yp,ut.clone=hd,ut.cloneDeep=pd,ut.cloneDeepWith=md,ut.cloneWith=dd,ut.conformsTo=gd,ut.deburr=ml,ut.defaultTo=Yp,ut.divide=_m,ut.endsWith=wp,ut.eq=Wn,ut.escape=Sp,ut.escapeRegExp=Tp,ut.every=Ph,ut.find=Ih,ut.findIndex=$u,ut.findKey=Vd,ut.findLast=Rh,ut.findLastIndex=Fu,ut.findLastKey=Gd,ut.floor=xm,ut.forEach=Wu,ut.forEachRight=Vu,ut.forIn=Kd,ut.forInRight=Qd,ut.forOwn=Yd,ut.forOwnRight=Xd,ut.get=xo,ut.gt=vd,ut.gte=yd,ut.has=ep,ut.hasIn=wo,ut.head=Nu,ut.identity=Sn,ut.includes=$h,ut.indexOf=Cc,ut.inRange=bp,ut.invoke=ip,ut.isArguments=Ra,ut.isArray=pi,ut.isArrayBuffer=bd,ut.isArrayLike=xn,ut.isArrayLikeObject=Fi,ut.isBoolean=_d,ut.isBuffer=xa,ut.isDate=xd,ut.isElement=wd,ut.isEmpty=Sd,ut.isEqual=Td,ut.isEqualWith=Ed,ut.isError=bo,ut.isFinite=kd,ut.isFunction=ca,ut.isInteger=el,ut.isLength=Rs,ut.isMap=tl,ut.isMatch=Ad,ut.isMatchWith=Cd,ut.isNaN=Md,ut.isNative=Pd,ut.isNil=Id,ut.isNull=Dd,ut.isNumber=rl,ut.isObject=Ri,ut.isObjectLike=Oi,ut.isPlainObject=rs,ut.isRegExp=_o,ut.isSafeInteger=Rd,ut.isSet=il,ut.isString=Ls,ut.isSymbol=Pn,ut.isTypedArray=qa,ut.isUndefined=Ld,ut.isWeakMap=Bd,ut.isWeakSet=Od,ut.join=Rc,ut.kebabCase=Ep,ut.last=Fn,ut.lastIndexOf=Lc,ut.lowerCase=kp,ut.lowerFirst=Ap,ut.lt=jd,ut.lte=$d,ut.max=wm,ut.maxBy=Sm,ut.mean=Tm,ut.meanBy=Em,ut.min=km,ut.minBy=Am,ut.stubArray=Co,ut.stubFalse=Mo,ut.stubObject=cm,ut.stubString=hm,ut.stubTrue=dm,ut.multiply=Cm,ut.nth=Bc,ut.noConflict=im,ut.noop=Ao,ut.now=Ps,ut.pad=Cp,ut.padEnd=Mp,ut.padStart=Pp,ut.parseInt=Dp,ut.random=_p,ut.reduce=Uh,ut.reduceRight=Hh,ut.repeat=Ip,ut.replace=Rp,ut.result=fp,ut.round=Mm,ut.runInContext=Oe,ut.sample=Vh,ut.size=Yh,ut.snakeCase=Lp,ut.some=Xh,ut.sortedIndex=zc,ut.sortedIndexBy=Uc,ut.sortedIndexOf=Hc,ut.sortedLastIndex=Wc,ut.sortedLastIndexBy=Vc,ut.sortedLastIndexOf=Gc,ut.startCase=Op,ut.startsWith=jp,ut.subtract=Pm,ut.sum=Dm,ut.sumBy=Im,ut.template=$p,ut.times=pm,ut.toFinite=ha,ut.toInteger=mi,ut.toLength=al,ut.toLower=Fp,ut.toNumber=qn,ut.toSafeInteger=Fd,ut.toString=Ci,ut.toUpper=qp,ut.trim=Np,ut.trimEnd=zp,ut.trimStart=Up,ut.truncate=Hp,ut.unescape=Wp,ut.uniqueId=gm,ut.upperCase=Vp,ut.upperFirst=So,ut.each=Wu,ut.eachRight=Vu,ut.first=Nu,ko(ut,function(){var R={};return Yn(ut,function(H,ae){ui.call(ut.prototype,ae)||(R[ae]=H)}),R}(),{chain:!1}),ut.VERSION=l,At(["bind","bindKey","curry","curryRight","partial","partialRight"],function(R){ut[R].placeholder=ut}),At(["drop","take"],function(R,H){Si.prototype[R]=function(ae){ae=ae===o?1:zi(mi(ae),0);var Ie=this.__filtered__&&!H?new Si(this):this.clone();return Ie.__filtered__?Ie.__takeCount__=rn(ae,Ie.__takeCount__):Ie.__views__.push({size:rn(ae,k),type:R+(Ie.__dir__<0?"Right":"")}),Ie},Si.prototype[R+"Right"]=function(ae){return this.reverse()[R](ae).reverse()}}),At(["filter","map","takeWhile"],function(R,H){var ae=H+1,Ie=ae==S||ae==m;Si.prototype[R]=function(tt){var vt=this.clone();return vt.__iteratees__.push({iteratee:ni(tt,3),type:ae}),vt.__filtered__=vt.__filtered__||Ie,vt}}),At(["head","last"],function(R,H){var ae="take"+(H?"Right":"");Si.prototype[R]=function(){return this[ae](1).value()[0]}}),At(["initial","tail"],function(R,H){var ae="drop"+(H?"":"Right");Si.prototype[R]=function(){return this.__filtered__?new Si(this):this[ae](1)}}),Si.prototype.compact=function(){return this.filter(Sn)},Si.prototype.find=function(R){return this.filter(R).head()},Si.prototype.findLast=function(R){return this.reverse().find(R)},Si.prototype.invokeMap=bi(function(R,H){return typeof R=="function"?new Si(this):this.map(function(ae){return Ya(ae,R,H)})}),Si.prototype.reject=function(R){return this.filter(Is(ni(R)))},Si.prototype.slice=function(R,H){R=mi(R);var ae=this;return ae.__filtered__&&(R>0||H<0)?new Si(ae):(R<0?ae=ae.takeRight(-R):R&&(ae=ae.drop(R)),H!==o&&(H=mi(H),ae=H<0?ae.dropRight(-H):ae.take(H-R)),ae)},Si.prototype.takeRightWhile=function(R){return this.reverse().takeWhile(R).reverse()},Si.prototype.toArray=function(){return this.take(k)},Yn(Si.prototype,function(R,H){var ae=/^(?:filter|find|map|reject)|While$/.test(H),Ie=/^(?:head|last)$/.test(H),tt=ut[Ie?"take"+(H=="last"?"Right":""):H],vt=Ie||/^find/.test(H);tt&&(ut.prototype[H]=function(){var Rt=this.__wrapped__,qt=Ie?[1]:arguments,Xt=Rt instanceof Si,Mr=qt[0],Dr=Xt||pi(Rt),Br=function(xi){var Ti=tt.apply(ut,hi([xi],qt));return Ie&&Vr?Ti[0]:Ti};Dr&&ae&&typeof Mr=="function"&&Mr.length!=1&&(Xt=Dr=!1);var Vr=this.__chain__,Zr=!!this.__actions__.length,ai=vt&&!Vr,yi=Xt&&!Zr;if(!vt&&Dr){Rt=yi?Rt:new Si(this);var si=R.apply(Rt,qt);return si.__actions__.push({func:Cs,args:[Br],thisArg:o}),new On(si,Vr)}return ai&&yi?R.apply(this,qt):(si=this.thru(Br),ai?Ie?si.value()[0]:si.value():si)})}),At(["pop","push","shift","sort","splice","unshift"],function(R){var H=Mi[R],ae=/^(?:push|sort|unshift)$/.test(R)?"tap":"thru",Ie=/^(?:pop|shift)$/.test(R);ut.prototype[R]=function(){var tt=arguments;if(Ie&&!this.__chain__){var vt=this.value();return H.apply(pi(vt)?vt:[],tt)}return this[ae](function(Rt){return H.apply(pi(Rt)?Rt:[],tt)})}}),Yn(Si.prototype,function(R,H){var ae=ut[H];if(ae){var Ie=ae.name+"";ui.call(Ba,Ie)||(Ba[Ie]=[]),Ba[Ie].push({name:H,func:ae})}}),Ba[xs(o,F).name]=[{name:"wrapper",func:o}],Si.prototype.clone=Ol,Si.prototype.reverse=jl,Si.prototype.value=$l,ut.prototype.at=_h,ut.prototype.chain=xh,ut.prototype.commit=wh,ut.prototype.next=Sh,ut.prototype.plant=Eh,ut.prototype.reverse=kh,ut.prototype.toJSON=ut.prototype.valueOf=ut.prototype.value=Ah,ut.prototype.first=ut.prototype.head,Ua&&(ut.prototype[Ua]=Th),ut},Ue=Ce();Ji?((Ji.exports=Ue)._=Ue,Ki._=Ue):ki._=Ue}).call(commonjsGlobal$1)}(lodash,lodash.exports);var lodashExports=lodash.exports;const _$1=getDefaultExportFromCjs$1(lodashExports);window.$=jqueryExports.$,window.jQuery=jqueryExports.jQuery,global$1.$=jqueryExports.$,global$1.jQuery=jqueryExports.jQuery;const __APP_VERSION__="",APP_VERSION=__APP_VERSION__,IriSP$1={VERSION:APP_VERSION,jQuery:jqueryExports.jQuery,libFiles:{locations:{}}};window.IriSP=IriSP$1;const Model=function(n){function e(y,S,c){c=c||10;for(var m=S.toString(c);m.length<y;)m="0"+m;return m}function o(y){return e(y,Math.floor(Math.random()*Math.pow(16,y)),16)}var l=o(8)+"-"+o(4)+"-",t=Math.floor(Math.random()*65536),u=["[aáàâä]","[cç]","[eéèêë]","[iíìîï]","[oóòôö]","[uùûü]"],h=["̀","́","̂","̃","̧","{","}","(",")","[","]","【","】","、","・","‥","。","「","」","『","』","〜",":","!","?"," ",","," ",";","(",")",".","*","+","\\","?","|","{","}","[","]","^","#","/"],v={},w=v._SOURCE_STATUS_EMPTY=0,A=v._SOURCE_STATUS_WAITING=1,E=v._SOURCE_STATUS_READY=2,C=v.extendPrototype=function(y,S){var c=S.prototype,m=y.prototype;for(var x in c)c.hasOwnProperty(x)&&(m[x]=c[x])},M=v.getUID=function(){return l+e(4,++t%65536,16)+"-"+o(4)+"-"+o(6)+o(6)};v.isLocalURL=function(y){var S=y.match(/^(\w+:)\/\/([^/]+)/);return S?S[1]===document.location.protocol&&S[2]===document.location.host:!0};var P=v.regexpFromTextOrArray=function(y,m,x){var m=m||!1,x=x||!1;function T(k){return k.replace(/([\\\*\+\?\|\{\[\}\]\(\)\^\$\.\#\/])/gm,"\\$1")}var b=typeof y=="string"?T(y):_$1(y).map(T).join("|"),d="im";return m||(b="("+b+")",d+="g"),x&&(b="^"+b+"$"),new RegExp(b,d)},I=v.fullTextRegexps=function(y){for(var S="[\\"+h.join("\\")+"]",c=new RegExp(S,"gm"),m=y.toLowerCase().replace(c,""),x=_$1(u).map(function(k){return new RegExp(k)}),T="",b=0;b<m.length;b++){b&&(T+=S+"*");var d=m[b];_$1(u).each(function(k,D){d=d.replace(x[D],k)}),T+=d}return"("+T+")"};v.isoToDate=function(y){var S="([0-9]{4})(-([0-9]{2})(-([0-9]{2})(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?",c=y.match(new RegExp(S)),m=0,x=new Date(c[1],0,1);c[3]&&x.setMonth(c[3]-1),c[5]&&x.setDate(c[5]),c[7]&&x.setHours(c[7]),c[8]&&x.setMinutes(c[8]),c[10]&&x.setSeconds(c[10]),c[12]&&x.setMilliseconds(+("0."+c[12])*1e3),c[14]&&(m=Number(c[16])*60+Number(c[17]),m*=c[15]=="-"?1:-1),m-=x.getTimezoneOffset();const T=Number(x)+m*60*1e3;var b=new Date;return b.setTime(Number(T)),b},v.dateToIso=function(y){var S=y?new Date(y):new Date;return S.getUTCFullYear()+"-"+e(2,S.getUTCMonth()+1)+"-"+e(2,S.getUTCDate())+"T"+e(2,S.getUTCHours())+":"+e(2,S.getUTCMinutes())+":"+e(2,S.getUTCSeconds())+"Z"};var j=v.List=function(y){if(Array.call(this),this.directory=y,this.idIndex=[],this.__events={},typeof y>"u")throw console.trace(),"Error : new List(directory): directory is undefined";var S=this;this.on("clear-search",function(){S.searching=!1,S.regexp=void 0,S.forEach(function(c){c.found=void 0}),S.trigger("search-cleared")})};j.prototype=new Array,j.prototype.hasId=function(y){return _$1(this.idIndex).includes(y)},typeof Array.prototype.forEach>"u"&&(j.prototype.forEach=function(y){var S=this;_$1(this).forEach(function(c,m){y(c,m,S)})}),typeof Array.prototype.map>"u"&&(j.prototype.map=function(y){var S=this;return _$1(this).map(function(c,m){return y(c,m,S)})}),j.prototype.pluck=function(y){return this.map(function(S){return S[y]})},j.prototype.filter=function(y){var S=this,c=new j(this.directory);return c.addElements(_$1(this).filter(function(m,x){return y(m,x,S)})),c},j.prototype.slice=function(y,S){var c=new j(this.directory);return c.addElements(Array.prototype.slice.call(this,y,S)),c},j.prototype.splice=function(y,S){var c=new j(this.directory);return c.addElements(Array.prototype.splice.call(this,y,S)),this.idIndex.splice(y,S),c},j.prototype.sortBy=function(y){var S=this,c=new j(this.directory);return c.addElements(_$1(this).sortBy(function(m,x){return y(m,x,S)})),c},j.prototype.searchByTitle=function(y,c){var c=c||!1,m=P(y,!0,c);return this.filter(function(x){return m.test(x.title)})},j.prototype.searchByDescription=function(y,c){var c=c||!1,m=P(y,!0,c);return this.filter(function(x){return m.test(x.description)})},j.prototype.searchByTextFields=function(y,c){var c=c||!1,m=P(y,!0,c);return this.filter(function(x){var T=(x.keywords||x.getTagTexts()||[]).join(", ");return m.test(x.description)||m.test(x.title)||m.test(T)})},j.prototype.search=function(y){if(!y)return this.trigger("clear-search"),this;this.searching=!0,this.trigger("search",y);var S=I(y),c=new RegExp(S,"im");this.regexp=new RegExp(S,"gim");var m=this.filter(function(x,T){var b=c.test(x.title),d=c.test(x.description),k=!!(b||d);return x.found=k,x.trigger(k?"found":"not-found"),k});return this.trigger(m.length?"found":"not-found",m),m},j.prototype.searchByTags=function(y){if(!y)return this.trigger("clear-search"),this;this.searching=!0,this.trigger("search",y);var S=I(y),c=new RegExp(S,"im");this.regexp=new RegExp(S,"gim");var m=this.filter(function(x,T){var b=c.test(x.getTagTexts());return x.found=b,x.trigger(b?"found":"not-found"),b});return this.trigger(m.length?"found":"not-found",m),m},j.prototype.getTitles=function(){return this.map(function(y){return y.title})},j.prototype.addId=function(y){var S=this.directory.getElement(y);!this.hasId(y)&&typeof S<"u"&&(this.idIndex.push(y),Array.prototype.push.call(this,S))},j.prototype.push=function(y){if(!(typeof y>"u")){var S=_$1(this.idIndex).indexOf(y.id);S===-1?(this.idIndex.push(y.id),Array.prototype.push.call(this,y)):this[S]=y}},j.prototype.addIds=function(y){y.length;var S=this;_$1(y).forEach(function(c){S.addId(c)})},j.prototype.addElements=function(y){var S=this;_$1(y).forEach(function(c){S.push(c)})},j.prototype.removeId=function(y,c){var c=c||!1,m=_$1(this.idIndex).indexOf(y);m!==-1&&this.splice(m,1),c&&delete this.directory.elements[y]},j.prototype.removeElement=function(y,S){this.removeId(y.id)},j.prototype.removeIds=function(y,S){var c=this;_$1(y).forEach(function(m){c.removeId(m)})},j.prototype.removeElements=function(y,S){var c=this;_$1(y).forEach(function(m){c.removeElement(m)})},j.prototype.on=function(y,S){typeof this.__events[y]>"u"&&(this.__events[y]=[]),this.__events[y].push(S)},j.prototype.off=function(y,S){typeof this.__events[y]<"u"&&(this.__events[y]=n._(this.__events[y]).reject(function(c){return c===S}))},j.prototype.trigger=function(y,S){var c=this;_$1(this.__events[y]).each(function(m){m.call(c,S)})};var B=v.Time=function(y){this.milliseconds=0,this.setMilliseconds(y)};B.prototype.setMilliseconds=function(y){var S=this.milliseconds;switch(typeof y){case"string":this.milliseconds=parseInt(y);break;case"number":this.milliseconds=Math.floor(y);break;case"object":this.milliseconds=parseInt(y.valueOf());break;default:this.milliseconds=0}this.milliseconds===NaN&&(this.milliseconds=S)},B.prototype.setSeconds=function(y){this.milliseconds=1e3*y},B.prototype.getSeconds=function(){return this.milliseconds/1e3},B.prototype.getHMS=function(){var y=Math.abs(Math.floor(this.getSeconds()));return{hours:Math.floor(y/3600),minutes:Math.floor(y/60)%60,seconds:y%60,milliseconds:this.milliseconds%1e3}},B.prototype.add=function(y){this.milliseconds+=new B(y).milliseconds},B.prototype.valueOf=function(){return this.milliseconds},B.prototype.toString=function(y){var S=this.getHMS(),c="";return S.hours&&(c+=S.hours+":"),c+=e(2,S.minutes)+":"+e(2,S.seconds),y&&(c+="."+Math.floor(S.milliseconds/100)),c};var F=v.Reference=function(y,S){this.source=y,this.id=S,typeof S=="object"?this.isList=!0:this.isList=!1,this.refresh()};F.prototype.refresh=function(){this.isList?(this.contents=new j(this.source.directory),this.contents.addIds(this.id)):this.contents=this.source.getElement(this.id)},F.prototype.getContents=function(){return(typeof this.contents>"u"||this.isList&&this.contents.length!=this.id.length)&&this.refresh(),this.contents},F.prototype.isOrHasId=function(y){return this.isList?_$1(this.id).indexOf(y)!==-1:this.id==y};var N=v.Element=function(y,S){this.elementType="element",this.title="",this.description="",this.__events={},!(typeof S>"u")&&((typeof y>"u"||!y)&&(y=M()),this.id=y,this.source=S,S!==this&&this.source.directory.addElement(this))};N.prototype.toString=function(){return this.elementType+(this.elementType!=="element"?", id="+this.id+', title="'+this.title+'"':"")},N.prototype.setReference=function(y,S){this[y]=new F(this.source,S)},N.prototype.getReference=function(y){if(typeof this[y]<"u")return this[y].getContents()},N.prototype.getRelated=function(y,S){S=typeof S<"u"&&S;var c=this;return this.source.getList(y,S).filter(function(m){var x=m[c.elementType];return x&&x.isOrHasId(c.id)})},N.prototype.on=function(y,S){typeof this.__events[y]>"u"&&(this.__events[y]=[]),this.__events[y].push(S)},N.prototype.off=function(y,S){typeof this.__events[y]<"u"&&(this.__events[y]=_$1(this.__events[y]).reject(function(c){return c===S}))},N.prototype.trigger=function(y,S){var c=this;_$1(this.__events[y]).each(function(m){m.call(c,S)})};var ee=v.Playable=function(y,S){if(N.call(this,y,S),!(typeof S>"u")){this.elementType="playable",this.currentTime=new B,this.volume=.5,this.paused=!0,this.muted=!1,this.timeRange=!1,this.loadedMetadata=!1;var c=this;this.on("play",function(){c.paused=!1}),this.on("pause",function(){c.paused=!0}),this.on("timeupdate",function(m){c.currentTime=m,c.getAnnotations().filter(function(x){return(x.end<=m||x.begin>m)&&x.playing}).forEach(function(x){x.playing=!1,x.trigger("leave"),c.trigger("leave-annotation",x)}),c.getAnnotations().filter(function(x){return x.begin<=m&&x.end>m&&!x.playing}).forEach(function(x){x.playing=!0,x.trigger("enter"),c.trigger("enter-annotation",x)}),c.getTimeRange()&&(c.getTimeRange()[0]>m&&(c.pause(),c.setCurrentTime(c.getTimeRange()[0])),c.getTimeRange()[1]<m&&(c.pause(),c.setCurrentTime(c.getTimeRange()[1])))}),this.on("loadedmetadata",function(){c.loadedMetadata=!0})}};C(ee,N),ee.prototype.getCurrentTime=function(){return this.currentTime},ee.prototype.getVolume=function(){return this.volume},ee.prototype.getPaused=function(){return this.paused},ee.prototype.getMuted=function(){return this.muted},ee.prototype.getTimeRange=function(){return this.timeRange},ee.prototype.setCurrentTime=function(y){this.trigger("setcurrenttime",y)},ee.prototype.setVolume=function(y){this.trigger("setvolume",y)},ee.prototype.setMuted=function(y){this.trigger("setmuted",y)},ee.prototype.setTimeRange=function(y,S){if(y<S&&y>=0&&S>0)return this.trigger("settimerange",[y,S])},ee.prototype.resetTimeRange=function(){return this.trigger("resettimerange")},ee.prototype.play=function(){this.trigger("setplay")},ee.prototype.pause=function(){this.trigger("setpause")},ee.prototype.show=function(){},ee.prototype.hide=function(){};var Z=v.Media=function(y,S){ee.call(this,y,S),this.elementType="media",this.duration=new B,this.video=""};C(Z,ee);var Z=v.Media=function(y,S){ee.call(this,y,S),this.elementType="media",this.duration=new B,this.video=""};C(Z,ee),Z.prototype.setDuration=function(y){this.duration.setMilliseconds(y)},Z.prototype.getAnnotations=function(){return this.getRelated("annotation")},Z.prototype.getAnnotationsByTypeTitle=function(y){var S=this.source.getAnnotationTypes().searchByTitle(y).pluck("id");return S.length?this.getAnnotations().filter(function(c){return _$1(S).indexOf(c.getAnnotationType().id)!==-1}):new j(this.source.directory)};var re=v.Tag=function(y,S){N.call(this,y,S),this.elementType="tag"};C(re,N),re.prototype.getAnnotations=function(){return this.getRelated("annotation")};var fe=v.AnnotationType=function(y,S){N.call(this,y,S),this.elementType="annotationType"};C(fe,N),fe.prototype.getAnnotations=function(){return this.getRelated("annotation")};var V=v.Annotation=function(y,S){N.call(this,y,S),this.elementType="annotation",this.begin=new B,this.end=new B,this.tag=new F(S,[]),this.playing=!1;var c=this;this.on("click",function(){c.getMedia().setCurrentTime(c.begin)})};C(V,N),V.prototype.setBeginEnd=function(y,S){y=Math.max(0,y),S=Math.max(0,S),S<y&&(S=y),this.begin.setMilliseconds(y),this.end.setMilliseconds(S),this.trigger("change-begin"),this.trigger("change-end")},V.prototype.setBegin=function(y){this.begin.setMilliseconds(Math.max(0,y)),this.trigger("change-begin"),this.end<this.begin&&this.setEnd(this.begin)},V.prototype.setEnd=function(y){this.end.setMilliseconds(Math.min(y,this.getMedia().duration.milliseconds)),this.trigger("change-end"),this.end<this.begin&&this.setBegin(this.end)},V.prototype.setDuration=function(y){this.setEnd(y+this.begin.milliseconds)},V.prototype.setMedia=function(y){this.setReference("media",y)},V.prototype.getMedia=function(){return this.getReference("media")},V.prototype.setAnnotationType=function(y){this.setReference("annotationType",y)},V.prototype.getAnnotationType=function(){return this.getReference("annotationType")},V.prototype.setTags=function(y){this.setReference("tag",y)},V.prototype.getTags=function(){return this.getReference("tag")},V.prototype.getTagTexts=function(){return this.getTags().getTitles()},V.prototype.getDuration=function(){return new B(this.end.milliseconds-this.begin.milliseconds)};var le=v.MashedAnnotation=function(y,S){N.call(this,y.id+"_"+S.id,S.source),this.elementType="mashedAnnotation",this.annotation=S,this.begin=new B,this.end=new B,this.duration=new B,this.title=this.annotation.title,this.description=this.annotation.description,this.color=this.annotation.color;var c=this;this.on("click",function(){y.setCurrentTime(c.begin)}),this.on("enter",function(){c.annotation.trigger("enter")}),this.on("leave",function(){c.annotation.trigger("leave")})};C(le,N),le.prototype.getMedia=function(){return this.annotation.getReference("media")},le.prototype.getAnnotationType=function(){return this.annotation.getReference("annotationType")},le.prototype.getTags=function(){return this.annotation.getReference("tag")},le.prototype.getTagTexts=function(){return this.annotation.getTags().getTitles()},le.prototype.getDuration=function(){return this.annotation.getDuration()},le.prototype.setBegin=function(y){this.begin.setMilliseconds(y),this.duration.setMilliseconds(this.annotation.getDuration()),this.end.setMilliseconds(y+this.duration)};var he=v.Mashup=function(y,S){ee.call(this,y,S),this.elementType="mashup",this.duration=new B,this.segments=new j(S.directory),this.loaded=!1;var c=this;this._updateTimes=function(){c.updateTimes(),c.trigger("change")},this.on("add",this._updateTimes),this.on("remove",this._updateTimes)};C(he,ee),he.prototype.updateTimes=function(){var y=0;this.segments.forEach(function(S){S.setBegin(y),y=S.end}),this.duration.setMilliseconds(y)},he.prototype.addAnnotation=function(y,m){var c=new le(this,y),m=m||!1;this.segments.push(c),y.on("change-begin",this._updateTimes),y.on("change-end",this._updateTimes),m||this.trigger("add")},he.prototype.addAnnotationById=function(y,m){var c=this.source.getElement(y),m=m||!1;typeof c<"u"&&this.addAnnotation(c,m)},he.prototype.addAnnotations=function(y){var S=this;_$1(y).forEach(function(c){S.addAnnotation(c,!0)}),this.trigger("add")},he.prototype.addAnnotationsById=function(y){var S=this;_$1(y).forEach(function(c){S.addAnnotationById(c,!0)}),this.trigger("add")},he.prototype.removeAnnotation=function(y,c){var c=c||!1;y.off("change-begin",this._updateTimes),y.off("change-end",this._updateTimes),this.segments.removeId(this.id+"_"+y.id),c||this.trigger("remove")},he.prototype.removeAnnotationById=function(y,c){var c=c||!1,m=this.source.getElement(y);m&&this.removeAnnotation(m,c),c||this.trigger("remove")},he.prototype.setAnnotations=function(y){for(;this.segments.length;)this.removeAnnotation(this.segments[0].annotation,!0);this.addAnnotations(y)},he.prototype.setAnnotationsById=function(y){for(;this.segments.length;)this.removeAnnotation(this.segments[0].annotation,!0);this.addAnnotationsById(y)},he.prototype.hasAnnotation=function(y){return!!_$1(this.segments).find(function(S){return S.annotation===y})},he.prototype.getAnnotation=function(y){return _$1(this.segments).find(function(S){return S.annotation===y})},he.prototype.getAnnotationById=function(y){return _$1(this.segments).find(function(S){return S.annotation.id===y})},he.prototype.getAnnotations=function(){return this.segments},he.prototype.getOriginalAnnotations=function(){var y=new j(this.source.directory);return this.segments.forEach(function(S){y.push(S.annotation)}),y},he.prototype.getMedias=function(){var y=new j(this.source.directory);return this.segments.forEach(function(S){y.push(S.getMedia())}),y},he.prototype.getAnnotationsByTypeTitle=function(y){var S=this.source.getAnnotationTypes().searchByTitle(y).pluck("id");return S.length?this.getAnnotations().filter(function(c){return _$1(S).indexOf(c.getAnnotationType().id)!==-1}):new j(this.source.directory)},he.prototype.getAnnotationAtTime=function(y){var S=this.segments.filter(function(c){return c.begin<=y&&c.end>y});if(S.length)return S[0]},he.prototype.getMediaAtTime=function(y){var S=this.getAnnotationAtTime(y);if(typeof S<"u")return S.getMedia()};var ye=v.Source=function(y){if(N.call(this,!1,this),this.status=w,this.elementType="source",typeof y<"u"){var S=this;_$1(y).forEach(function(c,m){S[m]=c}),this.callbackQueue=[],this.contents={},this.get()}};C(ye,N),ye.prototype.addList=function(y,S){typeof this.contents[y]>"u"&&(this.contents[y]=new j(this.directory)),this.contents[y].addElements(S)},ye.prototype.getList=function(y,S){return S=typeof S<"u"&&S,S?this.directory.getGlobalList().filter(function(c){return c.elementType===y}):(typeof this.contents[y]>"u"&&(this.contents[y]=new j(this.directory)),this.contents[y])},ye.prototype.forEach=function(y){var S=this;_$1(this.contents).forEach(function(c,m){y.call(S,c,m)})},ye.prototype.getElement=function(y){return this.directory.getElement(y)},ye.prototype.get=function(){this.status=A,this.handleCallbacks()},ye.prototype.deferCallback=function(y){var S=this;_$1.defer(function(){y.call(S)})},ye.prototype.handleCallbacks=function(){for(this.status=E;this.callbackQueue.length;)this.deferCallback(this.callbackQueue.splice(0,1)[0])},ye.prototype.onLoad=function(y){this.status===E?this.deferCallback(y):this.callbackQueue.push(y)},ye.prototype.serialize=function(){return this.serializer.serialize(this)},ye.prototype.deSerialize=function(y){this.serializer.deSerialize(y,this)},ye.prototype.getAnnotations=function(y){return y=typeof y<"u"&&y,this.getList("annotation",y)},ye.prototype.getMedias=function(y){return y=typeof y<"u"&&y,this.getList("media",y)},ye.prototype.getTags=function(y){return y=typeof y<"u"&&y,this.getList("tag",y)},ye.prototype.getMashups=function(y){return y=typeof y<"u"&&y,this.getList("mashup",y)},ye.prototype.getAnnotationTypes=function(y){return y=typeof y<"u"&&y,this.getList("annotationType",y)},ye.prototype.getAnnotationsByTypeTitle=function(y,S){S=typeof S<"u"&&S;var c=new j(this.directory),m=this.getAnnotationTypes(S).searchByTitle(y);return m.forEach(function(x){c.addElements(x.getAnnotations(S))}),c},ye.prototype.getDuration=function(){var y=this.currentMedia;if(typeof y<"u")return this.currentMedia.duration},ye.prototype.getCurrentMedia=function(y){if(typeof this.currentMedia>"u")if(y.is_mashup){var S=this.getMashups();S.length&&(this.currentMedia=S[0])}else{var c=this.getMedias();c.length&&(this.currentMedia=c[0])}return this.currentMedia},ye.prototype.merge=function(y){var S=this;y.forEach(function(c,m){S.getList(m).addElements(c)})};var L=v.RemoteSource=function(y){ye.call(this,y)};C(L,ye),L.prototype.get=function(){this.status=A;var y=this,S=this.url_params||{},c=this.dataType||"json";S.format=c,jQuery.ajax({url:this.url,dataType:c,data:S,traditional:!0,success:function(m){y.deSerialize(m),y.handleCallbacks()}})};var p=v.Directory=function(){this.remoteSources={},this.elements={}};return p.prototype.remoteSource=function(y){if(typeof y!="object"||typeof y.url>"u")throw"Error : Directory.remoteSource(configuration): configuration.url is undefined";var S=_$1({directory:this}).extend(y);S.url_params=S.url_params||{};var c=S.url+"?"+jQuery.param(S.url_params);return typeof this.remoteSources[c]>"u"&&(this.remoteSources[c]=new L(S)),this.remoteSources[c]},p.prototype.newLocalSource=function(y){var S=_$1({directory:this}).extend(y),c=new ye(S);return c},p.prototype.getElement=function(y){return this.elements[y]},p.prototype.addElement=function(y){this.elements[y.id]=y},p.prototype.getGlobalList=function(){var y=new j(this);return y.addIds(_$1(this.elements).keys()),y},v},htmlPlayer=function(n,e,o){var l=o||{},t=l.video||n.video;typeof l.url_transform=="function"&&(t=l.url_transform(t));var u=jQuery("<video>");if(u.attr({width:l.width||void 0,height:l.height||void 0,controls:l.controls||void 0,autoplay:l.autostart||l.autoplay||void 0}),typeof t=="string")u.attr("src",t);else for(var h=0;h<t.length;h++){var v=jQuery("<source>");v.attr({src:t[h].src,type:t[h].type}),u.append(v)}if(l.subtitle){var w=jQuery("<track>");w.attr({label:"Subtitles",kind:"subtitles",srclang:"fr",src:l.subtitle,default:""}),u.append(w)}e.html(u);var A=u[0];n.on("setcurrenttime",function(C){try{A.currentTime=C/1e3}catch{}}),n.on("setvolume",function(C){n.volume=C;try{A.volume=C}catch{}}),n.on("setmuted",function(C){n.muted=C;try{A.muted=C}catch{}}),n.on("settimerange",function(C){n.timeRange=C;try{(n.getCurrentTime()>C[0]||n.getCurrentTime()<C)&&(A.currentTime=C[0]/1e3)}catch{}}),n.on("resettimerange",function(){n.timeRange=!1}),n.on("setplay",function(){try{A.play()}catch{}}),n.on("setpause",function(){try{A.pause()}catch{}});function E(){n.muted=A.muted,n.volume=A.volume}u.on("loadedmetadata",function(){E(),n.trigger("loadedmetadata"),n.trigger("volumechange")}),u.on("timeupdate",function(){n.trigger("timeupdate",new IriSP.Model.Time(1e3*A.currentTime))}),u.on("volumechange",function(){E(),n.trigger("volumechange")}),u.on("play",function(){n.trigger("play")}),u.on("pause",function(){n.trigger("pause")}),u.on("seeking",function(){n.trigger("seeking")}),u.on("seeked",function(){n.trigger("seeked")}),u.on("click",function(){A.paused?n.play():n.pause()})};function utils$s(n){return{jqEscape:function(e){return e.replace(/(:|\.)/g,"\\$1")},textFieldHtml:function(e,o,l){var t=[],u=[],h=e.replace(/(^\s+|\s+$)/g,"");function v(I,j,B){for(;;){var F=I.exec(h);if(!F)break;var N=I.lastIndex,ee=F.index;t.push({start:ee,end:N,startHtml:typeof j=="function"?j(F):j,endHtml:typeof B=="function"?B(F):B}),u.push(ee),u.push(N)}}o&&v(o,'<span class="Ldt-Highlight">',"</span>"),v(/(https?:\/\/)?[\w\d\-]+\.[\w\d\-]+\S+/gm,function(I){return'<a href="'+(I[1]?"":"http://")+I[0]+'" target="_blank">'},"</a>"),v(/@([\d\w]{1,15})/gm,function(I){return'<a href="http://twitter.com/'+I[1]+'" target="_blank">'},"</a>"),v(/\*[^*]+\*/gm,"<b>","</b>"),v(/[\n\r]+/gm,"","<br />"),_$1(l).each(function(I){v.apply(null,I)}),u=_$1(u).chain().uniq().sortBy(function(I){return parseInt(I)}).value();for(var w="",A=0,E=0;E<u.length;E++){var C=u[E];w+=h.substring(A,C);for(var M=t.length-1;M>=0;M--){var P=t[M];P.start<C&&P.end>=C&&(w+=P.endHtml)}for(var M=0;M<t.length;M++){var P=t[M];P.start<=C&&P.end>C&&(w+=P.startHtml)}A=C}return w+=h.substring(A),w},log:function(){typeof console<"u"&&typeof n.logging<"u"&&n.logging&&console.log.apply(console,arguments)},attachDndData:function(e,o){e.attr("draggable","true").on("dragstart",function(l){var t=typeof o=="function"?o.call(this):o;try{t.html===void 0&&t.uri&&t.text&&(t.html='<a href="'+t.uri+'">'+t.text+"</a>"),_$1(t).each(function(u,h){u&&h!="text"&&h!="html"&&l.originalEvent.dataTransfer.setData("text/x-iri-"+h,u)}),t.uri&&t.text&&(l.originalEvent.dataTransfer.setData("text/x-moz-url",t.uri+`
+`+t.text.replace(`
+`," ")),l.originalEvent.dataTransfer.setData("text/plain",t.text+" "+t.uri)),t.html!==void 0&&l.originalEvent.dataTransfer.setData("text/html",t.html),t.text!==void 0&&!t.uri&&l.originalEvent.dataTransfer.setData("text/plain",t.text)}catch{l.originalEvent.dataTransfer.setData("Text",JSON.stringify(t))}})},FakeClass:function(e){var o=this,l=function(){};_$1(e).each(function(t){o[t]=l})},timestamp2ms:function(e){for(var o=e.split(":").reverse();o.length<3;)o.push("0");return 1e3*(3600*parseInt(o[2],10)+60*parseInt(o[1],10)+parseInt(o[0],10))},setFullScreen:function(e,o){o?e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen():document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},isFullscreen:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},getFullscreenElement:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||void 0},getFullscreenEventname:function(){return document.exitFullscreen&&"fullscreenchange"||document.webkitExitFullscreen&&"webkitfullscreenchange"||document.mozExitFullScreen&&"mozfullscreenchange"||document.msExitFullscreen&&"msfullscreenchange"||""}}}const iFrameUpdater=function(n){var e=document.getElementById(n),o=!1,l=function(){o=!0,window.setTimeout(function(){o=!1},1e3),e.contentWindow.postMessage(document.location.hash,"*")};window.onhashchange=l,window.addEventListener("message",function(t){/^#/.test(t.data)&&!o&&(typeof window.history<"u"&&typeof window.history.replaceState<"u"?window.history.replaceState({},"",t.data):document.location.hash=t.data)}),window.setTimeout(l,2e3)},content=function(n){return{deSerialize:function(e,o){var l=new n.Model.List(o.directory);function t(u,h){var v=new n.Model.Media(u.iri_id,o);v.video=u.media_url,v.title=u.title,v.description=u.description,v.setDuration(u.duration),v.thumbnail=u.image,v.color=n.vizcolors[h%n.vizcolors.length],v.keywords=u.tags,l.push(v)}typeof e.objects<"u"?_$1(e.objects).each(t):t(e,0),o.addList("media",l)}}},ldt_annotate=function(n){return{serializeAnnotation:function(e,o){var l=e.getAnnotationType();return{id:e.id,begin:e.begin.milliseconds,end:e.end.milliseconds,content:{data:e.content?e.content.data||{}:{},description:e.description,title:e.title,audio:e.audio},id:e.id?e.id:"",tags:e.getTagTexts(),media:e.getMedia().id,project:e.project_id,type_title:l.title,type:typeof l.dont_send_id<"u"&&l.dont_send_id?"":l.id,meta:{created:e.created,creator:e.creator,modified:e.modified,contributor:e.contributor}}},deserializeAnnotation:function(e,o){var l=new n.Model.Annotation(e.id,o);l.description=e.content.description||"",l.title=e.content.title||"",l.creator=e.meta.creator||"",l.created=new Date(e.meta.created),l.setMedia(e.media,o);var t=o.getElement(e.type);t||(t=new n.Model.AnnotationType(e.type,o),t.title=e.type_title,o.getAnnotationTypes().push(t)),l.setAnnotationType(t.id);var u=_$1(e.tags).map(function(h){var v=o.getTags(!0).searchByTitle(h,!0);if(v.length)var w=v[0];else w=new n.Model.Tag(h.replace(/\W/g,"_"),o),w.title=h,o.getTags().push(w);return w.id});l.setTags(u),l.setBeginEnd(e.begin,e.end),typeof e.content.audio<"u"&&e.content.audio.href&&(l.audio=e.content.audio),e.content.data&&(l.content={data:e.content.data}),o.getAnnotations().push(l)},serialize:function(e){return JSON.stringify(this.serializeAnnotation(e.getAnnotations()[0],e))},deSerialize:function(e,o){typeof e=="string"&&(e=JSON.parse(e)),o.addList("tag",new n.Model.List(o.directory)),o.addList("annotationType",new n.Model.List(o.directory)),o.addList("annotation",new n.Model.List(o.directory)),this.deserializeAnnotation(e,o)}}},ldt_localstorage=function(n){return{serializeAnnotation:function(e,o){var l=e.getAnnotationType();return{id:e.id,begin:e.begin.milliseconds,end:e.end.milliseconds,content:{data:e.content?e.content.data||{}:{},description:e.description,title:e.title,audio:e.audio},tags:e.getTagTexts(),media:e.getMedia().id,type_title:l.title,type:typeof l.dont_send_id<"u"&&l.dont_send_id?"":l.id,meta:{created:e.created,creator:e.creator,modified:e.modified,contributor:e.contributor}}},deserializeAnnotation:function(e,o){var l=new n.Model.Annotation(e.id,o);l.description=e.content.description||"",l.title=e.content.title||"",l.creator=e.meta.creator||"",l.created=new Date(e.meta.created),l.contributor=e.meta.contributor||"",l.modified=new Date(e.meta.modified),l.setMedia(e.media,o);var t=o.getElement(e.type);t||(t=new n.Model.AnnotationType(e.type,o),t.title=e.type_title,o.getAnnotationTypes().push(t)),l.setAnnotationType(t.id);var u=_$1(e.tags).map(function(h){var v=o.getTags(!0).searchByTitle(h,!0);if(v.length)var w=v[0];else w=new n.Model.Tag(h.replace(/\W/g,"_"),o),w.title=h,o.getTags().push(w);return w.id});l.setTags(u),l.setBeginEnd(e.begin,e.end),typeof e.content.audio<"u"&&e.content.audio.href&&(l.audio=e.content.audio),e.content.data&&(l.content={data:e.content.data}),o.getAnnotations().push(l)},serialize:function(e){var o=this;return JSON.stringify(e.getAnnotations().map(function(l){return o.serializeAnnotation(l,e)}))},deSerialize:function(e,o){var l=this;typeof e=="string"&&(e=JSON.parse(e)),o.addList("tag",new n.Model.List(o.directory)),o.addList("annotationType",new n.Model.List(o.directory)),o.addList("annotation",new n.Model.List(o.directory)),e.map(function(t){l.deserializeAnnotation(t,o)})}}},ldt=function(n){return{types:{media:{serialized_name:"medias",deserializer:function(e,o){var l=new n.Model.Media(e.id,o);return l.video=typeof e.url<"u"?e.url:typeof e.href<"u"?e.href:null,typeof e.meta.item<"u"&&e.meta.item.name==="streamer"&&(l.streamer=e.meta.item.value),l.title=e.meta["dc:title"],l.description=e.meta["dc:description"],l.setDuration(e.meta["dc:duration"]),l.url=e.meta.url,typeof e.meta.img<"u"&&e.meta.img.src!=="undefined"&&(l.thumbnail=e.meta.img.src),l},serializer:function(e,o,l){var t={id:e.id,url:e.video,meta:{"dc:title":e.title||"","dc:description":e.description||"","dc:created":n.Model.dateToIso(e.created||o.created),"dc:modified":n.Model.dateToIso(e.modified||o.modified),"dc:creator":e.creator||o.creator,"dc:contributor":e.contributor||o.contributor||e.creator||o.creator,"dc:duration":e.duration.milliseconds}};l.medias.push(t);var u={id:n.Model.getUID(),meta:{"dc:title":e.title||"","dc:description":e.description||"","dc:created":n.Model.dateToIso(e.created||o.created),"dc:modified":n.Model.dateToIso(e.modified||o.modified),"dc:creator":e.creator||o.creator,"dc:contributor":e.contributor||o.contributor||e.creator||o.creator,"id-ref":e.id},items:o.getAnnotationTypes().filter(function(h){switch(typeof h.media){case"object":return h.media===e;case"string":return h.media===e.id;default:var v=h.getAnnotations();if(v){for(var w=0;w<v.length;w++)if(v[w].getMedia()===e)return!0}}return!1}).map(function(h){return{"id-ref":h.id}})};l.lists.push(u),l.views[0].contents.push(e.id)}},tag:{serialized_name:"tags",deserializer:function(e,o){var l=new n.Model.Tag(e.id,o);return l.title=e.meta["dc:title"],l},serializer:function(e,o,l){if(!(o.regenerateTags&&!e.regenerated)){var t={id:e.id,meta:{"dc:title":e.title||"","dc:description":e.description||"","dc:created":n.Model.dateToIso(e.created||o.created),"dc:modified":n.Model.dateToIso(e.modified||o.modified),"dc:creator":e.creator||o.creator,"dc:contributor":e.contributor||o.contributor||e.creator||o.creator}};l.tags.push(t)}}},annotationType:{serialized_name:"annotation-types",deserializer:function(e,o){var l=new n.Model.AnnotationType(e.id,o);return l.title=e["dc:title"],l.description=e["dc:description"],l},serializer:function(e,o,l){var t={id:e.id,"dc:title":e.title||"","dc:description":e.description||"","dc:created":n.Model.dateToIso(e.created||o.created),"dc:modified":n.Model.dateToIso(e.modified||o.modified),"dc:creator":e.creator||o.creator,"dc:contributor":e.contributor||o.contributor||e.creator||o.creator};l["annotation-types"].push(t),l.views[0].annotation_types.push(e.id)}},annotation:{serialized_name:"annotations",deserializer:function(e,o){var l=new n.Model.Annotation(e.id,o);if(l.title=e.content.title||"",l.description=e.content.description||"",typeof e.content.img<"u"&&e.content.img.src!=="undefined"&&(l.thumbnail=e.content.img.src),l.created=n.Model.isoToDate(e.created?e.created:e.meta?e.meta["dc:created"]:""),typeof e.color<"u"){for(var t=parseInt(e.color).toString(16);t.length<6;)t="0"+t;l.color="#"+t}return l.content=e.content,l.setMedia(e.media),l.setAnnotationType(e.meta["id-ref"]),l.setTags(_$1(e.tags).map("id-ref")),l.keywords=l.getTagTexts(),l.setBegin(e.begin),l.setEnd(e.end),l.creator=e.meta["dc:creator"]||"",l.project=e.meta.project||"",typeof e.meta["dc:source"]<"u"&&typeof e.meta["dc:source"].content<"u"&&(l.source=JSON.parse(e.meta["dc:source"].content)),typeof e.content.audio<"u"&&e.content.audio.href&&(l.audio=e.content.audio),l},serializer:function(e,o,l){var t=parseInt(e.color.replace(/^#/,""),16).toString(),u={id:e.id,begin:e.begin.milliseconds,end:e.end.milliseconds,content:_$1.defaults({},{title:e.title,description:e.description,audio:e.audio,img:{src:e.thumbnail}},e.content,{title:"",description:""}),color:t,media:e.media.id,meta:{"id-ref":e.getAnnotationType().id,"dc:created":n.Model.dateToIso(e.created||o.created),"dc:modified":n.Model.dateToIso(e.modified||o.modified),"dc:creator":e.creator||o.creator,"dc:contributor":e.contributor||o.contributor||e.creator||o.creator}};o.regenerateTags?u.tags=_$1(e.keywords).map(function(h){return{"id-ref":o.__keywords[h.toLowerCase()].id}}):u.tags=_$1(e.tag.id).map(function(h){return{"id-ref":h}}),u.content.title=e.title||u.content.title||"",l.annotations.push(u)}},mashup:{serialized_name:"lists",deserializer:function(e,o){if(!(typeof e.meta!="object"||typeof e.meta.listtype!="string"||e.meta.listtype!=="mashup")){var l=new n.Model.Mashup(e.id,o);return l.title=e.meta["dc:title"],l.description=e.meta["dc:description"],l.creator=e.meta["dc:creator"],l.setAnnotationsById(e.items),l}},serializer:function(e,o,l){var t={meta:{"dc:title":e.title||"","dc:description":e.description||"","dc:created":n.Model.dateToIso(e.created||o.created),"dc:modified":n.Model.dateToIso(e.modified||o.modified),"dc:creator":e.creator||o.creator,"dc:contributor":e.contributor||o.contributor||e.creator||o.creator,listtype:"mashup"},items:e.segments.map(function(u){return u.annotation.id}),id:e.id};l.lists.push(t)}}},serialize:function(e){var o={meta:{"dc:creator":e.creator,"dc:contributor":e.contributor||e.creator,"dc:created":n.Model.dateToIso(e.created),"dc:modified":n.Model.dateToIso(e.modified),"dc:title":e.title||"","dc:description":e.description||"",id:e.projectId||e.id},views:[{id:n.Model.getUID(),contents:[],annotation_types:[]}],lists:[],"annotation-types":[],medias:[],tags:[],annotations:[]},l=this;return e.regenerateTags&&(e.__keywords={},e.getAnnotations().forEach(function(t){_$1(t.keywords).each(function(u){var h=u.toLowerCase();typeof e.__keywords[h]>"u"&&(e.__keywords[h]={id:n.Model.getUID(),title:u,regenerated:!0})})}),_$1(e.__keywords).each(function(t){l.types.tag.serializer(t,e,o)})),e.forEach(function(t,u){typeof l.types[u]<"u"&&t.forEach(function(h){l.types[u].serializer(h,e,o)})}),JSON.stringify(o)},deSerialize:function(e,o){typeof e!="object"||e===null||(_$1(this.types).forEach(function(l,t){var u=e[l.serialized_name],h=new n.Model.List(o.directory);if(typeof u<"u"&&u!==null)if(u.hasOwnProperty("length"))for(var v=u.length,w=0;w<v;w++){var A=l.deserializer(u[w],o);typeof A<"u"&&A&&h.push(A)}else{var A=l.deserializer(u,o);typeof A<"u"&&A&&h.push(A)}o.addList(t,h)}),typeof e.meta<"u"&&(o.projectId=e.meta.id,o.title=e.meta["dc:title"]||e.meta.title||"",o.description=e.meta["dc:description"]||e.meta.description||"",o.creator=e.meta["dc:creator"]||e.meta.creator||"",o.contributor=e.meta["dc:contributor"]||e.meta.contributor||o.creator,o.created=n.Model.isoToDate(e.meta["dc:created"]||e.meta.created)),typeof e.meta<"u"&&typeof e.meta.main_media<"u"&&typeof e.meta.main_media["id-ref"]<"u"&&(o.currentMedia=o.getElement(e.meta.main_media["id-ref"])))}}},segmentapi=function(n){return{deSerialize:function(e,o){var l=new n.Model.List(o.directory),t=new n.Model.List(o.directory);o.addList("media",t);function u(h){var v=new n.Model.Annotation(h.element_id,o),w=o.getElement(h.iri_id);w||(w=new n.Model.Media(h.iri_id,o),o.getMedias().push(w)),v.setMedia(h.iri_id),v.title=h.title,v.description=h.abstract,v.begin=new n.Model.Time(h.start_ts),v.end=new n.Model.Time(h.start_ts+h.duration),v.keywords=h.tags?h.tags.split(","):[],v.project_id=h.project_id,l.push(v)}typeof e.objects<"u"?_$1(e.objects).each(u):u(e),o.addList("annotation",l)}}},serializers=function(n){return{content:content(n),ldt_annotate:ldt_annotate(n),ldt_localstorage:ldt_localstorage(n),ldt:ldt(n),segmentapi:segmentapi(n)}};var Youtube={exports:{}},win;typeof window<"u"?win=window:typeof commonjsGlobal$1<"u"?win=commonjsGlobal$1:typeof self<"u"?win=self:win={};var window_1=win;const window$1$1=getDefaultExportFromCjs$1(window_1),__viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$6=getAugmentedNamespace(__viteBrowserExternal$1);var topLevel=typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:{},minDoc=require$$0$6,doccy;typeof document<"u"?doccy=document:(doccy=topLevel["__GLOBAL_DOCUMENT_CACHE@4"],doccy||(doccy=topLevel["__GLOBAL_DOCUMENT_CACHE@4"]=minDoc));var document_1=doccy;const document$2=getDefaultExportFromCjs$1(document_1);function _extends$2(){return _extends$2=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var l in o)({}).hasOwnProperty.call(o,l)&&(n[l]=o[l])}return n},_extends$2.apply(null,arguments)}const _extends$3=Object.freeze(Object.defineProperty({__proto__:null,get default(){return _extends$2}},Symbol.toStringTag,{value:"Module"}));var keycode$1={exports:{}};(function(n,e){function o(w){if(w&&typeof w=="object"){var A=w.which||w.keyCode||w.charCode;A&&(w=A)}if(typeof w=="number")return h[w];var E=String(w),C=l[E.toLowerCase()];if(C)return C;var C=t[E.toLowerCase()];if(C)return C;if(E.length===1)return E.charCodeAt(0)}o.isEventKey=function(A,E){if(A&&typeof A=="object"){var C=A.which||A.keyCode||A.charCode;if(C==null)return!1;if(typeof E=="string"){var M=l[E.toLowerCase()];if(M)return M===C;var M=t[E.toLowerCase()];if(M)return M===C}else if(typeof E=="number")return E===C;return!1}},e=n.exports=o;var l=e.code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},t=e.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
+ * Programatically add the following
+ */for(u=97;u<123;u++)l[String.fromCharCode(u)]=u-32;for(var u=48;u<58;u++)l[u-48]=u;for(u=1;u<13;u++)l["f"+u]=u+111;for(u=0;u<10;u++)l["numpad "+u]=u+96;var h=e.names=e.title={};for(u in l)h[l[u]]=u;for(var v in t)l[v]=t[v]})(keycode$1,keycode$1.exports);var keycodeExports=keycode$1.exports;const keycode=getDefaultExportFromCjs$1(keycodeExports);function _assertThisInitialized$1(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function _setPrototypeOf$1(n,e){return _setPrototypeOf$1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,l){return o.__proto__=l,o},_setPrototypeOf$1(n,e)}function _inheritsLoose(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,_setPrototypeOf$1(n,e)}var tuple=SafeParseTuple;function SafeParseTuple(n,e){var o,l=null;try{o=JSON.parse(n,e)}catch(t){l=t}return[l,o]}const safeParseTuple=getDefaultExportFromCjs$1(tuple);var lib$6={exports:{}};const require$$1$6=getAugmentedNamespace(_extends$3);var isFunction_1=isFunction$3,toString$2=Object.prototype.toString;function isFunction$3(n){if(!n)return!1;var e=toString$2.call(n);return e==="[object Function]"||typeof n=="function"&&e!=="[object RegExp]"||typeof window<"u"&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}var window$3=window_1,httpResponseHandler=function(e,o){return o===void 0&&(o=!1),function(l,t,u){if(l){e(l);return}if(t.statusCode>=400&&t.statusCode<=599){var h=u;if(o)if(window$3.TextDecoder){var v=getCharset(t.headers&&t.headers["content-type"]);try{h=new TextDecoder(v).decode(u)}catch{}}else h=String.fromCharCode.apply(null,new Uint8Array(u));e({cause:h});return}e(null,u)}};function getCharset(n){return n===void 0&&(n=""),n.toLowerCase().split(";").reduce(function(e,o){var l=o.split("="),t=l[0],u=l[1];return t.trim()==="charset"?u.trim():e},"utf-8")}var httpHandler=httpResponseHandler,window$2=window_1,_extends$1=require$$1$6,isFunction$2=isFunction_1;createXHR.httpHandler=httpHandler;/**
  * @license
  * slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>
  * Copyright (c) 2014 David Björklund
  * Available under the MIT license
  * <https://github.com/kesla/parse-headers/blob/master/LICENCE>
- */var parseHeaders=function(e){var n={};return e&&e.trim().split(`
-`).forEach(function(o){var u=o.indexOf(":"),l=o.slice(0,u).trim().toLowerCase(),m=o.slice(u+1).trim();typeof n[l]>"u"?n[l]=m:Array.isArray(n[l])?n[l].push(m):n[l]=[n[l],m]}),n};lib$6.exports=createXHR,lib$6.exports.default=createXHR,createXHR.XMLHttpRequest=window$2.XMLHttpRequest||noop$2,createXHR.XDomainRequest="withCredentials"in new createXHR.XMLHttpRequest?createXHR.XMLHttpRequest:window$2.XDomainRequest,forEachArray$1(["get","put","post","patch","head","delete"],function(t){createXHR[t==="delete"?"del":t]=function(e,n,o){return n=initParams$1(e,n,o),n.method=t.toUpperCase(),_createXHR(n)}});function forEachArray$1(t,e){for(var n=0;n<t.length;n++)e(t[n])}function isEmpty(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function initParams$1(t,e,n){var o=t;return isFunction$2(e)?(n=e,typeof t=="string"&&(o={uri:t})):o=_extends$1({},e,{uri:t}),o.callback=n,o}function createXHR(t,e,n){return e=initParams$1(t,e,n),_createXHR(e)}function _createXHR(t){if(typeof t.callback>"u")throw new Error("callback argument missing");if(t.requestType&&createXHR.requestInterceptorsStorage.getIsEnabled()){var e={uri:t.uri||t.url,headers:t.headers||{},body:t.body,metadata:t.metadata||{},retry:t.retry,timeout:t.timeout},n=createXHR.requestInterceptorsStorage.execute(t.requestType,e);t.uri=n.uri,t.headers=n.headers,t.body=n.body,t.metadata=n.metadata,t.retry=n.retry,t.timeout=n.timeout}var o=!1,u=function(ie,ue,Q){o||(o=!0,t.callback(ie,ue,Q))};function l(){C.readyState===4&&!createXHR.responseInterceptorsStorage.getIsEnabled()&&setTimeout(E,0)}function m(){var J=void 0;if(C.response?J=C.response:J=C.responseText||getXml(C),O)try{J=JSON.parse(J)}catch{}return J}function y(J){if(clearTimeout(N),clearTimeout(t.retryTimeout),J instanceof Error||(J=new Error(""+(J||"Unknown XMLHttpRequest Error"))),J.statusCode=0,!A&&createXHR.retryManager.getIsEnabled()&&t.retry&&t.retry.shouldRetry()){t.retryTimeout=setTimeout(function(){t.retry.moveToNextAttempt(),t.xhr=C,_createXHR(t)},t.retry.getCurrentFuzzedDelay());return}if(t.requestType&&createXHR.responseInterceptorsStorage.getIsEnabled()){var ie={headers:Y.headers||{},body:Y.body,responseUrl:C.responseURL,responseType:C.responseType},ue=createXHR.responseInterceptorsStorage.execute(t.requestType,ie);Y.body=ue.body,Y.headers=ue.headers}return u(J,Y)}function E(){if(!A){var J;clearTimeout(N),clearTimeout(t.retryTimeout),t.useXDR&&C.status===void 0?J=200:J=C.status===1223?204:C.status;var ie=Y,ue=null;if(J!==0?(ie={body:m(),statusCode:J,method:P,headers:{},url:D,rawRequest:C},C.getAllResponseHeaders&&(ie.headers=parseHeaders(C.getAllResponseHeaders()))):ue=new Error("Internal XMLHttpRequest Error"),t.requestType&&createXHR.responseInterceptorsStorage.getIsEnabled()){var Q={headers:ie.headers||{},body:ie.body,responseUrl:C.responseURL,responseType:C.responseType},ce=createXHR.responseInterceptorsStorage.execute(t.requestType,Q);ie.body=ce.body,ie.headers=ce.headers}return u(ue,ie,ie.body)}}var C=t.xhr||null;C||(t.cors||t.useXDR?C=new createXHR.XDomainRequest:C=new createXHR.XMLHttpRequest);var k,A,D=C.url=t.uri||t.url,P=C.method=t.method||"GET",R=t.body||t.data,B=C.headers=t.headers||{},F=!!t.sync,O=!1,N,Y={body:void 0,headers:{},statusCode:0,method:P,url:D,rawRequest:C};if("json"in t&&t.json!==!1&&(O=!0,B.accept||B.Accept||(B.Accept="application/json"),P!=="GET"&&P!=="HEAD"&&(B["content-type"]||B["Content-Type"]||(B["Content-Type"]="application/json"),R=JSON.stringify(t.json===!0?R:t.json))),C.onreadystatechange=l,C.onload=E,C.onerror=y,C.onprogress=function(){},C.onabort=function(){A=!0,clearTimeout(t.retryTimeout)},C.ontimeout=y,C.open(P,D,!F,t.username,t.password),F||(C.withCredentials=!!t.withCredentials),!F&&t.timeout>0&&(N=setTimeout(function(){if(!A){A=!0,C.abort("timeout");var J=new Error("XMLHttpRequest timeout");J.code="ETIMEDOUT",y(J)}},t.timeout)),C.setRequestHeader)for(k in B)B.hasOwnProperty(k)&&C.setRequestHeader(k,B[k]);else if(t.headers&&!isEmpty(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(C.responseType=t.responseType),"beforeSend"in t&&typeof t.beforeSend=="function"&&t.beforeSend(C),C.send(R||null),C}function getXml(t){try{if(t.responseType==="document")return t.responseXML;var e=t.responseXML&&t.responseXML.documentElement.nodeName==="parsererror";if(t.responseType===""&&!e)return t.responseXML}catch{}return null}function noop$2(){}var libExports=lib$6.exports;const XHR=getDefaultExportFromCjs$1(libExports);var browserIndex={exports:{}},document$1=document_1,_objCreate=Object.create||function(){function t(){}return function(e){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();function ParsingError(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}ParsingError.prototype=_objCreate(Error.prototype),ParsingError.prototype.constructor=ParsingError,ParsingError.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};function parseTimeStamp(t){function e(o,u,l,m){return(o|0)*3600+(u|0)*60+(l|0)+(m|0)/1e3}var n=t.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function Settings(){this.values=_objCreate(null)}Settings.prototype={set:function(t,e){!this.get(t)&&e!==""&&(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var o=0;o<n.length;++o)if(e===n[o]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e),e>=0&&e<=100)?(this.set(t,e),!0):!1}};function parseOptions(t,e,n,o){var u=o?t.split(o):[t];for(var l in u)if(typeof u[l]=="string"){var m=u[l].split(n);if(m.length===2){var y=m[0].trim(),E=m[1].trim();e(y,E)}}}function parseCue(t,e,n){var o=t;function u(){var y=parseTimeStamp(t);if(y===null)throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed timestamp: "+o);return t=t.replace(/^[^\sa-zA-Z-]+/,""),y}function l(y,E){var C=new Settings;parseOptions(y,function(k,A){switch(k){case"region":for(var D=n.length-1;D>=0;D--)if(n[D].id===A){C.set(k,n[D].region);break}break;case"vertical":C.alt(k,A,["rl","lr"]);break;case"line":var P=A.split(","),R=P[0];C.integer(k,R),C.percent(k,R)&&C.set("snapToLines",!1),C.alt(k,R,["auto"]),P.length===2&&C.alt("lineAlign",P[1],["start","center","end"]);break;case"position":P=A.split(","),C.percent(k,P[0]),P.length===2&&C.alt("positionAlign",P[1],["start","center","end"]);break;case"size":C.percent(k,A);break;case"align":C.alt(k,A,["start","center","end","left","right"]);break}},/:/,/\s/),E.region=C.get("region",null),E.vertical=C.get("vertical","");try{E.line=C.get("line","auto")}catch{}E.lineAlign=C.get("lineAlign","start"),E.snapToLines=C.get("snapToLines",!0),E.size=C.get("size",100);try{E.align=C.get("align","center")}catch{E.align=C.get("align","middle")}try{E.position=C.get("position","auto")}catch{E.position=C.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},E.align)}E.positionAlign=C.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},E.align)}function m(){t=t.replace(/^\s+/,"")}if(m(),e.startTime=u(),m(),t.substr(0,3)!=="-->")throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+o);t=t.substr(3),m(),e.endTime=u(),m(),l(t,e)}var TEXTAREA_ELEMENT=document$1.createElement&&document$1.createElement("textarea"),TAG_NAME={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},DEFAULT_COLOR_CLASS={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},TAG_ANNOTATION={v:"title",lang:"lang"},NEEDS_PARENT={rt:"ruby"};function parseContent(t,e){function n(){if(!e)return null;function R(F){return e=e.substr(F.length),F}var B=e.match(/^([^<]*)(<[^>]*>?)?/);return R(B[1]?B[1]:B[2])}function o(R){return TEXTAREA_ELEMENT.innerHTML=R,R=TEXTAREA_ELEMENT.textContent,TEXTAREA_ELEMENT.textContent="",R}function u(R,B){return!NEEDS_PARENT[B.localName]||NEEDS_PARENT[B.localName]===R.localName}function l(R,B){var F=TAG_NAME[R];if(!F)return null;var O=t.document.createElement(F),N=TAG_ANNOTATION[R];return N&&B&&(O[N]=B.trim()),O}for(var m=t.document.createElement("div"),y=m,E,C=[];(E=n())!==null;){if(E[0]==="<"){if(E[1]==="/"){C.length&&C[C.length-1]===E.substr(2).replace(">","")&&(C.pop(),y=y.parentNode);continue}var k=parseTimeStamp(E.substr(1,E.length-2)),A;if(k){A=t.document.createProcessingInstruction("timestamp",k),y.appendChild(A);continue}var D=E.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!D||(A=l(D[1],D[3]),!A)||!u(y,A))continue;if(D[2]){var P=D[2].split(".");P.forEach(function(R){var B=/^bg_/.test(R),F=B?R.slice(3):R;if(DEFAULT_COLOR_CLASS.hasOwnProperty(F)){var O=B?"background-color":"color",N=DEFAULT_COLOR_CLASS[F];A.style[O]=N}}),A.className=P.join(" ")}C.push(D[1]),y.appendChild(A),y=A;continue}y.appendChild(t.document.createTextNode(o(E)))}return m}var strongRTLRanges=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function isStrongRTLChar(t){for(var e=0;e<strongRTLRanges.length;e++){var n=strongRTLRanges[e];if(t>=n[0]&&t<=n[1])return!0}return!1}function determineBidi(t){var e=[],n="",o;if(!t||!t.childNodes)return"ltr";function u(y,E){for(var C=E.childNodes.length-1;C>=0;C--)y.push(E.childNodes[C])}function l(y){if(!y||!y.length)return null;var E=y.pop(),C=E.textContent||E.innerText;if(C){var k=C.match(/^.*(\n|\r)/);return k?(y.length=0,k[0]):C}if(E.tagName==="ruby")return l(y);if(E.childNodes)return u(y,E),l(y)}for(u(e,t);n=l(e);)for(var m=0;m<n.length;m++)if(o=n.charCodeAt(m),isStrongRTLChar(o))return"rtl";return"ltr"}function computeLinePos(t){if(typeof t.line=="number"&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,o=0,u=0;u<n.length&&n[u]!==e;u++)n[u].mode==="showing"&&o++;return++o*-1}function StyleBox(){}StyleBox.prototype.applyStyles=function(t,e){e=e||this.div;for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},StyleBox.prototype.formatStyle=function(t,e){return t===0?0:t+e};function CueStyleBox(t,e,n){StyleBox.call(this),this.cue=e,this.cueDiv=parseContent(t,e.text);var o={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:e.vertical===""?"horizontal-tb":e.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(o,this.cueDiv),this.div=t.document.createElement("div"),o={direction:determineBidi(this.cueDiv),writingMode:e.vertical===""?"horizontal-tb":e.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:e.align==="middle"?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(o),this.div.appendChild(this.cueDiv);var u=0;switch(e.positionAlign){case"start":case"line-left":u=e.position;break;case"center":u=e.position-e.size/2;break;case"end":case"line-right":u=e.position-e.size;break}e.vertical===""?this.applyStyles({left:this.formatStyle(u,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(u,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(l){this.applyStyles({top:this.formatStyle(l.top,"px"),bottom:this.formatStyle(l.bottom,"px"),left:this.formatStyle(l.left,"px"),right:this.formatStyle(l.right,"px"),height:this.formatStyle(l.height,"px"),width:this.formatStyle(l.width,"px")})}}CueStyleBox.prototype=_objCreate(StyleBox.prototype),CueStyleBox.prototype.constructor=CueStyleBox;function BoxPosition(t){var e,n,o,u;if(t.div){n=t.div.offsetHeight,o=t.div.offsetWidth,u=t.div.offsetTop;var l=(l=t.div.childNodes)&&(l=l[0])&&l.getClientRects&&l.getClientRects();t=t.div.getBoundingClientRect(),e=l?Math.max(l[0]&&l[0].height||0,t.height/l.length):0}this.left=t.left,this.right=t.right,this.top=t.top||u,this.height=t.height||n,this.bottom=t.bottom||u+(t.height||n),this.width=t.width||o,this.lineHeight=e!==void 0?e:t.lineHeight}BoxPosition.prototype.move=function(t,e){switch(e=e!==void 0?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e;break}},BoxPosition.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},BoxPosition.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},BoxPosition.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},BoxPosition.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},BoxPosition.prototype.intersectPercentage=function(t){var e=Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left)),n=Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top)),o=e*n;return o/(this.height*this.width)},BoxPosition.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},BoxPosition.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,o=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t;var u={left:t.left,right:t.right,top:t.top||o,height:t.height||e,bottom:t.bottom||o+(t.height||e),width:t.width||n};return u};function moveBoxToLinePosition(t,e,n,o){function u(F,O){for(var N,Y=new BoxPosition(F),J=1,ie=0;ie<O.length;ie++){for(;F.overlapsOppositeAxis(n,O[ie])||F.within(n)&&F.overlapsAny(o);)F.move(O[ie]);if(F.within(n))return F;var ue=F.intersectPercentage(n);J>ue&&(N=new BoxPosition(F),J=ue),F=new BoxPosition(Y)}return N||Y}var l=new BoxPosition(e),m=e.cue,y=computeLinePos(m),E=[];if(m.snapToLines){var C;switch(m.vertical){case"":E=["+y","-y"],C="height";break;case"rl":E=["+x","-x"],C="width";break;case"lr":E=["-x","+x"],C="width";break}var k=l.lineHeight,A=k*Math.round(y),D=n[C]+k,P=E[0];Math.abs(A)>D&&(A=A<0?-1:1,A*=Math.ceil(D/k)*k),y<0&&(A+=m.vertical===""?n.height:n.width,E=E.reverse()),l.move(P,A)}else{var R=l.lineHeight/n.height*100;switch(m.lineAlign){case"center":y-=R/2;break;case"end":y-=R;break}switch(m.vertical){case"":e.applyStyles({top:e.formatStyle(y,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(y,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(y,"%")});break}E=["+y","-x","+x","-y"],l=new BoxPosition(e)}var B=u(l,E);e.move(B.toCSSCompatValues(n))}function WebVTT$1(){}WebVTT$1.StringDecoder=function(){return{decode:function(t){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},WebVTT$1.convertCueToDOMTree=function(t,e){return!t||!e?null:parseContent(t,e)};var FONT_SIZE_PERCENT=.05,FONT_STYLE="sans-serif",CUE_BACKGROUND_PADDING="1.5%";WebVTT$1.processCues=function(t,e,n){if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var o=t.document.createElement("div");o.style.position="absolute",o.style.left="0",o.style.right="0",o.style.top="0",o.style.bottom="0",o.style.margin=CUE_BACKGROUND_PADDING,n.appendChild(o);function u(k){for(var A=0;A<k.length;A++)if(k[A].hasBeenReset||!k[A].displayState)return!0;return!1}if(!u(e)){for(var l=0;l<e.length;l++)o.appendChild(e[l].displayState);return}var m=[],y=BoxPosition.getSimpleBoxPosition(o),E=Math.round(y.height*FONT_SIZE_PERCENT*100)/100,C={font:E+"px "+FONT_STYLE};(function(){for(var k,A,D=0;D<e.length;D++)A=e[D],k=new CueStyleBox(t,A,C),o.appendChild(k.div),moveBoxToLinePosition(t,k,y,m),A.displayState=k.div,m.push(BoxPosition.getSimpleBoxPosition(k))})()},WebVTT$1.Parser=function(t,e,n){n||(n=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},WebVTT$1.Parser.prototype={reportOrThrowError:function(t){if(t instanceof ParsingError)this.onparsingerror&&this.onparsingerror(t);else throw t},parse:function(t){var e=this;t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));function n(){for(var k=e.buffer,A=0;A<k.length&&k[A]!=="\r"&&k[A]!==`
-`;)++A;var D=k.substr(0,A);return k[A]==="\r"&&++A,k[A]===`
-`&&++A,e.buffer=k.substr(A),D}function o(k){var A=new Settings;if(parseOptions(k,function(P,R){switch(P){case"id":A.set(P,R);break;case"width":A.percent(P,R);break;case"lines":A.integer(P,R);break;case"regionanchor":case"viewportanchor":var B=R.split(",");if(B.length!==2)break;var F=new Settings;if(F.percent("x",B[0]),F.percent("y",B[1]),!F.has("x")||!F.has("y"))break;A.set(P+"X",F.get("x")),A.set(P+"Y",F.get("y"));break;case"scroll":A.alt(P,R,["up"]);break}},/=/,/\s/),A.has("id")){var D=new(e.vttjs.VTTRegion||e.window.VTTRegion);D.width=A.get("width",100),D.lines=A.get("lines",3),D.regionAnchorX=A.get("regionanchorX",0),D.regionAnchorY=A.get("regionanchorY",100),D.viewportAnchorX=A.get("viewportanchorX",0),D.viewportAnchorY=A.get("viewportanchorY",100),D.scroll=A.get("scroll",""),e.onregion&&e.onregion(D),e.regionList.push({id:A.get("id"),region:D})}}function u(k){var A=new Settings;parseOptions(k,function(D,P){switch(D){case"MPEGT":A.integer(D+"S",P);break;case"LOCA":A.set(D+"L",parseTimeStamp(P));break}},/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:A.get("MPEGTS"),LOCAL:A.get("LOCAL")})}function l(k){k.match(/X-TIMESTAMP-MAP/)?parseOptions(k,function(A,D){switch(A){case"X-TIMESTAMP-MAP":u(D);break}},/=/):parseOptions(k,function(A,D){switch(A){case"Region":o(D);break}},/:/)}try{var m;if(e.state==="INITIAL"){if(!/\r\n|\n/.test(e.buffer))return this;m=n();var y=m.match(/^WEBVTT([ \t].*)?$/);if(!y||!y[0])throw new ParsingError(ParsingError.Errors.BadSignature);e.state="HEADER"}for(var E=!1;e.buffer;){if(!/\r\n|\n/.test(e.buffer))return this;switch(E?E=!1:m=n(),e.state){case"HEADER":/:/.test(m)?l(m):m||(e.state="ID");continue;case"NOTE":m||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(m)){e.state="NOTE";break}if(!m)continue;e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,"");try{e.cue.align="center"}catch{e.cue.align="middle"}if(e.state="CUE",m.indexOf("-->")===-1){e.cue.id=m;continue}case"CUE":try{parseCue(m,e.cue,e.regionList)}catch(k){e.reportOrThrowError(k),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var C=m.indexOf("-->")!==-1;if(!m||C&&(E=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+=`
-`),e.cue.text+=m.replace(/\u2028/g,`
+ */var parseHeaders=function(e){var o={};return e&&e.trim().split(`
+`).forEach(function(l){var t=l.indexOf(":"),u=l.slice(0,t).trim().toLowerCase(),h=l.slice(t+1).trim();typeof o[u]>"u"?o[u]=h:Array.isArray(o[u])?o[u].push(h):o[u]=[o[u],h]}),o};lib$6.exports=createXHR,lib$6.exports.default=createXHR,createXHR.XMLHttpRequest=window$2.XMLHttpRequest||noop$2,createXHR.XDomainRequest="withCredentials"in new createXHR.XMLHttpRequest?createXHR.XMLHttpRequest:window$2.XDomainRequest,forEachArray$1(["get","put","post","patch","head","delete"],function(n){createXHR[n==="delete"?"del":n]=function(e,o,l){return o=initParams$1(e,o,l),o.method=n.toUpperCase(),_createXHR(o)}});function forEachArray$1(n,e){for(var o=0;o<n.length;o++)e(n[o])}function isEmpty(n){for(var e in n)if(n.hasOwnProperty(e))return!1;return!0}function initParams$1(n,e,o){var l=n;return isFunction$2(e)?(o=e,typeof n=="string"&&(l={uri:n})):l=_extends$1({},e,{uri:n}),l.callback=o,l}function createXHR(n,e,o){return e=initParams$1(n,e,o),_createXHR(e)}function _createXHR(n){if(typeof n.callback>"u")throw new Error("callback argument missing");var e=!1,o=function(ee,Z,re){e||(e=!0,n.callback(ee,Z,re))};function l(){v.readyState===4&&setTimeout(h,0)}function t(){var N=void 0;if(v.response?N=v.response:N=v.responseText||getXml(v),j)try{N=JSON.parse(N)}catch{}return N}function u(N){return clearTimeout(B),N instanceof Error||(N=new Error(""+(N||"Unknown XMLHttpRequest Error"))),N.statusCode=0,o(N,F)}function h(){if(!A){var N;clearTimeout(B),n.useXDR&&v.status===void 0?N=200:N=v.status===1223?204:v.status;var ee=F,Z=null;return N!==0?(ee={body:t(),statusCode:N,method:C,headers:{},url:E,rawRequest:v},v.getAllResponseHeaders&&(ee.headers=parseHeaders(v.getAllResponseHeaders()))):Z=new Error("Internal XMLHttpRequest Error"),o(Z,ee,ee.body)}}var v=n.xhr||null;v||(n.cors||n.useXDR?v=new createXHR.XDomainRequest:v=new createXHR.XMLHttpRequest);var w,A,E=v.url=n.uri||n.url,C=v.method=n.method||"GET",M=n.body||n.data,P=v.headers=n.headers||{},I=!!n.sync,j=!1,B,F={body:void 0,headers:{},statusCode:0,method:C,url:E,rawRequest:v};if("json"in n&&n.json!==!1&&(j=!0,P.accept||P.Accept||(P.Accept="application/json"),C!=="GET"&&C!=="HEAD"&&(P["content-type"]||P["Content-Type"]||(P["Content-Type"]="application/json"),M=JSON.stringify(n.json===!0?M:n.json))),v.onreadystatechange=l,v.onload=h,v.onerror=u,v.onprogress=function(){},v.onabort=function(){A=!0},v.ontimeout=u,v.open(C,E,!I,n.username,n.password),I||(v.withCredentials=!!n.withCredentials),!I&&n.timeout>0&&(B=setTimeout(function(){if(!A){A=!0,v.abort("timeout");var N=new Error("XMLHttpRequest timeout");N.code="ETIMEDOUT",u(N)}},n.timeout)),v.setRequestHeader)for(w in P)P.hasOwnProperty(w)&&v.setRequestHeader(w,P[w]);else if(n.headers&&!isEmpty(n.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in n&&(v.responseType=n.responseType),"beforeSend"in n&&typeof n.beforeSend=="function"&&n.beforeSend(v),v.send(M||null),v}function getXml(n){try{if(n.responseType==="document")return n.responseXML;var e=n.responseXML&&n.responseXML.documentElement.nodeName==="parsererror";if(n.responseType===""&&!e)return n.responseXML}catch{}return null}function noop$2(){}var libExports=lib$6.exports;const XHR=getDefaultExportFromCjs$1(libExports);var browserIndex={exports:{}},document$1=document_1,_objCreate=Object.create||function(){function n(){}return function(e){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return n.prototype=e,new n}}();function ParsingError(n,e){this.name="ParsingError",this.code=n.code,this.message=e||n.message}ParsingError.prototype=_objCreate(Error.prototype),ParsingError.prototype.constructor=ParsingError,ParsingError.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};function parseTimeStamp(n){function e(l,t,u,h){return(l|0)*3600+(t|0)*60+(u|0)+(h|0)/1e3}var o=n.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return o?o[3]?e(o[1],o[2],o[3].replace(":",""),o[4]):o[1]>59?e(o[1],o[2],0,o[4]):e(0,o[1],o[2],o[4]):null}function Settings(){this.values=_objCreate(null)}Settings.prototype={set:function(n,e){!this.get(n)&&e!==""&&(this.values[n]=e)},get:function(n,e,o){return o?this.has(n)?this.values[n]:e[o]:this.has(n)?this.values[n]:e},has:function(n){return n in this.values},alt:function(n,e,o){for(var l=0;l<o.length;++l)if(e===o[l]){this.set(n,e);break}},integer:function(n,e){/^-?\d+$/.test(e)&&this.set(n,parseInt(e,10))},percent:function(n,e){return e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e),e>=0&&e<=100)?(this.set(n,e),!0):!1}};function parseOptions(n,e,o,l){var t=l?n.split(l):[n];for(var u in t)if(typeof t[u]=="string"){var h=t[u].split(o);if(h.length===2){var v=h[0].trim(),w=h[1].trim();e(v,w)}}}function parseCue(n,e,o){var l=n;function t(){var v=parseTimeStamp(n);if(v===null)throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed timestamp: "+l);return n=n.replace(/^[^\sa-zA-Z-]+/,""),v}function u(v,w){var A=new Settings;parseOptions(v,function(E,C){switch(E){case"region":for(var M=o.length-1;M>=0;M--)if(o[M].id===C){A.set(E,o[M].region);break}break;case"vertical":A.alt(E,C,["rl","lr"]);break;case"line":var P=C.split(","),I=P[0];A.integer(E,I),A.percent(E,I)&&A.set("snapToLines",!1),A.alt(E,I,["auto"]),P.length===2&&A.alt("lineAlign",P[1],["start","center","end"]);break;case"position":P=C.split(","),A.percent(E,P[0]),P.length===2&&A.alt("positionAlign",P[1],["start","center","end"]);break;case"size":A.percent(E,C);break;case"align":A.alt(E,C,["start","center","end","left","right"]);break}},/:/,/\s/),w.region=A.get("region",null),w.vertical=A.get("vertical","");try{w.line=A.get("line","auto")}catch{}w.lineAlign=A.get("lineAlign","start"),w.snapToLines=A.get("snapToLines",!0),w.size=A.get("size",100);try{w.align=A.get("align","center")}catch{w.align=A.get("align","middle")}try{w.position=A.get("position","auto")}catch{w.position=A.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},w.align)}w.positionAlign=A.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},w.align)}function h(){n=n.replace(/^\s+/,"")}if(h(),e.startTime=t(),h(),n.substr(0,3)!=="-->")throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+l);n=n.substr(3),h(),e.endTime=t(),h(),u(n,e)}var TEXTAREA_ELEMENT=document$1.createElement&&document$1.createElement("textarea"),TAG_NAME={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},DEFAULT_COLOR_CLASS={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},TAG_ANNOTATION={v:"title",lang:"lang"},NEEDS_PARENT={rt:"ruby"};function parseContent(n,e){function o(){if(!e)return null;function I(B){return e=e.substr(B.length),B}var j=e.match(/^([^<]*)(<[^>]*>?)?/);return I(j[1]?j[1]:j[2])}function l(I){return TEXTAREA_ELEMENT.innerHTML=I,I=TEXTAREA_ELEMENT.textContent,TEXTAREA_ELEMENT.textContent="",I}function t(I,j){return!NEEDS_PARENT[j.localName]||NEEDS_PARENT[j.localName]===I.localName}function u(I,j){var B=TAG_NAME[I];if(!B)return null;var F=n.document.createElement(B),N=TAG_ANNOTATION[I];return N&&j&&(F[N]=j.trim()),F}for(var h=n.document.createElement("div"),v=h,w,A=[];(w=o())!==null;){if(w[0]==="<"){if(w[1]==="/"){A.length&&A[A.length-1]===w.substr(2).replace(">","")&&(A.pop(),v=v.parentNode);continue}var E=parseTimeStamp(w.substr(1,w.length-2)),C;if(E){C=n.document.createProcessingInstruction("timestamp",E),v.appendChild(C);continue}var M=w.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!M||(C=u(M[1],M[3]),!C)||!t(v,C))continue;if(M[2]){var P=M[2].split(".");P.forEach(function(I){var j=/^bg_/.test(I),B=j?I.slice(3):I;if(DEFAULT_COLOR_CLASS.hasOwnProperty(B)){var F=j?"background-color":"color",N=DEFAULT_COLOR_CLASS[B];C.style[F]=N}}),C.className=P.join(" ")}A.push(M[1]),v.appendChild(C),v=C;continue}v.appendChild(n.document.createTextNode(l(w)))}return h}var strongRTLRanges=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function isStrongRTLChar(n){for(var e=0;e<strongRTLRanges.length;e++){var o=strongRTLRanges[e];if(n>=o[0]&&n<=o[1])return!0}return!1}function determineBidi(n){var e=[],o="",l;if(!n||!n.childNodes)return"ltr";function t(v,w){for(var A=w.childNodes.length-1;A>=0;A--)v.push(w.childNodes[A])}function u(v){if(!v||!v.length)return null;var w=v.pop(),A=w.textContent||w.innerText;if(A){var E=A.match(/^.*(\n|\r)/);return E?(v.length=0,E[0]):A}if(w.tagName==="ruby")return u(v);if(w.childNodes)return t(v,w),u(v)}for(t(e,n);o=u(e);)for(var h=0;h<o.length;h++)if(l=o.charCodeAt(h),isStrongRTLChar(l))return"rtl";return"ltr"}function computeLinePos(n){if(typeof n.line=="number"&&(n.snapToLines||n.line>=0&&n.line<=100))return n.line;if(!n.track||!n.track.textTrackList||!n.track.textTrackList.mediaElement)return-1;for(var e=n.track,o=e.textTrackList,l=0,t=0;t<o.length&&o[t]!==e;t++)o[t].mode==="showing"&&l++;return++l*-1}function StyleBox(){}StyleBox.prototype.applyStyles=function(n,e){e=e||this.div;for(var o in n)n.hasOwnProperty(o)&&(e.style[o]=n[o])},StyleBox.prototype.formatStyle=function(n,e){return n===0?0:n+e};function CueStyleBox(n,e,o){StyleBox.call(this),this.cue=e,this.cueDiv=parseContent(n,e.text);var l={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:e.vertical===""?"horizontal-tb":e.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(l,this.cueDiv),this.div=n.document.createElement("div"),l={direction:determineBidi(this.cueDiv),writingMode:e.vertical===""?"horizontal-tb":e.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:e.align==="middle"?"center":e.align,font:o.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(l),this.div.appendChild(this.cueDiv);var t=0;switch(e.positionAlign){case"start":case"line-left":t=e.position;break;case"center":t=e.position-e.size/2;break;case"end":case"line-right":t=e.position-e.size;break}e.vertical===""?this.applyStyles({left:this.formatStyle(t,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(t,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(u){this.applyStyles({top:this.formatStyle(u.top,"px"),bottom:this.formatStyle(u.bottom,"px"),left:this.formatStyle(u.left,"px"),right:this.formatStyle(u.right,"px"),height:this.formatStyle(u.height,"px"),width:this.formatStyle(u.width,"px")})}}CueStyleBox.prototype=_objCreate(StyleBox.prototype),CueStyleBox.prototype.constructor=CueStyleBox;function BoxPosition(n){var e,o,l,t;if(n.div){o=n.div.offsetHeight,l=n.div.offsetWidth,t=n.div.offsetTop;var u=(u=n.div.childNodes)&&(u=u[0])&&u.getClientRects&&u.getClientRects();n=n.div.getBoundingClientRect(),e=u?Math.max(u[0]&&u[0].height||0,n.height/u.length):0}this.left=n.left,this.right=n.right,this.top=n.top||t,this.height=n.height||o,this.bottom=n.bottom||t+(n.height||o),this.width=n.width||l,this.lineHeight=e!==void 0?e:n.lineHeight}BoxPosition.prototype.move=function(n,e){switch(e=e!==void 0?e:this.lineHeight,n){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e;break}},BoxPosition.prototype.overlaps=function(n){return this.left<n.right&&this.right>n.left&&this.top<n.bottom&&this.bottom>n.top},BoxPosition.prototype.overlapsAny=function(n){for(var e=0;e<n.length;e++)if(this.overlaps(n[e]))return!0;return!1},BoxPosition.prototype.within=function(n){return this.top>=n.top&&this.bottom<=n.bottom&&this.left>=n.left&&this.right<=n.right},BoxPosition.prototype.overlapsOppositeAxis=function(n,e){switch(e){case"+x":return this.left<n.left;case"-x":return this.right>n.right;case"+y":return this.top<n.top;case"-y":return this.bottom>n.bottom}},BoxPosition.prototype.intersectPercentage=function(n){var e=Math.max(0,Math.min(this.right,n.right)-Math.max(this.left,n.left)),o=Math.max(0,Math.min(this.bottom,n.bottom)-Math.max(this.top,n.top)),l=e*o;return l/(this.height*this.width)},BoxPosition.prototype.toCSSCompatValues=function(n){return{top:this.top-n.top,bottom:n.bottom-this.bottom,left:this.left-n.left,right:n.right-this.right,height:this.height,width:this.width}},BoxPosition.getSimpleBoxPosition=function(n){var e=n.div?n.div.offsetHeight:n.tagName?n.offsetHeight:0,o=n.div?n.div.offsetWidth:n.tagName?n.offsetWidth:0,l=n.div?n.div.offsetTop:n.tagName?n.offsetTop:0;n=n.div?n.div.getBoundingClientRect():n.tagName?n.getBoundingClientRect():n;var t={left:n.left,right:n.right,top:n.top||l,height:n.height||e,bottom:n.bottom||l+(n.height||e),width:n.width||o};return t};function moveBoxToLinePosition(n,e,o,l){function t(B,F){for(var N,ee=new BoxPosition(B),Z=1,re=0;re<F.length;re++){for(;B.overlapsOppositeAxis(o,F[re])||B.within(o)&&B.overlapsAny(l);)B.move(F[re]);if(B.within(o))return B;var fe=B.intersectPercentage(o);Z>fe&&(N=new BoxPosition(B),Z=fe),B=new BoxPosition(ee)}return N||ee}var u=new BoxPosition(e),h=e.cue,v=computeLinePos(h),w=[];if(h.snapToLines){var A;switch(h.vertical){case"":w=["+y","-y"],A="height";break;case"rl":w=["+x","-x"],A="width";break;case"lr":w=["-x","+x"],A="width";break}var E=u.lineHeight,C=E*Math.round(v),M=o[A]+E,P=w[0];Math.abs(C)>M&&(C=C<0?-1:1,C*=Math.ceil(M/E)*E),v<0&&(C+=h.vertical===""?o.height:o.width,w=w.reverse()),u.move(P,C)}else{var I=u.lineHeight/o.height*100;switch(h.lineAlign){case"center":v-=I/2;break;case"end":v-=I;break}switch(h.vertical){case"":e.applyStyles({top:e.formatStyle(v,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(v,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(v,"%")});break}w=["+y","-x","+x","-y"],u=new BoxPosition(e)}var j=t(u,w);e.move(j.toCSSCompatValues(o))}function WebVTT$1(){}WebVTT$1.StringDecoder=function(){return{decode:function(n){if(!n)return"";if(typeof n!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(n))}}},WebVTT$1.convertCueToDOMTree=function(n,e){return!n||!e?null:parseContent(n,e)};var FONT_SIZE_PERCENT=.05,FONT_STYLE="sans-serif",CUE_BACKGROUND_PADDING="1.5%";WebVTT$1.processCues=function(n,e,o){if(!n||!e||!o)return null;for(;o.firstChild;)o.removeChild(o.firstChild);var l=n.document.createElement("div");l.style.position="absolute",l.style.left="0",l.style.right="0",l.style.top="0",l.style.bottom="0",l.style.margin=CUE_BACKGROUND_PADDING,o.appendChild(l);function t(E){for(var C=0;C<E.length;C++)if(E[C].hasBeenReset||!E[C].displayState)return!0;return!1}if(!t(e)){for(var u=0;u<e.length;u++)l.appendChild(e[u].displayState);return}var h=[],v=BoxPosition.getSimpleBoxPosition(l),w=Math.round(v.height*FONT_SIZE_PERCENT*100)/100,A={font:w+"px "+FONT_STYLE};(function(){for(var E,C,M=0;M<e.length;M++)C=e[M],E=new CueStyleBox(n,C,A),l.appendChild(E.div),moveBoxToLinePosition(n,E,v,h),C.displayState=E.div,h.push(BoxPosition.getSimpleBoxPosition(E))})()},WebVTT$1.Parser=function(n,e,o){o||(o=e,e={}),e||(e={}),this.window=n,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=o||new TextDecoder("utf8"),this.regionList=[]},WebVTT$1.Parser.prototype={reportOrThrowError:function(n){if(n instanceof ParsingError)this.onparsingerror&&this.onparsingerror(n);else throw n},parse:function(n){var e=this;n&&(e.buffer+=e.decoder.decode(n,{stream:!0}));function o(){for(var E=e.buffer,C=0;C<E.length&&E[C]!=="\r"&&E[C]!==`
+`;)++C;var M=E.substr(0,C);return E[C]==="\r"&&++C,E[C]===`
+`&&++C,e.buffer=E.substr(C),M}function l(E){var C=new Settings;if(parseOptions(E,function(P,I){switch(P){case"id":C.set(P,I);break;case"width":C.percent(P,I);break;case"lines":C.integer(P,I);break;case"regionanchor":case"viewportanchor":var j=I.split(",");if(j.length!==2)break;var B=new Settings;if(B.percent("x",j[0]),B.percent("y",j[1]),!B.has("x")||!B.has("y"))break;C.set(P+"X",B.get("x")),C.set(P+"Y",B.get("y"));break;case"scroll":C.alt(P,I,["up"]);break}},/=/,/\s/),C.has("id")){var M=new(e.vttjs.VTTRegion||e.window.VTTRegion);M.width=C.get("width",100),M.lines=C.get("lines",3),M.regionAnchorX=C.get("regionanchorX",0),M.regionAnchorY=C.get("regionanchorY",100),M.viewportAnchorX=C.get("viewportanchorX",0),M.viewportAnchorY=C.get("viewportanchorY",100),M.scroll=C.get("scroll",""),e.onregion&&e.onregion(M),e.regionList.push({id:C.get("id"),region:M})}}function t(E){var C=new Settings;parseOptions(E,function(M,P){switch(M){case"MPEGT":C.integer(M+"S",P);break;case"LOCA":C.set(M+"L",parseTimeStamp(P));break}},/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:C.get("MPEGTS"),LOCAL:C.get("LOCAL")})}function u(E){E.match(/X-TIMESTAMP-MAP/)?parseOptions(E,function(C,M){switch(C){case"X-TIMESTAMP-MAP":t(M);break}},/=/):parseOptions(E,function(C,M){switch(C){case"Region":l(M);break}},/:/)}try{var h;if(e.state==="INITIAL"){if(!/\r\n|\n/.test(e.buffer))return this;h=o();var v=h.match(/^WEBVTT([ \t].*)?$/);if(!v||!v[0])throw new ParsingError(ParsingError.Errors.BadSignature);e.state="HEADER"}for(var w=!1;e.buffer;){if(!/\r\n|\n/.test(e.buffer))return this;switch(w?w=!1:h=o(),e.state){case"HEADER":/:/.test(h)?u(h):h||(e.state="ID");continue;case"NOTE":h||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(h)){e.state="NOTE";break}if(!h)continue;e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,"");try{e.cue.align="center"}catch{e.cue.align="middle"}if(e.state="CUE",h.indexOf("-->")===-1){e.cue.id=h;continue}case"CUE":try{parseCue(h,e.cue,e.regionList)}catch(E){e.reportOrThrowError(E),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var A=h.indexOf("-->")!==-1;if(!h||A&&(w=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+=`
+`),e.cue.text+=h.replace(/\u2028/g,`
 `).replace(/u2029/g,`
-`);continue;case"BADCUE":m||(e.state="ID");continue}}}catch(k){e.reportOrThrowError(k),e.state==="CUETEXT"&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state=e.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||t.state==="HEADER")&&(t.buffer+=`
+`);continue;case"BADCUE":h||(e.state="ID");continue}}}catch(E){e.reportOrThrowError(E),e.state==="CUETEXT"&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state=e.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var n=this;try{if(n.buffer+=n.decoder.decode(),(n.cue||n.state==="HEADER")&&(n.buffer+=`
 
-`,t.parse()),t.state==="INITIAL")throw new ParsingError(ParsingError.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}};var vtt$1=WebVTT$1,autoKeyword="auto",directionSetting={"":1,lr:1,rl:1},alignSetting={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function findDirectionSetting(t){if(typeof t!="string")return!1;var e=directionSetting[t.toLowerCase()];return e?t.toLowerCase():!1}function findAlignSetting(t){if(typeof t!="string")return!1;var e=alignSetting[t.toLowerCase()];return e?t.toLowerCase():!1}function VTTCue(t,e,n){this.hasBeenReset=!1;var o="",u=!1,l=t,m=e,y=n,E=null,C="",k=!0,A="auto",D="start",P="auto",R="auto",B=100,F="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return o},set:function(O){o=""+O}},pauseOnExit:{enumerable:!0,get:function(){return u},set:function(O){u=!!O}},startTime:{enumerable:!0,get:function(){return l},set:function(O){if(typeof O!="number")throw new TypeError("Start time must be set to a number.");l=O,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return m},set:function(O){if(typeof O!="number")throw new TypeError("End time must be set to a number.");m=O,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return y},set:function(O){y=""+O,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return E},set:function(O){E=O,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return C},set:function(O){var N=findDirectionSetting(O);if(N===!1)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");C=N,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return k},set:function(O){k=!!O,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return A},set:function(O){if(typeof O!="number"&&O!==autoKeyword)throw new SyntaxError("Line: an invalid number or illegal string was specified.");A=O,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return D},set:function(O){var N=findAlignSetting(O);N?(D=N,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return P},set:function(O){if(O<0||O>100)throw new Error("Position must be between 0 and 100.");P=O,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return R},set:function(O){var N=findAlignSetting(O);N?(R=N,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return B},set:function(O){if(O<0||O>100)throw new Error("Size must be between 0 and 100.");B=O,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return F},set:function(O){var N=findAlignSetting(O);if(!N)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");F=N,this.hasBeenReset=!0}}}),this.displayState=void 0}VTTCue.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};var vttcue=VTTCue,scrollSetting={"":!0,up:!0};function findScrollSetting(t){if(typeof t!="string")return!1;var e=scrollSetting[t.toLowerCase()];return e?t.toLowerCase():!1}function isValidPercentValue(t){return typeof t=="number"&&t>=0&&t<=100}function VTTRegion(){var t=100,e=3,n=0,o=100,u=0,l=100,m="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(y){if(!isValidPercentValue(y))throw new Error("Width must be between 0 and 100.");t=y}},lines:{enumerable:!0,get:function(){return e},set:function(y){if(typeof y!="number")throw new TypeError("Lines must be set to a number.");e=y}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(y){if(!isValidPercentValue(y))throw new Error("RegionAnchorX must be between 0 and 100.");o=y}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(y){if(!isValidPercentValue(y))throw new Error("RegionAnchorY must be between 0 and 100.");n=y}},viewportAnchorY:{enumerable:!0,get:function(){return l},set:function(y){if(!isValidPercentValue(y))throw new Error("ViewportAnchorY must be between 0 and 100.");l=y}},viewportAnchorX:{enumerable:!0,get:function(){return u},set:function(y){if(!isValidPercentValue(y))throw new Error("ViewportAnchorX must be between 0 and 100.");u=y}},scroll:{enumerable:!0,get:function(){return m},set:function(y){var E=findScrollSetting(y);E===!1?console.warn("Scroll: an invalid or illegal string was specified."):m=E}}})}var vttregion=VTTRegion,window$1=window_1,vttjs=browserIndex.exports={WebVTT:vtt$1,VTTCue:vttcue,VTTRegion:vttregion};window$1.vttjs=vttjs,window$1.WebVTT=vttjs.WebVTT;var cueShim=vttjs.VTTCue,regionShim=vttjs.VTTRegion,nativeVTTCue=window$1.VTTCue,nativeVTTRegion=window$1.VTTRegion;vttjs.shim=function(){window$1.VTTCue=cueShim,window$1.VTTRegion=regionShim},vttjs.restore=function(){window$1.VTTCue=nativeVTTCue,window$1.VTTRegion=nativeVTTRegion},window$1.VTTCue||vttjs.shim();var browserIndexExports=browserIndex.exports;const vtt=getDefaultExportFromCjs$1(browserIndexExports);var DEFAULT_LOCATION="https://example.com",resolveUrl$1=function(e,n){if(/^[a-z]+:/i.test(n))return n;/^data:/.test(e)&&(e=window$1$1.location&&window$1$1.location.href||"");var o=/^\/\//.test(e),u=!window$1$1.location&&!/\/\//i.test(e);e=new window$1$1.URL(e,window$1$1.location||DEFAULT_LOCATION);var l=new URL(n,e);return u?l.href.slice(DEFAULT_LOCATION.length):o?l.href.slice(l.protocol.length):l.href},Stream=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(o,u){this.listeners[o]||(this.listeners[o]=[]),this.listeners[o].push(u)},e.off=function(o,u){if(!this.listeners[o])return!1;var l=this.listeners[o].indexOf(u);return this.listeners[o]=this.listeners[o].slice(0),this.listeners[o].splice(l,1),l>-1},e.trigger=function(o){var u=this.listeners[o];if(u)if(arguments.length===2)for(var l=u.length,m=0;m<l;++m)u[m].call(this,arguments[1]);else for(var y=Array.prototype.slice.call(arguments,1),E=u.length,C=0;C<E;++C)u[C].apply(this,y)},e.dispose=function(){this.listeners={}},e.pipe=function(o){this.on("data",function(u){o.push(u)})},t}(),buffer$1={},base64Js={};base64Js.byteLength=byteLength,base64Js.toByteArray=toByteArray,base64Js.fromByteArray=fromByteArray;for(var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;revLookup[45]=62,revLookup[95]=63;function getLens(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var o=n===e?0:4-n%4;return[n,o]}function byteLength(t){var e=getLens(t),n=e[0],o=e[1];return(n+o)*3/4-o}function _byteLength(t,e,n){return(e+n)*3/4-n}function toByteArray(t){var e,n=getLens(t),o=n[0],u=n[1],l=new Arr(_byteLength(t,o,u)),m=0,y=u>0?o-4:o,E;for(E=0;E<y;E+=4)e=revLookup[t.charCodeAt(E)]<<18|revLookup[t.charCodeAt(E+1)]<<12|revLookup[t.charCodeAt(E+2)]<<6|revLookup[t.charCodeAt(E+3)],l[m++]=e>>16&255,l[m++]=e>>8&255,l[m++]=e&255;return u===2&&(e=revLookup[t.charCodeAt(E)]<<2|revLookup[t.charCodeAt(E+1)]>>4,l[m++]=e&255),u===1&&(e=revLookup[t.charCodeAt(E)]<<10|revLookup[t.charCodeAt(E+1)]<<4|revLookup[t.charCodeAt(E+2)]>>2,l[m++]=e>>8&255,l[m++]=e&255),l}function tripletToBase64(t){return lookup[t>>18&63]+lookup[t>>12&63]+lookup[t>>6&63]+lookup[t&63]}function encodeChunk(t,e,n){for(var o,u=[],l=e;l<n;l+=3)o=(t[l]<<16&16711680)+(t[l+1]<<8&65280)+(t[l+2]&255),u.push(tripletToBase64(o));return u.join("")}function fromByteArray(t){for(var e,n=t.length,o=n%3,u=[],l=16383,m=0,y=n-o;m<y;m+=l)u.push(encodeChunk(t,m,m+l>y?y:m+l));return o===1?(e=t[n-1],u.push(lookup[e>>2]+lookup[e<<4&63]+"==")):o===2&&(e=(t[n-2]<<8)+t[n-1],u.push(lookup[e>>10]+lookup[e>>4&63]+lookup[e<<2&63]+"=")),u.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(t,e,n,o,u){var l,m,y=u*8-o-1,E=(1<<y)-1,C=E>>1,k=-7,A=n?u-1:0,D=n?-1:1,P=t[e+A];for(A+=D,l=P&(1<<-k)-1,P>>=-k,k+=y;k>0;l=l*256+t[e+A],A+=D,k-=8);for(m=l&(1<<-k)-1,l>>=-k,k+=o;k>0;m=m*256+t[e+A],A+=D,k-=8);if(l===0)l=1-C;else{if(l===E)return m?NaN:(P?-1:1)*(1/0);m=m+Math.pow(2,o),l=l-C}return(P?-1:1)*m*Math.pow(2,l-o)},ieee754.write=function(t,e,n,o,u,l){var m,y,E,C=l*8-u-1,k=(1<<C)-1,A=k>>1,D=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,P=o?0:l-1,R=o?1:-1,B=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(y=isNaN(e)?1:0,m=k):(m=Math.floor(Math.log(e)/Math.LN2),e*(E=Math.pow(2,-m))<1&&(m--,E*=2),m+A>=1?e+=D/E:e+=D*Math.pow(2,1-A),e*E>=2&&(m++,E/=2),m+A>=k?(y=0,m=k):m+A>=1?(y=(e*E-1)*Math.pow(2,u),m=m+A):(y=e*Math.pow(2,A-1)*Math.pow(2,u),m=0));u>=8;t[n+P]=y&255,P+=R,y/=256,u-=8);for(m=m<<u|y,C+=u;C>0;t[n+P]=m&255,P+=R,m/=256,C-=8);t[n+P-R]|=B*128};/*!
+`,n.parse()),n.state==="INITIAL")throw new ParsingError(ParsingError.Errors.BadSignature)}catch(e){n.reportOrThrowError(e)}return n.onflush&&n.onflush(),this}};var vtt$1=WebVTT$1,autoKeyword="auto",directionSetting={"":1,lr:1,rl:1},alignSetting={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function findDirectionSetting(n){if(typeof n!="string")return!1;var e=directionSetting[n.toLowerCase()];return e?n.toLowerCase():!1}function findAlignSetting(n){if(typeof n!="string")return!1;var e=alignSetting[n.toLowerCase()];return e?n.toLowerCase():!1}function VTTCue(n,e,o){this.hasBeenReset=!1;var l="",t=!1,u=n,h=e,v=o,w=null,A="",E=!0,C="auto",M="start",P="auto",I="auto",j=100,B="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return l},set:function(F){l=""+F}},pauseOnExit:{enumerable:!0,get:function(){return t},set:function(F){t=!!F}},startTime:{enumerable:!0,get:function(){return u},set:function(F){if(typeof F!="number")throw new TypeError("Start time must be set to a number.");u=F,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return h},set:function(F){if(typeof F!="number")throw new TypeError("End time must be set to a number.");h=F,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return v},set:function(F){v=""+F,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return w},set:function(F){w=F,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return A},set:function(F){var N=findDirectionSetting(F);if(N===!1)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");A=N,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return E},set:function(F){E=!!F,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return C},set:function(F){if(typeof F!="number"&&F!==autoKeyword)throw new SyntaxError("Line: an invalid number or illegal string was specified.");C=F,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return M},set:function(F){var N=findAlignSetting(F);N?(M=N,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return P},set:function(F){if(F<0||F>100)throw new Error("Position must be between 0 and 100.");P=F,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return I},set:function(F){var N=findAlignSetting(F);N?(I=N,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return j},set:function(F){if(F<0||F>100)throw new Error("Size must be between 0 and 100.");j=F,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return B},set:function(F){var N=findAlignSetting(F);if(!N)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");B=N,this.hasBeenReset=!0}}}),this.displayState=void 0}VTTCue.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};var vttcue=VTTCue,scrollSetting={"":!0,up:!0};function findScrollSetting(n){if(typeof n!="string")return!1;var e=scrollSetting[n.toLowerCase()];return e?n.toLowerCase():!1}function isValidPercentValue(n){return typeof n=="number"&&n>=0&&n<=100}function VTTRegion(){var n=100,e=3,o=0,l=100,t=0,u=100,h="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return n},set:function(v){if(!isValidPercentValue(v))throw new Error("Width must be between 0 and 100.");n=v}},lines:{enumerable:!0,get:function(){return e},set:function(v){if(typeof v!="number")throw new TypeError("Lines must be set to a number.");e=v}},regionAnchorY:{enumerable:!0,get:function(){return l},set:function(v){if(!isValidPercentValue(v))throw new Error("RegionAnchorX must be between 0 and 100.");l=v}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(v){if(!isValidPercentValue(v))throw new Error("RegionAnchorY must be between 0 and 100.");o=v}},viewportAnchorY:{enumerable:!0,get:function(){return u},set:function(v){if(!isValidPercentValue(v))throw new Error("ViewportAnchorY must be between 0 and 100.");u=v}},viewportAnchorX:{enumerable:!0,get:function(){return t},set:function(v){if(!isValidPercentValue(v))throw new Error("ViewportAnchorX must be between 0 and 100.");t=v}},scroll:{enumerable:!0,get:function(){return h},set:function(v){var w=findScrollSetting(v);w===!1?console.warn("Scroll: an invalid or illegal string was specified."):h=w}}})}var vttregion=VTTRegion,window$1=window_1,vttjs=browserIndex.exports={WebVTT:vtt$1,VTTCue:vttcue,VTTRegion:vttregion};window$1.vttjs=vttjs,window$1.WebVTT=vttjs.WebVTT;var cueShim=vttjs.VTTCue,regionShim=vttjs.VTTRegion,nativeVTTCue=window$1.VTTCue,nativeVTTRegion=window$1.VTTRegion;vttjs.shim=function(){window$1.VTTCue=cueShim,window$1.VTTRegion=regionShim},vttjs.restore=function(){window$1.VTTCue=nativeVTTCue,window$1.VTTRegion=nativeVTTRegion},window$1.VTTCue||vttjs.shim();var browserIndexExports=browserIndex.exports;const vtt=getDefaultExportFromCjs$1(browserIndexExports);function _isNativeReflectConstruct$1(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$1=function(){return!!n})()}function _construct$1(n,e,o){if(_isNativeReflectConstruct$1())return Reflect.construct.apply(null,arguments);var l=[null];l.push.apply(l,e);var t=new(n.bind.apply(n,l));return o&&_setPrototypeOf$1(t,o.prototype),t}function _inherits$1(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&_setPrototypeOf$1(n,e)}var urlToolkit={exports:{}};(function(n,e){(function(o){var l=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,t=/^(?=([^\/?#]*))\1([^]*)$/,u=/(?:\/|^)\.(?=\/)/g,h=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,v={buildAbsoluteURL:function(w,A,E){if(E=E||{},w=w.trim(),A=A.trim(),!A){if(!E.alwaysNormalize)return w;var C=v.parseURL(w);if(!C)throw new Error("Error trying to parse base URL.");return C.path=v.normalizePath(C.path),v.buildURLFromParts(C)}var M=v.parseURL(A);if(!M)throw new Error("Error trying to parse relative URL.");if(M.scheme)return E.alwaysNormalize?(M.path=v.normalizePath(M.path),v.buildURLFromParts(M)):A;var P=v.parseURL(w);if(!P)throw new Error("Error trying to parse base URL.");if(!P.netLoc&&P.path&&P.path[0]!=="/"){var I=t.exec(P.path);P.netLoc=I[1],P.path=I[2]}P.netLoc&&!P.path&&(P.path="/");var j={scheme:P.scheme,netLoc:M.netLoc,path:null,params:M.params,query:M.query,fragment:M.fragment};if(!M.netLoc&&(j.netLoc=P.netLoc,M.path[0]!=="/"))if(!M.path)j.path=P.path,M.params||(j.params=P.params,M.query||(j.query=P.query));else{var B=P.path,F=B.substring(0,B.lastIndexOf("/")+1)+M.path;j.path=v.normalizePath(F)}return j.path===null&&(j.path=E.alwaysNormalize?v.normalizePath(M.path):M.path),v.buildURLFromParts(j)},parseURL:function(w){var A=l.exec(w);return A?{scheme:A[1]||"",netLoc:A[2]||"",path:A[3]||"",params:A[4]||"",query:A[5]||"",fragment:A[6]||""}:null},normalizePath:function(w){for(w=w.split("").reverse().join("").replace(u,"");w.length!==(w=w.replace(h,"")).length;);return w.split("").reverse().join("")},buildURLFromParts:function(w){return w.scheme+w.netLoc+w.path+w.params+w.query+w.fragment}};n.exports=v})()})(urlToolkit);var urlToolkitExports=urlToolkit.exports;const URLToolkit=getDefaultExportFromCjs$1(urlToolkitExports);var DEFAULT_LOCATION="http://example.com",resolveUrl$1=function(e,o){if(/^[a-z]+:/i.test(o))return o;/^data:/.test(e)&&(e=window$1$1.location&&window$1$1.location.href||"");var l=typeof window$1$1.URL=="function",t=/^\/\//.test(e),u=!window$1$1.location&&!/\/\//i.test(e);if(l?e=new window$1$1.URL(e,window$1$1.location||DEFAULT_LOCATION):/\/\//i.test(e)||(e=URLToolkit.buildAbsoluteURL(window$1$1.location&&window$1$1.location.href||"",e)),l){var h=new URL(o,e);return u?h.href.slice(DEFAULT_LOCATION.length):t?h.href.slice(h.protocol.length):h.href}return URLToolkit.buildAbsoluteURL(e,o)},Stream=function(){function n(){this.listeners={}}var e=n.prototype;return e.on=function(l,t){this.listeners[l]||(this.listeners[l]=[]),this.listeners[l].push(t)},e.off=function(l,t){if(!this.listeners[l])return!1;var u=this.listeners[l].indexOf(t);return this.listeners[l]=this.listeners[l].slice(0),this.listeners[l].splice(u,1),u>-1},e.trigger=function(l){var t=this.listeners[l];if(t)if(arguments.length===2)for(var u=t.length,h=0;h<u;++h)t[h].call(this,arguments[1]);else for(var v=Array.prototype.slice.call(arguments,1),w=t.length,A=0;A<w;++A)t[A].apply(this,v)},e.dispose=function(){this.listeners={}},e.pipe=function(l){this.on("data",function(t){l.push(t)})},n}(),buffer$1={},base64Js={};base64Js.byteLength=byteLength,base64Js.toByteArray=toByteArray,base64Js.fromByteArray=fromByteArray;for(var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i$1=0,len=code.length;i$1<len;++i$1)lookup[i$1]=code[i$1],revLookup[code.charCodeAt(i$1)]=i$1;revLookup[45]=62,revLookup[95]=63;function getLens(n){var e=n.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=n.indexOf("=");o===-1&&(o=e);var l=o===e?0:4-o%4;return[o,l]}function byteLength(n){var e=getLens(n),o=e[0],l=e[1];return(o+l)*3/4-l}function _byteLength(n,e,o){return(e+o)*3/4-o}function toByteArray(n){var e,o=getLens(n),l=o[0],t=o[1],u=new Arr(_byteLength(n,l,t)),h=0,v=t>0?l-4:l,w;for(w=0;w<v;w+=4)e=revLookup[n.charCodeAt(w)]<<18|revLookup[n.charCodeAt(w+1)]<<12|revLookup[n.charCodeAt(w+2)]<<6|revLookup[n.charCodeAt(w+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=e&255;return t===2&&(e=revLookup[n.charCodeAt(w)]<<2|revLookup[n.charCodeAt(w+1)]>>4,u[h++]=e&255),t===1&&(e=revLookup[n.charCodeAt(w)]<<10|revLookup[n.charCodeAt(w+1)]<<4|revLookup[n.charCodeAt(w+2)]>>2,u[h++]=e>>8&255,u[h++]=e&255),u}function tripletToBase64(n){return lookup[n>>18&63]+lookup[n>>12&63]+lookup[n>>6&63]+lookup[n&63]}function encodeChunk(n,e,o){for(var l,t=[],u=e;u<o;u+=3)l=(n[u]<<16&16711680)+(n[u+1]<<8&65280)+(n[u+2]&255),t.push(tripletToBase64(l));return t.join("")}function fromByteArray(n){for(var e,o=n.length,l=o%3,t=[],u=16383,h=0,v=o-l;h<v;h+=u)t.push(encodeChunk(n,h,h+u>v?v:h+u));return l===1?(e=n[o-1],t.push(lookup[e>>2]+lookup[e<<4&63]+"==")):l===2&&(e=(n[o-2]<<8)+n[o-1],t.push(lookup[e>>10]+lookup[e>>4&63]+lookup[e<<2&63]+"=")),t.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(n,e,o,l,t){var u,h,v=t*8-l-1,w=(1<<v)-1,A=w>>1,E=-7,C=o?t-1:0,M=o?-1:1,P=n[e+C];for(C+=M,u=P&(1<<-E)-1,P>>=-E,E+=v;E>0;u=u*256+n[e+C],C+=M,E-=8);for(h=u&(1<<-E)-1,u>>=-E,E+=l;E>0;h=h*256+n[e+C],C+=M,E-=8);if(u===0)u=1-A;else{if(u===w)return h?NaN:(P?-1:1)*(1/0);h=h+Math.pow(2,l),u=u-A}return(P?-1:1)*h*Math.pow(2,u-l)},ieee754.write=function(n,e,o,l,t,u){var h,v,w,A=u*8-t-1,E=(1<<A)-1,C=E>>1,M=t===23?Math.pow(2,-24)-Math.pow(2,-77):0,P=l?0:u-1,I=l?1:-1,j=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(v=isNaN(e)?1:0,h=E):(h=Math.floor(Math.log(e)/Math.LN2),e*(w=Math.pow(2,-h))<1&&(h--,w*=2),h+C>=1?e+=M/w:e+=M*Math.pow(2,1-C),e*w>=2&&(h++,w/=2),h+C>=E?(v=0,h=E):h+C>=1?(v=(e*w-1)*Math.pow(2,t),h=h+C):(v=e*Math.pow(2,C-1)*Math.pow(2,t),h=0));t>=8;n[o+P]=v&255,P+=I,v/=256,t-=8);for(h=h<<t|v,A+=t;A>0;n[o+P]=h&255,P+=I,h/=256,A-=8);n[o+P-I]|=j*128};/*!
  * The buffer module from node.js, for the browser.
  *
  * @author   Feross Aboukhadijeh <https://feross.org>
  * @license  MIT
- */(function(t){const e=base64Js,n=ieee754,o=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=k,t.SlowBuffer=ie,t.INSPECT_MAX_BYTES=50;const u=2147483647;t.kMaxLength=u;const{Uint8Array:l,ArrayBuffer:m,SharedArrayBuffer:y}=globalThis;k.TYPED_ARRAY_SUPPORT=E(),!k.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function E(){try{const Ce=new l(1),te={foo:function(){return 42}};return Object.setPrototypeOf(te,l.prototype),Object.setPrototypeOf(Ce,te),Ce.foo()===42}catch{return!1}}Object.defineProperty(k.prototype,"parent",{enumerable:!0,get:function(){if(k.isBuffer(this))return this.buffer}}),Object.defineProperty(k.prototype,"offset",{enumerable:!0,get:function(){if(k.isBuffer(this))return this.byteOffset}});function C(Ce){if(Ce>u)throw new RangeError('The value "'+Ce+'" is invalid for option "size"');const te=new l(Ce);return Object.setPrototypeOf(te,k.prototype),te}function k(Ce,te,ye){if(typeof Ce=="number"){if(typeof te=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(Ce)}return A(Ce,te,ye)}k.poolSize=8192;function A(Ce,te,ye){if(typeof Ce=="string")return B(Ce,te);if(m.isView(Ce))return O(Ce);if(Ce==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ce);if(We(Ce,m)||Ce&&We(Ce.buffer,m)||typeof y<"u"&&(We(Ce,y)||Ce&&We(Ce.buffer,y)))return N(Ce,te,ye);if(typeof Ce=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Le=Ce.valueOf&&Ce.valueOf();if(Le!=null&&Le!==Ce)return k.from(Le,te,ye);const Ue=Y(Ce);if(Ue)return Ue;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ce[Symbol.toPrimitive]=="function")return k.from(Ce[Symbol.toPrimitive]("string"),te,ye);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ce)}k.from=function(Ce,te,ye){return A(Ce,te,ye)},Object.setPrototypeOf(k.prototype,l.prototype),Object.setPrototypeOf(k,l);function D(Ce){if(typeof Ce!="number")throw new TypeError('"size" argument must be of type number');if(Ce<0)throw new RangeError('The value "'+Ce+'" is invalid for option "size"')}function P(Ce,te,ye){return D(Ce),Ce<=0?C(Ce):te!==void 0?typeof ye=="string"?C(Ce).fill(te,ye):C(Ce).fill(te):C(Ce)}k.alloc=function(Ce,te,ye){return P(Ce,te,ye)};function R(Ce){return D(Ce),C(Ce<0?0:J(Ce)|0)}k.allocUnsafe=function(Ce){return R(Ce)},k.allocUnsafeSlow=function(Ce){return R(Ce)};function B(Ce,te){if((typeof te!="string"||te==="")&&(te="utf8"),!k.isEncoding(te))throw new TypeError("Unknown encoding: "+te);const ye=ue(Ce,te)|0;let Le=C(ye);const Ue=Le.write(Ce,te);return Ue!==ye&&(Le=Le.slice(0,Ue)),Le}function F(Ce){const te=Ce.length<0?0:J(Ce.length)|0,ye=C(te);for(let Le=0;Le<te;Le+=1)ye[Le]=Ce[Le]&255;return ye}function O(Ce){if(We(Ce,l)){const te=new l(Ce);return N(te.buffer,te.byteOffset,te.byteLength)}return F(Ce)}function N(Ce,te,ye){if(te<0||Ce.byteLength<te)throw new RangeError('"offset" is outside of buffer bounds');if(Ce.byteLength<te+(ye||0))throw new RangeError('"length" is outside of buffer bounds');let Le;return te===void 0&&ye===void 0?Le=new l(Ce):ye===void 0?Le=new l(Ce,te):Le=new l(Ce,te,ye),Object.setPrototypeOf(Le,k.prototype),Le}function Y(Ce){if(k.isBuffer(Ce)){const te=J(Ce.length)|0,ye=C(te);return ye.length===0||Ce.copy(ye,0,0,te),ye}if(Ce.length!==void 0)return typeof Ce.length!="number"||Gt(Ce.length)?C(0):F(Ce);if(Ce.type==="Buffer"&&Array.isArray(Ce.data))return F(Ce.data)}function J(Ce){if(Ce>=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return Ce|0}function ie(Ce){return+Ce!=Ce&&(Ce=0),k.alloc(+Ce)}k.isBuffer=function(te){return te!=null&&te._isBuffer===!0&&te!==k.prototype},k.compare=function(te,ye){if(We(te,l)&&(te=k.from(te,te.offset,te.byteLength)),We(ye,l)&&(ye=k.from(ye,ye.offset,ye.byteLength)),!k.isBuffer(te)||!k.isBuffer(ye))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(te===ye)return 0;let Le=te.length,Ue=ye.length;for(let Qe=0,Ke=Math.min(Le,Ue);Qe<Ke;++Qe)if(te[Qe]!==ye[Qe]){Le=te[Qe],Ue=ye[Qe];break}return Le<Ue?-1:Ue<Le?1:0},k.isEncoding=function(te){switch(String(te).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},k.concat=function(te,ye){if(!Array.isArray(te))throw new TypeError('"list" argument must be an Array of Buffers');if(te.length===0)return k.alloc(0);let Le;if(ye===void 0)for(ye=0,Le=0;Le<te.length;++Le)ye+=te[Le].length;const Ue=k.allocUnsafe(ye);let Qe=0;for(Le=0;Le<te.length;++Le){let Ke=te[Le];if(We(Ke,l))Qe+Ke.length>Ue.length?(k.isBuffer(Ke)||(Ke=k.from(Ke)),Ke.copy(Ue,Qe)):l.prototype.set.call(Ue,Ke,Qe);else if(k.isBuffer(Ke))Ke.copy(Ue,Qe);else throw new TypeError('"list" argument must be an Array of Buffers');Qe+=Ke.length}return Ue};function ue(Ce,te){if(k.isBuffer(Ce))return Ce.length;if(m.isView(Ce)||We(Ce,m))return Ce.byteLength;if(typeof Ce!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ce);const ye=Ce.length,Le=arguments.length>2&&arguments[2]===!0;if(!Le&&ye===0)return 0;let Ue=!1;for(;;)switch(te){case"ascii":case"latin1":case"binary":return ye;case"utf8":case"utf-8":return tt(Ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye*2;case"hex":return ye>>>1;case"base64":return jt(Ce).length;default:if(Ue)return Le?-1:tt(Ce).length;te=(""+te).toLowerCase(),Ue=!0}}k.byteLength=ue;function Q(Ce,te,ye){let Le=!1;if((te===void 0||te<0)&&(te=0),te>this.length||((ye===void 0||ye>this.length)&&(ye=this.length),ye<=0)||(ye>>>=0,te>>>=0,ye<=te))return"";for(Ce||(Ce="utf8");;)switch(Ce){case"hex":return M(this,te,ye);case"utf8":case"utf-8":return x(this,te,ye);case"ascii":return h(this,te,ye);case"latin1":case"binary":return T(this,te,ye);case"base64":return p(this,te,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,te,ye);default:if(Le)throw new TypeError("Unknown encoding: "+Ce);Ce=(Ce+"").toLowerCase(),Le=!0}}k.prototype._isBuffer=!0;function ce(Ce,te,ye){const Le=Ce[te];Ce[te]=Ce[ye],Ce[ye]=Le}k.prototype.swap16=function(){const te=this.length;if(te%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let ye=0;ye<te;ye+=2)ce(this,ye,ye+1);return this},k.prototype.swap32=function(){const te=this.length;if(te%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let ye=0;ye<te;ye+=4)ce(this,ye,ye+3),ce(this,ye+1,ye+2);return this},k.prototype.swap64=function(){const te=this.length;if(te%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let ye=0;ye<te;ye+=8)ce(this,ye,ye+7),ce(this,ye+1,ye+6),ce(this,ye+2,ye+5),ce(this,ye+3,ye+4);return this},k.prototype.toString=function(){const te=this.length;return te===0?"":arguments.length===0?x(this,0,te):Q.apply(this,arguments)},k.prototype.toLocaleString=k.prototype.toString,k.prototype.equals=function(te){if(!k.isBuffer(te))throw new TypeError("Argument must be a Buffer");return this===te?!0:k.compare(this,te)===0},k.prototype.inspect=function(){let te="";const ye=t.INSPECT_MAX_BYTES;return te=this.toString("hex",0,ye).replace(/(.{2})/g,"$1 ").trim(),this.length>ye&&(te+=" ... "),"<Buffer "+te+">"},o&&(k.prototype[o]=k.prototype.inspect),k.prototype.compare=function(te,ye,Le,Ue,Qe){if(We(te,l)&&(te=k.from(te,te.offset,te.byteLength)),!k.isBuffer(te))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof te);if(ye===void 0&&(ye=0),Le===void 0&&(Le=te?te.length:0),Ue===void 0&&(Ue=0),Qe===void 0&&(Qe=this.length),ye<0||Le>te.length||Ue<0||Qe>this.length)throw new RangeError("out of range index");if(Ue>=Qe&&ye>=Le)return 0;if(Ue>=Qe)return-1;if(ye>=Le)return 1;if(ye>>>=0,Le>>>=0,Ue>>>=0,Qe>>>=0,this===te)return 0;let Ke=Qe-Ue,De=Le-ye;const Vt=Math.min(Ke,De),At=this.slice(Ue,Qe),ve=te.slice(ye,Le);for(let Pt=0;Pt<Vt;++Pt)if(At[Pt]!==ve[Pt]){Ke=At[Pt],De=ve[Pt];break}return Ke<De?-1:De<Ke?1:0};function he(Ce,te,ye,Le,Ue){if(Ce.length===0)return-1;if(typeof ye=="string"?(Le=ye,ye=0):ye>2147483647?ye=2147483647:ye<-2147483648&&(ye=-2147483648),ye=+ye,Gt(ye)&&(ye=Ue?0:Ce.length-1),ye<0&&(ye=Ce.length+ye),ye>=Ce.length){if(Ue)return-1;ye=Ce.length-1}else if(ye<0)if(Ue)ye=0;else return-1;if(typeof te=="string"&&(te=k.from(te,Le)),k.isBuffer(te))return te.length===0?-1:ke(Ce,te,ye,Le,Ue);if(typeof te=="number")return te=te&255,typeof l.prototype.indexOf=="function"?Ue?l.prototype.indexOf.call(Ce,te,ye):l.prototype.lastIndexOf.call(Ce,te,ye):ke(Ce,[te],ye,Le,Ue);throw new TypeError("val must be string, number or Buffer")}function ke(Ce,te,ye,Le,Ue){let Qe=1,Ke=Ce.length,De=te.length;if(Le!==void 0&&(Le=String(Le).toLowerCase(),Le==="ucs2"||Le==="ucs-2"||Le==="utf16le"||Le==="utf-16le")){if(Ce.length<2||te.length<2)return-1;Qe=2,Ke/=2,De/=2,ye/=2}function Vt(ve,Pt){return Qe===1?ve[Pt]:ve.readUInt16BE(Pt*Qe)}let At;if(Ue){let ve=-1;for(At=ye;At<Ke;At++)if(Vt(Ce,At)===Vt(te,ve===-1?0:At-ve)){if(ve===-1&&(ve=At),At-ve+1===De)return ve*Qe}else ve!==-1&&(At-=At-ve),ve=-1}else for(ye+De>Ke&&(ye=Ke-De),At=ye;At>=0;At--){let ve=!0;for(let Pt=0;Pt<De;Pt++)if(Vt(Ce,At+Pt)!==Vt(te,Pt)){ve=!1;break}if(ve)return At}return-1}k.prototype.includes=function(te,ye,Le){return this.indexOf(te,ye,Le)!==-1},k.prototype.indexOf=function(te,ye,Le){return he(this,te,ye,Le,!0)},k.prototype.lastIndexOf=function(te,ye,Le){return he(this,te,ye,Le,!1)};function L(Ce,te,ye,Le){ye=Number(ye)||0;const Ue=Ce.length-ye;Le?(Le=Number(Le),Le>Ue&&(Le=Ue)):Le=Ue;const Qe=te.length;Le>Qe/2&&(Le=Qe/2);let Ke;for(Ke=0;Ke<Le;++Ke){const De=parseInt(te.substr(Ke*2,2),16);if(Gt(De))return Ke;Ce[ye+Ke]=De}return Ke}function d(Ce,te,ye,Le){return Ve(tt(te,Ce.length-ye),Ce,ye,Le)}function v(Ce,te,ye,Le){return Ve(rt(te),Ce,ye,Le)}function w(Ce,te,ye,Le){return Ve(jt(te),Ce,ye,Le)}function c(Ce,te,ye,Le){return Ve(ht(te,Ce.length-ye),Ce,ye,Le)}k.prototype.write=function(te,ye,Le,Ue){if(ye===void 0)Ue="utf8",Le=this.length,ye=0;else if(Le===void 0&&typeof ye=="string")Ue=ye,Le=this.length,ye=0;else if(isFinite(ye))ye=ye>>>0,isFinite(Le)?(Le=Le>>>0,Ue===void 0&&(Ue="utf8")):(Ue=Le,Le=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Qe=this.length-ye;if((Le===void 0||Le>Qe)&&(Le=Qe),te.length>0&&(Le<0||ye<0)||ye>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ue||(Ue="utf8");let Ke=!1;for(;;)switch(Ue){case"hex":return L(this,te,ye,Le);case"utf8":case"utf-8":return d(this,te,ye,Le);case"ascii":case"latin1":case"binary":return v(this,te,ye,Le);case"base64":return w(this,te,ye,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c(this,te,ye,Le);default:if(Ke)throw new TypeError("Unknown encoding: "+Ue);Ue=(""+Ue).toLowerCase(),Ke=!0}},k.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function p(Ce,te,ye){return te===0&&ye===Ce.length?e.fromByteArray(Ce):e.fromByteArray(Ce.slice(te,ye))}function x(Ce,te,ye){ye=Math.min(Ce.length,ye);const Le=[];let Ue=te;for(;Ue<ye;){const Qe=Ce[Ue];let Ke=null,De=Qe>239?4:Qe>223?3:Qe>191?2:1;if(Ue+De<=ye){let Vt,At,ve,Pt;switch(De){case 1:Qe<128&&(Ke=Qe);break;case 2:Vt=Ce[Ue+1],(Vt&192)===128&&(Pt=(Qe&31)<<6|Vt&63,Pt>127&&(Ke=Pt));break;case 3:Vt=Ce[Ue+1],At=Ce[Ue+2],(Vt&192)===128&&(At&192)===128&&(Pt=(Qe&15)<<12|(Vt&63)<<6|At&63,Pt>2047&&(Pt<55296||Pt>57343)&&(Ke=Pt));break;case 4:Vt=Ce[Ue+1],At=Ce[Ue+2],ve=Ce[Ue+3],(Vt&192)===128&&(At&192)===128&&(ve&192)===128&&(Pt=(Qe&15)<<18|(Vt&63)<<12|(At&63)<<6|ve&63,Pt>65535&&Pt<1114112&&(Ke=Pt))}}Ke===null?(Ke=65533,De=1):Ke>65535&&(Ke-=65536,Le.push(Ke>>>10&1023|55296),Ke=56320|Ke&1023),Le.push(Ke),Ue+=De}return b(Le)}const S=4096;function b(Ce){const te=Ce.length;if(te<=S)return String.fromCharCode.apply(String,Ce);let ye="",Le=0;for(;Le<te;)ye+=String.fromCharCode.apply(String,Ce.slice(Le,Le+=S));return ye}function h(Ce,te,ye){let Le="";ye=Math.min(Ce.length,ye);for(let Ue=te;Ue<ye;++Ue)Le+=String.fromCharCode(Ce[Ue]&127);return Le}function T(Ce,te,ye){let Le="";ye=Math.min(Ce.length,ye);for(let Ue=te;Ue<ye;++Ue)Le+=String.fromCharCode(Ce[Ue]);return Le}function M(Ce,te,ye){const Le=Ce.length;(!te||te<0)&&(te=0),(!ye||ye<0||ye>Le)&&(ye=Le);let Ue="";for(let Qe=te;Qe<ye;++Qe)Ue+=wt[Ce[Qe]];return Ue}function j(Ce,te,ye){const Le=Ce.slice(te,ye);let Ue="";for(let Qe=0;Qe<Le.length-1;Qe+=2)Ue+=String.fromCharCode(Le[Qe]+Le[Qe+1]*256);return Ue}k.prototype.slice=function(te,ye){const Le=this.length;te=~~te,ye=ye===void 0?Le:~~ye,te<0?(te+=Le,te<0&&(te=0)):te>Le&&(te=Le),ye<0?(ye+=Le,ye<0&&(ye=0)):ye>Le&&(ye=Le),ye<te&&(ye=te);const Ue=this.subarray(te,ye);return Object.setPrototypeOf(Ue,k.prototype),Ue};function V(Ce,te,ye){if(Ce%1!==0||Ce<0)throw new RangeError("offset is not uint");if(Ce+te>ye)throw new RangeError("Trying to access beyond buffer length")}k.prototype.readUintLE=k.prototype.readUIntLE=function(te,ye,Le){te=te>>>0,ye=ye>>>0,Le||V(te,ye,this.length);let Ue=this[te],Qe=1,Ke=0;for(;++Ke<ye&&(Qe*=256);)Ue+=this[te+Ke]*Qe;return Ue},k.prototype.readUintBE=k.prototype.readUIntBE=function(te,ye,Le){te=te>>>0,ye=ye>>>0,Le||V(te,ye,this.length);let Ue=this[te+--ye],Qe=1;for(;ye>0&&(Qe*=256);)Ue+=this[te+--ye]*Qe;return Ue},k.prototype.readUint8=k.prototype.readUInt8=function(te,ye){return te=te>>>0,ye||V(te,1,this.length),this[te]},k.prototype.readUint16LE=k.prototype.readUInt16LE=function(te,ye){return te=te>>>0,ye||V(te,2,this.length),this[te]|this[te+1]<<8},k.prototype.readUint16BE=k.prototype.readUInt16BE=function(te,ye){return te=te>>>0,ye||V(te,2,this.length),this[te]<<8|this[te+1]},k.prototype.readUint32LE=k.prototype.readUInt32LE=function(te,ye){return te=te>>>0,ye||V(te,4,this.length),(this[te]|this[te+1]<<8|this[te+2]<<16)+this[te+3]*16777216},k.prototype.readUint32BE=k.prototype.readUInt32BE=function(te,ye){return te=te>>>0,ye||V(te,4,this.length),this[te]*16777216+(this[te+1]<<16|this[te+2]<<8|this[te+3])},k.prototype.readBigUInt64LE=Et(function(te){te=te>>>0,ot(te,"offset");const ye=this[te],Le=this[te+7];(ye===void 0||Le===void 0)&&Ct(te,this.length-8);const Ue=ye+this[++te]*2**8+this[++te]*2**16+this[++te]*2**24,Qe=this[++te]+this[++te]*2**8+this[++te]*2**16+Le*2**24;return BigInt(Ue)+(BigInt(Qe)<<BigInt(32))}),k.prototype.readBigUInt64BE=Et(function(te){te=te>>>0,ot(te,"offset");const ye=this[te],Le=this[te+7];(ye===void 0||Le===void 0)&&Ct(te,this.length-8);const Ue=ye*2**24+this[++te]*2**16+this[++te]*2**8+this[++te],Qe=this[++te]*2**24+this[++te]*2**16+this[++te]*2**8+Le;return(BigInt(Ue)<<BigInt(32))+BigInt(Qe)}),k.prototype.readIntLE=function(te,ye,Le){te=te>>>0,ye=ye>>>0,Le||V(te,ye,this.length);let Ue=this[te],Qe=1,Ke=0;for(;++Ke<ye&&(Qe*=256);)Ue+=this[te+Ke]*Qe;return Qe*=128,Ue>=Qe&&(Ue-=Math.pow(2,8*ye)),Ue},k.prototype.readIntBE=function(te,ye,Le){te=te>>>0,ye=ye>>>0,Le||V(te,ye,this.length);let Ue=ye,Qe=1,Ke=this[te+--Ue];for(;Ue>0&&(Qe*=256);)Ke+=this[te+--Ue]*Qe;return Qe*=128,Ke>=Qe&&(Ke-=Math.pow(2,8*ye)),Ke},k.prototype.readInt8=function(te,ye){return te=te>>>0,ye||V(te,1,this.length),this[te]&128?(255-this[te]+1)*-1:this[te]},k.prototype.readInt16LE=function(te,ye){te=te>>>0,ye||V(te,2,this.length);const Le=this[te]|this[te+1]<<8;return Le&32768?Le|4294901760:Le},k.prototype.readInt16BE=function(te,ye){te=te>>>0,ye||V(te,2,this.length);const Le=this[te+1]|this[te]<<8;return Le&32768?Le|4294901760:Le},k.prototype.readInt32LE=function(te,ye){return te=te>>>0,ye||V(te,4,this.length),this[te]|this[te+1]<<8|this[te+2]<<16|this[te+3]<<24},k.prototype.readInt32BE=function(te,ye){return te=te>>>0,ye||V(te,4,this.length),this[te]<<24|this[te+1]<<16|this[te+2]<<8|this[te+3]},k.prototype.readBigInt64LE=Et(function(te){te=te>>>0,ot(te,"offset");const ye=this[te],Le=this[te+7];(ye===void 0||Le===void 0)&&Ct(te,this.length-8);const Ue=this[te+4]+this[te+5]*2**8+this[te+6]*2**16+(Le<<24);return(BigInt(Ue)<<BigInt(32))+BigInt(ye+this[++te]*2**8+this[++te]*2**16+this[++te]*2**24)}),k.prototype.readBigInt64BE=Et(function(te){te=te>>>0,ot(te,"offset");const ye=this[te],Le=this[te+7];(ye===void 0||Le===void 0)&&Ct(te,this.length-8);const Ue=(ye<<24)+this[++te]*2**16+this[++te]*2**8+this[++te];return(BigInt(Ue)<<BigInt(32))+BigInt(this[++te]*2**24+this[++te]*2**16+this[++te]*2**8+Le)}),k.prototype.readFloatLE=function(te,ye){return te=te>>>0,ye||V(te,4,this.length),n.read(this,te,!0,23,4)},k.prototype.readFloatBE=function(te,ye){return te=te>>>0,ye||V(te,4,this.length),n.read(this,te,!1,23,4)},k.prototype.readDoubleLE=function(te,ye){return te=te>>>0,ye||V(te,8,this.length),n.read(this,te,!0,52,8)},k.prototype.readDoubleBE=function(te,ye){return te=te>>>0,ye||V(te,8,this.length),n.read(this,te,!1,52,8)};function ee(Ce,te,ye,Le,Ue,Qe){if(!k.isBuffer(Ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(te>Ue||te<Qe)throw new RangeError('"value" argument is out of bounds');if(ye+Le>Ce.length)throw new RangeError("Index out of range")}k.prototype.writeUintLE=k.prototype.writeUIntLE=function(te,ye,Le,Ue){if(te=+te,ye=ye>>>0,Le=Le>>>0,!Ue){const De=Math.pow(2,8*Le)-1;ee(this,te,ye,Le,De,0)}let Qe=1,Ke=0;for(this[ye]=te&255;++Ke<Le&&(Qe*=256);)this[ye+Ke]=te/Qe&255;return ye+Le},k.prototype.writeUintBE=k.prototype.writeUIntBE=function(te,ye,Le,Ue){if(te=+te,ye=ye>>>0,Le=Le>>>0,!Ue){const De=Math.pow(2,8*Le)-1;ee(this,te,ye,Le,De,0)}let Qe=Le-1,Ke=1;for(this[ye+Qe]=te&255;--Qe>=0&&(Ke*=256);)this[ye+Qe]=te/Ke&255;return ye+Le},k.prototype.writeUint8=k.prototype.writeUInt8=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,1,255,0),this[ye]=te&255,ye+1},k.prototype.writeUint16LE=k.prototype.writeUInt16LE=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,2,65535,0),this[ye]=te&255,this[ye+1]=te>>>8,ye+2},k.prototype.writeUint16BE=k.prototype.writeUInt16BE=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,2,65535,0),this[ye]=te>>>8,this[ye+1]=te&255,ye+2},k.prototype.writeUint32LE=k.prototype.writeUInt32LE=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,4,4294967295,0),this[ye+3]=te>>>24,this[ye+2]=te>>>16,this[ye+1]=te>>>8,this[ye]=te&255,ye+4},k.prototype.writeUint32BE=k.prototype.writeUInt32BE=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,4,4294967295,0),this[ye]=te>>>24,this[ye+1]=te>>>16,this[ye+2]=te>>>8,this[ye+3]=te&255,ye+4};function Z(Ce,te,ye,Le,Ue){it(te,Le,Ue,Ce,ye,7);let Qe=Number(te&BigInt(4294967295));Ce[ye++]=Qe,Qe=Qe>>8,Ce[ye++]=Qe,Qe=Qe>>8,Ce[ye++]=Qe,Qe=Qe>>8,Ce[ye++]=Qe;let Ke=Number(te>>BigInt(32)&BigInt(4294967295));return Ce[ye++]=Ke,Ke=Ke>>8,Ce[ye++]=Ke,Ke=Ke>>8,Ce[ye++]=Ke,Ke=Ke>>8,Ce[ye++]=Ke,ye}function U(Ce,te,ye,Le,Ue){it(te,Le,Ue,Ce,ye,7);let Qe=Number(te&BigInt(4294967295));Ce[ye+7]=Qe,Qe=Qe>>8,Ce[ye+6]=Qe,Qe=Qe>>8,Ce[ye+5]=Qe,Qe=Qe>>8,Ce[ye+4]=Qe;let Ke=Number(te>>BigInt(32)&BigInt(4294967295));return Ce[ye+3]=Ke,Ke=Ke>>8,Ce[ye+2]=Ke,Ke=Ke>>8,Ce[ye+1]=Ke,Ke=Ke>>8,Ce[ye]=Ke,ye+8}k.prototype.writeBigUInt64LE=Et(function(te,ye=0){return Z(this,te,ye,BigInt(0),BigInt("0xffffffffffffffff"))}),k.prototype.writeBigUInt64BE=Et(function(te,ye=0){return U(this,te,ye,BigInt(0),BigInt("0xffffffffffffffff"))}),k.prototype.writeIntLE=function(te,ye,Le,Ue){if(te=+te,ye=ye>>>0,!Ue){const Vt=Math.pow(2,8*Le-1);ee(this,te,ye,Le,Vt-1,-Vt)}let Qe=0,Ke=1,De=0;for(this[ye]=te&255;++Qe<Le&&(Ke*=256);)te<0&&De===0&&this[ye+Qe-1]!==0&&(De=1),this[ye+Qe]=(te/Ke>>0)-De&255;return ye+Le},k.prototype.writeIntBE=function(te,ye,Le,Ue){if(te=+te,ye=ye>>>0,!Ue){const Vt=Math.pow(2,8*Le-1);ee(this,te,ye,Le,Vt-1,-Vt)}let Qe=Le-1,Ke=1,De=0;for(this[ye+Qe]=te&255;--Qe>=0&&(Ke*=256);)te<0&&De===0&&this[ye+Qe+1]!==0&&(De=1),this[ye+Qe]=(te/Ke>>0)-De&255;return ye+Le},k.prototype.writeInt8=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,1,127,-128),te<0&&(te=255+te+1),this[ye]=te&255,ye+1},k.prototype.writeInt16LE=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,2,32767,-32768),this[ye]=te&255,this[ye+1]=te>>>8,ye+2},k.prototype.writeInt16BE=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,2,32767,-32768),this[ye]=te>>>8,this[ye+1]=te&255,ye+2},k.prototype.writeInt32LE=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,4,2147483647,-2147483648),this[ye]=te&255,this[ye+1]=te>>>8,this[ye+2]=te>>>16,this[ye+3]=te>>>24,ye+4},k.prototype.writeInt32BE=function(te,ye,Le){return te=+te,ye=ye>>>0,Le||ee(this,te,ye,4,2147483647,-2147483648),te<0&&(te=4294967295+te+1),this[ye]=te>>>24,this[ye+1]=te>>>16,this[ye+2]=te>>>8,this[ye+3]=te&255,ye+4},k.prototype.writeBigInt64LE=Et(function(te,ye=0){return Z(this,te,ye,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),k.prototype.writeBigInt64BE=Et(function(te,ye=0){return U(this,te,ye,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function z(Ce,te,ye,Le,Ue,Qe){if(ye+Le>Ce.length)throw new RangeError("Index out of range");if(ye<0)throw new RangeError("Index out of range")}function ne(Ce,te,ye,Le,Ue){return te=+te,ye=ye>>>0,Ue||z(Ce,te,ye,4),n.write(Ce,te,ye,Le,23,4),ye+4}k.prototype.writeFloatLE=function(te,ye,Le){return ne(this,te,ye,!0,Le)},k.prototype.writeFloatBE=function(te,ye,Le){return ne(this,te,ye,!1,Le)};function fe(Ce,te,ye,Le,Ue){return te=+te,ye=ye>>>0,Ue||z(Ce,te,ye,8),n.write(Ce,te,ye,Le,52,8),ye+8}k.prototype.writeDoubleLE=function(te,ye,Le){return fe(this,te,ye,!0,Le)},k.prototype.writeDoubleBE=function(te,ye,Le){return fe(this,te,ye,!1,Le)},k.prototype.copy=function(te,ye,Le,Ue){if(!k.isBuffer(te))throw new TypeError("argument should be a Buffer");if(Le||(Le=0),!Ue&&Ue!==0&&(Ue=this.length),ye>=te.length&&(ye=te.length),ye||(ye=0),Ue>0&&Ue<Le&&(Ue=Le),Ue===Le||te.length===0||this.length===0)return 0;if(ye<0)throw new RangeError("targetStart out of bounds");if(Le<0||Le>=this.length)throw new RangeError("Index out of range");if(Ue<0)throw new RangeError("sourceEnd out of bounds");Ue>this.length&&(Ue=this.length),te.length-ye<Ue-Le&&(Ue=te.length-ye+Le);const Qe=Ue-Le;return this===te&&typeof l.prototype.copyWithin=="function"?this.copyWithin(ye,Le,Ue):l.prototype.set.call(te,this.subarray(Le,Ue),ye),Qe},k.prototype.fill=function(te,ye,Le,Ue){if(typeof te=="string"){if(typeof ye=="string"?(Ue=ye,ye=0,Le=this.length):typeof Le=="string"&&(Ue=Le,Le=this.length),Ue!==void 0&&typeof Ue!="string")throw new TypeError("encoding must be a string");if(typeof Ue=="string"&&!k.isEncoding(Ue))throw new TypeError("Unknown encoding: "+Ue);if(te.length===1){const Ke=te.charCodeAt(0);(Ue==="utf8"&&Ke<128||Ue==="latin1")&&(te=Ke)}}else typeof te=="number"?te=te&255:typeof te=="boolean"&&(te=Number(te));if(ye<0||this.length<ye||this.length<Le)throw new RangeError("Out of range index");if(Le<=ye)return this;ye=ye>>>0,Le=Le===void 0?this.length:Le>>>0,te||(te=0);let Qe;if(typeof te=="number")for(Qe=ye;Qe<Le;++Qe)this[Qe]=te;else{const Ke=k.isBuffer(te)?te:k.from(te,Ue),De=Ke.length;if(De===0)throw new TypeError('The value "'+te+'" is invalid for argument "value"');for(Qe=0;Qe<Le-ye;++Qe)this[Qe+ye]=Ke[Qe%De]}return this};const me={};function de(Ce,te,ye){me[Ce]=class extends ye{constructor(){super(),Object.defineProperty(this,"message",{value:te.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Ce}]`,this.stack,delete this.name}get code(){return Ce}set code(Ue){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ue,writable:!0})}toString(){return`${this.name} [${Ce}]: ${this.message}`}}}de("ERR_BUFFER_OUT_OF_BOUNDS",function(Ce){return Ce?`${Ce} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),de("ERR_INVALID_ARG_TYPE",function(Ce,te){return`The "${Ce}" argument must be of type number. Received type ${typeof te}`},TypeError),de("ERR_OUT_OF_RANGE",function(Ce,te,ye){let Le=`The value of "${Ce}" is out of range.`,Ue=ye;return Number.isInteger(ye)&&Math.abs(ye)>2**32?Ue=Oe(String(ye)):typeof ye=="bigint"&&(Ue=String(ye),(ye>BigInt(2)**BigInt(32)||ye<-(BigInt(2)**BigInt(32)))&&(Ue=Oe(Ue)),Ue+="n"),Le+=` It must be ${te}. Received ${Ue}`,Le},RangeError);function Oe(Ce){let te="",ye=Ce.length;const Le=Ce[0]==="-"?1:0;for(;ye>=Le+4;ye-=3)te=`_${Ce.slice(ye-3,ye)}${te}`;return`${Ce.slice(0,ye)}${te}`}function lt(Ce,te,ye){ot(te,"offset"),(Ce[te]===void 0||Ce[te+ye]===void 0)&&Ct(te,Ce.length-(ye+1))}function it(Ce,te,ye,Le,Ue,Qe){if(Ce>ye||Ce<te){const Ke=typeof te=="bigint"?"n":"";let De;throw te===0||te===BigInt(0)?De=`>= 0${Ke} and < 2${Ke} ** ${(Qe+1)*8}${Ke}`:De=`>= -(2${Ke} ** ${(Qe+1)*8-1}${Ke}) and < 2 ** ${(Qe+1)*8-1}${Ke}`,new me.ERR_OUT_OF_RANGE("value",De,Ce)}lt(Le,Ue,Qe)}function ot(Ce,te){if(typeof Ce!="number")throw new me.ERR_INVALID_ARG_TYPE(te,"number",Ce)}function Ct(Ce,te,ye){throw Math.floor(Ce)!==Ce?(ot(Ce,ye),new me.ERR_OUT_OF_RANGE("offset","an integer",Ce)):te<0?new me.ERR_BUFFER_OUT_OF_BOUNDS:new me.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${te}`,Ce)}const nt=/[^+/0-9A-Za-z-_]/g;function Je(Ce){if(Ce=Ce.split("=")[0],Ce=Ce.trim().replace(nt,""),Ce.length<2)return"";for(;Ce.length%4!==0;)Ce=Ce+"=";return Ce}function tt(Ce,te){te=te||1/0;let ye;const Le=Ce.length;let Ue=null;const Qe=[];for(let Ke=0;Ke<Le;++Ke){if(ye=Ce.charCodeAt(Ke),ye>55295&&ye<57344){if(!Ue){if(ye>56319){(te-=3)>-1&&Qe.push(239,191,189);continue}else if(Ke+1===Le){(te-=3)>-1&&Qe.push(239,191,189);continue}Ue=ye;continue}if(ye<56320){(te-=3)>-1&&Qe.push(239,191,189),Ue=ye;continue}ye=(Ue-55296<<10|ye-56320)+65536}else Ue&&(te-=3)>-1&&Qe.push(239,191,189);if(Ue=null,ye<128){if((te-=1)<0)break;Qe.push(ye)}else if(ye<2048){if((te-=2)<0)break;Qe.push(ye>>6|192,ye&63|128)}else if(ye<65536){if((te-=3)<0)break;Qe.push(ye>>12|224,ye>>6&63|128,ye&63|128)}else if(ye<1114112){if((te-=4)<0)break;Qe.push(ye>>18|240,ye>>12&63|128,ye>>6&63|128,ye&63|128)}else throw new Error("Invalid code point")}return Qe}function rt(Ce){const te=[];for(let ye=0;ye<Ce.length;++ye)te.push(Ce.charCodeAt(ye)&255);return te}function ht(Ce,te){let ye,Le,Ue;const Qe=[];for(let Ke=0;Ke<Ce.length&&!((te-=2)<0);++Ke)ye=Ce.charCodeAt(Ke),Le=ye>>8,Ue=ye%256,Qe.push(Ue),Qe.push(Le);return Qe}function jt(Ce){return e.toByteArray(Je(Ce))}function Ve(Ce,te,ye,Le){let Ue;for(Ue=0;Ue<Le&&!(Ue+ye>=te.length||Ue>=Ce.length);++Ue)te[Ue+ye]=Ce[Ue];return Ue}function We(Ce,te){return Ce instanceof te||Ce!=null&&Ce.constructor!=null&&Ce.constructor.name!=null&&Ce.constructor.name===te.name}function Gt(Ce){return Ce!==Ce}const wt=function(){const Ce="0123456789abcdef",te=new Array(256);for(let ye=0;ye<16;++ye){const Le=ye*16;for(let Ue=0;Ue<16;++Ue)te[Le+Ue]=Ce[ye]+Ce[Ue]}return te}();function Et(Ce){return typeof BigInt>"u"?Yt:Ce}function Yt(){throw new Error("BigInt not supported")}})(buffer$1);const Buffer$C=buffer$1.Buffer,Blob$1=buffer$1.Blob,BlobOptions=buffer$1.BlobOptions,Buffer$1$1=buffer$1.Buffer,File=buffer$1.File,FileOptions=buffer$1.FileOptions,INSPECT_MAX_BYTES=buffer$1.INSPECT_MAX_BYTES,SlowBuffer=buffer$1.SlowBuffer,TranscodeEncoding=buffer$1.TranscodeEncoding,atob$1=buffer$1.atob,btoa$1=buffer$1.btoa,constants$2=buffer$1.constants,isAscii=buffer$1.isAscii,isUtf8=buffer$1.isUtf8,kMaxLength=buffer$1.kMaxLength,kStringMaxLength=buffer$1.kStringMaxLength,resolveObjectURL=buffer$1.resolveObjectURL,transcode=buffer$1.transcode,dist=Object.freeze(Object.defineProperty({__proto__:null,Blob:Blob$1,BlobOptions,Buffer:Buffer$1$1,File,FileOptions,INSPECT_MAX_BYTES,SlowBuffer,TranscodeEncoding,atob:atob$1,btoa:btoa$1,constants:constants$2,default:Buffer$C,isAscii,isUtf8,kMaxLength,kStringMaxLength,resolveObjectURL,transcode},Symbol.toStringTag,{value:"Module"}));var atob=function(e){return window$1$1.atob?window$1$1.atob(e):Buffer$C.from(e,"base64").toString("binary")};function decodeB64ToUint8Array(t){for(var e=atob(t),n=new Uint8Array(e.length),o=0;o<e.length;o++)n[o]=e.charCodeAt(o);return n}/*! @name m3u8-parser @version 7.2.0 @license Apache-2.0 */class LineStream extends Stream{constructor(){super(),this.buffer=""}push(e){let n;for(this.buffer+=e,n=this.buffer.indexOf(`
-`);n>-1;n=this.buffer.indexOf(`
-`))this.trigger("data",this.buffer.substring(0,n)),this.buffer=this.buffer.substring(n+1)}}const TAB="	",parseByterange=function(t){const e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),n={};return e[1]&&(n.length=parseInt(e[1],10)),e[2]&&(n.offset=parseInt(e[2],10)),n},attributeSeparator=function(){const n="(?:"+"[^=]*"+")=(?:"+'"[^"]*"|[^,]*'+")";return new RegExp("(?:^|,)("+n+")")},parseAttributes$1=function(t){const e={};if(!t)return e;const n=t.split(attributeSeparator());let o=n.length,u;for(;o--;)n[o]!==""&&(u=/([^=]*)=(.*)/.exec(n[o]).slice(1),u[0]=u[0].replace(/^\s+|\s+$/g,""),u[1]=u[1].replace(/^\s+|\s+$/g,""),u[1]=u[1].replace(/^['"](.*)['"]$/g,"$1"),e[u[0]]=u[1]);return e},parseResolution=t=>{const e=t.split("x"),n={};return e[0]&&(n.width=parseInt(e[0],10)),e[1]&&(n.height=parseInt(e[1],10)),n};class ParseStream extends Stream{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(e){let n,o;if(e=e.trim(),e.length===0)return;if(e[0]!=="#"){this.trigger("data",{type:"uri",uri:e});return}this.tagMappers.reduce((l,m)=>{const y=m(e);return y===e?l:l.concat([y])},[e]).forEach(l=>{for(let m=0;m<this.customParsers.length;m++)if(this.customParsers[m].call(this,l))return;if(l.indexOf("#EXT")!==0){this.trigger("data",{type:"comment",text:l.slice(1)});return}if(l=l.replace("\r",""),n=/^#EXTM3U/.exec(l),n){this.trigger("data",{type:"tag",tagType:"m3u"});return}if(n=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(l),n){o={type:"tag",tagType:"inf"},n[1]&&(o.duration=parseFloat(n[1])),n[2]&&(o.title=n[2]),this.trigger("data",o);return}if(n=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(l),n){o={type:"tag",tagType:"targetduration"},n[1]&&(o.duration=parseInt(n[1],10)),this.trigger("data",o);return}if(n=/^#EXT-X-VERSION:([0-9.]*)?/.exec(l),n){o={type:"tag",tagType:"version"},n[1]&&(o.version=parseInt(n[1],10)),this.trigger("data",o);return}if(n=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(l),n){o={type:"tag",tagType:"media-sequence"},n[1]&&(o.number=parseInt(n[1],10)),this.trigger("data",o);return}if(n=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(l),n){o={type:"tag",tagType:"discontinuity-sequence"},n[1]&&(o.number=parseInt(n[1],10)),this.trigger("data",o);return}if(n=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(l),n){o={type:"tag",tagType:"playlist-type"},n[1]&&(o.playlistType=n[1]),this.trigger("data",o);return}if(n=/^#EXT-X-BYTERANGE:(.*)?$/.exec(l),n){o=_extends$2(parseByterange(n[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",o);return}if(n=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(l),n){o={type:"tag",tagType:"allow-cache"},n[1]&&(o.allowed=!/NO/.test(n[1])),this.trigger("data",o);return}if(n=/^#EXT-X-MAP:(.*)$/.exec(l),n){if(o={type:"tag",tagType:"map"},n[1]){const m=parseAttributes$1(n[1]);m.URI&&(o.uri=m.URI),m.BYTERANGE&&(o.byterange=parseByterange(m.BYTERANGE))}this.trigger("data",o);return}if(n=/^#EXT-X-STREAM-INF:(.*)$/.exec(l),n){o={type:"tag",tagType:"stream-inf"},n[1]&&(o.attributes=parseAttributes$1(n[1]),o.attributes.RESOLUTION&&(o.attributes.RESOLUTION=parseResolution(o.attributes.RESOLUTION)),o.attributes.BANDWIDTH&&(o.attributes.BANDWIDTH=parseInt(o.attributes.BANDWIDTH,10)),o.attributes["FRAME-RATE"]&&(o.attributes["FRAME-RATE"]=parseFloat(o.attributes["FRAME-RATE"])),o.attributes["PROGRAM-ID"]&&(o.attributes["PROGRAM-ID"]=parseInt(o.attributes["PROGRAM-ID"],10))),this.trigger("data",o);return}if(n=/^#EXT-X-MEDIA:(.*)$/.exec(l),n){o={type:"tag",tagType:"media"},n[1]&&(o.attributes=parseAttributes$1(n[1])),this.trigger("data",o);return}if(n=/^#EXT-X-ENDLIST/.exec(l),n){this.trigger("data",{type:"tag",tagType:"endlist"});return}if(n=/^#EXT-X-DISCONTINUITY/.exec(l),n){this.trigger("data",{type:"tag",tagType:"discontinuity"});return}if(n=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(l),n){o={type:"tag",tagType:"program-date-time"},n[1]&&(o.dateTimeString=n[1],o.dateTimeObject=new Date(n[1])),this.trigger("data",o);return}if(n=/^#EXT-X-KEY:(.*)$/.exec(l),n){o={type:"tag",tagType:"key"},n[1]&&(o.attributes=parseAttributes$1(n[1]),o.attributes.IV&&(o.attributes.IV.substring(0,2).toLowerCase()==="0x"&&(o.attributes.IV=o.attributes.IV.substring(2)),o.attributes.IV=o.attributes.IV.match(/.{8}/g),o.attributes.IV[0]=parseInt(o.attributes.IV[0],16),o.attributes.IV[1]=parseInt(o.attributes.IV[1],16),o.attributes.IV[2]=parseInt(o.attributes.IV[2],16),o.attributes.IV[3]=parseInt(o.attributes.IV[3],16),o.attributes.IV=new Uint32Array(o.attributes.IV))),this.trigger("data",o);return}if(n=/^#EXT-X-START:(.*)$/.exec(l),n){o={type:"tag",tagType:"start"},n[1]&&(o.attributes=parseAttributes$1(n[1]),o.attributes["TIME-OFFSET"]=parseFloat(o.attributes["TIME-OFFSET"]),o.attributes.PRECISE=/YES/.test(o.attributes.PRECISE)),this.trigger("data",o);return}if(n=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(l),n){o={type:"tag",tagType:"cue-out-cont"},n[1]?o.data=n[1]:o.data="",this.trigger("data",o);return}if(n=/^#EXT-X-CUE-OUT:(.*)?$/.exec(l),n){o={type:"tag",tagType:"cue-out"},n[1]?o.data=n[1]:o.data="",this.trigger("data",o);return}if(n=/^#EXT-X-CUE-IN:?(.*)?$/.exec(l),n){o={type:"tag",tagType:"cue-in"},n[1]?o.data=n[1]:o.data="",this.trigger("data",o);return}if(n=/^#EXT-X-SKIP:(.*)$/.exec(l),n&&n[1]){o={type:"tag",tagType:"skip"},o.attributes=parseAttributes$1(n[1]),o.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(o.attributes["SKIPPED-SEGMENTS"]=parseInt(o.attributes["SKIPPED-SEGMENTS"],10)),o.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(o.attributes["RECENTLY-REMOVED-DATERANGES"]=o.attributes["RECENTLY-REMOVED-DATERANGES"].split(TAB)),this.trigger("data",o);return}if(n=/^#EXT-X-PART:(.*)$/.exec(l),n&&n[1]){o={type:"tag",tagType:"part"},o.attributes=parseAttributes$1(n[1]),["DURATION"].forEach(function(m){o.attributes.hasOwnProperty(m)&&(o.attributes[m]=parseFloat(o.attributes[m]))}),["INDEPENDENT","GAP"].forEach(function(m){o.attributes.hasOwnProperty(m)&&(o.attributes[m]=/YES/.test(o.attributes[m]))}),o.attributes.hasOwnProperty("BYTERANGE")&&(o.attributes.byterange=parseByterange(o.attributes.BYTERANGE)),this.trigger("data",o);return}if(n=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(l),n&&n[1]){o={type:"tag",tagType:"server-control"},o.attributes=parseAttributes$1(n[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(m){o.attributes.hasOwnProperty(m)&&(o.attributes[m]=parseFloat(o.attributes[m]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(m){o.attributes.hasOwnProperty(m)&&(o.attributes[m]=/YES/.test(o.attributes[m]))}),this.trigger("data",o);return}if(n=/^#EXT-X-PART-INF:(.*)$/.exec(l),n&&n[1]){o={type:"tag",tagType:"part-inf"},o.attributes=parseAttributes$1(n[1]),["PART-TARGET"].forEach(function(m){o.attributes.hasOwnProperty(m)&&(o.attributes[m]=parseFloat(o.attributes[m]))}),this.trigger("data",o);return}if(n=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(l),n&&n[1]){o={type:"tag",tagType:"preload-hint"},o.attributes=parseAttributes$1(n[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(m){if(o.attributes.hasOwnProperty(m)){o.attributes[m]=parseInt(o.attributes[m],10);const y=m==="BYTERANGE-LENGTH"?"length":"offset";o.attributes.byterange=o.attributes.byterange||{},o.attributes.byterange[y]=o.attributes[m],delete o.attributes[m]}}),this.trigger("data",o);return}if(n=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(l),n&&n[1]){o={type:"tag",tagType:"rendition-report"},o.attributes=parseAttributes$1(n[1]),["LAST-MSN","LAST-PART"].forEach(function(m){o.attributes.hasOwnProperty(m)&&(o.attributes[m]=parseInt(o.attributes[m],10))}),this.trigger("data",o);return}if(n=/^#EXT-X-DATERANGE:(.*)$/.exec(l),n&&n[1]){o={type:"tag",tagType:"daterange"},o.attributes=parseAttributes$1(n[1]),["ID","CLASS"].forEach(function(y){o.attributes.hasOwnProperty(y)&&(o.attributes[y]=String(o.attributes[y]))}),["START-DATE","END-DATE"].forEach(function(y){o.attributes.hasOwnProperty(y)&&(o.attributes[y]=new Date(o.attributes[y]))}),["DURATION","PLANNED-DURATION"].forEach(function(y){o.attributes.hasOwnProperty(y)&&(o.attributes[y]=parseFloat(o.attributes[y]))}),["END-ON-NEXT"].forEach(function(y){o.attributes.hasOwnProperty(y)&&(o.attributes[y]=/YES/i.test(o.attributes[y]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(y){o.attributes.hasOwnProperty(y)&&(o.attributes[y]=o.attributes[y].toString(16))});const m=/^X-([A-Z]+-)+[A-Z]+$/;for(const y in o.attributes){if(!m.test(y))continue;const E=/[0-9A-Fa-f]{6}/g.test(o.attributes[y]),C=/^\d+(\.\d+)?$/.test(o.attributes[y]);o.attributes[y]=E?o.attributes[y].toString(16):C?parseFloat(o.attributes[y]):String(o.attributes[y])}this.trigger("data",o);return}if(n=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(l),n){this.trigger("data",{type:"tag",tagType:"independent-segments"});return}if(n=/^#EXT-X-I-FRAMES-ONLY/.exec(l),n){this.trigger("data",{type:"tag",tagType:"i-frames-only"});return}if(n=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(l),n){o={type:"tag",tagType:"content-steering"},o.attributes=parseAttributes$1(n[1]),this.trigger("data",o);return}if(n=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(l),n){o={type:"tag",tagType:"i-frame-playlist"},o.attributes=parseAttributes$1(n[1]),o.attributes.URI&&(o.uri=o.attributes.URI),o.attributes.BANDWIDTH&&(o.attributes.BANDWIDTH=parseInt(o.attributes.BANDWIDTH,10)),o.attributes.RESOLUTION&&(o.attributes.RESOLUTION=parseResolution(o.attributes.RESOLUTION)),o.attributes["AVERAGE-BANDWIDTH"]&&(o.attributes["AVERAGE-BANDWIDTH"]=parseInt(o.attributes["AVERAGE-BANDWIDTH"],10)),o.attributes["FRAME-RATE"]&&(o.attributes["FRAME-RATE"]=parseFloat(o.attributes["FRAME-RATE"])),this.trigger("data",o);return}if(n=/^#EXT-X-DEFINE:(.*)$/.exec(l),n){o={type:"tag",tagType:"define"},o.attributes=parseAttributes$1(n[1]),this.trigger("data",o);return}this.trigger("data",{type:"tag",data:l.slice(4)})})}addParser({expression:e,customType:n,dataParser:o,segment:u}){typeof o!="function"&&(o=l=>l),this.customParsers.push(l=>{if(e.exec(l))return this.trigger("data",{type:"custom",data:o(l),customType:n,segment:u}),!0})}addTagMapper({expression:e,map:n}){const o=u=>e.test(u)?n(u):u;this.tagMappers.push(o)}}const camelCase=t=>t.toLowerCase().replace(/-(\w)/g,e=>e[1].toUpperCase()),camelCaseKeys=function(t){const e={};return Object.keys(t).forEach(function(n){e[camelCase(n)]=t[n]}),e},setHoldBack=function(t){const{serverControl:e,targetDuration:n,partTargetDuration:o}=t;if(!e)return;const u="#EXT-X-SERVER-CONTROL",l="holdBack",m="partHoldBack",y=n&&n*3,E=o&&o*2;n&&!e.hasOwnProperty(l)&&(e[l]=y,this.trigger("info",{message:`${u} defaulting HOLD-BACK to targetDuration * 3 (${y}).`})),y&&e[l]<y&&(this.trigger("warn",{message:`${u} clamping HOLD-BACK (${e[l]}) to targetDuration * 3 (${y})`}),e[l]=y),o&&!e.hasOwnProperty(m)&&(e[m]=o*3,this.trigger("info",{message:`${u} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${e[m]}).`})),o&&e[m]<E&&(this.trigger("warn",{message:`${u} clamping PART-HOLD-BACK (${e[m]}) to partTargetDuration * 2 (${E}).`}),e[m]=E)};class Parser extends Stream{constructor(e={}){super(),this.lineStream=new LineStream,this.parseStream=new ParseStream,this.lineStream.pipe(this.parseStream),this.mainDefinitions=e.mainDefinitions||{},this.params=new URL(e.uri,"https://a.com").searchParams,this.lastProgramDateTime=null;const n=this,o=[];let u={},l,m,y=!1;const E=function(){},C={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},k="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";let A=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let D=0,P=0;const R={};this.on("end",()=>{u.uri||!u.parts&&!u.preloadHints||(!u.map&&l&&(u.map=l),!u.key&&m&&(u.key=m),!u.timeline&&typeof A=="number"&&(u.timeline=A),this.manifest.preloadSegment=u)}),this.parseStream.on("data",function(B){let F,O;if(n.manifest.definitions){for(const N in n.manifest.definitions)if(B.uri&&(B.uri=B.uri.replace(`{$${N}}`,n.manifest.definitions[N])),B.attributes)for(const Y in B.attributes)typeof B.attributes[Y]=="string"&&(B.attributes[Y]=B.attributes[Y].replace(`{$${N}}`,n.manifest.definitions[N]))}({tag(){({version(){B.version&&(this.manifest.version=B.version)},"allow-cache"(){this.manifest.allowCache=B.allowed,"allowed"in B||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const N={};"length"in B&&(u.byterange=N,N.length=B.length,"offset"in B||(B.offset=D)),"offset"in B&&(u.byterange=N,N.offset=B.offset),D=N.offset+N.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),B.title&&(u.title=B.title),B.duration>0&&(u.duration=B.duration),B.duration===0&&(u.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=o},key(){if(!B.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if(B.attributes.METHOD==="NONE"){m=null;return}if(!B.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if(B.attributes.KEYFORMAT==="com.apple.streamingkeydelivery"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:B.attributes};return}if(B.attributes.KEYFORMAT==="com.microsoft.playready"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:B.attributes.URI};return}if(B.attributes.KEYFORMAT===k){if(["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(B.attributes.METHOD)===-1){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if(B.attributes.METHOD==="SAMPLE-AES-CENC"&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),B.attributes.URI.substring(0,23)!=="data:text/plain;base64,"){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(B.attributes.KEYID&&B.attributes.KEYID.substring(0,2)==="0x")){this.trigger("warn",{message:"invalid key ID provided for Widevine"});return}this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:B.attributes.KEYFORMAT,keyId:B.attributes.KEYID.substring(2)},pssh:decodeB64ToUint8Array(B.attributes.URI.split(",")[1])};return}B.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),m={method:B.attributes.METHOD||"AES-128",uri:B.attributes.URI},typeof B.attributes.IV<"u"&&(m.iv=B.attributes.IV)},"media-sequence"(){if(!isFinite(B.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+B.number});return}this.manifest.mediaSequence=B.number},"discontinuity-sequence"(){if(!isFinite(B.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+B.number});return}this.manifest.discontinuitySequence=B.number,A=B.number},"playlist-type"(){if(!/VOD|EVENT/.test(B.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+B.playlist});return}this.manifest.playlistType=B.playlistType},map(){l={},B.uri&&(l.uri=B.uri),B.byterange&&(l.byterange=B.byterange),m&&(l.key=m)},"stream-inf"(){if(this.manifest.playlists=o,this.manifest.mediaGroups=this.manifest.mediaGroups||C,!B.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}u.attributes||(u.attributes={}),_extends$2(u.attributes,B.attributes)},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||C,!(B.attributes&&B.attributes.TYPE&&B.attributes["GROUP-ID"]&&B.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}const N=this.manifest.mediaGroups[B.attributes.TYPE];N[B.attributes["GROUP-ID"]]=N[B.attributes["GROUP-ID"]]||{},F=N[B.attributes["GROUP-ID"]],O={default:/yes/i.test(B.attributes.DEFAULT)},O.default?O.autoselect=!0:O.autoselect=/yes/i.test(B.attributes.AUTOSELECT),B.attributes.LANGUAGE&&(O.language=B.attributes.LANGUAGE),B.attributes.URI&&(O.uri=B.attributes.URI),B.attributes["INSTREAM-ID"]&&(O.instreamId=B.attributes["INSTREAM-ID"]),B.attributes.CHARACTERISTICS&&(O.characteristics=B.attributes.CHARACTERISTICS),B.attributes.FORCED&&(O.forced=/yes/i.test(B.attributes.FORCED)),F[B.attributes.NAME]=O},discontinuity(){A+=1,u.discontinuity=!0,this.manifest.discontinuityStarts.push(o.length)},"program-date-time"(){typeof this.manifest.dateTimeString>"u"&&(this.manifest.dateTimeString=B.dateTimeString,this.manifest.dateTimeObject=B.dateTimeObject),u.dateTimeString=B.dateTimeString,u.dateTimeObject=B.dateTimeObject;const{lastProgramDateTime:N}=this;this.lastProgramDateTime=new Date(B.dateTimeString).getTime(),N===null&&this.manifest.segments.reduceRight((Y,J)=>(J.programDateTime=Y-J.duration*1e3,J.programDateTime),this.lastProgramDateTime)},targetduration(){if(!isFinite(B.duration)||B.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+B.duration});return}this.manifest.targetDuration=B.duration,setHoldBack.call(this,this.manifest)},start(){if(!B.attributes||isNaN(B.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:B.attributes["TIME-OFFSET"],precise:B.attributes.PRECISE}},"cue-out"(){u.cueOut=B.data},"cue-out-cont"(){u.cueOutCont=B.data},"cue-in"(){u.cueIn=B.data},skip(){this.manifest.skip=camelCaseKeys(B.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",B.attributes,["SKIPPED-SEGMENTS"])},part(){y=!0;const N=this.manifest.segments.length,Y=camelCaseKeys(B.attributes);u.parts=u.parts||[],u.parts.push(Y),Y.byterange&&(Y.byterange.hasOwnProperty("offset")||(Y.byterange.offset=P),P=Y.byterange.offset+Y.byterange.length);const J=u.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${J} for segment #${N}`,B.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((ie,ue)=>{ie.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${ue} lacks required attribute(s): LAST-PART`})})},"server-control"(){const N=this.manifest.serverControl=camelCaseKeys(B.attributes);N.hasOwnProperty("canBlockReload")||(N.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),setHoldBack.call(this,this.manifest),N.canSkipDateranges&&!N.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){const N=this.manifest.segments.length,Y=camelCaseKeys(B.attributes),J=Y.type&&Y.type==="PART";u.preloadHints=u.preloadHints||[],u.preloadHints.push(Y),Y.byterange&&(Y.byterange.hasOwnProperty("offset")||(Y.byterange.offset=J?P:0,J&&(P=Y.byterange.offset+Y.byterange.length)));const ie=u.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${ie} for segment #${N}`,B.attributes,["TYPE","URI"]),!!Y.type)for(let ue=0;ue<u.preloadHints.length-1;ue++){const Q=u.preloadHints[ue];Q.type&&Q.type===Y.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${ie} for segment #${N} has the same TYPE ${Y.type} as preload hint #${ue}`})}},"rendition-report"(){const N=camelCaseKeys(B.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(N);const Y=this.manifest.renditionReports.length-1,J=["LAST-MSN","URI"];y&&J.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${Y}`,B.attributes,J)},"part-inf"(){this.manifest.partInf=camelCaseKeys(B.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",B.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),setHoldBack.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(camelCaseKeys(B.attributes));const N=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${N}`,B.attributes,["ID","START-DATE"]);const Y=this.manifest.dateRanges[N];Y.endDate&&Y.startDate&&new Date(Y.endDate)<new Date(Y.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),Y.duration&&Y.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),Y.plannedDuration&&Y.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const J=!!Y.endOnNext;if(J&&!Y.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must have a CLASS attribute"}),J&&(Y.duration||Y.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),Y.duration&&Y.endDate){const ue=Y.startDate.getTime()+Y.duration*1e3;this.manifest.dateRanges[N].endDate=new Date(ue)}if(!R[Y.id])R[Y.id]=Y;else{for(const ue in R[Y.id])if(Y[ue]&&JSON.stringify(R[Y.id][ue])!==JSON.stringify(Y[ue])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}const ie=this.manifest.dateRanges.findIndex(ue=>ue.id===Y.id);this.manifest.dateRanges[ie]=_extends$2(this.manifest.dateRanges[ie],Y),R[Y.id]=_extends$2(R[Y.id],Y),this.manifest.dateRanges.pop()}},"independent-segments"(){this.manifest.independentSegments=!0},"i-frames-only"(){this.manifest.iFramesOnly=!0,this.requiredCompatibilityversion(this.manifest.version,4)},"content-steering"(){this.manifest.contentSteering=camelCaseKeys(B.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",B.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};const N=(Y,J)=>{if(Y in this.manifest.definitions){this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${Y}`});return}this.manifest.definitions[Y]=J};if("QUERYPARAM"in B.attributes){if("NAME"in B.attributes||"IMPORT"in B.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}const Y=this.params.get(B.attributes.QUERYPARAM);if(!Y){this.trigger("error",{message:`EXT-X-DEFINE: No query param ${B.attributes.QUERYPARAM}`});return}N(B.attributes.QUERYPARAM,decodeURIComponent(Y));return}if("NAME"in B.attributes){if("IMPORT"in B.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}if(!("VALUE"in B.attributes)||typeof B.attributes.VALUE!="string"){this.trigger("error",{message:`EXT-X-DEFINE: No value for ${B.attributes.NAME}`});return}N(B.attributes.NAME,B.attributes.VALUE);return}if("IMPORT"in B.attributes){if(!this.mainDefinitions[B.attributes.IMPORT]){this.trigger("error",{message:`EXT-X-DEFINE: No value ${B.attributes.IMPORT} to import, or IMPORT used on main playlist`});return}N(B.attributes.IMPORT,this.mainDefinitions[B.attributes.IMPORT]);return}this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:B.attributes,uri:B.uri,timeline:A}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",B.attributes,["BANDWIDTH","URI"])}}[B.tagType]||E).call(n)},uri(){u.uri=B.uri,o.push(u),this.manifest.targetDuration&&!("duration"in u)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),u.duration=this.manifest.targetDuration),m&&(u.key=m),u.timeline=A,l&&(u.map=l),P=0,this.lastProgramDateTime!==null&&(u.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=u.duration*1e3),u={}},comment(){},custom(){B.segment?(u.custom=u.custom||{},u.custom[B.customType]=B.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[B.customType]=B.data)}})[B.type].call(n)})}requiredCompatibilityversion(e,n){(e<n||!e)&&this.trigger("warn",{message:`manifest must be at least version ${n}`})}warnOnMissingAttributes_(e,n,o){const u=[];o.forEach(function(l){n.hasOwnProperty(l)||u.push(l)}),u.length&&this.trigger("warn",{message:`${e} lacks required attribute(s): ${u.join(", ")}`})}push(e){this.lineStream.push(e)}end(){this.lineStream.push(`
-`),this.manifest.dateRanges.length&&this.lastProgramDateTime===null&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),this.lastProgramDateTime=null,this.trigger("end")}addParser(e){this.parseStream.addParser(e)}addTagMapper(e){this.parseStream.addTagMapper(e)}}var regexs={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},mediaTypes=["video","audio","text"],upperMediaTypes=["Video","Audio","Text"],translateLegacyCodec=function(e){return e&&e.replace(/avc1\.(\d+)\.(\d+)/i,function(n,o,u){var l=("00"+Number(o).toString(16)).slice(-2),m=("00"+Number(u).toString(16)).slice(-2);return"avc1."+l+"00"+m})},parseCodecs=function(e){e===void 0&&(e="");var n=e.split(","),o=[];return n.forEach(function(u){u=u.trim();var l;mediaTypes.forEach(function(m){var y=regexs[m].exec(u.toLowerCase());if(!(!y||y.length<=1)){l=m;var E=u.substring(0,y[1].length),C=u.replace(E,"");o.push({type:E,details:C,mediaType:m})}}),l||o.push({type:u,details:"",mediaType:"unknown"})}),o},codecsFromDefault=function(e,n){if(!e.mediaGroups.AUDIO||!n)return null;var o=e.mediaGroups.AUDIO[n];if(!o)return null;for(var u in o){var l=o[u];if(l.default&&l.playlists)return parseCodecs(l.playlists[0].attributes.CODECS)}return null},isAudioCodec=function(e){return e===void 0&&(e=""),regexs.audio.test(e.trim().toLowerCase())},isTextCodec=function(e){return e===void 0&&(e=""),regexs.text.test(e.trim().toLowerCase())},getMimeForCodec=function(e){if(!(!e||typeof e!="string")){var n=e.toLowerCase().split(",").map(function(l){return translateLegacyCodec(l.trim())}),o="video";n.length===1&&isAudioCodec(n[0])?o="audio":n.length===1&&isTextCodec(n[0])&&(o="application");var u="mp4";return n.every(function(l){return regexs.mp4.test(l)})?u="mp4":n.every(function(l){return regexs.webm.test(l)})?u="webm":n.every(function(l){return regexs.ogg.test(l)})&&(u="ogg"),o+"/"+u+';codecs="'+e+'"'}},browserSupportsCodec=function(e,n){return e===void 0&&(e=""),n===void 0&&(n=!1),window$1$1.MediaSource&&window$1$1.MediaSource.isTypeSupported&&window$1$1.MediaSource.isTypeSupported(getMimeForCodec(e))||n&&window$1$1.ManagedMediaSource&&window$1$1.ManagedMediaSource.isTypeSupported&&window$1$1.ManagedMediaSource.isTypeSupported(getMimeForCodec(e))||!1},muxerSupportsCodec=function(e){return e===void 0&&(e=""),e.toLowerCase().split(",").every(function(n){n=n.trim();for(var o=0;o<upperMediaTypes.length;o++){var u=upperMediaTypes[o];if(regexs["muxer"+u].test(n))return!0}return!1})},DEFAULT_AUDIO_CODEC="mp4a.40.2",DEFAULT_VIDEO_CODEC="avc1.4d400d",MPEGURL_REGEX=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,DASH_REGEX=/^application\/dash\+xml/i,simpleTypeFromSourceType=function(e){return MPEGURL_REGEX.test(e)?"hls":DASH_REGEX.test(e)?"dash":e==="application/vnd.videojs.vhs+json"?"vhs-json":null},countBits=function(e){return e.toString(2).length},countBytes=function(e){return Math.ceil(countBits(e)/8)},isArrayBufferView=function(e){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},isTypedArray$1=function(e){return isArrayBufferView(e)},toUint8=function(e){return e instanceof Uint8Array?e:(!Array.isArray(e)&&!isTypedArray$1(e)&&!(e instanceof ArrayBuffer)&&(typeof e!="number"||typeof e=="number"&&e!==e?e=0:e=[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},BigInt$1=window$1$1.BigInt||Number,BYTE_TABLE=[BigInt$1("0x1"),BigInt$1("0x100"),BigInt$1("0x10000"),BigInt$1("0x1000000"),BigInt$1("0x100000000"),BigInt$1("0x10000000000"),BigInt$1("0x1000000000000"),BigInt$1("0x100000000000000"),BigInt$1("0x10000000000000000")];(function(){var t=new Uint16Array([65484]),e=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);return e[0]===255?"big":e[0]===204?"little":"unknown"})();var bytesToNumber=function(e,n){var o=n===void 0?{}:n,u=o.signed,l=u===void 0?!1:u,m=o.le,y=m===void 0?!1:m;e=toUint8(e);var E=y?"reduce":"reduceRight",C=e[E]?e[E]:Array.prototype[E],k=C.call(e,function(D,P,R){var B=y?R:Math.abs(R+1-e.length);return D+BigInt$1(P)*BYTE_TABLE[B]},BigInt$1(0));if(l){var A=BYTE_TABLE[e.length]/BigInt$1(2)-BigInt$1(1);k=BigInt$1(k),k>A&&(k-=A,k-=A,k-=BigInt$1(2))}return Number(k)},numberToBytes=function(e,n){var o={},u=o.le,l=u===void 0?!1:u;(typeof e!="bigint"&&typeof e!="number"||typeof e=="number"&&e!==e)&&(e=0),e=BigInt$1(e);for(var m=countBytes(e),y=new Uint8Array(new ArrayBuffer(m)),E=0;E<m;E++){var C=l?E:Math.abs(E+1-y.length);y[C]=Number(e/BYTE_TABLE[E]&BigInt$1(255)),e<0&&(y[C]=Math.abs(~y[C]),y[C]-=E===0?1:2)}return y},stringToBytes=function(e,n){if(typeof e!="string"&&e&&typeof e.toString=="function"&&(e=e.toString()),typeof e!="string")return new Uint8Array;n||(e=unescape(encodeURIComponent(e)));for(var o=new Uint8Array(e.length),u=0;u<e.length;u++)o[u]=e.charCodeAt(u);return o},concatTypedArrays=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(n=n.filter(function(y){return y&&(y.byteLength||y.length)&&typeof y!="string"}),n.length<=1)return toUint8(n[0]);var u=n.reduce(function(y,E,C){return y+(E.byteLength||E.length)},0),l=new Uint8Array(u),m=0;return n.forEach(function(y){y=toUint8(y),l.set(y,m),m+=y.byteLength}),l},bytesMatch=function(e,n,o){var u=o===void 0?{}:o,l=u.offset,m=l===void 0?0:l,y=u.mask,E=y===void 0?[]:y;e=toUint8(e),n=toUint8(n);var C=n.every?n.every:Array.prototype.every;return n.length&&e.length-m>=n.length&&C.call(n,function(k,A){var D=E[A]?E[A]&e[m+A]:e[m+A];return k===D})},forEachMediaGroup$1=function(e,n,o){n.forEach(function(u){for(var l in e.mediaGroups[u])for(var m in e.mediaGroups[u][l]){var y=e.mediaGroups[u][l][m];o(y,u,l,m)}})},dom$1={},conventions$2={};function find$1(t,e,n){if(n===void 0&&(n=Array.prototype),t&&typeof n.find=="function")return n.find.call(t,e);for(var o=0;o<t.length;o++)if(Object.prototype.hasOwnProperty.call(t,o)){var u=t[o];if(e.call(void 0,u,o,t))return u}}function freeze(t,e){return e===void 0&&(e=Object),e&&typeof e.freeze=="function"?e.freeze(t):t}function assign(t,e){if(t===null||typeof t!="object")throw new TypeError("target is not an object");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}var MIME_TYPE=freeze({HTML:"text/html",isHTML:function(t){return t===MIME_TYPE.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),NAMESPACE$3=freeze({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===NAMESPACE$3.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});conventions$2.assign=assign,conventions$2.find=find$1,conventions$2.freeze=freeze,conventions$2.MIME_TYPE=MIME_TYPE,conventions$2.NAMESPACE=NAMESPACE$3;var conventions$1=conventions$2,find=conventions$1.find,NAMESPACE$2=conventions$1.NAMESPACE;function notEmptyString(t){return t!==""}function splitOnASCIIWhitespace(t){return t?t.split(/[\t\n\f\r ]+/).filter(notEmptyString):[]}function orderedSetReducer(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function toOrderedSet(t){if(!t)return[];var e=splitOnASCIIWhitespace(t);return Object.keys(e.reduce(orderedSetReducer,{}))}function arrayIncludes(t){return function(e){return t&&t.indexOf(e)!==-1}}function copy$1(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}function _extends(t,e){var n=t.prototype;if(!(n instanceof e)){let o=function(){};o.prototype=e.prototype,o=new o,copy$1(n,o),t.prototype=n=o}n.constructor!=t&&(typeof t!="function"&&console.error("unknown Class:"+t),n.constructor=t)}var NodeType={},ELEMENT_NODE=NodeType.ELEMENT_NODE=1,ATTRIBUTE_NODE=NodeType.ATTRIBUTE_NODE=2,TEXT_NODE=NodeType.TEXT_NODE=3,CDATA_SECTION_NODE=NodeType.CDATA_SECTION_NODE=4,ENTITY_REFERENCE_NODE=NodeType.ENTITY_REFERENCE_NODE=5,ENTITY_NODE=NodeType.ENTITY_NODE=6,PROCESSING_INSTRUCTION_NODE=NodeType.PROCESSING_INSTRUCTION_NODE=7,COMMENT_NODE=NodeType.COMMENT_NODE=8,DOCUMENT_NODE=NodeType.DOCUMENT_NODE=9,DOCUMENT_TYPE_NODE=NodeType.DOCUMENT_TYPE_NODE=10,DOCUMENT_FRAGMENT_NODE=NodeType.DOCUMENT_FRAGMENT_NODE=11,NOTATION_NODE=NodeType.NOTATION_NODE=12,ExceptionCode={},ExceptionMessage={};ExceptionCode.INDEX_SIZE_ERR=(ExceptionMessage[1]="Index size error",1),ExceptionCode.DOMSTRING_SIZE_ERR=(ExceptionMessage[2]="DOMString size error",2);var HIERARCHY_REQUEST_ERR=ExceptionCode.HIERARCHY_REQUEST_ERR=(ExceptionMessage[3]="Hierarchy request error",3);ExceptionCode.WRONG_DOCUMENT_ERR=(ExceptionMessage[4]="Wrong document",4),ExceptionCode.INVALID_CHARACTER_ERR=(ExceptionMessage[5]="Invalid character",5),ExceptionCode.NO_DATA_ALLOWED_ERR=(ExceptionMessage[6]="No data allowed",6),ExceptionCode.NO_MODIFICATION_ALLOWED_ERR=(ExceptionMessage[7]="No modification allowed",7);var NOT_FOUND_ERR=ExceptionCode.NOT_FOUND_ERR=(ExceptionMessage[8]="Not found",8);ExceptionCode.NOT_SUPPORTED_ERR=(ExceptionMessage[9]="Not supported",9);var INUSE_ATTRIBUTE_ERR=ExceptionCode.INUSE_ATTRIBUTE_ERR=(ExceptionMessage[10]="Attribute in use",10);ExceptionCode.INVALID_STATE_ERR=(ExceptionMessage[11]="Invalid state",11),ExceptionCode.SYNTAX_ERR=(ExceptionMessage[12]="Syntax error",12),ExceptionCode.INVALID_MODIFICATION_ERR=(ExceptionMessage[13]="Invalid modification",13),ExceptionCode.NAMESPACE_ERR=(ExceptionMessage[14]="Invalid namespace",14),ExceptionCode.INVALID_ACCESS_ERR=(ExceptionMessage[15]="Invalid access",15);function DOMException(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,ExceptionMessage[t]),this.message=ExceptionMessage[t],Error.captureStackTrace&&Error.captureStackTrace(this,DOMException);return n.code=t,e&&(this.message=this.message+": "+e),n}DOMException.prototype=Error.prototype,copy$1(ExceptionCode,DOMException);function NodeList(){}NodeList.prototype={length:0,item:function(t){return t>=0&&t<this.length?this[t]:null},toString:function(t,e){for(var n=[],o=0;o<this.length;o++)serializeToString(this[o],n,t,e);return n.join("")},filter:function(t){return Array.prototype.filter.call(this,t)},indexOf:function(t){return Array.prototype.indexOf.call(this,t)}};function LiveNodeList(t,e){this._node=t,this._refresh=e,_updateLiveList(this)}function _updateLiveList(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var n=t._refresh(t._node);if(__set__(t,"length",n.length),!t.$$length||n.length<t.$$length)for(var o=n.length;o in t;o++)Object.prototype.hasOwnProperty.call(t,o)&&delete t[o];copy$1(n,t),t._inc=e}}LiveNodeList.prototype.item=function(t){return _updateLiveList(this),this[t]||null},_extends(LiveNodeList,NodeList);function NamedNodeMap(){}function _findNodeIndex(t,e){for(var n=t.length;n--;)if(t[n]===e)return n}function _addNamedNode(t,e,n,o){if(o?e[_findNodeIndex(e,o)]=n:e[e.length++]=n,t){n.ownerElement=t;var u=t.ownerDocument;u&&(o&&_onRemoveAttribute(u,t,o),_onAddAttribute(u,t,n))}}function _removeNamedNode(t,e,n){var o=_findNodeIndex(e,n);if(o>=0){for(var u=e.length-1;o<u;)e[o]=e[++o];if(e.length=u,t){var l=t.ownerDocument;l&&(_onRemoveAttribute(l,t,n),n.ownerElement=null)}}else throw new DOMException(NOT_FOUND_ERR,new Error(t.tagName+"@"+n))}NamedNodeMap.prototype={length:0,item:NodeList.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var n=this[e];if(n.nodeName==t)return n}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new DOMException(INUSE_ATTRIBUTE_ERR);var n=this.getNamedItem(t.nodeName);return _addNamedNode(this._ownerElement,this,t,n),n},setNamedItemNS:function(t){var e=t.ownerElement,n;if(e&&e!=this._ownerElement)throw new DOMException(INUSE_ATTRIBUTE_ERR);return n=this.getNamedItemNS(t.namespaceURI,t.localName),_addNamedNode(this._ownerElement,this,t,n),n},removeNamedItem:function(t){var e=this.getNamedItem(t);return _removeNamedNode(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var n=this.getNamedItemNS(t,e);return _removeNamedNode(this._ownerElement,this,n),n},getNamedItemNS:function(t,e){for(var n=this.length;n--;){var o=this[n];if(o.localName==e&&o.namespaceURI==t)return o}return null}};function DOMImplementation$1(){}DOMImplementation$1.prototype={hasFeature:function(t,e){return!0},createDocument:function(t,e,n){var o=new Document;if(o.implementation=this,o.childNodes=new NodeList,o.doctype=n||null,n&&o.appendChild(n),e){var u=o.createElementNS(t,e);o.appendChild(u)}return o},createDocumentType:function(t,e,n){var o=new DocumentType;return o.name=t,o.nodeName=t,o.publicId=e||"",o.systemId=n||"",o}};function Node(){}Node.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return _insertBefore(this,t,e)},replaceChild:function(t,e){_insertBefore(this,t,e,assertPreReplacementValidityInDocument),e&&this.removeChild(e)},removeChild:function(t){return _removeChild(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(t){return cloneNode(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==TEXT_NODE&&t.nodeType==TEXT_NODE?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var n=e._nsMap;if(n){for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&n[o]===t)return o}e=e.nodeType==ATTRIBUTE_NODE?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var n=e._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,t))return n[t];e=e.nodeType==ATTRIBUTE_NODE?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){var e=this.lookupPrefix(t);return e==null}};function _xmlEncoder(t){return t=="<"&&"&lt;"||t==">"&&"&gt;"||t=="&"&&"&amp;"||t=='"'&&"&quot;"||"&#"+t.charCodeAt()+";"}copy$1(NodeType,Node),copy$1(NodeType,Node.prototype);function _visitNode(t,e){if(e(t))return!0;if(t=t.firstChild)do if(_visitNode(t,e))return!0;while(t=t.nextSibling)}function Document(){this.ownerDocument=this}function _onAddAttribute(t,e,n){t&&t._inc++;var o=n.namespaceURI;o===NAMESPACE$2.XMLNS&&(e._nsMap[n.prefix?n.localName:""]=n.value)}function _onRemoveAttribute(t,e,n,o){t&&t._inc++;var u=n.namespaceURI;u===NAMESPACE$2.XMLNS&&delete e._nsMap[n.prefix?n.localName:""]}function _onUpdateChild(t,e,n){if(t&&t._inc){t._inc++;var o=e.childNodes;if(n)o[o.length++]=n;else{for(var u=e.firstChild,l=0;u;)o[l++]=u,u=u.nextSibling;o.length=l,delete o[o.length]}}}function _removeChild(t,e){var n=e.previousSibling,o=e.nextSibling;return n?n.nextSibling=o:t.firstChild=o,o?o.previousSibling=n:t.lastChild=n,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,_onUpdateChild(t.ownerDocument,t),e}function hasValidParentNodeType(t){return t&&(t.nodeType===Node.DOCUMENT_NODE||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE||t.nodeType===Node.ELEMENT_NODE)}function hasInsertableNodeType(t){return t&&(isElementNode(t)||isTextNode$1(t)||isDocTypeNode(t)||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE||t.nodeType===Node.COMMENT_NODE||t.nodeType===Node.PROCESSING_INSTRUCTION_NODE)}function isDocTypeNode(t){return t&&t.nodeType===Node.DOCUMENT_TYPE_NODE}function isElementNode(t){return t&&t.nodeType===Node.ELEMENT_NODE}function isTextNode$1(t){return t&&t.nodeType===Node.TEXT_NODE}function isElementInsertionPossible(t,e){var n=t.childNodes||[];if(find(n,isElementNode)||isDocTypeNode(e))return!1;var o=find(n,isDocTypeNode);return!(e&&o&&n.indexOf(o)>n.indexOf(e))}function isElementReplacementPossible(t,e){var n=t.childNodes||[];function o(l){return isElementNode(l)&&l!==e}if(find(n,o))return!1;var u=find(n,isDocTypeNode);return!(e&&u&&n.indexOf(u)>n.indexOf(e))}function assertPreInsertionValidity1to5(t,e,n){if(!hasValidParentNodeType(t))throw new DOMException(HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+t.nodeType);if(n&&n.parentNode!==t)throw new DOMException(NOT_FOUND_ERR,"child not in parent");if(!hasInsertableNodeType(e)||isDocTypeNode(e)&&t.nodeType!==Node.DOCUMENT_NODE)throw new DOMException(HIERARCHY_REQUEST_ERR,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function assertPreInsertionValidityInDocument(t,e,n){var o=t.childNodes||[],u=e.childNodes||[];if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var l=u.filter(isElementNode);if(l.length>1||find(u,isTextNode$1))throw new DOMException(HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(l.length===1&&!isElementInsertionPossible(t,n))throw new DOMException(HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(isElementNode(e)&&!isElementInsertionPossible(t,n))throw new DOMException(HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(isDocTypeNode(e)){if(find(o,isDocTypeNode))throw new DOMException(HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var m=find(o,isElementNode);if(n&&o.indexOf(m)<o.indexOf(n))throw new DOMException(HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!n&&m)throw new DOMException(HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function assertPreReplacementValidityInDocument(t,e,n){var o=t.childNodes||[],u=e.childNodes||[];if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var l=u.filter(isElementNode);if(l.length>1||find(u,isTextNode$1))throw new DOMException(HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(l.length===1&&!isElementReplacementPossible(t,n))throw new DOMException(HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(isElementNode(e)&&!isElementReplacementPossible(t,n))throw new DOMException(HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(isDocTypeNode(e)){if(find(o,function(E){return isDocTypeNode(E)&&E!==n}))throw new DOMException(HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var m=find(o,isElementNode);if(n&&o.indexOf(m)<o.indexOf(n))throw new DOMException(HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function _insertBefore(t,e,n,o){assertPreInsertionValidity1to5(t,e,n),t.nodeType===Node.DOCUMENT_NODE&&(o||assertPreInsertionValidityInDocument)(t,e,n);var u=e.parentNode;if(u&&u.removeChild(e),e.nodeType===DOCUMENT_FRAGMENT_NODE){var l=e.firstChild;if(l==null)return e;var m=e.lastChild}else l=m=e;var y=n?n.previousSibling:t.lastChild;l.previousSibling=y,m.nextSibling=n,y?y.nextSibling=l:t.firstChild=l,n==null?t.lastChild=m:n.previousSibling=m;do l.parentNode=t;while(l!==m&&(l=l.nextSibling));return _onUpdateChild(t.ownerDocument||t,t),e.nodeType==DOCUMENT_FRAGMENT_NODE&&(e.firstChild=e.lastChild=null),e}function _appendSingleChild(t,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=t,e.previousSibling=t.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:t.firstChild=e,t.lastChild=e,_onUpdateChild(t.ownerDocument,t,e),e}Document.prototype={nodeName:"#document",nodeType:DOCUMENT_NODE,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==DOCUMENT_FRAGMENT_NODE){for(var n=t.firstChild;n;){var o=n.nextSibling;this.insertBefore(n,e),n=o}return t}return _insertBefore(this,t,e),t.ownerDocument=this,this.documentElement===null&&t.nodeType===ELEMENT_NODE&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),_removeChild(this,t)},replaceChild:function(t,e){_insertBefore(this,t,e,assertPreReplacementValidityInDocument),t.ownerDocument=this,e&&this.removeChild(e),isElementNode(t)&&(this.documentElement=t)},importNode:function(t,e){return importNode(this,t,e)},getElementById:function(t){var e=null;return _visitNode(this.documentElement,function(n){if(n.nodeType==ELEMENT_NODE&&n.getAttribute("id")==t)return e=n,!0}),e},getElementsByClassName:function(t){var e=toOrderedSet(t);return new LiveNodeList(this,function(n){var o=[];return e.length>0&&_visitNode(n.documentElement,function(u){if(u!==n&&u.nodeType===ELEMENT_NODE){var l=u.getAttribute("class");if(l){var m=t===l;if(!m){var y=toOrderedSet(l);m=e.every(arrayIncludes(y))}m&&o.push(u)}}}),o})},createElement:function(t){var e=new Element;e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new NodeList;var n=e.attributes=new NamedNodeMap;return n._ownerElement=e,e},createDocumentFragment:function(){var t=new DocumentFragment;return t.ownerDocument=this,t.childNodes=new NodeList,t},createTextNode:function(t){var e=new Text;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new Comment;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new CDATASection;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new ProcessingInstruction;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new Attr;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new EntityReference;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new Element,o=e.split(":"),u=n.attributes=new NamedNodeMap;return n.childNodes=new NodeList,n.ownerDocument=this,n.nodeName=e,n.tagName=e,n.namespaceURI=t,o.length==2?(n.prefix=o[0],n.localName=o[1]):n.localName=e,u._ownerElement=n,n},createAttributeNS:function(t,e){var n=new Attr,o=e.split(":");return n.ownerDocument=this,n.nodeName=e,n.name=e,n.namespaceURI=t,n.specified=!0,o.length==2?(n.prefix=o[0],n.localName=o[1]):n.localName=e,n}},_extends(Document,Node);function Element(){this._nsMap={}}Element.prototype={nodeType:ELEMENT_NODE,hasAttribute:function(t){return this.getAttributeNode(t)!=null},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var n=this.ownerDocument.createAttribute(t);n.value=n.nodeValue=""+e,this.setAttributeNode(n)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===DOCUMENT_FRAGMENT_NODE?this.insertBefore(t,null):_appendSingleChild(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);n&&this.removeAttributeNode(n)},hasAttributeNS:function(t,e){return this.getAttributeNodeNS(t,e)!=null},getAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);return n&&n.value||""},setAttributeNS:function(t,e,n){var o=this.ownerDocument.createAttributeNS(t,e);o.value=o.nodeValue=""+n,this.setAttributeNode(o)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new LiveNodeList(this,function(e){var n=[];return _visitNode(e,function(o){o!==e&&o.nodeType==ELEMENT_NODE&&(t==="*"||o.tagName==t)&&n.push(o)}),n})},getElementsByTagNameNS:function(t,e){return new LiveNodeList(this,function(n){var o=[];return _visitNode(n,function(u){u!==n&&u.nodeType===ELEMENT_NODE&&(t==="*"||u.namespaceURI===t)&&(e==="*"||u.localName==e)&&o.push(u)}),o})}},Document.prototype.getElementsByTagName=Element.prototype.getElementsByTagName,Document.prototype.getElementsByTagNameNS=Element.prototype.getElementsByTagNameNS,_extends(Element,Node);function Attr(){}Attr.prototype.nodeType=ATTRIBUTE_NODE,_extends(Attr,Node);function CharacterData(){}CharacterData.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,n){var o=this.data.substring(0,t),u=this.data.substring(t+e);n=o+n+u,this.nodeValue=this.data=n,this.length=n.length}},_extends(CharacterData,Node);function Text(){}Text.prototype={nodeName:"#text",nodeType:TEXT_NODE,splitText:function(t){var e=this.data,n=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var o=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling),o}},_extends(Text,CharacterData);function Comment(){}Comment.prototype={nodeName:"#comment",nodeType:COMMENT_NODE},_extends(Comment,CharacterData);function CDATASection(){}CDATASection.prototype={nodeName:"#cdata-section",nodeType:CDATA_SECTION_NODE},_extends(CDATASection,CharacterData);function DocumentType(){}DocumentType.prototype.nodeType=DOCUMENT_TYPE_NODE,_extends(DocumentType,Node);function Notation(){}Notation.prototype.nodeType=NOTATION_NODE,_extends(Notation,Node);function Entity(){}Entity.prototype.nodeType=ENTITY_NODE,_extends(Entity,Node);function EntityReference(){}EntityReference.prototype.nodeType=ENTITY_REFERENCE_NODE,_extends(EntityReference,Node);function DocumentFragment(){}DocumentFragment.prototype.nodeName="#document-fragment",DocumentFragment.prototype.nodeType=DOCUMENT_FRAGMENT_NODE,_extends(DocumentFragment,Node);function ProcessingInstruction(){}ProcessingInstruction.prototype.nodeType=PROCESSING_INSTRUCTION_NODE,_extends(ProcessingInstruction,Node);function XMLSerializer(){}XMLSerializer.prototype.serializeToString=function(t,e,n){return nodeSerializeToString.call(t,e,n)},Node.prototype.toString=nodeSerializeToString;function nodeSerializeToString(t,e){var n=[],o=this.nodeType==9&&this.documentElement||this,u=o.prefix,l=o.namespaceURI;if(l&&u==null){var u=o.lookupPrefix(l);if(u==null)var m=[{namespace:l,prefix:null}]}return serializeToString(this,n,t,e,m),n.join("")}function needNamespaceDefine(t,e,n){var o=t.prefix||"",u=t.namespaceURI;if(!u||o==="xml"&&u===NAMESPACE$2.XML||u===NAMESPACE$2.XMLNS)return!1;for(var l=n.length;l--;){var m=n[l];if(m.prefix===o)return m.namespace!==u}return!0}function addSerializedAttribute(t,e,n){t.push(" ",e,'="',n.replace(/[<>&"\t\n\r]/g,_xmlEncoder),'"')}function serializeToString(t,e,n,o,u){if(u||(u=[]),o)if(t=o(t),t){if(typeof t=="string"){e.push(t);return}}else return;switch(t.nodeType){case ELEMENT_NODE:var l=t.attributes,m=l.length,O=t.firstChild,y=t.tagName;n=NAMESPACE$2.isHTML(t.namespaceURI)||n;var E=y;if(!n&&!t.prefix&&t.namespaceURI){for(var C,k=0;k<l.length;k++)if(l.item(k).name==="xmlns"){C=l.item(k).value;break}if(!C)for(var A=u.length-1;A>=0;A--){var D=u[A];if(D.prefix===""&&D.namespace===t.namespaceURI){C=D.namespace;break}}if(C!==t.namespaceURI)for(var A=u.length-1;A>=0;A--){var D=u[A];if(D.namespace===t.namespaceURI){D.prefix&&(E=D.prefix+":"+y);break}}}e.push("<",E);for(var P=0;P<m;P++){var R=l.item(P);R.prefix=="xmlns"?u.push({prefix:R.localName,namespace:R.value}):R.nodeName=="xmlns"&&u.push({prefix:"",namespace:R.value})}for(var P=0;P<m;P++){var R=l.item(P);if(needNamespaceDefine(R,n,u)){var B=R.prefix||"",F=R.namespaceURI;addSerializedAttribute(e,B?"xmlns:"+B:"xmlns",F),u.push({prefix:B,namespace:F})}serializeToString(R,e,n,o,u)}if(y===E&&needNamespaceDefine(t,n,u)){var B=t.prefix||"",F=t.namespaceURI;addSerializedAttribute(e,B?"xmlns:"+B:"xmlns",F),u.push({prefix:B,namespace:F})}if(O||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(y)){if(e.push(">"),n&&/^script$/i.test(y))for(;O;)O.data?e.push(O.data):serializeToString(O,e,n,o,u.slice()),O=O.nextSibling;else for(;O;)serializeToString(O,e,n,o,u.slice()),O=O.nextSibling;e.push("</",E,">")}else e.push("/>");return;case DOCUMENT_NODE:case DOCUMENT_FRAGMENT_NODE:for(var O=t.firstChild;O;)serializeToString(O,e,n,o,u.slice()),O=O.nextSibling;return;case ATTRIBUTE_NODE:return addSerializedAttribute(e,t.name,t.value);case TEXT_NODE:return e.push(t.data.replace(/[<&>]/g,_xmlEncoder));case CDATA_SECTION_NODE:return e.push("<![CDATA[",t.data,"]]>");case COMMENT_NODE:return e.push("<!--",t.data,"-->");case DOCUMENT_TYPE_NODE:var N=t.publicId,Y=t.systemId;if(e.push("<!DOCTYPE ",t.name),N)e.push(" PUBLIC ",N),Y&&Y!="."&&e.push(" ",Y),e.push(">");else if(Y&&Y!=".")e.push(" SYSTEM ",Y,">");else{var J=t.internalSubset;J&&e.push(" [",J,"]"),e.push(">")}return;case PROCESSING_INSTRUCTION_NODE:return e.push("<?",t.target," ",t.data,"?>");case ENTITY_REFERENCE_NODE:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function importNode(t,e,n){var o;switch(e.nodeType){case ELEMENT_NODE:o=e.cloneNode(!1),o.ownerDocument=t;case DOCUMENT_FRAGMENT_NODE:break;case ATTRIBUTE_NODE:n=!0;break}if(o||(o=e.cloneNode(!1)),o.ownerDocument=t,o.parentNode=null,n)for(var u=e.firstChild;u;)o.appendChild(importNode(t,u,n)),u=u.nextSibling;return o}function cloneNode(t,e,n){var o=new e.constructor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var l=e[u];typeof l!="object"&&l!=o[u]&&(o[u]=l)}switch(e.childNodes&&(o.childNodes=new NodeList),o.ownerDocument=t,o.nodeType){case ELEMENT_NODE:var m=e.attributes,y=o.attributes=new NamedNodeMap,E=m.length;y._ownerElement=o;for(var C=0;C<E;C++)o.setAttributeNode(cloneNode(t,m.item(C),!0));break;case ATTRIBUTE_NODE:n=!0}if(n)for(var k=e.firstChild;k;)o.appendChild(cloneNode(t,k,n)),k=k.nextSibling;return o}function __set__(t,e,n){t[e]=n}try{if(Object.defineProperty){let t=function(e){switch(e.nodeType){case ELEMENT_NODE:case DOCUMENT_FRAGMENT_NODE:var n=[];for(e=e.firstChild;e;)e.nodeType!==7&&e.nodeType!==8&&n.push(t(e)),e=e.nextSibling;return n.join("");default:return e.nodeValue}};Object.defineProperty(LiveNodeList.prototype,"length",{get:function(){return _updateLiveList(this),this.$$length}}),Object.defineProperty(Node.prototype,"textContent",{get:function(){return t(this)},set:function(e){switch(this.nodeType){case ELEMENT_NODE:case DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),__set__=function(e,n,o){e["$$"+n]=o}}}catch(t){}dom$1.DocumentType=DocumentType,dom$1.DOMException=DOMException,dom$1.DOMImplementation=DOMImplementation$1,dom$1.Element=Element,dom$1.Node=Node,dom$1.NodeList=NodeList,dom$1.XMLSerializer=XMLSerializer;var domParser={},entities$1={};(function(t){var e=conventions$2.freeze;t.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=e({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
-`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"	",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES})(entities$1);var sax$1={},NAMESPACE$1=conventions$2.NAMESPACE,nameStartChar=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,nameChar=new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),tagNamePattern=new RegExp("^"+nameStartChar.source+nameChar.source+"*(?::"+nameStartChar.source+nameChar.source+"*)?$"),S_TAG=0,S_ATTR=1,S_ATTR_SPACE=2,S_EQ=3,S_ATTR_NOQUOT_VALUE=4,S_ATTR_END=5,S_TAG_SPACE=6,S_TAG_CLOSE=7;function ParseError$1(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,ParseError$1)}ParseError$1.prototype=new Error,ParseError$1.prototype.name=ParseError$1.name;function XMLReader$1(){}XMLReader$1.prototype={parse:function(t,e,n){var o=this.domBuilder;o.startDocument(),_copy(e,e={}),parse$5(t,e,n,o,this.errorHandler),o.endDocument()}};function parse$5(t,e,n,o,u){function l(p){if(p>65535){p-=65536;var x=55296+(p>>10),S=56320+(p&1023);return String.fromCharCode(x,S)}else return String.fromCharCode(p)}function m(p){var x=p.slice(1,-1);return Object.hasOwnProperty.call(n,x)?n[x]:x.charAt(0)==="#"?l(parseInt(x.substr(1).replace("x","0x"))):(u.error("entity not found:"+p),p)}function y(p){if(p>B){var x=t.substring(B,p).replace(/&#?\w+;/g,m);D&&E(B),o.characters(x,0,p-B),B=p}}function E(p,x){for(;p>=k&&(x=A.exec(t));)C=x.index,k=C+x[0].length,D.lineNumber++;D.columnNumber=p-C+1}for(var C=0,k=0,A=/.*(?:\r\n?|\n)|.*$/g,D=o.locator,P=[{currentNSMap:e}],R={},B=0;;){try{var F=t.indexOf("<",B);if(F<0){if(!t.substr(B).match(/^\s*$/)){var O=o.doc,N=O.createTextNode(t.substr(B));O.appendChild(N),o.currentElement=N}return}switch(F>B&&y(F),t.charAt(F+1)){case"/":var L=t.indexOf(">",F+3),Y=t.substring(F+2,L).replace(/[ \t\n\r]+$/g,""),J=P.pop();L<0?(Y=t.substring(F+2).replace(/[\s<].*/,""),u.error("end tag name: "+Y+" is not complete:"+J.tagName),L=F+1+Y.length):Y.match(/\s</)&&(Y=Y.replace(/[\s<].*/,""),u.error("end tag name: "+Y+" maybe not complete"),L=F+1+Y.length);var ie=J.localNSMap,ue=J.tagName==Y,Q=ue||J.tagName&&J.tagName.toLowerCase()==Y.toLowerCase();if(Q){if(o.endElement(J.uri,J.localName,Y),ie)for(var ce in ie)Object.prototype.hasOwnProperty.call(ie,ce)&&o.endPrefixMapping(ce);ue||u.fatalError("end tag name: "+Y+" is not match the current start tagName:"+J.tagName)}else P.push(J);L++;break;case"?":D&&E(F),L=parseInstruction(t,F,o);break;case"!":D&&E(F),L=parseDCC(t,F,o,u);break;default:D&&E(F);var he=new ElementAttributes,ke=P[P.length-1].currentNSMap,L=parseElementStartPart(t,F,he,ke,m,u),d=he.length;if(!he.closed&&fixSelfClosed(t,L,he.tagName,R)&&(he.closed=!0,n.nbsp||u.warning("unclosed xml attribute")),D&&d){for(var v=copyLocator(D,{}),w=0;w<d;w++){var c=he[w];E(c.offset),c.locator=copyLocator(D,{})}o.locator=v,appendElement$1(he,o,ke)&&P.push(he),o.locator=D}else appendElement$1(he,o,ke)&&P.push(he);NAMESPACE$1.isHTML(he.uri)&&!he.closed?L=parseHtmlSpecialContent(t,L,he.tagName,m,o):L++}}catch(p){if(p instanceof ParseError$1)throw p;u.error("element parse error: "+p),L=-1}L>B?B=L:y(Math.max(F,B)+1)}}function copyLocator(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function parseElementStartPart(t,e,n,o,u,l){function m(D,P,R){n.attributeNames.hasOwnProperty(D)&&l.fatalError("Attribute "+D+" redefined"),n.addValue(D,P.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,u),R)}for(var y,E,C=++e,k=S_TAG;;){var A=t.charAt(C);switch(A){case"=":if(k===S_ATTR)y=t.slice(e,C),k=S_EQ;else if(k===S_ATTR_SPACE)k=S_EQ;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(k===S_EQ||k===S_ATTR)if(k===S_ATTR&&(l.warning('attribute value must after "="'),y=t.slice(e,C)),e=C+1,C=t.indexOf(A,e),C>0)E=t.slice(e,C),m(y,E,e-1),k=S_ATTR_END;else throw new Error("attribute value no end '"+A+"' match");else if(k==S_ATTR_NOQUOT_VALUE)E=t.slice(e,C),m(y,E,e),l.warning('attribute "'+y+'" missed start quot('+A+")!!"),e=C+1,k=S_ATTR_END;else throw new Error('attribute value must after "="');break;case"/":switch(k){case S_TAG:n.setTagName(t.slice(e,C));case S_ATTR_END:case S_TAG_SPACE:case S_TAG_CLOSE:k=S_TAG_CLOSE,n.closed=!0;case S_ATTR_NOQUOT_VALUE:case S_ATTR:break;case S_ATTR_SPACE:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return l.error("unexpected end of input"),k==S_TAG&&n.setTagName(t.slice(e,C)),C;case">":switch(k){case S_TAG:n.setTagName(t.slice(e,C));case S_ATTR_END:case S_TAG_SPACE:case S_TAG_CLOSE:break;case S_ATTR_NOQUOT_VALUE:case S_ATTR:E=t.slice(e,C),E.slice(-1)==="/"&&(n.closed=!0,E=E.slice(0,-1));case S_ATTR_SPACE:k===S_ATTR_SPACE&&(E=y),k==S_ATTR_NOQUOT_VALUE?(l.warning('attribute "'+E+'" missed quot(")!'),m(y,E,e)):((!NAMESPACE$1.isHTML(o[""])||!E.match(/^(?:disabled|checked|selected)$/i))&&l.warning('attribute "'+E+'" missed value!! "'+E+'" instead!!'),m(E,E,e));break;case S_EQ:throw new Error("attribute value missed!!")}return C;case"€":A=" ";default:if(A<=" ")switch(k){case S_TAG:n.setTagName(t.slice(e,C)),k=S_TAG_SPACE;break;case S_ATTR:y=t.slice(e,C),k=S_ATTR_SPACE;break;case S_ATTR_NOQUOT_VALUE:var E=t.slice(e,C);l.warning('attribute "'+E+'" missed quot(")!!'),m(y,E,e);case S_ATTR_END:k=S_TAG_SPACE;break}else switch(k){case S_ATTR_SPACE:n.tagName,(!NAMESPACE$1.isHTML(o[""])||!y.match(/^(?:disabled|checked|selected)$/i))&&l.warning('attribute "'+y+'" missed value!! "'+y+'" instead2!!'),m(y,y,e),e=C,k=S_ATTR;break;case S_ATTR_END:l.warning('attribute space is required"'+y+'"!!');case S_TAG_SPACE:k=S_ATTR,e=C;break;case S_EQ:k=S_ATTR_NOQUOT_VALUE,e=C;break;case S_TAG_CLOSE:throw new Error("elements closed character '/' and '>' must be connected to")}}C++}}function appendElement$1(t,e,n){for(var o=t.tagName,u=null,A=t.length;A--;){var l=t[A],m=l.qName,y=l.value,D=m.indexOf(":");if(D>0)var E=l.prefix=m.slice(0,D),C=m.slice(D+1),k=E==="xmlns"&&C;else C=m,E=null,k=m==="xmlns"&&"";l.localName=C,k!==!1&&(u==null&&(u={},_copy(n,n={})),n[k]=u[k]=y,l.uri=NAMESPACE$1.XMLNS,e.startPrefixMapping(k,y))}for(var A=t.length;A--;){l=t[A];var E=l.prefix;E&&(E==="xml"&&(l.uri=NAMESPACE$1.XML),E!=="xmlns"&&(l.uri=n[E||""]))}var D=o.indexOf(":");D>0?(E=t.prefix=o.slice(0,D),C=t.localName=o.slice(D+1)):(E=null,C=t.localName=o);var P=t.uri=n[E||""];if(e.startElement(P,C,o,t),t.closed){if(e.endElement(P,C,o),u)for(E in u)Object.prototype.hasOwnProperty.call(u,E)&&e.endPrefixMapping(E)}else return t.currentNSMap=n,t.localNSMap=u,!0}function parseHtmlSpecialContent(t,e,n,o,u){if(/^(?:script|textarea)$/i.test(n)){var l=t.indexOf("</"+n+">",e),m=t.substring(e+1,l);if(/[&<]/.test(m))return/^script$/i.test(n)?(u.characters(m,0,m.length),l):(m=m.replace(/&#?\w+;/g,o),u.characters(m,0,m.length),l)}return e+1}function fixSelfClosed(t,e,n,o){var u=o[n];return u==null&&(u=t.lastIndexOf("</"+n+">"),u<e&&(u=t.lastIndexOf("</"+n)),o[n]=u),u<e}function _copy(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}function parseDCC(t,e,n,o){var u=t.charAt(e+2);switch(u){case"-":if(t.charAt(e+3)==="-"){var l=t.indexOf("-->",e+4);return l>e?(n.comment(t,e+4,l-e-4),l+3):(o.error("Unclosed comment"),-1)}else return-1;default:if(t.substr(e+3,6)=="CDATA["){var l=t.indexOf("]]>",e+9);return n.startCDATA(),n.characters(t,e+9,l-e-9),n.endCDATA(),l+3}var m=split(t,e),y=m.length;if(y>1&&/!doctype/i.test(m[0][0])){var E=m[1][0],C=!1,k=!1;y>3&&(/^public$/i.test(m[2][0])?(C=m[3][0],k=y>4&&m[4][0]):/^system$/i.test(m[2][0])&&(k=m[3][0]));var A=m[y-1];return n.startDTD(E,C,k),n.endDTD(),A.index+A[0].length}}return-1}function parseInstruction(t,e,n){var o=t.indexOf("?>",e);if(o){var u=t.substring(e,o).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return u?(u[0].length,n.processingInstruction(u[1],u[2]),o+2):-1}return-1}function ElementAttributes(){this.attributeNames={}}ElementAttributes.prototype={setTagName:function(t){if(!tagNamePattern.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,n){if(!tagNamePattern.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:n}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}};function split(t,e){var n,o=[],u=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(u.lastIndex=e,u.exec(t);n=u.exec(t);)if(o.push(n),n[1])return o}sax$1.XMLReader=XMLReader$1,sax$1.ParseError=ParseError$1;var conventions=conventions$2,dom=dom$1,entities=entities$1,sax=sax$1,DOMImplementation=dom.DOMImplementation,NAMESPACE=conventions.NAMESPACE,ParseError=sax.ParseError,XMLReader=sax.XMLReader;function normalizeLineEndings(t){return t.replace(/\r[\n\u0085]/g,`
+ */(function(n){const e=base64Js,o=ieee754,l=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=E,n.SlowBuffer=re,n.INSPECT_MAX_BYTES=50;const t=2147483647;n.kMaxLength=t;const{Uint8Array:u,ArrayBuffer:h,SharedArrayBuffer:v}=globalThis;E.TYPED_ARRAY_SUPPORT=w(),!E.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function w(){try{const Me=new u(1),te={foo:function(){return 42}};return Object.setPrototypeOf(te,u.prototype),Object.setPrototypeOf(Me,te),Me.foo()===42}catch{return!1}}Object.defineProperty(E.prototype,"parent",{enumerable:!0,get:function(){if(E.isBuffer(this))return this.buffer}}),Object.defineProperty(E.prototype,"offset",{enumerable:!0,get:function(){if(E.isBuffer(this))return this.byteOffset}});function A(Me){if(Me>t)throw new RangeError('The value "'+Me+'" is invalid for option "size"');const te=new u(Me);return Object.setPrototypeOf(te,E.prototype),te}function E(Me,te,_e){if(typeof Me=="number"){if(typeof te=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return I(Me)}return C(Me,te,_e)}E.poolSize=8192;function C(Me,te,_e){if(typeof Me=="string")return j(Me,te);if(h.isView(Me))return F(Me);if(Me==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Me);if(Qe(Me,h)||Me&&Qe(Me.buffer,h)||typeof v<"u"&&(Qe(Me,v)||Me&&Qe(Me.buffer,v)))return N(Me,te,_e);if(typeof Me=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const je=Me.valueOf&&Me.valueOf();if(je!=null&&je!==Me)return E.from(je,te,_e);const We=ee(Me);if(We)return We;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Me[Symbol.toPrimitive]=="function")return E.from(Me[Symbol.toPrimitive]("string"),te,_e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Me)}E.from=function(Me,te,_e){return C(Me,te,_e)},Object.setPrototypeOf(E.prototype,u.prototype),Object.setPrototypeOf(E,u);function M(Me){if(typeof Me!="number")throw new TypeError('"size" argument must be of type number');if(Me<0)throw new RangeError('The value "'+Me+'" is invalid for option "size"')}function P(Me,te,_e){return M(Me),Me<=0?A(Me):te!==void 0?typeof _e=="string"?A(Me).fill(te,_e):A(Me).fill(te):A(Me)}E.alloc=function(Me,te,_e){return P(Me,te,_e)};function I(Me){return M(Me),A(Me<0?0:Z(Me)|0)}E.allocUnsafe=function(Me){return I(Me)},E.allocUnsafeSlow=function(Me){return I(Me)};function j(Me,te){if((typeof te!="string"||te==="")&&(te="utf8"),!E.isEncoding(te))throw new TypeError("Unknown encoding: "+te);const _e=fe(Me,te)|0;let je=A(_e);const We=je.write(Me,te);return We!==_e&&(je=je.slice(0,We)),je}function B(Me){const te=Me.length<0?0:Z(Me.length)|0,_e=A(te);for(let je=0;je<te;je+=1)_e[je]=Me[je]&255;return _e}function F(Me){if(Qe(Me,u)){const te=new u(Me);return N(te.buffer,te.byteOffset,te.byteLength)}return B(Me)}function N(Me,te,_e){if(te<0||Me.byteLength<te)throw new RangeError('"offset" is outside of buffer bounds');if(Me.byteLength<te+(_e||0))throw new RangeError('"length" is outside of buffer bounds');let je;return te===void 0&&_e===void 0?je=new u(Me):_e===void 0?je=new u(Me,te):je=new u(Me,te,_e),Object.setPrototypeOf(je,E.prototype),je}function ee(Me){if(E.isBuffer(Me)){const te=Z(Me.length)|0,_e=A(te);return _e.length===0||Me.copy(_e,0,0,te),_e}if(Me.length!==void 0)return typeof Me.length!="number"||Wt(Me.length)?A(0):B(Me);if(Me.type==="Buffer"&&Array.isArray(Me.data))return B(Me.data)}function Z(Me){if(Me>=t)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t.toString(16)+" bytes");return Me|0}function re(Me){return+Me!=Me&&(Me=0),E.alloc(+Me)}E.isBuffer=function(te){return te!=null&&te._isBuffer===!0&&te!==E.prototype},E.compare=function(te,_e){if(Qe(te,u)&&(te=E.from(te,te.offset,te.byteLength)),Qe(_e,u)&&(_e=E.from(_e,_e.offset,_e.byteLength)),!E.isBuffer(te)||!E.isBuffer(_e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(te===_e)return 0;let je=te.length,We=_e.length;for(let et=0,Ye=Math.min(je,We);et<Ye;++et)if(te[et]!==_e[et]){je=te[et],We=_e[et];break}return je<We?-1:We<je?1:0},E.isEncoding=function(te){switch(String(te).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},E.concat=function(te,_e){if(!Array.isArray(te))throw new TypeError('"list" argument must be an Array of Buffers');if(te.length===0)return E.alloc(0);let je;if(_e===void 0)for(_e=0,je=0;je<te.length;++je)_e+=te[je].length;const We=E.allocUnsafe(_e);let et=0;for(je=0;je<te.length;++je){let Ye=te[je];if(Qe(Ye,u))et+Ye.length>We.length?(E.isBuffer(Ye)||(Ye=E.from(Ye)),Ye.copy(We,et)):u.prototype.set.call(We,Ye,et);else if(E.isBuffer(Ye))Ye.copy(We,et);else throw new TypeError('"list" argument must be an Array of Buffers');et+=Ye.length}return We};function fe(Me,te){if(E.isBuffer(Me))return Me.length;if(h.isView(Me)||Qe(Me,h))return Me.byteLength;if(typeof Me!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Me);const _e=Me.length,je=arguments.length>2&&arguments[2]===!0;if(!je&&_e===0)return 0;let We=!1;for(;;)switch(te){case"ascii":case"latin1":case"binary":return _e;case"utf8":case"utf-8":return ht(Me).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _e*2;case"hex":return _e>>>1;case"base64":return jt(Me).length;default:if(We)return je?-1:ht(Me).length;te=(""+te).toLowerCase(),We=!0}}E.byteLength=fe;function V(Me,te,_e){let je=!1;if((te===void 0||te<0)&&(te=0),te>this.length||((_e===void 0||_e>this.length)&&(_e=this.length),_e<=0)||(_e>>>=0,te>>>=0,_e<=te))return"";for(Me||(Me="utf8");;)switch(Me){case"hex":return D(this,te,_e);case"utf8":case"utf-8":return x(this,te,_e);case"ascii":return d(this,te,_e);case"latin1":case"binary":return k(this,te,_e);case"base64":return m(this,te,_e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,te,_e);default:if(je)throw new TypeError("Unknown encoding: "+Me);Me=(Me+"").toLowerCase(),je=!0}}E.prototype._isBuffer=!0;function le(Me,te,_e){const je=Me[te];Me[te]=Me[_e],Me[_e]=je}E.prototype.swap16=function(){const te=this.length;if(te%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let _e=0;_e<te;_e+=2)le(this,_e,_e+1);return this},E.prototype.swap32=function(){const te=this.length;if(te%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let _e=0;_e<te;_e+=4)le(this,_e,_e+3),le(this,_e+1,_e+2);return this},E.prototype.swap64=function(){const te=this.length;if(te%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let _e=0;_e<te;_e+=8)le(this,_e,_e+7),le(this,_e+1,_e+6),le(this,_e+2,_e+5),le(this,_e+3,_e+4);return this},E.prototype.toString=function(){const te=this.length;return te===0?"":arguments.length===0?x(this,0,te):V.apply(this,arguments)},E.prototype.toLocaleString=E.prototype.toString,E.prototype.equals=function(te){if(!E.isBuffer(te))throw new TypeError("Argument must be a Buffer");return this===te?!0:E.compare(this,te)===0},E.prototype.inspect=function(){let te="";const _e=n.INSPECT_MAX_BYTES;return te=this.toString("hex",0,_e).replace(/(.{2})/g,"$1 ").trim(),this.length>_e&&(te+=" ... "),"<Buffer "+te+">"},l&&(E.prototype[l]=E.prototype.inspect),E.prototype.compare=function(te,_e,je,We,et){if(Qe(te,u)&&(te=E.from(te,te.offset,te.byteLength)),!E.isBuffer(te))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof te);if(_e===void 0&&(_e=0),je===void 0&&(je=te?te.length:0),We===void 0&&(We=0),et===void 0&&(et=this.length),_e<0||je>te.length||We<0||et>this.length)throw new RangeError("out of range index");if(We>=et&&_e>=je)return 0;if(We>=et)return-1;if(_e>=je)return 1;if(_e>>>=0,je>>>=0,We>>>=0,et>>>=0,this===te)return 0;let Ye=et-We,De=je-_e;const Ht=Math.min(Ye,De),Mt=this.slice(We,et),ge=te.slice(_e,je);for(let Dt=0;Dt<Ht;++Dt)if(Mt[Dt]!==ge[Dt]){Ye=Mt[Dt],De=ge[Dt];break}return Ye<De?-1:De<Ye?1:0};function he(Me,te,_e,je,We){if(Me.length===0)return-1;if(typeof _e=="string"?(je=_e,_e=0):_e>2147483647?_e=2147483647:_e<-2147483648&&(_e=-2147483648),_e=+_e,Wt(_e)&&(_e=We?0:Me.length-1),_e<0&&(_e=Me.length+_e),_e>=Me.length){if(We)return-1;_e=Me.length-1}else if(_e<0)if(We)_e=0;else return-1;if(typeof te=="string"&&(te=E.from(te,je)),E.isBuffer(te))return te.length===0?-1:ye(Me,te,_e,je,We);if(typeof te=="number")return te=te&255,typeof u.prototype.indexOf=="function"?We?u.prototype.indexOf.call(Me,te,_e):u.prototype.lastIndexOf.call(Me,te,_e):ye(Me,[te],_e,je,We);throw new TypeError("val must be string, number or Buffer")}function ye(Me,te,_e,je,We){let et=1,Ye=Me.length,De=te.length;if(je!==void 0&&(je=String(je).toLowerCase(),je==="ucs2"||je==="ucs-2"||je==="utf16le"||je==="utf-16le")){if(Me.length<2||te.length<2)return-1;et=2,Ye/=2,De/=2,_e/=2}function Ht(ge,Dt){return et===1?ge[Dt]:ge.readUInt16BE(Dt*et)}let Mt;if(We){let ge=-1;for(Mt=_e;Mt<Ye;Mt++)if(Ht(Me,Mt)===Ht(te,ge===-1?0:Mt-ge)){if(ge===-1&&(ge=Mt),Mt-ge+1===De)return ge*et}else ge!==-1&&(Mt-=Mt-ge),ge=-1}else for(_e+De>Ye&&(_e=Ye-De),Mt=_e;Mt>=0;Mt--){let ge=!0;for(let Dt=0;Dt<De;Dt++)if(Ht(Me,Mt+Dt)!==Ht(te,Dt)){ge=!1;break}if(ge)return Mt}return-1}E.prototype.includes=function(te,_e,je){return this.indexOf(te,_e,je)!==-1},E.prototype.indexOf=function(te,_e,je){return he(this,te,_e,je,!0)},E.prototype.lastIndexOf=function(te,_e,je){return he(this,te,_e,je,!1)};function L(Me,te,_e,je){_e=Number(_e)||0;const We=Me.length-_e;je?(je=Number(je),je>We&&(je=We)):je=We;const et=te.length;je>et/2&&(je=et/2);let Ye;for(Ye=0;Ye<je;++Ye){const De=parseInt(te.substr(Ye*2,2),16);if(Wt(De))return Ye;Me[_e+Ye]=De}return Ye}function p(Me,te,_e,je){return Ge(ht(te,Me.length-_e),Me,_e,je)}function y(Me,te,_e,je){return Ge(at(te),Me,_e,je)}function S(Me,te,_e,je){return Ge(jt(te),Me,_e,je)}function c(Me,te,_e,je){return Ge(bt(te,Me.length-_e),Me,_e,je)}E.prototype.write=function(te,_e,je,We){if(_e===void 0)We="utf8",je=this.length,_e=0;else if(je===void 0&&typeof _e=="string")We=_e,je=this.length,_e=0;else if(isFinite(_e))_e=_e>>>0,isFinite(je)?(je=je>>>0,We===void 0&&(We="utf8")):(We=je,je=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const et=this.length-_e;if((je===void 0||je>et)&&(je=et),te.length>0&&(je<0||_e<0)||_e>this.length)throw new RangeError("Attempt to write outside buffer bounds");We||(We="utf8");let Ye=!1;for(;;)switch(We){case"hex":return L(this,te,_e,je);case"utf8":case"utf-8":return p(this,te,_e,je);case"ascii":case"latin1":case"binary":return y(this,te,_e,je);case"base64":return S(this,te,_e,je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c(this,te,_e,je);default:if(Ye)throw new TypeError("Unknown encoding: "+We);We=(""+We).toLowerCase(),Ye=!0}},E.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function m(Me,te,_e){return te===0&&_e===Me.length?e.fromByteArray(Me):e.fromByteArray(Me.slice(te,_e))}function x(Me,te,_e){_e=Math.min(Me.length,_e);const je=[];let We=te;for(;We<_e;){const et=Me[We];let Ye=null,De=et>239?4:et>223?3:et>191?2:1;if(We+De<=_e){let Ht,Mt,ge,Dt;switch(De){case 1:et<128&&(Ye=et);break;case 2:Ht=Me[We+1],(Ht&192)===128&&(Dt=(et&31)<<6|Ht&63,Dt>127&&(Ye=Dt));break;case 3:Ht=Me[We+1],Mt=Me[We+2],(Ht&192)===128&&(Mt&192)===128&&(Dt=(et&15)<<12|(Ht&63)<<6|Mt&63,Dt>2047&&(Dt<55296||Dt>57343)&&(Ye=Dt));break;case 4:Ht=Me[We+1],Mt=Me[We+2],ge=Me[We+3],(Ht&192)===128&&(Mt&192)===128&&(ge&192)===128&&(Dt=(et&15)<<18|(Ht&63)<<12|(Mt&63)<<6|ge&63,Dt>65535&&Dt<1114112&&(Ye=Dt))}}Ye===null?(Ye=65533,De=1):Ye>65535&&(Ye-=65536,je.push(Ye>>>10&1023|55296),Ye=56320|Ye&1023),je.push(Ye),We+=De}return b(je)}const T=4096;function b(Me){const te=Me.length;if(te<=T)return String.fromCharCode.apply(String,Me);let _e="",je=0;for(;je<te;)_e+=String.fromCharCode.apply(String,Me.slice(je,je+=T));return _e}function d(Me,te,_e){let je="";_e=Math.min(Me.length,_e);for(let We=te;We<_e;++We)je+=String.fromCharCode(Me[We]&127);return je}function k(Me,te,_e){let je="";_e=Math.min(Me.length,_e);for(let We=te;We<_e;++We)je+=String.fromCharCode(Me[We]);return je}function D(Me,te,_e){const je=Me.length;(!te||te<0)&&(te=0),(!_e||_e<0||_e>je)&&(_e=je);let We="";for(let et=te;et<_e;++et)We+=Et[Me[et]];return We}function O(Me,te,_e){const je=Me.slice(te,_e);let We="";for(let et=0;et<je.length-1;et+=2)We+=String.fromCharCode(je[et]+je[et+1]*256);return We}E.prototype.slice=function(te,_e){const je=this.length;te=~~te,_e=_e===void 0?je:~~_e,te<0?(te+=je,te<0&&(te=0)):te>je&&(te=je),_e<0?(_e+=je,_e<0&&(_e=0)):_e>je&&(_e=je),_e<te&&(_e=te);const We=this.subarray(te,_e);return Object.setPrototypeOf(We,E.prototype),We};function Q(Me,te,_e){if(Me%1!==0||Me<0)throw new RangeError("offset is not uint");if(Me+te>_e)throw new RangeError("Trying to access beyond buffer length")}E.prototype.readUintLE=E.prototype.readUIntLE=function(te,_e,je){te=te>>>0,_e=_e>>>0,je||Q(te,_e,this.length);let We=this[te],et=1,Ye=0;for(;++Ye<_e&&(et*=256);)We+=this[te+Ye]*et;return We},E.prototype.readUintBE=E.prototype.readUIntBE=function(te,_e,je){te=te>>>0,_e=_e>>>0,je||Q(te,_e,this.length);let We=this[te+--_e],et=1;for(;_e>0&&(et*=256);)We+=this[te+--_e]*et;return We},E.prototype.readUint8=E.prototype.readUInt8=function(te,_e){return te=te>>>0,_e||Q(te,1,this.length),this[te]},E.prototype.readUint16LE=E.prototype.readUInt16LE=function(te,_e){return te=te>>>0,_e||Q(te,2,this.length),this[te]|this[te+1]<<8},E.prototype.readUint16BE=E.prototype.readUInt16BE=function(te,_e){return te=te>>>0,_e||Q(te,2,this.length),this[te]<<8|this[te+1]},E.prototype.readUint32LE=E.prototype.readUInt32LE=function(te,_e){return te=te>>>0,_e||Q(te,4,this.length),(this[te]|this[te+1]<<8|this[te+2]<<16)+this[te+3]*16777216},E.prototype.readUint32BE=E.prototype.readUInt32BE=function(te,_e){return te=te>>>0,_e||Q(te,4,this.length),this[te]*16777216+(this[te+1]<<16|this[te+2]<<8|this[te+3])},E.prototype.readBigUInt64LE=Ct(function(te){te=te>>>0,dt(te,"offset");const _e=this[te],je=this[te+7];(_e===void 0||je===void 0)&&Tt(te,this.length-8);const We=_e+this[++te]*2**8+this[++te]*2**16+this[++te]*2**24,et=this[++te]+this[++te]*2**8+this[++te]*2**16+je*2**24;return BigInt(We)+(BigInt(et)<<BigInt(32))}),E.prototype.readBigUInt64BE=Ct(function(te){te=te>>>0,dt(te,"offset");const _e=this[te],je=this[te+7];(_e===void 0||je===void 0)&&Tt(te,this.length-8);const We=_e*2**24+this[++te]*2**16+this[++te]*2**8+this[++te],et=this[++te]*2**24+this[++te]*2**16+this[++te]*2**8+je;return(BigInt(We)<<BigInt(32))+BigInt(et)}),E.prototype.readIntLE=function(te,_e,je){te=te>>>0,_e=_e>>>0,je||Q(te,_e,this.length);let We=this[te],et=1,Ye=0;for(;++Ye<_e&&(et*=256);)We+=this[te+Ye]*et;return et*=128,We>=et&&(We-=Math.pow(2,8*_e)),We},E.prototype.readIntBE=function(te,_e,je){te=te>>>0,_e=_e>>>0,je||Q(te,_e,this.length);let We=_e,et=1,Ye=this[te+--We];for(;We>0&&(et*=256);)Ye+=this[te+--We]*et;return et*=128,Ye>=et&&(Ye-=Math.pow(2,8*_e)),Ye},E.prototype.readInt8=function(te,_e){return te=te>>>0,_e||Q(te,1,this.length),this[te]&128?(255-this[te]+1)*-1:this[te]},E.prototype.readInt16LE=function(te,_e){te=te>>>0,_e||Q(te,2,this.length);const je=this[te]|this[te+1]<<8;return je&32768?je|4294901760:je},E.prototype.readInt16BE=function(te,_e){te=te>>>0,_e||Q(te,2,this.length);const je=this[te+1]|this[te]<<8;return je&32768?je|4294901760:je},E.prototype.readInt32LE=function(te,_e){return te=te>>>0,_e||Q(te,4,this.length),this[te]|this[te+1]<<8|this[te+2]<<16|this[te+3]<<24},E.prototype.readInt32BE=function(te,_e){return te=te>>>0,_e||Q(te,4,this.length),this[te]<<24|this[te+1]<<16|this[te+2]<<8|this[te+3]},E.prototype.readBigInt64LE=Ct(function(te){te=te>>>0,dt(te,"offset");const _e=this[te],je=this[te+7];(_e===void 0||je===void 0)&&Tt(te,this.length-8);const We=this[te+4]+this[te+5]*2**8+this[te+6]*2**16+(je<<24);return(BigInt(We)<<BigInt(32))+BigInt(_e+this[++te]*2**8+this[++te]*2**16+this[++te]*2**24)}),E.prototype.readBigInt64BE=Ct(function(te){te=te>>>0,dt(te,"offset");const _e=this[te],je=this[te+7];(_e===void 0||je===void 0)&&Tt(te,this.length-8);const We=(_e<<24)+this[++te]*2**16+this[++te]*2**8+this[++te];return(BigInt(We)<<BigInt(32))+BigInt(this[++te]*2**24+this[++te]*2**16+this[++te]*2**8+je)}),E.prototype.readFloatLE=function(te,_e){return te=te>>>0,_e||Q(te,4,this.length),o.read(this,te,!0,23,4)},E.prototype.readFloatBE=function(te,_e){return te=te>>>0,_e||Q(te,4,this.length),o.read(this,te,!1,23,4)},E.prototype.readDoubleLE=function(te,_e){return te=te>>>0,_e||Q(te,8,this.length),o.read(this,te,!0,52,8)},E.prototype.readDoubleBE=function(te,_e){return te=te>>>0,_e||Q(te,8,this.length),o.read(this,te,!1,52,8)};function J(Me,te,_e,je,We,et){if(!E.isBuffer(Me))throw new TypeError('"buffer" argument must be a Buffer instance');if(te>We||te<et)throw new RangeError('"value" argument is out of bounds');if(_e+je>Me.length)throw new RangeError("Index out of range")}E.prototype.writeUintLE=E.prototype.writeUIntLE=function(te,_e,je,We){if(te=+te,_e=_e>>>0,je=je>>>0,!We){const De=Math.pow(2,8*je)-1;J(this,te,_e,je,De,0)}let et=1,Ye=0;for(this[_e]=te&255;++Ye<je&&(et*=256);)this[_e+Ye]=te/et&255;return _e+je},E.prototype.writeUintBE=E.prototype.writeUIntBE=function(te,_e,je,We){if(te=+te,_e=_e>>>0,je=je>>>0,!We){const De=Math.pow(2,8*je)-1;J(this,te,_e,je,De,0)}let et=je-1,Ye=1;for(this[_e+et]=te&255;--et>=0&&(Ye*=256);)this[_e+et]=te/Ye&255;return _e+je},E.prototype.writeUint8=E.prototype.writeUInt8=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,1,255,0),this[_e]=te&255,_e+1},E.prototype.writeUint16LE=E.prototype.writeUInt16LE=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,2,65535,0),this[_e]=te&255,this[_e+1]=te>>>8,_e+2},E.prototype.writeUint16BE=E.prototype.writeUInt16BE=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,2,65535,0),this[_e]=te>>>8,this[_e+1]=te&255,_e+2},E.prototype.writeUint32LE=E.prototype.writeUInt32LE=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,4,4294967295,0),this[_e+3]=te>>>24,this[_e+2]=te>>>16,this[_e+1]=te>>>8,this[_e]=te&255,_e+4},E.prototype.writeUint32BE=E.prototype.writeUInt32BE=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,4,4294967295,0),this[_e]=te>>>24,this[_e+1]=te>>>16,this[_e+2]=te>>>8,this[_e+3]=te&255,_e+4};function X(Me,te,_e,je,We){st(te,je,We,Me,_e,7);let et=Number(te&BigInt(4294967295));Me[_e++]=et,et=et>>8,Me[_e++]=et,et=et>>8,Me[_e++]=et,et=et>>8,Me[_e++]=et;let Ye=Number(te>>BigInt(32)&BigInt(4294967295));return Me[_e++]=Ye,Ye=Ye>>8,Me[_e++]=Ye,Ye=Ye>>8,Me[_e++]=Ye,Ye=Ye>>8,Me[_e++]=Ye,_e}function U(Me,te,_e,je,We){st(te,je,We,Me,_e,7);let et=Number(te&BigInt(4294967295));Me[_e+7]=et,et=et>>8,Me[_e+6]=et,et=et>>8,Me[_e+5]=et,et=et>>8,Me[_e+4]=et;let Ye=Number(te>>BigInt(32)&BigInt(4294967295));return Me[_e+3]=Ye,Ye=Ye>>8,Me[_e+2]=Ye,Ye=Ye>>8,Me[_e+1]=Ye,Ye=Ye>>8,Me[_e]=Ye,_e+8}E.prototype.writeBigUInt64LE=Ct(function(te,_e=0){return X(this,te,_e,BigInt(0),BigInt("0xffffffffffffffff"))}),E.prototype.writeBigUInt64BE=Ct(function(te,_e=0){return U(this,te,_e,BigInt(0),BigInt("0xffffffffffffffff"))}),E.prototype.writeIntLE=function(te,_e,je,We){if(te=+te,_e=_e>>>0,!We){const Ht=Math.pow(2,8*je-1);J(this,te,_e,je,Ht-1,-Ht)}let et=0,Ye=1,De=0;for(this[_e]=te&255;++et<je&&(Ye*=256);)te<0&&De===0&&this[_e+et-1]!==0&&(De=1),this[_e+et]=(te/Ye>>0)-De&255;return _e+je},E.prototype.writeIntBE=function(te,_e,je,We){if(te=+te,_e=_e>>>0,!We){const Ht=Math.pow(2,8*je-1);J(this,te,_e,je,Ht-1,-Ht)}let et=je-1,Ye=1,De=0;for(this[_e+et]=te&255;--et>=0&&(Ye*=256);)te<0&&De===0&&this[_e+et+1]!==0&&(De=1),this[_e+et]=(te/Ye>>0)-De&255;return _e+je},E.prototype.writeInt8=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,1,127,-128),te<0&&(te=255+te+1),this[_e]=te&255,_e+1},E.prototype.writeInt16LE=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,2,32767,-32768),this[_e]=te&255,this[_e+1]=te>>>8,_e+2},E.prototype.writeInt16BE=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,2,32767,-32768),this[_e]=te>>>8,this[_e+1]=te&255,_e+2},E.prototype.writeInt32LE=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,4,2147483647,-2147483648),this[_e]=te&255,this[_e+1]=te>>>8,this[_e+2]=te>>>16,this[_e+3]=te>>>24,_e+4},E.prototype.writeInt32BE=function(te,_e,je){return te=+te,_e=_e>>>0,je||J(this,te,_e,4,2147483647,-2147483648),te<0&&(te=4294967295+te+1),this[_e]=te>>>24,this[_e+1]=te>>>16,this[_e+2]=te>>>8,this[_e+3]=te&255,_e+4},E.prototype.writeBigInt64LE=Ct(function(te,_e=0){return X(this,te,_e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),E.prototype.writeBigInt64BE=Ct(function(te,_e=0){return U(this,te,_e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function z(Me,te,_e,je,We,et){if(_e+je>Me.length)throw new RangeError("Index out of range");if(_e<0)throw new RangeError("Index out of range")}function ie(Me,te,_e,je,We){return te=+te,_e=_e>>>0,We||z(Me,te,_e,4),o.write(Me,te,_e,je,23,4),_e+4}E.prototype.writeFloatLE=function(te,_e,je){return ie(this,te,_e,!0,je)},E.prototype.writeFloatBE=function(te,_e,je){return ie(this,te,_e,!1,je)};function de(Me,te,_e,je,We){return te=+te,_e=_e>>>0,We||z(Me,te,_e,8),o.write(Me,te,_e,je,52,8),_e+8}E.prototype.writeDoubleLE=function(te,_e,je){return de(this,te,_e,!0,je)},E.prototype.writeDoubleBE=function(te,_e,je){return de(this,te,_e,!1,je)},E.prototype.copy=function(te,_e,je,We){if(!E.isBuffer(te))throw new TypeError("argument should be a Buffer");if(je||(je=0),!We&&We!==0&&(We=this.length),_e>=te.length&&(_e=te.length),_e||(_e=0),We>0&&We<je&&(We=je),We===je||te.length===0||this.length===0)return 0;if(_e<0)throw new RangeError("targetStart out of bounds");if(je<0||je>=this.length)throw new RangeError("Index out of range");if(We<0)throw new RangeError("sourceEnd out of bounds");We>this.length&&(We=this.length),te.length-_e<We-je&&(We=te.length-_e+je);const et=We-je;return this===te&&typeof u.prototype.copyWithin=="function"?this.copyWithin(_e,je,We):u.prototype.set.call(te,this.subarray(je,We),_e),et},E.prototype.fill=function(te,_e,je,We){if(typeof te=="string"){if(typeof _e=="string"?(We=_e,_e=0,je=this.length):typeof je=="string"&&(We=je,je=this.length),We!==void 0&&typeof We!="string")throw new TypeError("encoding must be a string");if(typeof We=="string"&&!E.isEncoding(We))throw new TypeError("Unknown encoding: "+We);if(te.length===1){const Ye=te.charCodeAt(0);(We==="utf8"&&Ye<128||We==="latin1")&&(te=Ye)}}else typeof te=="number"?te=te&255:typeof te=="boolean"&&(te=Number(te));if(_e<0||this.length<_e||this.length<je)throw new RangeError("Out of range index");if(je<=_e)return this;_e=_e>>>0,je=je===void 0?this.length:je>>>0,te||(te=0);let et;if(typeof te=="number")for(et=_e;et<je;++et)this[et]=te;else{const Ye=E.isBuffer(te)?te:E.from(te,We),De=Ye.length;if(De===0)throw new TypeError('The value "'+te+'" is invalid for argument "value"');for(et=0;et<je-_e;++et)this[et+_e]=Ye[et%De]}return this};const me={};function pe(Me,te,_e){me[Me]=class extends _e{constructor(){super(),Object.defineProperty(this,"message",{value:te.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Me}]`,this.stack,delete this.name}get code(){return Me}set code(We){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:We,writable:!0})}toString(){return`${this.name} [${Me}]: ${this.message}`}}}pe("ERR_BUFFER_OUT_OF_BOUNDS",function(Me){return Me?`${Me} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),pe("ERR_INVALID_ARG_TYPE",function(Me,te){return`The "${Me}" argument must be of type number. Received type ${typeof te}`},TypeError),pe("ERR_OUT_OF_RANGE",function(Me,te,_e){let je=`The value of "${Me}" is out of range.`,We=_e;return Number.isInteger(_e)&&Math.abs(_e)>2**32?We=qe(String(_e)):typeof _e=="bigint"&&(We=String(_e),(_e>BigInt(2)**BigInt(32)||_e<-(BigInt(2)**BigInt(32)))&&(We=qe(We)),We+="n"),je+=` It must be ${te}. Received ${We}`,je},RangeError);function qe(Me){let te="",_e=Me.length;const je=Me[0]==="-"?1:0;for(;_e>=je+4;_e-=3)te=`_${Me.slice(_e-3,_e)}${te}`;return`${Me.slice(0,_e)}${te}`}function mt(Me,te,_e){dt(te,"offset"),(Me[te]===void 0||Me[te+_e]===void 0)&&Tt(te,Me.length-(_e+1))}function st(Me,te,_e,je,We,et){if(Me>_e||Me<te){const Ye=typeof te=="bigint"?"n":"";let De;throw te===0||te===BigInt(0)?De=`>= 0${Ye} and < 2${Ye} ** ${(et+1)*8}${Ye}`:De=`>= -(2${Ye} ** ${(et+1)*8-1}${Ye}) and < 2 ** ${(et+1)*8-1}${Ye}`,new me.ERR_OUT_OF_RANGE("value",De,Me)}mt(je,We,et)}function dt(Me,te){if(typeof Me!="number")throw new me.ERR_INVALID_ARG_TYPE(te,"number",Me)}function Tt(Me,te,_e){throw Math.floor(Me)!==Me?(dt(Me,_e),new me.ERR_OUT_OF_RANGE("offset","an integer",Me)):te<0?new me.ERR_BUFFER_OUT_OF_BOUNDS:new me.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${te}`,Me)}const lt=/[^+/0-9A-Za-z-_]/g;function Je(Me){if(Me=Me.split("=")[0],Me=Me.trim().replace(lt,""),Me.length<2)return"";for(;Me.length%4!==0;)Me=Me+"=";return Me}function ht(Me,te){te=te||1/0;let _e;const je=Me.length;let We=null;const et=[];for(let Ye=0;Ye<je;++Ye){if(_e=Me.charCodeAt(Ye),_e>55295&&_e<57344){if(!We){if(_e>56319){(te-=3)>-1&&et.push(239,191,189);continue}else if(Ye+1===je){(te-=3)>-1&&et.push(239,191,189);continue}We=_e;continue}if(_e<56320){(te-=3)>-1&&et.push(239,191,189),We=_e;continue}_e=(We-55296<<10|_e-56320)+65536}else We&&(te-=3)>-1&&et.push(239,191,189);if(We=null,_e<128){if((te-=1)<0)break;et.push(_e)}else if(_e<2048){if((te-=2)<0)break;et.push(_e>>6|192,_e&63|128)}else if(_e<65536){if((te-=3)<0)break;et.push(_e>>12|224,_e>>6&63|128,_e&63|128)}else if(_e<1114112){if((te-=4)<0)break;et.push(_e>>18|240,_e>>12&63|128,_e>>6&63|128,_e&63|128)}else throw new Error("Invalid code point")}return et}function at(Me){const te=[];for(let _e=0;_e<Me.length;++_e)te.push(Me.charCodeAt(_e)&255);return te}function bt(Me,te){let _e,je,We;const et=[];for(let Ye=0;Ye<Me.length&&!((te-=2)<0);++Ye)_e=Me.charCodeAt(Ye),je=_e>>8,We=_e%256,et.push(We),et.push(je);return et}function jt(Me){return e.toByteArray(Je(Me))}function Ge(Me,te,_e,je){let We;for(We=0;We<je&&!(We+_e>=te.length||We>=Me.length);++We)te[We+_e]=Me[We];return We}function Qe(Me,te){return Me instanceof te||Me!=null&&Me.constructor!=null&&Me.constructor.name!=null&&Me.constructor.name===te.name}function Wt(Me){return Me!==Me}const Et=function(){const Me="0123456789abcdef",te=new Array(256);for(let _e=0;_e<16;++_e){const je=_e*16;for(let We=0;We<16;++We)te[je+We]=Me[_e]+Me[We]}return te}();function Ct(Me){return typeof BigInt>"u"?Kt:Me}function Kt(){throw new Error("BigInt not supported")}})(buffer$1);const Buffer$C=buffer$1.Buffer,Blob$1=buffer$1.Blob,BlobOptions=buffer$1.BlobOptions,Buffer$1$1=buffer$1.Buffer,File=buffer$1.File,FileOptions=buffer$1.FileOptions,INSPECT_MAX_BYTES=buffer$1.INSPECT_MAX_BYTES,SlowBuffer=buffer$1.SlowBuffer,TranscodeEncoding=buffer$1.TranscodeEncoding,atob$1=buffer$1.atob,btoa$1=buffer$1.btoa,constants$2=buffer$1.constants,isAscii=buffer$1.isAscii,isUtf8=buffer$1.isUtf8,kMaxLength=buffer$1.kMaxLength,kStringMaxLength=buffer$1.kStringMaxLength,resolveObjectURL=buffer$1.resolveObjectURL,transcode=buffer$1.transcode,dist=Object.freeze(Object.defineProperty({__proto__:null,Blob:Blob$1,BlobOptions,Buffer:Buffer$1$1,File,FileOptions,INSPECT_MAX_BYTES,SlowBuffer,TranscodeEncoding,atob:atob$1,btoa:btoa$1,constants:constants$2,default:Buffer$C,isAscii,isUtf8,kMaxLength,kStringMaxLength,resolveObjectURL,transcode},Symbol.toStringTag,{value:"Module"}));var atob=function(e){return window$1$1.atob?window$1$1.atob(e):Buffer$C.from(e,"base64").toString("binary")};function decodeB64ToUint8Array(n){for(var e=atob(n),o=new Uint8Array(e.length),l=0;l<e.length;l++)o[l]=e.charCodeAt(l);return o}/*! @name m3u8-parser @version 4.8.0 @license Apache-2.0 */var LineStream=function(n){_inheritsLoose(e,n);function e(){var l;return l=n.call(this)||this,l.buffer="",l}var o=e.prototype;return o.push=function(t){var u;for(this.buffer+=t,u=this.buffer.indexOf(`
+`);u>-1;u=this.buffer.indexOf(`
+`))this.trigger("data",this.buffer.substring(0,u)),this.buffer=this.buffer.substring(u+1)},e}(Stream),TAB="	",parseByterange=function(e){var o=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),l={};return o[1]&&(l.length=parseInt(o[1],10)),o[2]&&(l.offset=parseInt(o[2],10)),l},attributeSeparator=function(){var e="[^=]*",o='"[^"]*"|[^,]*',l="(?:"+e+")=(?:"+o+")";return new RegExp("(?:^|,)("+l+")")},parseAttributes$1=function(e){for(var o=e.split(attributeSeparator()),l={},t=o.length,u;t--;)o[t]!==""&&(u=/([^=]*)=(.*)/.exec(o[t]).slice(1),u[0]=u[0].replace(/^\s+|\s+$/g,""),u[1]=u[1].replace(/^\s+|\s+$/g,""),u[1]=u[1].replace(/^['"](.*)['"]$/g,"$1"),l[u[0]]=u[1]);return l},ParseStream=function(n){_inheritsLoose(e,n);function e(){var l;return l=n.call(this)||this,l.customParsers=[],l.tagMappers=[],l}var o=e.prototype;return o.push=function(t){var u=this,h,v;if(t=t.trim(),t.length!==0){if(t[0]!=="#"){this.trigger("data",{type:"uri",uri:t});return}var w=this.tagMappers.reduce(function(A,E){var C=E(t);return C===t?A:A.concat([C])},[t]);w.forEach(function(A){for(var E=0;E<u.customParsers.length;E++)if(u.customParsers[E].call(u,A))return;if(A.indexOf("#EXT")!==0){u.trigger("data",{type:"comment",text:A.slice(1)});return}if(A=A.replace("\r",""),h=/^#EXTM3U/.exec(A),h){u.trigger("data",{type:"tag",tagType:"m3u"});return}if(h=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(A),h){v={type:"tag",tagType:"inf"},h[1]&&(v.duration=parseFloat(h[1])),h[2]&&(v.title=h[2]),u.trigger("data",v);return}if(h=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(A),h){v={type:"tag",tagType:"targetduration"},h[1]&&(v.duration=parseInt(h[1],10)),u.trigger("data",v);return}if(h=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(A),h){v={type:"tag",tagType:"version"},h[1]&&(v.version=parseInt(h[1],10)),u.trigger("data",v);return}if(h=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(A),h){v={type:"tag",tagType:"media-sequence"},h[1]&&(v.number=parseInt(h[1],10)),u.trigger("data",v);return}if(h=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(A),h){v={type:"tag",tagType:"discontinuity-sequence"},h[1]&&(v.number=parseInt(h[1],10)),u.trigger("data",v);return}if(h=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(A),h){v={type:"tag",tagType:"playlist-type"},h[1]&&(v.playlistType=h[1]),u.trigger("data",v);return}if(h=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(A),h){v=_extends$2(parseByterange(h[1]),{type:"tag",tagType:"byterange"}),u.trigger("data",v);return}if(h=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(A),h){v={type:"tag",tagType:"allow-cache"},h[1]&&(v.allowed=!/NO/.test(h[1])),u.trigger("data",v);return}if(h=/^#EXT-X-MAP:?(.*)$/.exec(A),h){if(v={type:"tag",tagType:"map"},h[1]){var C=parseAttributes$1(h[1]);C.URI&&(v.uri=C.URI),C.BYTERANGE&&(v.byterange=parseByterange(C.BYTERANGE))}u.trigger("data",v);return}if(h=/^#EXT-X-STREAM-INF:?(.*)$/.exec(A),h){if(v={type:"tag",tagType:"stream-inf"},h[1]){if(v.attributes=parseAttributes$1(h[1]),v.attributes.RESOLUTION){var M=v.attributes.RESOLUTION.split("x"),P={};M[0]&&(P.width=parseInt(M[0],10)),M[1]&&(P.height=parseInt(M[1],10)),v.attributes.RESOLUTION=P}v.attributes.BANDWIDTH&&(v.attributes.BANDWIDTH=parseInt(v.attributes.BANDWIDTH,10)),v.attributes["FRAME-RATE"]&&(v.attributes["FRAME-RATE"]=parseFloat(v.attributes["FRAME-RATE"])),v.attributes["PROGRAM-ID"]&&(v.attributes["PROGRAM-ID"]=parseInt(v.attributes["PROGRAM-ID"],10))}u.trigger("data",v);return}if(h=/^#EXT-X-MEDIA:?(.*)$/.exec(A),h){v={type:"tag",tagType:"media"},h[1]&&(v.attributes=parseAttributes$1(h[1])),u.trigger("data",v);return}if(h=/^#EXT-X-ENDLIST/.exec(A),h){u.trigger("data",{type:"tag",tagType:"endlist"});return}if(h=/^#EXT-X-DISCONTINUITY/.exec(A),h){u.trigger("data",{type:"tag",tagType:"discontinuity"});return}if(h=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(A),h){v={type:"tag",tagType:"program-date-time"},h[1]&&(v.dateTimeString=h[1],v.dateTimeObject=new Date(h[1])),u.trigger("data",v);return}if(h=/^#EXT-X-KEY:?(.*)$/.exec(A),h){v={type:"tag",tagType:"key"},h[1]&&(v.attributes=parseAttributes$1(h[1]),v.attributes.IV&&(v.attributes.IV.substring(0,2).toLowerCase()==="0x"&&(v.attributes.IV=v.attributes.IV.substring(2)),v.attributes.IV=v.attributes.IV.match(/.{8}/g),v.attributes.IV[0]=parseInt(v.attributes.IV[0],16),v.attributes.IV[1]=parseInt(v.attributes.IV[1],16),v.attributes.IV[2]=parseInt(v.attributes.IV[2],16),v.attributes.IV[3]=parseInt(v.attributes.IV[3],16),v.attributes.IV=new Uint32Array(v.attributes.IV))),u.trigger("data",v);return}if(h=/^#EXT-X-START:?(.*)$/.exec(A),h){v={type:"tag",tagType:"start"},h[1]&&(v.attributes=parseAttributes$1(h[1]),v.attributes["TIME-OFFSET"]=parseFloat(v.attributes["TIME-OFFSET"]),v.attributes.PRECISE=/YES/.test(v.attributes.PRECISE)),u.trigger("data",v);return}if(h=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(A),h){v={type:"tag",tagType:"cue-out-cont"},h[1]?v.data=h[1]:v.data="",u.trigger("data",v);return}if(h=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(A),h){v={type:"tag",tagType:"cue-out"},h[1]?v.data=h[1]:v.data="",u.trigger("data",v);return}if(h=/^#EXT-X-CUE-IN:?(.*)?$/.exec(A),h){v={type:"tag",tagType:"cue-in"},h[1]?v.data=h[1]:v.data="",u.trigger("data",v);return}if(h=/^#EXT-X-SKIP:(.*)$/.exec(A),h&&h[1]){v={type:"tag",tagType:"skip"},v.attributes=parseAttributes$1(h[1]),v.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(v.attributes["SKIPPED-SEGMENTS"]=parseInt(v.attributes["SKIPPED-SEGMENTS"],10)),v.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(v.attributes["RECENTLY-REMOVED-DATERANGES"]=v.attributes["RECENTLY-REMOVED-DATERANGES"].split(TAB)),u.trigger("data",v);return}if(h=/^#EXT-X-PART:(.*)$/.exec(A),h&&h[1]){v={type:"tag",tagType:"part"},v.attributes=parseAttributes$1(h[1]),["DURATION"].forEach(function(I){v.attributes.hasOwnProperty(I)&&(v.attributes[I]=parseFloat(v.attributes[I]))}),["INDEPENDENT","GAP"].forEach(function(I){v.attributes.hasOwnProperty(I)&&(v.attributes[I]=/YES/.test(v.attributes[I]))}),v.attributes.hasOwnProperty("BYTERANGE")&&(v.attributes.byterange=parseByterange(v.attributes.BYTERANGE)),u.trigger("data",v);return}if(h=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(A),h&&h[1]){v={type:"tag",tagType:"server-control"},v.attributes=parseAttributes$1(h[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(I){v.attributes.hasOwnProperty(I)&&(v.attributes[I]=parseFloat(v.attributes[I]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(I){v.attributes.hasOwnProperty(I)&&(v.attributes[I]=/YES/.test(v.attributes[I]))}),u.trigger("data",v);return}if(h=/^#EXT-X-PART-INF:(.*)$/.exec(A),h&&h[1]){v={type:"tag",tagType:"part-inf"},v.attributes=parseAttributes$1(h[1]),["PART-TARGET"].forEach(function(I){v.attributes.hasOwnProperty(I)&&(v.attributes[I]=parseFloat(v.attributes[I]))}),u.trigger("data",v);return}if(h=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(A),h&&h[1]){v={type:"tag",tagType:"preload-hint"},v.attributes=parseAttributes$1(h[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(I){if(v.attributes.hasOwnProperty(I)){v.attributes[I]=parseInt(v.attributes[I],10);var j=I==="BYTERANGE-LENGTH"?"length":"offset";v.attributes.byterange=v.attributes.byterange||{},v.attributes.byterange[j]=v.attributes[I],delete v.attributes[I]}}),u.trigger("data",v);return}if(h=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(A),h&&h[1]){v={type:"tag",tagType:"rendition-report"},v.attributes=parseAttributes$1(h[1]),["LAST-MSN","LAST-PART"].forEach(function(I){v.attributes.hasOwnProperty(I)&&(v.attributes[I]=parseInt(v.attributes[I],10))}),u.trigger("data",v);return}u.trigger("data",{type:"tag",data:A.slice(4)})})}},o.addParser=function(t){var u=this,h=t.expression,v=t.customType,w=t.dataParser,A=t.segment;typeof w!="function"&&(w=function(C){return C}),this.customParsers.push(function(E){var C=h.exec(E);if(C)return u.trigger("data",{type:"custom",data:w(E),customType:v,segment:A}),!0})},o.addTagMapper=function(t){var u=t.expression,h=t.map,v=function(A){return u.test(A)?h(A):A};this.tagMappers.push(v)},e}(Stream),camelCase=function(e){return e.toLowerCase().replace(/-(\w)/g,function(o){return o[1].toUpperCase()})},camelCaseKeys=function(e){var o={};return Object.keys(e).forEach(function(l){o[camelCase(l)]=e[l]}),o},setHoldBack=function(e){var o=e.serverControl,l=e.targetDuration,t=e.partTargetDuration;if(o){var u="#EXT-X-SERVER-CONTROL",h="holdBack",v="partHoldBack",w=l&&l*3,A=t&&t*2;l&&!o.hasOwnProperty(h)&&(o[h]=w,this.trigger("info",{message:u+" defaulting HOLD-BACK to targetDuration * 3 ("+w+")."})),w&&o[h]<w&&(this.trigger("warn",{message:u+" clamping HOLD-BACK ("+o[h]+") to targetDuration * 3 ("+w+")"}),o[h]=w),t&&!o.hasOwnProperty(v)&&(o[v]=t*3,this.trigger("info",{message:u+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+o[v]+")."})),t&&o[v]<A&&(this.trigger("warn",{message:u+" clamping PART-HOLD-BACK ("+o[v]+") to partTargetDuration * 2 ("+A+")."}),o[v]=A)}},Parser=function(n){_inheritsLoose(e,n);function e(){var l;l=n.call(this)||this,l.lineStream=new LineStream,l.parseStream=new ParseStream,l.lineStream.pipe(l.parseStream);var t=_assertThisInitialized$1(l),u=[],h={},v,w,A=!1,E=function(){},C={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},M="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",P=0;l.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var I=0,j=0;return l.on("end",function(){h.uri||!h.parts&&!h.preloadHints||(!h.map&&v&&(h.map=v),!h.key&&w&&(h.key=w),!h.timeline&&typeof P=="number"&&(h.timeline=P),l.manifest.preloadSegment=h)}),l.parseStream.on("data",function(B){var F,N;({tag:function(){({version:function(){B.version&&(this.manifest.version=B.version)},"allow-cache":function(){this.manifest.allowCache=B.allowed,"allowed"in B||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var re={};"length"in B&&(h.byterange=re,re.length=B.length,"offset"in B||(B.offset=I)),"offset"in B&&(h.byterange=re,re.offset=B.offset),I=re.offset+re.length},endlist:function(){this.manifest.endList=!0},inf:function(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),B.duration>0&&(h.duration=B.duration),B.duration===0&&(h.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=u},key:function(){if(!B.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if(B.attributes.METHOD==="NONE"){w=null;return}if(!B.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if(B.attributes.KEYFORMAT==="com.apple.streamingkeydelivery"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:B.attributes};return}if(B.attributes.KEYFORMAT==="com.microsoft.playready"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:B.attributes.URI};return}if(B.attributes.KEYFORMAT===M){var re=["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"];if(re.indexOf(B.attributes.METHOD)===-1){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if(B.attributes.METHOD==="SAMPLE-AES-CENC"&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),B.attributes.URI.substring(0,23)!=="data:text/plain;base64,"){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(B.attributes.KEYID&&B.attributes.KEYID.substring(0,2)==="0x")){this.trigger("warn",{message:"invalid key ID provided for Widevine"});return}this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:B.attributes.KEYFORMAT,keyId:B.attributes.KEYID.substring(2)},pssh:decodeB64ToUint8Array(B.attributes.URI.split(",")[1])};return}B.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),w={method:B.attributes.METHOD||"AES-128",uri:B.attributes.URI},typeof B.attributes.IV<"u"&&(w.iv=B.attributes.IV)},"media-sequence":function(){if(!isFinite(B.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+B.number});return}this.manifest.mediaSequence=B.number},"discontinuity-sequence":function(){if(!isFinite(B.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+B.number});return}this.manifest.discontinuitySequence=B.number,P=B.number},"playlist-type":function(){if(!/VOD|EVENT/.test(B.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+B.playlist});return}this.manifest.playlistType=B.playlistType},map:function(){v={},B.uri&&(v.uri=B.uri),B.byterange&&(v.byterange=B.byterange),w&&(v.key=w)},"stream-inf":function(){if(this.manifest.playlists=u,this.manifest.mediaGroups=this.manifest.mediaGroups||C,!B.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}h.attributes||(h.attributes={}),_extends$2(h.attributes,B.attributes)},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||C,!(B.attributes&&B.attributes.TYPE&&B.attributes["GROUP-ID"]&&B.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}var re=this.manifest.mediaGroups[B.attributes.TYPE];re[B.attributes["GROUP-ID"]]=re[B.attributes["GROUP-ID"]]||{},F=re[B.attributes["GROUP-ID"]],N={default:/yes/i.test(B.attributes.DEFAULT)},N.default?N.autoselect=!0:N.autoselect=/yes/i.test(B.attributes.AUTOSELECT),B.attributes.LANGUAGE&&(N.language=B.attributes.LANGUAGE),B.attributes.URI&&(N.uri=B.attributes.URI),B.attributes["INSTREAM-ID"]&&(N.instreamId=B.attributes["INSTREAM-ID"]),B.attributes.CHARACTERISTICS&&(N.characteristics=B.attributes.CHARACTERISTICS),B.attributes.FORCED&&(N.forced=/yes/i.test(B.attributes.FORCED)),F[B.attributes.NAME]=N},discontinuity:function(){P+=1,h.discontinuity=!0,this.manifest.discontinuityStarts.push(u.length)},"program-date-time":function(){typeof this.manifest.dateTimeString>"u"&&(this.manifest.dateTimeString=B.dateTimeString,this.manifest.dateTimeObject=B.dateTimeObject),h.dateTimeString=B.dateTimeString,h.dateTimeObject=B.dateTimeObject},targetduration:function(){if(!isFinite(B.duration)||B.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+B.duration});return}this.manifest.targetDuration=B.duration,setHoldBack.call(this,this.manifest)},start:function(){if(!B.attributes||isNaN(B.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:B.attributes["TIME-OFFSET"],precise:B.attributes.PRECISE}},"cue-out":function(){h.cueOut=B.data},"cue-out-cont":function(){h.cueOutCont=B.data},"cue-in":function(){h.cueIn=B.data},skip:function(){this.manifest.skip=camelCaseKeys(B.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",B.attributes,["SKIPPED-SEGMENTS"])},part:function(){var re=this;A=!0;var fe=this.manifest.segments.length,V=camelCaseKeys(B.attributes);h.parts=h.parts||[],h.parts.push(V),V.byterange&&(V.byterange.hasOwnProperty("offset")||(V.byterange.offset=j),j=V.byterange.offset+V.byterange.length);var le=h.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+le+" for segment #"+fe,B.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach(function(he,ye){he.hasOwnProperty("lastPart")||re.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+ye+" lacks required attribute(s): LAST-PART"})})},"server-control":function(){var re=this.manifest.serverControl=camelCaseKeys(B.attributes);re.hasOwnProperty("canBlockReload")||(re.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),setHoldBack.call(this,this.manifest),re.canSkipDateranges&&!re.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var re=this.manifest.segments.length,fe=camelCaseKeys(B.attributes),V=fe.type&&fe.type==="PART";h.preloadHints=h.preloadHints||[],h.preloadHints.push(fe),fe.byterange&&(fe.byterange.hasOwnProperty("offset")||(fe.byterange.offset=V?j:0,V&&(j=fe.byterange.offset+fe.byterange.length)));var le=h.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+le+" for segment #"+re,B.attributes,["TYPE","URI"]),!!fe.type)for(var he=0;he<h.preloadHints.length-1;he++){var ye=h.preloadHints[he];ye.type&&ye.type===fe.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+le+" for segment #"+re+" has the same TYPE "+fe.type+" as preload hint #"+he})}},"rendition-report":function(){var re=camelCaseKeys(B.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(re);var fe=this.manifest.renditionReports.length-1,V=["LAST-MSN","URI"];A&&V.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+fe,B.attributes,V)},"part-inf":function(){this.manifest.partInf=camelCaseKeys(B.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",B.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),setHoldBack.call(this,this.manifest)}}[B.tagType]||E).call(t)},uri:function(){h.uri=B.uri,u.push(h),this.manifest.targetDuration&&!("duration"in h)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),h.duration=this.manifest.targetDuration),w&&(h.key=w),h.timeline=P,v&&(h.map=v),j=0,h={}},comment:function(){},custom:function(){B.segment?(h.custom=h.custom||{},h.custom[B.customType]=B.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[B.customType]=B.data)}})[B.type].call(t)}),l}var o=e.prototype;return o.warnOnMissingAttributes_=function(t,u,h){var v=[];h.forEach(function(w){u.hasOwnProperty(w)||v.push(w)}),v.length&&this.trigger("warn",{message:t+" lacks required attribute(s): "+v.join(", ")})},o.push=function(t){this.lineStream.push(t)},o.end=function(){this.lineStream.push(`
+`),this.trigger("end")},o.addParser=function(t){this.parseStream.addParser(t)},o.addTagMapper=function(t){this.parseStream.addTagMapper(t)},e}(Stream),regexs={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},mediaTypes=["video","audio","text"],upperMediaTypes=["Video","Audio","Text"],translateLegacyCodec=function(e){return e&&e.replace(/avc1\.(\d+)\.(\d+)/i,function(o,l,t){var u=("00"+Number(l).toString(16)).slice(-2),h=("00"+Number(t).toString(16)).slice(-2);return"avc1."+u+"00"+h})},parseCodecs=function(e){e===void 0&&(e="");var o=e.split(","),l=[];return o.forEach(function(t){t=t.trim();var u;mediaTypes.forEach(function(h){var v=regexs[h].exec(t.toLowerCase());if(!(!v||v.length<=1)){u=h;var w=t.substring(0,v[1].length),A=t.replace(w,"");l.push({type:w,details:A,mediaType:h})}}),u||l.push({type:t,details:"",mediaType:"unknown"})}),l},codecsFromDefault=function(e,o){if(!e.mediaGroups.AUDIO||!o)return null;var l=e.mediaGroups.AUDIO[o];if(!l)return null;for(var t in l){var u=l[t];if(u.default&&u.playlists)return parseCodecs(u.playlists[0].attributes.CODECS)}return null},isAudioCodec=function(e){return e===void 0&&(e=""),regexs.audio.test(e.trim().toLowerCase())},isTextCodec=function(e){return e===void 0&&(e=""),regexs.text.test(e.trim().toLowerCase())},getMimeForCodec=function(e){if(!(!e||typeof e!="string")){var o=e.toLowerCase().split(",").map(function(u){return translateLegacyCodec(u.trim())}),l="video";o.length===1&&isAudioCodec(o[0])?l="audio":o.length===1&&isTextCodec(o[0])&&(l="application");var t="mp4";return o.every(function(u){return regexs.mp4.test(u)})?t="mp4":o.every(function(u){return regexs.webm.test(u)})?t="webm":o.every(function(u){return regexs.ogg.test(u)})&&(t="ogg"),l+"/"+t+';codecs="'+e+'"'}},browserSupportsCodec=function(e){return e===void 0&&(e=""),window$1$1.MediaSource&&window$1$1.MediaSource.isTypeSupported&&window$1$1.MediaSource.isTypeSupported(getMimeForCodec(e))||!1},muxerSupportsCodec=function(e){return e===void 0&&(e=""),e.toLowerCase().split(",").every(function(o){o=o.trim();for(var l=0;l<upperMediaTypes.length;l++){var t=upperMediaTypes[l];if(regexs["muxer"+t].test(o))return!0}return!1})},DEFAULT_AUDIO_CODEC="mp4a.40.2",DEFAULT_VIDEO_CODEC="avc1.4d400d",MPEGURL_REGEX=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,DASH_REGEX=/^application\/dash\+xml/i,simpleTypeFromSourceType=function(e){return MPEGURL_REGEX.test(e)?"hls":DASH_REGEX.test(e)?"dash":e==="application/vnd.videojs.vhs+json"?"vhs-json":null},countBits=function(e){return e.toString(2).length},countBytes=function(e){return Math.ceil(countBits(e)/8)},isArrayBufferView=function(e){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},isTypedArray$1=function(e){return isArrayBufferView(e)},toUint8=function(e){return e instanceof Uint8Array?e:(!Array.isArray(e)&&!isTypedArray$1(e)&&!(e instanceof ArrayBuffer)&&(typeof e!="number"||typeof e=="number"&&e!==e?e=0:e=[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},BigInt$1=window$1$1.BigInt||Number,BYTE_TABLE=[BigInt$1("0x1"),BigInt$1("0x100"),BigInt$1("0x10000"),BigInt$1("0x1000000"),BigInt$1("0x100000000"),BigInt$1("0x10000000000"),BigInt$1("0x1000000000000"),BigInt$1("0x100000000000000"),BigInt$1("0x10000000000000000")];(function(){var n=new Uint16Array([65484]),e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);return e[0]===255?"big":e[0]===204?"little":"unknown"})();var bytesToNumber=function(e,o){var l=o===void 0?{}:o,t=l.signed,u=t===void 0?!1:t,h=l.le,v=h===void 0?!1:h;e=toUint8(e);var w=v?"reduce":"reduceRight",A=e[w]?e[w]:Array.prototype[w],E=A.call(e,function(M,P,I){var j=v?I:Math.abs(I+1-e.length);return M+BigInt$1(P)*BYTE_TABLE[j]},BigInt$1(0));if(u){var C=BYTE_TABLE[e.length]/BigInt$1(2)-BigInt$1(1);E=BigInt$1(E),E>C&&(E-=C,E-=C,E-=BigInt$1(2))}return Number(E)},numberToBytes=function(e,o){var l={},t=l.le,u=t===void 0?!1:t;(typeof e!="bigint"&&typeof e!="number"||typeof e=="number"&&e!==e)&&(e=0),e=BigInt$1(e);for(var h=countBytes(e),v=new Uint8Array(new ArrayBuffer(h)),w=0;w<h;w++){var A=u?w:Math.abs(w+1-v.length);v[A]=Number(e/BYTE_TABLE[w]&BigInt$1(255)),e<0&&(v[A]=Math.abs(~v[A]),v[A]-=w===0?1:2)}return v},stringToBytes=function(e,o){if(typeof e!="string"&&e&&typeof e.toString=="function"&&(e=e.toString()),typeof e!="string")return new Uint8Array;o||(e=unescape(encodeURIComponent(e)));for(var l=new Uint8Array(e.length),t=0;t<e.length;t++)l[t]=e.charCodeAt(t);return l},concatTypedArrays=function(){for(var e=arguments.length,o=new Array(e),l=0;l<e;l++)o[l]=arguments[l];if(o=o.filter(function(v){return v&&(v.byteLength||v.length)&&typeof v!="string"}),o.length<=1)return toUint8(o[0]);var t=o.reduce(function(v,w,A){return v+(w.byteLength||w.length)},0),u=new Uint8Array(t),h=0;return o.forEach(function(v){v=toUint8(v),u.set(v,h),h+=v.byteLength}),u},bytesMatch=function(e,o,l){var t=l===void 0?{}:l,u=t.offset,h=u===void 0?0:u,v=t.mask,w=v===void 0?[]:v;e=toUint8(e),o=toUint8(o);var A=o.every?o.every:Array.prototype.every;return o.length&&e.length-h>=o.length&&A.call(o,function(E,C){var M=w[C]?w[C]&e[h+C]:e[h+C];return E===M})},forEachMediaGroup$1=function(e,o,l){o.forEach(function(t){for(var u in e.mediaGroups[t])for(var h in e.mediaGroups[t][u]){var v=e.mediaGroups[t][u][h];l(v,t,u,h)}})},dom$1={},conventions$2={};function find$1(n,e,o){if(o===void 0&&(o=Array.prototype),n&&typeof o.find=="function")return o.find.call(n,e);for(var l=0;l<n.length;l++)if(Object.prototype.hasOwnProperty.call(n,l)){var t=n[l];if(e.call(void 0,t,l,n))return t}}function freeze(n,e){return e===void 0&&(e=Object),e&&typeof e.freeze=="function"?e.freeze(n):n}function assign$1(n,e){if(n===null||typeof n!="object")throw new TypeError("target is not an object");for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}var MIME_TYPE=freeze({HTML:"text/html",isHTML:function(n){return n===MIME_TYPE.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),NAMESPACE$3=freeze({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(n){return n===NAMESPACE$3.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});conventions$2.assign=assign$1,conventions$2.find=find$1,conventions$2.freeze=freeze,conventions$2.MIME_TYPE=MIME_TYPE,conventions$2.NAMESPACE=NAMESPACE$3;var conventions$1=conventions$2,find=conventions$1.find,NAMESPACE$2=conventions$1.NAMESPACE;function notEmptyString(n){return n!==""}function splitOnASCIIWhitespace(n){return n?n.split(/[\t\n\f\r ]+/).filter(notEmptyString):[]}function orderedSetReducer(n,e){return n.hasOwnProperty(e)||(n[e]=!0),n}function toOrderedSet(n){if(!n)return[];var e=splitOnASCIIWhitespace(n);return Object.keys(e.reduce(orderedSetReducer,{}))}function arrayIncludes(n){return function(e){return n&&n.indexOf(e)!==-1}}function copy$1(n,e){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}function _extends(n,e){var o=n.prototype;if(!(o instanceof e)){let l=function(){};l.prototype=e.prototype,l=new l,copy$1(o,l),n.prototype=o=l}o.constructor!=n&&(typeof n!="function"&&console.error("unknown Class:"+n),o.constructor=n)}var NodeType={},ELEMENT_NODE=NodeType.ELEMENT_NODE=1,ATTRIBUTE_NODE=NodeType.ATTRIBUTE_NODE=2,TEXT_NODE=NodeType.TEXT_NODE=3,CDATA_SECTION_NODE=NodeType.CDATA_SECTION_NODE=4,ENTITY_REFERENCE_NODE=NodeType.ENTITY_REFERENCE_NODE=5,ENTITY_NODE=NodeType.ENTITY_NODE=6,PROCESSING_INSTRUCTION_NODE=NodeType.PROCESSING_INSTRUCTION_NODE=7,COMMENT_NODE=NodeType.COMMENT_NODE=8,DOCUMENT_NODE=NodeType.DOCUMENT_NODE=9,DOCUMENT_TYPE_NODE=NodeType.DOCUMENT_TYPE_NODE=10,DOCUMENT_FRAGMENT_NODE=NodeType.DOCUMENT_FRAGMENT_NODE=11,NOTATION_NODE=NodeType.NOTATION_NODE=12,ExceptionCode={},ExceptionMessage={};ExceptionCode.INDEX_SIZE_ERR=(ExceptionMessage[1]="Index size error",1),ExceptionCode.DOMSTRING_SIZE_ERR=(ExceptionMessage[2]="DOMString size error",2);var HIERARCHY_REQUEST_ERR=ExceptionCode.HIERARCHY_REQUEST_ERR=(ExceptionMessage[3]="Hierarchy request error",3);ExceptionCode.WRONG_DOCUMENT_ERR=(ExceptionMessage[4]="Wrong document",4),ExceptionCode.INVALID_CHARACTER_ERR=(ExceptionMessage[5]="Invalid character",5),ExceptionCode.NO_DATA_ALLOWED_ERR=(ExceptionMessage[6]="No data allowed",6),ExceptionCode.NO_MODIFICATION_ALLOWED_ERR=(ExceptionMessage[7]="No modification allowed",7);var NOT_FOUND_ERR=ExceptionCode.NOT_FOUND_ERR=(ExceptionMessage[8]="Not found",8);ExceptionCode.NOT_SUPPORTED_ERR=(ExceptionMessage[9]="Not supported",9);var INUSE_ATTRIBUTE_ERR=ExceptionCode.INUSE_ATTRIBUTE_ERR=(ExceptionMessage[10]="Attribute in use",10);ExceptionCode.INVALID_STATE_ERR=(ExceptionMessage[11]="Invalid state",11),ExceptionCode.SYNTAX_ERR=(ExceptionMessage[12]="Syntax error",12),ExceptionCode.INVALID_MODIFICATION_ERR=(ExceptionMessage[13]="Invalid modification",13),ExceptionCode.NAMESPACE_ERR=(ExceptionMessage[14]="Invalid namespace",14),ExceptionCode.INVALID_ACCESS_ERR=(ExceptionMessage[15]="Invalid access",15);function DOMException(n,e){if(e instanceof Error)var o=e;else o=this,Error.call(this,ExceptionMessage[n]),this.message=ExceptionMessage[n],Error.captureStackTrace&&Error.captureStackTrace(this,DOMException);return o.code=n,e&&(this.message=this.message+": "+e),o}DOMException.prototype=Error.prototype,copy$1(ExceptionCode,DOMException);function NodeList(){}NodeList.prototype={length:0,item:function(n){return n>=0&&n<this.length?this[n]:null},toString:function(n,e){for(var o=[],l=0;l<this.length;l++)serializeToString(this[l],o,n,e);return o.join("")},filter:function(n){return Array.prototype.filter.call(this,n)},indexOf:function(n){return Array.prototype.indexOf.call(this,n)}};function LiveNodeList(n,e){this._node=n,this._refresh=e,_updateLiveList(this)}function _updateLiveList(n){var e=n._node._inc||n._node.ownerDocument._inc;if(n._inc!==e){var o=n._refresh(n._node);if(__set__(n,"length",o.length),!n.$$length||o.length<n.$$length)for(var l=o.length;l in n;l++)Object.prototype.hasOwnProperty.call(n,l)&&delete n[l];copy$1(o,n),n._inc=e}}LiveNodeList.prototype.item=function(n){return _updateLiveList(this),this[n]||null},_extends(LiveNodeList,NodeList);function NamedNodeMap(){}function _findNodeIndex(n,e){for(var o=n.length;o--;)if(n[o]===e)return o}function _addNamedNode(n,e,o,l){if(l?e[_findNodeIndex(e,l)]=o:e[e.length++]=o,n){o.ownerElement=n;var t=n.ownerDocument;t&&(l&&_onRemoveAttribute(t,n,l),_onAddAttribute(t,n,o))}}function _removeNamedNode(n,e,o){var l=_findNodeIndex(e,o);if(l>=0){for(var t=e.length-1;l<t;)e[l]=e[++l];if(e.length=t,n){var u=n.ownerDocument;u&&(_onRemoveAttribute(u,n,o),o.ownerElement=null)}}else throw new DOMException(NOT_FOUND_ERR,new Error(n.tagName+"@"+o))}NamedNodeMap.prototype={length:0,item:NodeList.prototype.item,getNamedItem:function(n){for(var e=this.length;e--;){var o=this[e];if(o.nodeName==n)return o}},setNamedItem:function(n){var e=n.ownerElement;if(e&&e!=this._ownerElement)throw new DOMException(INUSE_ATTRIBUTE_ERR);var o=this.getNamedItem(n.nodeName);return _addNamedNode(this._ownerElement,this,n,o),o},setNamedItemNS:function(n){var e=n.ownerElement,o;if(e&&e!=this._ownerElement)throw new DOMException(INUSE_ATTRIBUTE_ERR);return o=this.getNamedItemNS(n.namespaceURI,n.localName),_addNamedNode(this._ownerElement,this,n,o),o},removeNamedItem:function(n){var e=this.getNamedItem(n);return _removeNamedNode(this._ownerElement,this,e),e},removeNamedItemNS:function(n,e){var o=this.getNamedItemNS(n,e);return _removeNamedNode(this._ownerElement,this,o),o},getNamedItemNS:function(n,e){for(var o=this.length;o--;){var l=this[o];if(l.localName==e&&l.namespaceURI==n)return l}return null}};function DOMImplementation$1(){}DOMImplementation$1.prototype={hasFeature:function(n,e){return!0},createDocument:function(n,e,o){var l=new Document;if(l.implementation=this,l.childNodes=new NodeList,l.doctype=o||null,o&&l.appendChild(o),e){var t=l.createElementNS(n,e);l.appendChild(t)}return l},createDocumentType:function(n,e,o){var l=new DocumentType;return l.name=n,l.nodeName=n,l.publicId=e||"",l.systemId=o||"",l}};function Node(){}Node.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(n,e){return _insertBefore(this,n,e)},replaceChild:function(n,e){_insertBefore(this,n,e,assertPreReplacementValidityInDocument),e&&this.removeChild(e)},removeChild:function(n){return _removeChild(this,n)},appendChild:function(n){return this.insertBefore(n,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(n){return cloneNode(this.ownerDocument||this,this,n)},normalize:function(){for(var n=this.firstChild;n;){var e=n.nextSibling;e&&e.nodeType==TEXT_NODE&&n.nodeType==TEXT_NODE?(this.removeChild(e),n.appendData(e.data)):(n.normalize(),n=e)}},isSupported:function(n,e){return this.ownerDocument.implementation.hasFeature(n,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(n){for(var e=this;e;){var o=e._nsMap;if(o){for(var l in o)if(Object.prototype.hasOwnProperty.call(o,l)&&o[l]===n)return l}e=e.nodeType==ATTRIBUTE_NODE?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(n){for(var e=this;e;){var o=e._nsMap;if(o&&Object.prototype.hasOwnProperty.call(o,n))return o[n];e=e.nodeType==ATTRIBUTE_NODE?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(n){var e=this.lookupPrefix(n);return e==null}};function _xmlEncoder(n){return n=="<"&&"&lt;"||n==">"&&"&gt;"||n=="&"&&"&amp;"||n=='"'&&"&quot;"||"&#"+n.charCodeAt()+";"}copy$1(NodeType,Node),copy$1(NodeType,Node.prototype);function _visitNode(n,e){if(e(n))return!0;if(n=n.firstChild)do if(_visitNode(n,e))return!0;while(n=n.nextSibling)}function Document(){this.ownerDocument=this}function _onAddAttribute(n,e,o){n&&n._inc++;var l=o.namespaceURI;l===NAMESPACE$2.XMLNS&&(e._nsMap[o.prefix?o.localName:""]=o.value)}function _onRemoveAttribute(n,e,o,l){n&&n._inc++;var t=o.namespaceURI;t===NAMESPACE$2.XMLNS&&delete e._nsMap[o.prefix?o.localName:""]}function _onUpdateChild(n,e,o){if(n&&n._inc){n._inc++;var l=e.childNodes;if(o)l[l.length++]=o;else{for(var t=e.firstChild,u=0;t;)l[u++]=t,t=t.nextSibling;l.length=u,delete l[l.length]}}}function _removeChild(n,e){var o=e.previousSibling,l=e.nextSibling;return o?o.nextSibling=l:n.firstChild=l,l?l.previousSibling=o:n.lastChild=o,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,_onUpdateChild(n.ownerDocument,n),e}function hasValidParentNodeType(n){return n&&(n.nodeType===Node.DOCUMENT_NODE||n.nodeType===Node.DOCUMENT_FRAGMENT_NODE||n.nodeType===Node.ELEMENT_NODE)}function hasInsertableNodeType(n){return n&&(isElementNode(n)||isTextNode$1(n)||isDocTypeNode(n)||n.nodeType===Node.DOCUMENT_FRAGMENT_NODE||n.nodeType===Node.COMMENT_NODE||n.nodeType===Node.PROCESSING_INSTRUCTION_NODE)}function isDocTypeNode(n){return n&&n.nodeType===Node.DOCUMENT_TYPE_NODE}function isElementNode(n){return n&&n.nodeType===Node.ELEMENT_NODE}function isTextNode$1(n){return n&&n.nodeType===Node.TEXT_NODE}function isElementInsertionPossible(n,e){var o=n.childNodes||[];if(find(o,isElementNode)||isDocTypeNode(e))return!1;var l=find(o,isDocTypeNode);return!(e&&l&&o.indexOf(l)>o.indexOf(e))}function isElementReplacementPossible(n,e){var o=n.childNodes||[];function l(u){return isElementNode(u)&&u!==e}if(find(o,l))return!1;var t=find(o,isDocTypeNode);return!(e&&t&&o.indexOf(t)>o.indexOf(e))}function assertPreInsertionValidity1to5(n,e,o){if(!hasValidParentNodeType(n))throw new DOMException(HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+n.nodeType);if(o&&o.parentNode!==n)throw new DOMException(NOT_FOUND_ERR,"child not in parent");if(!hasInsertableNodeType(e)||isDocTypeNode(e)&&n.nodeType!==Node.DOCUMENT_NODE)throw new DOMException(HIERARCHY_REQUEST_ERR,"Unexpected node type "+e.nodeType+" for parent node type "+n.nodeType)}function assertPreInsertionValidityInDocument(n,e,o){var l=n.childNodes||[],t=e.childNodes||[];if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var u=t.filter(isElementNode);if(u.length>1||find(t,isTextNode$1))throw new DOMException(HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!isElementInsertionPossible(n,o))throw new DOMException(HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(isElementNode(e)&&!isElementInsertionPossible(n,o))throw new DOMException(HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(isDocTypeNode(e)){if(find(l,isDocTypeNode))throw new DOMException(HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var h=find(l,isElementNode);if(o&&l.indexOf(h)<l.indexOf(o))throw new DOMException(HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!o&&h)throw new DOMException(HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function assertPreReplacementValidityInDocument(n,e,o){var l=n.childNodes||[],t=e.childNodes||[];if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var u=t.filter(isElementNode);if(u.length>1||find(t,isTextNode$1))throw new DOMException(HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(u.length===1&&!isElementReplacementPossible(n,o))throw new DOMException(HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(isElementNode(e)&&!isElementReplacementPossible(n,o))throw new DOMException(HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(isDocTypeNode(e)){if(find(l,function(w){return isDocTypeNode(w)&&w!==o}))throw new DOMException(HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var h=find(l,isElementNode);if(o&&l.indexOf(h)<l.indexOf(o))throw new DOMException(HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function _insertBefore(n,e,o,l){assertPreInsertionValidity1to5(n,e,o),n.nodeType===Node.DOCUMENT_NODE&&(l||assertPreInsertionValidityInDocument)(n,e,o);var t=e.parentNode;if(t&&t.removeChild(e),e.nodeType===DOCUMENT_FRAGMENT_NODE){var u=e.firstChild;if(u==null)return e;var h=e.lastChild}else u=h=e;var v=o?o.previousSibling:n.lastChild;u.previousSibling=v,h.nextSibling=o,v?v.nextSibling=u:n.firstChild=u,o==null?n.lastChild=h:o.previousSibling=h;do u.parentNode=n;while(u!==h&&(u=u.nextSibling));return _onUpdateChild(n.ownerDocument||n,n),e.nodeType==DOCUMENT_FRAGMENT_NODE&&(e.firstChild=e.lastChild=null),e}function _appendSingleChild(n,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=n,e.previousSibling=n.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:n.firstChild=e,n.lastChild=e,_onUpdateChild(n.ownerDocument,n,e),e}Document.prototype={nodeName:"#document",nodeType:DOCUMENT_NODE,doctype:null,documentElement:null,_inc:1,insertBefore:function(n,e){if(n.nodeType==DOCUMENT_FRAGMENT_NODE){for(var o=n.firstChild;o;){var l=o.nextSibling;this.insertBefore(o,e),o=l}return n}return _insertBefore(this,n,e),n.ownerDocument=this,this.documentElement===null&&n.nodeType===ELEMENT_NODE&&(this.documentElement=n),n},removeChild:function(n){return this.documentElement==n&&(this.documentElement=null),_removeChild(this,n)},replaceChild:function(n,e){_insertBefore(this,n,e,assertPreReplacementValidityInDocument),n.ownerDocument=this,e&&this.removeChild(e),isElementNode(n)&&(this.documentElement=n)},importNode:function(n,e){return importNode(this,n,e)},getElementById:function(n){var e=null;return _visitNode(this.documentElement,function(o){if(o.nodeType==ELEMENT_NODE&&o.getAttribute("id")==n)return e=o,!0}),e},getElementsByClassName:function(n){var e=toOrderedSet(n);return new LiveNodeList(this,function(o){var l=[];return e.length>0&&_visitNode(o.documentElement,function(t){if(t!==o&&t.nodeType===ELEMENT_NODE){var u=t.getAttribute("class");if(u){var h=n===u;if(!h){var v=toOrderedSet(u);h=e.every(arrayIncludes(v))}h&&l.push(t)}}}),l})},createElement:function(n){var e=new Element;e.ownerDocument=this,e.nodeName=n,e.tagName=n,e.localName=n,e.childNodes=new NodeList;var o=e.attributes=new NamedNodeMap;return o._ownerElement=e,e},createDocumentFragment:function(){var n=new DocumentFragment;return n.ownerDocument=this,n.childNodes=new NodeList,n},createTextNode:function(n){var e=new Text;return e.ownerDocument=this,e.appendData(n),e},createComment:function(n){var e=new Comment;return e.ownerDocument=this,e.appendData(n),e},createCDATASection:function(n){var e=new CDATASection;return e.ownerDocument=this,e.appendData(n),e},createProcessingInstruction:function(n,e){var o=new ProcessingInstruction;return o.ownerDocument=this,o.tagName=o.nodeName=o.target=n,o.nodeValue=o.data=e,o},createAttribute:function(n){var e=new Attr;return e.ownerDocument=this,e.name=n,e.nodeName=n,e.localName=n,e.specified=!0,e},createEntityReference:function(n){var e=new EntityReference;return e.ownerDocument=this,e.nodeName=n,e},createElementNS:function(n,e){var o=new Element,l=e.split(":"),t=o.attributes=new NamedNodeMap;return o.childNodes=new NodeList,o.ownerDocument=this,o.nodeName=e,o.tagName=e,o.namespaceURI=n,l.length==2?(o.prefix=l[0],o.localName=l[1]):o.localName=e,t._ownerElement=o,o},createAttributeNS:function(n,e){var o=new Attr,l=e.split(":");return o.ownerDocument=this,o.nodeName=e,o.name=e,o.namespaceURI=n,o.specified=!0,l.length==2?(o.prefix=l[0],o.localName=l[1]):o.localName=e,o}},_extends(Document,Node);function Element(){this._nsMap={}}Element.prototype={nodeType:ELEMENT_NODE,hasAttribute:function(n){return this.getAttributeNode(n)!=null},getAttribute:function(n){var e=this.getAttributeNode(n);return e&&e.value||""},getAttributeNode:function(n){return this.attributes.getNamedItem(n)},setAttribute:function(n,e){var o=this.ownerDocument.createAttribute(n);o.value=o.nodeValue=""+e,this.setAttributeNode(o)},removeAttribute:function(n){var e=this.getAttributeNode(n);e&&this.removeAttributeNode(e)},appendChild:function(n){return n.nodeType===DOCUMENT_FRAGMENT_NODE?this.insertBefore(n,null):_appendSingleChild(this,n)},setAttributeNode:function(n){return this.attributes.setNamedItem(n)},setAttributeNodeNS:function(n){return this.attributes.setNamedItemNS(n)},removeAttributeNode:function(n){return this.attributes.removeNamedItem(n.nodeName)},removeAttributeNS:function(n,e){var o=this.getAttributeNodeNS(n,e);o&&this.removeAttributeNode(o)},hasAttributeNS:function(n,e){return this.getAttributeNodeNS(n,e)!=null},getAttributeNS:function(n,e){var o=this.getAttributeNodeNS(n,e);return o&&o.value||""},setAttributeNS:function(n,e,o){var l=this.ownerDocument.createAttributeNS(n,e);l.value=l.nodeValue=""+o,this.setAttributeNode(l)},getAttributeNodeNS:function(n,e){return this.attributes.getNamedItemNS(n,e)},getElementsByTagName:function(n){return new LiveNodeList(this,function(e){var o=[];return _visitNode(e,function(l){l!==e&&l.nodeType==ELEMENT_NODE&&(n==="*"||l.tagName==n)&&o.push(l)}),o})},getElementsByTagNameNS:function(n,e){return new LiveNodeList(this,function(o){var l=[];return _visitNode(o,function(t){t!==o&&t.nodeType===ELEMENT_NODE&&(n==="*"||t.namespaceURI===n)&&(e==="*"||t.localName==e)&&l.push(t)}),l})}},Document.prototype.getElementsByTagName=Element.prototype.getElementsByTagName,Document.prototype.getElementsByTagNameNS=Element.prototype.getElementsByTagNameNS,_extends(Element,Node);function Attr(){}Attr.prototype.nodeType=ATTRIBUTE_NODE,_extends(Attr,Node);function CharacterData(){}CharacterData.prototype={data:"",substringData:function(n,e){return this.data.substring(n,n+e)},appendData:function(n){n=this.data+n,this.nodeValue=this.data=n,this.length=n.length},insertData:function(n,e){this.replaceData(n,0,e)},appendChild:function(n){throw new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR])},deleteData:function(n,e){this.replaceData(n,e,"")},replaceData:function(n,e,o){var l=this.data.substring(0,n),t=this.data.substring(n+e);o=l+o+t,this.nodeValue=this.data=o,this.length=o.length}},_extends(CharacterData,Node);function Text(){}Text.prototype={nodeName:"#text",nodeType:TEXT_NODE,splitText:function(n){var e=this.data,o=e.substring(n);e=e.substring(0,n),this.data=this.nodeValue=e,this.length=e.length;var l=this.ownerDocument.createTextNode(o);return this.parentNode&&this.parentNode.insertBefore(l,this.nextSibling),l}},_extends(Text,CharacterData);function Comment(){}Comment.prototype={nodeName:"#comment",nodeType:COMMENT_NODE},_extends(Comment,CharacterData);function CDATASection(){}CDATASection.prototype={nodeName:"#cdata-section",nodeType:CDATA_SECTION_NODE},_extends(CDATASection,CharacterData);function DocumentType(){}DocumentType.prototype.nodeType=DOCUMENT_TYPE_NODE,_extends(DocumentType,Node);function Notation(){}Notation.prototype.nodeType=NOTATION_NODE,_extends(Notation,Node);function Entity(){}Entity.prototype.nodeType=ENTITY_NODE,_extends(Entity,Node);function EntityReference(){}EntityReference.prototype.nodeType=ENTITY_REFERENCE_NODE,_extends(EntityReference,Node);function DocumentFragment(){}DocumentFragment.prototype.nodeName="#document-fragment",DocumentFragment.prototype.nodeType=DOCUMENT_FRAGMENT_NODE,_extends(DocumentFragment,Node);function ProcessingInstruction(){}ProcessingInstruction.prototype.nodeType=PROCESSING_INSTRUCTION_NODE,_extends(ProcessingInstruction,Node);function XMLSerializer(){}XMLSerializer.prototype.serializeToString=function(n,e,o){return nodeSerializeToString.call(n,e,o)},Node.prototype.toString=nodeSerializeToString;function nodeSerializeToString(n,e){var o=[],l=this.nodeType==9&&this.documentElement||this,t=l.prefix,u=l.namespaceURI;if(u&&t==null){var t=l.lookupPrefix(u);if(t==null)var h=[{namespace:u,prefix:null}]}return serializeToString(this,o,n,e,h),o.join("")}function needNamespaceDefine(n,e,o){var l=n.prefix||"",t=n.namespaceURI;if(!t||l==="xml"&&t===NAMESPACE$2.XML||t===NAMESPACE$2.XMLNS)return!1;for(var u=o.length;u--;){var h=o[u];if(h.prefix===l)return h.namespace!==t}return!0}function addSerializedAttribute(n,e,o){n.push(" ",e,'="',o.replace(/[<>&"\t\n\r]/g,_xmlEncoder),'"')}function serializeToString(n,e,o,l,t){if(t||(t=[]),l)if(n=l(n),n){if(typeof n=="string"){e.push(n);return}}else return;switch(n.nodeType){case ELEMENT_NODE:var u=n.attributes,h=u.length,F=n.firstChild,v=n.tagName;o=NAMESPACE$2.isHTML(n.namespaceURI)||o;var w=v;if(!o&&!n.prefix&&n.namespaceURI){for(var A,E=0;E<u.length;E++)if(u.item(E).name==="xmlns"){A=u.item(E).value;break}if(!A)for(var C=t.length-1;C>=0;C--){var M=t[C];if(M.prefix===""&&M.namespace===n.namespaceURI){A=M.namespace;break}}if(A!==n.namespaceURI)for(var C=t.length-1;C>=0;C--){var M=t[C];if(M.namespace===n.namespaceURI){M.prefix&&(w=M.prefix+":"+v);break}}}e.push("<",w);for(var P=0;P<h;P++){var I=u.item(P);I.prefix=="xmlns"?t.push({prefix:I.localName,namespace:I.value}):I.nodeName=="xmlns"&&t.push({prefix:"",namespace:I.value})}for(var P=0;P<h;P++){var I=u.item(P);if(needNamespaceDefine(I,o,t)){var j=I.prefix||"",B=I.namespaceURI;addSerializedAttribute(e,j?"xmlns:"+j:"xmlns",B),t.push({prefix:j,namespace:B})}serializeToString(I,e,o,l,t)}if(v===w&&needNamespaceDefine(n,o,t)){var j=n.prefix||"",B=n.namespaceURI;addSerializedAttribute(e,j?"xmlns:"+j:"xmlns",B),t.push({prefix:j,namespace:B})}if(F||o&&!/^(?:meta|link|img|br|hr|input)$/i.test(v)){if(e.push(">"),o&&/^script$/i.test(v))for(;F;)F.data?e.push(F.data):serializeToString(F,e,o,l,t.slice()),F=F.nextSibling;else for(;F;)serializeToString(F,e,o,l,t.slice()),F=F.nextSibling;e.push("</",w,">")}else e.push("/>");return;case DOCUMENT_NODE:case DOCUMENT_FRAGMENT_NODE:for(var F=n.firstChild;F;)serializeToString(F,e,o,l,t.slice()),F=F.nextSibling;return;case ATTRIBUTE_NODE:return addSerializedAttribute(e,n.name,n.value);case TEXT_NODE:return e.push(n.data.replace(/[<&>]/g,_xmlEncoder));case CDATA_SECTION_NODE:return e.push("<![CDATA[",n.data,"]]>");case COMMENT_NODE:return e.push("<!--",n.data,"-->");case DOCUMENT_TYPE_NODE:var N=n.publicId,ee=n.systemId;if(e.push("<!DOCTYPE ",n.name),N)e.push(" PUBLIC ",N),ee&&ee!="."&&e.push(" ",ee),e.push(">");else if(ee&&ee!=".")e.push(" SYSTEM ",ee,">");else{var Z=n.internalSubset;Z&&e.push(" [",Z,"]"),e.push(">")}return;case PROCESSING_INSTRUCTION_NODE:return e.push("<?",n.target," ",n.data,"?>");case ENTITY_REFERENCE_NODE:return e.push("&",n.nodeName,";");default:e.push("??",n.nodeName)}}function importNode(n,e,o){var l;switch(e.nodeType){case ELEMENT_NODE:l=e.cloneNode(!1),l.ownerDocument=n;case DOCUMENT_FRAGMENT_NODE:break;case ATTRIBUTE_NODE:o=!0;break}if(l||(l=e.cloneNode(!1)),l.ownerDocument=n,l.parentNode=null,o)for(var t=e.firstChild;t;)l.appendChild(importNode(n,t,o)),t=t.nextSibling;return l}function cloneNode(n,e,o){var l=new e.constructor;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var u=e[t];typeof u!="object"&&u!=l[t]&&(l[t]=u)}switch(e.childNodes&&(l.childNodes=new NodeList),l.ownerDocument=n,l.nodeType){case ELEMENT_NODE:var h=e.attributes,v=l.attributes=new NamedNodeMap,w=h.length;v._ownerElement=l;for(var A=0;A<w;A++)l.setAttributeNode(cloneNode(n,h.item(A),!0));break;case ATTRIBUTE_NODE:o=!0}if(o)for(var E=e.firstChild;E;)l.appendChild(cloneNode(n,E,o)),E=E.nextSibling;return l}function __set__(n,e,o){n[e]=o}try{if(Object.defineProperty){let n=function(e){switch(e.nodeType){case ELEMENT_NODE:case DOCUMENT_FRAGMENT_NODE:var o=[];for(e=e.firstChild;e;)e.nodeType!==7&&e.nodeType!==8&&o.push(n(e)),e=e.nextSibling;return o.join("");default:return e.nodeValue}};Object.defineProperty(LiveNodeList.prototype,"length",{get:function(){return _updateLiveList(this),this.$$length}}),Object.defineProperty(Node.prototype,"textContent",{get:function(){return n(this)},set:function(e){switch(this.nodeType){case ELEMENT_NODE:case DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),__set__=function(e,o,l){e["$$"+o]=l}}}catch(n){}dom$1.DocumentType=DocumentType,dom$1.DOMException=DOMException,dom$1.DOMImplementation=DOMImplementation$1,dom$1.Element=Element,dom$1.Node=Node,dom$1.NodeList=NodeList,dom$1.XMLSerializer=XMLSerializer;var domParser={},entities$1={};(function(n){var e=conventions$2.freeze;n.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),n.HTML_ENTITIES=e({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
+`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"	",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),n.entityMap=n.HTML_ENTITIES})(entities$1);var sax$1={},NAMESPACE$1=conventions$2.NAMESPACE,nameStartChar=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,nameChar=new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),tagNamePattern=new RegExp("^"+nameStartChar.source+nameChar.source+"*(?::"+nameStartChar.source+nameChar.source+"*)?$"),S_TAG=0,S_ATTR=1,S_ATTR_SPACE=2,S_EQ=3,S_ATTR_NOQUOT_VALUE=4,S_ATTR_END=5,S_TAG_SPACE=6,S_TAG_CLOSE=7;function ParseError$1(n,e){this.message=n,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,ParseError$1)}ParseError$1.prototype=new Error,ParseError$1.prototype.name=ParseError$1.name;function XMLReader$1(){}XMLReader$1.prototype={parse:function(n,e,o){var l=this.domBuilder;l.startDocument(),_copy(e,e={}),parse$5(n,e,o,l,this.errorHandler),l.endDocument()}};function parse$5(n,e,o,l,t){function u(m){if(m>65535){m-=65536;var x=55296+(m>>10),T=56320+(m&1023);return String.fromCharCode(x,T)}else return String.fromCharCode(m)}function h(m){var x=m.slice(1,-1);return Object.hasOwnProperty.call(o,x)?o[x]:x.charAt(0)==="#"?u(parseInt(x.substr(1).replace("x","0x"))):(t.error("entity not found:"+m),m)}function v(m){if(m>j){var x=n.substring(j,m).replace(/&#?\w+;/g,h);M&&w(j),l.characters(x,0,m-j),j=m}}function w(m,x){for(;m>=E&&(x=C.exec(n));)A=x.index,E=A+x[0].length,M.lineNumber++;M.columnNumber=m-A+1}for(var A=0,E=0,C=/.*(?:\r\n?|\n)|.*$/g,M=l.locator,P=[{currentNSMap:e}],I={},j=0;;){try{var B=n.indexOf("<",j);if(B<0){if(!n.substr(j).match(/^\s*$/)){var F=l.doc,N=F.createTextNode(n.substr(j));F.appendChild(N),l.currentElement=N}return}switch(B>j&&v(B),n.charAt(B+1)){case"/":var L=n.indexOf(">",B+3),ee=n.substring(B+2,L).replace(/[ \t\n\r]+$/g,""),Z=P.pop();L<0?(ee=n.substring(B+2).replace(/[\s<].*/,""),t.error("end tag name: "+ee+" is not complete:"+Z.tagName),L=B+1+ee.length):ee.match(/\s</)&&(ee=ee.replace(/[\s<].*/,""),t.error("end tag name: "+ee+" maybe not complete"),L=B+1+ee.length);var re=Z.localNSMap,fe=Z.tagName==ee,V=fe||Z.tagName&&Z.tagName.toLowerCase()==ee.toLowerCase();if(V){if(l.endElement(Z.uri,Z.localName,ee),re)for(var le in re)Object.prototype.hasOwnProperty.call(re,le)&&l.endPrefixMapping(le);fe||t.fatalError("end tag name: "+ee+" is not match the current start tagName:"+Z.tagName)}else P.push(Z);L++;break;case"?":M&&w(B),L=parseInstruction(n,B,l);break;case"!":M&&w(B),L=parseDCC(n,B,l,t);break;default:M&&w(B);var he=new ElementAttributes,ye=P[P.length-1].currentNSMap,L=parseElementStartPart(n,B,he,ye,h,t),p=he.length;if(!he.closed&&fixSelfClosed(n,L,he.tagName,I)&&(he.closed=!0,o.nbsp||t.warning("unclosed xml attribute")),M&&p){for(var y=copyLocator(M,{}),S=0;S<p;S++){var c=he[S];w(c.offset),c.locator=copyLocator(M,{})}l.locator=y,appendElement$1(he,l,ye)&&P.push(he),l.locator=M}else appendElement$1(he,l,ye)&&P.push(he);NAMESPACE$1.isHTML(he.uri)&&!he.closed?L=parseHtmlSpecialContent(n,L,he.tagName,h,l):L++}}catch(m){if(m instanceof ParseError$1)throw m;t.error("element parse error: "+m),L=-1}L>j?j=L:v(Math.max(B,j)+1)}}function copyLocator(n,e){return e.lineNumber=n.lineNumber,e.columnNumber=n.columnNumber,e}function parseElementStartPart(n,e,o,l,t,u){function h(M,P,I){o.attributeNames.hasOwnProperty(M)&&u.fatalError("Attribute "+M+" redefined"),o.addValue(M,P.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,t),I)}for(var v,w,A=++e,E=S_TAG;;){var C=n.charAt(A);switch(C){case"=":if(E===S_ATTR)v=n.slice(e,A),E=S_EQ;else if(E===S_ATTR_SPACE)E=S_EQ;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(E===S_EQ||E===S_ATTR)if(E===S_ATTR&&(u.warning('attribute value must after "="'),v=n.slice(e,A)),e=A+1,A=n.indexOf(C,e),A>0)w=n.slice(e,A),h(v,w,e-1),E=S_ATTR_END;else throw new Error("attribute value no end '"+C+"' match");else if(E==S_ATTR_NOQUOT_VALUE)w=n.slice(e,A),h(v,w,e),u.warning('attribute "'+v+'" missed start quot('+C+")!!"),e=A+1,E=S_ATTR_END;else throw new Error('attribute value must after "="');break;case"/":switch(E){case S_TAG:o.setTagName(n.slice(e,A));case S_ATTR_END:case S_TAG_SPACE:case S_TAG_CLOSE:E=S_TAG_CLOSE,o.closed=!0;case S_ATTR_NOQUOT_VALUE:case S_ATTR:break;case S_ATTR_SPACE:o.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return u.error("unexpected end of input"),E==S_TAG&&o.setTagName(n.slice(e,A)),A;case">":switch(E){case S_TAG:o.setTagName(n.slice(e,A));case S_ATTR_END:case S_TAG_SPACE:case S_TAG_CLOSE:break;case S_ATTR_NOQUOT_VALUE:case S_ATTR:w=n.slice(e,A),w.slice(-1)==="/"&&(o.closed=!0,w=w.slice(0,-1));case S_ATTR_SPACE:E===S_ATTR_SPACE&&(w=v),E==S_ATTR_NOQUOT_VALUE?(u.warning('attribute "'+w+'" missed quot(")!'),h(v,w,e)):((!NAMESPACE$1.isHTML(l[""])||!w.match(/^(?:disabled|checked|selected)$/i))&&u.warning('attribute "'+w+'" missed value!! "'+w+'" instead!!'),h(w,w,e));break;case S_EQ:throw new Error("attribute value missed!!")}return A;case"€":C=" ";default:if(C<=" ")switch(E){case S_TAG:o.setTagName(n.slice(e,A)),E=S_TAG_SPACE;break;case S_ATTR:v=n.slice(e,A),E=S_ATTR_SPACE;break;case S_ATTR_NOQUOT_VALUE:var w=n.slice(e,A);u.warning('attribute "'+w+'" missed quot(")!!'),h(v,w,e);case S_ATTR_END:E=S_TAG_SPACE;break}else switch(E){case S_ATTR_SPACE:o.tagName,(!NAMESPACE$1.isHTML(l[""])||!v.match(/^(?:disabled|checked|selected)$/i))&&u.warning('attribute "'+v+'" missed value!! "'+v+'" instead2!!'),h(v,v,e),e=A,E=S_ATTR;break;case S_ATTR_END:u.warning('attribute space is required"'+v+'"!!');case S_TAG_SPACE:E=S_ATTR,e=A;break;case S_EQ:E=S_ATTR_NOQUOT_VALUE,e=A;break;case S_TAG_CLOSE:throw new Error("elements closed character '/' and '>' must be connected to")}}A++}}function appendElement$1(n,e,o){for(var l=n.tagName,t=null,C=n.length;C--;){var u=n[C],h=u.qName,v=u.value,M=h.indexOf(":");if(M>0)var w=u.prefix=h.slice(0,M),A=h.slice(M+1),E=w==="xmlns"&&A;else A=h,w=null,E=h==="xmlns"&&"";u.localName=A,E!==!1&&(t==null&&(t={},_copy(o,o={})),o[E]=t[E]=v,u.uri=NAMESPACE$1.XMLNS,e.startPrefixMapping(E,v))}for(var C=n.length;C--;){u=n[C];var w=u.prefix;w&&(w==="xml"&&(u.uri=NAMESPACE$1.XML),w!=="xmlns"&&(u.uri=o[w||""]))}var M=l.indexOf(":");M>0?(w=n.prefix=l.slice(0,M),A=n.localName=l.slice(M+1)):(w=null,A=n.localName=l);var P=n.uri=o[w||""];if(e.startElement(P,A,l,n),n.closed){if(e.endElement(P,A,l),t)for(w in t)Object.prototype.hasOwnProperty.call(t,w)&&e.endPrefixMapping(w)}else return n.currentNSMap=o,n.localNSMap=t,!0}function parseHtmlSpecialContent(n,e,o,l,t){if(/^(?:script|textarea)$/i.test(o)){var u=n.indexOf("</"+o+">",e),h=n.substring(e+1,u);if(/[&<]/.test(h))return/^script$/i.test(o)?(t.characters(h,0,h.length),u):(h=h.replace(/&#?\w+;/g,l),t.characters(h,0,h.length),u)}return e+1}function fixSelfClosed(n,e,o,l){var t=l[o];return t==null&&(t=n.lastIndexOf("</"+o+">"),t<e&&(t=n.lastIndexOf("</"+o)),l[o]=t),t<e}function _copy(n,e){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}function parseDCC(n,e,o,l){var t=n.charAt(e+2);switch(t){case"-":if(n.charAt(e+3)==="-"){var u=n.indexOf("-->",e+4);return u>e?(o.comment(n,e+4,u-e-4),u+3):(l.error("Unclosed comment"),-1)}else return-1;default:if(n.substr(e+3,6)=="CDATA["){var u=n.indexOf("]]>",e+9);return o.startCDATA(),o.characters(n,e+9,u-e-9),o.endCDATA(),u+3}var h=split(n,e),v=h.length;if(v>1&&/!doctype/i.test(h[0][0])){var w=h[1][0],A=!1,E=!1;v>3&&(/^public$/i.test(h[2][0])?(A=h[3][0],E=v>4&&h[4][0]):/^system$/i.test(h[2][0])&&(E=h[3][0]));var C=h[v-1];return o.startDTD(w,A,E),o.endDTD(),C.index+C[0].length}}return-1}function parseInstruction(n,e,o){var l=n.indexOf("?>",e);if(l){var t=n.substring(e,l).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return t?(t[0].length,o.processingInstruction(t[1],t[2]),l+2):-1}return-1}function ElementAttributes(){this.attributeNames={}}ElementAttributes.prototype={setTagName:function(n){if(!tagNamePattern.test(n))throw new Error("invalid tagName:"+n);this.tagName=n},addValue:function(n,e,o){if(!tagNamePattern.test(n))throw new Error("invalid attribute:"+n);this.attributeNames[n]=this.length,this[this.length++]={qName:n,value:e,offset:o}},length:0,getLocalName:function(n){return this[n].localName},getLocator:function(n){return this[n].locator},getQName:function(n){return this[n].qName},getURI:function(n){return this[n].uri},getValue:function(n){return this[n].value}};function split(n,e){var o,l=[],t=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(t.lastIndex=e,t.exec(n);o=t.exec(n);)if(l.push(o),o[1])return l}sax$1.XMLReader=XMLReader$1,sax$1.ParseError=ParseError$1;var conventions=conventions$2,dom=dom$1,entities=entities$1,sax=sax$1,DOMImplementation=dom.DOMImplementation,NAMESPACE=conventions.NAMESPACE,ParseError=sax.ParseError,XMLReader=sax.XMLReader;function normalizeLineEndings(n){return n.replace(/\r[\n\u0085]/g,`
 `).replace(/[\r\u0085\u2028]/g,`
-`)}function DOMParser$1(t){this.options=t||{locator:{}}}DOMParser$1.prototype.parseFromString=function(t,e){var n=this.options,o=new XMLReader,u=n.domBuilder||new DOMHandler,l=n.errorHandler,m=n.locator,y=n.xmlns||{},E=/\/x?html?$/.test(e),C=E?entities.HTML_ENTITIES:entities.XML_ENTITIES;m&&u.setDocumentLocator(m),o.errorHandler=buildErrorHandler(l,u,m),o.domBuilder=n.domBuilder||u,E&&(y[""]=NAMESPACE.HTML),y.xml=y.xml||NAMESPACE.XML;var k=n.normalizeLineEndings||normalizeLineEndings;return t&&typeof t=="string"?o.parse(k(t),y,C):o.errorHandler.error("invalid doc source"),u.doc};function buildErrorHandler(t,e,n){if(!t){if(e instanceof DOMHandler)return e;t=e}var o={},u=t instanceof Function;n=n||{};function l(m){var y=t[m];!y&&u&&(y=t.length==2?function(E){t(m,E)}:t),o[m]=y&&function(E){y("[xmldom "+m+"]	"+E+_locator(n))}||function(){}}return l("warning"),l("error"),l("fatalError"),o}function DOMHandler(){this.cdata=!1}function position(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}DOMHandler.prototype={startDocument:function(){this.doc=new DOMImplementation().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,n,o){var u=this.doc,l=u.createElementNS(t,n||e),m=o.length;appendElement(this,l),this.currentElement=l,this.locator&&position(this.locator,l);for(var y=0;y<m;y++){var t=o.getURI(y),E=o.getValue(y),n=o.getQName(y),C=u.createAttributeNS(t,n);this.locator&&position(o.getLocator(y),C),C.value=C.nodeValue=E,l.setAttributeNode(C)}},endElement:function(t,e,n){var o=this.currentElement;o.tagName,this.currentElement=o.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,e){var n=this.doc.createProcessingInstruction(t,e);this.locator&&position(this.locator,n),appendElement(this,n)},ignorableWhitespace:function(t,e,n){},characters:function(t,e,n){if(t=_toString.apply(this,arguments),t){if(this.cdata)var o=this.doc.createCDATASection(t);else var o=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(o):/^\s*$/.test(t)&&this.doc.appendChild(o),this.locator&&position(this.locator,o)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,n){t=_toString.apply(this,arguments);var o=this.doc.createComment(t);this.locator&&position(this.locator,o),appendElement(this,o)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,n){var o=this.doc.implementation;if(o&&o.createDocumentType){var u=o.createDocumentType(t,e,n);this.locator&&position(this.locator,u),appendElement(this,u),this.doc.doctype=u}},warning:function(t){console.warn("[xmldom warning]	"+t,_locator(this.locator))},error:function(t){console.error("[xmldom error]	"+t,_locator(this.locator))},fatalError:function(t){throw new ParseError(t,this.locator)}};function _locator(t){if(t)return`
-@`+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function _toString(t,e,n){return typeof t=="string"?t.substr(e,n):t.length>=e+n||e?new java.lang.String(t,e,n)+"":t}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(t){DOMHandler.prototype[t]=function(){return null}});function appendElement(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}domParser.__DOMHandler=DOMHandler,domParser.normalizeLineEndings=normalizeLineEndings,domParser.DOMParser=DOMParser$1;var DOMParser=domParser.DOMParser;/*! @name mpd-parser @version 1.3.1 @license Apache-2.0 */const isObject$2=t=>!!t&&typeof t=="object",merge$2=(...t)=>t.reduce((e,n)=>(typeof n!="object"||Object.keys(n).forEach(o=>{Array.isArray(e[o])&&Array.isArray(n[o])?e[o]=e[o].concat(n[o]):isObject$2(e[o])&&isObject$2(n[o])?e[o]=merge$2(e[o],n[o]):e[o]=n[o]}),e),{}),values$1=t=>Object.keys(t).map(e=>t[e]),range$1=(t,e)=>{const n=[];for(let o=t;o<e;o++)n.push(o);return n},flatten=t=>t.reduce((e,n)=>e.concat(n),[]),from=t=>{if(!t.length)return[];const e=[];for(let n=0;n<t.length;n++)e.push(t[n]);return e},findIndexes=(t,e)=>t.reduce((n,o,u)=>(o[e]&&n.push(u),n),[]),union=(t,e)=>values$1(t.reduce((n,o)=>(o.forEach(u=>{n[e(u)]=u}),n),{}));var errors$3={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",INVALID_NUMBER_OF_CONTENT_STEERING:"INVALID_NUMBER_OF_CONTENT_STEERING",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",MISSING_SEGMENT_INFORMATION:"MISSING_SEGMENT_INFORMATION",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"};const urlTypeToSegment=({baseUrl:t="",source:e="",range:n="",indexRange:o=""})=>{const u={uri:e,resolvedUri:resolveUrl$1(t||"",e)};if(n||o){const m=(n||o).split("-");let y=window$1$1.BigInt?window$1$1.BigInt(m[0]):parseInt(m[0],10),E=window$1$1.BigInt?window$1$1.BigInt(m[1]):parseInt(m[1],10);y<Number.MAX_SAFE_INTEGER&&typeof y=="bigint"&&(y=Number(y)),E<Number.MAX_SAFE_INTEGER&&typeof E=="bigint"&&(E=Number(E));let C;typeof E=="bigint"||typeof y=="bigint"?C=window$1$1.BigInt(E)-window$1$1.BigInt(y)+window$1$1.BigInt(1):C=E-y+1,typeof C=="bigint"&&C<Number.MAX_SAFE_INTEGER&&(C=Number(C)),u.byterange={length:C,offset:y}}return u},byteRangeToString=t=>{let e;return typeof t.offset=="bigint"||typeof t.length=="bigint"?e=window$1$1.BigInt(t.offset)+window$1$1.BigInt(t.length)-window$1$1.BigInt(1):e=t.offset+t.length-1,`${t.offset}-${e}`},parseEndNumber=t=>(t&&typeof t!="number"&&(t=parseInt(t,10)),isNaN(t)?null:t),segmentRange={static(t){const{duration:e,timescale:n=1,sourceDuration:o,periodDuration:u}=t,l=parseEndNumber(t.endNumber),m=e/n;return typeof l=="number"?{start:0,end:l}:typeof u=="number"?{start:0,end:u/m}:{start:0,end:o/m}},dynamic(t){const{NOW:e,clientOffset:n,availabilityStartTime:o,timescale:u=1,duration:l,periodStart:m=0,minimumUpdatePeriod:y=0,timeShiftBufferDepth:E=1/0}=t,C=parseEndNumber(t.endNumber),k=(e+n)/1e3,A=o+m,P=k+y-A,R=Math.ceil(P*u/l),B=Math.floor((k-A-E)*u/l),F=Math.floor((k-A)*u/l);return{start:Math.max(0,B),end:typeof C=="number"?C:Math.min(R,F)}}},toSegments=t=>e=>{const{duration:n,timescale:o=1,periodStart:u,startNumber:l=1}=t;return{number:l+e,duration:n/o,timeline:u,time:e*n}},parseByDuration=t=>{const{type:e,duration:n,timescale:o=1,periodDuration:u,sourceDuration:l}=t,{start:m,end:y}=segmentRange[e](t),E=range$1(m,y).map(toSegments(t));if(e==="static"){const C=E.length-1,k=typeof u=="number"?u:l;E[C].duration=k-n/o*C}return E},segmentsFromBase=t=>{const{baseUrl:e,initialization:n={},sourceDuration:o,indexRange:u="",periodStart:l,presentationTime:m,number:y=0,duration:E}=t;if(!e)throw new Error(errors$3.NO_BASE_URL);const C=urlTypeToSegment({baseUrl:e,source:n.sourceURL,range:n.range}),k=urlTypeToSegment({baseUrl:e,source:e,indexRange:u});if(k.map=C,E){const A=parseByDuration(t);A.length&&(k.duration=A[0].duration,k.timeline=A[0].timeline)}else o&&(k.duration=o,k.timeline=l);return k.presentationTime=m||l,k.number=y,[k]},addSidxSegmentsToPlaylist$1=(t,e,n)=>{const o=t.sidx.map?t.sidx.map:null,u=t.sidx.duration,l=t.timeline||0,m=t.sidx.byterange,y=m.offset+m.length,E=e.timescale,C=e.references.filter(F=>F.referenceType!==1),k=[],A=t.endList?"static":"dynamic",D=t.sidx.timeline;let P=D,R=t.mediaSequence||0,B;typeof e.firstOffset=="bigint"?B=window$1$1.BigInt(y)+e.firstOffset:B=y+e.firstOffset;for(let F=0;F<C.length;F++){const O=e.references[F],N=O.referencedSize,Y=O.subsegmentDuration;let J;typeof B=="bigint"?J=B+window$1$1.BigInt(N)-window$1$1.BigInt(1):J=B+N-1;const ie=`${B}-${J}`,Q=segmentsFromBase({baseUrl:n,timescale:E,timeline:l,periodStart:D,presentationTime:P,number:R,duration:Y,sourceDuration:u,indexRange:ie,type:A})[0];o&&(Q.map=o),k.push(Q),typeof B=="bigint"?B+=window$1$1.BigInt(N):B+=N,P+=Y/E,R++}return t.segments=k,t},SUPPORTED_MEDIA_TYPES=["AUDIO","SUBTITLES"],TIME_FUDGE=1/60,getUniqueTimelineStarts=t=>union(t,({timeline:e})=>e).sort((e,n)=>e.timeline>n.timeline?1:-1),findPlaylistWithName=(t,e)=>{for(let n=0;n<t.length;n++)if(t[n].attributes.NAME===e)return t[n];return null},getMediaGroupPlaylists=t=>{let e=[];return forEachMediaGroup$1(t,SUPPORTED_MEDIA_TYPES,(n,o,u,l)=>{e=e.concat(n.playlists||[])}),e},updateMediaSequenceForPlaylist=({playlist:t,mediaSequence:e})=>{t.mediaSequence=e,t.segments.forEach((n,o)=>{n.number=t.mediaSequence+o})},updateSequenceNumbers=({oldPlaylists:t,newPlaylists:e,timelineStarts:n})=>{e.forEach(o=>{o.discontinuitySequence=n.findIndex(function({timeline:E}){return E===o.timeline});const u=findPlaylistWithName(t,o.attributes.NAME);if(!u||o.sidx)return;const l=o.segments[0],m=u.segments.findIndex(function(E){return Math.abs(E.presentationTime-l.presentationTime)<TIME_FUDGE});if(m===-1){updateMediaSequenceForPlaylist({playlist:o,mediaSequence:u.mediaSequence+u.segments.length}),o.segments[0].discontinuity=!0,o.discontinuityStarts.unshift(0),(!u.segments.length&&o.timeline>u.timeline||u.segments.length&&o.timeline>u.segments[u.segments.length-1].timeline)&&o.discontinuitySequence--;return}u.segments[m].discontinuity&&!l.discontinuity&&(l.discontinuity=!0,o.discontinuityStarts.unshift(0),o.discontinuitySequence--),updateMediaSequenceForPlaylist({playlist:o,mediaSequence:u.segments[m].number})})},positionManifestOnTimeline=({oldManifest:t,newManifest:e})=>{const n=t.playlists.concat(getMediaGroupPlaylists(t)),o=e.playlists.concat(getMediaGroupPlaylists(e));return e.timelineStarts=getUniqueTimelineStarts([t.timelineStarts,e.timelineStarts]),updateSequenceNumbers({oldPlaylists:n,newPlaylists:o,timelineStarts:e.timelineStarts}),e},generateSidxKey=t=>t&&t.uri+"-"+byteRangeToString(t.byterange),mergeDiscontiguousPlaylists=t=>{const e=t.reduce(function(o,u){return o[u.attributes.baseUrl]||(o[u.attributes.baseUrl]=[]),o[u.attributes.baseUrl].push(u),o},{});let n=[];return Object.values(e).forEach(o=>{const u=values$1(o.reduce((l,m)=>{const y=m.attributes.id+(m.attributes.lang||"");return l[y]?(m.segments&&(m.segments[0]&&(m.segments[0].discontinuity=!0),l[y].segments.push(...m.segments)),m.attributes.contentProtection&&(l[y].attributes.contentProtection=m.attributes.contentProtection)):(l[y]=m,l[y].attributes.timelineStarts=[]),l[y].attributes.timelineStarts.push({start:m.attributes.periodStart,timeline:m.attributes.periodStart}),l},{}));n=n.concat(u)}),n.map(o=>(o.discontinuityStarts=findIndexes(o.segments||[],"discontinuity"),o))},addSidxSegmentsToPlaylist=(t,e)=>{const n=generateSidxKey(t.sidx),o=n&&e[n]&&e[n].sidx;return o&&addSidxSegmentsToPlaylist$1(t,o,t.sidx.resolvedUri),t},addSidxSegmentsToPlaylists=(t,e={})=>{if(!Object.keys(e).length)return t;for(const n in t)t[n]=addSidxSegmentsToPlaylist(t[n],e);return t},formatAudioPlaylist=({attributes:t,segments:e,sidx:n,mediaSequence:o,discontinuitySequence:u,discontinuityStarts:l},m)=>{const y={attributes:{NAME:t.id,BANDWIDTH:t.bandwidth,CODECS:t.codecs,"PROGRAM-ID":1},uri:"",endList:t.type==="static",timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,discontinuitySequence:u,discontinuityStarts:l,timelineStarts:t.timelineStarts,mediaSequence:o,segments:e};return t.contentProtection&&(y.contentProtection=t.contentProtection),t.serviceLocation&&(y.attributes.serviceLocation=t.serviceLocation),n&&(y.sidx=n),m&&(y.attributes.AUDIO="audio",y.attributes.SUBTITLES="subs"),y},formatVttPlaylist=({attributes:t,segments:e,mediaSequence:n,discontinuityStarts:o,discontinuitySequence:u})=>{typeof e>"u"&&(e=[{uri:t.baseUrl,timeline:t.periodStart,resolvedUri:t.baseUrl||"",duration:t.sourceDuration,number:0}],t.duration=t.sourceDuration);const l={NAME:t.id,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1};t.codecs&&(l.CODECS=t.codecs);const m={attributes:l,uri:"",endList:t.type==="static",timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,timelineStarts:t.timelineStarts,discontinuityStarts:o,discontinuitySequence:u,mediaSequence:n,segments:e};return t.serviceLocation&&(m.attributes.serviceLocation=t.serviceLocation),m},organizeAudioPlaylists=(t,e={},n=!1)=>{let o;const u=t.reduce((l,m)=>{const y=m.attributes.role&&m.attributes.role.value||"",E=m.attributes.lang||"";let C=m.attributes.label||"main";if(E&&!m.attributes.label){const A=y?` (${y})`:"";C=`${m.attributes.lang}${A}`}l[C]||(l[C]={language:E,autoselect:!0,default:y==="main",playlists:[],uri:""});const k=addSidxSegmentsToPlaylist(formatAudioPlaylist(m,n),e);return l[C].playlists.push(k),typeof o>"u"&&y==="main"&&(o=m,o.default=!0),l},{});if(!o){const l=Object.keys(u)[0];u[l].default=!0}return u},organizeVttPlaylists=(t,e={})=>t.reduce((n,o)=>{const u=o.attributes.label||o.attributes.lang||"text",l=o.attributes.lang||"und";return n[u]||(n[u]={language:l,default:!1,autoselect:!1,playlists:[],uri:""}),n[u].playlists.push(addSidxSegmentsToPlaylist(formatVttPlaylist(o),e)),n},{}),organizeCaptionServices=t=>t.reduce((e,n)=>(n&&n.forEach(o=>{const{channel:u,language:l}=o;e[l]={autoselect:!1,default:!1,instreamId:u,language:l},o.hasOwnProperty("aspectRatio")&&(e[l].aspectRatio=o.aspectRatio),o.hasOwnProperty("easyReader")&&(e[l].easyReader=o.easyReader),o.hasOwnProperty("3D")&&(e[l]["3D"]=o["3D"])}),e),{}),formatVideoPlaylist=({attributes:t,segments:e,sidx:n,discontinuityStarts:o})=>{const u={attributes:{NAME:t.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:t.width,height:t.height},CODECS:t.codecs,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1},uri:"",endList:t.type==="static",timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,discontinuityStarts:o,timelineStarts:t.timelineStarts,segments:e};return t.frameRate&&(u.attributes["FRAME-RATE"]=t.frameRate),t.contentProtection&&(u.contentProtection=t.contentProtection),t.serviceLocation&&(u.attributes.serviceLocation=t.serviceLocation),n&&(u.sidx=n),u},videoOnly=({attributes:t})=>t.mimeType==="video/mp4"||t.mimeType==="video/webm"||t.contentType==="video",audioOnly=({attributes:t})=>t.mimeType==="audio/mp4"||t.mimeType==="audio/webm"||t.contentType==="audio",vttOnly=({attributes:t})=>t.mimeType==="text/vtt"||t.contentType==="text",addMediaSequenceValues=(t,e)=>{t.forEach(n=>{n.mediaSequence=0,n.discontinuitySequence=e.findIndex(function({timeline:o}){return o===n.timeline}),n.segments&&n.segments.forEach((o,u)=>{o.number=u})})},flattenMediaGroupPlaylists=t=>t?Object.keys(t).reduce((e,n)=>{const o=t[n];return e.concat(o.playlists)},[]):[],toM3u8=({dashPlaylists:t,locations:e,contentSteering:n,sidxMapping:o={},previousManifest:u,eventStream:l})=>{if(!t.length)return{};const{sourceDuration:m,type:y,suggestedPresentationDelay:E,minimumUpdatePeriod:C}=t[0].attributes,k=mergeDiscontiguousPlaylists(t.filter(videoOnly)).map(formatVideoPlaylist),A=mergeDiscontiguousPlaylists(t.filter(audioOnly)),D=mergeDiscontiguousPlaylists(t.filter(vttOnly)),P=t.map(J=>J.attributes.captionServices).filter(Boolean),R={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:m,playlists:addSidxSegmentsToPlaylists(k,o)};C>=0&&(R.minimumUpdatePeriod=C*1e3),e&&(R.locations=e),n&&(R.contentSteering=n),y==="dynamic"&&(R.suggestedPresentationDelay=E),l&&l.length>0&&(R.eventStream=l);const B=R.playlists.length===0,F=A.length?organizeAudioPlaylists(A,o,B):null,O=D.length?organizeVttPlaylists(D,o):null,N=k.concat(flattenMediaGroupPlaylists(F),flattenMediaGroupPlaylists(O)),Y=N.map(({timelineStarts:J})=>J);return R.timelineStarts=getUniqueTimelineStarts(Y),addMediaSequenceValues(N,R.timelineStarts),F&&(R.mediaGroups.AUDIO.audio=F),O&&(R.mediaGroups.SUBTITLES.subs=O),P.length&&(R.mediaGroups["CLOSED-CAPTIONS"].cc=organizeCaptionServices(P)),u?positionManifestOnTimeline({oldManifest:u,newManifest:R}):R},getLiveRValue=(t,e,n)=>{const{NOW:o,clientOffset:u,availabilityStartTime:l,timescale:m=1,periodStart:y=0,minimumUpdatePeriod:E=0}=t,C=(o+u)/1e3,k=l+y,D=C+E-k;return Math.ceil((D*m-e)/n)},parseByTimeline=(t,e)=>{const{type:n,minimumUpdatePeriod:o=0,media:u="",sourceDuration:l,timescale:m=1,startNumber:y=1,periodStart:E}=t,C=[];let k=-1;for(let A=0;A<e.length;A++){const D=e[A],P=D.d,R=D.r||0,B=D.t||0;k<0&&(k=B),B&&B>k&&(k=B);let F;if(R<0){const Y=A+1;Y===e.length?n==="dynamic"&&o>0&&u.indexOf("$Number$")>0?F=getLiveRValue(t,k,P):F=(l*m-k)/P:F=(e[Y].t-k)/P}else F=R+1;const O=y+C.length+F;let N=y+C.length;for(;N<O;)C.push({number:N,duration:P/m,time:k,timeline:E}),k+=P,N++}return C},identifierPattern=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,identifierReplacement=t=>(e,n,o,u)=>{if(e==="$$")return"$";if(typeof t[n]>"u")return e;const l=""+t[n];return n==="RepresentationID"||(o?u=parseInt(u,10):u=1,l.length>=u)?l:`${new Array(u-l.length+1).join("0")}${l}`},constructTemplateUrl=(t,e)=>t.replace(identifierPattern,identifierReplacement(e)),parseTemplateInfo=(t,e)=>!t.duration&&!e?[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]:t.duration?parseByDuration(t):parseByTimeline(t,e),segmentsFromTemplate=(t,e)=>{const n={RepresentationID:t.id,Bandwidth:t.bandwidth||0},{initialization:o={sourceURL:"",range:""}}=t,u=urlTypeToSegment({baseUrl:t.baseUrl,source:constructTemplateUrl(o.sourceURL,n),range:o.range});return parseTemplateInfo(t,e).map(m=>{n.Number=m.number,n.Time=m.time;const y=constructTemplateUrl(t.media||"",n),E=t.timescale||1,C=t.presentationTimeOffset||0,k=t.periodStart+(m.time-C)/E;return{uri:y,timeline:m.timeline,duration:m.duration,resolvedUri:resolveUrl$1(t.baseUrl||"",y),map:u,number:m.number,presentationTime:k}})},SegmentURLToSegmentObject=(t,e)=>{const{baseUrl:n,initialization:o={}}=t,u=urlTypeToSegment({baseUrl:n,source:o.sourceURL,range:o.range}),l=urlTypeToSegment({baseUrl:n,source:e.media,range:e.mediaRange});return l.map=u,l},segmentsFromList=(t,e)=>{const{duration:n,segmentUrls:o=[],periodStart:u}=t;if(!n&&!e||n&&e)throw new Error(errors$3.SEGMENT_TIME_UNSPECIFIED);const l=o.map(E=>SegmentURLToSegmentObject(t,E));let m;return n&&(m=parseByDuration(t)),e&&(m=parseByTimeline(t,e)),m.map((E,C)=>{if(l[C]){const k=l[C],A=t.timescale||1,D=t.presentationTimeOffset||0;return k.timeline=E.timeline,k.duration=E.duration,k.number=E.number,k.presentationTime=u+(E.time-D)/A,k}}).filter(E=>E)},generateSegments=({attributes:t,segmentInfo:e})=>{let n,o;e.template?(o=segmentsFromTemplate,n=merge$2(t,e.template)):e.base?(o=segmentsFromBase,n=merge$2(t,e.base)):e.list&&(o=segmentsFromList,n=merge$2(t,e.list));const u={attributes:t};if(!o)return u;const l=o(n,e.segmentTimeline);if(n.duration){const{duration:m,timescale:y=1}=n;n.duration=m/y}else l.length?n.duration=l.reduce((m,y)=>Math.max(m,Math.ceil(y.duration)),0):n.duration=0;return u.attributes=n,u.segments=l,e.base&&n.indexRange&&(u.sidx=l[0],u.segments=[]),u},toPlaylists=t=>t.map(generateSegments),findChildren=(t,e)=>from(t.childNodes).filter(({tagName:n})=>n===e),getContent=t=>t.textContent.trim(),parseDivisionValue=t=>parseFloat(t.split("/").reduce((e,n)=>e/n)),parseDuration=t=>{const y=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!y)return 0;const[E,C,k,A,D,P]=y.slice(1);return parseFloat(E||0)*31536e3+parseFloat(C||0)*2592e3+parseFloat(k||0)*86400+parseFloat(A||0)*3600+parseFloat(D||0)*60+parseFloat(P||0)},parseDate$1=t=>(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t)&&(t+="Z"),Date.parse(t)),parsers={mediaPresentationDuration(t){return parseDuration(t)},availabilityStartTime(t){return parseDate$1(t)/1e3},minimumUpdatePeriod(t){return parseDuration(t)},suggestedPresentationDelay(t){return parseDuration(t)},type(t){return t},timeShiftBufferDepth(t){return parseDuration(t)},start(t){return parseDuration(t)},width(t){return parseInt(t,10)},height(t){return parseInt(t,10)},bandwidth(t){return parseInt(t,10)},frameRate(t){return parseDivisionValue(t)},startNumber(t){return parseInt(t,10)},timescale(t){return parseInt(t,10)},presentationTimeOffset(t){return parseInt(t,10)},duration(t){const e=parseInt(t,10);return isNaN(e)?parseDuration(t):e},d(t){return parseInt(t,10)},t(t){return parseInt(t,10)},r(t){return parseInt(t,10)},presentationTime(t){return parseInt(t,10)},DEFAULT(t){return t}},parseAttributes=t=>t&&t.attributes?from(t.attributes).reduce((e,n)=>{const o=parsers[n.name]||parsers.DEFAULT;return e[n.name]=o(n.value),e},{}):{},keySystemsMap={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},buildBaseUrls=(t,e)=>e.length?flatten(t.map(function(n){return e.map(function(o){const u=getContent(o),l=resolveUrl$1(n.baseUrl,u),m=merge$2(parseAttributes(o),{baseUrl:l});return l!==u&&!m.serviceLocation&&n.serviceLocation&&(m.serviceLocation=n.serviceLocation),m})})):t,getSegmentInformation=t=>{const e=findChildren(t,"SegmentTemplate")[0],n=findChildren(t,"SegmentList")[0],o=n&&findChildren(n,"SegmentURL").map(A=>merge$2({tag:"SegmentURL"},parseAttributes(A))),u=findChildren(t,"SegmentBase")[0],l=n||e,m=l&&findChildren(l,"SegmentTimeline")[0],y=n||u||e,E=y&&findChildren(y,"Initialization")[0],C=e&&parseAttributes(e);C&&E?C.initialization=E&&parseAttributes(E):C&&C.initialization&&(C.initialization={sourceURL:C.initialization});const k={template:C,segmentTimeline:m&&findChildren(m,"S").map(A=>parseAttributes(A)),list:n&&merge$2(parseAttributes(n),{segmentUrls:o,initialization:parseAttributes(E)}),base:u&&merge$2(parseAttributes(u),{initialization:parseAttributes(E)})};return Object.keys(k).forEach(A=>{k[A]||delete k[A]}),k},inheritBaseUrls=(t,e,n)=>o=>{const u=findChildren(o,"BaseURL"),l=buildBaseUrls(e,u),m=merge$2(t,parseAttributes(o)),y=getSegmentInformation(o);return l.map(E=>({segmentInfo:merge$2(n,y),attributes:merge$2(m,E)}))},generateKeySystemInformation=t=>t.reduce((e,n)=>{const o=parseAttributes(n);o.schemeIdUri&&(o.schemeIdUri=o.schemeIdUri.toLowerCase());const u=keySystemsMap[o.schemeIdUri];if(u){e[u]={attributes:o};const l=findChildren(n,"cenc:pssh")[0];if(l){const m=getContent(l);e[u].pssh=m&&decodeB64ToUint8Array(m)}}return e},{}),parseCaptionServiceMetadata=t=>{if(t.schemeIdUri==="urn:scte:dash:cc:cea-608:2015")return(typeof t.value!="string"?[]:t.value.split(";")).map(n=>{let o,u;return u=n,/^CC\d=/.test(n)?[o,u]=n.split("="):/^CC\d$/.test(n)&&(o=n),{channel:o,language:u}});if(t.schemeIdUri==="urn:scte:dash:cc:cea-708:2015")return(typeof t.value!="string"?[]:t.value.split(";")).map(n=>{const o={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(n)){const[u,l=""]=n.split("=");o.channel=u,o.language=n,l.split(",").forEach(m=>{const[y,E]=m.split(":");y==="lang"?o.language=E:y==="er"?o.easyReader=Number(E):y==="war"?o.aspectRatio=Number(E):y==="3D"&&(o["3D"]=Number(E))})}else o.language=n;return o.channel&&(o.channel="SERVICE"+o.channel),o})},toEventStream=t=>flatten(findChildren(t.node,"EventStream").map(e=>{const n=parseAttributes(e),o=n.schemeIdUri;return findChildren(e,"Event").map(u=>{const l=parseAttributes(u),m=l.presentationTime||0,y=n.timescale||1,E=l.duration||0,C=m/y+t.attributes.start;return{schemeIdUri:o,value:n.value,id:l.id,start:C,end:C+E/y,messageData:getContent(u)||l.messageData,contentEncoding:n.contentEncoding,presentationTimeOffset:n.presentationTimeOffset||0}})})),toRepresentations=(t,e,n)=>o=>{const u=parseAttributes(o),l=buildBaseUrls(e,findChildren(o,"BaseURL")),m=findChildren(o,"Role")[0],y={role:parseAttributes(m)};let E=merge$2(t,u,y);const C=findChildren(o,"Accessibility")[0],k=parseCaptionServiceMetadata(parseAttributes(C));k&&(E=merge$2(E,{captionServices:k}));const A=findChildren(o,"Label")[0];if(A&&A.childNodes.length){const F=A.childNodes[0].nodeValue.trim();E=merge$2(E,{label:F})}const D=generateKeySystemInformation(findChildren(o,"ContentProtection"));Object.keys(D).length&&(E=merge$2(E,{contentProtection:D}));const P=getSegmentInformation(o),R=findChildren(o,"Representation"),B=merge$2(n,P);return flatten(R.map(inheritBaseUrls(E,l,B)))},toAdaptationSets=(t,e)=>(n,o)=>{const u=buildBaseUrls(e,findChildren(n.node,"BaseURL")),l=merge$2(t,{periodStart:n.attributes.start});typeof n.attributes.duration=="number"&&(l.periodDuration=n.attributes.duration);const m=findChildren(n.node,"AdaptationSet"),y=getSegmentInformation(n.node);return flatten(m.map(toRepresentations(l,u,y)))},generateContentSteeringInformation=(t,e)=>{if(t.length>1&&e({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!t.length)return null;const n=merge$2({serverURL:getContent(t[0])},parseAttributes(t[0]));return n.queryBeforeStart=n.queryBeforeStart==="true",n},getPeriodStart=({attributes:t,priorPeriodAttributes:e,mpdType:n})=>typeof t.start=="number"?t.start:e&&typeof e.start=="number"&&typeof e.duration=="number"?e.start+e.duration:!e&&n==="static"?0:null,inheritAttributes=(t,e={})=>{const{manifestUri:n="",NOW:o=Date.now(),clientOffset:u=0,eventHandler:l=function(){}}=e,m=findChildren(t,"Period");if(!m.length)throw new Error(errors$3.INVALID_NUMBER_OF_PERIOD);const y=findChildren(t,"Location"),E=parseAttributes(t),C=buildBaseUrls([{baseUrl:n}],findChildren(t,"BaseURL")),k=findChildren(t,"ContentSteering");E.type=E.type||"static",E.sourceDuration=E.mediaPresentationDuration||0,E.NOW=o,E.clientOffset=u,y.length&&(E.locations=y.map(getContent));const A=[];return m.forEach((D,P)=>{const R=parseAttributes(D),B=A[P-1];R.start=getPeriodStart({attributes:R,priorPeriodAttributes:B?B.attributes:null,mpdType:E.type}),A.push({node:D,attributes:R})}),{locations:E.locations,contentSteeringInfo:generateContentSteeringInformation(k,l),representationInfo:flatten(A.map(toAdaptationSets(E,C))),eventStream:flatten(A.map(toEventStream))}},stringToMpdXml=t=>{if(t==="")throw new Error(errors$3.DASH_EMPTY_MANIFEST);const e=new DOMParser;let n,o;try{n=e.parseFromString(t,"application/xml"),o=n&&n.documentElement.tagName==="MPD"?n.documentElement:null}catch{}if(!o||o&&o.getElementsByTagName("parsererror").length>0)throw new Error(errors$3.DASH_INVALID_XML);return o},parseUTCTimingScheme=t=>{const e=findChildren(t,"UTCTiming")[0];if(!e)return null;const n=parseAttributes(e);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(errors$3.UNSUPPORTED_UTC_TIMING_SCHEME)}return n},parse$4=(t,e={})=>{const n=inheritAttributes(stringToMpdXml(t),e),o=toPlaylists(n.representationInfo);return toM3u8({dashPlaylists:o,locations:n.locations,contentSteering:n.contentSteeringInfo,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest,eventStream:n.eventStream})},parseUTCTiming=t=>parseUTCTimingScheme(stringToMpdXml(t));var MAX_UINT32$1=Math.pow(2,32),getUint64$1=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),n;return e.getBigUint64?(n=e.getBigUint64(0),n<Number.MAX_SAFE_INTEGER?Number(n):n):e.getUint32(0)*MAX_UINT32$1+e.getUint32(4)},numbers={getUint64:getUint64$1,MAX_UINT32:MAX_UINT32$1},getUint64=numbers.getUint64,parseSidx=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),n={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},o=12;n.version===0?(n.earliestPresentationTime=e.getUint32(o),n.firstOffset=e.getUint32(o+4),o+=8):(n.earliestPresentationTime=getUint64(t.subarray(o)),n.firstOffset=getUint64(t.subarray(o+8)),o+=16),o+=2;var u=e.getUint16(o);for(o+=2;u>0;o+=12,u--)n.references.push({referenceType:(t[o]&128)>>>7,referencedSize:e.getUint32(o)&2147483647,subsegmentDuration:e.getUint32(o+4),startsWithSap:!!(t[o+8]&128),sapType:(t[o+8]&112)>>>4,sapDeltaTime:e.getUint32(o+8)&268435455});return n},parseSidx_1=parseSidx;const parseSidx$1=getDefaultExportFromCjs$1(parseSidx_1);var ID3=toUint8([73,68,51]),getId3Size=function(e,n){n===void 0&&(n=0),e=toUint8(e);var o=e[n+5],u=e[n+6]<<21|e[n+7]<<14|e[n+8]<<7|e[n+9],l=(o&16)>>4;return l?u+20:u+10},getId3Offset=function t(e,n){return n===void 0&&(n=0),e=toUint8(e),e.length-n<10||!bytesMatch(e,ID3,{offset:n})?n:(n+=getId3Size(e,n),t(e,n))},normalizePath$1=function(e){return typeof e=="string"?stringToBytes(e):e},normalizePaths$1=function(e){return Array.isArray(e)?e.map(function(n){return normalizePath$1(n)}):[normalizePath$1(e)]},findBox=function t(e,n,o){o===void 0&&(o=!1),n=normalizePaths$1(n),e=toUint8(e);var u=[];if(!n.length)return u;for(var l=0;l<e.length;){var m=(e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3])>>>0,y=e.subarray(l+4,l+8);if(m===0)break;var E=l+m;if(E>e.length){if(o)break;E=e.length}var C=e.subarray(l+8,E);bytesMatch(y,n[0])&&(n.length===1?u.push(C):u.push.apply(u,t(C,n.slice(1),o))),l=E}return u},EBML_TAGS={EBML:toUint8([26,69,223,163]),DocType:toUint8([66,130]),Segment:toUint8([24,83,128,103]),SegmentInfo:toUint8([21,73,169,102]),Tracks:toUint8([22,84,174,107]),Track:toUint8([174]),TrackNumber:toUint8([215]),DefaultDuration:toUint8([35,227,131]),TrackEntry:toUint8([174]),TrackType:toUint8([131]),FlagDefault:toUint8([136]),CodecID:toUint8([134]),CodecPrivate:toUint8([99,162]),VideoTrack:toUint8([224]),AudioTrack:toUint8([225]),Cluster:toUint8([31,67,182,117]),Timestamp:toUint8([231]),TimestampScale:toUint8([42,215,177]),BlockGroup:toUint8([160]),BlockDuration:toUint8([155]),Block:toUint8([161]),SimpleBlock:toUint8([163])},LENGTH_TABLE=[128,64,32,16,8,4,2,1],getLength$1=function(e){for(var n=1,o=0;o<LENGTH_TABLE.length&&!(e&LENGTH_TABLE[o]);o++)n++;return n},getvint=function(e,n,o,u){o===void 0&&(o=!0),u===void 0&&(u=!1);var l=getLength$1(e[n]),m=e.subarray(n,n+l);return o&&(m=Array.prototype.slice.call(e,n,n+l),m[0]^=LENGTH_TABLE[l-1]),{length:l,value:bytesToNumber(m,{signed:u}),bytes:m}},normalizePath=function t(e){return typeof e=="string"?e.match(/.{1,2}/g).map(function(n){return t(n)}):typeof e=="number"?numberToBytes(e):e},normalizePaths=function(e){return Array.isArray(e)?e.map(function(n){return normalizePath(n)}):[normalizePath(e)]},getInfinityDataSize=function t(e,n,o){if(o>=n.length)return n.length;var u=getvint(n,o,!1);if(bytesMatch(e.bytes,u.bytes))return o;var l=getvint(n,o+u.length);return t(e,n,o+l.length+l.value+u.length)},findEbml=function t(e,n){n=normalizePaths(n),e=toUint8(e);var o=[];if(!n.length)return o;for(var u=0;u<e.length;){var l=getvint(e,u,!1),m=getvint(e,u+l.length),y=u+l.length+m.length;m.value===127&&(m.value=getInfinityDataSize(l,e,y),m.value!==e.length&&(m.value-=y));var E=y+m.value>e.length?e.length:y+m.value,C=e.subarray(y,E);bytesMatch(n[0],l.bytes)&&(n.length===1?o.push(C):o=o.concat(t(C,n.slice(1))));var k=l.length+m.length+C.length;u+=k}return o},NAL_TYPE_ONE=toUint8([0,0,0,1]),NAL_TYPE_TWO=toUint8([0,0,1]),EMULATION_PREVENTION=toUint8([0,0,3]),discardEmulationPreventionBytes=function(e){for(var n=[],o=1;o<e.length-2;)bytesMatch(e.subarray(o,o+3),EMULATION_PREVENTION)&&(n.push(o+2),o++),o++;if(n.length===0)return e;var u=e.length-n.length,l=new Uint8Array(u),m=0;for(o=0;o<u;m++,o++)m===n[0]&&(m++,n.shift()),l[o]=e[m];return l},findNal=function(e,n,o,u){e=toUint8(e),o=[].concat(o);for(var l=0,m,y=0;l<e.length&&(y<u||m);){var E=void 0;if(bytesMatch(e.subarray(l),NAL_TYPE_ONE)?E=4:bytesMatch(e.subarray(l),NAL_TYPE_TWO)&&(E=3),!E){l++;continue}if(y++,m)return discardEmulationPreventionBytes(e.subarray(m,l));var C=void 0;n==="h264"?C=e[l+E]&31:n==="h265"&&(C=e[l+E]>>1&63),o.indexOf(C)!==-1&&(m=l+E),l+=E+(n==="h264"?1:2)}return e.subarray(0,0)},findH264Nal=function(e,n,o){return findNal(e,"h264",n,o)},findH265Nal=function(e,n,o){return findNal(e,"h265",n,o)},CONSTANTS={webm:toUint8([119,101,98,109]),matroska:toUint8([109,97,116,114,111,115,107,97]),flac:toUint8([102,76,97,67]),ogg:toUint8([79,103,103,83]),ac3:toUint8([11,119]),riff:toUint8([82,73,70,70]),avi:toUint8([65,86,73]),wav:toUint8([87,65,86,69]),"3gp":toUint8([102,116,121,112,51,103]),mp4:toUint8([102,116,121,112]),fmp4:toUint8([115,116,121,112]),mov:toUint8([102,116,121,112,113,116]),moov:toUint8([109,111,111,118]),moof:toUint8([109,111,111,102])},_isLikely={aac:function(e){var n=getId3Offset(e);return bytesMatch(e,[255,16],{offset:n,mask:[255,22]})},mp3:function(e){var n=getId3Offset(e);return bytesMatch(e,[255,2],{offset:n,mask:[255,6]})},webm:function(e){var n=findEbml(e,[EBML_TAGS.EBML,EBML_TAGS.DocType])[0];return bytesMatch(n,CONSTANTS.webm)},mkv:function(e){var n=findEbml(e,[EBML_TAGS.EBML,EBML_TAGS.DocType])[0];return bytesMatch(n,CONSTANTS.matroska)},mp4:function(e){if(_isLikely["3gp"](e)||_isLikely.mov(e))return!1;if(bytesMatch(e,CONSTANTS.mp4,{offset:4})||bytesMatch(e,CONSTANTS.fmp4,{offset:4})||bytesMatch(e,CONSTANTS.moof,{offset:4})||bytesMatch(e,CONSTANTS.moov,{offset:4}))return!0},mov:function(e){return bytesMatch(e,CONSTANTS.mov,{offset:4})},"3gp":function(e){return bytesMatch(e,CONSTANTS["3gp"],{offset:4})},ac3:function(e){var n=getId3Offset(e);return bytesMatch(e,CONSTANTS.ac3,{offset:n})},ts:function(e){if(e.length<189&&e.length>=1)return e[0]===71;for(var n=0;n+188<e.length&&n<188;){if(e[n]===71&&e[n+188]===71)return!0;n+=1}return!1},flac:function(e){var n=getId3Offset(e);return bytesMatch(e,CONSTANTS.flac,{offset:n})},ogg:function(e){return bytesMatch(e,CONSTANTS.ogg)},avi:function(e){return bytesMatch(e,CONSTANTS.riff)&&bytesMatch(e,CONSTANTS.avi,{offset:8})},wav:function(e){return bytesMatch(e,CONSTANTS.riff)&&bytesMatch(e,CONSTANTS.wav,{offset:8})},h264:function(e){return findH264Nal(e,7,3).length},h265:function(e){return findH265Nal(e,[32,33],3).length}},isLikelyTypes=Object.keys(_isLikely).filter(function(t){return t!=="ts"&&t!=="h264"&&t!=="h265"}).concat(["ts","h264","h265"]);isLikelyTypes.forEach(function(t){var e=_isLikely[t];_isLikely[t]=function(n){return e(toUint8(n))}});var isLikely=_isLikely,detectContainerForBytes=function(e){e=toUint8(e);for(var n=0;n<isLikelyTypes.length;n++){var o=isLikelyTypes[n];if(isLikely[o](e))return o}return""},isLikelyFmp4MediaSegment=function(e){return findBox(e,["moof"]).length>0},ONE_SECOND_IN_TS=9e4,secondsToVideoTs,secondsToAudioTs,videoTsToSeconds,audioTsToSeconds,audioTsToVideoTs,videoTsToAudioTs,metadataTsToSeconds;secondsToVideoTs=function(t){return t*ONE_SECOND_IN_TS},secondsToAudioTs=function(t,e){return t*e},videoTsToSeconds=function(t){return t/ONE_SECOND_IN_TS},audioTsToSeconds=function(t,e){return t/e},audioTsToVideoTs=function(t,e){return secondsToVideoTs(audioTsToSeconds(t,e))},videoTsToAudioTs=function(t,e){return secondsToAudioTs(videoTsToSeconds(t),e)},metadataTsToSeconds=function(t,e,n){return videoTsToSeconds(n?t:t-e)};var clock={ONE_SECOND_IN_TS,secondsToVideoTs,secondsToAudioTs,videoTsToSeconds,audioTsToSeconds,audioTsToVideoTs,videoTsToAudioTs,metadataTsToSeconds},version$6="8.18.1";const hooks_={},hooks=function(t,e){return hooks_[t]=hooks_[t]||[],e&&(hooks_[t]=hooks_[t].concat(e)),hooks_[t]},hook=function(t,e){hooks(t,e)},removeHook=function(t,e){const n=hooks(t).indexOf(e);return n<=-1?!1:(hooks_[t]=hooks_[t].slice(),hooks_[t].splice(n,1),!0)},hookOnce=function(t,e){hooks(t,[].concat(e).map(n=>{const o=(...u)=>(removeHook(t,o),n(...u));return o}))},FullscreenApi={prefixed:!0},apiMap=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"]],specApi=apiMap[0];let browserApi;for(let t=0;t<apiMap.length;t++)if(apiMap[t][1]in document$1$1){browserApi=apiMap[t];break}if(browserApi){for(let t=0;t<browserApi.length;t++)FullscreenApi[specApi[t]]=browserApi[t];FullscreenApi.prefixed=browserApi[0]!==specApi[0]}let history=[];const LogByTypeFactory=(t,e,n)=>(o,u,l)=>{const m=e.levels[u],y=new RegExp(`^(${m})$`);let E=t;if(o!=="log"&&l.unshift(o.toUpperCase()+":"),n&&(E=`%c${t}`,l.unshift(n)),l.unshift(E+":"),history){history.push([].concat(l));const k=history.length-1e3;history.splice(0,k>0?k:0)}if(!window$1$1.console)return;let C=window$1$1.console[o];!C&&o==="debug"&&(C=window$1$1.console.info||window$1$1.console.log),!(!C||!m||!y.test(o))&&C[Array.isArray(l)?"apply":"call"](window$1$1.console,l)};function createLogger$1(t,e=":",n=""){let o="info",u;function l(...m){u("log",o,m)}return u=LogByTypeFactory(t,l,n),l.createLogger=(m,y,E)=>{const C=y!==void 0?y:e,k=E!==void 0?E:n,A=`${t} ${C} ${m}`;return createLogger$1(A,C,k)},l.createNewLogger=(m,y,E)=>createLogger$1(m,y,E),l.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:o},l.level=m=>{if(typeof m=="string"){if(!l.levels.hasOwnProperty(m))throw new Error(`"${m}" in not a valid log level`);o=m}return o},l.history=()=>history?[].concat(history):[],l.history.filter=m=>(history||[]).filter(y=>new RegExp(`.*${m}.*`).test(y[0])),l.history.clear=()=>{history&&(history.length=0)},l.history.disable=()=>{history!==null&&(history.length=0,history=null)},l.history.enable=()=>{history===null&&(history=[])},l.error=(...m)=>u("error",o,m),l.warn=(...m)=>u("warn",o,m),l.debug=(...m)=>u("debug",o,m),l}const log$1=createLogger$1("VIDEOJS"),createLogger=log$1.createLogger,toString$1=Object.prototype.toString,keys=function(t){return isObject$1(t)?Object.keys(t):[]};function each(t,e){keys(t).forEach(n=>e(t[n],n))}function reduce(t,e,n=0){return keys(t).reduce((o,u)=>e(o,t[u],u),n)}function isObject$1(t){return!!t&&typeof t=="object"}function isPlain(t){return isObject$1(t)&&toString$1.call(t)==="[object Object]"&&t.constructor===Object}function merge$1(...t){const e={};return t.forEach(n=>{n&&each(n,(o,u)=>{if(!isPlain(o)){e[u]=o;return}isPlain(e[u])||(e[u]={}),e[u]=merge$1(e[u],o)})}),e}function values(t={}){const e=[];for(const n in t)if(t.hasOwnProperty(n)){const o=t[n];e.push(o)}return e}function defineLazyProperty(t,e,n,o=!0){const u=m=>Object.defineProperty(t,e,{value:m,enumerable:!0,writable:!0}),l={configurable:!0,enumerable:!0,get(){const m=n();return u(m),m}};return o&&(l.set=u),Object.defineProperty(t,e,l)}var Obj=Object.freeze({__proto__:null,each,reduce,isObject:isObject$1,isPlain,merge:merge$1,values,defineLazyProperty});let IS_IPOD=!1,IOS_VERSION=null,IS_ANDROID=!1,ANDROID_VERSION,IS_FIREFOX=!1,IS_EDGE=!1,IS_CHROMIUM=!1,IS_CHROME=!1,CHROMIUM_VERSION=null,CHROME_VERSION=null;const IS_CHROMECAST_RECEIVER=!!(window$1$1.cast&&window$1$1.cast.framework&&window$1$1.cast.framework.CastReceiverContext);let IE_VERSION=null,IS_SAFARI=!1,IS_WINDOWS=!1,IS_IPAD=!1,IS_IPHONE=!1,IS_TIZEN=!1,IS_WEBOS=!1,IS_SMART_TV=!1;const TOUCH_ENABLED=!!(isReal()&&("ontouchstart"in window$1$1||window$1$1.navigator.maxTouchPoints||window$1$1.DocumentTouch&&window$1$1.document instanceof window$1$1.DocumentTouch)),UAD=window$1$1.navigator&&window$1$1.navigator.userAgentData;if(UAD&&UAD.platform&&UAD.brands&&(IS_ANDROID=UAD.platform==="Android",IS_EDGE=!!UAD.brands.find(t=>t.brand==="Microsoft Edge"),IS_CHROMIUM=!!UAD.brands.find(t=>t.brand==="Chromium"),IS_CHROME=!IS_EDGE&&IS_CHROMIUM,CHROMIUM_VERSION=CHROME_VERSION=(UAD.brands.find(t=>t.brand==="Chromium")||{}).version||null,IS_WINDOWS=UAD.platform==="Windows"),!IS_CHROMIUM){const t=window$1$1.navigator&&window$1$1.navigator.userAgent||"";IS_IPOD=/iPod/i.test(t),IOS_VERSION=function(){const e=t.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),IS_ANDROID=/Android/i.test(t),ANDROID_VERSION=function(){const e=t.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;const n=e[1]&&parseFloat(e[1]),o=e[2]&&parseFloat(e[2]);return n&&o?parseFloat(e[1]+"."+e[2]):n||null}(),IS_FIREFOX=/Firefox/i.test(t),IS_EDGE=/Edg/i.test(t),IS_CHROMIUM=/Chrome/i.test(t)||/CriOS/i.test(t),IS_CHROME=!IS_EDGE&&IS_CHROMIUM,CHROMIUM_VERSION=CHROME_VERSION=function(){const e=t.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),IE_VERSION=function(){const e=/MSIE\s(\d+)\.\d/.exec(t);let n=e&&parseFloat(e[1]);return!n&&/Trident\/7.0/i.test(t)&&/rv:11.0/.test(t)&&(n=11),n}(),IS_TIZEN=/Tizen/i.test(t),IS_WEBOS=/Web0S/i.test(t),IS_SMART_TV=IS_TIZEN||IS_WEBOS,IS_SAFARI=/Safari/i.test(t)&&!IS_CHROME&&!IS_ANDROID&&!IS_EDGE&&!IS_SMART_TV,IS_WINDOWS=/Windows/i.test(t),IS_IPAD=/iPad/i.test(t)||IS_SAFARI&&TOUCH_ENABLED&&!/iPhone/i.test(t),IS_IPHONE=/iPhone/i.test(t)&&!IS_IPAD}const IS_IOS=IS_IPHONE||IS_IPAD||IS_IPOD,IS_ANY_SAFARI=(IS_SAFARI||IS_IOS)&&!IS_CHROME;var browser$f=Object.freeze({__proto__:null,get IS_IPOD(){return IS_IPOD},get IOS_VERSION(){return IOS_VERSION},get IS_ANDROID(){return IS_ANDROID},get ANDROID_VERSION(){return ANDROID_VERSION},get IS_FIREFOX(){return IS_FIREFOX},get IS_EDGE(){return IS_EDGE},get IS_CHROMIUM(){return IS_CHROMIUM},get IS_CHROME(){return IS_CHROME},get CHROMIUM_VERSION(){return CHROMIUM_VERSION},get CHROME_VERSION(){return CHROME_VERSION},IS_CHROMECAST_RECEIVER,get IE_VERSION(){return IE_VERSION},get IS_SAFARI(){return IS_SAFARI},get IS_WINDOWS(){return IS_WINDOWS},get IS_IPAD(){return IS_IPAD},get IS_IPHONE(){return IS_IPHONE},get IS_TIZEN(){return IS_TIZEN},get IS_WEBOS(){return IS_WEBOS},get IS_SMART_TV(){return IS_SMART_TV},TOUCH_ENABLED,IS_IOS,IS_ANY_SAFARI});function isNonBlankString(t){return typeof t=="string"&&!!t.trim()}function throwIfWhitespace(t){if(t.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function isReal(){return document$1$1===window$1$1.document}function isEl(t){return isObject$1(t)&&t.nodeType===1}function isInFrame(){try{return window$1$1.parent!==window$1$1.self}catch{return!0}}function createQuerier(t){return function(e,n){if(!isNonBlankString(e))return document$1$1[t](null);isNonBlankString(n)&&(n=document$1$1.querySelector(n));const o=isEl(n)?n:document$1$1;return o[t]&&o[t](e)}}function createEl(t="div",e={},n={},o){const u=document$1$1.createElement(t);return Object.getOwnPropertyNames(e).forEach(function(l){const m=e[l];l==="textContent"?textContent(u,m):(u[l]!==m||l==="tabIndex")&&(u[l]=m)}),Object.getOwnPropertyNames(n).forEach(function(l){u.setAttribute(l,n[l])}),o&&appendContent(u,o),u}function textContent(t,e){return typeof t.textContent>"u"?t.innerText=e:t.textContent=e,t}function prependTo(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function hasClass(t,e){return throwIfWhitespace(e),t.classList.contains(e)}function addClass(t,...e){return t.classList.add(...e.reduce((n,o)=>n.concat(o.split(/\s+/)),[])),t}function removeClass(t,...e){return t?(t.classList.remove(...e.reduce((n,o)=>n.concat(o.split(/\s+/)),[])),t):(log$1.warn("removeClass was called with an element that doesn't exist"),null)}function toggleClass(t,e,n){return typeof n=="function"&&(n=n(t,e)),typeof n!="boolean"&&(n=void 0),e.split(/\s+/).forEach(o=>t.classList.toggle(o,n)),t}function setAttributes(t,e){Object.getOwnPropertyNames(e).forEach(function(n){const o=e[n];o===null||typeof o>"u"||o===!1?t.removeAttribute(n):t.setAttribute(n,o===!0?"":o)})}function getAttributes(t){const e={},n=["autoplay","controls","playsinline","loop","muted","default","defaultMuted"];if(t&&t.attributes&&t.attributes.length>0){const o=t.attributes;for(let u=o.length-1;u>=0;u--){const l=o[u].name;let m=o[u].value;n.includes(l)&&(m=m!==null),e[l]=m}}return e}function getAttribute(t,e){return t.getAttribute(e)}function setAttribute(t,e,n){t.setAttribute(e,n)}function removeAttribute(t,e){t.removeAttribute(e)}function blockTextSelection(){document$1$1.body.focus(),document$1$1.onselectstart=function(){return!1}}function unblockTextSelection(){document$1$1.onselectstart=function(){return!0}}function getBoundingClientRect(t){if(t&&t.getBoundingClientRect&&t.parentNode){const e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(o=>{e[o]!==void 0&&(n[o]=e[o])}),n.height||(n.height=parseFloat(computedStyle(t,"height"))),n.width||(n.width=parseFloat(computedStyle(t,"width"))),n}}function findPosition(t){if(!t||t&&!t.offsetParent)return{left:0,top:0,width:0,height:0};const e=t.offsetWidth,n=t.offsetHeight;let o=0,u=0;for(;t.offsetParent&&t!==document$1$1[FullscreenApi.fullscreenElement];)o+=t.offsetLeft,u+=t.offsetTop,t=t.offsetParent;return{left:o,top:u,width:e,height:n}}function getPointerPosition(t,e){const n={x:0,y:0};if(IS_IOS){let k=t;for(;k&&k.nodeName.toLowerCase()!=="html";){const A=computedStyle(k,"transform");if(/^matrix/.test(A)){const D=A.slice(7,-1).split(/,\s/).map(Number);n.x+=D[4],n.y+=D[5]}else if(/^matrix3d/.test(A)){const D=A.slice(9,-1).split(/,\s/).map(Number);n.x+=D[12],n.y+=D[13]}if(k.assignedSlot&&k.assignedSlot.parentElement&&window$1$1.WebKitCSSMatrix){const D=window$1$1.getComputedStyle(k.assignedSlot.parentElement).transform,P=new window$1$1.WebKitCSSMatrix(D);n.x+=P.m41,n.y+=P.m42}k=k.parentNode||k.host}}const o={},u=findPosition(e.target),l=findPosition(t),m=l.width,y=l.height;let E=e.offsetY-(l.top-u.top),C=e.offsetX-(l.left-u.left);return e.changedTouches&&(C=e.changedTouches[0].pageX-l.left,E=e.changedTouches[0].pageY+l.top,IS_IOS&&(C-=n.x,E-=n.y)),o.y=1-Math.max(0,Math.min(1,E/y)),o.x=Math.max(0,Math.min(1,C/m)),o}function isTextNode(t){return isObject$1(t)&&t.nodeType===3}function emptyEl(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function normalizeContent(t){return typeof t=="function"&&(t=t()),(Array.isArray(t)?t:[t]).map(e=>{if(typeof e=="function"&&(e=e()),isEl(e)||isTextNode(e))return e;if(typeof e=="string"&&/\S/.test(e))return document$1$1.createTextNode(e)}).filter(e=>e)}function appendContent(t,e){return normalizeContent(e).forEach(n=>t.appendChild(n)),t}function insertContent(t,e){return appendContent(emptyEl(t),e)}function isSingleLeftClick(t){return t.button===void 0&&t.buttons===void 0||t.button===0&&t.buttons===void 0||t.type==="mouseup"&&t.button===0&&t.buttons===0||t.type==="mousedown"&&t.button===0&&t.buttons===0?!0:!(t.button!==0||t.buttons!==1)}const $=createQuerier("querySelector"),$$=createQuerier("querySelectorAll");function computedStyle(t,e){if(!t||!e)return"";if(typeof window$1$1.getComputedStyle=="function"){let n;try{n=window$1$1.getComputedStyle(t)}catch{return""}return n?n.getPropertyValue(e)||n[e]:""}return""}function copyStyleSheetsToWindow(t){[...document$1$1.styleSheets].forEach(e=>{try{const n=[...e.cssRules].map(u=>u.cssText).join(""),o=document$1$1.createElement("style");o.textContent=n,t.document.head.appendChild(o)}catch{const o=document$1$1.createElement("link");o.rel="stylesheet",o.type=e.type,o.media=e.media.mediaText,o.href=e.href,t.document.head.appendChild(o)}})}var Dom=Object.freeze({__proto__:null,isReal,isEl,isInFrame,createEl,textContent,prependTo,hasClass,addClass,removeClass,toggleClass,setAttributes,getAttributes,getAttribute,setAttribute,removeAttribute,blockTextSelection,unblockTextSelection,getBoundingClientRect,findPosition,getPointerPosition,isTextNode,emptyEl,normalizeContent,appendContent,insertContent,isSingleLeftClick,$,$$,computedStyle,copyStyleSheetsToWindow});let _windowLoaded=!1,videojs$1;const autoSetup=function(){if(videojs$1.options.autoSetup===!1)return;const t=Array.prototype.slice.call(document$1$1.getElementsByTagName("video")),e=Array.prototype.slice.call(document$1$1.getElementsByTagName("audio")),n=Array.prototype.slice.call(document$1$1.getElementsByTagName("video-js")),o=t.concat(e,n);if(o&&o.length>0)for(let u=0,l=o.length;u<l;u++){const m=o[u];if(m&&m.getAttribute)m.player===void 0&&m.getAttribute("data-setup")!==null&&videojs$1(m);else{autoSetupTimeout(1);break}}else _windowLoaded||autoSetupTimeout(1)};function autoSetupTimeout(t,e){isReal()&&(e&&(videojs$1=e),window$1$1.setTimeout(autoSetup,t))}function setWindowLoaded(){_windowLoaded=!0,window$1$1.removeEventListener("load",setWindowLoaded)}isReal()&&(document$1$1.readyState==="complete"?setWindowLoaded():window$1$1.addEventListener("load",setWindowLoaded));const createStyleElement=function(t){const e=document$1$1.createElement("style");return e.className=t,e},setTextContent=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e};var DomData=new WeakMap;const _initialGuid=3;let _guid=_initialGuid;function newGUID(){return _guid++}function _cleanUpEvents(t,e){if(!DomData.has(t))return;const n=DomData.get(t);n.handlers[e].length===0&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),Object.getOwnPropertyNames(n).length===0&&DomData.delete(t)}function _handleMultipleEvents(t,e,n,o){n.forEach(function(u){t(e,u,o)})}function fixEvent(t){if(t.fixed_)return t;function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped||!t.isImmediatePropagationStopped){const o=t||window$1$1.event;t={};const u=["layerX","layerY","keyLocation","path","webkitMovementX","webkitMovementY","mozPressure","mozInputSource"];for(const l in o)u.includes(l)||l==="returnValue"&&o.preventDefault||(t[l]=o[l]);if(t.target||(t.target=t.srcElement||document$1$1),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){o.preventDefault&&o.preventDefault(),t.returnValue=!1,o.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){o.stopPropagation&&o.stopPropagation(),t.cancelBubble=!0,o.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){o.stopImmediatePropagation&&o.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,t.clientX!==null&&t.clientX!==void 0){const l=document$1$1.documentElement,m=document$1$1.body;t.pageX=t.clientX+(l&&l.scrollLeft||m&&m.scrollLeft||0)-(l&&l.clientLeft||m&&m.clientLeft||0),t.pageY=t.clientY+(l&&l.scrollTop||m&&m.scrollTop||0)-(l&&l.clientTop||m&&m.clientTop||0)}t.which=t.charCode||t.keyCode,t.button!==null&&t.button!==void 0&&(t.button=t.button&1?0:t.button&4?1:t.button&2?2:0)}return t.fixed_=!0,t}let _supportsPassive;const supportsPassive=function(){if(typeof _supportsPassive!="boolean"){_supportsPassive=!1;try{const t=Object.defineProperty({},"passive",{get(){_supportsPassive=!0}});window$1$1.addEventListener("test",null,t),window$1$1.removeEventListener("test",null,t)}catch{}}return _supportsPassive},passiveEvents=["touchstart","touchmove"];function on(t,e,n){if(Array.isArray(e))return _handleMultipleEvents(on,t,e,n);DomData.has(t)||DomData.set(t,{});const o=DomData.get(t);if(o.handlers||(o.handlers={}),o.handlers[e]||(o.handlers[e]=[]),n.guid||(n.guid=newGUID()),o.handlers[e].push(n),o.dispatcher||(o.disabled=!1,o.dispatcher=function(u,l){if(o.disabled)return;u=fixEvent(u);const m=o.handlers[u.type];if(m){const y=m.slice(0);for(let E=0,C=y.length;E<C&&!u.isImmediatePropagationStopped();E++)try{y[E].call(t,u,l)}catch(k){log$1.error(k)}}}),o.handlers[e].length===1)if(t.addEventListener){let u=!1;supportsPassive()&&passiveEvents.indexOf(e)>-1&&(u={passive:!0}),t.addEventListener(e,o.dispatcher,u)}else t.attachEvent&&t.attachEvent("on"+e,o.dispatcher)}function off(t,e,n){if(!DomData.has(t))return;const o=DomData.get(t);if(!o.handlers)return;if(Array.isArray(e))return _handleMultipleEvents(off,t,e,n);const u=function(m,y){o.handlers[y]=[],_cleanUpEvents(m,y)};if(e===void 0){for(const m in o.handlers)Object.prototype.hasOwnProperty.call(o.handlers||{},m)&&u(t,m);return}const l=o.handlers[e];if(l){if(!n){u(t,e);return}if(n.guid)for(let m=0;m<l.length;m++)l[m].guid===n.guid&&l.splice(m--,1);_cleanUpEvents(t,e)}}function trigger(t,e,n){const o=DomData.has(t)?DomData.get(t):{},u=t.parentNode||t.ownerDocument;if(typeof e=="string"?e={type:e,target:t}:e.target||(e.target=t),e=fixEvent(e),o.dispatcher&&o.dispatcher.call(t,e,n),u&&!e.isPropagationStopped()&&e.bubbles===!0)trigger.call(null,u,e,n);else if(!u&&!e.defaultPrevented&&e.target&&e.target[e.type]){DomData.has(e.target)||DomData.set(e.target,{});const l=DomData.get(e.target);e.target[e.type]&&(l.disabled=!0,typeof e.target[e.type]=="function"&&e.target[e.type](),l.disabled=!1)}return!e.defaultPrevented}function one(t,e,n){if(Array.isArray(e))return _handleMultipleEvents(one,t,e,n);const o=function(){off(t,e,o),n.apply(this,arguments)};o.guid=n.guid=n.guid||newGUID(),on(t,e,o)}function any(t,e,n){const o=function(){off(t,e,o),n.apply(this,arguments)};o.guid=n.guid=n.guid||newGUID(),on(t,e,o)}var Events=Object.freeze({__proto__:null,fixEvent,on,off,trigger,one,any});const UPDATE_REFRESH_INTERVAL=30,bind_=function(t,e,n){e.guid||(e.guid=newGUID());const o=e.bind(t);return o.guid=n?n+"_"+e.guid:e.guid,o},throttle=function(t,e){let n=window$1$1.performance.now();return function(...u){const l=window$1$1.performance.now();l-n>=e&&(t(...u),n=l)}},debounce=function(t,e,n,o=window$1$1){let u;const l=()=>{o.clearTimeout(u),u=null},m=function(){const y=this,E=arguments;let C=function(){u=null,C=null,n||t.apply(y,E)};!u&&n&&t.apply(y,E),o.clearTimeout(u),u=o.setTimeout(C,e)};return m.cancel=l,m};var Fn=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL,bind_,throttle,debounce});let EVENT_MAP;class EventTarget$2{on(e,n){const o=this.addEventListener;this.addEventListener=()=>{},on(this,e,n),this.addEventListener=o}off(e,n){off(this,e,n)}one(e,n){const o=this.addEventListener;this.addEventListener=()=>{},one(this,e,n),this.addEventListener=o}any(e,n){const o=this.addEventListener;this.addEventListener=()=>{},any(this,e,n),this.addEventListener=o}trigger(e){const n=e.type||e;typeof e=="string"&&(e={type:n}),e=fixEvent(e),this.allowedEvents_[n]&&this["on"+n]&&this["on"+n](e),trigger(this,e)}queueTrigger(e){EVENT_MAP||(EVENT_MAP=new Map);const n=e.type||e;let o=EVENT_MAP.get(this);o||(o=new Map,EVENT_MAP.set(this,o));const u=o.get(n);o.delete(n),window$1$1.clearTimeout(u);const l=window$1$1.setTimeout(()=>{o.delete(n),o.size===0&&(o=null,EVENT_MAP.delete(this)),this.trigger(e)},0);o.set(n,l)}}EventTarget$2.prototype.allowedEvents_={},EventTarget$2.prototype.addEventListener=EventTarget$2.prototype.on,EventTarget$2.prototype.removeEventListener=EventTarget$2.prototype.off,EventTarget$2.prototype.dispatchEvent=EventTarget$2.prototype.trigger;const objName=t=>typeof t.name=="function"?t.name():typeof t.name=="string"?t.name:t.name_?t.name_:t.constructor&&t.constructor.name?t.constructor.name:typeof t,isEvented=t=>t instanceof EventTarget$2||!!t.eventBusEl_&&["on","one","off","trigger"].every(e=>typeof t[e]=="function"),addEventedCallback=(t,e)=>{isEvented(t)?e():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(e))},isValidEventType=t=>typeof t=="string"&&/\S/.test(t)||Array.isArray(t)&&!!t.length,validateTarget=(t,e,n)=>{if(!t||!t.nodeName&&!isEvented(t))throw new Error(`Invalid target for ${objName(e)}#${n}; must be a DOM node or evented object.`)},validateEventType=(t,e,n)=>{if(!isValidEventType(t))throw new Error(`Invalid event type for ${objName(e)}#${n}; must be a non-empty string or array.`)},validateListener=(t,e,n)=>{if(typeof t!="function")throw new Error(`Invalid listener for ${objName(e)}#${n}; must be a function.`)},normalizeListenArgs=(t,e,n)=>{const o=e.length<3||e[0]===t||e[0]===t.eventBusEl_;let u,l,m;return o?(u=t.eventBusEl_,e.length>=3&&e.shift(),[l,m]=e):(u=e[0],l=e[1],m=e[2]),validateTarget(u,t,n),validateEventType(l,t,n),validateListener(m,t,n),m=bind_(t,m),{isTargetingSelf:o,target:u,type:l,listener:m}},listen=(t,e,n,o)=>{validateTarget(t,t,e),t.nodeName?Events[e](t,n,o):t[e](n,o)},EventedMixin={on(...t){const{isTargetingSelf:e,target:n,type:o,listener:u}=normalizeListenArgs(this,t,"on");if(listen(n,"on",o,u),!e){const l=()=>this.off(n,o,u);l.guid=u.guid;const m=()=>this.off("dispose",l);m.guid=u.guid,listen(this,"on","dispose",l),listen(n,"on","dispose",m)}},one(...t){const{isTargetingSelf:e,target:n,type:o,listener:u}=normalizeListenArgs(this,t,"one");if(e)listen(n,"one",o,u);else{const l=(...m)=>{this.off(n,o,l),u.apply(null,m)};l.guid=u.guid,listen(n,"one",o,l)}},any(...t){const{isTargetingSelf:e,target:n,type:o,listener:u}=normalizeListenArgs(this,t,"any");if(e)listen(n,"any",o,u);else{const l=(...m)=>{this.off(n,o,l),u.apply(null,m)};l.guid=u.guid,listen(n,"any",o,l)}},off(t,e,n){if(!t||isValidEventType(t))off(this.eventBusEl_,t,e);else{const o=t,u=e;validateTarget(o,this,"off"),validateEventType(u,this,"off"),validateListener(n,this,"off"),n=bind_(this,n),this.off("dispose",n),o.nodeName?(off(o,u,n),off(o,"dispose",n)):isEvented(o)&&(o.off(u,n),o.off("dispose",n))}},trigger(t,e){validateTarget(this.eventBusEl_,this,"trigger");const n=t&&typeof t!="string"?t.type:t;if(!isValidEventType(n))throw new Error(`Invalid event type for ${objName(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return trigger(this.eventBusEl_,t,e)}};function evented(t,e={}){const{eventBusKey:n}=e;if(n){if(!t[n].nodeName)throw new Error(`The eventBusKey "${n}" does not refer to an element.`);t.eventBusEl_=t[n]}else t.eventBusEl_=createEl("span",{className:"vjs-event-bus"});return Object.assign(t,EventedMixin),t.eventedCallbacks&&t.eventedCallbacks.forEach(o=>{o()}),t.on("dispose",()=>{t.off(),[t,t.el_,t.eventBusEl_].forEach(function(o){o&&DomData.has(o)&&DomData.delete(o)}),window$1$1.setTimeout(()=>{t.eventBusEl_=null},0)}),t}const StatefulMixin={state:{},setState(t){typeof t=="function"&&(t=t());let e;return each(t,(n,o)=>{this.state[o]!==n&&(e=e||{},e[o]={from:this.state[o],to:n}),this.state[o]=n}),e&&isEvented(this)&&this.trigger({changes:e,type:"statechanged"}),e}};function stateful(t,e){return Object.assign(t,StatefulMixin),t.state=Object.assign({},t.state,e),typeof t.handleStateChanged=="function"&&isEvented(t)&&t.on("statechanged",t.handleStateChanged),t}const toLowerCase=function(t){return typeof t!="string"?t:t.replace(/./,e=>e.toLowerCase())},toTitleCase$1=function(t){return typeof t!="string"?t:t.replace(/./,e=>e.toUpperCase())},titleCaseEquals=function(t,e){return toTitleCase$1(t)===toTitleCase$1(e)};var Str=Object.freeze({__proto__:null,toLowerCase,toTitleCase:toTitleCase$1,titleCaseEquals});class Component$1{constructor(e,n,o){if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=merge$1({},this.options_),n=this.options_=merge$1(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){const u=e&&e.id&&e.id()||"no_player";this.id_=`${u}_component_${newGUID()}`}this.name_=n.name||null,n.el?this.el_=n.el:n.createEl!==!1&&(this.el_=this.createEl()),n.className&&this.el_&&n.className.split(" ").forEach(u=>this.addClass(u)),["on","off","one","any","trigger"].forEach(u=>{this[u]=void 0}),n.evented!==!1&&(evented(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),stateful(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map,this.clearingTimersOnDispose_=!1,n.initChildren!==!1&&this.initChildren(),this.ready(o),n.reportTouchActivity!==!1&&this.enableTouchActivity()}dispose(e={}){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(let n=this.children_.length-1;n>=0;n--)this.children_[n].dispose&&this.children_[n].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}}isDisposed(){return!!this.isDisposed_}player(){return this.player_}options(e){return e?(this.options_=merge$1(this.options_,e),this.options_):this.options_}el(){return this.el_}createEl(e,n,o){return createEl(e,n,o)}localize(e,n,o=e){const u=this.player_.language&&this.player_.language(),l=this.player_.languages&&this.player_.languages(),m=l&&l[u],y=u&&u.split("-")[0],E=l&&l[y];let C=o;return m&&m[e]?C=m[e]:E&&E[e]&&(C=E[e]),n&&(C=C.replace(/\{(\d+)\}/g,function(k,A){const D=n[A-1];let P=D;return typeof D>"u"&&(P=k),P})),C}handleLanguagechange(){}contentEl(){return this.contentEl_||this.el_}id(){return this.id_}name(){return this.name_}children(){return this.children_}getChildById(e){return this.childIndex_[e]}getChild(e){if(e)return this.childNameIndex_[e]}getDescendant(...e){e=e.reduce((o,u)=>o.concat(u),[]);let n=this;for(let o=0;o<e.length;o++)if(n=n.getChild(e[o]),!n||!n.getChild)return;return n}setIcon(e,n=this.el()){if(!this.player_.options_.experimentalSvgIcons)return;const o="http://www.w3.org/2000/svg",u=createEl("span",{className:"vjs-icon-placeholder vjs-svg-icon"},{"aria-hidden":"true"}),l=document$1$1.createElementNS(o,"svg");l.setAttributeNS(null,"viewBox","0 0 512 512");const m=document$1$1.createElementNS(o,"use");return l.appendChild(m),m.setAttributeNS(null,"href",`#vjs-icon-${e}`),u.appendChild(l),this.iconIsSet_?n.replaceChild(u,n.querySelector(".vjs-icon-placeholder")):n.appendChild(u),this.iconIsSet_=!0,u}addChild(e,n={},o=this.children_.length){let u,l;if(typeof e=="string"){l=toTitleCase$1(e);const m=n.componentClass||l;n.name=l;const y=Component$1.getComponent(m);if(!y)throw new Error(`Component ${m} does not exist`);if(typeof y!="function")return null;u=new y(this.player_||this,n)}else u=e;if(u.parentComponent_&&u.parentComponent_.removeChild(u),this.children_.splice(o,0,u),u.parentComponent_=this,typeof u.id=="function"&&(this.childIndex_[u.id()]=u),l=l||u.name&&toTitleCase$1(u.name()),l&&(this.childNameIndex_[l]=u,this.childNameIndex_[toLowerCase(l)]=u),typeof u.el=="function"&&u.el()){let m=null;this.children_[o+1]&&(this.children_[o+1].el_?m=this.children_[o+1].el_:isEl(this.children_[o+1])&&(m=this.children_[o+1])),this.contentEl().insertBefore(u.el(),m)}return u}removeChild(e){if(typeof e=="string"&&(e=this.getChild(e)),!e||!this.children_)return;let n=!1;for(let u=this.children_.length-1;u>=0;u--)if(this.children_[u]===e){n=!0,this.children_.splice(u,1);break}if(!n)return;e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[toTitleCase$1(e.name())]=null,this.childNameIndex_[toLowerCase(e.name())]=null;const o=e.el();o&&o.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}initChildren(){const e=this.options_.children;if(e){const n=this.options_,o=m=>{const y=m.name;let E=m.opts;if(n[y]!==void 0&&(E=n[y]),E===!1)return;E===!0&&(E={}),E.playerOptions=this.options_.playerOptions;const C=this.addChild(y,E);C&&(this[y]=C)};let u;const l=Component$1.getComponent("Tech");Array.isArray(e)?u=e:u=Object.keys(e),u.concat(Object.keys(this.options_).filter(function(m){return!u.some(function(y){return typeof y=="string"?m===y:m===y.name})})).map(m=>{let y,E;return typeof m=="string"?(y=m,E=e[y]||this.options_[y]||{}):(y=m.name,E=m),{name:y,opts:E}}).filter(m=>{const y=Component$1.getComponent(m.opts.componentClass||toTitleCase$1(m.name));return y&&!l.isTech(y)}).forEach(o)}}buildCSSClass(){return""}ready(e,n=!1){if(e){if(!this.isReady_){this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e);return}n?e.call(this):this.setTimeout(e,1)}}triggerReady(){this.isReady_=!0,this.setTimeout(function(){const e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(n){n.call(this)},this),this.trigger("ready")},1)}$(e,n){return $(e,n||this.contentEl())}$$(e,n){return $$(e,n||this.contentEl())}hasClass(e){return hasClass(this.el_,e)}addClass(...e){addClass(this.el_,...e)}removeClass(...e){removeClass(this.el_,...e)}toggleClass(e,n){toggleClass(this.el_,e,n)}show(){this.removeClass("vjs-hidden")}hide(){this.addClass("vjs-hidden")}lockShowing(){this.addClass("vjs-lock-showing")}unlockShowing(){this.removeClass("vjs-lock-showing")}getAttribute(e){return getAttribute(this.el_,e)}setAttribute(e,n){setAttribute(this.el_,e,n)}removeAttribute(e){removeAttribute(this.el_,e)}width(e,n){return this.dimension("width",e,n)}height(e,n){return this.dimension("height",e,n)}dimensions(e,n){this.width(e,!0),this.height(n)}dimension(e,n,o){if(n!==void 0){(n===null||n!==n)&&(n=0),(""+n).indexOf("%")!==-1||(""+n).indexOf("px")!==-1?this.el_.style[e]=n:n==="auto"?this.el_.style[e]="":this.el_.style[e]=n+"px",o||this.trigger("componentresize");return}if(!this.el_)return 0;const u=this.el_.style[e],l=u.indexOf("px");return parseInt(l!==-1?u.slice(0,l):this.el_["offset"+toTitleCase$1(e)],10)}currentDimension(e){let n=0;if(e!=="width"&&e!=="height")throw new Error("currentDimension only accepts width or height value");if(n=computedStyle(this.el_,e),n=parseFloat(n),n===0||isNaN(n)){const o=`offset${toTitleCase$1(e)}`;n=this.el_[o]}return n}currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}}currentWidth(){return this.currentDimension("width")}currentHeight(){return this.currentDimension("height")}getPositions(){const e=this.el_.getBoundingClientRect(),n={x:e.x,y:e.y,width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left},o={x:e.left+e.width/2,y:e.top+e.height/2,width:0,height:0,top:e.top+e.height/2,right:e.left+e.width/2,bottom:e.top+e.height/2,left:e.left+e.width/2};return{boundingClientRect:n,center:o}}focus(){this.el_.focus()}blur(){this.el_.blur()}handleKeyDown(e){this.player_&&(e.key!=="Tab"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled)&&e.stopPropagation(),this.player_.handleKeyDown(e))}handleKeyPress(e){this.handleKeyDown(e)}emitTapEvents(){let e=0,n=null;const o=10,u=200;let l;this.on("touchstart",function(y){y.touches.length===1&&(n={pageX:y.touches[0].pageX,pageY:y.touches[0].pageY},e=window$1$1.performance.now(),l=!0)}),this.on("touchmove",function(y){if(y.touches.length>1)l=!1;else if(n){const E=y.touches[0].pageX-n.pageX,C=y.touches[0].pageY-n.pageY;Math.sqrt(E*E+C*C)>o&&(l=!1)}});const m=function(){l=!1};this.on("touchleave",m),this.on("touchcancel",m),this.on("touchend",function(y){n=null,l===!0&&window$1$1.performance.now()-e<u&&(y.preventDefault(),this.trigger("tap"))})}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const e=bind_(this.player(),this.player().reportUserActivity);let n;this.on("touchstart",function(){e(),this.clearInterval(n),n=this.setInterval(e,250)});const o=function(u){e(),this.clearInterval(n)};this.on("touchmove",e),this.on("touchend",o),this.on("touchcancel",o)}setTimeout(e,n){var o;return e=bind_(this,e),this.clearTimersOnDispose_(),o=window$1$1.setTimeout(()=>{this.setTimeoutIds_.has(o)&&this.setTimeoutIds_.delete(o),e()},n),this.setTimeoutIds_.add(o),o}clearTimeout(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),window$1$1.clearTimeout(e)),e}setInterval(e,n){e=bind_(this,e),this.clearTimersOnDispose_();const o=window$1$1.setInterval(e,n);return this.setIntervalIds_.add(o),o}clearInterval(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),window$1$1.clearInterval(e)),e}requestAnimationFrame(e){this.clearTimersOnDispose_();var n;return e=bind_(this,e),n=window$1$1.requestAnimationFrame(()=>{this.rafIds_.has(n)&&this.rafIds_.delete(n),e()}),this.rafIds_.add(n),n}requestNamedAnimationFrame(e,n){this.namedRafs_.has(e)&&this.cancelNamedAnimationFrame(e),this.clearTimersOnDispose_(),n=bind_(this,n);const o=this.requestAnimationFrame(()=>{n(),this.namedRafs_.has(e)&&this.namedRafs_.delete(e)});return this.namedRafs_.set(e,o),e}cancelNamedAnimationFrame(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))}cancelAnimationFrame(e){return this.rafIds_.has(e)&&(this.rafIds_.delete(e),window$1$1.cancelAnimationFrame(e)),e}clearTimersOnDispose_(){this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",()=>{[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(([e,n])=>{this[e].forEach((o,u)=>this[n](u))}),this.clearingTimersOnDispose_=!1}))}getIsDisabled(){return!!this.el_.disabled}getIsExpresslyInert(){return this.el_.inert&&!this.el_.ownerDocument.documentElement.inert}getIsFocusable(e){return(e||this.el_).tabIndex>=0&&!(this.getIsDisabled()||this.getIsExpresslyInert())}getIsAvailableToBeFocused(e){function n(l){const m=window$1$1.getComputedStyle(l,null),y=m.getPropertyValue("visibility");return m.getPropertyValue("display")!=="none"&&!["hidden","collapse"].includes(y)}function o(l){return!(!n(l.parentElement)||!n(l)||l.style.opacity==="0"||window$1$1.getComputedStyle(l).height==="0px"||window$1$1.getComputedStyle(l).width==="0px")}function u(l){if(l.offsetWidth+l.offsetHeight+l.getBoundingClientRect().height+l.getBoundingClientRect().width===0)return!1;const m={x:l.getBoundingClientRect().left+l.offsetWidth/2,y:l.getBoundingClientRect().top+l.offsetHeight/2};if(m.x<0||m.x>(document$1$1.documentElement.clientWidth||window$1$1.innerWidth)||m.y<0||m.y>(document$1$1.documentElement.clientHeight||window$1$1.innerHeight))return!1;let y=document$1$1.elementFromPoint(m.x,m.y);for(;y;){if(y===l)return!0;if(y.parentNode)y=y.parentNode;else return!1}}return e||(e=this.el()),!!(u(e)&&o(e)&&(!e.parentElement||e.tabIndex>=0))}static registerComponent(e,n){if(typeof e!="string"||!e)throw new Error(`Illegal component name, "${e}"; must be a non-empty string.`);const o=Component$1.getComponent("Tech"),u=o&&o.isTech(n),l=Component$1===n||Component$1.prototype.isPrototypeOf(n.prototype);if(u||!l){let y;throw u?y="techs must be registered using Tech.registerTech()":y="must be a Component subclass",new Error(`Illegal component, "${e}"; ${y}.`)}e=toTitleCase$1(e),Component$1.components_||(Component$1.components_={});const m=Component$1.getComponent("Player");if(e==="Player"&&m&&m.players){const y=m.players,E=Object.keys(y);if(y&&E.length>0&&E.map(C=>y[C]).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return Component$1.components_[e]=n,Component$1.components_[toLowerCase(e)]=n,n}static getComponent(e){if(!(!e||!Component$1.components_))return Component$1.components_[e]}}Component$1.registerComponent("Component",Component$1);function rangeCheck(t,e,n){if(typeof e!="number"||e<0||e>n)throw new Error(`Failed to execute '${t}' on 'TimeRanges': The index provided (${e}) is non-numeric or out of bounds (0-${n}).`)}function getRange(t,e,n,o){return rangeCheck(t,o,n.length-1),n[o][e]}function createTimeRangesObj(t){let e;return t===void 0||t.length===0?e={length:0,start(){throw new Error("This TimeRanges object is empty")},end(){throw new Error("This TimeRanges object is empty")}}:e={length:t.length,start:getRange.bind(null,"start",0,t),end:getRange.bind(null,"end",1,t)},window$1$1.Symbol&&window$1$1.Symbol.iterator&&(e[window$1$1.Symbol.iterator]=()=>(t||[]).values()),e}function createTimeRanges$1(t,e){return Array.isArray(t)?createTimeRangesObj(t):t===void 0||e===void 0?createTimeRangesObj():createTimeRangesObj([[t,e]])}const defaultImplementation=function(t,e){t=t<0?0:t;let n=Math.floor(t%60),o=Math.floor(t/60%60),u=Math.floor(t/3600);const l=Math.floor(e/60%60),m=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(u=o=n="-"),u=u>0||m>0?u+":":"",o=((u||l>=10)&&o<10?"0"+o:o)+":",n=n<10?"0"+n:n,u+o+n};let implementation$6=defaultImplementation;function setFormatTime(t){implementation$6=t}function resetFormatTime(){implementation$6=defaultImplementation}function formatTime(t,e=t){return implementation$6(t,e)}var Time$1=Object.freeze({__proto__:null,createTimeRanges:createTimeRanges$1,createTimeRange:createTimeRanges$1,setFormatTime,resetFormatTime,formatTime});function bufferedPercent(t,e){let n=0,o,u;if(!e)return 0;(!t||!t.length)&&(t=createTimeRanges$1(0,0));for(let l=0;l<t.length;l++)o=t.start(l),u=t.end(l),u>e&&(u=e),n+=u-o;return n/e}function MediaError(t){if(t instanceof MediaError)return t;typeof t=="number"?this.code=t:typeof t=="string"?this.message=t:isObject$1(t)&&(typeof t.code=="number"&&(this.code=t.code),Object.assign(this,t)),this.message||(this.message=MediaError.defaultMessages[this.code]||"")}MediaError.prototype.code=0,MediaError.prototype.message="",MediaError.prototype.status=null,MediaError.prototype.metadata=null,MediaError.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],MediaError.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."},MediaError.MEDIA_ERR_CUSTOM=0,MediaError.prototype.MEDIA_ERR_CUSTOM=0,MediaError.MEDIA_ERR_ABORTED=1,MediaError.prototype.MEDIA_ERR_ABORTED=1,MediaError.MEDIA_ERR_NETWORK=2,MediaError.prototype.MEDIA_ERR_NETWORK=2,MediaError.MEDIA_ERR_DECODE=3,MediaError.prototype.MEDIA_ERR_DECODE=3,MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED=4,MediaError.prototype.MEDIA_ERR_SRC_NOT_SUPPORTED=4,MediaError.MEDIA_ERR_ENCRYPTED=5,MediaError.prototype.MEDIA_ERR_ENCRYPTED=5;function isPromise(t){return t!=null&&typeof t.then=="function"}function silencePromise(t){isPromise(t)&&t.then(null,e=>{})}const trackToJson_=function(t){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((n,o,u)=>(t[o]&&(n[o]=t[o]),n),{cues:t.cues&&Array.prototype.map.call(t.cues,function(n){return{startTime:n.startTime,endTime:n.endTime,text:n.text,id:n.id}})})},textTracksToJson=function(t){const e=t.$$("track"),n=Array.prototype.map.call(e,u=>u.track);return Array.prototype.map.call(e,function(u){const l=trackToJson_(u.track);return u.src&&(l.src=u.src),l}).concat(Array.prototype.filter.call(t.textTracks(),function(u){return n.indexOf(u)===-1}).map(trackToJson_))},jsonToTextTracks=function(t,e){return t.forEach(function(n){const o=e.addRemoteTextTrack(n).track;!n.src&&n.cues&&n.cues.forEach(u=>o.addCue(u))}),e.textTracks()};var textTrackConverter={textTracksToJson,jsonToTextTracks,trackToJson_};const MODAL_CLASS_NAME="vjs-modal-dialog";class ModalDialog extends Component$1{constructor(e,n){super(e,n),this.handleKeyDown_=o=>this.handleKeyDown(o),this.close_=o=>this.close(o),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=createEl("div",{className:`${MODAL_CLASS_NAME}-content`},{role:"document"}),this.descEl_=createEl("p",{className:`${MODAL_CLASS_NAME}-description vjs-control-text`,id:this.el().getAttribute("aria-describedby")}),textContent(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}createEl(){return super.createEl("div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":`${this.id()}_description`,"aria-hidden":"true","aria-label":this.label(),role:"dialog","aria-live":"polite"})}dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,super.dispose()}buildCSSClass(){return`${MODAL_CLASS_NAME} vjs-hidden ${super.buildCSSClass()}`}label(){return this.localize(this.options_.label||"Modal Window")}description(){let e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e}open(){if(this.opened_){this.options_.fillAlways&&this.fill();return}const e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}opened(e){return typeof e=="boolean"&&this[e?"open":"close"](),this.opened_}close(){if(!this.opened_)return;const e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger({type:"modalclose",bubbles:!0}),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}closeable(e){if(typeof e=="boolean"){const n=this.closeable_=!!e;let o=this.getChild("closeButton");if(n&&!o){const u=this.contentEl_;this.contentEl_=this.el_,o=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=u,this.on(o,"close",this.close_)}!n&&o&&(this.off(o,"close",this.close_),this.removeChild(o),o.dispose())}return this.closeable_}fill(){this.fillWith(this.content())}fillWith(e){const n=this.contentEl(),o=n.parentNode,u=n.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,o.removeChild(n),this.empty(),insertContent(n,e),this.trigger("modalfill"),u?o.insertBefore(n,u):o.appendChild(n);const l=this.getChild("closeButton");l&&o.appendChild(l.el_),this.trigger("aftermodalfill")}empty(){this.trigger("beforemodalempty"),emptyEl(this.contentEl()),this.trigger("modalempty")}content(e){return typeof e<"u"&&(this.content_=e),this.content_}conditionalFocus_(){const e=document$1$1.activeElement,n=this.player_.el_;this.previouslyActiveEl_=null,(n.contains(e)||n===e)&&(this.previouslyActiveEl_=e,this.focus())}conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)}handleKeyDown(e){if(this.trigger({type:"modalKeydown",originalEvent:e,target:this,bubbles:!0}),e.stopPropagation(),e.key==="Escape"&&this.closeable()){e.preventDefault(),this.close();return}if(e.key!=="Tab")return;const n=this.focusableEls_(),o=this.el_.querySelector(":focus");let u;for(let l=0;l<n.length;l++)if(o===n[l]){u=l;break}document$1$1.activeElement===this.el_&&(u=0),e.shiftKey&&u===0?(n[n.length-1].focus(),e.preventDefault()):!e.shiftKey&&u===n.length-1&&(n[0].focus(),e.preventDefault())}focusableEls_(){const e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,n=>(n instanceof window$1$1.HTMLAnchorElement||n instanceof window$1$1.HTMLAreaElement)&&n.hasAttribute("href")||(n instanceof window$1$1.HTMLInputElement||n instanceof window$1$1.HTMLSelectElement||n instanceof window$1$1.HTMLTextAreaElement||n instanceof window$1$1.HTMLButtonElement)&&!n.hasAttribute("disabled")||n instanceof window$1$1.HTMLIFrameElement||n instanceof window$1$1.HTMLObjectElement||n instanceof window$1$1.HTMLEmbedElement||n.hasAttribute("tabindex")&&n.getAttribute("tabindex")!==-1||n.hasAttribute("contenteditable"))}}ModalDialog.prototype.options_={pauseOnOpen:!0,temporary:!0},Component$1.registerComponent("ModalDialog",ModalDialog);class TrackList extends EventTarget$2{constructor(e=[]){super(),this.tracks_=[],Object.defineProperty(this,"length",{get(){return this.tracks_.length}});for(let n=0;n<e.length;n++)this.addTrack(e[n])}addTrack(e){const n=this.tracks_.length;""+n in this||Object.defineProperty(this,n,{get(){return this.tracks_[n]}}),this.tracks_.indexOf(e)===-1&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=()=>{this.trigger({track:e,type:"labelchange",target:this})},isEvented(e)&&e.addEventListener("labelchange",e.labelchange_)}removeTrack(e){let n;for(let o=0,u=this.length;o<u;o++)if(this[o]===e){n=this[o],n.off&&n.off(),this.tracks_.splice(o,1);break}n&&this.trigger({track:n,type:"removetrack",target:this})}getTrackById(e){let n=null;for(let o=0,u=this.length;o<u;o++){const l=this[o];if(l.id===e){n=l;break}}return n}}TrackList.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const t in TrackList.prototype.allowedEvents_)TrackList.prototype["on"+t]=null;const disableOthers$1=function(t,e){for(let n=0;n<t.length;n++)!Object.keys(t[n]).length||e.id===t[n].id||(t[n].enabled=!1)};class AudioTrackList extends TrackList{constructor(e=[]){for(let n=e.length-1;n>=0;n--)if(e[n].enabled){disableOthers$1(e,e[n]);break}super(e),this.changing_=!1}addTrack(e){e.enabled&&disableOthers$1(this,e),super.addTrack(e),e.addEventListener&&(e.enabledChange_=()=>{this.changing_||(this.changing_=!0,disableOthers$1(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("enabledchange",e.enabledChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.enabledChange_&&(e.removeEventListener("enabledchange",e.enabledChange_),e.enabledChange_=null)}}const disableOthers=function(t,e){for(let n=0;n<t.length;n++)!Object.keys(t[n]).length||e.id===t[n].id||(t[n].selected=!1)};class VideoTrackList extends TrackList{constructor(e=[]){for(let n=e.length-1;n>=0;n--)if(e[n].selected){disableOthers(e,e[n]);break}super(e),this.changing_=!1,Object.defineProperty(this,"selectedIndex",{get(){for(let n=0;n<this.length;n++)if(this[n].selected)return n;return-1},set(){}})}addTrack(e){e.selected&&disableOthers(this,e),super.addTrack(e),e.addEventListener&&(e.selectedChange_=()=>{this.changing_||(this.changing_=!0,disableOthers(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("selectedchange",e.selectedChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.selectedChange_&&(e.removeEventListener("selectedchange",e.selectedChange_),e.selectedChange_=null)}}class TextTrackList extends TrackList{addTrack(e){super.addTrack(e),this.queueChange_||(this.queueChange_=()=>this.queueTrigger("change")),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=()=>this.trigger("selectedlanguagechange")),e.addEventListener("modechange",this.queueChange_),["metadata","chapters"].indexOf(e.kind)===-1&&e.addEventListener("modechange",this.triggerSelectedlanguagechange_)}removeTrack(e){super.removeTrack(e),e.removeEventListener&&(this.queueChange_&&e.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&e.removeEventListener("modechange",this.triggerSelectedlanguagechange_))}}class HtmlTrackElementList{constructor(e=[]){this.trackElements_=[],Object.defineProperty(this,"length",{get(){return this.trackElements_.length}});for(let n=0,o=e.length;n<o;n++)this.addTrackElement_(e[n])}addTrackElement_(e){const n=this.trackElements_.length;""+n in this||Object.defineProperty(this,n,{get(){return this.trackElements_[n]}}),this.trackElements_.indexOf(e)===-1&&this.trackElements_.push(e)}getTrackElementByTrack_(e){let n;for(let o=0,u=this.trackElements_.length;o<u;o++)if(e===this.trackElements_[o].track){n=this.trackElements_[o];break}return n}removeTrackElement_(e){for(let n=0,o=this.trackElements_.length;n<o;n++)if(e===this.trackElements_[n]){this.trackElements_[n].track&&typeof this.trackElements_[n].track.off=="function"&&this.trackElements_[n].track.off(),typeof this.trackElements_[n].off=="function"&&this.trackElements_[n].off(),this.trackElements_.splice(n,1);break}}}class TextTrackCueList{constructor(e){TextTrackCueList.prototype.setCues_.call(this,e),Object.defineProperty(this,"length",{get(){return this.length_}})}setCues_(e){const n=this.length||0;let o=0;const u=e.length;this.cues_=e,this.length_=e.length;const l=function(m){""+m in this||Object.defineProperty(this,""+m,{get(){return this.cues_[m]}})};if(n<u)for(o=n;o<u;o++)l.call(this,o)}getCueById(e){let n=null;for(let o=0,u=this.length;o<u;o++){const l=this[o];if(l.id===e){n=l;break}}return n}}const VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"};class Track extends EventTarget$2{constructor(e={}){super();const n={id:e.id||"vjs_track_"+newGUID(),kind:e.kind||"",language:e.language||""};let o=e.label||"";for(const u in n)Object.defineProperty(this,u,{get(){return n[u]},set(){}});Object.defineProperty(this,"label",{get(){return o},set(u){u!==o&&(o=u,this.trigger("labelchange"))}})}}const parseUrl=function(t){return new URL(t,document$1$1.baseURI)},getAbsoluteURL=function(t){return new URL(t,document$1$1.baseURI).href},getFileExtension=function(t){if(typeof t=="string"){const n=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(t);if(n)return n.pop().toLowerCase()}return""},isCrossOrigin=function(t,e=window$1$1.location){return parseUrl(t).origin!==e.origin};var Url$1=Object.freeze({__proto__:null,parseUrl,getAbsoluteURL,getFileExtension,isCrossOrigin});const parseCues=function(t,e){const n=new window$1$1.WebVTT.Parser(window$1$1,window$1$1.vttjs,window$1$1.WebVTT.StringDecoder()),o=[];n.oncue=function(u){e.addCue(u)},n.onparsingerror=function(u){o.push(u)},n.onflush=function(){e.trigger({type:"loadeddata",target:e})},n.parse(t),o.length>0&&(window$1$1.console&&window$1$1.console.groupCollapsed&&window$1$1.console.groupCollapsed(`Text Track parsing errors for ${e.src}`),o.forEach(u=>log$1.error(u)),window$1$1.console&&window$1$1.console.groupEnd&&window$1$1.console.groupEnd()),n.flush()},loadTrack=function(t,e){const n={uri:t},o=isCrossOrigin(t);o&&(n.cors=o);const u=e.tech_.crossOrigin()==="use-credentials";u&&(n.withCredentials=u),XHR(n,bind_(this,function(l,m,y){if(l)return log$1.error(l,m);e.loaded_=!0,typeof window$1$1.WebVTT!="function"?e.tech_&&e.tech_.any(["vttjsloaded","vttjserror"],E=>{if(E.type==="vttjserror"){log$1.error(`vttjs failed to load, stopping trying to process ${e.src}`);return}return parseCues(y,e)}):parseCues(y,e)}))};class TextTrack extends Track{constructor(e={}){if(!e.tech)throw new Error("A tech was not provided.");const n=merge$1(e,{kind:TextTrackKind[e.kind]||"subtitles",language:e.language||e.srclang||""});let o=TextTrackMode[n.mode]||"disabled";const u=n.default;(n.kind==="metadata"||n.kind==="chapters")&&(o="hidden"),super(n),this.tech_=n.tech,this.cues_=[],this.activeCues_=[],this.preload_=this.tech_.preloadTextTracks!==!1;const l=new TextTrackCueList(this.cues_),m=new TextTrackCueList(this.activeCues_);let y=!1;this.timeupdateHandler=bind_(this,function(C={}){if(!this.tech_.isDisposed()){if(!this.tech_.isReady_){C.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler));return}this.activeCues=this.activeCues,y&&(this.trigger("cuechange"),y=!1),C.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))}});const E=()=>{this.stopTracking()};this.tech_.one("dispose",E),o!=="disabled"&&this.startTracking(),Object.defineProperties(this,{default:{get(){return u},set(){}},mode:{get(){return o},set(C){TextTrackMode[C]&&o!==C&&(o=C,!this.preload_&&o!=="disabled"&&this.cues.length===0&&loadTrack(this.src,this),this.stopTracking(),o!=="disabled"&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?l:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(this.cues.length===0)return m;const C=this.tech_.currentTime(),k=[];for(let A=0,D=this.cues.length;A<D;A++){const P=this.cues[A];P.startTime<=C&&P.endTime>=C&&k.push(P)}if(y=!1,k.length!==this.activeCues_.length)y=!0;else for(let A=0;A<k.length;A++)this.activeCues_.indexOf(k[A])===-1&&(y=!0);return this.activeCues_=k,m.setCues_(this.activeCues_),m},set(){}}}),n.src?(this.src=n.src,this.preload_||(this.loaded_=!0),(this.preload_||n.kind!=="subtitles"&&n.kind!=="captions")&&loadTrack(this.src,this)):this.loaded_=!0}startTracking(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)}stopTracking(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)}addCue(e){let n=e;if(!("getCueAsHTML"in n)){n=new window$1$1.vttjs.VTTCue(e.startTime,e.endTime,e.text);for(const u in e)u in n||(n[u]=e[u]);n.id=e.id,n.originalCue_=e}const o=this.tech_.textTracks();for(let u=0;u<o.length;u++)o[u]!==this&&o[u].removeCue(n);this.cues_.push(n),this.cues.setCues_(this.cues_)}removeCue(e){let n=this.cues_.length;for(;n--;){const o=this.cues_[n];if(o===e||o.originalCue_&&o.originalCue_===e){this.cues_.splice(n,1),this.cues.setCues_(this.cues_);break}}}}TextTrack.prototype.allowedEvents_={cuechange:"cuechange"};class AudioTrack extends Track{constructor(e={}){const n=merge$1(e,{kind:AudioTrackKind[e.kind]||""});super(n);let o=!1;Object.defineProperty(this,"enabled",{get(){return o},set(u){typeof u!="boolean"||u===o||(o=u,this.trigger("enabledchange"))}}),n.enabled&&(this.enabled=n.enabled),this.loaded_=!0}}class VideoTrack extends Track{constructor(e={}){const n=merge$1(e,{kind:VideoTrackKind[e.kind]||""});super(n);let o=!1;Object.defineProperty(this,"selected",{get(){return o},set(u){typeof u!="boolean"||u===o||(o=u,this.trigger("selectedchange"))}}),n.selected&&(this.selected=n.selected)}}class HTMLTrackElement extends EventTarget$2{constructor(e={}){super();let n;const o=new TextTrack(e);this.kind=o.kind,this.src=o.src,this.srclang=o.language,this.label=o.label,this.default=o.default,Object.defineProperties(this,{readyState:{get(){return n}},track:{get(){return o}}}),n=HTMLTrackElement.NONE,o.addEventListener("loadeddata",()=>{n=HTMLTrackElement.LOADED,this.trigger({type:"load",target:this})})}}HTMLTrackElement.prototype.allowedEvents_={load:"load"},HTMLTrackElement.NONE=0,HTMLTrackElement.LOADING=1,HTMLTrackElement.LOADED=2,HTMLTrackElement.ERROR=3;const NORMAL={audio:{ListClass:AudioTrackList,TrackClass:AudioTrack,capitalName:"Audio"},video:{ListClass:VideoTrackList,TrackClass:VideoTrack,capitalName:"Video"},text:{ListClass:TextTrackList,TrackClass:TextTrack,capitalName:"Text"}};Object.keys(NORMAL).forEach(function(t){NORMAL[t].getterName=`${t}Tracks`,NORMAL[t].privateName=`${t}Tracks_`});const REMOTE={remoteText:{ListClass:TextTrackList,TrackClass:TextTrack,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:HtmlTrackElementList,TrackClass:HTMLTrackElement,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},ALL=Object.assign({},NORMAL,REMOTE);REMOTE.names=Object.keys(REMOTE),NORMAL.names=Object.keys(NORMAL),ALL.names=[].concat(REMOTE.names).concat(NORMAL.names);function createTrackHelper(t,e,n,o,u={}){const l=t.textTracks();u.kind=e,n&&(u.label=n),o&&(u.language=o),u.tech=t;const m=new ALL.text.TrackClass(u);return l.addTrack(m),m}let Tech$1=class vn extends Component$1{constructor(e={},n=function(){}){e.reportTouchActivity=!1,super(null,e,n),this.onDurationChange_=o=>this.onDurationChange(o),this.trackProgress_=o=>this.trackProgress(o),this.trackCurrentTime_=o=>this.trackCurrentTime(o),this.stopTrackingCurrentTime_=o=>this.stopTrackingCurrentTime(o),this.disposeSourceHandler_=o=>this.disposeSourceHandler(o),this.queuedHanders_=new Set,this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),ALL.names.forEach(o=>{const u=ALL[o];e&&e[u.getterName]&&(this[u.privateName]=e[u.getterName])}),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(o=>{e[`native${o}Tracks`]===!1&&(this[`featuresNative${o}Tracks`]=!1)}),e.nativeCaptions===!1||e.nativeTextTracks===!1?this.featuresNativeTextTracks=!1:(e.nativeCaptions===!0||e.nativeTextTracks===!0)&&(this.featuresNativeTextTracks=!0),this.featuresNativeTextTracks||this.emulateTextTracks(),this.preloadTextTracks=e.preloadTextTracks!==!1,this.autoRemoteTextTracks_=new ALL.text.ListClass,this.initTrackListeners(),e.nativeControlsForTouch||this.emitTapEvents(),this.constructor&&(this.name_=this.constructor.name||"Unknown Tech")}triggerSourceset(e){this.isReady_||this.one("ready",()=>this.setTimeout(()=>this.triggerSourceset(e),1)),this.trigger({src:e,type:"sourceset"})}manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)}manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)}trackProgress(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(bind_(this,function(){const n=this.bufferedPercent();this.bufferedPercent_!==n&&this.trigger("progress"),this.bufferedPercent_=n,n===1&&this.stopTrackingProgress()}),500)}onDurationChange(e){this.duration_=this.duration()}buffered(){return createTimeRanges$1(0,0)}bufferedPercent(){return bufferedPercent(this.buffered(),this.duration_)}stopTrackingProgress(){this.clearInterval(this.progressInterval)}manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)}manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)}trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)}stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}dispose(){this.clearTracks(NORMAL.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),super.dispose()}clearTracks(e){e=[].concat(e),e.forEach(n=>{const o=this[`${n}Tracks`]()||[];let u=o.length;for(;u--;){const l=o[u];n==="text"&&this.removeRemoteTextTrack(l),o.removeTrack(l)}})}cleanupAutoTextTracks(){const e=this.autoRemoteTextTracks_||[];let n=e.length;for(;n--;){const o=e[n];this.removeRemoteTextTrack(o)}}reset(){}crossOrigin(){}setCrossOrigin(){}error(e){return e!==void 0&&(this.error_=new MediaError(e),this.trigger("error")),this.error_}played(){return this.hasStarted_?createTimeRanges$1(0,0):createTimeRanges$1()}play(){}setScrubbing(e){}scrubbing(){}setCurrentTime(e){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}initTrackListeners(){NORMAL.names.forEach(e=>{const n=NORMAL[e],o=()=>{this.trigger(`${e}trackchange`)},u=this[n.getterName]();u.addEventListener("removetrack",o),u.addEventListener("addtrack",o),this.on("dispose",()=>{u.removeEventListener("removetrack",o),u.removeEventListener("addtrack",o)})})}addWebVttScript_(){if(!window$1$1.WebVTT)if(document$1$1.body.contains(this.el())){if(!this.options_["vtt.js"]&&isPlain(vtt)&&Object.keys(vtt).length>0){this.trigger("vttjsloaded");return}const e=document$1$1.createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",e.onload=()=>{this.trigger("vttjsloaded")},e.onerror=()=>{this.trigger("vttjserror")},this.on("dispose",()=>{e.onload=null,e.onerror=null}),window$1$1.WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const e=this.textTracks(),n=this.remoteTextTracks(),o=y=>e.addTrack(y.track),u=y=>e.removeTrack(y.track);n.on("addtrack",o),n.on("removetrack",u),this.addWebVttScript_();const l=()=>this.trigger("texttrackchange"),m=()=>{l();for(let y=0;y<e.length;y++){const E=e[y];E.removeEventListener("cuechange",l),E.mode==="showing"&&E.addEventListener("cuechange",l)}};m(),e.addEventListener("change",m),e.addEventListener("addtrack",m),e.addEventListener("removetrack",m),this.on("dispose",function(){n.off("addtrack",o),n.off("removetrack",u),e.removeEventListener("change",m),e.removeEventListener("addtrack",m),e.removeEventListener("removetrack",m);for(let y=0;y<e.length;y++)e[y].removeEventListener("cuechange",l)})}addTextTrack(e,n,o){if(!e)throw new Error("TextTrack kind is required but was not provided");return createTrackHelper(this,e,n,o)}createRemoteTextTrack(e){const n=merge$1(e,{tech:this});return new REMOTE.remoteTextEl.TrackClass(n)}addRemoteTextTrack(e={},n){const o=this.createRemoteTextTrack(e);return typeof n!="boolean"&&(n=!1),this.remoteTextTrackEls().addTrackElement_(o),this.remoteTextTracks().addTrack(o.track),n===!1&&this.ready(()=>this.autoRemoteTextTracks_.addTrack(o.track)),o}removeRemoteTextTrack(e){const n=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(n),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)}getVideoPlaybackQuality(){return{}}requestPictureInPicture(){return Promise.reject()}disablePictureInPicture(){return!0}setDisablePictureInPicture(){}requestVideoFrameCallback(e){const n=newGUID();return!this.isReady_||this.paused()?(this.queuedHanders_.add(n),this.one("playing",()=>{this.queuedHanders_.has(n)&&(this.queuedHanders_.delete(n),e())})):this.requestNamedAnimationFrame(n,e),n}cancelVideoFrameCallback(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)}setPoster(){}playsinline(){}setPlaysinline(){}overrideNativeAudioTracks(e){}overrideNativeVideoTracks(e){}canPlayType(e){return""}static canPlayType(e){return""}static canPlaySource(e,n){return vn.canPlayType(e.type)}static isTech(e){return e.prototype instanceof vn||e instanceof vn||e===vn}static registerTech(e,n){if(vn.techs_||(vn.techs_={}),!vn.isTech(n))throw new Error(`Tech ${e} must be a Tech`);if(!vn.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!vn.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=toTitleCase$1(e),vn.techs_[e]=n,vn.techs_[toLowerCase(e)]=n,e!=="Tech"&&vn.defaultTechOrder_.push(e),n}static getTech(e){if(e){if(vn.techs_&&vn.techs_[e])return vn.techs_[e];if(e=toTitleCase$1(e),window$1$1&&window$1$1.videojs&&window$1$1.videojs[e])return log$1.warn(`The ${e} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),window$1$1.videojs[e]}}};ALL.names.forEach(function(t){const e=ALL[t];Tech$1.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}}),Tech$1.prototype.featuresVolumeControl=!0,Tech$1.prototype.featuresMuteControl=!0,Tech$1.prototype.featuresFullscreenResize=!1,Tech$1.prototype.featuresPlaybackRate=!1,Tech$1.prototype.featuresProgressEvents=!1,Tech$1.prototype.featuresSourceset=!1,Tech$1.prototype.featuresTimeupdateEvents=!1,Tech$1.prototype.featuresNativeTextTracks=!1,Tech$1.prototype.featuresVideoFrameCallback=!1,Tech$1.withSourceHandlers=function(t){t.registerSourceHandler=function(n,o){let u=t.sourceHandlers;u||(u=t.sourceHandlers=[]),o===void 0&&(o=u.length),u.splice(o,0,n)},t.canPlayType=function(n){const o=t.sourceHandlers||[];let u;for(let l=0;l<o.length;l++)if(u=o[l].canPlayType(n),u)return u;return""},t.selectSourceHandler=function(n,o){const u=t.sourceHandlers||[];let l;for(let m=0;m<u.length;m++)if(l=u[m].canHandleSource(n,o),l)return u[m];return null},t.canPlaySource=function(n,o){const u=t.selectSourceHandler(n,o);return u?u.canHandleSource(n,o):""},["seekable","seeking","duration"].forEach(function(n){const o=this[n];typeof o=="function"&&(this[n]=function(){return this.sourceHandler_&&this.sourceHandler_[n]?this.sourceHandler_[n].apply(this.sourceHandler_,arguments):o.apply(this,arguments)})},t.prototype),t.prototype.setSource=function(n){let o=t.selectSourceHandler(n,this.options_);o||(t.nativeSourceHandler?o=t.nativeSourceHandler:log$1.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),o!==t.nativeSourceHandler&&(this.currentSource_=n),this.sourceHandler_=o.handleSource(n,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},t.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},Component$1.registerComponent("Tech",Tech$1),Tech$1.registerTech("Tech",Tech$1),Tech$1.defaultTechOrder_=[];const middlewares={},middlewareInstances={},TERMINATOR={};function use(t,e){middlewares[t]=middlewares[t]||[],middlewares[t].push(e)}function setSource(t,e,n){t.setTimeout(()=>setSourceHelper(e,middlewares[e.type],n,t),1)}function setTech(t,e){t.forEach(n=>n.setTech&&n.setTech(e))}function get(t,e,n){return t.reduceRight(middlewareIterator(n),e[n]())}function set(t,e,n,o){return e[n](t.reduce(middlewareIterator(n),o))}function mediate(t,e,n,o=null){const u="call"+toTitleCase$1(n),l=t.reduce(middlewareIterator(u),o),m=l===TERMINATOR,y=m?null:e[n](l);return executeRight(t,n,y,m),y}const allowedGetters={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},allowedSetters={setCurrentTime:1,setMuted:1,setVolume:1},allowedMediators={play:1,pause:1};function middlewareIterator(t){return(e,n)=>e===TERMINATOR?TERMINATOR:n[t]?n[t](e):e}function executeRight(t,e,n,o){for(let u=t.length-1;u>=0;u--){const l=t[u];l[e]&&l[e](o,n)}}function clearCacheForPlayer(t){middlewareInstances.hasOwnProperty(t.id())&&delete middlewareInstances[t.id()]}function getOrCreateFactory(t,e){const n=middlewareInstances[t.id()];let o=null;if(n==null)return o=e(t),middlewareInstances[t.id()]=[[e,o]],o;for(let u=0;u<n.length;u++){const[l,m]=n[u];l===e&&(o=m)}return o===null&&(o=e(t),n.push([e,o])),o}function setSourceHelper(t={},e=[],n,o,u=[],l=!1){const[m,...y]=e;if(typeof m=="string")setSourceHelper(t,middlewares[m],n,o,u,l);else if(m){const E=getOrCreateFactory(o,m);if(!E.setSource)return u.push(E),setSourceHelper(t,y,n,o,u,l);E.setSource(Object.assign({},t),function(C,k){if(C)return setSourceHelper(t,y,n,o,u,l);u.push(E),setSourceHelper(k,t.type===k.type?y:middlewares[k.type],n,o,u,l)})}else y.length?setSourceHelper(t,y,n,o,u,l):l?n(t,u):setSourceHelper(t,middlewares["*"],n,o,u,!0)}const MimetypesKind={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},getMimetype=function(t=""){const e=getFileExtension(t);return MimetypesKind[e.toLowerCase()]||""},findMimetype=(t,e)=>{if(!e)return"";if(t.cache_.source.src===e&&t.cache_.source.type)return t.cache_.source.type;const n=t.cache_.sources.filter(u=>u.src===e);if(n.length)return n[0].type;const o=t.$$("source");for(let u=0;u<o.length;u++){const l=o[u];if(l.type&&l.src&&l.src===e)return l.type}return getMimetype(e)},filterSource=function(t){if(Array.isArray(t)){let e=[];t.forEach(function(n){n=filterSource(n),Array.isArray(n)?e=e.concat(n):isObject$1(n)&&e.push(n)}),t=e}else typeof t=="string"&&t.trim()?t=[fixSource({src:t})]:isObject$1(t)&&typeof t.src=="string"&&t.src&&t.src.trim()?t=[fixSource(t)]:t=[];return t};function fixSource(t){if(!t.type){const e=getMimetype(t.src);e&&(t.type=e)}return t}var icons=`<svg xmlns="http://www.w3.org/2000/svg">
-  <defs>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-play">
-      <path d="M16 10v28l22-14z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-pause">
-      <path d="M12 38h8V10h-8v28zm16-28v28h8V10h-8z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-audio">
-      <path d="M24 2C14.06 2 6 10.06 6 20v14c0 3.31 2.69 6 6 6h6V24h-8v-4c0-7.73 6.27-14 14-14s14 6.27 14 14v4h-8v16h6c3.31 0 6-2.69 6-6V20c0-9.94-8.06-18-18-18z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-captions">
-      <path d="M38 8H10c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM22 22h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2zm14 0h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-subtitles">
-      <path d="M40 8H8c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h32c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM8 24h8v4H8v-4zm20 12H8v-4h20v4zm12 0h-8v-4h8v4zm0-8H20v-4h20v4z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-enter">
-      <path d="M14 28h-4v10h10v-4h-6v-6zm-4-8h4v-6h6v-4H10v10zm24 14h-6v4h10V28h-4v6zm-6-24v4h6v6h4V10H28z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-exit">
-      <path d="M10 32h6v6h4V28H10v4zm6-16h-6v4h10V10h-4v6zm12 22h4v-6h6v-4H28v10zm4-22v-6h-4v10h10v-4h-6z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-play-circle">
-      <path d="M20 33l12-9-12-9v18zm4-29C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-volume-mute">
-      <path d="M33 24c0-3.53-2.04-6.58-5-8.05v4.42l4.91 4.91c.06-.42.09-.85.09-1.28zm5 0c0 1.88-.41 3.65-1.08 5.28l3.03 3.03C41.25 29.82 42 27 42 24c0-8.56-5.99-15.72-14-17.54v4.13c5.78 1.72 10 7.07 10 13.41zM8.55 6L6 8.55 15.45 18H6v12h8l10 10V26.55l8.51 8.51c-1.34 1.03-2.85 1.86-4.51 2.36v4.13a17.94 17.94 0 0 0 7.37-3.62L39.45 42 42 39.45l-18-18L8.55 6zM24 8l-4.18 4.18L24 16.36V8z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-volume-low">
-      <path d="M14 18v12h8l10 10V8L22 18h-8z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-volume-medium">
-      <path d="M37 24c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zm-27-6v12h8l10 10V8L18 18h-8z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-volume-high">
-      <path d="M6 18v12h8l10 10V8L14 18H6zm27 6c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zM28 6.46v4.13c5.78 1.72 10 7.07 10 13.41s-4.22 11.69-10 13.41v4.13c8.01-1.82 14-8.97 14-17.54S36.01 8.28 28 6.46z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-spinner">
-      <path d="M18.8 21l9.53-16.51C26.94 4.18 25.49 4 24 4c-4.8 0-9.19 1.69-12.64 4.51l7.33 12.69.11-.2zm24.28-3c-1.84-5.85-6.3-10.52-11.99-12.68L23.77 18h19.31zm.52 2H28.62l.58 1 9.53 16.5C41.99 33.94 44 29.21 44 24c0-1.37-.14-2.71-.4-4zm-26.53 4l-7.8-13.5C6.01 14.06 4 18.79 4 24c0 1.37.14 2.71.4 4h14.98l-2.31-4zM4.92 30c1.84 5.85 6.3 10.52 11.99 12.68L24.23 30H4.92zm22.54 0l-7.8 13.51c1.4.31 2.85.49 4.34.49 4.8 0 9.19-1.69 12.64-4.51L29.31 26.8 27.46 30z"></path>
-    </symbol>
-    <symbol viewBox="0 0 24 24" id="vjs-icon-hd">
-      <path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 12H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm2-6h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-4V9zm1.5 4.5h2v-3h-2v3z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-chapters">
-      <path d="M6 26h4v-4H6v4zm0 8h4v-4H6v4zm0-16h4v-4H6v4zm8 8h28v-4H14v4zm0 8h28v-4H14v4zm0-20v4h28v-4H14z"></path>
-    </symbol>
-    <symbol viewBox="0 0 40 40" id="vjs-icon-downloading">
-      <path d="M18.208 36.875q-3.208-.292-5.979-1.729-2.771-1.438-4.812-3.729-2.042-2.292-3.188-5.229-1.146-2.938-1.146-6.23 0-6.583 4.334-11.416 4.333-4.834 10.833-5.5v3.166q-5.167.75-8.583 4.646Q6.25 14.75 6.25 19.958q0 5.209 3.396 9.104 3.396 3.896 8.562 4.646zM20 28.417L11.542 20l2.083-2.083 4.917 4.916v-11.25h2.916v11.25l4.875-4.916L28.417 20zm1.792 8.458v-3.167q1.833-.25 3.541-.958 1.709-.708 3.167-1.875l2.333 2.292q-1.958 1.583-4.25 2.541-2.291.959-4.791 1.167zm6.791-27.792q-1.541-1.125-3.25-1.854-1.708-.729-3.541-1.021V3.042q2.5.25 4.77 1.208 2.271.958 4.271 2.5zm4.584 21.584l-2.25-2.25q1.166-1.5 1.854-3.209.687-1.708.937-3.541h3.209q-.292 2.5-1.229 4.791-.938 2.292-2.521 4.209zm.541-12.417q-.291-1.833-.958-3.562-.667-1.73-1.833-3.188l2.375-2.208q1.541 1.916 2.458 4.208.917 2.292 1.167 4.75z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-file-download">
-      <path d="M10.8 40.55q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h26.35v-7.7h3.4v7.7q0 1.4-1 2.4t-2.4 1zM24 32.1L13.9 22.05l2.45-2.45 5.95 5.95V7.15h3.4v18.4l5.95-5.95 2.45 2.45z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-file-download-done">
-      <path d="M9.8 40.5v-3.45h28.4v3.45zm9.2-9.05L7.4 19.85l2.45-2.35L19 26.65l19.2-19.2 2.4 2.4z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-file-download-off">
-      <path d="M4.9 4.75L43.25 43.1 41 45.3l-4.75-4.75q-.05.05-.075.025-.025-.025-.075-.025H10.8q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h22.05l-7-7-1.85 1.8L13.9 21.9l1.85-1.85L2.7 7zm26.75 14.7l2.45 2.45-3.75 3.8-2.45-2.5zM25.7 7.15V21.1l-3.4-3.45V7.15z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-share">
-      <path d="M36 32.17c-1.52 0-2.89.59-3.93 1.54L17.82 25.4c.11-.45.18-.92.18-1.4s-.07-.95-.18-1.4l14.1-8.23c1.07 1 2.5 1.62 4.08 1.62 3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6c0 .48.07.95.18 1.4l-14.1 8.23c-1.07-1-2.5-1.62-4.08-1.62-3.31 0-6 2.69-6 6s2.69 6 6 6c1.58 0 3.01-.62 4.08-1.62l14.25 8.31c-.1.42-.16.86-.16 1.31A5.83 5.83 0 1 0 36 32.17z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-cog">
-      <path d="M38.86 25.95c.08-.64.14-1.29.14-1.95s-.06-1.31-.14-1.95l4.23-3.31c.38-.3.49-.84.24-1.28l-4-6.93c-.25-.43-.77-.61-1.22-.43l-4.98 2.01c-1.03-.79-2.16-1.46-3.38-1.97L29 4.84c-.09-.47-.5-.84-1-.84h-8c-.5 0-.91.37-.99.84l-.75 5.3a14.8 14.8 0 0 0-3.38 1.97L9.9 10.1a1 1 0 0 0-1.22.43l-4 6.93c-.25.43-.14.97.24 1.28l4.22 3.31C9.06 22.69 9 23.34 9 24s.06 1.31.14 1.95l-4.22 3.31c-.38.3-.49.84-.24 1.28l4 6.93c.25.43.77.61 1.22.43l4.98-2.01c1.03.79 2.16 1.46 3.38 1.97l.75 5.3c.08.47.49.84.99.84h8c.5 0 .91-.37.99-.84l.75-5.3a14.8 14.8 0 0 0 3.38-1.97l4.98 2.01a1 1 0 0 0 1.22-.43l4-6.93c.25-.43.14-.97-.24-1.28l-4.22-3.31zM24 31c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-square">
-      <path d="M36 8H12c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zm0 28H12V12h24v24z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-circle">
-      <circle cx="24" cy="24" r="20"></circle>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-circle-outline">
-      <path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-circle-inner-circle">
-      <path d="M24 4C12.97 4 4 12.97 4 24s8.97 20 20 20 20-8.97 20-20S35.03 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm6-16c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6 6 2.69 6 6z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-cancel">
-      <path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm10 27.17L31.17 34 24 26.83 16.83 34 14 31.17 21.17 24 14 16.83 16.83 14 24 21.17 31.17 14 34 16.83 26.83 24 34 31.17z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-replay">
-      <path d="M24 10V2L14 12l10 10v-8c6.63 0 12 5.37 12 12s-5.37 12-12 12-12-5.37-12-12H8c0 8.84 7.16 16 16 16s16-7.16 16-16-7.16-16-16-16z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-repeat">
-      <path d="M14 14h20v6l8-8-8-8v6H10v12h4v-8zm20 20H14v-6l-8 8 8 8v-6h24V26h-4v8z"></path>
-    </symbol>
-    <symbol viewBox="0 96 48 48" id="vjs-icon-replay-5">
-      <path d="M17.689 98l-8.697 8.696 8.697 8.697 2.486-2.485-4.32-4.319h1.302c4.93 0 9.071 1.722 12.424 5.165 3.352 3.443 5.029 7.638 5.029 12.584h3.55c0-2.958-.553-5.73-1.658-8.313-1.104-2.583-2.622-4.841-4.555-6.774-1.932-1.932-4.19-3.45-6.773-4.555-2.584-1.104-5.355-1.657-8.313-1.657H15.5l4.615-4.615zm-8.08 21.659v13.861h11.357v5.008H9.609V143h12.7c.834 0 1.55-.298 2.146-.894.596-.597.895-1.31.895-2.145v-7.781c0-.835-.299-1.55-.895-2.147a2.929 2.929 0 0 0-2.147-.894h-8.227v-5.096H25.35v-4.384z"></path>
-    </symbol>
-    <symbol viewBox="0 96 48 48" id="vjs-icon-replay-10">
-      <path d="M42.315 125.63c0-4.997-1.694-9.235-5.08-12.713-3.388-3.479-7.571-5.218-12.552-5.218h-1.315l4.363 4.363-2.51 2.51-8.787-8.786L25.221 97l2.45 2.45-4.662 4.663h1.375c2.988 0 5.788.557 8.397 1.673 2.61 1.116 4.892 2.65 6.844 4.602 1.953 1.953 3.487 4.234 4.602 6.844 1.116 2.61 1.674 5.41 1.674 8.398zM8.183 142v-19.657H3.176V117.8h9.643V142zm13.63 0c-1.156 0-2.127-.393-2.912-1.178-.778-.778-1.168-1.746-1.168-2.902v-16.04c0-1.156.393-2.127 1.178-2.912.779-.779 1.746-1.168 2.902-1.168h7.696c1.156 0 2.126.392 2.911 1.177.779.78 1.168 1.747 1.168 2.903v16.04c0 1.156-.392 2.127-1.177 2.912-.779.779-1.746 1.168-2.902 1.168zm.556-4.636h6.583v-15.02H22.37z"></path>
-    </symbol>
-    <symbol viewBox="0 96 48 48" id="vjs-icon-replay-30">
-      <path d="M26.047 97l-8.733 8.732 8.733 8.733 2.496-2.494-4.336-4.338h1.307c4.95 0 9.108 1.73 12.474 5.187 3.367 3.458 5.051 7.668 5.051 12.635h3.565c0-2.97-.556-5.751-1.665-8.346-1.109-2.594-2.633-4.862-4.574-6.802-1.94-1.941-4.208-3.466-6.803-4.575-2.594-1.109-5.375-1.664-8.345-1.664H23.85l4.634-4.634zM2.555 117.531v4.688h10.297v5.25H5.873v4.687h6.979v5.156H2.555V142H13.36c1.061 0 1.95-.395 2.668-1.186.718-.79 1.076-1.772 1.076-2.94v-16.218c0-1.168-.358-2.149-1.076-2.94-.717-.79-1.607-1.185-2.668-1.185zm22.482.14c-1.149 0-2.11.39-2.885 1.165-.78.78-1.172 1.744-1.172 2.893v15.943c0 1.149.388 2.11 1.163 2.885.78.78 1.745 1.172 2.894 1.172h7.649c1.148 0 2.11-.388 2.884-1.163.78-.78 1.17-1.745 1.17-2.894v-15.943c0-1.15-.386-2.111-1.16-2.885-.78-.78-1.746-1.172-2.894-1.172zm.553 4.518h6.545v14.93H25.59z"></path>
-    </symbol>
-    <symbol viewBox="0 96 48 48" id="vjs-icon-forward-5">
-      <path d="M29.508 97l-2.431 2.43 4.625 4.625h-1.364c-2.965 0-5.742.554-8.332 1.66-2.589 1.107-4.851 2.629-6.788 4.566-1.937 1.937-3.458 4.2-4.565 6.788-1.107 2.59-1.66 5.367-1.66 8.331h3.557c0-4.957 1.68-9.16 5.04-12.611 3.36-3.45 7.51-5.177 12.451-5.177h1.304l-4.326 4.33 2.49 2.49 8.715-8.716zm-9.783 21.61v13.89h11.382v5.018H19.725V142h12.727a2.93 2.93 0 0 0 2.15-.896 2.93 2.93 0 0 0 .896-2.15v-7.798c0-.837-.299-1.554-.896-2.152a2.93 2.93 0 0 0-2.15-.896h-8.245V123h11.29v-4.392z"></path>
-    </symbol>
-    <symbol viewBox="0 96 48 48" id="vjs-icon-forward-10">
-      <path d="M23.119 97l-2.386 2.383 4.538 4.538h-1.339c-2.908 0-5.633.543-8.173 1.63-2.54 1.085-4.76 2.577-6.66 4.478-1.9 1.9-3.392 4.12-4.478 6.66-1.085 2.54-1.629 5.264-1.629 8.172h3.49c0-4.863 1.648-8.986 4.944-12.372 3.297-3.385 7.368-5.078 12.216-5.078h1.279l-4.245 4.247 2.443 2.442 8.55-8.55zm-9.52 21.45v4.42h4.871V142h4.513v-23.55zm18.136 0c-1.125 0-2.066.377-2.824 1.135-.764.764-1.148 1.709-1.148 2.834v15.612c0 1.124.38 2.066 1.139 2.824.764.764 1.708 1.145 2.833 1.145h7.489c1.125 0 2.066-.378 2.824-1.136.764-.764 1.145-1.709 1.145-2.833v-15.612c0-1.125-.378-2.067-1.136-2.825-.764-.764-1.708-1.145-2.833-1.145zm.54 4.42h6.408v14.617h-6.407z"></path>
-    </symbol>
-    <symbol viewBox="0 96 48 48" id="vjs-icon-forward-30">
-      <path d="M25.549 97l-2.437 2.434 4.634 4.635H26.38c-2.97 0-5.753.555-8.347 1.664-2.594 1.109-4.861 2.633-6.802 4.574-1.94 1.94-3.465 4.207-4.574 6.802-1.109 2.594-1.664 5.377-1.664 8.347h3.565c0-4.967 1.683-9.178 5.05-12.636 3.366-3.458 7.525-5.187 12.475-5.187h1.307l-4.335 4.338 2.495 2.494 8.732-8.732zm-11.553 20.53v4.689h10.297v5.249h-6.978v4.688h6.978v5.156H13.996V142h10.808c1.06 0 1.948-.395 2.666-1.186.718-.79 1.077-1.771 1.077-2.94v-16.217c0-1.169-.36-2.15-1.077-2.94-.718-.79-1.605-1.186-2.666-1.186zm21.174.168c-1.149 0-2.11.389-2.884 1.163-.78.78-1.172 1.745-1.172 2.894v15.942c0 1.15.388 2.11 1.162 2.885.78.78 1.745 1.17 2.894 1.17h7.649c1.149 0 2.11-.386 2.885-1.16.78-.78 1.17-1.746 1.17-2.895v-15.942c0-1.15-.387-2.11-1.161-2.885-.78-.78-1.745-1.172-2.894-1.172zm.552 4.516h6.542v14.931h-6.542z"></path>
-    </symbol>
-    <symbol viewBox="0 0 512 512" id="vjs-icon-audio-description">
-      <g fill-rule="evenodd"><path d="M227.29 381.351V162.993c50.38-1.017 89.108-3.028 117.631 17.126 27.374 19.342 48.734 56.965 44.89 105.325-4.067 51.155-41.335 94.139-89.776 98.475-24.085 2.155-71.972 0-71.972 0s-.84-1.352-.773-2.568m48.755-54.804c31.43 1.26 53.208-16.633 56.495-45.386 4.403-38.51-21.188-63.552-58.041-60.796v103.612c-.036 1.466.575 2.22 1.546 2.57"></path><path d="M383.78 381.328c13.336 3.71 17.387-11.06 23.215-21.408 12.722-22.571 22.294-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.226 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M425.154 381.328c13.336 3.71 17.384-11.061 23.215-21.408 12.721-22.571 22.291-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.511c-.586 3.874 2.226 7.315 3.866 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M466.26 381.328c13.337 3.71 17.385-11.061 23.216-21.408 12.722-22.571 22.292-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.225 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894M4.477 383.005H72.58l18.573-28.484 64.169-.135s.065 19.413.065 28.62h48.756V160.307h-58.816c-5.653 9.537-140.85 222.697-140.85 222.697zm152.667-145.282v71.158l-40.453-.27 40.453-70.888z"></path></g>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-next-item">
-      <path d="M12 36l17-12-17-12v24zm20-24v24h4V12h-4z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-previous-item">
-      <path d="M12 12h4v24h-4zm7 12l17 12V12z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-shuffle">
-      <path d="M21.17 18.34L10.83 8 8 10.83l10.34 10.34 2.83-2.83zM29 8l4.09 4.09L8 37.17 10.83 40l25.09-25.09L40 19V8H29zm.66 18.83l-2.83 2.83 6.26 6.26L29 40h11V29l-4.09 4.09-6.25-6.26z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-cast">
-      <path d="M42 6H6c-2.21 0-4 1.79-4 4v6h4v-6h36v28H28v4h14c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4zM2 36v6h6c0-3.31-2.69-6-6-6zm0-8v4c5.52 0 10 4.48 10 10h4c0-7.73-6.27-14-14-14zm0-8v4c9.94 0 18 8.06 18 18h4c0-12.15-9.85-22-22-22z"></path>
-    </symbol>
-    <symbol viewBox="0 0 48 48" id="vjs-icon-picture-in-picture-enter">
-      <path d="M38 22H22v11.99h16V22zm8 16V9.96C46 7.76 44.2 6 42 6H6C3.8 6 2 7.76 2 9.96V38c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4zm-4 .04H6V9.94h36v28.1z"></path>
-    </symbol>
-    <symbol viewBox="0 0 22 18" id="vjs-icon-picture-in-picture-exit">
-      <path d="M18 4H4v10h14V4zm4 12V1.98C22 .88 21.1 0 20 0H2C.9 0 0 .88 0 1.98V16c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H2V1.97h18v14.05z"></path>
-      <path fill="none" d="M-1-3h24v24H-1z"></path>
-    </symbol>
-    <symbol viewBox="0 0 1792 1792" id="vjs-icon-facebook">
-      <path d="M1343 12v264h-157q-86 0-116 36t-30 108v189h293l-39 296h-254v759H734V905H479V609h255V391q0-186 104-288.5T1115 0q147 0 228 12z"></path>
-    </symbol>
-    <symbol viewBox="0 0 1792 1792" id="vjs-icon-linkedin">
-      <path d="M477 625v991H147V625h330zm21-306q1 73-50.5 122T312 490h-2q-82 0-132-49t-50-122q0-74 51.5-122.5T314 148t133 48.5T498 319zm1166 729v568h-329v-530q0-105-40.5-164.5T1168 862q-63 0-105.5 34.5T999 982q-11 30-11 81v553H659q2-399 2-647t-1-296l-1-48h329v144h-2q20-32 41-56t56.5-52 87-43.5T1285 602q171 0 275 113.5t104 332.5z"></path>
-    </symbol>
-    <symbol viewBox="0 0 1200 1227" id="vjs-icon-twitter">
-      <path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"/>
-    </symbol>
-    <symbol viewBox="0 0 1792 1792" id="vjs-icon-tumblr">
-      <path d="M1328 1329l80 237q-23 35-111 66t-177 32q-104 2-190.5-26T787 1564t-95-106-55.5-120-16.5-118V676H452V461q72-26 129-69.5t91-90 58-102 34-99T779 12q1-5 4.5-8.5T791 0h244v424h333v252h-334v518q0 30 6.5 56t22.5 52.5 49.5 41.5 81.5 14q78-2 134-29z"></path>
-    </symbol>
-    <symbol viewBox="0 0 1792 1792" id="vjs-icon-pinterest">
-      <path d="M1664 896q0 209-103 385.5T1281.5 1561 896 1664q-111 0-218-32 59-93 78-164 9-34 54-211 20 39 73 67.5t114 28.5q121 0 216-68.5t147-188.5 52-270q0-114-59.5-214T1180 449t-255-63q-105 0-196 29t-154.5 77-109 110.5-67 129.5T377 866q0 104 40 183t117 111q30 12 38-20 2-7 8-31t8-30q6-23-11-43-51-61-51-151 0-151 104.5-259.5T904 517q151 0 235.5 82t84.5 213q0 170-68.5 289T980 1220q-61 0-98-43.5T859 1072q8-35 26.5-93.5t30-103T927 800q0-50-27-83t-77-33q-62 0-105 57t-43 142q0 73 25 122l-99 418q-17 70-13 177-206-91-333-281T128 896q0-209 103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z"></path>
-    </symbol>
-  </defs>
-</svg>`;const backKeyCode=IS_TIZEN?10009:IS_WEBOS?461:8,SpatialNavKeyCodes={codes:{play:415,pause:19,ff:417,rw:412,back:backKeyCode},names:{415:"play",19:"pause",417:"ff",412:"rw",[backKeyCode]:"back"},isEventKey(t,e){return e=e.toLowerCase(),!!(this.names[t.keyCode]&&this.names[t.keyCode]===e)},getEventName(t){if(this.names[t.keyCode])return this.names[t.keyCode];if(this.codes[t.code]){const e=this.codes[t.code];return this.names[e]}return null}},STEP_SECONDS$1=5;class SpatialNavigation extends EventTarget$2{constructor(e){super(),this.player_=e,this.focusableComponents=[],this.isListening_=!1,this.isPaused_=!1,this.onKeyDown_=this.onKeyDown_.bind(this),this.lastFocusedComponent_=null}start(){this.isListening_||(this.player_.on("keydown",this.onKeyDown_),this.player_.on("modalKeydown",this.onKeyDown_),this.player_.on("loadedmetadata",()=>{this.focus(this.updateFocusableComponents()[0])}),this.player_.on("modalclose",()=>{this.refocusComponent()}),this.player_.on("focusin",this.handlePlayerFocus_.bind(this)),this.player_.on("focusout",this.handlePlayerBlur_.bind(this)),this.isListening_=!0,this.player_.errorDisplay&&this.player_.errorDisplay.on("aftermodalfill",()=>{this.updateFocusableComponents(),this.focusableComponents.length&&(this.focusableComponents.length>1?this.focusableComponents[1].focus():this.focusableComponents[0].focus())}))}stop(){this.player_.off("keydown",this.onKeyDown_),this.isListening_=!1}onKeyDown_(e){const n=e.originalEvent?e.originalEvent:e;if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(n.key)){if(this.isPaused_)return;n.preventDefault();const o=n.key.substring(5).toLowerCase();this.move(o)}else if(SpatialNavKeyCodes.isEventKey(n,"play")||SpatialNavKeyCodes.isEventKey(n,"pause")||SpatialNavKeyCodes.isEventKey(n,"ff")||SpatialNavKeyCodes.isEventKey(n,"rw")){n.preventDefault();const o=SpatialNavKeyCodes.getEventName(n);this.performMediaAction_(o)}else SpatialNavKeyCodes.isEventKey(n,"Back")&&e.target&&typeof e.target.closeable=="function"&&e.target.closeable()&&(n.preventDefault(),e.target.close())}performMediaAction_(e){if(this.player_)switch(e){case"play":this.player_.paused()&&this.player_.play();break;case"pause":this.player_.paused()||this.player_.pause();break;case"ff":this.userSeek_(this.player_.currentTime()+STEP_SECONDS$1);break;case"rw":this.userSeek_(this.player_.currentTime()-STEP_SECONDS$1);break}}userSeek_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)}pause(){this.isPaused_=!0}resume(){this.isPaused_=!1}handlePlayerBlur_(e){const n=e.relatedTarget;let o=null;const u=this.getCurrentComponent(e.target);n&&(o=!!n.closest(".video-js"),n.classList.contains("vjs-text-track-settings")&&!this.isPaused_&&this.searchForTrackSelect_()),(!e.currentTarget.contains(e.relatedTarget)&&!o||!n)&&(u&&u.name()==="CloseButton"?this.refocusComponent():(this.pause(),u&&u.el()&&(this.lastFocusedComponent_=u)))}handlePlayerFocus_(){this.getCurrentComponent()&&this.getCurrentComponent().getIsFocusable()&&this.resume()}updateFocusableComponents(){const e=this.player_,n=[];function o(u){for(const l of u)l.hasOwnProperty("el_")&&l.getIsFocusable()&&l.getIsAvailableToBeFocused(l.el())&&n.push(l),l.hasOwnProperty("children_")&&l.children_.length>0&&o(l.children_)}return e.children_.forEach(u=>{if(u.hasOwnProperty("el_"))if(u.getIsFocusable&&u.getIsAvailableToBeFocused&&u.getIsFocusable()&&u.getIsAvailableToBeFocused(u.el())){n.push(u);return}else u.hasOwnProperty("children_")&&u.children_.length>0?o(u.children_):u.hasOwnProperty("items")&&u.items.length>0?o(u.items):this.findSuitableDOMChild(u)&&n.push(u);if(u.name_==="ErrorDisplay"&&u.opened_){const l=u.el_.querySelector(".vjs-errors-ok-button-container");l&&l.querySelectorAll("button").forEach((y,E)=>{n.push({name:()=>"ModalButton"+(E+1),el:()=>y,getPositions:()=>{const C=y.getBoundingClientRect(),k={x:C.x,y:C.y,width:C.width,height:C.height,top:C.top,right:C.right,bottom:C.bottom,left:C.left},A={x:C.left+C.width/2,y:C.top+C.height/2,width:0,height:0,top:C.top+C.height/2,right:C.left+C.width/2,bottom:C.top+C.height/2,left:C.left+C.width/2};return{boundingClientRect:k,center:A}},getIsAvailableToBeFocused:()=>!0,getIsFocusable:C=>!0,focus:()=>y.focus()})})}}),this.focusableComponents=n,this.focusableComponents}findSuitableDOMChild(e){function n(o){if(e.getIsFocusable(o)&&e.getIsAvailableToBeFocused(o))return o;for(let u=0;u<o.children.length;u++){const l=o.children[u],m=n(l);if(m)return m}return null}return e.el()?n(e.el()):null}getCurrentComponent(e){this.updateFocusableComponents();const n=e||document.activeElement;if(this.focusableComponents.length){for(const o of this.focusableComponents)if(o.el()===n)return o}}add(e){const n=[...this.focusableComponents];e.hasOwnProperty("el_")&&e.getIsFocusable()&&e.getIsAvailableToBeFocused(e.el())&&n.push(e),this.focusableComponents=n,this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents})}remove(e){for(let n=0;n<this.focusableComponents.length;n++)if(this.focusableComponents[n].name()===e.name()){this.focusableComponents.splice(n,1),this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents});return}}clear(){this.focusableComponents.length>0&&(this.focusableComponents=[],this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents}))}move(e){const n=this.getCurrentComponent();if(!n)return;const o=n.getPositions(),u=this.focusableComponents.filter(m=>m!==n&&this.isInDirection_(o.boundingClientRect,m.getPositions().boundingClientRect,e)),l=this.findBestCandidate_(o.center,u,e);l?this.focus(l):this.trigger({type:"endOfFocusableComponents",direction:e,focusedComponent:n})}findBestCandidate_(e,n,o){let u=1/0,l=null;for(const m of n){const y=m.getPositions().center,E=this.calculateDistance_(e,y,o);E<u&&(u=E,l=m)}return l}isInDirection_(e,n,o){switch(o){case"right":return n.left>=e.right;case"left":return n.right<=e.left;case"down":return n.top>=e.bottom;case"up":return n.bottom<=e.top;default:return!1}}refocusComponent(){if(this.lastFocusedComponent_){this.player_.userActive()||this.player_.userActive(!0),this.updateFocusableComponents();for(let e=0;e<this.focusableComponents.length;e++)if(this.focusableComponents[e].name()===this.lastFocusedComponent_.name()){this.focus(this.focusableComponents[e]);return}}else this.focus(this.updateFocusableComponents()[0])}focus(e){typeof e=="object"&&(e.getIsAvailableToBeFocused(e.el())?e.focus():this.findSuitableDOMChild(e)&&this.findSuitableDOMChild(e).focus())}calculateDistance_(e,n,o){const u=Math.abs(e.x-n.x),l=Math.abs(e.y-n.y);let m;switch(o){case"right":case"left":m=u+l*100;break;case"up":m=l*2+u*.5;break;case"down":m=l*5+u;break;default:m=u+l}return m}searchForTrackSelect_(){const e=this;for(const n of e.updateFocusableComponents())if(n.constructor.name==="TextTrackSelect"){e.focus(n);break}}}class MediaLoader extends Component$1{constructor(e,n,o){const u=merge$1({createEl:!1},n);if(super(e,u,o),!n.playerOptions.sources||n.playerOptions.sources.length===0)for(let l=0,m=n.playerOptions.techOrder;l<m.length;l++){const y=toTitleCase$1(m[l]);let E=Tech$1.getTech(y);if(y||(E=Component$1.getComponent(y)),E&&E.isSupported()){e.loadTech_(y);break}}else e.src(n.playerOptions.sources)}}Component$1.registerComponent("MediaLoader",MediaLoader);class ClickableComponent extends Component$1{constructor(e,n){super(e,n),this.options_.controlText&&this.controlText(this.options_.controlText),this.handleMouseOver_=o=>this.handleMouseOver(o),this.handleMouseOut_=o=>this.handleMouseOut(o),this.handleClick_=o=>this.handleClick(o),this.handleKeyDown_=o=>this.handleKeyDown(o),this.emitTapEvents(),this.enable()}createEl(e="div",n={},o={}){n=Object.assign({className:this.buildCSSClass(),tabIndex:0},n),e==="button"&&log$1.error(`Creating a ClickableComponent with an HTML element of ${e} is not supported; use a Button instead.`),o=Object.assign({role:"button"},o),this.tabIndex_=n.tabIndex;const u=createEl(e,n,o);return this.player_.options_.experimentalSvgIcons||u.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(u),u}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(e){return this.controlTextEl_=createEl("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_}controlText(e,n=this.el()){if(e===void 0)return this.controlText_||"Need Text";const o=this.localize(e);this.controlText_=e,textContent(this.controlTextEl_,o),!this.nonIconControl&&!this.player_.options_.noUITitleAttributes&&n.setAttribute("title",o)}buildCSSClass(){return`vjs-control vjs-button ${super.buildCSSClass()}`}enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),typeof this.tabIndex_<"u"&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))}disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),typeof this.tabIndex_<"u"&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)}handleLanguagechange(){this.controlText(this.controlText_)}handleClick(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)}handleKeyDown(e){e.key===" "||e.key==="Enter"?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}}Component$1.registerComponent("ClickableComponent",ClickableComponent);class PosterImage extends ClickableComponent{constructor(e,n){super(e,n),this.update(),this.update_=o=>this.update(o),e.on("posterchange",this.update_)}dispose(){this.player().off("posterchange",this.update_),super.dispose()}createEl(){return createEl("div",{className:"vjs-poster"})}crossOrigin(e){if(typeof e>"u")return this.$("img")?this.$("img").crossOrigin:this.player_.tech_&&this.player_.tech_.isReady_?this.player_.crossOrigin():this.player_.options_.crossOrigin||this.player_.options_.crossorigin||null;if(e!==null&&e!=="anonymous"&&e!=="use-credentials"){this.player_.log.warn(`crossOrigin must be null,  "anonymous" or "use-credentials", given "${e}"`);return}this.$("img")&&(this.$("img").crossOrigin=e)}update(e){const n=this.player().poster();this.setSrc(n),n?this.show():this.hide()}setSrc(e){if(!e){this.el_.textContent="";return}this.$("img")||this.el_.appendChild(createEl("picture",{className:"vjs-poster",tabIndex:-1},{},createEl("img",{loading:"lazy",crossOrigin:this.crossOrigin()},{alt:""}))),this.$("img").src=e}handleClick(e){this.player_.controls()&&(this.player_.tech(!0)&&this.player_.tech(!0).focus(),this.player_.paused()?silencePromise(this.player_.play()):this.player_.pause())}}PosterImage.prototype.crossorigin=PosterImage.prototype.crossOrigin,Component$1.registerComponent("PosterImage",PosterImage);const darkGray="#222",lightGray="#ccc",fontMap={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function constructColor(t,e){let n;if(t.length===4)n=t[1]+t[1]+t[2]+t[2]+t[3]+t[3];else if(t.length===7)n=t.slice(1);else throw new Error("Invalid color code provided, "+t+"; must be formatted as e.g. #f0e or #f604e2.");return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+e+")"}function tryUpdateStyle(t,e,n){try{t.style[e]=n}catch{return}}function getCSSPositionValue(t){return t?`${t}px`:""}class TextTrackDisplay extends Component$1{constructor(e,n,o){super(e,n,o);const u=m=>this.updateDisplay(m),l=m=>{this.updateDisplayOverlay(),this.updateDisplay(m)};e.on("loadstart",m=>this.toggleDisplay(m)),e.on("texttrackchange",u),e.on("loadedmetadata",m=>{this.updateDisplayOverlay(),this.preselectTrack(m)}),e.ready(bind_(this,function(){if(e.tech_&&e.tech_.featuresNativeTextTracks){this.hide();return}e.on("fullscreenchange",l),e.on("playerresize",l);const m=window$1$1.screen.orientation||window$1$1,y=window$1$1.screen.orientation?"change":"orientationchange";m.addEventListener(y,l),e.on("dispose",()=>m.removeEventListener(y,l));const E=this.options_.playerOptions.tracks||[];for(let C=0;C<E.length;C++)this.player_.addRemoteTextTrack(E[C],!0);this.preselectTrack()}))}preselectTrack(){const e={captions:1,subtitles:1},n=this.player_.textTracks(),o=this.player_.cache_.selectedLanguage;let u,l,m;for(let y=0;y<n.length;y++){const E=n[y];o&&o.enabled&&o.language&&o.language===E.language&&E.kind in e?E.kind===o.kind?m=E:m||(m=E):o&&!o.enabled?(m=null,u=null,l=null):E.default&&(E.kind==="descriptions"&&!u?u=E:E.kind in e&&!l&&(l=E))}m?m.mode="showing":l?l.mode="showing":u&&(u.mode="showing")}toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()}createEl(){return super.createEl("div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})}clearDisplay(){typeof window$1$1.WebVTT=="function"&&window$1$1.WebVTT.processCues(window$1$1,[],this.el_)}updateDisplay(){const e=this.player_.textTracks(),n=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),n){const m=[];for(let y=0;y<e.length;++y){const E=e[y];E.mode==="showing"&&m.push(E)}this.updateForTrack(m);return}let o=null,u=null,l=e.length;for(;l--;){const m=e[l];m.mode==="showing"&&(m.kind==="descriptions"?o=m:u=m)}if(u?(this.getAttribute("aria-live")!=="off"&&this.setAttribute("aria-live","off"),this.updateForTrack(u)):o&&(this.getAttribute("aria-live")!=="assertive"&&this.setAttribute("aria-live","assertive"),this.updateForTrack(o)),!window$1$1.CSS.supports("inset","10px")){const m=this.el_,y=m.querySelectorAll(".vjs-text-track-cue"),E=this.player_.controlBar.el_.getBoundingClientRect().height,C=this.player_.el_.getBoundingClientRect().height;m.style="",tryUpdateStyle(m,"position","relative"),tryUpdateStyle(m,"height",C-E+"px"),tryUpdateStyle(m,"top","unset"),IS_SMART_TV?tryUpdateStyle(m,"bottom",C+"px"):tryUpdateStyle(m,"bottom","0px"),y.length>0&&y.forEach(k=>{if(k.style.inset){const A=k.style.inset.split(" ");A.length===3&&Object.assign(k.style,{top:A[0],right:A[1],bottom:A[2],left:"unset"})}})}}updateDisplayOverlay(){if(!this.player_.videoHeight()||!window$1$1.CSS.supports("inset-inline: 10px"))return;const e=this.player_.currentWidth(),n=this.player_.currentHeight(),o=e/n,u=this.player_.videoWidth()/this.player_.videoHeight();let l=0,m=0;Math.abs(o-u)>.1&&(o>u?l=Math.round((e-n*u)/2):m=Math.round((n-e/u)/2)),tryUpdateStyle(this.el_,"insetInline",getCSSPositionValue(l)),tryUpdateStyle(this.el_,"insetBlock",getCSSPositionValue(m))}updateDisplayState(e){const n=this.player_.textTrackSettings.getValues(),o=e.activeCues;let u=o.length;for(;u--;){const l=o[u];if(!l)continue;const m=l.displayState;if(n.color&&(m.firstChild.style.color=n.color),n.textOpacity&&tryUpdateStyle(m.firstChild,"color",constructColor(n.color||"#fff",n.textOpacity)),n.backgroundColor&&(m.firstChild.style.backgroundColor=n.backgroundColor),n.backgroundOpacity&&tryUpdateStyle(m.firstChild,"backgroundColor",constructColor(n.backgroundColor||"#000",n.backgroundOpacity)),n.windowColor&&(n.windowOpacity?tryUpdateStyle(m,"backgroundColor",constructColor(n.windowColor,n.windowOpacity)):m.style.backgroundColor=n.windowColor),n.edgeStyle&&(n.edgeStyle==="dropshadow"?m.firstChild.style.textShadow=`2px 2px 3px ${darkGray}, 2px 2px 4px ${darkGray}, 2px 2px 5px ${darkGray}`:n.edgeStyle==="raised"?m.firstChild.style.textShadow=`1px 1px ${darkGray}, 2px 2px ${darkGray}, 3px 3px ${darkGray}`:n.edgeStyle==="depressed"?m.firstChild.style.textShadow=`1px 1px ${lightGray}, 0 1px ${lightGray}, -1px -1px ${darkGray}, 0 -1px ${darkGray}`:n.edgeStyle==="uniform"&&(m.firstChild.style.textShadow=`0 0 4px ${darkGray}, 0 0 4px ${darkGray}, 0 0 4px ${darkGray}, 0 0 4px ${darkGray}`)),n.fontPercent&&n.fontPercent!==1){const y=window$1$1.parseFloat(m.style.fontSize);m.style.fontSize=y*n.fontPercent+"px",m.style.height="auto",m.style.top="auto"}n.fontFamily&&n.fontFamily!=="default"&&(n.fontFamily==="small-caps"?m.firstChild.style.fontVariant="small-caps":m.firstChild.style.fontFamily=fontMap[n.fontFamily])}}updateForTrack(e){if(Array.isArray(e)||(e=[e]),typeof window$1$1.WebVTT!="function"||e.every(o=>!o.activeCues))return;const n=[];for(let o=0;o<e.length;++o){const u=e[o];for(let l=0;l<u.activeCues.length;++l)n.push(u.activeCues[l])}window$1$1.WebVTT.processCues(window$1$1,n,this.el_);for(let o=0;o<e.length;++o){const u=e[o];for(let l=0;l<u.activeCues.length;++l){const m=u.activeCues[l].displayState;addClass(m,"vjs-text-track-cue","vjs-text-track-cue-"+(u.language?u.language:o)),u.language&&setAttribute(m,"lang",u.language)}this.player_.textTrackSettings&&this.updateDisplayState(u)}}}Component$1.registerComponent("TextTrackDisplay",TextTrackDisplay);class LoadingSpinner extends Component$1{createEl(){const e=this.player_.isAudio(),n=this.localize(e?"Audio Player":"Video Player"),o=createEl("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[n])}),u=super.createEl("div",{className:"vjs-loading-spinner",dir:"ltr"});return u.appendChild(o),u}handleLanguagechange(){this.$(".vjs-control-text").textContent=this.localize("{1} is loading.",[this.player_.isAudio()?"Audio Player":"Video Player"])}}Component$1.registerComponent("LoadingSpinner",LoadingSpinner);class Button extends ClickableComponent{createEl(e,n={},o={}){e="button",n=Object.assign({className:this.buildCSSClass()},n),o=Object.assign({type:"button"},o);const u=createEl(e,n,o);return this.player_.options_.experimentalSvgIcons||u.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(u),u}addChild(e,n={}){const o=this.constructor.name;return log$1.warn(`Adding an actionable (user controllable) child to a Button (${o}) is not supported; use a ClickableComponent instead.`),Component$1.prototype.addChild.call(this,e,n)}enable(){super.enable(),this.el_.removeAttribute("disabled")}disable(){super.disable(),this.el_.setAttribute("disabled","disabled")}handleKeyDown(e){if(e.key===" "||e.key==="Enter"){e.stopPropagation();return}super.handleKeyDown(e)}}Component$1.registerComponent("Button",Button);class BigPlayButton extends Button{constructor(e,n){super(e,n),this.mouseused_=!1,this.setIcon("play"),this.on("mousedown",o=>this.handleMouseDown(o))}buildCSSClass(){return"vjs-big-play-button"}handleClick(e){const n=this.player_.play();if(this.mouseused_&&"clientX"in e&&"clientY"in e){silencePromise(n),this.player_.tech(!0)&&this.player_.tech(!0).focus();return}const o=this.player_.getChild("controlBar"),u=o&&o.getChild("playToggle");if(!u){this.player_.tech(!0).focus();return}const l=()=>u.focus();isPromise(n)?n.then(l,()=>{}):this.setTimeout(l,1)}handleKeyDown(e){this.mouseused_=!1,super.handleKeyDown(e)}handleMouseDown(e){this.mouseused_=!0}}BigPlayButton.prototype.controlText_="Play Video",Component$1.registerComponent("BigPlayButton",BigPlayButton);class CloseButton extends Button{constructor(e,n){super(e,n),this.setIcon("cancel"),this.controlText(n&&n.controlText||this.localize("Close"))}buildCSSClass(){return`vjs-close-button ${super.buildCSSClass()}`}handleClick(e){this.trigger({type:"close",bubbles:!1})}handleKeyDown(e){e.key==="Escape"?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}}Component$1.registerComponent("CloseButton",CloseButton);class PlayToggle extends Button{constructor(e,n={}){super(e,n),n.replay=n.replay===void 0||n.replay,this.setIcon("play"),this.on(e,"play",o=>this.handlePlay(o)),this.on(e,"pause",o=>this.handlePause(o)),n.replay&&this.on(e,"ended",o=>this.handleEnded(o))}buildCSSClass(){return`vjs-play-control ${super.buildCSSClass()}`}handleClick(e){this.player_.paused()?silencePromise(this.player_.play()):this.player_.pause()}handleSeeked(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)}handlePlay(e){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.setIcon("pause"),this.controlText("Pause")}handlePause(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.setIcon("play"),this.controlText("Play")}handleEnded(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.setIcon("replay"),this.controlText("Replay"),this.one(this.player_,"seeked",n=>this.handleSeeked(n))}}PlayToggle.prototype.controlText_="Play",Component$1.registerComponent("PlayToggle",PlayToggle);class TimeDisplay extends Component$1{constructor(e,n){super(e,n),this.on(e,["timeupdate","ended","seeking"],o=>this.update(o)),this.updateTextNode_()}createEl(){const e=this.buildCSSClass(),n=super.createEl("div",{className:`${e} vjs-time-control vjs-control`}),o=createEl("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)} `},{role:"presentation"});return n.appendChild(o),this.contentEl_=createEl("span",{className:`${e}-display`},{role:"presentation"}),n.appendChild(this.contentEl_),n}dispose(){this.contentEl_=null,this.textNode_=null,super.dispose()}update(e){!this.player_.options_.enableSmoothSeeking&&e.type==="seeking"||this.updateContent(e)}updateTextNode_(e=0){e=formatTime(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",()=>{if(!this.contentEl_)return;let n=this.textNode_;n&&this.contentEl_.firstChild!==n&&(n=null,log$1.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),this.textNode_=document$1$1.createTextNode(this.formattedTime_),this.textNode_&&(n?this.contentEl_.replaceChild(this.textNode_,n):this.contentEl_.appendChild(this.textNode_))}))}updateContent(e){}}TimeDisplay.prototype.labelText_="Time",TimeDisplay.prototype.controlText_="Time",Component$1.registerComponent("TimeDisplay",TimeDisplay);class CurrentTimeDisplay extends TimeDisplay{buildCSSClass(){return"vjs-current-time"}updateContent(e){let n;this.player_.ended()?n=this.player_.duration():n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(n)}}CurrentTimeDisplay.prototype.labelText_="Current Time",CurrentTimeDisplay.prototype.controlText_="Current Time",Component$1.registerComponent("CurrentTimeDisplay",CurrentTimeDisplay);class DurationDisplay extends TimeDisplay{constructor(e,n){super(e,n);const o=u=>this.updateContent(u);this.on(e,"durationchange",o),this.on(e,"loadstart",o),this.on(e,"loadedmetadata",o)}buildCSSClass(){return"vjs-duration"}updateContent(e){const n=this.player_.duration();this.updateTextNode_(n)}}DurationDisplay.prototype.labelText_="Duration",DurationDisplay.prototype.controlText_="Duration",Component$1.registerComponent("DurationDisplay",DurationDisplay);class TimeDivider extends Component$1{createEl(){const e=super.createEl("div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),n=super.createEl("div"),o=super.createEl("span",{textContent:"/"});return n.appendChild(o),e.appendChild(n),e}}Component$1.registerComponent("TimeDivider",TimeDivider);class RemainingTimeDisplay extends TimeDisplay{constructor(e,n){super(e,n),this.on(e,"durationchange",o=>this.updateContent(o))}buildCSSClass(){return"vjs-remaining-time"}createEl(){const e=super.createEl();return this.options_.displayNegative!==!1&&e.insertBefore(createEl("span",{},{"aria-hidden":!0},"-"),this.contentEl_),e}updateContent(e){if(typeof this.player_.duration()!="number")return;let n;this.player_.ended()?n=0:this.player_.remainingTimeDisplay?n=this.player_.remainingTimeDisplay():n=this.player_.remainingTime(),this.updateTextNode_(n)}}RemainingTimeDisplay.prototype.labelText_="Remaining Time",RemainingTimeDisplay.prototype.controlText_="Remaining Time",Component$1.registerComponent("RemainingTimeDisplay",RemainingTimeDisplay);class LiveDisplay extends Component$1{constructor(e,n){super(e,n),this.updateShowing(),this.on(this.player(),"durationchange",o=>this.updateShowing(o))}createEl(){const e=super.createEl("div",{className:"vjs-live-control vjs-control"});return this.contentEl_=createEl("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(createEl("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")} `})),this.contentEl_.appendChild(document$1$1.createTextNode(this.localize("LIVE"))),e.appendChild(this.contentEl_),e}dispose(){this.contentEl_=null,super.dispose()}updateShowing(e){this.player().duration()===1/0?this.show():this.hide()}}Component$1.registerComponent("LiveDisplay",LiveDisplay);class SeekToLive extends Button{constructor(e,n){super(e,n),this.updateLiveEdgeStatus(),this.player_.liveTracker&&(this.updateLiveEdgeStatusHandler_=o=>this.updateLiveEdgeStatus(o),this.on(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_))}createEl(){const e=super.createEl("button",{className:"vjs-seek-to-live-control vjs-control"});return this.setIcon("circle",e),this.textEl_=createEl("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),e.appendChild(this.textEl_),e}updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))}handleClick(){this.player_.liveTracker.seekToLiveEdge()}dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,super.dispose()}}SeekToLive.prototype.controlText_="Seek to live, currently playing live",Component$1.registerComponent("SeekToLive",SeekToLive);function clamp(t,e,n){return t=Number(t),Math.min(n,Math.max(e,isNaN(t)?e:t))}var Num=Object.freeze({__proto__:null,clamp});let Slider$1=class extends Component$1{constructor(e,n){super(e,n),this.handleMouseDown_=o=>this.handleMouseDown(o),this.handleMouseUp_=o=>this.handleMouseUp(o),this.handleKeyDown_=o=>this.handleKeyDown(o),this.handleClick_=o=>this.handleClick(o),this.handleMouseMove_=o=>this.handleMouseMove(o),this.update_=o=>this.update(o),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.enable()}enabled(){return this.enabled_}enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)}disable(){if(!this.enabled())return;const e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}createEl(e,n={},o={}){return n.className=n.className+" vjs-slider",n=Object.assign({tabIndex:0},n),o=Object.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100},o),super.createEl(e,n,o)}handleMouseDown(e){const n=this.bar.el_.ownerDocument;e.type==="mousedown"&&e.preventDefault(),e.type==="touchstart"&&!IS_CHROME&&e.preventDefault(),blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(n,"mousemove",this.handleMouseMove_),this.on(n,"mouseup",this.handleMouseUp_),this.on(n,"touchmove",this.handleMouseMove_),this.on(n,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)}handleMouseMove(e){}handleMouseUp(e){const n=this.bar.el_.ownerDocument;unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(n,"mousemove",this.handleMouseMove_),this.off(n,"mouseup",this.handleMouseUp_),this.off(n,"touchmove",this.handleMouseMove_),this.off(n,"touchend",this.handleMouseUp_),this.update()}update(){if(!this.el_||!this.bar)return;const e=this.getProgress();return e===this.progress_||(this.progress_=e,this.requestNamedAnimationFrame("Slider#update",()=>{const n=this.vertical()?"height":"width";this.bar.el().style[n]=(e*100).toFixed(2)+"%"})),e}getProgress(){return Number(clamp(this.getPercent(),0,1).toFixed(4))}calculateDistance(e){const n=getPointerPosition(this.el_,e);return this.vertical()?n.y:n.x}handleKeyDown(e){const n=this.options_.playerOptions.spatialNavigation,o=n&&n.enabled,u=n&&n.horizontalSeek;o?u&&e.key==="ArrowLeft"||!u&&e.key==="ArrowDown"?(e.preventDefault(),e.stopPropagation(),this.stepBack()):u&&e.key==="ArrowRight"||!u&&e.key==="ArrowUp"?(e.preventDefault(),e.stopPropagation(),this.stepForward()):super.handleKeyDown(e):e.key==="ArrowLeft"||e.key==="ArrowDown"?(e.preventDefault(),e.stopPropagation(),this.stepBack()):e.key==="ArrowUp"||e.key==="ArrowRight"?(e.preventDefault(),e.stopPropagation(),this.stepForward()):super.handleKeyDown(e)}handleClick(e){e.stopPropagation(),e.preventDefault()}vertical(e){if(e===void 0)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")}};Component$1.registerComponent("Slider",Slider$1);const percentify=(t,e)=>clamp(t/e*100,0,100).toFixed(2)+"%";class LoadProgressBar extends Component$1{constructor(e,n){super(e,n),this.partEls_=[],this.on(e,"progress",o=>this.update(o))}createEl(){const e=super.createEl("div",{className:"vjs-load-progress"}),n=createEl("span",{className:"vjs-control-text"}),o=createEl("span",{textContent:this.localize("Loaded")}),u=document$1$1.createTextNode(": ");return this.percentageEl_=createEl("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),e.appendChild(n),n.appendChild(o),n.appendChild(u),n.appendChild(this.percentageEl_),e}dispose(){this.partEls_=null,this.percentageEl_=null,super.dispose()}update(e){this.requestNamedAnimationFrame("LoadProgressBar#update",()=>{const n=this.player_.liveTracker,o=this.player_.buffered(),u=n&&n.isLive()?n.seekableEnd():this.player_.duration(),l=this.player_.bufferedEnd(),m=this.partEls_,y=percentify(l,u);this.percent_!==y&&(this.el_.style.width=y,textContent(this.percentageEl_,y),this.percent_=y);for(let E=0;E<o.length;E++){const C=o.start(E),k=o.end(E);let A=m[E];A||(A=this.el_.appendChild(createEl()),m[E]=A),!(A.dataset.start===C&&A.dataset.end===k)&&(A.dataset.start=C,A.dataset.end=k,A.style.left=percentify(C,l),A.style.width=percentify(k-C,l))}for(let E=m.length;E>o.length;E--)this.el_.removeChild(m[E-1]);m.length=o.length})}}Component$1.registerComponent("LoadProgressBar",LoadProgressBar);class TimeTooltip extends Component$1{constructor(e,n){super(e,n),this.update=throttle(bind_(this,this.update),UPDATE_REFRESH_INTERVAL)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(e,n,o){const u=findPosition(this.el_),l=getBoundingClientRect(this.player_.el()),m=e.width*n;if(!l||!u)return;let y=e.left-l.left+m,E=e.width-m+(l.right-e.right);E||(E=e.width-m,y=m);let C=u.width/2;y<C?C+=C-y:E<C&&(C=E),C<0?C=0:C>u.width&&(C=u.width),C=Math.round(C),this.el_.style.right=`-${C}px`,this.write(o)}write(e){textContent(this.el_,e)}updateTime(e,n,o,u){this.requestNamedAnimationFrame("TimeTooltip#updateTime",()=>{let l;const m=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const y=this.player_.liveTracker.liveWindow(),E=y-n*y;l=(E<1?"":"-")+formatTime(E,y)}else l=formatTime(o,m);this.update(e,n,l),u&&u()})}}Component$1.registerComponent("TimeTooltip",TimeTooltip);class PlayProgressBar extends Component$1{constructor(e,n){super(e,n),this.setIcon("circle"),this.update=throttle(bind_(this,this.update),UPDATE_REFRESH_INTERVAL)}createEl(){return super.createEl("div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})}update(e,n){const o=this.getChild("timeTooltip");if(!o)return;const u=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();o.updateTime(e,n,u)}}PlayProgressBar.prototype.options_={children:[]},!IS_IOS&&!IS_ANDROID&&PlayProgressBar.prototype.options_.children.push("timeTooltip"),Component$1.registerComponent("PlayProgressBar",PlayProgressBar);class MouseTimeDisplay extends Component$1{constructor(e,n){super(e,n),this.update=throttle(bind_(this,this.update),UPDATE_REFRESH_INTERVAL)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,n){const o=n*this.player_.duration();this.getChild("timeTooltip").updateTime(e,n,o,()=>{this.el_.style.left=`${e.width*n}px`})}}MouseTimeDisplay.prototype.options_={children:["timeTooltip"]},Component$1.registerComponent("MouseTimeDisplay",MouseTimeDisplay);const STEP_SECONDS=5,PAGE_KEY_MULTIPLIER=12;class SeekBar extends Slider$1{constructor(e,n){super(e,n),this.setEventHandlers_()}setEventHandlers_(){this.update_=bind_(this,this.update),this.update=throttle(this.update_,UPDATE_REFRESH_INTERVAL),this.on(this.player_,["durationchange","timeupdate"],this.update),this.on(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=e=>this.enableInterval_(e),this.disableIntervalHandler_=e=>this.disableInterval_(e),this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in document$1$1&&"visibilityState"in document$1$1&&this.on(document$1$1,"visibilitychange",this.toggleVisibility_)}toggleVisibility_(e){document$1$1.visibilityState==="hidden"?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(!this.player_.ended()&&!this.player_.paused()&&this.enableInterval_(),this.update())}enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,UPDATE_REFRESH_INTERVAL))}disableInterval_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&e.type!=="ended"||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)}createEl(){return super.createEl("div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})}update(e){if(document$1$1.visibilityState==="hidden")return;const n=super.update();return this.requestNamedAnimationFrame("SeekBar#update",()=>{const o=this.player_.ended()?this.player_.duration():this.getCurrentTime_(),u=this.player_.liveTracker;let l=this.player_.duration();u&&u.isLive()&&(l=this.player_.liveTracker.liveCurrentTime()),this.percent_!==n&&(this.el_.setAttribute("aria-valuenow",(n*100).toFixed(2)),this.percent_=n),(this.currentTime_!==o||this.duration_!==l)&&(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[formatTime(o,l),formatTime(l,l)],"{1} of {2}")),this.currentTime_=o,this.duration_=l),this.bar&&this.bar.update(getBoundingClientRect(this.el()),this.getProgress())}),n}userSeek_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)}getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()}getPercent(){const e=this.getCurrentTime_();let n;const o=this.player_.liveTracker;return o&&o.isLive()?(n=(e-o.seekableStart())/o.liveWindow(),o.atLiveEdge()&&(n=1)):n=e/this.player_.duration(),n}handleMouseDown(e){isSingleLeftClick(e)&&(e.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),super.handleMouseDown(e))}handleMouseMove(e,n=!1){if(!isSingleLeftClick(e)||isNaN(this.player_.duration()))return;!n&&!this.player_.scrubbing()&&this.player_.scrubbing(!0);let o;const u=this.calculateDistance(e),l=this.player_.liveTracker;if(!l||!l.isLive())o=u*this.player_.duration(),o===this.player_.duration()&&(o=o-.1);else{if(u>=.99){l.seekToLiveEdge();return}const m=l.seekableStart(),y=l.liveCurrentTime();if(o=m+u*l.liveWindow(),o>=y&&(o=y),o<=m&&(o=m+.1),o===1/0)return}this.userSeek_(o),this.player_.options_.enableSmoothSeeking&&this.update()}enable(){super.enable();const e=this.getChild("mouseTimeDisplay");e&&e.show()}disable(){super.disable();const e=this.getChild("mouseTimeDisplay");e&&e.hide()}handleMouseUp(e){super.handleMouseUp(e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?silencePromise(this.player_.play()):this.update_()}stepForward(){this.userSeek_(this.player_.currentTime()+STEP_SECONDS)}stepBack(){this.userSeek_(this.player_.currentTime()-STEP_SECONDS)}handleAction(e){this.player_.paused()?this.player_.play():this.player_.pause()}handleKeyDown(e){const n=this.player_.liveTracker;if(e.key===" "||e.key==="Enter")e.preventDefault(),e.stopPropagation(),this.handleAction(e);else if(e.key==="Home")e.preventDefault(),e.stopPropagation(),this.userSeek_(0);else if(e.key==="End")e.preventDefault(),e.stopPropagation(),n&&n.isLive()?this.userSeek_(n.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(e.key)){e.preventDefault(),e.stopPropagation();const o=parseInt(e.key,10)*.1;n&&n.isLive()?this.userSeek_(n.seekableStart()+n.liveWindow()*o):this.userSeek_(this.player_.duration()*o)}else e.key==="PageDown"?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()-STEP_SECONDS*PAGE_KEY_MULTIPLIER)):e.key==="PageUp"?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()+STEP_SECONDS*PAGE_KEY_MULTIPLIER)):super.handleKeyDown(e)}dispose(){this.disableInterval_(),this.off(this.player_,["durationchange","timeupdate"],this.update),this.off(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in document$1$1&&"visibilityState"in document$1$1&&this.off(document$1$1,"visibilitychange",this.toggleVisibility_),super.dispose()}}SeekBar.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},!IS_IOS&&!IS_ANDROID&&SeekBar.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Component$1.registerComponent("SeekBar",SeekBar);class ProgressControl extends Component$1{constructor(e,n){super(e,n),this.handleMouseMove=throttle(bind_(this,this.handleMouseMove),UPDATE_REFRESH_INTERVAL),this.throttledHandleMouseSeek=throttle(bind_(this,this.handleMouseSeek),UPDATE_REFRESH_INTERVAL),this.handleMouseUpHandler_=o=>this.handleMouseUp(o),this.handleMouseDownHandler_=o=>this.handleMouseDown(o),this.enable()}createEl(){return super.createEl("div",{className:"vjs-progress-control vjs-control"})}handleMouseMove(e){const n=this.getChild("seekBar");if(!n)return;const o=n.getChild("playProgressBar"),u=n.getChild("mouseTimeDisplay");if(!o&&!u)return;const l=n.el(),m=findPosition(l);let y=getPointerPosition(l,e).x;y=clamp(y,0,1),u&&u.update(m,y),o&&o.update(m,n.getProgress())}handleMouseSeek(e){const n=this.getChild("seekBar");n&&n.handleMouseMove(e)}enabled(){return this.enabled_}disable(){if(this.children().forEach(e=>e.disable&&e.disable()),!!this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){const e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&silencePromise(this.player_.play())}}enable(){this.children().forEach(e=>e.enable&&e.enable()),!this.enabled()&&(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)}removeListenersAddedOnMousedownAndTouchstart(){const e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)}handleMouseDown(e){const n=this.el_.ownerDocument,o=this.getChild("seekBar");o&&o.handleMouseDown(e),this.on(n,"mousemove",this.throttledHandleMouseSeek),this.on(n,"touchmove",this.throttledHandleMouseSeek),this.on(n,"mouseup",this.handleMouseUpHandler_),this.on(n,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const n=this.getChild("seekBar");n&&n.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()}}ProgressControl.prototype.options_={children:["seekBar"]},Component$1.registerComponent("ProgressControl",ProgressControl);class PictureInPictureToggle extends Button{constructor(e,n){super(e,n),this.setIcon("picture-in-picture-enter"),this.on(e,["enterpictureinpicture","leavepictureinpicture"],o=>this.handlePictureInPictureChange(o)),this.on(e,["disablepictureinpicturechanged","loadedmetadata"],o=>this.handlePictureInPictureEnabledChange(o)),this.on(e,["loadedmetadata","audioonlymodechange","audiopostermodechange"],()=>this.handlePictureInPictureAudioModeChange()),this.disable()}buildCSSClass(){return`vjs-picture-in-picture-control vjs-hidden ${super.buildCSSClass()}`}handlePictureInPictureAudioModeChange(){if(!(this.player_.currentType().substring(0,5)==="audio"||this.player_.audioPosterMode()||this.player_.audioOnlyMode())){this.show();return}this.player_.isInPictureInPicture()&&this.player_.exitPictureInPicture(),this.hide()}handlePictureInPictureEnabledChange(){document$1$1.pictureInPictureEnabled&&this.player_.disablePictureInPicture()===!1||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in window$1$1?this.enable():this.disable()}handlePictureInPictureChange(e){this.player_.isInPictureInPicture()?(this.setIcon("picture-in-picture-exit"),this.controlText("Exit Picture-in-Picture")):(this.setIcon("picture-in-picture-enter"),this.controlText("Picture-in-Picture")),this.handlePictureInPictureEnabledChange()}handleClick(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()}show(){typeof document$1$1.exitPictureInPicture=="function"&&super.show()}}PictureInPictureToggle.prototype.controlText_="Picture-in-Picture",Component$1.registerComponent("PictureInPictureToggle",PictureInPictureToggle);class FullscreenToggle extends Button{constructor(e,n){super(e,n),this.setIcon("fullscreen-enter"),this.on(e,"fullscreenchange",o=>this.handleFullscreenChange(o)),document$1$1[e.fsApi_.fullscreenEnabled]===!1&&this.disable()}buildCSSClass(){return`vjs-fullscreen-control ${super.buildCSSClass()}`}handleFullscreenChange(e){this.player_.isFullscreen()?(this.controlText("Exit Fullscreen"),this.setIcon("fullscreen-exit")):(this.controlText("Fullscreen"),this.setIcon("fullscreen-enter"))}handleClick(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()}}FullscreenToggle.prototype.controlText_="Fullscreen",Component$1.registerComponent("FullscreenToggle",FullscreenToggle);const checkVolumeSupport=function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})};class VolumeLevel extends Component$1{createEl(){const e=super.createEl("div",{className:"vjs-volume-level"});return this.setIcon("circle",e),e.appendChild(super.createEl("span",{className:"vjs-control-text"})),e}}Component$1.registerComponent("VolumeLevel",VolumeLevel);class VolumeLevelTooltip extends Component$1{constructor(e,n){super(e,n),this.update=throttle(bind_(this,this.update),UPDATE_REFRESH_INTERVAL)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(e,n,o,u){if(!o){const l=getBoundingClientRect(this.el_),m=getBoundingClientRect(this.player_.el()),y=e.width*n;if(!m||!l)return;const E=e.left-m.left+y,C=e.width-y+(m.right-e.right);let k=l.width/2;E<k?k+=k-E:C<k&&(k=C),k<0?k=0:k>l.width&&(k=l.width),this.el_.style.right=`-${k}px`}this.write(`${u}%`)}write(e){textContent(this.el_,e)}updateVolume(e,n,o,u,l){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",()=>{this.update(e,n,o,u.toFixed(0)),l&&l()})}}Component$1.registerComponent("VolumeLevelTooltip",VolumeLevelTooltip);class MouseVolumeLevelDisplay extends Component$1{constructor(e,n){super(e,n),this.update=throttle(bind_(this,this.update),UPDATE_REFRESH_INTERVAL)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,n,o){const u=100*n;this.getChild("volumeLevelTooltip").updateVolume(e,n,o,u,()=>{o?this.el_.style.bottom=`${e.height*n}px`:this.el_.style.left=`${e.width*n}px`})}}MouseVolumeLevelDisplay.prototype.options_={children:["volumeLevelTooltip"]},Component$1.registerComponent("MouseVolumeLevelDisplay",MouseVolumeLevelDisplay);class VolumeBar extends Slider$1{constructor(e,n){super(e,n),this.on("slideractive",o=>this.updateLastVolume_(o)),this.on(e,"volumechange",o=>this.updateARIAAttributes(o)),e.ready(()=>this.updateARIAAttributes())}createEl(){return super.createEl("div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})}handleMouseDown(e){isSingleLeftClick(e)&&super.handleMouseDown(e)}handleMouseMove(e){const n=this.getChild("mouseVolumeLevelDisplay");if(n){const o=this.el(),u=getBoundingClientRect(o),l=this.vertical();let m=getPointerPosition(o,e);m=l?m.y:m.x,m=clamp(m,0,1),n.update(u,m,l)}isSingleLeftClick(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))}checkMuted(){this.player_.muted()&&this.player_.muted(!1)}getPercent(){return this.player_.muted()?0:this.player_.volume()}stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)}stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)}updateARIAAttributes(e){const n=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",n),this.el_.setAttribute("aria-valuetext",n+"%")}volumeAsPercentage_(){return Math.round(this.player_.volume()*100)}updateLastVolume_(){const e=this.player_.volume();this.one("sliderinactive",()=>{this.player_.volume()===0&&this.player_.lastVolume_(e)})}}VolumeBar.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},!IS_IOS&&!IS_ANDROID&&VolumeBar.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),VolumeBar.prototype.playerEvent="volumechange",Component$1.registerComponent("VolumeBar",VolumeBar);class VolumeControl extends Component$1{constructor(e,n={}){n.vertical=n.vertical||!1,(typeof n.volumeBar>"u"||isPlain(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),super(e,n),checkVolumeSupport(this,e),this.throttledHandleMouseMove=throttle(bind_(this,this.handleMouseMove),UPDATE_REFRESH_INTERVAL),this.handleMouseUpHandler_=o=>this.handleMouseUp(o),this.on("mousedown",o=>this.handleMouseDown(o)),this.on("touchstart",o=>this.handleMouseDown(o)),this.on("mousemove",o=>this.handleMouseMove(o)),this.on(this.volumeBar,["focus","slideractive"],()=>{this.volumeBar.addClass("vjs-slider-active"),this.addClass("vjs-slider-active"),this.trigger("slideractive")}),this.on(this.volumeBar,["blur","sliderinactive"],()=>{this.volumeBar.removeClass("vjs-slider-active"),this.removeClass("vjs-slider-active"),this.trigger("sliderinactive")})}createEl(){let e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),super.createEl("div",{className:`vjs-volume-control vjs-control ${e}`})}handleMouseDown(e){const n=this.el_.ownerDocument;this.on(n,"mousemove",this.throttledHandleMouseMove),this.on(n,"touchmove",this.throttledHandleMouseMove),this.on(n,"mouseup",this.handleMouseUpHandler_),this.on(n,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const n=this.el_.ownerDocument;this.off(n,"mousemove",this.throttledHandleMouseMove),this.off(n,"touchmove",this.throttledHandleMouseMove),this.off(n,"mouseup",this.handleMouseUpHandler_),this.off(n,"touchend",this.handleMouseUpHandler_)}handleMouseMove(e){this.volumeBar.handleMouseMove(e)}}VolumeControl.prototype.options_={children:["volumeBar"]},Component$1.registerComponent("VolumeControl",VolumeControl);const checkMuteSupport=function(t,e){e.tech_&&!e.tech_.featuresMuteControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresMuteControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})};class MuteToggle extends Button{constructor(e,n){super(e,n),checkMuteSupport(this,e),this.on(e,["loadstart","volumechange"],o=>this.update(o))}buildCSSClass(){return`vjs-mute-control ${super.buildCSSClass()}`}handleClick(e){const n=this.player_.volume(),o=this.player_.lastVolume_();if(n===0){const u=o<.1?.1:o;this.player_.volume(u),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())}update(e){this.updateIcon_(),this.updateControlText_()}updateIcon_(){const e=this.player_.volume();let n=3;this.setIcon("volume-high"),IS_IOS&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),e===0||this.player_.muted()?(this.setIcon("volume-mute"),n=0):e<.33?(this.setIcon("volume-low"),n=1):e<.67&&(this.setIcon("volume-medium"),n=2),removeClass(this.el_,[0,1,2,3].reduce((o,u)=>o+`${u?" ":""}vjs-vol-${u}`,"")),addClass(this.el_,`vjs-vol-${n}`)}updateControlText_(){const n=this.player_.muted()||this.player_.volume()===0?"Unmute":"Mute";this.controlText()!==n&&this.controlText(n)}}MuteToggle.prototype.controlText_="Mute",Component$1.registerComponent("MuteToggle",MuteToggle);class VolumePanel extends Component$1{constructor(e,n={}){typeof n.inline<"u"?n.inline=n.inline:n.inline=!0,(typeof n.volumeControl>"u"||isPlain(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),super(e,n),this.handleKeyPressHandler_=o=>this.handleKeyPress(o),this.on(e,["loadstart"],o=>this.volumePanelState_(o)),this.on(this.muteToggle,"keyup",o=>this.handleKeyPress(o)),this.on(this.volumeControl,"keyup",o=>this.handleVolumeControlKeyUp(o)),this.on("keydown",o=>this.handleKeyPress(o)),this.on("mouseover",o=>this.handleMouseOver(o)),this.on("mouseout",o=>this.handleMouseOut(o)),this.on(this.volumeControl,["slideractive"],this.sliderActive_),this.on(this.volumeControl,["sliderinactive"],this.sliderInactive_)}sliderActive_(){this.addClass("vjs-slider-active")}sliderInactive_(){this.removeClass("vjs-slider-active")}volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")}createEl(){let e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),super.createEl("div",{className:`vjs-volume-panel vjs-control ${e}`})}dispose(){this.handleMouseOut(),super.dispose()}handleVolumeControlKeyUp(e){e.key==="Escape"&&this.muteToggle.focus()}handleMouseOver(e){this.addClass("vjs-hover"),on(document$1$1,"keyup",this.handleKeyPressHandler_)}handleMouseOut(e){this.removeClass("vjs-hover"),off(document$1$1,"keyup",this.handleKeyPressHandler_)}handleKeyPress(e){e.key==="Escape"&&this.handleMouseOut()}}VolumePanel.prototype.options_={children:["muteToggle","volumeControl"]},Component$1.registerComponent("VolumePanel",VolumePanel);class SkipForward extends Button{constructor(e,n){super(e,n),this.validOptions=[5,10,30],this.skipTime=this.getSkipForwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`forward-${this.skipTime}`),this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime.toLocaleString(e.language())])),this.show()):this.hide()}getSkipForwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.forward}buildCSSClass(){return`vjs-skip-forward-${this.getSkipForwardTime()} ${super.buildCSSClass()}`}handleClick(e){if(isNaN(this.player_.duration()))return;const n=this.player_.currentTime(),o=this.player_.liveTracker,u=o&&o.isLive()?o.seekableEnd():this.player_.duration();let l;n+this.skipTime<=u?l=n+this.skipTime:l=u,this.player_.currentTime(l)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}}SkipForward.prototype.controlText_="Skip Forward",Component$1.registerComponent("SkipForward",SkipForward);class SkipBackward extends Button{constructor(e,n){super(e,n),this.validOptions=[5,10,30],this.skipTime=this.getSkipBackwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`replay-${this.skipTime}`),this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime.toLocaleString(e.language())])),this.show()):this.hide()}getSkipBackwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.backward}buildCSSClass(){return`vjs-skip-backward-${this.getSkipBackwardTime()} ${super.buildCSSClass()}`}handleClick(e){const n=this.player_.currentTime(),o=this.player_.liveTracker,u=o&&o.isLive()&&o.seekableStart();let l;u&&n-this.skipTime<=u?l=u:n>=this.skipTime?l=n-this.skipTime:l=0,this.player_.currentTime(l)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}SkipBackward.prototype.controlText_="Skip Backward",Component$1.registerComponent("SkipBackward",SkipBackward);class Menu extends Component$1{constructor(e,n){super(e,n),n&&(this.menuButton_=n.menuButton),this.focusedChild_=-1,this.on("keydown",o=>this.handleKeyDown(o)),this.boundHandleBlur_=o=>this.handleBlur(o),this.boundHandleTapClick_=o=>this.handleTapClick(o)}addEventListenerForItem(e){e instanceof Component$1&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(e){e instanceof Component$1&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))}removeChild(e){typeof e=="string"&&(e=this.getChild(e)),this.removeEventListenerForItem(e),super.removeChild(e)}addItem(e){const n=this.addChild(e);n&&this.addEventListenerForItem(n)}createEl(){const e=this.options_.contentElType||"ul";this.contentEl_=createEl(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");const n=super.createEl("div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),on(n,"click",function(o){o.preventDefault(),o.stopImmediatePropagation()}),n}dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,super.dispose()}handleBlur(e){const n=e.relatedTarget||document$1$1.activeElement;if(!this.children().some(o=>o.el()===n)){const o=this.menuButton_;o&&o.buttonPressed_&&n!==o.el().firstChild&&o.unpressButton()}}handleTapClick(e){if(this.menuButton_){this.menuButton_.unpressButton();const n=this.children();if(!Array.isArray(n))return;const o=n.filter(u=>u.el()===e.target)[0];if(!o)return;o.name()!=="CaptionSettingsMenuItem"&&this.menuButton_.focus()}}handleKeyDown(e){e.key==="ArrowLeft"||e.key==="ArrowDown"?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(e.key==="ArrowRight"||e.key==="ArrowUp")&&(e.preventDefault(),e.stopPropagation(),this.stepBack())}stepForward(){let e=0;this.focusedChild_!==void 0&&(e=this.focusedChild_+1),this.focus(e)}stepBack(){let e=0;this.focusedChild_!==void 0&&(e=this.focusedChild_-1),this.focus(e)}focus(e=0){const n=this.children().slice();n.length&&n[0].hasClass("vjs-menu-title")&&n.shift(),n.length>0&&(e<0?e=0:e>=n.length&&(e=n.length-1),this.focusedChild_=e,n[e].el_.focus())}}Component$1.registerComponent("Menu",Menu);class MenuButton extends Component$1{constructor(e,n={}){super(e,n),this.menuButton_=new Button(e,n),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const o=Button.prototype.buildCSSClass();this.menuButton_.el_.className=this.buildCSSClass()+" "+o,this.menuButton_.removeClass("vjs-control"),this.addChild(this.menuButton_),this.update(),this.enabled_=!0;const u=l=>this.handleClick(l);this.handleMenuKeyUp_=l=>this.handleMenuKeyUp(l),this.on(this.menuButton_,"tap",u),this.on(this.menuButton_,"click",u),this.on(this.menuButton_,"keydown",l=>this.handleKeyDown(l)),this.on(this.menuButton_,"mouseenter",()=>{this.addClass("vjs-hover"),this.menu.show(),on(document$1$1,"keyup",this.handleMenuKeyUp_)}),this.on("mouseleave",l=>this.handleMouseLeave(l)),this.on("keydown",l=>this.handleSubmenuKeyDown(l))}update(){const e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))}createMenu(){const e=new Menu(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const n=createEl("li",{className:"vjs-menu-title",textContent:toTitleCase$1(this.options_.title),tabIndex:-1}),o=new Component$1(this.player_,{el:n});e.addItem(o)}if(this.items=this.createItems(),this.items)for(let n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e}createItems(){}createEl(){return super.createEl("div",{className:this.buildWrapperCSSClass()},{})}setIcon(e){super.setIcon(e,this.menuButton_.el_)}buildWrapperCSSClass(){let e="vjs-menu-button";this.options_.inline===!0?e+="-inline":e+="-popup";const n=Button.prototype.buildCSSClass();return`vjs-menu-button ${e} ${n} ${super.buildCSSClass()}`}buildCSSClass(){let e="vjs-menu-button";return this.options_.inline===!0?e+="-inline":e+="-popup",`vjs-menu-button ${e} ${super.buildCSSClass()}`}controlText(e,n=this.menuButton_.el()){return this.menuButton_.controlText(e,n)}dispose(){this.handleMouseLeave(),super.dispose()}handleClick(e){this.buttonPressed_?this.unpressButton():this.pressButton()}handleMouseLeave(e){this.removeClass("vjs-hover"),off(document$1$1,"keyup",this.handleMenuKeyUp_)}focus(){this.menuButton_.focus()}blur(){this.menuButton_.blur()}handleKeyDown(e){e.key==="Esc"||e.key==="Tab"?(this.buttonPressed_&&this.unpressButton(),!e.key==="Tab"&&(e.preventDefault(),this.menuButton_.focus())):(e.key==="Up"||e.key==="Down"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))}handleMenuKeyUp(e){(e.key==="Esc"||e.key==="Tab")&&this.removeClass("vjs-hover")}handleSubmenuKeyPress(e){this.handleSubmenuKeyDown(e)}handleSubmenuKeyDown(e){(e.key==="Esc"||e.key==="Tab")&&(this.buttonPressed_&&this.unpressButton(),!e.key==="Tab"&&(e.preventDefault(),this.menuButton_.focus()))}pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),IS_IOS&&isInFrame())return;this.menu.focus()}}unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))}disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()}enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()}}Component$1.registerComponent("MenuButton",MenuButton);class TrackButton extends MenuButton{constructor(e,n){const o=n.tracks;if(super(e,n),this.items.length<=1&&this.hide(),!o)return;const u=bind_(this,this.update);o.addEventListener("removetrack",u),o.addEventListener("addtrack",u),o.addEventListener("labelchange",u),this.player_.on("ready",u),this.player_.on("dispose",function(){o.removeEventListener("removetrack",u),o.removeEventListener("addtrack",u),o.removeEventListener("labelchange",u)})}}Component$1.registerComponent("TrackButton",TrackButton);class MenuItem extends ClickableComponent{constructor(e,n){super(e,n),this.selectable=n.selectable,this.isSelected_=n.selected||!1,this.multiSelectable=n.multiSelectable,this.selected(this.isSelected_),this.selectable?this.multiSelectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitemradio"):this.el_.setAttribute("role","menuitem")}createEl(e,n,o){this.nonIconControl=!0;const u=super.createEl("li",Object.assign({className:"vjs-menu-item",tabIndex:-1},n),o),l=createEl("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)});return this.player_.options_.experimentalSvgIcons?u.appendChild(l):u.replaceChild(l,u.querySelector(".vjs-icon-placeholder")),u}handleKeyDown(e){["Tab","Escape","ArrowUp","ArrowLeft","ArrowRight","ArrowDown"].includes(e.key)||super.handleKeyDown(e)}handleClick(e){this.selected(!0)}selected(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))}}Component$1.registerComponent("MenuItem",MenuItem);class TextTrackMenuItem extends MenuItem{constructor(e,n){const o=n.track,u=e.textTracks();n.label=o.label||o.language||"Unknown",n.selected=o.mode==="showing",super(e,n),this.track=o,this.kinds=(n.kinds||[n.kind||this.track.kind]).filter(Boolean);const l=(...y)=>{this.handleTracksChange.apply(this,y)},m=(...y)=>{this.handleSelectedLanguageChange.apply(this,y)};if(e.on(["loadstart","texttrackchange"],l),u.addEventListener("change",l),u.addEventListener("selectedlanguagechange",m),this.on("dispose",function(){e.off(["loadstart","texttrackchange"],l),u.removeEventListener("change",l),u.removeEventListener("selectedlanguagechange",m)}),u.onchange===void 0){let y;this.on(["tap","click"],function(){if(typeof window$1$1.Event!="object")try{y=new window$1$1.Event("change")}catch{}y||(y=document$1$1.createEvent("Event"),y.initEvent("change",!0,!0)),u.dispatchEvent(y)})}this.handleTracksChange()}handleClick(e){const n=this.track,o=this.player_.textTracks();if(super.handleClick(e),!!o)for(let u=0;u<o.length;u++){const l=o[u];this.kinds.indexOf(l.kind)!==-1&&(l===n?l.mode!=="showing"&&(l.mode="showing"):l.mode!=="disabled"&&(l.mode="disabled"))}}handleTracksChange(e){const n=this.track.mode==="showing";n!==this.isSelected_&&this.selected(n)}handleSelectedLanguageChange(e){if(this.track.mode==="showing"){const n=this.player_.cache_.selectedLanguage;if(n&&n.enabled&&n.language===this.track.language&&n.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}}dispose(){this.track=null,super.dispose()}}Component$1.registerComponent("TextTrackMenuItem",TextTrackMenuItem);class OffTextTrackMenuItem extends TextTrackMenuItem{constructor(e,n){n.track={player:e,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,super(e,n)}handleTracksChange(e){const n=this.player().textTracks();let o=!0;for(let u=0,l=n.length;u<l;u++){const m=n[u];if(this.options_.kinds.indexOf(m.kind)>-1&&m.mode==="showing"){o=!1;break}}o!==this.isSelected_&&this.selected(o)}handleSelectedLanguageChange(e){const n=this.player().textTracks();let o=!0;for(let u=0,l=n.length;u<l;u++){const m=n[u];if(["captions","descriptions","subtitles"].indexOf(m.kind)>-1&&m.mode==="showing"){o=!1;break}}o&&(this.player_.cache_.selectedLanguage={enabled:!1})}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.label),super.handleLanguagechange()}}Component$1.registerComponent("OffTextTrackMenuItem",OffTextTrackMenuItem);class TextTrackButton extends TrackButton{constructor(e,n={}){n.tracks=e.textTracks(),super(e,n)}createItems(e=[],n=TextTrackMenuItem){let o;this.label_&&(o=`${this.label_} off`),e.push(new OffTextTrackMenuItem(this.player_,{kinds:this.kinds_,kind:this.kind_,label:o})),this.hideThreshold_+=1;const u=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(let l=0;l<u.length;l++){const m=u[l];if(this.kinds_.indexOf(m.kind)>-1){const y=new n(this.player_,{track:m,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});y.addClass(`vjs-${m.kind}-menu-item`),e.push(y)}}return e}}Component$1.registerComponent("TextTrackButton",TextTrackButton);class ChaptersTrackMenuItem extends MenuItem{constructor(e,n){const o=n.track,u=n.cue,l=e.currentTime();n.selectable=!0,n.multiSelectable=!1,n.label=u.text,n.selected=u.startTime<=l&&l<u.endTime,super(e,n),this.track=o,this.cue=u}handleClick(e){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}Component$1.registerComponent("ChaptersTrackMenuItem",ChaptersTrackMenuItem);class ChaptersButton extends TextTrackButton{constructor(e,n,o){super(e,n,o),this.setIcon("chapters"),this.selectCurrentItem_=()=>{this.items.forEach(u=>{u.selected(this.track_.activeCues[0]===u.cue)})}}buildCSSClass(){return`vjs-chapters-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-chapters-button ${super.buildWrapperCSSClass()}`}update(e){if(e&&e.track&&e.track.kind!=="chapters")return;const n=this.findChaptersTrack();n!==this.track_?(this.setTrack(n),super.update()):(!this.items||n&&n.cues&&n.cues.length!==this.items.length)&&super.update()}setTrack(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){const n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";const n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}findChaptersTrack(){const e=this.player_.textTracks()||[];for(let n=e.length-1;n>=0;n--){const o=e[n];if(o.kind===this.kind_)return o}}getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(toTitleCase$1(this.kind_))}createMenu(){return this.options_.title=this.getMenuCaption(),super.createMenu()}createItems(){const e=[];if(!this.track_)return e;const n=this.track_.cues;if(!n)return e;for(let o=0,u=n.length;o<u;o++){const l=n[o],m=new ChaptersTrackMenuItem(this.player_,{track:this.track_,cue:l});e.push(m)}return e}}ChaptersButton.prototype.kind_="chapters",ChaptersButton.prototype.controlText_="Chapters",Component$1.registerComponent("ChaptersButton",ChaptersButton);class DescriptionsButton extends TextTrackButton{constructor(e,n,o){super(e,n,o),this.setIcon("audio-description");const u=e.textTracks(),l=bind_(this,this.handleTracksChange);u.addEventListener("change",l),this.on("dispose",function(){u.removeEventListener("change",l)})}handleTracksChange(e){const n=this.player().textTracks();let o=!1;for(let u=0,l=n.length;u<l;u++){const m=n[u];if(m.kind!==this.kind_&&m.mode==="showing"){o=!0;break}}o?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}DescriptionsButton.prototype.kind_="descriptions",DescriptionsButton.prototype.controlText_="Descriptions",Component$1.registerComponent("DescriptionsButton",DescriptionsButton);class SubtitlesButton extends TextTrackButton{constructor(e,n,o){super(e,n,o),this.setIcon("subtitles")}buildCSSClass(){return`vjs-subtitles-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subtitles-button ${super.buildWrapperCSSClass()}`}}SubtitlesButton.prototype.kind_="subtitles",SubtitlesButton.prototype.controlText_="Subtitles",Component$1.registerComponent("SubtitlesButton",SubtitlesButton);class CaptionSettingsMenuItem extends TextTrackMenuItem{constructor(e,n){n.track={player:e,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",super(e,n),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+n.kind+" settings dialog")}handleClick(e){this.player().getChild("textTrackSettings").open()}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.kind+" settings"),super.handleLanguagechange()}}Component$1.registerComponent("CaptionSettingsMenuItem",CaptionSettingsMenuItem);class CaptionsButton extends TextTrackButton{constructor(e,n,o){super(e,n,o),this.setIcon("captions")}buildCSSClass(){return`vjs-captions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-captions-button ${super.buildWrapperCSSClass()}`}createItems(){const e=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(e.push(new CaptionSettingsMenuItem(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(e)}}CaptionsButton.prototype.kind_="captions",CaptionsButton.prototype.controlText_="Captions",Component$1.registerComponent("CaptionsButton",CaptionsButton);class SubsCapsMenuItem extends TextTrackMenuItem{createEl(e,n,o){const u=super.createEl(e,n,o),l=u.querySelector(".vjs-menu-item-text");return this.options_.track.kind==="captions"&&(this.player_.options_.experimentalSvgIcons?this.setIcon("captions",u):l.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),l.appendChild(createEl("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),u}}Component$1.registerComponent("SubsCapsMenuItem",SubsCapsMenuItem);class SubsCapsButton extends TextTrackButton{constructor(e,n={}){super(e,n),this.label_="subtitles",this.setIcon("subtitles"),["en","en-us","en-ca","fr-ca"].indexOf(this.player_.language_)>-1&&(this.label_="captions",this.setIcon("captions")),this.menuButton_.controlText(toTitleCase$1(this.label_))}buildCSSClass(){return`vjs-subs-caps-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subs-caps-button ${super.buildWrapperCSSClass()}`}createItems(){let e=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(e.push(new CaptionSettingsMenuItem(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=super.createItems(e,SubsCapsMenuItem),e}}SubsCapsButton.prototype.kinds_=["captions","subtitles"],SubsCapsButton.prototype.controlText_="Subtitles",Component$1.registerComponent("SubsCapsButton",SubsCapsButton);class AudioTrackMenuItem extends MenuItem{constructor(e,n){const o=n.track,u=e.audioTracks();n.label=o.label||o.language||"Unknown",n.selected=o.enabled,super(e,n),this.track=o,this.addClass(`vjs-${o.kind}-menu-item`);const l=(...m)=>{this.handleTracksChange.apply(this,m)};u.addEventListener("change",l),this.on("dispose",()=>{u.removeEventListener("change",l)})}createEl(e,n,o){const u=super.createEl(e,n,o),l=u.querySelector(".vjs-menu-item-text");return["main-desc","descriptions"].indexOf(this.options_.track.kind)>=0&&(l.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),l.appendChild(createEl("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),u}handleClick(e){if(super.handleClick(e),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks){const n=this.player_.audioTracks();for(let o=0;o<n.length;o++){const u=n[o];u!==this.track&&(u.enabled=u===this.track)}}}handleTracksChange(e){this.selected(this.track.enabled)}}Component$1.registerComponent("AudioTrackMenuItem",AudioTrackMenuItem);class AudioTrackButton extends TrackButton{constructor(e,n={}){n.tracks=e.audioTracks(),super(e,n),this.setIcon("audio")}buildCSSClass(){return`vjs-audio-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-audio-button ${super.buildWrapperCSSClass()}`}createItems(e=[]){this.hideThreshold_=1;const n=this.player_.audioTracks();for(let o=0;o<n.length;o++){const u=n[o];e.push(new AudioTrackMenuItem(this.player_,{track:u,selectable:!0,multiSelectable:!1}))}return e}}AudioTrackButton.prototype.controlText_="Audio Track",Component$1.registerComponent("AudioTrackButton",AudioTrackButton);class PlaybackRateMenuItem extends MenuItem{constructor(e,n){const o=n.rate,u=parseFloat(o,10);n.label=o,n.selected=u===e.playbackRate(),n.selectable=!0,n.multiSelectable=!1,super(e,n),this.label=o,this.rate=u,this.on(e,"ratechange",l=>this.update(l))}handleClick(e){super.handleClick(),this.player().playbackRate(this.rate)}update(e){this.selected(this.player().playbackRate()===this.rate)}}PlaybackRateMenuItem.prototype.contentElType="button",Component$1.registerComponent("PlaybackRateMenuItem",PlaybackRateMenuItem);class PlaybackRateMenuButton extends MenuButton{constructor(e,n){super(e,n),this.menuButton_.el_.setAttribute("aria-describedby",this.labelElId_),this.updateVisibility(),this.updateLabel(),this.on(e,"loadstart",o=>this.updateVisibility(o)),this.on(e,"ratechange",o=>this.updateLabel(o)),this.on(e,"playbackrateschange",o=>this.handlePlaybackRateschange(o))}createEl(){const e=super.createEl();return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=createEl("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),e.appendChild(this.labelEl_),e}dispose(){this.labelEl_=null,super.dispose()}buildCSSClass(){return`vjs-playback-rate ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-playback-rate ${super.buildWrapperCSSClass()}`}createItems(){const e=this.playbackRates(),n=[];for(let o=e.length-1;o>=0;o--)n.push(new PlaybackRateMenuItem(this.player(),{rate:e[o]+"x"}));return n}handlePlaybackRateschange(e){this.update()}playbackRates(){const e=this.player();return e.playbackRates&&e.playbackRates()||[]}playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0}updateVisibility(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")}updateLabel(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")}}PlaybackRateMenuButton.prototype.controlText_="Playback Rate",Component$1.registerComponent("PlaybackRateMenuButton",PlaybackRateMenuButton);class Spacer extends Component$1{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(e="div",n={},o={}){return n.className||(n.className=this.buildCSSClass()),super.createEl(e,n,o)}}Component$1.registerComponent("Spacer",Spacer);class CustomControlSpacer extends Spacer{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:" "})}}Component$1.registerComponent("CustomControlSpacer",CustomControlSpacer);class ControlBar extends Component$1{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}ControlBar.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","pictureInPictureToggle","fullscreenToggle"]},Component$1.registerComponent("ControlBar",ControlBar);class ErrorDisplay extends ModalDialog{constructor(e,n){super(e,n),this.on(e,"error",o=>{this.open(o)})}buildCSSClass(){return`vjs-error-display ${super.buildCSSClass()}`}content(){const e=this.player().error();return e?this.localize(e.message):""}}ErrorDisplay.prototype.options_=Object.assign({},ModalDialog.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Component$1.registerComponent("ErrorDisplay",ErrorDisplay);class TextTrackSelect extends Component$1{constructor(e,n={}){super(e,n),this.el_.setAttribute("aria-labelledby",this.selectLabelledbyIds)}createEl(){return this.selectLabelledbyIds=[this.options_.legendId,this.options_.labelId].join(" ").trim(),createEl("select",{id:this.options_.id},{},this.options_.SelectOptions.map(n=>{const o=(this.options_.labelId?this.options_.labelId:`vjs-track-option-${newGUID()}`)+"-"+n[1].replace(/\W+/g,""),u=createEl("option",{id:o,value:this.localize(n[0]),textContent:n[1]});return u.setAttribute("aria-labelledby",`${this.selectLabelledbyIds} ${o}`),u}))}}Component$1.registerComponent("TextTrackSelect",TextTrackSelect);class TextTrackFieldset extends Component$1{constructor(e,n={}){super(e,n);const o=createEl("legend",{textContent:this.localize(this.options_.legendText),id:this.options_.legendId});this.el().appendChild(o);const u=this.options_.selects;for(const l of u){const m=this.options_.selectConfigs[l],y=m.className,E=m.id.replace("%s",this.options_.id_);let C=null;const k=`vjs_select_${newGUID()}`;if(this.options_.type==="colors"){C=createEl("span",{className:y});const D=createEl("label",{id:E,className:"vjs-label",textContent:m.label});D.setAttribute("for",k),C.appendChild(D)}const A=new TextTrackSelect(e,{SelectOptions:m.options,legendId:this.options_.legendId,id:k,labelId:E});this.addChild(A),this.options_.type==="colors"&&(C.appendChild(A.el()),this.el().appendChild(C))}}createEl(){return createEl("fieldset",{className:this.options_.className})}}Component$1.registerComponent("TextTrackFieldset",TextTrackFieldset);class TextTrackSettingsColors extends Component$1{constructor(e,n={}){super(e,n);const o=this.options_.textTrackComponentid,u=new TextTrackFieldset(e,{id_:o,legendId:`captions-text-legend-${o}`,legendText:this.localize("Text"),className:"vjs-fg vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(u);const l=new TextTrackFieldset(e,{id_:o,legendId:`captions-background-${o}`,legendText:this.localize("Text Background"),className:"vjs-bg vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(l);const m=new TextTrackFieldset(e,{id_:o,legendId:`captions-window-${o}`,legendText:this.localize("Caption Area Background"),className:"vjs-window vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(m)}createEl(){return createEl("div",{className:"vjs-track-settings-colors"})}}Component$1.registerComponent("TextTrackSettingsColors",TextTrackSettingsColors);class TextTrackSettingsFont extends Component$1{constructor(e,n={}){super(e,n);const o=this.options_.textTrackComponentid,u=new TextTrackFieldset(e,{id_:o,legendId:`captions-font-size-${o}`,legendText:"Font Size",className:"vjs-font-percent vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(u);const l=new TextTrackFieldset(e,{id_:o,legendId:`captions-edge-style-${o}`,legendText:this.localize("Text Edge Style"),className:"vjs-edge-style vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(l);const m=new TextTrackFieldset(e,{id_:o,legendId:`captions-font-family-${o}`,legendText:this.localize("Font Family"),className:"vjs-font-family vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(m)}createEl(){return createEl("div",{className:"vjs-track-settings-font"})}}Component$1.registerComponent("TextTrackSettingsFont",TextTrackSettingsFont);class TrackSettingsControls extends Component$1{constructor(e,n={}){super(e,n);const o=this.localize("restore all settings to the default values"),u=new Button(e,{controlText:o,className:"vjs-default-button"});u.el().classList.remove("vjs-control","vjs-button"),u.el().textContent=this.localize("Reset"),this.addChild(u);const l=new Button(e,{controlText:o,className:"vjs-done-button"});l.el().classList.remove("vjs-control","vjs-button"),l.el().textContent=this.localize("Done"),this.addChild(l)}createEl(){return createEl("div",{className:"vjs-track-settings-controls"})}}Component$1.registerComponent("TrackSettingsControls",TrackSettingsControls);const LOCAL_STORAGE_KEY$1="vjs-text-track-settings",COLOR_BLACK=["#000","Black"],COLOR_BLUE=["#00F","Blue"],COLOR_CYAN=["#0FF","Cyan"],COLOR_GREEN=["#0F0","Green"],COLOR_MAGENTA=["#F0F","Magenta"],COLOR_RED=["#F00","Red"],COLOR_WHITE=["#FFF","White"],COLOR_YELLOW=["#FF0","Yellow"],OPACITY_OPAQUE=["1","Opaque"],OPACITY_SEMI=["0.5","Semi-Transparent"],OPACITY_TRANS=["0","Transparent"],selectConfigs={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[COLOR_BLACK,COLOR_WHITE,COLOR_RED,COLOR_GREEN,COLOR_BLUE,COLOR_YELLOW,COLOR_MAGENTA,COLOR_CYAN],className:"vjs-bg-color"},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[OPACITY_OPAQUE,OPACITY_SEMI,OPACITY_TRANS],className:"vjs-bg-opacity vjs-opacity"},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[COLOR_WHITE,COLOR_BLACK,COLOR_RED,COLOR_GREEN,COLOR_BLUE,COLOR_YELLOW,COLOR_MAGENTA,COLOR_CYAN],className:"vjs-text-color"},edgeStyle:{selector:".vjs-edge-style > select",id:"",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Drop shadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:t=>t==="1.00"?null:Number(t)},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Opacity",options:[OPACITY_OPAQUE,OPACITY_SEMI],className:"vjs-text-opacity vjs-opacity"},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color",className:"vjs-window-color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Opacity",options:[OPACITY_TRANS,OPACITY_SEMI,OPACITY_OPAQUE],className:"vjs-window-opacity vjs-opacity"}};selectConfigs.windowColor.options=selectConfigs.backgroundColor.options;function parseOptionValue(t,e){if(e&&(t=e(t)),t&&t!=="none")return t}function getSelectedOptionValue(t,e){const n=t.options[t.options.selectedIndex].value;return parseOptionValue(n,e)}function setSelectedOption(t,e,n){if(e){for(let o=0;o<t.options.length;o++)if(parseOptionValue(t.options[o].value,n)===e){t.selectedIndex=o;break}}}class TextTrackSettings extends ModalDialog{constructor(e,n){n.temporary=!1,super(e,n),this.updateDisplay=this.updateDisplay.bind(this),this.fill(),this.hasBeenOpened_=this.hasBeenFilled_=!0,this.renderModalComponents(e),this.endDialog=createEl("p",{className:"vjs-control-text",textContent:this.localize("End of dialog window.")}),this.el().appendChild(this.endDialog),this.setDefaults(),n.persistTextTrackSettings===void 0&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),this.bindFunctionsToSelectsAndButtons(),this.options_.persistTextTrackSettings&&this.restoreSettings()}renderModalComponents(e){const n=new TextTrackSettingsColors(e,{textTrackComponentid:this.id_,selectConfigs,fieldSets:[["color","textOpacity"],["backgroundColor","backgroundOpacity"],["windowColor","windowOpacity"]]});this.addChild(n);const o=new TextTrackSettingsFont(e,{textTrackComponentid:this.id_,selectConfigs,fieldSets:[["fontPercent"],["edgeStyle"],["fontFamily"]]});this.addChild(o);const u=new TrackSettingsControls(e);this.addChild(u)}bindFunctionsToSelectsAndButtons(){this.on(this.$(".vjs-done-button"),["click","tap"],()=>{this.saveSettings(),this.close()}),this.on(this.$(".vjs-default-button"),["click","tap"],()=>{this.setDefaults(),this.updateDisplay()}),each(selectConfigs,e=>{this.on(this.$(e.selector),"change",this.updateDisplay)})}dispose(){this.endDialog=null,super.dispose()}label(){return this.localize("Caption Settings Dialog")}description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")}buildCSSClass(){return super.buildCSSClass()+" vjs-text-track-settings"}getValues(){return reduce(selectConfigs,(e,n,o)=>{const u=getSelectedOptionValue(this.$(n.selector),n.parser);return u!==void 0&&(e[o]=u),e},{})}setValues(e){each(selectConfigs,(n,o)=>{setSelectedOption(this.$(n.selector),e[o],n.parser)})}setDefaults(){each(selectConfigs,e=>{const n=e.hasOwnProperty("default")?e.default:0;this.$(e.selector).selectedIndex=n})}restoreSettings(){let e;try{e=JSON.parse(window$1$1.localStorage.getItem(LOCAL_STORAGE_KEY$1))}catch(n){log$1.warn(n)}e&&this.setValues(e)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const e=this.getValues();try{Object.keys(e).length?window$1$1.localStorage.setItem(LOCAL_STORAGE_KEY$1,JSON.stringify(e)):window$1$1.localStorage.removeItem(LOCAL_STORAGE_KEY$1)}catch(n){log$1.warn(n)}}updateDisplay(){const e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()}handleLanguagechange(){this.fill(),this.renderModalComponents(this.player_),this.bindFunctionsToSelectsAndButtons()}}Component$1.registerComponent("TextTrackSettings",TextTrackSettings);class ResizeManager extends Component$1{constructor(e,n){let o=n.ResizeObserver||window$1$1.ResizeObserver;n.ResizeObserver===null&&(o=!1);const u=merge$1({createEl:!o,reportTouchActivity:!1},n);super(e,u),this.ResizeObserver=n.ResizeObserver||window$1$1.ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=debounce(()=>{this.resizeHandler()},100,!1,this),o?(this.resizeObserver_=new this.ResizeObserver(this.debouncedHandler_),this.resizeObserver_.observe(e.el())):(this.loadListener_=()=>{if(!this.el_||!this.el_.contentWindow)return;const l=this.debouncedHandler_;let m=this.unloadListener_=function(){off(this,"resize",l),off(this,"unload",m),m=null};on(this.el_.contentWindow,"unload",m),on(this.el_.contentWindow,"resize",l)},this.one("load",this.loadListener_))}createEl(){return super.createEl("iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})}resizeHandler(){!this.player_||!this.player_.trigger||this.player_.trigger("playerresize")}dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,super.dispose()}}Component$1.registerComponent("ResizeManager",ResizeManager);const defaults$1={trackingThreshold:20,liveTolerance:15};class LiveTracker extends Component$1{constructor(e,n){const o=merge$1(defaults$1,n,{createEl:!1});super(e,o),this.trackLiveHandler_=()=>this.trackLive_(),this.handlePlay_=u=>this.handlePlay(u),this.handleFirstTimeupdate_=u=>this.handleFirstTimeupdate(u),this.handleSeeked_=u=>this.handleSeeked(u),this.seekToLiveEdge_=u=>this.seekToLiveEdge(u),this.reset_(),this.on(this.player_,"durationchange",u=>this.handleDurationchange(u)),this.on(this.player_,"canplay",()=>this.toggleTracking())}trackLive_(){const e=this.player_.seekable();if(!e||!e.length)return;const n=Number(window$1$1.performance.now().toFixed(4)),o=this.lastTime_===-1?0:(n-this.lastTime_)/1e3;this.lastTime_=n,this.pastSeekEnd_=this.pastSeekEnd()+o;const u=this.liveCurrentTime(),l=this.player_.currentTime();let m=this.player_.paused()||this.seekedBehindLive_||Math.abs(u-l)>this.options_.liveTolerance;(!this.timeupdateSeen_||u===1/0)&&(m=!1),m!==this.behindLiveEdge_&&(this.behindLiveEdge_=m,this.trigger("liveedgechange"))}handleDurationchange(){this.toggleTracking()}toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())}startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,UPDATE_REFRESH_INTERVAL),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))}handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)}handleSeeked(){const e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()}handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)}reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)}nextSeekedFromUser(){this.nextSeekedFromUser_=!0}stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))}seekableEnd(){const e=this.player_.seekable(),n=[];let o=e?e.length:0;for(;o--;)n.push(e.end(o));return n.length?n.sort()[n.length-1]:1/0}seekableStart(){const e=this.player_.seekable(),n=[];let o=e?e.length:0;for(;o--;)n.push(e.start(o));return n.length?n.sort()[0]:0}liveWindow(){const e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()}isLive(){return this.isTracking()}atLiveEdge(){return!this.behindLiveEdge()}liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()}pastSeekEnd(){const e=this.seekableEnd();return this.lastSeekEnd_!==-1&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_}behindLiveEdge(){return this.behindLiveEdge_}isTracking(){return typeof this.trackingInterval_=="number"}seekToLiveEdge(){this.seekedBehindLive_=!1,!this.atLiveEdge()&&(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))}dispose(){this.stopTracking(),super.dispose()}}Component$1.registerComponent("LiveTracker",LiveTracker);class TitleBar extends Component$1{constructor(e,n){super(e,n),this.on("statechanged",o=>this.updateDom_()),this.updateDom_()}createEl(){return this.els={title:createEl("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${newGUID()}`}),description:createEl("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${newGUID()}`})},createEl("div",{className:"vjs-title-bar"},{},values(this.els))}updateDom_(){const e=this.player_.tech_,n=e&&e.el_,o={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach(u=>{const l=this.state[u],m=this.els[u],y=o[u];emptyEl(m),l&&textContent(m,l),n&&(n.removeAttribute(y),l&&n.setAttribute(y,m.id))}),this.state.title||this.state.description?this.show():this.hide()}update(e){this.setState(e)}dispose(){const e=this.player_.tech_,n=e&&e.el_;n&&(n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-describedby")),super.dispose(),this.els=null}}Component$1.registerComponent("TitleBar",TitleBar);const defaults$2={initialDisplay:4e3,position:[],takeFocus:!1};class TransientButton extends Button{constructor(e,n){n=merge$1(defaults$2,n),super(e,n),this.controlText(n.controlText),this.hide(),this.on(this.player_,["useractive","userinactive"],o=>{this.removeClass("force-display")})}buildCSSClass(){return`vjs-transient-button focus-visible ${this.options_.position.map(e=>`vjs-${e}`).join(" ")}`}createEl(){const e=createEl("button",{},{type:"button",class:this.buildCSSClass()},createEl("span"));return this.controlTextEl_=e.querySelector("span"),e}show(){super.show(),this.addClass("force-display"),this.options_.takeFocus&&this.el().focus({preventScroll:!0}),this.forceDisplayTimeout=this.player_.setTimeout(()=>{this.removeClass("force-display")},this.options_.initialDisplay)}hide(){this.removeClass("force-display"),super.hide()}dispose(){this.player_.clearTimeout(this.forceDisplayTimeout),super.dispose()}}Component$1.registerComponent("TransientButton",TransientButton);const sourcesetLoad=t=>{const e=t.el();if(e.hasAttribute("src"))return t.triggerSourceset(e.src),!0;const n=t.$$("source"),o=[];let u="";if(!n.length)return!1;for(let l=0;l<n.length;l++){const m=n[l].src;m&&o.indexOf(m)===-1&&o.push(m)}return o.length?(o.length===1&&(u=o[0]),t.triggerSourceset(u),!0):!1},innerHTMLDescriptorPolyfill=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(t){const e=document$1$1.createElement(this.nodeName.toLowerCase());e.innerHTML=t;const n=document$1$1.createDocumentFragment();for(;e.childNodes.length;)n.appendChild(e.childNodes[0]);return this.innerText="",window$1$1.Element.prototype.appendChild.call(this,n),this.innerHTML}}),getDescriptor=(t,e)=>{let n={};for(let o=0;o<t.length&&(n=Object.getOwnPropertyDescriptor(t[o],e),!(n&&n.set&&n.get));o++);return n.enumerable=!0,n.configurable=!0,n},getInnerHTMLDescriptor=t=>getDescriptor([t.el(),window$1$1.HTMLMediaElement.prototype,window$1$1.Element.prototype,innerHTMLDescriptorPolyfill],"innerHTML"),firstSourceWatch=function(t){const e=t.el();if(e.resetSourceWatch_)return;const n={},o=getInnerHTMLDescriptor(t),u=l=>(...m)=>{const y=l.apply(e,m);return sourcesetLoad(t),y};["append","appendChild","insertAdjacentHTML"].forEach(l=>{e[l]&&(n[l]=e[l],e[l]=u(n[l]))}),Object.defineProperty(e,"innerHTML",merge$1(o,{set:u(o.set)})),e.resetSourceWatch_=()=>{e.resetSourceWatch_=null,Object.keys(n).forEach(l=>{e[l]=n[l]}),Object.defineProperty(e,"innerHTML",o)},t.one("sourceset",e.resetSourceWatch_)},srcDescriptorPolyfill=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?getAbsoluteURL(window$1$1.Element.prototype.getAttribute.call(this,"src")):""},set(t){return window$1$1.Element.prototype.setAttribute.call(this,"src",t),t}}),getSrcDescriptor=t=>getDescriptor([t.el(),window$1$1.HTMLMediaElement.prototype,srcDescriptorPolyfill],"src"),setupSourceset=function(t){if(!t.featuresSourceset)return;const e=t.el();if(e.resetSourceset_)return;const n=getSrcDescriptor(t),o=e.setAttribute,u=e.load;Object.defineProperty(e,"src",merge$1(n,{set:l=>{const m=n.set.call(e,l);return t.triggerSourceset(e.src),m}})),e.setAttribute=(l,m)=>{const y=o.call(e,l,m);return/src/i.test(l)&&t.triggerSourceset(e.src),y},e.load=()=>{const l=u.call(e);return sourcesetLoad(t)||(t.triggerSourceset(""),firstSourceWatch(t)),l},e.currentSrc?t.triggerSourceset(e.currentSrc):sourcesetLoad(t)||firstSourceWatch(t),e.resetSourceset_=()=>{e.resetSourceset_=null,e.load=u,e.setAttribute=o,Object.defineProperty(e,"src",n),e.resetSourceWatch_&&e.resetSourceWatch_()}};class Html5 extends Tech$1{constructor(e,n){super(e,n);const o=e.source;let u=!1;if(this.featuresVideoFrameCallback=this.featuresVideoFrameCallback&&this.el_.tagName==="VIDEO",o&&(this.el_.currentSrc!==o.src||e.tag&&e.tag.initNetworkState_===3)?this.setSource(o):this.handleLateInit_(this.el_),e.enableSourceset&&this.setupSourcesetHandling_(),this.isScrubbing_=!1,this.el_.hasChildNodes()){const l=this.el_.childNodes;let m=l.length;const y=[];for(;m--;){const E=l[m];E.nodeName.toLowerCase()==="track"&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(E),this.remoteTextTracks().addTrack(E.track),this.textTracks().addTrack(E.track),!u&&!this.el_.hasAttribute("crossorigin")&&isCrossOrigin(E.src)&&(u=!0)):y.push(E))}for(let E=0;E<y.length;E++)this.el_.removeChild(y[E])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&u&&log$1.warn(`Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.
-This may prevent text tracks from loading.`),this.restoreMetadataTracksInIOSNativePlayer_(),(TOUCH_ENABLED||IS_IPHONE)&&e.nativeControlsForTouch===!0&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),Html5.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){setupSourceset(this)}restoreMetadataTracksInIOSNativePlayer_(){const e=this.textTracks();let n;const o=()=>{n=[];for(let l=0;l<e.length;l++){const m=e[l];m.kind==="metadata"&&n.push({track:m,storedMode:m.mode})}};o(),e.addEventListener("change",o),this.on("dispose",()=>e.removeEventListener("change",o));const u=()=>{for(let l=0;l<n.length;l++){const m=n[l];m.track.mode==="disabled"&&m.track.mode!==m.storedMode&&(m.track.mode=m.storedMode)}e.removeEventListener("change",u)};this.on("webkitbeginfullscreen",()=>{e.removeEventListener("change",o),e.removeEventListener("change",u),e.addEventListener("change",u)}),this.on("webkitendfullscreen",()=>{e.removeEventListener("change",o),e.addEventListener("change",o),e.removeEventListener("change",u)})}overrideNative_(e,n){if(n!==this[`featuresNative${e}Tracks`])return;const o=e.toLowerCase();this[`${o}TracksListeners_`]&&Object.keys(this[`${o}TracksListeners_`]).forEach(u=>{this.el()[`${o}Tracks`].removeEventListener(u,this[`${o}TracksListeners_`][u])}),this[`featuresNative${e}Tracks`]=!n,this[`${o}TracksListeners_`]=null,this.proxyNativeTracksForType_(o)}overrideNativeAudioTracks(e){this.overrideNative_("Audio",e)}overrideNativeVideoTracks(e){this.overrideNative_("Video",e)}proxyNativeTracksForType_(e){const n=NORMAL[e],o=this.el()[n.getterName],u=this[n.getterName]();if(!this[`featuresNative${n.capitalName}Tracks`]||!o||!o.addEventListener)return;const l={change:y=>{const E={type:"change",target:u,currentTarget:u,srcElement:u};u.trigger(E),e==="text"&&this[REMOTE.remoteText.getterName]().trigger(E)},addtrack(y){u.addTrack(y.track)},removetrack(y){u.removeTrack(y.track)}},m=function(){const y=[];for(let E=0;E<u.length;E++){let C=!1;for(let k=0;k<o.length;k++)if(o[k]===u[E]){C=!0;break}C||y.push(u[E])}for(;y.length;)u.removeTrack(y.shift())};this[n.getterName+"Listeners_"]=l,Object.keys(l).forEach(y=>{const E=l[y];o.addEventListener(y,E),this.on("dispose",C=>o.removeEventListener(y,E))}),this.on("loadstart",m),this.on("dispose",y=>this.off("loadstart",m))}proxyNativeTracks_(){NORMAL.names.forEach(e=>{this.proxyNativeTracksForType_(e)})}createEl(){let e=this.options_.tag;if(!e||!(this.options_.playerElIngest||this.movingMediaElementInDOM)){if(e){const o=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(o,e),Html5.disposeMediaElement(e),e=o}else{e=document$1$1.createElement("video");const o=this.options_.tag&&getAttributes(this.options_.tag),u=merge$1({},o);(!TOUCH_ENABLED||this.options_.nativeControlsForTouch!==!0)&&delete u.controls,setAttributes(e,Object.assign(u,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}typeof this.options_.preload<"u"&&setAttribute(e,"preload",this.options_.preload),this.options_.disablePictureInPicture!==void 0&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);const n=["loop","muted","playsinline","autoplay"];for(let o=0;o<n.length;o++){const u=n[o],l=this.options_[u];typeof l<"u"&&(l?setAttribute(e,u,u):removeAttribute(e,u),e[u]=l)}return e}handleLateInit_(e){if(e.networkState===0||e.networkState===3)return;if(e.readyState===0){let o=!1;const u=function(){o=!0};this.on("loadstart",u);const l=function(){o||this.trigger("loadstart")};this.on("loadedmetadata",l),this.ready(function(){this.off("loadstart",u),this.off("loadedmetadata",l),o||this.trigger("loadstart")});return}const n=["loadstart"];n.push("loadedmetadata"),e.readyState>=2&&n.push("loadeddata"),e.readyState>=3&&n.push("canplay"),e.readyState>=4&&n.push("canplaythrough"),this.ready(function(){n.forEach(function(o){this.trigger(o)},this)})}setScrubbing(e){this.isScrubbing_=e}scrubbing(){return this.isScrubbing_}setCurrentTime(e){try{this.isScrubbing_&&this.el_.fastSeek&&IS_ANY_SAFARI?this.el_.fastSeek(e):this.el_.currentTime=e}catch(n){log$1(n,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&IS_ANDROID&&IS_CHROME&&this.el_.currentTime===0){const e=()=>{this.el_.currentTime>0&&(this.el_.duration===1/0&&this.trigger("durationchange"),this.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN}width(){return this.el_.offsetWidth}height(){return this.el_.offsetHeight}proxyWebkitFullscreen_(){if(!("webkitDisplayingFullscreen"in this.el_))return;const e=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},n=function(){"webkitPresentationMode"in this.el_&&this.el_.webkitPresentationMode!=="picture-in-picture"&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",()=>{this.off("webkitbeginfullscreen",n),this.off("webkitendfullscreen",e)})}supportsFullScreen(){return typeof this.el_.webkitEnterFullScreen=="function"}enterFullScreen(){const e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)silencePromise(this.el_.play()),this.setTimeout(function(){e.pause();try{e.webkitEnterFullScreen()}catch(n){this.trigger("fullscreenerror",n)}},0);else try{e.webkitEnterFullScreen()}catch(n){this.trigger("fullscreenerror",n)}}exitFullScreen(){if(!this.el_.webkitDisplayingFullscreen){this.trigger("fullscreenerror",new Error("The video is not fullscreen"));return}this.el_.webkitExitFullScreen()}requestPictureInPicture(){return this.el_.requestPictureInPicture()}requestVideoFrameCallback(e){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(e):super.requestVideoFrameCallback(e)}cancelVideoFrameCallback(e){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(e):super.cancelVideoFrameCallback(e)}src(e){if(e===void 0)return this.el_.src;this.setSrc(e)}reset(){Html5.resetMediaElement(this.el_)}currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc}setControls(e){this.el_.controls=!!e}addTextTrack(e,n,o){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,n,o):super.addTextTrack(e,n,o)}createRemoteTextTrack(e){if(!this.featuresNativeTextTracks)return super.createRemoteTextTrack(e);const n=document$1$1.createElement("track");return e.kind&&(n.kind=e.kind),e.label&&(n.label=e.label),(e.language||e.srclang)&&(n.srclang=e.language||e.srclang),e.default&&(n.default=e.default),e.id&&(n.id=e.id),e.src&&(n.src=e.src),n}addRemoteTextTrack(e,n){const o=super.addRemoteTextTrack(e,n);return this.featuresNativeTextTracks&&this.el().appendChild(o),o}removeRemoteTextTrack(e){if(super.removeRemoteTextTrack(e),this.featuresNativeTextTracks){const n=this.$$("track");let o=n.length;for(;o--;)(e===n[o]||e===n[o].track)&&this.el().removeChild(n[o])}}getVideoPlaybackQuality(){if(typeof this.el().getVideoPlaybackQuality=="function")return this.el().getVideoPlaybackQuality();const e={};return typeof this.el().webkitDroppedFrameCount<"u"&&typeof this.el().webkitDecodedFrameCount<"u"&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),window$1$1.performance&&(e.creationTime=window$1$1.performance.now()),e}}defineLazyProperty(Html5,"TEST_VID",function(){if(!isReal())return;const t=document$1$1.createElement("video"),e=document$1$1.createElement("track");return e.kind="captions",e.srclang="en",e.label="English",t.appendChild(e),t}),Html5.isSupported=function(){try{Html5.TEST_VID.volume=.5}catch{return!1}return!!(Html5.TEST_VID&&Html5.TEST_VID.canPlayType)},Html5.canPlayType=function(t){return Html5.TEST_VID.canPlayType(t)},Html5.canPlaySource=function(t,e){return Html5.canPlayType(t.type)},Html5.canControlVolume=function(){try{const t=Html5.TEST_VID.volume;Html5.TEST_VID.volume=t/2+.1;const e=t!==Html5.TEST_VID.volume;return e&&IS_IOS?(window$1$1.setTimeout(()=>{Html5&&Html5.prototype&&(Html5.prototype.featuresVolumeControl=t!==Html5.TEST_VID.volume)}),!1):e}catch{return!1}},Html5.canMuteVolume=function(){try{const t=Html5.TEST_VID.muted;return Html5.TEST_VID.muted=!t,Html5.TEST_VID.muted?setAttribute(Html5.TEST_VID,"muted","muted"):removeAttribute(Html5.TEST_VID,"muted","muted"),t!==Html5.TEST_VID.muted}catch{return!1}},Html5.canControlPlaybackRate=function(){if(IS_ANDROID&&IS_CHROME&&CHROME_VERSION<58)return!1;try{const t=Html5.TEST_VID.playbackRate;return Html5.TEST_VID.playbackRate=t/2+.1,t!==Html5.TEST_VID.playbackRate}catch{return!1}},Html5.canOverrideAttributes=function(){try{const t=()=>{};Object.defineProperty(document$1$1.createElement("video"),"src",{get:t,set:t}),Object.defineProperty(document$1$1.createElement("audio"),"src",{get:t,set:t}),Object.defineProperty(document$1$1.createElement("video"),"innerHTML",{get:t,set:t}),Object.defineProperty(document$1$1.createElement("audio"),"innerHTML",{get:t,set:t})}catch{return!1}return!0},Html5.supportsNativeTextTracks=function(){return IS_ANY_SAFARI||IS_IOS&&IS_CHROME},Html5.supportsNativeVideoTracks=function(){return!!(Html5.TEST_VID&&Html5.TEST_VID.videoTracks)},Html5.supportsNativeAudioTracks=function(){return!!(Html5.TEST_VID&&Html5.TEST_VID.audioTracks)},Html5.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function([t,e]){defineLazyProperty(Html5.prototype,t,()=>Html5[e](),!0)}),Html5.prototype.featuresVolumeControl=Html5.canControlVolume(),Html5.prototype.movingMediaElementInDOM=!IS_IOS,Html5.prototype.featuresFullscreenResize=!0,Html5.prototype.featuresProgressEvents=!0,Html5.prototype.featuresTimeupdateEvents=!0,Html5.prototype.featuresVideoFrameCallback=!!(Html5.TEST_VID&&Html5.TEST_VID.requestVideoFrameCallback),Html5.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),typeof t.load=="function"&&function(){try{t.load()}catch{}}()}},Html5.resetMediaElement=function(t){if(!t)return;const e=t.querySelectorAll("source");let n=e.length;for(;n--;)t.removeChild(e[n]);t.removeAttribute("src"),typeof t.load=="function"&&function(){try{t.load()}catch{}}()},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(t){Html5.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(t){Html5.prototype["set"+toTitleCase$1(t)]=function(e){this.el_[t]=e,e?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(t){Html5.prototype[t]=function(){return this.el_[t]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(t){Html5.prototype["set"+toTitleCase$1(t)]=function(e){this.el_[t]=e}}),["pause","load","play"].forEach(function(t){Html5.prototype[t]=function(){return this.el_[t]()}}),Tech$1.withSourceHandlers(Html5),Html5.nativeSourceHandler={},Html5.nativeSourceHandler.canPlayType=function(t){try{return Html5.TEST_VID.canPlayType(t)}catch{return""}},Html5.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return Html5.nativeSourceHandler.canPlayType(t.type);if(t.src){const n=getFileExtension(t.src);return Html5.nativeSourceHandler.canPlayType(`video/${n}`)}return""},Html5.nativeSourceHandler.handleSource=function(t,e,n){e.setSrc(t.src)},Html5.nativeSourceHandler.dispose=function(){},Html5.registerSourceHandler(Html5.nativeSourceHandler),Tech$1.registerTech("Html5",Html5);const TECH_EVENTS_RETRIGGER=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],TECH_EVENTS_QUEUE={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},BREAKPOINT_ORDER=["tiny","xsmall","small","medium","large","xlarge","huge"],BREAKPOINT_CLASSES={};BREAKPOINT_ORDER.forEach(t=>{const e=t.charAt(0)==="x"?`x-${t.substring(1)}`:t;BREAKPOINT_CLASSES[t]=`vjs-layout-${e}`});const DEFAULT_BREAKPOINTS={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};let Player$1=class ms extends Component$1{constructor(e,n,o){if(e.id=e.id||n.id||`vjs_video_${newGUID()}`,n=Object.assign(ms.getTagSettings(e),n),n.initChildren=!1,n.createEl=!1,n.evented=!1,n.reportTouchActivity=!1,!n.language){const m=e.closest("[lang]");m&&(n.language=m.getAttribute("lang"))}if(super(null,n,o),this.boundDocumentFullscreenChange_=m=>this.documentFullscreenChange_(m),this.boundFullWindowOnEscKey_=m=>this.fullWindowOnEscKey(m),this.boundUpdateStyleEl_=m=>this.updateStyleEl_(m),this.boundApplyInitTime_=m=>this.applyInitTime_(m),this.boundUpdateCurrentBreakpoint_=m=>this.updateCurrentBreakpoint_(m),this.boundHandleTechClick_=m=>this.handleTechClick_(m),this.boundHandleTechDoubleClick_=m=>this.handleTechDoubleClick_(m),this.boundHandleTechTouchStart_=m=>this.handleTechTouchStart_(m),this.boundHandleTechTouchMove_=m=>this.handleTechTouchMove_(m),this.boundHandleTechTouchEnd_=m=>this.handleTechTouchEnd_(m),this.boundHandleTechTap_=m=>this.handleTechTap_(m),this.boundUpdatePlayerHeightOnAudioOnlyMode_=m=>this.updatePlayerHeightOnAudioOnlyMode_(m),this.isFullscreen_=!1,this.log=createLogger(this.id_),this.fsApi_=FullscreenApi,this.isPosterFromTech_=!1,this.queuedCallbacks_=[],this.isReady_=!1,this.hasStarted_=!1,this.userActive_=!1,this.debugEnabled_=!1,this.audioOnlyMode_=!1,this.audioPosterMode_=!1,this.audioOnlyCache_={controlBarHeight:null,playerHeight:null,hiddenChildren:[]},!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(this.tag=e,this.tagAttributes=e&&getAttributes(e),this.language(this.options_.language),n.languages){const m={};Object.getOwnPropertyNames(n.languages).forEach(function(y){m[y.toLowerCase()]=n.languages[y]}),this.languages_=m}else this.languages_=ms.prototype.options_.languages;this.resetCache_(),this.poster_=n.poster||"",this.controls_=!!n.controls,e.controls=!1,e.removeAttribute("controls"),this.changingSrc_=!1,this.playCallbacks_=[],this.playTerminatedQueue_=[],e.hasAttribute("autoplay")?this.autoplay(!0):this.autoplay(this.options_.autoplay),n.plugins&&Object.keys(n.plugins).forEach(m=>{if(typeof this[m]!="function")throw new Error(`plugin "${m}" does not exist`)}),this.scrubbing_=!1,this.el_=this.createEl(),evented(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(on(document$1$1,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const u=merge$1(this.options_);if(n.plugins&&Object.keys(n.plugins).forEach(m=>{this[m](n.plugins[m])}),n.debug&&this.debug(!0),this.options_.playerOptions=u,this.middleware_=[],this.playbackRates(n.playbackRates),n.experimentalSvgIcons){const y=new window$1$1.DOMParser().parseFromString(icons,"image/svg+xml");if(y.querySelector("parsererror"))log$1.warn("Failed to load SVG Icons. Falling back to Font Icons."),this.options_.experimentalSvgIcons=null;else{const C=y.documentElement;C.style.display="none",this.el_.appendChild(C),this.addClass("vjs-svg-icons-enabled")}}this.initChildren(),this.isAudio(e.nodeName.toLowerCase()==="audio"),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label",this.localize("Audio Player")):this.el_.setAttribute("aria-label",this.localize("Video Player")),this.isAudio()&&this.addClass("vjs-audio"),n.spatialNavigation&&n.spatialNavigation.enabled&&(this.spatialNavigation=new SpatialNavigation(this),this.addClass("vjs-spatial-navigation-enabled")),TOUCH_ENABLED&&this.addClass("vjs-touch-enabled"),IS_IOS||this.addClass("vjs-workinghover"),ms.players[this.id_]=this;const l=version$6.split(".")[0];this.addClass(`vjs-v${l}`),this.userActive(!0),this.reportUserActivity(),this.one("play",m=>this.listenForUserActivity_(m)),this.on("keydown",m=>this.handleKeyDown(m)),this.on("languagechange",m=>this.handleLanguagechange(m)),this.breakpoints(this.options_.breakpoints),this.responsive(this.options_.responsive),this.on("ready",()=>{this.audioPosterMode(this.options_.audioPosterMode),this.audioOnlyMode(this.options_.audioOnlyMode)})}dispose(){this.trigger("dispose"),this.off("dispose"),off(document$1$1,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),off(document$1$1,"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),ms.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),clearCacheForPlayer(this),ALL.names.forEach(e=>{const n=ALL[e],o=this[n.getterName]();o&&o.off&&o.off()}),super.dispose({restoreEl:this.options_.restoreEl})}createEl(){let e=this.tag,n,o=this.playerElIngest_=e.parentNode&&e.parentNode.hasAttribute&&e.parentNode.hasAttribute("data-vjs-player");const u=this.tag.tagName.toLowerCase()==="video-js";o?n=this.el_=e.parentNode:u||(n=this.el_=super.createEl("div"));const l=getAttributes(e);if(u){for(n=this.el_=e,e=this.tag=document$1$1.createElement("video");n.children.length;)e.appendChild(n.firstChild);hasClass(n,"video-js")||addClass(n,"video-js"),n.appendChild(e),o=this.playerElIngest_=n,Object.keys(n).forEach(E=>{try{e[E]=n[E]}catch{}})}e.setAttribute("tabindex","-1"),l.tabindex="-1",IS_CHROME&&IS_WINDOWS&&(e.setAttribute("role","application"),l.role="application"),e.removeAttribute("width"),e.removeAttribute("height"),"width"in l&&delete l.width,"height"in l&&delete l.height,Object.getOwnPropertyNames(l).forEach(function(E){u&&E==="class"||n.setAttribute(E,l[E]),u&&e.setAttribute(E,l[E])}),e.playerId=e.id,e.id+="_html5_api",e.className="vjs-tech",e.player=n.player=this,this.addClass("vjs-paused");const m=["IS_SMART_TV","IS_TIZEN","IS_WEBOS","IS_ANDROID","IS_IPAD","IS_IPHONE","IS_CHROMECAST_RECEIVER"].filter(E=>browser$f[E]).map(E=>"vjs-device-"+E.substring(3).toLowerCase().replace(/\_/g,"-"));if(this.addClass(...m),window$1$1.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=createStyleElement("vjs-styles-dimensions");const E=$(".vjs-styles-defaults"),C=$("head");C.insertBefore(this.styleEl_,E?E.nextSibling:C.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);const y=e.getElementsByTagName("a");for(let E=0;E<y.length;E++){const C=y.item(E);addClass(C,"vjs-hidden"),C.setAttribute("hidden","hidden")}return e.initNetworkState_=e.networkState,e.parentNode&&!o&&e.parentNode.insertBefore(n,e),prependTo(e,n),this.children_.unshift(e),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=n,n}crossOrigin(e){if(typeof e>"u")return this.techGet_("crossOrigin");if(e!==null&&e!=="anonymous"&&e!=="use-credentials"){log$1.warn(`crossOrigin must be null,  "anonymous" or "use-credentials", given "${e}"`);return}this.techCall_("setCrossOrigin",e),this.posterImage&&this.posterImage.crossOrigin(e)}width(e){return this.dimension("width",e)}height(e){return this.dimension("height",e)}dimension(e,n){const o=e+"_";if(n===void 0)return this[o]||0;if(n===""||n==="auto"){this[o]=void 0,this.updateStyleEl_();return}const u=parseFloat(n);if(isNaN(u)){log$1.error(`Improper value "${n}" supplied for for ${e}`);return}this[o]=u,this.updateStyleEl_()}fluid(e){if(e===void 0)return!!this.fluid_;this.fluid_=!!e,isEvented(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),addEventedCallback(this,()=>{this.on(["playerreset","resize"],this.boundUpdateStyleEl_)})):this.removeClass("vjs-fluid"),this.updateStyleEl_()}fill(e){if(e===void 0)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")}aspectRatio(e){if(e===void 0)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()}updateStyleEl_(){if(window$1$1.VIDEOJS_NO_DYNAMIC_STYLE===!0){const y=typeof this.width_=="number"?this.width_:this.options_.width,E=typeof this.height_=="number"?this.height_:this.options_.height,C=this.tech_&&this.tech_.el();C&&(y>=0&&(C.width=y),E>=0&&(C.height=E));return}let e,n,o,u;this.aspectRatio_!==void 0&&this.aspectRatio_!=="auto"?o=this.aspectRatio_:this.videoWidth()>0?o=this.videoWidth()+":"+this.videoHeight():o="16:9";const l=o.split(":"),m=l[1]/l[0];this.width_!==void 0?e=this.width_:this.height_!==void 0?e=this.height_/m:e=this.videoWidth()||300,this.height_!==void 0?n=this.height_:n=e*m,/^[^a-zA-Z]/.test(this.id())?u="dimensions-"+this.id():u=this.id()+"-dimensions",this.addClass(u),setTextContent(this.styleEl_,`
-      .${u} {
-        width: ${e}px;
-        height: ${n}px;
+`)}function DOMParser$1(n){this.options=n||{locator:{}}}DOMParser$1.prototype.parseFromString=function(n,e){var o=this.options,l=new XMLReader,t=o.domBuilder||new DOMHandler,u=o.errorHandler,h=o.locator,v=o.xmlns||{},w=/\/x?html?$/.test(e),A=w?entities.HTML_ENTITIES:entities.XML_ENTITIES;h&&t.setDocumentLocator(h),l.errorHandler=buildErrorHandler(u,t,h),l.domBuilder=o.domBuilder||t,w&&(v[""]=NAMESPACE.HTML),v.xml=v.xml||NAMESPACE.XML;var E=o.normalizeLineEndings||normalizeLineEndings;return n&&typeof n=="string"?l.parse(E(n),v,A):l.errorHandler.error("invalid doc source"),t.doc};function buildErrorHandler(n,e,o){if(!n){if(e instanceof DOMHandler)return e;n=e}var l={},t=n instanceof Function;o=o||{};function u(h){var v=n[h];!v&&t&&(v=n.length==2?function(w){n(h,w)}:n),l[h]=v&&function(w){v("[xmldom "+h+"]	"+w+_locator(o))}||function(){}}return u("warning"),u("error"),u("fatalError"),l}function DOMHandler(){this.cdata=!1}function position(n,e){e.lineNumber=n.lineNumber,e.columnNumber=n.columnNumber}DOMHandler.prototype={startDocument:function(){this.doc=new DOMImplementation().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(n,e,o,l){var t=this.doc,u=t.createElementNS(n,o||e),h=l.length;appendElement(this,u),this.currentElement=u,this.locator&&position(this.locator,u);for(var v=0;v<h;v++){var n=l.getURI(v),w=l.getValue(v),o=l.getQName(v),A=t.createAttributeNS(n,o);this.locator&&position(l.getLocator(v),A),A.value=A.nodeValue=w,u.setAttributeNode(A)}},endElement:function(n,e,o){var l=this.currentElement;l.tagName,this.currentElement=l.parentNode},startPrefixMapping:function(n,e){},endPrefixMapping:function(n){},processingInstruction:function(n,e){var o=this.doc.createProcessingInstruction(n,e);this.locator&&position(this.locator,o),appendElement(this,o)},ignorableWhitespace:function(n,e,o){},characters:function(n,e,o){if(n=_toString.apply(this,arguments),n){if(this.cdata)var l=this.doc.createCDATASection(n);else var l=this.doc.createTextNode(n);this.currentElement?this.currentElement.appendChild(l):/^\s*$/.test(n)&&this.doc.appendChild(l),this.locator&&position(this.locator,l)}},skippedEntity:function(n){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(n){(this.locator=n)&&(n.lineNumber=0)},comment:function(n,e,o){n=_toString.apply(this,arguments);var l=this.doc.createComment(n);this.locator&&position(this.locator,l),appendElement(this,l)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(n,e,o){var l=this.doc.implementation;if(l&&l.createDocumentType){var t=l.createDocumentType(n,e,o);this.locator&&position(this.locator,t),appendElement(this,t),this.doc.doctype=t}},warning:function(n){console.warn("[xmldom warning]	"+n,_locator(this.locator))},error:function(n){console.error("[xmldom error]	"+n,_locator(this.locator))},fatalError:function(n){throw new ParseError(n,this.locator)}};function _locator(n){if(n)return`
+@`+(n.systemId||"")+"#[line:"+n.lineNumber+",col:"+n.columnNumber+"]"}function _toString(n,e,o){return typeof n=="string"?n.substr(e,o):n.length>=e+o||e?new java.lang.String(n,e,o)+"":n}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(n){DOMHandler.prototype[n]=function(){return null}});function appendElement(n,e){n.currentElement?n.currentElement.appendChild(e):n.doc.appendChild(e)}domParser.__DOMHandler=DOMHandler,domParser.normalizeLineEndings=normalizeLineEndings,domParser.DOMParser=DOMParser$1;var DOMParser=domParser.DOMParser;/*! @name mpd-parser @version 0.22.1 @license Apache-2.0 */var isObject$2=function(e){return!!e&&typeof e=="object"},merge=function n(){for(var e=arguments.length,o=new Array(e),l=0;l<e;l++)o[l]=arguments[l];return o.reduce(function(t,u){return typeof u!="object"||Object.keys(u).forEach(function(h){Array.isArray(t[h])&&Array.isArray(u[h])?t[h]=t[h].concat(u[h]):isObject$2(t[h])&&isObject$2(u[h])?t[h]=n(t[h],u[h]):t[h]=u[h]}),t},{})},values=function(e){return Object.keys(e).map(function(o){return e[o]})},range$1=function(e,o){for(var l=[],t=e;t<o;t++)l.push(t);return l},flatten=function(e){return e.reduce(function(o,l){return o.concat(l)},[])},from=function(e){if(!e.length)return[];for(var o=[],l=0;l<e.length;l++)o.push(e[l]);return o},findIndexes=function(e,o){return e.reduce(function(l,t,u){return t[o]&&l.push(u),l},[])},findIndex=function(e,o){for(var l=0;l<e.length;l++)if(o(e[l]))return l;return-1},union=function(e,o){return values(e.reduce(function(l,t){return t.forEach(function(u){l[o(u)]=u}),l},{}))},errors$3={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",MISSING_SEGMENT_INFORMATION:"MISSING_SEGMENT_INFORMATION",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"},urlTypeToSegment=function(e){var o=e.baseUrl,l=o===void 0?"":o,t=e.source,u=t===void 0?"":t,h=e.range,v=h===void 0?"":h,w=e.indexRange,A=w===void 0?"":w,E={uri:u,resolvedUri:resolveUrl$1(l||"",u)};if(v||A){var C=v||A,M=C.split("-"),P=window$1$1.BigInt?window$1$1.BigInt(M[0]):parseInt(M[0],10),I=window$1$1.BigInt?window$1$1.BigInt(M[1]):parseInt(M[1],10);P<Number.MAX_SAFE_INTEGER&&typeof P=="bigint"&&(P=Number(P)),I<Number.MAX_SAFE_INTEGER&&typeof I=="bigint"&&(I=Number(I));var j;typeof I=="bigint"||typeof P=="bigint"?j=window$1$1.BigInt(I)-window$1$1.BigInt(P)+window$1$1.BigInt(1):j=I-P+1,typeof j=="bigint"&&j<Number.MAX_SAFE_INTEGER&&(j=Number(j)),E.byterange={length:j,offset:P}}return E},byteRangeToString=function(e){var o;return typeof e.offset=="bigint"||typeof e.length=="bigint"?o=window$1$1.BigInt(e.offset)+window$1$1.BigInt(e.length)-window$1$1.BigInt(1):o=e.offset+e.length-1,e.offset+"-"+o},parseEndNumber=function(e){return e&&typeof e!="number"&&(e=parseInt(e,10)),isNaN(e)?null:e},segmentRange={static:function(e){var o=e.duration,l=e.timescale,t=l===void 0?1:l,u=e.sourceDuration,h=e.periodDuration,v=parseEndNumber(e.endNumber),w=o/t;return typeof v=="number"?{start:0,end:v}:typeof h=="number"?{start:0,end:h/w}:{start:0,end:u/w}},dynamic:function(e){var o=e.NOW,l=e.clientOffset,t=e.availabilityStartTime,u=e.timescale,h=u===void 0?1:u,v=e.duration,w=e.periodStart,A=w===void 0?0:w,E=e.minimumUpdatePeriod,C=E===void 0?0:E,M=e.timeShiftBufferDepth,P=M===void 0?1/0:M,I=parseEndNumber(e.endNumber),j=(o+l)/1e3,B=t+A,F=j+C,N=F-B,ee=Math.ceil(N*h/v),Z=Math.floor((j-B-P)*h/v),re=Math.floor((j-B)*h/v);return{start:Math.max(0,Z),end:typeof I=="number"?I:Math.min(ee,re)}}},toSegments=function(e){return function(o){var l=e.duration,t=e.timescale,u=t===void 0?1:t,h=e.periodStart,v=e.startNumber,w=v===void 0?1:v;return{number:w+o,duration:l/u,timeline:h,time:o*l}}},parseByDuration=function(e){var o=e.type,l=e.duration,t=e.timescale,u=t===void 0?1:t,h=e.periodDuration,v=e.sourceDuration,w=segmentRange[o](e),A=w.start,E=w.end,C=range$1(A,E).map(toSegments(e));if(o==="static"){var M=C.length-1,P=typeof h=="number"?h:v;C[M].duration=P-l/u*M}return C},segmentsFromBase=function(e){var o=e.baseUrl,l=e.initialization,t=l===void 0?{}:l,u=e.sourceDuration,h=e.indexRange,v=h===void 0?"":h,w=e.periodStart,A=e.presentationTime,E=e.number,C=E===void 0?0:E,M=e.duration;if(!o)throw new Error(errors$3.NO_BASE_URL);var P=urlTypeToSegment({baseUrl:o,source:t.sourceURL,range:t.range}),I=urlTypeToSegment({baseUrl:o,source:o,indexRange:v});if(I.map=P,M){var j=parseByDuration(e);j.length&&(I.duration=j[0].duration,I.timeline=j[0].timeline)}else u&&(I.duration=u,I.timeline=w);return I.presentationTime=A||w,I.number=C,[I]},addSidxSegmentsToPlaylist$1=function(e,o,l){var t=e.sidx.map?e.sidx.map:null,u=e.sidx.duration,h=e.timeline||0,v=e.sidx.byterange,w=v.offset+v.length,A=o.timescale,E=o.references.filter(function(he){return he.referenceType!==1}),C=[],M=e.endList?"static":"dynamic",P=e.sidx.timeline,I=P,j=e.mediaSequence||0,B;typeof o.firstOffset=="bigint"?B=window$1$1.BigInt(w)+o.firstOffset:B=w+o.firstOffset;for(var F=0;F<E.length;F++){var N=o.references[F],ee=N.referencedSize,Z=N.subsegmentDuration,re=void 0;typeof B=="bigint"?re=B+window$1$1.BigInt(ee)-window$1$1.BigInt(1):re=B+ee-1;var fe=B+"-"+re,V={baseUrl:l,timescale:A,timeline:h,periodStart:P,presentationTime:I,number:j,duration:Z,sourceDuration:u,indexRange:fe,type:M},le=segmentsFromBase(V)[0];t&&(le.map=t),C.push(le),typeof B=="bigint"?B+=window$1$1.BigInt(ee):B+=ee,I+=Z/A,j++}return e.segments=C,e},SUPPORTED_MEDIA_TYPES=["AUDIO","SUBTITLES"],TIME_FUDGE=1/60,getUniqueTimelineStarts=function(e){return union(e,function(o){var l=o.timeline;return l}).sort(function(o,l){return o.timeline>l.timeline?1:-1})},findPlaylistWithName=function(e,o){for(var l=0;l<e.length;l++)if(e[l].attributes.NAME===o)return e[l];return null},getMediaGroupPlaylists=function(e){var o=[];return forEachMediaGroup$1(e,SUPPORTED_MEDIA_TYPES,function(l,t,u,h){o=o.concat(l.playlists||[])}),o},updateMediaSequenceForPlaylist=function(e){var o=e.playlist,l=e.mediaSequence;o.mediaSequence=l,o.segments.forEach(function(t,u){t.number=o.mediaSequence+u})},updateSequenceNumbers=function(e){var o=e.oldPlaylists,l=e.newPlaylists,t=e.timelineStarts;l.forEach(function(u){u.discontinuitySequence=findIndex(t,function(E){var C=E.timeline;return C===u.timeline});var h=findPlaylistWithName(o,u.attributes.NAME);if(h&&!u.sidx){var v=u.segments[0],w=findIndex(h.segments,function(E){return Math.abs(E.presentationTime-v.presentationTime)<TIME_FUDGE});if(w===-1){updateMediaSequenceForPlaylist({playlist:u,mediaSequence:h.mediaSequence+h.segments.length}),u.segments[0].discontinuity=!0,u.discontinuityStarts.unshift(0),(!h.segments.length&&u.timeline>h.timeline||h.segments.length&&u.timeline>h.segments[h.segments.length-1].timeline)&&u.discontinuitySequence--;return}var A=h.segments[w];A.discontinuity&&!v.discontinuity&&(v.discontinuity=!0,u.discontinuityStarts.unshift(0),u.discontinuitySequence--),updateMediaSequenceForPlaylist({playlist:u,mediaSequence:h.segments[w].number})}})},positionManifestOnTimeline=function(e){var o=e.oldManifest,l=e.newManifest,t=o.playlists.concat(getMediaGroupPlaylists(o)),u=l.playlists.concat(getMediaGroupPlaylists(l));return l.timelineStarts=getUniqueTimelineStarts([o.timelineStarts,l.timelineStarts]),updateSequenceNumbers({oldPlaylists:t,newPlaylists:u,timelineStarts:l.timelineStarts}),l},generateSidxKey=function(e){return e&&e.uri+"-"+byteRangeToString(e.byterange)},mergeDiscontiguousPlaylists=function(e){var o=values(e.reduce(function(l,t){var u=t.attributes.id+(t.attributes.lang||"");if(!l[u])l[u]=t,l[u].attributes.timelineStarts=[];else{if(t.segments){var h;t.segments[0]&&(t.segments[0].discontinuity=!0),(h=l[u].segments).push.apply(h,t.segments)}t.attributes.contentProtection&&(l[u].attributes.contentProtection=t.attributes.contentProtection)}return l[u].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),l},{}));return o.map(function(l){return l.discontinuityStarts=findIndexes(l.segments||[],"discontinuity"),l})},addSidxSegmentsToPlaylist=function(e,o){var l=generateSidxKey(e.sidx),t=l&&o[l]&&o[l].sidx;return t&&addSidxSegmentsToPlaylist$1(e,t,e.sidx.resolvedUri),e},addSidxSegmentsToPlaylists=function(e,o){if(o===void 0&&(o={}),!Object.keys(o).length)return e;for(var l in e)e[l]=addSidxSegmentsToPlaylist(e[l],o);return e},formatAudioPlaylist=function(e,o){var l,t=e.attributes,u=e.segments,h=e.sidx,v=e.mediaSequence,w=e.discontinuitySequence,A=e.discontinuityStarts,E={attributes:(l={NAME:t.id,BANDWIDTH:t.bandwidth,CODECS:t.codecs},l["PROGRAM-ID"]=1,l),uri:"",endList:t.type==="static",timeline:t.periodStart,resolvedUri:"",targetDuration:t.duration,discontinuitySequence:w,discontinuityStarts:A,timelineStarts:t.timelineStarts,mediaSequence:v,segments:u};return t.contentProtection&&(E.contentProtection=t.contentProtection),h&&(E.sidx=h),o&&(E.attributes.AUDIO="audio",E.attributes.SUBTITLES="subs"),E},formatVttPlaylist=function(e){var o,l=e.attributes,t=e.segments,u=e.mediaSequence,h=e.discontinuityStarts,v=e.discontinuitySequence;typeof t>"u"&&(t=[{uri:l.baseUrl,timeline:l.periodStart,resolvedUri:l.baseUrl||"",duration:l.sourceDuration,number:0}],l.duration=l.sourceDuration);var w=(o={NAME:l.id,BANDWIDTH:l.bandwidth},o["PROGRAM-ID"]=1,o);return l.codecs&&(w.CODECS=l.codecs),{attributes:w,uri:"",endList:l.type==="static",timeline:l.periodStart,resolvedUri:l.baseUrl||"",targetDuration:l.duration,timelineStarts:l.timelineStarts,discontinuityStarts:h,discontinuitySequence:v,mediaSequence:u,segments:t}},organizeAudioPlaylists=function(e,o,l){o===void 0&&(o={}),l===void 0&&(l=!1);var t,u=e.reduce(function(v,w){var A=w.attributes.role&&w.attributes.role.value||"",E=w.attributes.lang||"",C=w.attributes.label||"main";if(E&&!w.attributes.label){var M=A?" ("+A+")":"";C=""+w.attributes.lang+M}v[C]||(v[C]={language:E,autoselect:!0,default:A==="main",playlists:[],uri:""});var P=addSidxSegmentsToPlaylist(formatAudioPlaylist(w,l),o);return v[C].playlists.push(P),typeof t>"u"&&A==="main"&&(t=w,t.default=!0),v},{});if(!t){var h=Object.keys(u)[0];u[h].default=!0}return u},organizeVttPlaylists=function(e,o){return o===void 0&&(o={}),e.reduce(function(l,t){var u=t.attributes.lang||"text";return l[u]||(l[u]={language:u,default:!1,autoselect:!1,playlists:[],uri:""}),l[u].playlists.push(addSidxSegmentsToPlaylist(formatVttPlaylist(t),o)),l},{})},organizeCaptionServices=function(e){return e.reduce(function(o,l){return l&&l.forEach(function(t){var u=t.channel,h=t.language;o[h]={autoselect:!1,default:!1,instreamId:u,language:h},t.hasOwnProperty("aspectRatio")&&(o[h].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(o[h].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(o[h]["3D"]=t["3D"])}),o},{})},formatVideoPlaylist=function(e){var o,l=e.attributes,t=e.segments,u=e.sidx,h=e.discontinuityStarts,v={attributes:(o={NAME:l.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:l.width,height:l.height},CODECS:l.codecs,BANDWIDTH:l.bandwidth},o["PROGRAM-ID"]=1,o),uri:"",endList:l.type==="static",timeline:l.periodStart,resolvedUri:"",targetDuration:l.duration,discontinuityStarts:h,timelineStarts:l.timelineStarts,segments:t};return l.frameRate&&(v.attributes["FRAME-RATE"]=l.frameRate),l.contentProtection&&(v.contentProtection=l.contentProtection),u&&(v.sidx=u),v},videoOnly=function(e){var o=e.attributes;return o.mimeType==="video/mp4"||o.mimeType==="video/webm"||o.contentType==="video"},audioOnly=function(e){var o=e.attributes;return o.mimeType==="audio/mp4"||o.mimeType==="audio/webm"||o.contentType==="audio"},vttOnly=function(e){var o=e.attributes;return o.mimeType==="text/vtt"||o.contentType==="text"},addMediaSequenceValues=function(e,o){e.forEach(function(l){l.mediaSequence=0,l.discontinuitySequence=findIndex(o,function(t){var u=t.timeline;return u===l.timeline}),l.segments&&l.segments.forEach(function(t,u){t.number=u})})},flattenMediaGroupPlaylists=function(e){return e?Object.keys(e).reduce(function(o,l){var t=e[l];return o.concat(t.playlists)},[]):[]},toM3u8=function(e){var o,l=e.dashPlaylists,t=e.locations,u=e.sidxMapping,h=u===void 0?{}:u,v=e.previousManifest;if(!l.length)return{};var w=l[0].attributes,A=w.sourceDuration,E=w.type,C=w.suggestedPresentationDelay,M=w.minimumUpdatePeriod,P=mergeDiscontiguousPlaylists(l.filter(videoOnly)).map(formatVideoPlaylist),I=mergeDiscontiguousPlaylists(l.filter(audioOnly)),j=mergeDiscontiguousPlaylists(l.filter(vttOnly)),B=l.map(function(V){return V.attributes.captionServices}).filter(Boolean),F={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(o={AUDIO:{},VIDEO:{}},o["CLOSED-CAPTIONS"]={},o.SUBTITLES={},o),uri:"",duration:A,playlists:addSidxSegmentsToPlaylists(P,h)};M>=0&&(F.minimumUpdatePeriod=M*1e3),t&&(F.locations=t),E==="dynamic"&&(F.suggestedPresentationDelay=C);var N=F.playlists.length===0,ee=I.length?organizeAudioPlaylists(I,h,N):null,Z=j.length?organizeVttPlaylists(j,h):null,re=P.concat(flattenMediaGroupPlaylists(ee),flattenMediaGroupPlaylists(Z)),fe=re.map(function(V){var le=V.timelineStarts;return le});return F.timelineStarts=getUniqueTimelineStarts(fe),addMediaSequenceValues(re,F.timelineStarts),ee&&(F.mediaGroups.AUDIO.audio=ee),Z&&(F.mediaGroups.SUBTITLES.subs=Z),B.length&&(F.mediaGroups["CLOSED-CAPTIONS"].cc=organizeCaptionServices(B)),v?positionManifestOnTimeline({oldManifest:v,newManifest:F}):F},getLiveRValue=function(e,o,l){var t=e.NOW,u=e.clientOffset,h=e.availabilityStartTime,v=e.timescale,w=v===void 0?1:v,A=e.periodStart,E=A===void 0?0:A,C=e.minimumUpdatePeriod,M=C===void 0?0:C,P=(t+u)/1e3,I=h+E,j=P+M,B=j-I;return Math.ceil((B*w-o)/l)},parseByTimeline=function(e,o){for(var l=e.type,t=e.minimumUpdatePeriod,u=t===void 0?0:t,h=e.media,v=h===void 0?"":h,w=e.sourceDuration,A=e.timescale,E=A===void 0?1:A,C=e.startNumber,M=C===void 0?1:C,P=e.periodStart,I=[],j=-1,B=0;B<o.length;B++){var F=o[B],N=F.d,ee=F.r||0,Z=F.t||0;j<0&&(j=Z),Z&&Z>j&&(j=Z);var re=void 0;if(ee<0){var fe=B+1;fe===o.length?l==="dynamic"&&u>0&&v.indexOf("$Number$")>0?re=getLiveRValue(e,j,N):re=(w*E-j)/N:re=(o[fe].t-j)/N}else re=ee+1;for(var V=M+I.length+re,le=M+I.length;le<V;)I.push({number:le,duration:N/E,time:j,timeline:P}),j+=N,le++}return I},identifierPattern=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,identifierReplacement=function(e){return function(o,l,t,u){if(o==="$$")return"$";if(typeof e[l]>"u")return o;var h=""+e[l];return l==="RepresentationID"||(t?u=parseInt(u,10):u=1,h.length>=u)?h:""+new Array(u-h.length+1).join("0")+h}},constructTemplateUrl=function(e,o){return e.replace(identifierPattern,identifierReplacement(o))},parseTemplateInfo=function(e,o){return!e.duration&&!o?[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}]:e.duration?parseByDuration(e):parseByTimeline(e,o)},segmentsFromTemplate=function(e,o){var l={RepresentationID:e.id,Bandwidth:e.bandwidth||0},t=e.initialization,u=t===void 0?{sourceURL:"",range:""}:t,h=urlTypeToSegment({baseUrl:e.baseUrl,source:constructTemplateUrl(u.sourceURL,l),range:u.range}),v=parseTemplateInfo(e,o);return v.map(function(w){l.Number=w.number,l.Time=w.time;var A=constructTemplateUrl(e.media||"",l),E=e.timescale||1,C=e.presentationTimeOffset||0,M=e.periodStart+(w.time-C)/E,P={uri:A,timeline:w.timeline,duration:w.duration,resolvedUri:resolveUrl$1(e.baseUrl||"",A),map:h,number:w.number,presentationTime:M};return P})},SegmentURLToSegmentObject=function(e,o){var l=e.baseUrl,t=e.initialization,u=t===void 0?{}:t,h=urlTypeToSegment({baseUrl:l,source:u.sourceURL,range:u.range}),v=urlTypeToSegment({baseUrl:l,source:o.media,range:o.mediaRange});return v.map=h,v},segmentsFromList=function(e,o){var l=e.duration,t=e.segmentUrls,u=t===void 0?[]:t,h=e.periodStart;if(!l&&!o||l&&o)throw new Error(errors$3.SEGMENT_TIME_UNSPECIFIED);var v=u.map(function(E){return SegmentURLToSegmentObject(e,E)}),w;l&&(w=parseByDuration(e)),o&&(w=parseByTimeline(e,o));var A=w.map(function(E,C){if(v[C]){var M=v[C],P=e.timescale||1,I=e.presentationTimeOffset||0;return M.timeline=E.timeline,M.duration=E.duration,M.number=E.number,M.presentationTime=h+(E.time-I)/P,M}}).filter(function(E){return E});return A},generateSegments=function(e){var o=e.attributes,l=e.segmentInfo,t,u;l.template?(u=segmentsFromTemplate,t=merge(o,l.template)):l.base?(u=segmentsFromBase,t=merge(o,l.base)):l.list&&(u=segmentsFromList,t=merge(o,l.list));var h={attributes:o};if(!u)return h;var v=u(t,l.segmentTimeline);if(t.duration){var w=t,A=w.duration,E=w.timescale,C=E===void 0?1:E;t.duration=A/C}else v.length?t.duration=v.reduce(function(M,P){return Math.max(M,Math.ceil(P.duration))},0):t.duration=0;return h.attributes=t,h.segments=v,l.base&&t.indexRange&&(h.sidx=v[0],h.segments=[]),h},toPlaylists=function(e){return e.map(generateSegments)},findChildren=function(e,o){return from(e.childNodes).filter(function(l){var t=l.tagName;return t===o})},getContent=function(e){return e.textContent.trim()},parseDivisionValue=function(e){return parseFloat(e.split("/").reduce(function(o,l){return o/l}))},parseDuration=function(e){var o=31536e3,l=30*24*60*60,t=24*60*60,u=60*60,h=60,v=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/,w=v.exec(e);if(!w)return 0;var A=w.slice(1),E=A[0],C=A[1],M=A[2],P=A[3],I=A[4],j=A[5];return parseFloat(E||0)*o+parseFloat(C||0)*l+parseFloat(M||0)*t+parseFloat(P||0)*u+parseFloat(I||0)*h+parseFloat(j||0)},parseDate$1=function(e){var o=/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/;return o.test(e)&&(e+="Z"),Date.parse(e)},parsers={mediaPresentationDuration:function(e){return parseDuration(e)},availabilityStartTime:function(e){return parseDate$1(e)/1e3},minimumUpdatePeriod:function(e){return parseDuration(e)},suggestedPresentationDelay:function(e){return parseDuration(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return parseDuration(e)},start:function(e){return parseDuration(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},frameRate:function(e){return parseDivisionValue(e)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var o=parseInt(e,10);return isNaN(o)?parseDuration(e):o},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},parseAttributes=function(e){return e&&e.attributes?from(e.attributes).reduce(function(o,l){var t=parsers[l.name]||parsers.DEFAULT;return o[l.name]=t(l.value),o},{}):{}},keySystemsMap={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},buildBaseUrls=function(e,o){return o.length?flatten(e.map(function(l){return o.map(function(t){return resolveUrl$1(l,getContent(t))})})):e},getSegmentInformation=function(e){var o=findChildren(e,"SegmentTemplate")[0],l=findChildren(e,"SegmentList")[0],t=l&&findChildren(l,"SegmentURL").map(function(M){return merge({tag:"SegmentURL"},parseAttributes(M))}),u=findChildren(e,"SegmentBase")[0],h=l||o,v=h&&findChildren(h,"SegmentTimeline")[0],w=l||u||o,A=w&&findChildren(w,"Initialization")[0],E=o&&parseAttributes(o);E&&A?E.initialization=A&&parseAttributes(A):E&&E.initialization&&(E.initialization={sourceURL:E.initialization});var C={template:E,segmentTimeline:v&&findChildren(v,"S").map(function(M){return parseAttributes(M)}),list:l&&merge(parseAttributes(l),{segmentUrls:t,initialization:parseAttributes(A)}),base:u&&merge(parseAttributes(u),{initialization:parseAttributes(A)})};return Object.keys(C).forEach(function(M){C[M]||delete C[M]}),C},inheritBaseUrls=function(e,o,l){return function(t){var u=findChildren(t,"BaseURL"),h=buildBaseUrls(o,u),v=merge(e,parseAttributes(t)),w=getSegmentInformation(t);return h.map(function(A){return{segmentInfo:merge(l,w),attributes:merge(v,{baseUrl:A})}})}},generateKeySystemInformation=function(e){return e.reduce(function(o,l){var t=parseAttributes(l);t.schemeIdUri&&(t.schemeIdUri=t.schemeIdUri.toLowerCase());var u=keySystemsMap[t.schemeIdUri];if(u){o[u]={attributes:t};var h=findChildren(l,"cenc:pssh")[0];if(h){var v=getContent(h);o[u].pssh=v&&decodeB64ToUint8Array(v)}}return o},{})},parseCaptionServiceMetadata=function(e){if(e.schemeIdUri==="urn:scte:dash:cc:cea-608:2015"){var o=typeof e.value!="string"?[]:e.value.split(";");return o.map(function(t){var u,h;if(h=t,/^CC\d=/.test(t)){var v=t.split("=");u=v[0],h=v[1]}else/^CC\d$/.test(t)&&(u=t);return{channel:u,language:h}})}else if(e.schemeIdUri==="urn:scte:dash:cc:cea-708:2015"){var l=typeof e.value!="string"?[]:e.value.split(";");return l.map(function(t){var u={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var h=t.split("="),v=h[0],w=h[1],A=w===void 0?"":w;u.channel=v,u.language=t,A.split(",").forEach(function(E){var C=E.split(":"),M=C[0],P=C[1];M==="lang"?u.language=P:M==="er"?u.easyReader=Number(P):M==="war"?u.aspectRatio=Number(P):M==="3D"&&(u["3D"]=Number(P))})}else u.language=t;return u.channel&&(u.channel="SERVICE"+u.channel),u})}},toRepresentations=function(e,o,l){return function(t){var u=parseAttributes(t),h=buildBaseUrls(o,findChildren(t,"BaseURL")),v=findChildren(t,"Role")[0],w={role:parseAttributes(v)},A=merge(e,u,w),E=findChildren(t,"Accessibility")[0],C=parseCaptionServiceMetadata(parseAttributes(E));C&&(A=merge(A,{captionServices:C}));var M=findChildren(t,"Label")[0];if(M&&M.childNodes.length){var P=M.childNodes[0].nodeValue.trim();A=merge(A,{label:P})}var I=generateKeySystemInformation(findChildren(t,"ContentProtection"));Object.keys(I).length&&(A=merge(A,{contentProtection:I}));var j=getSegmentInformation(t),B=findChildren(t,"Representation"),F=merge(l,j);return flatten(B.map(inheritBaseUrls(A,h,F)))}},toAdaptationSets=function(e,o){return function(l,t){var u=buildBaseUrls(o,findChildren(l.node,"BaseURL")),h=merge(e,{periodStart:l.attributes.start});typeof l.attributes.duration=="number"&&(h.periodDuration=l.attributes.duration);var v=findChildren(l.node,"AdaptationSet"),w=getSegmentInformation(l.node);return flatten(v.map(toRepresentations(h,u,w)))}},getPeriodStart=function(e){var o=e.attributes,l=e.priorPeriodAttributes,t=e.mpdType;return typeof o.start=="number"?o.start:l&&typeof l.start=="number"&&typeof l.duration=="number"?l.start+l.duration:!l&&t==="static"?0:null},inheritAttributes=function(e,o){o===void 0&&(o={});var l=o,t=l.manifestUri,u=t===void 0?"":t,h=l.NOW,v=h===void 0?Date.now():h,w=l.clientOffset,A=w===void 0?0:w,E=findChildren(e,"Period");if(!E.length)throw new Error(errors$3.INVALID_NUMBER_OF_PERIOD);var C=findChildren(e,"Location"),M=parseAttributes(e),P=buildBaseUrls([u],findChildren(e,"BaseURL"));M.type=M.type||"static",M.sourceDuration=M.mediaPresentationDuration||0,M.NOW=v,M.clientOffset=A,C.length&&(M.locations=C.map(getContent));var I=[];return E.forEach(function(j,B){var F=parseAttributes(j),N=I[B-1];F.start=getPeriodStart({attributes:F,priorPeriodAttributes:N?N.attributes:null,mpdType:M.type}),I.push({node:j,attributes:F})}),{locations:M.locations,representationInfo:flatten(I.map(toAdaptationSets(M,P)))}},stringToMpdXml=function(e){if(e==="")throw new Error(errors$3.DASH_EMPTY_MANIFEST);var o=new DOMParser,l,t;try{l=o.parseFromString(e,"application/xml"),t=l&&l.documentElement.tagName==="MPD"?l.documentElement:null}catch{}if(!t||t&&t.getElementsByTagName("parsererror").length>0)throw new Error(errors$3.DASH_INVALID_XML);return t},parseUTCTimingScheme=function(e){var o=findChildren(e,"UTCTiming")[0];if(!o)return null;var l=parseAttributes(o);switch(l.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":l.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":l.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":l.method="DIRECT",l.value=Date.parse(l.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(errors$3.UNSUPPORTED_UTC_TIMING_SCHEME)}return l},parse$4=function(e,o){o===void 0&&(o={});var l=inheritAttributes(stringToMpdXml(e),o),t=toPlaylists(l.representationInfo);return toM3u8({dashPlaylists:t,locations:l.locations,sidxMapping:o.sidxMapping,previousManifest:o.previousManifest})},parseUTCTiming=function(e){return parseUTCTimingScheme(stringToMpdXml(e))},MAX_UINT32$1=Math.pow(2,32),getUint64$1=function(n){var e=new DataView(n.buffer,n.byteOffset,n.byteLength),o;return e.getBigUint64?(o=e.getBigUint64(0),o<Number.MAX_SAFE_INTEGER?Number(o):o):e.getUint32(0)*MAX_UINT32$1+e.getUint32(4)},numbers={getUint64:getUint64$1,MAX_UINT32:MAX_UINT32$1},getUint64=numbers.getUint64,parseSidx=function(n){var e=new DataView(n.buffer,n.byteOffset,n.byteLength),o={version:n[0],flags:new Uint8Array(n.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},l=12;o.version===0?(o.earliestPresentationTime=e.getUint32(l),o.firstOffset=e.getUint32(l+4),l+=8):(o.earliestPresentationTime=getUint64(n.subarray(l)),o.firstOffset=getUint64(n.subarray(l+8)),l+=16),l+=2;var t=e.getUint16(l);for(l+=2;t>0;l+=12,t--)o.references.push({referenceType:(n[l]&128)>>>7,referencedSize:e.getUint32(l)&2147483647,subsegmentDuration:e.getUint32(l+4),startsWithSap:!!(n[l+8]&128),sapType:(n[l+8]&112)>>>4,sapDeltaTime:e.getUint32(l+8)&268435455});return o},parseSidx_1=parseSidx;const parseSidx$1=getDefaultExportFromCjs$1(parseSidx_1);var ID3=toUint8([73,68,51]),getId3Size=function(e,o){o===void 0&&(o=0),e=toUint8(e);var l=e[o+5],t=e[o+6]<<21|e[o+7]<<14|e[o+8]<<7|e[o+9],u=(l&16)>>4;return u?t+20:t+10},getId3Offset=function n(e,o){return o===void 0&&(o=0),e=toUint8(e),e.length-o<10||!bytesMatch(e,ID3,{offset:o})?o:(o+=getId3Size(e,o),n(e,o))},normalizePath$1=function(e){return typeof e=="string"?stringToBytes(e):e},normalizePaths$1=function(e){return Array.isArray(e)?e.map(function(o){return normalizePath$1(o)}):[normalizePath$1(e)]},findBox=function n(e,o,l){l===void 0&&(l=!1),o=normalizePaths$1(o),e=toUint8(e);var t=[];if(!o.length)return t;for(var u=0;u<e.length;){var h=(e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3])>>>0,v=e.subarray(u+4,u+8);if(h===0)break;var w=u+h;if(w>e.length){if(l)break;w=e.length}var A=e.subarray(u+8,w);bytesMatch(v,o[0])&&(o.length===1?t.push(A):t.push.apply(t,n(A,o.slice(1),l))),u=w}return t},EBML_TAGS={EBML:toUint8([26,69,223,163]),DocType:toUint8([66,130]),Segment:toUint8([24,83,128,103]),SegmentInfo:toUint8([21,73,169,102]),Tracks:toUint8([22,84,174,107]),Track:toUint8([174]),TrackNumber:toUint8([215]),DefaultDuration:toUint8([35,227,131]),TrackEntry:toUint8([174]),TrackType:toUint8([131]),FlagDefault:toUint8([136]),CodecID:toUint8([134]),CodecPrivate:toUint8([99,162]),VideoTrack:toUint8([224]),AudioTrack:toUint8([225]),Cluster:toUint8([31,67,182,117]),Timestamp:toUint8([231]),TimestampScale:toUint8([42,215,177]),BlockGroup:toUint8([160]),BlockDuration:toUint8([155]),Block:toUint8([161]),SimpleBlock:toUint8([163])},LENGTH_TABLE=[128,64,32,16,8,4,2,1],getLength$1=function(e){for(var o=1,l=0;l<LENGTH_TABLE.length&&!(e&LENGTH_TABLE[l]);l++)o++;return o},getvint=function(e,o,l,t){l===void 0&&(l=!0),t===void 0&&(t=!1);var u=getLength$1(e[o]),h=e.subarray(o,o+u);return l&&(h=Array.prototype.slice.call(e,o,o+u),h[0]^=LENGTH_TABLE[u-1]),{length:u,value:bytesToNumber(h,{signed:t}),bytes:h}},normalizePath=function n(e){return typeof e=="string"?e.match(/.{1,2}/g).map(function(o){return n(o)}):typeof e=="number"?numberToBytes(e):e},normalizePaths=function(e){return Array.isArray(e)?e.map(function(o){return normalizePath(o)}):[normalizePath(e)]},getInfinityDataSize=function n(e,o,l){if(l>=o.length)return o.length;var t=getvint(o,l,!1);if(bytesMatch(e.bytes,t.bytes))return l;var u=getvint(o,l+t.length);return n(e,o,l+u.length+u.value+t.length)},findEbml=function n(e,o){o=normalizePaths(o),e=toUint8(e);var l=[];if(!o.length)return l;for(var t=0;t<e.length;){var u=getvint(e,t,!1),h=getvint(e,t+u.length),v=t+u.length+h.length;h.value===127&&(h.value=getInfinityDataSize(u,e,v),h.value!==e.length&&(h.value-=v));var w=v+h.value>e.length?e.length:v+h.value,A=e.subarray(v,w);bytesMatch(o[0],u.bytes)&&(o.length===1?l.push(A):l=l.concat(n(A,o.slice(1))));var E=u.length+h.length+A.length;t+=E}return l},NAL_TYPE_ONE=toUint8([0,0,0,1]),NAL_TYPE_TWO=toUint8([0,0,1]),EMULATION_PREVENTION=toUint8([0,0,3]),discardEmulationPreventionBytes=function(e){for(var o=[],l=1;l<e.length-2;)bytesMatch(e.subarray(l,l+3),EMULATION_PREVENTION)&&(o.push(l+2),l++),l++;if(o.length===0)return e;var t=e.length-o.length,u=new Uint8Array(t),h=0;for(l=0;l<t;h++,l++)h===o[0]&&(h++,o.shift()),u[l]=e[h];return u},findNal=function(e,o,l,t){e=toUint8(e),l=[].concat(l);for(var u=0,h,v=0;u<e.length&&(v<t||h);){var w=void 0;if(bytesMatch(e.subarray(u),NAL_TYPE_ONE)?w=4:bytesMatch(e.subarray(u),NAL_TYPE_TWO)&&(w=3),!w){u++;continue}if(v++,h)return discardEmulationPreventionBytes(e.subarray(h,u));var A=void 0;o==="h264"?A=e[u+w]&31:o==="h265"&&(A=e[u+w]>>1&63),l.indexOf(A)!==-1&&(h=u+w),u+=w+(o==="h264"?1:2)}return e.subarray(0,0)},findH264Nal=function(e,o,l){return findNal(e,"h264",o,l)},findH265Nal=function(e,o,l){return findNal(e,"h265",o,l)},CONSTANTS={webm:toUint8([119,101,98,109]),matroska:toUint8([109,97,116,114,111,115,107,97]),flac:toUint8([102,76,97,67]),ogg:toUint8([79,103,103,83]),ac3:toUint8([11,119]),riff:toUint8([82,73,70,70]),avi:toUint8([65,86,73]),wav:toUint8([87,65,86,69]),"3gp":toUint8([102,116,121,112,51,103]),mp4:toUint8([102,116,121,112]),fmp4:toUint8([115,116,121,112]),mov:toUint8([102,116,121,112,113,116]),moov:toUint8([109,111,111,118]),moof:toUint8([109,111,111,102])},_isLikely={aac:function(e){var o=getId3Offset(e);return bytesMatch(e,[255,16],{offset:o,mask:[255,22]})},mp3:function(e){var o=getId3Offset(e);return bytesMatch(e,[255,2],{offset:o,mask:[255,6]})},webm:function(e){var o=findEbml(e,[EBML_TAGS.EBML,EBML_TAGS.DocType])[0];return bytesMatch(o,CONSTANTS.webm)},mkv:function(e){var o=findEbml(e,[EBML_TAGS.EBML,EBML_TAGS.DocType])[0];return bytesMatch(o,CONSTANTS.matroska)},mp4:function(e){if(_isLikely["3gp"](e)||_isLikely.mov(e))return!1;if(bytesMatch(e,CONSTANTS.mp4,{offset:4})||bytesMatch(e,CONSTANTS.fmp4,{offset:4})||bytesMatch(e,CONSTANTS.moof,{offset:4})||bytesMatch(e,CONSTANTS.moov,{offset:4}))return!0},mov:function(e){return bytesMatch(e,CONSTANTS.mov,{offset:4})},"3gp":function(e){return bytesMatch(e,CONSTANTS["3gp"],{offset:4})},ac3:function(e){var o=getId3Offset(e);return bytesMatch(e,CONSTANTS.ac3,{offset:o})},ts:function(e){if(e.length<189&&e.length>=1)return e[0]===71;for(var o=0;o+188<e.length&&o<188;){if(e[o]===71&&e[o+188]===71)return!0;o+=1}return!1},flac:function(e){var o=getId3Offset(e);return bytesMatch(e,CONSTANTS.flac,{offset:o})},ogg:function(e){return bytesMatch(e,CONSTANTS.ogg)},avi:function(e){return bytesMatch(e,CONSTANTS.riff)&&bytesMatch(e,CONSTANTS.avi,{offset:8})},wav:function(e){return bytesMatch(e,CONSTANTS.riff)&&bytesMatch(e,CONSTANTS.wav,{offset:8})},h264:function(e){return findH264Nal(e,7,3).length},h265:function(e){return findH265Nal(e,[32,33],3).length}},isLikelyTypes=Object.keys(_isLikely).filter(function(n){return n!=="ts"&&n!=="h264"&&n!=="h265"}).concat(["ts","h264","h265"]);isLikelyTypes.forEach(function(n){var e=_isLikely[n];_isLikely[n]=function(o){return e(toUint8(o))}});var isLikely=_isLikely,detectContainerForBytes=function(e){e=toUint8(e);for(var o=0;o<isLikelyTypes.length;o++){var l=isLikelyTypes[o];if(isLikely[l](e))return l}return""},isLikelyFmp4MediaSegment=function(e){return findBox(e,["moof"]).length>0},ONE_SECOND_IN_TS=9e4,secondsToVideoTs,secondsToAudioTs,videoTsToSeconds,audioTsToSeconds,audioTsToVideoTs,videoTsToAudioTs,metadataTsToSeconds;secondsToVideoTs=function(n){return n*ONE_SECOND_IN_TS},secondsToAudioTs=function(n,e){return n*e},videoTsToSeconds=function(n){return n/ONE_SECOND_IN_TS},audioTsToSeconds=function(n,e){return n/e},audioTsToVideoTs=function(n,e){return secondsToVideoTs(audioTsToSeconds(n,e))},videoTsToAudioTs=function(n,e){return secondsToAudioTs(videoTsToSeconds(n),e)},metadataTsToSeconds=function(n,e,o){return videoTsToSeconds(o?n:n-e)};var clock={ONE_SECOND_IN_TS,secondsToVideoTs,secondsToAudioTs,videoTsToSeconds,audioTsToSeconds,audioTsToVideoTs,videoTsToAudioTs,metadataTsToSeconds};function _getPrototypeOf$1(n){return _getPrototypeOf$1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf$1(n)}function _isNativeFunction$1(n){try{return Function.toString.call(n).indexOf("[native code]")!==-1}catch{return typeof n=="function"}}function _wrapNativeSuper$1(n){var e=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper$1=function(l){if(l===null||!_isNativeFunction$1(l))return l;if(typeof l!="function")throw new TypeError("Super expression must either be null or a function");if(e!==void 0){if(e.has(l))return e.get(l);e.set(l,t)}function t(){return _construct$1(l,arguments,_getPrototypeOf$1(this).constructor)}return t.prototype=Object.create(l.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf$1(t,l)},_wrapNativeSuper$1(n)}for(var version$5="7.21.6",hooks_={},hooks=function(e,o){return hooks_[e]=hooks_[e]||[],o&&(hooks_[e]=hooks_[e].concat(o)),hooks_[e]},hook=function(e,o){hooks(e,o)},removeHook=function(e,o){var l=hooks(e).indexOf(o);return l<=-1?!1:(hooks_[e]=hooks_[e].slice(),hooks_[e].splice(l,1),!0)},hookOnce=function(e,o){hooks(e,[].concat(o).map(function(l){var t=function u(){return removeHook(e,u),l.apply(void 0,arguments)};return t}))},FullscreenApi={prefixed:!0},apiMap=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],specApi=apiMap[0],browserApi,i=0;i<apiMap.length;i++)if(apiMap[i][1]in document$2){browserApi=apiMap[i];break}if(browserApi){for(var _i=0;_i<browserApi.length;_i++)FullscreenApi[specApi[_i]]=browserApi[_i];FullscreenApi.prefixed=browserApi[0]!==specApi[0]}var history=[],LogByTypeFactory=function(e,o){return function(l,t,u){var h=o.levels[t],v=new RegExp("^("+h+")$");if(l!=="log"&&u.unshift(l.toUpperCase()+":"),u.unshift(e+":"),history){history.push([].concat(u));var w=history.length-1e3;history.splice(0,w>0?w:0)}if(window$1$1.console){var A=window$1$1.console[l];!A&&l==="debug"&&(A=window$1$1.console.info||window$1$1.console.log),!(!A||!h||!v.test(l))&&A[Array.isArray(u)?"apply":"call"](window$1$1.console,u)}}};function createLogger$1(n){var e="info",o,l=function(){for(var u=arguments.length,h=new Array(u),v=0;v<u;v++)h[v]=arguments[v];o("log",e,h)};return o=LogByTypeFactory(n,l),l.createLogger=function(t){return createLogger$1(n+": "+t)},l.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:e},l.level=function(t){if(typeof t=="string"){if(!l.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');e=t}return e},l.history=function(){return history?[].concat(history):[]},l.history.filter=function(t){return(history||[]).filter(function(u){return new RegExp(".*"+t+".*").test(u[0])})},l.history.clear=function(){history&&(history.length=0)},l.history.disable=function(){history!==null&&(history.length=0,history=null)},l.history.enable=function(){history===null&&(history=[])},l.error=function(){for(var t=arguments.length,u=new Array(t),h=0;h<t;h++)u[h]=arguments[h];return o("error",e,u)},l.warn=function(){for(var t=arguments.length,u=new Array(t),h=0;h<t;h++)u[h]=arguments[h];return o("warn",e,u)},l.debug=function(){for(var t=arguments.length,u=new Array(t),h=0;h<t;h++)u[h]=arguments[h];return o("debug",e,u)},l}var log$1=createLogger$1("VIDEOJS"),createLogger=log$1.createLogger,toString$1=Object.prototype.toString,keys=function(e){return isObject$1(e)?Object.keys(e):[]};function each(n,e){keys(n).forEach(function(o){return e(n[o],o)})}function reduce(n,e,o){return o===void 0&&(o=0),keys(n).reduce(function(l,t){return e(l,n[t],t)},o)}function assign(n){for(var e=arguments.length,o=new Array(e>1?e-1:0),l=1;l<e;l++)o[l-1]=arguments[l];return Object.assign?_extends$2.apply(void 0,[n].concat(o)):(o.forEach(function(t){t&&each(t,function(u,h){n[h]=u})}),n)}function isObject$1(n){return!!n&&typeof n=="object"}function isPlain(n){return isObject$1(n)&&toString$1.call(n)==="[object Object]"&&n.constructor===Object}function computedStyle(n,e){if(!n||!e)return"";if(typeof window$1$1.getComputedStyle=="function"){var o;try{o=window$1$1.getComputedStyle(n)}catch{return""}return o?o.getPropertyValue(e)||o[e]:""}return""}var USER_AGENT=window$1$1.navigator&&window$1$1.navigator.userAgent||"",webkitVersionMap=/AppleWebKit\/([\d.]+)/i.exec(USER_AGENT),appleWebkitVersion=webkitVersionMap?parseFloat(webkitVersionMap.pop()):null,IS_IPOD=/iPod/i.test(USER_AGENT),IOS_VERSION=function(){var n=USER_AGENT.match(/OS (\d+)_/i);return n&&n[1]?n[1]:null}(),IS_ANDROID=/Android/i.test(USER_AGENT),ANDROID_VERSION=function(){var n=USER_AGENT.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!n)return null;var e=n[1]&&parseFloat(n[1]),o=n[2]&&parseFloat(n[2]);return e&&o?parseFloat(n[1]+"."+n[2]):e||null}(),IS_NATIVE_ANDROID=IS_ANDROID&&ANDROID_VERSION<5&&appleWebkitVersion<537,IS_FIREFOX=/Firefox/i.test(USER_AGENT),IS_EDGE=/Edg/i.test(USER_AGENT),IS_CHROME=!IS_EDGE&&(/Chrome/i.test(USER_AGENT)||/CriOS/i.test(USER_AGENT)),CHROME_VERSION=function(){var n=USER_AGENT.match(/(Chrome|CriOS)\/(\d+)/);return n&&n[2]?parseFloat(n[2]):null}(),IE_VERSION=function(){var n=/MSIE\s(\d+)\.\d/.exec(USER_AGENT),e=n&&parseFloat(n[1]);return!e&&/Trident\/7.0/i.test(USER_AGENT)&&/rv:11.0/.test(USER_AGENT)&&(e=11),e}(),IS_SAFARI=/Safari/i.test(USER_AGENT)&&!IS_CHROME&&!IS_ANDROID&&!IS_EDGE,IS_WINDOWS=/Windows/i.test(USER_AGENT),TOUCH_ENABLED=!!(isReal()&&("ontouchstart"in window$1$1||window$1$1.navigator.maxTouchPoints||window$1$1.DocumentTouch&&window$1$1.document instanceof window$1$1.DocumentTouch)),IS_IPAD=/iPad/i.test(USER_AGENT)||IS_SAFARI&&TOUCH_ENABLED&&!/iPhone/i.test(USER_AGENT),IS_IPHONE=/iPhone/i.test(USER_AGENT)&&!IS_IPAD,IS_IOS=IS_IPHONE||IS_IPAD||IS_IPOD,IS_ANY_SAFARI=(IS_SAFARI||IS_IOS)&&!IS_CHROME,browser$f=Object.freeze({__proto__:null,IS_IPOD,IOS_VERSION,IS_ANDROID,ANDROID_VERSION,IS_NATIVE_ANDROID,IS_FIREFOX,IS_EDGE,IS_CHROME,CHROME_VERSION,IE_VERSION,IS_SAFARI,IS_WINDOWS,TOUCH_ENABLED,IS_IPAD,IS_IPHONE,IS_IOS,IS_ANY_SAFARI});function isNonBlankString(n){return typeof n=="string"&&!!n.trim()}function throwIfWhitespace(n){if(n.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function classRegExp(n){return new RegExp("(^|\\s)"+n+"($|\\s)")}function isReal(){return document$2===window$1$1.document}function isEl(n){return isObject$1(n)&&n.nodeType===1}function isInFrame(){try{return window$1$1.parent!==window$1$1.self}catch{return!0}}function createQuerier(n){return function(e,o){if(!isNonBlankString(e))return document$2[n](null);isNonBlankString(o)&&(o=document$2.querySelector(o));var l=isEl(o)?o:document$2;return l[n]&&l[n](e)}}function createEl(n,e,o,l){n===void 0&&(n="div"),e===void 0&&(e={}),o===void 0&&(o={});var t=document$2.createElement(n);return Object.getOwnPropertyNames(e).forEach(function(u){var h=e[u];u.indexOf("aria-")!==-1||u==="role"||u==="type"?(log$1.warn(`Setting attributes in the second argument of createEl()
+has been deprecated. Use the third argument instead.
+`+("createEl(type, properties, attributes). Attempting to set "+u+" to "+h+".")),t.setAttribute(u,h)):u==="textContent"?textContent(t,h):(t[u]!==h||u==="tabIndex")&&(t[u]=h)}),Object.getOwnPropertyNames(o).forEach(function(u){t.setAttribute(u,o[u])}),l&&appendContent(t,l),t}function textContent(n,e){return typeof n.textContent>"u"?n.innerText=e:n.textContent=e,n}function prependTo(n,e){e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}function hasClass(n,e){return throwIfWhitespace(e),n.classList?n.classList.contains(e):classRegExp(e).test(n.className)}function addClass(n,e){return n.classList?n.classList.add(e):hasClass(n,e)||(n.className=(n.className+" "+e).trim()),n}function removeClass(n,e){return n?(n.classList?n.classList.remove(e):(throwIfWhitespace(e),n.className=n.className.split(/\s+/).filter(function(o){return o!==e}).join(" ")),n):(log$1.warn("removeClass was called with an element that doesn't exist"),null)}function toggleClass(n,e,o){var l=hasClass(n,e);if(typeof o=="function"&&(o=o(n,e)),typeof o!="boolean"&&(o=!l),o!==l)return o?addClass(n,e):removeClass(n,e),n}function setAttributes(n,e){Object.getOwnPropertyNames(e).forEach(function(o){var l=e[o];l===null||typeof l>"u"||l===!1?n.removeAttribute(o):n.setAttribute(o,l===!0?"":l)})}function getAttributes(n){var e={},o=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(n&&n.attributes&&n.attributes.length>0)for(var l=n.attributes,t=l.length-1;t>=0;t--){var u=l[t].name,h=l[t].value;(typeof n[u]=="boolean"||o.indexOf(","+u+",")!==-1)&&(h=h!==null),e[u]=h}return e}function getAttribute(n,e){return n.getAttribute(e)}function setAttribute(n,e,o){n.setAttribute(e,o)}function removeAttribute(n,e){n.removeAttribute(e)}function blockTextSelection(){document$2.body.focus(),document$2.onselectstart=function(){return!1}}function unblockTextSelection(){document$2.onselectstart=function(){return!0}}function getBoundingClientRect(n){if(n&&n.getBoundingClientRect&&n.parentNode){var e=n.getBoundingClientRect(),o={};return["bottom","height","left","right","top","width"].forEach(function(l){e[l]!==void 0&&(o[l]=e[l])}),o.height||(o.height=parseFloat(computedStyle(n,"height"))),o.width||(o.width=parseFloat(computedStyle(n,"width"))),o}}function findPosition(n){if(!n||n&&!n.offsetParent)return{left:0,top:0,width:0,height:0};for(var e=n.offsetWidth,o=n.offsetHeight,l=0,t=0;n.offsetParent&&n!==document$2[FullscreenApi.fullscreenElement];)l+=n.offsetLeft,t+=n.offsetTop,n=n.offsetParent;return{left:l,top:t,width:e,height:o}}function getPointerPosition(n,e){var o={x:0,y:0};if(IS_IOS)for(var l=n;l&&l.nodeName.toLowerCase()!=="html";){var t=computedStyle(l,"transform");if(/^matrix/.test(t)){var u=t.slice(7,-1).split(/,\s/).map(Number);o.x+=u[4],o.y+=u[5]}else if(/^matrix3d/.test(t)){var h=t.slice(9,-1).split(/,\s/).map(Number);o.x+=h[12],o.y+=h[13]}l=l.parentNode}var v={},w=findPosition(e.target),A=findPosition(n),E=A.width,C=A.height,M=e.offsetY-(A.top-w.top),P=e.offsetX-(A.left-w.left);return e.changedTouches&&(P=e.changedTouches[0].pageX-A.left,M=e.changedTouches[0].pageY+A.top,IS_IOS&&(P-=o.x,M-=o.y)),v.y=1-Math.max(0,Math.min(1,M/C)),v.x=Math.max(0,Math.min(1,P/E)),v}function isTextNode(n){return isObject$1(n)&&n.nodeType===3}function emptyEl(n){for(;n.firstChild;)n.removeChild(n.firstChild);return n}function normalizeContent(n){return typeof n=="function"&&(n=n()),(Array.isArray(n)?n:[n]).map(function(e){if(typeof e=="function"&&(e=e()),isEl(e)||isTextNode(e))return e;if(typeof e=="string"&&/\S/.test(e))return document$2.createTextNode(e)}).filter(function(e){return e})}function appendContent(n,e){return normalizeContent(e).forEach(function(o){return n.appendChild(o)}),n}function insertContent(n,e){return appendContent(emptyEl(n),e)}function isSingleLeftClick(n){return n.button===void 0&&n.buttons===void 0||n.button===0&&n.buttons===void 0||n.type==="mouseup"&&n.button===0&&n.buttons===0?!0:!(n.button!==0||n.buttons!==1)}var $=createQuerier("querySelector"),$$=createQuerier("querySelectorAll"),Dom=Object.freeze({__proto__:null,isReal,isEl,isInFrame,createEl,textContent,prependTo,hasClass,addClass,removeClass,toggleClass,setAttributes,getAttributes,getAttribute,setAttribute,removeAttribute,blockTextSelection,unblockTextSelection,getBoundingClientRect,findPosition,getPointerPosition,isTextNode,emptyEl,normalizeContent,appendContent,insertContent,isSingleLeftClick,$,$$}),_windowLoaded=!1,videojs$1,autoSetup=function(){if(videojs$1.options.autoSetup!==!1){var e=Array.prototype.slice.call(document$2.getElementsByTagName("video")),o=Array.prototype.slice.call(document$2.getElementsByTagName("audio")),l=Array.prototype.slice.call(document$2.getElementsByTagName("video-js")),t=e.concat(o,l);if(t&&t.length>0)for(var u=0,h=t.length;u<h;u++){var v=t[u];if(v&&v.getAttribute){if(v.player===void 0){var w=v.getAttribute("data-setup");w!==null&&videojs$1(v)}}else{autoSetupTimeout(1);break}}else _windowLoaded||autoSetupTimeout(1)}};function autoSetupTimeout(n,e){isReal()&&(e&&(videojs$1=e),window$1$1.setTimeout(autoSetup,n))}function setWindowLoaded(){_windowLoaded=!0,window$1$1.removeEventListener("load",setWindowLoaded)}isReal()&&(document$2.readyState==="complete"?setWindowLoaded():window$1$1.addEventListener("load",setWindowLoaded));var createStyleElement=function(e){var o=document$2.createElement("style");return o.className=e,o},setTextContent=function(e,o){e.styleSheet?e.styleSheet.cssText=o:e.textContent=o},_initialGuid=3,_guid=_initialGuid;function newGUID(){return _guid++}var FakeWeakMap;window$1$1.WeakMap||(FakeWeakMap=function(){function n(){this.vdata="vdata"+Math.floor(window$1$1.performance&&window$1$1.performance.now()||Date.now()),this.data={}}var e=n.prototype;return e.set=function(l,t){var u=l[this.vdata]||newGUID();return l[this.vdata]||(l[this.vdata]=u),this.data[u]=t,this},e.get=function(l){var t=l[this.vdata];if(t)return this.data[t];log$1("We have no data for this element",l)},e.has=function(l){var t=l[this.vdata];return t in this.data},e.delete=function(l){var t=l[this.vdata];t&&(delete this.data[t],delete l[this.vdata])},n}());var DomData=window$1$1.WeakMap?new WeakMap:new FakeWeakMap;function _cleanUpEvents(n,e){if(DomData.has(n)){var o=DomData.get(n);o.handlers[e].length===0&&(delete o.handlers[e],n.removeEventListener?n.removeEventListener(e,o.dispatcher,!1):n.detachEvent&&n.detachEvent("on"+e,o.dispatcher)),Object.getOwnPropertyNames(o.handlers).length<=0&&(delete o.handlers,delete o.dispatcher,delete o.disabled),Object.getOwnPropertyNames(o).length===0&&DomData.delete(n)}}function _handleMultipleEvents(n,e,o,l){o.forEach(function(t){n(e,t,l)})}function fixEvent(n){if(n.fixed_)return n;function e(){return!0}function o(){return!1}if(!n||!n.isPropagationStopped||!n.isImmediatePropagationStopped){var l=n||window$1$1.event;n={};for(var t in l)t!=="layerX"&&t!=="layerY"&&t!=="keyLocation"&&t!=="webkitMovementX"&&t!=="webkitMovementY"&&t!=="path"&&(t==="returnValue"&&l.preventDefault||(n[t]=l[t]));if(n.target||(n.target=n.srcElement||document$2),n.relatedTarget||(n.relatedTarget=n.fromElement===n.target?n.toElement:n.fromElement),n.preventDefault=function(){l.preventDefault&&l.preventDefault(),n.returnValue=!1,l.returnValue=!1,n.defaultPrevented=!0},n.defaultPrevented=!1,n.stopPropagation=function(){l.stopPropagation&&l.stopPropagation(),n.cancelBubble=!0,l.cancelBubble=!0,n.isPropagationStopped=e},n.isPropagationStopped=o,n.stopImmediatePropagation=function(){l.stopImmediatePropagation&&l.stopImmediatePropagation(),n.isImmediatePropagationStopped=e,n.stopPropagation()},n.isImmediatePropagationStopped=o,n.clientX!==null&&n.clientX!==void 0){var u=document$2.documentElement,h=document$2.body;n.pageX=n.clientX+(u&&u.scrollLeft||h&&h.scrollLeft||0)-(u&&u.clientLeft||h&&h.clientLeft||0),n.pageY=n.clientY+(u&&u.scrollTop||h&&h.scrollTop||0)-(u&&u.clientTop||h&&h.clientTop||0)}n.which=n.charCode||n.keyCode,n.button!==null&&n.button!==void 0&&(n.button=n.button&1?0:n.button&4?1:n.button&2?2:0)}return n.fixed_=!0,n}var _supportsPassive,supportsPassive=function(){if(typeof _supportsPassive!="boolean"){_supportsPassive=!1;try{var e=Object.defineProperty({},"passive",{get:function(){_supportsPassive=!0}});window$1$1.addEventListener("test",null,e),window$1$1.removeEventListener("test",null,e)}catch{}}return _supportsPassive},passiveEvents=["touchstart","touchmove"];function on(n,e,o){if(Array.isArray(e))return _handleMultipleEvents(on,n,e,o);DomData.has(n)||DomData.set(n,{});var l=DomData.get(n);if(l.handlers||(l.handlers={}),l.handlers[e]||(l.handlers[e]=[]),o.guid||(o.guid=newGUID()),l.handlers[e].push(o),l.dispatcher||(l.disabled=!1,l.dispatcher=function(u,h){if(!l.disabled){u=fixEvent(u);var v=l.handlers[u.type];if(v)for(var w=v.slice(0),A=0,E=w.length;A<E&&!u.isImmediatePropagationStopped();A++)try{w[A].call(n,u,h)}catch(C){log$1.error(C)}}}),l.handlers[e].length===1)if(n.addEventListener){var t=!1;supportsPassive()&&passiveEvents.indexOf(e)>-1&&(t={passive:!0}),n.addEventListener(e,l.dispatcher,t)}else n.attachEvent&&n.attachEvent("on"+e,l.dispatcher)}function off(n,e,o){if(DomData.has(n)){var l=DomData.get(n);if(l.handlers){if(Array.isArray(e))return _handleMultipleEvents(off,n,e,o);var t=function(A,E){l.handlers[E]=[],_cleanUpEvents(A,E)};if(e===void 0){for(var u in l.handlers)Object.prototype.hasOwnProperty.call(l.handlers||{},u)&&t(n,u);return}var h=l.handlers[e];if(h){if(!o){t(n,e);return}if(o.guid)for(var v=0;v<h.length;v++)h[v].guid===o.guid&&h.splice(v--,1);_cleanUpEvents(n,e)}}}}function trigger(n,e,o){var l=DomData.has(n)?DomData.get(n):{},t=n.parentNode||n.ownerDocument;if(typeof e=="string"?e={type:e,target:n}:e.target||(e.target=n),e=fixEvent(e),l.dispatcher&&l.dispatcher.call(n,e,o),t&&!e.isPropagationStopped()&&e.bubbles===!0)trigger.call(null,t,e,o);else if(!t&&!e.defaultPrevented&&e.target&&e.target[e.type]){DomData.has(e.target)||DomData.set(e.target,{});var u=DomData.get(e.target);e.target[e.type]&&(u.disabled=!0,typeof e.target[e.type]=="function"&&e.target[e.type](),u.disabled=!1)}return!e.defaultPrevented}function one(n,e,o){if(Array.isArray(e))return _handleMultipleEvents(one,n,e,o);var l=function t(){off(n,e,t),o.apply(this,arguments)};l.guid=o.guid=o.guid||newGUID(),on(n,e,l)}function any(n,e,o){var l=function t(){off(n,e,t),o.apply(this,arguments)};l.guid=o.guid=o.guid||newGUID(),on(n,e,l)}var Events=Object.freeze({__proto__:null,fixEvent,on,off,trigger,one,any}),UPDATE_REFRESH_INTERVAL=30,bind$2=function(e,o,l){o.guid||(o.guid=newGUID());var t=o.bind(e);return t.guid=l?l+"_"+o.guid:o.guid,t},throttle=function(e,o){var l=window$1$1.performance.now(),t=function(){var h=window$1$1.performance.now();h-l>=o&&(e.apply(void 0,arguments),l=h)};return t},debounce=function(e,o,l,t){t===void 0&&(t=window$1$1);var u,h=function(){t.clearTimeout(u),u=null},v=function(){var A=this,E=arguments,C=function(){u=null,C=null,e.apply(A,E)};!u&&l&&e.apply(A,E),t.clearTimeout(u),u=t.setTimeout(C,o)};return v.cancel=h,v},EventTarget$2=function(){};EventTarget$2.prototype.allowedEvents_={},EventTarget$2.prototype.on=function(n,e){var o=this.addEventListener;this.addEventListener=function(){},on(this,n,e),this.addEventListener=o},EventTarget$2.prototype.addEventListener=EventTarget$2.prototype.on,EventTarget$2.prototype.off=function(n,e){off(this,n,e)},EventTarget$2.prototype.removeEventListener=EventTarget$2.prototype.off,EventTarget$2.prototype.one=function(n,e){var o=this.addEventListener;this.addEventListener=function(){},one(this,n,e),this.addEventListener=o},EventTarget$2.prototype.any=function(n,e){var o=this.addEventListener;this.addEventListener=function(){},any(this,n,e),this.addEventListener=o},EventTarget$2.prototype.trigger=function(n){var e=n.type||n;typeof n=="string"&&(n={type:e}),n=fixEvent(n),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](n),trigger(this,n)},EventTarget$2.prototype.dispatchEvent=EventTarget$2.prototype.trigger;var EVENT_MAP;EventTarget$2.prototype.queueTrigger=function(n){var e=this;EVENT_MAP||(EVENT_MAP=new Map);var o=n.type||n,l=EVENT_MAP.get(this);l||(l=new Map,EVENT_MAP.set(this,l));var t=l.get(o);l.delete(o),window$1$1.clearTimeout(t);var u=window$1$1.setTimeout(function(){l.delete(o),l.size===0&&(l=null,EVENT_MAP.delete(e)),e.trigger(n)},0);l.set(o,u)};var objName=function(e){return typeof e.name=="function"?e.name():typeof e.name=="string"?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e},isEvented=function(e){return e instanceof EventTarget$2||!!e.eventBusEl_&&["on","one","off","trigger"].every(function(o){return typeof e[o]=="function"})},addEventedCallback=function(e,o){isEvented(e)?o():(e.eventedCallbacks||(e.eventedCallbacks=[]),e.eventedCallbacks.push(o))},isValidEventType=function(e){return typeof e=="string"&&/\S/.test(e)||Array.isArray(e)&&!!e.length},validateTarget=function(e,o,l){if(!e||!e.nodeName&&!isEvented(e))throw new Error("Invalid target for "+objName(o)+"#"+l+"; must be a DOM node or evented object.")},validateEventType=function(e,o,l){if(!isValidEventType(e))throw new Error("Invalid event type for "+objName(o)+"#"+l+"; must be a non-empty string or array.")},validateListener=function(e,o,l){if(typeof e!="function")throw new Error("Invalid listener for "+objName(o)+"#"+l+"; must be a function.")},normalizeListenArgs=function(e,o,l){var t=o.length<3||o[0]===e||o[0]===e.eventBusEl_,u,h,v;return t?(u=e.eventBusEl_,o.length>=3&&o.shift(),h=o[0],v=o[1]):(u=o[0],h=o[1],v=o[2]),validateTarget(u,e,l),validateEventType(h,e,l),validateListener(v,e,l),v=bind$2(e,v),{isTargetingSelf:t,target:u,type:h,listener:v}},listen=function(e,o,l,t){validateTarget(e,e,o),e.nodeName?Events[o](e,l,t):e[o](l,t)},EventedMixin={on:function(){for(var e=this,o=arguments.length,l=new Array(o),t=0;t<o;t++)l[t]=arguments[t];var u=normalizeListenArgs(this,l,"on"),h=u.isTargetingSelf,v=u.target,w=u.type,A=u.listener;if(listen(v,"on",w,A),!h){var E=function(){return e.off(v,w,A)};E.guid=A.guid;var C=function(){return e.off("dispose",E)};C.guid=A.guid,listen(this,"on","dispose",E),listen(v,"on","dispose",C)}},one:function(){for(var e=this,o=arguments.length,l=new Array(o),t=0;t<o;t++)l[t]=arguments[t];var u=normalizeListenArgs(this,l,"one"),h=u.isTargetingSelf,v=u.target,w=u.type,A=u.listener;if(h)listen(v,"one",w,A);else{var E=function C(){e.off(v,w,C);for(var M=arguments.length,P=new Array(M),I=0;I<M;I++)P[I]=arguments[I];A.apply(null,P)};E.guid=A.guid,listen(v,"one",w,E)}},any:function(){for(var e=this,o=arguments.length,l=new Array(o),t=0;t<o;t++)l[t]=arguments[t];var u=normalizeListenArgs(this,l,"any"),h=u.isTargetingSelf,v=u.target,w=u.type,A=u.listener;if(h)listen(v,"any",w,A);else{var E=function C(){e.off(v,w,C);for(var M=arguments.length,P=new Array(M),I=0;I<M;I++)P[I]=arguments[I];A.apply(null,P)};E.guid=A.guid,listen(v,"any",w,E)}},off:function(e,o,l){if(!e||isValidEventType(e))off(this.eventBusEl_,e,o);else{var t=e,u=o;validateTarget(t,this,"off"),validateEventType(u,this,"off"),validateListener(l,this,"off"),l=bind$2(this,l),this.off("dispose",l),t.nodeName?(off(t,u,l),off(t,"dispose",l)):isEvented(t)&&(t.off(u,l),t.off("dispose",l))}},trigger:function(e,o){validateTarget(this.eventBusEl_,this,"trigger");var l=e&&typeof e!="string"?e.type:e;if(!isValidEventType(l)){var t="Invalid event type for "+objName(this)+"#trigger; must be a non-empty string or object with a type key that has a non-empty value.";if(e)(this.log||log$1).error(t);else throw new Error(t)}return trigger(this.eventBusEl_,e,o)}};function evented(n,e){e===void 0&&(e={});var o=e,l=o.eventBusKey;if(l){if(!n[l].nodeName)throw new Error('The eventBusKey "'+l+'" does not refer to an element.');n.eventBusEl_=n[l]}else n.eventBusEl_=createEl("span",{className:"vjs-event-bus"});return assign(n,EventedMixin),n.eventedCallbacks&&n.eventedCallbacks.forEach(function(t){t()}),n.on("dispose",function(){n.off(),[n,n.el_,n.eventBusEl_].forEach(function(t){t&&DomData.has(t)&&DomData.delete(t)}),window$1$1.setTimeout(function(){n.eventBusEl_=null},0)}),n}var StatefulMixin={state:{},setState:function(e){var o=this;typeof e=="function"&&(e=e());var l;return each(e,function(t,u){o.state[u]!==t&&(l=l||{},l[u]={from:o.state[u],to:t}),o.state[u]=t}),l&&isEvented(this)&&this.trigger({changes:l,type:"statechanged"}),l}};function stateful(n,e){return assign(n,StatefulMixin),n.state=assign({},n.state,e),typeof n.handleStateChanged=="function"&&isEvented(n)&&n.on("statechanged",n.handleStateChanged),n}var toLowerCase=function(e){return typeof e!="string"?e:e.replace(/./,function(o){return o.toLowerCase()})},toTitleCase$1=function(e){return typeof e!="string"?e:e.replace(/./,function(o){return o.toUpperCase()})},titleCaseEquals=function(e,o){return toTitleCase$1(e)===toTitleCase$1(o)};function mergeOptions$3(){for(var n={},e=arguments.length,o=new Array(e),l=0;l<e;l++)o[l]=arguments[l];return o.forEach(function(t){t&&each(t,function(u,h){if(!isPlain(u)){n[h]=u;return}isPlain(n[h])||(n[h]={}),n[h]=mergeOptions$3(n[h],u)})}),n}var MapSham=function(){function n(){this.map_={}}var e=n.prototype;return e.has=function(l){return l in this.map_},e.delete=function(l){var t=this.has(l);return delete this.map_[l],t},e.set=function(l,t){return this.map_[l]=t,this},e.forEach=function(l,t){for(var u in this.map_)l.call(t,this.map_[u],u,this)},n}(),Map$1=window$1$1.Map?window$1$1.Map:MapSham,SetSham=function(){function n(){this.set_={}}var e=n.prototype;return e.has=function(l){return l in this.set_},e.delete=function(l){var t=this.has(l);return delete this.set_[l],t},e.add=function(l){return this.set_[l]=1,this},e.forEach=function(l,t){for(var u in this.set_)l.call(t,u,u,this)},n}(),Set$1=window$1$1.Set?window$1$1.Set:SetSham,Component$1=function(){function n(o,l,t){var u=this;if(!o&&this.play?this.player_=o=this:this.player_=o,this.isDisposed_=!1,this.parentComponent_=null,this.options_=mergeOptions$3({},this.options_),l=this.options_=mergeOptions$3(this.options_,l),this.id_=l.id||l.el&&l.el.id,!this.id_){var h=o&&o.id&&o.id()||"no_player";this.id_=h+"_component_"+newGUID()}this.name_=l.name||null,l.el?this.el_=l.el:l.createEl!==!1&&(this.el_=this.createEl()),l.className&&this.el_&&l.className.split(" ").forEach(function(v){return u.addClass(v)}),l.evented!==!1&&(evented(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),stateful(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set$1,this.setIntervalIds_=new Set$1,this.rafIds_=new Set$1,this.namedRafs_=new Map$1,this.clearingTimersOnDispose_=!1,l.initChildren!==!1&&this.initChildren(),this.ready(t),l.reportTouchActivity!==!1&&this.enableTouchActivity()}var e=n.prototype;return e.dispose=function(l){if(l===void 0&&(l={}),!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(l.restoreEl?this.el_.parentNode.replaceChild(l.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}},e.isDisposed=function(){return!!this.isDisposed_},e.player=function(){return this.player_},e.options=function(l){return l?(this.options_=mergeOptions$3(this.options_,l),this.options_):this.options_},e.el=function(){return this.el_},e.createEl=function(l,t,u){return createEl(l,t,u)},e.localize=function(l,t,u){u===void 0&&(u=l);var h=this.player_.language&&this.player_.language(),v=this.player_.languages&&this.player_.languages(),w=v&&v[h],A=h&&h.split("-")[0],E=v&&v[A],C=u;return w&&w[l]?C=w[l]:E&&E[l]&&(C=E[l]),t&&(C=C.replace(/\{(\d+)\}/g,function(M,P){var I=t[P-1],j=I;return typeof I>"u"&&(j=M),j})),C},e.handleLanguagechange=function(){},e.contentEl=function(){return this.contentEl_||this.el_},e.id=function(){return this.id_},e.name=function(){return this.name_},e.children=function(){return this.children_},e.getChildById=function(l){return this.childIndex_[l]},e.getChild=function(l){if(l)return this.childNameIndex_[l]},e.getDescendant=function(){for(var l=arguments.length,t=new Array(l),u=0;u<l;u++)t[u]=arguments[u];t=t.reduce(function(w,A){return w.concat(A)},[]);for(var h=this,v=0;v<t.length;v++)if(h=h.getChild(t[v]),!h||!h.getChild)return;return h},e.addChild=function(l,t,u){t===void 0&&(t={}),u===void 0&&(u=this.children_.length);var h,v;if(typeof l=="string"){v=toTitleCase$1(l);var w=t.componentClass||v;t.name=v;var A=n.getComponent(w);if(!A)throw new Error("Component "+w+" does not exist");if(typeof A!="function")return null;h=new A(this.player_||this,t)}else h=l;if(h.parentComponent_&&h.parentComponent_.removeChild(h),this.children_.splice(u,0,h),h.parentComponent_=this,typeof h.id=="function"&&(this.childIndex_[h.id()]=h),v=v||h.name&&toTitleCase$1(h.name()),v&&(this.childNameIndex_[v]=h,this.childNameIndex_[toLowerCase(v)]=h),typeof h.el=="function"&&h.el()){var E=null;this.children_[u+1]&&(this.children_[u+1].el_?E=this.children_[u+1].el_:isEl(this.children_[u+1])&&(E=this.children_[u+1])),this.contentEl().insertBefore(h.el(),E)}return h},e.removeChild=function(l){if(typeof l=="string"&&(l=this.getChild(l)),!(!l||!this.children_)){for(var t=!1,u=this.children_.length-1;u>=0;u--)if(this.children_[u]===l){t=!0,this.children_.splice(u,1);break}if(t){l.parentComponent_=null,this.childIndex_[l.id()]=null,this.childNameIndex_[toTitleCase$1(l.name())]=null,this.childNameIndex_[toLowerCase(l.name())]=null;var h=l.el();h&&h.parentNode===this.contentEl()&&this.contentEl().removeChild(l.el())}}},e.initChildren=function(){var l=this,t=this.options_.children;if(t){var u=this.options_,h=function(E){var C=E.name,M=E.opts;if(u[C]!==void 0&&(M=u[C]),M!==!1){M===!0&&(M={}),M.playerOptions=l.options_.playerOptions;var P=l.addChild(C,M);P&&(l[C]=P)}},v,w=n.getComponent("Tech");Array.isArray(t)?v=t:v=Object.keys(t),v.concat(Object.keys(this.options_).filter(function(A){return!v.some(function(E){return typeof E=="string"?A===E:A===E.name})})).map(function(A){var E,C;return typeof A=="string"?(E=A,C=t[E]||l.options_[E]||{}):(E=A.name,C=A),{name:E,opts:C}}).filter(function(A){var E=n.getComponent(A.opts.componentClass||toTitleCase$1(A.name));return E&&!w.isTech(E)}).forEach(h)}},e.buildCSSClass=function(){return""},e.ready=function(l,t){if(t===void 0&&(t=!1),!!l){if(!this.isReady_){this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(l);return}t?l.call(this):this.setTimeout(l,1)}},e.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var l=this.readyQueue_;this.readyQueue_=[],l&&l.length>0&&l.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},e.$=function(l,t){return $(l,t||this.contentEl())},e.$$=function(l,t){return $$(l,t||this.contentEl())},e.hasClass=function(l){return hasClass(this.el_,l)},e.addClass=function(l){addClass(this.el_,l)},e.removeClass=function(l){removeClass(this.el_,l)},e.toggleClass=function(l,t){toggleClass(this.el_,l,t)},e.show=function(){this.removeClass("vjs-hidden")},e.hide=function(){this.addClass("vjs-hidden")},e.lockShowing=function(){this.addClass("vjs-lock-showing")},e.unlockShowing=function(){this.removeClass("vjs-lock-showing")},e.getAttribute=function(l){return getAttribute(this.el_,l)},e.setAttribute=function(l,t){setAttribute(this.el_,l,t)},e.removeAttribute=function(l){removeAttribute(this.el_,l)},e.width=function(l,t){return this.dimension("width",l,t)},e.height=function(l,t){return this.dimension("height",l,t)},e.dimensions=function(l,t){this.width(l,!0),this.height(t)},e.dimension=function(l,t,u){if(t!==void 0){(t===null||t!==t)&&(t=0),(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?this.el_.style[l]=t:t==="auto"?this.el_.style[l]="":this.el_.style[l]=t+"px",u||this.trigger("componentresize");return}if(!this.el_)return 0;var h=this.el_.style[l],v=h.indexOf("px");return parseInt(v!==-1?h.slice(0,v):this.el_["offset"+toTitleCase$1(l)],10)},e.currentDimension=function(l){var t=0;if(l!=="width"&&l!=="height")throw new Error("currentDimension only accepts width or height value");if(t=computedStyle(this.el_,l),t=parseFloat(t),t===0||isNaN(t)){var u="offset"+toTitleCase$1(l);t=this.el_[u]}return t},e.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.currentWidth=function(){return this.currentDimension("width")},e.currentHeight=function(){return this.currentDimension("height")},e.focus=function(){this.el_.focus()},e.blur=function(){this.el_.blur()},e.handleKeyDown=function(l){this.player_&&(keycode.isEventKey(l,"Tab")||l.stopPropagation(),this.player_.handleKeyDown(l))},e.handleKeyPress=function(l){this.handleKeyDown(l)},e.emitTapEvents=function(){var l=0,t=null,u=10,h=200,v;this.on("touchstart",function(A){A.touches.length===1&&(t={pageX:A.touches[0].pageX,pageY:A.touches[0].pageY},l=window$1$1.performance.now(),v=!0)}),this.on("touchmove",function(A){if(A.touches.length>1)v=!1;else if(t){var E=A.touches[0].pageX-t.pageX,C=A.touches[0].pageY-t.pageY,M=Math.sqrt(E*E+C*C);M>u&&(v=!1)}});var w=function(){v=!1};this.on("touchleave",w),this.on("touchcancel",w),this.on("touchend",function(A){if(t=null,v===!0){var E=window$1$1.performance.now()-l;E<h&&(A.preventDefault(),this.trigger("tap"))}})},e.enableTouchActivity=function(){if(!(!this.player()||!this.player().reportUserActivity)){var l=bind$2(this.player(),this.player().reportUserActivity),t;this.on("touchstart",function(){l(),this.clearInterval(t),t=this.setInterval(l,250)});var u=function(v){l(),this.clearInterval(t)};this.on("touchmove",l),this.on("touchend",u),this.on("touchcancel",u)}},e.setTimeout=function(l,t){var u=this,h;return l=bind$2(this,l),this.clearTimersOnDispose_(),h=window$1$1.setTimeout(function(){u.setTimeoutIds_.has(h)&&u.setTimeoutIds_.delete(h),l()},t),this.setTimeoutIds_.add(h),h},e.clearTimeout=function(l){return this.setTimeoutIds_.has(l)&&(this.setTimeoutIds_.delete(l),window$1$1.clearTimeout(l)),l},e.setInterval=function(l,t){l=bind$2(this,l),this.clearTimersOnDispose_();var u=window$1$1.setInterval(l,t);return this.setIntervalIds_.add(u),u},e.clearInterval=function(l){return this.setIntervalIds_.has(l)&&(this.setIntervalIds_.delete(l),window$1$1.clearInterval(l)),l},e.requestAnimationFrame=function(l){var t=this;if(!this.supportsRaf_)return this.setTimeout(l,1e3/60);this.clearTimersOnDispose_();var u;return l=bind$2(this,l),u=window$1$1.requestAnimationFrame(function(){t.rafIds_.has(u)&&t.rafIds_.delete(u),l()}),this.rafIds_.add(u),u},e.requestNamedAnimationFrame=function(l,t){var u=this;if(!this.namedRafs_.has(l)){this.clearTimersOnDispose_(),t=bind$2(this,t);var h=this.requestAnimationFrame(function(){t(),u.namedRafs_.has(l)&&u.namedRafs_.delete(l)});return this.namedRafs_.set(l,h),l}},e.cancelNamedAnimationFrame=function(l){this.namedRafs_.has(l)&&(this.cancelAnimationFrame(this.namedRafs_.get(l)),this.namedRafs_.delete(l))},e.cancelAnimationFrame=function(l){return this.supportsRaf_?(this.rafIds_.has(l)&&(this.rafIds_.delete(l),window$1$1.cancelAnimationFrame(l)),l):this.clearTimeout(l)},e.clearTimersOnDispose_=function(){var l=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(function(t){var u=t[0],h=t[1];l[u].forEach(function(v,w){return l[h](w)})}),l.clearingTimersOnDispose_=!1}))},n.registerComponent=function(l,t){if(typeof l!="string"||!l)throw new Error('Illegal component name, "'+l+'"; must be a non-empty string.');var u=n.getComponent("Tech"),h=u&&u.isTech(t),v=n===t||n.prototype.isPrototypeOf(t.prototype);if(h||!v){var w;throw h?w="techs must be registered using Tech.registerTech()":w="must be a Component subclass",new Error('Illegal component, "'+l+'"; '+w+".")}l=toTitleCase$1(l),n.components_||(n.components_={});var A=n.getComponent("Player");if(l==="Player"&&A&&A.players){var E=A.players,C=Object.keys(E);if(E&&C.length>0&&C.map(function(M){return E[M]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return n.components_[l]=t,n.components_[toLowerCase(l)]=t,t},n.getComponent=function(l){if(!(!l||!n.components_))return n.components_[l]},n}();Component$1.prototype.supportsRaf_=typeof window$1$1.requestAnimationFrame=="function"&&typeof window$1$1.cancelAnimationFrame=="function",Component$1.registerComponent("Component",Component$1);function rangeCheck(n,e,o){if(typeof e!="number"||e<0||e>o)throw new Error("Failed to execute '"+n+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+o+").")}function getRange(n,e,o,l){return rangeCheck(n,l,o.length-1),o[l][e]}function createTimeRangesObj(n){var e;return n===void 0||n.length===0?e={length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:e={length:n.length,start:getRange.bind(null,"start",0,n),end:getRange.bind(null,"end",1,n)},window$1$1.Symbol&&window$1$1.Symbol.iterator&&(e[window$1$1.Symbol.iterator]=function(){return(n||[]).values()}),e}function createTimeRanges(n,e){return Array.isArray(n)?createTimeRangesObj(n):n===void 0||e===void 0?createTimeRangesObj():createTimeRangesObj([[n,e]])}function bufferedPercent(n,e){var o=0,l,t;if(!e)return 0;(!n||!n.length)&&(n=createTimeRanges(0,0));for(var u=0;u<n.length;u++)l=n.start(u),t=n.end(u),t>e&&(t=e),o+=t-l;return o/e}function MediaError(n){if(n instanceof MediaError)return n;typeof n=="number"?this.code=n:typeof n=="string"?this.message=n:isObject$1(n)&&(typeof n.code=="number"&&(this.code=n.code),assign(this,n)),this.message||(this.message=MediaError.defaultMessages[this.code]||"")}MediaError.prototype.code=0,MediaError.prototype.message="",MediaError.prototype.status=null,MediaError.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],MediaError.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var errNum=0;errNum<MediaError.errorTypes.length;errNum++)MediaError[MediaError.errorTypes[errNum]]=errNum,MediaError.prototype[MediaError.errorTypes[errNum]]=errNum;function isPromise(n){return n!=null&&typeof n.then=="function"}function silencePromise(n){isPromise(n)&&n.then(null,function(e){})}var trackToJson_=function(e){var o=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(l,t,u){return e[t]&&(l[t]=e[t]),l},{cues:e.cues&&Array.prototype.map.call(e.cues,function(l){return{startTime:l.startTime,endTime:l.endTime,text:l.text,id:l.id}})});return o},textTracksToJson=function(e){var o=e.$$("track"),l=Array.prototype.map.call(o,function(u){return u.track}),t=Array.prototype.map.call(o,function(u){var h=trackToJson_(u.track);return u.src&&(h.src=u.src),h});return t.concat(Array.prototype.filter.call(e.textTracks(),function(u){return l.indexOf(u)===-1}).map(trackToJson_))},jsonToTextTracks=function(e,o){return e.forEach(function(l){var t=o.addRemoteTextTrack(l).track;!l.src&&l.cues&&l.cues.forEach(function(u){return t.addCue(u)})}),o.textTracks()},textTrackConverter={textTracksToJson,jsonToTextTracks,trackToJson_},MODAL_CLASS_NAME="vjs-modal-dialog",ModalDialog=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.handleKeyDown_=function(h){return u.handleKeyDown(h)},u.close_=function(h){return u.close(h)},u.opened_=u.hasBeenOpened_=u.hasBeenFilled_=!1,u.closeable(!u.options_.uncloseable),u.content(u.options_.content),u.contentEl_=createEl("div",{className:MODAL_CLASS_NAME+"-content"},{role:"document"}),u.descEl_=createEl("p",{className:MODAL_CLASS_NAME+"-description vjs-control-text",id:u.el().getAttribute("aria-describedby")}),textContent(u.descEl_,u.description()),u.el_.appendChild(u.descEl_),u.el_.appendChild(u.contentEl_),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},o.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,n.prototype.dispose.call(this)},o.buildCSSClass=function(){return MODAL_CLASS_NAME+" vjs-hidden "+n.prototype.buildCSSClass.call(this)},o.label=function(){return this.localize(this.options_.label||"Modal Window")},o.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},o.open=function(){if(!this.opened_){var t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},o.opened=function(t){return typeof t=="boolean"&&this[t?"open":"close"](),this.opened_},o.close=function(){if(this.opened_){var t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},o.closeable=function(t){if(typeof t=="boolean"){var u=this.closeable_=!!t,h=this.getChild("closeButton");if(u&&!h){var v=this.contentEl_;this.contentEl_=this.el_,h=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=v,this.on(h,"close",this.close_)}!u&&h&&(this.off(h,"close",this.close_),this.removeChild(h),h.dispose())}return this.closeable_},o.fill=function(){this.fillWith(this.content())},o.fillWith=function(t){var u=this.contentEl(),h=u.parentNode,v=u.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,h.removeChild(u),this.empty(),insertContent(u,t),this.trigger("modalfill"),v?h.insertBefore(u,v):h.appendChild(u);var w=this.getChild("closeButton");w&&h.appendChild(w.el_)},o.empty=function(){this.trigger("beforemodalempty"),emptyEl(this.contentEl()),this.trigger("modalempty")},o.content=function(t){return typeof t<"u"&&(this.content_=t),this.content_},o.conditionalFocus_=function(){var t=document$2.activeElement,u=this.player_.el_;this.previouslyActiveEl_=null,(u.contains(t)||u===t)&&(this.previouslyActiveEl_=t,this.focus())},o.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},o.handleKeyDown=function(t){if(t.stopPropagation(),keycode.isEventKey(t,"Escape")&&this.closeable()){t.preventDefault(),this.close();return}if(keycode.isEventKey(t,"Tab")){for(var u=this.focusableEls_(),h=this.el_.querySelector(":focus"),v,w=0;w<u.length;w++)if(h===u[w]){v=w;break}document$2.activeElement===this.el_&&(v=0),t.shiftKey&&v===0?(u[u.length-1].focus(),t.preventDefault()):!t.shiftKey&&v===u.length-1&&(u[0].focus(),t.preventDefault())}},o.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,function(u){return(u instanceof window$1$1.HTMLAnchorElement||u instanceof window$1$1.HTMLAreaElement)&&u.hasAttribute("href")||(u instanceof window$1$1.HTMLInputElement||u instanceof window$1$1.HTMLSelectElement||u instanceof window$1$1.HTMLTextAreaElement||u instanceof window$1$1.HTMLButtonElement)&&!u.hasAttribute("disabled")||u instanceof window$1$1.HTMLIFrameElement||u instanceof window$1$1.HTMLObjectElement||u instanceof window$1$1.HTMLEmbedElement||u.hasAttribute("tabindex")&&u.getAttribute("tabindex")!==-1||u.hasAttribute("contenteditable")})},e}(Component$1);ModalDialog.prototype.options_={pauseOnOpen:!0,temporary:!0},Component$1.registerComponent("ModalDialog",ModalDialog);var TrackList=function(n){_inheritsLoose(e,n);function e(l){var t;l===void 0&&(l=[]),t=n.call(this)||this,t.tracks_=[],Object.defineProperty(_assertThisInitialized$1(t),"length",{get:function(){return this.tracks_.length}});for(var u=0;u<l.length;u++)t.addTrack(l[u]);return t}var o=e.prototype;return o.addTrack=function(t){var u=this,h=this.tracks_.length;""+h in this||Object.defineProperty(this,h,{get:function(){return this.tracks_[h]}}),this.tracks_.indexOf(t)===-1&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack",target:this})),t.labelchange_=function(){u.trigger({track:t,type:"labelchange",target:u})},isEvented(t)&&t.addEventListener("labelchange",t.labelchange_)},o.removeTrack=function(t){for(var u,h=0,v=this.length;h<v;h++)if(this[h]===t){u=this[h],u.off&&u.off(),this.tracks_.splice(h,1);break}u&&this.trigger({track:u,type:"removetrack",target:this})},o.getTrackById=function(t){for(var u=null,h=0,v=this.length;h<v;h++){var w=this[h];if(w.id===t){u=w;break}}return u},e}(EventTarget$2);TrackList.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(var event in TrackList.prototype.allowedEvents_)TrackList.prototype["on"+event]=null;var disableOthers$1=function(e,o){for(var l=0;l<e.length;l++)!Object.keys(e[l]).length||o.id===e[l].id||(e[l].enabled=!1)},AudioTrackList=function(n){_inheritsLoose(e,n);function e(l){var t;l===void 0&&(l=[]);for(var u=l.length-1;u>=0;u--)if(l[u].enabled){disableOthers$1(l,l[u]);break}return t=n.call(this,l)||this,t.changing_=!1,t}var o=e.prototype;return o.addTrack=function(t){var u=this;t.enabled&&disableOthers$1(this,t),n.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){u.changing_||(u.changing_=!0,disableOthers$1(u,t),u.changing_=!1,u.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},o.removeTrack=function(t){n.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},e}(TrackList),disableOthers=function(e,o){for(var l=0;l<e.length;l++)!Object.keys(e[l]).length||o.id===e[l].id||(e[l].selected=!1)},VideoTrackList=function(n){_inheritsLoose(e,n);function e(l){var t;l===void 0&&(l=[]);for(var u=l.length-1;u>=0;u--)if(l[u].selected){disableOthers(l,l[u]);break}return t=n.call(this,l)||this,t.changing_=!1,Object.defineProperty(_assertThisInitialized$1(t),"selectedIndex",{get:function(){for(var v=0;v<this.length;v++)if(this[v].selected)return v;return-1},set:function(){}}),t}var o=e.prototype;return o.addTrack=function(t){var u=this;t.selected&&disableOthers(this,t),n.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){u.changing_||(u.changing_=!0,disableOthers(u,t),u.changing_=!1,u.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))},o.removeTrack=function(t){n.prototype.removeTrack.call(this,t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)},e}(TrackList),TextTrackList=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.addTrack=function(t){var u=this;n.prototype.addTrack.call(this,t),this.queueChange_||(this.queueChange_=function(){return u.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return u.trigger("selectedlanguagechange")}),t.addEventListener("modechange",this.queueChange_);var h=["metadata","chapters"];h.indexOf(t.kind)===-1&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)},o.removeTrack=function(t){n.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},e}(TrackList),HtmlTrackElementList=function(){function n(o){o===void 0&&(o=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var l=0,t=o.length;l<t;l++)this.addTrackElement_(o[l])}var e=n.prototype;return e.addTrackElement_=function(l){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),this.trackElements_.indexOf(l)===-1&&this.trackElements_.push(l)},e.getTrackElementByTrack_=function(l){for(var t,u=0,h=this.trackElements_.length;u<h;u++)if(l===this.trackElements_[u].track){t=this.trackElements_[u];break}return t},e.removeTrackElement_=function(l){for(var t=0,u=this.trackElements_.length;t<u;t++)if(l===this.trackElements_[t]){this.trackElements_[t].track&&typeof this.trackElements_[t].track.off=="function"&&this.trackElements_[t].track.off(),typeof this.trackElements_[t].off=="function"&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}},n}(),TextTrackCueList=function(){function n(o){n.prototype.setCues_.call(this,o),Object.defineProperty(this,"length",{get:function(){return this.length_}})}var e=n.prototype;return e.setCues_=function(l){var t=this.length||0,u=0,h=l.length;this.cues_=l,this.length_=l.length;var v=function(A){""+A in this||Object.defineProperty(this,""+A,{get:function(){return this.cues_[A]}})};if(t<h)for(u=t;u<h;u++)v.call(this,u)},e.getCueById=function(l){for(var t=null,u=0,h=this.length;u<h;u++){var v=this[u];if(v.id===l){t=v;break}}return t},n}(),VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"},Track=function(n){_inheritsLoose(e,n);function e(o){var l;o===void 0&&(o={}),l=n.call(this)||this;var t={id:o.id||"vjs_track_"+newGUID(),kind:o.kind||"",language:o.language||""},u=o.label||"",h=function(A){Object.defineProperty(_assertThisInitialized$1(l),A,{get:function(){return t[A]},set:function(){}})};for(var v in t)h(v);return Object.defineProperty(_assertThisInitialized$1(l),"label",{get:function(){return u},set:function(A){A!==u&&(u=A,this.trigger("labelchange"))}}),l}return e}(EventTarget$2),parseUrl=function(e){var o=["protocol","hostname","port","pathname","search","hash","host"],l=document$2.createElement("a");l.href=e;for(var t={},u=0;u<o.length;u++)t[o[u]]=l[o[u]];return t.protocol==="http:"&&(t.host=t.host.replace(/:80$/,"")),t.protocol==="https:"&&(t.host=t.host.replace(/:443$/,"")),t.protocol||(t.protocol=window$1$1.location.protocol),t.host||(t.host=window$1$1.location.host),t},getAbsoluteURL=function(e){if(!e.match(/^https?:\/\//)){var o=document$2.createElement("a");o.href=e,e=o.href}return e},getFileExtension=function(e){if(typeof e=="string"){var o=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/,l=o.exec(e);if(l)return l.pop().toLowerCase()}return""},isCrossOrigin=function(e,o){o===void 0&&(o=window$1$1.location);var l=parseUrl(e),t=l.protocol===":"?o.protocol:l.protocol,u=t+l.host!==o.protocol+o.host;return u},Url$1=Object.freeze({__proto__:null,parseUrl,getAbsoluteURL,getFileExtension,isCrossOrigin}),parseCues=function(e,o){var l=new window$1$1.WebVTT.Parser(window$1$1,window$1$1.vttjs,window$1$1.WebVTT.StringDecoder()),t=[];l.oncue=function(u){o.addCue(u)},l.onparsingerror=function(u){t.push(u)},l.onflush=function(){o.trigger({type:"loadeddata",target:o})},l.parse(e),t.length>0&&(window$1$1.console&&window$1$1.console.groupCollapsed&&window$1$1.console.groupCollapsed("Text Track parsing errors for "+o.src),t.forEach(function(u){return log$1.error(u)}),window$1$1.console&&window$1$1.console.groupEnd&&window$1$1.console.groupEnd()),l.flush()},loadTrack=function(e,o){var l={uri:e},t=isCrossOrigin(e);t&&(l.cors=t);var u=o.tech_.crossOrigin()==="use-credentials";u&&(l.withCredentials=u),XHR(l,bind$2(this,function(h,v,w){if(h)return log$1.error(h,v);o.loaded_=!0,typeof window$1$1.WebVTT!="function"?o.tech_&&o.tech_.any(["vttjsloaded","vttjserror"],function(A){if(A.type==="vttjserror"){log$1.error("vttjs failed to load, stopping trying to process "+o.src);return}return parseCues(w,o)}):parseCues(w,o)}))},TextTrack=function(n){_inheritsLoose(e,n);function e(l){var t;if(l===void 0&&(l={}),!l.tech)throw new Error("A tech was not provided.");var u=mergeOptions$3(l,{kind:TextTrackKind[l.kind]||"subtitles",language:l.language||l.srclang||""}),h=TextTrackMode[u.mode]||"disabled",v=u.default;(u.kind==="metadata"||u.kind==="chapters")&&(h="hidden"),t=n.call(this,u)||this,t.tech_=u.tech,t.cues_=[],t.activeCues_=[],t.preload_=t.tech_.preloadTextTracks!==!1;var w=new TextTrackCueList(t.cues_),A=new TextTrackCueList(t.activeCues_),E=!1;t.timeupdateHandler=bind$2(_assertThisInitialized$1(t),function(M){if(M===void 0&&(M={}),!this.tech_.isDisposed()){if(!this.tech_.isReady_){M.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler));return}this.activeCues=this.activeCues,E&&(this.trigger("cuechange"),E=!1),M.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))}});var C=function(){t.stopTracking()};return t.tech_.one("dispose",C),h!=="disabled"&&t.startTracking(),Object.defineProperties(_assertThisInitialized$1(t),{default:{get:function(){return v},set:function(){}},mode:{get:function(){return h},set:function(P){TextTrackMode[P]&&h!==P&&(h=P,!this.preload_&&h!=="disabled"&&this.cues.length===0&&loadTrack(this.src,this),this.stopTracking(),h!=="disabled"&&this.startTracking(),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?w:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(this.cues.length===0)return A;for(var P=this.tech_.currentTime(),I=[],j=0,B=this.cues.length;j<B;j++){var F=this.cues[j];(F.startTime<=P&&F.endTime>=P||F.startTime===F.endTime&&F.startTime<=P&&F.startTime+.5>=P)&&I.push(F)}if(E=!1,I.length!==this.activeCues_.length)E=!0;else for(var N=0;N<I.length;N++)this.activeCues_.indexOf(I[N])===-1&&(E=!0);return this.activeCues_=I,A.setCues_(this.activeCues_),A},set:function(){}}}),u.src?(t.src=u.src,t.preload_||(t.loaded_=!0),(t.preload_||u.kind!=="subtitles"&&u.kind!=="captions")&&loadTrack(t.src,_assertThisInitialized$1(t))):t.loaded_=!0,t}var o=e.prototype;return o.startTracking=function(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)},o.stopTracking=function(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)},o.addCue=function(t){var u=t;if(u.constructor&&u.constructor.name!=="VTTCue"){u=new window$1$1.vttjs.VTTCue(t.startTime,t.endTime,t.text);for(var h in t)h in u||(u[h]=t[h]);u.id=t.id,u.originalCue_=t}for(var v=this.tech_.textTracks(),w=0;w<v.length;w++)v[w]!==this&&v[w].removeCue(u);this.cues_.push(u),this.cues.setCues_(this.cues_)},o.removeCue=function(t){for(var u=this.cues_.length;u--;){var h=this.cues_[u];if(h===t||h.originalCue_&&h.originalCue_===t){this.cues_.splice(u,1),this.cues.setCues_(this.cues_);break}}},e}(Track);TextTrack.prototype.allowedEvents_={cuechange:"cuechange"};var AudioTrack=function(n){_inheritsLoose(e,n);function e(o){var l;o===void 0&&(o={});var t=mergeOptions$3(o,{kind:AudioTrackKind[o.kind]||""});l=n.call(this,t)||this;var u=!1;return Object.defineProperty(_assertThisInitialized$1(l),"enabled",{get:function(){return u},set:function(v){typeof v!="boolean"||v===u||(u=v,this.trigger("enabledchange"))}}),t.enabled&&(l.enabled=t.enabled),l.loaded_=!0,l}return e}(Track),VideoTrack=function(n){_inheritsLoose(e,n);function e(o){var l;o===void 0&&(o={});var t=mergeOptions$3(o,{kind:VideoTrackKind[o.kind]||""});l=n.call(this,t)||this;var u=!1;return Object.defineProperty(_assertThisInitialized$1(l),"selected",{get:function(){return u},set:function(v){typeof v!="boolean"||v===u||(u=v,this.trigger("selectedchange"))}}),t.selected&&(l.selected=t.selected),l}return e}(Track),NONE=0,LOADING=1,LOADED=2,ERROR=3,HTMLTrackElement=function(n){_inheritsLoose(e,n);function e(o){var l;o===void 0&&(o={}),l=n.call(this)||this;var t,u=new TextTrack(o);return l.kind=u.kind,l.src=u.src,l.srclang=u.language,l.label=u.label,l.default=u.default,Object.defineProperties(_assertThisInitialized$1(l),{readyState:{get:function(){return t}},track:{get:function(){return u}}}),t=NONE,u.addEventListener("loadeddata",function(){t=LOADED,l.trigger({type:"load",target:_assertThisInitialized$1(l)})}),l}return e}(EventTarget$2);HTMLTrackElement.prototype.allowedEvents_={load:"load"},HTMLTrackElement.NONE=NONE,HTMLTrackElement.LOADING=LOADING,HTMLTrackElement.LOADED=LOADED,HTMLTrackElement.ERROR=ERROR;var NORMAL={audio:{ListClass:AudioTrackList,TrackClass:AudioTrack,capitalName:"Audio"},video:{ListClass:VideoTrackList,TrackClass:VideoTrack,capitalName:"Video"},text:{ListClass:TextTrackList,TrackClass:TextTrack,capitalName:"Text"}};Object.keys(NORMAL).forEach(function(n){NORMAL[n].getterName=n+"Tracks",NORMAL[n].privateName=n+"Tracks_"});var REMOTE={remoteText:{ListClass:TextTrackList,TrackClass:TextTrack,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:HtmlTrackElementList,TrackClass:HTMLTrackElement,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},ALL=_extends$2({},NORMAL,REMOTE);REMOTE.names=Object.keys(REMOTE),NORMAL.names=Object.keys(NORMAL),ALL.names=[].concat(REMOTE.names).concat(NORMAL.names);function createTrackHelper(n,e,o,l,t){t===void 0&&(t={});var u=n.textTracks();t.kind=e,o&&(t.label=o),l&&(t.language=l),t.tech=n;var h=new ALL.text.TrackClass(t);return u.addTrack(h),h}var Tech$2=function(n){_inheritsLoose(e,n);function e(l,t){var u;return l===void 0&&(l={}),t===void 0&&(t=function(){}),l.reportTouchActivity=!1,u=n.call(this,null,l,t)||this,u.onDurationChange_=function(h){return u.onDurationChange(h)},u.trackProgress_=function(h){return u.trackProgress(h)},u.trackCurrentTime_=function(h){return u.trackCurrentTime(h)},u.stopTrackingCurrentTime_=function(h){return u.stopTrackingCurrentTime(h)},u.disposeSourceHandler_=function(h){return u.disposeSourceHandler(h)},u.queuedHanders_=new Set,u.hasStarted_=!1,u.on("playing",function(){this.hasStarted_=!0}),u.on("loadstart",function(){this.hasStarted_=!1}),ALL.names.forEach(function(h){var v=ALL[h];l&&l[v.getterName]&&(u[v.privateName]=l[v.getterName])}),u.featuresProgressEvents||u.manualProgressOn(),u.featuresTimeupdateEvents||u.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(h){l["native"+h+"Tracks"]===!1&&(u["featuresNative"+h+"Tracks"]=!1)}),l.nativeCaptions===!1||l.nativeTextTracks===!1?u.featuresNativeTextTracks=!1:(l.nativeCaptions===!0||l.nativeTextTracks===!0)&&(u.featuresNativeTextTracks=!0),u.featuresNativeTextTracks||u.emulateTextTracks(),u.preloadTextTracks=l.preloadTextTracks!==!1,u.autoRemoteTextTracks_=new ALL.text.ListClass,u.initTrackListeners(),l.nativeControlsForTouch||u.emitTapEvents(),u.constructor&&(u.name_=u.constructor.name||"Unknown Tech"),u}var o=e.prototype;return o.triggerSourceset=function(t){var u=this;this.isReady_||this.one("ready",function(){return u.setTimeout(function(){return u.triggerSourceset(t)},1)}),this.trigger({src:t,type:"sourceset"})},o.manualProgressOn=function(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)},o.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)},o.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(bind$2(this,function(){var u=this.bufferedPercent();this.bufferedPercent_!==u&&this.trigger("progress"),this.bufferedPercent_=u,u===1&&this.stopTrackingProgress()}),500)},o.onDurationChange=function(t){this.duration_=this.duration()},o.buffered=function(){return createTimeRanges(0,0)},o.bufferedPercent=function(){return bufferedPercent(this.buffered(),this.duration_)},o.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},o.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)},o.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)},o.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},o.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},o.dispose=function(){this.clearTracks(NORMAL.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),n.prototype.dispose.call(this)},o.clearTracks=function(t){var u=this;t=[].concat(t),t.forEach(function(h){for(var v=u[h+"Tracks"]()||[],w=v.length;w--;){var A=v[w];h==="text"&&u.removeRemoteTextTrack(A),v.removeTrack(A)}})},o.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],u=t.length;u--;){var h=t[u];this.removeRemoteTextTrack(h)}},o.reset=function(){},o.crossOrigin=function(){},o.setCrossOrigin=function(){},o.error=function(t){return t!==void 0&&(this.error_=new MediaError(t),this.trigger("error")),this.error_},o.played=function(){return this.hasStarted_?createTimeRanges(0,0):createTimeRanges()},o.play=function(){},o.setScrubbing=function(){},o.scrubbing=function(){},o.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},o.initTrackListeners=function(){var t=this;NORMAL.names.forEach(function(u){var h=NORMAL[u],v=function(){t.trigger(u+"trackchange")},w=t[h.getterName]();w.addEventListener("removetrack",v),w.addEventListener("addtrack",v),t.on("dispose",function(){w.removeEventListener("removetrack",v),w.removeEventListener("addtrack",v)})})},o.addWebVttScript_=function(){var t=this;if(!window$1$1.WebVTT)if(document$2.body.contains(this.el())){if(!this.options_["vtt.js"]&&isPlain(vtt)&&Object.keys(vtt).length>0){this.trigger("vttjsloaded");return}var u=document$2.createElement("script");u.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",u.onload=function(){t.trigger("vttjsloaded")},u.onerror=function(){t.trigger("vttjserror")},this.on("dispose",function(){u.onload=null,u.onerror=null}),window$1$1.WebVTT=!0,this.el().parentNode.appendChild(u)}else this.ready(this.addWebVttScript_)},o.emulateTextTracks=function(){var t=this,u=this.textTracks(),h=this.remoteTextTracks(),v=function(M){return u.addTrack(M.track)},w=function(M){return u.removeTrack(M.track)};h.on("addtrack",v),h.on("removetrack",w),this.addWebVttScript_();var A=function(){return t.trigger("texttrackchange")},E=function(){A();for(var M=0;M<u.length;M++){var P=u[M];P.removeEventListener("cuechange",A),P.mode==="showing"&&P.addEventListener("cuechange",A)}};E(),u.addEventListener("change",E),u.addEventListener("addtrack",E),u.addEventListener("removetrack",E),this.on("dispose",function(){h.off("addtrack",v),h.off("removetrack",w),u.removeEventListener("change",E),u.removeEventListener("addtrack",E),u.removeEventListener("removetrack",E);for(var C=0;C<u.length;C++){var M=u[C];M.removeEventListener("cuechange",A)}})},o.addTextTrack=function(t,u,h){if(!t)throw new Error("TextTrack kind is required but was not provided");return createTrackHelper(this,t,u,h)},o.createRemoteTextTrack=function(t){var u=mergeOptions$3(t,{tech:this});return new REMOTE.remoteTextEl.TrackClass(u)},o.addRemoteTextTrack=function(t,u){var h=this;t===void 0&&(t={});var v=this.createRemoteTextTrack(t);return u!==!0&&u!==!1&&(log$1.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),u=!0),this.remoteTextTrackEls().addTrackElement_(v),this.remoteTextTracks().addTrack(v.track),u!==!0&&this.ready(function(){return h.autoRemoteTextTracks_.addTrack(v.track)}),v},o.removeRemoteTextTrack=function(t){var u=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(u),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},o.getVideoPlaybackQuality=function(){return{}},o.requestPictureInPicture=function(){var t=this.options_.Promise||window$1$1.Promise;if(t)return t.reject()},o.disablePictureInPicture=function(){return!0},o.setDisablePictureInPicture=function(){},o.requestVideoFrameCallback=function(t){var u=this,h=newGUID();return!this.isReady_||this.paused()?(this.queuedHanders_.add(h),this.one("playing",function(){u.queuedHanders_.has(h)&&(u.queuedHanders_.delete(h),t())})):this.requestNamedAnimationFrame(h,t),h},o.cancelVideoFrameCallback=function(t){this.queuedHanders_.has(t)?this.queuedHanders_.delete(t):this.cancelNamedAnimationFrame(t)},o.setPoster=function(){},o.playsinline=function(){},o.setPlaysinline=function(){},o.overrideNativeAudioTracks=function(){},o.overrideNativeVideoTracks=function(){},o.canPlayType=function(){return""},e.canPlayType=function(){return""},e.canPlaySource=function(t,u){return e.canPlayType(t.type)},e.isTech=function(t){return t.prototype instanceof e||t instanceof e||t===e},e.registerTech=function(t,u){if(e.techs_||(e.techs_={}),!e.isTech(u))throw new Error("Tech "+t+" must be a Tech");if(!e.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!e.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=toTitleCase$1(t),e.techs_[t]=u,e.techs_[toLowerCase(t)]=u,t!=="Tech"&&e.defaultTechOrder_.push(t),u},e.getTech=function(t){if(t){if(e.techs_&&e.techs_[t])return e.techs_[t];if(t=toTitleCase$1(t),window$1$1&&window$1$1.videojs&&window$1$1.videojs[t])return log$1.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),window$1$1.videojs[t]}},e}(Component$1);ALL.names.forEach(function(n){var e=ALL[n];Tech$2.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}}),Tech$2.prototype.featuresVolumeControl=!0,Tech$2.prototype.featuresMuteControl=!0,Tech$2.prototype.featuresFullscreenResize=!1,Tech$2.prototype.featuresPlaybackRate=!1,Tech$2.prototype.featuresProgressEvents=!1,Tech$2.prototype.featuresSourceset=!1,Tech$2.prototype.featuresTimeupdateEvents=!1,Tech$2.prototype.featuresNativeTextTracks=!1,Tech$2.prototype.featuresVideoFrameCallback=!1,Tech$2.withSourceHandlers=function(n){n.registerSourceHandler=function(o,l){var t=n.sourceHandlers;t||(t=n.sourceHandlers=[]),l===void 0&&(l=t.length),t.splice(l,0,o)},n.canPlayType=function(o){for(var l=n.sourceHandlers||[],t,u=0;u<l.length;u++)if(t=l[u].canPlayType(o),t)return t;return""},n.selectSourceHandler=function(o,l){for(var t=n.sourceHandlers||[],u,h=0;h<t.length;h++)if(u=t[h].canHandleSource(o,l),u)return t[h];return null},n.canPlaySource=function(o,l){var t=n.selectSourceHandler(o,l);return t?t.canHandleSource(o,l):""};var e=["seekable","seeking","duration"];e.forEach(function(o){var l=this[o];typeof l=="function"&&(this[o]=function(){return this.sourceHandler_&&this.sourceHandler_[o]?this.sourceHandler_[o].apply(this.sourceHandler_,arguments):l.apply(this,arguments)})},n.prototype),n.prototype.setSource=function(o){var l=n.selectSourceHandler(o,this.options_);l||(n.nativeSourceHandler?l=n.nativeSourceHandler:log$1.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),l!==n.nativeSourceHandler&&(this.currentSource_=o),this.sourceHandler_=l.handleSource(o,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},n.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},Component$1.registerComponent("Tech",Tech$2),Tech$2.registerTech("Tech",Tech$2),Tech$2.defaultTechOrder_=[];var middlewares={},middlewareInstances={},TERMINATOR={};function use(n,e){middlewares[n]=middlewares[n]||[],middlewares[n].push(e)}function setSource(n,e,o){n.setTimeout(function(){return setSourceHelper(e,middlewares[e.type],o,n)},1)}function setTech(n,e){n.forEach(function(o){return o.setTech&&o.setTech(e)})}function get(n,e,o){return n.reduceRight(middlewareIterator(o),e[o]())}function set(n,e,o,l){return e[o](n.reduce(middlewareIterator(o),l))}function mediate(n,e,o,l){l===void 0&&(l=null);var t="call"+toTitleCase$1(o),u=n.reduce(middlewareIterator(t),l),h=u===TERMINATOR,v=h?null:e[o](u);return executeRight(n,o,v,h),v}var allowedGetters={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},allowedSetters={setCurrentTime:1,setMuted:1,setVolume:1},allowedMediators={play:1,pause:1};function middlewareIterator(n){return function(e,o){return e===TERMINATOR?TERMINATOR:o[n]?o[n](e):e}}function executeRight(n,e,o,l){for(var t=n.length-1;t>=0;t--){var u=n[t];u[e]&&u[e](l,o)}}function clearCacheForPlayer(n){middlewareInstances[n.id()]=null}function getOrCreateFactory(n,e){var o=middlewareInstances[n.id()],l=null;if(o==null)return l=e(n),middlewareInstances[n.id()]=[[e,l]],l;for(var t=0;t<o.length;t++){var u=o[t],h=u[0],v=u[1];h===e&&(l=v)}return l===null&&(l=e(n),o.push([e,l])),l}function setSourceHelper(n,e,o,l,t,u){n===void 0&&(n={}),e===void 0&&(e=[]),t===void 0&&(t=[]),u===void 0&&(u=!1);var h=e,v=h[0],w=h.slice(1);if(typeof v=="string")setSourceHelper(n,middlewares[v],o,l,t,u);else if(v){var A=getOrCreateFactory(l,v);if(!A.setSource)return t.push(A),setSourceHelper(n,w,o,l,t,u);A.setSource(assign({},n),function(E,C){if(E)return setSourceHelper(n,w,o,l,t,u);t.push(A),setSourceHelper(C,n.type===C.type?w:middlewares[C.type],o,l,t,u)})}else w.length?setSourceHelper(n,w,o,l,t,u):u?o(n,t):setSourceHelper(n,middlewares["*"],o,l,t,!0)}var MimetypesKind={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},getMimetype=function(e){e===void 0&&(e="");var o=getFileExtension(e),l=MimetypesKind[o.toLowerCase()];return l||""},findMimetype=function(e,o){if(!o)return"";if(e.cache_.source.src===o&&e.cache_.source.type)return e.cache_.source.type;var l=e.cache_.sources.filter(function(v){return v.src===o});if(l.length)return l[0].type;for(var t=e.$$("source"),u=0;u<t.length;u++){var h=t[u];if(h.type&&h.src&&h.src===o)return h.type}return getMimetype(o)},filterSource=function n(e){if(Array.isArray(e)){var o=[];e.forEach(function(l){l=n(l),Array.isArray(l)?o=o.concat(l):isObject$1(l)&&o.push(l)}),e=o}else typeof e=="string"&&e.trim()?e=[fixSource({src:e})]:isObject$1(e)&&typeof e.src=="string"&&e.src&&e.src.trim()?e=[fixSource(e)]:e=[];return e};function fixSource(n){if(!n.type){var e=getMimetype(n.src);e&&(n.type=e)}return n}var MediaLoader=function(n){_inheritsLoose(e,n);function e(o,l,t){var u,h=mergeOptions$3({createEl:!1},l);if(u=n.call(this,o,h,t)||this,!l.playerOptions.sources||l.playerOptions.sources.length===0)for(var v=0,w=l.playerOptions.techOrder;v<w.length;v++){var A=toTitleCase$1(w[v]),E=Tech$2.getTech(A);if(A||(E=Component$1.getComponent(A)),E&&E.isSupported()){o.loadTech_(A);break}}else o.src(l.playerOptions.sources);return u}return e}(Component$1);Component$1.registerComponent("MediaLoader",MediaLoader);var ClickableComponent=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.options_.controlText&&u.controlText(u.options_.controlText),u.handleMouseOver_=function(h){return u.handleMouseOver(h)},u.handleMouseOut_=function(h){return u.handleMouseOut(h)},u.handleClick_=function(h){return u.handleClick(h)},u.handleKeyDown_=function(h){return u.handleKeyDown(h)},u.emitTapEvents(),u.enable(),u}var o=e.prototype;return o.createEl=function(t,u,h){t===void 0&&(t="div"),u===void 0&&(u={}),h===void 0&&(h={}),u=assign({className:this.buildCSSClass(),tabIndex:0},u),t==="button"&&log$1.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),h=assign({role:"button"},h),this.tabIndex_=u.tabIndex;var v=createEl(t,u,h);return v.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(v),v},o.dispose=function(){this.controlTextEl_=null,n.prototype.dispose.call(this)},o.createControlTextEl=function(t){return this.controlTextEl_=createEl("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},o.controlText=function(t,u){if(u===void 0&&(u=this.el()),t===void 0)return this.controlText_||"Need Text";var h=this.localize(t);this.controlText_=t,textContent(this.controlTextEl_,h),!this.nonIconControl&&!this.player_.options_.noUITitleAttributes&&u.setAttribute("title",h)},o.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},o.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),typeof this.tabIndex_<"u"&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))},o.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),typeof this.tabIndex_<"u"&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)},o.handleLanguagechange=function(){this.controlText(this.controlText_)},o.handleClick=function(t){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},o.handleKeyDown=function(t){keycode.isEventKey(t,"Space")||keycode.isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):n.prototype.handleKeyDown.call(this,t)},e}(Component$1);Component$1.registerComponent("ClickableComponent",ClickableComponent);var PosterImage=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.update(),u.update_=function(h){return u.update(h)},l.on("posterchange",u.update_),u}var o=e.prototype;return o.dispose=function(){this.player().off("posterchange",this.update_),n.prototype.dispose.call(this)},o.createEl=function(){var t=createEl("div",{className:"vjs-poster",tabIndex:-1});return t},o.update=function(t){var u=this.player().poster();this.setSrc(u),u?this.show():this.hide()},o.setSrc=function(t){var u="";t&&(u='url("'+t+'")'),this.el_.style.backgroundImage=u},o.handleClick=function(t){if(this.player_.controls()){var u=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;this.player_.tech(!0)&&!((IE_VERSION||IS_EDGE)&&u)&&this.player_.tech(!0).focus(),this.player_.paused()?silencePromise(this.player_.play()):this.player_.pause()}},e}(ClickableComponent);Component$1.registerComponent("PosterImage",PosterImage);var darkGray="#222",lightGray="#ccc",fontMap={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function constructColor(n,e){var o;if(n.length===4)o=n[1]+n[1]+n[2]+n[2]+n[3]+n[3];else if(n.length===7)o=n.slice(1);else throw new Error("Invalid color code provided, "+n+"; must be formatted as e.g. #f0e or #f604e2.");return"rgba("+parseInt(o.slice(0,2),16)+","+parseInt(o.slice(2,4),16)+","+parseInt(o.slice(4,6),16)+","+e+")"}function tryUpdateStyle(n,e,o){try{n.style[e]=o}catch{return}}var TextTrackDisplay=function(n){_inheritsLoose(e,n);function e(l,t,u){var h;h=n.call(this,l,t,u)||this;var v=function(A){return h.updateDisplay(A)};return l.on("loadstart",function(w){return h.toggleDisplay(w)}),l.on("texttrackchange",v),l.on("loadedmetadata",function(w){return h.preselectTrack(w)}),l.ready(bind$2(_assertThisInitialized$1(h),function(){if(l.tech_&&l.tech_.featuresNativeTextTracks){this.hide();return}l.on("fullscreenchange",v),l.on("playerresize",v),window$1$1.addEventListener("orientationchange",v),l.on("dispose",function(){return window$1$1.removeEventListener("orientationchange",v)});for(var w=this.options_.playerOptions.tracks||[],A=0;A<w.length;A++)this.player_.addRemoteTextTrack(w[A],!0);this.preselectTrack()})),h}var o=e.prototype;return o.preselectTrack=function(){for(var t={captions:1,subtitles:1},u=this.player_.textTracks(),h=this.player_.cache_.selectedLanguage,v,w,A,E=0;E<u.length;E++){var C=u[E];h&&h.enabled&&h.language&&h.language===C.language&&C.kind in t?C.kind===h.kind?A=C:A||(A=C):h&&!h.enabled?(A=null,v=null,w=null):C.default&&(C.kind==="descriptions"&&!v?v=C:C.kind in t&&!w&&(w=C))}A?A.mode="showing":w?w.mode="showing":v&&(v.mode="showing")},o.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})},o.clearDisplay=function(){typeof window$1$1.WebVTT=="function"&&window$1$1.WebVTT.processCues(window$1$1,[],this.el_)},o.updateDisplay=function(){var t=this.player_.textTracks(),u=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),u){for(var h=[],v=0;v<t.length;++v){var w=t[v];w.mode==="showing"&&h.push(w)}this.updateForTrack(h);return}for(var A=null,E=null,C=t.length;C--;){var M=t[C];M.mode==="showing"&&(M.kind==="descriptions"?A=M:E=M)}E?(this.getAttribute("aria-live")!=="off"&&this.setAttribute("aria-live","off"),this.updateForTrack(E)):A&&(this.getAttribute("aria-live")!=="assertive"&&this.setAttribute("aria-live","assertive"),this.updateForTrack(A))},o.updateDisplayState=function(t){for(var u=this.player_.textTrackSettings.getValues(),h=t.activeCues,v=h.length;v--;){var w=h[v];if(w){var A=w.displayState;if(u.color&&(A.firstChild.style.color=u.color),u.textOpacity&&tryUpdateStyle(A.firstChild,"color",constructColor(u.color||"#fff",u.textOpacity)),u.backgroundColor&&(A.firstChild.style.backgroundColor=u.backgroundColor),u.backgroundOpacity&&tryUpdateStyle(A.firstChild,"backgroundColor",constructColor(u.backgroundColor||"#000",u.backgroundOpacity)),u.windowColor&&(u.windowOpacity?tryUpdateStyle(A,"backgroundColor",constructColor(u.windowColor,u.windowOpacity)):A.style.backgroundColor=u.windowColor),u.edgeStyle&&(u.edgeStyle==="dropshadow"?A.firstChild.style.textShadow="2px 2px 3px "+darkGray+", 2px 2px 4px "+darkGray+", 2px 2px 5px "+darkGray:u.edgeStyle==="raised"?A.firstChild.style.textShadow="1px 1px "+darkGray+", 2px 2px "+darkGray+", 3px 3px "+darkGray:u.edgeStyle==="depressed"?A.firstChild.style.textShadow="1px 1px "+lightGray+", 0 1px "+lightGray+", -1px -1px "+darkGray+", 0 -1px "+darkGray:u.edgeStyle==="uniform"&&(A.firstChild.style.textShadow="0 0 4px "+darkGray+", 0 0 4px "+darkGray+", 0 0 4px "+darkGray+", 0 0 4px "+darkGray)),u.fontPercent&&u.fontPercent!==1){var E=window$1$1.parseFloat(A.style.fontSize);A.style.fontSize=E*u.fontPercent+"px",A.style.height="auto",A.style.top="auto"}u.fontFamily&&u.fontFamily!=="default"&&(u.fontFamily==="small-caps"?A.firstChild.style.fontVariant="small-caps":A.firstChild.style.fontFamily=fontMap[u.fontFamily])}}},o.updateForTrack=function(t){if(Array.isArray(t)||(t=[t]),!(typeof window$1$1.WebVTT!="function"||t.every(function(P){return!P.activeCues}))){for(var u=[],h=0;h<t.length;++h)for(var v=t[h],w=0;w<v.activeCues.length;++w)u.push(v.activeCues[w]);window$1$1.WebVTT.processCues(window$1$1,u,this.el_);for(var A=0;A<t.length;++A){for(var E=t[A],C=0;C<E.activeCues.length;++C){var M=E.activeCues[C].displayState;addClass(M,"vjs-text-track-cue"),addClass(M,"vjs-text-track-cue-"+(E.language?E.language:A)),E.language&&setAttribute(M,"lang",E.language)}this.player_.textTrackSettings&&this.updateDisplayState(E)}}},e}(Component$1);Component$1.registerComponent("TextTrackDisplay",TextTrackDisplay);var LoadingSpinner=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.createEl=function(){var t=this.player_.isAudio(),u=this.localize(t?"Audio Player":"Video Player"),h=createEl("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[u])}),v=n.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return v.appendChild(h),v},e}(Component$1);Component$1.registerComponent("LoadingSpinner",LoadingSpinner);var Button=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.createEl=function(t,u,h){u===void 0&&(u={}),h===void 0&&(h={}),t="button",u=assign({className:this.buildCSSClass()},u),h=assign({type:"button"},h);var v=createEl(t,u,h);return v.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(v),v},o.addChild=function(t,u){u===void 0&&(u={});var h=this.constructor.name;return log$1.warn("Adding an actionable (user controllable) child to a Button ("+h+") is not supported; use a ClickableComponent instead."),Component$1.prototype.addChild.call(this,t,u)},o.enable=function(){n.prototype.enable.call(this),this.el_.removeAttribute("disabled")},o.disable=function(){n.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},o.handleKeyDown=function(t){if(keycode.isEventKey(t,"Space")||keycode.isEventKey(t,"Enter")){t.stopPropagation();return}n.prototype.handleKeyDown.call(this,t)},e}(ClickableComponent);Component$1.registerComponent("Button",Button);var BigPlayButton=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.mouseused_=!1,u.on("mousedown",function(h){return u.handleMouseDown(h)}),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-big-play-button"},o.handleClick=function(t){var u=this.player_.play();if(this.mouseused_&&t.clientX&&t.clientY){var h=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;silencePromise(u),this.player_.tech(!0)&&!((IE_VERSION||IS_EDGE)&&h)&&this.player_.tech(!0).focus();return}var v=this.player_.getChild("controlBar"),w=v&&v.getChild("playToggle");if(!w){this.player_.tech(!0).focus();return}var A=function(){return w.focus()};isPromise(u)?u.then(A,function(){}):this.setTimeout(A,1)},o.handleKeyDown=function(t){this.mouseused_=!1,n.prototype.handleKeyDown.call(this,t)},o.handleMouseDown=function(t){this.mouseused_=!0},e}(Button);BigPlayButton.prototype.controlText_="Play Video",Component$1.registerComponent("BigPlayButton",BigPlayButton);var CloseButton=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.controlText(t&&t.controlText||u.localize("Close")),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-close-button "+n.prototype.buildCSSClass.call(this)},o.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},o.handleKeyDown=function(t){keycode.isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):n.prototype.handleKeyDown.call(this,t)},e}(Button);Component$1.registerComponent("CloseButton",CloseButton);var PlayToggle=function(n){_inheritsLoose(e,n);function e(l,t){var u;return t===void 0&&(t={}),u=n.call(this,l,t)||this,t.replay=t.replay===void 0||t.replay,u.on(l,"play",function(h){return u.handlePlay(h)}),u.on(l,"pause",function(h){return u.handlePause(h)}),t.replay&&u.on(l,"ended",function(h){return u.handleEnded(h)}),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-play-control "+n.prototype.buildCSSClass.call(this)},o.handleClick=function(t){this.player_.paused()?silencePromise(this.player_.play()):this.player_.pause()},o.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},o.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},o.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},o.handleEnded=function(t){var u=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",function(h){return u.handleSeeked(h)})},e}(Button);PlayToggle.prototype.controlText_="Play",Component$1.registerComponent("PlayToggle",PlayToggle);var defaultImplementation=function(e,o){e=e<0?0:e;var l=Math.floor(e%60),t=Math.floor(e/60%60),u=Math.floor(e/3600),h=Math.floor(o/60%60),v=Math.floor(o/3600);return(isNaN(e)||e===1/0)&&(u=t=l="-"),u=u>0||v>0?u+":":"",t=((u||h>=10)&&t<10?"0"+t:t)+":",l=l<10?"0"+l:l,u+t+l},implementation$6=defaultImplementation;function setFormatTime(n){implementation$6=n}function resetFormatTime(){implementation$6=defaultImplementation}function formatTime(n,e){return e===void 0&&(e=n),implementation$6(n,e)}var TimeDisplay=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.on(l,["timeupdate","ended"],function(h){return u.updateContent(h)}),u.updateTextNode_(),u}var o=e.prototype;return o.createEl=function(){var t=this.buildCSSClass(),u=n.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control"}),h=createEl("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+" "},{role:"presentation"});return u.appendChild(h),this.contentEl_=createEl("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),u.appendChild(this.contentEl_),u},o.dispose=function(){this.contentEl_=null,this.textNode_=null,n.prototype.dispose.call(this)},o.updateTextNode_=function(t){var u=this;t===void 0&&(t=0),t=formatTime(t),this.formattedTime_!==t&&(this.formattedTime_=t,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",function(){if(u.contentEl_){var h=u.textNode_;h&&u.contentEl_.firstChild!==h&&(h=null,log$1.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),u.textNode_=document$2.createTextNode(u.formattedTime_),u.textNode_&&(h?u.contentEl_.replaceChild(u.textNode_,h):u.contentEl_.appendChild(u.textNode_))}}))},o.updateContent=function(t){},e}(Component$1);TimeDisplay.prototype.labelText_="Time",TimeDisplay.prototype.controlText_="Time",Component$1.registerComponent("TimeDisplay",TimeDisplay);var CurrentTimeDisplay=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-current-time"},o.updateContent=function(t){var u;this.player_.ended()?u=this.player_.duration():u=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(u)},e}(TimeDisplay);CurrentTimeDisplay.prototype.labelText_="Current Time",CurrentTimeDisplay.prototype.controlText_="Current Time",Component$1.registerComponent("CurrentTimeDisplay",CurrentTimeDisplay);var DurationDisplay=function(n){_inheritsLoose(e,n);function e(l,t){var u;u=n.call(this,l,t)||this;var h=function(w){return u.updateContent(w)};return u.on(l,"durationchange",h),u.on(l,"loadstart",h),u.on(l,"loadedmetadata",h),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-duration"},o.updateContent=function(t){var u=this.player_.duration();this.updateTextNode_(u)},e}(TimeDisplay);DurationDisplay.prototype.labelText_="Duration",DurationDisplay.prototype.controlText_="Duration",Component$1.registerComponent("DurationDisplay",DurationDisplay);var TimeDivider=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),u=n.prototype.createEl.call(this,"div"),h=n.prototype.createEl.call(this,"span",{textContent:"/"});return u.appendChild(h),t.appendChild(u),t},e}(Component$1);Component$1.registerComponent("TimeDivider",TimeDivider);var RemainingTimeDisplay=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.on(l,"durationchange",function(h){return u.updateContent(h)}),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-remaining-time"},o.createEl=function(){var t=n.prototype.createEl.call(this);return this.options_.displayNegative!==!1&&t.insertBefore(createEl("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},o.updateContent=function(t){if(typeof this.player_.duration()=="number"){var u;this.player_.ended()?u=0:this.player_.remainingTimeDisplay?u=this.player_.remainingTimeDisplay():u=this.player_.remainingTime(),this.updateTextNode_(u)}},e}(TimeDisplay);RemainingTimeDisplay.prototype.labelText_="Remaining Time",RemainingTimeDisplay.prototype.controlText_="Remaining Time",Component$1.registerComponent("RemainingTimeDisplay",RemainingTimeDisplay);var LiveDisplay=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.updateShowing(),u.on(u.player(),"durationchange",function(h){return u.updateShowing(h)}),u}var o=e.prototype;return o.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=createEl("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(createEl("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+" "})),this.contentEl_.appendChild(document$2.createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t},o.dispose=function(){this.contentEl_=null,n.prototype.dispose.call(this)},o.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},e}(Component$1);Component$1.registerComponent("LiveDisplay",LiveDisplay);var SeekToLive=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.updateLiveEdgeStatus(),u.player_.liveTracker&&(u.updateLiveEdgeStatusHandler_=function(h){return u.updateLiveEdgeStatus(h)},u.on(u.player_.liveTracker,"liveedgechange",u.updateLiveEdgeStatusHandler_)),u}var o=e.prototype;return o.createEl=function(){var t=n.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=createEl("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},o.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},o.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},o.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,n.prototype.dispose.call(this)},e}(Button);SeekToLive.prototype.controlText_="Seek to live, currently playing live",Component$1.registerComponent("SeekToLive",SeekToLive);var clamp=function(e,o,l){return e=Number(e),Math.min(l,Math.max(o,isNaN(e)?o:e))},Slider$1=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.handleMouseDown_=function(h){return u.handleMouseDown(h)},u.handleMouseUp_=function(h){return u.handleMouseUp(h)},u.handleKeyDown_=function(h){return u.handleKeyDown(h)},u.handleClick_=function(h){return u.handleClick(h)},u.handleMouseMove_=function(h){return u.handleMouseMove(h)},u.update_=function(h){return u.update(h)},u.bar=u.getChild(u.options_.barName),u.vertical(!!u.options_.vertical),u.enable(),u}var o=e.prototype;return o.enabled=function(){return this.enabled_},o.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},o.disable=function(){if(this.enabled()){var t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},o.createEl=function(t,u,h){return u===void 0&&(u={}),h===void 0&&(h={}),u.className=u.className+" vjs-slider",u=assign({tabIndex:0},u),h=assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},h),n.prototype.createEl.call(this,t,u,h)},o.handleMouseDown=function(t){var u=this.bar.el_.ownerDocument;t.type==="mousedown"&&t.preventDefault(),t.type==="touchstart"&&!IS_CHROME&&t.preventDefault(),blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(u,"mousemove",this.handleMouseMove_),this.on(u,"mouseup",this.handleMouseUp_),this.on(u,"touchmove",this.handleMouseMove_),this.on(u,"touchend",this.handleMouseUp_),this.handleMouseMove(t,!0)},o.handleMouseMove=function(t){},o.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.update()},o.update=function(){var t=this;if(!(!this.el_||!this.bar)){var u=this.getProgress();return u===this.progress_||(this.progress_=u,this.requestNamedAnimationFrame("Slider#update",function(){var h=t.vertical()?"height":"width";t.bar.el().style[h]=(u*100).toFixed(2)+"%"})),u}},o.getProgress=function(){return Number(clamp(this.getPercent(),0,1).toFixed(4))},o.calculateDistance=function(t){var u=getPointerPosition(this.el_,t);return this.vertical()?u.y:u.x},o.handleKeyDown=function(t){keycode.isEventKey(t,"Left")||keycode.isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):keycode.isEventKey(t,"Right")||keycode.isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):n.prototype.handleKeyDown.call(this,t)},o.handleClick=function(t){t.stopPropagation(),t.preventDefault()},o.vertical=function(t){if(t===void 0)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},e}(Component$1);Component$1.registerComponent("Slider",Slider$1);var percentify=function(e,o){return clamp(e/o*100,0,100).toFixed(2)+"%"},LoadProgressBar=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.partEls_=[],u.on(l,"progress",function(h){return u.update(h)}),u}var o=e.prototype;return o.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),u=createEl("span",{className:"vjs-control-text"}),h=createEl("span",{textContent:this.localize("Loaded")}),v=document$2.createTextNode(": ");return this.percentageEl_=createEl("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(u),u.appendChild(h),u.appendChild(v),u.appendChild(this.percentageEl_),t},o.dispose=function(){this.partEls_=null,this.percentageEl_=null,n.prototype.dispose.call(this)},o.update=function(t){var u=this;this.requestNamedAnimationFrame("LoadProgressBar#update",function(){var h=u.player_.liveTracker,v=u.player_.buffered(),w=h&&h.isLive()?h.seekableEnd():u.player_.duration(),A=u.player_.bufferedEnd(),E=u.partEls_,C=percentify(A,w);u.percent_!==C&&(u.el_.style.width=C,textContent(u.percentageEl_,C),u.percent_=C);for(var M=0;M<v.length;M++){var P=v.start(M),I=v.end(M),j=E[M];j||(j=u.el_.appendChild(createEl()),E[M]=j),!(j.dataset.start===P&&j.dataset.end===I)&&(j.dataset.start=P,j.dataset.end=I,j.style.left=percentify(P,A),j.style.width=percentify(I-P,A))}for(var B=E.length;B>v.length;B--)u.el_.removeChild(E[B-1]);E.length=v.length})},e}(Component$1);Component$1.registerComponent("LoadProgressBar",LoadProgressBar);var TimeTooltip=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.update=throttle(bind$2(_assertThisInitialized$1(u),u.update),UPDATE_REFRESH_INTERVAL),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},o.update=function(t,u,h){var v=findPosition(this.el_),w=getBoundingClientRect(this.player_.el()),A=t.width*u;if(!(!w||!v)){var E=t.left-w.left+A,C=t.width-A+(w.right-t.right),M=v.width/2;E<M?M+=M-E:C<M&&(M=C),M<0?M=0:M>v.width&&(M=v.width),M=Math.round(M),this.el_.style.right="-"+M+"px",this.write(h)}},o.write=function(t){textContent(this.el_,t)},o.updateTime=function(t,u,h,v){var w=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",function(){var A,E=w.player_.duration();if(w.player_.liveTracker&&w.player_.liveTracker.isLive()){var C=w.player_.liveTracker.liveWindow(),M=C-u*C;A=(M<1?"":"-")+formatTime(M,C)}else A=formatTime(h,E);w.update(t,u,A),v&&v()})},e}(Component$1);Component$1.registerComponent("TimeTooltip",TimeTooltip);var PlayProgressBar=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.update=throttle(bind$2(_assertThisInitialized$1(u),u.update),UPDATE_REFRESH_INTERVAL),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},o.update=function(t,u){var h=this.getChild("timeTooltip");if(h){var v=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();h.updateTime(t,u,v)}},e}(Component$1);PlayProgressBar.prototype.options_={children:[]},!IS_IOS&&!IS_ANDROID&&PlayProgressBar.prototype.options_.children.push("timeTooltip"),Component$1.registerComponent("PlayProgressBar",PlayProgressBar);var MouseTimeDisplay=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.update=throttle(bind$2(_assertThisInitialized$1(u),u.update),UPDATE_REFRESH_INTERVAL),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},o.update=function(t,u){var h=this,v=u*this.player_.duration();this.getChild("timeTooltip").updateTime(t,u,v,function(){h.el_.style.left=t.width*u+"px"})},e}(Component$1);MouseTimeDisplay.prototype.options_={children:["timeTooltip"]},Component$1.registerComponent("MouseTimeDisplay",MouseTimeDisplay);var STEP_SECONDS=5,PAGE_KEY_MULTIPLIER=12,SeekBar=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.setEventHandlers_(),u}var o=e.prototype;return o.setEventHandlers_=function(){var t=this;this.update_=bind$2(this,this.update),this.update=throttle(this.update_,UPDATE_REFRESH_INTERVAL),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(u){return t.enableInterval_(u)},this.disableIntervalHandler_=function(u){return t.disableInterval_(u)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in document$2&&"visibilityState"in document$2&&this.on(document$2,"visibilitychange",this.toggleVisibility_)},o.toggleVisibility_=function(t){document$2.visibilityState==="hidden"?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(t)):(!this.player_.ended()&&!this.player_.paused()&&this.enableInterval_(),this.update())},o.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,UPDATE_REFRESH_INTERVAL))},o.disableInterval_=function(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&t&&t.type!=="ended"||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},o.update=function(t){var u=this;if(document$2.visibilityState!=="hidden"){var h=n.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",function(){var v=u.player_.ended()?u.player_.duration():u.getCurrentTime_(),w=u.player_.liveTracker,A=u.player_.duration();w&&w.isLive()&&(A=u.player_.liveTracker.liveCurrentTime()),u.percent_!==h&&(u.el_.setAttribute("aria-valuenow",(h*100).toFixed(2)),u.percent_=h),(u.currentTime_!==v||u.duration_!==A)&&(u.el_.setAttribute("aria-valuetext",u.localize("progress bar timing: currentTime={1} duration={2}",[formatTime(v,A),formatTime(A,A)],"{1} of {2}")),u.currentTime_=v,u.duration_=A),u.bar&&u.bar.update(getBoundingClientRect(u.el()),u.getProgress())}),h}},o.userSeek_=function(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(t)},o.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},o.getPercent=function(){var t=this.getCurrentTime_(),u,h=this.player_.liveTracker;return h&&h.isLive()?(u=(t-h.seekableStart())/h.liveWindow(),h.atLiveEdge()&&(u=1)):u=t/this.player_.duration(),u},o.handleMouseDown=function(t){isSingleLeftClick(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),n.prototype.handleMouseDown.call(this,t))},o.handleMouseMove=function(t,u){if(u===void 0&&(u=!1),!!isSingleLeftClick(t)){!u&&!this.player_.scrubbing()&&this.player_.scrubbing(!0);var h,v=this.calculateDistance(t),w=this.player_.liveTracker;if(!w||!w.isLive())h=v*this.player_.duration(),h===this.player_.duration()&&(h=h-.1);else{if(v>=.99){w.seekToLiveEdge();return}var A=w.seekableStart(),E=w.liveCurrentTime();if(h=A+v*w.liveWindow(),h>=E&&(h=E),h<=A&&(h=A+.1),h===1/0)return}this.userSeek_(h)}},o.enable=function(){n.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},o.disable=function(){n.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},o.handleMouseUp=function(t){n.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?silencePromise(this.player_.play()):this.update_()},o.stepForward=function(){this.userSeek_(this.player_.currentTime()+STEP_SECONDS)},o.stepBack=function(){this.userSeek_(this.player_.currentTime()-STEP_SECONDS)},o.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},o.handleKeyDown=function(t){var u=this.player_.liveTracker;if(keycode.isEventKey(t,"Space")||keycode.isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(keycode.isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(keycode.isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),u&&u.isLive()?this.userSeek_(u.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(keycode(t))){t.preventDefault(),t.stopPropagation();var h=(keycode.codes[keycode(t)]-keycode.codes[0])*10/100;u&&u.isLive()?this.userSeek_(u.seekableStart()+u.liveWindow()*h):this.userSeek_(this.player_.duration()*h)}else keycode.isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-STEP_SECONDS*PAGE_KEY_MULTIPLIER)):keycode.isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+STEP_SECONDS*PAGE_KEY_MULTIPLIER)):n.prototype.handleKeyDown.call(this,t)},o.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in document$2&&"visibilityState"in document$2&&this.off(document$2,"visibilitychange",this.toggleVisibility_),n.prototype.dispose.call(this)},e}(Slider$1);SeekBar.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},!IS_IOS&&!IS_ANDROID&&SeekBar.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Component$1.registerComponent("SeekBar",SeekBar);var ProgressControl=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.handleMouseMove=throttle(bind$2(_assertThisInitialized$1(u),u.handleMouseMove),UPDATE_REFRESH_INTERVAL),u.throttledHandleMouseSeek=throttle(bind$2(_assertThisInitialized$1(u),u.handleMouseSeek),UPDATE_REFRESH_INTERVAL),u.handleMouseUpHandler_=function(h){return u.handleMouseUp(h)},u.handleMouseDownHandler_=function(h){return u.handleMouseDown(h)},u.enable(),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},o.handleMouseMove=function(t){var u=this.getChild("seekBar");if(u){var h=u.getChild("playProgressBar"),v=u.getChild("mouseTimeDisplay");if(!(!h&&!v)){var w=u.el(),A=findPosition(w),E=getPointerPosition(w,t).x;E=clamp(E,0,1),v&&v.update(A,E),h&&h.update(A,u.getProgress())}}},o.handleMouseSeek=function(t){var u=this.getChild("seekBar");u&&u.handleMouseMove(t)},o.enabled=function(){return this.enabled_},o.disable=function(){if(this.children().forEach(function(u){return u.disable&&u.disable()}),!!this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var t=this.getChild("seekBar");this.player_.scrubbing(!1),t.videoWasPlaying&&silencePromise(this.player_.play())}},o.enable=function(){this.children().forEach(function(t){return t.enable&&t.enable()}),!this.enabled()&&(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},o.removeListenersAddedOnMousedownAndTouchstart=function(){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},o.handleMouseDown=function(t){var u=this.el_.ownerDocument,h=this.getChild("seekBar");h&&h.handleMouseDown(t),this.on(u,"mousemove",this.throttledHandleMouseSeek),this.on(u,"touchmove",this.throttledHandleMouseSeek),this.on(u,"mouseup",this.handleMouseUpHandler_),this.on(u,"touchend",this.handleMouseUpHandler_)},o.handleMouseUp=function(t){var u=this.getChild("seekBar");u&&u.handleMouseUp(t),this.removeListenersAddedOnMousedownAndTouchstart()},e}(Component$1);ProgressControl.prototype.options_={children:["seekBar"]},Component$1.registerComponent("ProgressControl",ProgressControl);var PictureInPictureToggle=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.on(l,["enterpictureinpicture","leavepictureinpicture"],function(h){return u.handlePictureInPictureChange(h)}),u.on(l,["disablepictureinpicturechanged","loadedmetadata"],function(h){return u.handlePictureInPictureEnabledChange(h)}),u.on(l,["loadedmetadata","audioonlymodechange","audiopostermodechange"],function(){var h=l.currentType().substring(0,5)==="audio";h||l.audioPosterMode()||l.audioOnlyMode()?(l.isInPictureInPicture()&&l.exitPictureInPicture(),u.hide()):u.show()}),u.disable(),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-picture-in-picture-control "+n.prototype.buildCSSClass.call(this)},o.handlePictureInPictureEnabledChange=function(){document$2.pictureInPictureEnabled&&this.player_.disablePictureInPicture()===!1?this.enable():this.disable()},o.handlePictureInPictureChange=function(t){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},o.handleClick=function(t){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},e}(Button);PictureInPictureToggle.prototype.controlText_="Picture-in-Picture",Component$1.registerComponent("PictureInPictureToggle",PictureInPictureToggle);var FullscreenToggle=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.on(l,"fullscreenchange",function(h){return u.handleFullscreenChange(h)}),document$2[l.fsApi_.fullscreenEnabled]===!1&&u.disable(),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-fullscreen-control "+n.prototype.buildCSSClass.call(this)},o.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},o.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(Button);FullscreenToggle.prototype.controlText_="Fullscreen",Component$1.registerComponent("FullscreenToggle",FullscreenToggle);var checkVolumeSupport=function(e,o){o.tech_&&!o.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(o,"loadstart",function(){o.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")})},VolumeLevel=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return t.appendChild(n.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),t},e}(Component$1);Component$1.registerComponent("VolumeLevel",VolumeLevel);var VolumeLevelTooltip=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.update=throttle(bind$2(_assertThisInitialized$1(u),u.update),UPDATE_REFRESH_INTERVAL),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},o.update=function(t,u,h,v){if(!h){var w=getBoundingClientRect(this.el_),A=getBoundingClientRect(this.player_.el()),E=t.width*u;if(!A||!w)return;var C=t.left-A.left+E,M=t.width-E+(A.right-t.right),P=w.width/2;C<P?P+=P-C:M<P&&(P=M),P<0?P=0:P>w.width&&(P=w.width),this.el_.style.right="-"+P+"px"}this.write(v+"%")},o.write=function(t){textContent(this.el_,t)},o.updateVolume=function(t,u,h,v,w){var A=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",function(){A.update(t,u,h,v.toFixed(0)),w&&w()})},e}(Component$1);Component$1.registerComponent("VolumeLevelTooltip",VolumeLevelTooltip);var MouseVolumeLevelDisplay=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.update=throttle(bind$2(_assertThisInitialized$1(u),u.update),UPDATE_REFRESH_INTERVAL),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},o.update=function(t,u,h){var v=this,w=100*u;this.getChild("volumeLevelTooltip").updateVolume(t,u,h,w,function(){h?v.el_.style.bottom=t.height*u+"px":v.el_.style.left=t.width*u+"px"})},e}(Component$1);MouseVolumeLevelDisplay.prototype.options_={children:["volumeLevelTooltip"]},Component$1.registerComponent("MouseVolumeLevelDisplay",MouseVolumeLevelDisplay);var VolumeBar=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.on("slideractive",function(h){return u.updateLastVolume_(h)}),u.on(l,"volumechange",function(h){return u.updateARIAAttributes(h)}),l.ready(function(){return u.updateARIAAttributes()}),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},o.handleMouseDown=function(t){isSingleLeftClick(t)&&n.prototype.handleMouseDown.call(this,t)},o.handleMouseMove=function(t){var u=this.getChild("mouseVolumeLevelDisplay");if(u){var h=this.el(),v=getBoundingClientRect(h),w=this.vertical(),A=getPointerPosition(h,t);A=w?A.y:A.x,A=clamp(A,0,1),u.update(v,A,w)}isSingleLeftClick(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},o.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},o.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},o.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},o.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},o.updateARIAAttributes=function(t){var u=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",u),this.el_.setAttribute("aria-valuetext",u+"%")},o.volumeAsPercentage_=function(){return Math.round(this.player_.volume()*100)},o.updateLastVolume_=function(){var t=this,u=this.player_.volume();this.one("sliderinactive",function(){t.player_.volume()===0&&t.player_.lastVolume_(u)})},e}(Slider$1);VolumeBar.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},!IS_IOS&&!IS_ANDROID&&VolumeBar.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),VolumeBar.prototype.playerEvent="volumechange",Component$1.registerComponent("VolumeBar",VolumeBar);var VolumeControl=function(n){_inheritsLoose(e,n);function e(l,t){var u;return t===void 0&&(t={}),t.vertical=t.vertical||!1,(typeof t.volumeBar>"u"||isPlain(t.volumeBar))&&(t.volumeBar=t.volumeBar||{},t.volumeBar.vertical=t.vertical),u=n.call(this,l,t)||this,checkVolumeSupport(_assertThisInitialized$1(u),l),u.throttledHandleMouseMove=throttle(bind$2(_assertThisInitialized$1(u),u.handleMouseMove),UPDATE_REFRESH_INTERVAL),u.handleMouseUpHandler_=function(h){return u.handleMouseUp(h)},u.on("mousedown",function(h){return u.handleMouseDown(h)}),u.on("touchstart",function(h){return u.handleMouseDown(h)}),u.on("mousemove",function(h){return u.handleMouseMove(h)}),u.on(u.volumeBar,["focus","slideractive"],function(){u.volumeBar.addClass("vjs-slider-active"),u.addClass("vjs-slider-active"),u.trigger("slideractive")}),u.on(u.volumeBar,["blur","sliderinactive"],function(){u.volumeBar.removeClass("vjs-slider-active"),u.removeClass("vjs-slider-active"),u.trigger("sliderinactive")}),u}var o=e.prototype;return o.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),n.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},o.handleMouseDown=function(t){var u=this.el_.ownerDocument;this.on(u,"mousemove",this.throttledHandleMouseMove),this.on(u,"touchmove",this.throttledHandleMouseMove),this.on(u,"mouseup",this.handleMouseUpHandler_),this.on(u,"touchend",this.handleMouseUpHandler_)},o.handleMouseUp=function(t){var u=this.el_.ownerDocument;this.off(u,"mousemove",this.throttledHandleMouseMove),this.off(u,"touchmove",this.throttledHandleMouseMove),this.off(u,"mouseup",this.handleMouseUpHandler_),this.off(u,"touchend",this.handleMouseUpHandler_)},o.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},e}(Component$1);VolumeControl.prototype.options_={children:["volumeBar"]},Component$1.registerComponent("VolumeControl",VolumeControl);var checkMuteSupport=function(e,o){o.tech_&&!o.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(o,"loadstart",function(){o.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")})},MuteToggle=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,checkMuteSupport(_assertThisInitialized$1(u),l),u.on(l,["loadstart","volumechange"],function(h){return u.update(h)}),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-mute-control "+n.prototype.buildCSSClass.call(this)},o.handleClick=function(t){var u=this.player_.volume(),h=this.player_.lastVolume_();if(u===0){var v=h<.1?.1:h;this.player_.volume(v),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},o.update=function(t){this.updateIcon_(),this.updateControlText_()},o.updateIcon_=function(){var t=this.player_.volume(),u=3;IS_IOS&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),t===0||this.player_.muted()?u=0:t<.33?u=1:t<.67&&(u=2);for(var h=0;h<4;h++)removeClass(this.el_,"vjs-vol-"+h);addClass(this.el_,"vjs-vol-"+u)},o.updateControlText_=function(){var t=this.player_.muted()||this.player_.volume()===0,u=t?"Unmute":"Mute";this.controlText()!==u&&this.controlText(u)},e}(Button);MuteToggle.prototype.controlText_="Mute",Component$1.registerComponent("MuteToggle",MuteToggle);var VolumePanel=function(n){_inheritsLoose(e,n);function e(l,t){var u;return t===void 0&&(t={}),typeof t.inline<"u"?t.inline=t.inline:t.inline=!0,(typeof t.volumeControl>"u"||isPlain(t.volumeControl))&&(t.volumeControl=t.volumeControl||{},t.volumeControl.vertical=!t.inline),u=n.call(this,l,t)||this,u.handleKeyPressHandler_=function(h){return u.handleKeyPress(h)},u.on(l,["loadstart"],function(h){return u.volumePanelState_(h)}),u.on(u.muteToggle,"keyup",function(h){return u.handleKeyPress(h)}),u.on(u.volumeControl,"keyup",function(h){return u.handleVolumeControlKeyUp(h)}),u.on("keydown",function(h){return u.handleKeyPress(h)}),u.on("mouseover",function(h){return u.handleMouseOver(h)}),u.on("mouseout",function(h){return u.handleMouseOut(h)}),u.on(u.volumeControl,["slideractive"],u.sliderActive_),u.on(u.volumeControl,["sliderinactive"],u.sliderInactive_),u}var o=e.prototype;return o.sliderActive_=function(){this.addClass("vjs-slider-active")},o.sliderInactive_=function(){this.removeClass("vjs-slider-active")},o.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},o.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),n.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},o.dispose=function(){this.handleMouseOut(),n.prototype.dispose.call(this)},o.handleVolumeControlKeyUp=function(t){keycode.isEventKey(t,"Esc")&&this.muteToggle.focus()},o.handleMouseOver=function(t){this.addClass("vjs-hover"),on(document$2,"keyup",this.handleKeyPressHandler_)},o.handleMouseOut=function(t){this.removeClass("vjs-hover"),off(document$2,"keyup",this.handleKeyPressHandler_)},o.handleKeyPress=function(t){keycode.isEventKey(t,"Esc")&&this.handleMouseOut()},e}(Component$1);VolumePanel.prototype.options_={children:["muteToggle","volumeControl"]},Component$1.registerComponent("VolumePanel",VolumePanel);var Menu=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,t&&(u.menuButton_=t.menuButton),u.focusedChild_=-1,u.on("keydown",function(h){return u.handleKeyDown(h)}),u.boundHandleBlur_=function(h){return u.handleBlur(h)},u.boundHandleTapClick_=function(h){return u.handleTapClick(h)},u}var o=e.prototype;return o.addEventListenerForItem=function(t){t instanceof Component$1&&(this.on(t,"blur",this.boundHandleBlur_),this.on(t,["tap","click"],this.boundHandleTapClick_))},o.removeEventListenerForItem=function(t){t instanceof Component$1&&(this.off(t,"blur",this.boundHandleBlur_),this.off(t,["tap","click"],this.boundHandleTapClick_))},o.removeChild=function(t){typeof t=="string"&&(t=this.getChild(t)),this.removeEventListenerForItem(t),n.prototype.removeChild.call(this,t)},o.addItem=function(t){var u=this.addChild(t);u&&this.addEventListenerForItem(u)},o.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=createEl(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var u=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return u.appendChild(this.contentEl_),on(u,"click",function(h){h.preventDefault(),h.stopImmediatePropagation()}),u},o.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,n.prototype.dispose.call(this)},o.handleBlur=function(t){var u=t.relatedTarget||document$2.activeElement;if(!this.children().some(function(v){return v.el()===u})){var h=this.menuButton_;h&&h.buttonPressed_&&u!==h.el().firstChild&&h.unpressButton()}},o.handleTapClick=function(t){if(this.menuButton_){this.menuButton_.unpressButton();var u=this.children();if(!Array.isArray(u))return;var h=u.filter(function(v){return v.el()===t.target})[0];if(!h)return;h.name()!=="CaptionSettingsMenuItem"&&this.menuButton_.focus()}},o.handleKeyDown=function(t){keycode.isEventKey(t,"Left")||keycode.isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):(keycode.isEventKey(t,"Right")||keycode.isEventKey(t,"Up"))&&(t.preventDefault(),t.stopPropagation(),this.stepBack())},o.stepForward=function(){var t=0;this.focusedChild_!==void 0&&(t=this.focusedChild_+1),this.focus(t)},o.stepBack=function(){var t=0;this.focusedChild_!==void 0&&(t=this.focusedChild_-1),this.focus(t)},o.focus=function(t){t===void 0&&(t=0);var u=this.children().slice(),h=u.length&&u[0].hasClass("vjs-menu-title");h&&u.shift(),u.length>0&&(t<0?t=0:t>=u.length&&(t=u.length-1),this.focusedChild_=t,u[t].el_.focus())},e}(Component$1);Component$1.registerComponent("Menu",Menu);var MenuButton=function(n){_inheritsLoose(e,n);function e(l,t){var u;t===void 0&&(t={}),u=n.call(this,l,t)||this,u.menuButton_=new Button(l,t),u.menuButton_.controlText(u.controlText_),u.menuButton_.el_.setAttribute("aria-haspopup","true");var h=Button.prototype.buildCSSClass();u.menuButton_.el_.className=u.buildCSSClass()+" "+h,u.menuButton_.removeClass("vjs-control"),u.addChild(u.menuButton_),u.update(),u.enabled_=!0;var v=function(A){return u.handleClick(A)};return u.handleMenuKeyUp_=function(w){return u.handleMenuKeyUp(w)},u.on(u.menuButton_,"tap",v),u.on(u.menuButton_,"click",v),u.on(u.menuButton_,"keydown",function(w){return u.handleKeyDown(w)}),u.on(u.menuButton_,"mouseenter",function(){u.addClass("vjs-hover"),u.menu.show(),on(document$2,"keyup",u.handleMenuKeyUp_)}),u.on("mouseleave",function(w){return u.handleMouseLeave(w)}),u.on("keydown",function(w){return u.handleSubmenuKeyDown(w)}),u}var o=e.prototype;return o.update=function(){var t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))},o.createMenu=function(){var t=new Menu(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var u=createEl("li",{className:"vjs-menu-title",textContent:toTitleCase$1(this.options_.title),tabIndex:-1}),h=new Component$1(this.player_,{el:u});t.addItem(h)}if(this.items=this.createItems(),this.items)for(var v=0;v<this.items.length;v++)t.addItem(this.items[v]);return t},o.createItems=function(){},o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},o.buildWrapperCSSClass=function(){var t="vjs-menu-button";this.options_.inline===!0?t+="-inline":t+="-popup";var u=Button.prototype.buildCSSClass();return"vjs-menu-button "+t+" "+u+" "+n.prototype.buildCSSClass.call(this)},o.buildCSSClass=function(){var t="vjs-menu-button";return this.options_.inline===!0?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+n.prototype.buildCSSClass.call(this)},o.controlText=function(t,u){return u===void 0&&(u=this.menuButton_.el()),this.menuButton_.controlText(t,u)},o.dispose=function(){this.handleMouseLeave(),n.prototype.dispose.call(this)},o.handleClick=function(t){this.buttonPressed_?this.unpressButton():this.pressButton()},o.handleMouseLeave=function(t){this.removeClass("vjs-hover"),off(document$2,"keyup",this.handleMenuKeyUp_)},o.focus=function(){this.menuButton_.focus()},o.blur=function(){this.menuButton_.blur()},o.handleKeyDown=function(t){keycode.isEventKey(t,"Esc")||keycode.isEventKey(t,"Tab")?(this.buttonPressed_&&this.unpressButton(),keycode.isEventKey(t,"Tab")||(t.preventDefault(),this.menuButton_.focus())):(keycode.isEventKey(t,"Up")||keycode.isEventKey(t,"Down"))&&(this.buttonPressed_||(t.preventDefault(),this.pressButton()))},o.handleMenuKeyUp=function(t){(keycode.isEventKey(t,"Esc")||keycode.isEventKey(t,"Tab"))&&this.removeClass("vjs-hover")},o.handleSubmenuKeyPress=function(t){this.handleSubmenuKeyDown(t)},o.handleSubmenuKeyDown=function(t){(keycode.isEventKey(t,"Esc")||keycode.isEventKey(t,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),keycode.isEventKey(t,"Tab")||(t.preventDefault(),this.menuButton_.focus()))},o.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),IS_IOS&&isInFrame())return;this.menu.focus()}},o.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},o.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},o.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},e}(Component$1);Component$1.registerComponent("MenuButton",MenuButton);var TrackButton=function(n){_inheritsLoose(e,n);function e(o,l){var t,u=l.tracks;if(t=n.call(this,o,l)||this,t.items.length<=1&&t.hide(),!u)return _assertThisInitialized$1(t);var h=bind$2(_assertThisInitialized$1(t),t.update);return u.addEventListener("removetrack",h),u.addEventListener("addtrack",h),u.addEventListener("labelchange",h),t.player_.on("ready",h),t.player_.on("dispose",function(){u.removeEventListener("removetrack",h),u.removeEventListener("addtrack",h),u.removeEventListener("labelchange",h)}),t}return e}(MenuButton);Component$1.registerComponent("TrackButton",TrackButton);var MenuKeys=["Tab","Esc","Up","Down","Right","Left"],MenuItem=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.selectable=t.selectable,u.isSelected_=t.selected||!1,u.multiSelectable=t.multiSelectable,u.selected(u.isSelected_),u.selectable?u.multiSelectable?u.el_.setAttribute("role","menuitemcheckbox"):u.el_.setAttribute("role","menuitemradio"):u.el_.setAttribute("role","menuitem"),u}var o=e.prototype;return o.createEl=function(t,u,h){this.nonIconControl=!0;var v=n.prototype.createEl.call(this,"li",assign({className:"vjs-menu-item",tabIndex:-1},u),h);return v.replaceChild(createEl("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),v.querySelector(".vjs-icon-placeholder")),v},o.handleKeyDown=function(t){MenuKeys.some(function(u){return keycode.isEventKey(t,u)})||n.prototype.handleKeyDown.call(this,t)},o.handleClick=function(t){this.selected(!0)},o.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},e}(ClickableComponent);Component$1.registerComponent("MenuItem",MenuItem);var TextTrackMenuItem=function(n){_inheritsLoose(e,n);function e(l,t){var u,h=t.track,v=l.textTracks();t.label=h.label||h.language||"Unknown",t.selected=h.mode==="showing",u=n.call(this,l,t)||this,u.track=h,u.kinds=(t.kinds||[t.kind||u.track.kind]).filter(Boolean);var w=function(){for(var M=arguments.length,P=new Array(M),I=0;I<M;I++)P[I]=arguments[I];u.handleTracksChange.apply(_assertThisInitialized$1(u),P)},A=function(){for(var M=arguments.length,P=new Array(M),I=0;I<M;I++)P[I]=arguments[I];u.handleSelectedLanguageChange.apply(_assertThisInitialized$1(u),P)};if(l.on(["loadstart","texttrackchange"],w),v.addEventListener("change",w),v.addEventListener("selectedlanguagechange",A),u.on("dispose",function(){l.off(["loadstart","texttrackchange"],w),v.removeEventListener("change",w),v.removeEventListener("selectedlanguagechange",A)}),v.onchange===void 0){var E;u.on(["tap","click"],function(){if(typeof window$1$1.Event!="object")try{E=new window$1$1.Event("change")}catch{}E||(E=document$2.createEvent("Event"),E.initEvent("change",!0,!0)),v.dispatchEvent(E)})}return u.handleTracksChange(),u}var o=e.prototype;return o.handleClick=function(t){var u=this.track,h=this.player_.textTracks();if(n.prototype.handleClick.call(this,t),!!h)for(var v=0;v<h.length;v++){var w=h[v];this.kinds.indexOf(w.kind)!==-1&&(w===u?w.mode!=="showing"&&(w.mode="showing"):w.mode!=="disabled"&&(w.mode="disabled"))}},o.handleTracksChange=function(t){var u=this.track.mode==="showing";u!==this.isSelected_&&this.selected(u)},o.handleSelectedLanguageChange=function(t){if(this.track.mode==="showing"){var u=this.player_.cache_.selectedLanguage;if(u&&u.enabled&&u.language===this.track.language&&u.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},o.dispose=function(){this.track=null,n.prototype.dispose.call(this)},e}(MenuItem);Component$1.registerComponent("TextTrackMenuItem",TextTrackMenuItem);var OffTextTrackMenuItem=function(n){_inheritsLoose(e,n);function e(l,t){return t.track={player:l,kind:t.kind,kinds:t.kinds,default:!1,mode:"disabled"},t.kinds||(t.kinds=[t.kind]),t.label?t.track.label=t.label:t.track.label=t.kinds.join(" and ")+" off",t.selectable=!0,t.multiSelectable=!1,n.call(this,l,t)||this}var o=e.prototype;return o.handleTracksChange=function(t){for(var u=this.player().textTracks(),h=!0,v=0,w=u.length;v<w;v++){var A=u[v];if(this.options_.kinds.indexOf(A.kind)>-1&&A.mode==="showing"){h=!1;break}}h!==this.isSelected_&&this.selected(h)},o.handleSelectedLanguageChange=function(t){for(var u=this.player().textTracks(),h=!0,v=0,w=u.length;v<w;v++){var A=u[v];if(["captions","descriptions","subtitles"].indexOf(A.kind)>-1&&A.mode==="showing"){h=!1;break}}h&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(TextTrackMenuItem);Component$1.registerComponent("OffTextTrackMenuItem",OffTextTrackMenuItem);var TextTrackButton=function(n){_inheritsLoose(e,n);function e(l,t){return t===void 0&&(t={}),t.tracks=l.textTracks(),n.call(this,l,t)||this}var o=e.prototype;return o.createItems=function(t,u){t===void 0&&(t=[]),u===void 0&&(u=TextTrackMenuItem);var h;this.label_&&(h=this.label_+" off"),t.push(new OffTextTrackMenuItem(this.player_,{kinds:this.kinds_,kind:this.kind_,label:h})),this.hideThreshold_+=1;var v=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var w=0;w<v.length;w++){var A=v[w];if(this.kinds_.indexOf(A.kind)>-1){var E=new u(this.player_,{track:A,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});E.addClass("vjs-"+A.kind+"-menu-item"),t.push(E)}}return t},e}(TrackButton);Component$1.registerComponent("TextTrackButton",TextTrackButton);var ChaptersTrackMenuItem=function(n){_inheritsLoose(e,n);function e(l,t){var u,h=t.track,v=t.cue,w=l.currentTime();return t.selectable=!0,t.multiSelectable=!1,t.label=v.text,t.selected=v.startTime<=w&&w<v.endTime,u=n.call(this,l,t)||this,u.track=h,u.cue=v,u}var o=e.prototype;return o.handleClick=function(t){n.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime)},e}(MenuItem);Component$1.registerComponent("ChaptersTrackMenuItem",ChaptersTrackMenuItem);var ChaptersButton=function(n){_inheritsLoose(e,n);function e(l,t,u){var h;return h=n.call(this,l,t,u)||this,h.selectCurrentItem_=function(){h.items.forEach(function(v){v.selected(h.track_.activeCues[0]===v.cue)})},h}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},o.buildWrapperCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildWrapperCSSClass.call(this)},o.update=function(t){if(!(t&&t.track&&t.track.kind!=="chapters")){var u=this.findChaptersTrack();u!==this.track_?(this.setTrack(u),n.prototype.update.call(this)):(!this.items||u&&u.cues&&u.cues.length!==this.items.length)&&n.prototype.update.call(this)}},o.setTrack=function(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var u=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);u&&u.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";var h=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);h&&h.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}},o.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],u=t.length-1;u>=0;u--){var h=t[u];if(h.kind===this.kind_)return h}},o.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(toTitleCase$1(this.kind_))},o.createMenu=function(){return this.options_.title=this.getMenuCaption(),n.prototype.createMenu.call(this)},o.createItems=function(){var t=[];if(!this.track_)return t;var u=this.track_.cues;if(!u)return t;for(var h=0,v=u.length;h<v;h++){var w=u[h],A=new ChaptersTrackMenuItem(this.player_,{track:this.track_,cue:w});t.push(A)}return t},e}(TextTrackButton);ChaptersButton.prototype.kind_="chapters",ChaptersButton.prototype.controlText_="Chapters",Component$1.registerComponent("ChaptersButton",ChaptersButton);var DescriptionsButton=function(n){_inheritsLoose(e,n);function e(l,t,u){var h;h=n.call(this,l,t,u)||this;var v=l.textTracks(),w=bind$2(_assertThisInitialized$1(h),h.handleTracksChange);return v.addEventListener("change",w),h.on("dispose",function(){v.removeEventListener("change",w)}),h}var o=e.prototype;return o.handleTracksChange=function(t){for(var u=this.player().textTracks(),h=!1,v=0,w=u.length;v<w;v++){var A=u[v];if(A.kind!==this.kind_&&A.mode==="showing"){h=!0;break}}h?this.disable():this.enable()},o.buildCSSClass=function(){return"vjs-descriptions-button "+n.prototype.buildCSSClass.call(this)},o.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+n.prototype.buildWrapperCSSClass.call(this)},e}(TextTrackButton);DescriptionsButton.prototype.kind_="descriptions",DescriptionsButton.prototype.controlText_="Descriptions",Component$1.registerComponent("DescriptionsButton",DescriptionsButton);var SubtitlesButton=function(n){_inheritsLoose(e,n);function e(l,t,u){return n.call(this,l,t,u)||this}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},o.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildWrapperCSSClass.call(this)},e}(TextTrackButton);SubtitlesButton.prototype.kind_="subtitles",SubtitlesButton.prototype.controlText_="Subtitles",Component$1.registerComponent("SubtitlesButton",SubtitlesButton);var CaptionSettingsMenuItem=function(n){_inheritsLoose(e,n);function e(l,t){var u;return t.track={player:l,kind:t.kind,label:t.kind+" settings",selectable:!1,default:!1,mode:"disabled"},t.selectable=!1,t.name="CaptionSettingsMenuItem",u=n.call(this,l,t)||this,u.addClass("vjs-texttrack-settings"),u.controlText(", opens "+t.kind+" settings dialog"),u}var o=e.prototype;return o.handleClick=function(t){this.player().getChild("textTrackSettings").open()},e}(TextTrackMenuItem);Component$1.registerComponent("CaptionSettingsMenuItem",CaptionSettingsMenuItem);var CaptionsButton=function(n){_inheritsLoose(e,n);function e(l,t,u){return n.call(this,l,t,u)||this}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-captions-button "+n.prototype.buildCSSClass.call(this)},o.buildWrapperCSSClass=function(){return"vjs-captions-button "+n.prototype.buildWrapperCSSClass.call(this)},o.createItems=function(){var t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new CaptionSettingsMenuItem(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),n.prototype.createItems.call(this,t)},e}(TextTrackButton);CaptionsButton.prototype.kind_="captions",CaptionsButton.prototype.controlText_="Captions",Component$1.registerComponent("CaptionsButton",CaptionsButton);var SubsCapsMenuItem=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.createEl=function(t,u,h){var v=n.prototype.createEl.call(this,t,u,h),w=v.querySelector(".vjs-menu-item-text");return this.options_.track.kind==="captions"&&(w.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),w.appendChild(createEl("span",{className:"vjs-control-text",textContent:" "+this.localize("Captions")}))),v},e}(TextTrackMenuItem);Component$1.registerComponent("SubsCapsMenuItem",SubsCapsMenuItem);var SubsCapsButton=function(n){_inheritsLoose(e,n);function e(l,t){var u;return t===void 0&&(t={}),u=n.call(this,l,t)||this,u.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(u.player_.language_)>-1&&(u.label_="captions"),u.menuButton_.controlText(toTitleCase$1(u.label_)),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-subs-caps-button "+n.prototype.buildCSSClass.call(this)},o.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+n.prototype.buildWrapperCSSClass.call(this)},o.createItems=function(){var t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new CaptionSettingsMenuItem(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=n.prototype.createItems.call(this,t,SubsCapsMenuItem),t},e}(TextTrackButton);SubsCapsButton.prototype.kinds_=["captions","subtitles"],SubsCapsButton.prototype.controlText_="Subtitles",Component$1.registerComponent("SubsCapsButton",SubsCapsButton);var AudioTrackMenuItem=function(n){_inheritsLoose(e,n);function e(l,t){var u,h=t.track,v=l.audioTracks();t.label=h.label||h.language||"Unknown",t.selected=h.enabled,u=n.call(this,l,t)||this,u.track=h,u.addClass("vjs-"+h.kind+"-menu-item");var w=function(){for(var E=arguments.length,C=new Array(E),M=0;M<E;M++)C[M]=arguments[M];u.handleTracksChange.apply(_assertThisInitialized$1(u),C)};return v.addEventListener("change",w),u.on("dispose",function(){v.removeEventListener("change",w)}),u}var o=e.prototype;return o.createEl=function(t,u,h){var v=n.prototype.createEl.call(this,t,u,h),w=v.querySelector(".vjs-menu-item-text");return this.options_.track.kind==="main-desc"&&(w.appendChild(createEl("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),w.appendChild(createEl("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),v},o.handleClick=function(t){if(n.prototype.handleClick.call(this,t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks)for(var u=this.player_.audioTracks(),h=0;h<u.length;h++){var v=u[h];v!==this.track&&(v.enabled=v===this.track)}},o.handleTracksChange=function(t){this.selected(this.track.enabled)},e}(MenuItem);Component$1.registerComponent("AudioTrackMenuItem",AudioTrackMenuItem);var AudioTrackButton=function(n){_inheritsLoose(e,n);function e(l,t){return t===void 0&&(t={}),t.tracks=l.audioTracks(),n.call(this,l,t)||this}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-audio-button "+n.prototype.buildCSSClass.call(this)},o.buildWrapperCSSClass=function(){return"vjs-audio-button "+n.prototype.buildWrapperCSSClass.call(this)},o.createItems=function(t){t===void 0&&(t=[]),this.hideThreshold_=1;for(var u=this.player_.audioTracks(),h=0;h<u.length;h++){var v=u[h];t.push(new AudioTrackMenuItem(this.player_,{track:v,selectable:!0,multiSelectable:!1}))}return t},e}(TrackButton);AudioTrackButton.prototype.controlText_="Audio Track",Component$1.registerComponent("AudioTrackButton",AudioTrackButton);var PlaybackRateMenuItem=function(n){_inheritsLoose(e,n);function e(l,t){var u,h=t.rate,v=parseFloat(h,10);return t.label=h,t.selected=v===l.playbackRate(),t.selectable=!0,t.multiSelectable=!1,u=n.call(this,l,t)||this,u.label=h,u.rate=v,u.on(l,"ratechange",function(w){return u.update(w)}),u}var o=e.prototype;return o.handleClick=function(t){n.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},o.update=function(t){this.selected(this.player().playbackRate()===this.rate)},e}(MenuItem);PlaybackRateMenuItem.prototype.contentElType="button",Component$1.registerComponent("PlaybackRateMenuItem",PlaybackRateMenuItem);var PlaybackRateMenuButton=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.menuButton_.el_.setAttribute("aria-describedby",u.labelElId_),u.updateVisibility(),u.updateLabel(),u.on(l,"loadstart",function(h){return u.updateVisibility(h)}),u.on(l,"ratechange",function(h){return u.updateLabel(h)}),u.on(l,"playbackrateschange",function(h){return u.handlePlaybackRateschange(h)}),u}var o=e.prototype;return o.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=createEl("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t},o.dispose=function(){this.labelEl_=null,n.prototype.dispose.call(this)},o.buildCSSClass=function(){return"vjs-playback-rate "+n.prototype.buildCSSClass.call(this)},o.buildWrapperCSSClass=function(){return"vjs-playback-rate "+n.prototype.buildWrapperCSSClass.call(this)},o.createItems=function(){for(var t=this.playbackRates(),u=[],h=t.length-1;h>=0;h--)u.push(new PlaybackRateMenuItem(this.player(),{rate:t[h]+"x"}));return u},o.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},o.handleClick=function(t){var u=this.player().playbackRate(),h=this.playbackRates(),v=h.indexOf(u),w=(v+1)%h.length;this.player().playbackRate(h[w])},o.handlePlaybackRateschange=function(t){this.update()},o.playbackRates=function(){var t=this.player();return t.playbackRates&&t.playbackRates()||[]},o.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},o.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},o.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},e}(MenuButton);PlaybackRateMenuButton.prototype.controlText_="Playback Rate",Component$1.registerComponent("PlaybackRateMenuButton",PlaybackRateMenuButton);var Spacer=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-spacer "+n.prototype.buildCSSClass.call(this)},o.createEl=function(t,u,h){return t===void 0&&(t="div"),u===void 0&&(u={}),h===void 0&&(h={}),u.className||(u.className=this.buildCSSClass()),n.prototype.createEl.call(this,t,u,h)},e}(Component$1);Component$1.registerComponent("Spacer",Spacer);var CustomControlSpacer=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-custom-control-spacer "+n.prototype.buildCSSClass.call(this)},o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:" "})},e}(Spacer);Component$1.registerComponent("CustomControlSpacer",CustomControlSpacer);var ControlBar=function(n){_inheritsLoose(e,n);function e(){return n.apply(this,arguments)||this}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},e}(Component$1);ControlBar.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in document$2&&ControlBar.prototype.options_.children.splice(ControlBar.prototype.options_.children.length-1,0,"pictureInPictureToggle"),Component$1.registerComponent("ControlBar",ControlBar);var ErrorDisplay=function(n){_inheritsLoose(e,n);function e(l,t){var u;return u=n.call(this,l,t)||this,u.on(l,"error",function(h){return u.open(h)}),u}var o=e.prototype;return o.buildCSSClass=function(){return"vjs-error-display "+n.prototype.buildCSSClass.call(this)},o.content=function(){var t=this.player().error();return t?this.localize(t.message):""},e}(ModalDialog);ErrorDisplay.prototype.options_=_extends$2({},ModalDialog.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Component$1.registerComponent("ErrorDisplay",ErrorDisplay);var LOCAL_STORAGE_KEY$1="vjs-text-track-settings",COLOR_BLACK=["#000","Black"],COLOR_BLUE=["#00F","Blue"],COLOR_CYAN=["#0FF","Cyan"],COLOR_GREEN=["#0F0","Green"],COLOR_MAGENTA=["#F0F","Magenta"],COLOR_RED=["#F00","Red"],COLOR_WHITE=["#FFF","White"],COLOR_YELLOW=["#FF0","Yellow"],OPACITY_OPAQUE=["1","Opaque"],OPACITY_SEMI=["0.5","Semi-Transparent"],OPACITY_TRANS=["0","Transparent"],selectConfigs={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[COLOR_BLACK,COLOR_WHITE,COLOR_RED,COLOR_GREEN,COLOR_BLUE,COLOR_YELLOW,COLOR_MAGENTA,COLOR_CYAN]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[OPACITY_OPAQUE,OPACITY_SEMI,OPACITY_TRANS]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[COLOR_WHITE,COLOR_BLACK,COLOR_RED,COLOR_GREEN,COLOR_BLUE,COLOR_YELLOW,COLOR_MAGENTA,COLOR_CYAN]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return e==="1.00"?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[OPACITY_OPAQUE,OPACITY_SEMI]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[OPACITY_TRANS,OPACITY_SEMI,OPACITY_OPAQUE]}};selectConfigs.windowColor.options=selectConfigs.backgroundColor.options;function parseOptionValue(n,e){if(e&&(n=e(n)),n&&n!=="none")return n}function getSelectedOptionValue(n,e){var o=n.options[n.options.selectedIndex].value;return parseOptionValue(o,e)}function setSelectedOption(n,e,o){if(e){for(var l=0;l<n.options.length;l++)if(parseOptionValue(n.options[l].value,o)===e){n.selectedIndex=l;break}}}var TextTrackSettings=function(n){_inheritsLoose(e,n);function e(l,t){var u;return t.temporary=!1,u=n.call(this,l,t)||this,u.updateDisplay=u.updateDisplay.bind(_assertThisInitialized$1(u)),u.fill(),u.hasBeenOpened_=u.hasBeenFilled_=!0,u.endDialog=createEl("p",{className:"vjs-control-text",textContent:u.localize("End of dialog window.")}),u.el().appendChild(u.endDialog),u.setDefaults(),t.persistTextTrackSettings===void 0&&(u.options_.persistTextTrackSettings=u.options_.playerOptions.persistTextTrackSettings),u.on(u.$(".vjs-done-button"),"click",function(){u.saveSettings(),u.close()}),u.on(u.$(".vjs-default-button"),"click",function(){u.setDefaults(),u.updateDisplay()}),each(selectConfigs,function(h){u.on(u.$(h.selector),"change",u.updateDisplay)}),u.options_.persistTextTrackSettings&&u.restoreSettings(),u}var o=e.prototype;return o.dispose=function(){this.endDialog=null,n.prototype.dispose.call(this)},o.createElSelect_=function(t,u,h){var v=this;u===void 0&&(u=""),h===void 0&&(h="label");var w=selectConfigs[t],A=w.id.replace("%s",this.id_),E=[u,A].join(" ").trim();return["<"+h+' id="'+A+'" class="'+(h==="label"?"vjs-label":"")+'">',this.localize(w.label),"</"+h+">",'<select aria-labelledby="'+E+'">'].concat(w.options.map(function(C){var M=A+"-"+C[1].replace(/\W+/g,"");return['<option id="'+M+'" value="'+C[0]+'" ','aria-labelledby="'+E+" "+M+'">',v.localize(C[1]),"</option>"].join("")})).concat("</select>").join("")},o.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},o.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},o.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},o.createElColors_=function(){return createEl("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},o.createElFont_=function(){return createEl("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},o.createElControls_=function(){var t=this.localize("restore all settings to the default values");return createEl("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},o.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},o.label=function(){return this.localize("Caption Settings Dialog")},o.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},o.buildCSSClass=function(){return n.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},o.getValues=function(){var t=this;return reduce(selectConfigs,function(u,h,v){var w=getSelectedOptionValue(t.$(h.selector),h.parser);return w!==void 0&&(u[v]=w),u},{})},o.setValues=function(t){var u=this;each(selectConfigs,function(h,v){setSelectedOption(u.$(h.selector),t[v],h.parser)})},o.setDefaults=function(){var t=this;each(selectConfigs,function(u){var h=u.hasOwnProperty("default")?u.default:0;t.$(u.selector).selectedIndex=h})},o.restoreSettings=function(){var t;try{t=JSON.parse(window$1$1.localStorage.getItem(LOCAL_STORAGE_KEY$1))}catch(u){log$1.warn(u)}t&&this.setValues(t)},o.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?window$1$1.localStorage.setItem(LOCAL_STORAGE_KEY$1,JSON.stringify(t)):window$1$1.localStorage.removeItem(LOCAL_STORAGE_KEY$1)}catch(u){log$1.warn(u)}}},o.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},o.conditionalBlur_=function(){this.previouslyActiveEl_=null;var t=this.player_.controlBar,u=t&&t.subsCapsButton,h=t&&t.captionsButton;u?u.focus():h&&h.focus()},e}(ModalDialog);Component$1.registerComponent("TextTrackSettings",TextTrackSettings);var ResizeManager=function(n){_inheritsLoose(e,n);function e(l,t){var u,h=t.ResizeObserver||window$1$1.ResizeObserver;t.ResizeObserver===null&&(h=!1);var v=mergeOptions$3({createEl:!h,reportTouchActivity:!1},t);return u=n.call(this,l,v)||this,u.ResizeObserver=t.ResizeObserver||window$1$1.ResizeObserver,u.loadListener_=null,u.resizeObserver_=null,u.debouncedHandler_=debounce(function(){u.resizeHandler()},100,!1,_assertThisInitialized$1(u)),h?(u.resizeObserver_=new u.ResizeObserver(u.debouncedHandler_),u.resizeObserver_.observe(l.el())):(u.loadListener_=function(){if(!(!u.el_||!u.el_.contentWindow)){var w=u.debouncedHandler_,A=u.unloadListener_=function(){off(this,"resize",w),off(this,"unload",A),A=null};on(u.el_.contentWindow,"unload",A),on(u.el_.contentWindow,"resize",w)}},u.one("load",u.loadListener_)),u}var o=e.prototype;return o.createEl=function(){return n.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})},o.resizeHandler=function(){!this.player_||!this.player_.trigger||this.player_.trigger("playerresize")},o.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,n.prototype.dispose.call(this)},e}(Component$1);Component$1.registerComponent("ResizeManager",ResizeManager);var defaults$1={trackingThreshold:20,liveTolerance:15},LiveTracker=function(n){_inheritsLoose(e,n);function e(l,t){var u,h=mergeOptions$3(defaults$1,t,{createEl:!1});return u=n.call(this,l,h)||this,u.handleVisibilityChange_=function(v){return u.handleVisibilityChange(v)},u.trackLiveHandler_=function(){return u.trackLive_()},u.handlePlay_=function(v){return u.handlePlay(v)},u.handleFirstTimeupdate_=function(v){return u.handleFirstTimeupdate(v)},u.handleSeeked_=function(v){return u.handleSeeked(v)},u.seekToLiveEdge_=function(v){return u.seekToLiveEdge(v)},u.reset_(),u.on(u.player_,"durationchange",function(v){return u.handleDurationchange(v)}),u.on(u.player_,"canplay",function(){return u.toggleTracking()}),IE_VERSION&&"hidden"in document$2&&"visibilityState"in document$2&&u.on(document$2,"visibilitychange",u.handleVisibilityChange_),u}var o=e.prototype;return o.handleVisibilityChange=function(){this.player_.duration()===1/0&&(document$2.hidden?this.stopTracking():this.startTracking())},o.trackLive_=function(){var t=this.player_.seekable();if(!(!t||!t.length)){var u=Number(window$1$1.performance.now().toFixed(4)),h=this.lastTime_===-1?0:(u-this.lastTime_)/1e3;this.lastTime_=u,this.pastSeekEnd_=this.pastSeekEnd()+h;var v=this.liveCurrentTime(),w=this.player_.currentTime(),A=this.player_.paused()||this.seekedBehindLive_||Math.abs(v-w)>this.options_.liveTolerance;(!this.timeupdateSeen_||v===1/0)&&(A=!1),A!==this.behindLiveEdge_&&(this.behindLiveEdge_=A,this.trigger("liveedgechange"))}},o.handleDurationchange=function(){this.toggleTracking()},o.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},o.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,UPDATE_REFRESH_INTERVAL),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},o.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},o.handleSeeked=function(){var t=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&t>2,this.nextSeekedFromUser_=!1,this.trackLive_()},o.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},o.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},o.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},o.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},o.seekableEnd=function(){for(var t=this.player_.seekable(),u=[],h=t?t.length:0;h--;)u.push(t.end(h));return u.length?u.sort()[u.length-1]:1/0},o.seekableStart=function(){for(var t=this.player_.seekable(),u=[],h=t?t.length:0;h--;)u.push(t.start(h));return u.length?u.sort()[0]:0},o.liveWindow=function(){var t=this.liveCurrentTime();return t===1/0?0:t-this.seekableStart()},o.isLive=function(){return this.isTracking()},o.atLiveEdge=function(){return!this.behindLiveEdge()},o.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},o.pastSeekEnd=function(){var t=this.seekableEnd();return this.lastSeekEnd_!==-1&&t!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=t,this.pastSeekEnd_},o.behindLiveEdge=function(){return this.behindLiveEdge_},o.isTracking=function(){return typeof this.trackingInterval_=="number"},o.seekToLiveEdge=function(){this.seekedBehindLive_=!1,!this.atLiveEdge()&&(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},o.dispose=function(){this.off(document$2,"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),n.prototype.dispose.call(this)},e}(Component$1);Component$1.registerComponent("LiveTracker",LiveTracker);var sourcesetLoad=function(e){var o=e.el();if(o.hasAttribute("src"))return e.triggerSourceset(o.src),!0;var l=e.$$("source"),t=[],u="";if(!l.length)return!1;for(var h=0;h<l.length;h++){var v=l[h].src;v&&t.indexOf(v)===-1&&t.push(v)}return t.length?(t.length===1&&(u=t[0]),e.triggerSourceset(u),!0):!1},innerHTMLDescriptorPolyfill=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var o=document$2.createElement(this.nodeName.toLowerCase());o.innerHTML=e;for(var l=document$2.createDocumentFragment();o.childNodes.length;)l.appendChild(o.childNodes[0]);return this.innerText="",window$1$1.Element.prototype.appendChild.call(this,l),this.innerHTML}}),getDescriptor=function(e,o){for(var l={},t=0;t<e.length&&(l=Object.getOwnPropertyDescriptor(e[t],o),!(l&&l.set&&l.get));t++);return l.enumerable=!0,l.configurable=!0,l},getInnerHTMLDescriptor=function(e){return getDescriptor([e.el(),window$1$1.HTMLMediaElement.prototype,window$1$1.Element.prototype,innerHTMLDescriptorPolyfill],"innerHTML")},firstSourceWatch=function(e){var o=e.el();if(!o.resetSourceWatch_){var l={},t=getInnerHTMLDescriptor(e),u=function(v){return function(){for(var w=arguments.length,A=new Array(w),E=0;E<w;E++)A[E]=arguments[E];var C=v.apply(o,A);return sourcesetLoad(e),C}};["append","appendChild","insertAdjacentHTML"].forEach(function(h){o[h]&&(l[h]=o[h],o[h]=u(l[h]))}),Object.defineProperty(o,"innerHTML",mergeOptions$3(t,{set:u(t.set)})),o.resetSourceWatch_=function(){o.resetSourceWatch_=null,Object.keys(l).forEach(function(h){o[h]=l[h]}),Object.defineProperty(o,"innerHTML",t)},e.one("sourceset",o.resetSourceWatch_)}},srcDescriptorPolyfill=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?getAbsoluteURL(window$1$1.Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return window$1$1.Element.prototype.setAttribute.call(this,"src",e),e}}),getSrcDescriptor=function(e){return getDescriptor([e.el(),window$1$1.HTMLMediaElement.prototype,srcDescriptorPolyfill],"src")},setupSourceset=function(e){if(e.featuresSourceset){var o=e.el();if(!o.resetSourceset_){var l=getSrcDescriptor(e),t=o.setAttribute,u=o.load;Object.defineProperty(o,"src",mergeOptions$3(l,{set:function(v){var w=l.set.call(o,v);return e.triggerSourceset(o.src),w}})),o.setAttribute=function(h,v){var w=t.call(o,h,v);return/src/i.test(h)&&e.triggerSourceset(o.src),w},o.load=function(){var h=u.call(o);return sourcesetLoad(e)||(e.triggerSourceset(""),firstSourceWatch(e)),h},o.currentSrc?e.triggerSourceset(o.currentSrc):sourcesetLoad(e)||firstSourceWatch(e),o.resetSourceset_=function(){o.resetSourceset_=null,o.load=u,o.setAttribute=t,Object.defineProperty(o,"src",l),o.resetSourceWatch_&&o.resetSourceWatch_()}}}},defineLazyProperty=function(e,o,l,t){t===void 0&&(t=!0);var u=function(w){return Object.defineProperty(e,o,{value:w,enumerable:!0,writable:!0})},h={configurable:!0,enumerable:!0,get:function(){var w=l();return u(w),w}};return t&&(h.set=u),Object.defineProperty(e,o,h)},Html5=function(n){_inheritsLoose(e,n);function e(l,t){var u;u=n.call(this,l,t)||this;var h=l.source,v=!1;if(u.featuresVideoFrameCallback=u.featuresVideoFrameCallback&&u.el_.tagName==="VIDEO",h&&(u.el_.currentSrc!==h.src||l.tag&&l.tag.initNetworkState_===3)?u.setSource(h):u.handleLateInit_(u.el_),l.enableSourceset&&u.setupSourcesetHandling_(),u.isScrubbing_=!1,u.el_.hasChildNodes()){for(var w=u.el_.childNodes,A=w.length,E=[];A--;){var C=w[A],M=C.nodeName.toLowerCase();M==="track"&&(u.featuresNativeTextTracks?(u.remoteTextTrackEls().addTrackElement_(C),u.remoteTextTracks().addTrack(C.track),u.textTracks().addTrack(C.track),!v&&!u.el_.hasAttribute("crossorigin")&&isCrossOrigin(C.src)&&(v=!0)):E.push(C))}for(var P=0;P<E.length;P++)u.el_.removeChild(E[P])}return u.proxyNativeTracks_(),u.featuresNativeTextTracks&&v&&log$1.warn(`Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.
+This may prevent text tracks from loading.`),u.restoreMetadataTracksInIOSNativePlayer_(),(TOUCH_ENABLED||IS_IPHONE||IS_NATIVE_ANDROID)&&l.nativeControlsForTouch===!0&&u.setControls(!0),u.proxyWebkitFullscreen_(),u.triggerReady(),u}var o=e.prototype;return o.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),e.disposeMediaElement(this.el_),this.options_=null,n.prototype.dispose.call(this)},o.setupSourcesetHandling_=function(){setupSourceset(this)},o.restoreMetadataTracksInIOSNativePlayer_=function(){var t=this.textTracks(),u,h=function(){u=[];for(var A=0;A<t.length;A++){var E=t[A];E.kind==="metadata"&&u.push({track:E,storedMode:E.mode})}};h(),t.addEventListener("change",h),this.on("dispose",function(){return t.removeEventListener("change",h)});var v=function w(){for(var A=0;A<u.length;A++){var E=u[A];E.track.mode==="disabled"&&E.track.mode!==E.storedMode&&(E.track.mode=E.storedMode)}t.removeEventListener("change",w)};this.on("webkitbeginfullscreen",function(){t.removeEventListener("change",h),t.removeEventListener("change",v),t.addEventListener("change",v)}),this.on("webkitendfullscreen",function(){t.removeEventListener("change",h),t.addEventListener("change",h),t.removeEventListener("change",v)})},o.overrideNative_=function(t,u){var h=this;if(u===this["featuresNative"+t+"Tracks"]){var v=t.toLowerCase();this[v+"TracksListeners_"]&&Object.keys(this[v+"TracksListeners_"]).forEach(function(w){var A=h.el()[v+"Tracks"];A.removeEventListener(w,h[v+"TracksListeners_"][w])}),this["featuresNative"+t+"Tracks"]=!u,this[v+"TracksListeners_"]=null,this.proxyNativeTracksForType_(v)}},o.overrideNativeAudioTracks=function(t){this.overrideNative_("Audio",t)},o.overrideNativeVideoTracks=function(t){this.overrideNative_("Video",t)},o.proxyNativeTracksForType_=function(t){var u=this,h=NORMAL[t],v=this.el()[h.getterName],w=this[h.getterName]();if(!(!this["featuresNative"+h.capitalName+"Tracks"]||!v||!v.addEventListener)){var A={change:function(M){var P={type:"change",target:w,currentTarget:w,srcElement:w};w.trigger(P),t==="text"&&u[REMOTE.remoteText.getterName]().trigger(P)},addtrack:function(M){w.addTrack(M.track)},removetrack:function(M){w.removeTrack(M.track)}},E=function(){for(var M=[],P=0;P<w.length;P++){for(var I=!1,j=0;j<v.length;j++)if(v[j]===w[P]){I=!0;break}I||M.push(w[P])}for(;M.length;)w.removeTrack(M.shift())};this[h.getterName+"Listeners_"]=A,Object.keys(A).forEach(function(C){var M=A[C];v.addEventListener(C,M),u.on("dispose",function(P){return v.removeEventListener(C,M)})}),this.on("loadstart",E),this.on("dispose",function(C){return u.off("loadstart",E)})}},o.proxyNativeTracks_=function(){var t=this;NORMAL.names.forEach(function(u){t.proxyNativeTracksForType_(u)})},o.createEl=function(){var t=this.options_.tag;if(!t||!(this.options_.playerElIngest||this.movingMediaElementInDOM)){if(t){var u=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(u,t),e.disposeMediaElement(t),t=u}else{t=document$2.createElement("video");var h=this.options_.tag&&getAttributes(this.options_.tag),v=mergeOptions$3({},h);(!TOUCH_ENABLED||this.options_.nativeControlsForTouch!==!0)&&delete v.controls,setAttributes(t,assign(v,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}typeof this.options_.preload<"u"&&setAttribute(t,"preload",this.options_.preload),this.options_.disablePictureInPicture!==void 0&&(t.disablePictureInPicture=this.options_.disablePictureInPicture);for(var w=["loop","muted","playsinline","autoplay"],A=0;A<w.length;A++){var E=w[A],C=this.options_[E];typeof C<"u"&&(C?setAttribute(t,E,E):removeAttribute(t,E),t[E]=C)}return t},o.handleLateInit_=function(t){if(!(t.networkState===0||t.networkState===3)){if(t.readyState===0){var u=!1,h=function(){u=!0};this.on("loadstart",h);var v=function(){u||this.trigger("loadstart")};this.on("loadedmetadata",v),this.ready(function(){this.off("loadstart",h),this.off("loadedmetadata",v),u||this.trigger("loadstart")});return}var w=["loadstart"];w.push("loadedmetadata"),t.readyState>=2&&w.push("loadeddata"),t.readyState>=3&&w.push("canplay"),t.readyState>=4&&w.push("canplaythrough"),this.ready(function(){w.forEach(function(A){this.trigger(A)},this)})}},o.setScrubbing=function(t){this.isScrubbing_=t},o.scrubbing=function(){return this.isScrubbing_},o.setCurrentTime=function(t){try{this.isScrubbing_&&this.el_.fastSeek&&IS_ANY_SAFARI?this.el_.fastSeek(t):this.el_.currentTime=t}catch(u){log$1(u,"Video is not ready. (Video.js)")}},o.duration=function(){var t=this;if(this.el_.duration===1/0&&IS_ANDROID&&IS_CHROME&&this.el_.currentTime===0){var u=function h(){t.el_.currentTime>0&&(t.el_.duration===1/0&&t.trigger("durationchange"),t.off("timeupdate",h))};return this.on("timeupdate",u),NaN}return this.el_.duration||NaN},o.width=function(){return this.el_.offsetWidth},o.height=function(){return this.el_.offsetHeight},o.proxyWebkitFullscreen_=function(){var t=this;if("webkitDisplayingFullscreen"in this.el_){var u=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},h=function(){"webkitPresentationMode"in this.el_&&this.el_.webkitPresentationMode!=="picture-in-picture"&&(this.one("webkitendfullscreen",u),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",h),this.on("dispose",function(){t.off("webkitbeginfullscreen",h),t.off("webkitendfullscreen",u)})}},o.supportsFullScreen=function(){if(typeof this.el_.webkitEnterFullScreen=="function"){var t=window$1$1.navigator&&window$1$1.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},o.enterFullScreen=function(){var t=this.el_;if(t.paused&&t.networkState<=t.HAVE_METADATA)silencePromise(this.el_.play()),this.setTimeout(function(){t.pause();try{t.webkitEnterFullScreen()}catch(u){this.trigger("fullscreenerror",u)}},0);else try{t.webkitEnterFullScreen()}catch(u){this.trigger("fullscreenerror",u)}},o.exitFullScreen=function(){if(!this.el_.webkitDisplayingFullscreen){this.trigger("fullscreenerror",new Error("The video is not fullscreen"));return}this.el_.webkitExitFullScreen()},o.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},o.requestVideoFrameCallback=function(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):n.prototype.requestVideoFrameCallback.call(this,t)},o.cancelVideoFrameCallback=function(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):n.prototype.cancelVideoFrameCallback.call(this,t)},o.src=function(t){if(t===void 0)return this.el_.src;this.setSrc(t)},o.reset=function(){e.resetMediaElement(this.el_)},o.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},o.setControls=function(t){this.el_.controls=!!t},o.addTextTrack=function(t,u,h){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,u,h):n.prototype.addTextTrack.call(this,t,u,h)},o.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return n.prototype.createRemoteTextTrack.call(this,t);var u=document$2.createElement("track");return t.kind&&(u.kind=t.kind),t.label&&(u.label=t.label),(t.language||t.srclang)&&(u.srclang=t.language||t.srclang),t.default&&(u.default=t.default),t.id&&(u.id=t.id),t.src&&(u.src=t.src),u},o.addRemoteTextTrack=function(t,u){var h=n.prototype.addRemoteTextTrack.call(this,t,u);return this.featuresNativeTextTracks&&this.el().appendChild(h),h},o.removeRemoteTextTrack=function(t){if(n.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var u=this.$$("track"),h=u.length;h--;)(t===u[h]||t===u[h].track)&&this.el().removeChild(u[h])},o.getVideoPlaybackQuality=function(){if(typeof this.el().getVideoPlaybackQuality=="function")return this.el().getVideoPlaybackQuality();var t={};return typeof this.el().webkitDroppedFrameCount<"u"&&typeof this.el().webkitDecodedFrameCount<"u"&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),window$1$1.performance&&typeof window$1$1.performance.now=="function"?t.creationTime=window$1$1.performance.now():window$1$1.performance&&window$1$1.performance.timing&&typeof window$1$1.performance.timing.navigationStart=="number"&&(t.creationTime=window$1$1.Date.now()-window$1$1.performance.timing.navigationStart),t},e}(Tech$2);defineLazyProperty(Html5,"TEST_VID",function(){if(isReal()){var n=document$2.createElement("video"),e=document$2.createElement("track");return e.kind="captions",e.srclang="en",e.label="English",n.appendChild(e),n}}),Html5.isSupported=function(){try{Html5.TEST_VID.volume=.5}catch{return!1}return!!(Html5.TEST_VID&&Html5.TEST_VID.canPlayType)},Html5.canPlayType=function(n){return Html5.TEST_VID.canPlayType(n)},Html5.canPlaySource=function(n,e){return Html5.canPlayType(n.type)},Html5.canControlVolume=function(){try{var n=Html5.TEST_VID.volume;Html5.TEST_VID.volume=n/2+.1;var e=n!==Html5.TEST_VID.volume;return e&&IS_IOS?(window$1$1.setTimeout(function(){Html5&&Html5.prototype&&(Html5.prototype.featuresVolumeControl=n!==Html5.TEST_VID.volume)}),!1):e}catch{return!1}},Html5.canMuteVolume=function(){try{var n=Html5.TEST_VID.muted;return Html5.TEST_VID.muted=!n,Html5.TEST_VID.muted?setAttribute(Html5.TEST_VID,"muted","muted"):removeAttribute(Html5.TEST_VID,"muted","muted"),n!==Html5.TEST_VID.muted}catch{return!1}},Html5.canControlPlaybackRate=function(){if(IS_ANDROID&&IS_CHROME&&CHROME_VERSION<58)return!1;try{var n=Html5.TEST_VID.playbackRate;return Html5.TEST_VID.playbackRate=n/2+.1,n!==Html5.TEST_VID.playbackRate}catch{return!1}},Html5.canOverrideAttributes=function(){try{var n=function(){};Object.defineProperty(document$2.createElement("video"),"src",{get:n,set:n}),Object.defineProperty(document$2.createElement("audio"),"src",{get:n,set:n}),Object.defineProperty(document$2.createElement("video"),"innerHTML",{get:n,set:n}),Object.defineProperty(document$2.createElement("audio"),"innerHTML",{get:n,set:n})}catch{return!1}return!0},Html5.supportsNativeTextTracks=function(){return IS_ANY_SAFARI||IS_IOS&&IS_CHROME},Html5.supportsNativeVideoTracks=function(){return!!(Html5.TEST_VID&&Html5.TEST_VID.videoTracks)},Html5.supportsNativeAudioTracks=function(){return!!(Html5.TEST_VID&&Html5.TEST_VID.audioTracks)},Html5.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function(n){var e=n[0],o=n[1];defineLazyProperty(Html5.prototype,e,function(){return Html5[o]()},!0)}),Html5.prototype.featuresVolumeControl=Html5.canControlVolume(),Html5.prototype.movingMediaElementInDOM=!IS_IOS,Html5.prototype.featuresFullscreenResize=!0,Html5.prototype.featuresProgressEvents=!0,Html5.prototype.featuresTimeupdateEvents=!0,Html5.prototype.featuresVideoFrameCallback=!!(Html5.TEST_VID&&Html5.TEST_VID.requestVideoFrameCallback);var canPlayType;Html5.patchCanPlayType=function(){ANDROID_VERSION>=4&&!IS_FIREFOX&&!IS_CHROME&&(canPlayType=Html5.TEST_VID&&Html5.TEST_VID.constructor.prototype.canPlayType,Html5.TEST_VID.constructor.prototype.canPlayType=function(n){var e=/^application\/(?:x-|vnd\.apple\.)mpegurl/i;return n&&e.test(n)?"maybe":canPlayType.call(this,n)})},Html5.unpatchCanPlayType=function(){var n=Html5.TEST_VID.constructor.prototype.canPlayType;return canPlayType&&(Html5.TEST_VID.constructor.prototype.canPlayType=canPlayType),n},Html5.patchCanPlayType(),Html5.disposeMediaElement=function(n){if(n){for(n.parentNode&&n.parentNode.removeChild(n);n.hasChildNodes();)n.removeChild(n.firstChild);n.removeAttribute("src"),typeof n.load=="function"&&function(){try{n.load()}catch{}}()}},Html5.resetMediaElement=function(n){if(n){for(var e=n.querySelectorAll("source"),o=e.length;o--;)n.removeChild(e[o]);n.removeAttribute("src"),typeof n.load=="function"&&function(){try{n.load()}catch{}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(n){Html5.prototype[n]=function(){return this.el_[n]||this.el_.hasAttribute(n)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(n){Html5.prototype["set"+toTitleCase$1(n)]=function(e){this.el_[n]=e,e?this.el_.setAttribute(n,n):this.el_.removeAttribute(n)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(n){Html5.prototype[n]=function(){return this.el_[n]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(n){Html5.prototype["set"+toTitleCase$1(n)]=function(e){this.el_[n]=e}}),["pause","load","play"].forEach(function(n){Html5.prototype[n]=function(){return this.el_[n]()}}),Tech$2.withSourceHandlers(Html5),Html5.nativeSourceHandler={},Html5.nativeSourceHandler.canPlayType=function(n){try{return Html5.TEST_VID.canPlayType(n)}catch{return""}},Html5.nativeSourceHandler.canHandleSource=function(n,e){if(n.type)return Html5.nativeSourceHandler.canPlayType(n.type);if(n.src){var o=getFileExtension(n.src);return Html5.nativeSourceHandler.canPlayType("video/"+o)}return""},Html5.nativeSourceHandler.handleSource=function(n,e,o){e.setSrc(n.src)},Html5.nativeSourceHandler.dispose=function(){},Html5.registerSourceHandler(Html5.nativeSourceHandler),Tech$2.registerTech("Html5",Html5);var TECH_EVENTS_RETRIGGER=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],TECH_EVENTS_QUEUE={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},BREAKPOINT_ORDER=["tiny","xsmall","small","medium","large","xlarge","huge"],BREAKPOINT_CLASSES={};BREAKPOINT_ORDER.forEach(function(n){var e=n.charAt(0)==="x"?"x-"+n.substring(1):n;BREAKPOINT_CLASSES[n]="vjs-layout-"+e});var DEFAULT_BREAKPOINTS={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Player$1=function(n){_inheritsLoose(e,n);function e(l,t,u){var h;if(l.id=l.id||t.id||"vjs_video_"+newGUID(),t=assign(e.getTagSettings(l),t),t.initChildren=!1,t.createEl=!1,t.evented=!1,t.reportTouchActivity=!1,!t.language)if(typeof l.closest=="function"){var v=l.closest("[lang]");v&&v.getAttribute&&(t.language=v.getAttribute("lang"))}else for(var w=l;w&&w.nodeType===1;){if(getAttributes(w).hasOwnProperty("lang")){t.language=w.getAttribute("lang");break}w=w.parentNode}if(h=n.call(this,null,t,u)||this,h.boundDocumentFullscreenChange_=function(M){return h.documentFullscreenChange_(M)},h.boundFullWindowOnEscKey_=function(M){return h.fullWindowOnEscKey(M)},h.boundUpdateStyleEl_=function(M){return h.updateStyleEl_(M)},h.boundApplyInitTime_=function(M){return h.applyInitTime_(M)},h.boundUpdateCurrentBreakpoint_=function(M){return h.updateCurrentBreakpoint_(M)},h.boundHandleTechClick_=function(M){return h.handleTechClick_(M)},h.boundHandleTechDoubleClick_=function(M){return h.handleTechDoubleClick_(M)},h.boundHandleTechTouchStart_=function(M){return h.handleTechTouchStart_(M)},h.boundHandleTechTouchMove_=function(M){return h.handleTechTouchMove_(M)},h.boundHandleTechTouchEnd_=function(M){return h.handleTechTouchEnd_(M)},h.boundHandleTechTap_=function(M){return h.handleTechTap_(M)},h.isFullscreen_=!1,h.log=createLogger(h.id_),h.fsApi_=FullscreenApi,h.isPosterFromTech_=!1,h.queuedCallbacks_=[],h.isReady_=!1,h.hasStarted_=!1,h.userActive_=!1,h.debugEnabled_=!1,h.audioOnlyMode_=!1,h.audioPosterMode_=!1,h.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!h.options_||!h.options_.techOrder||!h.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(h.tag=l,h.tagAttributes=l&&getAttributes(l),h.language(h.options_.language),t.languages){var A={};Object.getOwnPropertyNames(t.languages).forEach(function(M){A[M.toLowerCase()]=t.languages[M]}),h.languages_=A}else h.languages_=e.prototype.options_.languages;h.resetCache_(),h.poster_=t.poster||"",h.controls_=!!t.controls,l.controls=!1,l.removeAttribute("controls"),h.changingSrc_=!1,h.playCallbacks_=[],h.playTerminatedQueue_=[],l.hasAttribute("autoplay")?h.autoplay(!0):h.autoplay(h.options_.autoplay),t.plugins&&Object.keys(t.plugins).forEach(function(M){if(typeof h[M]!="function")throw new Error('plugin "'+M+'" does not exist')}),h.scrubbing_=!1,h.el_=h.createEl(),evented(_assertThisInitialized$1(h),{eventBusKey:"el_"}),h.fsApi_.requestFullscreen&&(on(document$2,h.fsApi_.fullscreenchange,h.boundDocumentFullscreenChange_),h.on(h.fsApi_.fullscreenchange,h.boundDocumentFullscreenChange_)),h.fluid_&&h.on(["playerreset","resize"],h.boundUpdateStyleEl_);var E=mergeOptions$3(h.options_);t.plugins&&Object.keys(t.plugins).forEach(function(M){h[M](t.plugins[M])}),t.debug&&h.debug(!0),h.options_.playerOptions=E,h.middleware_=[],h.playbackRates(t.playbackRates),h.initChildren(),h.isAudio(l.nodeName.toLowerCase()==="audio"),h.controls()?h.addClass("vjs-controls-enabled"):h.addClass("vjs-controls-disabled"),h.el_.setAttribute("role","region"),h.isAudio()?h.el_.setAttribute("aria-label",h.localize("Audio Player")):h.el_.setAttribute("aria-label",h.localize("Video Player")),h.isAudio()&&h.addClass("vjs-audio"),h.flexNotSupported_()&&h.addClass("vjs-no-flex"),TOUCH_ENABLED&&h.addClass("vjs-touch-enabled"),IS_IOS||h.addClass("vjs-workinghover"),e.players[h.id_]=_assertThisInitialized$1(h);var C=version$5.split(".")[0];return h.addClass("vjs-v"+C),h.userActive(!0),h.reportUserActivity(),h.one("play",function(M){return h.listenForUserActivity_(M)}),h.on("stageclick",function(M){return h.handleStageClick_(M)}),h.on("keydown",function(M){return h.handleKeyDown(M)}),h.on("languagechange",function(M){return h.handleLanguagechange(M)}),h.breakpoints(h.options_.breakpoints),h.responsive(h.options_.responsive),h.on("ready",function(){h.audioPosterMode(h.options_.audioPosterMode),h.audioOnlyMode(h.options_.audioOnlyMode)}),h}var o=e.prototype;return o.dispose=function(){var t=this;this.trigger("dispose"),this.off("dispose"),off(document$2,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),off(document$2,"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),e.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),clearCacheForPlayer(this),ALL.names.forEach(function(u){var h=ALL[u],v=t[h.getterName]();v&&v.off&&v.off()}),n.prototype.dispose.call(this,{restoreEl:this.options_.restoreEl})},o.createEl=function(){var t=this.tag,u,h=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player"),v=this.tag.tagName.toLowerCase()==="video-js";h?u=this.el_=t.parentNode:v||(u=this.el_=n.prototype.createEl.call(this,"div"));var w=getAttributes(t);if(v){for(u=this.el_=t,t=this.tag=document$2.createElement("video");u.children.length;)t.appendChild(u.firstChild);hasClass(u,"video-js")||addClass(u,"video-js"),u.appendChild(t),h=this.playerElIngest_=u,Object.keys(u).forEach(function(I){try{t[I]=u[I]}catch{}})}if(t.setAttribute("tabindex","-1"),w.tabindex="-1",(IE_VERSION||IS_CHROME&&IS_WINDOWS)&&(t.setAttribute("role","application"),w.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in w&&delete w.width,"height"in w&&delete w.height,Object.getOwnPropertyNames(w).forEach(function(I){v&&I==="class"||u.setAttribute(I,w[I]),v&&t.setAttribute(I,w[I])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=u.player=this,this.addClass("vjs-paused"),window$1$1.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=createStyleElement("vjs-styles-dimensions");var A=$(".vjs-styles-defaults"),E=$("head");E.insertBefore(this.styleEl_,A?A.nextSibling:E.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var C=t.getElementsByTagName("a"),M=0;M<C.length;M++){var P=C.item(M);addClass(P,"vjs-hidden"),P.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!h&&t.parentNode.insertBefore(u,t),prependTo(t,u),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=u,u},o.crossOrigin=function(t){if(!t)return this.techGet_("crossOrigin");if(t!=="anonymous"&&t!=="use-credentials"){log$1.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+t+'"');return}this.techCall_("setCrossOrigin",t)},o.width=function(t){return this.dimension("width",t)},o.height=function(t){return this.dimension("height",t)},o.dimension=function(t,u){var h=t+"_";if(u===void 0)return this[h]||0;if(u===""||u==="auto"){this[h]=void 0,this.updateStyleEl_();return}var v=parseFloat(u);if(isNaN(v)){log$1.error('Improper value "'+u+'" supplied for for '+t);return}this[h]=v,this.updateStyleEl_()},o.fluid=function(t){var u=this;if(t===void 0)return!!this.fluid_;this.fluid_=!!t,isEvented(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),t?(this.addClass("vjs-fluid"),this.fill(!1),addEventedCallback(this,function(){u.on(["playerreset","resize"],u.boundUpdateStyleEl_)})):this.removeClass("vjs-fluid"),this.updateStyleEl_()},o.fill=function(t){if(t===void 0)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},o.aspectRatio=function(t){if(t===void 0)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},o.updateStyleEl_=function(){if(window$1$1.VIDEOJS_NO_DYNAMIC_STYLE===!0){var t=typeof this.width_=="number"?this.width_:this.options_.width,u=typeof this.height_=="number"?this.height_:this.options_.height,h=this.tech_&&this.tech_.el();h&&(t>=0&&(h.width=t),u>=0&&(h.height=u));return}var v,w,A,E;this.aspectRatio_!==void 0&&this.aspectRatio_!=="auto"?A=this.aspectRatio_:this.videoWidth()>0?A=this.videoWidth()+":"+this.videoHeight():A="16:9";var C=A.split(":"),M=C[1]/C[0];this.width_!==void 0?v=this.width_:this.height_!==void 0?v=this.height_/M:v=this.videoWidth()||300,this.height_!==void 0?w=this.height_:w=v*M,/^[^a-zA-Z]/.test(this.id())?E="dimensions-"+this.id():E=this.id()+"-dimensions",this.addClass(E),setTextContent(this.styleEl_,`
+      .`+E+` {
+        width: `+v+`px;
+        height: `+w+`px;
       }
 
-      .${u}.vjs-fluid:not(.vjs-audio-only-mode) {
-        padding-top: ${m*100}%;
+      .`+E+`.vjs-fluid:not(.vjs-audio-only-mode) {
+        padding-top: `+M*100+`%;
       }
-    `)}loadTech_(e,n){this.tech_&&this.unloadTech_();const o=toTitleCase$1(e),u=e.charAt(0).toLowerCase()+e.slice(1);o!=="Html5"&&this.tag&&(Tech$1.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=o,this.isReady_=!1;let l=this.autoplay();(typeof this.autoplay()=="string"||this.autoplay()===!0&&this.options_.normalizeAutoplay)&&(l=!1);const m={source:n,autoplay:l,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:`${this.id()}_${u}_api`,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};ALL.names.forEach(E=>{const C=ALL[E];m[C.getterName]=this[C.privateName]}),Object.assign(m,this.options_[o]),Object.assign(m,this.options_[u]),Object.assign(m,this.options_[e.toLowerCase()]),this.tag&&(m.tag=this.tag),n&&n.src===this.cache_.src&&this.cache_.currentTime>0&&(m.startTime=this.cache_.currentTime);const y=Tech$1.getTech(e);if(!y)throw new Error(`No Tech named '${o}' exists! '${o}' should be registered using videojs.registerTech()'`);this.tech_=new y(m),this.tech_.ready(bind_(this,this.handleTechReady_),!0),textTrackConverter.jsonToTextTracks(this.textTracksJson_||[],this.tech_),TECH_EVENTS_RETRIGGER.forEach(E=>{this.on(this.tech_,E,C=>this[`handleTech${toTitleCase$1(E)}_`](C))}),Object.keys(TECH_EVENTS_QUEUE).forEach(E=>{this.on(this.tech_,E,C=>{if(this.tech_.playbackRate()===0&&this.tech_.seeking()){this.queuedCallbacks_.push({callback:this[`handleTech${TECH_EVENTS_QUEUE[E]}_`].bind(this),event:C});return}this[`handleTech${TECH_EVENTS_QUEUE[E]}_`](C)})}),this.on(this.tech_,"loadstart",E=>this.handleTechLoadStart_(E)),this.on(this.tech_,"sourceset",E=>this.handleTechSourceset_(E)),this.on(this.tech_,"waiting",E=>this.handleTechWaiting_(E)),this.on(this.tech_,"ended",E=>this.handleTechEnded_(E)),this.on(this.tech_,"seeking",E=>this.handleTechSeeking_(E)),this.on(this.tech_,"play",E=>this.handleTechPlay_(E)),this.on(this.tech_,"pause",E=>this.handleTechPause_(E)),this.on(this.tech_,"durationchange",E=>this.handleTechDurationChange_(E)),this.on(this.tech_,"fullscreenchange",(E,C)=>this.handleTechFullscreenChange_(E,C)),this.on(this.tech_,"fullscreenerror",(E,C)=>this.handleTechFullscreenError_(E,C)),this.on(this.tech_,"enterpictureinpicture",E=>this.handleTechEnterPictureInPicture_(E)),this.on(this.tech_,"leavepictureinpicture",E=>this.handleTechLeavePictureInPicture_(E)),this.on(this.tech_,"error",E=>this.handleTechError_(E)),this.on(this.tech_,"posterchange",E=>this.handleTechPosterChange_(E)),this.on(this.tech_,"textdata",E=>this.handleTechTextData_(E)),this.on(this.tech_,"ratechange",E=>this.handleTechRateChange_(E)),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode!==this.el()&&(o!=="Html5"||!this.tag)&&prependTo(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){ALL.names.forEach(e=>{const n=ALL[e];this[n.privateName]=this[n.getterName]()}),this.textTracksJson_=textTrackConverter.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1}tech(e){return e===void 0&&log$1.warn(`Using the tech directly can be dangerous. I hope you know what you're doing.
+    `)},o.loadTech_=function(t,u){var h=this;this.tech_&&this.unloadTech_();var v=toTitleCase$1(t),w=t.charAt(0).toLowerCase()+t.slice(1);v!=="Html5"&&this.tag&&(Tech$2.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=v,this.isReady_=!1;var A=this.autoplay();(typeof this.autoplay()=="string"||this.autoplay()===!0&&this.options_.normalizeAutoplay)&&(A=!1);var E={source:u,autoplay:A,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+w+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};ALL.names.forEach(function(M){var P=ALL[M];E[P.getterName]=h[P.privateName]}),assign(E,this.options_[v]),assign(E,this.options_[w]),assign(E,this.options_[t.toLowerCase()]),this.tag&&(E.tag=this.tag),u&&u.src===this.cache_.src&&this.cache_.currentTime>0&&(E.startTime=this.cache_.currentTime);var C=Tech$2.getTech(t);if(!C)throw new Error("No Tech named '"+v+"' exists! '"+v+"' should be registered using videojs.registerTech()'");this.tech_=new C(E),this.tech_.ready(bind$2(this,this.handleTechReady_),!0),textTrackConverter.jsonToTextTracks(this.textTracksJson_||[],this.tech_),TECH_EVENTS_RETRIGGER.forEach(function(M){h.on(h.tech_,M,function(P){return h["handleTech"+toTitleCase$1(M)+"_"](P)})}),Object.keys(TECH_EVENTS_QUEUE).forEach(function(M){h.on(h.tech_,M,function(P){if(h.tech_.playbackRate()===0&&h.tech_.seeking()){h.queuedCallbacks_.push({callback:h["handleTech"+TECH_EVENTS_QUEUE[M]+"_"].bind(h),event:P});return}h["handleTech"+TECH_EVENTS_QUEUE[M]+"_"](P)})}),this.on(this.tech_,"loadstart",function(M){return h.handleTechLoadStart_(M)}),this.on(this.tech_,"sourceset",function(M){return h.handleTechSourceset_(M)}),this.on(this.tech_,"waiting",function(M){return h.handleTechWaiting_(M)}),this.on(this.tech_,"ended",function(M){return h.handleTechEnded_(M)}),this.on(this.tech_,"seeking",function(M){return h.handleTechSeeking_(M)}),this.on(this.tech_,"play",function(M){return h.handleTechPlay_(M)}),this.on(this.tech_,"firstplay",function(M){return h.handleTechFirstPlay_(M)}),this.on(this.tech_,"pause",function(M){return h.handleTechPause_(M)}),this.on(this.tech_,"durationchange",function(M){return h.handleTechDurationChange_(M)}),this.on(this.tech_,"fullscreenchange",function(M,P){return h.handleTechFullscreenChange_(M,P)}),this.on(this.tech_,"fullscreenerror",function(M,P){return h.handleTechFullscreenError_(M,P)}),this.on(this.tech_,"enterpictureinpicture",function(M){return h.handleTechEnterPictureInPicture_(M)}),this.on(this.tech_,"leavepictureinpicture",function(M){return h.handleTechLeavePictureInPicture_(M)}),this.on(this.tech_,"error",function(M){return h.handleTechError_(M)}),this.on(this.tech_,"posterchange",function(M){return h.handleTechPosterChange_(M)}),this.on(this.tech_,"textdata",function(M){return h.handleTechTextData_(M)}),this.on(this.tech_,"ratechange",function(M){return h.handleTechRateChange_(M)}),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode!==this.el()&&(v!=="Html5"||!this.tag)&&prependTo(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},o.unloadTech_=function(){var t=this;ALL.names.forEach(function(u){var h=ALL[u];t[h.privateName]=t[h.getterName]()}),this.textTracksJson_=textTrackConverter.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},o.tech=function(t){return t===void 0&&log$1.warn(`Using the tech directly can be dangerous. I hope you know what you're doing.
 See https://github.com/videojs/video.js/issues/2617 for more info.
-`),this.tech_}version(){return{"video.js":version$6}}addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)}removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)}handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()}handleTechLoadStart_(){this.removeClass("vjs-ended","vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):this.trigger("loadstart"),this.manualAutoplay_(this.autoplay()===!0&&this.options_.normalizeAutoplay?"play":this.autoplay())}manualAutoplay_(e){if(!this.tech_||typeof e!="string")return;const n=()=>{const u=this.muted();this.muted(!0);const l=()=>{this.muted(u)};this.playTerminatedQueue_.push(l);const m=this.play();if(isPromise(m))return m.catch(y=>{throw l(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${y||""}`)})};let o;if(e==="any"&&!this.muted()?(o=this.play(),isPromise(o)&&(o=o.catch(n))):e==="muted"&&!this.muted()?o=n():o=this.play(),!!isPromise(o))return o.then(()=>{this.trigger({type:"autoplay-success",autoplay:e})}).catch(()=>{this.trigger({type:"autoplay-failure",autoplay:e})})}updateSourceCaches_(e=""){let n=e,o="";typeof n!="string"&&(n=e.src,o=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],n&&!o&&(o=findMimetype(this,n)),this.cache_.source=merge$1({},e,{src:n,type:o});const u=this.cache_.sources.filter(E=>E.src&&E.src===n),l=[],m=this.$$("source"),y=[];for(let E=0;E<m.length;E++){const C=getAttributes(m[E]);l.push(C),C.src&&C.src===n&&y.push(C.src)}y.length&&!u.length?this.cache_.sources=l:u.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=n}handleTechSourceset_(e){if(!this.changingSrc_){let n=l=>this.updateSourceCaches_(l);const o=this.currentSource().src,u=e.src;o&&!/^blob:/.test(o)&&/^blob:/.test(u)&&(!this.lastSource_||this.lastSource_.tech!==u&&this.lastSource_.player!==o)&&(n=()=>{}),n(u),e.src||this.tech_.any(["sourceset","loadstart"],l=>{if(l.type==="sourceset")return;const m=this.techGet_("currentSrc");this.lastSource_.tech=m,this.updateSourceCaches_(m)})}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})}hasStarted(e){if(e===void 0)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?this.addClass("vjs-has-started"):this.removeClass("vjs-has-started"))}handleTechPlay_(){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")}handleTechRateChange_(){this.tech_.playbackRate()>0&&this.cache_.lastPlaybackRate===0&&(this.queuedCallbacks_.forEach(e=>e.callback(e.event)),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")}handleTechWaiting_(){this.addClass("vjs-waiting"),this.trigger("waiting");const e=this.currentTime(),n=()=>{e!==this.currentTime()&&(this.removeClass("vjs-waiting"),this.off("timeupdate",n))};this.on("timeupdate",n)}handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")}handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")}handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")}handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")}handleTechSeeked_(){this.removeClass("vjs-seeking","vjs-ended"),this.trigger("seeked")}handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")}handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")}handleTechDurationChange_(){this.duration(this.techGet_("duration"))}handleTechClick_(e){this.controls_&&(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.click===void 0||this.options_.userActions.click!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.click=="function"?this.options_.userActions.click.call(this,e):this.paused()?silencePromise(this.play()):this.pause())}handleTechDoubleClick_(e){if(!this.controls_)return;Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),o=>o.contains(e.target))||(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.doubleClick===void 0||this.options_.userActions.doubleClick!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.doubleClick=="function"?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen())}handleTechTap_(){this.userActive(!this.userActive())}handleTechTouchStart_(){this.userWasActive=this.userActive()}handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()}handleTechTouchEnd_(e){e.cancelable&&e.preventDefault()}toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")}documentFullscreenChange_(e){const n=e.target.player;if(n&&n!==this)return;const o=this.el();let u=document$1$1[this.fsApi_.fullscreenElement]===o;!u&&o.matches&&(u=o.matches(":"+this.fsApi_.fullscreen)),this.isFullscreen(u)}handleTechFullscreenChange_(e,n){n&&(n.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",()=>{this.removeClass("vjs-ios-native-fs")})),this.isFullscreen(n.isFullscreen))}handleTechFullscreenError_(e,n){this.trigger("fullscreenerror",n)}togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")}handleTechEnterPictureInPicture_(e){this.isInPictureInPicture(!0)}handleTechLeavePictureInPicture_(e){this.isInPictureInPicture(!1)}handleTechError_(){const e=this.tech_.error();e&&this.error(e)}handleTechTextData_(){let e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)}getCache(){return this.cache_}resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}}techCall_(e,n){this.ready(function(){if(e in allowedSetters)return set(this.middleware_,this.tech_,e,n);if(e in allowedMediators)return mediate(this.middleware_,this.tech_,e,n);try{this.tech_&&this.tech_[e](n)}catch(o){throw log$1(o),o}},!0)}techGet_(e){if(!(!this.tech_||!this.tech_.isReady_)){if(e in allowedGetters)return get(this.middleware_,this.tech_,e);if(e in allowedMediators)return mediate(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(n){throw this.tech_[e]===void 0?(log$1(`Video.js: ${e} method not defined for ${this.techName_} playback technology.`,n),n):n.name==="TypeError"?(log$1(`Video.js: ${e} unavailable on ${this.techName_} playback technology element.`,n),this.tech_.isReady_=!1,n):(log$1(n),n)}}}play(){return new Promise(e=>{this.play_(e)})}play_(e=silencePromise){this.playCallbacks_.push(e);const n=!!(!this.changingSrc_&&(this.src()||this.currentSrc())),o=!!(IS_ANY_SAFARI||IS_IOS);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!n){this.waitToPlay_=m=>{this.play_()},this.one(["ready","loadstart"],this.waitToPlay_),!n&&o&&this.load();return}const u=this.techGet_("play");o&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),u===null?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(u)}runPlayTerminatedQueue_(){const e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach(function(n){n()})}runPlayCallbacks_(e){const n=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],n.forEach(function(o){o(e)})}pause(){this.techCall_("pause")}paused(){return this.techGet_("paused")!==!1}played(){return this.techGet_("played")||createTimeRanges$1(0,0)}scrubbing(e){if(typeof e>"u")return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")}currentTime(e){if(e===void 0)return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime;if(e<0&&(e=0),!this.isReady_||this.changingSrc_||!this.tech_||!this.tech_.isReady_){this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),this.one("canplay",this.boundApplyInitTime_);return}this.techCall_("setCurrentTime",e),this.cache_.initTime=0,isFinite(e)&&(this.cache_.currentTime=Number(e))}applyInitTime_(){this.currentTime(this.cache_.initTime)}duration(e){if(e===void 0)return this.cache_.duration!==void 0?this.cache_.duration:NaN;e=parseFloat(e),e<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))}remainingTime(){return this.duration()-this.currentTime()}remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())}buffered(){let e=this.techGet_("buffered");return(!e||!e.length)&&(e=createTimeRanges$1(0,0)),e}seekable(){let e=this.techGet_("seekable");return(!e||!e.length)&&(e=createTimeRanges$1(0,0)),e}seeking(){return this.techGet_("seeking")}ended(){return this.techGet_("ended")}networkState(){return this.techGet_("networkState")}readyState(){return this.techGet_("readyState")}bufferedPercent(){return bufferedPercent(this.buffered(),this.duration())}bufferedEnd(){const e=this.buffered(),n=this.duration();let o=e.end(e.length-1);return o>n&&(o=n),o}volume(e){let n;if(e!==void 0){n=Math.max(0,Math.min(1,e)),this.cache_.volume=n,this.techCall_("setVolume",n),n>0&&this.lastVolume_(n);return}return n=parseFloat(this.techGet_("volume")),isNaN(n)?1:n}muted(e){if(e!==void 0){this.techCall_("setMuted",e);return}return this.techGet_("muted")||!1}defaultMuted(e){return e!==void 0&&this.techCall_("setDefaultMuted",e),this.techGet_("defaultMuted")||!1}lastVolume_(e){if(e!==void 0&&e!==0){this.cache_.lastVolume=e;return}return this.cache_.lastVolume}supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1}isFullscreen(e){if(e!==void 0){const n=this.isFullscreen_;this.isFullscreen_=!!e,this.isFullscreen_!==n&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),this.toggleFullscreenClass_();return}return this.isFullscreen_}requestFullscreen(e){this.isInPictureInPicture()&&this.exitPictureInPicture();const n=this;return new Promise((o,u)=>{function l(){n.off("fullscreenerror",y),n.off("fullscreenchange",m)}function m(){l(),o()}function y(C,k){l(),u(k)}n.one("fullscreenchange",m),n.one("fullscreenerror",y);const E=n.requestFullscreenHelper_(e);E&&(E.then(l,l),E.then(o,u))})}requestFullscreenHelper_(e){let n;if(this.fsApi_.prefixed||(n=this.options_.fullscreen&&this.options_.fullscreen.options||{},e!==void 0&&(n=e)),this.fsApi_.requestFullscreen){const o=this.el_[this.fsApi_.requestFullscreen](n);return o&&o.then(()=>this.isFullscreen(!0),()=>this.isFullscreen(!1)),o}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()}exitFullscreen(){const e=this;return new Promise((n,o)=>{function u(){e.off("fullscreenerror",m),e.off("fullscreenchange",l)}function l(){u(),n()}function m(E,C){u(),o(C)}e.one("fullscreenchange",l),e.one("fullscreenerror",m);const y=e.exitFullscreenHelper_();y&&(y.then(u,u),y.then(n,o))})}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const e=document$1$1[this.fsApi_.exitFullscreen]();return e&&silencePromise(e.then(()=>this.isFullscreen(!1))),e}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()}enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=document$1$1.documentElement.style.overflow,on(document$1$1,"keydown",this.boundFullWindowOnEscKey_),document$1$1.documentElement.style.overflow="hidden",addClass(document$1$1.body,"vjs-full-window"),this.trigger("enterFullWindow")}fullWindowOnEscKey(e){e.key==="Escape"&&this.isFullscreen()===!0&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())}exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,off(document$1$1,"keydown",this.boundFullWindowOnEscKey_),document$1$1.documentElement.style.overflow=this.docOrigOverflow,removeClass(document$1$1.body,"vjs-full-window"),this.trigger("exitFullWindow")}disablePictureInPicture(e){if(e===void 0)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")}isInPictureInPicture(e){if(e!==void 0){this.isInPictureInPicture_=!!e,this.togglePictureInPictureClass_();return}return!!this.isInPictureInPicture_}requestPictureInPicture(){if(this.options_.enableDocumentPictureInPicture&&window$1$1.documentPictureInPicture){const e=document$1$1.createElement(this.el().tagName);return e.classList=this.el().classList,e.classList.add("vjs-pip-container"),this.posterImage&&e.appendChild(this.posterImage.el().cloneNode(!0)),this.titleBar&&e.appendChild(this.titleBar.el().cloneNode(!0)),e.appendChild(createEl("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),window$1$1.documentPictureInPicture.requestWindow({width:this.videoWidth(),height:this.videoHeight()}).then(n=>(copyStyleSheetsToWindow(n),this.el_.parentNode.insertBefore(e,this.el_),n.document.body.appendChild(this.el_),n.document.body.classList.add("vjs-pip-window"),this.player_.isInPictureInPicture(!0),this.player_.trigger({type:"enterpictureinpicture",pipWindow:n}),n.addEventListener("pagehide",o=>{const u=o.target.querySelector(".video-js");e.parentNode.replaceChild(u,e),this.player_.isInPictureInPicture(!1),this.player_.trigger("leavepictureinpicture")}),n))}return"pictureInPictureEnabled"in document$1$1&&this.disablePictureInPicture()===!1?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){if(window$1$1.documentPictureInPicture&&window$1$1.documentPictureInPicture.window)return window$1$1.documentPictureInPicture.window.close(),Promise.resolve();if("pictureInPictureEnabled"in document$1$1)return document$1$1.exitPictureInPicture()}handleKeyDown(e){const{userActions:n}=this.options_;!n||!n.hotkeys||(u=>{const l=u.tagName.toLowerCase();if(u.isContentEditable)return!0;const m=["button","checkbox","hidden","radio","reset","submit"];return l==="input"?m.indexOf(u.type)===-1:["textarea"].indexOf(l)!==-1})(this.el_.ownerDocument.activeElement)||(typeof n.hotkeys=="function"?n.hotkeys.call(this,e):this.handleHotkeys(e))}handleHotkeys(e){const n=this.options_.userActions?this.options_.userActions.hotkeys:{},{fullscreenKey:o=m=>e.key.toLowerCase()==="f",muteKey:u=m=>e.key.toLowerCase()==="m",playPauseKey:l=m=>e.key.toLowerCase()==="k"||e.key.toLowerCase()===" "}=n;if(o.call(this,e)){e.preventDefault(),e.stopPropagation();const m=Component$1.getComponent("FullscreenToggle");document$1$1[this.fsApi_.fullscreenEnabled]!==!1&&m.prototype.handleClick.call(this,e)}else u.call(this,e)?(e.preventDefault(),e.stopPropagation(),Component$1.getComponent("MuteToggle").prototype.handleClick.call(this,e)):l.call(this,e)&&(e.preventDefault(),e.stopPropagation(),Component$1.getComponent("PlayToggle").prototype.handleClick.call(this,e))}canPlayType(e){let n;for(let o=0,u=this.options_.techOrder;o<u.length;o++){const l=u[o];let m=Tech$1.getTech(l);if(m||(m=Component$1.getComponent(l)),!m){log$1.error(`The "${l}" tech is undefined. Skipped browser support check for that tech.`);continue}if(m.isSupported()&&(n=m.canPlayType(e),n))return n}return""}selectSource(e){const n=this.options_.techOrder.map(y=>[y,Tech$1.getTech(y)]).filter(([y,E])=>E?E.isSupported():(log$1.error(`The "${y}" tech is undefined. Skipped browser support check for that tech.`),!1)),o=function(y,E,C){let k;return y.some(A=>E.some(D=>{if(k=C(A,D),k)return!0})),k};let u;const l=y=>(E,C)=>y(C,E),m=([y,E],C)=>{if(E.canPlaySource(C,this.options_[y.toLowerCase()]))return{source:C,tech:y}};return this.options_.sourceOrder?u=o(e,n,l(m)):u=o(n,e,m),u||!1}handleSrc_(e,n){if(typeof e>"u")return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const o=filterSource(e);if(!o.length){this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0);return}if(this.changingSrc_=!0,n||(this.cache_.sources=o),this.updateSourceCaches_(o[0]),setSource(this,o[0],(u,l)=>{if(this.middleware_=l,n||(this.cache_.sources=o),this.updateSourceCaches_(u),this.src_(u)){if(o.length>1)return this.handleSrc_(o.slice(1));this.changingSrc_=!1,this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0),this.triggerReady();return}setTech(l,this.tech_)}),o.length>1){const u=()=>{this.error(null),this.handleSrc_(o.slice(1),!0)},l=()=>{this.off("error",u)};this.one("error",u),this.one("playing",l),this.resetRetryOnError_=()=>{this.off("error",u),this.off("playing",l)}}}src(e){return this.handleSrc_(e,!1)}src_(e){const n=this.selectSource([e]);return n?titleCaseEquals(n.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1},!0),!1):(this.changingSrc_=!0,this.loadTech_(n.tech,n.source),this.tech_.ready(()=>{this.changingSrc_=!1}),!1):!0}load(){if(this.tech_&&this.tech_.vhs){this.src(this.currentSource());return}this.techCall_("load")}reset(){if(this.paused())this.doReset_();else{const e=this.play();silencePromise(e.then(()=>this.doReset_()))}}doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),this.error(null),this.titleBar&&this.titleBar.update({title:void 0,description:void 0}),isEvented(this)&&this.trigger("playerreset")}resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()}resetProgressBar_(){this.currentTime(0);const{currentTimeDisplay:e,durationDisplay:n,progressControl:o,remainingTimeDisplay:u}=this.controlBar||{},{seekBar:l}=o||{};e&&e.updateContent(),n&&n.updateContent(),u&&u.updateContent(),l&&(l.update(),l.loadProgressBar&&l.loadProgressBar.update())}resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()}resetVolumeBar_(){this.volume(1),this.trigger("volumechange")}currentSources(){const e=this.currentSource(),n=[];return Object.keys(e).length!==0&&n.push(e),this.cache_.sources||n}currentSource(){return this.cache_.source||{}}currentSrc(){return this.currentSource()&&this.currentSource().src||""}currentType(){return this.currentSource()&&this.currentSource().type||""}preload(e){if(e!==void 0){this.techCall_("setPreload",e),this.options_.preload=e;return}return this.techGet_("preload")}autoplay(e){if(e===void 0)return this.options_.autoplay||!1;let n;typeof e=="string"&&/(any|play|muted)/.test(e)||e===!0&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_(typeof e=="string"?e:"play"),n=!1):e?this.options_.autoplay=!0:this.options_.autoplay=!1,n=typeof n>"u"?this.options_.autoplay:n,this.tech_&&this.techCall_("setAutoplay",n)}playsinline(e){return e!==void 0&&(this.techCall_("setPlaysinline",e),this.options_.playsinline=e),this.techGet_("playsinline")}loop(e){if(e!==void 0){this.techCall_("setLoop",e),this.options_.loop=e;return}return this.techGet_("loop")}poster(e){if(e===void 0)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))}handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){const e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}}controls(e){if(e===void 0)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))}usingNativeControls(e){if(e===void 0)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(e){if(e===void 0)return this.error_||null;if(hooks("beforeerror").forEach(n=>{const o=n(this,e);if(!(isObject$1(o)&&!Array.isArray(o)||typeof o=="string"||typeof o=="number"||o===null)){this.log.error("please return a value that MediaError expects in beforeerror hooks");return}e=o}),this.options_.suppressNotSupportedError&&e&&e.code===4){const n=function(){this.error(e)};this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],n),this.one("loadstart",function(){this.off(["click","touchstart"],n)});return}if(e===null){this.error_=null,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close();return}this.error_=new MediaError(e),this.addClass("vjs-error"),log$1.error(`(CODE:${this.error_.code} ${MediaError.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),hooks("error").forEach(n=>n(this,this.error_))}reportUserActivity(e){this.userActivity_=!0}userActive(e){if(e===void 0)return this.userActive_;if(e=!!e,e!==this.userActive_){if(this.userActive_=e,this.userActive_){this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");return}this.tech_&&this.tech_.one("mousemove",function(n){n.stopPropagation(),n.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}}listenForUserActivity_(){let e,n,o;const u=bind_(this,this.reportUserActivity),l=function(A){(A.screenX!==n||A.screenY!==o)&&(n=A.screenX,o=A.screenY,u())},m=function(){u(),this.clearInterval(e),e=this.setInterval(u,250)},y=function(A){u(),this.clearInterval(e)};this.on("mousedown",m),this.on("mousemove",l),this.on("mouseup",y),this.on("mouseleave",y);const E=this.getChild("controlBar");E&&!IS_IOS&&!IS_ANDROID&&(E.on("mouseenter",function(A){this.player().options_.inactivityTimeout!==0&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0}),E.on("mouseleave",function(A){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",u),this.on("keyup",u);let C;const k=function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(C);const A=this.options_.inactivityTimeout;A<=0||(C=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},A))};this.setInterval(k,250)}playbackRate(e){if(e!==void 0){this.techCall_("setPlaybackRate",e);return}return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1}defaultPlaybackRate(e){return e!==void 0?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1}isAudio(e){if(e!==void 0){this.isAudio_=!!e;return}return!!this.isAudio_}updatePlayerHeightOnAudioOnlyMode_(){const e=this.getChild("ControlBar");!e||this.audioOnlyCache_.controlBarHeight===e.currentHeight()||(this.audioOnlyCache_.controlBarHeight=e.currentHeight(),this.height(this.audioOnlyCache_.controlBarHeight))}enableAudioOnlyUI_(){this.addClass("vjs-audio-only-mode");const e=this.children(),n=this.getChild("ControlBar"),o=n&&n.currentHeight();e.forEach(u=>{u!==n&&u.el_&&!u.hasClass("vjs-hidden")&&(u.hide(),this.audioOnlyCache_.hiddenChildren.push(u))}),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.audioOnlyCache_.controlBarHeight=o,this.on("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.height(o),this.trigger("audioonlymodechange")}disableAudioOnlyUI_(){this.removeClass("vjs-audio-only-mode"),this.off("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.audioOnlyCache_.hiddenChildren.forEach(e=>e.show()),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")}audioOnlyMode(e){if(typeof e!="boolean"||e===this.audioOnlyMode_)return this.audioOnlyMode_;if(this.audioOnlyMode_=e,e){const n=[];return this.isInPictureInPicture()&&n.push(this.exitPictureInPicture()),this.isFullscreen()&&n.push(this.exitFullscreen()),this.audioPosterMode()&&n.push(this.audioPosterMode(!1)),Promise.all(n).then(()=>this.enableAudioOnlyUI_())}return Promise.resolve().then(()=>this.disableAudioOnlyUI_())}enablePosterModeUI_(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}disablePosterModeUI_(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}audioPosterMode(e){return typeof e!="boolean"||e===this.audioPosterMode_?this.audioPosterMode_:(this.audioPosterMode_=e,e?this.audioOnlyMode()?this.audioOnlyMode(!1).then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.disablePosterModeUI_()}))}addTextTrack(e,n,o){if(this.tech_)return this.tech_.addTextTrack(e,n,o)}addRemoteTextTrack(e,n){if(this.tech_)return this.tech_.addRemoteTextTrack(e,n)}removeRemoteTextTrack(e={}){let{track:n}=e;if(n||(n=e),this.tech_)return this.tech_.removeRemoteTextTrack(n)}getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")}videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0}videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0}language(e){if(e===void 0)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),isEvented(this)&&this.trigger("languagechange"))}languages(){return merge$1(ms.prototype.options_.languages,this.languages_)}toJSON(){const e=merge$1(this.options_),n=e.tracks;e.tracks=[];for(let o=0;o<n.length;o++){let u=n[o];u=merge$1(u),u.player=void 0,e.tracks[o]=u}return e}createModal(e,n){n=n||{},n.content=e||"";const o=new ModalDialog(this,n);return this.addChild(o),o.on("dispose",()=>{this.removeChild(o)}),o.open(),o}updateCurrentBreakpoint_(){if(!this.responsive())return;const e=this.currentBreakpoint(),n=this.currentWidth();for(let o=0;o<BREAKPOINT_ORDER.length;o++){const u=BREAKPOINT_ORDER[o],l=this.breakpoints_[u];if(n<=l){if(e===u)return;e&&this.removeClass(BREAKPOINT_CLASSES[e]),this.addClass(BREAKPOINT_CLASSES[u]),this.breakpoint_=u;break}}}removeCurrentBreakpoint_(){const e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)}breakpoints(e){return e===void 0?Object.assign(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=Object.assign({},DEFAULT_BREAKPOINTS,e),this.updateCurrentBreakpoint_(),Object.assign(this.breakpoints_))}responsive(e){if(e===void 0)return this.responsive_;e=!!e;const n=this.responsive_;if(e!==n)return this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e}currentBreakpoint(){return this.breakpoint_}currentBreakpointClass(){return BREAKPOINT_CLASSES[this.breakpoint_]||""}loadMedia(e,n){if(!e||typeof e!="object")return;const o=this.crossOrigin();this.reset(),this.cache_.media=merge$1(e);const{artist:u,artwork:l,description:m,poster:y,src:E,textTracks:C,title:k}=this.cache_.media;!l&&y&&(this.cache_.media.artwork=[{src:y,type:getMimetype(y)}]),o&&this.crossOrigin(o),E&&this.src(E),y&&this.poster(y),Array.isArray(C)&&C.forEach(A=>this.addRemoteTextTrack(A,!1)),this.titleBar&&this.titleBar.update({title:k,description:m||u||""}),this.ready(n)}getMedia(){if(!this.cache_.media){const e=this.poster(),n=this.currentSources(),o=Array.prototype.map.call(this.remoteTextTracks(),l=>({kind:l.kind,label:l.label,language:l.language,src:l.src})),u={src:n,textTracks:o};return e&&(u.poster=e,u.artwork=[{src:u.poster,type:getMimetype(u.poster)}]),u}return merge$1(this.cache_.media)}static getTagSettings(e){const n={sources:[],tracks:[]},o=getAttributes(e),u=o["data-setup"];if(hasClass(e,"vjs-fill")&&(o.fill=!0),hasClass(e,"vjs-fluid")&&(o.fluid=!0),u!==null)try{Object.assign(o,JSON.parse(u||"{}"))}catch(l){log$1.error("data-setup",l)}if(Object.assign(n,o),e.hasChildNodes()){const l=e.childNodes;for(let m=0,y=l.length;m<y;m++){const E=l[m],C=E.nodeName.toLowerCase();C==="source"?n.sources.push(getAttributes(E)):C==="track"&&n.tracks.push(getAttributes(E))}}return n}debug(e){if(e===void 0)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)}playbackRates(e){if(e===void 0)return this.cache_.playbackRates;Array.isArray(e)&&e.every(n=>typeof n=="number")&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))}};ALL.names.forEach(function(t){const e=ALL[t];Player$1.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}}),Player$1.prototype.crossorigin=Player$1.prototype.crossOrigin,Player$1.players={};const navigator$1=window$1$1.navigator;Player$1.prototype.options_={techOrder:Tech$1.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:navigator$1&&(navigator$1.languages&&navigator$1.languages[0]||navigator$1.userLanguage||navigator$1.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1,spatialNavigation:{enabled:!1,horizontalSeek:!1},enableSmoothSeeking:!1},TECH_EVENTS_RETRIGGER.forEach(function(t){Player$1.prototype[`handleTech${toTitleCase$1(t)}_`]=function(){return this.trigger(t)}}),Component$1.registerComponent("Player",Player$1);const BASE_PLUGIN_NAME="plugin",PLUGIN_CACHE_KEY="activePlugins_",pluginStorage={},pluginExists=t=>pluginStorage.hasOwnProperty(t),getPlugin=t=>pluginExists(t)?pluginStorage[t]:void 0,markPluginAsActive=(t,e)=>{t[PLUGIN_CACHE_KEY]=t[PLUGIN_CACHE_KEY]||{},t[PLUGIN_CACHE_KEY][e]=!0},triggerSetupEvent=(t,e,n)=>{const o=(n?"before":"")+"pluginsetup";t.trigger(o,e),t.trigger(o+":"+e.name,e)},createBasicPlugin=function(t,e){const n=function(){triggerSetupEvent(this,{name:t,plugin:e,instance:null},!0);const o=e.apply(this,arguments);return markPluginAsActive(this,t),triggerSetupEvent(this,{name:t,plugin:e,instance:o}),o};return Object.keys(e).forEach(function(o){n[o]=e[o]}),n},createPluginFactory=(t,e)=>(e.prototype.name=t,function(...n){triggerSetupEvent(this,{name:t,plugin:e,instance:null},!0);const o=new e(this,...n);return this[t]=()=>o,triggerSetupEvent(this,o.getEventHash()),o});class Plugin{constructor(e){if(this.constructor===Plugin)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,this.log||(this.log=this.player.log.createLogger(this.name)),evented(this),delete this.trigger,stateful(this,this.constructor.defaultState),markPluginAsActive(e,this.name),this.dispose=this.dispose.bind(this),e.on("dispose",this.dispose)}version(){return this.constructor.VERSION}getEventHash(e={}){return e.name=this.name,e.plugin=this.constructor,e.instance=this,e}trigger(e,n={}){return trigger(this.eventBusEl_,e,this.getEventHash(n))}handleStateChanged(e){}dispose(){const{name:e,player:n}=this;this.trigger("dispose"),this.off(),n.off("dispose",this.dispose),n[PLUGIN_CACHE_KEY][e]=!1,this.player=this.state=null,n[e]=createPluginFactory(e,pluginStorage[e])}static isBasic(e){const n=typeof e=="string"?getPlugin(e):e;return typeof n=="function"&&!Plugin.prototype.isPrototypeOf(n.prototype)}static registerPlugin(e,n){if(typeof e!="string")throw new Error(`Illegal plugin name, "${e}", must be a string, was ${typeof e}.`);if(pluginExists(e))log$1.warn(`A plugin named "${e}" already exists. You may want to avoid re-registering plugins!`);else if(Player$1.prototype.hasOwnProperty(e))throw new Error(`Illegal plugin name, "${e}", cannot share a name with an existing player method!`);if(typeof n!="function")throw new Error(`Illegal plugin for "${e}", must be a function, was ${typeof n}.`);return pluginStorage[e]=n,e!==BASE_PLUGIN_NAME&&(Plugin.isBasic(n)?Player$1.prototype[e]=createBasicPlugin(e,n):Player$1.prototype[e]=createPluginFactory(e,n)),n}static deregisterPlugin(e){if(e===BASE_PLUGIN_NAME)throw new Error("Cannot de-register base plugin.");pluginExists(e)&&(delete pluginStorage[e],delete Player$1.prototype[e])}static getPlugins(e=Object.keys(pluginStorage)){let n;return e.forEach(o=>{const u=getPlugin(o);u&&(n=n||{},n[o]=u)}),n}static getPluginVersion(e){const n=getPlugin(e);return n&&n.VERSION||""}}Plugin.getPlugin=getPlugin,Plugin.BASE_PLUGIN_NAME=BASE_PLUGIN_NAME,Plugin.registerPlugin(BASE_PLUGIN_NAME,Plugin),Player$1.prototype.usingPlugin=function(t){return!!this[PLUGIN_CACHE_KEY]&&this[PLUGIN_CACHE_KEY][t]===!0},Player$1.prototype.hasPlugin=function(t){return!!pluginExists(t)};function deprecate(t,e){let n=!1;return function(...o){return n||log$1.warn(t),n=!0,e.apply(this,o)}}function deprecateForMajor(t,e,n,o){return deprecate(`${e} is deprecated and will be removed in ${t}.0; please use ${n} instead.`,o)}var VjsErrors={NetworkBadStatus:"networkbadstatus",NetworkRequestFailed:"networkrequestfailed",NetworkRequestAborted:"networkrequestaborted",NetworkRequestTimeout:"networkrequesttimeout",NetworkBodyParserFailed:"networkbodyparserfailed",StreamingHlsPlaylistParserError:"streaminghlsplaylistparsererror",StreamingDashManifestParserError:"streamingdashmanifestparsererror",StreamingContentSteeringParserError:"streamingcontentsteeringparsererror",StreamingVttParserError:"streamingvttparsererror",StreamingFailedToSelectNextSegment:"streamingfailedtoselectnextsegment",StreamingFailedToDecryptSegment:"streamingfailedtodecryptsegment",StreamingFailedToTransmuxSegment:"streamingfailedtotransmuxsegment",StreamingFailedToAppendSegment:"streamingfailedtoappendsegment",StreamingCodecsChangeError:"streamingcodecschangeerror"};const normalizeId=t=>t.indexOf("#")===0?t.slice(1):t;function videojs(t,e,n){let o=videojs.getPlayer(t);if(o)return e&&log$1.warn(`Player "${t}" is already initialised. Options will not be applied.`),n&&o.ready(n),o;const u=typeof t=="string"?$("#"+normalizeId(t)):t;if(!isEl(u))throw new TypeError("The element or ID supplied is not valid. (videojs)");const m=("getRootNode"in u?u.getRootNode()instanceof window$1$1.ShadowRoot:!1)?u.getRootNode():u.ownerDocument.body;(!u.ownerDocument.defaultView||!m.contains(u))&&log$1.warn("The element supplied is not included in the DOM"),e=e||{},e.restoreEl===!0&&(e.restoreEl=(u.parentNode&&u.parentNode.hasAttribute&&u.parentNode.hasAttribute("data-vjs-player")?u.parentNode:u).cloneNode(!0)),hooks("beforesetup").forEach(E=>{const C=E(u,merge$1(e));if(!isObject$1(C)||Array.isArray(C)){log$1.error("please return an object in beforesetup hooks");return}e=merge$1(e,C)});const y=Component$1.getComponent("Player");return o=new y(u,e,n),hooks("setup").forEach(E=>E(o)),o}if(videojs.hooks_=hooks_,videojs.hooks=hooks,videojs.hook=hook,videojs.hookOnce=hookOnce,videojs.removeHook=removeHook,window$1$1.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&isReal()){let t=$(".vjs-styles-defaults");if(!t){t=createStyleElement("vjs-styles-defaults");const e=$("head");e&&e.insertBefore(t,e.firstChild),setTextContent(t,`
+`),this.tech_},o.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},o.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},o.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},o.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(this.autoplay()===!0&&this.options_.normalizeAutoplay?"play":this.autoplay())},o.manualAutoplay_=function(t){var u=this;if(!(!this.tech_||typeof t!="string")){var h=function(){var A=u.muted();u.muted(!0);var E=function(){u.muted(A)};u.playTerminatedQueue_.push(E);var C=u.play();if(isPromise(C))return C.catch(function(M){throw E(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(M||""))})},v;if(t==="any"&&!this.muted()?(v=this.play(),isPromise(v)&&(v=v.catch(h))):t==="muted"&&!this.muted()?v=h():v=this.play(),!!isPromise(v))return v.then(function(){u.trigger({type:"autoplay-success",autoplay:t})}).catch(function(){u.trigger({type:"autoplay-failure",autoplay:t})})}},o.updateSourceCaches_=function(t){t===void 0&&(t="");var u=t,h="";typeof u!="string"&&(u=t.src,h=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],u&&!h&&(h=findMimetype(this,u)),this.cache_.source=mergeOptions$3({},t,{src:u,type:h});for(var v=this.cache_.sources.filter(function(P){return P.src&&P.src===u}),w=[],A=this.$$("source"),E=[],C=0;C<A.length;C++){var M=getAttributes(A[C]);w.push(M),M.src&&M.src===u&&E.push(M.src)}E.length&&!v.length?this.cache_.sources=w:v.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=u},o.handleTechSourceset_=function(t){var u=this;if(!this.changingSrc_){var h=function(E){return u.updateSourceCaches_(E)},v=this.currentSource().src,w=t.src;v&&!/^blob:/.test(v)&&/^blob:/.test(w)&&(!this.lastSource_||this.lastSource_.tech!==w&&this.lastSource_.player!==v)&&(h=function(){}),h(w),t.src||this.tech_.any(["sourceset","loadstart"],function(A){if(A.type!=="sourceset"){var E=u.techGet("currentSrc");u.lastSource_.tech=E,u.updateSourceCaches_(E)}})}this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})},o.hasStarted=function(t){if(t===void 0)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},o.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},o.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&this.cache_.lastPlaybackRate===0&&(this.queuedCallbacks_.forEach(function(t){return t.callback(t.event)}),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},o.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting");var u=this.currentTime(),h=function v(){u!==t.currentTime()&&(t.removeClass("vjs-waiting"),t.off("timeupdate",v))};this.on("timeupdate",h)},o.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},o.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},o.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},o.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},o.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},o.handleTechFirstPlay_=function(){this.options_.starttime&&(log$1.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},o.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},o.handleTechEnded_=function(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},o.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},o.handleTechClick_=function(t){this.controls_&&(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.click===void 0||this.options_.userActions.click!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.click=="function"?this.options_.userActions.click.call(this,t):this.paused()?silencePromise(this.play()):this.pause())},o.handleTechDoubleClick_=function(t){if(this.controls_){var u=Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),function(h){return h.contains(t.target)});u||(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.doubleClick===void 0||this.options_.userActions.doubleClick!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.doubleClick=="function"?this.options_.userActions.doubleClick.call(this,t):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen())}},o.handleTechTap_=function(){this.userActive(!this.userActive())},o.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},o.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},o.handleTechTouchEnd_=function(t){t.cancelable&&t.preventDefault()},o.handleStageClick_=function(){this.reportUserActivity()},o.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},o.documentFullscreenChange_=function(t){var u=t.target.player;if(!(u&&u!==this)){var h=this.el(),v=document$2[this.fsApi_.fullscreenElement]===h;!v&&h.matches?v=h.matches(":"+this.fsApi_.fullscreen):!v&&h.msMatchesSelector&&(v=h.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(v)}},o.handleTechFullscreenChange_=function(t,u){var h=this;u&&(u.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",function(){h.removeClass("vjs-ios-native-fs")})),this.isFullscreen(u.isFullscreen))},o.handleTechFullscreenError_=function(t,u){this.trigger("fullscreenerror",u)},o.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},o.handleTechEnterPictureInPicture_=function(t){this.isInPictureInPicture(!0)},o.handleTechLeavePictureInPicture_=function(t){this.isInPictureInPicture(!1)},o.handleTechError_=function(){var t=this.tech_.error();this.error(t)},o.handleTechTextData_=function(){var t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)},o.getCache=function(){return this.cache_},o.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},o.techCall_=function(t,u){this.ready(function(){if(t in allowedSetters)return set(this.middleware_,this.tech_,t,u);if(t in allowedMediators)return mediate(this.middleware_,this.tech_,t,u);try{this.tech_&&this.tech_[t](u)}catch(h){throw log$1(h),h}},!0)},o.techGet_=function(t){if(!(!this.tech_||!this.tech_.isReady_)){if(t in allowedGetters)return get(this.middleware_,this.tech_,t);if(t in allowedMediators)return mediate(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(u){throw this.tech_[t]===void 0?(log$1("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",u),u):u.name==="TypeError"?(log$1("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",u),this.tech_.isReady_=!1,u):(log$1(u),u)}}},o.play=function(){var t=this,u=this.options_.Promise||window$1$1.Promise;return u?new u(function(h){t.play_(h)}):this.play_()},o.play_=function(t){var u=this;t===void 0&&(t=silencePromise),this.playCallbacks_.push(t);var h=!!(!this.changingSrc_&&(this.src()||this.currentSrc())),v=!!(IS_ANY_SAFARI||IS_IOS);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!h){this.waitToPlay_=function(E){u.play_()},this.one(["ready","loadstart"],this.waitToPlay_),!h&&v&&this.load();return}var w=this.techGet_("play"),A=v&&this.hasClass("vjs-ended");A&&this.resetProgressBar_(),w===null?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(w)},o.runPlayTerminatedQueue_=function(){var t=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],t.forEach(function(u){u()})},o.runPlayCallbacks_=function(t){var u=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],u.forEach(function(h){h(t)})},o.pause=function(){this.techCall_("pause")},o.paused=function(){return this.techGet_("paused")!==!1},o.played=function(){return this.techGet_("played")||createTimeRanges(0,0)},o.scrubbing=function(t){if(typeof t>"u")return this.scrubbing_;this.scrubbing_=!!t,this.techCall_("setScrubbing",this.scrubbing_),t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},o.currentTime=function(t){if(typeof t<"u"){if(t<0&&(t=0),!this.isReady_||this.changingSrc_||!this.tech_||!this.tech_.isReady_){this.cache_.initTime=t,this.off("canplay",this.boundApplyInitTime_),this.one("canplay",this.boundApplyInitTime_);return}this.techCall_("setCurrentTime",t),this.cache_.initTime=0;return}return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime},o.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},o.duration=function(t){if(t===void 0)return this.cache_.duration!==void 0?this.cache_.duration:NaN;t=parseFloat(t),t<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(t)||this.trigger("durationchange"))},o.remainingTime=function(){return this.duration()-this.currentTime()},o.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},o.buffered=function(){var t=this.techGet_("buffered");return(!t||!t.length)&&(t=createTimeRanges(0,0)),t},o.bufferedPercent=function(){return bufferedPercent(this.buffered(),this.duration())},o.bufferedEnd=function(){var t=this.buffered(),u=this.duration(),h=t.end(t.length-1);return h>u&&(h=u),h},o.volume=function(t){var u;if(t!==void 0){u=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=u,this.techCall_("setVolume",u),u>0&&this.lastVolume_(u);return}return u=parseFloat(this.techGet_("volume")),isNaN(u)?1:u},o.muted=function(t){if(t!==void 0){this.techCall_("setMuted",t);return}return this.techGet_("muted")||!1},o.defaultMuted=function(t){return t!==void 0?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},o.lastVolume_=function(t){if(t!==void 0&&t!==0){this.cache_.lastVolume=t;return}return this.cache_.lastVolume},o.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},o.isFullscreen=function(t){if(t!==void 0){var u=this.isFullscreen_;this.isFullscreen_=!!t,this.isFullscreen_!==u&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),this.toggleFullscreenClass_();return}return this.isFullscreen_},o.requestFullscreen=function(t){var u=this.options_.Promise||window$1$1.Promise;if(u){var h=this;return new u(function(v,w){function A(){h.off("fullscreenerror",C),h.off("fullscreenchange",E)}function E(){A(),v()}function C(P,I){A(),w(I)}h.one("fullscreenchange",E),h.one("fullscreenerror",C);var M=h.requestFullscreenHelper_(t);M&&(M.then(A,A),M.then(v,w))})}return this.requestFullscreenHelper_()},o.requestFullscreenHelper_=function(t){var u=this,h;if(this.fsApi_.prefixed||(h=this.options_.fullscreen&&this.options_.fullscreen.options||{},t!==void 0&&(h=t)),this.fsApi_.requestFullscreen){var v=this.el_[this.fsApi_.requestFullscreen](h);return v&&v.then(function(){return u.isFullscreen(!0)},function(){return u.isFullscreen(!1)}),v}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},o.exitFullscreen=function(){var t=this.options_.Promise||window$1$1.Promise;if(t){var u=this;return new t(function(h,v){function w(){u.off("fullscreenerror",E),u.off("fullscreenchange",A)}function A(){w(),h()}function E(M,P){w(),v(P)}u.one("fullscreenchange",A),u.one("fullscreenerror",E);var C=u.exitFullscreenHelper_();C&&(C.then(w,w),C.then(h,v))})}return this.exitFullscreenHelper_()},o.exitFullscreenHelper_=function(){var t=this;if(this.fsApi_.requestFullscreen){var u=document$2[this.fsApi_.exitFullscreen]();return u&&silencePromise(u.then(function(){return t.isFullscreen(!1)})),u}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},o.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=document$2.documentElement.style.overflow,on(document$2,"keydown",this.boundFullWindowOnEscKey_),document$2.documentElement.style.overflow="hidden",addClass(document$2.body,"vjs-full-window"),this.trigger("enterFullWindow")},o.fullWindowOnEscKey=function(t){keycode.isEventKey(t,"Esc")&&this.isFullscreen()===!0&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},o.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,off(document$2,"keydown",this.boundFullWindowOnEscKey_),document$2.documentElement.style.overflow=this.docOrigOverflow,removeClass(document$2.body,"vjs-full-window"),this.trigger("exitFullWindow")},o.disablePictureInPicture=function(t){if(t===void 0)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",t),this.options_.disablePictureInPicture=t,this.trigger("disablepictureinpicturechanged")},o.isInPictureInPicture=function(t){if(t!==void 0){this.isInPictureInPicture_=!!t,this.togglePictureInPictureClass_();return}return!!this.isInPictureInPicture_},o.requestPictureInPicture=function(){if("pictureInPictureEnabled"in document$2&&this.disablePictureInPicture()===!1)return this.techGet_("requestPictureInPicture")},o.exitPictureInPicture=function(){if("pictureInPictureEnabled"in document$2)return document$2.exitPictureInPicture()},o.handleKeyDown=function(t){var u=this.options_.userActions;if(!(!u||!u.hotkeys)){var h=function(w){var A=w.tagName.toLowerCase();if(w.isContentEditable)return!0;var E=["button","checkbox","hidden","radio","reset","submit"];if(A==="input")return E.indexOf(w.type)===-1;var C=["textarea"];return C.indexOf(A)!==-1};h(this.el_.ownerDocument.activeElement)||(typeof u.hotkeys=="function"?u.hotkeys.call(this,t):this.handleHotkeys(t))}},o.handleHotkeys=function(t){var u=this.options_.userActions?this.options_.userActions.hotkeys:{},h=u.fullscreenKey,v=h===void 0?function(j){return keycode.isEventKey(j,"f")}:h,w=u.muteKey,A=w===void 0?function(j){return keycode.isEventKey(j,"m")}:w,E=u.playPauseKey,C=E===void 0?function(j){return keycode.isEventKey(j,"k")||keycode.isEventKey(j,"Space")}:E;if(v.call(this,t)){t.preventDefault(),t.stopPropagation();var M=Component$1.getComponent("FullscreenToggle");document$2[this.fsApi_.fullscreenEnabled]!==!1&&M.prototype.handleClick.call(this,t)}else if(A.call(this,t)){t.preventDefault(),t.stopPropagation();var P=Component$1.getComponent("MuteToggle");P.prototype.handleClick.call(this,t)}else if(C.call(this,t)){t.preventDefault(),t.stopPropagation();var I=Component$1.getComponent("PlayToggle");I.prototype.handleClick.call(this,t)}},o.canPlayType=function(t){for(var u,h=0,v=this.options_.techOrder;h<v.length;h++){var w=v[h],A=Tech$2.getTech(w);if(A||(A=Component$1.getComponent(w)),!A){log$1.error('The "'+w+'" tech is undefined. Skipped browser support check for that tech.');continue}if(A.isSupported()&&(u=A.canPlayType(t),u))return u}return""},o.selectSource=function(t){var u=this,h=this.options_.techOrder.map(function(C){return[C,Tech$2.getTech(C)]}).filter(function(C){var M=C[0],P=C[1];return P?P.isSupported():(log$1.error('The "'+M+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),v=function(M,P,I){var j;return M.some(function(B){return P.some(function(F){if(j=I(B,F),j)return!0})}),j},w,A=function(M){return function(P,I){return M(I,P)}},E=function(M,P){var I=M[0],j=M[1];if(j.canPlaySource(P,u.options_[I.toLowerCase()]))return{source:P,tech:I}};return this.options_.sourceOrder?w=v(t,h,A(E)):w=v(h,t,E),w||!1},o.handleSrc_=function(t,u){var h=this;if(typeof t>"u")return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();var v=filterSource(t);if(!v.length){this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0);return}if(this.changingSrc_=!0,u||(this.cache_.sources=v),this.updateSourceCaches_(v[0]),setSource(this,v[0],function(E,C){h.middleware_=C,u||(h.cache_.sources=v),h.updateSourceCaches_(E);var M=h.src_(E);if(M){if(v.length>1)return h.handleSrc_(v.slice(1));h.changingSrc_=!1,h.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0),h.triggerReady();return}setTech(C,h.tech_)}),this.options_.retryOnError&&v.length>1){var w=function(){h.error(null),h.handleSrc_(v.slice(1),!0)},A=function(){h.off("error",w)};this.one("error",w),this.one("playing",A),this.resetRetryOnError_=function(){h.off("error",w),h.off("playing",A)}}},o.src=function(t){return this.handleSrc_(t,!1)},o.src_=function(t){var u=this,h=this.selectSource([t]);return h?titleCaseEquals(h.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1},!0),!1):(this.changingSrc_=!0,this.loadTech_(h.tech,h.source),this.tech_.ready(function(){u.changingSrc_=!1}),!1):!0},o.load=function(){this.techCall_("load")},o.reset=function(){var t=this,u=this.options_.Promise||window$1$1.Promise;if(this.paused()||!u)this.doReset_();else{var h=this.play();silencePromise(h.then(function(){return t.doReset_()}))}},o.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),isEvented(this)&&this.trigger("playerreset")},o.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},o.resetProgressBar_=function(){this.currentTime(0);var t=this.controlBar||{},u=t.durationDisplay,h=t.remainingTimeDisplay;u&&u.updateContent(),h&&h.updateContent()},o.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},o.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},o.currentSources=function(){var t=this.currentSource(),u=[];return Object.keys(t).length!==0&&u.push(t),this.cache_.sources||u},o.currentSource=function(){return this.cache_.source||{}},o.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},o.currentType=function(){return this.currentSource()&&this.currentSource().type||""},o.preload=function(t){if(t!==void 0){this.techCall_("setPreload",t),this.options_.preload=t;return}return this.techGet_("preload")},o.autoplay=function(t){if(t===void 0)return this.options_.autoplay||!1;var u;typeof t=="string"&&/(any|play|muted)/.test(t)||t===!0&&this.options_.normalizeAutoplay?(this.options_.autoplay=t,this.manualAutoplay_(typeof t=="string"?t:"play"),u=!1):t?this.options_.autoplay=!0:this.options_.autoplay=!1,u=typeof u>"u"?this.options_.autoplay:u,this.tech_&&this.techCall_("setAutoplay",u)},o.playsinline=function(t){return t!==void 0?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},o.loop=function(t){if(t!==void 0){this.techCall_("setLoop",t),this.options_.loop=t;return}return this.techGet_("loop")},o.poster=function(t){if(t===void 0)return this.poster_;t||(t=""),t!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))},o.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var t=this.tech_.poster()||"";t!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},o.controls=function(t){if(t===void 0)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},o.usingNativeControls=function(t){if(t===void 0)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},o.error=function(t){var u=this;if(t===void 0)return this.error_||null;if(hooks("beforeerror").forEach(function(v){var w=v(u,t);if(!(isObject$1(w)&&!Array.isArray(w)||typeof w=="string"||typeof w=="number"||w===null)){u.log.error("please return a value that MediaError expects in beforeerror hooks");return}t=w}),this.options_.suppressNotSupportedError&&t&&t.code===4){var h=function(){this.error(t)};this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],h),this.one("loadstart",function(){this.off(["click","touchstart"],h)});return}if(t===null){this.error_=t,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close();return}this.error_=new MediaError(t),this.addClass("vjs-error"),log$1.error("(CODE:"+this.error_.code+" "+MediaError.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),hooks("error").forEach(function(v){return v(u,u.error_)})},o.reportUserActivity=function(t){this.userActivity_=!0},o.userActive=function(t){if(t===void 0)return this.userActive_;if(t=!!t,t!==this.userActive_){if(this.userActive_=t,this.userActive_){this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");return}this.tech_&&this.tech_.one("mousemove",function(u){u.stopPropagation(),u.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},o.listenForUserActivity_=function(){var t,u,h,v=bind$2(this,this.reportUserActivity),w=function(I){(I.screenX!==u||I.screenY!==h)&&(u=I.screenX,h=I.screenY,v())},A=function(){v(),this.clearInterval(t),t=this.setInterval(v,250)},E=function(I){v(),this.clearInterval(t)};this.on("mousedown",A),this.on("mousemove",w),this.on("mouseup",E),this.on("mouseleave",E);var C=this.getChild("controlBar");C&&!IS_IOS&&!IS_ANDROID&&(C.on("mouseenter",function(P){this.player().options_.inactivityTimeout!==0&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0}),C.on("mouseleave",function(P){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",v),this.on("keyup",v);var M;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(M);var P=this.options_.inactivityTimeout;P<=0||(M=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},P))}},250)},o.playbackRate=function(t){if(t!==void 0){this.techCall_("setPlaybackRate",t);return}return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1},o.defaultPlaybackRate=function(t){return t!==void 0?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},o.isAudio=function(t){if(t!==void 0){this.isAudio_=!!t;return}return!!this.isAudio_},o.enableAudioOnlyUI_=function(){var t=this;this.addClass("vjs-audio-only-mode");var u=this.children(),h=this.getChild("ControlBar"),v=h&&h.currentHeight();u.forEach(function(w){w!==h&&w.el_&&!w.hasClass("vjs-hidden")&&(w.hide(),t.audioOnlyCache_.hiddenChildren.push(w))}),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(v),this.trigger("audioonlymodechange")},o.disableAudioOnlyUI_=function(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach(function(t){return t.show()}),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")},o.audioOnlyMode=function(t){var u=this;if(typeof t!="boolean"||t===this.audioOnlyMode_)return this.audioOnlyMode_;this.audioOnlyMode_=t;var h=this.options_.Promise||window$1$1.Promise;if(h){if(t){var v=[];return this.isInPictureInPicture()&&v.push(this.exitPictureInPicture()),this.isFullscreen()&&v.push(this.exitFullscreen()),this.audioPosterMode()&&v.push(this.audioPosterMode(!1)),h.all(v).then(function(){return u.enableAudioOnlyUI_()})}return h.resolve().then(function(){return u.disableAudioOnlyUI_()})}t?(this.isInPictureInPicture()&&this.exitPictureInPicture(),this.isFullscreen()&&this.exitFullscreen(),this.enableAudioOnlyUI_()):this.disableAudioOnlyUI_()},o.enablePosterModeUI_=function(){var t=this.tech_&&this.tech_;t.hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},o.disablePosterModeUI_=function(){var t=this.tech_&&this.tech_;t.show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},o.audioPosterMode=function(t){var u=this;if(typeof t!="boolean"||t===this.audioPosterMode_)return this.audioPosterMode_;this.audioPosterMode_=t;var h=this.options_.Promise||window$1$1.Promise;if(h){if(t){if(this.audioOnlyMode()){var v=this.audioOnlyMode(!1);return v.then(function(){u.enablePosterModeUI_()})}return h.resolve().then(function(){u.enablePosterModeUI_()})}return h.resolve().then(function(){u.disablePosterModeUI_()})}if(t){this.audioOnlyMode()&&this.audioOnlyMode(!1),this.enablePosterModeUI_();return}this.disablePosterModeUI_()},o.addTextTrack=function(t,u,h){if(this.tech_)return this.tech_.addTextTrack(t,u,h)},o.addRemoteTextTrack=function(t,u){if(this.tech_)return this.tech_.addRemoteTextTrack(t,u)},o.removeRemoteTextTrack=function(t){t===void 0&&(t={});var u=t,h=u.track;if(h||(h=t),this.tech_)return this.tech_.removeRemoteTextTrack(h)},o.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},o.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},o.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},o.language=function(t){if(t===void 0)return this.language_;this.language_!==String(t).toLowerCase()&&(this.language_=String(t).toLowerCase(),isEvented(this)&&this.trigger("languagechange"))},o.languages=function(){return mergeOptions$3(e.prototype.options_.languages,this.languages_)},o.toJSON=function(){var t=mergeOptions$3(this.options_),u=t.tracks;t.tracks=[];for(var h=0;h<u.length;h++){var v=u[h];v=mergeOptions$3(v),v.player=void 0,t.tracks[h]=v}return t},o.createModal=function(t,u){var h=this;u=u||{},u.content=t||"";var v=new ModalDialog(this,u);return this.addChild(v),v.on("dispose",function(){h.removeChild(v)}),v.open(),v},o.updateCurrentBreakpoint_=function(){if(this.responsive())for(var t=this.currentBreakpoint(),u=this.currentWidth(),h=0;h<BREAKPOINT_ORDER.length;h++){var v=BREAKPOINT_ORDER[h],w=this.breakpoints_[v];if(u<=w){if(t===v)return;t&&this.removeClass(BREAKPOINT_CLASSES[t]),this.addClass(BREAKPOINT_CLASSES[v]),this.breakpoint_=v;break}}},o.removeCurrentBreakpoint_=function(){var t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)},o.breakpoints=function(t){return t===void 0?assign(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=assign({},DEFAULT_BREAKPOINTS,t),this.updateCurrentBreakpoint_(),assign(this.breakpoints_))},o.responsive=function(t){if(t===void 0)return this.responsive_;t=!!t;var u=this.responsive_;if(t!==u)return this.responsive_=t,t?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t},o.currentBreakpoint=function(){return this.breakpoint_},o.currentBreakpointClass=function(){return BREAKPOINT_CLASSES[this.breakpoint_]||""},o.loadMedia=function(t,u){var h=this;if(!(!t||typeof t!="object")){this.reset(),this.cache_.media=mergeOptions$3(t);var v=this.cache_.media,w=v.artwork,A=v.poster,E=v.src,C=v.textTracks;!w&&A&&(this.cache_.media.artwork=[{src:A,type:getMimetype(A)}]),E&&this.src(E),A&&this.poster(A),Array.isArray(C)&&C.forEach(function(M){return h.addRemoteTextTrack(M,!1)}),this.ready(u)}},o.getMedia=function(){if(!this.cache_.media){var t=this.poster(),u=this.currentSources(),h=Array.prototype.map.call(this.remoteTextTracks(),function(w){return{kind:w.kind,label:w.label,language:w.language,src:w.src}}),v={src:u,textTracks:h};return t&&(v.poster=t,v.artwork=[{src:v.poster,type:getMimetype(v.poster)}]),v}return mergeOptions$3(this.cache_.media)},e.getTagSettings=function(t){var u={sources:[],tracks:[]},h=getAttributes(t),v=h["data-setup"];if(hasClass(t,"vjs-fill")&&(h.fill=!0),hasClass(t,"vjs-fluid")&&(h.fluid=!0),v!==null){var w=safeParseTuple(v||"{}"),A=w[0],E=w[1];A&&log$1.error(A),assign(h,E)}if(assign(u,h),t.hasChildNodes())for(var C=t.childNodes,M=0,P=C.length;M<P;M++){var I=C[M],j=I.nodeName.toLowerCase();j==="source"?u.sources.push(getAttributes(I)):j==="track"&&u.tracks.push(getAttributes(I))}return u},o.flexNotSupported_=function(){var t=document$2.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},o.debug=function(t){if(t===void 0)return this.debugEnabled_;t?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)},o.playbackRates=function(t){if(t===void 0)return this.cache_.playbackRates;Array.isArray(t)&&t.every(function(u){return typeof u=="number"})&&(this.cache_.playbackRates=t,this.trigger("playbackrateschange"))},e}(Component$1);ALL.names.forEach(function(n){var e=ALL[n];Player$1.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}}),Player$1.prototype.crossorigin=Player$1.prototype.crossOrigin,Player$1.players={};var navigator$1=window$1$1.navigator;Player$1.prototype.options_={techOrder:Tech$2.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:navigator$1&&(navigator$1.languages&&navigator$1.languages[0]||navigator$1.userLanguage||navigator$1.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach(function(n){Player$1.prototype[n]=function(){return this.techGet_(n)}}),TECH_EVENTS_RETRIGGER.forEach(function(n){Player$1.prototype["handleTech"+toTitleCase$1(n)+"_"]=function(){return this.trigger(n)}}),Component$1.registerComponent("Player",Player$1);var BASE_PLUGIN_NAME="plugin",PLUGIN_CACHE_KEY="activePlugins_",pluginStorage={},pluginExists=function(e){return pluginStorage.hasOwnProperty(e)},getPlugin=function(e){return pluginExists(e)?pluginStorage[e]:void 0},markPluginAsActive=function(e,o){e[PLUGIN_CACHE_KEY]=e[PLUGIN_CACHE_KEY]||{},e[PLUGIN_CACHE_KEY][o]=!0},triggerSetupEvent=function(e,o,l){var t=(l?"before":"")+"pluginsetup";e.trigger(t,o),e.trigger(t+":"+o.name,o)},createBasicPlugin=function(e,o){var l=function(){triggerSetupEvent(this,{name:e,plugin:o,instance:null},!0);var u=o.apply(this,arguments);return markPluginAsActive(this,e),triggerSetupEvent(this,{name:e,plugin:o,instance:u}),u};return Object.keys(o).forEach(function(t){l[t]=o[t]}),l},createPluginFactory=function(e,o){return o.prototype.name=e,function(){triggerSetupEvent(this,{name:e,plugin:o,instance:null},!0);for(var l=arguments.length,t=new Array(l),u=0;u<l;u++)t[u]=arguments[u];var h=_construct$1(o,[this].concat(t));return this[e]=function(){return h},triggerSetupEvent(this,h.getEventHash()),h}},Plugin=function(){function n(o){if(this.constructor===n)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=o,this.log||(this.log=this.player.log.createLogger(this.name)),evented(this),delete this.trigger,stateful(this,this.constructor.defaultState),markPluginAsActive(o,this.name),this.dispose=this.dispose.bind(this),o.on("dispose",this.dispose)}var e=n.prototype;return e.version=function(){return this.constructor.VERSION},e.getEventHash=function(l){return l===void 0&&(l={}),l.name=this.name,l.plugin=this.constructor,l.instance=this,l},e.trigger=function(l,t){return t===void 0&&(t={}),trigger(this.eventBusEl_,l,this.getEventHash(t))},e.handleStateChanged=function(l){},e.dispose=function(){var l=this.name,t=this.player;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t[PLUGIN_CACHE_KEY][l]=!1,this.player=this.state=null,t[l]=createPluginFactory(l,pluginStorage[l])},n.isBasic=function(l){var t=typeof l=="string"?getPlugin(l):l;return typeof t=="function"&&!n.prototype.isPrototypeOf(t.prototype)},n.registerPlugin=function(l,t){if(typeof l!="string")throw new Error('Illegal plugin name, "'+l+'", must be a string, was '+typeof l+".");if(pluginExists(l))log$1.warn('A plugin named "'+l+'" already exists. You may want to avoid re-registering plugins!');else if(Player$1.prototype.hasOwnProperty(l))throw new Error('Illegal plugin name, "'+l+'", cannot share a name with an existing player method!');if(typeof t!="function")throw new Error('Illegal plugin for "'+l+'", must be a function, was '+typeof t+".");return pluginStorage[l]=t,l!==BASE_PLUGIN_NAME&&(n.isBasic(t)?Player$1.prototype[l]=createBasicPlugin(l,t):Player$1.prototype[l]=createPluginFactory(l,t)),t},n.deregisterPlugin=function(l){if(l===BASE_PLUGIN_NAME)throw new Error("Cannot de-register base plugin.");pluginExists(l)&&(delete pluginStorage[l],delete Player$1.prototype[l])},n.getPlugins=function(l){l===void 0&&(l=Object.keys(pluginStorage));var t;return l.forEach(function(u){var h=getPlugin(u);h&&(t=t||{},t[u]=h)}),t},n.getPluginVersion=function(l){var t=getPlugin(l);return t&&t.VERSION||""},n}();Plugin.getPlugin=getPlugin,Plugin.BASE_PLUGIN_NAME=BASE_PLUGIN_NAME,Plugin.registerPlugin(BASE_PLUGIN_NAME,Plugin),Player$1.prototype.usingPlugin=function(n){return!!this[PLUGIN_CACHE_KEY]&&this[PLUGIN_CACHE_KEY][n]===!0},Player$1.prototype.hasPlugin=function(n){return!!pluginExists(n)};var hasLogged=!1,extend$2=function(e,o){o===void 0&&(o={}),hasLogged||(log$1.warn("videojs.extend is deprecated as of Video.js 7.22.0 and will be removed in Video.js 8.0.0"),hasLogged=!0);var l=function(){e.apply(this,arguments)},t={};typeof o=="object"?(o.constructor!==Object.prototype.constructor&&(l=o.constructor),t=o):typeof o=="function"&&(l=o),_inherits$1(l,e),e&&(l.super_=e);for(var u in t)t.hasOwnProperty(u)&&(l.prototype[u]=t[u]);return l},normalizeId=function(e){return e.indexOf("#")===0?e.slice(1):e};function videojs(n,e,o){var l=videojs.getPlayer(n);if(l)return e&&log$1.warn('Player "'+n+'" is already initialised. Options will not be applied.'),o&&l.ready(o),l;var t=typeof n=="string"?$("#"+normalizeId(n)):n;if(!isEl(t))throw new TypeError("The element or ID supplied is not valid. (videojs)");(!t.ownerDocument.defaultView||!t.ownerDocument.body.contains(t))&&log$1.warn("The element supplied is not included in the DOM"),e=e||{},e.restoreEl===!0&&(e.restoreEl=(t.parentNode&&t.parentNode.hasAttribute("data-vjs-player")?t.parentNode:t).cloneNode(!0)),hooks("beforesetup").forEach(function(h){var v=h(t,mergeOptions$3(e));if(!isObject$1(v)||Array.isArray(v)){log$1.error("please return an object in beforesetup hooks");return}e=mergeOptions$3(e,v)});var u=Component$1.getComponent("Player");return l=new u(t,e,o),hooks("setup").forEach(function(h){return h(l)}),l}if(videojs.hooks_=hooks_,videojs.hooks=hooks,videojs.hook=hook,videojs.hookOnce=hookOnce,videojs.removeHook=removeHook,window$1$1.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&isReal()){var style=$(".vjs-styles-defaults");if(!style){style=createStyleElement("vjs-styles-defaults");var head=$("head");head&&head.insertBefore(style,head.firstChild),setTextContent(style,`
       .video-js {
         width: 300px;
         height: 150px;
@@ -598,38 +459,24 @@
       .vjs-fluid:not(.vjs-audio-only-mode) {
         padding-top: 56.25%
       }
-    `)}}autoSetupTimeout(1,videojs),videojs.VERSION=version$6,videojs.options=Player$1.prototype.options_,videojs.getPlayers=()=>Player$1.players,videojs.getPlayer=t=>{const e=Player$1.players;let n;if(typeof t=="string"){const o=normalizeId(t),u=e[o];if(u)return u;n=$("#"+o)}else n=t;if(isEl(n)){const{player:o,playerId:u}=n;if(o||e[u])return o||e[u]}},videojs.getAllPlayers=()=>Object.keys(Player$1.players).map(t=>Player$1.players[t]).filter(Boolean),videojs.players=Player$1.players,videojs.getComponent=Component$1.getComponent,videojs.registerComponent=(t,e)=>(Tech$1.isTech(e)&&log$1.warn(`The ${t} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),Component$1.registerComponent.call(Component$1,t,e)),videojs.getTech=Tech$1.getTech,videojs.registerTech=Tech$1.registerTech,videojs.use=use,Object.defineProperty(videojs,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(videojs.middleware,"TERMINATOR",{value:TERMINATOR,writeable:!1,enumerable:!0}),videojs.browser=browser$f,videojs.obj=Obj,videojs.mergeOptions=deprecateForMajor(9,"videojs.mergeOptions","videojs.obj.merge",merge$1),videojs.defineLazyProperty=deprecateForMajor(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",defineLazyProperty),videojs.bind=deprecateForMajor(9,"videojs.bind","native Function.prototype.bind",bind_),videojs.registerPlugin=Plugin.registerPlugin,videojs.deregisterPlugin=Plugin.deregisterPlugin,videojs.plugin=(t,e)=>(log$1.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Plugin.registerPlugin(t,e)),videojs.getPlugins=Plugin.getPlugins,videojs.getPlugin=Plugin.getPlugin,videojs.getPluginVersion=Plugin.getPluginVersion,videojs.addLanguage=function(t,e){return t=(""+t).toLowerCase(),videojs.options.languages=merge$1(videojs.options.languages,{[t]:e}),videojs.options.languages[t]},videojs.log=log$1,videojs.createLogger=createLogger,videojs.time=Time$1,videojs.createTimeRange=deprecateForMajor(9,"videojs.createTimeRange","videojs.time.createTimeRanges",createTimeRanges$1),videojs.createTimeRanges=deprecateForMajor(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",createTimeRanges$1),videojs.formatTime=deprecateForMajor(9,"videojs.formatTime","videojs.time.formatTime",formatTime),videojs.setFormatTime=deprecateForMajor(9,"videojs.setFormatTime","videojs.time.setFormatTime",setFormatTime),videojs.resetFormatTime=deprecateForMajor(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",resetFormatTime),videojs.parseUrl=deprecateForMajor(9,"videojs.parseUrl","videojs.url.parseUrl",parseUrl),videojs.isCrossOrigin=deprecateForMajor(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",isCrossOrigin),videojs.EventTarget=EventTarget$2,videojs.any=any,videojs.on=on,videojs.one=one,videojs.off=off,videojs.trigger=trigger,videojs.xhr=XHR,videojs.TextTrack=TextTrack,videojs.AudioTrack=AudioTrack,videojs.VideoTrack=VideoTrack,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(t=>{videojs[t]=function(){return log$1.warn(`videojs.${t}() is deprecated; use videojs.dom.${t}() instead`),Dom[t].apply(null,arguments)}}),videojs.computedStyle=deprecateForMajor(9,"videojs.computedStyle","videojs.dom.computedStyle",computedStyle),videojs.dom=Dom,videojs.fn=Fn,videojs.num=Num,videojs.str=Str,videojs.url=Url$1,videojs.Error=VjsErrors;/*! @name videojs-contrib-quality-levels @version 4.1.0 @license Apache-2.0 */class QualityLevel{constructor(e){let n=this;return n.id=e.id,n.label=n.id,n.width=e.width,n.height=e.height,n.bitrate=e.bandwidth,n.frameRate=e.frameRate,n.enabled_=e.enabled,Object.defineProperty(n,"enabled",{get(){return n.enabled_()},set(o){n.enabled_(o)}}),n}}class QualityLevelList extends videojs.EventTarget{constructor(){super();let e=this;return e.levels_=[],e.selectedIndex_=-1,Object.defineProperty(e,"selectedIndex",{get(){return e.selectedIndex_}}),Object.defineProperty(e,"length",{get(){return e.levels_.length}}),e[Symbol.iterator]=()=>e.levels_.values(),e}addQualityLevel(e){let n=this.getQualityLevelById(e.id);if(n)return n;const o=this.levels_.length;return n=new QualityLevel(e),""+o in this||Object.defineProperty(this,o,{get(){return this.levels_[o]}}),this.levels_.push(n),this.trigger({qualityLevel:n,type:"addqualitylevel"}),n}removeQualityLevel(e){let n=null;for(let o=0,u=this.length;o<u;o++)if(this[o]===e){n=this.levels_.splice(o,1)[0],this.selectedIndex_===o?this.selectedIndex_=-1:this.selectedIndex_>o&&this.selectedIndex_--;break}return n&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),n}getQualityLevelById(e){for(let n=0,o=this.length;n<o;n++){const u=this[n];if(u.id===e)return u}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}QualityLevelList.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const t in QualityLevelList.prototype.allowedEvents_)QualityLevelList.prototype["on"+t]=null;var version$5="4.1.0";const initPlugin$1=function(t,e){const n=t.qualityLevels,o=new QualityLevelList,u=function(){o.dispose(),t.qualityLevels=n,t.off("dispose",u)};return t.on("dispose",u),t.qualityLevels=()=>o,t.qualityLevels.VERSION=version$5,o},qualityLevels=function(t){return initPlugin$1(this,videojs.obj.merge({},t))};videojs.registerPlugin("qualityLevels",qualityLevels),qualityLevels.VERSION=version$5;/*! @name @videojs/http-streaming @version 3.14.2 @license Apache-2.0 */const resolveUrl=resolveUrl$1,resolveManifestRedirect=(t,e)=>e&&e.responseURL&&t!==e.responseURL?e.responseURL:t,logger=t=>videojs.log.debug?videojs.log.debug.bind(videojs,"VHS:",`${t} >`):function(){};function merge(...t){const e=videojs.obj||videojs;return(e.merge||e.mergeOptions).apply(e,t)}function createTimeRanges(...t){const e=videojs.time||videojs;return(e.createTimeRanges||e.createTimeRanges).apply(e,t)}function bufferedRangesToString(t){if(t.length===0)return"Buffered Ranges are empty";let e=`Buffered Ranges: 
-`;for(let n=0;n<t.length;n++){const o=t.start(n),u=t.end(n);e+=`${o} --> ${u}. Duration (${u-o})
-`}return e}const TIME_FUDGE_FACTOR=1/30,SAFE_TIME_DELTA=TIME_FUDGE_FACTOR*3,filterRanges=function(t,e){const n=[];let o;if(t&&t.length)for(o=0;o<t.length;o++)e(t.start(o),t.end(o))&&n.push([t.start(o),t.end(o)]);return createTimeRanges(n)},findRange=function(t,e){return filterRanges(t,function(n,o){return n-SAFE_TIME_DELTA<=e&&o+SAFE_TIME_DELTA>=e})},findNextRange=function(t,e){return filterRanges(t,function(n){return n-TIME_FUDGE_FACTOR>=e})},findGaps=function(t){if(t.length<2)return createTimeRanges();const e=[];for(let n=1;n<t.length;n++){const o=t.end(n-1),u=t.start(n);e.push([o,u])}return createTimeRanges(e)},bufferIntersection=function(t,e){let n=null,o=null,u=0;const l=[],m=[];if(!t||!t.length||!e||!e.length)return createTimeRanges();let y=t.length;for(;y--;)l.push({time:t.start(y),type:"start"}),l.push({time:t.end(y),type:"end"});for(y=e.length;y--;)l.push({time:e.start(y),type:"start"}),l.push({time:e.end(y),type:"end"});for(l.sort(function(E,C){return E.time-C.time}),y=0;y<l.length;y++)l[y].type==="start"?(u++,u===2&&(n=l[y].time)):l[y].type==="end"&&(u--,u===1&&(o=l[y].time)),n!==null&&o!==null&&(m.push([n,o]),n=null,o=null);return createTimeRanges(m)},printableRange=t=>{const e=[];if(!t||!t.length)return"";for(let n=0;n<t.length;n++)e.push(t.start(n)+" => "+t.end(n));return e.join(", ")},timeUntilRebuffer=function(t,e,n=1){return((t.length?t.end(t.length-1):0)-e)/n},timeRangesToArray=t=>{const e=[];for(let n=0;n<t.length;n++)e.push({start:t.start(n),end:t.end(n)});return e},isRangeDifferent=function(t,e){if(t===e)return!1;if(!t&&e||!e&&t||t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(t.start(n)!==e.start(n)||t.end(n)!==e.end(n))return!0;return!1},lastBufferedEnd=function(t){if(!(!t||!t.length||!t.end))return t.end(t.length-1)},timeAheadOf=function(t,e){let n=0;if(!t||!t.length)return n;for(let o=0;o<t.length;o++){const u=t.start(o),l=t.end(o);if(!(e>l)){if(e>u&&e<=l){n+=l-e;continue}n+=l-u}}return n},segmentDurationWithParts=(t,e)=>{if(!e.preload)return e.duration;let n=0;return(e.parts||[]).forEach(function(o){n+=o.duration}),(e.preloadHints||[]).forEach(function(o){o.type==="PART"&&(n+=t.partTargetDuration)}),n},getPartsAndSegments=t=>(t.segments||[]).reduce((e,n,o)=>(n.parts?n.parts.forEach(function(u,l){e.push({duration:u.duration,segmentIndex:o,partIndex:l,part:u,segment:n})}):e.push({duration:n.duration,segmentIndex:o,partIndex:null,segment:n,part:null}),e),[]),getLastParts=t=>{const e=t.segments&&t.segments.length&&t.segments[t.segments.length-1];return e&&e.parts||[]},getKnownPartCount=({preloadSegment:t})=>{if(!t)return;const{parts:e,preloadHints:n}=t;let o=(n||[]).reduce((u,l)=>u+(l.type==="PART"?1:0),0);return o+=e&&e.length?e.length:0,o},liveEdgeDelay=(t,e)=>{if(e.endList)return 0;if(t&&t.suggestedPresentationDelay)return t.suggestedPresentationDelay;const n=getLastParts(e).length>0;return n&&e.serverControl&&e.serverControl.partHoldBack?e.serverControl.partHoldBack:n&&e.partTargetDuration?e.partTargetDuration*3:e.serverControl&&e.serverControl.holdBack?e.serverControl.holdBack:e.targetDuration?e.targetDuration*3:0},backwardDuration=function(t,e){let n=0,o=e-t.mediaSequence,u=t.segments[o];if(u){if(typeof u.start<"u")return{result:u.start,precise:!0};if(typeof u.end<"u")return{result:u.end-u.duration,precise:!0}}for(;o--;){if(u=t.segments[o],typeof u.end<"u")return{result:n+u.end,precise:!0};if(n+=segmentDurationWithParts(t,u),typeof u.start<"u")return{result:n+u.start,precise:!0}}return{result:n,precise:!1}},forwardDuration=function(t,e){let n=0,o,u=e-t.mediaSequence;for(;u<t.segments.length;u++){if(o=t.segments[u],typeof o.start<"u")return{result:o.start-n,precise:!0};if(n+=segmentDurationWithParts(t,o),typeof o.end<"u")return{result:o.end-n,precise:!0}}return{result:-1,precise:!1}},intervalDuration=function(t,e,n){if(typeof e>"u"&&(e=t.mediaSequence+t.segments.length),e<t.mediaSequence)return 0;const o=backwardDuration(t,e);if(o.precise)return o.result;const u=forwardDuration(t,e);return u.precise?u.result:o.result+n},duration=function(t,e,n){if(!t)return 0;if(typeof n!="number"&&(n=0),typeof e>"u"){if(t.totalDuration)return t.totalDuration;if(!t.endList)return window$1$1.Infinity}return intervalDuration(t,e,n)},sumDurations=function({defaultDuration:t,durationList:e,startIndex:n,endIndex:o}){let u=0;if(n>o&&([n,o]=[o,n]),n<0){for(let l=n;l<Math.min(0,o);l++)u+=t;n=0}for(let l=n;l<o;l++)u+=e[l].duration;return u},playlistEnd=function(t,e,n,o){if(!t||!t.segments)return null;if(t.endList)return duration(t);if(e===null)return null;e=e||0;let u=intervalDuration(t,t.mediaSequence+t.segments.length,e);return n&&(o=typeof o=="number"?o:liveEdgeDelay(null,t),u-=o),Math.max(0,u)},seekable=function(t,e,n){const u=e||0;let l=playlistEnd(t,e,!0,n);return l===null?createTimeRanges():(l<u&&(l=u),createTimeRanges(u,l))},getMediaInfoForTime=function({playlist:t,currentTime:e,startingSegmentIndex:n,startingPartIndex:o,startTime:u,exactManifestTimings:l}){let m=e-u;const y=getPartsAndSegments(t);let E=0;for(let C=0;C<y.length;C++){const k=y[C];if(n===k.segmentIndex&&!(typeof o=="number"&&typeof k.partIndex=="number"&&o!==k.partIndex)){E=C;break}}if(m<0){if(E>0)for(let C=E-1;C>=0;C--){const k=y[C];if(m+=k.duration,l){if(m<0)continue}else if(m+TIME_FUDGE_FACTOR<=0)continue;return{partIndex:k.partIndex,segmentIndex:k.segmentIndex,startTime:u-sumDurations({defaultDuration:t.targetDuration,durationList:y,startIndex:E,endIndex:C})}}return{partIndex:y[0]&&y[0].partIndex||null,segmentIndex:y[0]&&y[0].segmentIndex||0,startTime:e}}if(E<0){for(let C=E;C<0;C++)if(m-=t.targetDuration,m<0)return{partIndex:y[0]&&y[0].partIndex||null,segmentIndex:y[0]&&y[0].segmentIndex||0,startTime:e};E=0}for(let C=E;C<y.length;C++){const k=y[C];m-=k.duration;const A=k.duration>TIME_FUDGE_FACTOR,D=m===0,P=A&&m+TIME_FUDGE_FACTOR>=0;if(!((D||P)&&C!==y.length-1)){if(l){if(m>0)continue}else if(m-TIME_FUDGE_FACTOR>=0)continue;return{partIndex:k.partIndex,segmentIndex:k.segmentIndex,startTime:u+sumDurations({defaultDuration:t.targetDuration,durationList:y,startIndex:E,endIndex:C})}}}return{segmentIndex:y[y.length-1].segmentIndex,partIndex:y[y.length-1].partIndex,startTime:e}},isExcluded=function(t){return t.excludeUntil&&t.excludeUntil>Date.now()},isIncompatible=function(t){return t.excludeUntil&&t.excludeUntil===1/0},isEnabled=function(t){const e=isExcluded(t);return!t.disabled&&!e},isDisabled=function(t){return t.disabled},isAes=function(t){for(let e=0;e<t.segments.length;e++)if(t.segments[e].key)return!0;return!1},hasAttribute=function(t,e){return e.attributes&&e.attributes[t]},estimateSegmentRequestTime=function(t,e,n,o=0){return hasAttribute("BANDWIDTH",n)?(t*n.attributes.BANDWIDTH-o*8)/e:NaN},isLowestEnabledRendition=(t,e)=>{if(t.playlists.length===1)return!0;const n=e.attributes.BANDWIDTH||Number.MAX_VALUE;return t.playlists.filter(o=>isEnabled(o)?(o.attributes.BANDWIDTH||0)<n:!1).length===0},playlistMatch=(t,e)=>!t&&!e||!t&&e||t&&!e?!1:!!(t===e||t.id&&e.id&&t.id===e.id||t.resolvedUri&&e.resolvedUri&&t.resolvedUri===e.resolvedUri||t.uri&&e.uri&&t.uri===e.uri),someAudioVariant=function(t,e){const n=t&&t.mediaGroups&&t.mediaGroups.AUDIO||{};let o=!1;for(const u in n){for(const l in n[u])if(o=e(n[u][l]),o)break;if(o)break}return!!o},isAudioOnly=t=>{if(!t||!t.playlists||!t.playlists.length)return someAudioVariant(t,n=>n.playlists&&n.playlists.length||n.uri);for(let e=0;e<t.playlists.length;e++){const n=t.playlists[e],o=n.attributes&&n.attributes.CODECS;if(!(o&&o.split(",").every(l=>isAudioCodec(l))||someAudioVariant(t,l=>playlistMatch(n,l))))return!1}return!0};var Playlist={liveEdgeDelay,duration,seekable,getMediaInfoForTime,isEnabled,isDisabled,isExcluded,isIncompatible,playlistEnd,isAes,hasAttribute,estimateSegmentRequestTime,isLowestEnabledRendition,isAudioOnly,playlistMatch,segmentDurationWithParts};const{log}=videojs,createPlaylistID=(t,e)=>`${t}-${e}`,groupID=(t,e,n)=>`placeholder-uri-${t}-${e}-${n}`,parseManifest=({onwarn:t,oninfo:e,manifestString:n,customTagParsers:o=[],customTagMappers:u=[],llhls:l})=>{const m=new Parser;t&&m.on("warn",t),e&&m.on("info",e),o.forEach(C=>m.addParser(C)),u.forEach(C=>m.addTagMapper(C)),m.push(n),m.end();const y=m.manifest;if(l||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach(function(C){y.hasOwnProperty(C)&&delete y[C]}),y.segments&&y.segments.forEach(function(C){["parts","preloadHints"].forEach(function(k){C.hasOwnProperty(k)&&delete C[k]})})),!y.targetDuration){let C=10;y.segments&&y.segments.length&&(C=y.segments.reduce((k,A)=>Math.max(k,A.duration),0)),t&&t({message:`manifest has no targetDuration defaulting to ${C}`}),y.targetDuration=C}const E=getLastParts(y);if(E.length&&!y.partTargetDuration){const C=E.reduce((k,A)=>Math.max(k,A.duration),0);t&&(t({message:`manifest has no partTargetDuration defaulting to ${C}`}),log.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),y.partTargetDuration=C}return y},forEachMediaGroup=(t,e)=>{t.mediaGroups&&["AUDIO","SUBTITLES"].forEach(n=>{if(t.mediaGroups[n])for(const o in t.mediaGroups[n])for(const u in t.mediaGroups[n][o]){const l=t.mediaGroups[n][o][u];e(l,n,o,u)}})},setupMediaPlaylist=({playlist:t,uri:e,id:n})=>{t.id=n,t.playlistErrors_=0,e&&(t.uri=e),t.attributes=t.attributes||{}},setupMediaPlaylists=t=>{let e=t.playlists.length;for(;e--;){const n=t.playlists[e];setupMediaPlaylist({playlist:n,id:createPlaylistID(e,n.uri)}),n.resolvedUri=resolveUrl(t.uri,n.uri),t.playlists[n.id]=n,t.playlists[n.uri]=n,n.attributes.BANDWIDTH||log.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}},resolveMediaGroupUris=t=>{forEachMediaGroup(t,e=>{e.uri&&(e.resolvedUri=resolveUrl(t.uri,e.uri))})},mainForMedia=(t,e)=>{const n=createPlaylistID(0,e),o={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:window$1$1.location.href,resolvedUri:window$1$1.location.href,playlists:[{uri:e,id:n,resolvedUri:e,attributes:{}}]};return o.playlists[n]=o.playlists[0],o.playlists[e]=o.playlists[0],o},addPropertiesToMain=(t,e,n=groupID)=>{t.uri=e;for(let u=0;u<t.playlists.length;u++)if(!t.playlists[u].uri){const l=`placeholder-uri-${u}`;t.playlists[u].uri=l}const o=isAudioOnly(t);forEachMediaGroup(t,(u,l,m,y)=>{if(!u.playlists||!u.playlists.length){if(o&&l==="AUDIO"&&!u.uri)for(let E=0;E<t.playlists.length;E++){const C=t.playlists[E];if(C.attributes&&C.attributes.AUDIO&&C.attributes.AUDIO===m)return}u.playlists=[_extends$2({},u)]}u.playlists.forEach(function(E,C){const k=n(l,m,y,E),A=createPlaylistID(C,k);E.uri?E.resolvedUri=E.resolvedUri||resolveUrl(t.uri,E.uri):(E.uri=C===0?k:A,E.resolvedUri=E.uri),E.id=E.id||A,E.attributes=E.attributes||{},t.playlists[E.id]=E,t.playlists[E.uri]=E})}),setupMediaPlaylists(t),resolveMediaGroupUris(t)};class DateRangesStorage{constructor(){this.offset_=null,this.pendingDateRanges_=new Map,this.processedDateRanges_=new Map}setOffset(e=[]){if(this.offset_!==null||!e.length)return;const[n]=e;n.programDateTime!==void 0&&(this.offset_=n.programDateTime/1e3)}setPendingDateRanges(e=[]){if(!e.length)return;const[n]=e,o=n.startDate.getTime();this.trimProcessedDateRanges_(o),this.pendingDateRanges_=e.reduce((u,l)=>(u.set(l.id,l),u),new Map)}processDateRange(e){this.pendingDateRanges_.delete(e.id),this.processedDateRanges_.set(e.id,e)}getDateRangesToProcess(){if(this.offset_===null)return[];const e={},n=[];this.pendingDateRanges_.forEach((o,u)=>{if(!this.processedDateRanges_.has(u)&&(o.startTime=o.startDate.getTime()/1e3-this.offset_,o.processDateRange=()=>this.processDateRange(o),n.push(o),!!o.class))if(e[o.class]){const l=e[o.class].push(o);o.classListIndex=l-1}else e[o.class]=[o],o.classListIndex=0});for(const o of n){const u=e[o.class]||[];o.endDate?o.endTime=o.endDate.getTime()/1e3-this.offset_:o.endOnNext&&u[o.classListIndex+1]?o.endTime=u[o.classListIndex+1].startTime:o.duration?o.endTime=o.startTime+o.duration:o.plannedDuration?o.endTime=o.startTime+o.plannedDuration:o.endTime=o.startTime}return n}trimProcessedDateRanges_(e){new Map(this.processedDateRanges_).forEach((o,u)=>{o.startDate.getTime()<e&&this.processedDateRanges_.delete(u)})}}const QUOTA_EXCEEDED_ERR=22,getStreamingNetworkErrorMetadata=({requestType:t,request:e,error:n,parseFailure:o})=>{const u=e.status<200||e.status>299,l=e.status>=400&&e.status<=499,m={uri:e.uri,requestType:t},y=u&&!l||o;if(n&&l)m.error=_extends$2({},n),m.errorType=videojs.Error.NetworkRequestFailed;else if(e.aborted)m.errorType=videojs.Error.NetworkRequestAborted;else if(e.timedout)m.erroType=videojs.Error.NetworkRequestTimeout;else if(y){const E=o?videojs.Error.NetworkBodyParserFailed:videojs.Error.NetworkBadStatus;m.errorType=E,m.status=e.status,m.headers=e.headers}return m},{EventTarget:EventTarget$1}=videojs,addLLHLSQueryDirectives=(t,e)=>{if(e.endList||!e.serverControl)return t;const n={};if(e.serverControl.canBlockReload){const{preloadSegment:o}=e;let u=e.mediaSequence+e.segments.length;if(o){const l=o.parts||[],m=getKnownPartCount(e)-1;m>-1&&m!==l.length-1&&(n._HLS_part=m),(m>-1||l.length)&&u--}n._HLS_msn=u}if(e.serverControl&&e.serverControl.canSkipUntil&&(n._HLS_skip=e.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){const o=new window$1$1.URL(t);["_HLS_skip","_HLS_msn","_HLS_part"].forEach(function(u){n.hasOwnProperty(u)&&o.searchParams.set(u,n[u])}),t=o.toString()}return t},updateSegment=(t,e)=>{if(!t)return e;const n=merge(t,e);if(t.preloadHints&&!e.preloadHints&&delete n.preloadHints,t.parts&&!e.parts)delete n.parts;else if(t.parts&&e.parts)for(let o=0;o<e.parts.length;o++)t.parts&&t.parts[o]&&(n.parts[o]=merge(t.parts[o],e.parts[o]));return!t.skipped&&e.skipped&&(n.skipped=!1),t.preload&&!e.preload&&(n.preload=!1),n},updateSegments=(t,e,n)=>{const o=t.slice(),u=e.slice();n=n||0;const l=[];let m;for(let y=0;y<u.length;y++){const E=o[y+n],C=u[y];E?(m=E.map||m,l.push(updateSegment(E,C))):(m&&!C.map&&(C.map=m),l.push(C))}return l},resolveSegmentUris=(t,e)=>{!t.resolvedUri&&t.uri&&(t.resolvedUri=resolveUrl(e,t.uri)),t.key&&!t.key.resolvedUri&&(t.key.resolvedUri=resolveUrl(e,t.key.uri)),t.map&&!t.map.resolvedUri&&(t.map.resolvedUri=resolveUrl(e,t.map.uri)),t.map&&t.map.key&&!t.map.key.resolvedUri&&(t.map.key.resolvedUri=resolveUrl(e,t.map.key.uri)),t.parts&&t.parts.length&&t.parts.forEach(n=>{n.resolvedUri||(n.resolvedUri=resolveUrl(e,n.uri))}),t.preloadHints&&t.preloadHints.length&&t.preloadHints.forEach(n=>{n.resolvedUri||(n.resolvedUri=resolveUrl(e,n.uri))})},getAllSegments=function(t){const e=t.segments||[],n=t.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints){for(let o=0;o<n.preloadHints.length;o++)if(n.preloadHints[o].type==="MAP")return e}n.duration=t.targetDuration,n.preload=!0,e.push(n)}return e},isPlaylistUnchanged=(t,e)=>t===e||t.segments&&e.segments&&t.segments.length===e.segments.length&&t.endList===e.endList&&t.mediaSequence===e.mediaSequence&&t.preloadSegment===e.preloadSegment,updateMain$1=(t,e,n=isPlaylistUnchanged)=>{const o=merge(t,{}),u=o.playlists[e.id];if(!u||n(u,e))return null;e.segments=getAllSegments(e);const l=merge(u,e);if(l.preloadSegment&&!e.preloadSegment&&delete l.preloadSegment,u.segments){if(e.skip){e.segments=e.segments||[];for(let m=0;m<e.skip.skippedSegments;m++)e.segments.unshift({skipped:!0})}l.segments=updateSegments(u.segments,e.segments,e.mediaSequence-u.mediaSequence)}l.segments.forEach(m=>{resolveSegmentUris(m,l.resolvedUri)});for(let m=0;m<o.playlists.length;m++)o.playlists[m].id===e.id&&(o.playlists[m]=l);return o.playlists[e.id]=l,o.playlists[e.uri]=l,forEachMediaGroup(t,(m,y,E,C)=>{if(m.playlists)for(let k=0;k<m.playlists.length;k++)e.id===m.playlists[k].id&&(m.playlists[k]=l)}),o},refreshDelay=(t,e)=>{const n=t.segments||[],o=n[n.length-1],u=o&&o.parts&&o.parts[o.parts.length-1],l=u&&u.duration||o&&o.duration;return e&&l?l*1e3:(t.partTargetDuration||t.targetDuration||10)*500},playlistMetadataPayload=(t,e,n)=>{if(!t)return;const o=[];return t.forEach(u=>{if(!u.attributes)return;const{BANDWIDTH:l,RESOLUTION:m,CODECS:y}=u.attributes;o.push({id:u.id,bandwidth:l,resolution:m,codecs:y})}),{type:e,isLive:n,renditions:o}};class PlaylistLoader extends EventTarget$1{constructor(e,n,o={}){if(super(),!e)throw new Error("A non-empty playlist URL or object is required");this.logger_=logger("PlaylistLoader");const{withCredentials:u=!1}=o;this.src=e,this.vhs_=n,this.withCredentials=u,this.addDateRangesToTextTrack_=o.addDateRangesToTextTrack;const l=n.options_;this.customTagParsers=l&&l.customTagParsers||[],this.customTagMappers=l&&l.customTagMappers||[],this.llhls=l&&l.llhls,this.dateRangesStorage_=new DateRangesStorage,this.state="HAVE_NOTHING",this.handleMediaupdatetimeout_=this.handleMediaupdatetimeout_.bind(this),this.on("mediaupdatetimeout",this.handleMediaupdatetimeout_),this.on("loadedplaylist",this.handleLoadedPlaylist_.bind(this))}handleLoadedPlaylist_(){const e=this.media();if(!e)return;this.dateRangesStorage_.setOffset(e.segments),this.dateRangesStorage_.setPendingDateRanges(e.dateRanges);const n=this.dateRangesStorage_.getDateRangesToProcess();!n.length||!this.addDateRangesToTextTrack_||this.addDateRangesToTextTrack_(n)}handleMediaupdatetimeout_(){if(this.state!=="HAVE_METADATA")return;const e=this.media();let n=resolveUrl(this.main.uri,e.uri);this.llhls&&(n=addLLHLSQueryDirectives(n,e)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:n,withCredentials:this.withCredentials,requestType:"hls-playlist"},(o,u)=>{if(this.request){if(o)return this.playlistRequestError(this.request,this.media(),"HAVE_METADATA");this.haveMetadata({playlistString:this.request.responseText,url:this.media().uri,id:this.media().id})}})}playlistRequestError(e,n,o){const{uri:u,id:l}=n;this.request=null,o&&(this.state=o),this.error={playlist:this.main.playlists[l],status:e.status,message:`HLS playlist request error at URL: ${u}.`,responseText:e.responseText,code:e.status>=500?4:2,metadata:getStreamingNetworkErrorMetadata({requestType:e.requestType,request:e,error:e.error})},this.trigger("error")}parseManifest_({url:e,manifestString:n}){try{return parseManifest({onwarn:({message:o})=>this.logger_(`m3u8-parser warn for ${e}: ${o}`),oninfo:({message:o})=>this.logger_(`m3u8-parser info for ${e}: ${o}`),manifestString:n,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,llhls:this.llhls})}catch(o){this.error=o,this.error.metadata={errorType:videojs.Error.StreamingHlsPlaylistParserError,error:o}}}haveMetadata({playlistString:e,playlistObject:n,url:o,id:u}){this.request=null,this.state="HAVE_METADATA";const l={playlistInfo:{type:"media",uri:o}};this.trigger({type:"playlistparsestart",metadata:l});const m=n||this.parseManifest_({url:o,manifestString:e});m.lastRequest=Date.now(),setupMediaPlaylist({playlist:m,uri:o,id:u});const y=updateMain$1(this.main,m);this.targetDuration=m.partTargetDuration||m.targetDuration,this.pendingMedia_=null,y?(this.main=y,this.media_=this.main.playlists[u]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(refreshDelay(this.media(),!!y)),l.parsedPlaylist=playlistMetadataPayload(this.main.playlists,l.playlistInfo.type,!this.media_.endList),this.trigger({type:"playlistparsecomplete",metadata:l}),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),window$1$1.clearTimeout(this.mediaUpdateTimeout),window$1$1.clearTimeout(this.finalRenditionTimeout),this.dateRangesStorage_=new DateRangesStorage,this.off()}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e,n){if(!e)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);if(typeof e=="string"){if(!this.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.main.playlists[e]}if(window$1$1.clearTimeout(this.finalRenditionTimeout),n){const y=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=window$1$1.setTimeout(this.media.bind(this,e,!1),y);return}const o=this.state,u=!this.media_||e.id!==this.media_.id,l=this.main.playlists[e.id];if(l&&l.endList||e.endList&&e.segments.length){this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,u&&(this.trigger("mediachanging"),o==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange"));return}if(this.updateMediaUpdateTimeout_(refreshDelay(e,!0)),!u)return;if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e;const m={playlistInfo:{type:"media",uri:e.uri}};this.trigger({type:"playlistrequeststart",metadata:m}),this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials,requestType:"hls-playlist"},(y,E)=>{if(this.request){if(e.lastRequest=Date.now(),e.resolvedUri=resolveManifestRedirect(e.resolvedUri,E),y)return this.playlistRequestError(this.request,e,o);this.trigger({type:"playlistrequestcomplete",metadata:m}),this.haveMetadata({playlistString:E.responseText,url:e.uri,id:e.id}),o==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}})}pause(){this.mediaUpdateTimeout&&(window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),this.state==="HAVE_NOTHING"&&(this.started=!1),this.state==="SWITCHING_MEDIA"?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MAIN_MANIFEST":this.state==="HAVE_CURRENT_METADATA"&&(this.state="HAVE_METADATA")}load(e){this.mediaUpdateTimeout&&(window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const n=this.media();if(e){const o=n?(n.partTargetDuration||n.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=window$1$1.setTimeout(()=>{this.mediaUpdateTimeout=null,this.load()},o);return}if(!this.started){this.start();return}n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist")}updateMediaUpdateTimeout_(e){this.mediaUpdateTimeout&&(window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),!(!this.media()||this.media().endList)&&(this.mediaUpdateTimeout=window$1$1.setTimeout(()=>{this.mediaUpdateTimeout=null,this.trigger("mediaupdatetimeout"),this.updateMediaUpdateTimeout_(e)},e))}start(){if(this.started=!0,typeof this.src=="object"){this.src.uri||(this.src.uri=window$1$1.location.href),this.src.resolvedUri=this.src.uri,setTimeout(()=>{this.setupInitialPlaylist(this.src)},0);return}const e={playlistInfo:{type:"multivariant",uri:this.src}};this.trigger({type:"playlistrequeststart",metadata:e}),this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials,requestType:"hls-playlist"},(n,o)=>{if(!this.request)return;if(this.request=null,n)return this.error={status:o.status,message:`HLS playlist request error at URL: ${this.src}.`,responseText:o.responseText,code:2,metadata:getStreamingNetworkErrorMetadata({requestType:o.requestType,request:o,error:n})},this.state==="HAVE_NOTHING"&&(this.started=!1),this.trigger("error");this.trigger({type:"playlistrequestcomplete",metadata:e}),this.src=resolveManifestRedirect(this.src,o),this.trigger({type:"playlistparsestart",metadata:e});const u=this.parseManifest_({manifestString:o.responseText,url:this.src});e.parsedPlaylist=playlistMetadataPayload(u.playlists,e.playlistInfo.type,!1),this.trigger({type:"playlistparsecomplete",metadata:e}),this.setupInitialPlaylist(u)})}srcUri(){return typeof this.src=="string"?this.src:this.src.uri}setupInitialPlaylist(e){if(this.state="HAVE_MAIN_MANIFEST",e.playlists){this.main=e,addPropertiesToMain(this.main,this.srcUri()),e.playlists.forEach(o=>{o.segments=getAllSegments(o),o.segments.forEach(u=>{resolveSegmentUris(u,o.resolvedUri)})}),this.trigger("loadedplaylist"),this.request||this.media(this.main.playlists[0]);return}const n=this.srcUri()||window$1$1.location.href;this.main=mainForMedia(e,n),this.haveMetadata({playlistObject:e,url:n,id:this.main.playlists[0].id}),this.trigger("loadedmetadata")}updateOrDeleteClone(e,n){const o=this.main,u=e.ID;let l=o.playlists.length;for(;l--;){const m=o.playlists[l];if(m.attributes["PATHWAY-ID"]===u){const y=m.resolvedUri,E=m.id;if(n){const C=this.createCloneURI_(m.resolvedUri,e),k=createPlaylistID(u,C),A=this.createCloneAttributes_(u,m.attributes),D=this.createClonePlaylist_(m,k,e,A);o.playlists[l]=D,o.playlists[k]=D,o.playlists[C]=D}else o.playlists.splice(l,1);delete o.playlists[E],delete o.playlists[y]}}this.updateOrDeleteCloneMedia(e,n)}updateOrDeleteCloneMedia(e,n){const o=this.main,u=e.ID;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(l=>{if(!(!o.mediaGroups[l]||!o.mediaGroups[l][u])){for(const m in o.mediaGroups[l])if(m===u){for(const y in o.mediaGroups[l][m])o.mediaGroups[l][m][y].playlists.forEach((C,k)=>{const A=o.playlists[C.id],D=A.id,P=A.resolvedUri;delete o.playlists[D],delete o.playlists[P]});delete o.mediaGroups[l][m]}}}),n&&this.createClonedMediaGroups_(e)}addClonePathway(e,n={}){const o=this.main,u=o.playlists.length,l=this.createCloneURI_(n.resolvedUri,e),m=createPlaylistID(e.ID,l),y=this.createCloneAttributes_(e.ID,n.attributes),E=this.createClonePlaylist_(n,m,e,y);o.playlists[u]=E,o.playlists[m]=E,o.playlists[l]=E,this.createClonedMediaGroups_(e)}createClonedMediaGroups_(e){const n=e.ID,o=e["BASE-ID"],u=this.main;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(l=>{if(!(!u.mediaGroups[l]||u.mediaGroups[l][n]))for(const m in u.mediaGroups[l]){if(m===o)u.mediaGroups[l][n]={};else continue;for(const y in u.mediaGroups[l][m]){const E=u.mediaGroups[l][m][y];u.mediaGroups[l][n][y]=_extends$2({},E);const C=u.mediaGroups[l][n][y],k=this.createCloneURI_(E.resolvedUri,e);C.resolvedUri=k,C.uri=k,C.playlists=[],E.playlists.forEach((A,D)=>{const P=u.playlists[A.id],R=groupID(l,n,y),B=createPlaylistID(n,R);if(P&&!u.playlists[B]){const F=this.createClonePlaylist_(P,B,e),O=F.resolvedUri;u.playlists[B]=F,u.playlists[O]=F}C.playlists[D]=this.createClonePlaylist_(A,B,e)})}}})}createClonePlaylist_(e,n,o,u){const l=this.createCloneURI_(e.resolvedUri,o),m={resolvedUri:l,uri:l,id:n};return e.segments&&(m.segments=[]),u&&(m.attributes=u),merge(e,m)}createCloneURI_(e,n){const o=new URL(e);o.hostname=n["URI-REPLACEMENT"].HOST;const u=n["URI-REPLACEMENT"].PARAMS;for(const l of Object.keys(u))o.searchParams.set(l,u[l]);return o.href}createCloneAttributes_(e,n){const o={"PATHWAY-ID":e};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(u=>{n[u]&&(o[u]=e)}),o}getKeyIdSet(e){if(e.contentProtection){const n=new Set;for(const o in e.contentProtection){const u=e.contentProtection[o].attributes.keyId;u&&n.add(u.toLowerCase())}return n}}}const callbackWrapper=function(t,e,n,o){const u=t.responseType==="arraybuffer"?t.response:t.responseText;!e&&u&&(t.responseTime=Date.now(),t.roundTripTime=t.responseTime-t.requestTime,t.bytesReceived=u.byteLength||u.length,t.bandwidth||(t.bandwidth=Math.floor(t.bytesReceived/t.roundTripTime*8*1e3))),n.headers&&(t.responseHeaders=n.headers),e&&e.code==="ETIMEDOUT"&&(t.timedout=!0),!e&&!t.aborted&&n.statusCode!==200&&n.statusCode!==206&&n.statusCode!==0&&(e=new Error("XHR Failed with a response of: "+(t&&(u||t.responseText)))),o(e,t)},callAllRequestHooks=(t,e)=>{if(!t||!t.size)return;let n=e;return t.forEach(o=>{n=o(n)}),n},callAllResponseHooks=(t,e,n,o)=>{!t||!t.size||t.forEach(u=>{u(e,n,o)})},xhrFactory=function(){const t=function e(n,o){n=merge({timeout:45e3},n);const u=e.beforeRequest||videojs.Vhs.xhr.beforeRequest,l=e._requestCallbackSet||videojs.Vhs.xhr._requestCallbackSet||new Set,m=e._responseCallbackSet||videojs.Vhs.xhr._responseCallbackSet;u&&typeof u=="function"&&(videojs.log.warn("beforeRequest is deprecated, use onRequest instead."),l.add(u));const y=videojs.Vhs.xhr.original===!0?videojs.xhr:videojs.Vhs.xhr,E=callAllRequestHooks(l,n);l.delete(u);const C=y(E||n,function(A,D){return callAllResponseHooks(m,C,A,D),callbackWrapper(C,A,D,o)}),k=C.abort;return C.abort=function(){return C.aborted=!0,k.apply(C,arguments)},C.uri=n.uri,C.requestType=n.requestType,C.requestTime=Date.now(),C};return t.original=!0,t},byterangeStr=function(t){let e;const n=t.offset;return typeof t.offset=="bigint"||typeof t.length=="bigint"?e=window$1$1.BigInt(t.offset)+window$1$1.BigInt(t.length)-window$1$1.BigInt(1):e=t.offset+t.length-1,"bytes="+n+"-"+e},segmentXhrHeaders=function(t){const e={};return t.byterange&&(e.Range=byterangeStr(t.byterange)),e},textRange=function(t,e){return t.start(e)+"-"+t.end(e)},formatHexString=function(t,e){const n=t.toString(16);return"00".substring(0,2-n.length)+n+(e%2?" ":"")},formatAsciiString=function(t){return t>=32&&t<126?String.fromCharCode(t):"."},createTransferableMessage=function(t){const e={};return Object.keys(t).forEach(n=>{const o=t[n];isArrayBufferView(o)?e[n]={bytes:o.buffer,byteOffset:o.byteOffset,byteLength:o.byteLength}:e[n]=o}),e},initSegmentId=function(t){const e=t.byterange||{length:1/0,offset:0};return[e.length,e.offset,t.resolvedUri].join(",")},segmentKeyId=function(t){return t.resolvedUri},hexDump=t=>{const e=Array.prototype.slice.call(t),n=16;let o="",u,l;for(let m=0;m<e.length/n;m++)u=e.slice(m*n,m*n+n).map(formatHexString).join(""),l=e.slice(m*n,m*n+n).map(formatAsciiString).join(""),o+=u+" "+l+`
-`;return o},tagDump=({bytes:t})=>hexDump(t),textRanges=t=>{let e="",n;for(n=0;n<t.length;n++)e+=textRange(t,n)+" ";return e};var utils$r=Object.freeze({__proto__:null,createTransferableMessage,initSegmentId,segmentKeyId,hexDump,tagDump,textRanges});const SEGMENT_END_FUDGE_PERCENT=.25,playerTimeToProgramTime=(t,e)=>{if(!e.dateTimeObject)return null;const n=e.videoTimingInfo.transmuxerPrependedSeconds,u=e.videoTimingInfo.transmuxedPresentationStart+n,l=t-u;return new Date(e.dateTimeObject.getTime()+l*1e3)},originalSegmentVideoDuration=t=>t.transmuxedPresentationEnd-t.transmuxedPresentationStart-t.transmuxerPrependedSeconds,findSegmentForProgramTime=(t,e)=>{let n;try{n=new Date(t)}catch{return null}if(!e||!e.segments||e.segments.length===0)return null;let o=e.segments[0];if(n<new Date(o.dateTimeObject))return null;for(let E=0;E<e.segments.length-1;E++){o=e.segments[E];const C=new Date(e.segments[E+1].dateTimeObject);if(n<C)break}const u=e.segments[e.segments.length-1],l=u.dateTimeObject,m=u.videoTimingInfo?originalSegmentVideoDuration(u.videoTimingInfo):u.duration+u.duration*SEGMENT_END_FUDGE_PERCENT,y=new Date(l.getTime()+m*1e3);return n>y?null:(n>new Date(l)&&(o=u),{segment:o,estimatedStart:o.videoTimingInfo?o.videoTimingInfo.transmuxedPresentationStart:Playlist.duration(e,e.mediaSequence+e.segments.indexOf(o)),type:o.videoTimingInfo?"accurate":"estimate"})},findSegmentForPlayerTime=(t,e)=>{if(!e||!e.segments||e.segments.length===0)return null;let n=0,o;for(let l=0;l<e.segments.length&&(o=e.segments[l],n=o.videoTimingInfo?o.videoTimingInfo.transmuxedPresentationEnd:n+o.duration,!(t<=n));l++);const u=e.segments[e.segments.length-1];if(u.videoTimingInfo&&u.videoTimingInfo.transmuxedPresentationEnd<t)return null;if(t>n){if(t>n+u.duration*SEGMENT_END_FUDGE_PERCENT)return null;o=u}return{segment:o,estimatedStart:o.videoTimingInfo?o.videoTimingInfo.transmuxedPresentationStart:n-o.duration,type:o.videoTimingInfo?"accurate":"estimate"}},getOffsetFromTimestamp=(t,e)=>{let n,o;try{n=new Date(t),o=new Date(e)}catch{}const u=n.getTime();return(o.getTime()-u)/1e3},verifyProgramDateTimeTags=t=>{if(!t.segments||t.segments.length===0)return!1;for(let e=0;e<t.segments.length;e++)if(!t.segments[e].dateTimeObject)return!1;return!0},getProgramTime=({playlist:t,time:e=void 0,callback:n})=>{if(!n)throw new Error("getProgramTime: callback must be provided");if(!t||e===void 0)return n({message:"getProgramTime: playlist and time must be provided"});const o=findSegmentForPlayerTime(e,t);if(!o)return n({message:"valid programTime was not found"});if(o.type==="estimate")return n({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:o.estimatedStart});const u={mediaSeconds:e},l=playerTimeToProgramTime(e,o.segment);return l&&(u.programDateTime=l.toISOString()),n(null,u)},seekToProgramTime=({programTime:t,playlist:e,retryCount:n=2,seekTo:o,pauseAfterSeek:u=!0,tech:l,callback:m})=>{if(!m)throw new Error("seekToProgramTime: callback must be provided");if(typeof t>"u"||!e||!o)return m({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!e.endList&&!l.hasStarted_)return m({message:"player must be playing a live stream to start buffering"});if(!verifyProgramDateTimeTags(e))return m({message:"programDateTime tags must be provided in the manifest "+e.resolvedUri});const y=findSegmentForProgramTime(t,e);if(!y)return m({message:`${t} was not found in the stream`});const E=y.segment,C=getOffsetFromTimestamp(E.dateTimeObject,t);if(y.type==="estimate"){if(n===0)return m({message:`${t} is not buffered yet. Try again`});o(y.estimatedStart+C),l.one("seeked",()=>{seekToProgramTime({programTime:t,playlist:e,retryCount:n-1,seekTo:o,pauseAfterSeek:u,tech:l,callback:m})});return}const k=E.start+C,A=()=>m(null,l.currentTime());l.one("seeked",A),u&&l.pause(),o(k)},callbackOnCompleted=(t,e)=>{if(t.readyState===4)return e()},containerRequest=(t,e,n,o)=>{let u=[],l,m=!1;const y=function(A,D,P,R){return D.abort(),m=!0,n(A,D,P,R)},E=function(A,D){if(m)return;if(A)return A.metadata=getStreamingNetworkErrorMetadata({requestType:o,request:D,error:A}),y(A,D,"",u);const P=D.responseText.substring(u&&u.byteLength||0,D.responseText.length);if(u=concatTypedArrays(u,stringToBytes(P,!0)),l=l||getId3Offset(u),u.length<10||l&&u.length<l+2)return callbackOnCompleted(D,()=>y(A,D,"",u));const R=detectContainerForBytes(u);return R==="ts"&&u.length<188?callbackOnCompleted(D,()=>y(A,D,"",u)):!R&&u.length<376?callbackOnCompleted(D,()=>y(A,D,"",u)):y(null,D,R,u)},k=e({uri:t,beforeSend(A){A.overrideMimeType("text/plain; charset=x-user-defined"),A.addEventListener("progress",function({total:D,loaded:P}){return callbackWrapper(A,null,{statusCode:A.status},E)})}},function(A,D){return callbackWrapper(k,A,D,E)});return k},{EventTarget:EventTarget$3}=videojs,dashPlaylistUnchanged=function(t,e){if(!isPlaylistUnchanged(t,e)||t.sidx&&e.sidx&&(t.sidx.offset!==e.sidx.offset||t.sidx.length!==e.sidx.length))return!1;if(!t.sidx&&e.sidx||t.sidx&&!e.sidx||t.segments&&!e.segments||!t.segments&&e.segments)return!1;if(!t.segments&&!e.segments)return!0;for(let n=0;n<t.segments.length;n++){const o=t.segments[n],u=e.segments[n];if(o.uri!==u.uri)return!1;if(!o.byterange&&!u.byterange)continue;const l=o.byterange,m=u.byterange;if(l&&!m||!l&&m||l.offset!==m.offset||l.length!==m.length)return!1}return!0},dashGroupId=(t,e,n,o)=>{const u=o.attributes.NAME||n;return`placeholder-uri-${t}-${e}-${u}`},parseMainXml=({mainXml:t,srcUrl:e,clientOffset:n,sidxMapping:o,previousManifest:u})=>{const l=parse$4(t,{manifestUri:e,clientOffset:n,sidxMapping:o,previousManifest:u});return addPropertiesToMain(l,e,dashGroupId),l},removeOldMediaGroupLabels=(t,e)=>{forEachMediaGroup(t,(n,o,u,l)=>{(!e.mediaGroups[o][u]||!(l in e.mediaGroups[o][u]))&&delete t.mediaGroups[o][u][l]})},updateMain=(t,e,n)=>{let o=!0,u=merge(t,{duration:e.duration,minimumUpdatePeriod:e.minimumUpdatePeriod,timelineStarts:e.timelineStarts});for(let l=0;l<e.playlists.length;l++){const m=e.playlists[l];if(m.sidx){const E=generateSidxKey(m.sidx);n&&n[E]&&n[E].sidx&&addSidxSegmentsToPlaylist$1(m,n[E].sidx,m.sidx.resolvedUri)}const y=updateMain$1(u,m,dashPlaylistUnchanged);y&&(u=y,o=!1)}return forEachMediaGroup(e,(l,m,y,E)=>{if(l.playlists&&l.playlists.length){const C=l.playlists[0].id,k=updateMain$1(u,l.playlists[0],dashPlaylistUnchanged);k&&(u=k,E in u.mediaGroups[m][y]||(u.mediaGroups[m][y][E]=l),u.mediaGroups[m][y][E].playlists[0]=u.playlists[C],o=!1)}}),removeOldMediaGroupLabels(u,e),e.minimumUpdatePeriod!==t.minimumUpdatePeriod&&(o=!1),o?null:u},equivalentSidx=(t,e)=>(!t.map&&!e.map||!!(t.map&&e.map&&t.map.byterange.offset===e.map.byterange.offset&&t.map.byterange.length===e.map.byterange.length))&&t.uri===e.uri&&t.byterange.offset===e.byterange.offset&&t.byterange.length===e.byterange.length,compareSidxEntry=(t,e)=>{const n={};for(const o in t){const l=t[o].sidx;if(l){const m=generateSidxKey(l);if(!e[m])break;const y=e[m].sidxInfo;equivalentSidx(y,l)&&(n[m]=e[m])}}return n},filterChangedSidxMappings=(t,e)=>{let o=compareSidxEntry(t.playlists,e);return forEachMediaGroup(t,(u,l,m,y)=>{if(u.playlists&&u.playlists.length){const E=u.playlists;o=merge(o,compareSidxEntry(E,e))}}),o};class DashPlaylistLoader extends EventTarget$3{constructor(e,n,o={},u){super(),this.mainPlaylistLoader_=u||this,u||(this.isMain_=!0);const{withCredentials:l=!1}=o;if(this.vhs_=n,this.withCredentials=l,this.addMetadataToTextTrack=o.addMetadataToTextTrack,!e)throw new Error("A non-empty playlist URL or object is required");this.on("minimumUpdatePeriod",()=>{this.refreshXml_()}),this.on("mediaupdatetimeout",()=>{this.refreshMedia_(this.media().id)}),this.state="HAVE_NOTHING",this.loadedPlaylists_={},this.logger_=logger("DashPlaylistLoader"),this.isMain_?(this.mainPlaylistLoader_.srcUrl=e,this.mainPlaylistLoader_.sidxMapping_={}):this.childPlaylist_=e}requestErrored_(e,n,o){if(!this.request)return!0;if(this.request=null,e)return this.error=typeof e=="object"&&!(e instanceof Error)?e:{status:n.status,message:"DASH request error at URL: "+n.uri,response:n.response,code:2,metadata:e.metadata},o&&(this.state=o),this.trigger("error"),!0}addSidxSegments_(e,n,o){const u=e.sidx&&generateSidxKey(e.sidx);if(!e.sidx||!u||this.mainPlaylistLoader_.sidxMapping_[u]){this.mediaRequest_=window$1$1.setTimeout(()=>o(!1),0);return}const l=resolveManifestRedirect(e.sidx.resolvedUri),m=(E,C)=>{if(this.requestErrored_(E,C,n))return;const k=this.mainPlaylistLoader_.sidxMapping_,{requestType:A}=C;let D;try{D=parseSidx$1(toUint8(C.response).subarray(8))}catch(P){P.metadata=getStreamingNetworkErrorMetadata({requestType:A,request:C,parseFailure:!0}),this.requestErrored_(P,C,n);return}return k[u]={sidxInfo:e.sidx,sidx:D},addSidxSegmentsToPlaylist$1(e,D,e.sidx.resolvedUri),o(!0)},y="dash-sidx";this.request=containerRequest(l,this.vhs_.xhr,(E,C,k,A)=>{if(E)return m(E,C);if(!k||k!=="mp4"){const R=k||"unknown";return m({status:C.status,message:`Unsupported ${R} container type for sidx segment at URL: ${l}`,response:"",playlist:e,internal:!0,playlistExclusionDuration:1/0,code:2},C)}const{offset:D,length:P}=e.sidx.byterange;if(A.length>=P+D)return m(E,{response:A.subarray(D,D+P),status:C.status,uri:C.uri});this.request=this.vhs_.xhr({uri:l,responseType:"arraybuffer",requestType:"dash-sidx",headers:segmentXhrHeaders({byterange:e.sidx.byterange})},m)},y)}dispose(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},window$1$1.clearTimeout(this.minimumUpdatePeriodTimeout_),window$1$1.clearTimeout(this.mediaRequest_),window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.off()}hasPendingRequest(){return this.request||this.mediaRequest_}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e){if(!e)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);const n=this.state;if(typeof e=="string"){if(!this.mainPlaylistLoader_.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.mainPlaylistLoader_.main.playlists[e]}const o=!this.media_||e.id!==this.media_.id;if(o&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList){this.state="HAVE_METADATA",this.media_=e,o&&(this.trigger("mediachanging"),this.trigger("mediachange"));return}o&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,n,u=>{this.haveMetadata({startingState:n,playlist:e})}))}haveMetadata({startingState:e,playlist:n}){this.state="HAVE_METADATA",this.loadedPlaylists_[n.id]=n,this.mediaRequest_=null,this.refreshMedia_(n.id),e==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}pause(){this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(window$1$1.clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),this.state==="HAVE_NOTHING"&&(this.started=!1)}load(e){window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const n=this.media();if(e){const o=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=window$1$1.setTimeout(()=>this.load(),o);return}if(!this.started){this.start();return}n&&!n.endList?(this.isMain_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist")}start(){if(this.started=!0,!this.isMain_){this.mediaRequest_=window$1$1.setTimeout(()=>this.haveMain_(),0);return}this.requestMain_((e,n)=>{this.haveMain_(),!this.hasPendingRequest()&&!this.media_&&this.media(this.mainPlaylistLoader_.main.playlists[0])})}requestMain_(e){const n={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestrequeststart",metadata:n}),this.request=this.vhs_.xhr({uri:this.mainPlaylistLoader_.srcUrl,withCredentials:this.withCredentials,requestType:"dash-manifest"},(o,u)=>{if(o){const{requestType:m}=u;o.metadata=getStreamingNetworkErrorMetadata({requestType:m,request:u,error:o})}if(this.requestErrored_(o,u)){this.state==="HAVE_NOTHING"&&(this.started=!1);return}this.trigger({type:"manifestrequestcomplete",metadata:n});const l=u.responseText!==this.mainPlaylistLoader_.mainXml_;if(this.mainPlaylistLoader_.mainXml_=u.responseText,u.responseHeaders&&u.responseHeaders.date?this.mainLoaded_=Date.parse(u.responseHeaders.date):this.mainLoaded_=Date.now(),this.mainPlaylistLoader_.srcUrl=resolveManifestRedirect(this.mainPlaylistLoader_.srcUrl,u),l){this.handleMain_(),this.syncClientServerClock_(()=>e(u,l));return}return e(u,l)})}syncClientServerClock_(e){const n=parseUTCTiming(this.mainPlaylistLoader_.mainXml_);if(n===null)return this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e();if(n.method==="DIRECT")return this.mainPlaylistLoader_.clientOffset_=n.value-Date.now(),e();this.request=this.vhs_.xhr({uri:resolveUrl(this.mainPlaylistLoader_.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials,requestType:"dash-clock-sync"},(o,u)=>{if(!this.request)return;if(o){const{requestType:m}=u;return this.error.metadata=getStreamingNetworkErrorMetadata({requestType:m,request:u,error:o}),this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e()}let l;n.method==="HEAD"?!u.responseHeaders||!u.responseHeaders.date?l=this.mainLoaded_:l=Date.parse(u.responseHeaders.date):l=Date.parse(u.responseText),this.mainPlaylistLoader_.clientOffset_=l-Date.now(),e()})}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){this.mediaRequest_=null;const e=this.mainPlaylistLoader_.main,n={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestparsestart",metadata:n});let o;try{o=parseMainXml({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:e})}catch(l){this.error=l,this.error.metadata={errorType:videojs.Error.StreamingDashManifestParserError,error:l},this.trigger("error")}e&&(o=updateMain(e,o,this.mainPlaylistLoader_.sidxMapping_)),this.mainPlaylistLoader_.main=o||e;const u=this.mainPlaylistLoader_.main.locations&&this.mainPlaylistLoader_.main.locations[0];if(u&&u!==this.mainPlaylistLoader_.srcUrl&&(this.mainPlaylistLoader_.srcUrl=u),(!e||o&&o.minimumUpdatePeriod!==e.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),this.addEventStreamToMetadataTrack_(o),o){const{duration:l,endList:m}=o,y=[];o.playlists.forEach(C=>{y.push({id:C.id,bandwidth:C.attributes.BANDWIDTH,resolution:C.attributes.RESOLUTION,codecs:C.attributes.CODECS})});const E={duration:l,isLive:!m,renditions:y};n.parsedManifest=E,this.trigger({type:"manifestparsecomplete",metadata:n})}return!!o}updateMinimumUpdatePeriodTimeout_(){const e=this.mainPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(window$1$1.clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);let n=e.main&&e.main.minimumUpdatePeriod;if(n===0&&(e.media()?n=e.media().targetDuration*1e3:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),typeof n!="number"||n<=0){n<0&&this.logger_(`found invalid minimumUpdatePeriod of ${n}, not setting a timeout`);return}this.createMUPTimeout_(n)}createMUPTimeout_(e){const n=this.mainPlaylistLoader_;n.minimumUpdatePeriodTimeout_=window$1$1.setTimeout(()=>{n.minimumUpdatePeriodTimeout_=null,n.trigger("minimumUpdatePeriod"),n.createMUPTimeout_(e)},e)}refreshXml_(){this.requestMain_((e,n)=>{n&&(this.media_&&(this.media_=this.mainPlaylistLoader_.main.playlists[this.media_.id]),this.mainPlaylistLoader_.sidxMapping_=filterChangedSidxMappings(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.sidxMapping_),this.addSidxSegments_(this.media(),this.state,o=>{this.refreshMedia_(this.media().id)}))})}refreshMedia_(e){if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMain_&&this.handleMain_();const n=this.mainPlaylistLoader_.main.playlists,o=!this.media_||this.media_!==n[e];if(o?this.media_=n[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){const u=()=>{this.media().endList||(this.mediaUpdateTimeout=window$1$1.setTimeout(()=>{this.trigger("mediaupdatetimeout"),u()},refreshDelay(this.media(),!!o)))};u()}this.trigger("loadedplaylist")}addEventStreamToMetadataTrack_(e){if(e&&this.mainPlaylistLoader_.main.eventStream){const n=this.mainPlaylistLoader_.main.eventStream.map(o=>({cueTime:o.start,frames:[{data:o.messageData}]}));this.addMetadataToTextTrack("EventStream",n,this.mainPlaylistLoader_.main.duration)}}getKeyIdSet(e){if(e.contentProtection){const n=new Set;for(const o in e.contentProtection){const u=e.contentProtection[o].attributes["cenc:default_KID"];u&&n.add(u.replace(/-/g,"").toLowerCase())}return n}}}var Config={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30};const stringToArrayBuffer=t=>{const e=new Uint8Array(new ArrayBuffer(t.length));for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e.buffer},browserWorkerPolyFill=function(t){return t.on=t.addEventListener,t.off=t.removeEventListener,t},createObjectURL=function(t){try{return URL.createObjectURL(new Blob([t],{type:"application/javascript"}))}catch{const n=new BlobBuilder;return n.append(t),URL.createObjectURL(n.getBlob())}},factory=function(t){return function(){const e=createObjectURL(t),n=browserWorkerPolyFill(new Worker(e));n.objURL=e;const o=n.terminate;return n.on=n.addEventListener,n.off=n.removeEventListener,n.terminate=function(){return URL.revokeObjectURL(e),o.call(this)},n}},transform=function(t){return`var browserWorkerPolyFill = ${browserWorkerPolyFill.toString()};
+    `)}}autoSetupTimeout(1,videojs),videojs.VERSION=version$5,videojs.options=Player$1.prototype.options_,videojs.getPlayers=function(){return Player$1.players},videojs.getPlayer=function(n){var e=Player$1.players,o;if(typeof n=="string"){var l=normalizeId(n),t=e[l];if(t)return t;o=$("#"+l)}else o=n;if(isEl(o)){var u=o,h=u.player,v=u.playerId;if(h||e[v])return h||e[v]}},videojs.getAllPlayers=function(){return Object.keys(Player$1.players).map(function(n){return Player$1.players[n]}).filter(Boolean)},videojs.players=Player$1.players,videojs.getComponent=Component$1.getComponent,videojs.registerComponent=function(n,e){Tech$2.isTech(e)&&log$1.warn("The "+n+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),Component$1.registerComponent.call(Component$1,n,e)},videojs.getTech=Tech$2.getTech,videojs.registerTech=Tech$2.registerTech,videojs.use=use,Object.defineProperty(videojs,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(videojs.middleware,"TERMINATOR",{value:TERMINATOR,writeable:!1,enumerable:!0}),videojs.browser=browser$f,videojs.TOUCH_ENABLED=TOUCH_ENABLED,videojs.extend=extend$2,videojs.mergeOptions=mergeOptions$3,videojs.bind=bind$2,videojs.registerPlugin=Plugin.registerPlugin,videojs.deregisterPlugin=Plugin.deregisterPlugin,videojs.plugin=function(n,e){return log$1.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Plugin.registerPlugin(n,e)},videojs.getPlugins=Plugin.getPlugins,videojs.getPlugin=Plugin.getPlugin,videojs.getPluginVersion=Plugin.getPluginVersion,videojs.addLanguage=function(n,e){var o;return n=(""+n).toLowerCase(),videojs.options.languages=mergeOptions$3(videojs.options.languages,(o={},o[n]=e,o)),videojs.options.languages[n]},videojs.log=log$1,videojs.createLogger=createLogger,videojs.createTimeRange=videojs.createTimeRanges=createTimeRanges,videojs.formatTime=formatTime,videojs.setFormatTime=setFormatTime,videojs.resetFormatTime=resetFormatTime,videojs.parseUrl=parseUrl,videojs.isCrossOrigin=isCrossOrigin,videojs.EventTarget=EventTarget$2,videojs.on=on,videojs.one=one,videojs.off=off,videojs.trigger=trigger,videojs.xhr=XHR,videojs.TextTrack=TextTrack,videojs.AudioTrack=AudioTrack,videojs.VideoTrack=VideoTrack,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(n){videojs[n]=function(){return log$1.warn("videojs."+n+"() is deprecated; use videojs.dom."+n+"() instead"),Dom[n].apply(null,arguments)}}),videojs.computedStyle=computedStyle,videojs.dom=Dom,videojs.url=Url$1,videojs.defineLazyProperty=defineLazyProperty,videojs.addLanguage("en",{"Non-Fullscreen":"Exit Fullscreen"});/*! @name @videojs/http-streaming @version 2.16.3 @license Apache-2.0 */var resolveUrl=resolveUrl$1,resolveManifestRedirect=function(e,o,l){return e&&l&&l.responseURL&&o!==l.responseURL?l.responseURL:o},logger=function(e){return videojs.log.debug?videojs.log.debug.bind(videojs,"VHS:",e+" >"):function(){}},TIME_FUDGE_FACTOR=1/30,SAFE_TIME_DELTA=TIME_FUDGE_FACTOR*3,filterRanges=function(e,o){var l=[],t;if(e&&e.length)for(t=0;t<e.length;t++)o(e.start(t),e.end(t))&&l.push([e.start(t),e.end(t)]);return videojs.createTimeRanges(l)},findRange=function(e,o){return filterRanges(e,function(l,t){return l-SAFE_TIME_DELTA<=o&&t+SAFE_TIME_DELTA>=o})},findNextRange=function(e,o){return filterRanges(e,function(l){return l-TIME_FUDGE_FACTOR>=o})},findGaps=function(e){if(e.length<2)return videojs.createTimeRanges();for(var o=[],l=1;l<e.length;l++){var t=e.end(l-1),u=e.start(l);o.push([t,u])}return videojs.createTimeRanges(o)},bufferIntersection=function(e,o){var l=null,t=null,u=0,h=[],v=[];if(!e||!e.length||!o||!o.length)return videojs.createTimeRange();for(var w=e.length;w--;)h.push({time:e.start(w),type:"start"}),h.push({time:e.end(w),type:"end"});for(w=o.length;w--;)h.push({time:o.start(w),type:"start"}),h.push({time:o.end(w),type:"end"});for(h.sort(function(A,E){return A.time-E.time}),w=0;w<h.length;w++)h[w].type==="start"?(u++,u===2&&(l=h[w].time)):h[w].type==="end"&&(u--,u===1&&(t=h[w].time)),l!==null&&t!==null&&(v.push([l,t]),l=null,t=null);return videojs.createTimeRanges(v)},printableRange=function(e){var o=[];if(!e||!e.length)return"";for(var l=0;l<e.length;l++)o.push(e.start(l)+" => "+e.end(l));return o.join(", ")},timeUntilRebuffer=function(e,o,l){l===void 0&&(l=1);var t=e.length?e.end(e.length-1):0;return(t-o)/l},timeRangesToArray=function(e){for(var o=[],l=0;l<e.length;l++)o.push({start:e.start(l),end:e.end(l)});return o},isRangeDifferent=function(e,o){if(e===o)return!1;if(!e&&o||!o&&e||e.length!==o.length)return!0;for(var l=0;l<e.length;l++)if(e.start(l)!==o.start(l)||e.end(l)!==o.end(l))return!0;return!1},lastBufferedEnd=function(e){if(!(!e||!e.length||!e.end))return e.end(e.length-1)},timeAheadOf=function(e,o){var l=0;if(!e||!e.length)return l;for(var t=0;t<e.length;t++){var u=e.start(t),h=e.end(t);if(!(o>h)){if(o>u&&o<=h){l+=h-o;continue}l+=h-u}}return l},createTimeRange=videojs.createTimeRange,segmentDurationWithParts=function(e,o){if(!o.preload)return o.duration;var l=0;return(o.parts||[]).forEach(function(t){l+=t.duration}),(o.preloadHints||[]).forEach(function(t){t.type==="PART"&&(l+=e.partTargetDuration)}),l},getPartsAndSegments=function(e){return(e.segments||[]).reduce(function(o,l,t){return l.parts?l.parts.forEach(function(u,h){o.push({duration:u.duration,segmentIndex:t,partIndex:h,part:u,segment:l})}):o.push({duration:l.duration,segmentIndex:t,partIndex:null,segment:l,part:null}),o},[])},getLastParts=function(e){var o=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return o&&o.parts||[]},getKnownPartCount=function(e){var o=e.preloadSegment;if(o){var l=o.parts,t=o.preloadHints,u=(t||[]).reduce(function(h,v){return h+(v.type==="PART"?1:0)},0);return u+=l&&l.length?l.length:0,u}},liveEdgeDelay=function(e,o){if(o.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;var l=getLastParts(o).length>0;return l&&o.serverControl&&o.serverControl.partHoldBack?o.serverControl.partHoldBack:l&&o.partTargetDuration?o.partTargetDuration*3:o.serverControl&&o.serverControl.holdBack?o.serverControl.holdBack:o.targetDuration?o.targetDuration*3:0},backwardDuration=function(e,o){var l=0,t=o-e.mediaSequence,u=e.segments[t];if(u){if(typeof u.start<"u")return{result:u.start,precise:!0};if(typeof u.end<"u")return{result:u.end-u.duration,precise:!0}}for(;t--;){if(u=e.segments[t],typeof u.end<"u")return{result:l+u.end,precise:!0};if(l+=segmentDurationWithParts(e,u),typeof u.start<"u")return{result:l+u.start,precise:!0}}return{result:l,precise:!1}},forwardDuration=function(e,o){for(var l=0,t,u=o-e.mediaSequence;u<e.segments.length;u++){if(t=e.segments[u],typeof t.start<"u")return{result:t.start-l,precise:!0};if(l+=segmentDurationWithParts(e,t),typeof t.end<"u")return{result:t.end-l,precise:!0}}return{result:-1,precise:!1}},intervalDuration=function(e,o,l){if(typeof o>"u"&&(o=e.mediaSequence+e.segments.length),o<e.mediaSequence)return 0;var t=backwardDuration(e,o);if(t.precise)return t.result;var u=forwardDuration(e,o);return u.precise?u.result:t.result+l},duration=function(e,o,l){if(!e)return 0;if(typeof l!="number"&&(l=0),typeof o>"u"){if(e.totalDuration)return e.totalDuration;if(!e.endList)return window$1$1.Infinity}return intervalDuration(e,o,l)},sumDurations=function(e){var o=e.defaultDuration,l=e.durationList,t=e.startIndex,u=e.endIndex,h=0;if(t>u){var v=[u,t];t=v[0],u=v[1]}if(t<0){for(var w=t;w<Math.min(0,u);w++)h+=o;t=0}for(var A=t;A<u;A++)h+=l[A].duration;return h},playlistEnd=function(e,o,l,t){if(!e||!e.segments)return null;if(e.endList)return duration(e);if(o===null)return null;o=o||0;var u=intervalDuration(e,e.mediaSequence+e.segments.length,o);return l&&(t=typeof t=="number"?t:liveEdgeDelay(null,e),u-=t),Math.max(0,u)},seekable=function(e,o,l){var t=!0,u=o||0,h=playlistEnd(e,o,t,l);return h===null?createTimeRange():createTimeRange(u,h)},getMediaInfoForTime=function(e){for(var o=e.playlist,l=e.currentTime,t=e.startingSegmentIndex,u=e.startingPartIndex,h=e.startTime,v=e.experimentalExactManifestTimings,w=l-h,A=getPartsAndSegments(o),E=0,C=0;C<A.length;C++){var M=A[C];if(t===M.segmentIndex&&!(typeof u=="number"&&typeof M.partIndex=="number"&&u!==M.partIndex)){E=C;break}}if(w<0){if(E>0)for(var P=E-1;P>=0;P--){var I=A[P];if(w+=I.duration,v){if(w<0)continue}else if(w+TIME_FUDGE_FACTOR<=0)continue;return{partIndex:I.partIndex,segmentIndex:I.segmentIndex,startTime:h-sumDurations({defaultDuration:o.targetDuration,durationList:A,startIndex:E,endIndex:P})}}return{partIndex:A[0]&&A[0].partIndex||null,segmentIndex:A[0]&&A[0].segmentIndex||0,startTime:l}}if(E<0){for(var j=E;j<0;j++)if(w-=o.targetDuration,w<0)return{partIndex:A[0]&&A[0].partIndex||null,segmentIndex:A[0]&&A[0].segmentIndex||0,startTime:l};E=0}for(var B=E;B<A.length;B++){var F=A[B];if(w-=F.duration,v){if(w>0)continue}else if(w-TIME_FUDGE_FACTOR>=0)continue;return{partIndex:F.partIndex,segmentIndex:F.segmentIndex,startTime:h+sumDurations({defaultDuration:o.targetDuration,durationList:A,startIndex:E,endIndex:B})}}return{segmentIndex:A[A.length-1].segmentIndex,partIndex:A[A.length-1].partIndex,startTime:l}},isBlacklisted=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},isIncompatible=function(e){return e.excludeUntil&&e.excludeUntil===1/0},isEnabled=function(e){var o=isBlacklisted(e);return!e.disabled&&!o},isDisabled=function(e){return e.disabled},isAes=function(e){for(var o=0;o<e.segments.length;o++)if(e.segments[o].key)return!0;return!1},hasAttribute=function(e,o){return o.attributes&&o.attributes[e]},estimateSegmentRequestTime=function(e,o,l,t){if(t===void 0&&(t=0),!hasAttribute("BANDWIDTH",l))return NaN;var u=e*l.attributes.BANDWIDTH;return(u-t*8)/o},isLowestEnabledRendition=function(e,o){if(e.playlists.length===1)return!0;var l=o.attributes.BANDWIDTH||Number.MAX_VALUE;return e.playlists.filter(function(t){return isEnabled(t)?(t.attributes.BANDWIDTH||0)<l:!1}).length===0},playlistMatch=function(e,o){return!e&&!o||!e&&o||e&&!o?!1:!!(e===o||e.id&&o.id&&e.id===o.id||e.resolvedUri&&o.resolvedUri&&e.resolvedUri===o.resolvedUri||e.uri&&o.uri&&e.uri===o.uri)},someAudioVariant=function(e,o){var l=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{},t=!1;for(var u in l){for(var h in l[u])if(t=o(l[u][h]),t)break;if(t)break}return!!t},isAudioOnly=function(e){if(!e||!e.playlists||!e.playlists.length){var o=someAudioVariant(e,function(h){return h.playlists&&h.playlists.length||h.uri});return o}for(var l=function(v){var w=e.playlists[v],A=w.attributes&&w.attributes.CODECS;if(A&&A.split(",").every(function(C){return isAudioCodec(C)}))return"continue";var E=someAudioVariant(e,function(C){return playlistMatch(w,C)});return E?"continue":{v:!1}},t=0;t<e.playlists.length;t++){var u=l(t);if(u!=="continue"&&typeof u=="object")return u.v}return!0},Playlist={liveEdgeDelay,duration,seekable,getMediaInfoForTime,isEnabled,isDisabled,isBlacklisted,isIncompatible,playlistEnd,isAes,hasAttribute,estimateSegmentRequestTime,isLowestEnabledRendition,isAudioOnly,playlistMatch,segmentDurationWithParts},log=videojs.log,createPlaylistID=function(e,o){return e+"-"+o},groupID=function(e,o,l){return"placeholder-uri-"+e+"-"+o+"-"+l},parseManifest=function(e){var o=e.onwarn,l=e.oninfo,t=e.manifestString,u=e.customTagParsers,h=u===void 0?[]:u,v=e.customTagMappers,w=v===void 0?[]:v,A=e.experimentalLLHLS,E=new Parser;o&&E.on("warn",o),l&&E.on("info",l),h.forEach(function(j){return E.addParser(j)}),w.forEach(function(j){return E.addTagMapper(j)}),E.push(t),E.end();var C=E.manifest;if(A||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach(function(j){C.hasOwnProperty(j)&&delete C[j]}),C.segments&&C.segments.forEach(function(j){["parts","preloadHints"].forEach(function(B){j.hasOwnProperty(B)&&delete j[B]})})),!C.targetDuration){var M=10;C.segments&&C.segments.length&&(M=C.segments.reduce(function(j,B){return Math.max(j,B.duration)},0)),o&&o("manifest has no targetDuration defaulting to "+M),C.targetDuration=M}var P=getLastParts(C);if(P.length&&!C.partTargetDuration){var I=P.reduce(function(j,B){return Math.max(j,B.duration)},0);o&&(o("manifest has no partTargetDuration defaulting to "+I),log.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),C.partTargetDuration=I}return C},forEachMediaGroup=function(e,o){e.mediaGroups&&["AUDIO","SUBTITLES"].forEach(function(l){if(e.mediaGroups[l])for(var t in e.mediaGroups[l])for(var u in e.mediaGroups[l][t]){var h=e.mediaGroups[l][t][u];o(h,l,t,u)}})},setupMediaPlaylist=function(e){var o=e.playlist,l=e.uri,t=e.id;o.id=t,o.playlistErrors_=0,l&&(o.uri=l),o.attributes=o.attributes||{}},setupMediaPlaylists=function(e){for(var o=e.playlists.length;o--;){var l=e.playlists[o];setupMediaPlaylist({playlist:l,id:createPlaylistID(o,l.uri)}),l.resolvedUri=resolveUrl(e.uri,l.uri),e.playlists[l.id]=l,e.playlists[l.uri]=l,l.attributes.BANDWIDTH||log.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}},resolveMediaGroupUris=function(e){forEachMediaGroup(e,function(o){o.uri&&(o.resolvedUri=resolveUrl(e.uri,o.uri))})},masterForMedia=function(e,o){var l=createPlaylistID(0,o),t={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:window$1$1.location.href,resolvedUri:window$1$1.location.href,playlists:[{uri:o,id:l,resolvedUri:o,attributes:{}}]};return t.playlists[l]=t.playlists[0],t.playlists[o]=t.playlists[0],t},addPropertiesToMaster=function(e,o,l){l===void 0&&(l=groupID),e.uri=o;for(var t=0;t<e.playlists.length;t++)if(!e.playlists[t].uri){var u="placeholder-uri-"+t;e.playlists[t].uri=u}var h=isAudioOnly(e);forEachMediaGroup(e,function(v,w,A,E){if(!v.playlists||!v.playlists.length){if(h&&w==="AUDIO"&&!v.uri)for(var C=0;C<e.playlists.length;C++){var M=e.playlists[C];if(M.attributes&&M.attributes.AUDIO&&M.attributes.AUDIO===A)return}v.playlists=[_extends$2({},v)]}v.playlists.forEach(function(P,I){var j=l(w,A,E,P),B=createPlaylistID(I,j);P.uri?P.resolvedUri=P.resolvedUri||resolveUrl(e.uri,P.uri):(P.uri=I===0?j:B,P.resolvedUri=P.uri),P.id=P.id||B,P.attributes=P.attributes||{},e.playlists[P.id]=P,e.playlists[P.uri]=P})}),setupMediaPlaylists(e),resolveMediaGroupUris(e)},mergeOptions$2=videojs.mergeOptions,EventTarget$1=videojs.EventTarget,addLLHLSQueryDirectives=function(e,o){if(o.endList||!o.serverControl)return e;var l={};if(o.serverControl.canBlockReload){var t=o.preloadSegment,u=o.mediaSequence+o.segments.length;if(t){var h=t.parts||[],v=getKnownPartCount(o)-1;v>-1&&v!==h.length-1&&(l._HLS_part=v),(v>-1||h.length)&&u--}l._HLS_msn=u}if(o.serverControl&&o.serverControl.canSkipUntil&&(l._HLS_skip=o.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(l).length){var w=new window$1$1.URL(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach(function(A){l.hasOwnProperty(A)&&w.searchParams.set(A,l[A])}),e=w.toString()}return e},updateSegment=function(e,o){if(!e)return o;var l=mergeOptions$2(e,o);if(e.preloadHints&&!o.preloadHints&&delete l.preloadHints,e.parts&&!o.parts)delete l.parts;else if(e.parts&&o.parts)for(var t=0;t<o.parts.length;t++)e.parts&&e.parts[t]&&(l.parts[t]=mergeOptions$2(e.parts[t],o.parts[t]));return!e.skipped&&o.skipped&&(l.skipped=!1),e.preload&&!o.preload&&(l.preload=!1),l},updateSegments=function(e,o,l){var t=e.slice(),u=o.slice();l=l||0;for(var h=[],v,w=0;w<u.length;w++){var A=t[w+l],E=u[w];A?(v=A.map||v,h.push(updateSegment(A,E))):(v&&!E.map&&(E.map=v),h.push(E))}return h},resolveSegmentUris=function(e,o){!e.resolvedUri&&e.uri&&(e.resolvedUri=resolveUrl(o,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=resolveUrl(o,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=resolveUrl(o,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=resolveUrl(o,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach(function(l){l.resolvedUri||(l.resolvedUri=resolveUrl(o,l.uri))}),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach(function(l){l.resolvedUri||(l.resolvedUri=resolveUrl(o,l.uri))})},getAllSegments=function(e){var o=e.segments||[],l=e.preloadSegment;if(l&&l.parts&&l.parts.length){if(l.preloadHints){for(var t=0;t<l.preloadHints.length;t++)if(l.preloadHints[t].type==="MAP")return o}l.duration=e.targetDuration,l.preload=!0,o.push(l)}return o},isPlaylistUnchanged=function(e,o){return e===o||e.segments&&o.segments&&e.segments.length===o.segments.length&&e.endList===o.endList&&e.mediaSequence===o.mediaSequence&&e.preloadSegment===o.preloadSegment},updateMaster$1=function(e,o,l){l===void 0&&(l=isPlaylistUnchanged);var t=mergeOptions$2(e,{}),u=t.playlists[o.id];if(!u||l(u,o))return null;o.segments=getAllSegments(o);var h=mergeOptions$2(u,o);if(h.preloadSegment&&!o.preloadSegment&&delete h.preloadSegment,u.segments){if(o.skip){o.segments=o.segments||[];for(var v=0;v<o.skip.skippedSegments;v++)o.segments.unshift({skipped:!0})}h.segments=updateSegments(u.segments,o.segments,o.mediaSequence-u.mediaSequence)}h.segments.forEach(function(A){resolveSegmentUris(A,h.resolvedUri)});for(var w=0;w<t.playlists.length;w++)t.playlists[w].id===o.id&&(t.playlists[w]=h);return t.playlists[o.id]=h,t.playlists[o.uri]=h,forEachMediaGroup(e,function(A,E,C,M){if(A.playlists)for(var P=0;P<A.playlists.length;P++)o.id===A.playlists[P].id&&(A.playlists[P]=h)}),t},refreshDelay=function(e,o){var l=e.segments||[],t=l[l.length-1],u=t&&t.parts&&t.parts[t.parts.length-1],h=u&&u.duration||t&&t.duration;return o&&h?h*1e3:(e.partTargetDuration||e.targetDuration||10)*500},PlaylistLoader=function(n){_inheritsLoose(e,n);function e(l,t,u){var h;if(u===void 0&&(u={}),h=n.call(this)||this,!l)throw new Error("A non-empty playlist URL or object is required");h.logger_=logger("PlaylistLoader");var v=u,w=v.withCredentials,A=w===void 0?!1:w,E=v.handleManifestRedirects,C=E===void 0?!1:E;h.src=l,h.vhs_=t,h.withCredentials=A,h.handleManifestRedirects=C;var M=t.options_;return h.customTagParsers=M&&M.customTagParsers||[],h.customTagMappers=M&&M.customTagMappers||[],h.experimentalLLHLS=M&&M.experimentalLLHLS||!1,videojs.browser.IE_VERSION&&(h.experimentalLLHLS=!1),h.state="HAVE_NOTHING",h.handleMediaupdatetimeout_=h.handleMediaupdatetimeout_.bind(_assertThisInitialized$1(h)),h.on("mediaupdatetimeout",h.handleMediaupdatetimeout_),h}var o=e.prototype;return o.handleMediaupdatetimeout_=function(){var t=this;if(this.state==="HAVE_METADATA"){var u=this.media(),h=resolveUrl(this.master.uri,u.uri);this.experimentalLLHLS&&(h=addLLHLSQueryDirectives(h,u)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:h,withCredentials:this.withCredentials},function(v,w){if(t.request){if(v)return t.playlistRequestError(t.request,t.media(),"HAVE_METADATA");t.haveMetadata({playlistString:t.request.responseText,url:t.media().uri,id:t.media().id})}})}},o.playlistRequestError=function(t,u,h){var v=u.uri,w=u.id;this.request=null,h&&(this.state=h),this.error={playlist:this.master.playlists[w],status:t.status,message:"HLS playlist request error at URL: "+v+".",responseText:t.responseText,code:t.status>=500?4:2},this.trigger("error")},o.parseManifest_=function(t){var u=this,h=t.url,v=t.manifestString;return parseManifest({onwarn:function(A){var E=A.message;return u.logger_("m3u8-parser warn for "+h+": "+E)},oninfo:function(A){var E=A.message;return u.logger_("m3u8-parser info for "+h+": "+E)},manifestString:v,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},o.haveMetadata=function(t){var u=t.playlistString,h=t.playlistObject,v=t.url,w=t.id;this.request=null,this.state="HAVE_METADATA";var A=h||this.parseManifest_({url:v,manifestString:u});A.lastRequest=Date.now(),setupMediaPlaylist({playlist:A,uri:v,id:w});var E=updateMaster$1(this.master,A);this.targetDuration=A.partTargetDuration||A.targetDuration,this.pendingMedia_=null,E?(this.master=E,this.media_=this.master.playlists[w]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(refreshDelay(this.media(),!!E)),this.trigger("loadedplaylist")},o.dispose=function(){this.trigger("dispose"),this.stopRequest(),window$1$1.clearTimeout(this.mediaUpdateTimeout),window$1$1.clearTimeout(this.finalRenditionTimeout),this.off()},o.stopRequest=function(){if(this.request){var t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}},o.media=function(t,u){var h=this;if(!t)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);if(typeof t=="string"){if(!this.master.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.master.playlists[t]}if(window$1$1.clearTimeout(this.finalRenditionTimeout),u){var v=(t.partTargetDuration||t.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=window$1$1.setTimeout(this.media.bind(this,t,!1),v);return}var w=this.state,A=!this.media_||t.id!==this.media_.id,E=this.master.playlists[t.id];if(E&&E.endList||t.endList&&t.segments.length){this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=t,A&&(this.trigger("mediachanging"),w==="HAVE_MASTER"?this.trigger("loadedmetadata"):this.trigger("mediachange"));return}if(this.updateMediaUpdateTimeout_(refreshDelay(t,!0)),!!A){if(this.state="SWITCHING_MEDIA",this.request){if(t.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=t,this.request=this.vhs_.xhr({uri:t.resolvedUri,withCredentials:this.withCredentials},function(C,M){if(h.request){if(t.lastRequest=Date.now(),t.resolvedUri=resolveManifestRedirect(h.handleManifestRedirects,t.resolvedUri,M),C)return h.playlistRequestError(h.request,t,w);h.haveMetadata({playlistString:M.responseText,url:t.uri,id:t.id}),w==="HAVE_MASTER"?h.trigger("loadedmetadata"):h.trigger("mediachange")}})}},o.pause=function(){this.mediaUpdateTimeout&&(window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),this.state==="HAVE_NOTHING"&&(this.started=!1),this.state==="SWITCHING_MEDIA"?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":this.state==="HAVE_CURRENT_METADATA"&&(this.state="HAVE_METADATA")},o.load=function(t){var u=this;this.mediaUpdateTimeout&&(window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var h=this.media();if(t){var v=h?(h.partTargetDuration||h.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=window$1$1.setTimeout(function(){u.mediaUpdateTimeout=null,u.load()},v);return}if(!this.started){this.start();return}h&&!h.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist")},o.updateMediaUpdateTimeout_=function(t){var u=this;this.mediaUpdateTimeout&&(window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),!(!this.media()||this.media().endList)&&(this.mediaUpdateTimeout=window$1$1.setTimeout(function(){u.mediaUpdateTimeout=null,u.trigger("mediaupdatetimeout"),u.updateMediaUpdateTimeout_(t)},t))},o.start=function(){var t=this;if(this.started=!0,typeof this.src=="object"){this.src.uri||(this.src.uri=window$1$1.location.href),this.src.resolvedUri=this.src.uri,setTimeout(function(){t.setupInitialPlaylist(t.src)},0);return}this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},function(u,h){if(t.request){if(t.request=null,u)return t.error={status:h.status,message:"HLS playlist request error at URL: "+t.src+".",responseText:h.responseText,code:2},t.state==="HAVE_NOTHING"&&(t.started=!1),t.trigger("error");t.src=resolveManifestRedirect(t.handleManifestRedirects,t.src,h);var v=t.parseManifest_({manifestString:h.responseText,url:t.src});t.setupInitialPlaylist(v)}})},o.srcUri=function(){return typeof this.src=="string"?this.src:this.src.uri},o.setupInitialPlaylist=function(t){if(this.state="HAVE_MASTER",t.playlists){this.master=t,addPropertiesToMaster(this.master,this.srcUri()),t.playlists.forEach(function(h){h.segments=getAllSegments(h),h.segments.forEach(function(v){resolveSegmentUris(v,h.resolvedUri)})}),this.trigger("loadedplaylist"),this.request||this.media(this.master.playlists[0]);return}var u=this.srcUri()||window$1$1.location.href;this.master=masterForMedia(t,u),this.haveMetadata({playlistObject:t,url:u,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},e}(EventTarget$1),videojsXHR=videojs.xhr,mergeOptions$1=videojs.mergeOptions,callbackWrapper=function(e,o,l,t){var u=e.responseType==="arraybuffer"?e.response:e.responseText;!o&&u&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=u.byteLength||u.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),l.headers&&(e.responseHeaders=l.headers),o&&o.code==="ETIMEDOUT"&&(e.timedout=!0),!o&&!e.aborted&&l.statusCode!==200&&l.statusCode!==206&&l.statusCode!==0&&(o=new Error("XHR Failed with a response of: "+(e&&(u||e.responseText)))),t(o,e)},xhrFactory=function(){var e=function o(l,t){l=mergeOptions$1({timeout:45e3},l);var u=o.beforeRequest||videojs.Vhs.xhr.beforeRequest;if(u&&typeof u=="function"){var h=u(l);h&&(l=h)}var v=videojs.Vhs.xhr.original===!0?videojsXHR:videojs.Vhs.xhr,w=v(l,function(E,C){return callbackWrapper(w,E,C,t)}),A=w.abort;return w.abort=function(){return w.aborted=!0,A.apply(w,arguments)},w.uri=l.uri,w.requestTime=Date.now(),w};return e.original=!0,e},byterangeStr=function(e){var o,l=e.offset;return typeof e.offset=="bigint"||typeof e.length=="bigint"?o=window$1$1.BigInt(e.offset)+window$1$1.BigInt(e.length)-window$1$1.BigInt(1):o=e.offset+e.length-1,"bytes="+l+"-"+o},segmentXhrHeaders=function(e){var o={};return e.byterange&&(o.Range=byterangeStr(e.byterange)),o},textRange=function(e,o){return e.start(o)+"-"+e.end(o)},formatHexString=function(e,o){var l=e.toString(16);return"00".substring(0,2-l.length)+l+(o%2?" ":"")},formatAsciiString=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},createTransferableMessage=function(e){var o={};return Object.keys(e).forEach(function(l){var t=e[l];isArrayBufferView(t)?o[l]={bytes:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength}:o[l]=t}),o},initSegmentId=function(e){var o=e.byterange||{length:1/0,offset:0};return[o.length,o.offset,e.resolvedUri].join(",")},segmentKeyId=function(e){return e.resolvedUri},hexDump=function(e){for(var o=Array.prototype.slice.call(e),l=16,t="",u,h,v=0;v<o.length/l;v++)u=o.slice(v*l,v*l+l).map(formatHexString).join(""),h=o.slice(v*l,v*l+l).map(formatAsciiString).join(""),t+=u+" "+h+`
+`;return t},tagDump=function(e){var o=e.bytes;return hexDump(o)},textRanges=function(e){var o="",l;for(l=0;l<e.length;l++)o+=textRange(e,l)+" ";return o},utils$r=Object.freeze({__proto__:null,createTransferableMessage,initSegmentId,segmentKeyId,hexDump,tagDump,textRanges}),SEGMENT_END_FUDGE_PERCENT=.25,playerTimeToProgramTime=function(e,o){if(!o.dateTimeObject)return null;var l=o.videoTimingInfo.transmuxerPrependedSeconds,t=o.videoTimingInfo.transmuxedPresentationStart,u=t+l,h=e-u;return new Date(o.dateTimeObject.getTime()+h*1e3)},originalSegmentVideoDuration=function(e){return e.transmuxedPresentationEnd-e.transmuxedPresentationStart-e.transmuxerPrependedSeconds},findSegmentForProgramTime=function(e,o){var l;try{l=new Date(e)}catch{return null}if(!o||!o.segments||o.segments.length===0)return null;var t=o.segments[0];if(l<t.dateTimeObject)return null;for(var u=0;u<o.segments.length-1;u++){t=o.segments[u];var h=o.segments[u+1].dateTimeObject;if(l<h)break}var v=o.segments[o.segments.length-1],w=v.dateTimeObject,A=v.videoTimingInfo?originalSegmentVideoDuration(v.videoTimingInfo):v.duration+v.duration*SEGMENT_END_FUDGE_PERCENT,E=new Date(w.getTime()+A*1e3);return l>E?null:(l>w&&(t=v),{segment:t,estimatedStart:t.videoTimingInfo?t.videoTimingInfo.transmuxedPresentationStart:Playlist.duration(o,o.mediaSequence+o.segments.indexOf(t)),type:t.videoTimingInfo?"accurate":"estimate"})},findSegmentForPlayerTime=function(e,o){if(!o||!o.segments||o.segments.length===0)return null;for(var l=0,t,u=0;u<o.segments.length&&(t=o.segments[u],l=t.videoTimingInfo?t.videoTimingInfo.transmuxedPresentationEnd:l+t.duration,!(e<=l));u++);var h=o.segments[o.segments.length-1];if(h.videoTimingInfo&&h.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>l){if(e>l+h.duration*SEGMENT_END_FUDGE_PERCENT)return null;t=h}return{segment:t,estimatedStart:t.videoTimingInfo?t.videoTimingInfo.transmuxedPresentationStart:l-t.duration,type:t.videoTimingInfo?"accurate":"estimate"}},getOffsetFromTimestamp=function(e,o){var l,t;try{l=new Date(e),t=new Date(o)}catch{}var u=l.getTime(),h=t.getTime();return(h-u)/1e3},verifyProgramDateTimeTags=function(e){if(!e.segments||e.segments.length===0)return!1;for(var o=0;o<e.segments.length;o++){var l=e.segments[o];if(!l.dateTimeObject)return!1}return!0},getProgramTime=function(e){var o=e.playlist,l=e.time,t=l===void 0?void 0:l,u=e.callback;if(!u)throw new Error("getProgramTime: callback must be provided");if(!o||t===void 0)return u({message:"getProgramTime: playlist and time must be provided"});var h=findSegmentForPlayerTime(t,o);if(!h)return u({message:"valid programTime was not found"});if(h.type==="estimate")return u({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:h.estimatedStart});var v={mediaSeconds:t},w=playerTimeToProgramTime(t,h.segment);return w&&(v.programDateTime=w.toISOString()),u(null,v)},seekToProgramTime=function n(e){var o=e.programTime,l=e.playlist,t=e.retryCount,u=t===void 0?2:t,h=e.seekTo,v=e.pauseAfterSeek,w=v===void 0?!0:v,A=e.tech,E=e.callback;if(!E)throw new Error("seekToProgramTime: callback must be provided");if(typeof o>"u"||!l||!h)return E({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!l.endList&&!A.hasStarted_)return E({message:"player must be playing a live stream to start buffering"});if(!verifyProgramDateTimeTags(l))return E({message:"programDateTime tags must be provided in the manifest "+l.resolvedUri});var C=findSegmentForProgramTime(o,l);if(!C)return E({message:o+" was not found in the stream"});var M=C.segment,P=getOffsetFromTimestamp(M.dateTimeObject,o);if(C.type==="estimate"){if(u===0)return E({message:o+" is not buffered yet. Try again"});h(C.estimatedStart+P),A.one("seeked",function(){n({programTime:o,playlist:l,retryCount:u-1,seekTo:h,pauseAfterSeek:w,tech:A,callback:E})});return}var I=M.start+P,j=function(){return E(null,A.currentTime())};A.one("seeked",j),w&&A.pause(),h(I)},callbackOnCompleted=function(e,o){if(e.readyState===4)return o()},containerRequest=function(e,o,l){var t=[],u,h=!1,v=function(M,P,I,j){return P.abort(),h=!0,l(M,P,I,j)},w=function(M,P){if(!h){if(M)return v(M,P,"",t);var I=P.responseText.substring(t&&t.byteLength||0,P.responseText.length);if(t=concatTypedArrays(t,stringToBytes(I,!0)),u=u||getId3Offset(t),t.length<10||u&&t.length<u+2)return callbackOnCompleted(P,function(){return v(M,P,"",t)});var j=detectContainerForBytes(t);return j==="ts"&&t.length<188?callbackOnCompleted(P,function(){return v(M,P,"",t)}):!j&&t.length<376?callbackOnCompleted(P,function(){return v(M,P,"",t)}):v(null,P,j,t)}},A={uri:e,beforeSend:function(M){M.overrideMimeType("text/plain; charset=x-user-defined"),M.addEventListener("progress",function(P){return P.total,P.loaded,callbackWrapper(M,null,{statusCode:M.status},w)})}},E=o(A,function(C,M){return callbackWrapper(E,C,M,w)});return E},EventTarget$3=videojs.EventTarget,mergeOptions=videojs.mergeOptions,dashPlaylistUnchanged=function(e,o){if(!isPlaylistUnchanged(e,o)||e.sidx&&o.sidx&&(e.sidx.offset!==o.sidx.offset||e.sidx.length!==o.sidx.length))return!1;if(!e.sidx&&o.sidx||e.sidx&&!o.sidx||e.segments&&!o.segments||!e.segments&&o.segments)return!1;if(!e.segments&&!o.segments)return!0;for(var l=0;l<e.segments.length;l++){var t=e.segments[l],u=o.segments[l];if(t.uri!==u.uri)return!1;if(!(!t.byterange&&!u.byterange)){var h=t.byterange,v=u.byterange;if(h&&!v||!h&&v||h.offset!==v.offset||h.length!==v.length)return!1}}return!0},dashGroupId=function(e,o,l,t){var u=t.attributes.NAME||l;return"placeholder-uri-"+e+"-"+o+"-"+u},parseMasterXml=function(e){var o=e.masterXml,l=e.srcUrl,t=e.clientOffset,u=e.sidxMapping,h=e.previousManifest,v=parse$4(o,{manifestUri:l,clientOffset:t,sidxMapping:u,previousManifest:h});return addPropertiesToMaster(v,l,dashGroupId),v},removeOldMediaGroupLabels=function(e,o){forEachMediaGroup(e,function(l,t,u,h){h in o.mediaGroups[t][u]||delete e.mediaGroups[t][u][h]})},updateMaster=function(e,o,l){for(var t=!0,u=mergeOptions(e,{duration:o.duration,minimumUpdatePeriod:o.minimumUpdatePeriod,timelineStarts:o.timelineStarts}),h=0;h<o.playlists.length;h++){var v=o.playlists[h];if(v.sidx){var w=generateSidxKey(v.sidx);l&&l[w]&&l[w].sidx&&addSidxSegmentsToPlaylist$1(v,l[w].sidx,v.sidx.resolvedUri)}var A=updateMaster$1(u,v,dashPlaylistUnchanged);A&&(u=A,t=!1)}return forEachMediaGroup(o,function(E,C,M,P){if(E.playlists&&E.playlists.length){var I=E.playlists[0].id,j=updateMaster$1(u,E.playlists[0],dashPlaylistUnchanged);j&&(u=j,P in u.mediaGroups[C][M]||(u.mediaGroups[C][M][P]=E),u.mediaGroups[C][M][P].playlists[0]=u.playlists[I],t=!1)}}),removeOldMediaGroupLabels(u,o),o.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(t=!1),t?null:u},equivalentSidx=function(e,o){var l=!e.map&&!o.map,t=l||!!(e.map&&o.map&&e.map.byterange.offset===o.map.byterange.offset&&e.map.byterange.length===o.map.byterange.length);return t&&e.uri===o.uri&&e.byterange.offset===o.byterange.offset&&e.byterange.length===o.byterange.length},compareSidxEntry=function(e,o){var l={};for(var t in e){var u=e[t],h=u.sidx;if(h){var v=generateSidxKey(h);if(!o[v])break;var w=o[v].sidxInfo;equivalentSidx(w,h)&&(l[v]=o[v])}}return l},filterChangedSidxMappings=function(e,o){var l=compareSidxEntry(e.playlists,o),t=l;return forEachMediaGroup(e,function(u,h,v,w){if(u.playlists&&u.playlists.length){var A=u.playlists;t=mergeOptions(t,compareSidxEntry(A,o))}}),t},DashPlaylistLoader=function(n){_inheritsLoose(e,n);function e(l,t,u,h){var v;u===void 0&&(u={}),v=n.call(this)||this,v.masterPlaylistLoader_=h||_assertThisInitialized$1(v),h||(v.isMaster_=!0);var w=u,A=w.withCredentials,E=A===void 0?!1:A,C=w.handleManifestRedirects,M=C===void 0?!1:C;if(v.vhs_=t,v.withCredentials=E,v.handleManifestRedirects=M,!l)throw new Error("A non-empty playlist URL or object is required");return v.on("minimumUpdatePeriod",function(){v.refreshXml_()}),v.on("mediaupdatetimeout",function(){v.refreshMedia_(v.media().id)}),v.state="HAVE_NOTHING",v.loadedPlaylists_={},v.logger_=logger("DashPlaylistLoader"),v.isMaster_?(v.masterPlaylistLoader_.srcUrl=l,v.masterPlaylistLoader_.sidxMapping_={}):v.childPlaylist_=l,v}var o=e.prototype;return o.requestErrored_=function(t,u,h){if(!this.request)return!0;if(this.request=null,t)return this.error=typeof t=="object"&&!(t instanceof Error)?t:{status:u.status,message:"DASH request error at URL: "+u.uri,response:u.response,code:2},h&&(this.state=h),this.trigger("error"),!0},o.addSidxSegments_=function(t,u,h){var v=this,w=t.sidx&&generateSidxKey(t.sidx);if(!t.sidx||!w||this.masterPlaylistLoader_.sidxMapping_[w]){this.mediaRequest_=window$1$1.setTimeout(function(){return h(!1)},0);return}var A=resolveManifestRedirect(this.handleManifestRedirects,t.sidx.resolvedUri),E=function(M,P){if(!v.requestErrored_(M,P,u)){var I=v.masterPlaylistLoader_.sidxMapping_,j;try{j=parseSidx$1(toUint8(P.response).subarray(8))}catch(B){v.requestErrored_(B,P,u);return}return I[w]={sidxInfo:t.sidx,sidx:j},addSidxSegmentsToPlaylist$1(t,j,t.sidx.resolvedUri),h(!0)}};this.request=containerRequest(A,this.vhs_.xhr,function(C,M,P,I){if(C)return E(C,M);if(!P||P!=="mp4")return E({status:M.status,message:"Unsupported "+(P||"unknown")+" container type for sidx segment at URL: "+A,response:"",playlist:t,internal:!0,blacklistDuration:1/0,code:2},M);var j=t.sidx.byterange,B=j.offset,F=j.length;if(I.length>=F+B)return E(C,{response:I.subarray(B,B+F),status:M.status,uri:M.uri});v.request=v.vhs_.xhr({uri:A,responseType:"arraybuffer",headers:segmentXhrHeaders({byterange:t.sidx.byterange})},E)})},o.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},window$1$1.clearTimeout(this.minimumUpdatePeriodTimeout_),window$1$1.clearTimeout(this.mediaRequest_),window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},o.hasPendingRequest=function(){return this.request||this.mediaRequest_},o.stopRequest=function(){if(this.request){var t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}},o.media=function(t){var u=this;if(!t)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);var h=this.state;if(typeof t=="string"){if(!this.masterPlaylistLoader_.master.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.masterPlaylistLoader_.master.playlists[t]}var v=!this.media_||t.id!==this.media_.id;if(v&&this.loadedPlaylists_[t.id]&&this.loadedPlaylists_[t.id].endList){this.state="HAVE_METADATA",this.media_=t,v&&(this.trigger("mediachanging"),this.trigger("mediachange"));return}v&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(t,h,function(w){u.haveMetadata({startingState:h,playlist:t})}))},o.haveMetadata=function(t){var u=t.startingState,h=t.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[h.id]=h,this.mediaRequest_=null,this.refreshMedia_(h.id),u==="HAVE_MASTER"?this.trigger("loadedmetadata"):this.trigger("mediachange")},o.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(window$1$1.clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),this.state==="HAVE_NOTHING"&&(this.started=!1)},o.load=function(t){var u=this;window$1$1.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var h=this.media();if(t){var v=h?h.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=window$1$1.setTimeout(function(){return u.load()},v);return}if(!this.started){this.start();return}h&&!h.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist")},o.start=function(){var t=this;if(this.started=!0,!this.isMaster_){this.mediaRequest_=window$1$1.setTimeout(function(){return t.haveMaster_()},0);return}this.requestMaster_(function(u,h){t.haveMaster_(),!t.hasPendingRequest()&&!t.media_&&t.media(t.masterPlaylistLoader_.master.playlists[0])})},o.requestMaster_=function(t){var u=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},function(h,v){if(u.requestErrored_(h,v)){u.state==="HAVE_NOTHING"&&(u.started=!1);return}var w=v.responseText!==u.masterPlaylistLoader_.masterXml_;if(u.masterPlaylistLoader_.masterXml_=v.responseText,v.responseHeaders&&v.responseHeaders.date?u.masterLoaded_=Date.parse(v.responseHeaders.date):u.masterLoaded_=Date.now(),u.masterPlaylistLoader_.srcUrl=resolveManifestRedirect(u.handleManifestRedirects,u.masterPlaylistLoader_.srcUrl,v),w){u.handleMaster_(),u.syncClientServerClock_(function(){return t(v,w)});return}return t(v,w)})},o.syncClientServerClock_=function(t){var u=this,h=parseUTCTiming(this.masterPlaylistLoader_.masterXml_);if(h===null)return this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),t();if(h.method==="DIRECT")return this.masterPlaylistLoader_.clientOffset_=h.value-Date.now(),t();this.request=this.vhs_.xhr({uri:resolveUrl(this.masterPlaylistLoader_.srcUrl,h.value),method:h.method,withCredentials:this.withCredentials},function(v,w){if(u.request){if(v)return u.masterPlaylistLoader_.clientOffset_=u.masterLoaded_-Date.now(),t();var A;h.method==="HEAD"?!w.responseHeaders||!w.responseHeaders.date?A=u.masterLoaded_:A=Date.parse(w.responseHeaders.date):A=Date.parse(w.responseText),u.masterPlaylistLoader_.clientOffset_=A-Date.now(),t()}})},o.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},o.handleMaster_=function(){this.mediaRequest_=null;var t=this.masterPlaylistLoader_.master,u=parseMasterXml({masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:t});t&&(u=updateMaster(t,u,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=u||t;var h=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return h&&h!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=h),(!t||u&&u.minimumUpdatePeriod!==t.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),!!u},o.updateMinimumUpdatePeriodTimeout_=function(){var t=this.masterPlaylistLoader_;t.createMupOnMedia_&&(t.off("loadedmetadata",t.createMupOnMedia_),t.createMupOnMedia_=null),t.minimumUpdatePeriodTimeout_&&(window$1$1.clearTimeout(t.minimumUpdatePeriodTimeout_),t.minimumUpdatePeriodTimeout_=null);var u=t.master&&t.master.minimumUpdatePeriod;if(u===0&&(t.media()?u=t.media().targetDuration*1e3:(t.createMupOnMedia_=t.updateMinimumUpdatePeriodTimeout_,t.one("loadedmetadata",t.createMupOnMedia_))),typeof u!="number"||u<=0){u<0&&this.logger_("found invalid minimumUpdatePeriod of "+u+", not setting a timeout");return}this.createMUPTimeout_(u)},o.createMUPTimeout_=function(t){var u=this.masterPlaylistLoader_;u.minimumUpdatePeriodTimeout_=window$1$1.setTimeout(function(){u.minimumUpdatePeriodTimeout_=null,u.trigger("minimumUpdatePeriod"),u.createMUPTimeout_(t)},t)},o.refreshXml_=function(){var t=this;this.requestMaster_(function(u,h){h&&(t.media_&&(t.media_=t.masterPlaylistLoader_.master.playlists[t.media_.id]),t.masterPlaylistLoader_.sidxMapping_=filterChangedSidxMappings(t.masterPlaylistLoader_.master,t.masterPlaylistLoader_.sidxMapping_),t.addSidxSegments_(t.media(),t.state,function(v){t.refreshMedia_(t.media().id)}))})},o.refreshMedia_=function(t){var u=this;if(!t)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var h=this.masterPlaylistLoader_.master.playlists,v=!this.media_||this.media_!==h[t];if(v?this.media_=h[t]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){var w=function A(){u.media().endList||(u.mediaUpdateTimeout=window$1$1.setTimeout(function(){u.trigger("mediaupdatetimeout"),A()},refreshDelay(u.media(),!!v)))};w()}this.trigger("loadedplaylist")},e}(EventTarget$3),Config={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},stringToArrayBuffer=function(e){for(var o=new Uint8Array(new ArrayBuffer(e.length)),l=0;l<e.length;l++)o[l]=e.charCodeAt(l);return o.buffer},browserWorkerPolyFill=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},createObjectURL=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch{var o=new BlobBuilder;return o.append(e),URL.createObjectURL(o.getBlob())}},factory=function(e){return function(){var o=createObjectURL(e),l=browserWorkerPolyFill(new Worker(o));l.objURL=o;var t=l.terminate;return l.on=l.addEventListener,l.off=l.removeEventListener,l.terminate=function(){return URL.revokeObjectURL(o),t.call(this)},l}},transform=function(e){return"var browserWorkerPolyFill = "+browserWorkerPolyFill.toString()+`;
 browserWorkerPolyFill(self);
-`+t},getWorkerString=function(t){return t.toString().replace(/^function.+?{/,"").slice(0,-1)},workerCode$1=transform(getWorkerString(function(){var t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},e=function(){this.init=function(){var re={};this.on=function(pe,Se){re[pe]||(re[pe]=[]),re[pe]=re[pe].concat(Se)},this.off=function(pe,Se){var _e;return re[pe]?(_e=re[pe].indexOf(Se),re[pe]=re[pe].slice(),re[pe].splice(_e,1),_e>-1):!1},this.trigger=function(pe){var Se,_e,Me,Fe;if(Se=re[pe],!!Se)if(arguments.length===2)for(Me=Se.length,_e=0;_e<Me;++_e)Se[_e].call(this,arguments[1]);else{for(Fe=[],_e=arguments.length,_e=1;_e<arguments.length;++_e)Fe.push(arguments[_e]);for(Me=Se.length,_e=0;_e<Me;++_e)Se[_e].apply(this,Fe)}},this.dispose=function(){re={}}}};e.prototype.pipe=function(re){return this.on("data",function(pe){re.push(pe)}),this.on("done",function(pe){re.flush(pe)}),this.on("partialdone",function(pe){re.partialFlush(pe)}),this.on("endedtimeline",function(pe){re.endTimeline(pe)}),this.on("reset",function(pe){re.reset(pe)}),re},e.prototype.push=function(re){this.trigger("data",re)},e.prototype.flush=function(re){this.trigger("done",re)},e.prototype.partialFlush=function(re){this.trigger("partialdone",re)},e.prototype.endTimeline=function(re){this.trigger("endedtimeline",re)},e.prototype.reset=function(re){this.trigger("reset",re)};var n=e,o=Math.pow(2,32),u=function(re){var pe=new DataView(re.buffer,re.byteOffset,re.byteLength),Se;return pe.getBigUint64?(Se=pe.getBigUint64(0),Se<Number.MAX_SAFE_INTEGER?Number(Se):Se):pe.getUint32(0)*o+pe.getUint32(4)},l={getUint64:u,MAX_UINT32:o},m=l.MAX_UINT32,y,E,C,k,A,D,P,R,B,F,O,N,Y,J,ie,ue,Q,ce,he,ke,L,d,v,w,c,p,x,S,b,h,T,M,j,V,ee,Z;(function(){var re;if(v={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},!(typeof Uint8Array>"u")){for(re in v)v.hasOwnProperty(re)&&(v[re]=[re.charCodeAt(0),re.charCodeAt(1),re.charCodeAt(2),re.charCodeAt(3)]);w=new Uint8Array([105,115,111,109]),p=new Uint8Array([97,118,99,49]),c=new Uint8Array([0,0,0,1]),x=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),S=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),b={video:x,audio:S},M=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),T=new Uint8Array([0,0,0,0,0,0,0,0]),j=new Uint8Array([0,0,0,0,0,0,0,0]),V=j,ee=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Z=j,h=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}})(),y=function(re){var pe=[],Se=0,_e,Me,Fe;for(_e=1;_e<arguments.length;_e++)pe.push(arguments[_e]);for(_e=pe.length;_e--;)Se+=pe[_e].byteLength;for(Me=new Uint8Array(Se+8),Fe=new DataView(Me.buffer,Me.byteOffset,Me.byteLength),Fe.setUint32(0,Me.byteLength),Me.set(re,4),_e=0,Se=8;_e<pe.length;_e++)Me.set(pe[_e],Se),Se+=pe[_e].byteLength;return Me},E=function(){return y(v.dinf,y(v.dref,M))},C=function(re){return y(v.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,re.audioobjecttype<<3|re.samplingfrequencyindex>>>1,re.samplingfrequencyindex<<7|re.channelcount<<3,6,1,2]))},k=function(){return y(v.ftyp,w,c,w,p)},ue=function(re){return y(v.hdlr,b[re])},A=function(re){return y(v.mdat,re)},ie=function(re){var pe=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,re.duration>>>24&255,re.duration>>>16&255,re.duration>>>8&255,re.duration&255,85,196,0,0]);return re.samplerate&&(pe[12]=re.samplerate>>>24&255,pe[13]=re.samplerate>>>16&255,pe[14]=re.samplerate>>>8&255,pe[15]=re.samplerate&255),y(v.mdhd,pe)},J=function(re){return y(v.mdia,ie(re),ue(re.type),P(re))},D=function(re){return y(v.mfhd,new Uint8Array([0,0,0,0,(re&4278190080)>>24,(re&16711680)>>16,(re&65280)>>8,re&255]))},P=function(re){return y(v.minf,re.type==="video"?y(v.vmhd,h):y(v.smhd,T),E(),ce(re))},R=function(re,pe){for(var Se=[],_e=pe.length;_e--;)Se[_e]=ke(pe[_e]);return y.apply(null,[v.moof,D(re)].concat(Se))},B=function(re){for(var pe=re.length,Se=[];pe--;)Se[pe]=N(re[pe]);return y.apply(null,[v.moov,O(4294967295)].concat(Se).concat(F(re)))},F=function(re){for(var pe=re.length,Se=[];pe--;)Se[pe]=L(re[pe]);return y.apply(null,[v.mvex].concat(Se))},O=function(re){var pe=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(re&4278190080)>>24,(re&16711680)>>16,(re&65280)>>8,re&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return y(v.mvhd,pe)},Q=function(re){var pe=re.samples||[],Se=new Uint8Array(4+pe.length),_e,Me;for(Me=0;Me<pe.length;Me++)_e=pe[Me].flags,Se[Me+4]=_e.dependsOn<<4|_e.isDependedOn<<2|_e.hasRedundancy;return y(v.sdtp,Se)},ce=function(re){return y(v.stbl,he(re),y(v.stts,Z),y(v.stsc,V),y(v.stsz,ee),y(v.stco,j))},function(){var re,pe;he=function(Se){return y(v.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),Se.type==="video"?re(Se):pe(Se))},re=function(Se){var _e=Se.sps||[],Me=Se.pps||[],Fe=[],dt=[],yt,Tt;for(yt=0;yt<_e.length;yt++)Fe.push((_e[yt].byteLength&65280)>>>8),Fe.push(_e[yt].byteLength&255),Fe=Fe.concat(Array.prototype.slice.call(_e[yt]));for(yt=0;yt<Me.length;yt++)dt.push((Me[yt].byteLength&65280)>>>8),dt.push(Me[yt].byteLength&255),dt=dt.concat(Array.prototype.slice.call(Me[yt]));if(Tt=[v.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(Se.width&65280)>>8,Se.width&255,(Se.height&65280)>>8,Se.height&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),y(v.avcC,new Uint8Array([1,Se.profileIdc,Se.profileCompatibility,Se.levelIdc,255].concat([_e.length],Fe,[Me.length],dt))),y(v.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],Se.sarRatio){var Rt=Se.sarRatio[0],Zt=Se.sarRatio[1];Tt.push(y(v.pasp,new Uint8Array([(Rt&4278190080)>>24,(Rt&16711680)>>16,(Rt&65280)>>8,Rt&255,(Zt&4278190080)>>24,(Zt&16711680)>>16,(Zt&65280)>>8,Zt&255])))}return y.apply(null,Tt)},pe=function(Se){return y(v.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(Se.channelcount&65280)>>8,Se.channelcount&255,(Se.samplesize&65280)>>8,Se.samplesize&255,0,0,0,0,(Se.samplerate&65280)>>8,Se.samplerate&255,0,0]),C(Se))}}(),Y=function(re){var pe=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(re.id&4278190080)>>24,(re.id&16711680)>>16,(re.id&65280)>>8,re.id&255,0,0,0,0,(re.duration&4278190080)>>24,(re.duration&16711680)>>16,(re.duration&65280)>>8,re.duration&255,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(re.width&65280)>>8,re.width&255,0,0,(re.height&65280)>>8,re.height&255,0,0]);return y(v.tkhd,pe)},ke=function(re){var pe,Se,_e,Me,Fe,dt,yt;return pe=y(v.tfhd,new Uint8Array([0,0,0,58,(re.id&4278190080)>>24,(re.id&16711680)>>16,(re.id&65280)>>8,re.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),dt=Math.floor(re.baseMediaDecodeTime/m),yt=Math.floor(re.baseMediaDecodeTime%m),Se=y(v.tfdt,new Uint8Array([1,0,0,0,dt>>>24&255,dt>>>16&255,dt>>>8&255,dt&255,yt>>>24&255,yt>>>16&255,yt>>>8&255,yt&255])),Fe=92,re.type==="audio"?(_e=d(re,Fe),y(v.traf,pe,Se,_e)):(Me=Q(re),_e=d(re,Me.length+Fe),y(v.traf,pe,Se,_e,Me))},N=function(re){return re.duration=re.duration||4294967295,y(v.trak,Y(re),J(re))},L=function(re){var pe=new Uint8Array([0,0,0,0,(re.id&4278190080)>>24,(re.id&16711680)>>16,(re.id&65280)>>8,re.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return re.type!=="video"&&(pe[pe.length-1]=0),y(v.trex,pe)},function(){var re,pe,Se;Se=function(_e,Me){var Fe=0,dt=0,yt=0,Tt=0;return _e.length&&(_e[0].duration!==void 0&&(Fe=1),_e[0].size!==void 0&&(dt=2),_e[0].flags!==void 0&&(yt=4),_e[0].compositionTimeOffset!==void 0&&(Tt=8)),[0,0,Fe|dt|yt|Tt,1,(_e.length&4278190080)>>>24,(_e.length&16711680)>>>16,(_e.length&65280)>>>8,_e.length&255,(Me&4278190080)>>>24,(Me&16711680)>>>16,(Me&65280)>>>8,Me&255]},pe=function(_e,Me){var Fe,dt,yt,Tt,Rt,Zt;for(Tt=_e.samples||[],Me+=20+16*Tt.length,yt=Se(Tt,Me),dt=new Uint8Array(yt.length+Tt.length*16),dt.set(yt),Fe=yt.length,Zt=0;Zt<Tt.length;Zt++)Rt=Tt[Zt],dt[Fe++]=(Rt.duration&4278190080)>>>24,dt[Fe++]=(Rt.duration&16711680)>>>16,dt[Fe++]=(Rt.duration&65280)>>>8,dt[Fe++]=Rt.duration&255,dt[Fe++]=(Rt.size&4278190080)>>>24,dt[Fe++]=(Rt.size&16711680)>>>16,dt[Fe++]=(Rt.size&65280)>>>8,dt[Fe++]=Rt.size&255,dt[Fe++]=Rt.flags.isLeading<<2|Rt.flags.dependsOn,dt[Fe++]=Rt.flags.isDependedOn<<6|Rt.flags.hasRedundancy<<4|Rt.flags.paddingValue<<1|Rt.flags.isNonSyncSample,dt[Fe++]=Rt.flags.degradationPriority&61440,dt[Fe++]=Rt.flags.degradationPriority&15,dt[Fe++]=(Rt.compositionTimeOffset&4278190080)>>>24,dt[Fe++]=(Rt.compositionTimeOffset&16711680)>>>16,dt[Fe++]=(Rt.compositionTimeOffset&65280)>>>8,dt[Fe++]=Rt.compositionTimeOffset&255;return y(v.trun,dt)},re=function(_e,Me){var Fe,dt,yt,Tt,Rt,Zt;for(Tt=_e.samples||[],Me+=20+8*Tt.length,yt=Se(Tt,Me),Fe=new Uint8Array(yt.length+Tt.length*8),Fe.set(yt),dt=yt.length,Zt=0;Zt<Tt.length;Zt++)Rt=Tt[Zt],Fe[dt++]=(Rt.duration&4278190080)>>>24,Fe[dt++]=(Rt.duration&16711680)>>>16,Fe[dt++]=(Rt.duration&65280)>>>8,Fe[dt++]=Rt.duration&255,Fe[dt++]=(Rt.size&4278190080)>>>24,Fe[dt++]=(Rt.size&16711680)>>>16,Fe[dt++]=(Rt.size&65280)>>>8,Fe[dt++]=Rt.size&255;return y(v.trun,Fe)},d=function(_e,Me){return _e.type==="audio"?re(_e,Me):pe(_e,Me)}}();var U={ftyp:k,mdat:A,moof:R,moov:B,initSegment:function(re){var pe=k(),Se=B(re),_e;return _e=new Uint8Array(pe.byteLength+Se.byteLength),_e.set(pe),_e.set(Se,pe.byteLength),_e}},z=function(re){var pe,Se,_e=[],Me=[];for(Me.byteLength=0,Me.nalCount=0,Me.duration=0,_e.byteLength=0,pe=0;pe<re.length;pe++)Se=re[pe],Se.nalUnitType==="access_unit_delimiter_rbsp"?(_e.length&&(_e.duration=Se.dts-_e.dts,Me.byteLength+=_e.byteLength,Me.nalCount+=_e.length,Me.duration+=_e.duration,Me.push(_e)),_e=[Se],_e.byteLength=Se.data.byteLength,_e.pts=Se.pts,_e.dts=Se.dts):(Se.nalUnitType==="slice_layer_without_partitioning_rbsp_idr"&&(_e.keyFrame=!0),_e.duration=Se.dts-_e.dts,_e.byteLength+=Se.data.byteLength,_e.push(Se));return Me.length&&(!_e.duration||_e.duration<=0)&&(_e.duration=Me[Me.length-1].duration),Me.byteLength+=_e.byteLength,Me.nalCount+=_e.length,Me.duration+=_e.duration,Me.push(_e),Me},ne=function(re){var pe,Se,_e=[],Me=[];for(_e.byteLength=0,_e.nalCount=0,_e.duration=0,_e.pts=re[0].pts,_e.dts=re[0].dts,Me.byteLength=0,Me.nalCount=0,Me.duration=0,Me.pts=re[0].pts,Me.dts=re[0].dts,pe=0;pe<re.length;pe++)Se=re[pe],Se.keyFrame?(_e.length&&(Me.push(_e),Me.byteLength+=_e.byteLength,Me.nalCount+=_e.nalCount,Me.duration+=_e.duration),_e=[Se],_e.nalCount=Se.length,_e.byteLength=Se.byteLength,_e.pts=Se.pts,_e.dts=Se.dts,_e.duration=Se.duration):(_e.duration+=Se.duration,_e.nalCount+=Se.length,_e.byteLength+=Se.byteLength,_e.push(Se));return Me.length&&_e.duration<=0&&(_e.duration=Me[Me.length-1].duration),Me.byteLength+=_e.byteLength,Me.nalCount+=_e.nalCount,Me.duration+=_e.duration,Me.push(_e),Me},fe=function(re){var pe;return!re[0][0].keyFrame&&re.length>1&&(pe=re.shift(),re.byteLength-=pe.byteLength,re.nalCount-=pe.nalCount,re[0][0].dts=pe.dts,re[0][0].pts=pe.pts,re[0][0].duration+=pe.duration),re},me=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}}},de=function(re,pe){var Se=me();return Se.dataOffset=pe,Se.compositionTimeOffset=re.pts-re.dts,Se.duration=re.duration,Se.size=4*re.length,Se.size+=re.byteLength,re.keyFrame&&(Se.flags.dependsOn=2,Se.flags.isNonSyncSample=0),Se},Oe=function(re,pe){var Se,_e,Me,Fe,dt,yt=pe||0,Tt=[];for(Se=0;Se<re.length;Se++)for(Fe=re[Se],_e=0;_e<Fe.length;_e++)dt=Fe[_e],Me=de(dt,yt),yt+=Me.size,Tt.push(Me);return Tt},lt=function(re){var pe,Se,_e,Me,Fe,dt,yt=0,Tt=re.byteLength,Rt=re.nalCount,Zt=Tt+4*Rt,ci=new Uint8Array(Zt),Wi=new DataView(ci.buffer);for(pe=0;pe<re.length;pe++)for(Me=re[pe],Se=0;Se<Me.length;Se++)for(Fe=Me[Se],_e=0;_e<Fe.length;_e++)dt=Fe[_e],Wi.setUint32(yt,dt.data.byteLength),yt+=4,ci.set(dt.data,yt),yt+=dt.data.byteLength;return ci},it=function(re,pe){var Se,_e=pe||0,Me=[];return Se=de(re,_e),Me.push(Se),Me},ot=function(re){var pe,Se,_e=0,Me=re.byteLength,Fe=re.length,dt=Me+4*Fe,yt=new Uint8Array(dt),Tt=new DataView(yt.buffer);for(pe=0;pe<re.length;pe++)Se=re[pe],Tt.setUint32(_e,Se.data.byteLength),_e+=4,yt.set(Se.data,_e),_e+=Se.data.byteLength;return yt},Ct={groupNalsIntoFrames:z,groupFramesIntoGops:ne,extendFirstKeyFrame:fe,generateSampleTable:Oe,concatenateNalData:lt,generateSampleTableForFrame:it,concatenateNalDataForFrame:ot},nt=[33,16,5,32,164,27],Je=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],tt=function(re){for(var pe=[];re--;)pe.push(0);return pe},rt=function(re){return Object.keys(re).reduce(function(pe,Se){return pe[Se]=new Uint8Array(re[Se].reduce(function(_e,Me){return _e.concat(Me)},[])),pe},{})},ht,jt=function(){if(!ht){var re={96e3:[nt,[227,64],tt(154),[56]],88200:[nt,[231],tt(170),[56]],64e3:[nt,[248,192],tt(240),[56]],48e3:[nt,[255,192],tt(268),[55,148,128],tt(54),[112]],44100:[nt,[255,192],tt(268),[55,163,128],tt(84),[112]],32e3:[nt,[255,192],tt(268),[55,234],tt(226),[112]],24e3:[nt,[255,192],tt(268),[55,255,128],tt(268),[111,112],tt(126),[224]],16e3:[nt,[255,192],tt(268),[55,255,128],tt(268),[111,255],tt(269),[223,108],tt(195),[1,192]],12e3:[Je,tt(268),[3,127,248],tt(268),[6,255,240],tt(268),[13,255,224],tt(268),[27,253,128],tt(259),[56]],11025:[Je,tt(268),[3,127,248],tt(268),[6,255,240],tt(268),[13,255,224],tt(268),[27,255,192],tt(268),[55,175,128],tt(108),[112]],8e3:[Je,tt(268),[3,121,16],tt(47),[7]]};ht=rt(re)}return ht},Ve=9e4,We,Gt,wt,Et,Yt,Ce,te;We=function(re){return re*Ve},Gt=function(re,pe){return re*pe},wt=function(re){return re/Ve},Et=function(re,pe){return re/pe},Yt=function(re,pe){return We(Et(re,pe))},Ce=function(re,pe){return Gt(wt(re),pe)},te=function(re,pe,Se){return wt(Se?re:re-pe)};var ye={ONE_SECOND_IN_TS:Ve,secondsToVideoTs:We,secondsToAudioTs:Gt,videoTsToSeconds:wt,audioTsToSeconds:Et,audioTsToVideoTs:Yt,videoTsToAudioTs:Ce,metadataTsToSeconds:te},Le=jt,Ue=ye,Qe=function(re){var pe,Se,_e=0;for(pe=0;pe<re.length;pe++)Se=re[pe],_e+=Se.data.byteLength;return _e},Ke=function(re,pe,Se,_e){var Me,Fe=0,dt=0,yt=0,Tt=0,Rt,Zt,ci;if(pe.length&&(Me=Ue.audioTsToVideoTs(re.baseMediaDecodeTime,re.samplerate),Fe=Math.ceil(Ue.ONE_SECOND_IN_TS/(re.samplerate/1024)),Se&&_e&&(dt=Me-Math.max(Se,_e),yt=Math.floor(dt/Fe),Tt=yt*Fe),!(yt<1||Tt>Ue.ONE_SECOND_IN_TS/2))){for(Rt=Le()[re.samplerate],Rt||(Rt=pe[0].data),Zt=0;Zt<yt;Zt++)ci=pe[0],pe.splice(0,0,{data:Rt,dts:ci.dts-Fe,pts:ci.pts-Fe});return re.baseMediaDecodeTime-=Math.floor(Ue.videoTsToAudioTs(Tt,re.samplerate)),Tt}},De=function(re,pe,Se){return pe.minSegmentDts>=Se?re:(pe.minSegmentDts=1/0,re.filter(function(_e){return _e.dts>=Se?(pe.minSegmentDts=Math.min(pe.minSegmentDts,_e.dts),pe.minSegmentPts=pe.minSegmentDts,!0):!1}))},Vt=function(re){var pe,Se,_e=[];for(pe=0;pe<re.length;pe++)Se=re[pe],_e.push({size:Se.data.byteLength,duration:1024});return _e},At=function(re){var pe,Se,_e=0,Me=new Uint8Array(Qe(re));for(pe=0;pe<re.length;pe++)Se=re[pe],Me.set(Se.data,_e),_e+=Se.data.byteLength;return Me},ve={prefixWithSilence:Ke,trimAdtsFramesByEarliestDts:De,generateSampleTable:Vt,concatenateFrameData:At},Pt=ye.ONE_SECOND_IN_TS,pt=function(re,pe){typeof pe.pts=="number"&&(re.timelineStartInfo.pts===void 0&&(re.timelineStartInfo.pts=pe.pts),re.minSegmentPts===void 0?re.minSegmentPts=pe.pts:re.minSegmentPts=Math.min(re.minSegmentPts,pe.pts),re.maxSegmentPts===void 0?re.maxSegmentPts=pe.pts:re.maxSegmentPts=Math.max(re.maxSegmentPts,pe.pts)),typeof pe.dts=="number"&&(re.timelineStartInfo.dts===void 0&&(re.timelineStartInfo.dts=pe.dts),re.minSegmentDts===void 0?re.minSegmentDts=pe.dts:re.minSegmentDts=Math.min(re.minSegmentDts,pe.dts),re.maxSegmentDts===void 0?re.maxSegmentDts=pe.dts:re.maxSegmentDts=Math.max(re.maxSegmentDts,pe.dts))},Ne=function(re){delete re.minSegmentDts,delete re.maxSegmentDts,delete re.minSegmentPts,delete re.maxSegmentPts},vt=function(re,pe){var Se,_e,Me=re.minSegmentDts;return pe||(Me-=re.timelineStartInfo.dts),Se=re.timelineStartInfo.baseMediaDecodeTime,Se+=Me,Se=Math.max(0,Se),re.type==="audio"&&(_e=re.samplerate/Pt,Se*=_e,Se=Math.floor(Se)),Se},ut={clearDtsInfo:Ne,calculateTrackBaseMediaDecodeTime:vt,collectDtsInfo:pt},$t=4,fi=128,kt=function(re){for(var pe=0,Se={payloadType:-1,payloadSize:0},_e=0,Me=0;pe<re.byteLength&&re[pe]!==fi;){for(;re[pe]===255;)_e+=255,pe++;for(_e+=re[pe++];re[pe]===255;)Me+=255,pe++;if(Me+=re[pe++],!Se.payload&&_e===$t){var Fe=String.fromCharCode(re[pe+3],re[pe+4],re[pe+5],re[pe+6]);if(Fe==="GA94"){Se.payloadType=_e,Se.payloadSize=Me,Se.payload=re.subarray(pe,pe+Me);break}else Se.payload=void 0}pe+=Me,_e=0,Me=0}return Se},Wt=function(re){return re.payload[0]!==181||(re.payload[1]<<8|re.payload[2])!==49||String.fromCharCode(re.payload[3],re.payload[4],re.payload[5],re.payload[6])!=="GA94"||re.payload[7]!==3?null:re.payload.subarray(8,re.payload.length-1)},Zi=function(re,pe){var Se=[],_e,Me,Fe,dt;if(!(pe[0]&64))return Se;for(Me=pe[0]&31,_e=0;_e<Me;_e++)Fe=_e*3,dt={type:pe[Fe+2]&3,pts:re},pe[Fe+2]&4&&(dt.ccData=pe[Fe+3]<<8|pe[Fe+4],Se.push(dt));return Se},Ut=function(re){for(var pe=re.byteLength,Se=[],_e=1,Me,Fe;_e<pe-2;)re[_e]===0&&re[_e+1]===0&&re[_e+2]===3?(Se.push(_e+2),_e+=2):_e++;if(Se.length===0)return re;Me=pe-Se.length,Fe=new Uint8Array(Me);var dt=0;for(_e=0;_e<Me;dt++,_e++)dt===Se[0]&&(dt++,Se.shift()),Fe[_e]=re[dt];return Fe},Xt={parseSei:kt,parseUserData:Wt,parseCaptionPackets:Zi,discardEmulationPreventionBytes:Ut,USER_DATA_REGISTERED_ITU_T_T35:$t},Be=n,be=Xt,ge=function(re){re=re||{},ge.prototype.init.call(this),this.parse708captions_=typeof re.parse708captions=="boolean"?re.parse708captions:!0,this.captionPackets_=[],this.ccStreams_=[new ni(0,0),new ni(0,1),new ni(1,0),new ni(1,1)],this.parse708captions_&&(this.cc708Stream_=new gt({captionServices:re.captionServices})),this.reset(),this.ccStreams_.forEach(function(pe){pe.on("data",this.trigger.bind(this,"data")),pe.on("partialdone",this.trigger.bind(this,"partialdone")),pe.on("done",this.trigger.bind(this,"done"))},this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};ge.prototype=new Be,ge.prototype.push=function(re){var pe,Se,_e;if(re.nalUnitType==="sei_rbsp"&&(pe=be.parseSei(re.escapedRBSP),!!pe.payload&&pe.payloadType===be.USER_DATA_REGISTERED_ITU_T_T35&&(Se=be.parseUserData(pe),!!Se))){if(re.dts<this.latestDts_){this.ignoreNextEqualDts_=!0;return}else if(re.dts===this.latestDts_&&this.ignoreNextEqualDts_){this.numSameDts_--,this.numSameDts_||(this.ignoreNextEqualDts_=!1);return}_e=be.parseCaptionPackets(re.pts,Se),this.captionPackets_=this.captionPackets_.concat(_e),this.latestDts_!==re.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=re.dts}},ge.prototype.flushCCStreams=function(re){this.ccStreams_.forEach(function(pe){return re==="flush"?pe.flush():pe.partialFlush()},this)},ge.prototype.flushStream=function(re){if(!this.captionPackets_.length){this.flushCCStreams(re);return}this.captionPackets_.forEach(function(pe,Se){pe.presortIndex=Se}),this.captionPackets_.sort(function(pe,Se){return pe.pts===Se.pts?pe.presortIndex-Se.presortIndex:pe.pts-Se.pts}),this.captionPackets_.forEach(function(pe){pe.type<2?this.dispatchCea608Packet(pe):this.dispatchCea708Packet(pe)},this),this.captionPackets_.length=0,this.flushCCStreams(re)},ge.prototype.flush=function(){return this.flushStream("flush")},ge.prototype.partialFlush=function(){return this.flushStream("partialFlush")},ge.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(re){re.reset()})},ge.prototype.dispatchCea608Packet=function(re){this.setsTextOrXDSActive(re)?this.activeCea608Channel_[re.type]=null:this.setsChannel1Active(re)?this.activeCea608Channel_[re.type]=0:this.setsChannel2Active(re)&&(this.activeCea608Channel_[re.type]=1),this.activeCea608Channel_[re.type]!==null&&this.ccStreams_[(re.type<<1)+this.activeCea608Channel_[re.type]].push(re)},ge.prototype.setsChannel1Active=function(re){return(re.ccData&30720)===4096},ge.prototype.setsChannel2Active=function(re){return(re.ccData&30720)===6144},ge.prototype.setsTextOrXDSActive=function(re){return(re.ccData&28928)===256||(re.ccData&30974)===4138||(re.ccData&30974)===6186},ge.prototype.dispatchCea708Packet=function(re){this.parse708captions_&&this.cc708Stream_.push(re)};var oe={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Ae=function(re){var pe=oe[re]||re;return re&4096&&re===pe?"":String.fromCharCode(pe)},qe=function(re){return 32<=re&&re<=127||160<=re&&re<=255},bt=function(re){this.windowNum=re,this.reset()};bt.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},bt.prototype.getText=function(){return this.rows.join(`
-`)},bt.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},bt.prototype.newLine=function(re){for(this.rows.length>=this.virtualRowCount&&typeof this.beforeRowOverflow=="function"&&this.beforeRowOverflow(re),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},bt.prototype.isEmpty=function(){return this.rows.length===0?!0:this.rows.length===1?this.rows[0]==="":!1},bt.prototype.addText=function(re){this.rows[this.rowIdx]+=re},bt.prototype.backspace=function(){if(!this.isEmpty()){var re=this.rows[this.rowIdx];this.rows[this.rowIdx]=re.substr(0,re.length-1)}};var at=function(re,pe,Se){this.serviceNum=re,this.text="",this.currentWindow=new bt(-1),this.windows=[],this.stream=Se,typeof pe=="string"&&this.createTextDecoder(pe)};at.prototype.init=function(re,pe){this.startPts=re;for(var Se=0;Se<8;Se++)this.windows[Se]=new bt(Se),typeof pe=="function"&&(this.windows[Se].beforeRowOverflow=pe)},at.prototype.setCurrentWindow=function(re){this.currentWindow=this.windows[re]},at.prototype.createTextDecoder=function(re){if(typeof TextDecoder>"u")this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(re)}catch(pe){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+re+" encoding. "+pe})}};var gt=function(re){re=re||{},gt.prototype.init.call(this);var pe=this,Se=re.captionServices||{},_e={},Me;Object.keys(Se).forEach(Fe=>{Me=Se[Fe],/^SERVICE/.test(Fe)&&(_e[Fe]=Me.encoding)}),this.serviceEncodings=_e,this.current708Packet=null,this.services={},this.push=function(Fe){Fe.type===3?(pe.new708Packet(),pe.add708Bytes(Fe)):(pe.current708Packet===null&&pe.new708Packet(),pe.add708Bytes(Fe))}};gt.prototype=new Be,gt.prototype.new708Packet=function(){this.current708Packet!==null&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},gt.prototype.add708Bytes=function(re){var pe=re.ccData,Se=pe>>>8,_e=pe&255;this.current708Packet.ptsVals.push(re.pts),this.current708Packet.data.push(Se),this.current708Packet.data.push(_e)},gt.prototype.push708Packet=function(){var re=this.current708Packet,pe=re.data,Se=null,_e=null,Me=0,Fe=pe[Me++];for(re.seq=Fe>>6,re.sizeCode=Fe&63;Me<pe.length;Me++)Fe=pe[Me++],Se=Fe>>5,_e=Fe&31,Se===7&&_e>0&&(Fe=pe[Me++],Se=Fe),this.pushServiceBlock(Se,Me,_e),_e>0&&(Me+=_e-1)},gt.prototype.pushServiceBlock=function(re,pe,Se){var _e,Me=pe,Fe=this.current708Packet.data,dt=this.services[re];for(dt||(dt=this.initService(re,Me));Me<pe+Se&&Me<Fe.length;Me++)_e=Fe[Me],qe(_e)?Me=this.handleText(Me,dt):_e===24?Me=this.multiByteCharacter(Me,dt):_e===16?Me=this.extendedCommands(Me,dt):128<=_e&&_e<=135?Me=this.setCurrentWindow(Me,dt):152<=_e&&_e<=159?Me=this.defineWindow(Me,dt):_e===136?Me=this.clearWindows(Me,dt):_e===140?Me=this.deleteWindows(Me,dt):_e===137?Me=this.displayWindows(Me,dt):_e===138?Me=this.hideWindows(Me,dt):_e===139?Me=this.toggleWindows(Me,dt):_e===151?Me=this.setWindowAttributes(Me,dt):_e===144?Me=this.setPenAttributes(Me,dt):_e===145?Me=this.setPenColor(Me,dt):_e===146?Me=this.setPenLocation(Me,dt):_e===143?dt=this.reset(Me,dt):_e===8?dt.currentWindow.backspace():_e===12?dt.currentWindow.clearText():_e===13?dt.currentWindow.pendingNewLine=!0:_e===14?dt.currentWindow.clearText():_e===141&&Me++},gt.prototype.extendedCommands=function(re,pe){var Se=this.current708Packet.data,_e=Se[++re];return qe(_e)&&(re=this.handleText(re,pe,{isExtended:!0})),re},gt.prototype.getPts=function(re){return this.current708Packet.ptsVals[Math.floor(re/2)]},gt.prototype.initService=function(re,pe){var _e="SERVICE"+re,Se=this,_e,Me;return _e in this.serviceEncodings&&(Me=this.serviceEncodings[_e]),this.services[re]=new at(re,Me,Se),this.services[re].init(this.getPts(pe),function(Fe){Se.flushDisplayed(Fe,Se.services[re])}),this.services[re]},gt.prototype.handleText=function(re,pe,Se){var _e=Se&&Se.isExtended,Me=Se&&Se.isMultiByte,Fe=this.current708Packet.data,dt=_e?4096:0,yt=Fe[re],Tt=Fe[re+1],Rt=pe.currentWindow,Zt,ci;function Wi(Pi){return Pi.map(lr=>("0"+(lr&255).toString(16)).slice(-2)).join("")}if(Me?(ci=[yt,Tt],re++):ci=[yt],pe.textDecoder_&&!_e)Zt=pe.textDecoder_.decode(new Uint8Array(ci));else if(Me){const Pi=Wi(ci);Zt=String.fromCharCode(parseInt(Pi,16))}else Zt=Ae(dt|yt);return Rt.pendingNewLine&&!Rt.isEmpty()&&Rt.newLine(this.getPts(re)),Rt.pendingNewLine=!1,Rt.addText(Zt),re},gt.prototype.multiByteCharacter=function(re,pe){var Se=this.current708Packet.data,_e=Se[re+1],Me=Se[re+2];return qe(_e)&&qe(Me)&&(re=this.handleText(++re,pe,{isMultiByte:!0})),re},gt.prototype.setCurrentWindow=function(re,pe){var Se=this.current708Packet.data,_e=Se[re],Me=_e&7;return pe.setCurrentWindow(Me),re},gt.prototype.defineWindow=function(re,pe){var Se=this.current708Packet.data,_e=Se[re],Me=_e&7;pe.setCurrentWindow(Me);var Fe=pe.currentWindow;return _e=Se[++re],Fe.visible=(_e&32)>>5,Fe.rowLock=(_e&16)>>4,Fe.columnLock=(_e&8)>>3,Fe.priority=_e&7,_e=Se[++re],Fe.relativePositioning=(_e&128)>>7,Fe.anchorVertical=_e&127,_e=Se[++re],Fe.anchorHorizontal=_e,_e=Se[++re],Fe.anchorPoint=(_e&240)>>4,Fe.rowCount=_e&15,_e=Se[++re],Fe.columnCount=_e&63,_e=Se[++re],Fe.windowStyle=(_e&56)>>3,Fe.penStyle=_e&7,Fe.virtualRowCount=Fe.rowCount+1,re},gt.prototype.setWindowAttributes=function(re,pe){var Se=this.current708Packet.data,_e=Se[re],Me=pe.currentWindow.winAttr;return _e=Se[++re],Me.fillOpacity=(_e&192)>>6,Me.fillRed=(_e&48)>>4,Me.fillGreen=(_e&12)>>2,Me.fillBlue=_e&3,_e=Se[++re],Me.borderType=(_e&192)>>6,Me.borderRed=(_e&48)>>4,Me.borderGreen=(_e&12)>>2,Me.borderBlue=_e&3,_e=Se[++re],Me.borderType+=(_e&128)>>5,Me.wordWrap=(_e&64)>>6,Me.printDirection=(_e&48)>>4,Me.scrollDirection=(_e&12)>>2,Me.justify=_e&3,_e=Se[++re],Me.effectSpeed=(_e&240)>>4,Me.effectDirection=(_e&12)>>2,Me.displayEffect=_e&3,re},gt.prototype.flushDisplayed=function(re,pe){for(var Se=[],_e=0;_e<8;_e++)pe.windows[_e].visible&&!pe.windows[_e].isEmpty()&&Se.push(pe.windows[_e].getText());pe.endPts=re,pe.text=Se.join(`
+`+e},getWorkerString=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},workerCode$1=transform(getWorkerString(function(){var n=function(){this.init=function(){var ue={};this.on=function(Te,Se){ue[Te]||(ue[Te]=[]),ue[Te]=ue[Te].concat(Se)},this.off=function(Te,Se){var oe;return ue[Te]?(oe=ue[Te].indexOf(Se),ue[Te]=ue[Te].slice(),ue[Te].splice(oe,1),oe>-1):!1},this.trigger=function(Te){var Se,oe,Ee,Ce;if(Se=ue[Te],!!Se)if(arguments.length===2)for(Ee=Se.length,oe=0;oe<Ee;++oe)Se[oe].call(this,arguments[1]);else{for(Ce=[],oe=arguments.length,oe=1;oe<arguments.length;++oe)Ce.push(arguments[oe]);for(Ee=Se.length,oe=0;oe<Ee;++oe)Se[oe].apply(this,Ce)}},this.dispose=function(){ue={}}}};n.prototype.pipe=function(it){return this.on("data",function(ue){it.push(ue)}),this.on("done",function(ue){it.flush(ue)}),this.on("partialdone",function(ue){it.partialFlush(ue)}),this.on("endedtimeline",function(ue){it.endTimeline(ue)}),this.on("reset",function(ue){it.reset(ue)}),it},n.prototype.push=function(it){this.trigger("data",it)},n.prototype.flush=function(it){this.trigger("done",it)},n.prototype.partialFlush=function(it){this.trigger("partialdone",it)},n.prototype.endTimeline=function(it){this.trigger("endedtimeline",it)},n.prototype.reset=function(it){this.trigger("reset",it)};var e=n,o=Math.pow(2,32),l=function(ue){var Te=new DataView(ue.buffer,ue.byteOffset,ue.byteLength),Se;return Te.getBigUint64?(Se=Te.getBigUint64(0),Se<Number.MAX_SAFE_INTEGER?Number(Se):Se):Te.getUint32(0)*o+Te.getUint32(4)},t={getUint64:l,MAX_UINT32:o},u=t.MAX_UINT32,h,v,w,A,E,C,M,P,I,j,B,F,N,ee,Z,re,fe,V,le,he,ye,L,p,y,S,c,m,x,T,b,d,k,D,O,Q,J;(function(){var it;if(p={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},!(typeof Uint8Array>"u")){for(it in p)p.hasOwnProperty(it)&&(p[it]=[it.charCodeAt(0),it.charCodeAt(1),it.charCodeAt(2),it.charCodeAt(3)]);y=new Uint8Array([105,115,111,109]),c=new Uint8Array([97,118,99,49]),S=new Uint8Array([0,0,0,1]),m=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),x=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),T={video:m,audio:x},k=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),d=new Uint8Array([0,0,0,0,0,0,0,0]),D=new Uint8Array([0,0,0,0,0,0,0,0]),O=D,Q=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),J=D,b=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}})(),h=function(ue){var Te=[],Se=0,oe,Ee,Ce;for(oe=1;oe<arguments.length;oe++)Te.push(arguments[oe]);for(oe=Te.length;oe--;)Se+=Te[oe].byteLength;for(Ee=new Uint8Array(Se+8),Ce=new DataView(Ee.buffer,Ee.byteOffset,Ee.byteLength),Ce.setUint32(0,Ee.byteLength),Ee.set(ue,4),oe=0,Se=8;oe<Te.length;oe++)Ee.set(Te[oe],Se),Se+=Te[oe].byteLength;return Ee},v=function(){return h(p.dinf,h(p.dref,k))},w=function(ue){return h(p.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,ue.audioobjecttype<<3|ue.samplingfrequencyindex>>>1,ue.samplingfrequencyindex<<7|ue.channelcount<<3,6,1,2]))},A=function(){return h(p.ftyp,y,S,y,c)},re=function(ue){return h(p.hdlr,T[ue])},E=function(ue){return h(p.mdat,ue)},Z=function(ue){var Te=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,ue.duration>>>24&255,ue.duration>>>16&255,ue.duration>>>8&255,ue.duration&255,85,196,0,0]);return ue.samplerate&&(Te[12]=ue.samplerate>>>24&255,Te[13]=ue.samplerate>>>16&255,Te[14]=ue.samplerate>>>8&255,Te[15]=ue.samplerate&255),h(p.mdhd,Te)},ee=function(ue){return h(p.mdia,Z(ue),re(ue.type),M(ue))},C=function(ue){return h(p.mfhd,new Uint8Array([0,0,0,0,(ue&4278190080)>>24,(ue&16711680)>>16,(ue&65280)>>8,ue&255]))},M=function(ue){return h(p.minf,ue.type==="video"?h(p.vmhd,b):h(p.smhd,d),v(),V(ue))},P=function(ue,Te){for(var Se=[],oe=Te.length;oe--;)Se[oe]=he(Te[oe]);return h.apply(null,[p.moof,C(ue)].concat(Se))},I=function(ue){for(var Te=ue.length,Se=[];Te--;)Se[Te]=F(ue[Te]);return h.apply(null,[p.moov,B(4294967295)].concat(Se).concat(j(ue)))},j=function(ue){for(var Te=ue.length,Se=[];Te--;)Se[Te]=ye(ue[Te]);return h.apply(null,[p.mvex].concat(Se))},B=function(ue){var Te=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(ue&4278190080)>>24,(ue&16711680)>>16,(ue&65280)>>8,ue&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return h(p.mvhd,Te)},fe=function(ue){var Te=ue.samples||[],Se=new Uint8Array(4+Te.length),oe,Ee;for(Ee=0;Ee<Te.length;Ee++)oe=Te[Ee].flags,Se[Ee+4]=oe.dependsOn<<4|oe.isDependedOn<<2|oe.hasRedundancy;return h(p.sdtp,Se)},V=function(ue){return h(p.stbl,le(ue),h(p.stts,J),h(p.stsc,O),h(p.stsz,Q),h(p.stco,D))},function(){var it,ue;le=function(Se){return h(p.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),Se.type==="video"?it(Se):ue(Se))},it=function(Se){var oe=Se.sps||[],Ee=Se.pps||[],Ce=[],Ue=[],Oe,Ze;for(Oe=0;Oe<oe.length;Oe++)Ce.push((oe[Oe].byteLength&65280)>>>8),Ce.push(oe[Oe].byteLength&255),Ce=Ce.concat(Array.prototype.slice.call(oe[Oe]));for(Oe=0;Oe<Ee.length;Oe++)Ue.push((Ee[Oe].byteLength&65280)>>>8),Ue.push(Ee[Oe].byteLength&255),Ue=Ue.concat(Array.prototype.slice.call(Ee[Oe]));if(Ze=[p.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(Se.width&65280)>>8,Se.width&255,(Se.height&65280)>>8,Se.height&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),h(p.avcC,new Uint8Array([1,Se.profileIdc,Se.profileCompatibility,Se.levelIdc,255].concat([oe.length],Ce,[Ee.length],Ue))),h(p.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],Se.sarRatio){var Ke=Se.sarRatio[0],gt=Se.sarRatio[1];Ze.push(h(p.pasp,new Uint8Array([(Ke&4278190080)>>24,(Ke&16711680)>>16,(Ke&65280)>>8,Ke&255,(gt&4278190080)>>24,(gt&16711680)>>16,(gt&65280)>>8,gt&255])))}return h.apply(null,Ze)},ue=function(Se){return h(p.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(Se.channelcount&65280)>>8,Se.channelcount&255,(Se.samplesize&65280)>>8,Se.samplesize&255,0,0,0,0,(Se.samplerate&65280)>>8,Se.samplerate&255,0,0]),w(Se))}}(),N=function(ue){var Te=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(ue.id&4278190080)>>24,(ue.id&16711680)>>16,(ue.id&65280)>>8,ue.id&255,0,0,0,0,(ue.duration&4278190080)>>24,(ue.duration&16711680)>>16,(ue.duration&65280)>>8,ue.duration&255,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(ue.width&65280)>>8,ue.width&255,0,0,(ue.height&65280)>>8,ue.height&255,0,0]);return h(p.tkhd,Te)},he=function(ue){var Te,Se,oe,Ee,Ce,Ue,Oe;return Te=h(p.tfhd,new Uint8Array([0,0,0,58,(ue.id&4278190080)>>24,(ue.id&16711680)>>16,(ue.id&65280)>>8,ue.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),Ue=Math.floor(ue.baseMediaDecodeTime/u),Oe=Math.floor(ue.baseMediaDecodeTime%u),Se=h(p.tfdt,new Uint8Array([1,0,0,0,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255])),Ce=92,ue.type==="audio"?(oe=L(ue,Ce),h(p.traf,Te,Se,oe)):(Ee=fe(ue),oe=L(ue,Ee.length+Ce),h(p.traf,Te,Se,oe,Ee))},F=function(ue){return ue.duration=ue.duration||4294967295,h(p.trak,N(ue),ee(ue))},ye=function(ue){var Te=new Uint8Array([0,0,0,0,(ue.id&4278190080)>>24,(ue.id&16711680)>>16,(ue.id&65280)>>8,ue.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return ue.type!=="video"&&(Te[Te.length-1]=0),h(p.trex,Te)},function(){var it,ue,Te;Te=function(oe,Ee){var Ce=0,Ue=0,Oe=0,Ze=0;return oe.length&&(oe[0].duration!==void 0&&(Ce=1),oe[0].size!==void 0&&(Ue=2),oe[0].flags!==void 0&&(Oe=4),oe[0].compositionTimeOffset!==void 0&&(Ze=8)),[0,0,Ce|Ue|Oe|Ze,1,(oe.length&4278190080)>>>24,(oe.length&16711680)>>>16,(oe.length&65280)>>>8,oe.length&255,(Ee&4278190080)>>>24,(Ee&16711680)>>>16,(Ee&65280)>>>8,Ee&255]},ue=function(oe,Ee){var Ce,Ue,Oe,Ze,Ke,gt;for(Ze=oe.samples||[],Ee+=20+16*Ze.length,Oe=Te(Ze,Ee),Ue=new Uint8Array(Oe.length+Ze.length*16),Ue.set(Oe),Ce=Oe.length,gt=0;gt<Ze.length;gt++)Ke=Ze[gt],Ue[Ce++]=(Ke.duration&4278190080)>>>24,Ue[Ce++]=(Ke.duration&16711680)>>>16,Ue[Ce++]=(Ke.duration&65280)>>>8,Ue[Ce++]=Ke.duration&255,Ue[Ce++]=(Ke.size&4278190080)>>>24,Ue[Ce++]=(Ke.size&16711680)>>>16,Ue[Ce++]=(Ke.size&65280)>>>8,Ue[Ce++]=Ke.size&255,Ue[Ce++]=Ke.flags.isLeading<<2|Ke.flags.dependsOn,Ue[Ce++]=Ke.flags.isDependedOn<<6|Ke.flags.hasRedundancy<<4|Ke.flags.paddingValue<<1|Ke.flags.isNonSyncSample,Ue[Ce++]=Ke.flags.degradationPriority&61440,Ue[Ce++]=Ke.flags.degradationPriority&15,Ue[Ce++]=(Ke.compositionTimeOffset&4278190080)>>>24,Ue[Ce++]=(Ke.compositionTimeOffset&16711680)>>>16,Ue[Ce++]=(Ke.compositionTimeOffset&65280)>>>8,Ue[Ce++]=Ke.compositionTimeOffset&255;return h(p.trun,Ue)},it=function(oe,Ee){var Ce,Ue,Oe,Ze,Ke,gt;for(Ze=oe.samples||[],Ee+=20+8*Ze.length,Oe=Te(Ze,Ee),Ce=new Uint8Array(Oe.length+Ze.length*8),Ce.set(Oe),Ue=Oe.length,gt=0;gt<Ze.length;gt++)Ke=Ze[gt],Ce[Ue++]=(Ke.duration&4278190080)>>>24,Ce[Ue++]=(Ke.duration&16711680)>>>16,Ce[Ue++]=(Ke.duration&65280)>>>8,Ce[Ue++]=Ke.duration&255,Ce[Ue++]=(Ke.size&4278190080)>>>24,Ce[Ue++]=(Ke.size&16711680)>>>16,Ce[Ue++]=(Ke.size&65280)>>>8,Ce[Ue++]=Ke.size&255;return h(p.trun,Ce)},L=function(oe,Ee){return oe.type==="audio"?it(oe,Ee):ue(oe,Ee)}}();var X={ftyp:A,mdat:E,moof:P,moov:I,initSegment:function(ue){var Te=A(),Se=I(ue),oe;return oe=new Uint8Array(Te.byteLength+Se.byteLength),oe.set(Te),oe.set(Se,Te.byteLength),oe}},U=function(ue){var Te,Se,oe=[],Ee=[];for(Ee.byteLength=0,Ee.nalCount=0,Ee.duration=0,oe.byteLength=0,Te=0;Te<ue.length;Te++)Se=ue[Te],Se.nalUnitType==="access_unit_delimiter_rbsp"?(oe.length&&(oe.duration=Se.dts-oe.dts,Ee.byteLength+=oe.byteLength,Ee.nalCount+=oe.length,Ee.duration+=oe.duration,Ee.push(oe)),oe=[Se],oe.byteLength=Se.data.byteLength,oe.pts=Se.pts,oe.dts=Se.dts):(Se.nalUnitType==="slice_layer_without_partitioning_rbsp_idr"&&(oe.keyFrame=!0),oe.duration=Se.dts-oe.dts,oe.byteLength+=Se.data.byteLength,oe.push(Se));return Ee.length&&(!oe.duration||oe.duration<=0)&&(oe.duration=Ee[Ee.length-1].duration),Ee.byteLength+=oe.byteLength,Ee.nalCount+=oe.length,Ee.duration+=oe.duration,Ee.push(oe),Ee},z=function(ue){var Te,Se,oe=[],Ee=[];for(oe.byteLength=0,oe.nalCount=0,oe.duration=0,oe.pts=ue[0].pts,oe.dts=ue[0].dts,Ee.byteLength=0,Ee.nalCount=0,Ee.duration=0,Ee.pts=ue[0].pts,Ee.dts=ue[0].dts,Te=0;Te<ue.length;Te++)Se=ue[Te],Se.keyFrame?(oe.length&&(Ee.push(oe),Ee.byteLength+=oe.byteLength,Ee.nalCount+=oe.nalCount,Ee.duration+=oe.duration),oe=[Se],oe.nalCount=Se.length,oe.byteLength=Se.byteLength,oe.pts=Se.pts,oe.dts=Se.dts,oe.duration=Se.duration):(oe.duration+=Se.duration,oe.nalCount+=Se.length,oe.byteLength+=Se.byteLength,oe.push(Se));return Ee.length&&oe.duration<=0&&(oe.duration=Ee[Ee.length-1].duration),Ee.byteLength+=oe.byteLength,Ee.nalCount+=oe.nalCount,Ee.duration+=oe.duration,Ee.push(oe),Ee},ie=function(ue){var Te;return!ue[0][0].keyFrame&&ue.length>1&&(Te=ue.shift(),ue.byteLength-=Te.byteLength,ue.nalCount-=Te.nalCount,ue[0][0].dts=Te.dts,ue[0][0].pts=Te.pts,ue[0][0].duration+=Te.duration),ue},de=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}}},me=function(ue,Te){var Se=de();return Se.dataOffset=Te,Se.compositionTimeOffset=ue.pts-ue.dts,Se.duration=ue.duration,Se.size=4*ue.length,Se.size+=ue.byteLength,ue.keyFrame&&(Se.flags.dependsOn=2,Se.flags.isNonSyncSample=0),Se},pe=function(ue,Te){var Se,oe,Ee,Ce,Ue,Oe=Te||0,Ze=[];for(Se=0;Se<ue.length;Se++)for(Ce=ue[Se],oe=0;oe<Ce.length;oe++)Ue=Ce[oe],Ee=me(Ue,Oe),Oe+=Ee.size,Ze.push(Ee);return Ze},qe=function(ue){var Te,Se,oe,Ee,Ce,Ue,Oe=0,Ze=ue.byteLength,Ke=ue.nalCount,gt=Ze+4*Ke,It=new Uint8Array(gt),ir=new DataView(It.buffer);for(Te=0;Te<ue.length;Te++)for(Ee=ue[Te],Se=0;Se<Ee.length;Se++)for(Ce=Ee[Se],oe=0;oe<Ce.length;oe++)Ue=Ce[oe],ir.setUint32(Oe,Ue.data.byteLength),Oe+=4,It.set(Ue.data,Oe),Oe+=Ue.data.byteLength;return It},mt=function(ue,Te){var Se,oe=Te||0,Ee=[];return Se=me(ue,oe),Ee.push(Se),Ee},st=function(ue){var Te,Se,oe=0,Ee=ue.byteLength,Ce=ue.length,Ue=Ee+4*Ce,Oe=new Uint8Array(Ue),Ze=new DataView(Oe.buffer);for(Te=0;Te<ue.length;Te++)Se=ue[Te],Ze.setUint32(oe,Se.data.byteLength),oe+=4,Oe.set(Se.data,oe),oe+=Se.data.byteLength;return Oe},dt={groupNalsIntoFrames:U,groupFramesIntoGops:z,extendFirstKeyFrame:ie,generateSampleTable:pe,concatenateNalData:qe,generateSampleTableForFrame:mt,concatenateNalDataForFrame:st},Tt=[33,16,5,32,164,27],lt=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],Je=function(ue){for(var Te=[];ue--;)Te.push(0);return Te},ht=function(ue){return Object.keys(ue).reduce(function(Te,Se){return Te[Se]=new Uint8Array(ue[Se].reduce(function(oe,Ee){return oe.concat(Ee)},[])),Te},{})},at,bt=function(){if(!at){var ue={96e3:[Tt,[227,64],Je(154),[56]],88200:[Tt,[231],Je(170),[56]],64e3:[Tt,[248,192],Je(240),[56]],48e3:[Tt,[255,192],Je(268),[55,148,128],Je(54),[112]],44100:[Tt,[255,192],Je(268),[55,163,128],Je(84),[112]],32e3:[Tt,[255,192],Je(268),[55,234],Je(226),[112]],24e3:[Tt,[255,192],Je(268),[55,255,128],Je(268),[111,112],Je(126),[224]],16e3:[Tt,[255,192],Je(268),[55,255,128],Je(268),[111,255],Je(269),[223,108],Je(195),[1,192]],12e3:[lt,Je(268),[3,127,248],Je(268),[6,255,240],Je(268),[13,255,224],Je(268),[27,253,128],Je(259),[56]],11025:[lt,Je(268),[3,127,248],Je(268),[6,255,240],Je(268),[13,255,224],Je(268),[27,255,192],Je(268),[55,175,128],Je(108),[112]],8e3:[lt,Je(268),[3,121,16],Je(47),[7]]};at=ht(ue)}return at},jt=9e4,Ge,Qe,Wt,Et,Ct,Kt,Me;Ge=function(ue){return ue*jt},Qe=function(ue,Te){return ue*Te},Wt=function(ue){return ue/jt},Et=function(ue,Te){return ue/Te},Ct=function(ue,Te){return Ge(Et(ue,Te))},Kt=function(ue,Te){return Qe(Wt(ue),Te)},Me=function(ue,Te,Se){return Wt(Se?ue:ue-Te)};var te={ONE_SECOND_IN_TS:jt,secondsToVideoTs:Ge,secondsToAudioTs:Qe,videoTsToSeconds:Wt,audioTsToSeconds:Et,audioTsToVideoTs:Ct,videoTsToAudioTs:Kt,metadataTsToSeconds:Me},_e=function(ue){var Te,Se,oe=0;for(Te=0;Te<ue.length;Te++)Se=ue[Te],oe+=Se.data.byteLength;return oe},je=function(ue,Te,Se,oe){var Ee,Ce=0,Ue=0,Oe=0,Ze=0,Ke,gt,It;if(Te.length&&(Ee=te.audioTsToVideoTs(ue.baseMediaDecodeTime,ue.samplerate),Ce=Math.ceil(te.ONE_SECOND_IN_TS/(ue.samplerate/1024)),Se&&oe&&(Ue=Ee-Math.max(Se,oe),Oe=Math.floor(Ue/Ce),Ze=Oe*Ce),!(Oe<1||Ze>te.ONE_SECOND_IN_TS/2))){for(Ke=bt()[ue.samplerate],Ke||(Ke=Te[0].data),gt=0;gt<Oe;gt++)It=Te[0],Te.splice(0,0,{data:Ke,dts:It.dts-Ce,pts:It.pts-Ce});return ue.baseMediaDecodeTime-=Math.floor(te.videoTsToAudioTs(Ze,ue.samplerate)),Ze}},We=function(ue,Te,Se){return Te.minSegmentDts>=Se?ue:(Te.minSegmentDts=1/0,ue.filter(function(oe){return oe.dts>=Se?(Te.minSegmentDts=Math.min(Te.minSegmentDts,oe.dts),Te.minSegmentPts=Te.minSegmentDts,!0):!1}))},et=function(ue){var Te,Se,oe=[];for(Te=0;Te<ue.length;Te++)Se=ue[Te],oe.push({size:Se.data.byteLength,duration:1024});return oe},Ye=function(ue){var Te,Se,oe=0,Ee=new Uint8Array(_e(ue));for(Te=0;Te<ue.length;Te++)Se=ue[Te],Ee.set(Se.data,oe),oe+=Se.data.byteLength;return Ee},De={prefixWithSilence:je,trimAdtsFramesByEarliestDts:We,generateSampleTable:et,concatenateFrameData:Ye},Ht=te.ONE_SECOND_IN_TS,Mt=function(ue,Te){typeof Te.pts=="number"&&(ue.timelineStartInfo.pts===void 0&&(ue.timelineStartInfo.pts=Te.pts),ue.minSegmentPts===void 0?ue.minSegmentPts=Te.pts:ue.minSegmentPts=Math.min(ue.minSegmentPts,Te.pts),ue.maxSegmentPts===void 0?ue.maxSegmentPts=Te.pts:ue.maxSegmentPts=Math.max(ue.maxSegmentPts,Te.pts)),typeof Te.dts=="number"&&(ue.timelineStartInfo.dts===void 0&&(ue.timelineStartInfo.dts=Te.dts),ue.minSegmentDts===void 0?ue.minSegmentDts=Te.dts:ue.minSegmentDts=Math.min(ue.minSegmentDts,Te.dts),ue.maxSegmentDts===void 0?ue.maxSegmentDts=Te.dts:ue.maxSegmentDts=Math.max(ue.maxSegmentDts,Te.dts))},ge=function(ue){delete ue.minSegmentDts,delete ue.maxSegmentDts,delete ue.minSegmentPts,delete ue.maxSegmentPts},Dt=function(ue,Te){var Se,oe,Ee=ue.minSegmentDts;return Te||(Ee-=ue.timelineStartInfo.dts),Se=ue.timelineStartInfo.baseMediaDecodeTime,Se+=Ee,Se=Math.max(0,Se),ue.type==="audio"&&(oe=ue.samplerate/Ht,Se*=oe,Se=Math.floor(Se)),Se},yt={clearDtsInfo:ge,calculateTrackBaseMediaDecodeTime:Dt,collectDtsInfo:Mt},Ne=4,_t=128,pt=function(ue){for(var Te=0,Se={payloadType:-1,payloadSize:0},oe=0,Ee=0;Te<ue.byteLength&&ue[Te]!==_t;){for(;ue[Te]===255;)oe+=255,Te++;for(oe+=ue[Te++];ue[Te]===255;)Ee+=255,Te++;if(Ee+=ue[Te++],!Se.payload&&oe===Ne){var Ce=String.fromCharCode(ue[Te+3],ue[Te+4],ue[Te+5],ue[Te+6]);if(Ce==="GA94"){Se.payloadType=oe,Se.payloadSize=Ee,Se.payload=ue.subarray(Te,Te+Ee);break}else Se.payload=void 0}Te+=Ee,oe=0,Ee=0}return Se},Bt=function(ue){return ue.payload[0]!==181||(ue.payload[1]<<8|ue.payload[2])!==49||String.fromCharCode(ue.payload[3],ue.payload[4],ue.payload[5],ue.payload[6])!=="GA94"||ue.payload[7]!==3?null:ue.payload.subarray(8,ue.payload.length-1)},ur=function(ue,Te){var Se=[],oe,Ee,Ce,Ue;if(!(Te[0]&64))return Se;for(Ee=Te[0]&31,oe=0;oe<Ee;oe++)Ce=oe*3,Ue={type:Te[Ce+2]&3,pts:ue},Te[Ce+2]&4&&(Ue.ccData=Te[Ce+3]<<8|Te[Ce+4],Se.push(Ue));return Se},kt=function(ue){for(var Te=ue.byteLength,Se=[],oe=1,Ee,Ce;oe<Te-2;)ue[oe]===0&&ue[oe+1]===0&&ue[oe+2]===3?(Se.push(oe+2),oe+=2):oe++;if(Se.length===0)return ue;Ee=Te-Se.length,Ce=new Uint8Array(Ee);var Ue=0;for(oe=0;oe<Ee;Ue++,oe++)Ue===Se[0]&&(Ue++,Se.shift()),Ce[oe]=ue[Ue];return Ce},Ut={parseSei:pt,parseUserData:Bt,parseCaptionPackets:ur,discardEmulationPreventionBytes:kt,USER_DATA_REGISTERED_ITU_T_T35:Ne},Wr=function it(ue){ue=ue||{},it.prototype.init.call(this),this.parse708captions_=typeof ue.parse708captions=="boolean"?ue.parse708captions:!0,this.captionPackets_=[],this.ccStreams_=[new Yt(0,0),new Yt(0,1),new Yt(1,0),new Yt(1,1)],this.parse708captions_&&(this.cc708Stream_=new se({captionServices:ue.captionServices})),this.reset(),this.ccStreams_.forEach(function(Te){Te.on("data",this.trigger.bind(this,"data")),Te.on("partialdone",this.trigger.bind(this,"partialdone")),Te.on("done",this.trigger.bind(this,"done"))},this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};Wr.prototype=new e,Wr.prototype.push=function(it){var ue,Te,Se;if(it.nalUnitType==="sei_rbsp"&&(ue=Ut.parseSei(it.escapedRBSP),!!ue.payload&&ue.payloadType===Ut.USER_DATA_REGISTERED_ITU_T_T35&&(Te=Ut.parseUserData(ue),!!Te))){if(it.dts<this.latestDts_){this.ignoreNextEqualDts_=!0;return}else if(it.dts===this.latestDts_&&this.ignoreNextEqualDts_){this.numSameDts_--,this.numSameDts_||(this.ignoreNextEqualDts_=!1);return}Se=Ut.parseCaptionPackets(it.pts,Te),this.captionPackets_=this.captionPackets_.concat(Se),this.latestDts_!==it.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=it.dts}},Wr.prototype.flushCCStreams=function(it){this.ccStreams_.forEach(function(ue){return it==="flush"?ue.flush():ue.partialFlush()},this)},Wr.prototype.flushStream=function(it){if(!this.captionPackets_.length){this.flushCCStreams(it);return}this.captionPackets_.forEach(function(ue,Te){ue.presortIndex=Te}),this.captionPackets_.sort(function(ue,Te){return ue.pts===Te.pts?ue.presortIndex-Te.presortIndex:ue.pts-Te.pts}),this.captionPackets_.forEach(function(ue){ue.type<2?this.dispatchCea608Packet(ue):this.dispatchCea708Packet(ue)},this),this.captionPackets_.length=0,this.flushCCStreams(it)},Wr.prototype.flush=function(){return this.flushStream("flush")},Wr.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Wr.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(it){it.reset()})},Wr.prototype.dispatchCea608Packet=function(it){this.setsTextOrXDSActive(it)?this.activeCea608Channel_[it.type]=null:this.setsChannel1Active(it)?this.activeCea608Channel_[it.type]=0:this.setsChannel2Active(it)&&(this.activeCea608Channel_[it.type]=1),this.activeCea608Channel_[it.type]!==null&&this.ccStreams_[(it.type<<1)+this.activeCea608Channel_[it.type]].push(it)},Wr.prototype.setsChannel1Active=function(it){return(it.ccData&30720)===4096},Wr.prototype.setsChannel2Active=function(it){return(it.ccData&30720)===6144},Wr.prototype.setsTextOrXDSActive=function(it){return(it.ccData&28928)===256||(it.ccData&30974)===4138||(it.ccData&30974)===6186},Wr.prototype.dispatchCea708Packet=function(it){this.parse708captions_&&this.cc708Stream_.push(it)};var zt={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Qt=function(ue){var Te=zt[ue]||ue;return ue&4096&&ue===Te?"":String.fromCharCode(Te)},$e=function(ue){return 32<=ue&&ue<=127||160<=ue&&ue<=255},be=function(ue){this.windowNum=ue,this.reset()};be.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},be.prototype.getText=function(){return this.rows.join(`
+`)},be.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},be.prototype.newLine=function(it){for(this.rows.length>=this.virtualRowCount&&typeof this.beforeRowOverflow=="function"&&this.beforeRowOverflow(it),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},be.prototype.isEmpty=function(){return this.rows.length===0?!0:this.rows.length===1?this.rows[0]==="":!1},be.prototype.addText=function(it){this.rows[this.rowIdx]+=it},be.prototype.backspace=function(){if(!this.isEmpty()){var it=this.rows[this.rowIdx];this.rows[this.rowIdx]=it.substr(0,it.length-1)}};var ve=function(ue,Te,Se){this.serviceNum=ue,this.text="",this.currentWindow=new be(-1),this.windows=[],this.stream=Se,typeof Te=="string"&&this.createTextDecoder(Te)};ve.prototype.init=function(it,ue){this.startPts=it;for(var Te=0;Te<8;Te++)this.windows[Te]=new be(Te),typeof ue=="function"&&(this.windows[Te].beforeRowOverflow=ue)},ve.prototype.setCurrentWindow=function(it){this.currentWindow=this.windows[it]},ve.prototype.createTextDecoder=function(it){if(typeof TextDecoder>"u")this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(it)}catch(ue){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+it+" encoding. "+ue})}};var se=function it(ue){ue=ue||{},it.prototype.init.call(this);var Te=this,Se=ue.captionServices||{},oe={},Ee;Object.keys(Se).forEach(function(Ce){Ee=Se[Ce],/^SERVICE/.test(Ce)&&(oe[Ce]=Ee.encoding)}),this.serviceEncodings=oe,this.current708Packet=null,this.services={},this.push=function(Ce){Ce.type===3?(Te.new708Packet(),Te.add708Bytes(Ce)):(Te.current708Packet===null&&Te.new708Packet(),Te.add708Bytes(Ce))}};se.prototype=new e,se.prototype.new708Packet=function(){this.current708Packet!==null&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},se.prototype.add708Bytes=function(it){var ue=it.ccData,Te=ue>>>8,Se=ue&255;this.current708Packet.ptsVals.push(it.pts),this.current708Packet.data.push(Te),this.current708Packet.data.push(Se)},se.prototype.push708Packet=function(){var it=this.current708Packet,ue=it.data,Te=null,Se=null,oe=0,Ee=ue[oe++];for(it.seq=Ee>>6,it.sizeCode=Ee&63;oe<ue.length;oe++)Ee=ue[oe++],Te=Ee>>5,Se=Ee&31,Te===7&&Se>0&&(Ee=ue[oe++],Te=Ee),this.pushServiceBlock(Te,oe,Se),Se>0&&(oe+=Se-1)},se.prototype.pushServiceBlock=function(it,ue,Te){var Se,oe=ue,Ee=this.current708Packet.data,Ce=this.services[it];for(Ce||(Ce=this.initService(it,oe));oe<ue+Te&&oe<Ee.length;oe++)Se=Ee[oe],$e(Se)?oe=this.handleText(oe,Ce):Se===24?oe=this.multiByteCharacter(oe,Ce):Se===16?oe=this.extendedCommands(oe,Ce):128<=Se&&Se<=135?oe=this.setCurrentWindow(oe,Ce):152<=Se&&Se<=159?oe=this.defineWindow(oe,Ce):Se===136?oe=this.clearWindows(oe,Ce):Se===140?oe=this.deleteWindows(oe,Ce):Se===137?oe=this.displayWindows(oe,Ce):Se===138?oe=this.hideWindows(oe,Ce):Se===139?oe=this.toggleWindows(oe,Ce):Se===151?oe=this.setWindowAttributes(oe,Ce):Se===144?oe=this.setPenAttributes(oe,Ce):Se===145?oe=this.setPenColor(oe,Ce):Se===146?oe=this.setPenLocation(oe,Ce):Se===143?Ce=this.reset(oe,Ce):Se===8?Ce.currentWindow.backspace():Se===12?Ce.currentWindow.clearText():Se===13?Ce.currentWindow.pendingNewLine=!0:Se===14?Ce.currentWindow.clearText():Se===141&&oe++},se.prototype.extendedCommands=function(it,ue){var Te=this.current708Packet.data,Se=Te[++it];return $e(Se)&&(it=this.handleText(it,ue,{isExtended:!0})),it},se.prototype.getPts=function(it){return this.current708Packet.ptsVals[Math.floor(it/2)]},se.prototype.initService=function(it,ue){var Se="SERVICE"+it,Te=this,Se,oe;return Se in this.serviceEncodings&&(oe=this.serviceEncodings[Se]),this.services[it]=new ve(it,oe,Te),this.services[it].init(this.getPts(ue),function(Ee){Te.flushDisplayed(Ee,Te.services[it])}),this.services[it]},se.prototype.handleText=function(it,ue,Te){var Se=Te&&Te.isExtended,oe=Te&&Te.isMultiByte,Ee=this.current708Packet.data,Ce=Se?4096:0,Ue=Ee[it],Oe=Ee[it+1],Ze=ue.currentWindow,Ke,gt;return ue.textDecoder_&&!Se?(oe?(gt=[Ue,Oe],it++):gt=[Ue],Ke=ue.textDecoder_.decode(new Uint8Array(gt))):Ke=Qt(Ce|Ue),Ze.pendingNewLine&&!Ze.isEmpty()&&Ze.newLine(this.getPts(it)),Ze.pendingNewLine=!1,Ze.addText(Ke),it},se.prototype.multiByteCharacter=function(it,ue){var Te=this.current708Packet.data,Se=Te[it+1],oe=Te[it+2];return $e(Se)&&$e(oe)&&(it=this.handleText(++it,ue,{isMultiByte:!0})),it},se.prototype.setCurrentWindow=function(it,ue){var Te=this.current708Packet.data,Se=Te[it],oe=Se&7;return ue.setCurrentWindow(oe),it},se.prototype.defineWindow=function(it,ue){var Te=this.current708Packet.data,Se=Te[it],oe=Se&7;ue.setCurrentWindow(oe);var Ee=ue.currentWindow;return Se=Te[++it],Ee.visible=(Se&32)>>5,Ee.rowLock=(Se&16)>>4,Ee.columnLock=(Se&8)>>3,Ee.priority=Se&7,Se=Te[++it],Ee.relativePositioning=(Se&128)>>7,Ee.anchorVertical=Se&127,Se=Te[++it],Ee.anchorHorizontal=Se,Se=Te[++it],Ee.anchorPoint=(Se&240)>>4,Ee.rowCount=Se&15,Se=Te[++it],Ee.columnCount=Se&63,Se=Te[++it],Ee.windowStyle=(Se&56)>>3,Ee.penStyle=Se&7,Ee.virtualRowCount=Ee.rowCount+1,it},se.prototype.setWindowAttributes=function(it,ue){var Te=this.current708Packet.data,Se=Te[it],oe=ue.currentWindow.winAttr;return Se=Te[++it],oe.fillOpacity=(Se&192)>>6,oe.fillRed=(Se&48)>>4,oe.fillGreen=(Se&12)>>2,oe.fillBlue=Se&3,Se=Te[++it],oe.borderType=(Se&192)>>6,oe.borderRed=(Se&48)>>4,oe.borderGreen=(Se&12)>>2,oe.borderBlue=Se&3,Se=Te[++it],oe.borderType+=(Se&128)>>5,oe.wordWrap=(Se&64)>>6,oe.printDirection=(Se&48)>>4,oe.scrollDirection=(Se&12)>>2,oe.justify=Se&3,Se=Te[++it],oe.effectSpeed=(Se&240)>>4,oe.effectDirection=(Se&12)>>2,oe.displayEffect=Se&3,it},se.prototype.flushDisplayed=function(it,ue){for(var Te=[],Se=0;Se<8;Se++)ue.windows[Se].visible&&!ue.windows[Se].isEmpty()&&Te.push(ue.windows[Se].getText());ue.endPts=it,ue.text=Te.join(`
 
-`),this.pushCaption(pe),pe.startPts=re},gt.prototype.pushCaption=function(re){re.text!==""&&(this.trigger("data",{startPts:re.startPts,endPts:re.endPts,text:re.text,stream:"cc708_"+re.serviceNum}),re.text="",re.startPts=re.endPts)},gt.prototype.displayWindows=function(re,pe){var Se=this.current708Packet.data,_e=Se[++re],Me=this.getPts(re);this.flushDisplayed(Me,pe);for(var Fe=0;Fe<8;Fe++)_e&1<<Fe&&(pe.windows[Fe].visible=1);return re},gt.prototype.hideWindows=function(re,pe){var Se=this.current708Packet.data,_e=Se[++re],Me=this.getPts(re);this.flushDisplayed(Me,pe);for(var Fe=0;Fe<8;Fe++)_e&1<<Fe&&(pe.windows[Fe].visible=0);return re},gt.prototype.toggleWindows=function(re,pe){var Se=this.current708Packet.data,_e=Se[++re],Me=this.getPts(re);this.flushDisplayed(Me,pe);for(var Fe=0;Fe<8;Fe++)_e&1<<Fe&&(pe.windows[Fe].visible^=1);return re},gt.prototype.clearWindows=function(re,pe){var Se=this.current708Packet.data,_e=Se[++re],Me=this.getPts(re);this.flushDisplayed(Me,pe);for(var Fe=0;Fe<8;Fe++)_e&1<<Fe&&pe.windows[Fe].clearText();return re},gt.prototype.deleteWindows=function(re,pe){var Se=this.current708Packet.data,_e=Se[++re],Me=this.getPts(re);this.flushDisplayed(Me,pe);for(var Fe=0;Fe<8;Fe++)_e&1<<Fe&&pe.windows[Fe].reset();return re},gt.prototype.setPenAttributes=function(re,pe){var Se=this.current708Packet.data,_e=Se[re],Me=pe.currentWindow.penAttr;return _e=Se[++re],Me.textTag=(_e&240)>>4,Me.offset=(_e&12)>>2,Me.penSize=_e&3,_e=Se[++re],Me.italics=(_e&128)>>7,Me.underline=(_e&64)>>6,Me.edgeType=(_e&56)>>3,Me.fontStyle=_e&7,re},gt.prototype.setPenColor=function(re,pe){var Se=this.current708Packet.data,_e=Se[re],Me=pe.currentWindow.penColor;return _e=Se[++re],Me.fgOpacity=(_e&192)>>6,Me.fgRed=(_e&48)>>4,Me.fgGreen=(_e&12)>>2,Me.fgBlue=_e&3,_e=Se[++re],Me.bgOpacity=(_e&192)>>6,Me.bgRed=(_e&48)>>4,Me.bgGreen=(_e&12)>>2,Me.bgBlue=_e&3,_e=Se[++re],Me.edgeRed=(_e&48)>>4,Me.edgeGreen=(_e&12)>>2,Me.edgeBlue=_e&3,re},gt.prototype.setPenLocation=function(re,pe){var Se=this.current708Packet.data,_e=Se[re],Me=pe.currentWindow.penLoc;return pe.currentWindow.pendingNewLine=!0,_e=Se[++re],Me.row=_e&15,_e=Se[++re],Me.column=_e&63,re},gt.prototype.reset=function(re,pe){var Se=this.getPts(re);return this.flushDisplayed(Se,pe),this.initService(pe.serviceNum,re)};var ei={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},ii=function(re){return re===null?"":(re=ei[re]||re,String.fromCharCode(re))},Bi=14,hi=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Di=function(){for(var re=[],pe=Bi+1;pe--;)re.push({text:"",indent:0,offset:0});return re},ni=function(re,pe){ni.prototype.init.call(this),this.field_=re||0,this.dataChannel_=pe||0,this.name_="CC"+((this.field_<<1|this.dataChannel_)+1),this.setConstants(),this.reset(),this.push=function(Se){var _e,Me,Fe,dt,yt;if(_e=Se.ccData&32639,_e===this.lastControlCode_){this.lastControlCode_=null;return}if((_e&61440)===4096?this.lastControlCode_=_e:_e!==this.PADDING_&&(this.lastControlCode_=null),Fe=_e>>>8,dt=_e&255,_e!==this.PADDING_)if(_e===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(_e===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(Se.pts),this.flushDisplayed(Se.pts),Me=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=Me,this.startPts_=Se.pts;else if(_e===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(Se.pts);else if(_e===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(Se.pts);else if(_e===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(Se.pts);else if(_e===this.CARRIAGE_RETURN_)this.clearFormatting(Se.pts),this.flushDisplayed(Se.pts),this.shiftRowsUp_(),this.startPts_=Se.pts;else if(_e===this.BACKSPACE_)this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1);else if(_e===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(Se.pts),this.displayed_=Di();else if(_e===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Di();else if(_e===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(Se.pts),this.displayed_=Di()),this.mode_="paintOn",this.startPts_=Se.pts;else if(this.isSpecialCharacter(Fe,dt))Fe=(Fe&3)<<8,yt=ii(Fe|dt),this[this.mode_](Se.pts,yt),this.column_++;else if(this.isExtCharacter(Fe,dt))this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1),Fe=(Fe&3)<<8,yt=ii(Fe|dt),this[this.mode_](Se.pts,yt),this.column_++;else if(this.isMidRowCode(Fe,dt))this.clearFormatting(Se.pts),this[this.mode_](Se.pts," "),this.column_++,(dt&14)===14&&this.addFormatting(Se.pts,["i"]),(dt&1)===1&&this.addFormatting(Se.pts,["u"]);else if(this.isOffsetControlCode(Fe,dt)){const Rt=dt&3;this.nonDisplayed_[this.row_].offset=Rt,this.column_+=Rt}else if(this.isPAC(Fe,dt)){var Tt=hi.indexOf(_e&7968);if(this.mode_==="rollUp"&&(Tt-this.rollUpRows_+1<0&&(Tt=this.rollUpRows_-1),this.setRollUp(Se.pts,Tt)),Tt!==this.row_&&Tt>=0&&Tt<=14&&(this.clearFormatting(Se.pts),this.row_=Tt),dt&1&&this.formatting_.indexOf("u")===-1&&this.addFormatting(Se.pts,["u"]),(_e&16)===16){const Rt=(_e&14)>>1;this.column_=Rt*4,this.nonDisplayed_[this.row_].indent+=Rt}this.isColorPAC(dt)&&(dt&14)===14&&this.addFormatting(Se.pts,["i"])}else this.isNormalChar(Fe)&&(dt===0&&(dt=null),yt=ii(Fe),yt+=ii(dt),this[this.mode_](Se.pts,yt),this.column_+=yt.length)}};ni.prototype=new Be,ni.prototype.flushDisplayed=function(re){const pe=_e=>{this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+_e+"."})},Se=[];this.displayed_.forEach((_e,Me)=>{if(_e&&_e.text&&_e.text.length){try{_e.text=_e.text.trim()}catch{pe(Me)}_e.text.length&&Se.push({text:_e.text,line:Me+1,position:10+Math.min(70,_e.indent*10)+_e.offset*2.5})}else _e==null&&pe(Me)}),Se.length&&this.trigger("data",{startPts:this.startPts_,endPts:re,content:Se,stream:this.name_})},ni.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Di(),this.nonDisplayed_=Di(),this.lastControlCode_=null,this.column_=0,this.row_=Bi,this.rollUpRows_=2,this.formatting_=[]},ni.prototype.setConstants=function(){this.dataChannel_===0?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):this.dataChannel_===1&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=this.CONTROL_|32,this.END_OF_CAPTION_=this.CONTROL_|47,this.ROLL_UP_2_ROWS_=this.CONTROL_|37,this.ROLL_UP_3_ROWS_=this.CONTROL_|38,this.ROLL_UP_4_ROWS_=this.CONTROL_|39,this.CARRIAGE_RETURN_=this.CONTROL_|45,this.RESUME_DIRECT_CAPTIONING_=this.CONTROL_|41,this.BACKSPACE_=this.CONTROL_|33,this.ERASE_DISPLAYED_MEMORY_=this.CONTROL_|44,this.ERASE_NON_DISPLAYED_MEMORY_=this.CONTROL_|46},ni.prototype.isSpecialCharacter=function(re,pe){return re===this.EXT_&&pe>=48&&pe<=63},ni.prototype.isExtCharacter=function(re,pe){return(re===this.EXT_+1||re===this.EXT_+2)&&pe>=32&&pe<=63},ni.prototype.isMidRowCode=function(re,pe){return re===this.EXT_&&pe>=32&&pe<=47},ni.prototype.isOffsetControlCode=function(re,pe){return re===this.OFFSET_&&pe>=33&&pe<=35},ni.prototype.isPAC=function(re,pe){return re>=this.BASE_&&re<this.BASE_+8&&pe>=64&&pe<=127},ni.prototype.isColorPAC=function(re){return re>=64&&re<=79||re>=96&&re<=127},ni.prototype.isNormalChar=function(re){return re>=32&&re<=127},ni.prototype.setRollUp=function(re,pe){if(this.mode_!=="rollUp"&&(this.row_=Bi,this.mode_="rollUp",this.flushDisplayed(re),this.nonDisplayed_=Di(),this.displayed_=Di()),pe!==void 0&&pe!==this.row_)for(var Se=0;Se<this.rollUpRows_;Se++)this.displayed_[pe-Se]=this.displayed_[this.row_-Se],this.displayed_[this.row_-Se]={text:"",indent:0,offset:0};pe===void 0&&(pe=this.row_),this.topRow_=pe-this.rollUpRows_+1},ni.prototype.addFormatting=function(re,pe){this.formatting_=this.formatting_.concat(pe);var Se=pe.reduce(function(_e,Me){return _e+"<"+Me+">"},"");this[this.mode_](re,Se)},ni.prototype.clearFormatting=function(re){if(this.formatting_.length){var pe=this.formatting_.reverse().reduce(function(Se,_e){return Se+"</"+_e+">"},"");this.formatting_=[],this[this.mode_](re,pe)}},ni.prototype.popOn=function(re,pe){var Se=this.nonDisplayed_[this.row_].text;Se+=pe,this.nonDisplayed_[this.row_].text=Se},ni.prototype.rollUp=function(re,pe){var Se=this.displayed_[this.row_].text;Se+=pe,this.displayed_[this.row_].text=Se},ni.prototype.shiftRowsUp_=function(){var re;for(re=0;re<this.topRow_;re++)this.displayed_[re]={text:"",indent:0,offset:0};for(re=this.row_+1;re<Bi+1;re++)this.displayed_[re]={text:"",indent:0,offset:0};for(re=this.topRow_;re<this.row_;re++)this.displayed_[re]=this.displayed_[re+1];this.displayed_[this.row_]={text:"",indent:0,offset:0}},ni.prototype.paintOn=function(re,pe){var Se=this.displayed_[this.row_].text;Se+=pe,this.displayed_[this.row_].text=Se};var pi={CaptionStream:ge,Cea608Stream:ni,Cea708Stream:gt},Ii={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Ci=n,zi=8589934592,qi=4294967296,Ai="shared",ji=function(re,pe){var Se=1;for(re>pe&&(Se=-1);Math.abs(pe-re)>qi;)re+=Se*zi;return re},ki=function(re){var pe,Se;ki.prototype.init.call(this),this.type_=re||Ai,this.push=function(_e){if(_e.type==="metadata"){this.trigger("data",_e);return}this.type_!==Ai&&_e.type!==this.type_||(Se===void 0&&(Se=_e.dts),_e.dts=ji(_e.dts,Se),_e.pts=ji(_e.pts,Se),pe=_e.dts,this.trigger("data",_e))},this.flush=function(){Se=pe,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){Se=void 0,pe=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};ki.prototype=new Ci;var Ti={TimestampRolloverStream:ki,handleRollover:ji},wi=(re,pe,Se)=>{if(!re)return-1;for(var _e=Se;_e<re.length;_e++)if(re[_e]===pe)return _e;return-1},oi={typedArrayIndexOf:wi},zt=oi.typedArrayIndexOf,Qt={Iso88591:0,Utf16:1,Utf16be:2,Utf8:3},Si=function(re,pe,Se){var _e,Me="";for(_e=pe;_e<Se;_e++)Me+="%"+("00"+re[_e].toString(16)).slice(-2);return Me},mi=function(re,pe,Se){return decodeURIComponent(Si(re,pe,Se))},ai=function(re,pe,Se){return unescape(Si(re,pe,Se))},gi=function(re){return re[0]<<21|re[1]<<14|re[2]<<7|re[3]},Hi={APIC:function(re){var pe=1,Se,_e,Me="-->";re.data[0]===Qt.Utf8&&(Se=zt(re.data,0,pe),!(Se<0)&&(re.mimeType=ai(re.data,pe,Se),pe=Se+1,re.pictureType=re.data[pe],pe++,_e=zt(re.data,0,pe),!(_e<0)&&(re.description=mi(re.data,pe,_e),pe=_e+1,re.mimeType===Me?re.url=ai(re.data,pe,re.data.length):re.pictureData=re.data.subarray(pe,re.data.length))))},"T*":function(re){re.data[0]===Qt.Utf8&&(re.value=mi(re.data,1,re.data.length).replace(/\0*$/,""),re.values=re.value.split("\0"))},TXXX:function(re){var pe;re.data[0]===Qt.Utf8&&(pe=zt(re.data,0,1),pe!==-1&&(re.description=mi(re.data,1,pe),re.value=mi(re.data,pe+1,re.data.length).replace(/\0*$/,""),re.data=re.value))},"W*":function(re){re.url=ai(re.data,0,re.data.length).replace(/\0.*$/,"")},WXXX:function(re){var pe;re.data[0]===Qt.Utf8&&(pe=zt(re.data,0,1),pe!==-1&&(re.description=mi(re.data,1,pe),re.url=ai(re.data,pe+1,re.data.length).replace(/\0.*$/,"")))},PRIV:function(re){var pe;for(pe=0;pe<re.data.length;pe++)if(re.data[pe]===0){re.owner=ai(re.data,0,pe);break}re.privateData=re.data.subarray(pe+1),re.data=re.privateData}},or=function(re){var pe,Se,_e=10,Me=0,Fe=[];if(!(re.length<10||re[0]!==73||re[1]!==68||re[2]!==51)){Me=gi(re.subarray(6,10)),Me+=10;var dt=re[5]&64;dt&&(_e+=4,_e+=gi(re.subarray(10,14)),Me-=gi(re.subarray(16,20)));do{if(pe=gi(re.subarray(_e+4,_e+8)),pe<1)break;Se=String.fromCharCode(re[_e],re[_e+1],re[_e+2],re[_e+3]);var yt={id:Se,data:re.subarray(_e+10,_e+pe+10)};yt.key=yt.id,Hi[yt.id]?Hi[yt.id](yt):yt.id[0]==="T"?Hi["T*"](yt):yt.id[0]==="W"&&Hi["W*"](yt),Fe.push(yt),_e+=10,_e+=pe}while(_e<Me);return Fe}},nr={parseId3Frames:or,parseSyncSafeInteger:gi,frameParsers:Hi},Gi=n,Mt=Ii,er=nr,tr;tr=function(re){var pe={descriptor:re&&re.descriptor},Se=0,_e=[],Me=0,Fe;if(tr.prototype.init.call(this),this.dispatchType=Mt.METADATA_STREAM_TYPE.toString(16),pe.descriptor)for(Fe=0;Fe<pe.descriptor.length;Fe++)this.dispatchType+=("00"+pe.descriptor[Fe].toString(16)).slice(-2);this.push=function(dt){var yt,Tt,Rt,Zt,ci,Wi;if(dt.type==="timed-metadata"){if(dt.dataAlignmentIndicator&&(Me=0,_e.length=0),_e.length===0&&(dt.data.length<10||dt.data[0]!==73||dt.data[1]!==68||dt.data[2]!==51)){this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});return}if(_e.push(dt),Me+=dt.data.byteLength,_e.length===1&&(Se=er.parseSyncSafeInteger(dt.data.subarray(6,10)),Se+=10),!(Me<Se)){for(yt={data:new Uint8Array(Se),frames:[],pts:_e[0].pts,dts:_e[0].dts},ci=0;ci<Se;)yt.data.set(_e[0].data.subarray(0,Se-ci),ci),ci+=_e[0].data.byteLength,Me-=_e[0].data.byteLength,_e.shift();Tt=10,yt.data[5]&64&&(Tt+=4,Tt+=er.parseSyncSafeInteger(yt.data.subarray(10,14)),Se-=er.parseSyncSafeInteger(yt.data.subarray(16,20)));do{if(Rt=er.parseSyncSafeInteger(yt.data.subarray(Tt+4,Tt+8)),Rt<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if(Wi=String.fromCharCode(yt.data[Tt],yt.data[Tt+1],yt.data[Tt+2],yt.data[Tt+3]),Zt={id:Wi,data:yt.data.subarray(Tt+10,Tt+Rt+10)},Zt.key=Zt.id,er.frameParsers[Zt.id]?er.frameParsers[Zt.id](Zt):Zt.id[0]==="T"?er.frameParsers["T*"](Zt):Zt.id[0]==="W"&&er.frameParsers["W*"](Zt),Zt.owner==="com.apple.streaming.transportStreamTimestamp"){var Pi=Zt.data,lr=(Pi[3]&1)<<30|Pi[4]<<22|Pi[5]<<14|Pi[6]<<6|Pi[7]>>>2;lr*=4,lr+=Pi[7]&3,Zt.timeStamp=lr,yt.pts===void 0&&yt.dts===void 0&&(yt.pts=Zt.timeStamp,yt.dts=Zt.timeStamp),this.trigger("timestamp",Zt)}yt.frames.push(Zt),Tt+=10,Tt+=Rt}while(Tt<Se);this.trigger("data",yt)}}}},tr.prototype=new Gi;var br=tr,le=n,we=pi,$e=Ii,je=Ti.TimestampRolloverStream,Ge,st,xe,Ee=188,Ie=71;Ge=function(){var re=new Uint8Array(Ee),pe=0;Ge.prototype.init.call(this),this.push=function(Se){var _e=0,Me=Ee,Fe;for(pe?(Fe=new Uint8Array(Se.byteLength+pe),Fe.set(re.subarray(0,pe)),Fe.set(Se,pe),pe=0):Fe=Se;Me<Fe.byteLength;){if(Fe[_e]===Ie&&Fe[Me]===Ie){this.trigger("data",Fe.subarray(_e,Me)),_e+=Ee,Me+=Ee;continue}_e++,Me++}_e<Fe.byteLength&&(re.set(Fe.subarray(_e),0),pe=Fe.byteLength-_e)},this.flush=function(){pe===Ee&&re[0]===Ie&&(this.trigger("data",re),pe=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){pe=0,this.trigger("reset")}},Ge.prototype=new le,st=function(){var re,pe,Se,_e;st.prototype.init.call(this),_e=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,re=function(Me,Fe){var dt=0;Fe.payloadUnitStartIndicator&&(dt+=Me[dt]+1),Fe.type==="pat"?pe(Me.subarray(dt),Fe):Se(Me.subarray(dt),Fe)},pe=function(Me,Fe){Fe.section_number=Me[7],Fe.last_section_number=Me[8],_e.pmtPid=(Me[10]&31)<<8|Me[11],Fe.pmtPid=_e.pmtPid},Se=function(Me,Fe){var dt,yt,Tt,Rt;if(Me[5]&1){for(_e.programMapTable={video:null,audio:null,"timed-metadata":{}},dt=(Me[1]&15)<<8|Me[2],yt=3+dt-4,Tt=(Me[10]&15)<<8|Me[11],Rt=12+Tt;Rt<yt;){var Zt=Me[Rt],ci=(Me[Rt+1]&31)<<8|Me[Rt+2];Zt===$e.H264_STREAM_TYPE&&_e.programMapTable.video===null?_e.programMapTable.video=ci:Zt===$e.ADTS_STREAM_TYPE&&_e.programMapTable.audio===null?_e.programMapTable.audio=ci:Zt===$e.METADATA_STREAM_TYPE&&(_e.programMapTable["timed-metadata"][ci]=Zt),Rt+=((Me[Rt+3]&15)<<8|Me[Rt+4])+5}Fe.programMapTable=_e.programMapTable}},this.push=function(Me){var Fe={},dt=4;if(Fe.payloadUnitStartIndicator=!!(Me[1]&64),Fe.pid=Me[1]&31,Fe.pid<<=8,Fe.pid|=Me[2],(Me[3]&48)>>>4>1&&(dt+=Me[dt]+1),Fe.pid===0)Fe.type="pat",re(Me.subarray(dt),Fe),this.trigger("data",Fe);else if(Fe.pid===this.pmtPid)for(Fe.type="pmt",re(Me.subarray(dt),Fe),this.trigger("data",Fe);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else this.programMapTable===void 0?this.packetsWaitingForPmt.push([Me,dt,Fe]):this.processPes_(Me,dt,Fe)},this.processPes_=function(Me,Fe,dt){dt.pid===this.programMapTable.video?dt.streamType=$e.H264_STREAM_TYPE:dt.pid===this.programMapTable.audio?dt.streamType=$e.ADTS_STREAM_TYPE:dt.streamType=this.programMapTable["timed-metadata"][dt.pid],dt.type="pes",dt.data=Me.subarray(Fe),this.trigger("data",dt)}},st.prototype=new le,st.STREAM_TYPES={h264:27,adts:15},xe=function(){var re=this,pe=!1,Se={data:[],size:0},_e={data:[],size:0},Me={data:[],size:0},Fe,dt=function(Tt,Rt){var Zt;const ci=Tt[0]<<16|Tt[1]<<8|Tt[2];Rt.data=new Uint8Array,ci===1&&(Rt.packetLength=6+(Tt[4]<<8|Tt[5]),Rt.dataAlignmentIndicator=(Tt[6]&4)!==0,Zt=Tt[7],Zt&192&&(Rt.pts=(Tt[9]&14)<<27|(Tt[10]&255)<<20|(Tt[11]&254)<<12|(Tt[12]&255)<<5|(Tt[13]&254)>>>3,Rt.pts*=4,Rt.pts+=(Tt[13]&6)>>>1,Rt.dts=Rt.pts,Zt&64&&(Rt.dts=(Tt[14]&14)<<27|(Tt[15]&255)<<20|(Tt[16]&254)<<12|(Tt[17]&255)<<5|(Tt[18]&254)>>>3,Rt.dts*=4,Rt.dts+=(Tt[18]&6)>>>1)),Rt.data=Tt.subarray(9+Tt[8]))},yt=function(Tt,Rt,Zt){var ci=new Uint8Array(Tt.size),Wi={type:Rt},Pi=0,lr=0,et=!1,Fr;if(!(!Tt.data.length||Tt.size<9)){for(Wi.trackId=Tt.data[0].pid,Pi=0;Pi<Tt.data.length;Pi++)Fr=Tt.data[Pi],ci.set(Fr.data,lr),lr+=Fr.data.byteLength;dt(ci,Wi),et=Rt==="video"||Wi.packetLength<=Tt.size,(Zt||et)&&(Tt.size=0,Tt.data.length=0),et&&re.trigger("data",Wi)}};xe.prototype.init.call(this),this.push=function(Tt){({pat:function(){},pes:function(){var Rt,Zt;switch(Tt.streamType){case $e.H264_STREAM_TYPE:Rt=Se,Zt="video";break;case $e.ADTS_STREAM_TYPE:Rt=_e,Zt="audio";break;case $e.METADATA_STREAM_TYPE:Rt=Me,Zt="timed-metadata";break;default:return}Tt.payloadUnitStartIndicator&&yt(Rt,Zt,!0),Rt.data.push(Tt),Rt.size+=Tt.data.byteLength},pmt:function(){var Rt={type:"metadata",tracks:[]};Fe=Tt.programMapTable,Fe.video!==null&&Rt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Fe.video,codec:"avc",type:"video"}),Fe.audio!==null&&Rt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Fe.audio,codec:"adts",type:"audio"}),pe=!0,re.trigger("data",Rt)}})[Tt.type]()},this.reset=function(){Se.size=0,Se.data.length=0,_e.size=0,_e.data.length=0,this.trigger("reset")},this.flushStreams_=function(){yt(Se,"video"),yt(_e,"audio"),yt(Me,"timed-metadata")},this.flush=function(){if(!pe&&Fe){var Tt={type:"metadata",tracks:[]};Fe.video!==null&&Tt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Fe.video,codec:"avc",type:"video"}),Fe.audio!==null&&Tt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Fe.audio,codec:"adts",type:"audio"}),re.trigger("data",Tt)}pe=!1,this.flushStreams_(),this.trigger("done")}},xe.prototype=new le;var Xe={PAT_PID:0,MP2T_PACKET_LENGTH:Ee,TransportPacketStream:Ge,TransportParseStream:st,ElementaryStream:xe,TimestampRolloverStream:je,CaptionStream:we.CaptionStream,Cea608Stream:we.Cea608Stream,Cea708Stream:we.Cea708Stream,MetadataStream:br};for(var xt in $e)$e.hasOwnProperty(xt)&&(Xe[xt]=$e[xt]);var Lt=Xe,Ft=n,Ot=ye.ONE_SECOND_IN_TS,si,yi=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];si=function(re){var pe,Se=0;si.prototype.init.call(this),this.skipWarn_=function(_e,Me){this.trigger("log",{level:"warn",message:`adts skiping bytes ${_e} to ${Me} in frame ${Se} outside syncword`})},this.push=function(_e){var Me=0,Fe,dt,yt,Tt,Rt;if(re||(Se=0),_e.type==="audio"){pe&&pe.length?(yt=pe,pe=new Uint8Array(yt.byteLength+_e.data.byteLength),pe.set(yt),pe.set(_e.data,yt.byteLength)):pe=_e.data;for(var Zt;Me+7<pe.length;){if(pe[Me]!==255||(pe[Me+1]&246)!==240){typeof Zt!="number"&&(Zt=Me),Me++;continue}if(typeof Zt=="number"&&(this.skipWarn_(Zt,Me),Zt=null),dt=(~pe[Me+1]&1)*2,Fe=(pe[Me+3]&3)<<11|pe[Me+4]<<3|(pe[Me+5]&224)>>5,Tt=((pe[Me+6]&3)+1)*1024,Rt=Tt*Ot/yi[(pe[Me+2]&60)>>>2],pe.byteLength-Me<Fe)break;this.trigger("data",{pts:_e.pts+Se*Rt,dts:_e.dts+Se*Rt,sampleCount:Tt,audioobjecttype:(pe[Me+2]>>>6&3)+1,channelcount:(pe[Me+2]&1)<<2|(pe[Me+3]&192)>>>6,samplerate:yi[(pe[Me+2]&60)>>>2],samplingfrequencyindex:(pe[Me+2]&60)>>>2,samplesize:16,data:pe.subarray(Me+7+dt,Me+Fe)}),Se++,Me+=Fe}typeof Zt=="number"&&(this.skipWarn_(Zt,Me),Zt=null),pe=pe.subarray(Me)}},this.flush=function(){Se=0,this.trigger("done")},this.reset=function(){pe=void 0,this.trigger("reset")},this.endTimeline=function(){pe=void 0,this.trigger("endedtimeline")}},si.prototype=new Ft;var vi=si,li;li=function(re){var pe=re.byteLength,Se=0,_e=0;this.length=function(){return 8*pe},this.bitsAvailable=function(){return 8*pe+_e},this.loadWord=function(){var Me=re.byteLength-pe,Fe=new Uint8Array(4),dt=Math.min(4,pe);if(dt===0)throw new Error("no bytes available");Fe.set(re.subarray(Me,Me+dt)),Se=new DataView(Fe.buffer).getUint32(0),_e=dt*8,pe-=dt},this.skipBits=function(Me){var Fe;_e>Me?(Se<<=Me,_e-=Me):(Me-=_e,Fe=Math.floor(Me/8),Me-=Fe*8,pe-=Fe,this.loadWord(),Se<<=Me,_e-=Me)},this.readBits=function(Me){var Fe=Math.min(_e,Me),dt=Se>>>32-Fe;return _e-=Fe,_e>0?Se<<=Fe:pe>0&&this.loadWord(),Fe=Me-Fe,Fe>0?dt<<Fe|this.readBits(Fe):dt},this.skipLeadingZeros=function(){var Me;for(Me=0;Me<_e;++Me)if(Se&2147483648>>>Me)return Se<<=Me,_e-=Me,Me;return this.loadWord(),Me+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var Me=this.skipLeadingZeros();return this.readBits(Me+1)-1},this.readExpGolomb=function(){var Me=this.readUnsignedExpGolomb();return 1&Me?1+Me>>>1:-1*(Me>>>1)},this.readBoolean=function(){return this.readBits(1)===1},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};var Vi=li,Ei=n,$i=Vi,xi,ir,Ji;ir=function(){var re=0,pe,Se;ir.prototype.init.call(this),this.push=function(_e){var Me;Se?(Me=new Uint8Array(Se.byteLength+_e.data.byteLength),Me.set(Se),Me.set(_e.data,Se.byteLength),Se=Me):Se=_e.data;for(var Fe=Se.byteLength;re<Fe-3;re++)if(Se[re+2]===1){pe=re+5;break}for(;pe<Fe;)switch(Se[pe]){case 0:if(Se[pe-1]!==0){pe+=2;break}else if(Se[pe-2]!==0){pe++;break}re+3!==pe-2&&this.trigger("data",Se.subarray(re+3,pe-2));do pe++;while(Se[pe]!==1&&pe<Fe);re=pe-2,pe+=3;break;case 1:if(Se[pe-1]!==0||Se[pe-2]!==0){pe+=3;break}this.trigger("data",Se.subarray(re+3,pe-2)),re=pe-2,pe+=3;break;default:pe+=3;break}Se=Se.subarray(re),pe-=re,re=0},this.reset=function(){Se=null,re=0,this.trigger("reset")},this.flush=function(){Se&&Se.byteLength>3&&this.trigger("data",Se.subarray(re+3)),Se=null,re=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},ir.prototype=new Ei,Ji={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},xi=function(){var re=new ir,pe,Se,_e,Me,Fe,dt,yt;xi.prototype.init.call(this),pe=this,this.push=function(Tt){Tt.type==="video"&&(Se=Tt.trackId,_e=Tt.pts,Me=Tt.dts,re.push(Tt))},re.on("data",function(Tt){var Rt={trackId:Se,pts:_e,dts:Me,data:Tt,nalUnitTypeCode:Tt[0]&31};switch(Rt.nalUnitTypeCode){case 5:Rt.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:Rt.nalUnitType="sei_rbsp",Rt.escapedRBSP=Fe(Tt.subarray(1));break;case 7:Rt.nalUnitType="seq_parameter_set_rbsp",Rt.escapedRBSP=Fe(Tt.subarray(1)),Rt.config=dt(Rt.escapedRBSP);break;case 8:Rt.nalUnitType="pic_parameter_set_rbsp";break;case 9:Rt.nalUnitType="access_unit_delimiter_rbsp";break}pe.trigger("data",Rt)}),re.on("done",function(){pe.trigger("done")}),re.on("partialdone",function(){pe.trigger("partialdone")}),re.on("reset",function(){pe.trigger("reset")}),re.on("endedtimeline",function(){pe.trigger("endedtimeline")}),this.flush=function(){re.flush()},this.partialFlush=function(){re.partialFlush()},this.reset=function(){re.reset()},this.endTimeline=function(){re.endTimeline()},yt=function(Tt,Rt){var Zt=8,ci=8,Wi,Pi;for(Wi=0;Wi<Tt;Wi++)ci!==0&&(Pi=Rt.readExpGolomb(),ci=(Zt+Pi+256)%256),Zt=ci===0?Zt:ci},Fe=function(Tt){for(var Rt=Tt.byteLength,Zt=[],ci=1,Wi,Pi;ci<Rt-2;)Tt[ci]===0&&Tt[ci+1]===0&&Tt[ci+2]===3?(Zt.push(ci+2),ci+=2):ci++;if(Zt.length===0)return Tt;Wi=Rt-Zt.length,Pi=new Uint8Array(Wi);var lr=0;for(ci=0;ci<Wi;lr++,ci++)lr===Zt[0]&&(lr++,Zt.shift()),Pi[ci]=Tt[lr];return Pi},dt=function(Tt){var Rt=0,Zt=0,ci=0,Wi=0,Pi,lr,et,Fr,hn,Xr,Ar,Fs,Ns,_s,ga,Nr=[1,1],qs,Ea;if(Pi=new $i(Tt),lr=Pi.readUnsignedByte(),Fr=Pi.readUnsignedByte(),et=Pi.readUnsignedByte(),Pi.skipUnsignedExpGolomb(),Ji[lr]&&(hn=Pi.readUnsignedExpGolomb(),hn===3&&Pi.skipBits(1),Pi.skipUnsignedExpGolomb(),Pi.skipUnsignedExpGolomb(),Pi.skipBits(1),Pi.readBoolean()))for(ga=hn!==3?8:12,Ea=0;Ea<ga;Ea++)Pi.readBoolean()&&(Ea<6?yt(16,Pi):yt(64,Pi));if(Pi.skipUnsignedExpGolomb(),Xr=Pi.readUnsignedExpGolomb(),Xr===0)Pi.readUnsignedExpGolomb();else if(Xr===1)for(Pi.skipBits(1),Pi.skipExpGolomb(),Pi.skipExpGolomb(),Ar=Pi.readUnsignedExpGolomb(),Ea=0;Ea<Ar;Ea++)Pi.skipExpGolomb();if(Pi.skipUnsignedExpGolomb(),Pi.skipBits(1),Fs=Pi.readUnsignedExpGolomb(),Ns=Pi.readUnsignedExpGolomb(),_s=Pi.readBits(1),_s===0&&Pi.skipBits(1),Pi.skipBits(1),Pi.readBoolean()&&(Rt=Pi.readUnsignedExpGolomb(),Zt=Pi.readUnsignedExpGolomb(),ci=Pi.readUnsignedExpGolomb(),Wi=Pi.readUnsignedExpGolomb()),Pi.readBoolean()&&Pi.readBoolean()){switch(qs=Pi.readUnsignedByte(),qs){case 1:Nr=[1,1];break;case 2:Nr=[12,11];break;case 3:Nr=[10,11];break;case 4:Nr=[16,11];break;case 5:Nr=[40,33];break;case 6:Nr=[24,11];break;case 7:Nr=[20,11];break;case 8:Nr=[32,11];break;case 9:Nr=[80,33];break;case 10:Nr=[18,11];break;case 11:Nr=[15,11];break;case 12:Nr=[64,33];break;case 13:Nr=[160,99];break;case 14:Nr=[4,3];break;case 15:Nr=[3,2];break;case 16:Nr=[2,1];break;case 255:{Nr=[Pi.readUnsignedByte()<<8|Pi.readUnsignedByte(),Pi.readUnsignedByte()<<8|Pi.readUnsignedByte()];break}}Nr&&Nr[0]/Nr[1]}return{profileIdc:lr,levelIdc:et,profileCompatibility:Fr,width:(Fs+1)*16-Rt*2-Zt*2,height:(2-_s)*(Ns+1)*16-ci*2-Wi*2,sarRatio:Nr}}},xi.prototype=new Ei;var ur={H264Stream:xi,NalByteStream:ir},zn=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],Un=function(re,pe){var Se=re[pe+6]<<21|re[pe+7]<<14|re[pe+8]<<7|re[pe+9],_e=re[pe+5],Me=(_e&16)>>4;return Se=Se>=0?Se:0,Me?Se+20:Se+10},_r=function(re,pe){return re.length-pe<10||re[pe]!==73||re[pe+1]!==68||re[pe+2]!==51?pe:(pe+=Un(re,pe),_r(re,pe))},xr=function(re){var pe=_r(re,0);return re.length>=pe+2&&(re[pe]&255)===255&&(re[pe+1]&240)===240&&(re[pe+1]&22)===16},En=function(re){return re[0]<<21|re[1]<<14|re[2]<<7|re[3]},kn=function(re,pe,Se){var _e,Me="";for(_e=pe;_e<Se;_e++)Me+="%"+("00"+re[_e].toString(16)).slice(-2);return Me},ia=function(re,pe,Se){return unescape(kn(re,pe,Se))},pn=function(re,pe){var Se=(re[pe+5]&224)>>5,_e=re[pe+4]<<3,Me=re[pe+3]&6144;return Me|_e|Se},yn=function(re,pe){return re[pe]===73&&re[pe+1]===68&&re[pe+2]===51?"timed-metadata":re[pe]&!0&&(re[pe+1]&240)===240?"audio":null},ca=function(re){for(var pe=0;pe+5<re.length;){if(re[pe]!==255||(re[pe+1]&246)!==240){pe++;continue}return zn[(re[pe+2]&60)>>>2]}return null},_a=function(re){var pe,Se,_e,Me;pe=10,re[5]&64&&(pe+=4,pe+=En(re.subarray(10,14)));do{if(Se=En(re.subarray(pe+4,pe+8)),Se<1)return null;if(Me=String.fromCharCode(re[pe],re[pe+1],re[pe+2],re[pe+3]),Me==="PRIV"){_e=re.subarray(pe+10,pe+Se+10);for(var Fe=0;Fe<_e.byteLength;Fe++)if(_e[Fe]===0){var dt=ia(_e,0,Fe);if(dt==="com.apple.streaming.transportStreamTimestamp"){var yt=_e.subarray(Fe+1),Tt=(yt[3]&1)<<30|yt[4]<<22|yt[5]<<14|yt[6]<<6|yt[7]>>>2;return Tt*=4,Tt+=yt[7]&3,Tt}break}}pe+=10,pe+=Se}while(pe<re.byteLength);return null},fa={isLikelyAacData:xr,parseId3TagSize:Un,parseAdtsSize:pn,parseType:yn,parseSampleRate:ca,parseAacTimestamp:_a},$r=n,Hn=fa,Zr;Zr=function(){var re=new Uint8Array,pe=0;Zr.prototype.init.call(this),this.setTimestamp=function(Se){pe=Se},this.push=function(Se){var _e=0,Me=0,Fe,dt,yt,Tt;for(re.length?(Tt=re.length,re=new Uint8Array(Se.byteLength+Tt),re.set(re.subarray(0,Tt)),re.set(Se,Tt)):re=Se;re.length-Me>=3;){if(re[Me]===73&&re[Me+1]===68&&re[Me+2]===51){if(re.length-Me<10||(_e=Hn.parseId3TagSize(re,Me),Me+_e>re.length))break;dt={type:"timed-metadata",data:re.subarray(Me,Me+_e)},this.trigger("data",dt),Me+=_e;continue}else if((re[Me]&255)===255&&(re[Me+1]&240)===240){if(re.length-Me<7||(_e=Hn.parseAdtsSize(re,Me),Me+_e>re.length))break;yt={type:"audio",data:re.subarray(Me,Me+_e),pts:pe,dts:pe},this.trigger("data",yt),Me+=_e;continue}Me++}Fe=re.length-Me,Fe>0?re=re.subarray(Me):re=new Uint8Array},this.reset=function(){re=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){re=new Uint8Array,this.trigger("endedtimeline")}},Zr.prototype=new $r;var xa=Zr,mn=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],tn=mn,X=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],ae=X,Te=n,Pe=U,ze=Ct,He=ve,Ze=ut,It=Lt,St=ye,Kt=vi,di=ur.H264Stream,bi=xa,ri=fa.isLikelyAacData,Ni=ye.ONE_SECOND_IN_TS,Ki=tn,yr=ae,fr,Or,jr,Qr,Cn=function(re,pe){pe.stream=re,this.trigger("log",pe)},Tr=function(re,pe){for(var Se=Object.keys(pe),_e=0;_e<Se.length;_e++){var Me=Se[_e];Me==="headOfPipeline"||!pe[Me].on||pe[Me].on("log",Cn.bind(re,Me))}},$n=function(re,pe){var Se;if(re.length!==pe.length)return!1;for(Se=0;Se<re.length;Se++)if(re[Se]!==pe[Se])return!1;return!0},Sr=function(re,pe,Se,_e,Me,Fe){var dt=Se-pe,yt=_e-pe,Tt=Me-Se;return{start:{dts:re,pts:re+dt},end:{dts:re+yt,pts:re+Tt},prependedContentDuration:Fe,baseMediaDecodeTime:re}};Or=function(re,pe){var Se=[],_e,Me=0,Fe=0,dt=1/0;pe=pe||{},_e=pe.firstSequenceNumber||0,Or.prototype.init.call(this),this.push=function(yt){Ze.collectDtsInfo(re,yt),re&&Ki.forEach(function(Tt){re[Tt]=yt[Tt]}),Se.push(yt)},this.setEarliestDts=function(yt){Me=yt},this.setVideoBaseMediaDecodeTime=function(yt){dt=yt},this.setAudioAppendStart=function(yt){Fe=yt},this.flush=function(){var yt,Tt,Rt,Zt,ci,Wi,Pi;if(Se.length===0){this.trigger("done","AudioSegmentStream");return}yt=He.trimAdtsFramesByEarliestDts(Se,re,Me),re.baseMediaDecodeTime=Ze.calculateTrackBaseMediaDecodeTime(re,pe.keepOriginalTimestamps),Pi=He.prefixWithSilence(re,yt,Fe,dt),re.samples=He.generateSampleTable(yt),Rt=Pe.mdat(He.concatenateFrameData(yt)),Se=[],Tt=Pe.moof(_e,[re]),Zt=new Uint8Array(Tt.byteLength+Rt.byteLength),_e++,Zt.set(Tt),Zt.set(Rt,Tt.byteLength),Ze.clearDtsInfo(re),ci=Math.ceil(Ni*1024/re.samplerate),yt.length&&(Wi=yt.length*ci,this.trigger("segmentTimingInfo",Sr(St.audioTsToVideoTs(re.baseMediaDecodeTime,re.samplerate),yt[0].dts,yt[0].pts,yt[0].dts+Wi,yt[0].pts+Wi,Pi||0)),this.trigger("timingInfo",{start:yt[0].pts,end:yt[0].pts+Wi})),this.trigger("data",{track:re,boxes:Zt}),this.trigger("done","AudioSegmentStream")},this.reset=function(){Ze.clearDtsInfo(re),Se=[],this.trigger("reset")}},Or.prototype=new Te,fr=function(re,pe){var Se,_e=[],Me=[],Fe,dt;pe=pe||{},Se=pe.firstSequenceNumber||0,fr.prototype.init.call(this),delete re.minPTS,this.gopCache_=[],this.push=function(yt){Ze.collectDtsInfo(re,yt),yt.nalUnitType==="seq_parameter_set_rbsp"&&!Fe&&(Fe=yt.config,re.sps=[yt.data],yr.forEach(function(Tt){re[Tt]=Fe[Tt]},this)),yt.nalUnitType==="pic_parameter_set_rbsp"&&!dt&&(dt=yt.data,re.pps=[yt.data]),_e.push(yt)},this.flush=function(){for(var yt,Tt,Rt,Zt,ci,Wi,Pi=0,lr,et;_e.length&&_e[0].nalUnitType!=="access_unit_delimiter_rbsp";)_e.shift();if(_e.length===0){this.resetStream_(),this.trigger("done","VideoSegmentStream");return}if(yt=ze.groupNalsIntoFrames(_e),Rt=ze.groupFramesIntoGops(yt),Rt[0][0].keyFrame||(Tt=this.getGopForFusion_(_e[0],re),Tt?(Pi=Tt.duration,Rt.unshift(Tt),Rt.byteLength+=Tt.byteLength,Rt.nalCount+=Tt.nalCount,Rt.pts=Tt.pts,Rt.dts=Tt.dts,Rt.duration+=Tt.duration):Rt=ze.extendFirstKeyFrame(Rt)),Me.length){var Fr;if(pe.alignGopsAtEnd?Fr=this.alignGopsAtEnd_(Rt):Fr=this.alignGopsAtStart_(Rt),!Fr){this.gopCache_.unshift({gop:Rt.pop(),pps:re.pps,sps:re.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),_e=[],this.resetStream_(),this.trigger("done","VideoSegmentStream");return}Ze.clearDtsInfo(re),Rt=Fr}Ze.collectDtsInfo(re,Rt),re.samples=ze.generateSampleTable(Rt),ci=Pe.mdat(ze.concatenateNalData(Rt)),re.baseMediaDecodeTime=Ze.calculateTrackBaseMediaDecodeTime(re,pe.keepOriginalTimestamps),this.trigger("processedGopsInfo",Rt.map(function(hn){return{pts:hn.pts,dts:hn.dts,byteLength:hn.byteLength}})),lr=Rt[0],et=Rt[Rt.length-1],this.trigger("segmentTimingInfo",Sr(re.baseMediaDecodeTime,lr.dts,lr.pts,et.dts+et.duration,et.pts+et.duration,Pi)),this.trigger("timingInfo",{start:Rt[0].pts,end:Rt[Rt.length-1].pts+Rt[Rt.length-1].duration}),this.gopCache_.unshift({gop:Rt.pop(),pps:re.pps,sps:re.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),_e=[],this.trigger("baseMediaDecodeTime",re.baseMediaDecodeTime),this.trigger("timelineStartInfo",re.timelineStartInfo),Zt=Pe.moof(Se,[re]),Wi=new Uint8Array(Zt.byteLength+ci.byteLength),Se++,Wi.set(Zt),Wi.set(ci,Zt.byteLength),this.trigger("data",{track:re,boxes:Wi}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),_e=[],this.gopCache_.length=0,Me.length=0,this.trigger("reset")},this.resetStream_=function(){Ze.clearDtsInfo(re),Fe=void 0,dt=void 0},this.getGopForFusion_=function(yt){var Tt=45e3,Rt=1e4,Zt=1/0,ci,Wi,Pi,lr,et;for(et=0;et<this.gopCache_.length;et++)lr=this.gopCache_[et],Pi=lr.gop,!(!(re.pps&&$n(re.pps[0],lr.pps[0]))||!(re.sps&&$n(re.sps[0],lr.sps[0])))&&(Pi.dts<re.timelineStartInfo.dts||(ci=yt.dts-Pi.dts-Pi.duration,ci>=-Rt&&ci<=Tt&&(!Wi||Zt>ci)&&(Wi=lr,Zt=ci)));return Wi?Wi.gop:null},this.alignGopsAtStart_=function(yt){var Tt,Rt,Zt,ci,Wi,Pi,lr,et;for(Wi=yt.byteLength,Pi=yt.nalCount,lr=yt.duration,Tt=Rt=0;Tt<Me.length&&Rt<yt.length&&(Zt=Me[Tt],ci=yt[Rt],Zt.pts!==ci.pts);){if(ci.pts>Zt.pts){Tt++;continue}Rt++,Wi-=ci.byteLength,Pi-=ci.nalCount,lr-=ci.duration}return Rt===0?yt:Rt===yt.length?null:(et=yt.slice(Rt),et.byteLength=Wi,et.duration=lr,et.nalCount=Pi,et.pts=et[0].pts,et.dts=et[0].dts,et)},this.alignGopsAtEnd_=function(yt){var Tt,Rt,Zt,ci,Wi,Pi;for(Tt=Me.length-1,Rt=yt.length-1,Wi=null,Pi=!1;Tt>=0&&Rt>=0;){if(Zt=Me[Tt],ci=yt[Rt],Zt.pts===ci.pts){Pi=!0;break}if(Zt.pts>ci.pts){Tt--;continue}Tt===Me.length-1&&(Wi=Rt),Rt--}if(!Pi&&Wi===null)return null;var lr;if(Pi?lr=Rt:lr=Wi,lr===0)return yt;var et=yt.slice(lr),Fr=et.reduce(function(hn,Xr){return hn.byteLength+=Xr.byteLength,hn.duration+=Xr.duration,hn.nalCount+=Xr.nalCount,hn},{byteLength:0,duration:0,nalCount:0});return et.byteLength=Fr.byteLength,et.duration=Fr.duration,et.nalCount=Fr.nalCount,et.pts=et[0].pts,et.dts=et[0].dts,et},this.alignGopsWith=function(yt){Me=yt}},fr.prototype=new Te,Qr=function(re,pe){this.numberOfTracks=0,this.metadataStream=pe,re=re||{},typeof re.remux<"u"?this.remuxTracks=!!re.remux:this.remuxTracks=!0,typeof re.keepOriginalTimestamps=="boolean"?this.keepOriginalTimestamps=re.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Qr.prototype.init.call(this),this.push=function(Se){if(Se.content||Se.text)return this.pendingCaptions.push(Se);if(Se.frames)return this.pendingMetadata.push(Se);this.pendingTracks.push(Se.track),this.pendingBytes+=Se.boxes.byteLength,Se.track.type==="video"&&(this.videoTrack=Se.track,this.pendingBoxes.push(Se.boxes)),Se.track.type==="audio"&&(this.audioTrack=Se.track,this.pendingBoxes.unshift(Se.boxes))}},Qr.prototype=new Te,Qr.prototype.flush=function(re){var pe=0,Se={captions:[],captionStreams:{},metadata:[],info:{}},_e,Me,Fe,dt=0,yt;if(this.pendingTracks.length<this.numberOfTracks){if(re!=="VideoSegmentStream"&&re!=="AudioSegmentStream")return;if(this.remuxTracks)return;if(this.pendingTracks.length===0){this.emittedTracks++,this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0);return}}if(this.videoTrack?(dt=this.videoTrack.timelineStartInfo.pts,yr.forEach(function(Tt){Se.info[Tt]=this.videoTrack[Tt]},this)):this.audioTrack&&(dt=this.audioTrack.timelineStartInfo.pts,Ki.forEach(function(Tt){Se.info[Tt]=this.audioTrack[Tt]},this)),this.videoTrack||this.audioTrack){for(this.pendingTracks.length===1?Se.type=this.pendingTracks[0].type:Se.type="combined",this.emittedTracks+=this.pendingTracks.length,Fe=Pe.initSegment(this.pendingTracks),Se.initSegment=new Uint8Array(Fe.byteLength),Se.initSegment.set(Fe),Se.data=new Uint8Array(this.pendingBytes),yt=0;yt<this.pendingBoxes.length;yt++)Se.data.set(this.pendingBoxes[yt],pe),pe+=this.pendingBoxes[yt].byteLength;for(yt=0;yt<this.pendingCaptions.length;yt++)_e=this.pendingCaptions[yt],_e.startTime=St.metadataTsToSeconds(_e.startPts,dt,this.keepOriginalTimestamps),_e.endTime=St.metadataTsToSeconds(_e.endPts,dt,this.keepOriginalTimestamps),Se.captionStreams[_e.stream]=!0,Se.captions.push(_e);for(yt=0;yt<this.pendingMetadata.length;yt++)Me=this.pendingMetadata[yt],Me.cueTime=St.metadataTsToSeconds(Me.pts,dt,this.keepOriginalTimestamps),Se.metadata.push(Me);for(Se.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",Se),yt=0;yt<Se.captions.length;yt++)_e=Se.captions[yt],this.trigger("caption",_e);for(yt=0;yt<Se.metadata.length;yt++)Me=Se.metadata[yt],this.trigger("id3Frame",Me)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Qr.prototype.setRemux=function(re){this.remuxTracks=re},jr=function(re){var pe=this,Se=!0,_e,Me;jr.prototype.init.call(this),re=re||{},this.baseMediaDecodeTime=re.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var Fe={};this.transmuxPipeline_=Fe,Fe.type="aac",Fe.metadataStream=new It.MetadataStream,Fe.aacStream=new bi,Fe.audioTimestampRolloverStream=new It.TimestampRolloverStream("audio"),Fe.timedMetadataTimestampRolloverStream=new It.TimestampRolloverStream("timed-metadata"),Fe.adtsStream=new Kt,Fe.coalesceStream=new Qr(re,Fe.metadataStream),Fe.headOfPipeline=Fe.aacStream,Fe.aacStream.pipe(Fe.audioTimestampRolloverStream).pipe(Fe.adtsStream),Fe.aacStream.pipe(Fe.timedMetadataTimestampRolloverStream).pipe(Fe.metadataStream).pipe(Fe.coalesceStream),Fe.metadataStream.on("timestamp",function(dt){Fe.aacStream.setTimestamp(dt.timeStamp)}),Fe.aacStream.on("data",function(dt){dt.type!=="timed-metadata"&&dt.type!=="audio"||Fe.audioSegmentStream||(Me=Me||{timelineStartInfo:{baseMediaDecodeTime:pe.baseMediaDecodeTime},codec:"adts",type:"audio"},Fe.coalesceStream.numberOfTracks++,Fe.audioSegmentStream=new Or(Me,re),Fe.audioSegmentStream.on("log",pe.getLogTrigger_("audioSegmentStream")),Fe.audioSegmentStream.on("timingInfo",pe.trigger.bind(pe,"audioTimingInfo")),Fe.adtsStream.pipe(Fe.audioSegmentStream).pipe(Fe.coalesceStream),pe.trigger("trackinfo",{hasAudio:!!Me,hasVideo:!!_e}))}),Fe.coalesceStream.on("data",this.trigger.bind(this,"data")),Fe.coalesceStream.on("done",this.trigger.bind(this,"done")),Tr(this,Fe)},this.setupTsPipeline=function(){var Fe={};this.transmuxPipeline_=Fe,Fe.type="ts",Fe.metadataStream=new It.MetadataStream,Fe.packetStream=new It.TransportPacketStream,Fe.parseStream=new It.TransportParseStream,Fe.elementaryStream=new It.ElementaryStream,Fe.timestampRolloverStream=new It.TimestampRolloverStream,Fe.adtsStream=new Kt,Fe.h264Stream=new di,Fe.captionStream=new It.CaptionStream(re),Fe.coalesceStream=new Qr(re,Fe.metadataStream),Fe.headOfPipeline=Fe.packetStream,Fe.packetStream.pipe(Fe.parseStream).pipe(Fe.elementaryStream).pipe(Fe.timestampRolloverStream),Fe.timestampRolloverStream.pipe(Fe.h264Stream),Fe.timestampRolloverStream.pipe(Fe.adtsStream),Fe.timestampRolloverStream.pipe(Fe.metadataStream).pipe(Fe.coalesceStream),Fe.h264Stream.pipe(Fe.captionStream).pipe(Fe.coalesceStream),Fe.elementaryStream.on("data",function(dt){var yt;if(dt.type==="metadata"){for(yt=dt.tracks.length;yt--;)!_e&&dt.tracks[yt].type==="video"?(_e=dt.tracks[yt],_e.timelineStartInfo.baseMediaDecodeTime=pe.baseMediaDecodeTime):!Me&&dt.tracks[yt].type==="audio"&&(Me=dt.tracks[yt],Me.timelineStartInfo.baseMediaDecodeTime=pe.baseMediaDecodeTime);_e&&!Fe.videoSegmentStream&&(Fe.coalesceStream.numberOfTracks++,Fe.videoSegmentStream=new fr(_e,re),Fe.videoSegmentStream.on("log",pe.getLogTrigger_("videoSegmentStream")),Fe.videoSegmentStream.on("timelineStartInfo",function(Tt){Me&&!re.keepOriginalTimestamps&&(Me.timelineStartInfo=Tt,Fe.audioSegmentStream.setEarliestDts(Tt.dts-pe.baseMediaDecodeTime))}),Fe.videoSegmentStream.on("processedGopsInfo",pe.trigger.bind(pe,"gopInfo")),Fe.videoSegmentStream.on("segmentTimingInfo",pe.trigger.bind(pe,"videoSegmentTimingInfo")),Fe.videoSegmentStream.on("baseMediaDecodeTime",function(Tt){Me&&Fe.audioSegmentStream.setVideoBaseMediaDecodeTime(Tt)}),Fe.videoSegmentStream.on("timingInfo",pe.trigger.bind(pe,"videoTimingInfo")),Fe.h264Stream.pipe(Fe.videoSegmentStream).pipe(Fe.coalesceStream)),Me&&!Fe.audioSegmentStream&&(Fe.coalesceStream.numberOfTracks++,Fe.audioSegmentStream=new Or(Me,re),Fe.audioSegmentStream.on("log",pe.getLogTrigger_("audioSegmentStream")),Fe.audioSegmentStream.on("timingInfo",pe.trigger.bind(pe,"audioTimingInfo")),Fe.audioSegmentStream.on("segmentTimingInfo",pe.trigger.bind(pe,"audioSegmentTimingInfo")),Fe.adtsStream.pipe(Fe.audioSegmentStream).pipe(Fe.coalesceStream)),pe.trigger("trackinfo",{hasAudio:!!Me,hasVideo:!!_e})}}),Fe.coalesceStream.on("data",this.trigger.bind(this,"data")),Fe.coalesceStream.on("id3Frame",function(dt){dt.dispatchType=Fe.metadataStream.dispatchType,pe.trigger("id3Frame",dt)}),Fe.coalesceStream.on("caption",this.trigger.bind(this,"caption")),Fe.coalesceStream.on("done",this.trigger.bind(this,"done")),Tr(this,Fe)},this.setBaseMediaDecodeTime=function(Fe){var dt=this.transmuxPipeline_;re.keepOriginalTimestamps||(this.baseMediaDecodeTime=Fe),Me&&(Me.timelineStartInfo.dts=void 0,Me.timelineStartInfo.pts=void 0,Ze.clearDtsInfo(Me),dt.audioTimestampRolloverStream&&dt.audioTimestampRolloverStream.discontinuity()),_e&&(dt.videoSegmentStream&&(dt.videoSegmentStream.gopCache_=[]),_e.timelineStartInfo.dts=void 0,_e.timelineStartInfo.pts=void 0,Ze.clearDtsInfo(_e),dt.captionStream.reset()),dt.timestampRolloverStream&&dt.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(Fe){Me&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(Fe)},this.setRemux=function(Fe){var dt=this.transmuxPipeline_;re.remux=Fe,dt&&dt.coalesceStream&&dt.coalesceStream.setRemux(Fe)},this.alignGopsWith=function(Fe){_e&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(Fe)},this.getLogTrigger_=function(Fe){var dt=this;return function(yt){yt.stream=Fe,dt.trigger("log",yt)}},this.push=function(Fe){if(Se){var dt=ri(Fe);dt&&this.transmuxPipeline_.type!=="aac"?this.setupAacPipeline():!dt&&this.transmuxPipeline_.type!=="ts"&&this.setupTsPipeline(),Se=!1}this.transmuxPipeline_.headOfPipeline.push(Fe)},this.flush=function(){Se=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},jr.prototype=new Te;var Lr={Transmuxer:jr,VideoSegmentStream:fr,AudioSegmentStream:Or,AUDIO_PROPERTIES:Ki,VIDEO_PROPERTIES:yr,generateSegmentTimingInfo:Sr},wa=function(re){return re>>>0},La=function(re){return("00"+re.toString(16)).slice(-2)},rn={toUnsigned:wa,toHexString:La},ra=function(re){var pe="";return pe+=String.fromCharCode(re[0]),pe+=String.fromCharCode(re[1]),pe+=String.fromCharCode(re[2]),pe+=String.fromCharCode(re[3]),pe},un=ra,Ln=rn.toUnsigned,Vn=un,Jr=function(re,pe){var Se=[],_e,Me,Fe,dt,yt;if(!pe.length)return null;for(_e=0;_e<re.byteLength;)Me=Ln(re[_e]<<24|re[_e+1]<<16|re[_e+2]<<8|re[_e+3]),Fe=Vn(re.subarray(_e+4,_e+8)),dt=Me>1?_e+Me:re.byteLength,Fe===pe[0]&&(pe.length===1?Se.push(re.subarray(_e+8,dt)):(yt=Jr(re.subarray(_e+8,dt),pe.slice(1)),yt.length&&(Se=Se.concat(yt)))),_e=dt;return Se},ha=Jr,Bn=rn.toUnsigned,An=l.getUint64,ln=function(re){var pe={version:re[0],flags:new Uint8Array(re.subarray(1,4))};return pe.version===1?pe.baseMediaDecodeTime=An(re.subarray(4)):pe.baseMediaDecodeTime=Bn(re[4]<<24|re[5]<<16|re[6]<<8|re[7]),pe},Ba=ln,Sa=function(re){return{isLeading:(re[0]&12)>>>2,dependsOn:re[0]&3,isDependedOn:(re[1]&192)>>>6,hasRedundancy:(re[1]&48)>>>4,paddingValue:(re[1]&14)>>>1,isNonSyncSample:re[1]&1,degradationPriority:re[2]<<8|re[3]}},Ir=Sa,da=Ir,_n=function(re){var pe={version:re[0],flags:new Uint8Array(re.subarray(1,4)),samples:[]},Se=new DataView(re.buffer,re.byteOffset,re.byteLength),_e=pe.flags[2]&1,Me=pe.flags[2]&4,Fe=pe.flags[1]&1,dt=pe.flags[1]&2,yt=pe.flags[1]&4,Tt=pe.flags[1]&8,Rt=Se.getUint32(4),Zt=8,ci;for(_e&&(pe.dataOffset=Se.getInt32(Zt),Zt+=4),Me&&Rt&&(ci={flags:da(re.subarray(Zt,Zt+4))},Zt+=4,Fe&&(ci.duration=Se.getUint32(Zt),Zt+=4),dt&&(ci.size=Se.getUint32(Zt),Zt+=4),Tt&&(pe.version===1?ci.compositionTimeOffset=Se.getInt32(Zt):ci.compositionTimeOffset=Se.getUint32(Zt),Zt+=4),pe.samples.push(ci),Rt--);Rt--;)ci={},Fe&&(ci.duration=Se.getUint32(Zt),Zt+=4),dt&&(ci.size=Se.getUint32(Zt),Zt+=4),yt&&(ci.flags=da(re.subarray(Zt,Zt+4)),Zt+=4),Tt&&(pe.version===1?ci.compositionTimeOffset=Se.getInt32(Zt):ci.compositionTimeOffset=Se.getUint32(Zt),Zt+=4),pe.samples.push(ci);return pe},na=_n,gs=function(re){var pe=new DataView(re.buffer,re.byteOffset,re.byteLength),Se={version:re[0],flags:new Uint8Array(re.subarray(1,4)),trackId:pe.getUint32(4)},_e=Se.flags[2]&1,Me=Se.flags[2]&2,Fe=Se.flags[2]&8,dt=Se.flags[2]&16,yt=Se.flags[2]&32,Tt=Se.flags[0]&65536,Rt=Se.flags[0]&131072,Zt;return Zt=8,_e&&(Zt+=4,Se.baseDataOffset=pe.getUint32(12),Zt+=4),Me&&(Se.sampleDescriptionIndex=pe.getUint32(Zt),Zt+=4),Fe&&(Se.defaultSampleDuration=pe.getUint32(Zt),Zt+=4),dt&&(Se.defaultSampleSize=pe.getUint32(Zt),Zt+=4),yt&&(Se.defaultSampleFlags=pe.getUint32(Zt)),Tt&&(Se.durationIsEmpty=!0),!_e&&Rt&&(Se.baseDataOffsetIsMoof=!0),Se},ns=gs,pa;typeof window<"u"?pa=window:typeof t<"u"?pa=t:typeof self<"u"?pa=self:pa={};var cn=pa,Ga=Xt.discardEmulationPreventionBytes,Wn=pi.CaptionStream,Gn=ha,ma=Ba,xn=na,aa=ns,ja=cn,vs=function(re,pe){for(var Se=re,_e=0;_e<pe.length;_e++){var Me=pe[_e];if(Se<Me.size)return Me;Se-=Me.size}return null},Oa=function(re,pe,Se){var _e=new DataView(re.buffer,re.byteOffset,re.byteLength),Me={logs:[],seiNals:[]},Fe,dt,yt,Tt;for(dt=0;dt+4<re.length;dt+=yt)if(yt=_e.getUint32(dt),dt+=4,!(yt<=0))switch(re[dt]&31){case 6:var Rt=re.subarray(dt+1,dt+1+yt),Zt=vs(dt,pe);if(Fe={nalUnitType:"sei_rbsp",size:yt,data:Rt,escapedRBSP:Ga(Rt),trackId:Se},Zt)Fe.pts=Zt.pts,Fe.dts=Zt.dts,Tt=Zt;else if(Tt)Fe.pts=Tt.pts,Fe.dts=Tt.dts;else{Me.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+dt+" for trackId "+Se+". See mux.js#223."});break}Me.seiNals.push(Fe);break}return Me},Kn=function(re,pe,Se){var _e=pe,Me=Se.defaultSampleDuration||0,Fe=Se.defaultSampleSize||0,dt=Se.trackId,yt=[];return re.forEach(function(Tt){var Rt=xn(Tt),Zt=Rt.samples;Zt.forEach(function(ci){ci.duration===void 0&&(ci.duration=Me),ci.size===void 0&&(ci.size=Fe),ci.trackId=dt,ci.dts=_e,ci.compositionTimeOffset===void 0&&(ci.compositionTimeOffset=0),typeof _e=="bigint"?(ci.pts=_e+ja.BigInt(ci.compositionTimeOffset),_e+=ja.BigInt(ci.duration)):(ci.pts=_e+ci.compositionTimeOffset,_e+=ci.duration)}),yt=yt.concat(Zt)}),yt},fn=function(re,pe){var Se=Gn(re,["moof","traf"]),_e=Gn(re,["mdat"]),Me={},Fe=[];return _e.forEach(function(dt,yt){var Tt=Se[yt];Fe.push({mdat:dt,traf:Tt})}),Fe.forEach(function(dt){var yt=dt.mdat,Tt=dt.traf,Rt=Gn(Tt,["tfhd"]),Zt=aa(Rt[0]),ci=Zt.trackId,Wi=Gn(Tt,["tfdt"]),Pi=Wi.length>0?ma(Wi[0]).baseMediaDecodeTime:0,lr=Gn(Tt,["trun"]),et,Fr;pe===ci&&lr.length>0&&(et=Kn(lr,Pi,Zt),Fr=Oa(yt,et,ci),Me[ci]||(Me[ci]={seiNals:[],logs:[]}),Me[ci].seiNals=Me[ci].seiNals.concat(Fr.seiNals),Me[ci].logs=Me[ci].logs.concat(Fr.logs))}),Me},as=function(re,pe,Se){var _e;if(pe===null)return null;_e=fn(re,pe);var Me=_e[pe]||{};return{seiNals:Me.seiNals,logs:Me.logs,timescale:Se}},Ka=function(){var re=!1,pe,Se,_e,Me,Fe,dt;this.isInitialized=function(){return re},this.init=function(yt){pe=new Wn,re=!0,dt=yt?yt.isPartial:!1,pe.on("data",function(Tt){Tt.startTime=Tt.startPts/Me,Tt.endTime=Tt.endPts/Me,Fe.captions.push(Tt),Fe.captionStreams[Tt.stream]=!0}),pe.on("log",function(Tt){Fe.logs.push(Tt)})},this.isNewInit=function(yt,Tt){return yt&&yt.length===0||Tt&&typeof Tt=="object"&&Object.keys(Tt).length===0?!1:_e!==yt[0]||Me!==Tt[_e]},this.parse=function(yt,Tt,Rt){var Zt;if(this.isInitialized()){if(!Tt||!Rt)return null;if(this.isNewInit(Tt,Rt))_e=Tt[0],Me=Rt[_e];else if(_e===null||!Me)return Se.push(yt),null}else return null;for(;Se.length>0;){var ci=Se.shift();this.parse(ci,Tt,Rt)}return Zt=as(yt,_e,Me),Zt&&Zt.logs&&(Fe.logs=Fe.logs.concat(Zt.logs)),Zt===null||!Zt.seiNals?Fe.logs.length?{logs:Fe.logs,captions:[],captionStreams:[]}:null:(this.pushNals(Zt.seiNals),this.flushStream(),Fe)},this.pushNals=function(yt){if(!this.isInitialized()||!yt||yt.length===0)return null;yt.forEach(function(Tt){pe.push(Tt)})},this.flushStream=function(){if(!this.isInitialized())return null;dt?pe.partialFlush():pe.flush()},this.clearParsedCaptions=function(){Fe.captions=[],Fe.captionStreams={},Fe.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;pe.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){Se=[],_e=null,Me=null,Fe?this.clearParsedCaptions():Fe={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},ss=Ka,_t=function(re){for(var pe=0,Se=String.fromCharCode(re[pe]),_e="";Se!=="\0";)_e+=Se,pe++,Se=String.fromCharCode(re[pe]);return _e+=Se,_e},Ht={uint8ToCString:_t},ti=Ht.uint8ToCString,ui=l.getUint64,mt=function(re){var pe=4,Se=re[0],_e,Me,Fe,dt,yt,Tt,Rt,Zt;if(Se===0){_e=ti(re.subarray(pe)),pe+=_e.length,Me=ti(re.subarray(pe)),pe+=Me.length;var ci=new DataView(re.buffer);Fe=ci.getUint32(pe),pe+=4,yt=ci.getUint32(pe),pe+=4,Tt=ci.getUint32(pe),pe+=4,Rt=ci.getUint32(pe),pe+=4}else if(Se===1){var ci=new DataView(re.buffer);Fe=ci.getUint32(pe),pe+=4,dt=ui(re.subarray(pe)),pe+=8,Tt=ci.getUint32(pe),pe+=4,Rt=ci.getUint32(pe),pe+=4,_e=ti(re.subarray(pe)),pe+=_e.length,Me=ti(re.subarray(pe)),pe+=Me.length}Zt=new Uint8Array(re.subarray(pe,re.byteLength));var Wi={scheme_id_uri:_e,value:Me,timescale:Fe||1,presentation_time:dt,presentation_time_delta:yt,event_duration:Tt,id:Rt,message_data:Zt};return Bt(Se,Wi)?Wi:void 0},Nt=function(re,pe,Se,_e){return re||re===0?re/pe:_e+Se/pe},Bt=function(re,pe){var Se=pe.scheme_id_uri!=="\0",_e=re===0&&_i(pe.presentation_time_delta)&&Se,Me=re===1&&_i(pe.presentation_time)&&Se;return!(re>1)&&_e||Me},_i=function(re){return re!==void 0||re!==null},Mi={parseEmsgBox:mt,scaleTime:Nt},Yi=rn.toUnsigned,Xi=rn.toHexString,Ui=ha,gr=un,ar=Mi,Er=ns,Hr=na,Yr=Ba,Vr=l.getUint64,nn,Mn,vr,Ps,ys,Fa,Ds,bs=cn,co=nr.parseId3Frames;nn=function(re){var pe={},Se=Ui(re,["moov","trak"]);return Se.reduce(function(_e,Me){var Fe,dt,yt,Tt,Rt;return Fe=Ui(Me,["tkhd"])[0],!Fe||(dt=Fe[0],yt=dt===0?12:20,Tt=Yi(Fe[yt]<<24|Fe[yt+1]<<16|Fe[yt+2]<<8|Fe[yt+3]),Rt=Ui(Me,["mdia","mdhd"])[0],!Rt)?null:(dt=Rt[0],yt=dt===0?12:20,_e[Tt]=Yi(Rt[yt]<<24|Rt[yt+1]<<16|Rt[yt+2]<<8|Rt[yt+3]),_e)},pe)},Mn=function(re,pe){var Se;Se=Ui(pe,["moof","traf"]);var _e=Se.reduce(function(Me,Fe){var dt=Ui(Fe,["tfhd"])[0],yt=Yi(dt[4]<<24|dt[5]<<16|dt[6]<<8|dt[7]),Tt=re[yt]||9e4,Rt=Ui(Fe,["tfdt"])[0],Zt=new DataView(Rt.buffer,Rt.byteOffset,Rt.byteLength),ci;Rt[0]===1?ci=Vr(Rt.subarray(4,12)):ci=Zt.getUint32(4);let Wi;return typeof ci=="bigint"?Wi=ci/bs.BigInt(Tt):typeof ci=="number"&&!isNaN(ci)&&(Wi=ci/Tt),Wi<Number.MAX_SAFE_INTEGER&&(Wi=Number(Wi)),Wi<Me&&(Me=Wi),Me},1/0);return typeof _e=="bigint"||isFinite(_e)?_e:0},vr=function(re,pe){var Se=Ui(pe,["moof","traf"]),_e=0,Me=0,Fe;if(Se&&Se.length){var dt=Ui(Se[0],["tfhd"])[0],yt=Ui(Se[0],["trun"])[0],Tt=Ui(Se[0],["tfdt"])[0];if(dt){var Rt=Er(dt);Fe=Rt.trackId}if(Tt){var Zt=Yr(Tt);_e=Zt.baseMediaDecodeTime}if(yt){var ci=Hr(yt);ci.samples&&ci.samples.length&&(Me=ci.samples[0].compositionTimeOffset||0)}}var Wi=re[Fe]||9e4;typeof _e=="bigint"&&(Me=bs.BigInt(Me),Wi=bs.BigInt(Wi));var Pi=(_e+Me)/Wi;return typeof Pi=="bigint"&&Pi<Number.MAX_SAFE_INTEGER&&(Pi=Number(Pi)),Pi},Ps=function(re){var pe=Ui(re,["moov","trak"]),Se=[];return pe.forEach(function(_e){var Me=Ui(_e,["mdia","hdlr"]),Fe=Ui(_e,["tkhd"]);Me.forEach(function(dt,yt){var Tt=gr(dt.subarray(8,12)),Rt=Fe[yt],Zt,ci,Wi;Tt==="vide"&&(Zt=new DataView(Rt.buffer,Rt.byteOffset,Rt.byteLength),ci=Zt.getUint8(0),Wi=ci===0?Zt.getUint32(12):Zt.getUint32(20),Se.push(Wi))})}),Se},Fa=function(re){var pe=re[0],Se=pe===0?12:20;return Yi(re[Se]<<24|re[Se+1]<<16|re[Se+2]<<8|re[Se+3])},ys=function(re){var pe=Ui(re,["moov","trak"]),Se=[];return pe.forEach(function(_e){var Me={},Fe=Ui(_e,["tkhd"])[0],dt,yt;Fe&&(dt=new DataView(Fe.buffer,Fe.byteOffset,Fe.byteLength),yt=dt.getUint8(0),Me.id=yt===0?dt.getUint32(12):dt.getUint32(20));var Tt=Ui(_e,["mdia","hdlr"])[0];if(Tt){var Rt=gr(Tt.subarray(8,12));Rt==="vide"?Me.type="video":Rt==="soun"?Me.type="audio":Me.type=Rt}var Zt=Ui(_e,["mdia","minf","stbl","stsd"])[0];if(Zt){var ci=Zt.subarray(8);Me.codec=gr(ci.subarray(4,8));var Wi=Ui(ci,[Me.codec])[0],Pi,lr;Wi&&(/^[asm]vc[1-9]$/i.test(Me.codec)?(Pi=Wi.subarray(78),lr=gr(Pi.subarray(4,8)),lr==="avcC"&&Pi.length>11?(Me.codec+=".",Me.codec+=Xi(Pi[9]),Me.codec+=Xi(Pi[10]),Me.codec+=Xi(Pi[11])):Me.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(Me.codec)?(Pi=Wi.subarray(28),lr=gr(Pi.subarray(4,8)),lr==="esds"&&Pi.length>20&&Pi[19]!==0?(Me.codec+="."+Xi(Pi[19]),Me.codec+="."+Xi(Pi[20]>>>2&63).replace(/^0/,"")):Me.codec="mp4a.40.2"):Me.codec=Me.codec.toLowerCase())}var et=Ui(_e,["mdia","mdhd"])[0];et&&(Me.timescale=Fa(et)),Se.push(Me)}),Se},Ds=function(re,pe=0){var Se=Ui(re,["emsg"]);return Se.map(_e=>{var Me=ar.parseEmsgBox(new Uint8Array(_e)),Fe=co(Me.message_data);return{cueTime:ar.scaleTime(Me.presentation_time,Me.timescale,Me.presentation_time_delta,pe),duration:ar.scaleTime(Me.event_duration,Me.timescale),frames:Fe}})};var Na={findBox:Ui,parseType:gr,timescale:nn,startTime:Mn,compositionStartTime:vr,videoTrackIds:Ps,tracks:ys,getTimescaleFromMediaHeader:Fa,getEmsgID3:Ds},Qn=Ii,Qa=function(re){var pe=re[1]&31;return pe<<=8,pe|=re[2],pe},Ya=function(re){return!!(re[1]&64)},Ta=function(re){var pe=0;return(re[3]&48)>>>4>1&&(pe+=re[4]+1),pe},Is=function(re,pe){var Se=Qa(re);return Se===0?"pat":Se===pe?"pmt":pe?"pes":null},Rs=function(re){var pe=Ya(re),Se=4+Ta(re);return pe&&(Se+=re[Se]+1),(re[Se+10]&31)<<8|re[Se+11]},os=function(re){var pe={},Se=Ya(re),_e=4+Ta(re);if(Se&&(_e+=re[_e]+1),!!(re[_e+5]&1)){var Me,Fe,dt;Me=(re[_e+1]&15)<<8|re[_e+2],Fe=3+Me-4,dt=(re[_e+10]&15)<<8|re[_e+11];for(var yt=12+dt;yt<Fe;){var Tt=_e+yt;pe[(re[Tt+1]&31)<<8|re[Tt+2]]=re[Tt],yt+=((re[Tt+3]&15)<<8|re[Tt+4])+5}return pe}},$s=function(re,pe){var Se=Qa(re),_e=pe[Se];switch(_e){case Qn.H264_STREAM_TYPE:return"video";case Qn.ADTS_STREAM_TYPE:return"audio";case Qn.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},Xa=function(re){var pe=Ya(re);if(!pe)return null;var Se=4+Ta(re);if(Se>=re.byteLength)return null;var _e=null,Me;return Me=re[Se+7],Me&192&&(_e={},_e.pts=(re[Se+9]&14)<<27|(re[Se+10]&255)<<20|(re[Se+11]&254)<<12|(re[Se+12]&255)<<5|(re[Se+13]&254)>>>3,_e.pts*=4,_e.pts+=(re[Se+13]&6)>>>1,_e.dts=_e.pts,Me&64&&(_e.dts=(re[Se+14]&14)<<27|(re[Se+15]&255)<<20|(re[Se+16]&254)<<12|(re[Se+17]&255)<<5|(re[Se+18]&254)>>>3,_e.dts*=4,_e.dts+=(re[Se+18]&6)>>>1)),_e},sa=function(re){switch(re){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},us=function(re){for(var pe=4+Ta(re),Se=re.subarray(pe),_e=0,Me=0,Fe=!1,dt;Me<Se.byteLength-3;Me++)if(Se[Me+2]===1){_e=Me+5;break}for(;_e<Se.byteLength;)switch(Se[_e]){case 0:if(Se[_e-1]!==0){_e+=2;break}else if(Se[_e-2]!==0){_e++;break}Me+3!==_e-2&&(dt=sa(Se[Me+3]&31),dt==="slice_layer_without_partitioning_rbsp_idr"&&(Fe=!0));do _e++;while(Se[_e]!==1&&_e<Se.length);Me=_e-2,_e+=3;break;case 1:if(Se[_e-1]!==0||Se[_e-2]!==0){_e+=3;break}dt=sa(Se[Me+3]&31),dt==="slice_layer_without_partitioning_rbsp_idr"&&(Fe=!0),Me=_e-2,_e+=3;break;default:_e+=3;break}return Se=Se.subarray(Me),_e-=Me,Me=0,Se&&Se.byteLength>3&&(dt=sa(Se[Me+3]&31),dt==="slice_layer_without_partitioning_rbsp_idr"&&(Fe=!0)),Fe},fo={parseType:Is,parsePat:Rs,parsePmt:os,parsePayloadUnitStartIndicator:Ya,parsePesType:$s,parsePesTime:Xa,videoPacketContainsKeyFrame:us},Ls=Ii,qa=Ti.handleRollover,Rr={};Rr.ts=fo,Rr.aac=fa;var Yn=ye.ONE_SECOND_IN_TS,en=188,Xn=71,Bs=function(re,pe){for(var Se=0,_e=en,Me,Fe;_e<re.byteLength;){if(re[Se]===Xn&&re[_e]===Xn){switch(Me=re.subarray(Se,_e),Fe=Rr.ts.parseType(Me,pe.pid),Fe){case"pat":pe.pid=Rr.ts.parsePat(Me);break;case"pmt":var dt=Rr.ts.parsePmt(Me);pe.table=pe.table||{},Object.keys(dt).forEach(function(yt){pe.table[yt]=dt[yt]});break}Se+=en,_e+=en;continue}Se++,_e++}},js=function(re,pe,Se){for(var _e=0,Me=en,Fe,dt,yt,Tt,Rt,Zt=!1;Me<=re.byteLength;){if(re[_e]===Xn&&(re[Me]===Xn||Me===re.byteLength)){switch(Fe=re.subarray(_e,Me),dt=Rr.ts.parseType(Fe,pe.pid),dt){case"pes":yt=Rr.ts.parsePesType(Fe,pe.table),Tt=Rr.ts.parsePayloadUnitStartIndicator(Fe),yt==="audio"&&Tt&&(Rt=Rr.ts.parsePesTime(Fe),Rt&&(Rt.type="audio",Se.audio.push(Rt),Zt=!0));break}if(Zt)break;_e+=en,Me+=en;continue}_e++,Me++}for(Me=re.byteLength,_e=Me-en,Zt=!1;_e>=0;){if(re[_e]===Xn&&(re[Me]===Xn||Me===re.byteLength)){switch(Fe=re.subarray(_e,Me),dt=Rr.ts.parseType(Fe,pe.pid),dt){case"pes":yt=Rr.ts.parsePesType(Fe,pe.table),Tt=Rr.ts.parsePayloadUnitStartIndicator(Fe),yt==="audio"&&Tt&&(Rt=Rr.ts.parsePesTime(Fe),Rt&&(Rt.type="audio",Se.audio.push(Rt),Zt=!0));break}if(Zt)break;_e-=en,Me-=en;continue}_e--,Me--}},ho=function(re,pe,Se){for(var _e=0,Me=en,Fe,dt,yt,Tt,Rt,Zt,ci,Wi,Pi=!1,lr={data:[],size:0};Me<re.byteLength;){if(re[_e]===Xn&&re[Me]===Xn){switch(Fe=re.subarray(_e,Me),dt=Rr.ts.parseType(Fe,pe.pid),dt){case"pes":if(yt=Rr.ts.parsePesType(Fe,pe.table),Tt=Rr.ts.parsePayloadUnitStartIndicator(Fe),yt==="video"&&(Tt&&!Pi&&(Rt=Rr.ts.parsePesTime(Fe),Rt&&(Rt.type="video",Se.video.push(Rt),Pi=!0)),!Se.firstKeyFrame)){if(Tt&&lr.size!==0){for(Zt=new Uint8Array(lr.size),ci=0;lr.data.length;)Wi=lr.data.shift(),Zt.set(Wi,ci),ci+=Wi.byteLength;if(Rr.ts.videoPacketContainsKeyFrame(Zt)){var et=Rr.ts.parsePesTime(Zt);et?(Se.firstKeyFrame=et,Se.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}lr.size=0}lr.data.push(Fe),lr.size+=Fe.byteLength}break}if(Pi&&Se.firstKeyFrame)break;_e+=en,Me+=en;continue}_e++,Me++}for(Me=re.byteLength,_e=Me-en,Pi=!1;_e>=0;){if(re[_e]===Xn&&re[Me]===Xn){switch(Fe=re.subarray(_e,Me),dt=Rr.ts.parseType(Fe,pe.pid),dt){case"pes":yt=Rr.ts.parsePesType(Fe,pe.table),Tt=Rr.ts.parsePayloadUnitStartIndicator(Fe),yt==="video"&&Tt&&(Rt=Rr.ts.parsePesTime(Fe),Rt&&(Rt.type="video",Se.video.push(Rt),Pi=!0));break}if(Pi)break;_e-=en,Me-=en;continue}_e--,Me--}},Wr=function(re,pe){if(re.audio&&re.audio.length){var Se=pe;(typeof Se>"u"||isNaN(Se))&&(Se=re.audio[0].dts),re.audio.forEach(function(Fe){Fe.dts=qa(Fe.dts,Se),Fe.pts=qa(Fe.pts,Se),Fe.dtsTime=Fe.dts/Yn,Fe.ptsTime=Fe.pts/Yn})}if(re.video&&re.video.length){var _e=pe;if((typeof _e>"u"||isNaN(_e))&&(_e=re.video[0].dts),re.video.forEach(function(Fe){Fe.dts=qa(Fe.dts,_e),Fe.pts=qa(Fe.pts,_e),Fe.dtsTime=Fe.dts/Yn,Fe.ptsTime=Fe.pts/Yn}),re.firstKeyFrame){var Me=re.firstKeyFrame;Me.dts=qa(Me.dts,_e),Me.pts=qa(Me.pts,_e),Me.dtsTime=Me.dts/Yn,Me.ptsTime=Me.pts/Yn}}},an=function(re){for(var pe=!1,Se=0,_e=null,Me=null,Fe=0,dt=0,yt;re.length-dt>=3;){var Tt=Rr.aac.parseType(re,dt);switch(Tt){case"timed-metadata":if(re.length-dt<10){pe=!0;break}if(Fe=Rr.aac.parseId3TagSize(re,dt),Fe>re.length){pe=!0;break}Me===null&&(yt=re.subarray(dt,dt+Fe),Me=Rr.aac.parseAacTimestamp(yt)),dt+=Fe;break;case"audio":if(re.length-dt<7){pe=!0;break}if(Fe=Rr.aac.parseAdtsSize(re,dt),Fe>re.length){pe=!0;break}_e===null&&(yt=re.subarray(dt,dt+Fe),_e=Rr.aac.parseSampleRate(yt)),Se++,dt+=Fe;break;default:dt++;break}if(pe)return null}if(_e===null||Me===null)return null;var Rt=Yn/_e,Zt={audio:[{type:"audio",dts:Me,pts:Me},{type:"audio",dts:Me+Se*1024*Rt,pts:Me+Se*1024*Rt}]};return Zt},po=function(re){var pe={pid:null,table:null},Se={};Bs(re,pe);for(var _e in pe.table)if(pe.table.hasOwnProperty(_e)){var Me=pe.table[_e];switch(Me){case Ls.H264_STREAM_TYPE:Se.video=[],ho(re,pe,Se),Se.video.length===0&&delete Se.video;break;case Ls.ADTS_STREAM_TYPE:Se.audio=[],js(re,pe,Se),Se.audio.length===0&&delete Se.audio;break}}return Se},mo=function(re,pe){var Se=Rr.aac.isLikelyAacData(re),_e;return Se?_e=an(re):_e=po(re),!_e||!_e.audio&&!_e.video?null:(Wr(_e,pe),_e)},Os={inspect:mo,parseAudioPes_:js};const go=function(re,pe){pe.on("data",function(Se){const _e=Se.initSegment;Se.initSegment={data:_e.buffer,byteOffset:_e.byteOffset,byteLength:_e.byteLength};const Me=Se.data;Se.data=Me.buffer,re.postMessage({action:"data",segment:Se,byteOffset:Me.byteOffset,byteLength:Me.byteLength},[Se.data])}),pe.on("done",function(Se){re.postMessage({action:"done"})}),pe.on("gopInfo",function(Se){re.postMessage({action:"gopInfo",gopInfo:Se})}),pe.on("videoSegmentTimingInfo",function(Se){const _e={start:{decode:ye.videoTsToSeconds(Se.start.dts),presentation:ye.videoTsToSeconds(Se.start.pts)},end:{decode:ye.videoTsToSeconds(Se.end.dts),presentation:ye.videoTsToSeconds(Se.end.pts)},baseMediaDecodeTime:ye.videoTsToSeconds(Se.baseMediaDecodeTime)};Se.prependedContentDuration&&(_e.prependedContentDuration=ye.videoTsToSeconds(Se.prependedContentDuration)),re.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:_e})}),pe.on("audioSegmentTimingInfo",function(Se){const _e={start:{decode:ye.videoTsToSeconds(Se.start.dts),presentation:ye.videoTsToSeconds(Se.start.pts)},end:{decode:ye.videoTsToSeconds(Se.end.dts),presentation:ye.videoTsToSeconds(Se.end.pts)},baseMediaDecodeTime:ye.videoTsToSeconds(Se.baseMediaDecodeTime)};Se.prependedContentDuration&&(_e.prependedContentDuration=ye.videoTsToSeconds(Se.prependedContentDuration)),re.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:_e})}),pe.on("id3Frame",function(Se){re.postMessage({action:"id3Frame",id3Frame:Se})}),pe.on("caption",function(Se){re.postMessage({action:"caption",caption:Se})}),pe.on("trackinfo",function(Se){re.postMessage({action:"trackinfo",trackInfo:Se})}),pe.on("audioTimingInfo",function(Se){re.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:ye.videoTsToSeconds(Se.start),end:ye.videoTsToSeconds(Se.end)}})}),pe.on("videoTimingInfo",function(Se){re.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:ye.videoTsToSeconds(Se.start),end:ye.videoTsToSeconds(Se.end)}})}),pe.on("log",function(Se){re.postMessage({action:"log",log:Se})})};class ls{constructor(pe,Se){this.options=Se||{},this.self=pe,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Lr.Transmuxer(this.options),go(this.self,this.transmuxer)}pushMp4Captions(pe){this.captionParser||(this.captionParser=new ss,this.captionParser.init());const Se=new Uint8Array(pe.data,pe.byteOffset,pe.byteLength),_e=this.captionParser.parse(Se,pe.trackIds,pe.timescales);this.self.postMessage({action:"mp4Captions",captions:_e&&_e.captions||[],logs:_e&&_e.logs||[],data:Se.buffer},[Se.buffer])}probeMp4StartTime({timescales:pe,data:Se}){const _e=Na.startTime(pe,Se);this.self.postMessage({action:"probeMp4StartTime",startTime:_e,data:Se},[Se.buffer])}probeMp4Tracks({data:pe}){const Se=Na.tracks(pe);this.self.postMessage({action:"probeMp4Tracks",tracks:Se,data:pe},[pe.buffer])}probeEmsgID3({data:pe,offset:Se}){const _e=Na.getEmsgID3(pe,Se);this.self.postMessage({action:"probeEmsgID3",id3Frames:_e,emsgData:pe},[pe.buffer])}probeTs({data:pe,baseStartTime:Se}){const _e=typeof Se=="number"&&!isNaN(Se)?Se*ye.ONE_SECOND_IN_TS:void 0,Me=Os.inspect(pe,_e);let Fe=null;Me&&(Fe={hasVideo:Me.video&&Me.video.length===2||!1,hasAudio:Me.audio&&Me.audio.length===2||!1},Fe.hasVideo&&(Fe.videoStart=Me.video[0].ptsTime),Fe.hasAudio&&(Fe.audioStart=Me.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:Fe,data:pe},[pe.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(pe){const Se=new Uint8Array(pe.data,pe.byteOffset,pe.byteLength);this.transmuxer.push(Se)}reset(){this.transmuxer.reset()}setTimestampOffset(pe){const Se=pe.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(ye.secondsToVideoTs(Se)))}setAudioAppendStart(pe){this.transmuxer.setAudioAppendStart(Math.ceil(ye.secondsToVideoTs(pe.appendStart)))}setRemux(pe){this.transmuxer.setRemux(pe.remux)}flush(pe){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(pe){this.transmuxer.alignGopsWith(pe.gopsToAlignWith.slice())}}self.onmessage=function(re){if(re.data.action==="init"&&re.data.options){this.messageHandlers=new ls(self,re.data.options);return}this.messageHandlers||(this.messageHandlers=new ls(self)),re.data&&re.data.action&&re.data.action!=="init"&&this.messageHandlers[re.data.action]&&this.messageHandlers[re.data.action](re.data)}}));var TransmuxWorker=factory(workerCode$1);const handleData_=(t,e,n)=>{const{type:o,initSegment:u,captions:l,captionStreams:m,metadata:y,videoFrameDtsTime:E,videoFramePtsTime:C}=t.data.segment;e.buffer.push({captions:l,captionStreams:m,metadata:y});const k=t.data.segment.boxes||{data:t.data.segment.data},A={type:o,data:new Uint8Array(k.data,k.data.byteOffset,k.data.byteLength),initSegment:new Uint8Array(u.data,u.byteOffset,u.byteLength)};typeof E<"u"&&(A.videoFrameDtsTime=E),typeof C<"u"&&(A.videoFramePtsTime=C),n(A)},handleDone_=({transmuxedData:t,callback:e})=>{t.buffer=[],e(t)},handleGopInfo_=(t,e)=>{e.gopInfo=t.data.gopInfo},processTransmux=t=>{const{transmuxer:e,bytes:n,audioAppendStart:o,gopsToAlignWith:u,remux:l,onData:m,onTrackInfo:y,onAudioTimingInfo:E,onVideoTimingInfo:C,onVideoSegmentTimingInfo:k,onAudioSegmentTimingInfo:A,onId3:D,onCaptions:P,onDone:R,onEndedTimeline:B,onTransmuxerLog:F,isEndOfTimeline:O,segment:N,triggerSegmentEventFn:Y}=t,J={buffer:[]};let ie=O;const ue=ce=>{e.currentTransmux===t&&(ce.data.action==="data"&&handleData_(ce,J,m),ce.data.action==="trackinfo"&&y(ce.data.trackInfo),ce.data.action==="gopInfo"&&handleGopInfo_(ce,J),ce.data.action==="audioTimingInfo"&&E(ce.data.audioTimingInfo),ce.data.action==="videoTimingInfo"&&C(ce.data.videoTimingInfo),ce.data.action==="videoSegmentTimingInfo"&&k(ce.data.videoSegmentTimingInfo),ce.data.action==="audioSegmentTimingInfo"&&A(ce.data.audioSegmentTimingInfo),ce.data.action==="id3Frame"&&D([ce.data.id3Frame],ce.data.id3Frame.dispatchType),ce.data.action==="caption"&&P(ce.data.caption),ce.data.action==="endedtimeline"&&(ie=!1,B()),ce.data.action==="log"&&F(ce.data.log),ce.data.type==="transmuxed"&&(ie||(e.onmessage=null,handleDone_({transmuxedData:J,callback:R}),dequeue(e))))},Q=()=>{const ce={message:"Received an error message from the transmuxer worker",metadata:{errorType:videojs.Error.StreamingFailedToTransmuxSegment,segmentInfo:segmentInfoPayload({segment:N})}};R(null,ce)};if(e.onmessage=ue,e.onerror=Q,o&&e.postMessage({action:"setAudioAppendStart",appendStart:o}),Array.isArray(u)&&e.postMessage({action:"alignGopsWith",gopsToAlignWith:u}),typeof l<"u"&&e.postMessage({action:"setRemux",remux:l}),n.byteLength){const ce=n instanceof ArrayBuffer?n:n.buffer,he=n instanceof ArrayBuffer?0:n.byteOffset;Y({type:"segmenttransmuxingstart",segment:N}),e.postMessage({action:"push",data:ce,byteOffset:he,byteLength:n.byteLength},[ce])}O&&e.postMessage({action:"endTimeline"}),e.postMessage({action:"flush"})},dequeue=t=>{t.currentTransmux=null,t.transmuxQueue.length&&(t.currentTransmux=t.transmuxQueue.shift(),typeof t.currentTransmux=="function"?t.currentTransmux():processTransmux(t.currentTransmux))},processAction=(t,e)=>{t.postMessage({action:e}),dequeue(t)},enqueueAction=(t,e)=>{if(!e.currentTransmux){e.currentTransmux=t,processAction(e,t);return}e.transmuxQueue.push(processAction.bind(null,e,t))},reset=t=>{enqueueAction("reset",t)},endTimeline=t=>{enqueueAction("endTimeline",t)},transmux=t=>{if(!t.transmuxer.currentTransmux){t.transmuxer.currentTransmux=t,processTransmux(t);return}t.transmuxer.transmuxQueue.push(t)},createTransmuxer=t=>{const e=new TransmuxWorker;e.currentTransmux=null,e.transmuxQueue=[];const n=e.terminate;return e.terminate=()=>(e.currentTransmux=null,e.transmuxQueue.length=0,n.call(e)),e.postMessage({action:"init",options:t}),e};var segmentTransmuxer={reset,endTimeline,transmux,createTransmuxer};const workerCallback=function(t){const e=t.transmuxer,n=t.endAction||t.action,o=t.callback,u=_extends$2({},t,{endAction:null,transmuxer:null,callback:null}),l=m=>{m.data.action===n&&(e.removeEventListener("message",l),m.data.data&&(m.data.data=new Uint8Array(m.data.data,t.byteOffset||0,t.byteLength||m.data.data.byteLength),t.data&&(t.data=m.data.data)),o(m.data))};if(e.addEventListener("message",l),t.data){const m=t.data instanceof ArrayBuffer;u.byteOffset=m?0:t.data.byteOffset,u.byteLength=t.data.byteLength;const y=[m?t.data:t.data.buffer];e.postMessage(u,y)}else e.postMessage(u)},REQUEST_ERRORS={FAILURE:2,TIMEOUT:-101,ABORTED:-102},abortAll=t=>{t.forEach(e=>{e.abort()})},getRequestStats=t=>({bandwidth:t.bandwidth,bytesReceived:t.bytesReceived||0,roundTripTime:t.roundTripTime||0}),getProgressStats=t=>{const e=t.target,o={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-e.requestTime||0};return o.bytesReceived=t.loaded,o.bandwidth=Math.floor(o.bytesReceived/o.roundTripTime*8*1e3),o},handleErrors=(t,e)=>{const{requestType:n}=e,o=getStreamingNetworkErrorMetadata({requestType:n,request:e,error:t});return e.timedout?{status:e.status,message:"HLS request timed-out at URL: "+e.uri,code:REQUEST_ERRORS.TIMEOUT,xhr:e,metadata:o}:e.aborted?{status:e.status,message:"HLS request aborted at URL: "+e.uri,code:REQUEST_ERRORS.ABORTED,xhr:e,metadata:o}:t?{status:e.status,message:"HLS request errored at URL: "+e.uri,code:REQUEST_ERRORS.FAILURE,xhr:e,metadata:o}:e.responseType==="arraybuffer"&&e.response.byteLength===0?{status:e.status,message:"Empty HLS response at URL: "+e.uri,code:REQUEST_ERRORS.FAILURE,xhr:e,metadata:o}:null},handleKeyResponse=(t,e,n,o)=>(u,l)=>{const m=l.response,y=handleErrors(u,l);if(y)return n(y,t);if(m.byteLength!==16)return n({status:l.status,message:"Invalid HLS key at URL: "+l.uri,code:REQUEST_ERRORS.FAILURE,xhr:l},t);const E=new DataView(m),C=new Uint32Array([E.getUint32(0),E.getUint32(4),E.getUint32(8),E.getUint32(12)]);for(let A=0;A<e.length;A++)e[A].bytes=C;const k={uri:l.uri};return o({type:"segmentkeyloadcomplete",segment:t,keyInfo:k}),n(null,t)},parseInitSegment=(t,e)=>{const n=detectContainerForBytes(t.map.bytes);if(n!=="mp4"){const o=t.map.resolvedUri||t.map.uri,u=n||"unknown";return e({internal:!0,message:`Found unsupported ${u} container for initialization segment at URL: ${o}`,code:REQUEST_ERRORS.FAILURE,metadata:{mediaType:u}})}workerCallback({action:"probeMp4Tracks",data:t.map.bytes,transmuxer:t.transmuxer,callback:({tracks:o,data:u})=>(t.map.bytes=u,o.forEach(function(l){t.map.tracks=t.map.tracks||{},!t.map.tracks[l.type]&&(t.map.tracks[l.type]=l,typeof l.id=="number"&&l.timescale&&(t.map.timescales=t.map.timescales||{},t.map.timescales[l.id]=l.timescale))}),e(null))})},handleInitSegmentResponse=({segment:t,finishProcessingFn:e,triggerSegmentEventFn:n})=>(o,u)=>{const l=handleErrors(o,u);if(l)return e(l,t);const m=new Uint8Array(u.response);if(n({type:"segmentloaded",segment:t}),t.map.key)return t.map.encryptedBytes=m,e(null,t);t.map.bytes=m,parseInitSegment(t,function(y){if(y)return y.xhr=u,y.status=u.status,e(y,t);e(null,t)})},handleSegmentResponse=({segment:t,finishProcessingFn:e,responseType:n,triggerSegmentEventFn:o})=>(u,l)=>{const m=handleErrors(u,l);if(m)return e(m,t);o({type:"segmentloaded",segment:t});const y=n==="arraybuffer"||!l.responseText?l.response:stringToArrayBuffer(l.responseText.substring(t.lastReachedChar||0));return t.stats=getRequestStats(l),t.key?t.encryptedBytes=new Uint8Array(y):t.bytes=new Uint8Array(y),e(null,t)},transmuxAndNotify=({segment:t,bytes:e,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k,doneFn:A,onTransmuxerLog:D,triggerSegmentEventFn:P})=>{const R=t.map&&t.map.tracks||{},B=!!(R.audio&&R.video);let F=o.bind(null,t,"audio","start");const O=o.bind(null,t,"audio","end");let N=o.bind(null,t,"video","start");const Y=o.bind(null,t,"video","end"),J=()=>transmux({bytes:e,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,remux:B,onData:ie=>{ie.type=ie.type==="combined"?"video":ie.type,k(t,ie)},onTrackInfo:ie=>{n&&(B&&(ie.isMuxed=!0),n(t,ie))},onAudioTimingInfo:ie=>{F&&typeof ie.start<"u"&&(F(ie.start),F=null),O&&typeof ie.end<"u"&&O(ie.end)},onVideoTimingInfo:ie=>{N&&typeof ie.start<"u"&&(N(ie.start),N=null),Y&&typeof ie.end<"u"&&Y(ie.end)},onVideoSegmentTimingInfo:ie=>{const ue={pts:{start:ie.start.presentation,end:ie.end.presentation},dts:{start:ie.start.decode,end:ie.end.decode}};P({type:"segmenttransmuxingtiminginfoavailable",segment:t,timingInfo:ue}),u(ie)},onAudioSegmentTimingInfo:ie=>{const ue={pts:{start:ie.start.pts,end:ie.end.pts},dts:{start:ie.start.dts,end:ie.end.dts}};P({type:"segmenttransmuxingtiminginfoavailable",segment:t,timingInfo:ue}),l(ie)},onId3:(ie,ue)=>{m(t,ie,ue)},onCaptions:ie=>{y(t,[ie])},isEndOfTimeline:E,onEndedTimeline:()=>{C()},onTransmuxerLog:D,onDone:(ie,ue)=>{A&&(ie.type=ie.type==="combined"?"video":ie.type,P({type:"segmenttransmuxingcomplete",segment:t}),A(ue,t,ie))},segment:t,triggerSegmentEventFn:P});workerCallback({action:"probeTs",transmuxer:t.transmuxer,data:e,baseStartTime:t.baseStartTime,callback:ie=>{t.bytes=e=ie.data;const ue=ie.result;ue&&(n(t,{hasAudio:ue.hasAudio,hasVideo:ue.hasVideo,isMuxed:B}),n=null),J()}})},handleSegmentBytes=({segment:t,bytes:e,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k,doneFn:A,onTransmuxerLog:D,triggerSegmentEventFn:P})=>{let R=new Uint8Array(e);if(isLikelyFmp4MediaSegment(R)){t.isFmp4=!0;const{tracks:B}=t.map,F={isFmp4:!0,hasVideo:!!B.video,hasAudio:!!B.audio};B.audio&&B.audio.codec&&B.audio.codec!=="enca"&&(F.audioCodec=B.audio.codec),B.video&&B.video.codec&&B.video.codec!=="encv"&&(F.videoCodec=B.video.codec),B.video&&B.audio&&(F.isMuxed=!0),n(t,F);const O=(N,Y)=>{k(t,{data:R,type:F.hasAudio&&!F.isMuxed?"audio":"video"}),Y&&Y.length&&m(t,Y),N&&N.length&&y(t,N),A(null,t,{})};workerCallback({action:"probeMp4StartTime",timescales:t.map.timescales,data:R,transmuxer:t.transmuxer,callback:({data:N,startTime:Y})=>{e=N.buffer,t.bytes=R=N,F.hasAudio&&!F.isMuxed&&o(t,"audio","start",Y),F.hasVideo&&o(t,"video","start",Y),workerCallback({action:"probeEmsgID3",data:R,transmuxer:t.transmuxer,offset:Y,callback:({emsgData:J,id3Frames:ie})=>{if(e=J.buffer,t.bytes=R=J,!B.video||!J.byteLength||!t.transmuxer){O(void 0,ie);return}workerCallback({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:t.transmuxer,data:R,timescales:t.map.timescales,trackIds:[B.video.id],callback:ue=>{e=ue.data.buffer,t.bytes=R=ue.data,ue.logs.forEach(function(Q){D(merge(Q,{stream:"mp4CaptionParser"}))}),O(ue.captions,ie)}})}})}});return}if(!t.transmuxer){A(null,t,{});return}if(typeof t.container>"u"&&(t.container=detectContainerForBytes(R)),t.container!=="ts"&&t.container!=="aac"){n(t,{hasAudio:!1,hasVideo:!1}),A(null,t,{});return}transmuxAndNotify({segment:t,bytes:e,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k,doneFn:A,onTransmuxerLog:D,triggerSegmentEventFn:P})},decrypt$1=function({id:t,key:e,encryptedBytes:n,decryptionWorker:o,segment:u,doneFn:l},m){const y=C=>{if(C.data.source===t){o.removeEventListener("message",y);const k=C.data.decrypted;m(new Uint8Array(k.bytes,k.byteOffset,k.byteLength))}};o.onerror=()=>{const C="An error occurred in the decryption worker",k=segmentInfoPayload({segment:u}),A={message:C,metadata:{error:new Error(C),errorType:videojs.Error.StreamingFailedToDecryptSegment,segmentInfo:k,keyInfo:{uri:u.key.resolvedUri||u.map.key.resolvedUri}}};l(A,u)},o.addEventListener("message",y);let E;e.bytes.slice?E=e.bytes.slice():E=new Uint32Array(Array.prototype.slice.call(e.bytes)),o.postMessage(createTransferableMessage({source:t,encrypted:n,key:E,iv:e.iv}),[n.buffer,E.buffer])},decryptSegment=({decryptionWorker:t,segment:e,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k,doneFn:A,onTransmuxerLog:D,triggerSegmentEventFn:P})=>{P({type:"segmentdecryptionstart"}),decrypt$1({id:e.requestId,key:e.key,encryptedBytes:e.encryptedBytes,decryptionWorker:t,segment:e,doneFn:A},R=>{e.bytes=R,P({type:"segmentdecryptioncomplete",segment:e}),handleSegmentBytes({segment:e,bytes:e.bytes,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k,doneFn:A,onTransmuxerLog:D,triggerSegmentEventFn:P})})},waitForCompletion=({activeXhrs:t,decryptionWorker:e,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k,doneFn:A,onTransmuxerLog:D,triggerSegmentEventFn:P})=>{let R=0,B=!1;return(F,O)=>{if(!B){if(F)return B=!0,abortAll(t),A(F,O);if(R+=1,R===t.length){const N=function(){if(O.encryptedBytes)return decryptSegment({decryptionWorker:e,segment:O,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k,doneFn:A,onTransmuxerLog:D,triggerSegmentEventFn:P});handleSegmentBytes({segment:O,bytes:O.bytes,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k,doneFn:A,onTransmuxerLog:D,triggerSegmentEventFn:P})};if(O.endOfAllRequests=Date.now(),O.map&&O.map.encryptedBytes&&!O.map.bytes)return P({type:"segmentdecryptionstart",segment:O}),decrypt$1({decryptionWorker:e,id:O.requestId+"-init",encryptedBytes:O.map.encryptedBytes,key:O.map.key,segment:O,doneFn:A},Y=>{O.map.bytes=Y,P({type:"segmentdecryptioncomplete",segment:O}),parseInitSegment(O,J=>{if(J)return abortAll(t),A(J,O);N()})});N()}}}},handleLoadEnd=({loadendState:t,abortFn:e})=>n=>{n.target.aborted&&e&&!t.calledAbortFn&&(e(),t.calledAbortFn=!0)},handleProgress=({segment:t,progressFn:e,trackInfoFn:n,timingInfoFn:o,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:l,id3Fn:m,captionsFn:y,isEndOfTimeline:E,endedTimelineFn:C,dataFn:k})=>A=>{if(!A.target.aborted)return t.stats=merge(t.stats,getProgressStats(A)),!t.stats.firstBytesReceivedAt&&t.stats.bytesReceived&&(t.stats.firstBytesReceivedAt=Date.now()),e(A,t)},mediaSegmentRequest=({xhr:t,xhrOptions:e,decryptionWorker:n,segment:o,abortFn:u,progressFn:l,trackInfoFn:m,timingInfoFn:y,videoSegmentTimingInfoFn:E,audioSegmentTimingInfoFn:C,id3Fn:k,captionsFn:A,isEndOfTimeline:D,endedTimelineFn:P,dataFn:R,doneFn:B,onTransmuxerLog:F,triggerSegmentEventFn:O})=>{const N=[],Y=waitForCompletion({activeXhrs:N,decryptionWorker:n,trackInfoFn:m,timingInfoFn:y,videoSegmentTimingInfoFn:E,audioSegmentTimingInfoFn:C,id3Fn:k,captionsFn:A,isEndOfTimeline:D,endedTimelineFn:P,dataFn:R,doneFn:B,onTransmuxerLog:F,triggerSegmentEventFn:O});if(o.key&&!o.key.bytes){const ce=[o.key];o.map&&!o.map.bytes&&o.map.key&&o.map.key.resolvedUri===o.key.resolvedUri&&ce.push(o.map.key);const he=merge(e,{uri:o.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),ke=handleKeyResponse(o,ce,Y,O),L={uri:o.key.resolvedUri};O({type:"segmentkeyloadstart",segment:o,keyInfo:L});const d=t(he,ke);N.push(d)}if(o.map&&!o.map.bytes){if(o.map.key&&(!o.key||o.key.resolvedUri!==o.map.key.resolvedUri)){const d=merge(e,{uri:o.map.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),v=handleKeyResponse(o,[o.map.key],Y,O),w={uri:o.map.key.resolvedUri};O({type:"segmentkeyloadstart",segment:o,keyInfo:w});const c=t(d,v);N.push(c)}const he=merge(e,{uri:o.map.resolvedUri,responseType:"arraybuffer",headers:segmentXhrHeaders(o.map),requestType:"segment-media-initialization"}),ke=handleInitSegmentResponse({segment:o,finishProcessingFn:Y,triggerSegmentEventFn:O});O({type:"segmentloadstart",segment:o});const L=t(he,ke);N.push(L)}const J=merge(e,{uri:o.part&&o.part.resolvedUri||o.resolvedUri,responseType:"arraybuffer",headers:segmentXhrHeaders(o),requestType:"segment"}),ie=handleSegmentResponse({segment:o,finishProcessingFn:Y,responseType:J.responseType,triggerSegmentEventFn:O});O({type:"segmentloadstart",segment:o});const ue=t(J,ie);ue.addEventListener("progress",handleProgress({segment:o,progressFn:l,trackInfoFn:m,timingInfoFn:y,videoSegmentTimingInfoFn:E,audioSegmentTimingInfoFn:C,id3Fn:k,captionsFn:A,isEndOfTimeline:D,endedTimelineFn:P,dataFn:R})),N.push(ue);const Q={};return N.forEach(ce=>{ce.addEventListener("loadend",handleLoadEnd({loadendState:Q,abortFn:u}))}),()=>abortAll(N)},logFn$1=logger("CodecUtils"),getCodecs=function(t){const e=t.attributes||{};if(e.CODECS)return parseCodecs(e.CODECS)},isMaat=(t,e)=>{const n=e.attributes||{};return t&&t.mediaGroups&&t.mediaGroups.AUDIO&&n.AUDIO&&t.mediaGroups.AUDIO[n.AUDIO]},isMuxed=(t,e)=>{if(!isMaat(t,e))return!0;const n=e.attributes||{},o=t.mediaGroups.AUDIO[n.AUDIO];for(const u in o)if(!o[u].uri&&!o[u].playlists)return!0;return!1},unwrapCodecList=function(t){const e={};return t.forEach(({mediaType:n,type:o,details:u})=>{e[n]=e[n]||[],e[n].push(translateLegacyCodec(`${o}${u}`))}),Object.keys(e).forEach(function(n){if(e[n].length>1){logFn$1(`multiple ${n} codecs found as attributes: ${e[n].join(", ")}. Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.`),e[n]=null;return}e[n]=e[n][0]}),e},codecCount=function(t){let e=0;return t.audio&&e++,t.video&&e++,e},codecsForPlaylist=function(t,e){const n=e.attributes||{},o=unwrapCodecList(getCodecs(e)||[]);if(isMaat(t,e)&&!o.audio&&!isMuxed(t,e)){const u=unwrapCodecList(codecsFromDefault(t,n.AUDIO)||[]);u.audio&&(o.audio=u.audio)}return o},logFn=logger("PlaylistSelector"),representationToString=function(t){if(!t||!t.playlist)return;const e=t.playlist;return JSON.stringify({id:e.id,bandwidth:t.bandwidth,width:t.width,height:t.height,codecs:e.attributes&&e.attributes.CODECS||""})},safeGetComputedStyle=function(t,e){if(!t)return"";const n=window$1$1.getComputedStyle(t);return n?n[e]:""},stableSort=function(t,e){const n=t.slice();t.sort(function(o,u){const l=e(o,u);return l===0?n.indexOf(o)-n.indexOf(u):l})},comparePlaylistBandwidth=function(t,e){let n,o;return t.attributes.BANDWIDTH&&(n=t.attributes.BANDWIDTH),n=n||window$1$1.Number.MAX_VALUE,e.attributes.BANDWIDTH&&(o=e.attributes.BANDWIDTH),o=o||window$1$1.Number.MAX_VALUE,n-o},comparePlaylistResolution=function(t,e){let n,o;return t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(n=t.attributes.RESOLUTION.width),n=n||window$1$1.Number.MAX_VALUE,e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(o=e.attributes.RESOLUTION.width),o=o||window$1$1.Number.MAX_VALUE,n===o&&t.attributes.BANDWIDTH&&e.attributes.BANDWIDTH?t.attributes.BANDWIDTH-e.attributes.BANDWIDTH:n-o};let simpleSelector=function(t,e,n,o,u,l){if(!t)return;const m={bandwidth:e,width:n,height:o,limitRenditionByPlayerDimensions:u};let y=t.playlists;Playlist.isAudioOnly(t)&&(y=l.getAudioTrackPlaylists_(),m.audioOnly=!0);let E=y.map(ie=>{let ue;const Q=ie.attributes&&ie.attributes.RESOLUTION&&ie.attributes.RESOLUTION.width,ce=ie.attributes&&ie.attributes.RESOLUTION&&ie.attributes.RESOLUTION.height;return ue=ie.attributes&&ie.attributes.BANDWIDTH,ue=ue||window$1$1.Number.MAX_VALUE,{bandwidth:ue,width:Q,height:ce,playlist:ie}});stableSort(E,(ie,ue)=>ie.bandwidth-ue.bandwidth),E=E.filter(ie=>!Playlist.isIncompatible(ie.playlist));let C=E.filter(ie=>Playlist.isEnabled(ie.playlist));C.length||(C=E.filter(ie=>!Playlist.isDisabled(ie.playlist)));const k=C.filter(ie=>ie.bandwidth*Config.BANDWIDTH_VARIANCE<e);let A=k[k.length-1];const D=k.filter(ie=>ie.bandwidth===A.bandwidth)[0];if(u===!1){const ie=D||C[0]||E[0];if(ie&&ie.playlist){let ue="sortedPlaylistReps";return D&&(ue="bandwidthBestRep"),C[0]&&(ue="enabledPlaylistReps"),logFn(`choosing ${representationToString(ie)} using ${ue} with options`,m),ie.playlist}return logFn("could not choose a playlist with options",m),null}const P=k.filter(ie=>ie.width&&ie.height);stableSort(P,(ie,ue)=>ie.width-ue.width);const R=P.filter(ie=>ie.width===n&&ie.height===o);A=R[R.length-1];const B=R.filter(ie=>ie.bandwidth===A.bandwidth)[0];let F,O,N;B||(F=P.filter(ie=>ie.width>n||ie.height>o),O=F.filter(ie=>ie.width===F[0].width&&ie.height===F[0].height),A=O[O.length-1],N=O.filter(ie=>ie.bandwidth===A.bandwidth)[0]);let Y;if(l.leastPixelDiffSelector){const ie=P.map(ue=>(ue.pixelDiff=Math.abs(ue.width-n)+Math.abs(ue.height-o),ue));stableSort(ie,(ue,Q)=>ue.pixelDiff===Q.pixelDiff?Q.bandwidth-ue.bandwidth:ue.pixelDiff-Q.pixelDiff),Y=ie[0]}const J=Y||N||B||D||C[0]||E[0];if(J&&J.playlist){let ie="sortedPlaylistReps";return Y?ie="leastPixelDiffRep":N?ie="resolutionPlusOneRep":B?ie="resolutionBestRep":D?ie="bandwidthBestRep":C[0]&&(ie="enabledPlaylistReps"),logFn(`choosing ${representationToString(J)} using ${ie} with options`,m),J.playlist}return logFn("could not choose a playlist with options",m),null};const lastBandwidthSelector=function(){let t=this.useDevicePixelRatio&&window$1$1.devicePixelRatio||1;return isNaN(this.customPixelRatio)||(t=this.customPixelRatio),simpleSelector(this.playlists.main,this.systemBandwidth,parseInt(safeGetComputedStyle(this.tech_.el(),"width"),10)*t,parseInt(safeGetComputedStyle(this.tech_.el(),"height"),10)*t,this.limitRenditionByPlayerDimensions,this.playlistController_)},movingAverageBandwidthSelector=function(t){let e=-1,n=-1;if(t<0||t>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){let o=this.useDevicePixelRatio&&window$1$1.devicePixelRatio||1;return isNaN(this.customPixelRatio)||(o=this.customPixelRatio),e<0&&(e=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(e=t*this.systemBandwidth+(1-t)*e,n=this.systemBandwidth),simpleSelector(this.playlists.main,e,parseInt(safeGetComputedStyle(this.tech_.el(),"width"),10)*o,parseInt(safeGetComputedStyle(this.tech_.el(),"height"),10)*o,this.limitRenditionByPlayerDimensions,this.playlistController_)}},minRebufferMaxBandwidthSelector=function(t){const{main:e,currentTime:n,bandwidth:o,duration:u,segmentDuration:l,timeUntilRebuffer:m,currentTimeline:y,syncController:E}=t,C=e.playlists.filter(R=>!Playlist.isIncompatible(R));let k=C.filter(Playlist.isEnabled);k.length||(k=C.filter(R=>!Playlist.isDisabled(R)));const D=k.filter(Playlist.hasAttribute.bind(null,"BANDWIDTH")).map(R=>{const F=E.getSyncPoint(R,u,y,n)?1:2,N=Playlist.estimateSegmentRequestTime(l,o,R)*F-m;return{playlist:R,rebufferingImpact:N}}),P=D.filter(R=>R.rebufferingImpact<=0);return stableSort(P,(R,B)=>comparePlaylistBandwidth(B.playlist,R.playlist)),P.length?P[0]:(stableSort(D,(R,B)=>R.rebufferingImpact-B.rebufferingImpact),D[0]||null)},lowestBitrateCompatibleVariantSelector=function(){const t=this.playlists.main.playlists.filter(Playlist.isEnabled);return stableSort(t,(n,o)=>comparePlaylistBandwidth(n,o)),t.filter(n=>!!codecsForPlaylist(this.playlists.main,n).video)[0]||null},concatSegments=t=>{let e=0,n;return t.bytes&&(n=new Uint8Array(t.bytes),t.segments.forEach(o=>{n.set(o,e),e+=o.byteLength})),n};function compactSegmentUrlDescription(t){try{return new URL(t).pathname.split("/").slice(-2).join("/")}catch{return""}}const createCaptionsTrackIfNotExists=function(t,e,n){if(!t[n]){e.trigger({type:"usage",name:"vhs-608"});let o=n;/^cc708_/.test(n)&&(o="SERVICE"+n.split("_")[1]);const u=e.textTracks().getTrackById(o);if(u)t[n]=u;else{const l=e.options_.vhs&&e.options_.vhs.captionServices||{};let m=n,y=n,E=!1;const C=l[o];C&&(m=C.label,y=C.language,E=C.default),t[n]=e.addRemoteTextTrack({kind:"captions",id:o,default:E,label:m,language:y},!1).track}}},addCaptionData=function({inbandTextTracks:t,captionArray:e,timestampOffset:n}){if(!e)return;const o=window$1$1.WebKitDataCue||window$1$1.VTTCue;e.forEach(u=>{const l=u.stream;u.content?u.content.forEach(m=>{const y=new o(u.startTime+n,u.endTime+n,m.text);y.line=m.line,y.align="left",y.position=m.position,y.positionAlign="line-left",t[l].addCue(y)}):t[l].addCue(new o(u.startTime+n,u.endTime+n,u.text))})},deprecateOldCue=function(t){Object.defineProperties(t.frame,{id:{get(){return videojs.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),t.value.key}},value:{get(){return videojs.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),t.value.data}},privateData:{get(){return videojs.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),t.value.data}}})},addMetadata=({inbandTextTracks:t,metadataArray:e,timestampOffset:n,videoDuration:o})=>{if(!e)return;const u=window$1$1.WebKitDataCue||window$1$1.VTTCue,l=t.metadataTrack_;if(!l||(e.forEach(k=>{const A=k.cueTime+n;typeof A!="number"||window$1$1.isNaN(A)||A<0||!(A<1/0)||!k.frames||!k.frames.length||k.frames.forEach(D=>{const P=new u(A,A,D.value||D.url||D.data||"");P.frame=D,P.value=D,deprecateOldCue(P),l.addCue(P)})}),!l.cues||!l.cues.length))return;const m=l.cues,y=[];for(let k=0;k<m.length;k++)m[k]&&y.push(m[k]);const E=y.reduce((k,A)=>{const D=k[A.startTime]||[];return D.push(A),k[A.startTime]=D,k},{}),C=Object.keys(E).sort((k,A)=>Number(k)-Number(A));C.forEach((k,A)=>{const D=E[k],P=isFinite(o)?o:k,R=Number(C[A+1])||P;D.forEach(B=>{B.endTime=R})})},dateRangeAttr={id:"ID",class:"CLASS",startDate:"START-DATE",duration:"DURATION",endDate:"END-DATE",endOnNext:"END-ON-NEXT",plannedDuration:"PLANNED-DURATION",scte35Out:"SCTE35-OUT",scte35In:"SCTE35-IN"},dateRangeKeysToOmit=new Set(["id","class","startDate","duration","endDate","endOnNext","startTime","endTime","processDateRange"]),addDateRangeMetadata=({inbandTextTracks:t,dateRanges:e})=>{const n=t.metadataTrack_;if(!n)return;const o=window$1$1.WebKitDataCue||window$1$1.VTTCue;e.forEach(u=>{for(const l of Object.keys(u)){if(dateRangeKeysToOmit.has(l))continue;const m=new o(u.startTime,u.endTime,"");m.id=u.id,m.type="com.apple.quicktime.HLS",m.value={key:dateRangeAttr[l],data:u[l]},(l==="scte35Out"||l==="scte35In")&&(m.value.data=new Uint8Array(m.value.data.match(/[\da-f]{2}/gi)).buffer),n.addCue(m)}u.processDateRange()})},createMetadataTrackIfNotExists=(t,e,n)=>{t.metadataTrack_||(t.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,videojs.browser.IS_ANY_SAFARI||(t.metadataTrack_.inBandMetadataTrackDispatchType=e))},removeCuesFromTrack=function(t,e,n){let o,u;if(n&&n.cues)for(o=n.cues.length;o--;)u=n.cues[o],u.startTime>=t&&u.endTime<=e&&n.removeCue(u)},removeDuplicateCuesFromTrack=function(t){const e=t.cues;if(!e)return;const n={};for(let o=e.length-1;o>=0;o--){const u=e[o],l=`${u.startTime}-${u.endTime}-${u.text}`;n[l]?t.removeCue(u):n[l]=u}},gopsSafeToAlignWith=(t,e,n)=>{if(typeof e>"u"||e===null||!t.length)return[];const o=Math.ceil((e-n+3)*clock.ONE_SECOND_IN_TS);let u;for(u=0;u<t.length&&!(t[u].pts>o);u++);return t.slice(u)},updateGopBuffer=(t,e,n)=>{if(!e.length)return t;if(n)return e.slice();const o=e[0].pts;let u=0;for(u;u<t.length&&!(t[u].pts>=o);u++);return t.slice(0,u).concat(e)},removeGopBuffer=(t,e,n,o)=>{const u=Math.ceil((e-o)*clock.ONE_SECOND_IN_TS),l=Math.ceil((n-o)*clock.ONE_SECOND_IN_TS),m=t.slice();let y=t.length;for(;y--&&!(t[y].pts<=l););if(y===-1)return m;let E=y+1;for(;E--&&!(t[E].pts<=u););return E=Math.max(E,0),m.splice(E,y-E+1),m},shallowEqual=function(t,e){if(!t&&!e||!t&&e||t&&!e)return!1;if(t===e)return!0;const n=Object.keys(t).sort(),o=Object.keys(e).sort();if(n.length!==o.length)return!1;for(let u=0;u<n.length;u++){const l=n[u];if(l!==o[u]||t[l]!==e[l])return!1}return!0},getSyncSegmentCandidate=function(t,e,n){e=e||[];const o=[];let u=0;for(let l=0;l<e.length;l++){const m=e[l];if(t===m.timeline&&(o.push(l),u+=m.duration,u>n))return l}return o.length===0?0:o[o.length-1]},MIN_BACK_BUFFER=1,CHECK_BUFFER_DELAY=500,finite=t=>typeof t=="number"&&isFinite(t),MIN_SEGMENT_DURATION_TO_SAVE_STATS=1/60,illegalMediaSwitch=(t,e,n)=>t!=="main"||!e||!n?null:!n.hasAudio&&!n.hasVideo?"Neither audio nor video found in segment.":e.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!e.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null,safeBackBufferTrimTime=(t,e,n)=>{let o=e-Config.BACK_BUFFER_LENGTH;t.length&&(o=Math.max(o,t.start(0)));const u=e-n;return Math.min(u,o)},segmentInfoString=t=>{const{startOfSegment:e,duration:n,segment:o,part:u,playlist:{mediaSequence:l,id:m,segments:y=[]},mediaIndex:E,partIndex:C,timeline:k}=t,A=y.length-1;let D="mediaIndex/partIndex increment";t.getMediaInfoForTime?D=`getMediaInfoForTime (${t.getMediaInfoForTime})`:t.isSyncRequest&&(D="getSyncSegmentCandidate (isSyncRequest)"),t.independent&&(D+=` with independent ${t.independent}`);const P=typeof C=="number",R=t.segment.uri?"segment":"pre-segment",B=P?getKnownPartCount({preloadSegment:o})-1:0;return`${R} [${l+E}/${l+A}]`+(P?` part [${C}/${B}]`:"")+` segment start/end [${o.start} => ${o.end}]`+(P?` part start/end [${u.start} => ${u.end}]`:"")+` startOfSegment [${e}] duration [${n}] timeline [${k}] selected by [${D}] playlist [${m}]`},timingInfoPropertyForMedia=t=>`${t}TimingInfo`,timestampOffsetForSegment=({segmentTimeline:t,currentTimeline:e,startOfSegment:n,buffered:o,overrideCheck:u})=>!u&&t===e?null:t<e?n:o.length?o.end(o.length-1):n,shouldWaitForTimelineChange=({timelineChangeController:t,currentTimeline:e,segmentTimeline:n,loaderType:o,audioDisabled:u})=>{if(e===n)return!1;if(o==="audio"){const l=t.lastTimelineChange({type:"main"});return!l||l.to!==n}if(o==="main"&&u){const l=t.pendingTimelineChange({type:"audio"});return!(l&&l.to===n)}return!1},shouldFixBadTimelineChanges=t=>{if(!t)return!1;const e=t.pendingTimelineChange({type:"audio"}),n=t.pendingTimelineChange({type:"main"}),o=e&&n,u=o&&e.to!==n.to;return!!(o&&e.from!==-1&&n.from!==-1&&u)},fixBadTimelineChange=t=>{t&&(t.pause(),t.resetEverything(),t.load())},isAudioTimelineBehind=t=>{const e=t.timelineChangeController_.pendingTimelineChange({type:"audio"}),n=t.timelineChangeController_.pendingTimelineChange({type:"main"});return e&&n&&e.to<n.to},checkAndFixTimelines=t=>{const e=t.pendingSegment_;if(!e)return;if(shouldWaitForTimelineChange({timelineChangeController:t.timelineChangeController_,currentTimeline:t.currentTimeline_,segmentTimeline:e.timeline,loaderType:t.loaderType_,audioDisabled:t.audioDisabled_})&&shouldFixBadTimelineChanges(t.timelineChangeController_)){if(isAudioTimelineBehind(t)){t.timelineChangeController_.trigger("audioTimelineBehind");return}fixBadTimelineChange(t)}},mediaDuration=t=>{let e=0;return["video","audio"].forEach(function(n){const o=t[`${n}TimingInfo`];if(!o)return;const{start:u,end:l}=o;let m;typeof u=="bigint"||typeof l=="bigint"?m=window$1$1.BigInt(l)-window$1$1.BigInt(u):typeof u=="number"&&typeof l=="number"&&(m=l-u),typeof m<"u"&&m>e&&(e=m)}),typeof e=="bigint"&&e<Number.MAX_SAFE_INTEGER&&(e=Number(e)),e},segmentTooLong=({segmentDuration:t,maxDuration:e})=>t?Math.round(t)>e+TIME_FUDGE_FACTOR:!1,getTroublesomeSegmentDurationMessage=(t,e)=>{if(e!=="hls")return null;const n=mediaDuration({audioTimingInfo:t.audioTimingInfo,videoTimingInfo:t.videoTimingInfo});if(!n)return null;const o=t.playlist.targetDuration,u=segmentTooLong({segmentDuration:n,maxDuration:o*2}),l=segmentTooLong({segmentDuration:n,maxDuration:o}),m=`Segment with index ${t.mediaIndex} from playlist ${t.playlist.id} has a duration of ${n} when the reported duration is ${t.duration} and the target duration is ${o}. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1`;return u||l?{severity:u?"warn":"info",message:m}:null},segmentInfoPayload=({type:t,segment:e})=>{if(!e)return;const n=!!(e.key||e.map&&e.map.ke),o=!!(e.map&&!e.map.bytes),u=e.startOfSegment===void 0?e.start:e.startOfSegment;return{type:t||e.type,uri:e.resolvedUri||e.uri,start:u,duration:e.duration,isEncrypted:n,isMediaInitialization:o}};class SegmentLoader extends videojs.EventTarget{constructor(e,n={}){if(super(),!e)throw new TypeError("Initialization settings are required");if(typeof e.currentTime!="function")throw new TypeError("No currentTime getter specified");if(!e.mediaSource)throw new TypeError("No MediaSource specified");this.bandwidth=e.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.partIndex=null,this.hasPlayed_=e.hasPlayed,this.currentTime_=e.currentTime,this.seekable_=e.seekable,this.seeking_=e.seeking,this.duration_=e.duration,this.mediaSource_=e.mediaSource,this.vhs_=e.vhs,this.loaderType_=e.loaderType,this.currentMediaInfo_=void 0,this.startingMediaInfo_=void 0,this.segmentMetadataTrack_=e.segmentMetadataTrack,this.goalBufferLength_=e.goalBufferLength,this.sourceType_=e.sourceType,this.sourceUpdater_=e.sourceUpdater,this.inbandTextTracks_=e.inbandTextTracks,this.state_="INIT",this.timelineChangeController_=e.timelineChangeController,this.shouldSaveSegmentTimingInfo_=!0,this.parse708captions_=e.parse708captions,this.useDtsForTimestampOffset_=e.useDtsForTimestampOffset,this.captionServices_=e.captionServices,this.exactManifestTimings=e.exactManifestTimings,this.addMetadataToTextTrack=e.addMetadataToTextTrack,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.shouldForceTimestampOffsetAfterResync_=!1,this.pendingSegment_=null,this.xhrOptions_=null,this.pendingSegments_=[],this.audioDisabled_=!1,this.isPendingTimestampOffset_=!1,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=!1,this.appendInitSegment_={audio:!0,video:!0},this.playlistOfLastInitSegment_={audio:null,video:null},this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_={id3:[],caption:[]},this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.cacheEncryptionKeys_=e.cacheEncryptionKeys,this.keyCache_={},this.decrypter_=e.decrypter,this.syncController_=e.syncController,this.syncPoint_={segmentIndex:0,time:0},this.transmuxer_=this.createTransmuxer_(),this.triggerSyncInfoUpdate_=()=>this.trigger("syncinfoupdate"),this.syncController_.on("syncinfoupdate",this.triggerSyncInfoUpdate_),this.mediaSource_.addEventListener("sourceopen",()=>{this.isEndOfStream_()||(this.ended_=!1)}),this.fetchAtBuffer_=!1,this.logger_=logger(`SegmentLoader[${this.loaderType_}]`),Object.defineProperty(this,"state",{get(){return this.state_},set(o){o!==this.state_&&(this.logger_(`${this.state_} -> ${o}`),this.state_=o,this.trigger("statechange"))}}),this.sourceUpdater_.on("ready",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():checkAndFixTimelines(this)}),this.sourceUpdater_.on("codecschange",o=>{this.trigger(_extends$2({type:"codecschange"},o))}),this.loaderType_==="main"&&this.timelineChangeController_.on("pendingtimelinechange",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():checkAndFixTimelines(this)}),this.loaderType_==="audio"&&this.timelineChangeController_.on("timelinechange",o=>{this.trigger(_extends$2({type:"timelinechange"},o)),this.hasEnoughInfoToLoad_()?this.processLoadQueue_():checkAndFixTimelines(this),this.hasEnoughInfoToAppend_()?this.processCallQueue_():checkAndFixTimelines(this)})}get mediaSequenceSync_(){return this.syncController_.getMediaSequenceSync(this.loaderType_)}createTransmuxer_(){return segmentTransmuxer.createTransmuxer({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})}resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0}dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&window$1$1.clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}setAudio(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())}abort(){if(this.state!=="WAITING"){this.pendingSegment_&&(this.pendingSegment_=null);return}this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()}abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,window$1$1.clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null}checkForAbort_(e){return this.state==="APPENDING"&&!this.pendingSegment_?(this.state="READY",!0):!this.pendingSegment_||this.pendingSegment_.requestId!==e}error(e){return typeof e<"u"&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_}endOfStream(){this.ended_=!0,this.transmuxer_&&segmentTransmuxer.reset(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")}buffered_(){const e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return createTimeRanges();if(this.loaderType_==="main"){const{hasAudio:n,hasVideo:o,isMuxed:u}=e;if(o&&n&&!this.audioDisabled_&&!u)return this.sourceUpdater_.buffered();if(o)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()}initSegmentForMap(e,n=!1){if(!e)return null;const o=initSegmentId(e);let u=this.initSegments_[o];return n&&!u&&e.bytes&&(this.initSegments_[o]=u={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),u||e}segmentKey(e,n=!1){if(!e)return null;const o=segmentKeyId(e);let u=this.keyCache_[o];this.cacheEncryptionKeys_&&n&&!u&&e.bytes&&(this.keyCache_[o]=u={resolvedUri:e.resolvedUri,bytes:e.bytes});const l={resolvedUri:(u||e).resolvedUri};return u&&(l.bytes=u.bytes),l}couldBeginLoading_(){return this.playlist_&&!this.paused()}load(){if(this.monitorBuffer_(),!!this.playlist_){if(this.state==="INIT"&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||this.state!=="READY"&&this.state!=="INIT"||(this.state="READY")}}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}playlist(e,n={}){if(!e)return;const o=this.playlist_,u=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=n,this.state==="INIT"&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},this.loaderType_==="main"&&this.syncController_.setDateTimeMappingForStart(e));let l=null;if(o&&(o.id?l=o.id:o.uri&&(l=o.uri)),this.logger_(`playlist update [${l} => ${e.id||e.uri}]`),this.mediaSequenceSync_&&(this.mediaSequenceSync_.update(e,this.currentTime_()),this.logger_(`Playlist update:
-currentTime: ${this.currentTime_()}
-bufferedEnd: ${lastBufferedEnd(this.buffered_())}
-`,this.mediaSequenceSync_.diagnostics)),this.trigger("syncinfoupdate"),this.state==="INIT"&&this.couldBeginLoading_())return this.init_();if(!o||o.uri!==e.uri){this.mediaIndex!==null&&(!e.endList&&typeof e.partTargetDuration=="number"?this.resetLoader():this.resyncLoader()),this.currentMediaInfo_=void 0,this.trigger("playlistupdate");return}const m=e.mediaSequence-o.mediaSequence;if(this.logger_(`live window shift [${m}]`),this.mediaIndex!==null)if(this.mediaIndex-=m,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const y=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!y.parts||!y.parts.length||!y.parts[this.partIndex])){const E=this.mediaIndex;this.logger_(`currently processing part (index ${this.partIndex}) no longer exists.`),this.resetLoader(),this.mediaIndex=E}}u&&(u.mediaIndex-=m,u.mediaIndex<0?(u.mediaIndex=null,u.partIndex=null):(u.mediaIndex>=0&&(u.segment=e.segments[u.mediaIndex]),u.partIndex>=0&&u.segment.parts&&(u.part=u.segment.parts[u.partIndex]))),this.syncController_.saveExpiredSegmentInfo(o,e)}pause(){this.checkBufferTimeout_&&(window$1$1.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}paused(){return this.checkBufferTimeout_===null}resetEverything(e){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))}resetLoader(){this.fetchAtBuffer_=!1,this.mediaSequenceSync_&&this.mediaSequenceSync_.resetAppendedStatus(),this.resyncLoader()}resyncLoader(){this.transmuxer_&&segmentTransmuxer.reset(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1;const e=this.currentMediaInfo_&&this.currentMediaInfo_.isFmp4;this.sourceType_==="hls"&&!e&&(this.shouldForceTimestampOffsetAfterResync_=!0),this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}remove(e,n,o=()=>{},u=!1){if(n===1/0&&(n=this.duration_()),n<=e){this.logger_("skipping remove because end ${end} is <= start ${start}");return}if(!this.sourceUpdater_||!this.getMediaInfo_()){this.logger_("skipping remove because no source updater or starting media info");return}let l=1;const m=()=>{l--,l===0&&o()};(u||!this.audioDisabled_)&&(l++,this.sourceUpdater_.removeAudio(e,n,m)),(u||this.loaderType_==="main")&&(this.gopBuffer_=removeGopBuffer(this.gopBuffer_,e,n,this.timeMapping_),l++,this.sourceUpdater_.removeVideo(e,n,m));for(const y in this.inbandTextTracks_)removeCuesFromTrack(e,n,this.inbandTextTracks_[y]);removeCuesFromTrack(e,n,this.segmentMetadataTrack_),m()}monitorBuffer_(){this.checkBufferTimeout_&&window$1$1.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=window$1$1.setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){this.state==="READY"&&this.fillBuffer_(),this.checkBufferTimeout_&&window$1$1.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=window$1$1.setTimeout(this.monitorBufferTick_.bind(this),CHECK_BUFFER_DELAY)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const e=this.chooseNextRequest_();if(!e)return;const n={segmentInfo:segmentInfoPayload({type:this.loaderType_,segment:e})};this.trigger({type:"segmentselected",metadata:n}),typeof e.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e)}isEndOfStream_(e=this.mediaIndex,n=this.playlist_,o=this.partIndex){if(!n||!this.mediaSource_)return!1;const u=typeof e=="number"&&n.segments[e],l=e+1===n.segments.length,m=!u||!u.parts||o+1===u.parts.length;return n.endList&&this.mediaSource_.readyState==="open"&&l&&m}chooseNextRequest_(){const e=this.buffered_(),n=lastBufferedEnd(e)||0,o=timeAheadOf(e,this.currentTime_()),u=!this.hasPlayed_()&&o>=1,l=o>=this.goalBufferLength_(),m=this.playlist_.segments;if(!m.length||u||l)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_(),this.loaderType_);const y={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:!this.syncPoint_};if(y.isSyncRequest)y.mediaIndex=getSyncSegmentCandidate(this.currentTimeline_,m,n),this.logger_(`choose next request. Can not find sync point. Fallback to media Index: ${y.mediaIndex}`);else if(this.mediaIndex!==null){const D=m[this.mediaIndex],P=typeof this.partIndex=="number"?this.partIndex:-1;y.startOfSegment=D.end?D.end:n,D.parts&&D.parts[P+1]?(y.mediaIndex=this.mediaIndex,y.partIndex=P+1):y.mediaIndex=this.mediaIndex+1}else{let D,P,R;const B=this.fetchAtBuffer_?n:this.currentTime_();if(this.mediaSequenceSync_&&this.logger_(`chooseNextRequest_ request after Quality Switch:
-For TargetTime: ${B}.
-CurrentTime: ${this.currentTime_()}
-BufferedEnd: ${n}
-Fetch At Buffer: ${this.fetchAtBuffer_}
-`,this.mediaSequenceSync_.diagnostics),this.mediaSequenceSync_&&this.mediaSequenceSync_.isReliable){const F=this.getSyncInfoFromMediaSequenceSync_(B);if(!F){const O="No sync info found while using media sequence sync";return this.error({message:O,metadata:{errorType:videojs.Error.StreamingFailedToSelectNextSegment,error:new Error(O)}}),this.logger_("chooseNextRequest_ - no sync info found using media sequence sync"),null}this.logger_(`chooseNextRequest_ mediaSequence syncInfo (${F.start} --> ${F.end})`),D=F.segmentIndex,P=F.partIndex,R=F.start}else{this.logger_("chooseNextRequest_ - fallback to a regular segment selection algorithm, based on a syncPoint.");const F=Playlist.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:B,startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});D=F.segmentIndex,P=F.partIndex,R=F.startTime}y.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${B}`:`currentTime ${B}`,y.mediaIndex=D,y.startOfSegment=R,y.partIndex=P,this.logger_(`choose next request. Playlist switched and we have a sync point. Media Index: ${y.mediaIndex} `)}const E=m[y.mediaIndex];let C=E&&typeof y.partIndex=="number"&&E.parts&&E.parts[y.partIndex];if(!E||typeof y.partIndex=="number"&&!C)return null;typeof y.partIndex!="number"&&E.parts&&(y.partIndex=0,C=E.parts[0]);const k=this.vhs_.playlists&&this.vhs_.playlists.main&&this.vhs_.playlists.main.independentSegments||this.playlist_.independentSegments;if(!o&&C&&!k&&!C.independent)if(y.partIndex===0){const D=m[y.mediaIndex-1],P=D.parts&&D.parts.length&&D.parts[D.parts.length-1];P&&P.independent&&(y.mediaIndex-=1,y.partIndex=D.parts.length-1,y.independent="previous segment")}else E.parts[y.partIndex-1].independent&&(y.partIndex-=1,y.independent="previous part");const A=this.mediaSource_&&this.mediaSource_.readyState==="ended";return y.mediaIndex>=m.length-1&&A&&!this.seeking_()?null:(this.shouldForceTimestampOffsetAfterResync_&&(this.shouldForceTimestampOffsetAfterResync_=!1,y.forceTimestampOffset=!0,this.logger_("choose next request. Force timestamp offset after loader resync")),this.generateSegmentInfo_(y))}getSyncInfoFromMediaSequenceSync_(e){if(!this.mediaSequenceSync_)return null;const n=Math.max(e,this.mediaSequenceSync_.start);e!==n&&this.logger_(`getSyncInfoFromMediaSequenceSync_. Pulled target time from ${e} to ${n}`);const o=this.mediaSequenceSync_.getSyncInfoForTime(n);if(!o)return null;if(!o.isAppended)return o;const u=this.mediaSequenceSync_.getSyncInfoForTime(o.end);return u?(u.isAppended&&this.logger_("getSyncInfoFromMediaSequenceSync_: We encounter unexpected scenario where next media sequence sync info is also appended!"),u):null}generateSegmentInfo_(e){const{independent:n,playlist:o,mediaIndex:u,startOfSegment:l,isSyncRequest:m,partIndex:y,forceTimestampOffset:E,getMediaInfoForTime:C}=e,k=o.segments[u],A=typeof y=="number"&&k.parts[y],D={requestId:"segment-loader-"+Math.random(),uri:A&&A.resolvedUri||k.resolvedUri,mediaIndex:u,partIndex:A?y:null,isSyncRequest:m,startOfSegment:l,playlist:o,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:k.timeline,duration:A&&A.duration||k.duration,segment:k,part:A,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:C,independent:n},P=typeof E<"u"?E:this.isPendingTimestampOffset_;D.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:k.timeline,currentTimeline:this.currentTimeline_,startOfSegment:l,buffered:this.buffered_(),overrideCheck:P});const R=lastBufferedEnd(this.sourceUpdater_.audioBuffered());return typeof R=="number"&&(D.audioAppendStart=R-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(D.gopsToAlignWith=gopsSafeToAlignWith(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),D}timestampOffsetForSegment_(e){return timestampOffsetForSegment(e)}earlyAbortWhenNeeded_(e){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH||Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)return;const n=this.currentTime_(),o=e.bandwidth,u=this.pendingSegment_.duration,l=Playlist.estimateSegmentRequestTime(u,o,this.playlist_,e.bytesReceived),m=timeUntilRebuffer(this.buffered_(),n,this.vhs_.tech_.playbackRate())-1;if(l<=m)return;const y=minRebufferMaxBandwidthSelector({main:this.vhs_.playlists.main,currentTime:n,bandwidth:o,duration:this.duration_(),segmentDuration:u,timeUntilRebuffer:m,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!y)return;const C=l-m-y.rebufferingImpact;let k=.5;m<=TIME_FUDGE_FACTOR&&(k=1),!(!y.playlist||y.playlist.uri===this.playlist_.uri||C<k)&&(this.bandwidth=y.playlist.attributes.BANDWIDTH*Config.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(e){this.logger_(`Aborting ${segmentInfoString(e)}`),this.mediaRequestsAborted+=1}handleProgress_(e,n){this.earlyAbortWhenNeeded_(n.stats),!this.checkForAbort_(n.requestId)&&this.trigger("progress")}handleTrackInfo_(e,n){const{hasAudio:o,hasVideo:u}=n,l={segmentInfo:segmentInfoPayload({type:this.loaderType_,segment:e}),trackInfo:{hasAudio:o,hasVideo:u}};this.trigger({type:"segmenttransmuxingtrackinfoavailable",metadata:l}),this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)&&(this.checkForIllegalMediaSwitch(n)||(n=n||{},shallowEqual(this.currentMediaInfo_,n)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=n,this.currentMediaInfo_=n,this.logger_("trackinfo update",n),this.trigger("trackinfo")),!this.checkForAbort_(e.requestId)&&(this.pendingSegment_.trackInfo=n,this.hasEnoughInfoToAppend_()?this.processCallQueue_():checkAndFixTimelines(this))))}handleTimingInfo_(e,n,o,u){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;const l=this.pendingSegment_,m=timingInfoPropertyForMedia(n);l[m]=l[m]||{},l[m][o]=u,this.logger_(`timinginfo: ${n} - ${o} - ${u}`),this.hasEnoughInfoToAppend_()?this.processCallQueue_():checkAndFixTimelines(this)}handleCaptions_(e,n){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(n.length===0){this.logger_("SegmentLoader received no captions from a caption event");return}if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,n));return}const u=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),l={};n.forEach(m=>{l[m.stream]=l[m.stream]||{startTime:1/0,captions:[],endTime:0};const y=l[m.stream];y.startTime=Math.min(y.startTime,m.startTime+u),y.endTime=Math.max(y.endTime,m.endTime+u),y.captions.push(m)}),Object.keys(l).forEach(m=>{const{startTime:y,endTime:E,captions:C}=l[m],k=this.inbandTextTracks_;this.logger_(`adding cues from ${y} -> ${E} for ${m}`),createCaptionsTrackIfNotExists(k,this.vhs_.tech_,m),removeCuesFromTrack(y,E,k[m]),addCaptionData({captionArray:C,inbandTextTracks:k,timestampOffset:u})}),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}handleId3_(e,n,o){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,n,o));return}this.addMetadataToTextTrack(o,n,this.duration_())}processMetadataQueue_(){this.metadataQueue_.id3.forEach(e=>e()),this.metadataQueue_.caption.forEach(e=>e()),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]}processCallQueue_(){const e=this.callQueue_;this.callQueue_=[],e.forEach(n=>n())}processLoadQueue_(){const e=this.loadQueue_;this.loadQueue_=[],e.forEach(n=>n())}hasEnoughInfoToLoad_(){if(this.loaderType_!=="audio")return!0;const e=this.pendingSegment_;return e?this.getCurrentMediaInfo_()?!shouldWaitForTimelineChange({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}):!0:!1}getCurrentMediaInfo_(e=this.pendingSegment_){return e&&e.trackInfo||this.currentMediaInfo_}getMediaInfo_(e=this.pendingSegment_){return this.getCurrentMediaInfo_(e)||this.startingMediaInfo_}getPendingSegmentPlaylist(){return this.pendingSegment_?this.pendingSegment_.playlist:null}hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready()||this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;const e=this.pendingSegment_,n=this.getCurrentMediaInfo_();if(!e||!n)return!1;const{hasAudio:o,hasVideo:u,isMuxed:l}=n;return!(u&&!e.videoTimingInfo||o&&!this.audioDisabled_&&!l&&!e.audioTimingInfo||shouldWaitForTimelineChange({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}handleData_(e,n){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(this.callQueue_.length||!this.hasEnoughInfoToAppend_()){checkAndFixTimelines(this),this.callQueue_.push(this.handleData_.bind(this,e,n));return}const o=this.pendingSegment_;if(this.setTimeMapping_(o.timeline),this.updateMediaSecondsLoaded_(o.part||o.segment),this.mediaSource_.readyState!=="closed"){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),o.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),o.isFmp4=e.isFmp4,o.timingInfo=o.timingInfo||{},o.isFmp4)this.trigger("fmp4"),o.timingInfo.start=o[timingInfoPropertyForMedia(n.type)].start;else{const u=this.getCurrentMediaInfo_(),l=this.loaderType_==="main"&&u&&u.hasVideo;let m;l&&(m=o.videoTimingInfo.start),o.timingInfo.start=this.trueSegmentStart_({currentStart:o.timingInfo.start,playlist:o.playlist,mediaIndex:o.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:l,firstVideoFrameTimeForData:m,videoTimingInfo:o.videoTimingInfo,audioTimingInfo:o.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(o,n.type),this.updateSourceBufferTimestampOffset_(o),o.isSyncRequest){this.updateTimingInfoEnd_(o),this.syncController_.saveSegmentTimingInfo({segmentInfo:o,shouldSaveTimelineMapping:this.loaderType_==="main"});const u=this.chooseNextRequest_();if(u.mediaIndex!==o.mediaIndex||u.partIndex!==o.partIndex){this.logger_("sync segment was incorrect, not appending");return}this.logger_("sync segment was correct, appending")}o.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(o,n)}}updateAppendInitSegmentStatus(e,n){this.loaderType_==="main"&&typeof e.timestampOffset=="number"&&!e.changedTimestampOffset&&(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[n]!==e.playlist&&(this.appendInitSegment_[n]=!0)}getInitSegmentAndUpdateState_({type:e,initSegment:n,map:o,playlist:u}){if(o){const l=initSegmentId(o);if(this.activeInitSegmentId_===l)return null;n=this.initSegmentForMap(o,!0).bytes,this.activeInitSegmentId_=l}return n&&this.appendInitSegment_[e]?(this.playlistOfLastInitSegment_[e]=u,this.appendInitSegment_[e]=!1,this.activeInitSegmentId_=null,n):null}handleQuotaExceededError_({segmentInfo:e,type:n,bytes:o},u){const l=this.sourceUpdater_.audioBuffered(),m=this.sourceUpdater_.videoBuffered();l.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+timeRangesToArray(l).join(", ")),m.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+timeRangesToArray(m).join(", "));const y=l.length?l.start(0):0,E=l.length?l.end(l.length-1):0,C=m.length?m.start(0):0,k=m.length?m.end(m.length-1):0;if(E-y<=MIN_BACK_BUFFER&&k-C<=MIN_BACK_BUFFER){this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${o.byteLength}, audio buffer: ${timeRangesToArray(l).join(", ")}, video buffer: ${timeRangesToArray(m).join(", ")}, `),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),this.trigger("error");return}this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:e,type:n,bytes:o}));const D=this.currentTime_()-MIN_BACK_BUFFER;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${D}`),this.remove(0,D,()=>{this.logger_(`On QUOTA_EXCEEDED_ERR, retrying append in ${MIN_BACK_BUFFER}s`),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=window$1$1.setTimeout(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()},MIN_BACK_BUFFER*1e3)},!0)}handleAppendError_({segmentInfo:e,type:n,bytes:o},u){if(u){if(u.code===QUOTA_EXCEEDED_ERR){this.handleQuotaExceededError_({segmentInfo:e,type:n,bytes:o});return}this.logger_("Received non QUOTA_EXCEEDED_ERR on append",u),this.error({message:`${n} append of ${o.length}b failed for segment #${e.mediaIndex} in playlist ${e.playlist.id}`,metadata:{errorType:videojs.Error.StreamingFailedToAppendSegment}}),this.trigger("appenderror")}}appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:o,data:u,bytes:l}){if(!l){const y=[u];let E=u.byteLength;o&&(y.unshift(o),E+=o.byteLength),l=concatSegments({bytes:E,segments:y})}const m={segmentInfo:segmentInfoPayload({type:this.loaderType_,segment:e})};this.trigger({type:"segmentappendstart",metadata:m}),this.sourceUpdater_.appendBuffer({segmentInfo:e,type:n,bytes:l},this.handleAppendError_.bind(this,{segmentInfo:e,type:n,bytes:l}))}handleSegmentTimingInfo_(e,n,o){if(!this.pendingSegment_||n!==this.pendingSegment_.requestId)return;const u=this.pendingSegment_.segment,l=`${e}TimingInfo`;u[l]||(u[l]={}),u[l].transmuxerPrependedSeconds=o.prependedContentDuration||0,u[l].transmuxedPresentationStart=o.start.presentation,u[l].transmuxedDecodeStart=o.start.decode,u[l].transmuxedPresentationEnd=o.end.presentation,u[l].transmuxedDecodeEnd=o.end.decode,u[l].baseMediaDecodeTime=o.baseMediaDecodeTime}appendData_(e,n){const{type:o,data:u}=n;if(!u||!u.byteLength||o==="audio"&&this.audioDisabled_)return;const l=this.getInitSegmentAndUpdateState_({type:o,initSegment:n.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:o,initSegment:l,data:u})}loadSegment_(e){if(this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),typeof e.timestampOffset=="number"&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),!this.hasEnoughInfoToLoad_()){checkAndFixTimelines(this),this.loadQueue_.push(()=>{const n=_extends$2({},e,{forceTimestampOffset:!0});_extends$2(e,this.generateSegmentInfo_(n)),this.isPendingTimestampOffset_=!1,this.updateTransmuxerAndRequestSegment_(e)});return}this.updateTransmuxerAndRequestSegment_(e)}updateTransmuxerAndRequestSegment_(e){this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));const n=this.createSimplifiedSegmentObj_(e),o=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),u=this.mediaIndex!==null,l=e.timeline!==this.currentTimeline_&&e.timeline>0,m=o||u&&l;this.logger_(`Requesting
-${compactSegmentUrlDescription(e.uri)}
-${segmentInfoString(e)}`),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=mediaSegmentRequest({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:n,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:m,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:y,level:E,stream:C})=>{this.logger_(`${segmentInfoString(e)} logged from transmuxer stream ${C} as a ${E}: ${y}`)},triggerSegmentEventFn:({type:y,segment:E,keyInfo:C,trackInfo:k,timingInfo:A})=>{const P={segmentInfo:segmentInfoPayload({segment:E})};C&&(P.keyInfo=C),k&&(P.trackInfo=k),A&&(P.timingInfo=A),this.trigger({type:y,metadata:P})}})}trimBackBuffer_(e){const n=safeBackBufferTrimTime(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);n>0&&this.remove(0,n)}createSimplifiedSegmentObj_(e){const n=e.segment,o=e.part,u=e.segment.key||e.segment.map&&e.segment.map.key,l=e.segment.map&&!e.segment.map.bytes,m={resolvedUri:o?o.resolvedUri:n.resolvedUri,byterange:o?o.byterange:n.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part,type:this.loaderType_,start:e.startOfSegment,duration:e.duration,isEncrypted:u,isMediaInitialization:l},y=e.playlist.segments[e.mediaIndex-1];if(y&&y.timeline===n.timeline&&(y.videoTimingInfo?m.baseStartTime=y.videoTimingInfo.transmuxedDecodeEnd:y.audioTimingInfo&&(m.baseStartTime=y.audioTimingInfo.transmuxedDecodeEnd)),n.key){const E=n.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);m.key=this.segmentKey(n.key),m.key.iv=E}return n.map&&(m.map=this.initSegmentForMap(n.map)),m}saveTransferStats_(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)}saveBandwidthRelatedStats_(e,n){if(this.pendingSegment_.byteLength=n.bytesReceived,e<MIN_SEGMENT_DURATION_TO_SAVE_STATS){this.logger_(`Ignoring segment's bandwidth because its duration of ${e} is less than the min to record ${MIN_SEGMENT_DURATION_TO_SAVE_STATS}`);return}const o={bandwidthInfo:{from:this.bandwidth,to:n.bandwidth}};this.trigger({type:"bandwidthupdated",metadata:o}),this.bandwidth=n.bandwidth,this.roundTrip=n.roundTripTime}handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")}segmentRequestFinished_(e,n,o){if(this.callQueue_.length){this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,n,o));return}if(this.saveTransferStats_(n.stats),!this.pendingSegment_||n.requestId!==this.pendingSegment_.requestId)return;if(e){if(this.pendingSegment_=null,this.state="READY",e.code===REQUEST_ERRORS.ABORTED)return;if(this.pause(),e.code===REQUEST_ERRORS.TIMEOUT){this.handleTimeout_();return}this.mediaRequestsErrored+=1,this.error(e),this.trigger("error");return}const u=this.pendingSegment_;this.saveBandwidthRelatedStats_(u.duration,n.stats),u.endOfAllRequests=n.endOfAllRequests,o.gopInfo&&(this.gopBuffer_=updateGopBuffer(this.gopBuffer_,o.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(u)}setTimeMapping_(e){const n=this.syncController_.mappingForTimeline(e);n!==null&&(this.timeMapping_=n)}updateMediaSecondsLoaded_(e){typeof e.start=="number"&&typeof e.end=="number"?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration}shouldUpdateTransmuxerTimestampOffset_(e){return e===null?!1:this.loaderType_==="main"&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset()}trueSegmentStart_({currentStart:e,playlist:n,mediaIndex:o,firstVideoFrameTimeForData:u,currentVideoTimestampOffset:l,useVideoTimingInfo:m,videoTimingInfo:y,audioTimingInfo:E}){if(typeof e<"u")return e;if(!m)return E.start;const C=n.segments[o-1];return o===0||!C||typeof C.start>"u"||C.end!==u+l?u:y.start}waitForAppendsToComplete_(e){const n=this.getCurrentMediaInfo_(e);if(!n){this.error({message:"No starting media returned, likely due to an unsupported media format.",playlistExclusionDuration:1/0}),this.trigger("error");return}const{hasAudio:o,hasVideo:u,isMuxed:l}=n,m=this.loaderType_==="main"&&u,y=!this.audioDisabled_&&o&&!l;if(e.waitingOnAppends=0,!e.hasAppendedData_){!e.timingInfo&&typeof e.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),this.checkAppendsDone_(e);return}m&&e.waitingOnAppends++,y&&e.waitingOnAppends++,m&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),y&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))}checkAppendsDone_(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,e.waitingOnAppends===0&&this.handleAppendsDone_())}checkForIllegalMediaSwitch(e){const n=illegalMediaSwitch(this.loaderType_,this.getCurrentMediaInfo_(),e);return n?(this.error({message:n,playlistExclusionDuration:1/0}),this.trigger("error"),!0):!1}updateSourceBufferTimestampOffset_(e){if(e.timestampOffset===null||typeof e.timingInfo.start!="number"||e.changedTimestampOffset||this.loaderType_!=="main")return;let n=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),n=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),n=!0),n&&this.trigger("timestampoffset")}getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e,audioTimingInfo:n,timingInfo:o}){return this.useDtsForTimestampOffset_?e&&typeof e.transmuxedDecodeStart=="number"?e.transmuxedDecodeStart:n&&typeof n.transmuxedDecodeStart=="number"?n.transmuxedDecodeStart:o.start:o.start}updateTimingInfoEnd_(e){e.timingInfo=e.timingInfo||{};const n=this.getMediaInfo_(),u=this.loaderType_==="main"&&n&&n.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;u&&(e.timingInfo.end=typeof u.end=="number"?u.end:u.start+e.duration)}handleAppendsDone_(){if(this.pendingSegment_){const E={segmentInfo:segmentInfoPayload({type:this.loaderType_,segment:this.pendingSegment_})};this.trigger({type:"appendsdone",metadata:E})}if(!this.pendingSegment_){this.state="READY",this.paused()||this.monitorBuffer_();return}const e=this.pendingSegment_;e.part&&e.part.syncInfo?e.part.syncInfo.markAppended():e.segment.syncInfo&&e.segment.syncInfo.markAppended(),this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:this.loaderType_==="main"});const n=getTroublesomeSegmentDurationMessage(e,this.sourceType_);if(n&&(n.severity==="warn"?videojs.log.warn(n.message):this.logger_(n.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",e.isSyncRequest&&(this.trigger("syncinfoupdate"),!e.hasAppendedData_)){this.logger_(`Throwing away un-appended sync request ${segmentInfoString(e)}`);return}this.logger_(`Appended ${segmentInfoString(e)}`),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),this.loaderType_==="main"&&!this.audioDisabled_&&this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");const o=e.segment,u=e.part,l=o.end&&this.currentTime_()-o.end>e.playlist.targetDuration*3,m=u&&u.end&&this.currentTime_()-u.end>e.playlist.partTargetDuration*3;if(l||m){this.logger_(`bad ${l?"segment":"part"} ${segmentInfoString(e)}`),this.resetEverything();return}this.mediaIndex!==null&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}recordThroughput_(e){if(e.duration<MIN_SEGMENT_DURATION_TO_SAVE_STATS){this.logger_(`Ignoring segment's throughput because its duration of ${e.duration} is less than the min to record ${MIN_SEGMENT_DURATION_TO_SAVE_STATS}`);return}const n=this.throughput.rate,o=Date.now()-e.endOfAllRequests+1,u=Math.floor(e.byteLength/o*8*1e3);this.throughput.rate+=(u-n)/++this.throughput.count}addSegmentMetadataCue_(e){if(!this.segmentMetadataTrack_)return;const n=e.segment,o=n.start,u=n.end;if(!finite(o)||!finite(u))return;removeCuesFromTrack(o,u,this.segmentMetadataTrack_);const l=window$1$1.WebKitDataCue||window$1$1.VTTCue,m={custom:n.custom,dateTimeObject:n.dateTimeObject,dateTimeString:n.dateTimeString,programDateTime:n.programDateTime,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:o,end:u},y=JSON.stringify(m),E=new l(o,u,y);E.value=m,this.segmentMetadataTrack_.addCue(E)}}function noop$1(){}const toTitleCase=function(t){return typeof t!="string"?t:t.replace(/./,e=>e.toUpperCase())},bufferTypes=["video","audio"],updating=(t,e)=>{const n=e[`${t}Buffer`];return n&&n.updating||e.queuePending[t]},nextQueueIndexOfType=(t,e)=>{for(let n=0;n<e.length;n++){const o=e[n];if(o.type==="mediaSource")return null;if(o.type===t)return n}return null},shiftQueue=(t,e)=>{if(e.queue.length===0)return;let n=0,o=e.queue[n];if(o.type==="mediaSource"){!e.updating()&&e.mediaSource.readyState!=="closed"&&(e.queue.shift(),o.action(e),o.doneFn&&o.doneFn(),shiftQueue("audio",e),shiftQueue("video",e));return}if(t!=="mediaSource"&&!(!e.ready()||e.mediaSource.readyState==="closed"||updating(t,e))){if(o.type!==t){if(n=nextQueueIndexOfType(t,e.queue),n===null)return;o=e.queue[n]}if(e.queue.splice(n,1),e.queuePending[t]=o,o.action(t,e),!o.doneFn){e.queuePending[t]=null,shiftQueue(t,e);return}}},cleanupBuffer=(t,e)=>{const n=e[`${t}Buffer`],o=toTitleCase(t);n&&(n.removeEventListener("updateend",e[`on${o}UpdateEnd_`]),n.removeEventListener("error",e[`on${o}Error_`]),e.codecs[t]=null,e[`${t}Buffer`]=null)},inSourceBuffers=(t,e)=>t&&e&&Array.prototype.indexOf.call(t.sourceBuffers,e)!==-1,actions={appendBuffer:(t,e,n)=>(o,u)=>{const l=u[`${o}Buffer`];if(inSourceBuffers(u.mediaSource,l)){u.logger_(`Appending segment ${e.mediaIndex}'s ${t.length} bytes to ${o}Buffer`);try{l.appendBuffer(t)}catch(m){u.logger_(`Error with code ${m.code} `+(m.code===QUOTA_EXCEEDED_ERR?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${e.mediaIndex} to ${o}Buffer`),u.queuePending[o]=null,n(m)}}},remove:(t,e)=>(n,o)=>{const u=o[`${n}Buffer`];if(inSourceBuffers(o.mediaSource,u)){o.logger_(`Removing ${t} to ${e} from ${n}Buffer`);try{u.remove(t,e)}catch{o.logger_(`Remove ${t} to ${e} from ${n}Buffer failed`)}}},timestampOffset:t=>(e,n)=>{const o=n[`${e}Buffer`];inSourceBuffers(n.mediaSource,o)&&(n.logger_(`Setting ${e}timestampOffset to ${t}`),o.timestampOffset=t)},callback:t=>(e,n)=>{t()},endOfStream:t=>e=>{if(e.mediaSource.readyState==="open"){e.logger_(`Calling mediaSource endOfStream(${t||""})`);try{e.mediaSource.endOfStream(t)}catch(n){videojs.log.warn("Failed to call media source endOfStream",n)}}},duration:t=>e=>{e.logger_(`Setting mediaSource duration to ${t}`);try{e.mediaSource.duration=t}catch(n){videojs.log.warn("Failed to set media source duration",n)}},abort:()=>(t,e)=>{if(e.mediaSource.readyState!=="open")return;const n=e[`${t}Buffer`];if(inSourceBuffers(e.mediaSource,n)){e.logger_(`calling abort on ${t}Buffer`);try{n.abort()}catch(o){videojs.log.warn(`Failed to abort on ${t}Buffer`,o)}}},addSourceBuffer:(t,e)=>n=>{const o=toTitleCase(t),u=getMimeForCodec(e);n.logger_(`Adding ${t}Buffer with codec ${e} to mediaSource`);const l=n.mediaSource.addSourceBuffer(u);l.addEventListener("updateend",n[`on${o}UpdateEnd_`]),l.addEventListener("error",n[`on${o}Error_`]),n.codecs[t]=e,n[`${t}Buffer`]=l},removeSourceBuffer:t=>e=>{const n=e[`${t}Buffer`];if(cleanupBuffer(t,e),!!inSourceBuffers(e.mediaSource,n)){e.logger_(`Removing ${t}Buffer with codec ${e.codecs[t]} from mediaSource`);try{e.mediaSource.removeSourceBuffer(n)}catch(o){videojs.log.warn(`Failed to removeSourceBuffer ${t}Buffer`,o)}}},changeType:t=>(e,n)=>{const o=n[`${e}Buffer`],u=getMimeForCodec(t);if(!inSourceBuffers(n.mediaSource,o))return;const l=t.substring(0,t.indexOf(".")),m=n.codecs[e];if(m.substring(0,m.indexOf("."))===l)return;const E={codecsChangeInfo:{from:m,to:t}};n.trigger({type:"codecschange",metadata:E}),n.logger_(`changing ${e}Buffer codec from ${m} to ${t}`);try{o.changeType(u),n.codecs[e]=t}catch(C){E.errorType=videojs.Error.StreamingCodecsChangeError,E.error=C,C.metadata=E,n.error_=C,n.trigger("error"),videojs.log.warn(`Failed to changeType on ${e}Buffer`,C)}}},pushQueue=({type:t,sourceUpdater:e,action:n,doneFn:o,name:u})=>{e.queue.push({type:t,action:n,doneFn:o,name:u}),shiftQueue(t,e)},onUpdateend=(t,e)=>n=>{const o=e[`${t}Buffered`](),u=bufferedRangesToString(o);if(e.logger_(`received "updateend" event for ${t} Source Buffer: `,u),e.queuePending[t]){const l=e.queuePending[t].doneFn;e.queuePending[t]=null,l&&l(e[`${t}Error_`])}shiftQueue(t,e)};class SourceUpdater extends videojs.EventTarget{constructor(e){super(),this.mediaSource=e,this.sourceopenListener_=()=>shiftQueue("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=logger("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=onUpdateend("video",this),this.onAudioUpdateEnd_=onUpdateend("audio",this),this.onVideoError_=n=>{this.videoError_=n},this.onAudioError_=n=>{this.audioError_=n},this.createdSourceBuffers_=!1,this.initializedEme_=!1,this.triggeredReady_=!1}initializedEme(){this.initializedEme_=!0,this.triggerReady()}hasCreatedSourceBuffers(){return this.createdSourceBuffers_}hasInitializedAnyEme(){return this.initializedEme_}ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()}createSourceBuffers(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))}addSourceBuffer(e,n){pushQueue({type:"mediaSource",sourceUpdater:this,action:actions.addSourceBuffer(e,n),name:"addSourceBuffer"})}abort(e){pushQueue({type:e,sourceUpdater:this,action:actions.abort(e),name:"abort"})}removeSourceBuffer(e){if(!this.canRemoveSourceBuffer()){videojs.log.error("removeSourceBuffer is not supported!");return}pushQueue({type:"mediaSource",sourceUpdater:this,action:actions.removeSourceBuffer(e),name:"removeSourceBuffer"})}canRemoveSourceBuffer(){return!videojs.browser.IS_FIREFOX&&window$1$1.MediaSource&&window$1$1.MediaSource.prototype&&typeof window$1$1.MediaSource.prototype.removeSourceBuffer=="function"}static canChangeType(){return window$1$1.SourceBuffer&&window$1$1.SourceBuffer.prototype&&typeof window$1$1.SourceBuffer.prototype.changeType=="function"}canChangeType(){return this.constructor.canChangeType()}changeType(e,n){if(!this.canChangeType()){videojs.log.error("changeType is not supported!");return}pushQueue({type:e,sourceUpdater:this,action:actions.changeType(n),name:"changeType"})}addOrChangeSourceBuffers(e){if(!e||typeof e!="object"||Object.keys(e).length===0)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach(n=>{const o=e[n];if(!this.hasCreatedSourceBuffers())return this.addSourceBuffer(n,o);this.canChangeType()&&this.changeType(n,o)})}appendBuffer(e,n){const{segmentInfo:o,type:u,bytes:l}=e;if(this.processedAppend_=!0,u==="audio"&&this.videoBuffer&&!this.videoAppendQueued_){this.delayedAudioAppendQueue_.push([e,n]),this.logger_(`delayed audio append of ${l.length} until video append`);return}const m=n;if(pushQueue({type:u,sourceUpdater:this,action:actions.appendBuffer(l,o||{mediaIndex:-1},m),doneFn:n,name:"appendBuffer"}),u==="video"){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const y=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${y.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,y.forEach(E=>{this.appendBuffer.apply(this,E)})}}audioBuffered(){return inSourceBuffers(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:createTimeRanges()}videoBuffered(){return inSourceBuffers(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:createTimeRanges()}buffered(){const e=inSourceBuffers(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,n=inSourceBuffers(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return n&&!e?this.audioBuffered():e&&!n?this.videoBuffered():bufferIntersection(this.audioBuffered(),this.videoBuffered())}setDuration(e,n=noop$1){pushQueue({type:"mediaSource",sourceUpdater:this,action:actions.duration(e),name:"duration",doneFn:n})}endOfStream(e=null,n=noop$1){typeof e!="string"&&(e=void 0),pushQueue({type:"mediaSource",sourceUpdater:this,action:actions.endOfStream(e),name:"endOfStream",doneFn:n})}removeAudio(e,n,o=noop$1){if(!this.audioBuffered().length||this.audioBuffered().end(0)===0){o();return}pushQueue({type:"audio",sourceUpdater:this,action:actions.remove(e,n),doneFn:o,name:"remove"})}removeVideo(e,n,o=noop$1){if(!this.videoBuffered().length||this.videoBuffered().end(0)===0){o();return}pushQueue({type:"video",sourceUpdater:this,action:actions.remove(e,n),doneFn:o,name:"remove"})}updating(){return!!(updating("audio",this)||updating("video",this))}audioTimestampOffset(e){return typeof e<"u"&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(pushQueue({type:"audio",sourceUpdater:this,action:actions.timestampOffset(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_}videoTimestampOffset(e){return typeof e<"u"&&this.videoBuffer&&this.videoTimestampOffset_!==e&&(pushQueue({type:"video",sourceUpdater:this,action:actions.timestampOffset(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_}audioQueueCallback(e){this.audioBuffer&&pushQueue({type:"audio",sourceUpdater:this,action:actions.callback(e),name:"callback"})}videoQueueCallback(e){this.videoBuffer&&pushQueue({type:"video",sourceUpdater:this,action:actions.callback(e),name:"callback"})}dispose(){this.trigger("dispose"),bufferTypes.forEach(e=>{this.abort(e),this.canRemoveSourceBuffer()?this.removeSourceBuffer(e):this[`${e}QueueCallback`](()=>cleanupBuffer(e,this))}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const uint8ToUtf8=t=>decodeURIComponent(escape(String.fromCharCode.apply(null,t))),bufferToHexString=t=>{const e=new Uint8Array(t);return Array.from(e).map(n=>n.toString(16).padStart(2,"0")).join("")},VTT_LINE_TERMINATORS=new Uint8Array(`
+`),this.pushCaption(ue),ue.startPts=it},se.prototype.pushCaption=function(it){it.text!==""&&(this.trigger("data",{startPts:it.startPts,endPts:it.endPts,text:it.text,stream:"cc708_"+it.serviceNum}),it.text="",it.startPts=it.endPts)},se.prototype.displayWindows=function(it,ue){var Te=this.current708Packet.data,Se=Te[++it],oe=this.getPts(it);this.flushDisplayed(oe,ue);for(var Ee=0;Ee<8;Ee++)Se&1<<Ee&&(ue.windows[Ee].visible=1);return it},se.prototype.hideWindows=function(it,ue){var Te=this.current708Packet.data,Se=Te[++it],oe=this.getPts(it);this.flushDisplayed(oe,ue);for(var Ee=0;Ee<8;Ee++)Se&1<<Ee&&(ue.windows[Ee].visible=0);return it},se.prototype.toggleWindows=function(it,ue){var Te=this.current708Packet.data,Se=Te[++it],oe=this.getPts(it);this.flushDisplayed(oe,ue);for(var Ee=0;Ee<8;Ee++)Se&1<<Ee&&(ue.windows[Ee].visible^=1);return it},se.prototype.clearWindows=function(it,ue){var Te=this.current708Packet.data,Se=Te[++it],oe=this.getPts(it);this.flushDisplayed(oe,ue);for(var Ee=0;Ee<8;Ee++)Se&1<<Ee&&ue.windows[Ee].clearText();return it},se.prototype.deleteWindows=function(it,ue){var Te=this.current708Packet.data,Se=Te[++it],oe=this.getPts(it);this.flushDisplayed(oe,ue);for(var Ee=0;Ee<8;Ee++)Se&1<<Ee&&ue.windows[Ee].reset();return it},se.prototype.setPenAttributes=function(it,ue){var Te=this.current708Packet.data,Se=Te[it],oe=ue.currentWindow.penAttr;return Se=Te[++it],oe.textTag=(Se&240)>>4,oe.offset=(Se&12)>>2,oe.penSize=Se&3,Se=Te[++it],oe.italics=(Se&128)>>7,oe.underline=(Se&64)>>6,oe.edgeType=(Se&56)>>3,oe.fontStyle=Se&7,it},se.prototype.setPenColor=function(it,ue){var Te=this.current708Packet.data,Se=Te[it],oe=ue.currentWindow.penColor;return Se=Te[++it],oe.fgOpacity=(Se&192)>>6,oe.fgRed=(Se&48)>>4,oe.fgGreen=(Se&12)>>2,oe.fgBlue=Se&3,Se=Te[++it],oe.bgOpacity=(Se&192)>>6,oe.bgRed=(Se&48)>>4,oe.bgGreen=(Se&12)>>2,oe.bgBlue=Se&3,Se=Te[++it],oe.edgeRed=(Se&48)>>4,oe.edgeGreen=(Se&12)>>2,oe.edgeBlue=Se&3,it},se.prototype.setPenLocation=function(it,ue){var Te=this.current708Packet.data,Se=Te[it],oe=ue.currentWindow.penLoc;return ue.currentWindow.pendingNewLine=!0,Se=Te[++it],oe.row=Se&15,Se=Te[++it],oe.column=Se&63,it},se.prototype.reset=function(it,ue){var Te=this.getPts(it);return this.flushDisplayed(Te,ue),this.initService(ue.serviceNum,it)};var Pe={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},ze=function(ue){return ue===null?"":(ue=Pe[ue]||ue,String.fromCharCode(ue))},xt=14,ot=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],wt=function(){for(var ue=[],Te=xt+1;Te--;)ue.push("");return ue},Yt=function it(ue,Te){it.prototype.init.call(this),this.field_=ue||0,this.dataChannel_=Te||0,this.name_="CC"+((this.field_<<1|this.dataChannel_)+1),this.setConstants(),this.reset(),this.push=function(Se){var oe,Ee,Ce,Ue,Oe;if(oe=Se.ccData&32639,oe===this.lastControlCode_){this.lastControlCode_=null;return}if((oe&61440)===4096?this.lastControlCode_=oe:oe!==this.PADDING_&&(this.lastControlCode_=null),Ce=oe>>>8,Ue=oe&255,oe!==this.PADDING_)if(oe===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(oe===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(Se.pts),this.flushDisplayed(Se.pts),Ee=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=Ee,this.startPts_=Se.pts;else if(oe===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(Se.pts);else if(oe===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(Se.pts);else if(oe===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(Se.pts);else if(oe===this.CARRIAGE_RETURN_)this.clearFormatting(Se.pts),this.flushDisplayed(Se.pts),this.shiftRowsUp_(),this.startPts_=Se.pts;else if(oe===this.BACKSPACE_)this.mode_==="popOn"?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(oe===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(Se.pts),this.displayed_=wt();else if(oe===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=wt();else if(oe===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(Se.pts),this.displayed_=wt()),this.mode_="paintOn",this.startPts_=Se.pts;else if(this.isSpecialCharacter(Ce,Ue))Ce=(Ce&3)<<8,Oe=ze(Ce|Ue),this[this.mode_](Se.pts,Oe),this.column_++;else if(this.isExtCharacter(Ce,Ue))this.mode_==="popOn"?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),Ce=(Ce&3)<<8,Oe=ze(Ce|Ue),this[this.mode_](Se.pts,Oe),this.column_++;else if(this.isMidRowCode(Ce,Ue))this.clearFormatting(Se.pts),this[this.mode_](Se.pts," "),this.column_++,(Ue&14)===14&&this.addFormatting(Se.pts,["i"]),(Ue&1)===1&&this.addFormatting(Se.pts,["u"]);else if(this.isOffsetControlCode(Ce,Ue))this.column_+=Ue&3;else if(this.isPAC(Ce,Ue)){var Ze=ot.indexOf(oe&7968);this.mode_==="rollUp"&&(Ze-this.rollUpRows_+1<0&&(Ze=this.rollUpRows_-1),this.setRollUp(Se.pts,Ze)),Ze!==this.row_&&(this.clearFormatting(Se.pts),this.row_=Ze),Ue&1&&this.formatting_.indexOf("u")===-1&&this.addFormatting(Se.pts,["u"]),(oe&16)===16&&(this.column_=((oe&14)>>1)*4),this.isColorPAC(Ue)&&(Ue&14)===14&&this.addFormatting(Se.pts,["i"])}else this.isNormalChar(Ce)&&(Ue===0&&(Ue=null),Oe=ze(Ce),Oe+=ze(Ue),this[this.mode_](Se.pts,Oe),this.column_+=Oe.length)}};Yt.prototype=new e,Yt.prototype.flushDisplayed=function(it){var ue=this.displayed_.map(function(Te,Se){try{return Te.trim()}catch{return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+Se+"."}),""}},this).join(`
+`).replace(/^\n+|\n+$/g,"");ue.length&&this.trigger("data",{startPts:this.startPts_,endPts:it,text:ue,stream:this.name_})},Yt.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=wt(),this.nonDisplayed_=wt(),this.lastControlCode_=null,this.column_=0,this.row_=xt,this.rollUpRows_=2,this.formatting_=[]},Yt.prototype.setConstants=function(){this.dataChannel_===0?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):this.dataChannel_===1&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=this.CONTROL_|32,this.END_OF_CAPTION_=this.CONTROL_|47,this.ROLL_UP_2_ROWS_=this.CONTROL_|37,this.ROLL_UP_3_ROWS_=this.CONTROL_|38,this.ROLL_UP_4_ROWS_=this.CONTROL_|39,this.CARRIAGE_RETURN_=this.CONTROL_|45,this.RESUME_DIRECT_CAPTIONING_=this.CONTROL_|41,this.BACKSPACE_=this.CONTROL_|33,this.ERASE_DISPLAYED_MEMORY_=this.CONTROL_|44,this.ERASE_NON_DISPLAYED_MEMORY_=this.CONTROL_|46},Yt.prototype.isSpecialCharacter=function(it,ue){return it===this.EXT_&&ue>=48&&ue<=63},Yt.prototype.isExtCharacter=function(it,ue){return(it===this.EXT_+1||it===this.EXT_+2)&&ue>=32&&ue<=63},Yt.prototype.isMidRowCode=function(it,ue){return it===this.EXT_&&ue>=32&&ue<=47},Yt.prototype.isOffsetControlCode=function(it,ue){return it===this.OFFSET_&&ue>=33&&ue<=35},Yt.prototype.isPAC=function(it,ue){return it>=this.BASE_&&it<this.BASE_+8&&ue>=64&&ue<=127},Yt.prototype.isColorPAC=function(it){return it>=64&&it<=79||it>=96&&it<=127},Yt.prototype.isNormalChar=function(it){return it>=32&&it<=127},Yt.prototype.setRollUp=function(it,ue){if(this.mode_!=="rollUp"&&(this.row_=xt,this.mode_="rollUp",this.flushDisplayed(it),this.nonDisplayed_=wt(),this.displayed_=wt()),ue!==void 0&&ue!==this.row_)for(var Te=0;Te<this.rollUpRows_;Te++)this.displayed_[ue-Te]=this.displayed_[this.row_-Te],this.displayed_[this.row_-Te]="";ue===void 0&&(ue=this.row_),this.topRow_=ue-this.rollUpRows_+1},Yt.prototype.addFormatting=function(it,ue){this.formatting_=this.formatting_.concat(ue);var Te=ue.reduce(function(Se,oe){return Se+"<"+oe+">"},"");this[this.mode_](it,Te)},Yt.prototype.clearFormatting=function(it){if(this.formatting_.length){var ue=this.formatting_.reverse().reduce(function(Te,Se){return Te+"</"+Se+">"},"");this.formatting_=[],this[this.mode_](it,ue)}},Yt.prototype.popOn=function(it,ue){var Te=this.nonDisplayed_[this.row_];Te+=ue,this.nonDisplayed_[this.row_]=Te},Yt.prototype.rollUp=function(it,ue){var Te=this.displayed_[this.row_];Te+=ue,this.displayed_[this.row_]=Te},Yt.prototype.shiftRowsUp_=function(){var it;for(it=0;it<this.topRow_;it++)this.displayed_[it]="";for(it=this.row_+1;it<xt+1;it++)this.displayed_[it]="";for(it=this.topRow_;it<this.row_;it++)this.displayed_[it]=this.displayed_[it+1];this.displayed_[this.row_]=""},Yt.prototype.paintOn=function(it,ue){var Te=this.displayed_[this.row_];Te+=ue,this.displayed_[this.row_]=Te};var Jt={CaptionStream:Wr,Cea608Stream:Yt,Cea708Stream:se},wr={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},lr=8589934592,Rr=4294967296,vr="shared",dr=function(ue,Te){var Se=1;for(ue>Te&&(Se=-1);Math.abs(Te-ue)>Rr;)ue+=Se*lr;return ue},Ir=function it(ue){var Te,Se;it.prototype.init.call(this),this.type_=ue||vr,this.push=function(oe){this.type_!==vr&&oe.type!==this.type_||(Se===void 0&&(Se=oe.dts),oe.dts=dr(oe.dts,Se),oe.pts=dr(oe.pts,Se),Te=oe.dts,this.trigger("data",oe))},this.flush=function(){Se=Te,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){Se=void 0,Te=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Ir.prototype=new e;var kr={TimestampRolloverStream:Ir,handleRollover:dr},Fr=function(ue,Te,Se){var oe,Ee="";for(oe=Te;oe<Se;oe++)Ee+="%"+("00"+ue[oe].toString(16)).slice(-2);return Ee},jr=function(ue,Te,Se){return decodeURIComponent(Fr(ue,Te,Se))},Cr=function(ue,Te,Se){return unescape(Fr(ue,Te,Se))},Lr=function(ue){return ue[0]<<21|ue[1]<<14|ue[2]<<7|ue[3]},Ar={TXXX:function(ue){var Te;if(ue.data[0]===3){for(Te=1;Te<ue.data.length;Te++)if(ue.data[Te]===0){ue.description=jr(ue.data,1,Te),ue.value=jr(ue.data,Te+1,ue.data.length).replace(/\0*$/,"");break}ue.data=ue.value}},WXXX:function(ue){var Te;if(ue.data[0]===3){for(Te=1;Te<ue.data.length;Te++)if(ue.data[Te]===0){ue.description=jr(ue.data,1,Te),ue.url=jr(ue.data,Te+1,ue.data.length);break}}},PRIV:function(ue){var Te;for(Te=0;Te<ue.data.length;Te++)if(ue.data[Te]===0){ue.owner=Cr(ue.data,0,Te);break}ue.privateData=ue.data.subarray(Te+1),ue.data=ue.privateData}},Tr;Tr=function(ue){var Te={descriptor:ue&&ue.descriptor},Se=0,oe=[],Ee=0,Ce;if(Tr.prototype.init.call(this),this.dispatchType=wr.METADATA_STREAM_TYPE.toString(16),Te.descriptor)for(Ce=0;Ce<Te.descriptor.length;Ce++)this.dispatchType+=("00"+Te.descriptor[Ce].toString(16)).slice(-2);this.push=function(Ue){var Oe,Ze,Ke,gt,It,ir;if(Ue.type==="timed-metadata"){if(Ue.dataAlignmentIndicator&&(Ee=0,oe.length=0),oe.length===0&&(Ue.data.length<10||Ue.data[0]!==73||Ue.data[1]!==68||Ue.data[2]!==51)){this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});return}if(oe.push(Ue),Ee+=Ue.data.byteLength,oe.length===1&&(Se=Lr(Ue.data.subarray(6,10)),Se+=10),!(Ee<Se)){for(Oe={data:new Uint8Array(Se),frames:[],pts:oe[0].pts,dts:oe[0].dts},It=0;It<Se;)Oe.data.set(oe[0].data.subarray(0,Se-It),It),It+=oe[0].data.byteLength,Ee-=oe[0].data.byteLength,oe.shift();Ze=10,Oe.data[5]&64&&(Ze+=4,Ze+=Lr(Oe.data.subarray(10,14)),Se-=Lr(Oe.data.subarray(16,20)));do{if(Ke=Lr(Oe.data.subarray(Ze+4,Ze+8)),Ke<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping metadata parsing."});return}if(ir=String.fromCharCode(Oe.data[Ze],Oe.data[Ze+1],Oe.data[Ze+2],Oe.data[Ze+3]),gt={id:ir,data:Oe.data.subarray(Ze+10,Ze+Ke+10)},gt.key=gt.id,Ar[gt.id]&&(Ar[gt.id](gt),gt.owner==="com.apple.streaming.transportStreamTimestamp")){var cr=gt.data,Zt=(cr[3]&1)<<30|cr[4]<<22|cr[5]<<14|cr[6]<<6|cr[7]>>>2;Zt*=4,Zt+=cr[7]&3,gt.timeStamp=Zt,Oe.pts===void 0&&Oe.dts===void 0&&(Oe.pts=gt.timeStamp,Oe.dts=gt.timeStamp),this.trigger("timestamp",gt)}Oe.frames.push(gt),Ze+=10,Ze+=Ke}while(Ze<Se);this.trigger("data",Oe)}}}},Tr.prototype=new e;var Sr=Tr,rr=kr.TimestampRolloverStream,Nt,Gt,xr,pr=188,tr=71;Nt=function(){var ue=new Uint8Array(pr),Te=0;Nt.prototype.init.call(this),this.push=function(Se){var oe=0,Ee=pr,Ce;for(Te?(Ce=new Uint8Array(Se.byteLength+Te),Ce.set(ue.subarray(0,Te)),Ce.set(Se,Te),Te=0):Ce=Se;Ee<Ce.byteLength;){if(Ce[oe]===tr&&Ce[Ee]===tr){this.trigger("data",Ce.subarray(oe,Ee)),oe+=pr,Ee+=pr;continue}oe++,Ee++}oe<Ce.byteLength&&(ue.set(Ce.subarray(oe),0),Te=Ce.byteLength-oe)},this.flush=function(){Te===pr&&ue[0]===tr&&(this.trigger("data",ue),Te=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){Te=0,this.trigger("reset")}},Nt.prototype=new e,Gt=function(){var ue,Te,Se,oe;Gt.prototype.init.call(this),oe=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,ue=function(Ce,Ue){var Oe=0;Ue.payloadUnitStartIndicator&&(Oe+=Ce[Oe]+1),Ue.type==="pat"?Te(Ce.subarray(Oe),Ue):Se(Ce.subarray(Oe),Ue)},Te=function(Ce,Ue){Ue.section_number=Ce[7],Ue.last_section_number=Ce[8],oe.pmtPid=(Ce[10]&31)<<8|Ce[11],Ue.pmtPid=oe.pmtPid},Se=function(Ce,Ue){var Oe,Ze,Ke,gt;if(Ce[5]&1){for(oe.programMapTable={video:null,audio:null,"timed-metadata":{}},Oe=(Ce[1]&15)<<8|Ce[2],Ze=3+Oe-4,Ke=(Ce[10]&15)<<8|Ce[11],gt=12+Ke;gt<Ze;){var It=Ce[gt],ir=(Ce[gt+1]&31)<<8|Ce[gt+2];It===wr.H264_STREAM_TYPE&&oe.programMapTable.video===null?oe.programMapTable.video=ir:It===wr.ADTS_STREAM_TYPE&&oe.programMapTable.audio===null?oe.programMapTable.audio=ir:It===wr.METADATA_STREAM_TYPE&&(oe.programMapTable["timed-metadata"][ir]=It),gt+=((Ce[gt+3]&15)<<8|Ce[gt+4])+5}Ue.programMapTable=oe.programMapTable}},this.push=function(Ee){var Ce={},Ue=4;if(Ce.payloadUnitStartIndicator=!!(Ee[1]&64),Ce.pid=Ee[1]&31,Ce.pid<<=8,Ce.pid|=Ee[2],(Ee[3]&48)>>>4>1&&(Ue+=Ee[Ue]+1),Ce.pid===0)Ce.type="pat",ue(Ee.subarray(Ue),Ce),this.trigger("data",Ce);else if(Ce.pid===this.pmtPid)for(Ce.type="pmt",ue(Ee.subarray(Ue),Ce),this.trigger("data",Ce);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else this.programMapTable===void 0?this.packetsWaitingForPmt.push([Ee,Ue,Ce]):this.processPes_(Ee,Ue,Ce)},this.processPes_=function(Ee,Ce,Ue){Ue.pid===this.programMapTable.video?Ue.streamType=wr.H264_STREAM_TYPE:Ue.pid===this.programMapTable.audio?Ue.streamType=wr.ADTS_STREAM_TYPE:Ue.streamType=this.programMapTable["timed-metadata"][Ue.pid],Ue.type="pes",Ue.data=Ee.subarray(Ce),this.trigger("data",Ue)}},Gt.prototype=new e,Gt.STREAM_TYPES={h264:27,adts:15},xr=function(){var ue=this,Te=!1,Se={data:[],size:0},oe={data:[],size:0},Ee={data:[],size:0},Ce,Ue=function(Ke,gt){var It,ir=Ke[0]<<16|Ke[1]<<8|Ke[2];gt.data=new Uint8Array,ir===1&&(gt.packetLength=6+(Ke[4]<<8|Ke[5]),gt.dataAlignmentIndicator=(Ke[6]&4)!==0,It=Ke[7],It&192&&(gt.pts=(Ke[9]&14)<<27|(Ke[10]&255)<<20|(Ke[11]&254)<<12|(Ke[12]&255)<<5|(Ke[13]&254)>>>3,gt.pts*=4,gt.pts+=(Ke[13]&6)>>>1,gt.dts=gt.pts,It&64&&(gt.dts=(Ke[14]&14)<<27|(Ke[15]&255)<<20|(Ke[16]&254)<<12|(Ke[17]&255)<<5|(Ke[18]&254)>>>3,gt.dts*=4,gt.dts+=(Ke[18]&6)>>>1)),gt.data=Ke.subarray(9+Ke[8]))},Oe=function(Ke,gt,It){var ir=new Uint8Array(Ke.size),cr={type:gt},Zt=0,qr=0,Gr=!1,ii;if(!(!Ke.data.length||Ke.size<9)){for(cr.trackId=Ke.data[0].pid,Zt=0;Zt<Ke.data.length;Zt++)ii=Ke.data[Zt],ir.set(ii.data,qr),qr+=ii.data.byteLength;Ue(ir,cr),Gr=gt==="video"||cr.packetLength<=Ke.size,(It||Gr)&&(Ke.size=0,Ke.data.length=0),Gr&&ue.trigger("data",cr)}};xr.prototype.init.call(this),this.push=function(Ze){({pat:function(){},pes:function(){var gt,It;switch(Ze.streamType){case wr.H264_STREAM_TYPE:gt=Se,It="video";break;case wr.ADTS_STREAM_TYPE:gt=oe,It="audio";break;case wr.METADATA_STREAM_TYPE:gt=Ee,It="timed-metadata";break;default:return}Ze.payloadUnitStartIndicator&&Oe(gt,It,!0),gt.data.push(Ze),gt.size+=Ze.data.byteLength},pmt:function(){var gt={type:"metadata",tracks:[]};Ce=Ze.programMapTable,Ce.video!==null&&gt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Ce.video,codec:"avc",type:"video"}),Ce.audio!==null&&gt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Ce.audio,codec:"adts",type:"audio"}),Te=!0,ue.trigger("data",gt)}})[Ze.type]()},this.reset=function(){Se.size=0,Se.data.length=0,oe.size=0,oe.data.length=0,this.trigger("reset")},this.flushStreams_=function(){Oe(Se,"video"),Oe(oe,"audio"),Oe(Ee,"timed-metadata")},this.flush=function(){if(!Te&&Ce){var Ze={type:"metadata",tracks:[]};Ce.video!==null&&Ze.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Ce.video,codec:"avc",type:"video"}),Ce.audio!==null&&Ze.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Ce.audio,codec:"adts",type:"audio"}),ue.trigger("data",Ze)}Te=!1,this.flushStreams_(),this.trigger("done")}},xr.prototype=new e;var br={PAT_PID:0,MP2T_PACKET_LENGTH:pr,TransportPacketStream:Nt,TransportParseStream:Gt,ElementaryStream:xr,TimestampRolloverStream:rr,CaptionStream:Jt.CaptionStream,Cea608Stream:Jt.Cea608Stream,Cea708Stream:Jt.Cea708Stream,MetadataStream:Sr};for(var Nr in wr)wr.hasOwnProperty(Nr)&&(br[Nr]=wr[Nr]);var Yr=br,ei=te.ONE_SECOND_IN_TS,Hr,Pt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];Hr=function(ue){var Te,Se=0;Hr.prototype.init.call(this),this.skipWarn_=function(oe,Ee){this.trigger("log",{level:"warn",message:"adts skiping bytes "+oe+" to "+Ee+" in frame "+Se+" outside syncword"})},this.push=function(oe){var Ee=0,Ce,Ue,Oe,Ze,Ke;if(ue||(Se=0),oe.type==="audio"){Te&&Te.length?(Oe=Te,Te=new Uint8Array(Oe.byteLength+oe.data.byteLength),Te.set(Oe),Te.set(oe.data,Oe.byteLength)):Te=oe.data;for(var gt;Ee+7<Te.length;){if(Te[Ee]!==255||(Te[Ee+1]&246)!==240){typeof gt!="number"&&(gt=Ee),Ee++;continue}if(typeof gt=="number"&&(this.skipWarn_(gt,Ee),gt=null),Ue=(~Te[Ee+1]&1)*2,Ce=(Te[Ee+3]&3)<<11|Te[Ee+4]<<3|(Te[Ee+5]&224)>>5,Ze=((Te[Ee+6]&3)+1)*1024,Ke=Ze*ei/Pt[(Te[Ee+2]&60)>>>2],Te.byteLength-Ee<Ce)break;this.trigger("data",{pts:oe.pts+Se*Ke,dts:oe.dts+Se*Ke,sampleCount:Ze,audioobjecttype:(Te[Ee+2]>>>6&3)+1,channelcount:(Te[Ee+2]&1)<<2|(Te[Ee+3]&192)>>>6,samplerate:Pt[(Te[Ee+2]&60)>>>2],samplingfrequencyindex:(Te[Ee+2]&60)>>>2,samplesize:16,data:Te.subarray(Ee+7+Ue,Ee+Ce)}),Se++,Ee+=Ce}typeof gt=="number"&&(this.skipWarn_(gt,Ee),gt=null),Te=Te.subarray(Ee)}},this.flush=function(){Se=0,this.trigger("done")},this.reset=function(){Te=void 0,this.trigger("reset")},this.endTimeline=function(){Te=void 0,this.trigger("endedtimeline")}},Hr.prototype=new e;var Jr=Hr,Xr;Xr=function(ue){var Te=ue.byteLength,Se=0,oe=0;this.length=function(){return 8*Te},this.bitsAvailable=function(){return 8*Te+oe},this.loadWord=function(){var Ee=ue.byteLength-Te,Ce=new Uint8Array(4),Ue=Math.min(4,Te);if(Ue===0)throw new Error("no bytes available");Ce.set(ue.subarray(Ee,Ee+Ue)),Se=new DataView(Ce.buffer).getUint32(0),oe=Ue*8,Te-=Ue},this.skipBits=function(Ee){var Ce;oe>Ee?(Se<<=Ee,oe-=Ee):(Ee-=oe,Ce=Math.floor(Ee/8),Ee-=Ce*8,Te-=Ce,this.loadWord(),Se<<=Ee,oe-=Ee)},this.readBits=function(Ee){var Ce=Math.min(oe,Ee),Ue=Se>>>32-Ce;return oe-=Ce,oe>0?Se<<=Ce:Te>0&&this.loadWord(),Ce=Ee-Ce,Ce>0?Ue<<Ce|this.readBits(Ce):Ue},this.skipLeadingZeros=function(){var Ee;for(Ee=0;Ee<oe;++Ee)if(Se&2147483648>>>Ee)return Se<<=Ee,oe-=Ee,Ee;return this.loadWord(),Ee+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var Ee=this.skipLeadingZeros();return this.readBits(Ee+1)-1},this.readExpGolomb=function(){var Ee=this.readUnsignedExpGolomb();return 1&Ee?1+Ee>>>1:-1*(Ee>>>1)},this.readBoolean=function(){return this.readBits(1)===1},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};var fi=Xr,ce,xe,Be;xe=function(){var ue=0,Te,Se;xe.prototype.init.call(this),this.push=function(oe){var Ee;Se?(Ee=new Uint8Array(Se.byteLength+oe.data.byteLength),Ee.set(Se),Ee.set(oe.data,Se.byteLength),Se=Ee):Se=oe.data;for(var Ce=Se.byteLength;ue<Ce-3;ue++)if(Se[ue+2]===1){Te=ue+5;break}for(;Te<Ce;)switch(Se[Te]){case 0:if(Se[Te-1]!==0){Te+=2;break}else if(Se[Te-2]!==0){Te++;break}ue+3!==Te-2&&this.trigger("data",Se.subarray(ue+3,Te-2));do Te++;while(Se[Te]!==1&&Te<Ce);ue=Te-2,Te+=3;break;case 1:if(Se[Te-1]!==0||Se[Te-2]!==0){Te+=3;break}this.trigger("data",Se.subarray(ue+3,Te-2)),ue=Te-2,Te+=3;break;default:Te+=3;break}Se=Se.subarray(ue),Te-=ue,ue=0},this.reset=function(){Se=null,ue=0,this.trigger("reset")},this.flush=function(){Se&&Se.byteLength>3&&this.trigger("data",Se.subarray(ue+3)),Se=null,ue=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},xe.prototype=new e,Be={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},ce=function(){var ue=new xe,Te,Se,oe,Ee,Ce,Ue,Oe;ce.prototype.init.call(this),Te=this,this.push=function(Ze){Ze.type==="video"&&(Se=Ze.trackId,oe=Ze.pts,Ee=Ze.dts,ue.push(Ze))},ue.on("data",function(Ze){var Ke={trackId:Se,pts:oe,dts:Ee,data:Ze,nalUnitTypeCode:Ze[0]&31};switch(Ke.nalUnitTypeCode){case 5:Ke.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:Ke.nalUnitType="sei_rbsp",Ke.escapedRBSP=Ce(Ze.subarray(1));break;case 7:Ke.nalUnitType="seq_parameter_set_rbsp",Ke.escapedRBSP=Ce(Ze.subarray(1)),Ke.config=Ue(Ke.escapedRBSP);break;case 8:Ke.nalUnitType="pic_parameter_set_rbsp";break;case 9:Ke.nalUnitType="access_unit_delimiter_rbsp";break}Te.trigger("data",Ke)}),ue.on("done",function(){Te.trigger("done")}),ue.on("partialdone",function(){Te.trigger("partialdone")}),ue.on("reset",function(){Te.trigger("reset")}),ue.on("endedtimeline",function(){Te.trigger("endedtimeline")}),this.flush=function(){ue.flush()},this.partialFlush=function(){ue.partialFlush()},this.reset=function(){ue.reset()},this.endTimeline=function(){ue.endTimeline()},Oe=function(Ke,gt){var It=8,ir=8,cr,Zt;for(cr=0;cr<Ke;cr++)ir!==0&&(Zt=gt.readExpGolomb(),ir=(It+Zt+256)%256),It=ir===0?It:ir},Ce=function(Ke){for(var gt=Ke.byteLength,It=[],ir=1,cr,Zt;ir<gt-2;)Ke[ir]===0&&Ke[ir+1]===0&&Ke[ir+2]===3?(It.push(ir+2),ir+=2):ir++;if(It.length===0)return Ke;cr=gt-It.length,Zt=new Uint8Array(cr);var qr=0;for(ir=0;ir<cr;qr++,ir++)qr===It[0]&&(qr++,It.shift()),Zt[ir]=Ke[qr];return Zt},Ue=function(Ke){var gt=0,It=0,ir=0,cr=0,Zt,qr,Gr,ii,Mi,Li,Bi,Vi,yn,ui,is,Ii=[1,1],Ea,na;if(Zt=new fi(Ke),qr=Zt.readUnsignedByte(),ii=Zt.readUnsignedByte(),Gr=Zt.readUnsignedByte(),Zt.skipUnsignedExpGolomb(),Be[qr]&&(Mi=Zt.readUnsignedExpGolomb(),Mi===3&&Zt.skipBits(1),Zt.skipUnsignedExpGolomb(),Zt.skipUnsignedExpGolomb(),Zt.skipBits(1),Zt.readBoolean()))for(is=Mi!==3?8:12,na=0;na<is;na++)Zt.readBoolean()&&(na<6?Oe(16,Zt):Oe(64,Zt));if(Zt.skipUnsignedExpGolomb(),Li=Zt.readUnsignedExpGolomb(),Li===0)Zt.readUnsignedExpGolomb();else if(Li===1)for(Zt.skipBits(1),Zt.skipExpGolomb(),Zt.skipExpGolomb(),Bi=Zt.readUnsignedExpGolomb(),na=0;na<Bi;na++)Zt.skipExpGolomb();if(Zt.skipUnsignedExpGolomb(),Zt.skipBits(1),Vi=Zt.readUnsignedExpGolomb(),yn=Zt.readUnsignedExpGolomb(),ui=Zt.readBits(1),ui===0&&Zt.skipBits(1),Zt.skipBits(1),Zt.readBoolean()&&(gt=Zt.readUnsignedExpGolomb(),It=Zt.readUnsignedExpGolomb(),ir=Zt.readUnsignedExpGolomb(),cr=Zt.readUnsignedExpGolomb()),Zt.readBoolean()&&Zt.readBoolean()){switch(Ea=Zt.readUnsignedByte(),Ea){case 1:Ii=[1,1];break;case 2:Ii=[12,11];break;case 3:Ii=[10,11];break;case 4:Ii=[16,11];break;case 5:Ii=[40,33];break;case 6:Ii=[24,11];break;case 7:Ii=[20,11];break;case 8:Ii=[32,11];break;case 9:Ii=[80,33];break;case 10:Ii=[18,11];break;case 11:Ii=[15,11];break;case 12:Ii=[64,33];break;case 13:Ii=[160,99];break;case 14:Ii=[4,3];break;case 15:Ii=[3,2];break;case 16:Ii=[2,1];break;case 255:{Ii=[Zt.readUnsignedByte()<<8|Zt.readUnsignedByte(),Zt.readUnsignedByte()<<8|Zt.readUnsignedByte()];break}}Ii&&Ii[0]/Ii[1]}return{profileIdc:qr,levelIdc:Gr,profileCompatibility:ii,width:(Vi+1)*16-gt*2-It*2,height:(2-ui)*(yn+1)*16-ir*2-cr*2,sarRatio:Ii}}},ce.prototype=new e;var Fe={H264Stream:ce,NalByteStream:xe},Xe=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],ct=function(ue,Te){var Se=ue[Te+6]<<21|ue[Te+7]<<14|ue[Te+8]<<7|ue[Te+9],oe=ue[Te+5],Ee=(oe&16)>>4;return Se=Se>=0?Se:0,Ee?Se+20:Se+10},we=function it(ue,Te){return ue.length-Te<10||ue[Te]!==73||ue[Te+1]!==68||ue[Te+2]!==51?Te:(Te+=ct(ue,Te),it(ue,Te))},Ae=function(ue){var Te=we(ue,0);return ue.length>=Te+2&&(ue[Te]&255)===255&&(ue[Te+1]&240)===240&&(ue[Te+1]&22)===16},Re=function(ue){return ue[0]<<21|ue[1]<<14|ue[2]<<7|ue[3]},rt=function(ue,Te,Se){var oe,Ee="";for(oe=Te;oe<Se;oe++)Ee+="%"+("00"+ue[oe].toString(16)).slice(-2);return Ee},St=function(ue,Te,Se){return unescape(rt(ue,Te,Se))},Lt=function(ue,Te){var Se=(ue[Te+5]&224)>>5,oe=ue[Te+4]<<3,Ee=ue[Te+3]&6144;return Ee|oe|Se},Ft=function(ue,Te){return ue[Te]===73&&ue[Te+1]===68&&ue[Te+2]===51?"timed-metadata":ue[Te]&!0&&(ue[Te+1]&240)===240?"audio":null},$t=function(ue){for(var Te=0;Te+5<ue.length;){if(ue[Te]!==255||(ue[Te+1]&246)!==240){Te++;continue}return Xe[(ue[Te+2]&60)>>>2]}return null},nr=function(ue){var Te,Se,oe,Ee;Te=10,ue[5]&64&&(Te+=4,Te+=Re(ue.subarray(10,14)));do{if(Se=Re(ue.subarray(Te+4,Te+8)),Se<1)return null;if(Ee=String.fromCharCode(ue[Te],ue[Te+1],ue[Te+2],ue[Te+3]),Ee==="PRIV"){oe=ue.subarray(Te+10,Te+Se+10);for(var Ce=0;Ce<oe.byteLength;Ce++)if(oe[Ce]===0){var Ue=St(oe,0,Ce);if(Ue==="com.apple.streaming.transportStreamTimestamp"){var Oe=oe.subarray(Ce+1),Ze=(Oe[3]&1)<<30|Oe[4]<<22|Oe[5]<<14|Oe[6]<<6|Oe[7]>>>2;return Ze*=4,Ze+=Oe[7]&3,Ze}break}}Te+=10,Te+=Se}while(Te<ue.byteLength);return null},gr={isLikelyAacData:Ae,parseId3TagSize:ct,parseAdtsSize:Lt,parseType:Ft,parseSampleRate:$t,parseAacTimestamp:nr},fr;fr=function(){var ue=new Uint8Array,Te=0;fr.prototype.init.call(this),this.setTimestamp=function(Se){Te=Se},this.push=function(Se){var oe=0,Ee=0,Ce,Ue,Oe,Ze;for(ue.length?(Ze=ue.length,ue=new Uint8Array(Se.byteLength+Ze),ue.set(ue.subarray(0,Ze)),ue.set(Se,Ze)):ue=Se;ue.length-Ee>=3;){if(ue[Ee]===73&&ue[Ee+1]===68&&ue[Ee+2]===51){if(ue.length-Ee<10||(oe=gr.parseId3TagSize(ue,Ee),Ee+oe>ue.length))break;Ue={type:"timed-metadata",data:ue.subarray(Ee,Ee+oe)},this.trigger("data",Ue),Ee+=oe;continue}else if((ue[Ee]&255)===255&&(ue[Ee+1]&240)===240){if(ue.length-Ee<7||(oe=gr.parseAdtsSize(ue,Ee),Ee+oe>ue.length))break;Oe={type:"audio",data:ue.subarray(Ee,Ee+oe),pts:Te,dts:Te},this.trigger("data",Oe),Ee+=oe;continue}Ee++}Ce=ue.length-Ee,Ce>0?ue=ue.subarray(Ee):ue=new Uint8Array},this.reset=function(){ue=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){ue=new Uint8Array,this.trigger("endedtimeline")}},fr.prototype=new e;var ar=fr,Ur=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],Er=Ur,Pr=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],_r=Pr,ti=Fe.H264Stream,Qr=gr.isLikelyAacData,ri=te.ONE_SECOND_IN_TS,Xi,Zi,li,oi,Tn=function(ue,Te){Te.stream=ue,this.trigger("log",Te)},an=function(ue,Te){for(var Se=Object.keys(Te),oe=0;oe<Se.length;oe++){var Ee=Se[oe];Ee==="headOfPipeline"||!Te[Ee].on||Te[Ee].on("log",Tn.bind(ue,Ee))}},Rn=function(ue,Te){var Se;if(ue.length!==Te.length)return!1;for(Se=0;Se<ue.length;Se++)if(ue[Se]!==Te[Se])return!1;return!0},Ui=function(ue,Te,Se,oe,Ee,Ce){var Ue=Se-Te,Oe=oe-Te,Ze=Ee-Se;return{start:{dts:ue,pts:ue+Ue},end:{dts:ue+Oe,pts:ue+Ze},prependedContentDuration:Ce,baseMediaDecodeTime:ue}};Zi=function(ue,Te){var Se=[],oe,Ee=0,Ce=0,Ue=1/0;Te=Te||{},oe=Te.firstSequenceNumber||0,Zi.prototype.init.call(this),this.push=function(Oe){yt.collectDtsInfo(ue,Oe),ue&&Er.forEach(function(Ze){ue[Ze]=Oe[Ze]}),Se.push(Oe)},this.setEarliestDts=function(Oe){Ee=Oe},this.setVideoBaseMediaDecodeTime=function(Oe){Ue=Oe},this.setAudioAppendStart=function(Oe){Ce=Oe},this.flush=function(){var Oe,Ze,Ke,gt,It,ir,cr;if(Se.length===0){this.trigger("done","AudioSegmentStream");return}Oe=De.trimAdtsFramesByEarliestDts(Se,ue,Ee),ue.baseMediaDecodeTime=yt.calculateTrackBaseMediaDecodeTime(ue,Te.keepOriginalTimestamps),cr=De.prefixWithSilence(ue,Oe,Ce,Ue),ue.samples=De.generateSampleTable(Oe),Ke=X.mdat(De.concatenateFrameData(Oe)),Se=[],Ze=X.moof(oe,[ue]),gt=new Uint8Array(Ze.byteLength+Ke.byteLength),oe++,gt.set(Ze),gt.set(Ke,Ze.byteLength),yt.clearDtsInfo(ue),It=Math.ceil(ri*1024/ue.samplerate),Oe.length&&(ir=Oe.length*It,this.trigger("segmentTimingInfo",Ui(te.audioTsToVideoTs(ue.baseMediaDecodeTime,ue.samplerate),Oe[0].dts,Oe[0].pts,Oe[0].dts+ir,Oe[0].pts+ir,cr||0)),this.trigger("timingInfo",{start:Oe[0].pts,end:Oe[0].pts+ir})),this.trigger("data",{track:ue,boxes:gt}),this.trigger("done","AudioSegmentStream")},this.reset=function(){yt.clearDtsInfo(ue),Se=[],this.trigger("reset")}},Zi.prototype=new e,Xi=function(ue,Te){var Se,oe=[],Ee=[],Ce,Ue;Te=Te||{},Se=Te.firstSequenceNumber||0,Xi.prototype.init.call(this),delete ue.minPTS,this.gopCache_=[],this.push=function(Oe){yt.collectDtsInfo(ue,Oe),Oe.nalUnitType==="seq_parameter_set_rbsp"&&!Ce&&(Ce=Oe.config,ue.sps=[Oe.data],_r.forEach(function(Ze){ue[Ze]=Ce[Ze]},this)),Oe.nalUnitType==="pic_parameter_set_rbsp"&&!Ue&&(Ue=Oe.data,ue.pps=[Oe.data]),oe.push(Oe)},this.flush=function(){for(var Oe,Ze,Ke,gt,It,ir,cr=0,Zt,qr;oe.length&&oe[0].nalUnitType!=="access_unit_delimiter_rbsp";)oe.shift();if(oe.length===0){this.resetStream_(),this.trigger("done","VideoSegmentStream");return}if(Oe=dt.groupNalsIntoFrames(oe),Ke=dt.groupFramesIntoGops(Oe),Ke[0][0].keyFrame||(Ze=this.getGopForFusion_(oe[0],ue),Ze?(cr=Ze.duration,Ke.unshift(Ze),Ke.byteLength+=Ze.byteLength,Ke.nalCount+=Ze.nalCount,Ke.pts=Ze.pts,Ke.dts=Ze.dts,Ke.duration+=Ze.duration):Ke=dt.extendFirstKeyFrame(Ke)),Ee.length){var Gr;if(Te.alignGopsAtEnd?Gr=this.alignGopsAtEnd_(Ke):Gr=this.alignGopsAtStart_(Ke),!Gr){this.gopCache_.unshift({gop:Ke.pop(),pps:ue.pps,sps:ue.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),oe=[],this.resetStream_(),this.trigger("done","VideoSegmentStream");return}yt.clearDtsInfo(ue),Ke=Gr}yt.collectDtsInfo(ue,Ke),ue.samples=dt.generateSampleTable(Ke),It=X.mdat(dt.concatenateNalData(Ke)),ue.baseMediaDecodeTime=yt.calculateTrackBaseMediaDecodeTime(ue,Te.keepOriginalTimestamps),this.trigger("processedGopsInfo",Ke.map(function(ii){return{pts:ii.pts,dts:ii.dts,byteLength:ii.byteLength}})),Zt=Ke[0],qr=Ke[Ke.length-1],this.trigger("segmentTimingInfo",Ui(ue.baseMediaDecodeTime,Zt.dts,Zt.pts,qr.dts+qr.duration,qr.pts+qr.duration,cr)),this.trigger("timingInfo",{start:Ke[0].pts,end:Ke[Ke.length-1].pts+Ke[Ke.length-1].duration}),this.gopCache_.unshift({gop:Ke.pop(),pps:ue.pps,sps:ue.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),oe=[],this.trigger("baseMediaDecodeTime",ue.baseMediaDecodeTime),this.trigger("timelineStartInfo",ue.timelineStartInfo),gt=X.moof(Se,[ue]),ir=new Uint8Array(gt.byteLength+It.byteLength),Se++,ir.set(gt),ir.set(It,gt.byteLength),this.trigger("data",{track:ue,boxes:ir}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),oe=[],this.gopCache_.length=0,Ee.length=0,this.trigger("reset")},this.resetStream_=function(){yt.clearDtsInfo(ue),Ce=void 0,Ue=void 0},this.getGopForFusion_=function(Oe){var Ze=45e3,Ke=1e4,gt=1/0,It,ir,cr,Zt,qr;for(qr=0;qr<this.gopCache_.length;qr++)Zt=this.gopCache_[qr],cr=Zt.gop,!(!(ue.pps&&Rn(ue.pps[0],Zt.pps[0]))||!(ue.sps&&Rn(ue.sps[0],Zt.sps[0])))&&(cr.dts<ue.timelineStartInfo.dts||(It=Oe.dts-cr.dts-cr.duration,It>=-Ke&&It<=Ze&&(!ir||gt>It)&&(ir=Zt,gt=It)));return ir?ir.gop:null},this.alignGopsAtStart_=function(Oe){var Ze,Ke,gt,It,ir,cr,Zt,qr;for(ir=Oe.byteLength,cr=Oe.nalCount,Zt=Oe.duration,Ze=Ke=0;Ze<Ee.length&&Ke<Oe.length&&(gt=Ee[Ze],It=Oe[Ke],gt.pts!==It.pts);){if(It.pts>gt.pts){Ze++;continue}Ke++,ir-=It.byteLength,cr-=It.nalCount,Zt-=It.duration}return Ke===0?Oe:Ke===Oe.length?null:(qr=Oe.slice(Ke),qr.byteLength=ir,qr.duration=Zt,qr.nalCount=cr,qr.pts=qr[0].pts,qr.dts=qr[0].dts,qr)},this.alignGopsAtEnd_=function(Oe){var Ze,Ke,gt,It,ir,cr;for(Ze=Ee.length-1,Ke=Oe.length-1,ir=null,cr=!1;Ze>=0&&Ke>=0;){if(gt=Ee[Ze],It=Oe[Ke],gt.pts===It.pts){cr=!0;break}if(gt.pts>It.pts){Ze--;continue}Ze===Ee.length-1&&(ir=Ke),Ke--}if(!cr&&ir===null)return null;var Zt;if(cr?Zt=Ke:Zt=ir,Zt===0)return Oe;var qr=Oe.slice(Zt),Gr=qr.reduce(function(ii,Mi){return ii.byteLength+=Mi.byteLength,ii.duration+=Mi.duration,ii.nalCount+=Mi.nalCount,ii},{byteLength:0,duration:0,nalCount:0});return qr.byteLength=Gr.byteLength,qr.duration=Gr.duration,qr.nalCount=Gr.nalCount,qr.pts=qr[0].pts,qr.dts=qr[0].dts,qr},this.alignGopsWith=function(Oe){Ee=Oe}},Xi.prototype=new e,oi=function(ue,Te){this.numberOfTracks=0,this.metadataStream=Te,ue=ue||{},typeof ue.remux<"u"?this.remuxTracks=!!ue.remux:this.remuxTracks=!0,typeof ue.keepOriginalTimestamps=="boolean"?this.keepOriginalTimestamps=ue.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,oi.prototype.init.call(this),this.push=function(Se){if(Se.text)return this.pendingCaptions.push(Se);if(Se.frames)return this.pendingMetadata.push(Se);this.pendingTracks.push(Se.track),this.pendingBytes+=Se.boxes.byteLength,Se.track.type==="video"&&(this.videoTrack=Se.track,this.pendingBoxes.push(Se.boxes)),Se.track.type==="audio"&&(this.audioTrack=Se.track,this.pendingBoxes.unshift(Se.boxes))}},oi.prototype=new e,oi.prototype.flush=function(it){var ue=0,Te={captions:[],captionStreams:{},metadata:[],info:{}},Se,oe,Ee,Ce=0,Ue;if(this.pendingTracks.length<this.numberOfTracks){if(it!=="VideoSegmentStream"&&it!=="AudioSegmentStream")return;if(this.remuxTracks)return;if(this.pendingTracks.length===0){this.emittedTracks++,this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0);return}}if(this.videoTrack?(Ce=this.videoTrack.timelineStartInfo.pts,_r.forEach(function(Oe){Te.info[Oe]=this.videoTrack[Oe]},this)):this.audioTrack&&(Ce=this.audioTrack.timelineStartInfo.pts,Er.forEach(function(Oe){Te.info[Oe]=this.audioTrack[Oe]},this)),this.videoTrack||this.audioTrack){for(this.pendingTracks.length===1?Te.type=this.pendingTracks[0].type:Te.type="combined",this.emittedTracks+=this.pendingTracks.length,Ee=X.initSegment(this.pendingTracks),Te.initSegment=new Uint8Array(Ee.byteLength),Te.initSegment.set(Ee),Te.data=new Uint8Array(this.pendingBytes),Ue=0;Ue<this.pendingBoxes.length;Ue++)Te.data.set(this.pendingBoxes[Ue],ue),ue+=this.pendingBoxes[Ue].byteLength;for(Ue=0;Ue<this.pendingCaptions.length;Ue++)Se=this.pendingCaptions[Ue],Se.startTime=te.metadataTsToSeconds(Se.startPts,Ce,this.keepOriginalTimestamps),Se.endTime=te.metadataTsToSeconds(Se.endPts,Ce,this.keepOriginalTimestamps),Te.captionStreams[Se.stream]=!0,Te.captions.push(Se);for(Ue=0;Ue<this.pendingMetadata.length;Ue++)oe=this.pendingMetadata[Ue],oe.cueTime=te.metadataTsToSeconds(oe.pts,Ce,this.keepOriginalTimestamps),Te.metadata.push(oe);for(Te.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",Te),Ue=0;Ue<Te.captions.length;Ue++)Se=Te.captions[Ue],this.trigger("caption",Se);for(Ue=0;Ue<Te.metadata.length;Ue++)oe=Te.metadata[Ue],this.trigger("id3Frame",oe)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},oi.prototype.setRemux=function(it){this.remuxTracks=it},li=function(ue){var Te=this,Se=!0,oe,Ee;li.prototype.init.call(this),ue=ue||{},this.baseMediaDecodeTime=ue.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var Ce={};this.transmuxPipeline_=Ce,Ce.type="aac",Ce.metadataStream=new Yr.MetadataStream,Ce.aacStream=new ar,Ce.audioTimestampRolloverStream=new Yr.TimestampRolloverStream("audio"),Ce.timedMetadataTimestampRolloverStream=new Yr.TimestampRolloverStream("timed-metadata"),Ce.adtsStream=new Jr,Ce.coalesceStream=new oi(ue,Ce.metadataStream),Ce.headOfPipeline=Ce.aacStream,Ce.aacStream.pipe(Ce.audioTimestampRolloverStream).pipe(Ce.adtsStream),Ce.aacStream.pipe(Ce.timedMetadataTimestampRolloverStream).pipe(Ce.metadataStream).pipe(Ce.coalesceStream),Ce.metadataStream.on("timestamp",function(Ue){Ce.aacStream.setTimestamp(Ue.timeStamp)}),Ce.aacStream.on("data",function(Ue){Ue.type!=="timed-metadata"&&Ue.type!=="audio"||Ce.audioSegmentStream||(Ee=Ee||{timelineStartInfo:{baseMediaDecodeTime:Te.baseMediaDecodeTime},codec:"adts",type:"audio"},Ce.coalesceStream.numberOfTracks++,Ce.audioSegmentStream=new Zi(Ee,ue),Ce.audioSegmentStream.on("log",Te.getLogTrigger_("audioSegmentStream")),Ce.audioSegmentStream.on("timingInfo",Te.trigger.bind(Te,"audioTimingInfo")),Ce.adtsStream.pipe(Ce.audioSegmentStream).pipe(Ce.coalesceStream),Te.trigger("trackinfo",{hasAudio:!!Ee,hasVideo:!!oe}))}),Ce.coalesceStream.on("data",this.trigger.bind(this,"data")),Ce.coalesceStream.on("done",this.trigger.bind(this,"done")),an(this,Ce)},this.setupTsPipeline=function(){var Ce={};this.transmuxPipeline_=Ce,Ce.type="ts",Ce.metadataStream=new Yr.MetadataStream,Ce.packetStream=new Yr.TransportPacketStream,Ce.parseStream=new Yr.TransportParseStream,Ce.elementaryStream=new Yr.ElementaryStream,Ce.timestampRolloverStream=new Yr.TimestampRolloverStream,Ce.adtsStream=new Jr,Ce.h264Stream=new ti,Ce.captionStream=new Yr.CaptionStream(ue),Ce.coalesceStream=new oi(ue,Ce.metadataStream),Ce.headOfPipeline=Ce.packetStream,Ce.packetStream.pipe(Ce.parseStream).pipe(Ce.elementaryStream).pipe(Ce.timestampRolloverStream),Ce.timestampRolloverStream.pipe(Ce.h264Stream),Ce.timestampRolloverStream.pipe(Ce.adtsStream),Ce.timestampRolloverStream.pipe(Ce.metadataStream).pipe(Ce.coalesceStream),Ce.h264Stream.pipe(Ce.captionStream).pipe(Ce.coalesceStream),Ce.elementaryStream.on("data",function(Ue){var Oe;if(Ue.type==="metadata"){for(Oe=Ue.tracks.length;Oe--;)!oe&&Ue.tracks[Oe].type==="video"?(oe=Ue.tracks[Oe],oe.timelineStartInfo.baseMediaDecodeTime=Te.baseMediaDecodeTime):!Ee&&Ue.tracks[Oe].type==="audio"&&(Ee=Ue.tracks[Oe],Ee.timelineStartInfo.baseMediaDecodeTime=Te.baseMediaDecodeTime);oe&&!Ce.videoSegmentStream&&(Ce.coalesceStream.numberOfTracks++,Ce.videoSegmentStream=new Xi(oe,ue),Ce.videoSegmentStream.on("log",Te.getLogTrigger_("videoSegmentStream")),Ce.videoSegmentStream.on("timelineStartInfo",function(Ze){Ee&&!ue.keepOriginalTimestamps&&(Ee.timelineStartInfo=Ze,Ce.audioSegmentStream.setEarliestDts(Ze.dts-Te.baseMediaDecodeTime))}),Ce.videoSegmentStream.on("processedGopsInfo",Te.trigger.bind(Te,"gopInfo")),Ce.videoSegmentStream.on("segmentTimingInfo",Te.trigger.bind(Te,"videoSegmentTimingInfo")),Ce.videoSegmentStream.on("baseMediaDecodeTime",function(Ze){Ee&&Ce.audioSegmentStream.setVideoBaseMediaDecodeTime(Ze)}),Ce.videoSegmentStream.on("timingInfo",Te.trigger.bind(Te,"videoTimingInfo")),Ce.h264Stream.pipe(Ce.videoSegmentStream).pipe(Ce.coalesceStream)),Ee&&!Ce.audioSegmentStream&&(Ce.coalesceStream.numberOfTracks++,Ce.audioSegmentStream=new Zi(Ee,ue),Ce.audioSegmentStream.on("log",Te.getLogTrigger_("audioSegmentStream")),Ce.audioSegmentStream.on("timingInfo",Te.trigger.bind(Te,"audioTimingInfo")),Ce.audioSegmentStream.on("segmentTimingInfo",Te.trigger.bind(Te,"audioSegmentTimingInfo")),Ce.adtsStream.pipe(Ce.audioSegmentStream).pipe(Ce.coalesceStream)),Te.trigger("trackinfo",{hasAudio:!!Ee,hasVideo:!!oe})}}),Ce.coalesceStream.on("data",this.trigger.bind(this,"data")),Ce.coalesceStream.on("id3Frame",function(Ue){Ue.dispatchType=Ce.metadataStream.dispatchType,Te.trigger("id3Frame",Ue)}),Ce.coalesceStream.on("caption",this.trigger.bind(this,"caption")),Ce.coalesceStream.on("done",this.trigger.bind(this,"done")),an(this,Ce)},this.setBaseMediaDecodeTime=function(Ce){var Ue=this.transmuxPipeline_;ue.keepOriginalTimestamps||(this.baseMediaDecodeTime=Ce),Ee&&(Ee.timelineStartInfo.dts=void 0,Ee.timelineStartInfo.pts=void 0,yt.clearDtsInfo(Ee),Ue.audioTimestampRolloverStream&&Ue.audioTimestampRolloverStream.discontinuity()),oe&&(Ue.videoSegmentStream&&(Ue.videoSegmentStream.gopCache_=[]),oe.timelineStartInfo.dts=void 0,oe.timelineStartInfo.pts=void 0,yt.clearDtsInfo(oe),Ue.captionStream.reset()),Ue.timestampRolloverStream&&Ue.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(Ce){Ee&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(Ce)},this.setRemux=function(Ce){var Ue=this.transmuxPipeline_;ue.remux=Ce,Ue&&Ue.coalesceStream&&Ue.coalesceStream.setRemux(Ce)},this.alignGopsWith=function(Ce){oe&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(Ce)},this.getLogTrigger_=function(Ce){var Ue=this;return function(Oe){Oe.stream=Ce,Ue.trigger("log",Oe)}},this.push=function(Ce){if(Se){var Ue=Qr(Ce);Ue&&this.transmuxPipeline_.type!=="aac"?this.setupAacPipeline():!Ue&&this.transmuxPipeline_.type!=="ts"&&this.setupTsPipeline(),Se=!1}this.transmuxPipeline_.headOfPipeline.push(Ce)},this.flush=function(){Se=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},li.prototype=new e;var sn={Transmuxer:li,VideoSegmentStream:Xi,AudioSegmentStream:Zi,AUDIO_PROPERTIES:Er,VIDEO_PROPERTIES:_r,generateSegmentTimingInfo:Ui},Gn=function(ue){return ue>>>0},Jn=function(ue){return("00"+ue.toString(16)).slice(-2)},Nn={toUnsigned:Gn,toHexString:Jn},ki=function(ue){var Te="";return Te+=String.fromCharCode(ue[0]),Te+=String.fromCharCode(ue[1]),Te+=String.fromCharCode(ue[2]),Te+=String.fromCharCode(ue[3]),Te},Ki=ki,Ji=Nn.toUnsigned,ea=function it(ue,Te){var Se=[],oe,Ee,Ce,Ue,Oe;if(!Te.length)return null;for(oe=0;oe<ue.byteLength;)Ee=Ji(ue[oe]<<24|ue[oe+1]<<16|ue[oe+2]<<8|ue[oe+3]),Ce=Ki(ue.subarray(oe+4,oe+8)),Ue=Ee>1?oe+Ee:ue.byteLength,Ce===Te[0]&&(Te.length===1?Se.push(ue.subarray(oe+8,Ue)):(Oe=it(ue.subarray(oe+8,Ue),Te.slice(1)),Oe.length&&(Se=Se.concat(Oe)))),oe=Ue;return Se},gi=ea,Hi=Nn.toUnsigned,Y=t.getUint64,ne=function(ue){var Te={version:ue[0],flags:new Uint8Array(ue.subarray(1,4))};return Te.version===1?Te.baseMediaDecodeTime=Y(ue.subarray(4)):Te.baseMediaDecodeTime=Hi(ue[4]<<24|ue[5]<<16|ue[6]<<8|ue[7]),Te},ke=ne,Le=function(ue){return{isLeading:(ue[0]&12)>>>2,dependsOn:ue[0]&3,isDependedOn:(ue[1]&192)>>>6,hasRedundancy:(ue[1]&48)>>>4,paddingValue:(ue[1]&14)>>>1,isNonSyncSample:ue[1]&1,degradationPriority:ue[2]<<8|ue[3]}},He=Le,Ve=function(ue){var Te={version:ue[0],flags:new Uint8Array(ue.subarray(1,4)),samples:[]},Se=new DataView(ue.buffer,ue.byteOffset,ue.byteLength),oe=Te.flags[2]&1,Ee=Te.flags[2]&4,Ce=Te.flags[1]&1,Ue=Te.flags[1]&2,Oe=Te.flags[1]&4,Ze=Te.flags[1]&8,Ke=Se.getUint32(4),gt=8,It;for(oe&&(Te.dataOffset=Se.getInt32(gt),gt+=4),Ee&&Ke&&(It={flags:He(ue.subarray(gt,gt+4))},gt+=4,Ce&&(It.duration=Se.getUint32(gt),gt+=4),Ue&&(It.size=Se.getUint32(gt),gt+=4),Ze&&(Te.version===1?It.compositionTimeOffset=Se.getInt32(gt):It.compositionTimeOffset=Se.getUint32(gt),gt+=4),Te.samples.push(It),Ke--);Ke--;)It={},Ce&&(It.duration=Se.getUint32(gt),gt+=4),Ue&&(It.size=Se.getUint32(gt),gt+=4),Oe&&(It.flags=He(ue.subarray(gt,gt+4)),gt+=4),Ze&&(Te.version===1?It.compositionTimeOffset=Se.getInt32(gt):It.compositionTimeOffset=Se.getUint32(gt),gt+=4),Te.samples.push(It);return Te},nt=Ve,Ot=function(ue){var Te=new DataView(ue.buffer,ue.byteOffset,ue.byteLength),Se={version:ue[0],flags:new Uint8Array(ue.subarray(1,4)),trackId:Te.getUint32(4)},oe=Se.flags[2]&1,Ee=Se.flags[2]&2,Ce=Se.flags[2]&8,Ue=Se.flags[2]&16,Oe=Se.flags[2]&32,Ze=Se.flags[0]&65536,Ke=Se.flags[0]&131072,gt;return gt=8,oe&&(gt+=4,Se.baseDataOffset=Te.getUint32(12),gt+=4),Ee&&(Se.sampleDescriptionIndex=Te.getUint32(gt),gt+=4),Ce&&(Se.defaultSampleDuration=Te.getUint32(gt),gt+=4),Ue&&(Se.defaultSampleSize=Te.getUint32(gt),gt+=4),Oe&&(Se.defaultSampleFlags=Te.getUint32(gt)),Ze&&(Se.durationIsEmpty=!0),!oe&&Ke&&(Se.baseDataOffsetIsMoof=!0),Se},At=Ot,Vt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},or;typeof window<"u"?or=window:typeof Vt<"u"?or=Vt:typeof self<"u"?or=self:or={};var yr=or,er=Ut.discardEmulationPreventionBytes,$r=Jt.CaptionStream,Kr=function(ue,Te){for(var Se=ue,oe=0;oe<Te.length;oe++){var Ee=Te[oe];if(Se<Ee.size)return Ee;Se-=Ee.size}return null},hi=function(ue,Te,Se){var oe=new DataView(ue.buffer,ue.byteOffset,ue.byteLength),Ee={logs:[],seiNals:[]},Ce,Ue,Oe,Ze;for(Ue=0;Ue+4<ue.length;Ue+=Oe)if(Oe=oe.getUint32(Ue),Ue+=4,!(Oe<=0))switch(ue[Ue]&31){case 6:var Ke=ue.subarray(Ue+1,Ue+1+Oe),gt=Kr(Ue,Te);if(Ce={nalUnitType:"sei_rbsp",size:Oe,data:Ke,escapedRBSP:er(Ke),trackId:Se},gt)Ce.pts=gt.pts,Ce.dts=gt.dts,Ze=gt;else if(Ze)Ce.pts=Ze.pts,Ce.dts=Ze.dts;else{Ee.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+Ue+" for trackId "+Se+". See mux.js#223."});break}Ee.seiNals.push(Ce);break}return Ee},ci=function(ue,Te,Se){var oe=Te,Ee=Se.defaultSampleDuration||0,Ce=Se.defaultSampleSize||0,Ue=Se.trackId,Oe=[];return ue.forEach(function(Ze){var Ke=nt(Ze),gt=Ke.samples;gt.forEach(function(It){It.duration===void 0&&(It.duration=Ee),It.size===void 0&&(It.size=Ce),It.trackId=Ue,It.dts=oe,It.compositionTimeOffset===void 0&&(It.compositionTimeOffset=0),typeof oe=="bigint"?(It.pts=oe+yr.BigInt(It.compositionTimeOffset),oe+=yr.BigInt(It.duration)):(It.pts=oe+It.compositionTimeOffset,oe+=It.duration)}),Oe=Oe.concat(gt)}),Oe},ji=function(ue,Te){var Se=gi(ue,["moof","traf"]),oe=gi(ue,["mdat"]),Ee={},Ce=[];return oe.forEach(function(Ue,Oe){var Ze=Se[Oe];Ce.push({mdat:Ue,traf:Ze})}),Ce.forEach(function(Ue){var Oe=Ue.mdat,Ze=Ue.traf,Ke=gi(Ze,["tfhd"]),gt=At(Ke[0]),It=gt.trackId,ir=gi(Ze,["tfdt"]),cr=ir.length>0?ke(ir[0]).baseMediaDecodeTime:0,Zt=gi(Ze,["trun"]),qr,Gr;Te===It&&Zt.length>0&&(qr=ci(Zt,cr,gt),Gr=hi(Oe,qr,It),Ee[It]||(Ee[It]={seiNals:[],logs:[]}),Ee[It].seiNals=Ee[It].seiNals.concat(Gr.seiNals),Ee[It].logs=Ee[It].logs.concat(Gr.logs))}),Ee},Pi=function(ue,Te,Se){var oe;if(Te===null)return null;oe=ji(ue,Te);var Ee=oe[Te]||{};return{seiNals:Ee.seiNals,logs:Ee.logs,timescale:Se}},pn=function(){var ue=!1,Te,Se,oe,Ee,Ce,Ue;this.isInitialized=function(){return ue},this.init=function(Oe){Te=new $r,ue=!0,Ue=Oe?Oe.isPartial:!1,Te.on("data",function(Ze){Ze.startTime=Ze.startPts/Ee,Ze.endTime=Ze.endPts/Ee,Ce.captions.push(Ze),Ce.captionStreams[Ze.stream]=!0}),Te.on("log",function(Ze){Ce.logs.push(Ze)})},this.isNewInit=function(Oe,Ze){return Oe&&Oe.length===0||Ze&&typeof Ze=="object"&&Object.keys(Ze).length===0?!1:oe!==Oe[0]||Ee!==Ze[oe]},this.parse=function(Oe,Ze,Ke){var gt;if(this.isInitialized()){if(!Ze||!Ke)return null;if(this.isNewInit(Ze,Ke))oe=Ze[0],Ee=Ke[oe];else if(oe===null||!Ee)return Se.push(Oe),null}else return null;for(;Se.length>0;){var It=Se.shift();this.parse(It,Ze,Ke)}return gt=Pi(Oe,oe,Ee),gt&&gt.logs&&(Ce.logs=Ce.logs.concat(gt.logs)),gt===null||!gt.seiNals?Ce.logs.length?{logs:Ce.logs,captions:[],captionStreams:[]}:null:(this.pushNals(gt.seiNals),this.flushStream(),Ce)},this.pushNals=function(Oe){if(!this.isInitialized()||!Oe||Oe.length===0)return null;Oe.forEach(function(Ze){Te.push(Ze)})},this.flushStream=function(){if(!this.isInitialized())return null;Ue?Te.partialFlush():Te.flush()},this.clearParsedCaptions=function(){Ce.captions=[],Ce.captionStreams={},Ce.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;Te.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){Se=[],oe=null,Ee=null,Ce?this.clearParsedCaptions():Ce={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},mn=pn,di=Nn.toUnsigned,en=Nn.toHexString,vi=t.getUint64,Ai,Kn,ta,tn,Ln,Wi;Ai=function(ue){var Te={},Se=gi(ue,["moov","trak"]);return Se.reduce(function(oe,Ee){var Ce,Ue,Oe,Ze,Ke;return Ce=gi(Ee,["tkhd"])[0],!Ce||(Ue=Ce[0],Oe=Ue===0?12:20,Ze=di(Ce[Oe]<<24|Ce[Oe+1]<<16|Ce[Oe+2]<<8|Ce[Oe+3]),Ke=gi(Ee,["mdia","mdhd"])[0],!Ke)?null:(Ue=Ke[0],Oe=Ue===0?12:20,oe[Ze]=di(Ke[Oe]<<24|Ke[Oe+1]<<16|Ke[Oe+2]<<8|Ke[Oe+3]),oe)},Te)},Kn=function(ue,Te){var Se;Se=gi(Te,["moof","traf"]);var oe=Se.reduce(function(Ee,Ce){var Ue=gi(Ce,["tfhd"])[0],Oe=di(Ue[4]<<24|Ue[5]<<16|Ue[6]<<8|Ue[7]),Ze=ue[Oe]||9e4,Ke=gi(Ce,["tfdt"])[0],gt=new DataView(Ke.buffer,Ke.byteOffset,Ke.byteLength),It;Ke[0]===1?It=vi(Ke.subarray(4,12)):It=gt.getUint32(4);var ir;return typeof It=="bigint"?ir=It/yr.BigInt(Ze):typeof It=="number"&&!isNaN(It)&&(ir=It/Ze),ir<Number.MAX_SAFE_INTEGER&&(ir=Number(ir)),ir<Ee&&(Ee=ir),Ee},1/0);return typeof oe=="bigint"||isFinite(oe)?oe:0},ta=function(ue,Te){var Se=gi(Te,["moof","traf"]),oe=0,Ee=0,Ce;if(Se&&Se.length){var Ue=gi(Se[0],["tfhd"])[0],Oe=gi(Se[0],["trun"])[0],Ze=gi(Se[0],["tfdt"])[0];if(Ue){var Ke=At(Ue);Ce=Ke.trackId}if(Ze){var gt=ke(Ze);oe=gt.baseMediaDecodeTime}if(Oe){var It=nt(Oe);It.samples&&It.samples.length&&(Ee=It.samples[0].compositionTimeOffset||0)}}var ir=ue[Ce]||9e4;typeof oe=="bigint"&&(Ee=yr.BigInt(Ee),ir=yr.BigInt(ir));var cr=(oe+Ee)/ir;return typeof cr=="bigint"&&cr<Number.MAX_SAFE_INTEGER&&(cr=Number(cr)),cr},tn=function(ue){var Te=gi(ue,["moov","trak"]),Se=[];return Te.forEach(function(oe){var Ee=gi(oe,["mdia","hdlr"]),Ce=gi(oe,["tkhd"]);Ee.forEach(function(Ue,Oe){var Ze=Ki(Ue.subarray(8,12)),Ke=Ce[Oe],gt,It,ir;Ze==="vide"&&(gt=new DataView(Ke.buffer,Ke.byteOffset,Ke.byteLength),It=gt.getUint8(0),ir=It===0?gt.getUint32(12):gt.getUint32(20),Se.push(ir))})}),Se},Wi=function(ue){var Te=ue[0],Se=Te===0?12:20;return di(ue[Se]<<24|ue[Se+1]<<16|ue[Se+2]<<8|ue[Se+3])},Ln=function(ue){var Te=gi(ue,["moov","trak"]),Se=[];return Te.forEach(function(oe){var Ee={},Ce=gi(oe,["tkhd"])[0],Ue,Oe;Ce&&(Ue=new DataView(Ce.buffer,Ce.byteOffset,Ce.byteLength),Oe=Ue.getUint8(0),Ee.id=Oe===0?Ue.getUint32(12):Ue.getUint32(20));var Ze=gi(oe,["mdia","hdlr"])[0];if(Ze){var Ke=Ki(Ze.subarray(8,12));Ke==="vide"?Ee.type="video":Ke==="soun"?Ee.type="audio":Ee.type=Ke}var gt=gi(oe,["mdia","minf","stbl","stsd"])[0];if(gt){var It=gt.subarray(8);Ee.codec=Ki(It.subarray(4,8));var ir=gi(It,[Ee.codec])[0],cr,Zt;ir&&(/^[asm]vc[1-9]$/i.test(Ee.codec)?(cr=ir.subarray(78),Zt=Ki(cr.subarray(4,8)),Zt==="avcC"&&cr.length>11?(Ee.codec+=".",Ee.codec+=en(cr[9]),Ee.codec+=en(cr[10]),Ee.codec+=en(cr[11])):Ee.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(Ee.codec)?(cr=ir.subarray(28),Zt=Ki(cr.subarray(4,8)),Zt==="esds"&&cr.length>20&&cr[19]!==0?(Ee.codec+="."+en(cr[19]),Ee.codec+="."+en(cr[20]>>>2&63).replace(/^0/,"")):Ee.codec="mp4a.40.2"):Ee.codec=Ee.codec.toLowerCase())}var qr=gi(oe,["mdia","mdhd"])[0];qr&&(Ee.timescale=Wi(qr)),Se.push(Ee)}),Se};var gn={findBox:gi,parseType:Ki,timescale:Ai,startTime:Kn,compositionStartTime:ta,videoTrackIds:tn,tracks:Ln,getTimescaleFromMediaHeader:Wi},En=function(ue){var Te=ue[1]&31;return Te<<=8,Te|=ue[2],Te},$i=function(ue){return!!(ue[1]&64)},Bn=function(ue){var Te=0;return(ue[3]&48)>>>4>1&&(Te+=ue[4]+1),Te},kn=function(ue,Te){var Se=En(ue);return Se===0?"pat":Se===Te?"pmt":Te?"pes":null},vn=function(ue){var Te=$i(ue),Se=4+Bn(ue);return Te&&(Se+=ue[Se]+1),(ue[Se+10]&31)<<8|ue[Se+11]},Qi=function(ue){var Te={},Se=$i(ue),oe=4+Bn(ue);if(Se&&(oe+=ue[oe]+1),!!(ue[oe+5]&1)){var Ee,Ce,Ue;Ee=(ue[oe+1]&15)<<8|ue[oe+2],Ce=3+Ee-4,Ue=(ue[oe+10]&15)<<8|ue[oe+11];for(var Oe=12+Ue;Oe<Ce;){var Ze=oe+Oe;Te[(ue[Ze+1]&31)<<8|ue[Ze+2]]=ue[Ze],Oe+=((ue[Ze+3]&15)<<8|ue[Ze+4])+5}return Te}},wa=function(ue,Te){var Se=En(ue),oe=Te[Se];switch(oe){case wr.H264_STREAM_TYPE:return"video";case wr.ADTS_STREAM_TYPE:return"audio";case wr.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},ra=function(ue){var Te=$i(ue);if(!Te)return null;var Se=4+Bn(ue);if(Se>=ue.byteLength)return null;var oe=null,Ee;return Ee=ue[Se+7],Ee&192&&(oe={},oe.pts=(ue[Se+9]&14)<<27|(ue[Se+10]&255)<<20|(ue[Se+11]&254)<<12|(ue[Se+12]&255)<<5|(ue[Se+13]&254)>>>3,oe.pts*=4,oe.pts+=(ue[Se+13]&6)>>>1,oe.dts=oe.pts,Ee&64&&(oe.dts=(ue[Se+14]&14)<<27|(ue[Se+15]&255)<<20|(ue[Se+16]&254)<<12|(ue[Se+17]&255)<<5|(ue[Se+18]&254)>>>3,oe.dts*=4,oe.dts+=(ue[Se+18]&6)>>>1)),oe},wi=function(ue){switch(ue){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},ia=function(ue){for(var Te=4+Bn(ue),Se=ue.subarray(Te),oe=0,Ee=0,Ce=!1,Ue;Ee<Se.byteLength-3;Ee++)if(Se[Ee+2]===1){oe=Ee+5;break}for(;oe<Se.byteLength;)switch(Se[oe]){case 0:if(Se[oe-1]!==0){oe+=2;break}else if(Se[oe-2]!==0){oe++;break}Ee+3!==oe-2&&(Ue=wi(Se[Ee+3]&31),Ue==="slice_layer_without_partitioning_rbsp_idr"&&(Ce=!0));do oe++;while(Se[oe]!==1&&oe<Se.length);Ee=oe-2,oe+=3;break;case 1:if(Se[oe-1]!==0||Se[oe-2]!==0){oe+=3;break}Ue=wi(Se[Ee+3]&31),Ue==="slice_layer_without_partitioning_rbsp_idr"&&(Ce=!0),Ee=oe-2,oe+=3;break;default:oe+=3;break}return Se=Se.subarray(Ee),oe-=Ee,Ee=0,Se&&Se.byteLength>3&&(Ue=wi(Se[Ee+3]&31),Ue==="slice_layer_without_partitioning_rbsp_idr"&&(Ce=!0)),Ce},un={parseType:kn,parsePat:vn,parsePmt:Qi,parsePayloadUnitStartIndicator:$i,parsePesType:wa,parsePesTime:ra,videoPacketContainsKeyFrame:ia},ln=kr.handleRollover,Ei={};Ei.ts=un,Ei.aac=gr;var zn=te.ONE_SECOND_IN_TS,Ni=188,Di=71,Sa=function(ue,Te){for(var Se=0,oe=Ni,Ee,Ce;oe<ue.byteLength;){if(ue[Se]===Di&&ue[oe]===Di){switch(Ee=ue.subarray(Se,oe),Ce=Ei.ts.parseType(Ee,Te.pid),Ce){case"pat":Te.pid=Ei.ts.parsePat(Ee);break;case"pmt":var Ue=Ei.ts.parsePmt(Ee);Te.table=Te.table||{},Object.keys(Ue).forEach(function(Oe){Te.table[Oe]=Ue[Oe]});break}Se+=Ni,oe+=Ni;continue}Se++,oe++}},An=function(ue,Te,Se){for(var oe=0,Ee=Ni,Ce,Ue,Oe,Ze,Ke,gt=!1;Ee<=ue.byteLength;){if(ue[oe]===Di&&(ue[Ee]===Di||Ee===ue.byteLength)){switch(Ce=ue.subarray(oe,Ee),Ue=Ei.ts.parseType(Ce,Te.pid),Ue){case"pes":Oe=Ei.ts.parsePesType(Ce,Te.table),Ze=Ei.ts.parsePayloadUnitStartIndicator(Ce),Oe==="audio"&&Ze&&(Ke=Ei.ts.parsePesTime(Ce),Ke&&(Ke.type="audio",Se.audio.push(Ke),gt=!0));break}if(gt)break;oe+=Ni,Ee+=Ni;continue}oe++,Ee++}for(Ee=ue.byteLength,oe=Ee-Ni,gt=!1;oe>=0;){if(ue[oe]===Di&&(ue[Ee]===Di||Ee===ue.byteLength)){switch(Ce=ue.subarray(oe,Ee),Ue=Ei.ts.parseType(Ce,Te.pid),Ue){case"pes":Oe=Ei.ts.parsePesType(Ce,Te.table),Ze=Ei.ts.parsePayloadUnitStartIndicator(Ce),Oe==="audio"&&Ze&&(Ke=Ei.ts.parsePesTime(Ce),Ke&&(Ke.type="audio",Se.audio.push(Ke),gt=!0));break}if(gt)break;oe-=Ni,Ee-=Ni;continue}oe--,Ee--}},pa=function(ue,Te,Se){for(var oe=0,Ee=Ni,Ce,Ue,Oe,Ze,Ke,gt,It,ir,cr=!1,Zt={data:[],size:0};Ee<ue.byteLength;){if(ue[oe]===Di&&ue[Ee]===Di){switch(Ce=ue.subarray(oe,Ee),Ue=Ei.ts.parseType(Ce,Te.pid),Ue){case"pes":if(Oe=Ei.ts.parsePesType(Ce,Te.table),Ze=Ei.ts.parsePayloadUnitStartIndicator(Ce),Oe==="video"&&(Ze&&!cr&&(Ke=Ei.ts.parsePesTime(Ce),Ke&&(Ke.type="video",Se.video.push(Ke),cr=!0)),!Se.firstKeyFrame)){if(Ze&&Zt.size!==0){for(gt=new Uint8Array(Zt.size),It=0;Zt.data.length;)ir=Zt.data.shift(),gt.set(ir,It),It+=ir.byteLength;if(Ei.ts.videoPacketContainsKeyFrame(gt)){var qr=Ei.ts.parsePesTime(gt);qr?(Se.firstKeyFrame=qr,Se.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}Zt.size=0}Zt.data.push(Ce),Zt.size+=Ce.byteLength}break}if(cr&&Se.firstKeyFrame)break;oe+=Ni,Ee+=Ni;continue}oe++,Ee++}for(Ee=ue.byteLength,oe=Ee-Ni,cr=!1;oe>=0;){if(ue[oe]===Di&&ue[Ee]===Di){switch(Ce=ue.subarray(oe,Ee),Ue=Ei.ts.parseType(Ce,Te.pid),Ue){case"pes":Oe=Ei.ts.parsePesType(Ce,Te.table),Ze=Ei.ts.parsePayloadUnitStartIndicator(Ce),Oe==="video"&&Ze&&(Ke=Ei.ts.parsePesTime(Ce),Ke&&(Ke.type="video",Se.video.push(Ke),cr=!0));break}if(cr)break;oe-=Ni,Ee-=Ni;continue}oe--,Ee--}},Qn=function(ue,Te){if(ue.audio&&ue.audio.length){var Se=Te;(typeof Se>"u"||isNaN(Se))&&(Se=ue.audio[0].dts),ue.audio.forEach(function(Ce){Ce.dts=ln(Ce.dts,Se),Ce.pts=ln(Ce.pts,Se),Ce.dtsTime=Ce.dts/zn,Ce.ptsTime=Ce.pts/zn})}if(ue.video&&ue.video.length){var oe=Te;if((typeof oe>"u"||isNaN(oe))&&(oe=ue.video[0].dts),ue.video.forEach(function(Ce){Ce.dts=ln(Ce.dts,oe),Ce.pts=ln(Ce.pts,oe),Ce.dtsTime=Ce.dts/zn,Ce.ptsTime=Ce.pts/zn}),ue.firstKeyFrame){var Ee=ue.firstKeyFrame;Ee.dts=ln(Ee.dts,oe),Ee.pts=ln(Ee.pts,oe),Ee.dtsTime=Ee.dts/zn,Ee.ptsTime=Ee.pts/zn}}},fn=function(ue){for(var Te=!1,Se=0,oe=null,Ee=null,Ce=0,Ue=0,Oe;ue.length-Ue>=3;){var Ze=Ei.aac.parseType(ue,Ue);switch(Ze){case"timed-metadata":if(ue.length-Ue<10){Te=!0;break}if(Ce=Ei.aac.parseId3TagSize(ue,Ue),Ce>ue.length){Te=!0;break}Ee===null&&(Oe=ue.subarray(Ue,Ue+Ce),Ee=Ei.aac.parseAacTimestamp(Oe)),Ue+=Ce;break;case"audio":if(ue.length-Ue<7){Te=!0;break}if(Ce=Ei.aac.parseAdtsSize(ue,Ue),Ce>ue.length){Te=!0;break}oe===null&&(Oe=ue.subarray(Ue,Ue+Ce),oe=Ei.aac.parseSampleRate(Oe)),Se++,Ue+=Ce;break;default:Ue++;break}if(Te)return null}if(oe===null||Ee===null)return null;var Ke=zn/oe,gt={audio:[{type:"audio",dts:Ee,pts:Ee},{type:"audio",dts:Ee+Se*1024*Ke,pts:Ee+Se*1024*Ke}]};return gt},Un=function(ue){var Te={pid:null,table:null},Se={};Sa(ue,Te);for(var oe in Te.table)if(Te.table.hasOwnProperty(oe)){var Ee=Te.table[oe];switch(Ee){case wr.H264_STREAM_TYPE:Se.video=[],pa(ue,Te,Se),Se.video.length===0&&delete Se.video;break;case wr.ADTS_STREAM_TYPE:Se.audio=[],An(ue,Te,Se),Se.audio.length===0&&delete Se.audio;break}}return Se},Ta=function(ue,Te){var Se=Ei.aac.isLikelyAacData(ue),oe;return Se?oe=fn(ue):oe=Un(ue),!oe||!oe.audio&&!oe.video?null:(Qn(oe,Te),oe)},za={inspect:Ta,parseAudioPes_:An},ma=function(ue,Te){Te.on("data",function(Se){var oe=Se.initSegment;Se.initSegment={data:oe.buffer,byteOffset:oe.byteOffset,byteLength:oe.byteLength};var Ee=Se.data;Se.data=Ee.buffer,ue.postMessage({action:"data",segment:Se,byteOffset:Ee.byteOffset,byteLength:Ee.byteLength},[Se.data])}),Te.on("done",function(Se){ue.postMessage({action:"done"})}),Te.on("gopInfo",function(Se){ue.postMessage({action:"gopInfo",gopInfo:Se})}),Te.on("videoSegmentTimingInfo",function(Se){var oe={start:{decode:te.videoTsToSeconds(Se.start.dts),presentation:te.videoTsToSeconds(Se.start.pts)},end:{decode:te.videoTsToSeconds(Se.end.dts),presentation:te.videoTsToSeconds(Se.end.pts)},baseMediaDecodeTime:te.videoTsToSeconds(Se.baseMediaDecodeTime)};Se.prependedContentDuration&&(oe.prependedContentDuration=te.videoTsToSeconds(Se.prependedContentDuration)),ue.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:oe})}),Te.on("audioSegmentTimingInfo",function(Se){var oe={start:{decode:te.videoTsToSeconds(Se.start.dts),presentation:te.videoTsToSeconds(Se.start.pts)},end:{decode:te.videoTsToSeconds(Se.end.dts),presentation:te.videoTsToSeconds(Se.end.pts)},baseMediaDecodeTime:te.videoTsToSeconds(Se.baseMediaDecodeTime)};Se.prependedContentDuration&&(oe.prependedContentDuration=te.videoTsToSeconds(Se.prependedContentDuration)),ue.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:oe})}),Te.on("id3Frame",function(Se){ue.postMessage({action:"id3Frame",id3Frame:Se})}),Te.on("caption",function(Se){ue.postMessage({action:"caption",caption:Se})}),Te.on("trackinfo",function(Se){ue.postMessage({action:"trackinfo",trackInfo:Se})}),Te.on("audioTimingInfo",function(Se){ue.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:te.videoTsToSeconds(Se.start),end:te.videoTsToSeconds(Se.end)}})}),Te.on("videoTimingInfo",function(Se){ue.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:te.videoTsToSeconds(Se.start),end:te.videoTsToSeconds(Se.end)}})}),Te.on("log",function(Se){ue.postMessage({action:"log",log:Se})})},Cn=function(){function it(Te,Se){this.options=Se||{},this.self=Te,this.init()}var ue=it.prototype;return ue.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new sn.Transmuxer(this.options),ma(this.self,this.transmuxer)},ue.pushMp4Captions=function(Se){this.captionParser||(this.captionParser=new mn,this.captionParser.init());var oe=new Uint8Array(Se.data,Se.byteOffset,Se.byteLength),Ee=this.captionParser.parse(oe,Se.trackIds,Se.timescales);this.self.postMessage({action:"mp4Captions",captions:Ee&&Ee.captions||[],logs:Ee&&Ee.logs||[],data:oe.buffer},[oe.buffer])},ue.probeMp4StartTime=function(Se){var oe=Se.timescales,Ee=Se.data,Ce=gn.startTime(oe,Ee);this.self.postMessage({action:"probeMp4StartTime",startTime:Ce,data:Ee},[Ee.buffer])},ue.probeMp4Tracks=function(Se){var oe=Se.data,Ee=gn.tracks(oe);this.self.postMessage({action:"probeMp4Tracks",tracks:Ee,data:oe},[oe.buffer])},ue.probeTs=function(Se){var oe=Se.data,Ee=Se.baseStartTime,Ce=typeof Ee=="number"&&!isNaN(Ee)?Ee*te.ONE_SECOND_IN_TS:void 0,Ue=za.inspect(oe,Ce),Oe=null;Ue&&(Oe={hasVideo:Ue.video&&Ue.video.length===2||!1,hasAudio:Ue.audio&&Ue.audio.length===2||!1},Oe.hasVideo&&(Oe.videoStart=Ue.video[0].ptsTime),Oe.hasAudio&&(Oe.audioStart=Ue.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:Oe,data:oe},[oe.buffer])},ue.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},ue.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},ue.push=function(Se){var oe=new Uint8Array(Se.data,Se.byteOffset,Se.byteLength);this.transmuxer.push(oe)},ue.reset=function(){this.transmuxer.reset()},ue.setTimestampOffset=function(Se){var oe=Se.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(te.secondsToVideoTs(oe)))},ue.setAudioAppendStart=function(Se){this.transmuxer.setAudioAppendStart(Math.ceil(te.secondsToVideoTs(Se.appendStart)))},ue.setRemux=function(Se){this.transmuxer.setRemux(Se.remux)},ue.flush=function(Se){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},ue.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},ue.alignGopsWith=function(Se){this.transmuxer.alignGopsWith(Se.gopsToAlignWith.slice())},it}();self.onmessage=function(it){if(it.data.action==="init"&&it.data.options){this.messageHandlers=new Cn(self,it.data.options);return}this.messageHandlers||(this.messageHandlers=new Cn(self)),it.data&&it.data.action&&it.data.action!=="init"&&this.messageHandlers[it.data.action]&&this.messageHandlers[it.data.action](it.data)}})),TransmuxWorker=factory(workerCode$1),handleData_=function(e,o,l){var t=e.data.segment,u=t.type,h=t.initSegment,v=t.captions,w=t.captionStreams,A=t.metadata,E=t.videoFrameDtsTime,C=t.videoFramePtsTime;o.buffer.push({captions:v,captionStreams:w,metadata:A});var M=e.data.segment.boxes||{data:e.data.segment.data},P={type:u,data:new Uint8Array(M.data,M.data.byteOffset,M.data.byteLength),initSegment:new Uint8Array(h.data,h.byteOffset,h.byteLength)};typeof E<"u"&&(P.videoFrameDtsTime=E),typeof C<"u"&&(P.videoFramePtsTime=C),l(P)},handleDone_=function(e){var o=e.transmuxedData,l=e.callback;o.buffer=[],l(o)},handleGopInfo_=function(e,o){o.gopInfo=e.data.gopInfo},processTransmux=function(e){var o=e.transmuxer,l=e.bytes,t=e.audioAppendStart,u=e.gopsToAlignWith,h=e.remux,v=e.onData,w=e.onTrackInfo,A=e.onAudioTimingInfo,E=e.onVideoTimingInfo,C=e.onVideoSegmentTimingInfo,M=e.onAudioSegmentTimingInfo,P=e.onId3,I=e.onCaptions,j=e.onDone,B=e.onEndedTimeline,F=e.onTransmuxerLog,N=e.isEndOfTimeline,ee={buffer:[]},Z=N,re=function(he){o.currentTransmux===e&&(he.data.action==="data"&&handleData_(he,ee,v),he.data.action==="trackinfo"&&w(he.data.trackInfo),he.data.action==="gopInfo"&&handleGopInfo_(he,ee),he.data.action==="audioTimingInfo"&&A(he.data.audioTimingInfo),he.data.action==="videoTimingInfo"&&E(he.data.videoTimingInfo),he.data.action==="videoSegmentTimingInfo"&&C(he.data.videoSegmentTimingInfo),he.data.action==="audioSegmentTimingInfo"&&M(he.data.audioSegmentTimingInfo),he.data.action==="id3Frame"&&P([he.data.id3Frame],he.data.id3Frame.dispatchType),he.data.action==="caption"&&I(he.data.caption),he.data.action==="endedtimeline"&&(Z=!1,B()),he.data.action==="log"&&F(he.data.log),he.data.type==="transmuxed"&&(Z||(o.onmessage=null,handleDone_({transmuxedData:ee,callback:j}),dequeue(o))))};if(o.onmessage=re,t&&o.postMessage({action:"setAudioAppendStart",appendStart:t}),Array.isArray(u)&&o.postMessage({action:"alignGopsWith",gopsToAlignWith:u}),typeof h<"u"&&o.postMessage({action:"setRemux",remux:h}),l.byteLength){var fe=l instanceof ArrayBuffer?l:l.buffer,V=l instanceof ArrayBuffer?0:l.byteOffset;o.postMessage({action:"push",data:fe,byteOffset:V,byteLength:l.byteLength},[fe])}N&&o.postMessage({action:"endTimeline"}),o.postMessage({action:"flush"})},dequeue=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),typeof e.currentTransmux=="function"?e.currentTransmux():processTransmux(e.currentTransmux))},processAction=function(e,o){e.postMessage({action:o}),dequeue(e)},enqueueAction=function(e,o){if(!o.currentTransmux){o.currentTransmux=e,processAction(o,e);return}o.transmuxQueue.push(processAction.bind(null,o,e))},reset=function(e){enqueueAction("reset",e)},endTimeline=function(e){enqueueAction("endTimeline",e)},transmux=function(e){if(!e.transmuxer.currentTransmux){e.transmuxer.currentTransmux=e,processTransmux(e);return}e.transmuxer.transmuxQueue.push(e)},createTransmuxer=function(e){var o=new TransmuxWorker;o.currentTransmux=null,o.transmuxQueue=[];var l=o.terminate;return o.terminate=function(){return o.currentTransmux=null,o.transmuxQueue.length=0,l.call(o)},o.postMessage({action:"init",options:e}),o},segmentTransmuxer={reset,endTimeline,transmux,createTransmuxer},workerCallback=function(e){var o=e.transmuxer,l=e.endAction||e.action,t=e.callback,u=_extends$2({},e,{endAction:null,transmuxer:null,callback:null}),h=function A(E){E.data.action===l&&(o.removeEventListener("message",A),E.data.data&&(E.data.data=new Uint8Array(E.data.data,e.byteOffset||0,e.byteLength||E.data.data.byteLength),e.data&&(e.data=E.data.data)),t(E.data))};if(o.addEventListener("message",h),e.data){var v=e.data instanceof ArrayBuffer;u.byteOffset=v?0:e.data.byteOffset,u.byteLength=e.data.byteLength;var w=[v?e.data:e.data.buffer];o.postMessage(u,w)}else o.postMessage(u)},REQUEST_ERRORS={FAILURE:2,TIMEOUT:-101,ABORTED:-102},abortAll=function(e){e.forEach(function(o){o.abort()})},getRequestStats=function(e){return{bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}},getProgressStats=function(e){var o=e.target,l=Date.now()-o.requestTime,t={bandwidth:1/0,bytesReceived:0,roundTripTime:l||0};return t.bytesReceived=e.loaded,t.bandwidth=Math.floor(t.bytesReceived/t.roundTripTime*8*1e3),t},handleErrors=function(e,o){return o.timedout?{status:o.status,message:"HLS request timed-out at URL: "+o.uri,code:REQUEST_ERRORS.TIMEOUT,xhr:o}:o.aborted?{status:o.status,message:"HLS request aborted at URL: "+o.uri,code:REQUEST_ERRORS.ABORTED,xhr:o}:e?{status:o.status,message:"HLS request errored at URL: "+o.uri,code:REQUEST_ERRORS.FAILURE,xhr:o}:o.responseType==="arraybuffer"&&o.response.byteLength===0?{status:o.status,message:"Empty HLS response at URL: "+o.uri,code:REQUEST_ERRORS.FAILURE,xhr:o}:null},handleKeyResponse=function(e,o,l){return function(t,u){var h=u.response,v=handleErrors(t,u);if(v)return l(v,e);if(h.byteLength!==16)return l({status:u.status,message:"Invalid HLS key at URL: "+u.uri,code:REQUEST_ERRORS.FAILURE,xhr:u},e);for(var w=new DataView(h),A=new Uint32Array([w.getUint32(0),w.getUint32(4),w.getUint32(8),w.getUint32(12)]),E=0;E<o.length;E++)o[E].bytes=A;return l(null,e)}},parseInitSegment=function(e,o){var l=detectContainerForBytes(e.map.bytes);if(l!=="mp4"){var t=e.map.resolvedUri||e.map.uri;return o({internal:!0,message:"Found unsupported "+(l||"unknown")+" container for initialization segment at URL: "+t,code:REQUEST_ERRORS.FAILURE})}workerCallback({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:function(h){var v=h.tracks,w=h.data;return e.map.bytes=w,v.forEach(function(A){e.map.tracks=e.map.tracks||{},!e.map.tracks[A.type]&&(e.map.tracks[A.type]=A,typeof A.id=="number"&&A.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[A.id]=A.timescale))}),o(null)}})},handleInitSegmentResponse=function(e){var o=e.segment,l=e.finishProcessingFn;return function(t,u){var h=handleErrors(t,u);if(h)return l(h,o);var v=new Uint8Array(u.response);if(o.map.key)return o.map.encryptedBytes=v,l(null,o);o.map.bytes=v,parseInitSegment(o,function(w){if(w)return w.xhr=u,w.status=u.status,l(w,o);l(null,o)})}},handleSegmentResponse=function(e){var o=e.segment,l=e.finishProcessingFn,t=e.responseType;return function(u,h){var v=handleErrors(u,h);if(v)return l(v,o);var w=t==="arraybuffer"||!h.responseText?h.response:stringToArrayBuffer(h.responseText.substring(o.lastReachedChar||0));return o.stats=getRequestStats(h),o.key?o.encryptedBytes=new Uint8Array(w):o.bytes=new Uint8Array(w),l(null,o)}},transmuxAndNotify=function(e){var o=e.segment,l=e.bytes,t=e.trackInfoFn,u=e.timingInfoFn,h=e.videoSegmentTimingInfoFn,v=e.audioSegmentTimingInfoFn,w=e.id3Fn,A=e.captionsFn,E=e.isEndOfTimeline,C=e.endedTimelineFn,M=e.dataFn,P=e.doneFn,I=e.onTransmuxerLog,j=o.map&&o.map.tracks||{},B=!!(j.audio&&j.video),F=u.bind(null,o,"audio","start"),N=u.bind(null,o,"audio","end"),ee=u.bind(null,o,"video","start"),Z=u.bind(null,o,"video","end"),re=function(){return transmux({bytes:l,transmuxer:o.transmuxer,audioAppendStart:o.audioAppendStart,gopsToAlignWith:o.gopsToAlignWith,remux:B,onData:function(le){le.type=le.type==="combined"?"video":le.type,M(o,le)},onTrackInfo:function(le){t&&(B&&(le.isMuxed=!0),t(o,le))},onAudioTimingInfo:function(le){F&&typeof le.start<"u"&&(F(le.start),F=null),N&&typeof le.end<"u"&&N(le.end)},onVideoTimingInfo:function(le){ee&&typeof le.start<"u"&&(ee(le.start),ee=null),Z&&typeof le.end<"u"&&Z(le.end)},onVideoSegmentTimingInfo:function(le){h(le)},onAudioSegmentTimingInfo:function(le){v(le)},onId3:function(le,he){w(o,le,he)},onCaptions:function(le){A(o,[le])},isEndOfTimeline:E,onEndedTimeline:function(){C()},onTransmuxerLog:I,onDone:function(le){P&&(le.type=le.type==="combined"?"video":le.type,P(null,o,le))}})};workerCallback({action:"probeTs",transmuxer:o.transmuxer,data:l,baseStartTime:o.baseStartTime,callback:function(V){o.bytes=l=V.data;var le=V.result;le&&(t(o,{hasAudio:le.hasAudio,hasVideo:le.hasVideo,isMuxed:B}),t=null,le.hasAudio&&!B&&F(le.audioStart),le.hasVideo&&ee(le.videoStart),F=null,ee=null),re()}})},handleSegmentBytes=function(e){var o=e.segment,l=e.bytes,t=e.trackInfoFn,u=e.timingInfoFn,h=e.videoSegmentTimingInfoFn,v=e.audioSegmentTimingInfoFn,w=e.id3Fn,A=e.captionsFn,E=e.isEndOfTimeline,C=e.endedTimelineFn,M=e.dataFn,P=e.doneFn,I=e.onTransmuxerLog,j=new Uint8Array(l);if(isLikelyFmp4MediaSegment(j)){o.isFmp4=!0;var B=o.map.tracks,F={isFmp4:!0,hasVideo:!!B.video,hasAudio:!!B.audio};B.audio&&B.audio.codec&&B.audio.codec!=="enca"&&(F.audioCodec=B.audio.codec),B.video&&B.video.codec&&B.video.codec!=="encv"&&(F.videoCodec=B.video.codec),B.video&&B.audio&&(F.isMuxed=!0),t(o,F);var N=function(Z){M(o,{data:j,type:F.hasAudio&&!F.isMuxed?"audio":"video"}),Z&&Z.length&&A(o,Z),P(null,o,{})};workerCallback({action:"probeMp4StartTime",timescales:o.map.timescales,data:j,transmuxer:o.transmuxer,callback:function(Z){var re=Z.data,fe=Z.startTime;if(l=re.buffer,o.bytes=j=re,F.hasAudio&&!F.isMuxed&&u(o,"audio","start",fe),F.hasVideo&&u(o,"video","start",fe),!B.video||!re.byteLength||!o.transmuxer){N();return}workerCallback({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:o.transmuxer,data:j,timescales:o.map.timescales,trackIds:[B.video.id],callback:function(le){l=le.data.buffer,o.bytes=j=le.data,le.logs.forEach(function(he){I(videojs.mergeOptions(he,{stream:"mp4CaptionParser"}))}),N(le.captions)}})}});return}if(!o.transmuxer){P(null,o,{});return}if(typeof o.container>"u"&&(o.container=detectContainerForBytes(j)),o.container!=="ts"&&o.container!=="aac"){t(o,{hasAudio:!1,hasVideo:!1}),P(null,o,{});return}transmuxAndNotify({segment:o,bytes:l,trackInfoFn:t,timingInfoFn:u,videoSegmentTimingInfoFn:h,audioSegmentTimingInfoFn:v,id3Fn:w,captionsFn:A,isEndOfTimeline:E,endedTimelineFn:C,dataFn:M,doneFn:P,onTransmuxerLog:I})},decrypt$1=function(e,o){var l=e.id,t=e.key,u=e.encryptedBytes,h=e.decryptionWorker,v=function A(E){if(E.data.source===l){h.removeEventListener("message",A);var C=E.data.decrypted;o(new Uint8Array(C.bytes,C.byteOffset,C.byteLength))}};h.addEventListener("message",v);var w;t.bytes.slice?w=t.bytes.slice():w=new Uint32Array(Array.prototype.slice.call(t.bytes)),h.postMessage(createTransferableMessage({source:l,encrypted:u,key:w,iv:t.iv}),[u.buffer,w.buffer])},decryptSegment=function(e){var o=e.decryptionWorker,l=e.segment,t=e.trackInfoFn,u=e.timingInfoFn,h=e.videoSegmentTimingInfoFn,v=e.audioSegmentTimingInfoFn,w=e.id3Fn,A=e.captionsFn,E=e.isEndOfTimeline,C=e.endedTimelineFn,M=e.dataFn,P=e.doneFn,I=e.onTransmuxerLog;decrypt$1({id:l.requestId,key:l.key,encryptedBytes:l.encryptedBytes,decryptionWorker:o},function(j){l.bytes=j,handleSegmentBytes({segment:l,bytes:l.bytes,trackInfoFn:t,timingInfoFn:u,videoSegmentTimingInfoFn:h,audioSegmentTimingInfoFn:v,id3Fn:w,captionsFn:A,isEndOfTimeline:E,endedTimelineFn:C,dataFn:M,doneFn:P,onTransmuxerLog:I})})},waitForCompletion=function(e){var o=e.activeXhrs,l=e.decryptionWorker,t=e.trackInfoFn,u=e.timingInfoFn,h=e.videoSegmentTimingInfoFn,v=e.audioSegmentTimingInfoFn,w=e.id3Fn,A=e.captionsFn,E=e.isEndOfTimeline,C=e.endedTimelineFn,M=e.dataFn,P=e.doneFn,I=e.onTransmuxerLog,j=0,B=!1;return function(F,N){if(!B){if(F)return B=!0,abortAll(o),P(F,N);if(j+=1,j===o.length){var ee=function(){if(N.encryptedBytes)return decryptSegment({decryptionWorker:l,segment:N,trackInfoFn:t,timingInfoFn:u,videoSegmentTimingInfoFn:h,audioSegmentTimingInfoFn:v,id3Fn:w,captionsFn:A,isEndOfTimeline:E,endedTimelineFn:C,dataFn:M,doneFn:P,onTransmuxerLog:I});handleSegmentBytes({segment:N,bytes:N.bytes,trackInfoFn:t,timingInfoFn:u,videoSegmentTimingInfoFn:h,audioSegmentTimingInfoFn:v,id3Fn:w,captionsFn:A,isEndOfTimeline:E,endedTimelineFn:C,dataFn:M,doneFn:P,onTransmuxerLog:I})};if(N.endOfAllRequests=Date.now(),N.map&&N.map.encryptedBytes&&!N.map.bytes)return decrypt$1({decryptionWorker:l,id:N.requestId+"-init",encryptedBytes:N.map.encryptedBytes,key:N.map.key},function(Z){N.map.bytes=Z,parseInitSegment(N,function(re){if(re)return abortAll(o),P(re,N);ee()})});ee()}}}},handleLoadEnd=function(e){var o=e.loadendState,l=e.abortFn;return function(t){var u=t.target;u.aborted&&l&&!o.calledAbortFn&&(l(),o.calledAbortFn=!0)}},handleProgress=function(e){var o=e.segment,l=e.progressFn;return function(t){var u=t.target;if(!u.aborted)return o.stats=videojs.mergeOptions(o.stats,getProgressStats(t)),!o.stats.firstBytesReceivedAt&&o.stats.bytesReceived&&(o.stats.firstBytesReceivedAt=Date.now()),l(t,o)}},mediaSegmentRequest=function(e){var o=e.xhr,l=e.xhrOptions,t=e.decryptionWorker,u=e.segment,h=e.abortFn,v=e.progressFn,w=e.trackInfoFn,A=e.timingInfoFn,E=e.videoSegmentTimingInfoFn,C=e.audioSegmentTimingInfoFn,M=e.id3Fn,P=e.captionsFn,I=e.isEndOfTimeline,j=e.endedTimelineFn,B=e.dataFn,F=e.doneFn,N=e.onTransmuxerLog,ee=[],Z=waitForCompletion({activeXhrs:ee,decryptionWorker:t,trackInfoFn:w,timingInfoFn:A,videoSegmentTimingInfoFn:E,audioSegmentTimingInfoFn:C,id3Fn:M,captionsFn:P,isEndOfTimeline:I,endedTimelineFn:j,dataFn:B,doneFn:F,onTransmuxerLog:N});if(u.key&&!u.key.bytes){var re=[u.key];u.map&&!u.map.bytes&&u.map.key&&u.map.key.resolvedUri===u.key.resolvedUri&&re.push(u.map.key);var fe=videojs.mergeOptions(l,{uri:u.key.resolvedUri,responseType:"arraybuffer"}),V=handleKeyResponse(u,re,Z),le=o(fe,V);ee.push(le)}if(u.map&&!u.map.bytes){var he=u.map.key&&(!u.key||u.key.resolvedUri!==u.map.key.resolvedUri);if(he){var ye=videojs.mergeOptions(l,{uri:u.map.key.resolvedUri,responseType:"arraybuffer"}),L=handleKeyResponse(u,[u.map.key],Z),p=o(ye,L);ee.push(p)}var y=videojs.mergeOptions(l,{uri:u.map.resolvedUri,responseType:"arraybuffer",headers:segmentXhrHeaders(u.map)}),S=handleInitSegmentResponse({segment:u,finishProcessingFn:Z}),c=o(y,S);ee.push(c)}var m=videojs.mergeOptions(l,{uri:u.part&&u.part.resolvedUri||u.resolvedUri,responseType:"arraybuffer",headers:segmentXhrHeaders(u)}),x=handleSegmentResponse({segment:u,finishProcessingFn:Z,responseType:m.responseType}),T=o(m,x);T.addEventListener("progress",handleProgress({segment:u,progressFn:v,trackInfoFn:w,timingInfoFn:A,videoSegmentTimingInfoFn:E,audioSegmentTimingInfoFn:C,id3Fn:M,captionsFn:P,isEndOfTimeline:I,endedTimelineFn:j,dataFn:B})),ee.push(T);var b={};return ee.forEach(function(d){d.addEventListener("loadend",handleLoadEnd({loadendState:b,abortFn:h}))}),function(){return abortAll(ee)}},logFn$1=logger("CodecUtils"),getCodecs=function(e){var o=e.attributes||{};if(o.CODECS)return parseCodecs(o.CODECS)},isMaat=function(e,o){var l=o.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&l.AUDIO&&e.mediaGroups.AUDIO[l.AUDIO]},isMuxed=function(e,o){if(!isMaat(e,o))return!0;var l=o.attributes||{},t=e.mediaGroups.AUDIO[l.AUDIO];for(var u in t)if(!t[u].uri&&!t[u].playlists)return!0;return!1},unwrapCodecList=function(e){var o={};return e.forEach(function(l){var t=l.mediaType,u=l.type,h=l.details;o[t]=o[t]||[],o[t].push(translateLegacyCodec(""+u+h))}),Object.keys(o).forEach(function(l){if(o[l].length>1){logFn$1("multiple "+l+" codecs found as attributes: "+o[l].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),o[l]=null;return}o[l]=o[l][0]}),o},codecCount=function(e){var o=0;return e.audio&&o++,e.video&&o++,o},codecsForPlaylist=function(e,o){var l=o.attributes||{},t=unwrapCodecList(getCodecs(o)||[]);if(isMaat(e,o)&&!t.audio&&!isMuxed(e,o)){var u=unwrapCodecList(codecsFromDefault(e,l.AUDIO)||[]);u.audio&&(t.audio=u.audio)}return t},logFn=logger("PlaylistSelector"),representationToString=function(e){if(!(!e||!e.playlist)){var o=e.playlist;return JSON.stringify({id:o.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:o.attributes&&o.attributes.CODECS||""})}},safeGetComputedStyle=function(e,o){if(!e)return"";var l=window$1$1.getComputedStyle(e);return l?l[o]:""},stableSort=function(e,o){var l=e.slice();e.sort(function(t,u){var h=o(t,u);return h===0?l.indexOf(t)-l.indexOf(u):h})},comparePlaylistBandwidth=function(e,o){var l,t;return e.attributes.BANDWIDTH&&(l=e.attributes.BANDWIDTH),l=l||window$1$1.Number.MAX_VALUE,o.attributes.BANDWIDTH&&(t=o.attributes.BANDWIDTH),t=t||window$1$1.Number.MAX_VALUE,l-t},comparePlaylistResolution=function(e,o){var l,t;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(l=e.attributes.RESOLUTION.width),l=l||window$1$1.Number.MAX_VALUE,o.attributes.RESOLUTION&&o.attributes.RESOLUTION.width&&(t=o.attributes.RESOLUTION.width),t=t||window$1$1.Number.MAX_VALUE,l===t&&e.attributes.BANDWIDTH&&o.attributes.BANDWIDTH?e.attributes.BANDWIDTH-o.attributes.BANDWIDTH:l-t},simpleSelector=function(e,o,l,t,u,h){if(e){var v={bandwidth:o,width:l,height:t,limitRenditionByPlayerDimensions:u},w=e.playlists;Playlist.isAudioOnly(e)&&(w=h.getAudioTrackPlaylists_(),v.audioOnly=!0);var A=w.map(function(ye){var L,p=ye.attributes&&ye.attributes.RESOLUTION&&ye.attributes.RESOLUTION.width,y=ye.attributes&&ye.attributes.RESOLUTION&&ye.attributes.RESOLUTION.height;return L=ye.attributes&&ye.attributes.BANDWIDTH,L=L||window$1$1.Number.MAX_VALUE,{bandwidth:L,width:p,height:y,playlist:ye}});stableSort(A,function(ye,L){return ye.bandwidth-L.bandwidth}),A=A.filter(function(ye){return!Playlist.isIncompatible(ye.playlist)});var E=A.filter(function(ye){return Playlist.isEnabled(ye.playlist)});E.length||(E=A.filter(function(ye){return!Playlist.isDisabled(ye.playlist)}));var C=E.filter(function(ye){return ye.bandwidth*Config.BANDWIDTH_VARIANCE<o}),M=C[C.length-1],P=C.filter(function(ye){return ye.bandwidth===M.bandwidth})[0];if(u===!1){var I=P||E[0]||A[0];if(I&&I.playlist){var j="sortedPlaylistReps";return P&&(j="bandwidthBestRep"),E[0]&&(j="enabledPlaylistReps"),logFn("choosing "+representationToString(I)+" using "+j+" with options",v),I.playlist}return logFn("could not choose a playlist with options",v),null}var B=C.filter(function(ye){return ye.width&&ye.height});stableSort(B,function(ye,L){return ye.width-L.width});var F=B.filter(function(ye){return ye.width===l&&ye.height===t});M=F[F.length-1];var N=F.filter(function(ye){return ye.bandwidth===M.bandwidth})[0],ee,Z,re;N||(ee=B.filter(function(ye){return ye.width>l||ye.height>t}),Z=ee.filter(function(ye){return ye.width===ee[0].width&&ye.height===ee[0].height}),M=Z[Z.length-1],re=Z.filter(function(ye){return ye.bandwidth===M.bandwidth})[0]);var fe;if(h.experimentalLeastPixelDiffSelector){var V=B.map(function(ye){return ye.pixelDiff=Math.abs(ye.width-l)+Math.abs(ye.height-t),ye});stableSort(V,function(ye,L){return ye.pixelDiff===L.pixelDiff?L.bandwidth-ye.bandwidth:ye.pixelDiff-L.pixelDiff}),fe=V[0]}var le=fe||re||N||P||E[0]||A[0];if(le&&le.playlist){var he="sortedPlaylistReps";return fe?he="leastPixelDiffRep":re?he="resolutionPlusOneRep":N?he="resolutionBestRep":P?he="bandwidthBestRep":E[0]&&(he="enabledPlaylistReps"),logFn("choosing "+representationToString(le)+" using "+he+" with options",v),le.playlist}return logFn("could not choose a playlist with options",v),null}},lastBandwidthSelector=function(){var e=this.useDevicePixelRatio&&window$1$1.devicePixelRatio||1;return simpleSelector(this.playlists.master,this.systemBandwidth,parseInt(safeGetComputedStyle(this.tech_.el(),"width"),10)*e,parseInt(safeGetComputedStyle(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},movingAverageBandwidthSelector=function(e){var o=-1,l=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var t=this.useDevicePixelRatio&&window$1$1.devicePixelRatio||1;return o<0&&(o=this.systemBandwidth,l=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==l&&(o=e*this.systemBandwidth+(1-e)*o,l=this.systemBandwidth),simpleSelector(this.playlists.master,o,parseInt(safeGetComputedStyle(this.tech_.el(),"width"),10)*t,parseInt(safeGetComputedStyle(this.tech_.el(),"height"),10)*t,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},minRebufferMaxBandwidthSelector=function(e){var o=e.master,l=e.currentTime,t=e.bandwidth,u=e.duration,h=e.segmentDuration,v=e.timeUntilRebuffer,w=e.currentTimeline,A=e.syncController,E=o.playlists.filter(function(j){return!Playlist.isIncompatible(j)}),C=E.filter(Playlist.isEnabled);C.length||(C=E.filter(function(j){return!Playlist.isDisabled(j)}));var M=C.filter(Playlist.hasAttribute.bind(null,"BANDWIDTH")),P=M.map(function(j){var B=A.getSyncPoint(j,u,w,l),F=B?1:2,N=Playlist.estimateSegmentRequestTime(h,t,j),ee=N*F-v;return{playlist:j,rebufferingImpact:ee}}),I=P.filter(function(j){return j.rebufferingImpact<=0});return stableSort(I,function(j,B){return comparePlaylistBandwidth(B.playlist,j.playlist)}),I.length?I[0]:(stableSort(P,function(j,B){return j.rebufferingImpact-B.rebufferingImpact}),P[0]||null)},lowestBitrateCompatibleVariantSelector=function(){var e=this,o=this.playlists.master.playlists.filter(Playlist.isEnabled);stableSort(o,function(t,u){return comparePlaylistBandwidth(t,u)});var l=o.filter(function(t){return!!codecsForPlaylist(e.playlists.master,t).video});return l[0]||null},concatSegments=function(e){var o=0,l;return e.bytes&&(l=new Uint8Array(e.bytes),e.segments.forEach(function(t){l.set(t,o),o+=t.byteLength})),l},createCaptionsTrackIfNotExists=function(e,o,l){if(!e[l]){o.trigger({type:"usage",name:"vhs-608"}),o.trigger({type:"usage",name:"hls-608"});var t=l;/^cc708_/.test(l)&&(t="SERVICE"+l.split("_")[1]);var u=o.textTracks().getTrackById(t);if(u)e[l]=u;else{var h=o.options_.vhs&&o.options_.vhs.captionServices||{},v=l,w=l,A=!1,E=h[t];E&&(v=E.label,w=E.language,A=E.default),e[l]=o.addRemoteTextTrack({kind:"captions",id:t,default:A,label:v,language:w},!1).track}}},addCaptionData=function(e){var o=e.inbandTextTracks,l=e.captionArray,t=e.timestampOffset;if(l){var u=window$1$1.WebKitDataCue||window$1$1.VTTCue;l.forEach(function(h){var v=h.stream;o[v].addCue(new u(h.startTime+t,h.endTime+t,h.text))})}},deprecateOldCue=function(e){Object.defineProperties(e.frame,{id:{get:function(){return videojs.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return videojs.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return videojs.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})},addMetadata=function(e){var o=e.inbandTextTracks,l=e.metadataArray,t=e.timestampOffset,u=e.videoDuration;if(l){var h=window$1$1.WebKitDataCue||window$1$1.VTTCue,v=o.metadataTrack_;if(v&&(l.forEach(function(P){var I=P.cueTime+t;typeof I!="number"||window$1$1.isNaN(I)||I<0||!(I<1/0)||P.frames.forEach(function(j){var B=new h(I,I,j.value||j.url||j.data||"");B.frame=j,B.value=j,deprecateOldCue(B),v.addCue(B)})}),!(!v.cues||!v.cues.length))){for(var w=v.cues,A=[],E=0;E<w.length;E++)w[E]&&A.push(w[E]);var C=A.reduce(function(P,I){var j=P[I.startTime]||[];return j.push(I),P[I.startTime]=j,P},{}),M=Object.keys(C).sort(function(P,I){return Number(P)-Number(I)});M.forEach(function(P,I){var j=C[P],B=Number(M[I+1])||u;j.forEach(function(F){F.endTime=B})})}}},createMetadataTrackIfNotExists=function(e,o,l){e.metadataTrack_||(e.metadataTrack_=l.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=o)},removeCuesFromTrack=function(e,o,l){var t,u;if(l&&l.cues)for(t=l.cues.length;t--;)u=l.cues[t],u.startTime>=e&&u.endTime<=o&&l.removeCue(u)},removeDuplicateCuesFromTrack=function(e){var o=e.cues;if(o)for(var l=0;l<o.length;l++){for(var t=[],u=0,h=0;h<o.length;h++)o[l].startTime===o[h].startTime&&o[l].endTime===o[h].endTime&&o[l].text===o[h].text&&(u++,u>1&&t.push(o[h]));t.length&&t.forEach(function(v){return e.removeCue(v)})}},gopsSafeToAlignWith=function(e,o,l){if(typeof o>"u"||o===null||!e.length)return[];var t=Math.ceil((o-l+3)*clock.ONE_SECOND_IN_TS),u;for(u=0;u<e.length&&!(e[u].pts>t);u++);return e.slice(u)},updateGopBuffer=function(e,o,l){if(!o.length)return e;if(l)return o.slice();var t=o[0].pts,u=0;for(u;u<e.length&&!(e[u].pts>=t);u++);return e.slice(0,u).concat(o)},removeGopBuffer=function(e,o,l,t){for(var u=Math.ceil((o-t)*clock.ONE_SECOND_IN_TS),h=Math.ceil((l-t)*clock.ONE_SECOND_IN_TS),v=e.slice(),w=e.length;w--&&!(e[w].pts<=h););if(w===-1)return v;for(var A=w+1;A--&&!(e[A].pts<=u););return A=Math.max(A,0),v.splice(A,w-A+1),v},shallowEqual=function(e,o){if(!e&&!o||!e&&o||e&&!o)return!1;if(e===o)return!0;var l=Object.keys(e).sort(),t=Object.keys(o).sort();if(l.length!==t.length)return!1;for(var u=0;u<l.length;u++){var h=l[u];if(h!==t[u]||e[h]!==o[h])return!1}return!0},QUOTA_EXCEEDED_ERR=22,getSyncSegmentCandidate=function(e,o,l){o=o||[];for(var t=[],u=0,h=0;h<o.length;h++){var v=o[h];if(e===v.timeline&&(t.push(h),u+=v.duration,u>l))return h}return t.length===0?0:t[t.length-1]},MIN_BACK_BUFFER=1,CHECK_BUFFER_DELAY=500,finite=function(e){return typeof e=="number"&&isFinite(e)},MIN_SEGMENT_DURATION_TO_SAVE_STATS=1/60,illegalMediaSwitch=function(e,o,l){return e!=="main"||!o||!l?null:!l.hasAudio&&!l.hasVideo?"Neither audio nor video found in segment.":o.hasVideo&&!l.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!o.hasVideo&&l.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null},safeBackBufferTrimTime=function(e,o,l){var t=o-Config.BACK_BUFFER_LENGTH;e.length&&(t=Math.max(t,e.start(0)));var u=o-l;return Math.min(u,t)},segmentInfoString=function(e){var o=e.startOfSegment,l=e.duration,t=e.segment,u=e.part,h=e.playlist,v=h.mediaSequence,w=h.id,A=h.segments,E=A===void 0?[]:A,C=e.mediaIndex,M=e.partIndex,P=e.timeline,I=E.length-1,j="mediaIndex/partIndex increment";e.getMediaInfoForTime?j="getMediaInfoForTime ("+e.getMediaInfoForTime+")":e.isSyncRequest&&(j="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(j+=" with independent "+e.independent);var B=typeof M=="number",F=e.segment.uri?"segment":"pre-segment",N=B?getKnownPartCount({preloadSegment:t})-1:0;return F+" ["+(v+C)+"/"+(v+I)+"]"+(B?" part ["+M+"/"+N+"]":"")+(" segment start/end ["+t.start+" => "+t.end+"]")+(B?" part start/end ["+u.start+" => "+u.end+"]":"")+(" startOfSegment ["+o+"]")+(" duration ["+l+"]")+(" timeline ["+P+"]")+(" selected by ["+j+"]")+(" playlist ["+w+"]")},timingInfoPropertyForMedia=function(e){return e+"TimingInfo"},timestampOffsetForSegment=function(e){var o=e.segmentTimeline,l=e.currentTimeline,t=e.startOfSegment,u=e.buffered,h=e.overrideCheck;return!h&&o===l?null:o<l?t:u.length?u.end(u.length-1):t},shouldWaitForTimelineChange=function(e){var o=e.timelineChangeController,l=e.currentTimeline,t=e.segmentTimeline,u=e.loaderType,h=e.audioDisabled;if(l===t)return!1;if(u==="audio"){var v=o.lastTimelineChange({type:"main"});return!v||v.to!==t}if(u==="main"&&h){var w=o.pendingTimelineChange({type:"audio"});return!(w&&w.to===t)}return!1},mediaDuration=function(e){var o=0;return["video","audio"].forEach(function(l){var t=e[l+"TimingInfo"];if(t){var u=t.start,h=t.end,v;typeof u=="bigint"||typeof h=="bigint"?v=window$1$1.BigInt(h)-window$1$1.BigInt(u):typeof u=="number"&&typeof h=="number"&&(v=h-u),typeof v<"u"&&v>o&&(o=v)}}),typeof o=="bigint"&&o<Number.MAX_SAFE_INTEGER&&(o=Number(o)),o},segmentTooLong=function(e){var o=e.segmentDuration,l=e.maxDuration;return o?Math.round(o)>l+TIME_FUDGE_FACTOR:!1},getTroublesomeSegmentDurationMessage=function(e,o){if(o!=="hls")return null;var l=mediaDuration({audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo});if(!l)return null;var t=e.playlist.targetDuration,u=segmentTooLong({segmentDuration:l,maxDuration:t*2}),h=segmentTooLong({segmentDuration:l,maxDuration:t}),v="Segment with index "+e.mediaIndex+" "+("from playlist "+e.playlist.id+" ")+("has a duration of "+l+" ")+("when the reported duration is "+e.duration+" ")+("and the target duration is "+t+". ")+"For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1";return u||h?{severity:u?"warn":"info",message:v}:null},SegmentLoader=function(n){_inheritsLoose(e,n);function e(l,t){var u;if(u=n.call(this)||this,!l)throw new TypeError("Initialization settings are required");if(typeof l.currentTime!="function")throw new TypeError("No currentTime getter specified");if(!l.mediaSource)throw new TypeError("No MediaSource specified");return u.bandwidth=l.bandwidth,u.throughput={rate:0,count:0},u.roundTrip=NaN,u.resetStats_(),u.mediaIndex=null,u.partIndex=null,u.hasPlayed_=l.hasPlayed,u.currentTime_=l.currentTime,u.seekable_=l.seekable,u.seeking_=l.seeking,u.duration_=l.duration,u.mediaSource_=l.mediaSource,u.vhs_=l.vhs,u.loaderType_=l.loaderType,u.currentMediaInfo_=void 0,u.startingMediaInfo_=void 0,u.segmentMetadataTrack_=l.segmentMetadataTrack,u.goalBufferLength_=l.goalBufferLength,u.sourceType_=l.sourceType,u.sourceUpdater_=l.sourceUpdater,u.inbandTextTracks_=l.inbandTextTracks,u.state_="INIT",u.timelineChangeController_=l.timelineChangeController,u.shouldSaveSegmentTimingInfo_=!0,u.parse708captions_=l.parse708captions,u.useDtsForTimestampOffset_=l.useDtsForTimestampOffset,u.captionServices_=l.captionServices,u.experimentalExactManifestTimings=l.experimentalExactManifestTimings,u.checkBufferTimeout_=null,u.error_=void 0,u.currentTimeline_=-1,u.pendingSegment_=null,u.xhrOptions_=null,u.pendingSegments_=[],u.audioDisabled_=!1,u.isPendingTimestampOffset_=!1,u.gopBuffer_=[],u.timeMapping_=0,u.safeAppend_=videojs.browser.IE_VERSION>=11,u.appendInitSegment_={audio:!0,video:!0},u.playlistOfLastInitSegment_={audio:null,video:null},u.callQueue_=[],u.loadQueue_=[],u.metadataQueue_={id3:[],caption:[]},u.waitingOnRemove_=!1,u.quotaExceededErrorRetryTimeout_=null,u.activeInitSegmentId_=null,u.initSegments_={},u.cacheEncryptionKeys_=l.cacheEncryptionKeys,u.keyCache_={},u.decrypter_=l.decrypter,u.syncController_=l.syncController,u.syncPoint_={segmentIndex:0,time:0},u.transmuxer_=u.createTransmuxer_(),u.triggerSyncInfoUpdate_=function(){return u.trigger("syncinfoupdate")},u.syncController_.on("syncinfoupdate",u.triggerSyncInfoUpdate_),u.mediaSource_.addEventListener("sourceopen",function(){u.isEndOfStream_()||(u.ended_=!1)}),u.fetchAtBuffer_=!1,u.logger_=logger("SegmentLoader["+u.loaderType_+"]"),Object.defineProperty(_assertThisInitialized$1(u),"state",{get:function(){return this.state_},set:function(v){v!==this.state_&&(this.logger_(this.state_+" -> "+v),this.state_=v,this.trigger("statechange"))}}),u.sourceUpdater_.on("ready",function(){u.hasEnoughInfoToAppend_()&&u.processCallQueue_()}),u.loaderType_==="main"&&u.timelineChangeController_.on("pendingtimelinechange",function(){u.hasEnoughInfoToAppend_()&&u.processCallQueue_()}),u.loaderType_==="audio"&&u.timelineChangeController_.on("timelinechange",function(){u.hasEnoughInfoToLoad_()&&u.processLoadQueue_(),u.hasEnoughInfoToAppend_()&&u.processCallQueue_()}),u}var o=e.prototype;return o.createTransmuxer_=function(){return segmentTransmuxer.createTransmuxer({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},o.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},o.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&window$1$1.clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},o.setAudio=function(t){this.audioDisabled_=!t,t?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},o.abort=function(){if(this.state!=="WAITING"){this.pendingSegment_&&(this.pendingSegment_=null);return}this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()},o.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,window$1$1.clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},o.checkForAbort_=function(t){return this.state==="APPENDING"&&!this.pendingSegment_?(this.state="READY",!0):!this.pendingSegment_||this.pendingSegment_.requestId!==t},o.error=function(t){return typeof t<"u"&&(this.logger_("error occurred:",t),this.error_=t),this.pendingSegment_=null,this.error_},o.endOfStream=function(){this.ended_=!0,this.transmuxer_&&segmentTransmuxer.reset(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},o.buffered_=function(){var t=this.getMediaInfo_();if(!this.sourceUpdater_||!t)return videojs.createTimeRanges();if(this.loaderType_==="main"){var u=t.hasAudio,h=t.hasVideo,v=t.isMuxed;if(h&&u&&!this.audioDisabled_&&!v)return this.sourceUpdater_.buffered();if(h)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},o.initSegmentForMap=function(t,u){if(u===void 0&&(u=!1),!t)return null;var h=initSegmentId(t),v=this.initSegments_[h];return u&&!v&&t.bytes&&(this.initSegments_[h]=v={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:t.bytes,tracks:t.tracks,timescales:t.timescales}),v||t},o.segmentKey=function(t,u){if(u===void 0&&(u=!1),!t)return null;var h=segmentKeyId(t),v=this.keyCache_[h];this.cacheEncryptionKeys_&&u&&!v&&t.bytes&&(this.keyCache_[h]=v={resolvedUri:t.resolvedUri,bytes:t.bytes});var w={resolvedUri:(v||t).resolvedUri};return v&&(w.bytes=v.bytes),w},o.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},o.load=function(){if(this.monitorBuffer_(),!!this.playlist_){if(this.state==="INIT"&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||this.state!=="READY"&&this.state!=="INIT"||(this.state="READY")}},o.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},o.playlist=function(t,u){if(u===void 0&&(u={}),!!t){var h=this.playlist_,v=this.pendingSegment_;this.playlist_=t,this.xhrOptions_=u,this.state==="INIT"&&(t.syncInfo={mediaSequence:t.mediaSequence,time:0},this.loaderType_==="main"&&this.syncController_.setDateTimeMappingForStart(t));var w=null;if(h&&(h.id?w=h.id:h.uri&&(w=h.uri)),this.logger_("playlist update ["+w+" => "+(t.id||t.uri)+"]"),this.trigger("syncinfoupdate"),this.state==="INIT"&&this.couldBeginLoading_())return this.init_();if(!h||h.uri!==t.uri){this.mediaIndex!==null&&(t.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,this.trigger("playlistupdate");return}var A=t.mediaSequence-h.mediaSequence;if(this.logger_("live window shift ["+A+"]"),this.mediaIndex!==null)if(this.mediaIndex-=A,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var E=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!E.parts||!E.parts.length||!E.parts[this.partIndex])){var C=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=C}}v&&(v.mediaIndex-=A,v.mediaIndex<0?(v.mediaIndex=null,v.partIndex=null):(v.mediaIndex>=0&&(v.segment=t.segments[v.mediaIndex]),v.partIndex>=0&&v.segment.parts&&(v.part=v.segment.parts[v.partIndex]))),this.syncController_.saveExpiredSegmentInfo(h,t)}},o.pause=function(){this.checkBufferTimeout_&&(window$1$1.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},o.paused=function(){return this.checkBufferTimeout_===null},o.resetEverything=function(t){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,t),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},o.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},o.resyncLoader=function(){this.transmuxer_&&segmentTransmuxer.reset(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},o.remove=function(t,u,h,v){if(h===void 0&&(h=function(){}),v===void 0&&(v=!1),u===1/0&&(u=this.duration_()),u<=t){this.logger_("skipping remove because end ${end} is <= start ${start}");return}if(!this.sourceUpdater_||!this.getMediaInfo_()){this.logger_("skipping remove because no source updater or starting media info");return}var w=1,A=function(){w--,w===0&&h()};(v||!this.audioDisabled_)&&(w++,this.sourceUpdater_.removeAudio(t,u,A)),(v||this.loaderType_==="main")&&(this.gopBuffer_=removeGopBuffer(this.gopBuffer_,t,u,this.timeMapping_),w++,this.sourceUpdater_.removeVideo(t,u,A));for(var E in this.inbandTextTracks_)removeCuesFromTrack(t,u,this.inbandTextTracks_[E]);removeCuesFromTrack(t,u,this.segmentMetadataTrack_),A()},o.monitorBuffer_=function(){this.checkBufferTimeout_&&window$1$1.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=window$1$1.setTimeout(this.monitorBufferTick_.bind(this),1)},o.monitorBufferTick_=function(){this.state==="READY"&&this.fillBuffer_(),this.checkBufferTimeout_&&window$1$1.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=window$1$1.setTimeout(this.monitorBufferTick_.bind(this),CHECK_BUFFER_DELAY)},o.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var t=this.chooseNextRequest_();t&&(typeof t.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline})),this.loadSegment_(t))}},o.isEndOfStream_=function(t,u,h){if(t===void 0&&(t=this.mediaIndex),u===void 0&&(u=this.playlist_),h===void 0&&(h=this.partIndex),!u||!this.mediaSource_)return!1;var v=typeof t=="number"&&u.segments[t],w=t+1===u.segments.length,A=!v||!v.parts||h+1===v.parts.length;return u.endList&&this.mediaSource_.readyState==="open"&&w&&A},o.chooseNextRequest_=function(){var t=this.buffered_(),u=lastBufferedEnd(t)||0,h=timeAheadOf(t,this.currentTime_()),v=!this.hasPlayed_()&&h>=1,w=h>=this.goalBufferLength_(),A=this.playlist_.segments;if(!A.length||v||w)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var E={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:!this.syncPoint_};if(E.isSyncRequest)E.mediaIndex=getSyncSegmentCandidate(this.currentTimeline_,A,u);else if(this.mediaIndex!==null){var C=A[this.mediaIndex],M=typeof this.partIndex=="number"?this.partIndex:-1;E.startOfSegment=C.end?C.end:u,C.parts&&C.parts[M+1]?(E.mediaIndex=this.mediaIndex,E.partIndex=M+1):E.mediaIndex=this.mediaIndex+1}else{var P=Playlist.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?u:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),I=P.segmentIndex,j=P.startTime,B=P.partIndex;E.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+u:"currentTime "+this.currentTime_(),E.mediaIndex=I,E.startOfSegment=j,E.partIndex=B}var F=A[E.mediaIndex],N=F&&typeof E.partIndex=="number"&&F.parts&&F.parts[E.partIndex];if(!F||typeof E.partIndex=="number"&&!N)return null;if(typeof E.partIndex!="number"&&F.parts&&(E.partIndex=0,N=F.parts[0]),!h&&N&&!N.independent)if(E.partIndex===0){var ee=A[E.mediaIndex-1],Z=ee.parts&&ee.parts.length&&ee.parts[ee.parts.length-1];Z&&Z.independent&&(E.mediaIndex-=1,E.partIndex=ee.parts.length-1,E.independent="previous segment")}else F.parts[E.partIndex-1].independent&&(E.partIndex-=1,E.independent="previous part");var re=this.mediaSource_&&this.mediaSource_.readyState==="ended";return E.mediaIndex>=A.length-1&&re&&!this.seeking_()?null:this.generateSegmentInfo_(E)},o.generateSegmentInfo_=function(t){var u=t.independent,h=t.playlist,v=t.mediaIndex,w=t.startOfSegment,A=t.isSyncRequest,E=t.partIndex,C=t.forceTimestampOffset,M=t.getMediaInfoForTime,P=h.segments[v],I=typeof E=="number"&&P.parts[E],j={requestId:"segment-loader-"+Math.random(),uri:I&&I.resolvedUri||P.resolvedUri,mediaIndex:v,partIndex:I?E:null,isSyncRequest:A,startOfSegment:w,playlist:h,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:P.timeline,duration:I&&I.duration||P.duration,segment:P,part:I,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:M,independent:u},B=typeof C<"u"?C:this.isPendingTimestampOffset_;j.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:P.timeline,currentTimeline:this.currentTimeline_,startOfSegment:w,buffered:this.buffered_(),overrideCheck:B});var F=lastBufferedEnd(this.sourceUpdater_.audioBuffered());return typeof F=="number"&&(j.audioAppendStart=F-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(j.gopsToAlignWith=gopsSafeToAlignWith(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),j},o.timestampOffsetForSegment_=function(t){return timestampOffsetForSegment(t)},o.earlyAbortWhenNeeded_=function(t){if(!(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)&&!(Date.now()-(t.firstBytesReceivedAt||Date.now())<1e3)){var u=this.currentTime_(),h=t.bandwidth,v=this.pendingSegment_.duration,w=Playlist.estimateSegmentRequestTime(v,h,this.playlist_,t.bytesReceived),A=timeUntilRebuffer(this.buffered_(),u,this.vhs_.tech_.playbackRate())-1;if(!(w<=A)){var E=minRebufferMaxBandwidthSelector({master:this.vhs_.playlists.master,currentTime:u,bandwidth:h,duration:this.duration_(),segmentDuration:v,timeUntilRebuffer:A,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(E){var C=w-A,M=C-E.rebufferingImpact,P=.5;A<=TIME_FUDGE_FACTOR&&(P=1),!(!E.playlist||E.playlist.uri===this.playlist_.uri||M<P)&&(this.bandwidth=E.playlist.attributes.BANDWIDTH*Config.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}}}},o.handleAbort_=function(t){this.logger_("Aborting "+segmentInfoString(t)),this.mediaRequestsAborted+=1},o.handleProgress_=function(t,u){this.earlyAbortWhenNeeded_(u.stats),!this.checkForAbort_(u.requestId)&&this.trigger("progress")},o.handleTrackInfo_=function(t,u){this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)&&(this.checkForIllegalMediaSwitch(u)||(u=u||{},shallowEqual(this.currentMediaInfo_,u)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=u,this.currentMediaInfo_=u,this.logger_("trackinfo update",u),this.trigger("trackinfo")),!this.checkForAbort_(t.requestId)&&(this.pendingSegment_.trackInfo=u,this.hasEnoughInfoToAppend_()&&this.processCallQueue_())))},o.handleTimingInfo_=function(t,u,h,v){if(this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)){var w=this.pendingSegment_,A=timingInfoPropertyForMedia(u);w[A]=w[A]||{},w[A][h]=v,this.logger_("timinginfo: "+u+" - "+h+" - "+v),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}},o.handleCaptions_=function(t,u){var h=this;if(this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)){if(u.length===0){this.logger_("SegmentLoader received no captions from a caption event");return}var v=this.pendingSegment_;if(!v.hasAppendedData_){this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,t,u));return}var w=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),A={};u.forEach(function(E){A[E.stream]=A[E.stream]||{startTime:1/0,captions:[],endTime:0};var C=A[E.stream];C.startTime=Math.min(C.startTime,E.startTime+w),C.endTime=Math.max(C.endTime,E.endTime+w),C.captions.push(E)}),Object.keys(A).forEach(function(E){var C=A[E],M=C.startTime,P=C.endTime,I=C.captions,j=h.inbandTextTracks_;h.logger_("adding cues from "+M+" -> "+P+" for "+E),createCaptionsTrackIfNotExists(j,h.vhs_.tech_,E),removeCuesFromTrack(M,P,j[E]),addCaptionData({captionArray:I,inbandTextTracks:j,timestampOffset:w})}),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}},o.handleId3_=function(t,u,h){if(this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)){var v=this.pendingSegment_;if(!v.hasAppendedData_){this.metadataQueue_.id3.push(this.handleId3_.bind(this,t,u,h));return}var w=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();createMetadataTrackIfNotExists(this.inbandTextTracks_,h,this.vhs_.tech_),addMetadata({inbandTextTracks:this.inbandTextTracks_,metadataArray:u,timestampOffset:w,videoDuration:this.duration_()})}},o.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach(function(t){return t()}),this.metadataQueue_.caption.forEach(function(t){return t()}),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},o.processCallQueue_=function(){var t=this.callQueue_;this.callQueue_=[],t.forEach(function(u){return u()})},o.processLoadQueue_=function(){var t=this.loadQueue_;this.loadQueue_=[],t.forEach(function(u){return u()})},o.hasEnoughInfoToLoad_=function(){if(this.loaderType_!=="audio")return!0;var t=this.pendingSegment_;return t?this.getCurrentMediaInfo_()?!shouldWaitForTimelineChange({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}):!0:!1},o.getCurrentMediaInfo_=function(t){return t===void 0&&(t=this.pendingSegment_),t&&t.trackInfo||this.currentMediaInfo_},o.getMediaInfo_=function(t){return t===void 0&&(t=this.pendingSegment_),this.getCurrentMediaInfo_(t)||this.startingMediaInfo_},o.getPendingSegmentPlaylist=function(){return this.pendingSegment_?this.pendingSegment_.playlist:null},o.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready()||this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var t=this.pendingSegment_,u=this.getCurrentMediaInfo_();if(!t||!u)return!1;var h=u.hasAudio,v=u.hasVideo,w=u.isMuxed;return!(v&&!t.videoTimingInfo||h&&!this.audioDisabled_&&!w&&!t.audioTimingInfo||shouldWaitForTimelineChange({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},o.handleData_=function(t,u){if(this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)){if(this.callQueue_.length||!this.hasEnoughInfoToAppend_()){this.callQueue_.push(this.handleData_.bind(this,t,u));return}var h=this.pendingSegment_;if(this.setTimeMapping_(h.timeline),this.updateMediaSecondsLoaded_(h.part||h.segment),this.mediaSource_.readyState!=="closed"){if(t.map&&(t.map=this.initSegmentForMap(t.map,!0),h.segment.map=t.map),t.key&&this.segmentKey(t.key,!0),h.isFmp4=t.isFmp4,h.timingInfo=h.timingInfo||{},h.isFmp4)this.trigger("fmp4"),h.timingInfo.start=h[timingInfoPropertyForMedia(u.type)].start;else{var v=this.getCurrentMediaInfo_(),w=this.loaderType_==="main"&&v&&v.hasVideo,A;w&&(A=h.videoTimingInfo.start),h.timingInfo.start=this.trueSegmentStart_({currentStart:h.timingInfo.start,playlist:h.playlist,mediaIndex:h.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:w,firstVideoFrameTimeForData:A,videoTimingInfo:h.videoTimingInfo,audioTimingInfo:h.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(h,u.type),this.updateSourceBufferTimestampOffset_(h),h.isSyncRequest){this.updateTimingInfoEnd_(h),this.syncController_.saveSegmentTimingInfo({segmentInfo:h,shouldSaveTimelineMapping:this.loaderType_==="main"});var E=this.chooseNextRequest_();if(E.mediaIndex!==h.mediaIndex||E.partIndex!==h.partIndex){this.logger_("sync segment was incorrect, not appending");return}this.logger_("sync segment was correct, appending")}h.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(h,u)}}},o.updateAppendInitSegmentStatus=function(t,u){this.loaderType_==="main"&&typeof t.timestampOffset=="number"&&!t.changedTimestampOffset&&(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[u]!==t.playlist&&(this.appendInitSegment_[u]=!0)},o.getInitSegmentAndUpdateState_=function(t){var u=t.type,h=t.initSegment,v=t.map,w=t.playlist;if(v){var A=initSegmentId(v);if(this.activeInitSegmentId_===A)return null;h=this.initSegmentForMap(v,!0).bytes,this.activeInitSegmentId_=A}return h&&this.appendInitSegment_[u]?(this.playlistOfLastInitSegment_[u]=w,this.appendInitSegment_[u]=!1,this.activeInitSegmentId_=null,h):null},o.handleQuotaExceededError_=function(t,u){var h=this,v=t.segmentInfo,w=t.type,A=t.bytes,E=this.sourceUpdater_.audioBuffered(),C=this.sourceUpdater_.videoBuffered();E.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+timeRangesToArray(E).join(", ")),C.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+timeRangesToArray(C).join(", "));var M=E.length?E.start(0):0,P=E.length?E.end(E.length-1):0,I=C.length?C.start(0):0,j=C.length?C.end(C.length-1):0;if(P-M<=MIN_BACK_BUFFER&&j-I<=MIN_BACK_BUFFER){this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. "+("Appended byte length: "+A.byteLength+", ")+("audio buffer: "+timeRangesToArray(E).join(", ")+", ")+("video buffer: "+timeRangesToArray(C).join(", ")+", ")),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),this.trigger("error");return}this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:v,type:w,bytes:A}));var B=this.currentTime_(),F=B-MIN_BACK_BUFFER;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+F),this.remove(0,F,function(){h.logger_("On QUOTA_EXCEEDED_ERR, retrying append in "+MIN_BACK_BUFFER+"s"),h.waitingOnRemove_=!1,h.quotaExceededErrorRetryTimeout_=window$1$1.setTimeout(function(){h.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),h.quotaExceededErrorRetryTimeout_=null,h.processCallQueue_()},MIN_BACK_BUFFER*1e3)},!0)},o.handleAppendError_=function(t,u){var h=t.segmentInfo,v=t.type,w=t.bytes;if(u){if(u.code===QUOTA_EXCEEDED_ERR){this.handleQuotaExceededError_({segmentInfo:h,type:v,bytes:w});return}this.logger_("Received non QUOTA_EXCEEDED_ERR on append",u),this.error(v+" append of "+w.length+"b failed for segment "+("#"+h.mediaIndex+" in playlist "+h.playlist.id)),this.trigger("appenderror")}},o.appendToSourceBuffer_=function(t){var u=t.segmentInfo,h=t.type,v=t.initSegment,w=t.data,A=t.bytes;if(!A){var E=[w],C=w.byteLength;v&&(E.unshift(v),C+=v.byteLength),A=concatSegments({bytes:C,segments:E})}this.sourceUpdater_.appendBuffer({segmentInfo:u,type:h,bytes:A},this.handleAppendError_.bind(this,{segmentInfo:u,type:h,bytes:A}))},o.handleSegmentTimingInfo_=function(t,u,h){if(!(!this.pendingSegment_||u!==this.pendingSegment_.requestId)){var v=this.pendingSegment_.segment,w=t+"TimingInfo";v[w]||(v[w]={}),v[w].transmuxerPrependedSeconds=h.prependedContentDuration||0,v[w].transmuxedPresentationStart=h.start.presentation,v[w].transmuxedDecodeStart=h.start.decode,v[w].transmuxedPresentationEnd=h.end.presentation,v[w].transmuxedDecodeEnd=h.end.decode,v[w].baseMediaDecodeTime=h.baseMediaDecodeTime}},o.appendData_=function(t,u){var h=u.type,v=u.data;if(!(!v||!v.byteLength)&&!(h==="audio"&&this.audioDisabled_)){var w=this.getInitSegmentAndUpdateState_({type:h,initSegment:u.initSegment,playlist:t.playlist,map:t.isFmp4?t.segment.map:null});this.appendToSourceBuffer_({segmentInfo:t,type:h,initSegment:w,data:v})}},o.loadSegment_=function(t){var u=this;if(this.state="WAITING",this.pendingSegment_=t,this.trimBackBuffer_(t),typeof t.timestampOffset=="number"&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),!this.hasEnoughInfoToLoad_()){this.loadQueue_.push(function(){var h=_extends$2({},t,{forceTimestampOffset:!0});_extends$2(t,u.generateSegmentInfo_(h)),u.isPendingTimestampOffset_=!1,u.updateTransmuxerAndRequestSegment_(t)});return}this.updateTransmuxerAndRequestSegment_(t)},o.updateTransmuxerAndRequestSegment_=function(t){var u=this;this.shouldUpdateTransmuxerTimestampOffset_(t.timestampOffset)&&(this.gopBuffer_.length=0,t.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:t.timestampOffset}));var h=this.createSimplifiedSegmentObj_(t),v=this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex),w=this.mediaIndex!==null,A=t.timeline!==this.currentTimeline_&&t.timeline>0,E=v||w&&A;this.logger_("Requesting "+segmentInfoString(t)),h.map&&!h.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),t.abortRequests=mediaSegmentRequest({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:h,abortFn:this.handleAbort_.bind(this,t),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",t.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",t.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:E,endedTimelineFn:function(){u.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(M){var P=M.message,I=M.level,j=M.stream;u.logger_(segmentInfoString(t)+" logged from transmuxer stream "+j+" as a "+I+": "+P)}})},o.trimBackBuffer_=function(t){var u=safeBackBufferTrimTime(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);u>0&&this.remove(0,u)},o.createSimplifiedSegmentObj_=function(t){var u=t.segment,h=t.part,v={resolvedUri:h?h.resolvedUri:u.resolvedUri,byterange:h?h.byterange:u.byterange,requestId:t.requestId,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,part:t.part},w=t.playlist.segments[t.mediaIndex-1];if(w&&w.timeline===u.timeline&&(w.videoTimingInfo?v.baseStartTime=w.videoTimingInfo.transmuxedDecodeEnd:w.audioTimingInfo&&(v.baseStartTime=w.audioTimingInfo.transmuxedDecodeEnd)),u.key){var A=u.key.iv||new Uint32Array([0,0,0,t.mediaIndex+t.playlist.mediaSequence]);v.key=this.segmentKey(u.key),v.key.iv=A}return u.map&&(v.map=this.initSegmentForMap(u.map)),v},o.saveTransferStats_=function(t){this.mediaRequests+=1,t&&(this.mediaBytesTransferred+=t.bytesReceived,this.mediaTransferDuration+=t.roundTripTime)},o.saveBandwidthRelatedStats_=function(t,u){if(this.pendingSegment_.byteLength=u.bytesReceived,t<MIN_SEGMENT_DURATION_TO_SAVE_STATS){this.logger_("Ignoring segment's bandwidth because its duration of "+t+(" is less than the min to record "+MIN_SEGMENT_DURATION_TO_SAVE_STATS));return}this.bandwidth=u.bandwidth,this.roundTrip=u.roundTripTime},o.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")},o.segmentRequestFinished_=function(t,u,h){if(this.callQueue_.length){this.callQueue_.push(this.segmentRequestFinished_.bind(this,t,u,h));return}if(this.saveTransferStats_(u.stats),!!this.pendingSegment_&&u.requestId===this.pendingSegment_.requestId){if(t){if(this.pendingSegment_=null,this.state="READY",t.code===REQUEST_ERRORS.ABORTED)return;if(this.pause(),t.code===REQUEST_ERRORS.TIMEOUT){this.handleTimeout_();return}this.mediaRequestsErrored+=1,this.error(t),this.trigger("error");return}var v=this.pendingSegment_;this.saveBandwidthRelatedStats_(v.duration,u.stats),v.endOfAllRequests=u.endOfAllRequests,h.gopInfo&&(this.gopBuffer_=updateGopBuffer(this.gopBuffer_,h.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(v)}},o.setTimeMapping_=function(t){var u=this.syncController_.mappingForTimeline(t);u!==null&&(this.timeMapping_=u)},o.updateMediaSecondsLoaded_=function(t){typeof t.start=="number"&&typeof t.end=="number"?this.mediaSecondsLoaded+=t.end-t.start:this.mediaSecondsLoaded+=t.duration},o.shouldUpdateTransmuxerTimestampOffset_=function(t){return t===null?!1:this.loaderType_==="main"&&t!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&t!==this.sourceUpdater_.audioTimestampOffset()},o.trueSegmentStart_=function(t){var u=t.currentStart,h=t.playlist,v=t.mediaIndex,w=t.firstVideoFrameTimeForData,A=t.currentVideoTimestampOffset,E=t.useVideoTimingInfo,C=t.videoTimingInfo,M=t.audioTimingInfo;if(typeof u<"u")return u;if(!E)return M.start;var P=h.segments[v-1];return v===0||!P||typeof P.start>"u"||P.end!==w+A?w:C.start},o.waitForAppendsToComplete_=function(t){var u=this.getCurrentMediaInfo_(t);if(!u){this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),this.trigger("error");return}var h=u.hasAudio,v=u.hasVideo,w=u.isMuxed,A=this.loaderType_==="main"&&v,E=!this.audioDisabled_&&h&&!w;if(t.waitingOnAppends=0,!t.hasAppendedData_){!t.timingInfo&&typeof t.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!0),t.timingInfo={start:0},t.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(t),this.processMetadataQueue_()),this.checkAppendsDone_(t);return}A&&t.waitingOnAppends++,E&&t.waitingOnAppends++,A&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,t)),E&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,t))},o.checkAppendsDone_=function(t){this.checkForAbort_(t.requestId)||(t.waitingOnAppends--,t.waitingOnAppends===0&&this.handleAppendsDone_())},o.checkForIllegalMediaSwitch=function(t){var u=illegalMediaSwitch(this.loaderType_,this.getCurrentMediaInfo_(),t);return u?(this.error({message:u,blacklistDuration:1/0}),this.trigger("error"),!0):!1},o.updateSourceBufferTimestampOffset_=function(t){if(!(t.timestampOffset===null||typeof t.timingInfo.start!="number"||t.changedTimestampOffset||this.loaderType_!=="main")){var u=!1;t.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:t.segment.videoTimingInfo,audioTimingInfo:t.segment.audioTimingInfo,timingInfo:t.timingInfo}),t.changedTimestampOffset=!0,t.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(t.timestampOffset),u=!0),t.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(t.timestampOffset),u=!0),u&&this.trigger("timestampoffset")}},o.getSegmentStartTimeForTimestampOffsetCalculation_=function(t){var u=t.videoTimingInfo,h=t.audioTimingInfo,v=t.timingInfo;return this.useDtsForTimestampOffset_?u&&typeof u.transmuxedDecodeStart=="number"?u.transmuxedDecodeStart:h&&typeof h.transmuxedDecodeStart=="number"?h.transmuxedDecodeStart:v.start:v.start},o.updateTimingInfoEnd_=function(t){t.timingInfo=t.timingInfo||{};var u=this.getMediaInfo_(),h=this.loaderType_==="main"&&u&&u.hasVideo,v=h&&t.videoTimingInfo?t.videoTimingInfo:t.audioTimingInfo;v&&(t.timingInfo.end=typeof v.end=="number"?v.end:v.start+t.duration)},o.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_){this.state="READY",this.paused()||this.monitorBuffer_();return}var t=this.pendingSegment_;this.updateTimingInfoEnd_(t),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:t,shouldSaveTimelineMapping:this.loaderType_==="main"});var u=getTroublesomeSegmentDurationMessage(t,this.sourceType_);if(u&&(u.severity==="warn"?videojs.log.warn(u.message):this.logger_(u.message)),this.recordThroughput_(t),this.pendingSegment_=null,this.state="READY",t.isSyncRequest&&(this.trigger("syncinfoupdate"),!t.hasAppendedData_)){this.logger_("Throwing away un-appended sync request "+segmentInfoString(t));return}this.logger_("Appended "+segmentInfoString(t)),this.addSegmentMetadataCue_(t),this.fetchAtBuffer_=!0,this.currentTimeline_!==t.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline}),this.loaderType_==="main"&&!this.audioDisabled_&&this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:t.timeline})),this.currentTimeline_=t.timeline,this.trigger("syncinfoupdate");var h=t.segment,v=t.part,w=h.end&&this.currentTime_()-h.end>t.playlist.targetDuration*3,A=v&&v.end&&this.currentTime_()-v.end>t.playlist.partTargetDuration*3;if(w||A){this.logger_("bad "+(w?"segment":"part")+" "+segmentInfoString(t)),this.resetEverything();return}var E=this.mediaIndex!==null;E&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=t.mediaIndex,this.partIndex=t.partIndex,this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex)&&this.endOfStream(),this.trigger("appended"),t.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()},o.recordThroughput_=function(t){if(t.duration<MIN_SEGMENT_DURATION_TO_SAVE_STATS){this.logger_("Ignoring segment's throughput because its duration of "+t.duration+(" is less than the min to record "+MIN_SEGMENT_DURATION_TO_SAVE_STATS));return}var u=this.throughput.rate,h=Date.now()-t.endOfAllRequests+1,v=Math.floor(t.byteLength/h*8*1e3);this.throughput.rate+=(v-u)/++this.throughput.count},o.addSegmentMetadataCue_=function(t){if(this.segmentMetadataTrack_){var u=t.segment,h=u.start,v=u.end;if(!(!finite(h)||!finite(v))){removeCuesFromTrack(h,v,this.segmentMetadataTrack_);var w=window$1$1.WebKitDataCue||window$1$1.VTTCue,A={custom:u.custom,dateTimeObject:u.dateTimeObject,dateTimeString:u.dateTimeString,bandwidth:t.playlist.attributes.BANDWIDTH,resolution:t.playlist.attributes.RESOLUTION,codecs:t.playlist.attributes.CODECS,byteLength:t.byteLength,uri:t.uri,timeline:t.timeline,playlist:t.playlist.id,start:h,end:v},E=JSON.stringify(A),C=new w(h,v,E);C.value=A,this.segmentMetadataTrack_.addCue(C)}}},e}(videojs.EventTarget);function noop$1(){}var toTitleCase=function(e){return typeof e!="string"?e:e.replace(/./,function(o){return o.toUpperCase()})},bufferTypes=["video","audio"],_updating=function(e,o){var l=o[e+"Buffer"];return l&&l.updating||o.queuePending[e]},nextQueueIndexOfType=function(e,o){for(var l=0;l<o.length;l++){var t=o[l];if(t.type==="mediaSource")return null;if(t.type===e)return l}return null},shiftQueue=function n(e,o){if(o.queue.length!==0){var l=0,t=o.queue[l];if(t.type==="mediaSource"){!o.updating()&&o.mediaSource.readyState!=="closed"&&(o.queue.shift(),t.action(o),t.doneFn&&t.doneFn(),n("audio",o),n("video",o));return}if(e!=="mediaSource"&&!(!o.ready()||o.mediaSource.readyState==="closed"||_updating(e,o))){if(t.type!==e){if(l=nextQueueIndexOfType(e,o.queue),l===null)return;t=o.queue[l]}if(o.queue.splice(l,1),o.queuePending[e]=t,t.action(e,o),!t.doneFn){o.queuePending[e]=null,n(e,o);return}}}},cleanupBuffer=function(e,o){var l=o[e+"Buffer"],t=toTitleCase(e);l&&(l.removeEventListener("updateend",o["on"+t+"UpdateEnd_"]),l.removeEventListener("error",o["on"+t+"Error_"]),o.codecs[e]=null,o[e+"Buffer"]=null)},inSourceBuffers=function(e,o){return e&&o&&Array.prototype.indexOf.call(e.sourceBuffers,o)!==-1},actions={appendBuffer:function(e,o,l){return function(t,u){var h=u[t+"Buffer"];if(inSourceBuffers(u.mediaSource,h)){u.logger_("Appending segment "+o.mediaIndex+"'s "+e.length+" bytes to "+t+"Buffer");try{h.appendBuffer(e)}catch(v){u.logger_("Error with code "+v.code+" "+(v.code===QUOTA_EXCEEDED_ERR?"(QUOTA_EXCEEDED_ERR) ":"")+("when appending segment "+o.mediaIndex+" to "+t+"Buffer")),u.queuePending[t]=null,l(v)}}}},remove:function(e,o){return function(l,t){var u=t[l+"Buffer"];if(inSourceBuffers(t.mediaSource,u)){t.logger_("Removing "+e+" to "+o+" from "+l+"Buffer");try{u.remove(e,o)}catch{t.logger_("Remove "+e+" to "+o+" from "+l+"Buffer failed")}}}},timestampOffset:function(e){return function(o,l){var t=l[o+"Buffer"];inSourceBuffers(l.mediaSource,t)&&(l.logger_("Setting "+o+"timestampOffset to "+e),t.timestampOffset=e)}},callback:function(e){return function(o,l){e()}},endOfStream:function(e){return function(o){if(o.mediaSource.readyState==="open"){o.logger_("Calling mediaSource endOfStream("+(e||"")+")");try{o.mediaSource.endOfStream(e)}catch(l){videojs.log.warn("Failed to call media source endOfStream",l)}}}},duration:function(e){return function(o){o.logger_("Setting mediaSource duration to "+e);try{o.mediaSource.duration=e}catch(l){videojs.log.warn("Failed to set media source duration",l)}}},abort:function(){return function(e,o){if(o.mediaSource.readyState==="open"){var l=o[e+"Buffer"];if(inSourceBuffers(o.mediaSource,l)){o.logger_("calling abort on "+e+"Buffer");try{l.abort()}catch(t){videojs.log.warn("Failed to abort on "+e+"Buffer",t)}}}}},addSourceBuffer:function(e,o){return function(l){var t=toTitleCase(e),u=getMimeForCodec(o);l.logger_("Adding "+e+"Buffer with codec "+o+" to mediaSource");var h=l.mediaSource.addSourceBuffer(u);h.addEventListener("updateend",l["on"+t+"UpdateEnd_"]),h.addEventListener("error",l["on"+t+"Error_"]),l.codecs[e]=o,l[e+"Buffer"]=h}},removeSourceBuffer:function(e){return function(o){var l=o[e+"Buffer"];if(cleanupBuffer(e,o),!!inSourceBuffers(o.mediaSource,l)){o.logger_("Removing "+e+"Buffer with codec "+o.codecs[e]+" from mediaSource");try{o.mediaSource.removeSourceBuffer(l)}catch(t){videojs.log.warn("Failed to removeSourceBuffer "+e+"Buffer",t)}}}},changeType:function(e){return function(o,l){var t=l[o+"Buffer"],u=getMimeForCodec(e);if(inSourceBuffers(l.mediaSource,t)&&l.codecs[o]!==e){l.logger_("changing "+o+"Buffer codec from "+l.codecs[o]+" to "+e);try{t.changeType(u),l.codecs[o]=e}catch(h){videojs.log.warn("Failed to changeType on "+o+"Buffer",h)}}}}},pushQueue=function(e){var o=e.type,l=e.sourceUpdater,t=e.action,u=e.doneFn,h=e.name;l.queue.push({type:o,action:t,doneFn:u,name:h}),shiftQueue(o,l)},onUpdateend=function(e,o){return function(l){if(o.queuePending[e]){var t=o.queuePending[e].doneFn;o.queuePending[e]=null,t&&t(o[e+"Error_"])}shiftQueue(e,o)}},SourceUpdater=function(n){_inheritsLoose(e,n);function e(l){var t;return t=n.call(this)||this,t.mediaSource=l,t.sourceopenListener_=function(){return shiftQueue("mediaSource",_assertThisInitialized$1(t))},t.mediaSource.addEventListener("sourceopen",t.sourceopenListener_),t.logger_=logger("SourceUpdater"),t.audioTimestampOffset_=0,t.videoTimestampOffset_=0,t.queue=[],t.queuePending={audio:null,video:null},t.delayedAudioAppendQueue_=[],t.videoAppendQueued_=!1,t.codecs={},t.onVideoUpdateEnd_=onUpdateend("video",_assertThisInitialized$1(t)),t.onAudioUpdateEnd_=onUpdateend("audio",_assertThisInitialized$1(t)),t.onVideoError_=function(u){t.videoError_=u},t.onAudioError_=function(u){t.audioError_=u},t.createdSourceBuffers_=!1,t.initializedEme_=!1,t.triggeredReady_=!1,t}var o=e.prototype;return o.initializedEme=function(){this.initializedEme_=!0,this.triggerReady()},o.hasCreatedSourceBuffers=function(){return this.createdSourceBuffers_},o.hasInitializedAnyEme=function(){return this.initializedEme_},o.ready=function(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},o.createSourceBuffers=function(t){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(t),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())},o.triggerReady=function(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))},o.addSourceBuffer=function(t,u){pushQueue({type:"mediaSource",sourceUpdater:this,action:actions.addSourceBuffer(t,u),name:"addSourceBuffer"})},o.abort=function(t){pushQueue({type:t,sourceUpdater:this,action:actions.abort(t),name:"abort"})},o.removeSourceBuffer=function(t){if(!this.canRemoveSourceBuffer()){videojs.log.error("removeSourceBuffer is not supported!");return}pushQueue({type:"mediaSource",sourceUpdater:this,action:actions.removeSourceBuffer(t),name:"removeSourceBuffer"})},o.canRemoveSourceBuffer=function(){return!videojs.browser.IE_VERSION&&!videojs.browser.IS_FIREFOX&&window$1$1.MediaSource&&window$1$1.MediaSource.prototype&&typeof window$1$1.MediaSource.prototype.removeSourceBuffer=="function"},e.canChangeType=function(){return window$1$1.SourceBuffer&&window$1$1.SourceBuffer.prototype&&typeof window$1$1.SourceBuffer.prototype.changeType=="function"},o.canChangeType=function(){return this.constructor.canChangeType()},o.changeType=function(t,u){if(!this.canChangeType()){videojs.log.error("changeType is not supported!");return}pushQueue({type:t,sourceUpdater:this,action:actions.changeType(u),name:"changeType"})},o.addOrChangeSourceBuffers=function(t){var u=this;if(!t||typeof t!="object"||Object.keys(t).length===0)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(t).forEach(function(h){var v=t[h];if(!u.hasCreatedSourceBuffers())return u.addSourceBuffer(h,v);u.canChangeType()&&u.changeType(h,v)})},o.appendBuffer=function(t,u){var h=this,v=t.segmentInfo,w=t.type,A=t.bytes;if(this.processedAppend_=!0,w==="audio"&&this.videoBuffer&&!this.videoAppendQueued_){this.delayedAudioAppendQueue_.push([t,u]),this.logger_("delayed audio append of "+A.length+" until video append");return}var E=u;if(pushQueue({type:w,sourceUpdater:this,action:actions.appendBuffer(A,v||{mediaIndex:-1},E),doneFn:u,name:"appendBuffer"}),w==="video"){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;var C=this.delayedAudioAppendQueue_.slice();this.logger_("queuing delayed audio "+C.length+" appendBuffers"),this.delayedAudioAppendQueue_.length=0,C.forEach(function(M){h.appendBuffer.apply(h,M)})}},o.audioBuffered=function(){return inSourceBuffers(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:videojs.createTimeRange()},o.videoBuffered=function(){return inSourceBuffers(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:videojs.createTimeRange()},o.buffered=function(){var t=inSourceBuffers(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,u=inSourceBuffers(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return u&&!t?this.audioBuffered():t&&!u?this.videoBuffered():bufferIntersection(this.audioBuffered(),this.videoBuffered())},o.setDuration=function(t,u){u===void 0&&(u=noop$1),pushQueue({type:"mediaSource",sourceUpdater:this,action:actions.duration(t),name:"duration",doneFn:u})},o.endOfStream=function(t,u){t===void 0&&(t=null),u===void 0&&(u=noop$1),typeof t!="string"&&(t=void 0),pushQueue({type:"mediaSource",sourceUpdater:this,action:actions.endOfStream(t),name:"endOfStream",doneFn:u})},o.removeAudio=function(t,u,h){if(h===void 0&&(h=noop$1),!this.audioBuffered().length||this.audioBuffered().end(0)===0){h();return}pushQueue({type:"audio",sourceUpdater:this,action:actions.remove(t,u),doneFn:h,name:"remove"})},o.removeVideo=function(t,u,h){if(h===void 0&&(h=noop$1),!this.videoBuffered().length||this.videoBuffered().end(0)===0){h();return}pushQueue({type:"video",sourceUpdater:this,action:actions.remove(t,u),doneFn:h,name:"remove"})},o.updating=function(){return!!(_updating("audio",this)||_updating("video",this))},o.audioTimestampOffset=function(t){return typeof t<"u"&&this.audioBuffer&&this.audioTimestampOffset_!==t&&(pushQueue({type:"audio",sourceUpdater:this,action:actions.timestampOffset(t),name:"timestampOffset"}),this.audioTimestampOffset_=t),this.audioTimestampOffset_},o.videoTimestampOffset=function(t){return typeof t<"u"&&this.videoBuffer&&this.videoTimestampOffset!==t&&(pushQueue({type:"video",sourceUpdater:this,action:actions.timestampOffset(t),name:"timestampOffset"}),this.videoTimestampOffset_=t),this.videoTimestampOffset_},o.audioQueueCallback=function(t){this.audioBuffer&&pushQueue({type:"audio",sourceUpdater:this,action:actions.callback(t),name:"callback"})},o.videoQueueCallback=function(t){this.videoBuffer&&pushQueue({type:"video",sourceUpdater:this,action:actions.callback(t),name:"callback"})},o.dispose=function(){var t=this;this.trigger("dispose"),bufferTypes.forEach(function(u){t.abort(u),t.canRemoveSourceBuffer()?t.removeSourceBuffer(u):t[u+"QueueCallback"](function(){return cleanupBuffer(u,t)})}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},e}(videojs.EventTarget),uint8ToUtf8=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},VTT_LINE_TERMINATORS=new Uint8Array(`
 
-`.split("").map(t=>t.charCodeAt(0)));class NoVttJsError extends Error{constructor(){super("Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")}}class VTTSegmentLoader extends SegmentLoader{constructor(e,n={}){super(e,n),this.mediaSource_=null,this.subtitlesTrack_=null,this.featuresNativeTextTracks_=e.featuresNativeTextTracks,this.loadVttJs=e.loadVttJs,this.shouldSaveSegmentTimingInfo_=!1}createTransmuxer_(){return null}buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return createTimeRanges();const e=this.subtitlesTrack_.cues,n=e[0].startTime,o=e[e.length-1].startTime;return createTimeRanges([[n,o]])}initSegmentForMap(e,n=!1){if(!e)return null;const o=initSegmentId(e);let u=this.initSegments_[o];if(n&&!u&&e.bytes){const l=VTT_LINE_TERMINATORS.byteLength+e.bytes.byteLength,m=new Uint8Array(l);m.set(e.bytes),m.set(VTT_LINE_TERMINATORS,e.bytes.byteLength),this.initSegments_[o]=u={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:m}}return u||e}couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}track(e){return typeof e>"u"?this.subtitlesTrack_:(this.subtitlesTrack_=e,this.state==="INIT"&&this.couldBeginLoading_()&&this.init_(),this.subtitlesTrack_)}remove(e,n){removeCuesFromTrack(e,n,this.subtitlesTrack_)}fillBuffer_(){const e=this.chooseNextRequest_();if(e){if(this.syncController_.timestampOffsetForTimeline(e.timeline)===null){const n=()=>{this.state="READY",this.paused()||this.monitorBuffer_()};this.syncController_.one("timestampoffset",n),this.state="WAITING_ON_TIMELINE";return}this.loadSegment_(e)}}timestampOffsetForSegment_(){return null}chooseNextRequest_(){return this.skipEmptySegments_(super.chooseNextRequest_())}skipEmptySegments_(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e}stopForError(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")}segmentRequestFinished_(e,n,o){if(!this.subtitlesTrack_){this.state="READY";return}if(this.saveTransferStats_(n.stats),!this.pendingSegment_){this.state="READY",this.mediaRequestsAborted+=1;return}if(e){e.code===REQUEST_ERRORS.TIMEOUT&&this.handleTimeout_(),e.code===REQUEST_ERRORS.ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,this.stopForError(e);return}const u=this.pendingSegment_;this.saveBandwidthRelatedStats_(u.duration,n.stats),n.key&&this.segmentKey(n.key,!0),this.state="APPENDING",this.trigger("appending");const l=u.segment;if(l.map&&(l.map.bytes=n.map.bytes),u.bytes=n.bytes,typeof window$1$1.WebVTT!="function"&&typeof this.loadVttJs=="function"){this.state="WAITING_ON_VTTJS",this.loadVttJs().then(()=>this.segmentRequestFinished_(e,n,o),()=>this.stopForError({message:"Error loading vtt.js"}));return}l.requested=!0;try{this.parseVTTCues_(u)}catch(m){this.stopForError({message:m.message,metadata:{errorType:videojs.Error.StreamingVttParserError,error:m}});return}if(this.updateTimeMapping_(u,this.syncController_.timelines[u.timeline],this.playlist_),u.cues.length?u.timingInfo={start:u.cues[0].startTime,end:u.cues[u.cues.length-1].endTime}:u.timingInfo={start:u.startOfSegment,end:u.startOfSegment+u.duration},u.isSyncRequest){this.trigger("syncinfoupdate"),this.pendingSegment_=null,this.state="READY";return}u.byteLength=u.bytes.byteLength,this.mediaSecondsLoaded+=l.duration,u.cues.forEach(m=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new window$1$1.VTTCue(m.startTime,m.endTime,m.text):m)}),removeDuplicateCuesFromTrack(this.subtitlesTrack_),this.handleAppendsDone_()}handleData_(){}updateTimingInfoEnd_(){}parseVTTCues_(e){let n,o=!1;if(typeof window$1$1.WebVTT!="function")throw new NoVttJsError;typeof window$1$1.TextDecoder=="function"?n=new window$1$1.TextDecoder("utf8"):(n=window$1$1.WebVTT.StringDecoder(),o=!0);const u=new window$1$1.WebVTT.Parser(window$1$1,window$1$1.vttjs,n);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},u.oncue=e.cues.push.bind(e.cues),u.ontimestampmap=m=>{e.timestampmap=m},u.onparsingerror=m=>{videojs.log.warn("Error encountered when parsing cues: "+m.message)},e.segment.map){let m=e.segment.map.bytes;o&&(m=uint8ToUtf8(m)),u.parse(m)}let l=e.bytes;o&&(l=uint8ToUtf8(l)),u.parse(l),u.flush()}updateTimeMapping_(e,n,o){const u=e.segment;if(!n)return;if(!e.cues.length){u.empty=!0;return}const{MPEGTS:l,LOCAL:m}=e.timestampmap,E=l/clock.ONE_SECOND_IN_TS-m+n.mapping;if(e.cues.forEach(C=>{const k=C.endTime-C.startTime,A=this.handleRollover_(C.startTime+E,n.time);C.startTime=Math.max(A,0),C.endTime=Math.max(A+k,0)}),!o.syncInfo){const C=e.cues[0].startTime,k=e.cues[e.cues.length-1].startTime;o.syncInfo={mediaSequence:o.mediaSequence+e.mediaIndex,time:Math.min(C,k-u.duration)}}}handleRollover_(e,n){if(n===null)return e;let o=e*clock.ONE_SECOND_IN_TS;const u=n*clock.ONE_SECOND_IN_TS;let l;for(u<o?l=-8589934592:l=8589934592;Math.abs(o-u)>4294967296;)o+=l;return o/clock.ONE_SECOND_IN_TS}}const findAdCue=function(t,e){const n=t.cues;for(let o=0;o<n.length;o++){const u=n[o];if(e>=u.adStartTime&&e<=u.adEndTime)return u}return null},updateAdCues=function(t,e,n=0){if(!t.segments)return;let o=n,u;for(let l=0;l<t.segments.length;l++){const m=t.segments[l];if(u||(u=findAdCue(e,o+m.duration/2)),u){if("cueIn"in m){u.endTime=o,u.adEndTime=o,o+=m.duration,u=null;continue}if(o<u.endTime){o+=m.duration;continue}u.endTime+=m.duration}else if("cueOut"in m&&(u=new window$1$1.VTTCue(o,o+m.duration,m.cueOut),u.adStartTime=o,u.adEndTime=o+parseFloat(m.cueOut),e.addCue(u)),"cueOutCont"in m){const[y,E]=m.cueOutCont.split("/").map(parseFloat);u=new window$1$1.VTTCue(o,o+m.duration,""),u.adStartTime=o-y,u.adEndTime=u.adStartTime+E,e.addCue(u)}o+=m.duration}};class SyncInfo{constructor({start:e,end:n,segmentIndex:o,partIndex:u=null,appended:l=!1}){this.start_=e,this.end_=n,this.segmentIndex_=o,this.partIndex_=u,this.appended_=l}isInRange(e){return e>=this.start&&e<this.end}markAppended(){this.appended_=!0}resetAppendedStatus(){this.appended_=!1}get isAppended(){return this.appended_}get start(){return this.start_}get end(){return this.end_}get segmentIndex(){return this.segmentIndex_}get partIndex(){return this.partIndex_}}class SyncInfoData{constructor(e,n=[]){this.segmentSyncInfo_=e,this.partsSyncInfo_=n}get segmentSyncInfo(){return this.segmentSyncInfo_}get partsSyncInfo(){return this.partsSyncInfo_}get hasPartsSyncInfo(){return this.partsSyncInfo_.length>0}resetAppendStatus(){this.segmentSyncInfo_.resetAppendedStatus(),this.partsSyncInfo_.forEach(e=>e.resetAppendedStatus())}}class MediaSequenceSync{constructor(){this.storage_=new Map,this.diagnostics_="",this.isReliable_=!1,this.start_=-1/0,this.end_=1/0}get start(){return this.start_}get end(){return this.end_}get diagnostics(){return this.diagnostics_}get isReliable(){return this.isReliable_}resetAppendedStatus(){this.storage_.forEach(e=>e.resetAppendStatus())}update(e,n){const{mediaSequence:o,segments:u}=e;if(this.isReliable_=this.isReliablePlaylist_(o,u),!!this.isReliable_)return this.updateStorage_(u,o,this.calculateBaseTime_(o,n))}getSyncInfoForTime(e){for(const{segmentSyncInfo:n,partsSyncInfo:o}of this.storage_.values())if(o.length){for(const u of o)if(u.isInRange(e))return u}else if(n.isInRange(e))return n;return null}getSyncInfoForMediaSequence(e){return this.storage_.get(e)}updateStorage_(e,n,o){const u=new Map;let l=`
-`,m=o,y=n;this.start_=m,e.forEach((E,C)=>{const k=this.storage_.get(y),A=m,D=A+E.duration,P=!!(k&&k.segmentSyncInfo&&k.segmentSyncInfo.isAppended),R=new SyncInfo({start:A,end:D,appended:P,segmentIndex:C});E.syncInfo=R;let B=m;const F=(E.parts||[]).map((O,N)=>{const Y=B,J=B+O.duration,ie=!!(k&&k.partsSyncInfo&&k.partsSyncInfo[N]&&k.partsSyncInfo[N].isAppended),ue=new SyncInfo({start:Y,end:J,appended:ie,segmentIndex:C,partIndex:N});return B=J,l+=`Media Sequence: ${y}.${N} | Range: ${Y} --> ${J} | Appended: ${ie}
-`,O.syncInfo=ue,ue});u.set(y,new SyncInfoData(R,F)),l+=`${compactSegmentUrlDescription(E.resolvedUri)} | Media Sequence: ${y} | Range: ${A} --> ${D} | Appended: ${P}
-`,y++,m=D}),this.end_=m,this.storage_=u,this.diagnostics_=l}calculateBaseTime_(e,n){return this.storage_.size?this.storage_.has(e)?this.storage_.get(e).segmentSyncInfo.start:n:0}isReliablePlaylist_(e,n){return e!=null&&Array.isArray(n)&&n.length}}class DependantMediaSequenceSync extends MediaSequenceSync{constructor(e){super(),this.parent_=e}calculateBaseTime_(e,n){if(!this.storage_.size){const o=this.parent_.getSyncInfoForMediaSequence(e);return o?o.segmentSyncInfo.start:0}return super.calculateBaseTime_(e,n)}}const MAX_MEDIA_SEQUENCE_DIFF_FOR_SYNC=86400,syncPointStrategies=[{name:"VOD",run:(t,e,n,o,u)=>n!==1/0?{time:0,segmentIndex:0,partIndex:null}:null},{name:"MediaSequence",run:(t,e,n,o,u,l)=>{const m=t.getMediaSequenceSync(l);if(!m||!m.isReliable)return null;const y=m.getSyncInfoForTime(u);return y?{time:y.start,partIndex:y.partIndex,segmentIndex:y.segmentIndex}:null}},{name:"ProgramDateTime",run:(t,e,n,o,u)=>{if(!Object.keys(t.timelineToDatetimeMappings).length)return null;let l=null,m=null;const y=getPartsAndSegments(e);u=u||0;for(let E=0;E<y.length;E++){const C=e.endList||u===0?E:y.length-(E+1),k=y[C],A=k.segment,D=t.timelineToDatetimeMappings[A.timeline];if(!D||!A.dateTimeObject)continue;let R=A.dateTimeObject.getTime()/1e3+D;if(A.parts&&typeof k.partIndex=="number")for(let F=0;F<k.partIndex;F++)R+=A.parts[F].duration;const B=Math.abs(u-R);if(m!==null&&(B===0||m<B))break;m=B,l={time:R,segmentIndex:k.segmentIndex,partIndex:k.partIndex}}return l}},{name:"Segment",run:(t,e,n,o,u)=>{let l=null,m=null;u=u||0;const y=getPartsAndSegments(e);for(let E=0;E<y.length;E++){const C=e.endList||u===0?E:y.length-(E+1),k=y[C],A=k.segment,D=k.part&&k.part.start||A&&A.start;if(A.timeline===o&&typeof D<"u"){const P=Math.abs(u-D);if(m!==null&&m<P)break;(!l||m===null||m>=P)&&(m=P,l={time:D,segmentIndex:k.segmentIndex,partIndex:k.partIndex})}}return l}},{name:"Discontinuity",run:(t,e,n,o,u)=>{let l=null;if(u=u||0,e.discontinuityStarts&&e.discontinuityStarts.length){let m=null;for(let y=0;y<e.discontinuityStarts.length;y++){const E=e.discontinuityStarts[y],C=e.discontinuitySequence+y+1,k=t.discontinuities[C];if(k){const A=Math.abs(u-k.time);if(m!==null&&m<A)break;(!l||m===null||m>=A)&&(m=A,l={time:k.time,segmentIndex:E,partIndex:null})}}}return l}},{name:"Playlist",run:(t,e,n,o,u)=>e.syncInfo?{time:e.syncInfo.time,segmentIndex:e.syncInfo.mediaSequence-e.mediaSequence,partIndex:null}:null}];class SyncController extends videojs.EventTarget{constructor(e={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={};const n=new MediaSequenceSync,o=new DependantMediaSequenceSync(n),u=new DependantMediaSequenceSync(n);this.mediaSequenceStorage_={main:n,audio:o,vtt:u},this.logger_=logger("SyncController")}getMediaSequenceSync(e){return this.mediaSequenceStorage_[e]||null}getSyncPoint(e,n,o,u,l){if(n!==1/0)return syncPointStrategies.find(({name:E})=>E==="VOD").run(this,e,n);const m=this.runStrategies_(e,n,o,u,l);if(!m.length)return null;for(const y of m){const{syncPoint:E,strategy:C}=y,{segmentIndex:k,time:A}=E;if(k<0)continue;const D=e.segments[k],P=A,R=P+D.duration;if(this.logger_(`Strategy: ${C}. Current time: ${u}. selected segment: ${k}. Time: [${P} -> ${R}]}`),u>=P&&u<R)return this.logger_("Found sync point with exact match: ",E),E}return this.selectSyncPoint_(m,{key:"time",value:u})}getExpiredTime(e,n){if(!e||!e.segments)return null;const o=this.runStrategies_(e,n,e.discontinuitySequence,0);if(!o.length)return null;const u=this.selectSyncPoint_(o,{key:"segmentIndex",value:0});return u.segmentIndex>0&&(u.time*=-1),Math.abs(u.time+sumDurations({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:u.segmentIndex,endIndex:0}))}runStrategies_(e,n,o,u,l){const m=[];for(let y=0;y<syncPointStrategies.length;y++){const E=syncPointStrategies[y],C=E.run(this,e,n,o,u,l);C&&(C.strategy=E.name,m.push({strategy:E.name,syncPoint:C}))}return m}selectSyncPoint_(e,n){let o=e[0].syncPoint,u=Math.abs(e[0].syncPoint[n.key]-n.value),l=e[0].strategy;for(let m=1;m<e.length;m++){const y=Math.abs(e[m].syncPoint[n.key]-n.value);y<u&&(u=y,o=e[m].syncPoint,l=e[m].strategy)}return this.logger_(`syncPoint for [${n.key}: ${n.value}] chosen with strategy [${l}]: [time:${o.time}, segmentIndex:${o.segmentIndex}`+(typeof o.partIndex=="number"?`,partIndex:${o.partIndex}`:"")+"]"),o}saveExpiredSegmentInfo(e,n){const o=n.mediaSequence-e.mediaSequence;if(o>MAX_MEDIA_SEQUENCE_DIFF_FOR_SYNC){videojs.log.warn(`Not saving expired segment info. Media sequence gap ${o} is too large.`);return}for(let u=o-1;u>=0;u--){const l=e.segments[u];if(l&&typeof l.start<"u"){n.syncInfo={mediaSequence:e.mediaSequence+u,time:l.start},this.logger_(`playlist refresh sync: [time:${n.syncInfo.time}, mediaSequence: ${n.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){const n=e.segments[0],o=n.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[n.timeline]=-o}}saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:n}){const o=this.calculateSegmentTimeMapping_(e,e.timingInfo,n),u=e.segment;o&&(this.saveDiscontinuitySyncInfo_(e),e.playlist.syncInfo||(e.playlist.syncInfo={mediaSequence:e.playlist.mediaSequence+e.mediaIndex,time:u.start}));const l=u.dateTimeObject;u.discontinuity&&n&&l&&(this.timelineToDatetimeMappings[u.timeline]=-(l.getTime()/1e3))}timestampOffsetForTimeline(e){return typeof this.timelines[e]>"u"?null:this.timelines[e].time}mappingForTimeline(e){return typeof this.timelines[e]>"u"?null:this.timelines[e].mapping}calculateSegmentTimeMapping_(e,n,o){const u=e.segment,l=e.part;let m=this.timelines[e.timeline],y,E;if(typeof e.timestampOffset=="number")m={time:e.startOfSegment,mapping:e.startOfSegment-n.start},o&&(this.timelines[e.timeline]=m,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${e.timeline}: [time: ${m.time}] [mapping: ${m.mapping}]`)),y=e.startOfSegment,E=n.end+m.mapping;else if(m)y=n.start+m.mapping,E=n.end+m.mapping;else return!1;return l&&(l.start=y,l.end=E),(!u.start||y<u.start)&&(u.start=y),u.end=E,!0}saveDiscontinuitySyncInfo_(e){const n=e.playlist,o=e.segment;if(o.discontinuity)this.discontinuities[o.timeline]={time:o.start,accuracy:0};else if(n.discontinuityStarts&&n.discontinuityStarts.length)for(let u=0;u<n.discontinuityStarts.length;u++){const l=n.discontinuityStarts[u],m=n.discontinuitySequence+u+1,y=l-e.mediaIndex,E=Math.abs(y);if(!this.discontinuities[m]||this.discontinuities[m].accuracy>E){let C;y<0?C=o.start-sumDurations({defaultDuration:n.targetDuration,durationList:n.segments,startIndex:e.mediaIndex,endIndex:l}):C=o.end+sumDurations({defaultDuration:n.targetDuration,durationList:n.segments,startIndex:e.mediaIndex+1,endIndex:l}),this.discontinuities[m]={time:C,accuracy:E}}}}dispose(){this.trigger("dispose"),this.off()}}class TimelineChangeController extends videojs.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:e,from:n,to:o}){return typeof n=="number"&&typeof o=="number"&&(this.pendingTimelineChanges_[e]={type:e,from:n,to:o},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[e]}lastTimelineChange({type:e,from:n,to:o}){if(typeof n=="number"&&typeof o=="number"){this.lastTimelineChanges_[e]={type:e,from:n,to:o},delete this.pendingTimelineChanges_[e];const u={timelineChangeInfo:{from:n,to:o}};this.trigger({type:"timelinechange",metadata:u})}return this.lastTimelineChanges_[e]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const workerCode=transform(getWorkerString(function(){var t=function(){function B(){this.listeners={}}var F=B.prototype;return F.on=function(N,Y){this.listeners[N]||(this.listeners[N]=[]),this.listeners[N].push(Y)},F.off=function(N,Y){if(!this.listeners[N])return!1;var J=this.listeners[N].indexOf(Y);return this.listeners[N]=this.listeners[N].slice(0),this.listeners[N].splice(J,1),J>-1},F.trigger=function(N){var Y=this.listeners[N];if(Y)if(arguments.length===2)for(var J=Y.length,ie=0;ie<J;++ie)Y[ie].call(this,arguments[1]);else for(var ue=Array.prototype.slice.call(arguments,1),Q=Y.length,ce=0;ce<Q;++ce)Y[ce].apply(this,ue)},F.dispose=function(){this.listeners={}},F.pipe=function(N){this.on("data",function(Y){N.push(Y)})},B}();/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */function e(B){return B.subarray(0,B.byteLength-B[B.byteLength-1])}/*! @name aes-decrypter @version 4.0.2 @license Apache-2.0 */const n=function(){const B=[[[],[],[],[],[]],[[],[],[],[],[]]],F=B[0],O=B[1],N=F[4],Y=O[4];let J,ie,ue;const Q=[],ce=[];let he,ke,L,d,v,w;for(J=0;J<256;J++)ce[(Q[J]=J<<1^(J>>7)*283)^J]=J;for(ie=ue=0;!N[ie];ie^=he||1,ue=ce[ue]||1)for(d=ue^ue<<1^ue<<2^ue<<3^ue<<4,d=d>>8^d&255^99,N[ie]=d,Y[d]=ie,L=Q[ke=Q[he=Q[ie]]],w=L*16843009^ke*65537^he*257^ie*16843008,v=Q[d]*257^d*16843008,J=0;J<4;J++)F[J][ie]=v=v<<24^v>>>8,O[J][d]=w=w<<24^w>>>8;for(J=0;J<5;J++)F[J]=F[J].slice(0),O[J]=O[J].slice(0);return B};let o=null;class u{constructor(F){o||(o=n()),this._tables=[[o[0][0].slice(),o[0][1].slice(),o[0][2].slice(),o[0][3].slice(),o[0][4].slice()],[o[1][0].slice(),o[1][1].slice(),o[1][2].slice(),o[1][3].slice(),o[1][4].slice()]];let O,N,Y;const J=this._tables[0][4],ie=this._tables[1],ue=F.length;let Q=1;if(ue!==4&&ue!==6&&ue!==8)throw new Error("Invalid aes key size");const ce=F.slice(0),he=[];for(this._key=[ce,he],O=ue;O<4*ue+28;O++)Y=ce[O-1],(O%ue===0||ue===8&&O%ue===4)&&(Y=J[Y>>>24]<<24^J[Y>>16&255]<<16^J[Y>>8&255]<<8^J[Y&255],O%ue===0&&(Y=Y<<8^Y>>>24^Q<<24,Q=Q<<1^(Q>>7)*283)),ce[O]=ce[O-ue]^Y;for(N=0;O;N++,O--)Y=ce[N&3?O:O-4],O<=4||N<4?he[N]=Y:he[N]=ie[0][J[Y>>>24]]^ie[1][J[Y>>16&255]]^ie[2][J[Y>>8&255]]^ie[3][J[Y&255]]}decrypt(F,O,N,Y,J,ie){const ue=this._key[1];let Q=F^ue[0],ce=Y^ue[1],he=N^ue[2],ke=O^ue[3],L,d,v;const w=ue.length/4-2;let c,p=4;const x=this._tables[1],S=x[0],b=x[1],h=x[2],T=x[3],M=x[4];for(c=0;c<w;c++)L=S[Q>>>24]^b[ce>>16&255]^h[he>>8&255]^T[ke&255]^ue[p],d=S[ce>>>24]^b[he>>16&255]^h[ke>>8&255]^T[Q&255]^ue[p+1],v=S[he>>>24]^b[ke>>16&255]^h[Q>>8&255]^T[ce&255]^ue[p+2],ke=S[ke>>>24]^b[Q>>16&255]^h[ce>>8&255]^T[he&255]^ue[p+3],p+=4,Q=L,ce=d,he=v;for(c=0;c<4;c++)J[(3&-c)+ie]=M[Q>>>24]<<24^M[ce>>16&255]<<16^M[he>>8&255]<<8^M[ke&255]^ue[p++],L=Q,Q=ce,ce=he,he=ke,ke=L}}class l extends t{constructor(){super(t),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(F){this.jobs.push(F),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const m=function(B){return B<<24|(B&65280)<<8|(B&16711680)>>8|B>>>24},y=function(B,F,O){const N=new Int32Array(B.buffer,B.byteOffset,B.byteLength>>2),Y=new u(Array.prototype.slice.call(F)),J=new Uint8Array(B.byteLength),ie=new Int32Array(J.buffer);let ue,Q,ce,he,ke,L,d,v,w;for(ue=O[0],Q=O[1],ce=O[2],he=O[3],w=0;w<N.length;w+=4)ke=m(N[w]),L=m(N[w+1]),d=m(N[w+2]),v=m(N[w+3]),Y.decrypt(ke,L,d,v,ie,w),ie[w]=m(ie[w]^ue),ie[w+1]=m(ie[w+1]^Q),ie[w+2]=m(ie[w+2]^ce),ie[w+3]=m(ie[w+3]^he),ue=ke,Q=L,ce=d,he=v;return J};class E{constructor(F,O,N,Y){const J=E.STEP,ie=new Int32Array(F.buffer),ue=new Uint8Array(F.byteLength);let Q=0;for(this.asyncStream_=new l,this.asyncStream_.push(this.decryptChunk_(ie.subarray(Q,Q+J),O,N,ue)),Q=J;Q<ie.length;Q+=J)N=new Uint32Array([m(ie[Q-4]),m(ie[Q-3]),m(ie[Q-2]),m(ie[Q-1])]),this.asyncStream_.push(this.decryptChunk_(ie.subarray(Q,Q+J),O,N,ue));this.asyncStream_.push(function(){Y(null,e(ue))})}static get STEP(){return 32e3}decryptChunk_(F,O,N,Y){return function(){const J=y(F,O,N);Y.set(J,F.byteOffset)}}}var C=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},k;typeof window<"u"?k=window:typeof C<"u"?k=C:typeof self<"u"?k=self:k={};var A=k,D=function(F){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(F):F&&F.buffer instanceof ArrayBuffer},P=A.BigInt||Number;P("0x1"),P("0x100"),P("0x10000"),P("0x1000000"),P("0x100000000"),P("0x10000000000"),P("0x1000000000000"),P("0x100000000000000"),P("0x10000000000000000"),function(){var B=new Uint16Array([65484]),F=new Uint8Array(B.buffer,B.byteOffset,B.byteLength);return F[0]===255?"big":F[0]===204?"little":"unknown"}();const R=function(B){const F={};return Object.keys(B).forEach(O=>{const N=B[O];D(N)?F[O]={bytes:N.buffer,byteOffset:N.byteOffset,byteLength:N.byteLength}:F[O]=N}),F};self.onmessage=function(B){const F=B.data,O=new Uint8Array(F.encrypted.bytes,F.encrypted.byteOffset,F.encrypted.byteLength),N=new Uint32Array(F.key.bytes,F.key.byteOffset,F.key.byteLength/4),Y=new Uint32Array(F.iv.bytes,F.iv.byteOffset,F.iv.byteLength/4);new E(O,N,Y,function(J,ie){self.postMessage(R({source:F.source,decrypted:ie}),[ie.buffer])})}}));var Decrypter=factory(workerCode);const audioTrackKind_=t=>{let e=t.default?"main":"alternative";return t.characteristics&&t.characteristics.indexOf("public.accessibility.describes-video")>=0&&(e="main-desc"),e},stopLoaders=(t,e)=>{t.abort(),t.pause(),e&&e.activePlaylistLoader&&(e.activePlaylistLoader.pause(),e.activePlaylistLoader=null)},startLoaders=(t,e)=>{e.activePlaylistLoader=t,t.load()},onGroupChanged=(t,e)=>()=>{const{segmentLoaders:{[t]:n,main:o},mediaTypes:{[t]:u}}=e,l=u.activeTrack(),m=u.getActiveGroup(),y=u.activePlaylistLoader,E=u.lastGroup_;if(!(m&&E&&m.id===E.id)&&(u.lastGroup_=m,u.lastTrack_=l,stopLoaders(n,u),!(!m||m.isMainPlaylist))){if(!m.playlistLoader){y&&o.resetEverything();return}n.resyncLoader(),startLoaders(m.playlistLoader,u)}},onGroupChanging=(t,e)=>()=>{const{segmentLoaders:{[t]:n},mediaTypes:{[t]:o}}=e;o.lastGroup_=null,n.abort(),n.pause()},onTrackChanged=(t,e)=>()=>{const{mainPlaylistLoader:n,segmentLoaders:{[t]:o,main:u},mediaTypes:{[t]:l}}=e,m=l.activeTrack(),y=l.getActiveGroup(),E=l.activePlaylistLoader,C=l.lastTrack_;if(!(C&&m&&C.id===m.id)&&(l.lastGroup_=y,l.lastTrack_=m,stopLoaders(o,l),!!y)){if(y.isMainPlaylist){if(!m||!C||m.id===C.id)return;const k=e.vhs.playlistController_,A=k.selectPlaylist();if(k.media()===A)return;l.logger_(`track change. Switching main audio from ${C.id} to ${m.id}`),n.pause(),u.resetEverything(),k.fastQualityChange_(A);return}if(t==="AUDIO"){if(!y.playlistLoader){u.setAudio(!0),u.resetEverything();return}o.setAudio(!0),u.setAudio(!1)}if(E===y.playlistLoader){startLoaders(y.playlistLoader,l);return}o.track&&o.track(m),o.resetEverything(),startLoaders(y.playlistLoader,l)}},onError={AUDIO:(t,e)=>()=>{const{mediaTypes:{[t]:n},excludePlaylist:o}=e,u=n.activeTrack(),l=n.activeGroup(),m=(l.filter(E=>E.default)[0]||l[0]).id,y=n.tracks[m];if(u===y){o({error:{message:"Problem encountered loading the default audio track."}});return}videojs.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const E in n.tracks)n.tracks[E].enabled=n.tracks[E]===y;n.onTrackChanged()},SUBTITLES:(t,e)=>()=>{const{mediaTypes:{[t]:n}}=e;videojs.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track.");const o=n.activeTrack();o&&(o.mode="disabled"),n.onTrackChanged()}},setupListeners={AUDIO:(t,e,n)=>{if(!e)return;const{tech:o,requestOptions:u,segmentLoaders:{[t]:l}}=n;e.on("loadedmetadata",()=>{const m=e.media();l.playlist(m,u),(!o.paused()||m.endList&&o.preload()!=="none")&&l.load()}),e.on("loadedplaylist",()=>{l.playlist(e.media(),u),o.paused()||l.load()}),e.on("error",onError[t](t,n))},SUBTITLES:(t,e,n)=>{const{tech:o,requestOptions:u,segmentLoaders:{[t]:l},mediaTypes:{[t]:m}}=n;e.on("loadedmetadata",()=>{const y=e.media();l.playlist(y,u),l.track(m.activeTrack()),(!o.paused()||y.endList&&o.preload()!=="none")&&l.load()}),e.on("loadedplaylist",()=>{l.playlist(e.media(),u),o.paused()||l.load()}),e.on("error",onError[t](t,n))}},initialize={AUDIO:(t,e)=>{const{vhs:n,sourceType:o,segmentLoaders:{[t]:u},requestOptions:l,main:{mediaGroups:m},mediaTypes:{[t]:{groups:y,tracks:E,logger_:C}},mainPlaylistLoader:k}=e,A=isAudioOnly(k.main);(!m[t]||Object.keys(m[t]).length===0)&&(m[t]={main:{default:{default:!0}}},A&&(m[t].main.default.playlists=k.main.playlists));for(const D in m[t]){y[D]||(y[D]=[]);for(const P in m[t][D]){let R=m[t][D][P],B;if(A?(C(`AUDIO group '${D}' label '${P}' is a main playlist`),R.isMainPlaylist=!0,B=null):o==="vhs-json"&&R.playlists?B=new PlaylistLoader(R.playlists[0],n,l):R.resolvedUri?B=new PlaylistLoader(R.resolvedUri,n,l):R.playlists&&o==="dash"?B=new DashPlaylistLoader(R.playlists[0],n,l,k):B=null,R=merge({id:P,playlistLoader:B},R),setupListeners[t](t,R.playlistLoader,e),y[D].push(R),typeof E[P]>"u"){const F=new videojs.AudioTrack({id:P,kind:audioTrackKind_(R),enabled:!1,language:R.language,default:R.default,label:P});E[P]=F}}}u.on("error",onError[t](t,e))},SUBTITLES:(t,e)=>{const{tech:n,vhs:o,sourceType:u,segmentLoaders:{[t]:l},requestOptions:m,main:{mediaGroups:y},mediaTypes:{[t]:{groups:E,tracks:C}},mainPlaylistLoader:k}=e;for(const A in y[t]){E[A]||(E[A]=[]);for(const D in y[t][A]){if(!o.options_.useForcedSubtitles&&y[t][A][D].forced)continue;let P=y[t][A][D],R;if(u==="hls")R=new PlaylistLoader(P.resolvedUri,o,m);else if(u==="dash"){if(!P.playlists.filter(F=>F.excludeUntil!==1/0).length)return;R=new DashPlaylistLoader(P.playlists[0],o,m,k)}else u==="vhs-json"&&(R=new PlaylistLoader(P.playlists?P.playlists[0]:P.resolvedUri,o,m));if(P=merge({id:D,playlistLoader:R},P),setupListeners[t](t,P.playlistLoader,e),E[A].push(P),typeof C[D]>"u"){const B=n.addRemoteTextTrack({id:D,kind:"subtitles",default:P.default&&P.autoselect,language:P.language,label:D},!1).track;C[D]=B}}}l.on("error",onError[t](t,e))},"CLOSED-CAPTIONS":(t,e)=>{const{tech:n,main:{mediaGroups:o},mediaTypes:{[t]:{groups:u,tracks:l}}}=e;for(const m in o[t]){u[m]||(u[m]=[]);for(const y in o[t][m]){const E=o[t][m][y];if(!/^(?:CC|SERVICE)/.test(E.instreamId))continue;const C=n.options_.vhs&&n.options_.vhs.captionServices||{};let k={label:y,language:E.language,instreamId:E.instreamId,default:E.default&&E.autoselect};if(C[k.instreamId]&&(k=merge(k,C[k.instreamId])),k.default===void 0&&delete k.default,u[m].push(merge({id:y},E)),typeof l[y]>"u"){const A=n.addRemoteTextTrack({id:k.instreamId,kind:"captions",default:k.default,language:k.language,label:k.label},!1).track;l[y]=A}}}}},groupMatch=(t,e)=>{for(let n=0;n<t.length;n++)if(playlistMatch(e,t[n])||t[n].playlists&&groupMatch(t[n].playlists,e))return!0;return!1},activeGroup=(t,e)=>n=>{const{mainPlaylistLoader:o,mediaTypes:{[t]:{groups:u}}}=e,l=o.media();if(!l)return null;let m=null;l.attributes[t]&&(m=u[l.attributes[t]]);const y=Object.keys(u);if(!m)if(t==="AUDIO"&&y.length>1&&isAudioOnly(e.main))for(let E=0;E<y.length;E++){const C=u[y[E]];if(groupMatch(C,l)){m=C;break}}else u.main?m=u.main:y.length===1&&(m=u[y[0]]);return typeof n>"u"?m:n===null||!m?null:m.filter(E=>E.id===n.id)[0]||null},activeTrack={AUDIO:(t,e)=>()=>{const{mediaTypes:{[t]:{tracks:n}}}=e;for(const o in n)if(n[o].enabled)return n[o];return null},SUBTITLES:(t,e)=>()=>{const{mediaTypes:{[t]:{tracks:n}}}=e;for(const o in n)if(n[o].mode==="showing"||n[o].mode==="hidden")return n[o];return null}},getActiveGroup=(t,{mediaTypes:e})=>()=>{const n=e[t].activeTrack();return n?e[t].activeGroup(n):null},setupMediaGroups=t=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(C=>{initialize[C](C,t)});const{mediaTypes:e,mainPlaylistLoader:n,tech:o,vhs:u,segmentLoaders:{["AUDIO"]:l,main:m}}=t;["AUDIO","SUBTITLES"].forEach(C=>{e[C].activeGroup=activeGroup(C,t),e[C].activeTrack=activeTrack[C](C,t),e[C].onGroupChanged=onGroupChanged(C,t),e[C].onGroupChanging=onGroupChanging(C,t),e[C].onTrackChanged=onTrackChanged(C,t),e[C].getActiveGroup=getActiveGroup(C,t)});const y=e.AUDIO.activeGroup();if(y){const C=(y.filter(A=>A.default)[0]||y[0]).id;e.AUDIO.tracks[C].enabled=!0,e.AUDIO.onGroupChanged(),e.AUDIO.onTrackChanged(),e.AUDIO.getActiveGroup().playlistLoader?(m.setAudio(!1),l.setAudio(!0)):m.setAudio(!0)}n.on("mediachange",()=>{["AUDIO","SUBTITLES"].forEach(C=>e[C].onGroupChanged())}),n.on("mediachanging",()=>{["AUDIO","SUBTITLES"].forEach(C=>e[C].onGroupChanging())});const E=()=>{e.AUDIO.onTrackChanged(),o.trigger({type:"usage",name:"vhs-audio-change"})};o.audioTracks().addEventListener("change",E),o.remoteTextTracks().addEventListener("change",e.SUBTITLES.onTrackChanged),u.on("dispose",()=>{o.audioTracks().removeEventListener("change",E),o.remoteTextTracks().removeEventListener("change",e.SUBTITLES.onTrackChanged)}),o.clearTracks("audio");for(const C in e.AUDIO.tracks)o.audioTracks().addTrack(e.AUDIO.tracks[C])},createMediaTypes=()=>{const t={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(e=>{t[e]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:noop$1,activeTrack:noop$1,getActiveGroup:noop$1,onGroupChanged:noop$1,onTrackChanged:noop$1,lastTrack_:null,logger_:logger(`MediaGroups[${e}]`)}}),t};class SteeringManifest{constructor(){this.priority_=[],this.pathwayClones_=new Map}set version(e){e===1&&(this.version_=e)}set ttl(e){this.ttl_=e||300}set reloadUri(e){e&&(this.reloadUri_=resolveUrl(this.reloadUri_,e))}set priority(e){e&&e.length&&(this.priority_=e)}set pathwayClones(e){e&&e.length&&(this.pathwayClones_=new Map(e.map(n=>[n.ID,n])))}get version(){return this.version_}get ttl(){return this.ttl_}get reloadUri(){return this.reloadUri_}get priority(){return this.priority_}get pathwayClones(){return this.pathwayClones_}}class ContentSteeringController extends videojs.EventTarget{constructor(e,n){super(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=!1,this.availablePathways_=new Set,this.steeringManifest=new SteeringManifest,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.currentPathwayClones=new Map,this.nextPathwayClones=new Map,this.excludedSteeringManifestURLs=new Set,this.logger_=logger("Content Steering"),this.xhr_=e,this.getBandwidth_=n}assignTagProperties(e,n){this.manifestType_=n.serverUri?"HLS":"DASH";const o=n.serverUri||n.serverURL;if(!o){this.logger_(`steering manifest URL is ${o}, cannot request steering manifest.`),this.trigger("error");return}if(o.startsWith("data:")){this.decodeDataUriManifest_(o.substring(o.indexOf(",")+1));return}this.steeringManifest.reloadUri=resolveUrl(e,o),this.defaultPathway=n.pathwayId||n.defaultServiceLocation,this.queryBeforeStart=n.queryBeforeStart,this.proxyServerUrl_=n.proxyServerURL,this.defaultPathway&&!this.queryBeforeStart&&this.trigger("content-steering")}requestSteeringManifest(e){const n=this.steeringManifest.reloadUri;if(!n)return;const o=e?n:this.getRequestURI(n);if(!o){this.logger_("No valid content steering manifest URIs. Stopping content steering."),this.trigger("error"),this.dispose();return}const u={contentSteeringInfo:{uri:o}};this.trigger({type:"contentsteeringloadstart",metadata:u}),this.request_=this.xhr_({uri:o,requestType:"content-steering-manifest"},(l,m)=>{if(l){if(m.status===410){this.logger_(`manifest request 410 ${l}.`),this.logger_(`There will be no more content steering requests to ${o} this session.`),this.excludedSteeringManifestURLs.add(o);return}if(m.status===429){const C=m.responseHeaders["retry-after"];this.logger_(`manifest request 429 ${l}.`),this.logger_(`content steering will retry in ${C} seconds.`),this.startTTLTimeout_(parseInt(C,10));return}this.logger_(`manifest failed to load ${l}.`),this.startTTLTimeout_();return}this.trigger({type:"contentsteeringloadcomplete",metadata:u});let y;try{y=JSON.parse(this.request_.responseText)}catch(C){const k={errorType:videojs.Error.StreamingContentSteeringParserError,error:C};this.trigger({type:"error",metadata:k})}this.assignSteeringProperties_(y);const E={contentSteeringInfo:u.contentSteeringInfo,contentSteeringManifest:{version:this.steeringManifest.version,reloadUri:this.steeringManifest.reloadUri,priority:this.steeringManifest.priority}};this.trigger({type:"contentsteeringparsed",metadata:E}),this.startTTLTimeout_()})}setProxyServerUrl_(e){const n=new window$1$1.URL(e),o=new window$1$1.URL(this.proxyServerUrl_);return o.searchParams.set("url",encodeURI(n.toString())),this.setSteeringParams_(o.toString())}decodeDataUriManifest_(e){const n=JSON.parse(window$1$1.atob(e));this.assignSteeringProperties_(n)}setSteeringParams_(e){const n=new window$1$1.URL(e),o=this.getPathway(),u=this.getBandwidth_();if(o){const l=`_${this.manifestType_}_pathway`;n.searchParams.set(l,o)}if(u){const l=`_${this.manifestType_}_throughput`;n.searchParams.set(l,u)}return n.toString()}assignSteeringProperties_(e){if(this.steeringManifest.version=e.VERSION,!this.steeringManifest.version){this.logger_(`manifest version is ${e.VERSION}, which is not supported.`),this.trigger("error");return}this.steeringManifest.ttl=e.TTL,this.steeringManifest.reloadUri=e["RELOAD-URI"],this.steeringManifest.priority=e["PATHWAY-PRIORITY"]||e["SERVICE-LOCATION-PRIORITY"],this.steeringManifest.pathwayClones=e["PATHWAY-CLONES"],this.nextPathwayClones=this.steeringManifest.pathwayClones,this.availablePathways_.size||(this.logger_("There are no available pathways for content steering. Ending content steering."),this.trigger("error"),this.dispose());const o=(u=>{for(const l of u)if(this.availablePathways_.has(l))return l;return[...this.availablePathways_][0]})(this.steeringManifest.priority);this.currentPathway!==o&&(this.currentPathway=o,this.trigger("content-steering"))}getPathway(){return this.currentPathway||this.defaultPathway}getRequestURI(e){if(!e)return null;const n=u=>this.excludedSteeringManifestURLs.has(u);if(this.proxyServerUrl_){const u=this.setProxyServerUrl_(e);if(!n(u))return u}const o=this.setSteeringParams_(e);return n(o)?null:o}startTTLTimeout_(e=this.steeringManifest.ttl){const n=e*1e3;this.ttlTimeout_=window$1$1.setTimeout(()=>{this.requestSteeringManifest()},n)}clearTTLTimeout_(){window$1$1.clearTimeout(this.ttlTimeout_),this.ttlTimeout_=null}abort(){this.request_&&this.request_.abort(),this.request_=null}dispose(){this.off("content-steering"),this.off("error"),this.abort(),this.clearTTLTimeout_(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=null,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.excludedSteeringManifestURLs=new Set,this.availablePathways_=new Set,this.steeringManifest=new SteeringManifest}addAvailablePathway(e){e&&this.availablePathways_.add(e)}clearAvailablePathways(){this.availablePathways_.clear()}excludePathway(e){return this.availablePathways_.delete(e)}didDASHTagChange(e,n){return!n&&this.steeringManifest.reloadUri||n&&(resolveUrl(e,n.serverURL)!==this.steeringManifest.reloadUri||n.defaultServiceLocation!==this.defaultPathway||n.queryBeforeStart!==this.queryBeforeStart||n.proxyServerURL!==this.proxyServerUrl_)}getAvailablePathways(){return this.availablePathways_}}const ABORT_EARLY_EXCLUSION_SECONDS=10;let Vhs$1;const loaderStats=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],sumLoaderStat=function(t){return this.audioSegmentLoader_[t]+this.mainSegmentLoader_[t]},shouldSwitchToMedia=function({currentPlaylist:t,buffered:e,currentTime:n,nextPlaylist:o,bufferLowWaterLine:u,bufferHighWaterLine:l,duration:m,bufferBasedABR:y,log:E}){if(!o)return videojs.log.warn("We received no playlist to switch to. Please check your stream."),!1;const C=`allowing switch ${t&&t.id||"null"} -> ${o.id}`;if(!t)return E(`${C} as current playlist is not set`),!0;if(o.id===t.id)return!1;const k=!!findRange(e,n).length;if(!t.endList)return!k&&typeof t.partTargetDuration=="number"?(E(`not ${C} as current playlist is live llhls, but currentTime isn't in buffered.`),!1):(E(`${C} as current playlist is live`),!0);const A=timeAheadOf(e,n),D=y?Config.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Config.MAX_BUFFER_LOW_WATER_LINE;if(m<D)return E(`${C} as duration < max low water line (${m} < ${D})`),!0;const P=o.attributes.BANDWIDTH,R=t.attributes.BANDWIDTH;if(P<R&&(!y||A<l)){let B=`${C} as next bandwidth < current bandwidth (${P} < ${R})`;return y&&(B+=` and forwardBuffer < bufferHighWaterLine (${A} < ${l})`),E(B),!0}if((!y||P>R)&&A>=u){let B=`${C} as forwardBuffer >= bufferLowWaterLine (${A} >= ${u})`;return y&&(B+=` and next bandwidth > current bandwidth (${P} > ${R})`),E(B),!0}return E(`not ${C} as no switching criteria met`),!1};class PlaylistController extends videojs.EventTarget{constructor(e){super();const{src:n,withCredentials:o,tech:u,bandwidth:l,externVhs:m,useCueTags:y,playlistExclusionDuration:E,enableLowInitialPlaylist:C,sourceType:k,cacheEncryptionKeys:A,bufferBasedABR:D,leastPixelDiffSelector:P,captionServices:R,experimentalUseMMS:B}=e;if(!n)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:F}=e;(F===null||typeof F>"u")&&(F=1/0),Vhs$1=m,this.bufferBasedABR=!!D,this.leastPixelDiffSelector=!!P,this.withCredentials=o,this.tech_=u,this.vhs_=u.vhs,this.player_=e.player_,this.sourceType_=k,this.useCueTags_=y,this.playlistExclusionDuration=E,this.maxPlaylistRetries=F,this.enableLowInitialPlaylist=C,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:o,maxPlaylistRetries:F,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=createMediaTypes(),B&&window$1$1.ManagedMediaSource?(this.tech_.el_.disableRemotePlayback=!0,this.mediaSource=new window$1$1.ManagedMediaSource,videojs.log("Using ManagedMediaSource")):window$1$1.MediaSource&&(this.mediaSource=new window$1$1.MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.seekable_=createTimeRanges(),this.hasPlayed_=!1,this.syncController_=new SyncController(e),this.segmentMetadataTrack_=u.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.decrypter_=new Decrypter,this.sourceUpdater_=new SourceUpdater(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new TimelineChangeController,this.keyStatusMap_=new Map;const O={vhs:this.vhs_,parse708captions:e.parse708captions,useDtsForTimestampOffset:e.useDtsForTimestampOffset,captionServices:R,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:l,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:A,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:e.exactManifestTimings,addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)};this.mainPlaylistLoader_=this.sourceType_==="dash"?new DashPlaylistLoader(n,this.vhs_,merge(this.requestOptions_,{addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)})):new PlaylistLoader(n,this.vhs_,merge(this.requestOptions_,{addDateRangesToTextTrack:this.addDateRangesToTextTrack_.bind(this)})),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new SegmentLoader(merge(O,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),e),this.audioSegmentLoader_=new SegmentLoader(merge(O,{loaderType:"audio"}),e),this.subtitleSegmentLoader_=new VTTSegmentLoader(merge(O,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise((J,ie)=>{function ue(){u.off("vttjserror",Q),J()}function Q(){u.off("vttjsloaded",ue),ie()}u.one("vttjsloaded",ue),u.one("vttjserror",Q),u.addWebVttScript_()})}),e);const N=()=>this.mainSegmentLoader_.bandwidth;this.contentSteeringController_=new ContentSteeringController(this.vhs_.xhr,N),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",()=>this.startABRTimer_()),this.tech_.on("pause",()=>this.stopABRTimer_()),this.tech_.on("play",()=>this.startABRTimer_())),loaderStats.forEach(J=>{this[J+"_"]=sumLoaderStat.bind(this,J)}),this.logger_=logger("pc"),this.triggeredFmp4Usage=!1,this.tech_.preload()==="none"?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const Y=this.tech_.preload()==="none"?"play":"loadstart";this.tech_.one(Y,()=>{const J=Date.now();this.tech_.one("loadeddata",()=>{this.timeToLoadedData__=Date.now()-J,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends})})}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const e=this.mainAppendsToLoadedData_(),n=this.audioAppendsToLoadedData_();return e===-1||n===-1?-1:e+n}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(e="abr"){const n=this.selectPlaylist();n&&this.shouldSwitchToMedia_(n)&&this.switchMedia_(n,e)}switchMedia_(e,n,o){const u=this.media(),l=u&&(u.id||u.uri),m=e&&(e.id||e.uri);if(l&&l!==m){this.logger_(`switch media ${l} -> ${m} from ${n}`);const y={renditionInfo:{id:m,bandwidth:e.attributes.BANDWIDTH,resolution:e.attributes.RESOLUTION,codecs:e.attributes.CODECS},cause:n};this.trigger({type:"renditionselected",metadata:y}),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${n}`})}this.mainPlaylistLoader_.media(e,o)}switchMediaForDASHContentSteering_(){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(e=>{const n=this.mediaTypes_[e],o=n?n.activeGroup():null,u=this.contentSteeringController_.getPathway();if(o&&u){const m=(o.length?o[0].playlists:o.playlists).filter(y=>y.attributes.serviceLocation===u);m.length&&this.mediaTypes_[e].activePlaylistLoader.media(m[0])}})}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=window$1$1.setInterval(()=>this.checkABR_(),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(window$1$1.clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const e=this.main(),n=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return n;const o=e.mediaGroups.AUDIO,u=Object.keys(o);let l;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)l=this.mediaTypes_.AUDIO.activeTrack();else{const y=o.main||u.length&&o[u[0]];for(const E in y)if(y[E].default){l={label:E};break}}if(!l)return n;const m=[];for(const y in o)if(o[y][l.label]){const E=o[y][l.label];if(E.playlists&&E.playlists.length)m.push.apply(m,E.playlists);else if(E.uri)m.push(E);else if(e.playlists.length)for(let C=0;C<e.playlists.length;C++){const k=e.playlists[C];k.attributes&&k.attributes.AUDIO&&k.attributes.AUDIO===y&&m.push(k)}}return m.length?m:n}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",()=>{const n=this.mainPlaylistLoader_.media(),o=n.targetDuration*1.5*1e3;isLowestEnabledRendition(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=o,n.endList&&this.tech_.preload()!=="none"&&(this.mainSegmentLoader_.playlist(n,this.requestOptions_),this.mainSegmentLoader_.load()),setupMediaGroups({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),n),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",()=>{this.trigger("selectedinitialmedia")})}),this.mainPlaylistLoader_.on("loadedplaylist",()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let n=this.mainPlaylistLoader_.media();if(!n){this.attachContentSteeringListeners_(),this.initContentSteeringController_(),this.excludeUnsupportedVariants_();let o;if(this.enableLowInitialPlaylist&&(o=this.selectInitialPlaylist()),o||(o=this.selectPlaylist()),!o||!this.shouldSwitchToMedia_(o)||(this.initialMedia_=o,this.switchMedia_(this.initialMedia_,"initial"),!(this.sourceType_==="vhs-json"&&this.initialMedia_.segments)))return;n=this.initialMedia_}this.handleUpdatedMediaPlaylist(n)}),this.mainPlaylistLoader_.on("error",()=>{const n=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:n.playlist,error:n})}),this.mainPlaylistLoader_.on("mediachanging",()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()}),this.mainPlaylistLoader_.on("mediachange",()=>{const n=this.mainPlaylistLoader_.media(),o=n.targetDuration*1.5*1e3;isLowestEnabledRendition(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=o,this.sourceType_==="dash"&&this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(n,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_?this.runFastQualitySwitch_():this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})}),this.mainPlaylistLoader_.on("playlistunchanged",()=>{const n=this.mainPlaylistLoader_.media();if(n.lastExcludeReason_==="playlist-unchanged")return;this.stuckAtPlaylistEnd_(n)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))}),this.mainPlaylistLoader_.on("renditiondisabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})}),this.mainPlaylistLoader_.on("renditionenabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}),["manifestrequeststart","manifestrequestcomplete","manifestparsestart","manifestparsecomplete","playlistrequeststart","playlistrequestcomplete","playlistparsestart","playlistparsecomplete","renditiondisabled","renditionenabled"].forEach(n=>{this.mainPlaylistLoader_.on(n,o=>{this.player_.trigger(_extends$2({},o))})})}handleUpdatedMediaPlaylist(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_&&this.runFastQualitySwitch_(),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(e,n){const o=e.mediaGroups||{};let u=!0;const l=Object.keys(o.AUDIO);for(const m in o.AUDIO)for(const y in o.AUDIO[m])o.AUDIO[m][y].uri||(u=!1);u&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(o.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),Vhs$1.Playlist.isAes(n)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),l.length&&Object.keys(o.AUDIO[l[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(e){const n=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,o=this.tech_.currentTime(),u=this.bufferLowWaterLine(),l=this.bufferHighWaterLine(),m=this.tech_.buffered();return shouldSwitchToMedia({buffered:m,currentTime:o,currentPlaylist:n,nextPlaylist:e,bufferLowWaterLine:u,bufferHighWaterLine:l,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("timeout",()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()}),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",()=>{this.trigger("progress")}),this.mainSegmentLoader_.on("error",()=>{const o=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:o.playlist,error:o})}),this.mainSegmentLoader_.on("appenderror",()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("ended",()=>{this.logger_("main segment loader ended"),this.onEndOfStream()}),this.timelineChangeController_.on("audioTimelineBehind",()=>{const o=this.audioSegmentLoader_.pendingSegment_;if(!o||!o.segment||!o.segment.syncInfo)return;const u=o.segment.syncInfo.end+.01;this.tech_.setCurrentTime(u)}),this.mainSegmentLoader_.on("earlyabort",o=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:ABORT_EARLY_EXCLUSION_SECONDS}))});const e=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const o=this.getCodecsOrExclude_();o&&this.sourceUpdater_.addOrChangeSourceBuffers(o)};this.mainSegmentLoader_.on("trackinfo",e),this.audioSegmentLoader_.on("trackinfo",e),this.mainSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}),["segmentselected","segmentloadstart","segmentloaded","segmentkeyloadstart","segmentkeyloadcomplete","segmentdecryptionstart","segmentdecryptioncomplete","segmenttransmuxingstart","segmenttransmuxingcomplete","segmenttransmuxingtrackinfoavailable","segmenttransmuxingtiminginfoavailable","segmentappendstart","appendsdone","bandwidthupdated","timelinechange","codecschange"].forEach(o=>{this.mainSegmentLoader_.on(o,u=>{this.player_.trigger(_extends$2({},u))}),this.audioSegmentLoader_.on(o,u=>{this.player_.trigger(_extends$2({},u))}),this.subtitleSegmentLoader_.on(o,u=>{this.player_.trigger(_extends$2({},u))})})}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}fastQualityChange_(e=this.selectPlaylist()){if(e&&e===this.mainPlaylistLoader_.media()){this.logger_("skipping fastQualityChange because new media is same as old");return}this.switchMedia_(e,"fast-quality"),this.waitingForFastQualityPlaylistReceived_=!0}runFastQualitySwitch_(){this.waitingForFastQualityPlaylistReceived_=!1,this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(()=>{this.mainSegmentLoader_.load()})}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const e=this.tech_.seekable();if(this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0))return this.tech_.setCurrentTime(e.end(e.length-1))}setupFirstPlay(){const e=this.mainPlaylistLoader_.media();if(!e||this.tech_.paused()||this.hasPlayed_)return!1;if(!e.endList||e.start){const n=this.seekable();if(!n.length)return!1;const o=n.end(0);let u=o;if(e.start){const l=e.start.timeOffset;l<0?u=Math.max(o+l,n.start(0)):u=Math.min(o,l)}this.trigger("firstplay"),this.tech_.setCurrentTime(u)}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const e=this.tech_.play();typeof e<"u"&&typeof e.then=="function"&&e.then(null,n=>{})}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const e=this.inbandTextTracks_.metadataTrack_.cues;if(!e||!e.length)return;const n=this.duration();e[e.length-1].endTime=isNaN(n)||Math.abs(n)===1/0?Number.MAX_VALUE:n}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const n=this.mainSegmentLoader_.getCurrentMediaInfo_();!n||n.hasVideo?e=e&&this.audioSegmentLoader_.ended_:e=this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(e){if(!this.seekable().length)return!1;const o=this.syncController_.getExpiredTime(e,this.duration());if(o===null)return!1;const u=Vhs$1.Playlist.playlistEnd(e,o),l=this.tech_.currentTime(),m=this.tech_.buffered();if(!m.length)return u-l<=SAFE_TIME_DELTA;const y=m.end(m.length-1);return y-l<=SAFE_TIME_DELTA&&u-y<=SAFE_TIME_DELTA}excludePlaylist({playlistToExclude:e=this.mainPlaylistLoader_.media(),error:n={},playlistExclusionDuration:o}){if(e=e||this.mainPlaylistLoader_.media(),o=o||n.playlistExclusionDuration||this.playlistExclusionDuration,!e){this.error=n,this.mediaSource.readyState!=="open"?this.trigger("error"):this.sourceUpdater_.endOfStream("network");return}e.playlistErrors_++;const u=this.mainPlaylistLoader_.main.playlists,l=u.filter(isEnabled),m=l.length===1&&l[0]===e;if(u.length===1&&o!==1/0)return videojs.log.warn(`Problem encountered with playlist ${e.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(m);if(m){if(this.main().contentSteering){const R=this.pathwayAttribute_(e),B=this.contentSteeringController_.steeringManifest.ttl*1e3;this.contentSteeringController_.excludePathway(R),this.excludeThenChangePathway_(),setTimeout(()=>{this.contentSteeringController_.addAvailablePathway(R)},B);return}let P=!1;u.forEach(R=>{if(R===e)return;const B=R.excludeUntil;typeof B<"u"&&B!==1/0&&(P=!0,delete R.excludeUntil)}),P&&(videojs.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let y;e.playlistErrors_>this.maxPlaylistRetries?y=1/0:y=Date.now()+o*1e3,e.excludeUntil=y,n.reason&&(e.lastExcludeReason_=n.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const E=this.selectPlaylist();if(!E){this.error="Playback cannot continue. No available working or supported playlists.",this.trigger("error");return}const C=n.internal?this.logger_:videojs.log.warn,k=n.message?" "+n.message:"";C(`${n.internal?"Internal problem":"Problem"} encountered with playlist ${e.id}.${k} Switching to playlist ${E.id}.`),E.attributes.AUDIO!==e.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),E.attributes.SUBTITLES!==e.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const A=E.targetDuration/2*1e3||5*1e3,D=typeof E.lastRequest=="number"&&Date.now()-E.lastRequest<=A;return this.switchMedia_(E,"exclude",m||D)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(e,n){const o=[],u=e==="all";(u||e==="main")&&o.push(this.mainPlaylistLoader_);const l=[];(u||e==="audio")&&l.push("AUDIO"),(u||e==="subtitle")&&(l.push("CLOSED-CAPTIONS"),l.push("SUBTITLES")),l.forEach(m=>{const y=this.mediaTypes_[m]&&this.mediaTypes_[m].activePlaylistLoader;y&&o.push(y)}),["main","audio","subtitle"].forEach(m=>{const y=this[`${m}SegmentLoader_`];y&&(e===m||e==="all")&&o.push(y)}),o.forEach(m=>n.forEach(y=>{typeof m[y]=="function"&&m[y]()}))}setCurrentTime(e){const n=findRange(this.tech_.buffered(),e);if(!(this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media())||!this.mainPlaylistLoader_.media().segments)return 0;if(n&&n.length)return e;this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}duration(){if(!this.mainPlaylistLoader_)return 0;const e=this.mainPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:Vhs$1.Playlist.duration(e):1/0:0}seekable(){return this.seekable_}onSyncInfoUpdate_(){let e;if(!this.mainPlaylistLoader_)return;let n=this.mainPlaylistLoader_.media();if(!n)return;let o=this.syncController_.getExpiredTime(n,this.duration());if(o===null)return;const u=this.mainPlaylistLoader_.main,l=Vhs$1.Playlist.seekable(n,o,Vhs$1.Playlist.liveEdgeDelay(u,n));if(l.length===0||this.mediaTypes_.AUDIO.activePlaylistLoader&&(n=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),o=this.syncController_.getExpiredTime(n,this.duration()),o===null||(e=Vhs$1.Playlist.seekable(n,o,Vhs$1.Playlist.liveEdgeDelay(u,n)),e.length===0)))return;let m,y;if(this.seekable_&&this.seekable_.length&&(m=this.seekable_.end(0),y=this.seekable_.start(0)),e?e.start(0)>l.end(0)||l.start(0)>e.end(0)?this.seekable_=l:this.seekable_=createTimeRanges([[e.start(0)>l.start(0)?e.start(0):l.start(0),e.end(0)<l.end(0)?e.end(0):l.end(0)]]):this.seekable_=l,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===m&&this.seekable_.start(0)===y)return;this.logger_(`seekable updated [${printableRange(this.seekable_)}]`);const E={seekableRanges:this.seekable_};this.trigger({type:"seekablerangeschanged",metadata:E}),this.tech_.trigger("seekablechanged")}updateDuration(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),this.mediaSource.readyState!=="open"){this.updateDuration_=this.updateDuration.bind(this,e),this.mediaSource.addEventListener("sourceopen",this.updateDuration_);return}if(e){const u=this.seekable();if(!u.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<u.end(u.length-1))&&this.sourceUpdater_.setDuration(u.end(u.length-1));return}const n=this.tech_.buffered();let o=Vhs$1.Playlist.duration(this.mainPlaylistLoader_.media());n.length>0&&(o=Math.max(o,n.end(n.length-1))),this.mediaSource.duration!==o&&this.sourceUpdater_.setDuration(o)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.contentSteeringController_.dispose(),this.keyStatusMap_.clear(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach(e=>{const n=this.mediaTypes_[e].groups;for(const o in n)n[o].forEach(u=>{u.playlistLoader&&u.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,n=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),o=e?!!this.audioSegmentLoader_.getCurrentMediaInfo_():!0;return!(!n||!o)}getCodecsOrExclude_(){const e={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},n=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();e.video=e.main;const o=codecsForPlaylist(this.main(),n),u={},l=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(e.main.hasVideo&&(u.video=o.video||e.main.videoCodec||DEFAULT_VIDEO_CODEC),e.main.isMuxed&&(u.video+=`,${o.audio||e.main.audioCodec||DEFAULT_AUDIO_CODEC}`),(e.main.hasAudio&&!e.main.isMuxed||e.audio.hasAudio||l)&&(u.audio=o.audio||e.main.audioCodec||e.audio.audioCodec||DEFAULT_AUDIO_CODEC,e.audio.isFmp4=e.main.hasAudio&&!e.main.isMuxed?e.main.isFmp4:e.audio.isFmp4),!u.audio&&!u.video){this.excludePlaylist({playlistToExclude:n,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});return}const m=(C,k)=>C?browserSupportsCodec(k):muxerSupportsCodec(k),y={};let E;if(["video","audio"].forEach(function(C){if(u.hasOwnProperty(C)&&!m(e[C].isFmp4,u[C])){const k=e[C].isFmp4?"browser":"muxer";y[k]=y[k]||[],y[k].push(u[C]),C==="audio"&&(E=k)}}),l&&E&&n.attributes.AUDIO){const C=n.attributes.AUDIO;this.main().playlists.forEach(k=>{(k.attributes&&k.attributes.AUDIO)===C&&k!==n&&(k.excludeUntil=1/0)}),this.logger_(`excluding audio group ${C} as ${E} does not support codec(s): "${u.audio}"`)}if(Object.keys(y).length){const C=Object.keys(y).reduce((k,A)=>(k&&(k+=", "),k+=`${A} does not support codec(s): "${y[A].join(",")}"`,k),"")+".";this.excludePlaylist({playlistToExclude:n,error:{internal:!0,message:C},playlistExclusionDuration:1/0});return}if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const C=[];if(["video","audio"].forEach(k=>{const A=(parseCodecs(this.sourceUpdater_.codecs[k]||"")[0]||{}).type,D=(parseCodecs(u[k]||"")[0]||{}).type;A&&D&&A.toLowerCase()!==D.toLowerCase()&&C.push(`"${this.sourceUpdater_.codecs[k]}" -> "${u[k]}"`)}),C.length){this.excludePlaylist({playlistToExclude:n,error:{message:`Codec switching not supported: ${C.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0});return}}return u}tryToCreateSourceBuffers_(){if(this.mediaSource.readyState!=="open"||this.sourceUpdater_.hasCreatedSourceBuffers()||!this.areMediaTypesKnown_())return;const e=this.getCodecsOrExclude_();if(!e)return;this.sourceUpdater_.createSourceBuffers(e);const n=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(n)}excludeUnsupportedVariants_(){const e=this.main().playlists,n=[];Object.keys(e).forEach(o=>{const u=e[o];if(n.indexOf(u.id)!==-1)return;n.push(u.id);const l=codecsForPlaylist(this.main,u),m=[];l.audio&&!muxerSupportsCodec(l.audio)&&!browserSupportsCodec(l.audio)&&m.push(`audio codec ${l.audio}`),l.video&&!muxerSupportsCodec(l.video)&&!browserSupportsCodec(l.video)&&m.push(`video codec ${l.video}`),l.text&&l.text==="stpp.ttml.im1t"&&m.push(`text codec ${l.text}`),m.length&&(u.excludeUntil=1/0,this.logger_(`excluding ${u.id} for unsupported: ${m.join(", ")}`))})}excludeIncompatibleVariants_(e){const n=[],o=this.main().playlists,u=unwrapCodecList(parseCodecs(e)),l=codecCount(u),m=u.video&&parseCodecs(u.video)[0]||null,y=u.audio&&parseCodecs(u.audio)[0]||null;Object.keys(o).forEach(E=>{const C=o[E];if(n.indexOf(C.id)!==-1||C.excludeUntil===1/0)return;n.push(C.id);const k=[],A=codecsForPlaylist(this.mainPlaylistLoader_.main,C),D=codecCount(A);if(!(!A.audio&&!A.video)){if(D!==l&&k.push(`codec count "${D}" !== "${l}"`),!this.sourceUpdater_.canChangeType()){const P=A.video&&parseCodecs(A.video)[0]||null,R=A.audio&&parseCodecs(A.audio)[0]||null;P&&m&&P.type.toLowerCase()!==m.type.toLowerCase()&&k.push(`video codec "${P.type}" !== "${m.type}"`),R&&y&&R.type.toLowerCase()!==y.type.toLowerCase()&&k.push(`audio codec "${R.type}" !== "${y.type}"`)}k.length&&(C.excludeUntil=1/0,this.logger_(`excluding ${C.id}: ${k.join(" && ")}`))}})}updateAdCues_(e){let n=0;const o=this.seekable();o.length&&(n=o.start(0)),updateAdCues(e,this.cueTagsTrack_,n)}goalBufferLength(){const e=this.tech_.currentTime(),n=Config.GOAL_BUFFER_LENGTH,o=Config.GOAL_BUFFER_LENGTH_RATE,u=Math.max(n,Config.MAX_GOAL_BUFFER_LENGTH);return Math.min(n+e*o,u)}bufferLowWaterLine(){const e=this.tech_.currentTime(),n=Config.BUFFER_LOW_WATER_LINE,o=Config.BUFFER_LOW_WATER_LINE_RATE,u=Math.max(n,Config.MAX_BUFFER_LOW_WATER_LINE),l=Math.max(n,Config.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(n+e*o,this.bufferBasedABR?l:u)}bufferHighWaterLine(){return Config.BUFFER_HIGH_WATER_LINE}addDateRangesToTextTrack_(e){createMetadataTrackIfNotExists(this.inbandTextTracks_,"com.apple.streaming",this.tech_),addDateRangeMetadata({inbandTextTracks:this.inbandTextTracks_,dateRanges:e})}addMetadataToTextTrack(e,n,o){const u=this.sourceUpdater_.videoBuffer?this.sourceUpdater_.videoTimestampOffset():this.sourceUpdater_.audioTimestampOffset();createMetadataTrackIfNotExists(this.inbandTextTracks_,e,this.tech_),addMetadata({inbandTextTracks:this.inbandTextTracks_,metadataArray:n,timestampOffset:u,videoDuration:o})}pathwayAttribute_(e){return e.attributes["PATHWAY-ID"]||e.attributes.serviceLocation}initContentSteeringController_(){const e=this.main();if(e.contentSteering){for(const n of e.playlists)this.contentSteeringController_.addAvailablePathway(this.pathwayAttribute_(n));if(this.contentSteeringController_.assignTagProperties(e.uri,e.contentSteering),this.contentSteeringController_.queryBeforeStart){this.contentSteeringController_.requestSteeringManifest(!0);return}this.tech_.one("canplay",()=>{this.contentSteeringController_.requestSteeringManifest()})}}resetContentSteeringController_(){this.contentSteeringController_.clearAvailablePathways(),this.contentSteeringController_.dispose(),this.initContentSteeringController_()}attachContentSteeringListeners_(){this.contentSteeringController_.on("content-steering",this.excludeThenChangePathway_.bind(this)),["contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"].forEach(n=>{this.contentSteeringController_.on(n,o=>{this.trigger(_extends$2({},o))})}),this.sourceType_==="dash"&&this.mainPlaylistLoader_.on("loadedplaylist",()=>{const n=this.main();(this.contentSteeringController_.didDASHTagChange(n.uri,n.contentSteering)||(()=>{const l=this.contentSteeringController_.getAvailablePathways(),m=[];for(const y of n.playlists){const E=y.attributes.serviceLocation;if(E&&(m.push(E),!l.has(E)))return!0}return!!(!m.length&&l.size)})())&&this.resetContentSteeringController_()})}excludeThenChangePathway_(){const e=this.contentSteeringController_.getPathway();if(!e)return;this.handlePathwayClones_();const o=this.main().playlists,u=new Set;let l=!1;Object.keys(o).forEach(m=>{const y=o[m],E=this.pathwayAttribute_(y),C=E&&e!==E;y.excludeUntil===1/0&&y.lastExcludeReason_==="content-steering"&&!C&&(delete y.excludeUntil,delete y.lastExcludeReason_,l=!0);const A=!y.excludeUntil&&y.excludeUntil!==1/0;!u.has(y.id)&&C&&A&&(u.add(y.id),y.excludeUntil=1/0,y.lastExcludeReason_="content-steering",this.logger_(`excluding ${y.id} for ${y.lastExcludeReason_}`))}),this.contentSteeringController_.manifestType_==="DASH"&&Object.keys(this.mediaTypes_).forEach(m=>{const y=this.mediaTypes_[m];if(y.activePlaylistLoader){const E=y.activePlaylistLoader.media_;E&&E.attributes.serviceLocation!==e&&(l=!0)}}),l&&this.changeSegmentPathway_()}handlePathwayClones_(){const n=this.main().playlists,o=this.contentSteeringController_.currentPathwayClones,u=this.contentSteeringController_.nextPathwayClones;if(o&&o.size||u&&u.size){for(const[m,y]of o.entries())u.get(m)||(this.mainPlaylistLoader_.updateOrDeleteClone(y),this.contentSteeringController_.excludePathway(m));for(const[m,y]of u.entries()){const E=o.get(m);if(!E){n.filter(k=>k.attributes["PATHWAY-ID"]===y["BASE-ID"]).forEach(k=>{this.mainPlaylistLoader_.addClonePathway(y,k)}),this.contentSteeringController_.addAvailablePathway(m);continue}this.equalPathwayClones_(E,y)||(this.mainPlaylistLoader_.updateOrDeleteClone(y,!0),this.contentSteeringController_.addAvailablePathway(m))}this.contentSteeringController_.currentPathwayClones=new Map(JSON.parse(JSON.stringify([...u])))}}equalPathwayClones_(e,n){if(e["BASE-ID"]!==n["BASE-ID"]||e.ID!==n.ID||e["URI-REPLACEMENT"].HOST!==n["URI-REPLACEMENT"].HOST)return!1;const o=e["URI-REPLACEMENT"].PARAMS,u=n["URI-REPLACEMENT"].PARAMS;for(const l in o)if(o[l]!==u[l])return!1;for(const l in u)if(o[l]!==u[l])return!1;return!0}changeSegmentPathway_(){const e=this.selectPlaylist();this.pauseLoading(),this.contentSteeringController_.manifestType_==="DASH"&&this.switchMediaForDASHContentSteering_(),this.switchMedia_(e,"content-steering")}excludeNonUsablePlaylistsByKeyId_(){if(!this.mainPlaylistLoader_||!this.mainPlaylistLoader_.main)return;let e=0;const n="non-usable";this.mainPlaylistLoader_.main.playlists.forEach(o=>{const u=this.mainPlaylistLoader_.getKeyIdSet(o);!u||!u.size||u.forEach(l=>{const m="usable",y=this.keyStatusMap_.has(l)&&this.keyStatusMap_.get(l)===m,E=o.lastExcludeReason_===n&&o.excludeUntil===1/0;y?y&&E&&(delete o.excludeUntil,delete o.lastExcludeReason_,this.logger_(`enabling playlist ${o.id} because key ID ${l} is ${m}`)):(o.excludeUntil!==1/0&&o.lastExcludeReason_!==n&&(o.excludeUntil=1/0,o.lastExcludeReason_=n,this.logger_(`excluding playlist ${o.id} because the key ID ${l} doesn't exist in the keyStatusMap or is not ${m}`)),e++)})}),e>=this.mainPlaylistLoader_.main.playlists.length&&this.mainPlaylistLoader_.main.playlists.forEach(o=>{const u=o&&o.attributes&&o.attributes.RESOLUTION&&o.attributes.RESOLUTION.height<720,l=o.excludeUntil===1/0&&o.lastExcludeReason_===n;u&&l&&(delete o.excludeUntil,videojs.log.warn(`enabling non-HD playlist ${o.id} because all playlists were excluded due to ${n} key IDs`))})}addKeyStatus_(e,n){const l=(typeof e=="string"?e:bufferToHexString(e)).slice(0,32).toLowerCase();this.logger_(`KeyStatus '${n}' with key ID ${l} added to the keyStatusMap`),this.keyStatusMap_.set(l,n)}updatePlaylistByKeyStatus(e,n){this.addKeyStatus_(e,n),this.waitingForFastQualityPlaylistReceived_||this.excludeNonUsableThenChangePlaylist_(),this.mainPlaylistLoader_.off("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this)),this.mainPlaylistLoader_.on("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this))}excludeNonUsableThenChangePlaylist_(){this.excludeNonUsablePlaylistsByKeyId_(),this.fastQualityChange_()}}const enableFunction=(t,e,n)=>o=>{const u=t.main.playlists[e],l=isIncompatible(u),m=isEnabled(u);if(typeof o>"u")return m;o?delete u.disabled:u.disabled=!0;const y={renditionInfo:{id:e,bandwidth:u.attributes.BANDWIDTH,resolution:u.attributes.RESOLUTION,codecs:u.attributes.CODECS},cause:"fast-quality"};return o!==m&&!l&&(n(u),o?t.trigger({type:"renditionenabled",metadata:y}):t.trigger({type:"renditiondisabled",metadata:y})),o};class Representation{constructor(e,n,o){const{playlistController_:u}=e,l=u.fastQualityChange_.bind(u);if(n.attributes){const m=n.attributes.RESOLUTION;this.width=m&&m.width,this.height=m&&m.height,this.bandwidth=n.attributes.BANDWIDTH,this.frameRate=n.attributes["FRAME-RATE"]}this.codecs=codecsForPlaylist(u.main(),n),this.playlist=n,this.id=o,this.enabled=enableFunction(e.playlists,n.id,l)}}const renditionSelectionMixin=function(t){t.representations=()=>{const e=t.playlistController_.main(),n=isAudioOnly(e)?t.playlistController_.getAudioTrackPlaylists_():e.playlists;return n?n.filter(o=>!isIncompatible(o)).map((o,u)=>new Representation(t,o,o.id)):[]}},timerCancelEvents=["seeking","seeked","pause","playing","error"];class PlaybackWatcher extends videojs.EventTarget{constructor(e){super(),this.playlistController_=e.playlistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.playedRanges_=[],this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=logger("PlaybackWatcher"),this.logger_("initialize");const n=()=>this.monitorCurrentTime_(),o=()=>this.monitorCurrentTime_(),u=()=>this.techWaiting_(),l=()=>this.resetTimeUpdate_(),m=this.playlistController_,y=["main","subtitle","audio"],E={};y.forEach(k=>{E[k]={reset:()=>this.resetSegmentDownloads_(k),updateend:()=>this.checkSegmentDownloads_(k)},m[`${k}SegmentLoader_`].on("appendsdone",E[k].updateend),m[`${k}SegmentLoader_`].on("playlistupdate",E[k].reset),this.tech_.on(["seeked","seeking"],E[k].reset)});const C=k=>{["main","audio"].forEach(A=>{m[`${A}SegmentLoader_`][k]("appended",this.seekingAppendCheck_)})};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),C("off"))},this.clearSeekingAppendCheck_=()=>C("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),C("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",u),this.tech_.on(timerCancelEvents,l),this.tech_.on("canplay",o),this.tech_.one("play",n),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",u),this.tech_.off(timerCancelEvents,l),this.tech_.off("canplay",o),this.tech_.off("play",n),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),y.forEach(k=>{m[`${k}SegmentLoader_`].off("appendsdone",E[k].updateend),m[`${k}SegmentLoader_`].off("playlistupdate",E[k].reset),this.tech_.off(["seeked","seeking"],E[k].reset)}),this.checkCurrentTimeTimeout_&&window$1$1.clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&window$1$1.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=window$1$1.setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(e){const n=this.playlistController_[`${e}SegmentLoader_`];this[`${e}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${e} loader`),this[`${e}StalledDownloads_`]=0,this[`${e}Buffered_`]=n.buffered_()}checkSegmentDownloads_(e){const n=this.playlistController_,o=n[`${e}SegmentLoader_`],u=o.buffered_(),l=isRangeDifferent(this[`${e}Buffered_`],u);if(this[`${e}Buffered_`]=u,l){const m={bufferedRanges:u};n.trigger({type:"bufferedrangeschanged",metadata:m}),this.resetSegmentDownloads_(e);return}this[`${e}StalledDownloads_`]++,this.logger_(`found #${this[`${e}StalledDownloads_`]} ${e} appends that did not increase buffer (possible stalled download)`,{playlistId:o.playlist_&&o.playlist_.id,buffered:timeRangesToArray(u)}),!(this[`${e}StalledDownloads_`]<10)&&(this.logger_(`${e} loader stalled download exclusion`),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:`vhs-${e}-download-exclusion`}),e!=="subtitle"&&n.excludePlaylist({error:{message:`Excessive ${e} segment downloading detected.`},playlistExclusionDuration:1/0}))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const e=this.tech_.currentTime(),n=this.tech_.buffered();if(this.lastRecordedTime===e&&(!n.length||e+SAFE_TIME_DELTA>=n.end(n.length-1)))return this.techWaiting_();if(this.consecutiveUpdates>=5&&e===this.lastRecordedTime)this.consecutiveUpdates++,this.waiting_();else if(e===this.lastRecordedTime)this.consecutiveUpdates++;else{this.playedRanges_.push(createTimeRanges([this.lastRecordedTime,e]));const o={playedRanges:this.playedRanges_};this.playlistController_.trigger({type:"playedrangeschanged",metadata:o}),this.consecutiveUpdates=0,this.lastRecordedTime=e}}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const n=this.seekable(),o=this.tech_.currentTime(),u=this.afterSeekableWindow_(n,o,this.media(),this.allowSeeksWithinUnsafeLiveWindow);let l;if(u&&(l=n.end(n.length-1)),this.beforeSeekableWindow_(n,o)){const R=n.start(0);l=R+(R===n.end(0)?0:SAFE_TIME_DELTA)}if(typeof l<"u")return this.logger_(`Trying to seek outside of seekable at time ${o} with seekable range ${printableRange(n)}. Seeking to ${l}.`),this.tech_.setCurrentTime(l),!0;const m=this.playlistController_.sourceUpdater_,y=this.tech_.buffered(),E=m.audioBuffer?m.audioBuffered():null,C=m.videoBuffer?m.videoBuffered():null,k=this.media(),A=k.partTargetDuration?k.partTargetDuration:(k.targetDuration-TIME_FUDGE_FACTOR)*2,D=[E,C];for(let R=0;R<D.length;R++){if(!D[R])continue;if(timeAheadOf(D[R],o)<A)return!1}const P=findNextRange(y,o);return P.length===0?!1:(l=P.start(0)+SAFE_TIME_DELTA,this.logger_(`Buffered region starts (${P.start(0)})  just beyond seek point (${o}). Seeking to ${l}.`),this.tech_.setCurrentTime(l),!0)}waiting_(){if(this.techWaiting_())return;const e=this.tech_.currentTime(),n=this.tech_.buffered(),o=findRange(n,e);if(o.length&&e+3<=o.end(0)){this.resetTimeUpdate_(),this.tech_.setCurrentTime(e),this.logger_(`Stopped at ${e} while inside a buffered region [${o.start(0)} -> ${o.end(0)}]. Attempting to resume playback by seeking to the current time.`),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"});return}}techWaiting_(){const e=this.seekable(),n=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(e,n)){const y=e.end(e.length-1);return this.logger_(`Fell out of live window at time ${n}. Seeking to live point (seekable end) ${y}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(y),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const o=this.tech_.vhs.playlistController_.sourceUpdater_,u=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:o.audioBuffered(),videoBuffered:o.videoBuffered(),currentTime:n}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const m=findNextRange(u,n);return m.length>0?(this.logger_(`Stopped at ${n} and seeking to ${m.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(n),!0):!1}afterSeekableWindow_(e,n,o,u=!1){if(!e.length)return!1;let l=e.end(e.length-1)+SAFE_TIME_DELTA;const m=!o.endList,y=typeof o.partTargetDuration=="number";return m&&(y||u)&&(l=e.end(e.length-1)+o.targetDuration*3),n>l}beforeSeekableWindow_(e,n){return!!(e.length&&e.start(0)>0&&n<e.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:e,audioBuffered:n,currentTime:o}){if(!e)return;let u;if(e.length&&n.length){const l=findRange(e,o-3),m=findRange(e,o),y=findRange(n,o);y.length&&!m.length&&l.length&&(u={start:l.end(0),end:y.end(0)})}else findNextRange(e,o).length||(u=this.gapFromVideoUnderflow_(e,o));return u?(this.logger_(`Encountered a gap in video from ${u.start} to ${u.end}. Seeking to current time ${o}`),!0):!1}skipTheGap_(e){const n=this.tech_.buffered(),o=this.tech_.currentTime(),u=findNextRange(n,o);if(this.resetTimeUpdate_(),u.length===0||o!==e)return;this.logger_("skipTheGap_:","currentTime:",o,"scheduled currentTime:",e,"nextRange start:",u.start(0)),this.tech_.setCurrentTime(u.start(0)+TIME_FUDGE_FACTOR);const l={gapInfo:{from:o,to:u.start(0)}};this.playlistController_.trigger({type:"gapjumped",metadata:l}),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"})}gapFromVideoUnderflow_(e,n){const o=findGaps(e);for(let u=0;u<o.length;u++){const l=o.start(u),m=o.end(u);if(n-l<4&&n-l>2)return{start:l,end:m}}return null}}const defaultOptions$1={errorInterval:30,getSource(t){const n=this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource();return t(n)}},initPlugin=function(t,e){let n=0,o=0;const u=merge(defaultOptions$1,e);t.ready(()=>{t.trigger({type:"usage",name:"vhs-error-reload-initialized"})});const l=function(){o&&t.currentTime(o)},m=function(k){k!=null&&(o=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",l),t.src(k),t.trigger({type:"usage",name:"vhs-error-reload"}),t.play())},y=function(){if(Date.now()-n<u.errorInterval*1e3){t.trigger({type:"usage",name:"vhs-error-reload-canceled"});return}if(!u.getSource||typeof u.getSource!="function"){videojs.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return n=Date.now(),u.getSource.call(t,m)},E=function(){t.off("loadedmetadata",l),t.off("error",y),t.off("dispose",E)},C=function(k){E(),initPlugin(t,k)};t.on("error",y),t.on("dispose",E),t.reloadSourceOnError=C},reloadSourceOnError=function(t){initPlugin(this,t)};var version$4="3.14.2",version$3="7.0.3",version$2$1="1.3.0",version$1$1="7.2.0",version$7="4.0.2";const Vhs={PlaylistLoader,Playlist,utils:utils$r,STANDARD_PLAYLIST_SELECTOR:lastBandwidthSelector,INITIAL_PLAYLIST_SELECTOR:lowestBitrateCompatibleVariantSelector,lastBandwidthSelector,movingAverageBandwidthSelector,comparePlaylistBandwidth,comparePlaylistResolution,xhr:xhrFactory()};Object.keys(Config).forEach(t=>{Object.defineProperty(Vhs,t,{get(){return videojs.log.warn(`using Vhs.${t} is UNSAFE be sure you know what you are doing`),Config[t]},set(e){if(videojs.log.warn(`using Vhs.${t} is UNSAFE be sure you know what you are doing`),typeof e!="number"||e<0){videojs.log.warn(`value of Vhs.${t} must be greater than or equal to 0`);return}Config[t]=e}})});const LOCAL_STORAGE_KEY="videojs-vhs",handleVhsMediaChange=function(t,e){const n=e.media();let o=-1;for(let u=0;u<t.length;u++)if(t[u].id===n.id){o=u;break}t.selectedIndex_=o,t.trigger({selectedIndex:o,type:"change"})},handleVhsLoadedMetadata=function(t,e){e.representations().forEach(n=>{t.addQualityLevel(n)}),handleVhsMediaChange(t,e.playlists)};Vhs.canPlaySource=function(){return videojs.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const emeKeySystems=(t,e,n)=>{if(!t)return t;let o={};e&&e.attributes&&e.attributes.CODECS&&(o=unwrapCodecList(parseCodecs(e.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(o.audio=n.attributes.CODECS);const u=getMimeForCodec(o.video),l=getMimeForCodec(o.audio),m={};for(const y in t)m[y]={},l&&(m[y].audioContentType=l),u&&(m[y].videoContentType=u),e.contentProtection&&e.contentProtection[y]&&e.contentProtection[y].pssh&&(m[y].pssh=e.contentProtection[y].pssh),typeof t[y]=="string"&&(m[y].url=t[y]);return merge(t,m)},getAllPsshKeySystemsOptions=(t,e)=>t.reduce((n,o)=>{if(!o.contentProtection)return n;const u=e.reduce((l,m)=>{const y=o.contentProtection[m];return y&&y.pssh&&(l[m]={pssh:y.pssh}),l},{});return Object.keys(u).length&&n.push(u),n},[]),waitForKeySessionCreation=({player:t,sourceKeySystems:e,audioMedia:n,mainPlaylists:o})=>{if(!t.eme.initializeMediaKeys)return Promise.resolve();const u=n?o.concat([n]):o,l=getAllPsshKeySystemsOptions(u,Object.keys(e)),m=[],y=[];return l.forEach(E=>{y.push(new Promise((C,k)=>{t.tech_.one("keysessioncreated",C)})),m.push(new Promise((C,k)=>{t.eme.initializeMediaKeys({keySystems:E},A=>{if(A){k(A);return}C()})}))}),Promise.race([Promise.all(m),Promise.race(y)])},setupEmeOptions=({player:t,sourceKeySystems:e,media:n,audioMedia:o})=>{const u=emeKeySystems(e,n,o);return u?(t.currentSource().keySystems=u,u&&!t.eme?(videojs.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1):!0):!1},getVhsLocalStorage=()=>{if(!window$1$1.localStorage)return null;const t=window$1$1.localStorage.getItem(LOCAL_STORAGE_KEY);if(!t)return null;try{return JSON.parse(t)}catch{return null}},updateVhsLocalStorage=t=>{if(!window$1$1.localStorage)return!1;let e=getVhsLocalStorage();e=e?merge(e,t):t;try{window$1$1.localStorage.setItem(LOCAL_STORAGE_KEY,JSON.stringify(e))}catch{return!1}return e},expandDataUri=t=>t.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")===0?JSON.parse(t.substring(t.indexOf(",")+1)):t,addOnRequestHook=(t,e)=>{t._requestCallbackSet||(t._requestCallbackSet=new Set),t._requestCallbackSet.add(e)},addOnResponseHook=(t,e)=>{t._responseCallbackSet||(t._responseCallbackSet=new Set),t._responseCallbackSet.add(e)},removeOnRequestHook=(t,e)=>{t._requestCallbackSet&&(t._requestCallbackSet.delete(e),t._requestCallbackSet.size||delete t._requestCallbackSet)},removeOnResponseHook=(t,e)=>{t._responseCallbackSet&&(t._responseCallbackSet.delete(e),t._responseCallbackSet.size||delete t._responseCallbackSet)};Vhs.supportsNativeHls=function(){if(!document$1$1||!document$1$1.createElement)return!1;const t=document$1$1.createElement("video");return videojs.getTech("Html5").isSupported()?["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some(function(n){return/maybe|probably/i.test(t.canPlayType(n))}):!1}(),Vhs.supportsNativeDash=function(){return!document$1$1||!document$1$1.createElement||!videojs.getTech("Html5").isSupported()?!1:/maybe|probably/i.test(document$1$1.createElement("video").canPlayType("application/dash+xml"))}(),Vhs.supportsTypeNatively=t=>t==="hls"?Vhs.supportsNativeHls:t==="dash"?Vhs.supportsNativeDash:!1,Vhs.isSupported=function(){return videojs.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")},Vhs.xhr.onRequest=function(t){addOnRequestHook(Vhs.xhr,t)},Vhs.xhr.onResponse=function(t){addOnResponseHook(Vhs.xhr,t)},Vhs.xhr.offRequest=function(t){removeOnRequestHook(Vhs.xhr,t)},Vhs.xhr.offResponse=function(t){removeOnResponseHook(Vhs.xhr,t)};const Component=videojs.getComponent("Component");class VhsHandler extends Component{constructor(e,n,o){if(super(n,o.vhs),typeof o.initialBandwidth=="number"&&(this.options_.bandwidth=o.initialBandwidth),this.logger_=logger("VhsHandler"),n.options_&&n.options_.playerId){const u=videojs.getPlayer(n.options_.playerId);this.player_=u}if(this.tech_=n,this.source_=e,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&n.overrideNativeAudioTracks&&n.overrideNativeVideoTracks)n.overrideNativeAudioTracks(!0),n.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(n.featuresNativeVideoTracks||n.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(document$1$1,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],u=>{const l=document$1$1.fullscreenElement||document$1$1.webkitFullscreenElement||document$1$1.mozFullScreenElement||document$1$1.msFullscreenElement;l&&l.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()}),this.on(this.tech_,"seeking",function(){if(this.ignoreNextSeekingEvent_){this.ignoreNextSeekingEvent_=!1;return}this.setCurrentTime(this.tech_.currentTime())}),this.on(this.tech_,"error",function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()}),this.on(this.tech_,"play",this.play)}setOptions_(e={}){if(this.options_=merge(this.options_,e),this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions!==!1,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.useBandwidthFromLocalStorage=typeof this.source_.useBandwidthFromLocalStorage<"u"?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useForcedSubtitles=this.options_.useForcedSubtitles||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=this.options_.llhls!==!1,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,typeof this.options_.playlistExclusionDuration!="number"&&(this.options_.playlistExclusionDuration=60),typeof this.options_.bandwidth!="number"&&this.options_.useBandwidthFromLocalStorage){const o=getVhsLocalStorage();o&&o.bandwidth&&(this.options_.bandwidth=o.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),o&&o.throughput&&(this.options_.throughput=o.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}typeof this.options_.bandwidth!="number"&&(this.options_.bandwidth=Config.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Config.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","customPixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useForcedSubtitles","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach(o=>{typeof this.source_[o]<"u"&&(this.options_[o]=this.source_[o])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio;const n=this.options_.customPixelRatio;typeof n=="number"&&n>=0&&(this.customPixelRatio=n)}setOptions(e={}){this.setOptions_(e)}src(e,n){if(!e)return;this.setOptions_(),this.options_.src=expandDataUri(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=Vhs,this.options_.sourceType=simpleTypeFromSourceType(n),this.options_.seekTo=l=>{this.tech_.setCurrentTime(l)},this.options_.player_=this.player_,this.playlistController_=new PlaylistController(this.options_);const o=merge({liveRangeSafeTimeDelta:SAFE_TIME_DELTA},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new PlaybackWatcher(o),this.attachStreamingEventListeners_(),this.playlistController_.on("error",()=>{const l=videojs.players[this.tech_.options_.playerId];let m=this.playlistController_.error;typeof m=="object"&&!m.code?m.code=3:typeof m=="string"&&(m={message:m,code:3}),l.error(m)});const u=this.options_.bufferBasedABR?Vhs.movingAverageBandwidthSelector(.55):Vhs.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):u.bind(this),this.playlistController_.selectInitialPlaylist=Vhs.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(l){this.playlistController_.selectPlaylist=l.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(l){this.playlistController_.mainSegmentLoader_.throughput.rate=l,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let l=this.playlistController_.mainSegmentLoader_.bandwidth;const m=window$1$1.navigator.connection||window$1$1.navigator.mozConnection||window$1$1.navigator.webkitConnection,y=1e7;if(this.options_.useNetworkInformationApi&&m){const E=m.downlink*1e3*1e3;E>=y&&l>=y?l=Math.max(l,E):l=E}return l},set(l){this.playlistController_.mainSegmentLoader_.bandwidth=l,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const l=1/(this.bandwidth||1);let m;return this.throughput>0?m=1/this.throughput:m=0,Math.floor(1/(l+m))},set(){videojs.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>timeRangesToArray(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>timeRangesToArray(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",()=>{this.options_.useBandwidthFromLocalStorage&&updateVhsLocalStorage({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})}),this.playlistController_.on("selectedinitialmedia",()=>{renditionSelectionMixin(this)}),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",()=>{this.setupEme_()}),this.on(this.playlistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.playlistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=window$1$1.URL.createObjectURL(this.playlistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),waitForKeySessionCreation({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:e&&e.media(),mainPlaylists:this.playlists.main.playlists}).then(()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()}).catch(n=>{this.logger_("error while creating EME key session",n),this.player_.error({message:"Failed to initialize media keys for EME",code:3})})}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,n=setupEmeOptions({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:e&&e.media()});if(this.player_.tech_.on("keystatuschange",o=>{this.playlistController_.updatePlaylistByKeyStatus(o.keyId,o.status)}),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),!n){this.playlistController_.sourceUpdater_.initializedEme();return}this.createKeySessions_()}setupQualityLevels_(){const e=videojs.players[this.tech_.options_.playerId];!e||!e.qualityLevels||this.qualityLevels_||(this.qualityLevels_=e.qualityLevels(),this.playlistController_.on("selectedinitialmedia",()=>{handleVhsLoadedMetadata(this.qualityLevels_,this)}),this.playlists.on("mediachange",()=>{handleVhsMediaChange(this.qualityLevels_,this.playlists)}))}static version(){return{"@videojs/http-streaming":version$4,"mux.js":version$3,"mpd-parser":version$2$1,"m3u8-parser":version$1$1,"aes-decrypter":version$7}}version(){return this.constructor.version()}canChangeType(){return SourceUpdater.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(e){this.playlistController_.setCurrentTime(e)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&window$1$1.URL.revokeObjectURL&&(window$1$1.URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(e,n){return getProgramTime({playlist:this.playlistController_.media(),time:e,callback:n})}seekToProgramTime(e,n,o=!0,u=2){return seekToProgramTime({programTime:e,playlist:this.playlistController_.media(),retryCount:u,pauseAfterSeek:o,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:n})}setupXhrHooks_(){this.xhr.onRequest=e=>{addOnRequestHook(this.xhr,e)},this.xhr.onResponse=e=>{addOnResponseHook(this.xhr,e)},this.xhr.offRequest=e=>{removeOnRequestHook(this.xhr,e)},this.xhr.offResponse=e=>{removeOnResponseHook(this.xhr,e)},this.player_.trigger("xhr-hooks-ready")}attachStreamingEventListeners_(){const e=["seekablerangeschanged","bufferedrangeschanged","contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"],n=["gapjumped","playedrangeschanged"];e.forEach(o=>{this.playlistController_.on(o,u=>{this.player_.trigger(_extends$2({},u))})}),n.forEach(o=>{this.playbackWatcher_.on(o,u=>{this.player_.trigger(_extends$2({},u))})})}}const VhsSourceHandler={name:"videojs-http-streaming",VERSION:version$4,canHandleSource(t,e={}){const n=merge(videojs.options,e);return!n.vhs.experimentalUseMMS&&!browserSupportsCodec("avc1.4d400d,mp4a.40.2",!1)?!1:VhsSourceHandler.canPlayType(t.type,n)},handleSource(t,e,n={}){const o=merge(videojs.options,n);return e.vhs=new VhsHandler(t,e,o),e.vhs.xhr=xhrFactory(),e.vhs.setupXhrHooks_(),e.vhs.src(t.src,t.type),e.vhs},canPlayType(t,e){const n=simpleTypeFromSourceType(t);if(!n)return"";const o=VhsSourceHandler.getOverrideNative(e);return!Vhs.supportsTypeNatively(n)||o?"maybe":""},getOverrideNative(t={}){const{vhs:e={}}=t,n=!(videojs.browser.IS_ANY_SAFARI||videojs.browser.IS_IOS),{overrideNative:o=n}=e;return o}},supportsNativeMediaSources=()=>browserSupportsCodec("avc1.4d400d,mp4a.40.2",!0);supportsNativeMediaSources()&&videojs.getTech("Html5").registerSourceHandler(VhsSourceHandler,0),videojs.VhsHandler=VhsHandler,videojs.VhsSourceHandler=VhsSourceHandler,videojs.Vhs=Vhs,videojs.use||videojs.registerComponent("Vhs",Vhs),videojs.options.vhs=videojs.options.vhs||{},(!videojs.getPlugin||!videojs.getPlugin("reloadSourceOnError"))&&videojs.registerPlugin("reloadSourceOnError",reloadSourceOnError);const video_es=Object.freeze(Object.defineProperty({__proto__:null,default:videojs},Symbol.toStringTag,{value:"Module"})),require$$0$5=getAugmentedNamespace(video_es);(function(t,e){(function(n,o){{var u=require$$0$5;t.exports=o(u.default||u)}})(commonjsGlobal$1,function(n){var o=n.browser.IS_IOS||n.browser.IS_NATIVE_ANDROID,u=n.getTech("Tech");class l extends u{constructor(k,A){super(k,A),this.setPoster(k.poster),this.setSrc(this.options_.source,!0),this.setTimeout((function(){this.el_&&(this.el_.parentNode.className+=" vjs-youtube",o&&(this.el_.parentNode.className+=" vjs-youtube-mobile"),l.isApiReady?this.initYTPlayer():l.apiReadyQueue.push(this))}).bind(this))}dispose(){if(this.ytPlayer)this.ytPlayer.stopVideo&&this.ytPlayer.stopVideo(),this.ytPlayer.destroy&&this.ytPlayer.destroy();else{var k=l.apiReadyQueue.indexOf(this);k!==-1&&l.apiReadyQueue.splice(k,1)}this.ytPlayer=null,this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-youtube","").replace(" vjs-youtube-mobile",""),this.el_.parentNode.removeChild(this.el_),u.prototype.dispose.call(this)}createEl(){var k=document.createElement("div");k.setAttribute("id",this.options_.techId),k.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute"),k.setAttribute("class","vjs-tech");var A=document.createElement("div");if(A.appendChild(k),!o&&!this.options_.ytControls){var D=document.createElement("div");D.setAttribute("class","vjs-iframe-blocker"),D.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),D.onclick=(function(){this.pause()}).bind(this),A.appendChild(D)}return A}initYTPlayer(){var k={controls:0,modestbranding:1,rel:0,showinfo:0,loop:this.options_.loop?1:0};if(typeof this.options_.autohide<"u"&&(k.autohide=this.options_.autohide),typeof this.options_.cc_load_policy<"u"&&(k.cc_load_policy=this.options_.cc_load_policy),typeof this.options_.ytControls<"u"&&(k.controls=this.options_.ytControls),typeof this.options_.disablekb<"u"&&(k.disablekb=this.options_.disablekb),typeof this.options_.color<"u"&&(k.color=this.options_.color),k.controls?typeof this.options_.fs<"u"&&(k.fs=this.options_.fs):k.fs=0,this.options_.source.src.indexOf("end=")!==-1){var A=this.options_.source.src.match(/end=([0-9]*)/);this.options_.end=parseInt(A[1])}if(typeof this.options_.end<"u"&&(k.end=this.options_.end),typeof this.options_.hl<"u"?k.hl=this.options_.hl:typeof this.options_.language<"u"&&(k.hl=this.options_.language.substr(0,2)),typeof this.options_.iv_load_policy<"u"&&(k.iv_load_policy=this.options_.iv_load_policy),typeof this.options_.list<"u"?k.list=this.options_.list:this.url&&typeof this.url.listId<"u"&&(k.list=this.url.listId),typeof this.options_.listType<"u"&&(k.listType=this.options_.listType),typeof this.options_.modestbranding<"u"&&(k.modestbranding=this.options_.modestbranding),typeof this.options_.playlist<"u"&&(k.playlist=this.options_.playlist),typeof this.options_.playsinline<"u"&&(k.playsinline=this.options_.playsinline),typeof this.options_.rel<"u"&&(k.rel=this.options_.rel),typeof this.options_.showinfo<"u"&&(k.showinfo=this.options_.showinfo),this.options_.source.src.indexOf("start=")!==-1){var D=this.options_.source.src.match(/start=([0-9]*)/);this.options_.start=parseInt(D[1])}if(typeof this.options_.start<"u"&&(k.start=this.options_.start),typeof this.options_.theme<"u"&&(k.theme=this.options_.theme),typeof this.options_.customVars<"u"){var P=this.options_.customVars;Object.keys(P).forEach(function(B){k[B]=P[B]})}this.activeVideoId=this.url?this.url.videoId:null,this.activeList=k.list;var R={videoId:this.activeVideoId,playerVars:k,events:{onReady:this.onPlayerReady.bind(this),onPlaybackQualityChange:this.onPlayerPlaybackQualityChange.bind(this),onPlaybackRateChange:this.onPlayerPlaybackRateChange.bind(this),onStateChange:this.onPlayerStateChange.bind(this),onVolumeChange:this.onPlayerVolumeChange.bind(this),onError:this.onPlayerError.bind(this)}};typeof this.options_.enablePrivacyEnhancedMode<"u"&&this.options_.enablePrivacyEnhancedMode&&(R.host="https://www.youtube-nocookie.com"),this.ytPlayer=new YT.Player(this.options_.techId,R)}onPlayerReady(){this.options_.muted&&this.ytPlayer.mute();var k=this.ytPlayer.getAvailablePlaybackRates();k.length>1&&(this.featuresPlaybackRate=!0),this.playerReady_=!0,this.triggerReady(),this.playOnReady?this.play():this.cueOnReady&&(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)}onPlayerPlaybackQualityChange(){}onPlayerPlaybackRateChange(){this.trigger("ratechange")}onPlayerStateChange(k){var A=k.data;if(!(A===this.lastState||this.errorNumber))switch(this.lastState=A,A){case-1:this.trigger("loadstart"),this.trigger("loadedmetadata"),this.trigger("durationchange"),this.trigger("ratechange");break;case YT.PlayerState.ENDED:this.trigger("ended");break;case YT.PlayerState.PLAYING:this.trigger("timeupdate"),this.trigger("durationchange"),this.trigger("playing"),this.trigger("play"),this.isSeeking&&this.onSeeked();break;case YT.PlayerState.PAUSED:this.trigger("canplay"),this.isSeeking?this.onSeeked():this.trigger("pause");break;case YT.PlayerState.BUFFERING:this.player_.trigger("timeupdate"),this.player_.trigger("waiting");break}}onPlayerVolumeChange(){this.trigger("volumechange")}onPlayerError(k){this.errorNumber=k.data,this.trigger("pause"),this.trigger("error")}error(){var k=1e3+this.errorNumber;switch(this.errorNumber){case 5:return{code:k,message:"Error while trying to play the video"};case 2:case 100:return{code:k,message:"Unable to find the video"};case 101:case 150:return{code:k,message:"Playback on other Websites has been disabled by the video owner."}}return{code:k,message:"YouTube unknown error ("+this.errorNumber+")"}}loadVideoById_(k){var A={videoId:k};this.options_.start&&(A.startSeconds=this.options_.start),this.options_.end&&(A.endSeconds=this.options_.end),this.ytPlayer.loadVideoById(A)}cueVideoById_(k){var A={videoId:k};this.options_.start&&(A.startSeconds=this.options_.start),this.options_.end&&(A.endSeconds=this.options_.end),this.ytPlayer.cueVideoById(A)}src(k){return k&&this.setSrc({src:k}),this.source}poster(){return o?null:this.poster_}setPoster(k){this.poster_=k}setSrc(k){!k||!k.src||(delete this.errorNumber,this.source=k,this.url=l.parseUrl(k.src),this.options_.poster||this.url.videoId&&(this.poster_="https://img.youtube.com/vi/"+this.url.videoId+"/0.jpg",this.trigger("posterchange"),this.checkHighResPoster()),this.options_.autoplay&&!o?this.isReady_?this.play():this.playOnReady=!0:this.activeVideoId!==this.url.videoId&&(this.isReady_?(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId):this.cueOnReady=!0))}autoplay(){return this.options_.autoplay}setAutoplay(k){this.options_.autoplay=k}loop(){return this.options_.loop}setLoop(k){this.options_.loop=k}play(){!this.url||!this.url.videoId||(this.wasPausedBeforeSeek=!1,this.isReady_?(this.url.listId&&(this.activeList===this.url.listId?this.ytPlayer.playVideo():(this.ytPlayer.loadPlaylist(this.url.listId),this.activeList=this.url.listId)),this.activeVideoId===this.url.videoId?this.ytPlayer.playVideo():(this.loadVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)):(this.trigger("waiting"),this.playOnReady=!0))}pause(){this.ytPlayer&&this.ytPlayer.pauseVideo()}paused(){return this.ytPlayer?this.lastState!==YT.PlayerState.PLAYING&&this.lastState!==YT.PlayerState.BUFFERING:!0}currentTime(){return this.ytPlayer?this.ytPlayer.getCurrentTime():0}setCurrentTime(k){this.lastState===YT.PlayerState.PAUSED&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.ytPlayer.seekTo(k,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===YT.PlayerState.PAUSED&&this.timeBeforeSeek!==k&&(clearInterval(this.checkSeekedInPauseInterval),this.checkSeekedInPauseInterval=setInterval((function(){this.lastState!==YT.PlayerState.PAUSED||!this.isSeeking?clearInterval(this.checkSeekedInPauseInterval):this.currentTime()!==this.timeBeforeSeek&&(this.trigger("timeupdate"),this.onSeeked())}).bind(this),250))}seeking(){return this.isSeeking}seekable(){return this.ytPlayer?n.createTimeRange(0,this.ytPlayer.getDuration()):n.createTimeRange()}onSeeked(){clearInterval(this.checkSeekedInPauseInterval),this.isSeeking=!1,this.wasPausedBeforeSeek&&this.pause(),this.trigger("seeked")}playbackRate(){return this.ytPlayer?this.ytPlayer.getPlaybackRate():1}setPlaybackRate(k){this.ytPlayer&&this.ytPlayer.setPlaybackRate(k)}duration(){return this.ytPlayer?this.ytPlayer.getDuration():0}currentSrc(){return this.source&&this.source.src}ended(){return this.ytPlayer?this.lastState===YT.PlayerState.ENDED:!1}volume(){return this.ytPlayer?this.ytPlayer.getVolume()/100:1}setVolume(k){this.ytPlayer&&this.ytPlayer.setVolume(k*100)}muted(){return this.ytPlayer?this.ytPlayer.isMuted():!1}setMuted(k){if(this.ytPlayer)this.muted(!0);else return;k?this.ytPlayer.mute():this.ytPlayer.unMute(),this.setTimeout(function(){this.trigger("volumechange")},50)}buffered(){if(!this.ytPlayer||!this.ytPlayer.getVideoLoadedFraction)return n.createTimeRange();var k=this.ytPlayer.getVideoLoadedFraction()*this.ytPlayer.getDuration();return n.createTimeRange(0,k)}preload(){}load(){}reset(){}networkState(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 3:return 2;default:return 1}}readyState(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 5:return 1;case 3:return 2;default:return 4}}supportsFullScreen(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled}checkHighResPoster(){var k="https://img.youtube.com/vi/"+this.url.videoId+"/maxresdefault.jpg";try{var A=new Image;A.onload=(function(){if("naturalHeight"in A){if(A.naturalHeight<=90||A.naturalWidth<=120)return}else if(A.height<=90||A.width<=120)return;this.poster_=k,this.trigger("posterchange")}).bind(this),A.onerror=function(){},A.src=k}catch{}}}l.isSupported=function(){return!0},l.canPlaySource=function(C){return l.canPlayType(C.type)},l.canPlayType=function(C){return C==="video/youtube"},l.parseUrl=function(C){var k={videoId:null},A=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,D=C.match(A);D&&D[2].length===11&&(k.videoId=D[2]);var P=/[?&]list=([^#\&\?]+)/;return D=C.match(P),D&&D[1]&&(k.listId=D[1]),k};function m(){YT.ready(function(){l.isApiReady=!0;for(var C=0;C<l.apiReadyQueue.length;++C)l.apiReadyQueue[C].initYTPlayer()})}function y(C,k){var A=!1,D=document.createElement("script"),P=document.getElementsByTagName("script")[0];P&&(P.parentNode.insertBefore(D,P),D.onload=function(){A||(A=!0,k())},D.onreadystatechange=function(){!A&&(this.readyState==="complete"||this.readyState==="loaded")&&(A=!0,k())},D.src=C)}function E(){var C=".vjs-youtube .vjs-iframe-blocker { display: none; }.vjs-youtube.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-youtube .vjs-poster { background-size: cover; }.vjs-youtube-mobile .vjs-big-play-button { display: none; }",k=document.head||document.getElementsByTagName("head")[0],A=document.createElement("style");A.type="text/css",A.styleSheet?A.styleSheet.cssText=C:A.appendChild(document.createTextNode(C)),k.appendChild(A)}l.apiReadyQueue=[],typeof document<"u"&&(y("https://www.youtube.com/iframe_api",m),E()),typeof n.registerTech<"u"?n.registerTech("Youtube",l):n.registerComponent("Youtube",l)})})(Youtube);/*! @vimeo/player v2.24.0 | (c) 2024 Vimeo | MIT License | https://github.com/vimeo/player.js */function ownKeys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,o)}return n}function _objectSpread2(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ownKeys(Object(n),!0).forEach(function(o){_defineProperty(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}function _regeneratorRuntime(){_regeneratorRuntime=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(d,v,w){d[v]=w.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",m=u.asyncIterator||"@@asyncIterator",y=u.toStringTag||"@@toStringTag";function E(d,v,w){return Object.defineProperty(d,v,{value:w,enumerable:!0,configurable:!0,writable:!0}),d[v]}try{E({},"")}catch{E=function(v,w,c){return v[w]=c}}function C(d,v,w,c){var p=v&&v.prototype instanceof D?v:D,x=Object.create(p.prototype),S=new he(c||[]);return o(x,"_invoke",{value:ie(d,w,S)}),x}function k(d,v,w){try{return{type:"normal",arg:d.call(v,w)}}catch(c){return{type:"throw",arg:c}}}t.wrap=C;var A={};function D(){}function P(){}function R(){}var B={};E(B,l,function(){return this});var F=Object.getPrototypeOf,O=F&&F(F(ke([])));O&&O!==e&&n.call(O,l)&&(B=O);var N=R.prototype=D.prototype=Object.create(B);function Y(d){["next","throw","return"].forEach(function(v){E(d,v,function(w){return this._invoke(v,w)})})}function J(d,v){function w(p,x,S,b){var h=k(d[p],d,x);if(h.type!=="throw"){var T=h.arg,M=T.value;return M&&typeof M=="object"&&n.call(M,"__await")?v.resolve(M.__await).then(function(j){w("next",j,S,b)},function(j){w("throw",j,S,b)}):v.resolve(M).then(function(j){T.value=j,S(T)},function(j){return w("throw",j,S,b)})}b(h.arg)}var c;o(this,"_invoke",{value:function(p,x){function S(){return new v(function(b,h){w(p,x,b,h)})}return c=c?c.then(S,S):S()}})}function ie(d,v,w){var c="suspendedStart";return function(p,x){if(c==="executing")throw new Error("Generator is already running");if(c==="completed"){if(p==="throw")throw x;return L()}for(w.method=p,w.arg=x;;){var S=w.delegate;if(S){var b=ue(S,w);if(b){if(b===A)continue;return b}}if(w.method==="next")w.sent=w._sent=w.arg;else if(w.method==="throw"){if(c==="suspendedStart")throw c="completed",w.arg;w.dispatchException(w.arg)}else w.method==="return"&&w.abrupt("return",w.arg);c="executing";var h=k(d,v,w);if(h.type==="normal"){if(c=w.done?"completed":"suspendedYield",h.arg===A)continue;return{value:h.arg,done:w.done}}h.type==="throw"&&(c="completed",w.method="throw",w.arg=h.arg)}}}function ue(d,v){var w=v.method,c=d.iterator[w];if(c===void 0)return v.delegate=null,w==="throw"&&d.iterator.return&&(v.method="return",v.arg=void 0,ue(d,v),v.method==="throw")||w!=="return"&&(v.method="throw",v.arg=new TypeError("The iterator does not provide a '"+w+"' method")),A;var p=k(c,d.iterator,v.arg);if(p.type==="throw")return v.method="throw",v.arg=p.arg,v.delegate=null,A;var x=p.arg;return x?x.done?(v[d.resultName]=x.value,v.next=d.nextLoc,v.method!=="return"&&(v.method="next",v.arg=void 0),v.delegate=null,A):x:(v.method="throw",v.arg=new TypeError("iterator result is not an object"),v.delegate=null,A)}function Q(d){var v={tryLoc:d[0]};1 in d&&(v.catchLoc=d[1]),2 in d&&(v.finallyLoc=d[2],v.afterLoc=d[3]),this.tryEntries.push(v)}function ce(d){var v=d.completion||{};v.type="normal",delete v.arg,d.completion=v}function he(d){this.tryEntries=[{tryLoc:"root"}],d.forEach(Q,this),this.reset(!0)}function ke(d){if(d){var v=d[l];if(v)return v.call(d);if(typeof d.next=="function")return d;if(!isNaN(d.length)){var w=-1,c=function p(){for(;++w<d.length;)if(n.call(d,w))return p.value=d[w],p.done=!1,p;return p.value=void 0,p.done=!0,p};return c.next=c}}return{next:L}}function L(){return{value:void 0,done:!0}}return P.prototype=R,o(N,"constructor",{value:R,configurable:!0}),o(R,"constructor",{value:P,configurable:!0}),P.displayName=E(R,y,"GeneratorFunction"),t.isGeneratorFunction=function(d){var v=typeof d=="function"&&d.constructor;return!!v&&(v===P||(v.displayName||v.name)==="GeneratorFunction")},t.mark=function(d){return Object.setPrototypeOf?Object.setPrototypeOf(d,R):(d.__proto__=R,E(d,y,"GeneratorFunction")),d.prototype=Object.create(N),d},t.awrap=function(d){return{__await:d}},Y(J.prototype),E(J.prototype,m,function(){return this}),t.AsyncIterator=J,t.async=function(d,v,w,c,p){p===void 0&&(p=Promise);var x=new J(C(d,v,w,c),p);return t.isGeneratorFunction(v)?x:x.next().then(function(S){return S.done?S.value:x.next()})},Y(N),E(N,y,"Generator"),E(N,l,function(){return this}),E(N,"toString",function(){return"[object Generator]"}),t.keys=function(d){var v=Object(d),w=[];for(var c in v)w.push(c);return w.reverse(),function p(){for(;w.length;){var x=w.pop();if(x in v)return p.value=x,p.done=!1,p}return p.done=!0,p}},t.values=ke,he.prototype={constructor:he,reset:function(d){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(ce),!d)for(var v in this)v.charAt(0)==="t"&&n.call(this,v)&&!isNaN(+v.slice(1))&&(this[v]=void 0)},stop:function(){this.done=!0;var d=this.tryEntries[0].completion;if(d.type==="throw")throw d.arg;return this.rval},dispatchException:function(d){if(this.done)throw d;var v=this;function w(h,T){return x.type="throw",x.arg=d,v.next=h,T&&(v.method="next",v.arg=void 0),!!T}for(var c=this.tryEntries.length-1;c>=0;--c){var p=this.tryEntries[c],x=p.completion;if(p.tryLoc==="root")return w("end");if(p.tryLoc<=this.prev){var S=n.call(p,"catchLoc"),b=n.call(p,"finallyLoc");if(S&&b){if(this.prev<p.catchLoc)return w(p.catchLoc,!0);if(this.prev<p.finallyLoc)return w(p.finallyLoc)}else if(S){if(this.prev<p.catchLoc)return w(p.catchLoc,!0)}else{if(!b)throw new Error("try statement without catch or finally");if(this.prev<p.finallyLoc)return w(p.finallyLoc)}}}},abrupt:function(d,v){for(var w=this.tryEntries.length-1;w>=0;--w){var c=this.tryEntries[w];if(c.tryLoc<=this.prev&&n.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var p=c;break}}p&&(d==="break"||d==="continue")&&p.tryLoc<=v&&v<=p.finallyLoc&&(p=null);var x=p?p.completion:{};return x.type=d,x.arg=v,p?(this.method="next",this.next=p.finallyLoc,A):this.complete(x)},complete:function(d,v){if(d.type==="throw")throw d.arg;return d.type==="break"||d.type==="continue"?this.next=d.arg:d.type==="return"?(this.rval=this.arg=d.arg,this.method="return",this.next="end"):d.type==="normal"&&v&&(this.next=v),A},finish:function(d){for(var v=this.tryEntries.length-1;v>=0;--v){var w=this.tryEntries[v];if(w.finallyLoc===d)return this.complete(w.completion,w.afterLoc),ce(w),A}},catch:function(d){for(var v=this.tryEntries.length-1;v>=0;--v){var w=this.tryEntries[v];if(w.tryLoc===d){var c=w.completion;if(c.type==="throw"){var p=c.arg;ce(w)}return p}}throw new Error("illegal catch attempt")},delegateYield:function(d,v,w){return this.delegate={iterator:ke(d),resultName:v,nextLoc:w},this.method==="next"&&(this.arg=void 0),A}},t}function asyncGeneratorStep(t,e,n,o,u,l,m){try{var y=t[l](m),E=y.value}catch(C){n(C);return}y.done?e(E):Promise.resolve(E).then(o,u)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise(function(o,u){var l=t.apply(e,n);function m(E){asyncGeneratorStep(l,o,u,m,y,"next",E)}function y(E){asyncGeneratorStep(l,o,u,m,y,"throw",E)}m(void 0)})}}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,_toPropertyKey(o.key),o)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function _defineProperty(t,e,n){return e=_toPropertyKey(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _inherits(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},_getPrototypeOf(t)}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,u){return o.__proto__=u,o},_setPrototypeOf(t,e)}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(t,e,n){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(u,l,m){var y=[null];y.push.apply(y,l);var E=Function.bind.apply(u,y),C=new E;return m&&_setPrototypeOf(C,m.prototype),C},_construct.apply(null,arguments)}function _isNativeFunction(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _wrapNativeSuper(t){var e=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(o){if(o===null||!_isNativeFunction(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(o))return e.get(o);e.set(o,u)}function u(){return _construct(o,arguments,_getPrototypeOf(this).constructor)}return u.prototype=Object.create(o.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(u,o)},_wrapNativeSuper(t)}function _assertThisInitialized(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _possibleConstructorReturn(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var o=_getPrototypeOf(t),u;if(e){var l=_getPrototypeOf(this).constructor;u=Reflect.construct(o,arguments,l)}else u=o.apply(this,arguments);return _possibleConstructorReturn(this,u)}}function _toPrimitive(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var o=n.call(t,e);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return typeof e=="symbol"?e:String(e)}var isNode=typeof global$1<"u"&&{}.toString.call(global$1)==="[object global]";function getMethodName(t,e){return t.indexOf(e.toLowerCase())===0?t:"".concat(e.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function isDomElement(t){return!!(t&&t.nodeType===1&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}function isInteger(t){return!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t}function isVimeoUrl(t){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(t)}function isVimeoEmbed(t){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(t)}function getOembedDomain(t){for(var e=(t||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(e&&e[1]||"").replace("player.",""),o=[".videoji.hk",".vimeo.work",".videoji.cn"],u=0,l=o;u<l.length;u++){var m=l[u];if(n.endsWith(m))return n}return"vimeo.com"}function getVimeoUrl(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.id,n=t.url,o=e||n;if(!o)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(isInteger(o))return"https://vimeo.com/".concat(o);if(isVimeoUrl(o))return o.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(o,"” is not a vimeo.com url."))}var subscribe=function(e,n,o){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",m=typeof n=="string"?[n]:n;return m.forEach(function(y){e[u](y,o)}),{cancel:function(){return m.forEach(function(E){return e[l](E,o)})}}},arrayIndexOfSupport=typeof Array.prototype.indexOf<"u",postMessageSupport=typeof window<"u"&&typeof window.postMessage<"u";if(!isNode&&(!arrayIndexOfSupport||!postMessageSupport))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{};function createCommonjsModule(t,e){return e={exports:{}},t(e,e.exports),e.exports}/*!
+`.split("").map(function(n){return n.charCodeAt(0)})),NoVttJsError=function(n){_inheritsLoose(e,n);function e(){return n.call(this,"Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")||this}return e}(_wrapNativeSuper$1(Error)),VTTSegmentLoader=function(n){_inheritsLoose(e,n);function e(l,t){var u;return t===void 0&&(t={}),u=n.call(this,l,t)||this,u.mediaSource_=null,u.subtitlesTrack_=null,u.loaderType_="subtitle",u.featuresNativeTextTracks_=l.featuresNativeTextTracks,u.loadVttJs=l.loadVttJs,u.shouldSaveSegmentTimingInfo_=!1,u}var o=e.prototype;return o.createTransmuxer_=function(){return null},o.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return videojs.createTimeRanges();var t=this.subtitlesTrack_.cues,u=t[0].startTime,h=t[t.length-1].startTime;return videojs.createTimeRanges([[u,h]])},o.initSegmentForMap=function(t,u){if(u===void 0&&(u=!1),!t)return null;var h=initSegmentId(t),v=this.initSegments_[h];if(u&&!v&&t.bytes){var w=VTT_LINE_TERMINATORS.byteLength+t.bytes.byteLength,A=new Uint8Array(w);A.set(t.bytes),A.set(VTT_LINE_TERMINATORS,t.bytes.byteLength),this.initSegments_[h]=v={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:A}}return v||t},o.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},o.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},o.track=function(t){return typeof t>"u"?this.subtitlesTrack_:(this.subtitlesTrack_=t,this.state==="INIT"&&this.couldBeginLoading_()&&this.init_(),this.subtitlesTrack_)},o.remove=function(t,u){removeCuesFromTrack(t,u,this.subtitlesTrack_)},o.fillBuffer_=function(){var t=this,u=this.chooseNextRequest_();if(u){if(this.syncController_.timestampOffsetForTimeline(u.timeline)===null){var h=function(){t.state="READY",t.paused()||t.monitorBuffer_()};this.syncController_.one("timestampoffset",h),this.state="WAITING_ON_TIMELINE";return}this.loadSegment_(u)}},o.timestampOffsetForSegment_=function(){return null},o.chooseNextRequest_=function(){return this.skipEmptySegments_(n.prototype.chooseNextRequest_.call(this))},o.skipEmptySegments_=function(t){for(;t&&t.segment.empty;){if(t.mediaIndex+1>=t.playlist.segments.length){t=null;break}t=this.generateSegmentInfo_({playlist:t.playlist,mediaIndex:t.mediaIndex+1,startOfSegment:t.startOfSegment+t.duration,isSyncRequest:t.isSyncRequest})}return t},o.stopForError=function(t){this.error(t),this.state="READY",this.pause(),this.trigger("error")},o.segmentRequestFinished_=function(t,u,h){var v=this;if(!this.subtitlesTrack_){this.state="READY";return}if(this.saveTransferStats_(u.stats),!this.pendingSegment_){this.state="READY",this.mediaRequestsAborted+=1;return}if(t){t.code===REQUEST_ERRORS.TIMEOUT&&this.handleTimeout_(),t.code===REQUEST_ERRORS.ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,this.stopForError(t);return}var w=this.pendingSegment_;this.saveBandwidthRelatedStats_(w.duration,u.stats),u.key&&this.segmentKey(u.key,!0),this.state="APPENDING",this.trigger("appending");var A=w.segment;if(A.map&&(A.map.bytes=u.map.bytes),w.bytes=u.bytes,typeof window$1$1.WebVTT!="function"&&typeof this.loadVttJs=="function"){this.state="WAITING_ON_VTTJS",this.loadVttJs().then(function(){return v.segmentRequestFinished_(t,u,h)},function(){return v.stopForError({message:"Error loading vtt.js"})});return}A.requested=!0;try{this.parseVTTCues_(w)}catch(E){this.stopForError({message:E.message});return}if(this.updateTimeMapping_(w,this.syncController_.timelines[w.timeline],this.playlist_),w.cues.length?w.timingInfo={start:w.cues[0].startTime,end:w.cues[w.cues.length-1].endTime}:w.timingInfo={start:w.startOfSegment,end:w.startOfSegment+w.duration},w.isSyncRequest){this.trigger("syncinfoupdate"),this.pendingSegment_=null,this.state="READY";return}w.byteLength=w.bytes.byteLength,this.mediaSecondsLoaded+=A.duration,w.cues.forEach(function(E){v.subtitlesTrack_.addCue(v.featuresNativeTextTracks_?new window$1$1.VTTCue(E.startTime,E.endTime,E.text):E)}),removeDuplicateCuesFromTrack(this.subtitlesTrack_),this.handleAppendsDone_()},o.handleData_=function(){},o.updateTimingInfoEnd_=function(){},o.parseVTTCues_=function(t){var u,h=!1;if(typeof window$1$1.WebVTT!="function")throw new NoVttJsError;typeof window$1$1.TextDecoder=="function"?u=new window$1$1.TextDecoder("utf8"):(u=window$1$1.WebVTT.StringDecoder(),h=!0);var v=new window$1$1.WebVTT.Parser(window$1$1,window$1$1.vttjs,u);if(t.cues=[],t.timestampmap={MPEGTS:0,LOCAL:0},v.oncue=t.cues.push.bind(t.cues),v.ontimestampmap=function(E){t.timestampmap=E},v.onparsingerror=function(E){videojs.log.warn("Error encountered when parsing cues: "+E.message)},t.segment.map){var w=t.segment.map.bytes;h&&(w=uint8ToUtf8(w)),v.parse(w)}var A=t.bytes;h&&(A=uint8ToUtf8(A)),v.parse(A),v.flush()},o.updateTimeMapping_=function(t,u,h){var v=t.segment;if(u){if(!t.cues.length){v.empty=!0;return}var w=t.timestampmap,A=w.MPEGTS/clock.ONE_SECOND_IN_TS-w.LOCAL+u.mapping;if(t.cues.forEach(function(M){M.startTime+=A,M.endTime+=A}),!h.syncInfo){var E=t.cues[0].startTime,C=t.cues[t.cues.length-1].startTime;h.syncInfo={mediaSequence:h.mediaSequence+t.mediaIndex,time:Math.min(E,C-v.duration)}}}},e}(SegmentLoader),findAdCue=function(e,o){for(var l=e.cues,t=0;t<l.length;t++){var u=l[t];if(o>=u.adStartTime&&o<=u.adEndTime)return u}return null},updateAdCues=function(e,o,l){if(l===void 0&&(l=0),!!e.segments)for(var t=l,u,h=0;h<e.segments.length;h++){var v=e.segments[h];if(u||(u=findAdCue(o,t+v.duration/2)),u){if("cueIn"in v){u.endTime=t,u.adEndTime=t,t+=v.duration,u=null;continue}if(t<u.endTime){t+=v.duration;continue}u.endTime+=v.duration}else if("cueOut"in v&&(u=new window$1$1.VTTCue(t,t+v.duration,v.cueOut),u.adStartTime=t,u.adEndTime=t+parseFloat(v.cueOut),o.addCue(u)),"cueOutCont"in v){var w=v.cueOutCont.split("/").map(parseFloat),A=w[0],E=w[1];u=new window$1$1.VTTCue(t,t+v.duration,""),u.adStartTime=t-A,u.adEndTime=u.adStartTime+E,o.addCue(u)}t+=v.duration}},MAX_MEDIA_SEQUENCE_DIFF_FOR_SYNC=86400,syncPointStrategies=[{name:"VOD",run:function(e,o,l,t,u){if(l!==1/0){var h={time:0,segmentIndex:0,partIndex:null};return h}return null}},{name:"ProgramDateTime",run:function(e,o,l,t,u){if(!Object.keys(e.timelineToDatetimeMappings).length)return null;var h=null,v=null,w=getPartsAndSegments(o);u=u||0;for(var A=0;A<w.length;A++){var E=o.endList||u===0?A:w.length-(A+1),C=w[E],M=C.segment,P=e.timelineToDatetimeMappings[M.timeline];if(!(!P||!M.dateTimeObject)){var I=M.dateTimeObject.getTime()/1e3,j=I+P;if(M.parts&&typeof C.partIndex=="number")for(var B=0;B<C.partIndex;B++)j+=M.parts[B].duration;var F=Math.abs(u-j);if(v!==null&&(F===0||v<F))break;v=F,h={time:j,segmentIndex:C.segmentIndex,partIndex:C.partIndex}}}return h}},{name:"Segment",run:function(e,o,l,t,u){var h=null,v=null;u=u||0;for(var w=getPartsAndSegments(o),A=0;A<w.length;A++){var E=o.endList||u===0?A:w.length-(A+1),C=w[E],M=C.segment,P=C.part&&C.part.start||M&&M.start;if(M.timeline===t&&typeof P<"u"){var I=Math.abs(u-P);if(v!==null&&v<I)break;(!h||v===null||v>=I)&&(v=I,h={time:P,segmentIndex:C.segmentIndex,partIndex:C.partIndex})}}return h}},{name:"Discontinuity",run:function(e,o,l,t,u){var h=null;if(u=u||0,o.discontinuityStarts&&o.discontinuityStarts.length)for(var v=null,w=0;w<o.discontinuityStarts.length;w++){var A=o.discontinuityStarts[w],E=o.discontinuitySequence+w+1,C=e.discontinuities[E];if(C){var M=Math.abs(u-C.time);if(v!==null&&v<M)break;(!h||v===null||v>=M)&&(v=M,h={time:C.time,segmentIndex:A,partIndex:null})}}return h}},{name:"Playlist",run:function(e,o,l,t,u){if(o.syncInfo){var h={time:o.syncInfo.time,segmentIndex:o.syncInfo.mediaSequence-o.mediaSequence,partIndex:null};return h}return null}}],SyncController=function(n){_inheritsLoose(e,n);function e(l){var t;return t=n.call(this)||this,t.timelines=[],t.discontinuities=[],t.timelineToDatetimeMappings={},t.logger_=logger("SyncController"),t}var o=e.prototype;return o.getSyncPoint=function(t,u,h,v){var w=this.runStrategies_(t,u,h,v);return w.length?this.selectSyncPoint_(w,{key:"time",value:v}):null},o.getExpiredTime=function(t,u){if(!t||!t.segments)return null;var h=this.runStrategies_(t,u,t.discontinuitySequence,0);if(!h.length)return null;var v=this.selectSyncPoint_(h,{key:"segmentIndex",value:0});return v.segmentIndex>0&&(v.time*=-1),Math.abs(v.time+sumDurations({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:v.segmentIndex,endIndex:0}))},o.runStrategies_=function(t,u,h,v){for(var w=[],A=0;A<syncPointStrategies.length;A++){var E=syncPointStrategies[A],C=E.run(this,t,u,h,v);C&&(C.strategy=E.name,w.push({strategy:E.name,syncPoint:C}))}return w},o.selectSyncPoint_=function(t,u){for(var h=t[0].syncPoint,v=Math.abs(t[0].syncPoint[u.key]-u.value),w=t[0].strategy,A=1;A<t.length;A++){var E=Math.abs(t[A].syncPoint[u.key]-u.value);E<v&&(v=E,h=t[A].syncPoint,w=t[A].strategy)}return this.logger_("syncPoint for ["+u.key+": "+u.value+"] chosen with strategy"+(" ["+w+"]: [time:"+h.time+",")+(" segmentIndex:"+h.segmentIndex)+(typeof h.partIndex=="number"?",partIndex:"+h.partIndex:"")+"]"),h},o.saveExpiredSegmentInfo=function(t,u){var h=u.mediaSequence-t.mediaSequence;if(h>MAX_MEDIA_SEQUENCE_DIFF_FOR_SYNC){videojs.log.warn("Not saving expired segment info. Media sequence gap "+h+" is too large.");return}for(var v=h-1;v>=0;v--){var w=t.segments[v];if(w&&typeof w.start<"u"){u.syncInfo={mediaSequence:t.mediaSequence+v,time:w.start},this.logger_("playlist refresh sync: [time:"+u.syncInfo.time+","+(" mediaSequence: "+u.syncInfo.mediaSequence+"]")),this.trigger("syncinfoupdate");break}}},o.setDateTimeMappingForStart=function(t){if(this.timelineToDatetimeMappings={},t.segments&&t.segments.length&&t.segments[0].dateTimeObject){var u=t.segments[0],h=u.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[u.timeline]=-h}},o.saveSegmentTimingInfo=function(t){var u=t.segmentInfo,h=t.shouldSaveTimelineMapping,v=this.calculateSegmentTimeMapping_(u,u.timingInfo,h),w=u.segment;v&&(this.saveDiscontinuitySyncInfo_(u),u.playlist.syncInfo||(u.playlist.syncInfo={mediaSequence:u.playlist.mediaSequence+u.mediaIndex,time:w.start}));var A=w.dateTimeObject;w.discontinuity&&h&&A&&(this.timelineToDatetimeMappings[w.timeline]=-(A.getTime()/1e3))},o.timestampOffsetForTimeline=function(t){return typeof this.timelines[t]>"u"?null:this.timelines[t].time},o.mappingForTimeline=function(t){return typeof this.timelines[t]>"u"?null:this.timelines[t].mapping},o.calculateSegmentTimeMapping_=function(t,u,h){var v=t.segment,w=t.part,A=this.timelines[t.timeline],E,C;if(typeof t.timestampOffset=="number")A={time:t.startOfSegment,mapping:t.startOfSegment-u.start},h&&(this.timelines[t.timeline]=A,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+t.timeline+": "+("[time: "+A.time+"] [mapping: "+A.mapping+"]"))),E=t.startOfSegment,C=u.end+A.mapping;else if(A)E=u.start+A.mapping,C=u.end+A.mapping;else return!1;return w&&(w.start=E,w.end=C),(!v.start||E<v.start)&&(v.start=E),v.end=C,!0},o.saveDiscontinuitySyncInfo_=function(t){var u=t.playlist,h=t.segment;if(h.discontinuity)this.discontinuities[h.timeline]={time:h.start,accuracy:0};else if(u.discontinuityStarts&&u.discontinuityStarts.length)for(var v=0;v<u.discontinuityStarts.length;v++){var w=u.discontinuityStarts[v],A=u.discontinuitySequence+v+1,E=w-t.mediaIndex,C=Math.abs(E);if(!this.discontinuities[A]||this.discontinuities[A].accuracy>C){var M=void 0;E<0?M=h.start-sumDurations({defaultDuration:u.targetDuration,durationList:u.segments,startIndex:t.mediaIndex,endIndex:w}):M=h.end+sumDurations({defaultDuration:u.targetDuration,durationList:u.segments,startIndex:t.mediaIndex+1,endIndex:w}),this.discontinuities[A]={time:M,accuracy:C}}}},o.dispose=function(){this.trigger("dispose"),this.off()},e}(videojs.EventTarget),TimelineChangeController=function(n){_inheritsLoose(e,n);function e(){var l;return l=n.call(this)||this,l.pendingTimelineChanges_={},l.lastTimelineChanges_={},l}var o=e.prototype;return o.clearPendingTimelineChange=function(t){this.pendingTimelineChanges_[t]=null,this.trigger("pendingtimelinechange")},o.pendingTimelineChange=function(t){var u=t.type,h=t.from,v=t.to;return typeof h=="number"&&typeof v=="number"&&(this.pendingTimelineChanges_[u]={type:u,from:h,to:v},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[u]},o.lastTimelineChange=function(t){var u=t.type,h=t.from,v=t.to;return typeof h=="number"&&typeof v=="number"&&(this.lastTimelineChanges_[u]={type:u,from:h,to:v},delete this.pendingTimelineChanges_[u],this.trigger("timelinechange")),this.lastTimelineChanges_[u]},o.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},e}(videojs.EventTarget),workerCode=transform(getWorkerString(function(){var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{};function e(Z,re,fe){return fe={path:re,exports:{},require:function(le,he){return o(le,he??fe.path)}},Z(fe,fe.exports),fe.exports}function o(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var l=e(function(Z){function re(V,le){for(var he=0;he<le.length;he++){var ye=le[he];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(V,ye.key,ye)}}function fe(V,le,he){return le&&re(V.prototype,le),he&&re(V,he),V}Z.exports=fe,Z.exports.default=Z.exports,Z.exports.__esModule=!0}),t=e(function(Z){function re(fe,V){return Z.exports=re=Object.setPrototypeOf||function(he,ye){return he.__proto__=ye,he},Z.exports.default=Z.exports,Z.exports.__esModule=!0,re(fe,V)}Z.exports=re,Z.exports.default=Z.exports,Z.exports.__esModule=!0}),u=e(function(Z){function re(fe,V){fe.prototype=Object.create(V.prototype),fe.prototype.constructor=fe,t(fe,V)}Z.exports=re,Z.exports.default=Z.exports,Z.exports.__esModule=!0}),h=function(){function Z(){this.listeners={}}var re=Z.prototype;return re.on=function(V,le){this.listeners[V]||(this.listeners[V]=[]),this.listeners[V].push(le)},re.off=function(V,le){if(!this.listeners[V])return!1;var he=this.listeners[V].indexOf(le);return this.listeners[V]=this.listeners[V].slice(0),this.listeners[V].splice(he,1),he>-1},re.trigger=function(V){var le=this.listeners[V];if(le)if(arguments.length===2)for(var he=le.length,ye=0;ye<he;++ye)le[ye].call(this,arguments[1]);else for(var L=Array.prototype.slice.call(arguments,1),p=le.length,y=0;y<p;++y)le[y].apply(this,L)},re.dispose=function(){this.listeners={}},re.pipe=function(V){this.on("data",function(le){V.push(le)})},Z}();/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */function v(Z){return Z.subarray(0,Z.byteLength-Z[Z.byteLength-1])}/*! @name aes-decrypter @version 3.1.3 @license Apache-2.0 */var w=function(){var re=[[[],[],[],[],[]],[[],[],[],[],[]]],fe=re[0],V=re[1],le=fe[4],he=V[4],ye,L,p,y=[],S=[],c,m,x,T,b,d;for(ye=0;ye<256;ye++)S[(y[ye]=ye<<1^(ye>>7)*283)^ye]=ye;for(L=p=0;!le[L];L^=c||1,p=S[p]||1)for(T=p^p<<1^p<<2^p<<3^p<<4,T=T>>8^T&255^99,le[L]=T,he[T]=L,x=y[m=y[c=y[L]]],d=x*16843009^m*65537^c*257^L*16843008,b=y[T]*257^T*16843008,ye=0;ye<4;ye++)fe[ye][L]=b=b<<24^b>>>8,V[ye][T]=d=d<<24^d>>>8;for(ye=0;ye<5;ye++)fe[ye]=fe[ye].slice(0),V[ye]=V[ye].slice(0);return re},A=null,E=function(){function Z(fe){A||(A=w()),this._tables=[[A[0][0].slice(),A[0][1].slice(),A[0][2].slice(),A[0][3].slice(),A[0][4].slice()],[A[1][0].slice(),A[1][1].slice(),A[1][2].slice(),A[1][3].slice(),A[1][4].slice()]];var V,le,he,ye=this._tables[0][4],L=this._tables[1],p=fe.length,y=1;if(p!==4&&p!==6&&p!==8)throw new Error("Invalid aes key size");var S=fe.slice(0),c=[];for(this._key=[S,c],V=p;V<4*p+28;V++)he=S[V-1],(V%p===0||p===8&&V%p===4)&&(he=ye[he>>>24]<<24^ye[he>>16&255]<<16^ye[he>>8&255]<<8^ye[he&255],V%p===0&&(he=he<<8^he>>>24^y<<24,y=y<<1^(y>>7)*283)),S[V]=S[V-p]^he;for(le=0;V;le++,V--)he=S[le&3?V:V-4],V<=4||le<4?c[le]=he:c[le]=L[0][ye[he>>>24]]^L[1][ye[he>>16&255]]^L[2][ye[he>>8&255]]^L[3][ye[he&255]]}var re=Z.prototype;return re.decrypt=function(V,le,he,ye,L,p){var y=this._key[1],S=V^y[0],c=ye^y[1],m=he^y[2],x=le^y[3],T,b,d,k=y.length/4-2,D,O=4,Q=this._tables[1],J=Q[0],X=Q[1],U=Q[2],z=Q[3],ie=Q[4];for(D=0;D<k;D++)T=J[S>>>24]^X[c>>16&255]^U[m>>8&255]^z[x&255]^y[O],b=J[c>>>24]^X[m>>16&255]^U[x>>8&255]^z[S&255]^y[O+1],d=J[m>>>24]^X[x>>16&255]^U[S>>8&255]^z[c&255]^y[O+2],x=J[x>>>24]^X[S>>16&255]^U[c>>8&255]^z[m&255]^y[O+3],O+=4,S=T,c=b,m=d;for(D=0;D<4;D++)L[(3&-D)+p]=ie[S>>>24]<<24^ie[c>>16&255]<<16^ie[m>>8&255]<<8^ie[x&255]^y[O++],T=S,S=c,c=m,m=x,x=T},Z}(),C=function(Z){u(re,Z);function re(){var V;return V=Z.call(this,h)||this,V.jobs=[],V.delay=1,V.timeout_=null,V}var fe=re.prototype;return fe.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},fe.push=function(le){this.jobs.push(le),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},re}(h),M=function(re){return re<<24|(re&65280)<<8|(re&16711680)>>8|re>>>24},P=function(re,fe,V){var le=new Int32Array(re.buffer,re.byteOffset,re.byteLength>>2),he=new E(Array.prototype.slice.call(fe)),ye=new Uint8Array(re.byteLength),L=new Int32Array(ye.buffer),p,y,S,c,m,x,T,b,d;for(p=V[0],y=V[1],S=V[2],c=V[3],d=0;d<le.length;d+=4)m=M(le[d]),x=M(le[d+1]),T=M(le[d+2]),b=M(le[d+3]),he.decrypt(m,x,T,b,L,d),L[d]=M(L[d]^p),L[d+1]=M(L[d+1]^y),L[d+2]=M(L[d+2]^S),L[d+3]=M(L[d+3]^c),p=m,y=x,S=T,c=b;return ye},I=function(){function Z(fe,V,le,he){var ye=Z.STEP,L=new Int32Array(fe.buffer),p=new Uint8Array(fe.byteLength),y=0;for(this.asyncStream_=new C,this.asyncStream_.push(this.decryptChunk_(L.subarray(y,y+ye),V,le,p)),y=ye;y<L.length;y+=ye)le=new Uint32Array([M(L[y-4]),M(L[y-3]),M(L[y-2]),M(L[y-1])]),this.asyncStream_.push(this.decryptChunk_(L.subarray(y,y+ye),V,le,p));this.asyncStream_.push(function(){he(null,v(p))})}var re=Z.prototype;return re.decryptChunk_=function(V,le,he,ye){return function(){var L=P(V,le,he);ye.set(L,V.byteOffset)}},l(Z,null,[{key:"STEP",get:function(){return 32e3}}]),Z}(),j;typeof window<"u"?j=window:typeof n<"u"?j=n:typeof self<"u"?j=self:j={};var B=j,F=function(re){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(re):re&&re.buffer instanceof ArrayBuffer},N=B.BigInt||Number;N("0x1"),N("0x100"),N("0x10000"),N("0x1000000"),N("0x100000000"),N("0x10000000000"),N("0x1000000000000"),N("0x100000000000000"),N("0x10000000000000000");var ee=function(re){var fe={};return Object.keys(re).forEach(function(V){var le=re[V];F(le)?fe[V]={bytes:le.buffer,byteOffset:le.byteOffset,byteLength:le.byteLength}:fe[V]=le}),fe};self.onmessage=function(Z){var re=Z.data,fe=new Uint8Array(re.encrypted.bytes,re.encrypted.byteOffset,re.encrypted.byteLength),V=new Uint32Array(re.key.bytes,re.key.byteOffset,re.key.byteLength/4),le=new Uint32Array(re.iv.bytes,re.iv.byteOffset,re.iv.byteLength/4);new I(fe,V,le,function(he,ye){self.postMessage(ee({source:re.source,decrypted:ye}),[ye.buffer])})}})),Decrypter=factory(workerCode),audioTrackKind_=function(e){var o=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(o="main-desc"),o},stopLoaders=function(e,o){e.abort(),e.pause(),o&&o.activePlaylistLoader&&(o.activePlaylistLoader.pause(),o.activePlaylistLoader=null)},startLoaders=function(e,o){o.activePlaylistLoader=e,e.load()},onGroupChanged=function(e,o){return function(){var l=o.segmentLoaders,t=l[e],u=l.main,h=o.mediaTypes[e],v=h.activeTrack(),w=h.getActiveGroup(),A=h.activePlaylistLoader,E=h.lastGroup_;if(!(w&&E&&w.id===E.id)&&(h.lastGroup_=w,h.lastTrack_=v,stopLoaders(t,h),!(!w||w.isMasterPlaylist))){if(!w.playlistLoader){A&&u.resetEverything();return}t.resyncLoader(),startLoaders(w.playlistLoader,h)}}},onGroupChanging=function(e,o){return function(){var l=o.segmentLoaders[e],t=o.mediaTypes[e];t.lastGroup_=null,l.abort(),l.pause()}},onTrackChanged=function(e,o){return function(){var l=o.masterPlaylistLoader,t=o.segmentLoaders,u=t[e],h=t.main,v=o.mediaTypes[e],w=v.activeTrack(),A=v.getActiveGroup(),E=v.activePlaylistLoader,C=v.lastTrack_;if(!(C&&w&&C.id===w.id)&&(v.lastGroup_=A,v.lastTrack_=w,stopLoaders(u,v),!!A)){if(A.isMasterPlaylist){if(!w||!C||w.id===C.id)return;var M=o.vhs.masterPlaylistController_,P=M.selectPlaylist();if(M.media()===P)return;v.logger_("track change. Switching master audio from "+C.id+" to "+w.id),l.pause(),h.resetEverything(),M.fastQualityChange_(P);return}if(e==="AUDIO"){if(!A.playlistLoader){h.setAudio(!0),h.resetEverything();return}u.setAudio(!0),h.setAudio(!1)}if(E===A.playlistLoader){startLoaders(A.playlistLoader,v);return}u.track&&u.track(w),u.resetEverything(),startLoaders(A.playlistLoader,v)}}},onError={AUDIO:function(e,o){return function(){var l=o.segmentLoaders[e],t=o.mediaTypes[e],u=o.blacklistCurrentPlaylist;stopLoaders(l,t);var h=t.activeTrack(),v=t.activeGroup(),w=(v.filter(function(C){return C.default})[0]||v[0]).id,A=t.tracks[w];if(h===A){u({message:"Problem encountered loading the default audio track."});return}videojs.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(var E in t.tracks)t.tracks[E].enabled=t.tracks[E]===A;t.onTrackChanged()}},SUBTITLES:function(e,o){return function(){var l=o.segmentLoaders[e],t=o.mediaTypes[e];videojs.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),stopLoaders(l,t);var u=t.activeTrack();u&&(u.mode="disabled"),t.onTrackChanged()}}},setupListeners={AUDIO:function(e,o,l){if(o){var t=l.tech,u=l.requestOptions,h=l.segmentLoaders[e];o.on("loadedmetadata",function(){var v=o.media();h.playlist(v,u),(!t.paused()||v.endList&&t.preload()!=="none")&&h.load()}),o.on("loadedplaylist",function(){h.playlist(o.media(),u),t.paused()||h.load()}),o.on("error",onError[e](e,l))}},SUBTITLES:function(e,o,l){var t=l.tech,u=l.requestOptions,h=l.segmentLoaders[e],v=l.mediaTypes[e];o.on("loadedmetadata",function(){var w=o.media();h.playlist(w,u),h.track(v.activeTrack()),(!t.paused()||w.endList&&t.preload()!=="none")&&h.load()}),o.on("loadedplaylist",function(){h.playlist(o.media(),u),t.paused()||h.load()}),o.on("error",onError[e](e,l))}},initialize={AUDIO:function(e,o){var l=o.vhs,t=o.sourceType,u=o.segmentLoaders[e],h=o.requestOptions,v=o.master.mediaGroups,w=o.mediaTypes[e],A=w.groups,E=w.tracks,C=w.logger_,M=o.masterPlaylistLoader,P=isAudioOnly(M.master);(!v[e]||Object.keys(v[e]).length===0)&&(v[e]={main:{default:{default:!0}}},P&&(v[e].main.default.playlists=M.master.playlists));for(var I in v[e]){A[I]||(A[I]=[]);for(var j in v[e][I]){var B=v[e][I][j],F=void 0;if(P?(C("AUDIO group '"+I+"' label '"+j+"' is a master playlist"),B.isMasterPlaylist=!0,F=null):t==="vhs-json"&&B.playlists?F=new PlaylistLoader(B.playlists[0],l,h):B.resolvedUri?F=new PlaylistLoader(B.resolvedUri,l,h):B.playlists&&t==="dash"?F=new DashPlaylistLoader(B.playlists[0],l,h,M):F=null,B=videojs.mergeOptions({id:j,playlistLoader:F},B),setupListeners[e](e,B.playlistLoader,o),A[I].push(B),typeof E[j]>"u"){var N=new videojs.AudioTrack({id:j,kind:audioTrackKind_(B),enabled:!1,language:B.language,default:B.default,label:j});E[j]=N}}}u.on("error",onError[e](e,o))},SUBTITLES:function(e,o){var l=o.tech,t=o.vhs,u=o.sourceType,h=o.segmentLoaders[e],v=o.requestOptions,w=o.master.mediaGroups,A=o.mediaTypes[e],E=A.groups,C=A.tracks,M=o.masterPlaylistLoader;for(var P in w[e]){E[P]||(E[P]=[]);for(var I in w[e][P])if(!w[e][P][I].forced){var j=w[e][P][I],B=void 0;if(u==="hls")B=new PlaylistLoader(j.resolvedUri,t,v);else if(u==="dash"){var F=j.playlists.filter(function(ee){return ee.excludeUntil!==1/0});if(!F.length)return;B=new DashPlaylistLoader(j.playlists[0],t,v,M)}else u==="vhs-json"&&(B=new PlaylistLoader(j.playlists?j.playlists[0]:j.resolvedUri,t,v));if(j=videojs.mergeOptions({id:I,playlistLoader:B},j),setupListeners[e](e,j.playlistLoader,o),E[P].push(j),typeof C[I]>"u"){var N=l.addRemoteTextTrack({id:I,kind:"subtitles",default:j.default&&j.autoselect,language:j.language,label:I},!1).track;C[I]=N}}}h.on("error",onError[e](e,o))},"CLOSED-CAPTIONS":function(e,o){var l=o.tech,t=o.master.mediaGroups,u=o.mediaTypes[e],h=u.groups,v=u.tracks;for(var w in t[e]){h[w]||(h[w]=[]);for(var A in t[e][w]){var E=t[e][w][A];if(/^(?:CC|SERVICE)/.test(E.instreamId)){var C=l.options_.vhs&&l.options_.vhs.captionServices||{},M={label:A,language:E.language,instreamId:E.instreamId,default:E.default&&E.autoselect};if(C[M.instreamId]&&(M=videojs.mergeOptions(M,C[M.instreamId])),M.default===void 0&&delete M.default,h[w].push(videojs.mergeOptions({id:A},E)),typeof v[A]>"u"){var P=l.addRemoteTextTrack({id:M.instreamId,kind:"captions",default:M.default,language:M.language,label:M.label},!1).track;v[A]=P}}}}}},groupMatch=function n(e,o){for(var l=0;l<e.length;l++)if(playlistMatch(o,e[l])||e[l].playlists&&n(e[l].playlists,o))return!0;return!1},activeGroup=function(e,o){return function(l){var t=o.masterPlaylistLoader,u=o.mediaTypes[e].groups,h=t.media();if(!h)return null;var v=null;h.attributes[e]&&(v=u[h.attributes[e]]);var w=Object.keys(u);if(!v)if(e==="AUDIO"&&w.length>1&&isAudioOnly(o.master))for(var A=0;A<w.length;A++){var E=u[w[A]];if(groupMatch(E,h)){v=E;break}}else u.main?v=u.main:w.length===1&&(v=u[w[0]]);return typeof l>"u"?v:l===null||!v?null:v.filter(function(C){return C.id===l.id})[0]||null}},activeTrack={AUDIO:function(e,o){return function(){var l=o.mediaTypes[e].tracks;for(var t in l)if(l[t].enabled)return l[t];return null}},SUBTITLES:function(e,o){return function(){var l=o.mediaTypes[e].tracks;for(var t in l)if(l[t].mode==="showing"||l[t].mode==="hidden")return l[t];return null}}},getActiveGroup=function(e,o){var l=o.mediaTypes;return function(){var t=l[e].activeTrack();return t?l[e].activeGroup(t):null}},setupMediaGroups=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(function(I){initialize[I](I,e)});var o=e.mediaTypes,l=e.masterPlaylistLoader,t=e.tech,u=e.vhs,h=e.segmentLoaders,v=h.AUDIO,w=h.main;["AUDIO","SUBTITLES"].forEach(function(I){o[I].activeGroup=activeGroup(I,e),o[I].activeTrack=activeTrack[I](I,e),o[I].onGroupChanged=onGroupChanged(I,e),o[I].onGroupChanging=onGroupChanging(I,e),o[I].onTrackChanged=onTrackChanged(I,e),o[I].getActiveGroup=getActiveGroup(I,e)});var A=o.AUDIO.activeGroup();if(A){var E=(A.filter(function(I){return I.default})[0]||A[0]).id;o.AUDIO.tracks[E].enabled=!0,o.AUDIO.onGroupChanged(),o.AUDIO.onTrackChanged();var C=o.AUDIO.getActiveGroup();C.playlistLoader?(w.setAudio(!1),v.setAudio(!0)):w.setAudio(!0)}l.on("mediachange",function(){["AUDIO","SUBTITLES"].forEach(function(I){return o[I].onGroupChanged()})}),l.on("mediachanging",function(){["AUDIO","SUBTITLES"].forEach(function(I){return o[I].onGroupChanging()})});var M=function(){o.AUDIO.onTrackChanged(),t.trigger({type:"usage",name:"vhs-audio-change"}),t.trigger({type:"usage",name:"hls-audio-change"})};t.audioTracks().addEventListener("change",M),t.remoteTextTracks().addEventListener("change",o.SUBTITLES.onTrackChanged),u.on("dispose",function(){t.audioTracks().removeEventListener("change",M),t.remoteTextTracks().removeEventListener("change",o.SUBTITLES.onTrackChanged)}),t.clearTracks("audio");for(var P in o.AUDIO.tracks)t.audioTracks().addTrack(o.AUDIO.tracks[P])},createMediaTypes=function(){var e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(function(o){e[o]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:noop$1,activeTrack:noop$1,getActiveGroup:noop$1,onGroupChanged:noop$1,onTrackChanged:noop$1,lastTrack_:null,logger_:logger("MediaGroups["+o+"]")}}),e},ABORT_EARLY_BLACKLIST_SECONDS=60*2,Vhs$1,loaderStats=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],sumLoaderStat=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},shouldSwitchToMedia=function(e){var o=e.currentPlaylist,l=e.buffered,t=e.currentTime,u=e.nextPlaylist,h=e.bufferLowWaterLine,v=e.bufferHighWaterLine,w=e.duration,A=e.experimentalBufferBasedABR,E=e.log;if(!u)return videojs.log.warn("We received no playlist to switch to. Please check your stream."),!1;var C="allowing switch "+(o&&o.id||"null")+" -> "+u.id;if(!o)return E(C+" as current playlist is not set"),!0;if(u.id===o.id)return!1;var M=!!findRange(l,t).length;if(!o.endList)return!M&&typeof o.partTargetDuration=="number"?(E("not "+C+" as current playlist is live llhls, but currentTime isn't in buffered."),!1):(E(C+" as current playlist is live"),!0);var P=timeAheadOf(l,t),I=A?Config.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Config.MAX_BUFFER_LOW_WATER_LINE;if(w<I)return E(C+" as duration < max low water line ("+w+" < "+I+")"),!0;var j=u.attributes.BANDWIDTH,B=o.attributes.BANDWIDTH;if(j<B&&(!A||P<v)){var F=C+" as next bandwidth < current bandwidth ("+j+" < "+B+")";return A&&(F+=" and forwardBuffer < bufferHighWaterLine ("+P+" < "+v+")"),E(F),!0}if((!A||j>B)&&P>=h){var N=C+" as forwardBuffer >= bufferLowWaterLine ("+P+" >= "+h+")";return A&&(N+=" and next bandwidth > current bandwidth ("+j+" > "+B+")"),E(N),!0}return E("not "+C+" as no switching criteria met"),!1},MasterPlaylistController=function(n){_inheritsLoose(e,n);function e(l){var t;t=n.call(this)||this;var u=l.src,h=l.handleManifestRedirects,v=l.withCredentials,w=l.tech,A=l.bandwidth,E=l.externVhs,C=l.useCueTags,M=l.blacklistDuration,P=l.enableLowInitialPlaylist,I=l.sourceType,j=l.cacheEncryptionKeys,B=l.experimentalBufferBasedABR,F=l.experimentalLeastPixelDiffSelector,N=l.captionServices;if(!u)throw new Error("A non-empty playlist URL or JSON manifest string is required");var ee=l.maxPlaylistRetries;(ee===null||typeof ee>"u")&&(ee=1/0),Vhs$1=E,t.experimentalBufferBasedABR=!!B,t.experimentalLeastPixelDiffSelector=!!F,t.withCredentials=v,t.tech_=w,t.vhs_=w.vhs,t.sourceType_=I,t.useCueTags_=C,t.blacklistDuration=M,t.maxPlaylistRetries=ee,t.enableLowInitialPlaylist=P,t.useCueTags_&&(t.cueTagsTrack_=t.tech_.addTextTrack("metadata","ad-cues"),t.cueTagsTrack_.inBandMetadataTrackDispatchType=""),t.requestOptions_={withCredentials:v,handleManifestRedirects:h,maxPlaylistRetries:ee,timeout:null},t.on("error",t.pauseLoading),t.mediaTypes_=createMediaTypes(),t.mediaSource=new window$1$1.MediaSource,t.handleDurationChange_=t.handleDurationChange_.bind(_assertThisInitialized$1(t)),t.handleSourceOpen_=t.handleSourceOpen_.bind(_assertThisInitialized$1(t)),t.handleSourceEnded_=t.handleSourceEnded_.bind(_assertThisInitialized$1(t)),t.mediaSource.addEventListener("durationchange",t.handleDurationChange_),t.mediaSource.addEventListener("sourceopen",t.handleSourceOpen_),t.mediaSource.addEventListener("sourceended",t.handleSourceEnded_),t.seekable_=videojs.createTimeRanges(),t.hasPlayed_=!1,t.syncController_=new SyncController(l),t.segmentMetadataTrack_=w.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,t.decrypter_=new Decrypter,t.sourceUpdater_=new SourceUpdater(t.mediaSource),t.inbandTextTracks_={},t.timelineChangeController_=new TimelineChangeController;var Z={vhs:t.vhs_,parse708captions:l.parse708captions,useDtsForTimestampOffset:l.useDtsForTimestampOffset,captionServices:N,mediaSource:t.mediaSource,currentTime:t.tech_.currentTime.bind(t.tech_),seekable:function(){return t.seekable()},seeking:function(){return t.tech_.seeking()},duration:function(){return t.duration()},hasPlayed:function(){return t.hasPlayed_},goalBufferLength:function(){return t.goalBufferLength()},bandwidth:A,syncController:t.syncController_,decrypter:t.decrypter_,sourceType:t.sourceType_,inbandTextTracks:t.inbandTextTracks_,cacheEncryptionKeys:j,sourceUpdater:t.sourceUpdater_,timelineChangeController:t.timelineChangeController_,experimentalExactManifestTimings:l.experimentalExactManifestTimings};t.masterPlaylistLoader_=t.sourceType_==="dash"?new DashPlaylistLoader(u,t.vhs_,t.requestOptions_):new PlaylistLoader(u,t.vhs_,t.requestOptions_),t.setupMasterPlaylistLoaderListeners_(),t.mainSegmentLoader_=new SegmentLoader(videojs.mergeOptions(Z,{segmentMetadataTrack:t.segmentMetadataTrack_,loaderType:"main"}),l),t.audioSegmentLoader_=new SegmentLoader(videojs.mergeOptions(Z,{loaderType:"audio"}),l),t.subtitleSegmentLoader_=new VTTSegmentLoader(videojs.mergeOptions(Z,{loaderType:"vtt",featuresNativeTextTracks:t.tech_.featuresNativeTextTracks,loadVttJs:function(){return new Promise(function(V,le){function he(){w.off("vttjserror",ye),V()}function ye(){w.off("vttjsloaded",he),le()}w.one("vttjsloaded",he),w.one("vttjserror",ye),w.addWebVttScript_()})}}),l),t.setupSegmentLoaderListeners_(),t.experimentalBufferBasedABR&&(t.masterPlaylistLoader_.one("loadedplaylist",function(){return t.startABRTimer_()}),t.tech_.on("pause",function(){return t.stopABRTimer_()}),t.tech_.on("play",function(){return t.startABRTimer_()})),loaderStats.forEach(function(fe){t[fe+"_"]=sumLoaderStat.bind(_assertThisInitialized$1(t),fe)}),t.logger_=logger("MPC"),t.triggeredFmp4Usage=!1,t.tech_.preload()==="none"?(t.loadOnPlay_=function(){t.loadOnPlay_=null,t.masterPlaylistLoader_.load()},t.tech_.one("play",t.loadOnPlay_)):t.masterPlaylistLoader_.load(),t.timeToLoadedData__=-1,t.mainAppendsToLoadedData__=-1,t.audioAppendsToLoadedData__=-1;var re=t.tech_.preload()==="none"?"play":"loadstart";return t.tech_.one(re,function(){var fe=Date.now();t.tech_.one("loadeddata",function(){t.timeToLoadedData__=Date.now()-fe,t.mainAppendsToLoadedData__=t.mainSegmentLoader_.mediaAppends,t.audioAppendsToLoadedData__=t.audioSegmentLoader_.mediaAppends})}),t}var o=e.prototype;return o.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},o.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},o.appendsToLoadedData_=function(){var t=this.mainAppendsToLoadedData_(),u=this.audioAppendsToLoadedData_();return t===-1||u===-1?-1:t+u},o.timeToLoadedData_=function(){return this.timeToLoadedData__},o.checkABR_=function(t){t===void 0&&(t="abr");var u=this.selectPlaylist();u&&this.shouldSwitchToMedia_(u)&&this.switchMedia_(u,t)},o.switchMedia_=function(t,u,h){var v=this.media(),w=v&&(v.id||v.uri),A=t.id||t.uri;w&&w!==A&&(this.logger_("switch media "+w+" -> "+A+" from "+u),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+u})),this.masterPlaylistLoader_.media(t,h)},o.startABRTimer_=function(){var t=this;this.stopABRTimer_(),this.abrTimer_=window$1$1.setInterval(function(){return t.checkABR_()},250)},o.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(window$1$1.clearInterval(this.abrTimer_),this.abrTimer_=null)},o.getAudioTrackPlaylists_=function(){var t=this.master(),u=t&&t.playlists||[];if(!t||!t.mediaGroups||!t.mediaGroups.AUDIO)return u;var h=t.mediaGroups.AUDIO,v=Object.keys(h),w;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)w=this.mediaTypes_.AUDIO.activeTrack();else{var A=h.main||v.length&&h[v[0]];for(var E in A)if(A[E].default){w={label:E};break}}if(!w)return u;var C=[];for(var M in h)if(h[M][w.label]){var P=h[M][w.label];if(P.playlists&&P.playlists.length)C.push.apply(C,P.playlists);else if(P.uri)C.push(P);else if(t.playlists.length)for(var I=0;I<t.playlists.length;I++){var j=t.playlists[I];j.attributes&&j.attributes.AUDIO&&j.attributes.AUDIO===M&&C.push(j)}}return C.length?C:u},o.setupMasterPlaylistLoaderListeners_=function(){var t=this;this.masterPlaylistLoader_.on("loadedmetadata",function(){var u=t.masterPlaylistLoader_.media(),h=u.targetDuration*1.5*1e3;isLowestEnabledRendition(t.masterPlaylistLoader_.master,t.masterPlaylistLoader_.media())?t.requestOptions_.timeout=0:t.requestOptions_.timeout=h,u.endList&&t.tech_.preload()!=="none"&&(t.mainSegmentLoader_.playlist(u,t.requestOptions_),t.mainSegmentLoader_.load()),setupMediaGroups({sourceType:t.sourceType_,segmentLoaders:{AUDIO:t.audioSegmentLoader_,SUBTITLES:t.subtitleSegmentLoader_,main:t.mainSegmentLoader_},tech:t.tech_,requestOptions:t.requestOptions_,masterPlaylistLoader:t.masterPlaylistLoader_,vhs:t.vhs_,master:t.master(),mediaTypes:t.mediaTypes_,blacklistCurrentPlaylist:t.blacklistCurrentPlaylist.bind(t)}),t.triggerPresenceUsage_(t.master(),u),t.setupFirstPlay(),!t.mediaTypes_.AUDIO.activePlaylistLoader||t.mediaTypes_.AUDIO.activePlaylistLoader.media()?t.trigger("selectedinitialmedia"):t.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",function(){t.trigger("selectedinitialmedia")})}),this.masterPlaylistLoader_.on("loadedplaylist",function(){t.loadOnPlay_&&t.tech_.off("play",t.loadOnPlay_);var u=t.masterPlaylistLoader_.media();if(!u){t.excludeUnsupportedVariants_();var h;if(t.enableLowInitialPlaylist&&(h=t.selectInitialPlaylist()),h||(h=t.selectPlaylist()),!h||!t.shouldSwitchToMedia_(h))return;t.initialMedia_=h,t.switchMedia_(t.initialMedia_,"initial");var v=t.sourceType_==="vhs-json"&&t.initialMedia_.segments;if(!v)return;u=t.initialMedia_}t.handleUpdatedMediaPlaylist(u)}),this.masterPlaylistLoader_.on("error",function(){t.blacklistCurrentPlaylist(t.masterPlaylistLoader_.error)}),this.masterPlaylistLoader_.on("mediachanging",function(){t.mainSegmentLoader_.abort(),t.mainSegmentLoader_.pause()}),this.masterPlaylistLoader_.on("mediachange",function(){var u=t.masterPlaylistLoader_.media(),h=u.targetDuration*1.5*1e3;isLowestEnabledRendition(t.masterPlaylistLoader_.master,t.masterPlaylistLoader_.media())?t.requestOptions_.timeout=0:t.requestOptions_.timeout=h,t.masterPlaylistLoader_.load(),t.mainSegmentLoader_.playlist(u,t.requestOptions_),t.mainSegmentLoader_.load(),t.tech_.trigger({type:"mediachange",bubbles:!0})}),this.masterPlaylistLoader_.on("playlistunchanged",function(){var u=t.masterPlaylistLoader_.media();if(u.lastExcludeReason_!=="playlist-unchanged"){var h=t.stuckAtPlaylistEnd_(u);h&&(t.blacklistCurrentPlaylist({message:"Playlist no longer updating.",reason:"playlist-unchanged"}),t.tech_.trigger("playliststuck"))}}),this.masterPlaylistLoader_.on("renditiondisabled",function(){t.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),t.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})}),this.masterPlaylistLoader_.on("renditionenabled",function(){t.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),t.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})})},o.handleUpdatedMediaPlaylist=function(t){this.useCueTags_&&this.updateAdCues_(t),this.mainSegmentLoader_.playlist(t,this.requestOptions_),this.updateDuration(!t.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},o.triggerPresenceUsage_=function(t,u){var h=t.mediaGroups||{},v=!0,w=Object.keys(h.AUDIO);for(var A in h.AUDIO)for(var E in h.AUDIO[A]){var C=h.AUDIO[A][E];C.uri||(v=!1)}v&&(this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),this.tech_.trigger({type:"usage",name:"hls-demuxed"})),Object.keys(h.SUBTITLES).length&&(this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),this.tech_.trigger({type:"usage",name:"hls-webvtt"})),Vhs$1.Playlist.isAes(u)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),w.length&&Object.keys(h.AUDIO[w[0]]).length>1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},o.shouldSwitchToMedia_=function(t){var u=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,h=this.tech_.currentTime(),v=this.bufferLowWaterLine(),w=this.bufferHighWaterLine(),A=this.tech_.buffered();return shouldSwitchToMedia({buffered:A,currentTime:h,currentPlaylist:u,nextPlaylist:t,bufferLowWaterLine:v,bufferHighWaterLine:w,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},o.setupSegmentLoaderListeners_=function(){var t=this;this.mainSegmentLoader_.on("bandwidthupdate",function(){t.checkABR_("bandwidthupdate"),t.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("timeout",function(){t.experimentalBufferBasedABR&&t.mainSegmentLoader_.load()}),this.experimentalBufferBasedABR||this.mainSegmentLoader_.on("progress",function(){t.trigger("progress")}),this.mainSegmentLoader_.on("error",function(){t.blacklistCurrentPlaylist(t.mainSegmentLoader_.error())}),this.mainSegmentLoader_.on("appenderror",function(){t.error=t.mainSegmentLoader_.error_,t.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",function(){t.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",function(){t.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),t.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",function(){t.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",function(){t.error=t.audioSegmentLoader_.error_,t.trigger("error")}),this.mainSegmentLoader_.on("ended",function(){t.logger_("main segment loader ended"),t.onEndOfStream()}),this.mainSegmentLoader_.on("earlyabort",function(h){t.experimentalBufferBasedABR||(t.delegateLoaders_("all",["abort"]),t.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},ABORT_EARLY_BLACKLIST_SECONDS))});var u=function(){if(!t.sourceUpdater_.hasCreatedSourceBuffers())return t.tryToCreateSourceBuffers_();var v=t.getCodecsOrExclude_();v&&t.sourceUpdater_.addOrChangeSourceBuffers(v)};this.mainSegmentLoader_.on("trackinfo",u),this.audioSegmentLoader_.on("trackinfo",u),this.mainSegmentLoader_.on("fmp4",function(){t.triggeredFmp4Usage||(t.tech_.trigger({type:"usage",name:"vhs-fmp4"}),t.tech_.trigger({type:"usage",name:"hls-fmp4"}),t.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",function(){t.triggeredFmp4Usage||(t.tech_.trigger({type:"usage",name:"vhs-fmp4"}),t.tech_.trigger({type:"usage",name:"hls-fmp4"}),t.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",function(){t.logger_("audioSegmentLoader ended"),t.onEndOfStream()})},o.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},o.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},o.smoothQualityChange_=function(t){t===void 0&&(t=this.selectPlaylist()),this.fastQualityChange_(t)},o.fastQualityChange_=function(t){var u=this;if(t===void 0&&(t=this.selectPlaylist()),t===this.masterPlaylistLoader_.media()){this.logger_("skipping fastQualityChange because new media is same as old");return}this.switchMedia_(t,"fast-quality"),this.mainSegmentLoader_.resetEverything(function(){videojs.browser.IE_VERSION||videojs.browser.IS_EDGE?u.tech_.setCurrentTime(u.tech_.currentTime()+.04):u.tech_.setCurrentTime(u.tech_.currentTime())})},o.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var t=this.tech_.seekable();if(this.tech_.duration()===1/0&&this.tech_.currentTime()<t.start(0))return this.tech_.setCurrentTime(t.end(t.length-1))}},o.setupFirstPlay=function(){var t=this,u=this.masterPlaylistLoader_.media();if(!u||this.tech_.paused()||this.hasPlayed_)return!1;if(!u.endList){var h=this.seekable();if(!h.length)return!1;if(videojs.browser.IE_VERSION&&this.tech_.readyState()===0)return this.tech_.one("loadedmetadata",function(){t.trigger("firstplay"),t.tech_.setCurrentTime(h.end(0)),t.hasPlayed_=!0}),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(h.end(0))}return this.hasPlayed_=!0,this.load(),!0},o.handleSourceOpen_=function(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){var t=this.tech_.play();typeof t<"u"&&typeof t.then=="function"&&t.then(null,function(u){})}this.trigger("sourceopen")},o.handleSourceEnded_=function(){if(this.inbandTextTracks_.metadataTrack_){var t=this.inbandTextTracks_.metadataTrack_.cues;if(!(!t||!t.length)){var u=this.duration();t[t.length-1].endTime=isNaN(u)||Math.abs(u)===1/0?Number.MAX_VALUE:u}}},o.handleDurationChange_=function(){this.tech_.trigger("durationchange")},o.onEndOfStream=function(){var t=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){var u=this.mainSegmentLoader_.getCurrentMediaInfo_();!u||u.hasVideo?t=t&&this.audioSegmentLoader_.ended_:t=this.audioSegmentLoader_.ended_}t&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},o.stuckAtPlaylistEnd_=function(t){var u=this.seekable();if(!u.length)return!1;var h=this.syncController_.getExpiredTime(t,this.duration());if(h===null)return!1;var v=Vhs$1.Playlist.playlistEnd(t,h),w=this.tech_.currentTime(),A=this.tech_.buffered();if(!A.length)return v-w<=SAFE_TIME_DELTA;var E=A.end(A.length-1);return E-w<=SAFE_TIME_DELTA&&v-E<=SAFE_TIME_DELTA},o.blacklistCurrentPlaylist=function(t,u){t===void 0&&(t={});var h=t.playlist||this.masterPlaylistLoader_.media();if(u=u||t.blacklistDuration||this.blacklistDuration,!h){this.error=t,this.mediaSource.readyState!=="open"?this.trigger("error"):this.sourceUpdater_.endOfStream("network");return}h.playlistErrors_++;var v=this.masterPlaylistLoader_.master.playlists,w=v.filter(isEnabled),A=w.length===1&&w[0]===h;if(v.length===1&&u!==1/0)return videojs.log.warn("Problem encountered with playlist "+h.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(A);if(A){var E=!1;v.forEach(function(F){if(F!==h){var N=F.excludeUntil;typeof N<"u"&&N!==1/0&&(E=!0,delete F.excludeUntil)}}),E&&(videojs.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}var C;h.playlistErrors_>this.maxPlaylistRetries?C=1/0:C=Date.now()+u*1e3,h.excludeUntil=C,t.reason&&(h.lastExcludeReason_=t.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var M=this.selectPlaylist();if(!M){this.error="Playback cannot continue. No available working or supported playlists.",this.trigger("error");return}var P=t.internal?this.logger_:videojs.log.warn,I=t.message?" "+t.message:"";P((t.internal?"Internal problem":"Problem")+" encountered with playlist "+h.id+"."+(I+" Switching to playlist "+M.id+".")),M.attributes.AUDIO!==h.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),M.attributes.SUBTITLES!==h.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var j=M.targetDuration/2*1e3||5*1e3,B=typeof M.lastRequest=="number"&&Date.now()-M.lastRequest<=j;return this.switchMedia_(M,"exclude",A||B)},o.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},o.delegateLoaders_=function(t,u){var h=this,v=[],w=t==="all";(w||t==="main")&&v.push(this.masterPlaylistLoader_);var A=[];(w||t==="audio")&&A.push("AUDIO"),(w||t==="subtitle")&&(A.push("CLOSED-CAPTIONS"),A.push("SUBTITLES")),A.forEach(function(E){var C=h.mediaTypes_[E]&&h.mediaTypes_[E].activePlaylistLoader;C&&v.push(C)}),["main","audio","subtitle"].forEach(function(E){var C=h[E+"SegmentLoader_"];C&&(t===E||t==="all")&&v.push(C)}),v.forEach(function(E){return u.forEach(function(C){typeof E[C]=="function"&&E[C]()})})},o.setCurrentTime=function(t){var u=findRange(this.tech_.buffered(),t);if(!(this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media())||!this.masterPlaylistLoader_.media().segments)return 0;if(u&&u.length)return t;this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),this.load()},o.duration=function(){if(!this.masterPlaylistLoader_)return 0;var t=this.masterPlaylistLoader_.media();return t?t.endList?this.mediaSource?this.mediaSource.duration:Vhs$1.Playlist.duration(t):1/0:0},o.seekable=function(){return this.seekable_},o.onSyncInfoUpdate_=function(){var t;if(this.masterPlaylistLoader_){var u=this.masterPlaylistLoader_.media();if(u){var h=this.syncController_.getExpiredTime(u,this.duration());if(h!==null){var v=this.masterPlaylistLoader_.master,w=Vhs$1.Playlist.seekable(u,h,Vhs$1.Playlist.liveEdgeDelay(v,u));if(w.length!==0&&!(this.mediaTypes_.AUDIO.activePlaylistLoader&&(u=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),h=this.syncController_.getExpiredTime(u,this.duration()),h===null||(t=Vhs$1.Playlist.seekable(u,h,Vhs$1.Playlist.liveEdgeDelay(v,u)),t.length===0)))){var A,E;this.seekable_&&this.seekable_.length&&(A=this.seekable_.end(0),E=this.seekable_.start(0)),t?t.start(0)>w.end(0)||w.start(0)>t.end(0)?this.seekable_=w:this.seekable_=videojs.createTimeRanges([[t.start(0)>w.start(0)?t.start(0):w.start(0),t.end(0)<w.end(0)?t.end(0):w.end(0)]]):this.seekable_=w,!(this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===A&&this.seekable_.start(0)===E)&&(this.logger_("seekable updated ["+printableRange(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},o.updateDuration=function(t){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),this.mediaSource.readyState!=="open"){this.updateDuration_=this.updateDuration.bind(this,t),this.mediaSource.addEventListener("sourceopen",this.updateDuration_);return}if(t){var u=this.seekable();if(!u.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<u.end(u.length-1))&&this.sourceUpdater_.setDuration(u.end(u.length-1));return}var h=this.tech_.buffered(),v=Vhs$1.Playlist.duration(this.masterPlaylistLoader_.media());h.length>0&&(v=Math.max(v,h.end(h.length-1))),this.mediaSource.duration!==v&&this.sourceUpdater_.setDuration(v)},o.dispose=function(){var t=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach(function(u){var h=t.mediaTypes_[u].groups;for(var v in h)h[v].forEach(function(w){w.playlistLoader&&w.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},o.master=function(){return this.masterPlaylistLoader_.master},o.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},o.areMediaTypesKnown_=function(){var t=!!this.mediaTypes_.AUDIO.activePlaylistLoader,u=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),h=t?!!this.audioSegmentLoader_.getCurrentMediaInfo_():!0;return!(!u||!h)},o.getCodecsOrExclude_=function(){var t=this,u={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},h=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();u.video=u.main;var v=codecsForPlaylist(this.master(),h),w={},A=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(u.main.hasVideo&&(w.video=v.video||u.main.videoCodec||DEFAULT_VIDEO_CODEC),u.main.isMuxed&&(w.video+=","+(v.audio||u.main.audioCodec||DEFAULT_AUDIO_CODEC)),(u.main.hasAudio&&!u.main.isMuxed||u.audio.hasAudio||A)&&(w.audio=v.audio||u.main.audioCodec||u.audio.audioCodec||DEFAULT_AUDIO_CODEC,u.audio.isFmp4=u.main.hasAudio&&!u.main.isMuxed?u.main.isFmp4:u.audio.isFmp4),!w.audio&&!w.video){this.blacklistCurrentPlaylist({playlist:h,message:"Could not determine codecs for playlist.",blacklistDuration:1/0});return}var E=function(F,N){return F?browserSupportsCodec(N):muxerSupportsCodec(N)},C={},M;if(["video","audio"].forEach(function(B){if(w.hasOwnProperty(B)&&!E(u[B].isFmp4,w[B])){var F=u[B].isFmp4?"browser":"muxer";C[F]=C[F]||[],C[F].push(w[B]),B==="audio"&&(M=F)}}),A&&M&&h.attributes.AUDIO){var P=h.attributes.AUDIO;this.master().playlists.forEach(function(B){var F=B.attributes&&B.attributes.AUDIO;F===P&&B!==h&&(B.excludeUntil=1/0)}),this.logger_("excluding audio group "+P+" as "+M+' does not support codec(s): "'+w.audio+'"')}if(Object.keys(C).length){var I=Object.keys(C).reduce(function(B,F){return B&&(B+=", "),B+=F+' does not support codec(s): "'+C[F].join(",")+'"',B},"")+".";this.blacklistCurrentPlaylist({playlist:h,internal:!0,message:I,blacklistDuration:1/0});return}if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var j=[];if(["video","audio"].forEach(function(B){var F=(parseCodecs(t.sourceUpdater_.codecs[B]||"")[0]||{}).type,N=(parseCodecs(w[B]||"")[0]||{}).type;F&&N&&F.toLowerCase()!==N.toLowerCase()&&j.push('"'+t.sourceUpdater_.codecs[B]+'" -> "'+w[B]+'"')}),j.length){this.blacklistCurrentPlaylist({playlist:h,message:"Codec switching not supported: "+j.join(", ")+".",blacklistDuration:1/0,internal:!0});return}}return w},o.tryToCreateSourceBuffers_=function(){if(!(this.mediaSource.readyState!=="open"||this.sourceUpdater_.hasCreatedSourceBuffers())&&this.areMediaTypesKnown_()){var t=this.getCodecsOrExclude_();if(t){this.sourceUpdater_.createSourceBuffers(t);var u=[t.video,t.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(u)}}},o.excludeUnsupportedVariants_=function(){var t=this,u=this.master().playlists,h=[];Object.keys(u).forEach(function(v){var w=u[v];if(h.indexOf(w.id)===-1){h.push(w.id);var A=codecsForPlaylist(t.master,w),E=[];A.audio&&!muxerSupportsCodec(A.audio)&&!browserSupportsCodec(A.audio)&&E.push("audio codec "+A.audio),A.video&&!muxerSupportsCodec(A.video)&&!browserSupportsCodec(A.video)&&E.push("video codec "+A.video),A.text&&A.text==="stpp.ttml.im1t"&&E.push("text codec "+A.text),E.length&&(w.excludeUntil=1/0,t.logger_("excluding "+w.id+" for unsupported: "+E.join(", ")))}})},o.excludeIncompatibleVariants_=function(t){var u=this,h=[],v=this.master().playlists,w=unwrapCodecList(parseCodecs(t)),A=codecCount(w),E=w.video&&parseCodecs(w.video)[0]||null,C=w.audio&&parseCodecs(w.audio)[0]||null;Object.keys(v).forEach(function(M){var P=v[M];if(!(h.indexOf(P.id)!==-1||P.excludeUntil===1/0)){h.push(P.id);var I=[],j=codecsForPlaylist(u.masterPlaylistLoader_.master,P),B=codecCount(j);if(!(!j.audio&&!j.video)){if(B!==A&&I.push('codec count "'+B+'" !== "'+A+'"'),!u.sourceUpdater_.canChangeType()){var F=j.video&&parseCodecs(j.video)[0]||null,N=j.audio&&parseCodecs(j.audio)[0]||null;F&&E&&F.type.toLowerCase()!==E.type.toLowerCase()&&I.push('video codec "'+F.type+'" !== "'+E.type+'"'),N&&C&&N.type.toLowerCase()!==C.type.toLowerCase()&&I.push('audio codec "'+N.type+'" !== "'+C.type+'"')}I.length&&(P.excludeUntil=1/0,u.logger_("blacklisting "+P.id+": "+I.join(" && ")))}}})},o.updateAdCues_=function(t){var u=0,h=this.seekable();h.length&&(u=h.start(0)),updateAdCues(t,this.cueTagsTrack_,u)},o.goalBufferLength=function(){var t=this.tech_.currentTime(),u=Config.GOAL_BUFFER_LENGTH,h=Config.GOAL_BUFFER_LENGTH_RATE,v=Math.max(u,Config.MAX_GOAL_BUFFER_LENGTH);return Math.min(u+t*h,v)},o.bufferLowWaterLine=function(){var t=this.tech_.currentTime(),u=Config.BUFFER_LOW_WATER_LINE,h=Config.BUFFER_LOW_WATER_LINE_RATE,v=Math.max(u,Config.MAX_BUFFER_LOW_WATER_LINE),w=Math.max(u,Config.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(u+t*h,this.experimentalBufferBasedABR?w:v)},o.bufferHighWaterLine=function(){return Config.BUFFER_HIGH_WATER_LINE},e}(videojs.EventTarget),enableFunction=function(e,o,l){return function(t){var u=e.master.playlists[o],h=isIncompatible(u),v=isEnabled(u);return typeof t>"u"?v:(t?delete u.disabled:u.disabled=!0,t!==v&&!h&&(l(),t?e.trigger("renditionenabled"):e.trigger("renditiondisabled")),t)}},Representation=function(e,o,l){var t=e.masterPlaylistController_,u=e.options_.smoothQualityChange,h=u?"smooth":"fast",v=t[h+"QualityChange_"].bind(t);if(o.attributes){var w=o.attributes.RESOLUTION;this.width=w&&w.width,this.height=w&&w.height,this.bandwidth=o.attributes.BANDWIDTH,this.frameRate=o.attributes["FRAME-RATE"]}this.codecs=codecsForPlaylist(t.master(),o),this.playlist=o,this.id=l,this.enabled=enableFunction(e.playlists,o.id,v)},renditionSelectionMixin=function(e){e.representations=function(){var o=e.masterPlaylistController_.master(),l=isAudioOnly(o)?e.masterPlaylistController_.getAudioTrackPlaylists_():o.playlists;return l?l.filter(function(t){return!isIncompatible(t)}).map(function(t,u){return new Representation(e,t,t.id)}):[]}},timerCancelEvents=["seeking","seeked","pause","playing","error"],PlaybackWatcher=function(){function n(o){var l=this;this.masterPlaylistController_=o.masterPlaylistController,this.tech_=o.tech,this.seekable=o.seekable,this.allowSeeksWithinUnsafeLiveWindow=o.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=o.liveRangeSafeTimeDelta,this.media=o.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=logger("PlaybackWatcher"),this.logger_("initialize");var t=function(){return l.monitorCurrentTime_()},u=function(){return l.monitorCurrentTime_()},h=function(){return l.techWaiting_()},v=function(){return l.cancelTimer_()},w=this.masterPlaylistController_,A=["main","subtitle","audio"],E={};A.forEach(function(M){E[M]={reset:function(){return l.resetSegmentDownloads_(M)},updateend:function(){return l.checkSegmentDownloads_(M)}},w[M+"SegmentLoader_"].on("appendsdone",E[M].updateend),w[M+"SegmentLoader_"].on("playlistupdate",E[M].reset),l.tech_.on(["seeked","seeking"],E[M].reset)});var C=function(P){["main","audio"].forEach(function(I){w[I+"SegmentLoader_"][P]("appended",l.seekingAppendCheck_)})};this.seekingAppendCheck_=function(){l.fixesBadSeeks_()&&(l.consecutiveUpdates=0,l.lastRecordedTime=l.tech_.currentTime(),C("off"))},this.clearSeekingAppendCheck_=function(){return C("off")},this.watchForBadSeeking_=function(){l.clearSeekingAppendCheck_(),C("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",h),this.tech_.on(timerCancelEvents,v),this.tech_.on("canplay",u),this.tech_.one("play",t),this.dispose=function(){l.clearSeekingAppendCheck_(),l.logger_("dispose"),l.tech_.off("waiting",h),l.tech_.off(timerCancelEvents,v),l.tech_.off("canplay",u),l.tech_.off("play",t),l.tech_.off("seeking",l.watchForBadSeeking_),l.tech_.off("seeked",l.clearSeekingAppendCheck_),A.forEach(function(M){w[M+"SegmentLoader_"].off("appendsdone",E[M].updateend),w[M+"SegmentLoader_"].off("playlistupdate",E[M].reset),l.tech_.off(["seeked","seeking"],E[M].reset)}),l.checkCurrentTimeTimeout_&&window$1$1.clearTimeout(l.checkCurrentTimeTimeout_),l.cancelTimer_()}}var e=n.prototype;return e.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&window$1$1.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=window$1$1.setTimeout(this.monitorCurrentTime_.bind(this),250)},e.resetSegmentDownloads_=function(l){var t=this.masterPlaylistController_[l+"SegmentLoader_"];this[l+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+l+" loader"),this[l+"StalledDownloads_"]=0,this[l+"Buffered_"]=t.buffered_()},e.checkSegmentDownloads_=function(l){var t=this.masterPlaylistController_,u=t[l+"SegmentLoader_"],h=u.buffered_(),v=isRangeDifferent(this[l+"Buffered_"],h);if(this[l+"Buffered_"]=h,v){this.resetSegmentDownloads_(l);return}this[l+"StalledDownloads_"]++,this.logger_("found #"+this[l+"StalledDownloads_"]+" "+l+" appends that did not increase buffer (possible stalled download)",{playlistId:u.playlist_&&u.playlist_.id,buffered:timeRangesToArray(h)}),!(this[l+"StalledDownloads_"]<10)&&(this.logger_(l+" loader stalled download exclusion"),this.resetSegmentDownloads_(l),this.tech_.trigger({type:"usage",name:"vhs-"+l+"-download-exclusion"}),l!=="subtitle"&&t.blacklistCurrentPlaylist({message:"Excessive "+l+" segment downloading detected."},1/0))},e.checkCurrentTime_=function(){if(!(this.tech_.paused()||this.tech_.seeking())){var l=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===l&&(!t.length||l+SAFE_TIME_DELTA>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&l===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):l===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=l)}},e.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},e.fixesBadSeeks_=function(){var l=this.tech_.seeking();if(!l)return!1;var t=this.seekable(),u=this.tech_.currentTime(),h=this.afterSeekableWindow_(t,u,this.media(),this.allowSeeksWithinUnsafeLiveWindow),v;if(h){var w=t.end(t.length-1);v=w}if(this.beforeSeekableWindow_(t,u)){var A=t.start(0);v=A+(A===t.end(0)?0:SAFE_TIME_DELTA)}if(typeof v<"u")return this.logger_("Trying to seek outside of seekable at time "+u+" with "+("seekable range "+printableRange(t)+". Seeking to ")+(v+".")),this.tech_.setCurrentTime(v),!0;for(var E=this.masterPlaylistController_.sourceUpdater_,C=this.tech_.buffered(),M=E.audioBuffer?E.audioBuffered():null,P=E.videoBuffer?E.videoBuffered():null,I=this.media(),j=I.partTargetDuration?I.partTargetDuration:(I.targetDuration-TIME_FUDGE_FACTOR)*2,B=[M,P],F=0;F<B.length;F++)if(B[F]){var N=timeAheadOf(B[F],u);if(N<j)return!1}var ee=findNextRange(C,u);return ee.length===0?!1:(v=ee.start(0)+SAFE_TIME_DELTA,this.logger_("Buffered region starts ("+ee.start(0)+") "+(" just beyond seek point ("+u+"). Seeking to "+v+".")),this.tech_.setCurrentTime(v),!0)},e.waiting_=function(){if(!this.techWaiting_()){var l=this.tech_.currentTime(),t=this.tech_.buffered(),u=findRange(t,l);if(u.length&&l+3<=u.end(0)){this.cancelTimer_(),this.tech_.setCurrentTime(l),this.logger_("Stopped at "+l+" while inside a buffered region "+("["+u.start(0)+" -> "+u.end(0)+"]. Attempting to resume ")+"playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"});return}}},e.techWaiting_=function(){var l=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()||this.timer_!==null)return!0;if(this.beforeSeekableWindow_(l,t)){var u=l.end(l.length-1);return this.logger_("Fell out of live window at time "+t+". Seeking to "+("live point (seekable end) "+u)),this.cancelTimer_(),this.tech_.setCurrentTime(u),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var h=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,v=this.tech_.buffered(),w=this.videoUnderflow_({audioBuffered:h.audioBuffered(),videoBuffered:h.videoBuffered(),currentTime:t});if(w)return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var A=findNextRange(v,t);if(A.length>0){var E=A.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+E+", seeking "+("to "+A.start(0))),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),E*1e3,t),!0}return!1},e.afterSeekableWindow_=function(l,t,u,h){if(h===void 0&&(h=!1),!l.length)return!1;var v=l.end(l.length-1)+SAFE_TIME_DELTA,w=!u.endList;return w&&h&&(v=l.end(l.length-1)+u.targetDuration*3),t>v},e.beforeSeekableWindow_=function(l,t){return!!(l.length&&l.start(0)>0&&t<l.start(0)-this.liveRangeSafeTimeDelta)},e.videoUnderflow_=function(l){var t=l.videoBuffered,u=l.audioBuffered,h=l.currentTime;if(t){var v;if(t.length&&u.length){var w=findRange(t,h-3),A=findRange(t,h),E=findRange(u,h);E.length&&!A.length&&w.length&&(v={start:w.end(0),end:E.end(0)})}else{var C=findNextRange(t,h);C.length||(v=this.gapFromVideoUnderflow_(t,h))}return v?(this.logger_("Encountered a gap in video from "+v.start+" to "+v.end+". "+("Seeking to current time "+h)),!0):!1}},e.skipTheGap_=function(l){var t=this.tech_.buffered(),u=this.tech_.currentTime(),h=findNextRange(t,u);this.cancelTimer_(),!(h.length===0||u!==l)&&(this.logger_("skipTheGap_:","currentTime:",u,"scheduled currentTime:",l,"nextRange start:",h.start(0)),this.tech_.setCurrentTime(h.start(0)+TIME_FUDGE_FACTOR),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))},e.gapFromVideoUnderflow_=function(l,t){for(var u=findGaps(l),h=0;h<u.length;h++){var v=u.start(h),w=u.end(h);if(t-v<4&&t-v>2)return{start:v,end:w}}return null},n}(),defaultOptions$1={errorInterval:30,getSource:function(e){var o=this.tech({IWillNotUseThisInPlugins:!0}),l=o.currentSource_||this.currentSource();return e(l)}},initPlugin=function n(e,o){var l=0,t=0,u=videojs.mergeOptions(defaultOptions$1,o);e.ready(function(){e.trigger({type:"usage",name:"vhs-error-reload-initialized"}),e.trigger({type:"usage",name:"hls-error-reload-initialized"})});var h=function(){t&&e.currentTime(t)},v=function(M){M!=null&&(t=e.duration()!==1/0&&e.currentTime()||0,e.one("loadedmetadata",h),e.src(M),e.trigger({type:"usage",name:"vhs-error-reload"}),e.trigger({type:"usage",name:"hls-error-reload"}),e.play())},w=function(){if(Date.now()-l<u.errorInterval*1e3){e.trigger({type:"usage",name:"vhs-error-reload-canceled"}),e.trigger({type:"usage",name:"hls-error-reload-canceled"});return}if(!u.getSource||typeof u.getSource!="function"){videojs.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return l=Date.now(),u.getSource.call(e,v)},A=function C(){e.off("loadedmetadata",h),e.off("error",w),e.off("dispose",C)},E=function(M){A(),n(e,M)};e.on("error",w),e.on("dispose",A),e.reloadSourceOnError=E},reloadSourceOnError=function(e){initPlugin(this,e)},version$4="2.16.3",version$3="6.0.1",version$2$1="0.22.1",version$1$1="4.8.0",version$6="3.1.3",Vhs={PlaylistLoader,Playlist,utils:utils$r,STANDARD_PLAYLIST_SELECTOR:lastBandwidthSelector,INITIAL_PLAYLIST_SELECTOR:lowestBitrateCompatibleVariantSelector,lastBandwidthSelector,movingAverageBandwidthSelector,comparePlaylistBandwidth,comparePlaylistResolution,xhr:xhrFactory()};Object.keys(Config).forEach(function(n){Object.defineProperty(Vhs,n,{get:function(){return videojs.log.warn("using Vhs."+n+" is UNSAFE be sure you know what you are doing"),Config[n]},set:function(o){if(videojs.log.warn("using Vhs."+n+" is UNSAFE be sure you know what you are doing"),typeof o!="number"||o<0){videojs.log.warn("value of Vhs."+n+" must be greater than or equal to 0");return}Config[n]=o}})});var LOCAL_STORAGE_KEY="videojs-vhs",handleVhsMediaChange=function(e,o){for(var l=o.media(),t=-1,u=0;u<e.length;u++)if(e[u].id===l.id){t=u;break}e.selectedIndex_=t,e.trigger({selectedIndex:t,type:"change"})},handleVhsLoadedMetadata=function(e,o){o.representations().forEach(function(l){e.addQualityLevel(l)}),handleVhsMediaChange(e,o.playlists)};Vhs.canPlaySource=function(){return videojs.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var emeKeySystems=function(e,o,l){if(!e)return e;var t={};o&&o.attributes&&o.attributes.CODECS&&(t=unwrapCodecList(parseCodecs(o.attributes.CODECS))),l&&l.attributes&&l.attributes.CODECS&&(t.audio=l.attributes.CODECS);var u=getMimeForCodec(t.video),h=getMimeForCodec(t.audio),v={};for(var w in e)v[w]={},h&&(v[w].audioContentType=h),u&&(v[w].videoContentType=u),o.contentProtection&&o.contentProtection[w]&&o.contentProtection[w].pssh&&(v[w].pssh=o.contentProtection[w].pssh),typeof e[w]=="string"&&(v[w].url=e[w]);return videojs.mergeOptions(e,v)},getAllPsshKeySystemsOptions=function(e,o){return e.reduce(function(l,t){if(!t.contentProtection)return l;var u=o.reduce(function(h,v){var w=t.contentProtection[v];return w&&w.pssh&&(h[v]={pssh:w.pssh}),h},{});return Object.keys(u).length&&l.push(u),l},[])},waitForKeySessionCreation=function(e){var o=e.player,l=e.sourceKeySystems,t=e.audioMedia,u=e.mainPlaylists;if(!o.eme.initializeMediaKeys)return Promise.resolve();var h=t?u.concat([t]):u,v=getAllPsshKeySystemsOptions(h,Object.keys(l)),w=[],A=[];return v.forEach(function(E){A.push(new Promise(function(C,M){o.tech_.one("keysessioncreated",C)})),w.push(new Promise(function(C,M){o.eme.initializeMediaKeys({keySystems:E},function(P){if(P){M(P);return}C()})}))}),Promise.race([Promise.all(w),Promise.race(A)])},setupEmeOptions=function(e){var o=e.player,l=e.sourceKeySystems,t=e.media,u=e.audioMedia,h=emeKeySystems(l,t,u);return h?(o.currentSource().keySystems=h,h&&!o.eme?(videojs.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1):!0):!1},getVhsLocalStorage=function(){if(!window$1$1.localStorage)return null;var e=window$1$1.localStorage.getItem(LOCAL_STORAGE_KEY);if(!e)return null;try{return JSON.parse(e)}catch{return null}},updateVhsLocalStorage=function(e){if(!window$1$1.localStorage)return!1;var o=getVhsLocalStorage();o=o?videojs.mergeOptions(o,e):e;try{window$1$1.localStorage.setItem(LOCAL_STORAGE_KEY,JSON.stringify(o))}catch{return!1}return o},expandDataUri=function(e){return e.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")===0?JSON.parse(e.substring(e.indexOf(",")+1)):e};Vhs.supportsNativeHls=function(){if(!document$2||!document$2.createElement)return!1;var n=document$2.createElement("video");if(!videojs.getTech("Html5").isSupported())return!1;var e=["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"];return e.some(function(o){return/maybe|probably/i.test(n.canPlayType(o))})}(),Vhs.supportsNativeDash=function(){return!document$2||!document$2.createElement||!videojs.getTech("Html5").isSupported()?!1:/maybe|probably/i.test(document$2.createElement("video").canPlayType("application/dash+xml"))}(),Vhs.supportsTypeNatively=function(n){return n==="hls"?Vhs.supportsNativeHls:n==="dash"?Vhs.supportsNativeDash:!1},Vhs.isSupported=function(){return videojs.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Component=videojs.getComponent("Component"),VhsHandler=function(n){_inheritsLoose(e,n);function e(l,t,u){var h;if(h=n.call(this,t,videojs.mergeOptions(u.hls,u.vhs))||this,u.hls&&Object.keys(u.hls).length&&videojs.log.warn("Using hls options is deprecated. Please rename `hls` to `vhs` in your options object."),typeof u.initialBandwidth=="number"&&(h.options_.bandwidth=u.initialBandwidth),h.logger_=logger("VhsHandler"),t.options_&&t.options_.playerId){var v=videojs(t.options_.playerId);v.hasOwnProperty("hls")||Object.defineProperty(v,"hls",{get:function(){return videojs.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),t.trigger({type:"usage",name:"hls-player-access"}),_assertThisInitialized$1(h)},configurable:!0}),v.hasOwnProperty("vhs")||Object.defineProperty(v,"vhs",{get:function(){return videojs.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),t.trigger({type:"usage",name:"vhs-player-access"}),_assertThisInitialized$1(h)},configurable:!0}),v.hasOwnProperty("dash")||Object.defineProperty(v,"dash",{get:function(){return videojs.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),_assertThisInitialized$1(h)},configurable:!0}),h.player_=v}if(h.tech_=t,h.source_=l,h.stats={},h.ignoreNextSeekingEvent_=!1,h.setOptions_(),h.options_.overrideNative&&t.overrideNativeAudioTracks&&t.overrideNativeVideoTracks)t.overrideNativeAudioTracks(!0),t.overrideNativeVideoTracks(!0);else if(h.options_.overrideNative&&(t.featuresNativeVideoTracks||t.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return h.on(document$2,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(w){var A=document$2.fullscreenElement||document$2.webkitFullscreenElement||document$2.mozFullScreenElement||document$2.msFullscreenElement;A&&A.contains(h.tech_.el())?h.masterPlaylistController_.fastQualityChange_():h.masterPlaylistController_.checkABR_()}),h.on(h.tech_,"seeking",function(){if(this.ignoreNextSeekingEvent_){this.ignoreNextSeekingEvent_=!1;return}this.setCurrentTime(this.tech_.currentTime())}),h.on(h.tech_,"error",function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()}),h.on(h.tech_,"play",h.play),h}var o=e.prototype;return o.setOptions_=function(){var t=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=this.options_.handleManifestRedirects!==!1,this.options_.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions!==!1,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage=typeof this.source_.useBandwidthFromLocalStorage<"u"?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,typeof this.options_.blacklistDuration!="number"&&(this.options_.blacklistDuration=5*60),typeof this.options_.bandwidth!="number"&&this.options_.useBandwidthFromLocalStorage){var u=getVhsLocalStorage();u&&u.bandwidth&&(this.options_.bandwidth=u.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),u&&u.throughput&&(this.options_.throughput=u.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-throughput-from-local-storage"}))}typeof this.options_.bandwidth!="number"&&(this.options_.bandwidth=Config.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Config.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","experimentalBufferBasedABR","liveRangeSafeTimeDelta","experimentalLLHLS","useNetworkInformationApi","useDtsForTimestampOffset","experimentalExactManifestTimings","experimentalLeastPixelDiffSelector"].forEach(function(h){typeof t.source_[h]<"u"&&(t.options_[h]=t.source_[h])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},o.src=function(t,u){var h=this;if(t){this.setOptions_(),this.options_.src=expandDataUri(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=Vhs,this.options_.sourceType=simpleTypeFromSourceType(u),this.options_.seekTo=function(A){h.tech_.setCurrentTime(A)},this.options_.smoothQualityChange&&videojs.log.warn("smoothQualityChange is deprecated and will be removed in the next major version"),this.masterPlaylistController_=new MasterPlaylistController(this.options_);var v=videojs.mergeOptions({liveRangeSafeTimeDelta:SAFE_TIME_DELTA},this.options_,{seekable:function(){return h.seekable()},media:function(){return h.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_});this.playbackWatcher_=new PlaybackWatcher(v),this.masterPlaylistController_.on("error",function(){var A=videojs.players[h.tech_.options_.playerId],E=h.masterPlaylistController_.error;typeof E=="object"&&!E.code?E.code=3:typeof E=="string"&&(E={message:E,code:3}),A.error(E)});var w=this.options_.experimentalBufferBasedABR?Vhs.movingAverageBandwidthSelector(.55):Vhs.STANDARD_PLAYLIST_SELECTOR;this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):w.bind(this),this.masterPlaylistController_.selectInitialPlaylist=Vhs.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(E){this.masterPlaylistController_.selectPlaylist=E.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(E){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=E,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){var E=this.masterPlaylistController_.mainSegmentLoader_.bandwidth,C=window$1$1.navigator.connection||window$1$1.navigator.mozConnection||window$1$1.navigator.webkitConnection,M=1e7;if(this.options_.useNetworkInformationApi&&C){var P=C.downlink*1e3*1e3;P>=M&&E>=M?E=Math.max(E,P):E=P}return E},set:function(E){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=E,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var E=1/(this.bandwidth||1),C;this.throughput>0?C=1/this.throughput:C=0;var M=Math.floor(1/(E+C));return M},set:function(){videojs.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return h.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return h.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return h.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return h.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return h.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return h.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return h.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return h.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return h.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return h.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return h.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return h.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return h.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return timeRangesToArray(h.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return h.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return h.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return h.tech_.name_},enumerable:!0},duration:{get:function(){return h.tech_.duration()},enumerable:!0},master:{get:function(){return h.playlists.master},enumerable:!0},playerDimensions:{get:function(){return h.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return timeRangesToArray(h.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return h.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",function(){h.options_.useBandwidthFromLocalStorage&&updateVhsLocalStorage({bandwidth:h.bandwidth,throughput:Math.round(h.throughput)})}),this.masterPlaylistController_.on("selectedinitialmedia",function(){renditionSelectionMixin(h)}),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",function(){h.setupEme_()}),this.on(this.masterPlaylistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.masterPlaylistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=window$1$1.URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},o.createKeySessions_=function(){var t=this,u=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),waitForKeySessionCreation({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:u&&u.media(),mainPlaylists:this.playlists.master.playlists}).then(function(){t.logger_("created EME key session"),t.masterPlaylistController_.sourceUpdater_.initializedEme()}).catch(function(h){t.logger_("error while creating EME key session",h),t.player_.error({message:"Failed to initialize media keys for EME",code:3})})},o.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},o.setupEme_=function(){var t=this,u=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,h=setupEmeOptions({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:u&&u.media()});if(this.player_.tech_.on("keystatuschange",function(v){if(v.status==="output-restricted"){var w=t.masterPlaylistController_.master();if(!(!w||!w.playlists)){var A=[];if(w.playlists.forEach(function(C){C&&C.attributes&&C.attributes.RESOLUTION&&C.attributes.RESOLUTION.height>=720&&(!C.excludeUntil||C.excludeUntil<1/0)&&(C.excludeUntil=1/0,A.push(C))}),A.length){var E;(E=videojs.log).warn.apply(E,['DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(A)),t.masterPlaylistController_.fastQualityChange_()}}}}),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),videojs.browser.IE_VERSION===11||!h){this.masterPlaylistController_.sourceUpdater_.initializedEme();return}this.createKeySessions_()},o.setupQualityLevels_=function(){var t=this,u=videojs.players[this.tech_.options_.playerId];!u||!u.qualityLevels||this.qualityLevels_||(this.qualityLevels_=u.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",function(){handleVhsLoadedMetadata(t.qualityLevels_,t)}),this.playlists.on("mediachange",function(){handleVhsMediaChange(t.qualityLevels_,t.playlists)}))},e.version=function(){return{"@videojs/http-streaming":version$4,"mux.js":version$3,"mpd-parser":version$2$1,"m3u8-parser":version$1$1,"aes-decrypter":version$6}},o.version=function(){return this.constructor.version()},o.canChangeType=function(){return SourceUpdater.canChangeType()},o.play=function(){this.masterPlaylistController_.play()},o.setCurrentTime=function(t){this.masterPlaylistController_.setCurrentTime(t)},o.duration=function(){return this.masterPlaylistController_.duration()},o.seekable=function(){return this.masterPlaylistController_.seekable()},o.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&window$1$1.URL.revokeObjectURL&&(window$1$1.URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),n.prototype.dispose.call(this)},o.convertToProgramTime=function(t,u){return getProgramTime({playlist:this.masterPlaylistController_.media(),time:t,callback:u})},o.seekToProgramTime=function(t,u,h,v){return h===void 0&&(h=!0),v===void 0&&(v=2),seekToProgramTime({programTime:t,playlist:this.masterPlaylistController_.media(),retryCount:v,pauseAfterSeek:h,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:u})},e}(Component),VhsSourceHandler={name:"videojs-http-streaming",VERSION:version$4,canHandleSource:function(e,o){o===void 0&&(o={});var l=videojs.mergeOptions(videojs.options,o);return VhsSourceHandler.canPlayType(e.type,l)},handleSource:function(e,o,l){l===void 0&&(l={});var t=videojs.mergeOptions(videojs.options,l);return o.vhs=new VhsHandler(e,o,t),videojs.hasOwnProperty("hls")||Object.defineProperty(o,"hls",{get:function(){return videojs.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),o.vhs},configurable:!0}),o.vhs.xhr=xhrFactory(),o.vhs.src(e.src,e.type),o.vhs},canPlayType:function(e,o){var l=simpleTypeFromSourceType(e);if(!l)return"";var t=VhsSourceHandler.getOverrideNative(o),u=Vhs.supportsTypeNatively(l),h=!u||t;return h?"maybe":""},getOverrideNative:function(e){e===void 0&&(e={});var o=e,l=o.vhs,t=l===void 0?{}:l,u=o.hls,h=u===void 0?{}:u,v=!(videojs.browser.IS_ANY_SAFARI||videojs.browser.IS_IOS),w=t.overrideNative,A=w===void 0?v:w,E=h.overrideNative,C=E===void 0?!1:E;return C||A}},supportsNativeMediaSources=function(){return browserSupportsCodec("avc1.4d400d,mp4a.40.2")};if(supportsNativeMediaSources()&&videojs.getTech("Html5").registerSourceHandler(VhsSourceHandler,0),videojs.VhsHandler=VhsHandler,Object.defineProperty(videojs,"HlsHandler",{get:function(){return videojs.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),VhsHandler},configurable:!0}),videojs.VhsSourceHandler=VhsSourceHandler,Object.defineProperty(videojs,"HlsSourceHandler",{get:function(){return videojs.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),VhsSourceHandler},configurable:!0}),videojs.Vhs=Vhs,Object.defineProperty(videojs,"Hls",{get:function(){return videojs.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),Vhs},configurable:!0}),videojs.use||(videojs.registerComponent("Hls",Vhs),videojs.registerComponent("Vhs",Vhs)),videojs.options.vhs=videojs.options.vhs||{},videojs.options.hls=videojs.options.hls||{},!videojs.getPlugin||!videojs.getPlugin("reloadSourceOnError")){var registerPlugin=videojs.registerPlugin||videojs.plugin;registerPlugin("reloadSourceOnError",reloadSourceOnError)}const video_es=Object.freeze(Object.defineProperty({__proto__:null,default:videojs},Symbol.toStringTag,{value:"Module"})),require$$0$5=getAugmentedNamespace(video_es);(function(n,e){(function(o,l){{var t=require$$0$5;n.exports=l(t.default||t)}})(commonjsGlobal$1,function(o){var l=o.browser.IS_IOS||o.browser.IS_NATIVE_ANDROID,t=o.getTech("Tech");class u extends t{constructor(E,C){super(E,C),this.setPoster(E.poster),this.setSrc(this.options_.source,!0),this.setTimeout((function(){this.el_&&(this.el_.parentNode.className+=" vjs-youtube",l&&(this.el_.parentNode.className+=" vjs-youtube-mobile"),u.isApiReady?this.initYTPlayer():u.apiReadyQueue.push(this))}).bind(this))}dispose(){if(this.ytPlayer)this.ytPlayer.stopVideo&&this.ytPlayer.stopVideo(),this.ytPlayer.destroy&&this.ytPlayer.destroy();else{var E=u.apiReadyQueue.indexOf(this);E!==-1&&u.apiReadyQueue.splice(E,1)}this.ytPlayer=null,this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-youtube","").replace(" vjs-youtube-mobile",""),this.el_.parentNode.removeChild(this.el_),t.prototype.dispose.call(this)}createEl(){var E=document.createElement("div");E.setAttribute("id",this.options_.techId),E.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute"),E.setAttribute("class","vjs-tech");var C=document.createElement("div");if(C.appendChild(E),!l&&!this.options_.ytControls){var M=document.createElement("div");M.setAttribute("class","vjs-iframe-blocker"),M.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),M.onclick=(function(){this.pause()}).bind(this),C.appendChild(M)}return C}initYTPlayer(){var E={controls:0,modestbranding:1,rel:0,showinfo:0,loop:this.options_.loop?1:0};if(typeof this.options_.autohide<"u"&&(E.autohide=this.options_.autohide),typeof this.options_.cc_load_policy<"u"&&(E.cc_load_policy=this.options_.cc_load_policy),typeof this.options_.ytControls<"u"&&(E.controls=this.options_.ytControls),typeof this.options_.disablekb<"u"&&(E.disablekb=this.options_.disablekb),typeof this.options_.color<"u"&&(E.color=this.options_.color),E.controls?typeof this.options_.fs<"u"&&(E.fs=this.options_.fs):E.fs=0,this.options_.source.src.indexOf("end=")!==-1){var C=this.options_.source.src.match(/end=([0-9]*)/);this.options_.end=parseInt(C[1])}if(typeof this.options_.end<"u"&&(E.end=this.options_.end),typeof this.options_.hl<"u"?E.hl=this.options_.hl:typeof this.options_.language<"u"&&(E.hl=this.options_.language.substr(0,2)),typeof this.options_.iv_load_policy<"u"&&(E.iv_load_policy=this.options_.iv_load_policy),typeof this.options_.list<"u"?E.list=this.options_.list:this.url&&typeof this.url.listId<"u"&&(E.list=this.url.listId),typeof this.options_.listType<"u"&&(E.listType=this.options_.listType),typeof this.options_.modestbranding<"u"&&(E.modestbranding=this.options_.modestbranding),typeof this.options_.playlist<"u"&&(E.playlist=this.options_.playlist),typeof this.options_.playsinline<"u"&&(E.playsinline=this.options_.playsinline),typeof this.options_.rel<"u"&&(E.rel=this.options_.rel),typeof this.options_.showinfo<"u"&&(E.showinfo=this.options_.showinfo),this.options_.source.src.indexOf("start=")!==-1){var M=this.options_.source.src.match(/start=([0-9]*)/);this.options_.start=parseInt(M[1])}if(typeof this.options_.start<"u"&&(E.start=this.options_.start),typeof this.options_.theme<"u"&&(E.theme=this.options_.theme),typeof this.options_.customVars<"u"){var P=this.options_.customVars;Object.keys(P).forEach(function(j){E[j]=P[j]})}this.activeVideoId=this.url?this.url.videoId:null,this.activeList=E.list;var I={videoId:this.activeVideoId,playerVars:E,events:{onReady:this.onPlayerReady.bind(this),onPlaybackQualityChange:this.onPlayerPlaybackQualityChange.bind(this),onPlaybackRateChange:this.onPlayerPlaybackRateChange.bind(this),onStateChange:this.onPlayerStateChange.bind(this),onVolumeChange:this.onPlayerVolumeChange.bind(this),onError:this.onPlayerError.bind(this)}};typeof this.options_.enablePrivacyEnhancedMode<"u"&&this.options_.enablePrivacyEnhancedMode&&(I.host="https://www.youtube-nocookie.com"),this.ytPlayer=new YT.Player(this.options_.techId,I)}onPlayerReady(){this.options_.muted&&this.ytPlayer.mute();var E=this.ytPlayer.getAvailablePlaybackRates();E.length>1&&(this.featuresPlaybackRate=!0),this.playerReady_=!0,this.triggerReady(),this.playOnReady?this.play():this.cueOnReady&&(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)}onPlayerPlaybackQualityChange(){}onPlayerPlaybackRateChange(){this.trigger("ratechange")}onPlayerStateChange(E){var C=E.data;if(!(C===this.lastState||this.errorNumber))switch(this.lastState=C,C){case-1:this.trigger("loadstart"),this.trigger("loadedmetadata"),this.trigger("durationchange"),this.trigger("ratechange");break;case YT.PlayerState.ENDED:this.trigger("ended");break;case YT.PlayerState.PLAYING:this.trigger("timeupdate"),this.trigger("durationchange"),this.trigger("playing"),this.trigger("play"),this.isSeeking&&this.onSeeked();break;case YT.PlayerState.PAUSED:this.trigger("canplay"),this.isSeeking?this.onSeeked():this.trigger("pause");break;case YT.PlayerState.BUFFERING:this.player_.trigger("timeupdate"),this.player_.trigger("waiting");break}}onPlayerVolumeChange(){this.trigger("volumechange")}onPlayerError(E){this.errorNumber=E.data,this.trigger("pause"),this.trigger("error")}error(){var E=1e3+this.errorNumber;switch(this.errorNumber){case 5:return{code:E,message:"Error while trying to play the video"};case 2:case 100:return{code:E,message:"Unable to find the video"};case 101:case 150:return{code:E,message:"Playback on other Websites has been disabled by the video owner."}}return{code:E,message:"YouTube unknown error ("+this.errorNumber+")"}}loadVideoById_(E){var C={videoId:E};this.options_.start&&(C.startSeconds=this.options_.start),this.options_.end&&(C.endSeconds=this.options_.end),this.ytPlayer.loadVideoById(C)}cueVideoById_(E){var C={videoId:E};this.options_.start&&(C.startSeconds=this.options_.start),this.options_.end&&(C.endSeconds=this.options_.end),this.ytPlayer.cueVideoById(C)}src(E){return E&&this.setSrc({src:E}),this.source}poster(){return l?null:this.poster_}setPoster(E){this.poster_=E}setSrc(E){!E||!E.src||(delete this.errorNumber,this.source=E,this.url=u.parseUrl(E.src),this.options_.poster||this.url.videoId&&(this.poster_="https://img.youtube.com/vi/"+this.url.videoId+"/0.jpg",this.trigger("posterchange"),this.checkHighResPoster()),this.options_.autoplay&&!l?this.isReady_?this.play():this.playOnReady=!0:this.activeVideoId!==this.url.videoId&&(this.isReady_?(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId):this.cueOnReady=!0))}autoplay(){return this.options_.autoplay}setAutoplay(E){this.options_.autoplay=E}loop(){return this.options_.loop}setLoop(E){this.options_.loop=E}play(){!this.url||!this.url.videoId||(this.wasPausedBeforeSeek=!1,this.isReady_?(this.url.listId&&(this.activeList===this.url.listId?this.ytPlayer.playVideo():(this.ytPlayer.loadPlaylist(this.url.listId),this.activeList=this.url.listId)),this.activeVideoId===this.url.videoId?this.ytPlayer.playVideo():(this.loadVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)):(this.trigger("waiting"),this.playOnReady=!0))}pause(){this.ytPlayer&&this.ytPlayer.pauseVideo()}paused(){return this.ytPlayer?this.lastState!==YT.PlayerState.PLAYING&&this.lastState!==YT.PlayerState.BUFFERING:!0}currentTime(){return this.ytPlayer?this.ytPlayer.getCurrentTime():0}setCurrentTime(E){this.lastState===YT.PlayerState.PAUSED&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.ytPlayer.seekTo(E,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===YT.PlayerState.PAUSED&&this.timeBeforeSeek!==E&&(clearInterval(this.checkSeekedInPauseInterval),this.checkSeekedInPauseInterval=setInterval((function(){this.lastState!==YT.PlayerState.PAUSED||!this.isSeeking?clearInterval(this.checkSeekedInPauseInterval):this.currentTime()!==this.timeBeforeSeek&&(this.trigger("timeupdate"),this.onSeeked())}).bind(this),250))}seeking(){return this.isSeeking}seekable(){return this.ytPlayer?o.createTimeRange(0,this.ytPlayer.getDuration()):o.createTimeRange()}onSeeked(){clearInterval(this.checkSeekedInPauseInterval),this.isSeeking=!1,this.wasPausedBeforeSeek&&this.pause(),this.trigger("seeked")}playbackRate(){return this.ytPlayer?this.ytPlayer.getPlaybackRate():1}setPlaybackRate(E){this.ytPlayer&&this.ytPlayer.setPlaybackRate(E)}duration(){return this.ytPlayer?this.ytPlayer.getDuration():0}currentSrc(){return this.source&&this.source.src}ended(){return this.ytPlayer?this.lastState===YT.PlayerState.ENDED:!1}volume(){return this.ytPlayer?this.ytPlayer.getVolume()/100:1}setVolume(E){this.ytPlayer&&this.ytPlayer.setVolume(E*100)}muted(){return this.ytPlayer?this.ytPlayer.isMuted():!1}setMuted(E){if(this.ytPlayer)this.muted(!0);else return;E?this.ytPlayer.mute():this.ytPlayer.unMute(),this.setTimeout(function(){this.trigger("volumechange")},50)}buffered(){if(!this.ytPlayer||!this.ytPlayer.getVideoLoadedFraction)return o.createTimeRange();var E=this.ytPlayer.getVideoLoadedFraction()*this.ytPlayer.getDuration();return o.createTimeRange(0,E)}preload(){}load(){}reset(){}networkState(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 3:return 2;default:return 1}}readyState(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 5:return 1;case 3:return 2;default:return 4}}supportsFullScreen(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled}checkHighResPoster(){var E="https://img.youtube.com/vi/"+this.url.videoId+"/maxresdefault.jpg";try{var C=new Image;C.onload=(function(){if("naturalHeight"in C){if(C.naturalHeight<=90||C.naturalWidth<=120)return}else if(C.height<=90||C.width<=120)return;this.poster_=E,this.trigger("posterchange")}).bind(this),C.onerror=function(){},C.src=E}catch{}}}u.isSupported=function(){return!0},u.canPlaySource=function(A){return u.canPlayType(A.type)},u.canPlayType=function(A){return A==="video/youtube"},u.parseUrl=function(A){var E={videoId:null},C=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,M=A.match(C);M&&M[2].length===11&&(E.videoId=M[2]);var P=/[?&]list=([^#\&\?]+)/;return M=A.match(P),M&&M[1]&&(E.listId=M[1]),E};function h(){YT.ready(function(){u.isApiReady=!0;for(var A=0;A<u.apiReadyQueue.length;++A)u.apiReadyQueue[A].initYTPlayer()})}function v(A,E){var C=!1,M=document.createElement("script"),P=document.getElementsByTagName("script")[0];P&&(P.parentNode.insertBefore(M,P),M.onload=function(){C||(C=!0,E())},M.onreadystatechange=function(){!C&&(this.readyState==="complete"||this.readyState==="loaded")&&(C=!0,E())},M.src=A)}function w(){var A=".vjs-youtube .vjs-iframe-blocker { display: none; }.vjs-youtube.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-youtube .vjs-poster { background-size: cover; }.vjs-youtube-mobile .vjs-big-play-button { display: none; }",E=document.head||document.getElementsByTagName("head")[0],C=document.createElement("style");C.type="text/css",C.styleSheet?C.styleSheet.cssText=A:C.appendChild(document.createTextNode(A)),E.appendChild(C)}u.apiReadyQueue=[],typeof document<"u"&&(v("https://www.youtube.com/iframe_api",h),w()),typeof o.registerTech<"u"?o.registerTech("Youtube",u):o.registerComponent("Youtube",u)})})(Youtube);/*! @vimeo/player v2.24.0 | (c) 2024 Vimeo | MIT License | https://github.com/vimeo/player.js */function ownKeys(n,e){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);e&&(l=l.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),o.push.apply(o,l)}return o}function _objectSpread2(n){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?ownKeys(Object(o),!0).forEach(function(l){_defineProperty(n,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(o,l))})}return n}function _regeneratorRuntime(){_regeneratorRuntime=function(){return n};var n={},e=Object.prototype,o=e.hasOwnProperty,l=Object.defineProperty||function(p,y,S){p[y]=S.value},t=typeof Symbol=="function"?Symbol:{},u=t.iterator||"@@iterator",h=t.asyncIterator||"@@asyncIterator",v=t.toStringTag||"@@toStringTag";function w(p,y,S){return Object.defineProperty(p,y,{value:S,enumerable:!0,configurable:!0,writable:!0}),p[y]}try{w({},"")}catch{w=function(y,S,c){return y[S]=c}}function A(p,y,S,c){var m=y&&y.prototype instanceof M?y:M,x=Object.create(m.prototype),T=new he(c||[]);return l(x,"_invoke",{value:re(p,S,T)}),x}function E(p,y,S){try{return{type:"normal",arg:p.call(y,S)}}catch(c){return{type:"throw",arg:c}}}n.wrap=A;var C={};function M(){}function P(){}function I(){}var j={};w(j,u,function(){return this});var B=Object.getPrototypeOf,F=B&&B(B(ye([])));F&&F!==e&&o.call(F,u)&&(j=F);var N=I.prototype=M.prototype=Object.create(j);function ee(p){["next","throw","return"].forEach(function(y){w(p,y,function(S){return this._invoke(y,S)})})}function Z(p,y){function S(m,x,T,b){var d=E(p[m],p,x);if(d.type!=="throw"){var k=d.arg,D=k.value;return D&&typeof D=="object"&&o.call(D,"__await")?y.resolve(D.__await).then(function(O){S("next",O,T,b)},function(O){S("throw",O,T,b)}):y.resolve(D).then(function(O){k.value=O,T(k)},function(O){return S("throw",O,T,b)})}b(d.arg)}var c;l(this,"_invoke",{value:function(m,x){function T(){return new y(function(b,d){S(m,x,b,d)})}return c=c?c.then(T,T):T()}})}function re(p,y,S){var c="suspendedStart";return function(m,x){if(c==="executing")throw new Error("Generator is already running");if(c==="completed"){if(m==="throw")throw x;return L()}for(S.method=m,S.arg=x;;){var T=S.delegate;if(T){var b=fe(T,S);if(b){if(b===C)continue;return b}}if(S.method==="next")S.sent=S._sent=S.arg;else if(S.method==="throw"){if(c==="suspendedStart")throw c="completed",S.arg;S.dispatchException(S.arg)}else S.method==="return"&&S.abrupt("return",S.arg);c="executing";var d=E(p,y,S);if(d.type==="normal"){if(c=S.done?"completed":"suspendedYield",d.arg===C)continue;return{value:d.arg,done:S.done}}d.type==="throw"&&(c="completed",S.method="throw",S.arg=d.arg)}}}function fe(p,y){var S=y.method,c=p.iterator[S];if(c===void 0)return y.delegate=null,S==="throw"&&p.iterator.return&&(y.method="return",y.arg=void 0,fe(p,y),y.method==="throw")||S!=="return"&&(y.method="throw",y.arg=new TypeError("The iterator does not provide a '"+S+"' method")),C;var m=E(c,p.iterator,y.arg);if(m.type==="throw")return y.method="throw",y.arg=m.arg,y.delegate=null,C;var x=m.arg;return x?x.done?(y[p.resultName]=x.value,y.next=p.nextLoc,y.method!=="return"&&(y.method="next",y.arg=void 0),y.delegate=null,C):x:(y.method="throw",y.arg=new TypeError("iterator result is not an object"),y.delegate=null,C)}function V(p){var y={tryLoc:p[0]};1 in p&&(y.catchLoc=p[1]),2 in p&&(y.finallyLoc=p[2],y.afterLoc=p[3]),this.tryEntries.push(y)}function le(p){var y=p.completion||{};y.type="normal",delete y.arg,p.completion=y}function he(p){this.tryEntries=[{tryLoc:"root"}],p.forEach(V,this),this.reset(!0)}function ye(p){if(p){var y=p[u];if(y)return y.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length)){var S=-1,c=function m(){for(;++S<p.length;)if(o.call(p,S))return m.value=p[S],m.done=!1,m;return m.value=void 0,m.done=!0,m};return c.next=c}}return{next:L}}function L(){return{value:void 0,done:!0}}return P.prototype=I,l(N,"constructor",{value:I,configurable:!0}),l(I,"constructor",{value:P,configurable:!0}),P.displayName=w(I,v,"GeneratorFunction"),n.isGeneratorFunction=function(p){var y=typeof p=="function"&&p.constructor;return!!y&&(y===P||(y.displayName||y.name)==="GeneratorFunction")},n.mark=function(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,I):(p.__proto__=I,w(p,v,"GeneratorFunction")),p.prototype=Object.create(N),p},n.awrap=function(p){return{__await:p}},ee(Z.prototype),w(Z.prototype,h,function(){return this}),n.AsyncIterator=Z,n.async=function(p,y,S,c,m){m===void 0&&(m=Promise);var x=new Z(A(p,y,S,c),m);return n.isGeneratorFunction(y)?x:x.next().then(function(T){return T.done?T.value:x.next()})},ee(N),w(N,v,"Generator"),w(N,u,function(){return this}),w(N,"toString",function(){return"[object Generator]"}),n.keys=function(p){var y=Object(p),S=[];for(var c in y)S.push(c);return S.reverse(),function m(){for(;S.length;){var x=S.pop();if(x in y)return m.value=x,m.done=!1,m}return m.done=!0,m}},n.values=ye,he.prototype={constructor:he,reset:function(p){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(le),!p)for(var y in this)y.charAt(0)==="t"&&o.call(this,y)&&!isNaN(+y.slice(1))&&(this[y]=void 0)},stop:function(){this.done=!0;var p=this.tryEntries[0].completion;if(p.type==="throw")throw p.arg;return this.rval},dispatchException:function(p){if(this.done)throw p;var y=this;function S(d,k){return x.type="throw",x.arg=p,y.next=d,k&&(y.method="next",y.arg=void 0),!!k}for(var c=this.tryEntries.length-1;c>=0;--c){var m=this.tryEntries[c],x=m.completion;if(m.tryLoc==="root")return S("end");if(m.tryLoc<=this.prev){var T=o.call(m,"catchLoc"),b=o.call(m,"finallyLoc");if(T&&b){if(this.prev<m.catchLoc)return S(m.catchLoc,!0);if(this.prev<m.finallyLoc)return S(m.finallyLoc)}else if(T){if(this.prev<m.catchLoc)return S(m.catchLoc,!0)}else{if(!b)throw new Error("try statement without catch or finally");if(this.prev<m.finallyLoc)return S(m.finallyLoc)}}}},abrupt:function(p,y){for(var S=this.tryEntries.length-1;S>=0;--S){var c=this.tryEntries[S];if(c.tryLoc<=this.prev&&o.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var m=c;break}}m&&(p==="break"||p==="continue")&&m.tryLoc<=y&&y<=m.finallyLoc&&(m=null);var x=m?m.completion:{};return x.type=p,x.arg=y,m?(this.method="next",this.next=m.finallyLoc,C):this.complete(x)},complete:function(p,y){if(p.type==="throw")throw p.arg;return p.type==="break"||p.type==="continue"?this.next=p.arg:p.type==="return"?(this.rval=this.arg=p.arg,this.method="return",this.next="end"):p.type==="normal"&&y&&(this.next=y),C},finish:function(p){for(var y=this.tryEntries.length-1;y>=0;--y){var S=this.tryEntries[y];if(S.finallyLoc===p)return this.complete(S.completion,S.afterLoc),le(S),C}},catch:function(p){for(var y=this.tryEntries.length-1;y>=0;--y){var S=this.tryEntries[y];if(S.tryLoc===p){var c=S.completion;if(c.type==="throw"){var m=c.arg;le(S)}return m}}throw new Error("illegal catch attempt")},delegateYield:function(p,y,S){return this.delegate={iterator:ye(p),resultName:y,nextLoc:S},this.method==="next"&&(this.arg=void 0),C}},n}function asyncGeneratorStep(n,e,o,l,t,u,h){try{var v=n[u](h),w=v.value}catch(A){o(A);return}v.done?e(w):Promise.resolve(w).then(l,t)}function _asyncToGenerator(n){return function(){var e=this,o=arguments;return new Promise(function(l,t){var u=n.apply(e,o);function h(w){asyncGeneratorStep(u,l,t,h,v,"next",w)}function v(w){asyncGeneratorStep(u,l,t,h,v,"throw",w)}h(void 0)})}}function _classCallCheck(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(n,e){for(var o=0;o<e.length;o++){var l=e[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(n,_toPropertyKey(l.key),l)}}function _createClass(n,e,o){return e&&_defineProperties(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function _defineProperty(n,e,o){return e=_toPropertyKey(e),e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n}function _inherits(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&_setPrototypeOf(n,e)}function _getPrototypeOf(n){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(n)}function _setPrototypeOf(n,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,t){return l.__proto__=t,l},_setPrototypeOf(n,e)}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(n,e,o){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(t,u,h){var v=[null];v.push.apply(v,u);var w=Function.bind.apply(t,v),A=new w;return h&&_setPrototypeOf(A,h.prototype),A},_construct.apply(null,arguments)}function _isNativeFunction(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function _wrapNativeSuper(n){var e=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(l){if(l===null||!_isNativeFunction(l))return l;if(typeof l!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(l))return e.get(l);e.set(l,t)}function t(){return _construct(l,arguments,_getPrototypeOf(this).constructor)}return t.prototype=Object.create(l.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(t,l)},_wrapNativeSuper(n)}function _assertThisInitialized(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function _possibleConstructorReturn(n,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(n)}function _createSuper(n){var e=_isNativeReflectConstruct();return function(){var l=_getPrototypeOf(n),t;if(e){var u=_getPrototypeOf(this).constructor;t=Reflect.construct(l,arguments,u)}else t=l.apply(this,arguments);return _possibleConstructorReturn(this,t)}}function _toPrimitive(n,e){if(typeof n!="object"||n===null)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var l=o.call(n,e);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function _toPropertyKey(n){var e=_toPrimitive(n,"string");return typeof e=="symbol"?e:String(e)}var isNode=typeof global$1<"u"&&{}.toString.call(global$1)==="[object global]";function getMethodName(n,e){return n.indexOf(e.toLowerCase())===0?n:"".concat(e.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function isDomElement(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function isInteger(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function isVimeoUrl(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function isVimeoEmbed(n){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(n)}function getOembedDomain(n){for(var e=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),o=(e&&e[1]||"").replace("player.",""),l=[".videoji.hk",".vimeo.work",".videoji.cn"],t=0,u=l;t<u.length;t++){var h=u[t];if(o.endsWith(h))return o}return"vimeo.com"}function getVimeoUrl(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.id,o=n.url,l=e||o;if(!l)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(isInteger(l))return"https://vimeo.com/".concat(l);if(isVimeoUrl(l))return l.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(l,"” is not a vimeo.com url."))}var subscribe=function(e,o,l){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",h=typeof o=="string"?[o]:o;return h.forEach(function(v){e[t](v,l)}),{cancel:function(){return h.forEach(function(w){return e[u](w,l)})}}},arrayIndexOfSupport=typeof Array.prototype.indexOf<"u",postMessageSupport=typeof window<"u"&&typeof window.postMessage<"u";if(!isNode&&(!arrayIndexOfSupport||!postMessageSupport))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{};function createCommonjsModule(n,e){return e={exports:{}},n(e,e.exports),e.exports}/*!
  * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
  * https://github.com/polygonplanet/weakmap-polyfill
  * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
  * @license MIT
- */(function(t){if(t.WeakMap)return;var e=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),o=function(l,m,y){n?Object.defineProperty(l,m,{configurable:!0,writable:!0,value:y}):l[m]=y};t.WeakMap=function(){function l(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(o(this,"_id",y("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}o(l.prototype,"delete",function(C){if(m(this,"delete"),!u(C))return!1;var k=C[this._id];return k&&k[0]===C?(delete C[this._id],!0):!1}),o(l.prototype,"get",function(C){if(m(this,"get"),!!u(C)){var k=C[this._id];if(k&&k[0]===C)return k[1]}}),o(l.prototype,"has",function(C){if(m(this,"has"),!u(C))return!1;var k=C[this._id];return!!(k&&k[0]===C)}),o(l.prototype,"set",function(C,k){if(m(this,"set"),!u(C))throw new TypeError("Invalid value used as weak map key");var A=C[this._id];return A&&A[0]===C?(A[1]=k,this):(o(C,this._id,[C,k]),this)});function m(C,k){if(!u(C)||!e.call(C,"_id"))throw new TypeError(k+" method called on incompatible receiver "+typeof C)}function y(C){return C+"_"+E()+"."+E()}function E(){return Math.random().toString().substring(2)}return o(l,"_polyfill",!0),l}();function u(l){return Object(l)===l}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:commonjsGlobal);var npo_src=createCommonjsModule(function(t){/*! Native Promise Only
+ */(function(n){if(n.WeakMap)return;var e=Object.prototype.hasOwnProperty,o=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),l=function(u,h,v){o?Object.defineProperty(u,h,{configurable:!0,writable:!0,value:v}):u[h]=v};n.WeakMap=function(){function u(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(l(this,"_id",v("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}l(u.prototype,"delete",function(A){if(h(this,"delete"),!t(A))return!1;var E=A[this._id];return E&&E[0]===A?(delete A[this._id],!0):!1}),l(u.prototype,"get",function(A){if(h(this,"get"),!!t(A)){var E=A[this._id];if(E&&E[0]===A)return E[1]}}),l(u.prototype,"has",function(A){if(h(this,"has"),!t(A))return!1;var E=A[this._id];return!!(E&&E[0]===A)}),l(u.prototype,"set",function(A,E){if(h(this,"set"),!t(A))throw new TypeError("Invalid value used as weak map key");var C=A[this._id];return C&&C[0]===A?(C[1]=E,this):(l(A,this._id,[A,E]),this)});function h(A,E){if(!t(A)||!e.call(A,"_id"))throw new TypeError(E+" method called on incompatible receiver "+typeof A)}function v(A){return A+"_"+w()+"."+w()}function w(){return Math.random().toString().substring(2)}return l(u,"_polyfill",!0),u}();function t(u){return Object(u)===u}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:commonjsGlobal);var npo_src=createCommonjsModule(function(n){/*! Native Promise Only
     v0.8.1 (c) Kyle Simpson
     MIT License: http://getify.mit-license.org
-*/(function(n,o,u){o[n]=o[n]||u(),t.exports&&(t.exports=o[n])})("Promise",commonjsGlobal,function(){var n,o,u,l=Object.prototype.toString,m=typeof setImmediate<"u"?function(Y){return setImmediate(Y)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(Y,J,ie,ue){return Object.defineProperty(Y,J,{value:ie,writable:!0,configurable:ue!==!1})}}catch{n=function(J,ie,ue){return J[ie]=ue,J}}u=function(){var Y,J,ie;function ue(Q,ce){this.fn=Q,this.self=ce,this.next=void 0}return{add:function(ce,he){ie=new ue(ce,he),J?J.next=ie:Y=ie,J=ie,ie=void 0},drain:function(){var ce=Y;for(Y=J=o=void 0;ce;)ce.fn.call(ce.self),ce=ce.next}}}();function y(N,Y){u.add(N,Y),o||(o=m(u.drain))}function E(N){var Y,J=typeof N;return N!=null&&(J=="object"||J=="function")&&(Y=N.then),typeof Y=="function"?Y:!1}function C(){for(var N=0;N<this.chain.length;N++)k(this,this.state===1?this.chain[N].success:this.chain[N].failure,this.chain[N]);this.chain.length=0}function k(N,Y,J){var ie,ue;try{Y===!1?J.reject(N.msg):(Y===!0?ie=N.msg:ie=Y.call(void 0,N.msg),ie===J.promise?J.reject(TypeError("Promise-chain cycle")):(ue=E(ie))?ue.call(ie,J.resolve,J.reject):J.resolve(ie))}catch(Q){J.reject(Q)}}function A(N){var Y,J=this;if(!J.triggered){J.triggered=!0,J.def&&(J=J.def);try{(Y=E(N))?y(function(){var ie=new R(J);try{Y.call(N,function(){A.apply(ie,arguments)},function(){D.apply(ie,arguments)})}catch(ue){D.call(ie,ue)}}):(J.msg=N,J.state=1,J.chain.length>0&&y(C,J))}catch(ie){D.call(new R(J),ie)}}}function D(N){var Y=this;Y.triggered||(Y.triggered=!0,Y.def&&(Y=Y.def),Y.msg=N,Y.state=2,Y.chain.length>0&&y(C,Y))}function P(N,Y,J,ie){for(var ue=0;ue<Y.length;ue++)(function(ce){N.resolve(Y[ce]).then(function(ke){J(ce,ke)},ie)})(ue)}function R(N){this.def=N,this.triggered=!1}function B(N){this.promise=N,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function F(N){if(typeof N!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var Y=new B(this);this.then=function(ie,ue){var Q={success:typeof ie=="function"?ie:!0,failure:typeof ue=="function"?ue:!1};return Q.promise=new this.constructor(function(he,ke){if(typeof he!="function"||typeof ke!="function")throw TypeError("Not a function");Q.resolve=he,Q.reject=ke}),Y.chain.push(Q),Y.state!==0&&y(C,Y),Q.promise},this.catch=function(ie){return this.then(void 0,ie)};try{N.call(void 0,function(ie){A.call(Y,ie)},function(ie){D.call(Y,ie)})}catch(J){D.call(Y,J)}}var O=n({},"constructor",F,!1);return F.prototype=O,n(O,"__NPO__",0,!1),n(F,"resolve",function(Y){var J=this;return Y&&typeof Y=="object"&&Y.__NPO__===1?Y:new J(function(ue,Q){if(typeof ue!="function"||typeof Q!="function")throw TypeError("Not a function");ue(Y)})}),n(F,"reject",function(Y){return new this(function(ie,ue){if(typeof ie!="function"||typeof ue!="function")throw TypeError("Not a function");ue(Y)})}),n(F,"all",function(Y){var J=this;return l.call(Y)!="[object Array]"?J.reject(TypeError("Not an array")):Y.length===0?J.resolve([]):new J(function(ue,Q){if(typeof ue!="function"||typeof Q!="function")throw TypeError("Not a function");var ce=Y.length,he=Array(ce),ke=0;P(J,Y,function(d,v){he[d]=v,++ke===ce&&ue(he)},Q)})}),n(F,"race",function(Y){var J=this;return l.call(Y)!="[object Array]"?J.reject(TypeError("Not an array")):new J(function(ue,Q){if(typeof ue!="function"||typeof Q!="function")throw TypeError("Not a function");P(J,Y,function(he,ke){ue(ke)},Q)})}),F})}),callbackMap=new WeakMap;function storeCallback(t,e,n){var o=callbackMap.get(t.element)||{};e in o||(o[e]=[]),o[e].push(n),callbackMap.set(t.element,o)}function getCallbacks(t,e){var n=callbackMap.get(t.element)||{};return n[e]||[]}function removeCallback(t,e,n){var o=callbackMap.get(t.element)||{};if(!o[e])return!0;if(!n)return o[e]=[],callbackMap.set(t.element,o),!0;var u=o[e].indexOf(n);return u!==-1&&o[e].splice(u,1),callbackMap.set(t.element,o),o[e]&&o[e].length===0}function shiftCallbacks(t,e){var n=getCallbacks(t,e);if(n.length<1)return!1;var o=n.shift();return removeCallback(t,e,o),o}function swapCallbacks(t,e){var n=callbackMap.get(t);callbackMap.set(e,n),callbackMap.delete(t)}function parseMessageData(t){if(typeof t=="string")try{t=JSON.parse(t)}catch(e){return console.warn(e),{}}return t}function postMessage(t,e,n){if(!(!t.element.contentWindow||!t.element.contentWindow.postMessage)){var o={method:e};n!==void 0&&(o.value=n);var u=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));u>=8&&u<10&&(o=JSON.stringify(o)),t.element.contentWindow.postMessage(o,t.origin)}}function processData(t,e){e=parseMessageData(e);var n=[],o;if(e.event){if(e.event==="error"){var u=getCallbacks(t,e.data.method);u.forEach(function(m){var y=new Error(e.data.message);y.name=e.data.name,m.reject(y),removeCallback(t,e.data.method,m)})}n=getCallbacks(t,"event:".concat(e.event)),o=e.data}else if(e.method){var l=shiftCallbacks(t,e.method);l&&(n.push(l),o=e.value)}n.forEach(function(m){try{if(typeof m=="function"){m.call(t,o);return}m.resolve(o)}catch{}})}var oEmbedParameters=["airplay","audio_tracks","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function getOEmbedParameters(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return oEmbedParameters.reduce(function(n,o){var u=t.getAttribute("data-vimeo-".concat(o));return(u||u==="")&&(n[o]=u===""?1:u),n},e)}function createEmbed(t,e){var n=t.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var o=document.createElement("div");return o.innerHTML=n,e.appendChild(o.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function getOEmbedData(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise(function(o,u){if(!isVimeoUrl(t))throw new TypeError("“".concat(t,"” is not a vimeo.com url."));var l=getOembedDomain(t),m="https://".concat(l,"/api/oembed.json?url=").concat(encodeURIComponent(t));for(var y in e)e.hasOwnProperty(y)&&(m+="&".concat(y,"=").concat(encodeURIComponent(e[y])));var E="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;E.open("GET",m,!0),E.onload=function(){if(E.status===404){u(new Error("“".concat(t,"” was not found.")));return}if(E.status===403){u(new Error("“".concat(t,"” is not embeddable.")));return}try{var C=JSON.parse(E.responseText);if(C.domain_status_code===403){createEmbed(C,n),u(new Error("“".concat(t,"” is not embeddable.")));return}o(C)}catch(k){u(k)}},E.onerror=function(){var C=E.status?" (".concat(E.status,")"):"";u(new Error("There was an error fetching the embed code from Vimeo".concat(C,".")))},E.send()})}function initializeEmbeds(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(u){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(u))};e.forEach(function(o){try{if(o.getAttribute("data-vimeo-defer")!==null)return;var u=getOEmbedParameters(o),l=getVimeoUrl(u);getOEmbedData(l,u,o).then(function(m){return createEmbed(m,o)}).catch(n)}catch(m){n(m)}})}function resizeEmbeds(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(o){if(isVimeoUrl(o.origin)&&!(!o.data||o.data.event!=="spacechange")){for(var u=t.querySelectorAll("iframe"),l=0;l<u.length;l++)if(u[l].contentWindow===o.source){var m=u[l].parentElement;m.style.paddingBottom="".concat(o.data.data[0].bottom,"px");break}}};window.addEventListener("message",e)}}function initAppendVideoMetadata(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(o){if(isVimeoUrl(o.origin)){var u=parseMessageData(o.data);if(!(!u||u.event!=="ready"))for(var l=t.querySelectorAll("iframe"),m=0;m<l.length;m++){var y=l[m],E=y.contentWindow===o.source;if(isVimeoEmbed(y.src)&&E){var C=new Player(y);C.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function checkUrlTimeParam(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(u){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(u))},n=function(u){if(isVimeoUrl(u.origin)){var l=parseMessageData(u.data);if(!(!l||l.event!=="ready"))for(var m=t.querySelectorAll("iframe"),y=function(){var k=m[E],A=k.contentWindow===u.source;if(isVimeoEmbed(k.src)&&A){var D=new Player(k);D.getVideoId().then(function(P){var R=new RegExp("[?&]vimeo_t_".concat(P,"=([^&#]*)")).exec(window.location.href);if(R&&R[1]){var B=decodeURI(R[1]);D.setCurrentTime(B)}}).catch(e)}},E=0;E<m.length;E++)y()}};window.addEventListener("message",n)}}function initializeScreenfull(){var t=function(){for(var o,u=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],l=0,m=u.length,y={};l<m;l++)if(o=u[l],o&&o[1]in document){for(l=0;l<o.length;l++)y[u[0][l]]=o[l];return y}return!1}(),e={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},n={request:function(u){return new Promise(function(l,m){var y=function C(){n.off("fullscreenchange",C),l()};n.on("fullscreenchange",y),u=u||document.documentElement;var E=u[t.requestFullscreen]();E instanceof Promise&&E.then(y).catch(m)})},exit:function(){return new Promise(function(u,l){if(!n.isFullscreen){u();return}var m=function E(){n.off("fullscreenchange",E),u()};n.on("fullscreenchange",m);var y=document[t.exitFullscreen]();y instanceof Promise&&y.then(m).catch(l)})},on:function(u,l){var m=e[u];m&&document.addEventListener(m,l)},off:function(u,l){var m=e[u];m&&document.removeEventListener(m,l)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return!!document[t.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[t.fullscreenEnabled]}}}),n}var defaultOptions={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},TimingSrcConnector=function(t){_inherits(n,t);var e=_createSuper(n);function n(o,u){var l,m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=arguments.length>3?arguments[3]:void 0;return _classCallCheck(this,n),l=e.call(this),_defineProperty(_assertThisInitialized(l),"logger",void 0),_defineProperty(_assertThisInitialized(l),"speedAdjustment",0),_defineProperty(_assertThisInitialized(l),"adjustSpeed",function(){var E=_asyncToGenerator(_regeneratorRuntime().mark(function C(k,A){var D;return _regeneratorRuntime().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(l.speedAdjustment!==A){R.next=2;break}return R.abrupt("return");case 2:return R.next=4,k.getPlaybackRate();case 4:return R.t0=R.sent,R.t1=l.speedAdjustment,R.t2=R.t0-R.t1,R.t3=A,D=R.t2+R.t3,l.log("New playbackRate:  ".concat(D)),R.next=12,k.setPlaybackRate(D);case 12:l.speedAdjustment=A;case 13:case"end":return R.stop()}},C)}));return function(C,k){return E.apply(this,arguments)}}()),l.logger=y,l.init(u,o,_objectSpread2(_objectSpread2({},defaultOptions),m)),l}return _createClass(n,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var o=_asyncToGenerator(_regeneratorRuntime().mark(function l(m,y,E){var C=this,k,A,D;return _regeneratorRuntime().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.waitForTOReadyState(m,"open");case 2:if(E.role!=="viewer"){R.next=10;break}return R.next=5,this.updatePlayer(m,y,E);case 5:k=subscribe(m,"change",function(){return C.updatePlayer(m,y,E)}),A=this.maintainPlaybackPosition(m,y,E),this.addEventListener("disconnect",function(){A.cancel(),k.cancel()}),R.next=14;break;case 10:return R.next=12,this.updateTimingObject(m,y);case 12:D=subscribe(y,["seeked","play","pause","ratechange"],function(){return C.updateTimingObject(m,y)},"on","off"),this.addEventListener("disconnect",function(){return D.cancel()});case 14:case"end":return R.stop()}},l,this)}));function u(l,m,y){return o.apply(this,arguments)}return u}()},{key:"updateTimingObject",value:function(){var o=_asyncToGenerator(_regeneratorRuntime().mark(function l(m,y){return _regeneratorRuntime().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.t0=m,C.next=3,y.getCurrentTime();case 3:return C.t1=C.sent,C.next=6,y.getPaused();case 6:if(!C.sent){C.next=10;break}C.t2=0,C.next=13;break;case 10:return C.next=12,y.getPlaybackRate();case 12:C.t2=C.sent;case 13:C.t3=C.t2,C.t4={position:C.t1,velocity:C.t3},C.t0.update.call(C.t0,C.t4);case 16:case"end":return C.stop()}},l)}));function u(l,m){return o.apply(this,arguments)}return u}()},{key:"updatePlayer",value:function(){var o=_asyncToGenerator(_regeneratorRuntime().mark(function l(m,y,E){var C,k,A;return _regeneratorRuntime().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(C=m.query(),k=C.position,A=C.velocity,typeof k=="number"&&y.setCurrentTime(k),typeof A!="number"){P.next=25;break}if(A!==0){P.next=11;break}return P.next=6,y.getPaused();case 6:if(P.t0=P.sent,P.t0!==!1){P.next=9;break}y.pause();case 9:P.next=25;break;case 11:if(!(A>0)){P.next=25;break}return P.next=14,y.getPaused();case 14:if(P.t1=P.sent,P.t1!==!0){P.next=19;break}return P.next=18,y.play().catch(function(){var R=_asyncToGenerator(_regeneratorRuntime().mark(function B(F){return _regeneratorRuntime().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(!(F.name==="NotAllowedError"&&E.autoPlayMuted)){N.next=5;break}return N.next=3,y.setMuted(!0);case 3:return N.next=5,y.play().catch(function(Y){return console.error("Couldn't play the video from TimingSrcConnector. Error:",Y)});case 5:case"end":return N.stop()}},B)}));return function(B){return R.apply(this,arguments)}}());case 18:this.updatePlayer(m,y,E);case 19:return P.next=21,y.getPlaybackRate();case 21:if(P.t2=P.sent,P.t3=A,P.t2===P.t3){P.next=25;break}y.setPlaybackRate(A);case 25:case"end":return P.stop()}},l,this)}));function u(l,m,y){return o.apply(this,arguments)}return u}()},{key:"maintainPlaybackPosition",value:function(u,l,m){var y=this,E=m.allowedDrift,C=m.maxAllowedDrift,k=m.minCheckInterval,A=m.maxRateAdjustment,D=m.maxTimeToCatchUp,P=Math.min(D,Math.max(k,C))*1e3,R=function(){var F=_asyncToGenerator(_regeneratorRuntime().mark(function O(){var N,Y,J,ie,ue;return _regeneratorRuntime().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:if(ce.t0=u.query().velocity===0,ce.t0){ce.next=6;break}return ce.next=4,l.getPaused();case 4:ce.t1=ce.sent,ce.t0=ce.t1===!0;case 6:if(!ce.t0){ce.next=8;break}return ce.abrupt("return");case 8:return ce.t2=u.query().position,ce.next=11,l.getCurrentTime();case 11:if(ce.t3=ce.sent,N=ce.t2-ce.t3,Y=Math.abs(N),y.log("Drift: ".concat(N)),!(Y>C)){ce.next=22;break}return ce.next=18,y.adjustSpeed(l,0);case 18:l.setCurrentTime(u.query().position),y.log("Resync by currentTime"),ce.next=29;break;case 22:if(!(Y>E)){ce.next=29;break}return J=Y/D,ie=A,ue=J<ie?(ie-J)/2:ie,ce.next=28,y.adjustSpeed(l,ue*Math.sign(N));case 28:y.log("Resync by playbackRate");case 29:case"end":return ce.stop()}},O)}));return function(){return F.apply(this,arguments)}}(),B=setInterval(function(){return R()},P);return{cancel:function(){return clearInterval(B)}}}},{key:"log",value:function(u){var l;(l=this.logger)===null||l===void 0||l.call(this,"TimingSrcConnector: ".concat(u))}},{key:"waitForTOReadyState",value:function(u,l){return new Promise(function(m){var y=function E(){u.readyState===l?m():u.addEventListener("readystatechange",E,{once:!0})};y()})}}]),n}(_wrapNativeSuper(EventTarget)),playerMap=new WeakMap,readyMap=new WeakMap,screenfull={},Player=function(){function t(e){var n=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(_classCallCheck(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!isDomElement(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var u=e.querySelector("iframe");u&&(e=u)}if(e.nodeName==="IFRAME"&&!isVimeoUrl(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(playerMap.has(e))return playerMap.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var l=new npo_src(function(y,E){if(n._onMessage=function(A){if(!(!isVimeoUrl(A.origin)||n.element.contentWindow!==A.source)){n.origin==="*"&&(n.origin=A.origin);var D=parseMessageData(A.data),P=D&&D.event==="error",R=P&&D.data&&D.data.method==="ready";if(R){var B=new Error(D.data.message);B.name=D.data.name,E(B);return}var F=D&&D.event==="ready",O=D&&D.method==="ping";if(F||O){n.element.setAttribute("data-ready","true"),y();return}processData(n,D)}},n._window.addEventListener("message",n._onMessage),n.element.nodeName!=="IFRAME"){var C=getOEmbedParameters(e,o),k=getVimeoUrl(C);getOEmbedData(k,C,e).then(function(A){var D=createEmbed(A,e);return n.element=D,n._originalElement=e,swapCallbacks(e,D),playerMap.set(n.element,n),A}).catch(E)}});if(readyMap.set(this,l),playerMap.set(this.element,this),this.element.nodeName==="IFRAME"&&postMessage(this,"ping"),screenfull.isEnabled){var m=function(){return screenfull.exit()};this.fullscreenchangeHandler=function(){screenfull.isFullscreen?storeCallback(n,"event:exitFullscreen",m):removeCallback(n,"event:exitFullscreen",m),n.ready().then(function(){postMessage(n,"fullscreenchange",screenfull.isFullscreen)})},screenfull.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return _createClass(t,[{key:"callMethod",value:function(n){var o=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new npo_src(function(l,m){return o.ready().then(function(){storeCallback(o,n,{resolve:l,reject:m}),postMessage(o,n,u)}).catch(m)})}},{key:"get",value:function(n){var o=this;return new npo_src(function(u,l){return n=getMethodName(n,"get"),o.ready().then(function(){storeCallback(o,n,{resolve:u,reject:l}),postMessage(o,n)}).catch(l)})}},{key:"set",value:function(n,o){var u=this;return new npo_src(function(l,m){if(n=getMethodName(n,"set"),o==null)throw new TypeError("There must be a value to set.");return u.ready().then(function(){storeCallback(u,n,{resolve:l,reject:m}),postMessage(u,n,o)}).catch(m)})}},{key:"on",value:function(n,o){if(!n)throw new TypeError("You must pass an event name.");if(!o)throw new TypeError("You must pass a callback function.");if(typeof o!="function")throw new TypeError("The callback must be a function.");var u=getCallbacks(this,"event:".concat(n));u.length===0&&this.callMethod("addEventListener",n).catch(function(){}),storeCallback(this,"event:".concat(n),o)}},{key:"off",value:function(n,o){if(!n)throw new TypeError("You must pass an event name.");if(o&&typeof o!="function")throw new TypeError("The callback must be a function.");var u=removeCallback(this,"event:".concat(n),o);u&&this.callMethod("removeEventListener",n).catch(function(l){})}},{key:"loadVideo",value:function(n){return this.callMethod("loadVideo",n)}},{key:"ready",value:function(){var n=readyMap.get(this)||new npo_src(function(o,u){u(new Error("Unknown player. Probably unloaded."))});return npo_src.resolve(n)}},{key:"addCuePoint",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:n,data:o})}},{key:"removeCuePoint",value:function(n){return this.callMethod("removeCuePoint",n)}},{key:"enableTextTrack",value:function(n,o){if(!n)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:n,kind:o})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return screenfull.isEnabled?screenfull.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return screenfull.isEnabled?screenfull.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return screenfull.isEnabled?npo_src.resolve(screenfull.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var n=this;return new npo_src(function(o){if(readyMap.delete(n),playerMap.delete(n.element),n._originalElement&&(playerMap.delete(n._originalElement),n._originalElement.removeAttribute("data-vimeo-initialized")),n.element&&n.element.nodeName==="IFRAME"&&n.element.parentNode&&(n.element.parentNode.parentNode&&n._originalElement&&n._originalElement!==n.element.parentNode?n.element.parentNode.parentNode.removeChild(n.element.parentNode):n.element.parentNode.removeChild(n.element)),n.element&&n.element.nodeName==="DIV"&&n.element.parentNode){n.element.removeAttribute("data-vimeo-initialized");var u=n.element.querySelector("iframe");u&&u.parentNode&&(u.parentNode.parentNode&&n._originalElement&&n._originalElement!==u.parentNode?u.parentNode.parentNode.removeChild(u.parentNode):u.parentNode.removeChild(u))}n._window.removeEventListener("message",n._onMessage),screenfull.isEnabled&&screenfull.off("fullscreenchange",n.fullscreenchangeHandler),o()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(n){return this.set("autopause",n)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(n){return this.set("cameraProps",n)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return npo_src.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(n){return this.set("color",n)}},{key:"setColors",value:function(n){if(!Array.isArray(n))return new npo_src(function(l,m){return m(new TypeError("Argument must be an array."))});var o=new npo_src(function(l){return l(null)}),u=[n[0]?this.set("colorOne",n[0]):o,n[1]?this.set("colorTwo",n[1]):o,n[2]?this.set("colorThree",n[2]):o,n[3]?this.set("colorFour",n[3]):o];return npo_src.all(u)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(n){return this.set("currentTime",n)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(n){return this.set("loop",n)}},{key:"setMuted",value:function(n){return this.set("muted",n)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(n){return this.set("playbackRate",n)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(n){return this.set("quality",n)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(n){return this.set("volume",n)}},{key:"setTimingSrc",value:function(){var e=_asyncToGenerator(_regeneratorRuntime().mark(function o(u,l){var m=this,y;return _regeneratorRuntime().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(u){C.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return C.next=4,this.ready();case 4:return y=new TimingSrcConnector(this,u,l),postMessage(this,"notifyTimingObjectConnect"),y.addEventListener("disconnect",function(){return postMessage(m,"notifyTimingObjectDisconnect")}),C.abrupt("return",y);case 8:case"end":return C.stop()}},o,this)}));function n(o,u){return e.apply(this,arguments)}return n}()}]),t}();isNode||(screenfull=initializeScreenfull(),initializeEmbeds(),resizeEmbeds(),initAppendVideoMetadata(),checkUrlTimeParam());let cssInjected=!1;function injectCss(){if(cssInjected)return;cssInjected=!0;const t=`
+*/(function(o,l,t){l[o]=l[o]||t(),n.exports&&(n.exports=l[o])})("Promise",commonjsGlobal,function(){var o,l,t,u=Object.prototype.toString,h=typeof setImmediate<"u"?function(ee){return setImmediate(ee)}:setTimeout;try{Object.defineProperty({},"x",{}),o=function(ee,Z,re,fe){return Object.defineProperty(ee,Z,{value:re,writable:!0,configurable:fe!==!1})}}catch{o=function(Z,re,fe){return Z[re]=fe,Z}}t=function(){var ee,Z,re;function fe(V,le){this.fn=V,this.self=le,this.next=void 0}return{add:function(le,he){re=new fe(le,he),Z?Z.next=re:ee=re,Z=re,re=void 0},drain:function(){var le=ee;for(ee=Z=l=void 0;le;)le.fn.call(le.self),le=le.next}}}();function v(N,ee){t.add(N,ee),l||(l=h(t.drain))}function w(N){var ee,Z=typeof N;return N!=null&&(Z=="object"||Z=="function")&&(ee=N.then),typeof ee=="function"?ee:!1}function A(){for(var N=0;N<this.chain.length;N++)E(this,this.state===1?this.chain[N].success:this.chain[N].failure,this.chain[N]);this.chain.length=0}function E(N,ee,Z){var re,fe;try{ee===!1?Z.reject(N.msg):(ee===!0?re=N.msg:re=ee.call(void 0,N.msg),re===Z.promise?Z.reject(TypeError("Promise-chain cycle")):(fe=w(re))?fe.call(re,Z.resolve,Z.reject):Z.resolve(re))}catch(V){Z.reject(V)}}function C(N){var ee,Z=this;if(!Z.triggered){Z.triggered=!0,Z.def&&(Z=Z.def);try{(ee=w(N))?v(function(){var re=new I(Z);try{ee.call(N,function(){C.apply(re,arguments)},function(){M.apply(re,arguments)})}catch(fe){M.call(re,fe)}}):(Z.msg=N,Z.state=1,Z.chain.length>0&&v(A,Z))}catch(re){M.call(new I(Z),re)}}}function M(N){var ee=this;ee.triggered||(ee.triggered=!0,ee.def&&(ee=ee.def),ee.msg=N,ee.state=2,ee.chain.length>0&&v(A,ee))}function P(N,ee,Z,re){for(var fe=0;fe<ee.length;fe++)(function(le){N.resolve(ee[le]).then(function(ye){Z(le,ye)},re)})(fe)}function I(N){this.def=N,this.triggered=!1}function j(N){this.promise=N,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function B(N){if(typeof N!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var ee=new j(this);this.then=function(re,fe){var V={success:typeof re=="function"?re:!0,failure:typeof fe=="function"?fe:!1};return V.promise=new this.constructor(function(he,ye){if(typeof he!="function"||typeof ye!="function")throw TypeError("Not a function");V.resolve=he,V.reject=ye}),ee.chain.push(V),ee.state!==0&&v(A,ee),V.promise},this.catch=function(re){return this.then(void 0,re)};try{N.call(void 0,function(re){C.call(ee,re)},function(re){M.call(ee,re)})}catch(Z){M.call(ee,Z)}}var F=o({},"constructor",B,!1);return B.prototype=F,o(F,"__NPO__",0,!1),o(B,"resolve",function(ee){var Z=this;return ee&&typeof ee=="object"&&ee.__NPO__===1?ee:new Z(function(fe,V){if(typeof fe!="function"||typeof V!="function")throw TypeError("Not a function");fe(ee)})}),o(B,"reject",function(ee){return new this(function(re,fe){if(typeof re!="function"||typeof fe!="function")throw TypeError("Not a function");fe(ee)})}),o(B,"all",function(ee){var Z=this;return u.call(ee)!="[object Array]"?Z.reject(TypeError("Not an array")):ee.length===0?Z.resolve([]):new Z(function(fe,V){if(typeof fe!="function"||typeof V!="function")throw TypeError("Not a function");var le=ee.length,he=Array(le),ye=0;P(Z,ee,function(p,y){he[p]=y,++ye===le&&fe(he)},V)})}),o(B,"race",function(ee){var Z=this;return u.call(ee)!="[object Array]"?Z.reject(TypeError("Not an array")):new Z(function(fe,V){if(typeof fe!="function"||typeof V!="function")throw TypeError("Not a function");P(Z,ee,function(he,ye){fe(ye)},V)})}),B})}),callbackMap=new WeakMap;function storeCallback(n,e,o){var l=callbackMap.get(n.element)||{};e in l||(l[e]=[]),l[e].push(o),callbackMap.set(n.element,l)}function getCallbacks(n,e){var o=callbackMap.get(n.element)||{};return o[e]||[]}function removeCallback(n,e,o){var l=callbackMap.get(n.element)||{};if(!l[e])return!0;if(!o)return l[e]=[],callbackMap.set(n.element,l),!0;var t=l[e].indexOf(o);return t!==-1&&l[e].splice(t,1),callbackMap.set(n.element,l),l[e]&&l[e].length===0}function shiftCallbacks(n,e){var o=getCallbacks(n,e);if(o.length<1)return!1;var l=o.shift();return removeCallback(n,e,l),l}function swapCallbacks(n,e){var o=callbackMap.get(n);callbackMap.set(e,o),callbackMap.delete(n)}function parseMessageData(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(e){return console.warn(e),{}}return n}function postMessage(n,e,o){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var l={method:e};o!==void 0&&(l.value=o);var t=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));t>=8&&t<10&&(l=JSON.stringify(l)),n.element.contentWindow.postMessage(l,n.origin)}}function processData(n,e){e=parseMessageData(e);var o=[],l;if(e.event){if(e.event==="error"){var t=getCallbacks(n,e.data.method);t.forEach(function(h){var v=new Error(e.data.message);v.name=e.data.name,h.reject(v),removeCallback(n,e.data.method,h)})}o=getCallbacks(n,"event:".concat(e.event)),l=e.data}else if(e.method){var u=shiftCallbacks(n,e.method);u&&(o.push(u),l=e.value)}o.forEach(function(h){try{if(typeof h=="function"){h.call(n,l);return}h.resolve(l)}catch{}})}var oEmbedParameters=["airplay","audio_tracks","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function getOEmbedParameters(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return oEmbedParameters.reduce(function(o,l){var t=n.getAttribute("data-vimeo-".concat(l));return(t||t==="")&&(o[l]=t===""?1:t),o},e)}function createEmbed(n,e){var o=n.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var l=document.createElement("div");return l.innerHTML=o,e.appendChild(l.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function getOEmbedData(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return new Promise(function(l,t){if(!isVimeoUrl(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=getOembedDomain(n),h="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var v in e)e.hasOwnProperty(v)&&(h+="&".concat(v,"=").concat(encodeURIComponent(e[v])));var w="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;w.open("GET",h,!0),w.onload=function(){if(w.status===404){t(new Error("“".concat(n,"” was not found.")));return}if(w.status===403){t(new Error("“".concat(n,"” is not embeddable.")));return}try{var A=JSON.parse(w.responseText);if(A.domain_status_code===403){createEmbed(A,o),t(new Error("“".concat(n,"” is not embeddable.")));return}l(A)}catch(E){t(E)}},w.onerror=function(){var A=w.status?" (".concat(w.status,")"):"";t(new Error("There was an error fetching the embed code from Vimeo".concat(A,".")))},w.send()})}function initializeEmbeds(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),o=function(t){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(t))};e.forEach(function(l){try{if(l.getAttribute("data-vimeo-defer")!==null)return;var t=getOEmbedParameters(l),u=getVimeoUrl(t);getOEmbedData(u,t,l).then(function(h){return createEmbed(h,l)}).catch(o)}catch(h){o(h)}})}function resizeEmbeds(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(l){if(isVimeoUrl(l.origin)&&!(!l.data||l.data.event!=="spacechange")){for(var t=n.querySelectorAll("iframe"),u=0;u<t.length;u++)if(t[u].contentWindow===l.source){var h=t[u].parentElement;h.style.paddingBottom="".concat(l.data.data[0].bottom,"px");break}}};window.addEventListener("message",e)}}function initAppendVideoMetadata(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(l){if(isVimeoUrl(l.origin)){var t=parseMessageData(l.data);if(!(!t||t.event!=="ready"))for(var u=n.querySelectorAll("iframe"),h=0;h<u.length;h++){var v=u[h],w=v.contentWindow===l.source;if(isVimeoEmbed(v.src)&&w){var A=new Player(v);A.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function checkUrlTimeParam(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(t){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(t))},o=function(t){if(isVimeoUrl(t.origin)){var u=parseMessageData(t.data);if(!(!u||u.event!=="ready"))for(var h=n.querySelectorAll("iframe"),v=function(){var E=h[w],C=E.contentWindow===t.source;if(isVimeoEmbed(E.src)&&C){var M=new Player(E);M.getVideoId().then(function(P){var I=new RegExp("[?&]vimeo_t_".concat(P,"=([^&#]*)")).exec(window.location.href);if(I&&I[1]){var j=decodeURI(I[1]);M.setCurrentTime(j)}}).catch(e)}},w=0;w<h.length;w++)v()}};window.addEventListener("message",o)}}function initializeScreenfull(){var n=function(){for(var l,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,h=t.length,v={};u<h;u++)if(l=t[u],l&&l[1]in document){for(u=0;u<l.length;u++)v[t[0][u]]=l[u];return v}return!1}(),e={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},o={request:function(t){return new Promise(function(u,h){var v=function A(){o.off("fullscreenchange",A),u()};o.on("fullscreenchange",v),t=t||document.documentElement;var w=t[n.requestFullscreen]();w instanceof Promise&&w.then(v).catch(h)})},exit:function(){return new Promise(function(t,u){if(!o.isFullscreen){t();return}var h=function w(){o.off("fullscreenchange",w),t()};o.on("fullscreenchange",h);var v=document[n.exitFullscreen]();v instanceof Promise&&v.then(h).catch(u)})},on:function(t,u){var h=e[t];h&&document.addEventListener(h,u)},off:function(t,u){var h=e[t];h&&document.removeEventListener(h,u)}};return Object.defineProperties(o,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),o}var defaultOptions={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},TimingSrcConnector=function(n){_inherits(o,n);var e=_createSuper(o);function o(l,t){var u,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments.length>3?arguments[3]:void 0;return _classCallCheck(this,o),u=e.call(this),_defineProperty(_assertThisInitialized(u),"logger",void 0),_defineProperty(_assertThisInitialized(u),"speedAdjustment",0),_defineProperty(_assertThisInitialized(u),"adjustSpeed",function(){var w=_asyncToGenerator(_regeneratorRuntime().mark(function A(E,C){var M;return _regeneratorRuntime().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(u.speedAdjustment!==C){I.next=2;break}return I.abrupt("return");case 2:return I.next=4,E.getPlaybackRate();case 4:return I.t0=I.sent,I.t1=u.speedAdjustment,I.t2=I.t0-I.t1,I.t3=C,M=I.t2+I.t3,u.log("New playbackRate:  ".concat(M)),I.next=12,E.setPlaybackRate(M);case 12:u.speedAdjustment=C;case 13:case"end":return I.stop()}},A)}));return function(A,E){return w.apply(this,arguments)}}()),u.logger=v,u.init(t,l,_objectSpread2(_objectSpread2({},defaultOptions),h)),u}return _createClass(o,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var l=_asyncToGenerator(_regeneratorRuntime().mark(function u(h,v,w){var A=this,E,C,M;return _regeneratorRuntime().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,this.waitForTOReadyState(h,"open");case 2:if(w.role!=="viewer"){I.next=10;break}return I.next=5,this.updatePlayer(h,v,w);case 5:E=subscribe(h,"change",function(){return A.updatePlayer(h,v,w)}),C=this.maintainPlaybackPosition(h,v,w),this.addEventListener("disconnect",function(){C.cancel(),E.cancel()}),I.next=14;break;case 10:return I.next=12,this.updateTimingObject(h,v);case 12:M=subscribe(v,["seeked","play","pause","ratechange"],function(){return A.updateTimingObject(h,v)},"on","off"),this.addEventListener("disconnect",function(){return M.cancel()});case 14:case"end":return I.stop()}},u,this)}));function t(u,h,v){return l.apply(this,arguments)}return t}()},{key:"updateTimingObject",value:function(){var l=_asyncToGenerator(_regeneratorRuntime().mark(function u(h,v){return _regeneratorRuntime().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.t0=h,A.next=3,v.getCurrentTime();case 3:return A.t1=A.sent,A.next=6,v.getPaused();case 6:if(!A.sent){A.next=10;break}A.t2=0,A.next=13;break;case 10:return A.next=12,v.getPlaybackRate();case 12:A.t2=A.sent;case 13:A.t3=A.t2,A.t4={position:A.t1,velocity:A.t3},A.t0.update.call(A.t0,A.t4);case 16:case"end":return A.stop()}},u)}));function t(u,h){return l.apply(this,arguments)}return t}()},{key:"updatePlayer",value:function(){var l=_asyncToGenerator(_regeneratorRuntime().mark(function u(h,v,w){var A,E,C;return _regeneratorRuntime().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(A=h.query(),E=A.position,C=A.velocity,typeof E=="number"&&v.setCurrentTime(E),typeof C!="number"){P.next=25;break}if(C!==0){P.next=11;break}return P.next=6,v.getPaused();case 6:if(P.t0=P.sent,P.t0!==!1){P.next=9;break}v.pause();case 9:P.next=25;break;case 11:if(!(C>0)){P.next=25;break}return P.next=14,v.getPaused();case 14:if(P.t1=P.sent,P.t1!==!0){P.next=19;break}return P.next=18,v.play().catch(function(){var I=_asyncToGenerator(_regeneratorRuntime().mark(function j(B){return _regeneratorRuntime().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(!(B.name==="NotAllowedError"&&w.autoPlayMuted)){N.next=5;break}return N.next=3,v.setMuted(!0);case 3:return N.next=5,v.play().catch(function(ee){return console.error("Couldn't play the video from TimingSrcConnector. Error:",ee)});case 5:case"end":return N.stop()}},j)}));return function(j){return I.apply(this,arguments)}}());case 18:this.updatePlayer(h,v,w);case 19:return P.next=21,v.getPlaybackRate();case 21:if(P.t2=P.sent,P.t3=C,P.t2===P.t3){P.next=25;break}v.setPlaybackRate(C);case 25:case"end":return P.stop()}},u,this)}));function t(u,h,v){return l.apply(this,arguments)}return t}()},{key:"maintainPlaybackPosition",value:function(t,u,h){var v=this,w=h.allowedDrift,A=h.maxAllowedDrift,E=h.minCheckInterval,C=h.maxRateAdjustment,M=h.maxTimeToCatchUp,P=Math.min(M,Math.max(E,A))*1e3,I=function(){var B=_asyncToGenerator(_regeneratorRuntime().mark(function F(){var N,ee,Z,re,fe;return _regeneratorRuntime().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(le.t0=t.query().velocity===0,le.t0){le.next=6;break}return le.next=4,u.getPaused();case 4:le.t1=le.sent,le.t0=le.t1===!0;case 6:if(!le.t0){le.next=8;break}return le.abrupt("return");case 8:return le.t2=t.query().position,le.next=11,u.getCurrentTime();case 11:if(le.t3=le.sent,N=le.t2-le.t3,ee=Math.abs(N),v.log("Drift: ".concat(N)),!(ee>A)){le.next=22;break}return le.next=18,v.adjustSpeed(u,0);case 18:u.setCurrentTime(t.query().position),v.log("Resync by currentTime"),le.next=29;break;case 22:if(!(ee>w)){le.next=29;break}return Z=ee/M,re=C,fe=Z<re?(re-Z)/2:re,le.next=28,v.adjustSpeed(u,fe*Math.sign(N));case 28:v.log("Resync by playbackRate");case 29:case"end":return le.stop()}},F)}));return function(){return B.apply(this,arguments)}}(),j=setInterval(function(){return I()},P);return{cancel:function(){return clearInterval(j)}}}},{key:"log",value:function(t){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(t))}},{key:"waitForTOReadyState",value:function(t,u){return new Promise(function(h){var v=function w(){t.readyState===u?h():t.addEventListener("readystatechange",w,{once:!0})};v()})}}]),o}(_wrapNativeSuper(EventTarget)),playerMap=new WeakMap,readyMap=new WeakMap,screenfull={},Player=function(){function n(e){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(_classCallCheck(this,n),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!isDomElement(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var t=e.querySelector("iframe");t&&(e=t)}if(e.nodeName==="IFRAME"&&!isVimeoUrl(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(playerMap.has(e))return playerMap.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var u=new npo_src(function(v,w){if(o._onMessage=function(C){if(!(!isVimeoUrl(C.origin)||o.element.contentWindow!==C.source)){o.origin==="*"&&(o.origin=C.origin);var M=parseMessageData(C.data),P=M&&M.event==="error",I=P&&M.data&&M.data.method==="ready";if(I){var j=new Error(M.data.message);j.name=M.data.name,w(j);return}var B=M&&M.event==="ready",F=M&&M.method==="ping";if(B||F){o.element.setAttribute("data-ready","true"),v();return}processData(o,M)}},o._window.addEventListener("message",o._onMessage),o.element.nodeName!=="IFRAME"){var A=getOEmbedParameters(e,l),E=getVimeoUrl(A);getOEmbedData(E,A,e).then(function(C){var M=createEmbed(C,e);return o.element=M,o._originalElement=e,swapCallbacks(e,M),playerMap.set(o.element,o),C}).catch(w)}});if(readyMap.set(this,u),playerMap.set(this.element,this),this.element.nodeName==="IFRAME"&&postMessage(this,"ping"),screenfull.isEnabled){var h=function(){return screenfull.exit()};this.fullscreenchangeHandler=function(){screenfull.isFullscreen?storeCallback(o,"event:exitFullscreen",h):removeCallback(o,"event:exitFullscreen",h),o.ready().then(function(){postMessage(o,"fullscreenchange",screenfull.isFullscreen)})},screenfull.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return _createClass(n,[{key:"callMethod",value:function(o){var l=this,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new npo_src(function(u,h){return l.ready().then(function(){storeCallback(l,o,{resolve:u,reject:h}),postMessage(l,o,t)}).catch(h)})}},{key:"get",value:function(o){var l=this;return new npo_src(function(t,u){return o=getMethodName(o,"get"),l.ready().then(function(){storeCallback(l,o,{resolve:t,reject:u}),postMessage(l,o)}).catch(u)})}},{key:"set",value:function(o,l){var t=this;return new npo_src(function(u,h){if(o=getMethodName(o,"set"),l==null)throw new TypeError("There must be a value to set.");return t.ready().then(function(){storeCallback(t,o,{resolve:u,reject:h}),postMessage(t,o,l)}).catch(h)})}},{key:"on",value:function(o,l){if(!o)throw new TypeError("You must pass an event name.");if(!l)throw new TypeError("You must pass a callback function.");if(typeof l!="function")throw new TypeError("The callback must be a function.");var t=getCallbacks(this,"event:".concat(o));t.length===0&&this.callMethod("addEventListener",o).catch(function(){}),storeCallback(this,"event:".concat(o),l)}},{key:"off",value:function(o,l){if(!o)throw new TypeError("You must pass an event name.");if(l&&typeof l!="function")throw new TypeError("The callback must be a function.");var t=removeCallback(this,"event:".concat(o),l);t&&this.callMethod("removeEventListener",o).catch(function(u){})}},{key:"loadVideo",value:function(o){return this.callMethod("loadVideo",o)}},{key:"ready",value:function(){var o=readyMap.get(this)||new npo_src(function(l,t){t(new Error("Unknown player. Probably unloaded."))});return npo_src.resolve(o)}},{key:"addCuePoint",value:function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:o,data:l})}},{key:"removeCuePoint",value:function(o){return this.callMethod("removeCuePoint",o)}},{key:"enableTextTrack",value:function(o,l){if(!o)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:o,kind:l})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return screenfull.isEnabled?screenfull.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return screenfull.isEnabled?screenfull.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return screenfull.isEnabled?npo_src.resolve(screenfull.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var o=this;return new npo_src(function(l){if(readyMap.delete(o),playerMap.delete(o.element),o._originalElement&&(playerMap.delete(o._originalElement),o._originalElement.removeAttribute("data-vimeo-initialized")),o.element&&o.element.nodeName==="IFRAME"&&o.element.parentNode&&(o.element.parentNode.parentNode&&o._originalElement&&o._originalElement!==o.element.parentNode?o.element.parentNode.parentNode.removeChild(o.element.parentNode):o.element.parentNode.removeChild(o.element)),o.element&&o.element.nodeName==="DIV"&&o.element.parentNode){o.element.removeAttribute("data-vimeo-initialized");var t=o.element.querySelector("iframe");t&&t.parentNode&&(t.parentNode.parentNode&&o._originalElement&&o._originalElement!==t.parentNode?t.parentNode.parentNode.removeChild(t.parentNode):t.parentNode.removeChild(t))}o._window.removeEventListener("message",o._onMessage),screenfull.isEnabled&&screenfull.off("fullscreenchange",o.fullscreenchangeHandler),l()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(o){return this.set("autopause",o)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(o){return this.set("cameraProps",o)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return npo_src.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(o){return this.set("color",o)}},{key:"setColors",value:function(o){if(!Array.isArray(o))return new npo_src(function(u,h){return h(new TypeError("Argument must be an array."))});var l=new npo_src(function(u){return u(null)}),t=[o[0]?this.set("colorOne",o[0]):l,o[1]?this.set("colorTwo",o[1]):l,o[2]?this.set("colorThree",o[2]):l,o[3]?this.set("colorFour",o[3]):l];return npo_src.all(t)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(o){return this.set("currentTime",o)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(o){return this.set("loop",o)}},{key:"setMuted",value:function(o){return this.set("muted",o)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(o){return this.set("playbackRate",o)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(o){return this.set("quality",o)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(o){return this.set("volume",o)}},{key:"setTimingSrc",value:function(){var e=_asyncToGenerator(_regeneratorRuntime().mark(function l(t,u){var h=this,v;return _regeneratorRuntime().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(t){A.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return A.next=4,this.ready();case 4:return v=new TimingSrcConnector(this,t,u),postMessage(this,"notifyTimingObjectConnect"),v.addEventListener("disconnect",function(){return postMessage(h,"notifyTimingObjectDisconnect")}),A.abrupt("return",v);case 8:case"end":return A.stop()}},l,this)}));function o(l,t){return e.apply(this,arguments)}return o}()}]),n}();isNode||(screenfull=initializeScreenfull(),initializeEmbeds(),resizeEmbeds(),initAppendVideoMetadata(),checkUrlTimeParam());let cssInjected=!1;function injectCss$1(){if(cssInjected)return;cssInjected=!0;const n=`
     .vjs-vimeo iframe {
       position: absolute;
       top: 0;
@@ -637,41 +484,41 @@
       width: 100%;
       height: 100%;
     }
-  `,e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),e.appendChild(n)}const Tech=videojs.getTech("Tech");class Vimeo extends Tech{constructor(e,n){super(e,n),injectCss(),this.setPoster(e.poster),this.initVimeoPlayer()}initVimeoPlayer(){this.options({});const e={url:this.options_.source.src,byline:!1,portrait:!1,title:!1,controls:!1};this.options_.autoplay&&(e.autoplay=!0),typeof this.options_.controls<"u"&&(e.controls=this.options_.controls),this.options_.height&&(e.height=this.options_.height),this.options_.width&&(e.width=this.options_.width),this.options_.maxheight&&(e.maxheight=this.options_.maxheight),this.options_.maxwidth&&(e.maxwidth=this.options_.maxwidth),this.options_.loop&&(e.loop=this.options_.loop),this.options_.color&&(e.color=this.options_.color.replace(/^#/,"")),e.controls=!1,this._player=new Player(this.el(),e),this.initVimeoState(),["play","pause","ended","timeupdate","progress","seeked"].forEach(n=>{this._player.on(n,o=>{this._vimeoState.progress.duration!==o.duration&&this.trigger("durationchange"),this._vimeoState.progress=o,this.trigger(n)})}),this._player.on("pause",()=>this._vimeoState.playing=!1),this._player.on("play",()=>{this._vimeoState.playing=!0,this._vimeoState.ended=!1}),this._player.on("ended",()=>{this._vimeoState.playing=!1,this._vimeoState.ended=!0}),this._player.on("volumechange",n=>this._vimeoState.volume=n),this._player.on("error",n=>this.trigger("error",n)),this.triggerReady()}initVimeoState(){const e=this._vimeoState={ended:!1,playing:!1,volume:0,progress:{seconds:0,percent:0,duration:0}};this._player.getCurrentTime().then(n=>e.progress.seconds=n),this._player.getDuration().then(n=>e.progress.duration=n),this._player.getPaused().then(n=>e.playing=!n),this._player.getVolume().then(n=>e.volume=n)}createEl(){const e=videojs.dom.createEl("div",{id:this.options_.techId});return e.style.cssText="width:100%;height:100%;top:0;left:0;position:absolute",e.className="vjs-vimeo",e}controls(){return!0}supportsFullScreen(){return!0}src(){return this.options_.source}currentSrc(){return this.options_.source.src}currentTime(){return this._vimeoState.progress.seconds}setCurrentTime(e){this._player.setCurrentTime(e)}volume(){return this._vimeoState.volume}setVolume(e){return this._player.setVolume(e)}duration(){return this._vimeoState.progress.duration}buffered(){const e=this._vimeoState.progress;return videojs.createTimeRange(0,e.percent*e.duration)}paused(){return!this._vimeoState.playing}pause(){this._player.pause()}play(){this._player.play()}muted(){return this._vimeoState.volume===0}setMuted(e){return this._player.setMuted(e)}ended(){return this._vimeoState.ended}playbackRate(){return 1}}Vimeo.prototype.featuresTimeupdateEvents=!0,Vimeo.isSupported=function(){return!0},Tech.withSourceHandlers(Vimeo),Vimeo.nativeSourceHandler={},Vimeo.nativeSourceHandler.canPlayType=function(t){return t==="video/vimeo"?"maybe":""},Vimeo.nativeSourceHandler.canHandleSource=function(t){return t.type?Vimeo.nativeSourceHandler.canPlayType(t.type):t.src?Vimeo.nativeSourceHandler.canPlayType(t.src):""},Vimeo.nativeSourceHandler.handleSource=function(t,e){e.src(t.src)},Vimeo.nativeSourceHandler.dispose=function(){},Vimeo.registerSourceHandler(Vimeo.nativeSourceHandler),typeof videojs.registerTech<"u"?videojs.registerTech("Vimeo",Vimeo):videojs.registerComponent("Vimeo",Vimeo),Vimeo.VERSION="0.0.1";const videojsStyles={};var mimeTypes={};const require$$0$4={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};/*!
+  `,e=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",o.styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),e.appendChild(o)}const Tech$1=videojs.getTech("Tech");class Vimeo extends Tech$1{constructor(e,o){super(e,o),injectCss$1(),this.setPoster(e.poster),this.initVimeoPlayer()}initVimeoPlayer(){this.options({});const e={url:this.options_.source.src,byline:!1,portrait:!1,title:!1,controls:!1};this.options_.autoplay&&(e.autoplay=!0),typeof this.options_.controls<"u"&&(e.controls=this.options_.controls),this.options_.height&&(e.height=this.options_.height),this.options_.width&&(e.width=this.options_.width),this.options_.maxheight&&(e.maxheight=this.options_.maxheight),this.options_.maxwidth&&(e.maxwidth=this.options_.maxwidth),this.options_.loop&&(e.loop=this.options_.loop),this.options_.color&&(e.color=this.options_.color.replace(/^#/,"")),e.controls=!1,this._player=new Player(this.el(),e),this.initVimeoState(),["play","pause","ended","timeupdate","progress","seeked"].forEach(o=>{this._player.on(o,l=>{this._vimeoState.progress.duration!==l.duration&&this.trigger("durationchange"),this._vimeoState.progress=l,this.trigger(o)})}),this._player.on("pause",()=>this._vimeoState.playing=!1),this._player.on("play",()=>{this._vimeoState.playing=!0,this._vimeoState.ended=!1}),this._player.on("ended",()=>{this._vimeoState.playing=!1,this._vimeoState.ended=!0}),this._player.on("volumechange",o=>this._vimeoState.volume=o),this._player.on("error",o=>this.trigger("error",o)),this.triggerReady()}initVimeoState(){const e=this._vimeoState={ended:!1,playing:!1,volume:0,progress:{seconds:0,percent:0,duration:0}};this._player.getCurrentTime().then(o=>e.progress.seconds=o),this._player.getDuration().then(o=>e.progress.duration=o),this._player.getPaused().then(o=>e.playing=!o),this._player.getVolume().then(o=>e.volume=o)}createEl(){const e=videojs.dom.createEl("div",{id:this.options_.techId});return e.style.cssText="width:100%;height:100%;top:0;left:0;position:absolute",e.className="vjs-vimeo",e}controls(){return!0}supportsFullScreen(){return!0}src(){return this.options_.source}currentSrc(){return this.options_.source.src}currentTime(){return this._vimeoState.progress.seconds}setCurrentTime(e){this._player.setCurrentTime(e)}volume(){return this._vimeoState.volume}setVolume(e){return this._player.setVolume(e)}duration(){return this._vimeoState.progress.duration}buffered(){const e=this._vimeoState.progress;return videojs.createTimeRange(0,e.percent*e.duration)}paused(){return!this._vimeoState.playing}pause(){this._player.pause()}play(){this._player.play()}muted(){return this._vimeoState.volume===0}setMuted(e){return this._player.setMuted(e)}ended(){return this._vimeoState.ended}playbackRate(){return 1}}Vimeo.prototype.featuresTimeupdateEvents=!0,Vimeo.isSupported=function(){return!0},Tech$1.withSourceHandlers(Vimeo),Vimeo.nativeSourceHandler={},Vimeo.nativeSourceHandler.canPlayType=function(n){return n==="video/vimeo"?"maybe":""},Vimeo.nativeSourceHandler.canHandleSource=function(n){return n.type?Vimeo.nativeSourceHandler.canPlayType(n.type):n.src?Vimeo.nativeSourceHandler.canPlayType(n.src):""},Vimeo.nativeSourceHandler.handleSource=function(n,e){e.src(n.src)},Vimeo.nativeSourceHandler.dispose=function(){},Vimeo.registerSourceHandler(Vimeo.nativeSourceHandler),typeof videojs.registerTech<"u"?videojs.registerTech("Vimeo",Vimeo):videojs.registerComponent("Vimeo",Vimeo),Vimeo.VERSION="0.0.1";var _isOnMobile=videojs.browser.IS_IOS||videojs.browser.IS_NATIVE_ANDROID,Tech=videojs.getTech("Tech");class Dailymotion extends Tech{constructor(e,o){super(e,o),this.setSrc(this.options_.source),console.log(this.options_.source),setTimeout(()=>{this.el_&&(this.el_.parentNode.className+=" vjs-dailymotion",_isOnMobile&&(this.el_.parentNode.className+=" vjs-dailymotion-mobile"),Dailymotion.isSdkReady?this.initDMPlayer():Dailymotion.sdkReadyQueue.push(this))})}_getPlayerParams(){var e={autoplay:!1,mute:!1,controls:!1,"enable-playback-controls":!1,"queue-autoplay-next":!1,"queue-enable":!1},o=["api","autoplay","autoplay-mute","id","mute","origin","quality","queue-autoplay-next","queue-enable","sharing-enable","start","subtitles-default","syndication","ui-highlight","ui-logo","ui-start-screen-info","ui-theme","apimode","playlist"],l=this.options_;if(o.forEach(function(u){typeof l[u]>"u"||(e[u]=l[u])}),typeof this.options_.dmControls<"u"&&(e.controls=this.options_.dmControls),this.url&&typeof this.url.playlist<"u"&&(e.playlist=this.url.playlist),typeof this.options_.customVars<"u"){var t=this.options_.customVars;Object.keys(t).forEach(function(u){e[u]=t[u]})}return e}_getPlayerConfig(){var e={width:"100%",height:"100%",params:this._getPlayerParams()};return this.url&&typeof this.url.video<"u"?e.video=this.url.video:typeof this.options_.video<"u"&&(e.video=this.options_.video),e}async initDMPlayer(){if(console.log("INIT DM Player",this._getPlayerConfig()),this.dmPlayer)return;const e={[dailymotion.events.VIDEO_DURATIONCHANGE]:["durationchange"],[dailymotion.events.PLAYER_END]:["ended"],[dailymotion.events.PLAYER_ERROR]:["error"],[dailymotion.events.PLAYER_VIDEOCHANGE]:["loadeddata","loadedmetadata"],[dailymotion.events.VIDEO_PAUSE]:["pause"],[dailymotion.events.VIDEO_PLAY]:["loadstart","play","playing"],[dailymotion.events.VIDEO_PLAYING]:["playing"],[dailymotion.events.VIDEO_TIMECHANGE]:["timeupdate"],[dailymotion.events.PLAYER_VOLUMECHANGE]:["volumechange","mute"]};this.dmPlayer=await dailymotion.createPlayer(this.options_.techId,this._getPlayerConfig()),this.dmState=await this.getPlayerState(),this.isApiReady=!0,this.dmPlayer.enable_playback_controls=!1,console.log("AUTONEXT",this.dmPlayer.enable_playback_controls);for(const o in e)this.dmPlayer.on(o,l=>{this.dmState=l;for(const t of e[o])this.trigger(t)});this.dmPlayer.on(dailymotion.events.PLAYER_ERROR,o=>{vm.trigger("error",o.playerError)}),this.triggerReady()}autoplay(e){return typeof e<"u"?this.setAutoplay(e):this.options_.autoplay}setAutoplay(e){return this.options_.autoplay=e}buffered(){return!this.dmPlayer||!this.dmPlayer.bufferedTime?videojs.createTimeRange():videojs.createTimeRange(0,this.dmPlayer.bufferedTime)}createEl(){var e=document.createElement("div");e.setAttribute("id",this.options_.techId),e.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute"),e.setAttribute("class","vjs-tech");var o=document.createElement("div");return o.appendChild(e),!_isOnMobile&&this.options_.dmControls,o}currentSrc(){return this.source&&this.source.src}currentTime(){return this.dmPlayer&&this.dmState&&this.dmState.videoTime}setCurrentTime(e){if(!(!this.dmPlayer||!this.dmPlayer.seek))return this.dmPlayer.seek(e)}dispose(){if(this.dmPlayer)this.dmPlayer.destroy(this.options_.techId),Tech.prototype.dispose.call(this);else{var e=Dailymotion.sdkReadyQueue.indexOf(this);e!==-1&&Dailymotion.sdkReadyQueue.splice(e,1)}this.dmPlayer=void 0,this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-dailymotion","").replace(" vjs-dailymotion-mobile",""),this.el_.parentNode.removeChild(this.el_),Tech.prototype.dispose.call(this)}duration(){return this.dmState?this.dmState.videoDuration:0}setDuration(e){}ended(){}enterFullWindow(){if(!(!this.dmPlayer||!this.dmPlayer.setFullscreen))return this.dmPlayer.setFullscreen(!0)}error(){return this.dmState&&this.dmState.playerError}exitFullscreen(){if(!(!this.dmPlayer||!this.dmPlayer.setFullscreen))return this.dmPlayer.setFullscreen(!1)}isFullscreen(){return this.dmState&&this.dmState.playerPresentationMode==="fullscreen"}language(){}languages(){}load(){if(!(!this.dmPlayer||!this.dmPlayer.loadContent))return this.dmPlayer.loadContent(this._getPlayerConfig())}loop(){}async muted(){return this.dmState?this.dmState.playerIsMuted:!1}async setMuted(e){typeof e>"u"&&(e=!(await this.getPlayerState()).playerIsMuted),await this.dmPlayer.setMute(e)}networkState(){}async pause(){if(!(!this.dmPlayer||!this.dmPlayer.pause))return await this.dmPlayer.pause()}paused(){return this.dmState&&this.dmState.playerIsPlaying===!1}play(){if(!(!this.isApiReady||!this.dmPlayer||!this.dmPlayer.play))return this.dmPlayer.play()}playbackRate(){return 1}poster(){}preload(){}readyState(){return!this.dmState||this.dmState.playerError?0:4}remainingTime(){return this.dmState&&this.dmState.videoDuration-this.dmState.videoTime}requestFullscreen(){return this.enterFullWindow()}enterFullScreen(){return this.enterFullWindow()}reset(){this.load()}seekable(){}seeking(){}src(e){return typeof e<"u"?this.setSrc(e):this.source}setSrc(e){if(!(typeof e>"u"))return this.source=e,this.url=Dailymotion.parseUrl(e.src||e),Dailymotion.isSdkReady&&this.load(),this.source}supportsFullScreen(){return!0}async volume(){return this.dmPlayer?(await this.dmPlayer.getState()).playerVolume:1}setVolume(e){!this.dmPlayer||!this.dmPlayer.setMute||!this.dmPlayer.setVolume||(e>0?this.dmPlayer.setMute(!1):this.dmPlayer.setMute(!0),this.dmPlayer.setVolume(e))}async getPlayerState(){return this.dmPlayer?await this.dmPlayer.getState():{}}}Dailymotion.isSupported=function(){return!0},Dailymotion.canPlaySource=function(n){return Dailymotion.canPlayType(n.type)},Dailymotion.canPlayType=function(n){return n==="video/dailymotion"},Dailymotion.parseUrl=function(n){var e={},o=/video\/[^?|^\/]*/,l=n.match(o);l&&l[0]&&(e.video=l[0].replace("video/",""));var t=/playlist(=|\/)[^&]*/;return l=n.match(t),l&&l[0]&&(e.playlist=l[0].replace(/playlist(=|\/)/,"")),e};async function apiLoaded(){Dailymotion.isSdkReady=!0;for(var n=0;n<Dailymotion.sdkReadyQueue.length;++n)await Dailymotion.sdkReadyQueue[n].initDMPlayer()}function loadScript(n,e){var o=!1,l=document.createElement("script"),t=document.getElementsByTagName("script")[0];t&&(t.parentNode.insertBefore(l,t),l.onload=function(){o||(o=!0,e())},l.onreadystatechange=function(){!o&&(this.readyState==="complete"||this.readyState==="loaded")&&(o=!0,e())},l.src=n)}function injectCss(){var n=".vjs-dailymotion .vjs-iframe-blocker { display: none; }.vjs-dailymotion.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-dailymotion .vjs-poster { background-size: cover; }.vjs-dailymotion-mobile .vjs-big-play-button { display: none; }",e=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.setAttribute("type","text/css"),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),e.appendChild(o)}Dailymotion.sdkReadyQueue=[],Dailymotion.loadLibrary=function(n){typeof document<"u"&&(loadScript(`https://geo.dailymotion.com/libs/player/${n}.js`,()=>{window.dailymotion===void 0?window.dailymotion={onScriptLoaded:apiLoaded}:apiLoaded()}),injectCss())},videojs.registerTech("Dailymotion",Dailymotion);const videojsStyles={};var mimeTypes={};const require$$0$4={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};/*!
  * mime-db
  * Copyright(c) 2014 Jonathan Ong
  * Copyright(c) 2015-2022 Douglas Christopher Wilson
  * MIT Licensed
- */var mimeDb=require$$0$4;function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var browser$e={exports:{}},process=browser$e.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(t){if(cachedSetTimeout===setTimeout)return setTimeout(t,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(t,0);try{return cachedSetTimeout(t,0)}catch{try{return cachedSetTimeout.call(null,t,0)}catch{return cachedSetTimeout.call(this,t,0)}}}function runClearTimeout(t){if(cachedClearTimeout===clearTimeout)return clearTimeout(t);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(t);try{return cachedClearTimeout(t)}catch{try{return cachedClearTimeout.call(null,t)}catch{return cachedClearTimeout.call(this,t)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var t=runTimeout(cleanUpNextTick);draining=!0;for(var e=queue.length;e;){for(currentQueue=queue,queue=[];++queueIndex<e;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,e=queue.length}currentQueue=null,draining=!1,runClearTimeout(t)}}process.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];queue.push(new Item(t,e)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(t,e){this.fun=t,this.array=e}Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={};function noop(){}process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(t){return[]},process.binding=function(t){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(t){throw new Error("process.chdir is not supported")},process.umask=function(){return 0};var browserExports$1=browser$e.exports;const process$1=getDefaultExportFromCjs(browserExports$1);function assertPath(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function normalizeStringPosix(t,e){for(var n="",o=0,u=-1,l=0,m,y=0;y<=t.length;++y){if(y<t.length)m=t.charCodeAt(y);else{if(m===47)break;m=47}if(m===47){if(!(u===y-1||l===1))if(u!==y-1&&l===2){if(n.length<2||o!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var E=n.lastIndexOf("/");if(E!==n.length-1){E===-1?(n="",o=0):(n=n.slice(0,E),o=n.length-1-n.lastIndexOf("/")),u=y,l=0;continue}}else if(n.length===2||n.length===1){n="",o=0,u=y,l=0;continue}}e&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+t.slice(u+1,y):n=t.slice(u+1,y),o=y-u-1;u=y,l=0}else m===46&&l!==-1?++l:l=-1}return n}function _format(t,e){var n=e.dir||e.root,o=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+o:n+t+o:o}var posix={resolve:function(){for(var e="",n=!1,o,u=arguments.length-1;u>=-1&&!n;u--){var l;u>=0?l=arguments[u]:(o===void 0&&(o=process$1.cwd()),l=o),assertPath(l),l.length!==0&&(e=l+"/"+e,n=l.charCodeAt(0)===47)}return e=normalizeStringPosix(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(assertPath(e),e.length===0)return".";var n=e.charCodeAt(0)===47,o=e.charCodeAt(e.length-1)===47;return e=normalizeStringPosix(e,!n),e.length===0&&!n&&(e="."),e.length>0&&o&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return assertPath(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n<arguments.length;++n){var o=arguments[n];assertPath(o),o.length>0&&(e===void 0?e=o:e+="/"+o)}return e===void 0?".":posix.normalize(e)},relative:function(e,n){if(assertPath(e),assertPath(n),e===n||(e=posix.resolve(e),n=posix.resolve(n),e===n))return"";for(var o=1;o<e.length&&e.charCodeAt(o)===47;++o);for(var u=e.length,l=u-o,m=1;m<n.length&&n.charCodeAt(m)===47;++m);for(var y=n.length,E=y-m,C=l<E?l:E,k=-1,A=0;A<=C;++A){if(A===C){if(E>C){if(n.charCodeAt(m+A)===47)return n.slice(m+A+1);if(A===0)return n.slice(m+A)}else l>C&&(e.charCodeAt(o+A)===47?k=A:A===0&&(k=0));break}var D=e.charCodeAt(o+A),P=n.charCodeAt(m+A);if(D!==P)break;D===47&&(k=A)}var R="";for(A=o+k+1;A<=u;++A)(A===u||e.charCodeAt(A)===47)&&(R.length===0?R+="..":R+="/..");return R.length>0?R+n.slice(m+k):(m+=k,n.charCodeAt(m)===47&&++m,n.slice(m))},_makeLong:function(e){return e},dirname:function(e){if(assertPath(e),e.length===0)return".";for(var n=e.charCodeAt(0),o=n===47,u=-1,l=!0,m=e.length-1;m>=1;--m)if(n=e.charCodeAt(m),n===47){if(!l){u=m;break}}else l=!1;return u===-1?o?"/":".":o&&u===1?"//":e.slice(0,u)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');assertPath(e);var o=0,u=-1,l=!0,m;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var y=n.length-1,E=-1;for(m=e.length-1;m>=0;--m){var C=e.charCodeAt(m);if(C===47){if(!l){o=m+1;break}}else E===-1&&(l=!1,E=m+1),y>=0&&(C===n.charCodeAt(y)?--y===-1&&(u=m):(y=-1,u=E))}return o===u?u=E:u===-1&&(u=e.length),e.slice(o,u)}else{for(m=e.length-1;m>=0;--m)if(e.charCodeAt(m)===47){if(!l){o=m+1;break}}else u===-1&&(l=!1,u=m+1);return u===-1?"":e.slice(o,u)}},extname:function(e){assertPath(e);for(var n=-1,o=0,u=-1,l=!0,m=0,y=e.length-1;y>=0;--y){var E=e.charCodeAt(y);if(E===47){if(!l){o=y+1;break}continue}u===-1&&(l=!1,u=y+1),E===46?n===-1?n=y:m!==1&&(m=1):n!==-1&&(m=-1)}return n===-1||u===-1||m===0||m===1&&n===u-1&&n===o+1?"":e.slice(n,u)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return _format("/",e)},parse:function(e){assertPath(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var o=e.charCodeAt(0),u=o===47,l;u?(n.root="/",l=1):l=0;for(var m=-1,y=0,E=-1,C=!0,k=e.length-1,A=0;k>=l;--k){if(o=e.charCodeAt(k),o===47){if(!C){y=k+1;break}continue}E===-1&&(C=!1,E=k+1),o===46?m===-1?m=k:A!==1&&(A=1):m!==-1&&(A=-1)}return m===-1||E===-1||A===0||A===1&&m===E-1&&m===y+1?E!==-1&&(y===0&&u?n.base=n.name=e.slice(1,E):n.base=n.name=e.slice(y,E)):(y===0&&u?(n.name=e.slice(1,m),n.base=e.slice(1,E)):(n.name=e.slice(y,m),n.base=e.slice(y,E)),n.ext=e.slice(m,E)),y>0?n.dir=e.slice(0,y-1):u&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix;/*!
+ */var mimeDb=require$$0$4;function getDefaultExportFromCjs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var browser$e={exports:{}},process=browser$e.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(n){if(cachedSetTimeout===setTimeout)return setTimeout(n,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(n,0);try{return cachedSetTimeout(n,0)}catch{try{return cachedSetTimeout.call(null,n,0)}catch{return cachedSetTimeout.call(this,n,0)}}}function runClearTimeout(n){if(cachedClearTimeout===clearTimeout)return clearTimeout(n);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(n);try{return cachedClearTimeout(n)}catch{try{return cachedClearTimeout.call(null,n)}catch{return cachedClearTimeout.call(this,n)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var n=runTimeout(cleanUpNextTick);draining=!0;for(var e=queue.length;e;){for(currentQueue=queue,queue=[];++queueIndex<e;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,e=queue.length}currentQueue=null,draining=!1,runClearTimeout(n)}}process.nextTick=function(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)e[o-1]=arguments[o];queue.push(new Item(n,e)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(n,e){this.fun=n,this.array=e}Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={};function noop(){}process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(n){return[]},process.binding=function(n){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(n){throw new Error("process.chdir is not supported")},process.umask=function(){return 0};var browserExports$1=browser$e.exports;const process$1=getDefaultExportFromCjs(browserExports$1);function assertPath(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}function normalizeStringPosix(n,e){for(var o="",l=0,t=-1,u=0,h,v=0;v<=n.length;++v){if(v<n.length)h=n.charCodeAt(v);else{if(h===47)break;h=47}if(h===47){if(!(t===v-1||u===1))if(t!==v-1&&u===2){if(o.length<2||l!==2||o.charCodeAt(o.length-1)!==46||o.charCodeAt(o.length-2)!==46){if(o.length>2){var w=o.lastIndexOf("/");if(w!==o.length-1){w===-1?(o="",l=0):(o=o.slice(0,w),l=o.length-1-o.lastIndexOf("/")),t=v,u=0;continue}}else if(o.length===2||o.length===1){o="",l=0,t=v,u=0;continue}}e&&(o.length>0?o+="/..":o="..",l=2)}else o.length>0?o+="/"+n.slice(t+1,v):o=n.slice(t+1,v),l=v-t-1;t=v,u=0}else h===46&&u!==-1?++u:u=-1}return o}function _format(n,e){var o=e.dir||e.root,l=e.base||(e.name||"")+(e.ext||"");return o?o===e.root?o+l:o+n+l:l}var posix={resolve:function(){for(var e="",o=!1,l,t=arguments.length-1;t>=-1&&!o;t--){var u;t>=0?u=arguments[t]:(l===void 0&&(l=process$1.cwd()),u=l),assertPath(u),u.length!==0&&(e=u+"/"+e,o=u.charCodeAt(0)===47)}return e=normalizeStringPosix(e,!o),o?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(assertPath(e),e.length===0)return".";var o=e.charCodeAt(0)===47,l=e.charCodeAt(e.length-1)===47;return e=normalizeStringPosix(e,!o),e.length===0&&!o&&(e="."),e.length>0&&l&&(e+="/"),o?"/"+e:e},isAbsolute:function(e){return assertPath(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,o=0;o<arguments.length;++o){var l=arguments[o];assertPath(l),l.length>0&&(e===void 0?e=l:e+="/"+l)}return e===void 0?".":posix.normalize(e)},relative:function(e,o){if(assertPath(e),assertPath(o),e===o||(e=posix.resolve(e),o=posix.resolve(o),e===o))return"";for(var l=1;l<e.length&&e.charCodeAt(l)===47;++l);for(var t=e.length,u=t-l,h=1;h<o.length&&o.charCodeAt(h)===47;++h);for(var v=o.length,w=v-h,A=u<w?u:w,E=-1,C=0;C<=A;++C){if(C===A){if(w>A){if(o.charCodeAt(h+C)===47)return o.slice(h+C+1);if(C===0)return o.slice(h+C)}else u>A&&(e.charCodeAt(l+C)===47?E=C:C===0&&(E=0));break}var M=e.charCodeAt(l+C),P=o.charCodeAt(h+C);if(M!==P)break;M===47&&(E=C)}var I="";for(C=l+E+1;C<=t;++C)(C===t||e.charCodeAt(C)===47)&&(I.length===0?I+="..":I+="/..");return I.length>0?I+o.slice(h+E):(h+=E,o.charCodeAt(h)===47&&++h,o.slice(h))},_makeLong:function(e){return e},dirname:function(e){if(assertPath(e),e.length===0)return".";for(var o=e.charCodeAt(0),l=o===47,t=-1,u=!0,h=e.length-1;h>=1;--h)if(o=e.charCodeAt(h),o===47){if(!u){t=h;break}}else u=!1;return t===-1?l?"/":".":l&&t===1?"//":e.slice(0,t)},basename:function(e,o){if(o!==void 0&&typeof o!="string")throw new TypeError('"ext" argument must be a string');assertPath(e);var l=0,t=-1,u=!0,h;if(o!==void 0&&o.length>0&&o.length<=e.length){if(o.length===e.length&&o===e)return"";var v=o.length-1,w=-1;for(h=e.length-1;h>=0;--h){var A=e.charCodeAt(h);if(A===47){if(!u){l=h+1;break}}else w===-1&&(u=!1,w=h+1),v>=0&&(A===o.charCodeAt(v)?--v===-1&&(t=h):(v=-1,t=w))}return l===t?t=w:t===-1&&(t=e.length),e.slice(l,t)}else{for(h=e.length-1;h>=0;--h)if(e.charCodeAt(h)===47){if(!u){l=h+1;break}}else t===-1&&(u=!1,t=h+1);return t===-1?"":e.slice(l,t)}},extname:function(e){assertPath(e);for(var o=-1,l=0,t=-1,u=!0,h=0,v=e.length-1;v>=0;--v){var w=e.charCodeAt(v);if(w===47){if(!u){l=v+1;break}continue}t===-1&&(u=!1,t=v+1),w===46?o===-1?o=v:h!==1&&(h=1):o!==-1&&(h=-1)}return o===-1||t===-1||h===0||h===1&&o===t-1&&o===l+1?"":e.slice(o,t)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return _format("/",e)},parse:function(e){assertPath(e);var o={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return o;var l=e.charCodeAt(0),t=l===47,u;t?(o.root="/",u=1):u=0;for(var h=-1,v=0,w=-1,A=!0,E=e.length-1,C=0;E>=u;--E){if(l=e.charCodeAt(E),l===47){if(!A){v=E+1;break}continue}w===-1&&(A=!1,w=E+1),l===46?h===-1?h=E:C!==1&&(C=1):h!==-1&&(C=-1)}return h===-1||w===-1||C===0||C===1&&h===w-1&&h===v+1?w!==-1&&(v===0&&t?o.base=o.name=e.slice(1,w):o.base=o.name=e.slice(v,w)):(v===0&&t?(o.name=e.slice(1,h),o.base=e.slice(1,w)):(o.name=e.slice(v,h),o.base=e.slice(v,w)),o.ext=e.slice(h,w)),v>0?o.dir=e.slice(0,v-1):t&&(o.dir="/"),o},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix;/*!
  * mime-types
  * Copyright(c) 2014 Jonathan Ong
  * Copyright(c) 2015 Douglas Christopher Wilson
  * MIT Licensed
- */(function(t){var e=mimeDb,n=pathBrowserify.extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,u=/^text\//i;t.charset=l,t.charsets={lookup:l},t.contentType=m,t.extension=y,t.extensions=Object.create(null),t.lookup=E,t.types=Object.create(null),C(t.extensions,t.types);function l(k){if(!k||typeof k!="string")return!1;var A=o.exec(k),D=A&&e[A[1].toLowerCase()];return D&&D.charset?D.charset:A&&u.test(A[1])?"UTF-8":!1}function m(k){if(!k||typeof k!="string")return!1;var A=k.indexOf("/")===-1?t.lookup(k):k;if(!A)return!1;if(A.indexOf("charset")===-1){var D=t.charset(A);D&&(A+="; charset="+D.toLowerCase())}return A}function y(k){if(!k||typeof k!="string")return!1;var A=o.exec(k),D=A&&t.extensions[A[1].toLowerCase()];return!D||!D.length?!1:D[0]}function E(k){if(!k||typeof k!="string")return!1;var A=n("x."+k).toLowerCase().substr(1);return A&&t.types[A]||!1}function C(k,A){var D=["nginx","apache",void 0,"iana"];Object.keys(e).forEach(function(R){var B=e[R],F=B.extensions;if(!(!F||!F.length)){k[R]=F;for(var O=0;O<F.length;O++){var N=F[O];if(A[N]){var Y=D.indexOf(e[A[N]].source),J=D.indexOf(B.source);if(A[N]!=="application/octet-stream"&&(Y>J||Y===J&&A[N].substr(0,12)==="application/"))continue}A[N]=R}}})}})(mimeTypes);const mime=getDefaultExportFromCjs$1(mimeTypes),alternative_types=[{regex:/^(https?:\/\/)?((?:www|m)\.)?(?:youtube(?:-nocookie)?\.com|youtu.be)/,type:"video/youtube"},{regex:/^(https?:\/\/)?(www\.)?vimeo\.com/,type:"video/vimeo"}],VideojsPlayerWidget=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){var n={techOrder:["html5","Youtube","Vimeo"]},o=!1,u=!0;typeof this.video>"u"&&(this.video=this.media.video);let l=mime.lookup(this.video);if(!l){for(const C of alternative_types)if(C.regex.test(this.video)){l=C.type;break}}if(n.src={type:l||!1,src:this.video},n.controls=!1,n.width=this.width,this.height&&(n.height=this.height),this.autostart&&(n.autostart=!0),this.url_transform&&(n.src.src=this.url_transform(n.src.src)),!this.media)return;var m=this.media;const y=`video_${this.generateUid("_")}`;this.$.append(`<video class="video-js" id="${y}"><source type="${n.src.type||"video/mp4"}" src="${n.src.src}"></source></video>`);const E=videojs(y,n);m.on("setcurrenttime",function(C){o=u,E.currentTime(C/1e3)}),m.on("setvolume",function(C){E.volume(C),m.volume=C}),m.on("setmuted",function(C){E.muted(C),m.muted=C}),m.on("setplay",function(){E.play(),m.paused=!1}),m.on("setpause",function(){E.pause(),m.paused=!0}),E.on("timeupdate",function(){m.trigger("timeupdate",new t.Model.Time(E.currentTime()*1e3))}),E.ready(function(){m.trigger("timeupdate",new t.Model.Time(E.currentTime()*1e3)),u=E.paused(),m.paused=E.paused(),m.trigger("loadedmetadata")}),E.on("pause",function(){u=!0,m.trigger("pause")}),E.on("play",function(){u=!1,m.trigger("play")}),videojs.use("*",function(C){return{play:function(k,A){return u=!1,m.trigger("play"),A},setCurrentTime:function(k){return o?(E.pause(),o=!1):u&&!E.paused()&&(u=!1,m.trigger("play")),m.trigger("timeupdate",new t.Model.Time(k)),k},pause:function(k,A){return u=!0,m.trigger("pause"),A},setMuted:function(k){return m.muted=k,m.trigger("volumechange"),k},setVolume:function(k){return m.volume=k,m.trigger("volumechange"),k}}}),this.videojsPlayer=E}},Fi(e,"defaults",{}),e};function defaults(t){const e={};return e.language="en",e.widgetsDir="widgets",e.widgetsRequirements={PopcornPlayer:{noCss:!0,requires:["popcorn"]},HtmlPlayer:{noCss:!0},JwpPlayer:{noCss:!0,requires:["jwplayer"]},DailymotionPlayer:{noCss:!0,requires:["swfObject"]},AdaptivePlayer:{noCss:!0},AutoPlayer:{noCss:!0},AnnotationsList:{requires:["jwplayer"]},Sparkline:{noCss:!0,requires:["raphael"]},Arrow:{noCss:!0,requires:["raphael"]},Mediafragment:{noCss:!0},Trace:{noCss:!0,requires:["tracemanager"]},Slideshare:{requires:["swfObject"]},Social:{requires:["zeroClipboardJs"]},Renkan:{requires:["backbone","backboneRelational","paper","jqueryMousewheel","renkanPublish"]},KnowledgeConcierge:{requires:["processing"]},MultiSegments:{noCss:!0},SlideVideoPlayer:{requires:["jQuery","jQueryUI","splitter"]},Shortcuts:{requires:["mousetrap","mousetrapGlobal"]},VideojsPlayer:{requires:["videojs","videojs-youtube","videojs-vimeo"]}},e.guiDefaults={width:640,container:"LdtPlayer",spacer_div_height:0,widgets:[]},e}function metadataplayer(t){var e=t.Metadataplayer=function(n){t.log("IriSP.Metadataplayer constructor");for(var o in t.guiDefaults)t.guiDefaults.hasOwnProperty(o)&&!n.hasOwnProperty(o)&&(n[o]=t.guiDefaults[o]);var u=document.getElementById(n.container);u.innerHTML='<h3 class="Ldt-Loader">Loading... Chargement...</h3>',this.sourceManager=new t.Model.Directory,this.config=n,this.__events={},this.onLibsLoaded()};e.prototype.toString=function(){return"Metadataplayer in #"+this.config.container},e.prototype.on=function(n,o){typeof this.__events[n]>"u"&&(this.__events[n]=[]),this.__events[n].push(o)},e.prototype.trigger=function(n,o){var u=this;_$1(this.__events[n]).each(function(l){l.call(u,o)})},e.prototype.onLibsLoaded=function(){t.log("IriSP.Metadataplayer.prototype.onLibsLoaded"),this.$=jQuery("#"+this.config.container),this.$.css({width:this.config.width,clear:"both"}),typeof this.config.height<"u"&&this.$.css("height",this.config.height),this.widgets=[];var n=this;_$1(this.config.widgets).each(function(o,u){n.widgets.push(null),n.loadWidget(o,function(l){n.widgets[u]=l,l.isLoaded()&&n.trigger("widget-loaded")})}),this.$.find(".Ldt-Loader").detach(),this.widgetsLoaded=!1,this.on("widget-loaded",function(){if(!n.widgetsLoaded){var o=!_$1(n.widgets).some(function(u){return!(u&&u.isLoaded())});o&&(n.widgetsLoaded=!0,n.trigger("widgets-loaded"))}})},e.prototype.loadLocalAnnotations=function(n){return this.localSource===void 0&&(this.localSource=this.sourceManager.newLocalSource({serializer:IriSP.serializers.ldt_localstorage})),n&&(this.localSource.identifier=n),this.localSource.deSerialize(window.localStorage[this.localSource.identifier]||"[]"),this.localSource},e.prototype.saveLocalAnnotations=function(){window.localStorage[this.localSource.identifier]=this.localSource.serialize()},e.prototype.addLocalAnnotation=function(n){this.loadLocalAnnotations(),this.localSource.getAnnotations().push(n),this.saveLocalAnnotations()},e.prototype.deleteLocalAnnotation=function(n){this.localSource.getAnnotations().removeId(n,!0),this.saveLocalAnnotations()},e.prototype.getLocalAnnotation=function(n){return this.loadLocalAnnotations(),_$1.first(_$1.filter(this.localSource.getAnnotations(),function(o){return o.id==n}))},e.prototype.loadMetadata=function(n){return n.elementType==="source"?n:(typeof n.serializer>"u"&&typeof n.format<"u"&&(n.serializer=t.serializers[n.format]),typeof n.url<"u"&&typeof n.serializer<"u"?this.sourceManager.remoteSource(n):this.sourceManager.newLocalSource(n))},e.prototype.loadWidget=function(n,o){if(typeof n.container>"u"){var u=this.layoutDivs(n.type);n.container=u[0]}var l=this;typeof t.Widgets[n.type]<"u"?_$1.defer(function(){o(new t.Widgets[n.type](l,n))}):t.log("Widget type "+n.type+" Unkown !")},e.prototype.layoutDivs=function(n,o){typeof n>"u"&&(n="");var u=_$1.uniqueId(this.config.container+"_widget_"+n+"_"),l=_$1.uniqueId("LdtPlayer_spacer_"),m=jQuery("<div>").attr("id",u).css({width:this.config.width+"px",position:"relative",clear:"both"}),y=jQuery("<div>").attr("id",l).css({width:this.config.width+"px",height:this.config.spacer_div_height+"px",position:"relative",clear:"both"});return typeof o<"u"&&m.css("height",o),this.$.append(m),this.$.append(y),[u,l]}}/*!
+ */(function(n){var e=mimeDb,o=pathBrowserify.extname,l=/^\s*([^;\s]*)(?:;|\s|$)/,t=/^text\//i;n.charset=u,n.charsets={lookup:u},n.contentType=h,n.extension=v,n.extensions=Object.create(null),n.lookup=w,n.types=Object.create(null),A(n.extensions,n.types);function u(E){if(!E||typeof E!="string")return!1;var C=l.exec(E),M=C&&e[C[1].toLowerCase()];return M&&M.charset?M.charset:C&&t.test(C[1])?"UTF-8":!1}function h(E){if(!E||typeof E!="string")return!1;var C=E.indexOf("/")===-1?n.lookup(E):E;if(!C)return!1;if(C.indexOf("charset")===-1){var M=n.charset(C);M&&(C+="; charset="+M.toLowerCase())}return C}function v(E){if(!E||typeof E!="string")return!1;var C=l.exec(E),M=C&&n.extensions[C[1].toLowerCase()];return!M||!M.length?!1:M[0]}function w(E){if(!E||typeof E!="string")return!1;var C=o("x."+E).toLowerCase().substr(1);return C&&n.types[C]||!1}function A(E,C){var M=["nginx","apache",void 0,"iana"];Object.keys(e).forEach(function(I){var j=e[I],B=j.extensions;if(!(!B||!B.length)){E[I]=B;for(var F=0;F<B.length;F++){var N=B[F];if(C[N]){var ee=M.indexOf(e[C[N]].source),Z=M.indexOf(j.source);if(C[N]!=="application/octet-stream"&&(ee>Z||ee===Z&&C[N].substr(0,12)==="application/"))continue}C[N]=I}}})}})(mimeTypes);const mime=getDefaultExportFromCjs$1(mimeTypes),alternative_types=[{regex:/^(https?:\/\/)?((?:www|m)\.)?(?:youtube(?:-nocookie)?\.com|youtu.be)/,type:"video/youtube"},{regex:/^(https?:\/\/)?(www\.)?vimeo\.com/,type:"video/vimeo"},{regex:/^(https?:\/\/)?(www\.)?dailymotion\.com/,type:"video/dailymotion"}],VideojsPlayerWidget=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){const o=["html5","Youtube","Vimeo"];this.dailymotionPlayerId&&(o.push("Dailymotion"),Dailymotion.loadLibrary(this.dailymotionPlayerId));var l={techOrder:o},t=!1,u=!0;typeof this.video>"u"&&(this.video=this.media.video);let h=mime.lookup(this.video);if(!h){for(const E of alternative_types)if(E.regex.test(this.video)){h=E.type;break}}if(l.src={type:h||!1,src:this.video},l.controls=!1,l.width=this.width,this.height&&(l.height=this.height),this.autostart&&(l.autostart=!0),this.url_transform&&(l.src.src=this.url_transform(l.src.src)),!this.media)return;var v=this.media;const w=`video_${this.generateUid("_")}`;this.$.append(`<video class="video-js" id="${w}"><source type="${l.src.type||"video/mp4"}" src="${l.src.src}"></source></video>`);const A=videojs(w,l);v.on("setcurrenttime",function(E){t=u,A.currentTime(E/1e3)}),v.on("setvolume",function(E){A.volume(E),v.volume=E}),v.on("setmuted",function(E){A.muted(E),v.muted=E}),v.on("setplay",function(){A.play(),v.paused=!1}),v.on("setpause",function(){A.pause(),v.paused=!0}),A.on("timeupdate",function(){v.trigger("timeupdate",new n.Model.Time(A.currentTime()*1e3))}),A.ready(function(){v.trigger("timeupdate",new n.Model.Time(A.currentTime()*1e3)),u=A.paused(),v.paused=A.paused(),v.trigger("loadedmetadata")}),A.on("pause",function(){u=!0,v.trigger("pause")}),A.on("play",function(){u=!1,v.trigger("play")}),videojs.use("*",function(E){return{play:function(C,M){return u=!1,v.trigger("play"),M},setCurrentTime:function(C){return t?(A.pause(),t=!1):u&&!A.paused()&&(u=!1,v.trigger("play")),v.trigger("timeupdate",new n.Model.Time(C)),C},pause:function(C,M){return u=!0,v.trigger("pause"),M},setMuted:function(C){return v.muted=C,v.trigger("muted"),v.trigger("volumechange"),C},setVolume:function(C){return v.volume=C,v.trigger("volumechange"),C}}}),this.videojsPlayer=A}},Or(e,"defaults",{}),e};function defaults(n){const e={};return e.language="en",e.widgetsDir="widgets",e.widgetsRequirements={PopcornPlayer:{noCss:!0,requires:["popcorn"]},HtmlPlayer:{noCss:!0},JwpPlayer:{noCss:!0,requires:["jwplayer"]},DailymotionPlayer:{noCss:!0,requires:["swfObject"]},AdaptivePlayer:{noCss:!0},AutoPlayer:{noCss:!0},AnnotationsList:{requires:["jwplayer"]},Sparkline:{noCss:!0,requires:["raphael"]},Arrow:{noCss:!0,requires:["raphael"]},Mediafragment:{noCss:!0},Trace:{noCss:!0,requires:["tracemanager"]},Slideshare:{requires:["swfObject"]},Social:{requires:["zeroClipboardJs"]},Renkan:{requires:["backbone","backboneRelational","paper","jqueryMousewheel","renkanPublish"]},KnowledgeConcierge:{requires:["processing"]},MultiSegments:{noCss:!0},SlideVideoPlayer:{requires:["jQuery","jQueryUI","splitter"]},Shortcuts:{requires:["mousetrap","mousetrapGlobal"]},VideojsPlayer:{requires:["videojs","videojs-youtube","videojs-vimeo"]}},e.guiDefaults={width:640,container:"LdtPlayer",spacer_div_height:0,widgets:[]},e}function metadataplayer(n){var e=n.Metadataplayer=function(o){n.log("IriSP.Metadataplayer constructor");for(var l in n.guiDefaults)n.guiDefaults.hasOwnProperty(l)&&!o.hasOwnProperty(l)&&(o[l]=n.guiDefaults[l]);var t=document.getElementById(o.container);t.innerHTML='<h3 class="Ldt-Loader">Loading... Chargement...</h3>',this.sourceManager=new n.Model.Directory,this.config=o,this.__events={},this.onLibsLoaded()};e.prototype.toString=function(){return"Metadataplayer in #"+this.config.container},e.prototype.on=function(o,l){typeof this.__events[o]>"u"&&(this.__events[o]=[]),this.__events[o].push(l)},e.prototype.trigger=function(o,l){var t=this;_$1(this.__events[o]).each(function(u){u.call(t,l)})},e.prototype.onLibsLoaded=function(){n.log("IriSP.Metadataplayer.prototype.onLibsLoaded"),this.$=jQuery("#"+this.config.container),this.$.css({width:this.config.width,clear:"both"}),typeof this.config.height<"u"&&this.$.css("height",this.config.height),this.widgets=[];var o=this;_$1(this.config.widgets).each(function(l,t){o.widgets.push(null),o.loadWidget(l,function(u){o.widgets[t]=u,u.isLoaded()&&o.trigger("widget-loaded")})}),this.$.find(".Ldt-Loader").detach(),this.widgetsLoaded=!1,this.on("widget-loaded",function(){if(!o.widgetsLoaded){var l=!_$1(o.widgets).some(function(t){return!(t&&t.isLoaded())});l&&(o.widgetsLoaded=!0,o.trigger("widgets-loaded"))}})},e.prototype.loadLocalAnnotations=function(o){return this.localSource===void 0&&(this.localSource=this.sourceManager.newLocalSource({serializer:IriSP.serializers.ldt_localstorage})),o&&(this.localSource.identifier=o),this.localSource.deSerialize(window.localStorage[this.localSource.identifier]||"[]"),this.localSource},e.prototype.saveLocalAnnotations=function(){window.localStorage[this.localSource.identifier]=this.localSource.serialize()},e.prototype.addLocalAnnotation=function(o){this.loadLocalAnnotations(),this.localSource.getAnnotations().push(o),this.saveLocalAnnotations()},e.prototype.deleteLocalAnnotation=function(o){this.localSource.getAnnotations().removeId(o,!0),this.saveLocalAnnotations()},e.prototype.getLocalAnnotation=function(o){return this.loadLocalAnnotations(),_$1.first(_$1.filter(this.localSource.getAnnotations(),function(l){return l.id==o}))},e.prototype.loadMetadata=function(o){return o.elementType==="source"?o:(typeof o.serializer>"u"&&typeof o.format<"u"&&(o.serializer=n.serializers[o.format]),typeof o.url<"u"&&typeof o.serializer<"u"?this.sourceManager.remoteSource(o):this.sourceManager.newLocalSource(o))},e.prototype.loadWidget=function(o,l){if(typeof o.container>"u"){var t=this.layoutDivs(o.type);o.container=t[0]}var u=this;typeof n.Widgets[o.type]<"u"?_$1.defer(function(){l(new n.Widgets[o.type](u,o))}):n.log("Widget type "+o.type+" Unkown !")},e.prototype.layoutDivs=function(o,l){typeof o>"u"&&(o="");var t=_$1.uniqueId(this.config.container+"_widget_"+o+"_"),u=_$1.uniqueId("LdtPlayer_spacer_"),h=jQuery("<div>").attr("id",t).css({width:this.config.width+"px",position:"relative",clear:"both"}),v=jQuery("<div>").attr("id",u).css({width:this.config.width+"px",height:this.config.spacer_div_height+"px",position:"relative",clear:"both"});return typeof l<"u"&&h.css("height",l),this.$.append(h),this.$.append(v),[t,u]}}/*!
  * mustache.js - Logic-less {{mustache}} templates with JavaScript
  * http://github.com/janl/mustache.js
- */var objectToString$1=Object.prototype.toString,isArray$4=Array.isArray||function(e){return objectToString$1.call(e)==="[object Array]"};function isFunction$1(t){return typeof t=="function"}function typeStr(t){return isArray$4(t)?"array":typeof t}function escapeRegExp(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function hasProperty(t,e){return t!=null&&typeof t=="object"&&e in t}function primitiveHasOwnProperty(t,e){return t!=null&&typeof t!="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var regExpTest=RegExp.prototype.test;function testRegExp(t,e){return regExpTest.call(t,e)}var nonSpaceRe=/\S/;function isWhitespace(t){return!testRegExp(nonSpaceRe,t)}var entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function escapeHtml(t){return String(t).replace(/[&<>"'`=\/]/g,function(n){return entityMap[n]})}var whiteRe=/\s*/,spaceRe=/\s+/,equalsRe=/\s*=/,curlyRe=/\s*\}/,tagRe=/#|\^|\/|>|\{|&|=|!/;function parseTemplate(t,e){if(!t)return[];var n=!1,o=[],u=[],l=[],m=!1,y=!1,E="",C=0;function k(){if(m&&!y)for(;l.length;)delete u[l.pop()];else l=[];m=!1,y=!1}var A,D,P;function R(ce){if(typeof ce=="string"&&(ce=ce.split(spaceRe,2)),!isArray$4(ce)||ce.length!==2)throw new Error("Invalid tags: "+ce);A=new RegExp(escapeRegExp(ce[0])+"\\s*"),D=new RegExp("\\s*"+escapeRegExp(ce[1])),P=new RegExp("\\s*"+escapeRegExp("}"+ce[1]))}R(e||mustache.tags);for(var B=new Scanner(t),F,O,N,Y,J,ie;!B.eos();){if(F=B.pos,N=B.scanUntil(A),N)for(var ue=0,Q=N.length;ue<Q;++ue)Y=N.charAt(ue),isWhitespace(Y)?(l.push(u.length),E+=Y):(y=!0,n=!0,E+=" "),u.push(["text",Y,F,F+1]),F+=1,Y===`
-`&&(k(),E="",C=0,n=!1);if(!B.scan(A))break;if(m=!0,O=B.scan(tagRe)||"name",B.scan(whiteRe),O==="="?(N=B.scanUntil(equalsRe),B.scan(equalsRe),B.scanUntil(D)):O==="{"?(N=B.scanUntil(P),B.scan(curlyRe),B.scanUntil(D),O="&"):N=B.scanUntil(D),!B.scan(D))throw new Error("Unclosed tag at "+B.pos);if(O==">"?J=[O,N,F,B.pos,E,C,n]:J=[O,N,F,B.pos],C++,u.push(J),O==="#"||O==="^")o.push(J);else if(O==="/"){if(ie=o.pop(),!ie)throw new Error('Unopened section "'+N+'" at '+F);if(ie[1]!==N)throw new Error('Unclosed section "'+ie[1]+'" at '+F)}else O==="name"||O==="{"||O==="&"?y=!0:O==="="&&R(N)}if(k(),ie=o.pop(),ie)throw new Error('Unclosed section "'+ie[1]+'" at '+B.pos);return nestTokens(squashTokens(u))}function squashTokens(t){for(var e=[],n,o,u=0,l=t.length;u<l;++u)n=t[u],n&&(n[0]==="text"&&o&&o[0]==="text"?(o[1]+=n[1],o[3]=n[3]):(e.push(n),o=n));return e}function nestTokens(t){for(var e=[],n=e,o=[],u,l,m=0,y=t.length;m<y;++m)switch(u=t[m],u[0]){case"#":case"^":n.push(u),o.push(u),n=u[4]=[];break;case"/":l=o.pop(),l[5]=u[2],n=o.length>0?o[o.length-1][4]:e;break;default:n.push(u)}return e}function Scanner(t){this.string=t,this.tail=t,this.pos=0}Scanner.prototype.eos=function(){return this.tail===""},Scanner.prototype.scan=function(e){var n=this.tail.match(e);if(!n||n.index!==0)return"";var o=n[0];return this.tail=this.tail.substring(o.length),this.pos+=o.length,o},Scanner.prototype.scanUntil=function(e){var n=this.tail.search(e),o;switch(n){case-1:o=this.tail,this.tail="";break;case 0:o="";break;default:o=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=o.length,o};function Context(t,e){this.view=t,this.cache={".":this.view},this.parent=e}Context.prototype.push=function(e){return new Context(e,this)},Context.prototype.lookup=function(e){var n=this.cache,o;if(n.hasOwnProperty(e))o=n[e];else{for(var u=this,l,m,y,E=!1;u;){if(e.indexOf(".")>0)for(l=u.view,m=e.split("."),y=0;l!=null&&y<m.length;)y===m.length-1&&(E=hasProperty(l,m[y])||primitiveHasOwnProperty(l,m[y])),l=l[m[y++]];else l=u.view[e],E=hasProperty(u.view,e);if(E){o=l;break}u=u.parent}n[e]=o}return isFunction$1(o)&&(o=o.call(this.view)),o};function Writer(){this.templateCache={_cache:{},set:function(e,n){this._cache[e]=n},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}Writer.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()},Writer.prototype.parse=function(e,n){var o=this.templateCache,u=e+":"+(n||mustache.tags).join(":"),l=typeof o<"u",m=l?o.get(u):void 0;return m==null&&(m=parseTemplate(e,n),l&&o.set(u,m)),m},Writer.prototype.render=function(e,n,o,u){var l=this.getConfigTags(u),m=this.parse(e,l),y=n instanceof Context?n:new Context(n,void 0);return this.renderTokens(m,y,o,e,u)},Writer.prototype.renderTokens=function(e,n,o,u,l){for(var m="",y,E,C,k=0,A=e.length;k<A;++k)C=void 0,y=e[k],E=y[0],E==="#"?C=this.renderSection(y,n,o,u,l):E==="^"?C=this.renderInverted(y,n,o,u,l):E===">"?C=this.renderPartial(y,n,o,l):E==="&"?C=this.unescapedValue(y,n):E==="name"?C=this.escapedValue(y,n,l):E==="text"&&(C=this.rawValue(y)),C!==void 0&&(m+=C);return m},Writer.prototype.renderSection=function(e,n,o,u,l){var m=this,y="",E=n.lookup(e[1]);function C(D){return m.render(D,n,o,l)}if(E){if(isArray$4(E))for(var k=0,A=E.length;k<A;++k)y+=this.renderTokens(e[4],n.push(E[k]),o,u,l);else if(typeof E=="object"||typeof E=="string"||typeof E=="number")y+=this.renderTokens(e[4],n.push(E),o,u,l);else if(isFunction$1(E)){if(typeof u!="string")throw new Error("Cannot use higher-order sections without the original template");E=E.call(n.view,u.slice(e[3],e[5]),C),E!=null&&(y+=E)}else y+=this.renderTokens(e[4],n,o,u,l);return y}},Writer.prototype.renderInverted=function(e,n,o,u,l){var m=n.lookup(e[1]);if(!m||isArray$4(m)&&m.length===0)return this.renderTokens(e[4],n,o,u,l)},Writer.prototype.indentPartial=function(e,n,o){for(var u=n.replace(/[^ \t]/g,""),l=e.split(`
-`),m=0;m<l.length;m++)l[m].length&&(m>0||!o)&&(l[m]=u+l[m]);return l.join(`
-`)},Writer.prototype.renderPartial=function(e,n,o,u){if(o){var l=this.getConfigTags(u),m=isFunction$1(o)?o(e[1]):o[e[1]];if(m!=null){var y=e[6],E=e[5],C=e[4],k=m;E==0&&C&&(k=this.indentPartial(m,C,y));var A=this.parse(k,l);return this.renderTokens(A,n,o,k,u)}}},Writer.prototype.unescapedValue=function(e,n){var o=n.lookup(e[1]);if(o!=null)return o},Writer.prototype.escapedValue=function(e,n,o){var u=this.getConfigEscape(o)||mustache.escape,l=n.lookup(e[1]);if(l!=null)return typeof l=="number"&&u===mustache.escape?String(l):u(l)},Writer.prototype.rawValue=function(e){return e[1]},Writer.prototype.getConfigTags=function(e){return isArray$4(e)?e:e&&typeof e=="object"?e.tags:void 0},Writer.prototype.getConfigEscape=function(e){if(e&&typeof e=="object"&&!isArray$4(e))return e.escape};var mustache={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){defaultWriter.templateCache=t},get templateCache(){return defaultWriter.templateCache}},defaultWriter=new Writer;mustache.clearCache=function(){return defaultWriter.clearCache()},mustache.parse=function(e,n){return defaultWriter.parse(e,n)},mustache.render=function(e,n,o,u){if(typeof e!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+typeStr(e)+'" was given as the first argument for mustache#render(template, view, partials)');return defaultWriter.render(e,n,o,u)},mustache.escape=escapeHtml,mustache.Scanner=Scanner,mustache.Context=Context,mustache.Writer=Writer;function widgetsBase(t){var n;const e={};return e.Widget=(n=class{constructor(o,u){if(typeof o>"u")return;this.__subwidgets=[];var l=u.type||"(unknown)",m=_$1.defaults({},u,o&&o.config?o.config.default_options:{},this.constructor.defaults),y=this;_$1(m).forEach(function(C,k){y[k]=C}),this.$=jQuery("#"+this.container),typeof this.width>"u"?this.width=this.$.width():this.$.css("width",this.width),typeof this.height<"u"&&this.$.css("height",this.height),this.player=o||new t.FakeClass(["on","trigger","off","loadWidget","loadMetadata"]),this.$.addClass("Ldt-TraceMe Ldt-Widget").attr("widget-type",l),this.l10n=typeof this.constructor.messages[t.language]<"u"?this.constructor.messages[t.language]:t.language.length>2&&typeof this.constructor.messages[t.language.substr(0,2)]<"u"?this.constructor.messages[t.language.substr(0,2)]:this.constructor.messages.en;function E(){if(y.localannotations&&(y.localsource=o.loadLocalAnnotations(y.localannotations),y.source.merge(y.localsource)),y.media_id)y.media=this.getElement(y.media_id);else{var C={is_mashup:y.is_mashup||!1};y.media=y.source.getCurrentMedia(C)}y.pre_draw_callback?jQuery.when(y.pre_draw_callback()).done(y.draw()):y.draw(),y.player.trigger("widget-loaded")}this.metadata?(this.source=o.loadMetadata(this.metadata),this.source.onLoad(E)):this.source&&E()}toString(){return"Widget "+this.type}templateToHtml(o){return mustache.render(o,this)}renderTemplate(){this.$.append(this.templateToHtml(this.constructor.template))}functionWrapper(o){var u=this,l=this[o];if(typeof l<"u")return function(){return l.apply(u,Array.prototype.slice.call(arguments,0))};console.log("Error, Unknown function IriSP.Widgets."+this.type+"."+o)}getFunctionOrName(o){switch(typeof o){case"function":return o;case"string":return this.functionWrapper(o);default:return}}onMdpEvent(o,u){this.player.on(o,this.getFunctionOrName(u))}onMediaEvent(o,u){this.media.on(o,this.getFunctionOrName(u))}getWidgetAnnotations(){var o=null;return typeof this.annotation_type>"u"?o=this.media.getAnnotations():this.annotation_type.elementType==="annotationType"?o=this.annotation_type.getAnnotations():o=this.media.getAnnotationsByTypeTitle(this.annotation_type),typeof this.annotation_filter<"u"?this.annotation_filter(o):o}getWidgetAnnotationsAtTime(){var o=this.media.getCurrentTime();return this.getWidgetAnnotations().filter(function(u){return u.begin<=o&&u.end>o})}isLoaded(){var o=!_$1(this.__subwidgets).some(function(u){return!(u&&u.isLoaded())});return o}insertSubwidget(o,u,l){var m=o.attr("id"),y=this,E=this.__subwidgets.length;this.__subwidgets.push(null),typeof m>"u"&&(m=_$1.uniqueId(this.container+"_sub_widget_"+u.type),o.attr("id",m)),u.container=m,y.player.loadWidget(u,function(C){l&&(y[l]=C),y.__subwidgets[E]=C})}navigate(o){for(var u=this,l=u.media.getCurrentTime(),m=u.getWidgetAnnotations().sortBy(function(E){return E.begin}),y=0;y<m.length;y++)if(m[y].begin<=l&&l<m[y].end){y=Math.min(m.length-1,Math.max(0,y+o)),u.media.setCurrentTime(m[y].begin);break}}exportAnnotations(o){var u=this;o===void 0&&(o=this.getWidgetAnnotations());var l=jQuery,m=mustache.render(`[video:{{url}}]
-`,{url:u.media.url})+o.map(function(y){return mustache.render("[{{ a.begin }}]{{ a.title }} {{ a.description }}[{{ a.end }}]",{a:y})}).join(`
-`);l("<pre>").addClass("exportContainer").text(m).dialog({title:"Annotation export",open:function(y,E){var C;document.selection?(C=document.body.createTextRange(),C.moveToElementText(this[0]),C.select()):window.getSelection&&(C=document.createRange(),C.selectNode(this[0]),window.getSelection().addRange(C))},autoOpen:!0,width:"80%",minHeight:"400",height:400,buttons:[{text:"Close",click:function(){l(this).dialog("close")}},{text:"Download",click:function(){a=document.createElement("a"),a.setAttribute("href","data:text/plain;base64,"+btoa(m)),a.setAttribute("download","Annotations - "+u.media.title.replace(/[^ \w]/g,"")+".txt"),a.click()}}]})}draw(){}generateUid(o="-"){return`xxxxxxxx${o}xxxx${o}4xxx${o}yxxx${o}xxxxxxxxxxxx`.replace(/[xy]/g,function(u){var l=Math.random()*16|0,m=u==="x"?l:l&3|8;return m.toString(16)})}},Fi(n,"defaults",{}),Fi(n,"template",""),Fi(n,"messages",{en:{}}),n),e}const AdaptivePlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){typeof this.video>"u"&&(this.video=this.media.video);var n=["autostart","video","height","width","url_transform"],o={},u=document.createElement("video").canPlayType(this.mime_type);o.type=u!=="no"?this.normal_player:this.fallback_player;for(var l=0;l<n.length;l++)typeof this[n[l]]<"u"&&(o[n[l]]=this[n[l]]);this.insertSubwidget(this.$,o)}},Fi(e,"defaults",{mime_type:'video/mp4; codecs="avc1.42E01E"',normal_player:"HtmlPlayer",fallback_player:"VideojsPlayer"}),e},helloWorldStyles={},HelloWorld=function(t){var e;return e=class extends t.Widgets.Widget{constructor(o,u){super(o,u);Fi(this,"draw",function(){this.renderTemplate(),console.log("HelloWorldWidget was drawn")});console.log("Calling IriSP.Widget's constructor from IriSP.HelloWorldWidget")}},Fi(e,"defaults",{text:"world"}),Fi(e,"template",'<div class="Ldt-HelloWorld"><p>{{l10n.Hello}} {{text}}</p><p>Looks like we have <span class="Ldt-HelloWorld-annotations">{{source.contents.annotation.length}} annotations</span> in this feed</p></div>'),Fi(e,"messages",{fr:{Hello:"Bonjour,"},en:{Hello:"Hello,"}}),e},annotationStyles={},Annotation=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),this.lastAnnotation=!1,this.minimized=this.start_minimized||!1,this.bounds=[0,0]}draw(){var n=this,o;function u(y){var E=n.getWidgetAnnotationsAtTime();E.length||(n.$.find(".Ldt-Annotation-Inner").addClass("Ldt-Annotation-Empty"),n.arrow&&n.arrow.moveToTime(y),n.bounds=[y,y],n.sendBounds())}function l(){if(o){var y=o.title,E=o.description.replace(/(^\s+|\s+$)/g,""),C=o.found&&n.source.getAnnotations().regexp||!1;n.$.find(".Ldt-Annotation-Title").html(IriSP.textFieldHtml(y,C)||"("+n.l10n.untitled+")"),E?(n.$.find(".Ldt-Annotation-Description-Block").removeClass("Ldt-Annotation-EmptyBlock"),n.$.find(".Ldt-Annotation-Description").html(IriSP.textFieldHtml(E,C))):n.$.find(".Ldt-Annotation-Description-Block").addClass("Ldt-Annotation-EmptyBlock")}}function m(y){o=y;var E=typeof y.url<"u"?y.url:document.location.href.replace(/#.*$/,"")+"#id="+y.id,C=n.l10n.watching+y.title+(n.site_name?n.l10n.on_site+n.site_name:""),k=y.getTags(),A=n.$.find(".Ldt-Annotation-Tags");A.empty(),k.length?(n.$.find(".Ldt-Annotation-Tags-Block").removeClass("Ldt-Annotation-EmptyBlock"),k.forEach(function(D){var P=D.title.replace(/(^\s+|\s+$)/g,"");if(P){var R=jQuery('<li class="Ldt-Annotation-TagLabel"></li>').append(jQuery("<span>").text(P));R.on("click",function(){n.search_on_tag_click&&n.source.getAnnotations().search(P),D.trigger("click")}),A.append(R)}})):n.$.find(".Ldt-Annotation-Tags-Block").addClass("Ldt-Annotation-EmptyBlock"),l(),n.show_creator&&n.$.find(".Ldt-Annotation-Creator").text(y.creator),n.show_annotation_type&&(n.$.find(".Ldt-Annotation-Type").text(y.getAnnotationType().title),n.$.find(".Ldt-Annotation-Type").attr("title",y.getAnnotationType().description)),n.$.find(".Ldt-Annotation-Begin").text(y.begin.toString()),n.$.find(".Ldt-Annotation-End").text(y.end.toString()),y.elementType==="mashedAnnotation"?(n.$.find(".Ldt-Annotation-Inner").addClass("Ldt-Annotation-isMashup"),n.$.find(".Ldt-Annotation-MashupMedia").text(y.getMedia().title),n.$.find(".Ldt-Annotation-MashupBegin").text(y.annotation.begin.toString()),n.$.find(".Ldt-Annotation-MashupEnd").text(y.annotation.end.toString())):n.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-isMashup"),typeof n.socialWidget<"u"?n.socialWidget.updateUrls(E,C):setTimeout(function(){typeof n.socialWidget<"u"&&n.socialWidget.updateUrls(E,C)},800),n.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-Empty"),n.bounds=[y.begin,y.end],n.arrow&&n.arrow.moveToTime((1-n.arrow_position)*y.begin+n.arrow_position*y.end),n.sendBounds()}this.renderTemplate(),this.$.find(".Ldt-Annotation-Title").click(function(){return o&&n.media.setCurrentTime(o.begin),!1}),this.show_social&&this.insertSubwidget(this.$.find(".Ldt-Annotation-Social"),{type:"Social"},"socialWidget"),this.show_arrow&&this.insertSubwidget(this.$.find(".Ldt-Annotation-Arrow"),{type:"Arrow",width:this.width},"arrow"),this.onMediaEvent("timeupdate",u),this.onMdpEvent("Annotation.hide","hide"),this.onMdpEvent("Annotation.show","show"),this.onMdpEvent("Annotation.minimize","minimize"),this.onMdpEvent("Annotation.maximize","maximize"),this.onMdpEvent("Annotation.getBounds","sendBounds"),this.$.find(".Ldt-Annotation-MaxMinButton").click(this.functionWrapper("toggleSize")),this.$.on("resize",function(){n.width=n.$.parent().width(),n.$.css({width:n.width})}),this.getWidgetAnnotations().forEach(function(y){y.on("enter",function(){m(y)})}),this.source.getAnnotations().on("found",l),this.source.getAnnotations().on("not-found",l),this.source.getAnnotations().on("search-cleared",l),IriSP.attachDndData(this.$.find("h3"),function(){return{title:o.title,description:o.description,image:o.thumbnail,uri:typeof o.url<"u"?o.url:document.location.href.replace(/#.*$/,"")+"#id="+o.id,text:"["+o.begin.toString()+"] "+o.title}})}sendBounds(){this.player.trigger("Annotation.boundsChanged",this.bounds)}drawAnnotation(n){this.lastAnnotation=n.id}hide(){this.$.slideUp()}show(){this.$.slideDown()}toggleSize(){this.minimized?this.maximize():this.minimize()}minimize(){this.minimized=!0,this.$.find(".Ldt-Annotation-Inner").addClass("Ldt-Annotation-Minimized")}maximize(){this.minimized=!1,this.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-Minimized")}},Fi(e,"messages",{fr:{watching:"Je regarde ",on_site:" sur ",tags_:"Mots-clés :",description_:"Description :",creator_:"Créé par :",excerpt_from:"Extrait de :",untitled:"Segment sans titre"},en:{watching:"I'm watching ",on_site:" on ",tags_:"Keywords:",description_:"Description:",creator_:"Created by :",excerpt_from:"Excerpt from:",untitled:"Untitled segment"}}),Fi(e,"template",'{{#show_arrow}}<div class="Ldt-Annotation-Arrow"></div>{{/show_arrow}}<div class="Ldt-Annotation-Widget {{^show_arrow}}Ldt-Annotation-ShowTop{{/show_arrow}}"><div class="Ldt-Annotation-Inner Ldt-Annotation-Empty{{#start_minimized}} Ldt-Annotation-Minimized{{/start_minimized}}"><div class="Ldt-Annotation-HiddenWhenEmpty Ldt-Annotation-MaxMinButton"></div>{{#show_social}}<div class="Ldt-Annotation-Social Ldt-Annotation-HiddenWhenMinimized Ldt-Annotation-HiddenWhenEmpty"></div>{{/show_social}}<h3 class="Ldt-Annotation-HiddenWhenEmpty">{{#show_annotation_type}}<span class="Ldt-Annotation-Type"></span> » {{/show_annotation_type}}<a class="Ldt-Annotation-Title" href="#"></a> <span class="Ldt-Annotation-Time Ldt-Annotation-HiddenWhenMinimized">(<span class="Ldt-Annotation-Begin"></span> - <span class="Ldt-Annotation-End"></span>)</span></h3><h3 class="Ldt-Annotation-MashupOrigin Ldt-Annotation-HiddenWhenEmpty">{{l10n.excerpt_from}} <span class="Ldt-Annotation-MashupMedia"></span> <span class="Ldt-Annotation-Time Ldt-Annotation-HiddenWhenMinimized">(<span class="Ldt-Annotation-MashupBegin"></span> - <span class="Ldt-Annotation-MashupEnd"></span>)</span></h3><div class="Ldt-Annotation-Cleared Ldt-Annotation-HiddenWhenMinimized Ldt-Annotation-HiddenWhenEmpty Ldt-Annotation-Creator-Block"><div class="Ldt-Annotation-Label">{{l10n.creator_}}</div>{{#show_creator}}<p class="Ldt-Annotation-Labelled Ldt-Annotation-Creator"></p></div>{{/show_creator}}{{#show_description}}<div class="Ldt-Annotation-Cleared Ldt-Annotation-HiddenWhenMinimized Ldt-Annotation-HiddenWhenEmpty Ldt-Annotation-Description-Block"><div class="Ldt-Annotation-Label">{{l10n.description_}}</div><p class="Ldt-Annotation-Labelled Ldt-Annotation-Description"></p></div>{{/show_description}}<div class="Ldt-Annotation-Tags-Block Ldt-Annotation-HiddenWhenMinimized Ldt-Annotation-HiddenWhenEmpty Ldt-Annotation-Cleared"><div class="Ldt-Annotation-Label">{{l10n.tags_}}</div><ul class="Ldt-Annotation-Labelled Ldt-Annotation-Tags"></ul></div></div></div></div>'),Fi(e,"defaults",{annotation_type:"chap",start_minimized:!1,show_arrow:!0,show_creator:!0,show_description:!0,arrow_position:.5,site_name:"Lignes de Temps",search_on_tag_click:!0,show_social:!0,show_annotation_type:!1}),e},annotationsControllerStyles={},AnnotationsController=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){this.renderTemplate();var n=this;this.element_$=this.$.find(".Ldt-AnnotationsController"),this.displayButton_$=this.$.find(".Ldt-AnnotationsController-ShowAnnotationsListButton"),this.writeButton_$=this.$.find(".Ldt-AnnotationsController-ShowCreateAnnotationButton"),this.writeButton_$.click(function(){n.writeButton_$.hasClass("selected")?(n.player.trigger("CreateAnnotation.hide"),n.toggle_widgets?n.player.trigger("AnnotationsList.show"):n.display_or_write&&n.player.trigger("AnnotationsList.hide")):(n.player.trigger("CreateAnnotation.show"),n.display_or_write&&n.player.trigger("AnnotationsList.hide"))}),this.displayButton_$.click(function(){n.displayButton_$.hasClass("selected")?(n.player.trigger("AnnotationsList.hide"),n.toggle_widgets?n.player.trigger("CreateAnnotation.show"):n.display_or_write&&n.player.trigger("CreateAnnotation.hide")):(n.player.trigger("AnnotationsList.show"),n.display_or_write&&n.player.trigger("CreateAnnotation.hide"))}),this.hide_without_segment&&(this.onMediaEvent("timeupdate",function(){n.refresh()}),this.onMediaEvent("settimerange",function(o){n.refresh(o)}),this.segments=this.source.getAnnotationsByTypeTitle(this.segments_annotation_type),this.currentSegment=!1),this.createAnnotationEnabled=!1,this.onMdpEvent("CreateAnnotation.hide",function(){n.hide_when_writing&&n.show(),n.createAnnotationEnabled=!1,n.writeButton_$.toggleClass("selected",!1)}),this.onMdpEvent("CreateAnnotation.show",function(){n.hide_when_writing&&n.hide(),n.createAnnotationEnabled=!0,n.writeButton_$.toggleClass("selected",!0)}),this.onMdpEvent("AnnotationsList.hide",function(){n.displayButton_$.toggleClass("selected",!1)}),this.onMdpEvent("AnnotationsList.show",function(){n.displayButton_$.toggleClass("selected",!0)}),this.starts_hidden?(this.visible=!0,this.hide()):(this.visible=!1,this.show()),this.starting_widget&&this.visible&&(this.starting_widget=="AnnotationsList"?this.player.trigger("AnnotationsList.show"):this.starting_widget=="CreateAnnotation"&&this.player.trigger("CreateAnnotation.show"))}refresh(n){if(n=typeof n<"u"?n:!1,n||this.media.getTimeRange()&&(n=this.media.getTimeRange()),this.hide_without_segment){if(!n&&!this.media.getTimeRange())_currentTime=this.media.getCurrentTime(),_currentSegments=this.segments.filter(function(l){return _currentTime>=l.begin&&_currentTime<=l.end}),_currentSegments.length>0?currentSegment=!0:currentSegment=!1;else{var o=n[0],u=n[1];_currentSegments=this.segments.filter(function(l){return o==l.begin&&u==l.end}),_currentSegments.length>0?currentSegment=!0:currentSegment=!1}!currentSegment&&_currentSegments.length==0?(this.visible||this.hide_when_writing)&&(this.writeButton_$.toggleClass("selected",!1),this.displayButton_$.toggleClass("selected",!1),this.player.trigger("CreateAnnotation.hide"),this.player.trigger("AnnotationsList.hide"),this.hide()):this.visible||(this.createAnnotationEnabled||this.show(),this.writeButton_$.toggleClass("selected",!1),this.displayButton_$.toggleClass("selected",!1),this.starting_widget=="AnnotationsList"&&this.player.trigger("AnnotationsList.show"),this.starting_widget=="CreateAnnotation"&&this.player.trigger("CreateAnnotation.show"))}}hide(){this.visible&&(this.visible=!1,this.element_$.hide())}show(){this.visible||(this.visible=!0,this.element_$.show())}},Fi(e,"defaults",{display_or_write:!1,toggle_widgets:!1,starts_hidden:!1,hide_without_segment:!1,hide_when_writing:!0,starting_widget:!1,always_show_widget:!1,segments_annotation_type:"chap",custom_write_text:!1,custom_display_text:!1}),Fi(e,"template","<div class='Ldt-AnnotationsController'><div class='Ldt-AnnotationsController-ButtonsContainer'>    <div class='Ldt-AnnotationsController-Button Ldt-AnnotationsController-ShowCreateAnnotationButton'>{{#custom_write_text}}{{/custom_write_text}}{{custom_write_text}}{{^custom_write_text}}{{l10n.write}}{{/custom_write_text}}</div>    <div class='Ldt-AnnotationsController-Button Ldt-AnnotationsController-ShowAnnotationsListButton'>{{#custom_display_text}}{{/custom_display_text}}{{custom_display_text}}{{^custom_display_text}}{{l10n.display}}{{/custom_display_text}}</div></div></div>"),Fi(e,"messages",{en:{write:"Write",display:"Display"},fr:{write:"Ecrire",display:"Voir"}}),e},annotationsListStyles={},IsImageOk=function(t){return!(!t.complete||t.naturalWidth===0)},AnnotationsList=function(t){var n;const e={};return n=class extends t.Widgets.Widget{constructor(o,u){super(o,u),this.lastIds=[];var l=this;this.throttledRefresh=_$1.throttle(function(m){l.refresh(m)},800),this.searchString=!1,this.lastSearch=!1,this.localSource=void 0}importUsers(){if(!this.source.users_data&&this.api_users_endpoint){this.usernames=Array();var o=this,u=this.getWidgetAnnotations(),l="";return u.forEach(function(m){o.usernames.indexOf(m.creator)==-1&&o.usernames.push(m.creator)}),this.usernames.forEach(function(m){l+=m+","}),l=l.substring(0,l.length-1),_url=mustache.render(this.api_users_endpoint,{usernames_list_string:encodeURIComponent(l),usernames_list_length:this.usernames.length}),jQuery.ajax({async:!1,url:_url,type:"GET",success:function(m){o.source.users_data=m.objects},error:function(m,y,E){console.log(m),console.log(y),console.log(E)}})}}ajaxSource(){var o=this.media.getCurrentTime(),u=this.media.duration;this.lastAjaxQuery=o;var l=mustache.render(this.ajax_url,{media:this.source.currentMedia.id,begin:Math.max(0,o-this.ajax_granularity),end:Math.min(u.milliseconds,o+this.ajax_granularity)});this.currentSource=this.player.loadMetadata(_$1.defaults({url:l},this.metadata))}showScreen(o){this.$.find(".Ldt-AnnotationsList-Screen"+o).show().siblings().hide()}ajaxMashup(){var o=this.media.getCurrentTime(),u=this.source.currentMedia.getAnnotationAtTime(o);if(typeof u<"u"&&u.id!==this.lastMashupAnnotation){this.lastMashupAnnotation=u.id;var l=u.getMedia(),m=mustache.render(this.ajax_url,{media:l.id,begin:Math.max(0,u.annotation.begin.milliseconds-this.ajax_granularity),end:Math.min(l.duration.milliseconds,u.annotation.end.milliseconds+this.ajax_granularity)});this.currentSource=this.player.loadMetadata(_$1.defaults({url:m},this.metadata))}}importAnnotations(){var o=this,u=jQuery("<textarea>");jQuery("<div>").append(jQuery("<span>").addClass("importAnnotationsLabel").text(o.messages.import_annotations)).addClass("importContainer").dialog({title:"Annotation import",autoOpen:!0,width:"80%",minHeight:"400",height:400,buttons:[{text:"Close",click:function(){jQuery(this).dialog("close")}},{text:"Import",click:function(){for(var l=/(\[[\d:]+\])/,m=u[0].value.split(l).filter(function(P){return!P.match(/^\s*$/)}),y=null,E=null,C=null,k=null,A=0;A<m.length;A++){var D=m[A];D.match(l)?(k=="text"?(E=t.timestamp2ms(D.slice(1,-1)),TODO.createAnnotation(y,E,C),y=E,E=null,C=null):(C=null,y=t.timestamp2ms(D.slice(1,-1)),E=null),k="timestamp"):(C=D,k="text"),k=="text"&&y!==null&&TODO.createAnnotation(y,y,C)}}}]})}refresh(o){if(o=typeof o<"u"&&o,this.currentSource.status!==t.Model._SOURCE_STATUS_READY)return 0;var u=this,l=this.media.getCurrentTime(),m=this.annotation_type?this.currentSource.getAnnotationsByTypeTitle(this.annotation_type):this.currentSource.getAnnotations();if(this.mashupMode){var y=this.source.currentMedia.getAnnotationAtTime(l);if(typeof y<"u"){l=l-y.begin+y.annotation.begin;var E=y.getMedia().id;m=m.filter(function(F){return F.getMedia().id===E})}}m=m.filter(function(F){return F.found!==!1}),this.filter_by_segments&&!(this.show_filters&&this.segment_filter&&this.ignoresegmentcheckbox_$[0].checked)&&(_segmentsAnnotation=this.currentSource.getAnnotationsByTypeTitle(this.segments_annotation_type),this.media.getTimeRange()?_currentSegments=_segmentsAnnotation.filter(function(F){return u.media.getTimeRange()[0]==F.begin&&u.media.getTimeRange()[1]==F.end}):_currentSegments=_segmentsAnnotation.filter(function(F){return l>=F.begin&&l<=F.end}),_currentSegments.length==0?m=m.filter(function(F){return!1}):m=m.filter(function(F){return _annotation_time=(F.begin+F.end)/2,_currentSegments[0].begin<=_annotation_time&&_currentSegments[0].end>=_annotation_time}),this.annotations_count_header&&this.annotations_count!=m.length&&(this.annotations_count=m.length,this.refreshHeader())),this.show_only_annotation_from_user&&(m=m.filter(function(F){return F.creator==u.show_only_annotation_from_user})),this.limit_count&&(m=m.sortBy(function(F){return Math.abs((F.begin+F.end)/2-l)}).slice(0,this.limit_count)),this.newest_first?m=m.sortBy(function(F){return-F.created.valueOf()}):m=m.sortBy(function(F){return F.begin}),this.show_filters&&(this.user_filter&&(_username=this.userselect_$[0].options[this.userselect_$[0].selectedIndex].value,_username!="false"&&(m=m.filter(function(F){return F.creator==_username}))),this.keyword_filter&&(_keyword=this.keywordinput_$[0].value,_keyword!=""&&(m=m.filter(function(F){return F.description.toLowerCase().match(_keyword.toLowerCase())}))),this.date_filter&&this.datefilterinput_$[0].value!=""&&(_date=this.datefilterinput_$.datepicker("getDate"),m=m.filter(function(F){return F.created.getDate()==_date.getDate()&&F.created.getMonth()==_date.getMonth()&&F.created.getFullYear()==_date.getFullYear()})),this.latest_contributions_filter&&this.latestcontributionscheckbox_$[0].checked&&(m=m.sortBy(function(F){return-F.created.valueOf()}),this.usernames.forEach(function(F){latest_ann=m.filter(function(O){return O.creator==F})[0],m=m.filter(function(O){return O.id==(latest_ann?latest_ann.id:!1)||O.creator!=F})})));var C=m.idIndex;if(o||!_$1.isEqual(C,this.lastIds)||this.searchString!==this.lastSearch){if(this.lastSearch=this.searchString,this.lastIds=C,this.list_$.html(""),m.forEach(function(F){var O=typeof F.url<"u"&&F.url?F.url:typeof u.source.projectId<"u"&&typeof F.project<"u"&&F.project&&u.source.projectId!==F.project?mustache.render(u.foreign_url,{project:F.project,media:F.media.id,annotation:F.id,annotationType:F.annotationType.id}):document.location.href.replace(/#.*$/,"")+"#id="+F.id+"&t="+F.begin/1e3,N=F.project!=u.source.projectId,Y="",J=F.description,ie=`thumb_${F.id}`,ue=typeof F.thumbnail<"u"&&F.thumbnail?F.thumbnail:u.default_thumbnail;if(u.show_creator&&F.creator){var Q=[],ce={},he="";u.source.users_data&&(Q=u.source.users_data.filter(function(b){return b.username==F.creator})),Q.length==0?ce.username=F.creator:ce=Q[0],he=u.make_name_string_function(ce)}if(u.show_title&&F.title)var Y=F.title;var ke;_$1(u.polemics).each(function(b){var h=t.Model.regexpFromTextOrArray(b.keyword,!0);h.test(Y+" "+J)&&(ke=b.background_color)});var L=!1;if(u.show_creation_date&&(L=F.created.toLocaleDateString()+", "+F.created.toLocaleTimeString().replace(/\u200E/g,"").replace(/^([^\d]*\d{1,2}:\d{1,2}):\d{1,2}([^\d]*)$/,"$1$2")),u.tags==!0)var d=F.getTagTexts();else var d=!1;var v={id:F.id,media_id:F.getMedia().id,htitle:t.textFieldHtml(Y),title:Y,creator:he,hdescription:t.textFieldHtml(J),description:J,begin:F.begin.toString(),end:F.end.toString(),created:L,show_timecode:u.show_timecode,show_end_time:u.show_end_time,show_title:u.show_title&&Y,thumbnailId:ie,url:O,tags:d,specific_style:typeof ke<"u"?"background-color: "+ke:"",l10n:u.l10n,editable:u.editable,external:N,show_publish:u.show_publish,show_creator:u.show_creator,show_twitter:u.show_twitter,twitter_param:jQuery.param({url:O,text:t.textFieldHtml(Y)+(u.twitter_hashtag?" #"+u.twitter_hashtag:"")}),allow_annotations_deletion:u.allow_annotations_deletion},w=mustache.render(u.constructor.annotationTemplate,v),c=jQuery(w),p=function(){u.$.find(".Ldt-AnnotationsList-li").removeClass("selected"),c.addClass("selected")},x=function(){u.$.find(".Ldt-AnnotationsList-li").removeClass("selected")};c.on("mouseover",function(){F.trigger("select")}).on("mouseout",function(){F.trigger("unselect")}).on("click",function(){u.filter_by_segments&&u.media.getTimeRange()&&(_ann_time=(F.begin+F.end)/2,(_ann_time<=u.media.getTimeRange()[0]||_ann_time>=u.media.getTimeRange()[1])&&u.media.resetTimeRange()),F.trigger("click")}).appendTo(u.list_$);let S=e[ue];typeof S>"u"&&(S=new Image,e[ue]=S),console.log("Thumnailimg",jQuery(`#${ie}`,c).attr("src")),S.src&&IsImageOk(S)?jQuery(`#${ie}`,c).attr("src",S.src):(S.onload=function(){jQuery(`#${ie}`,c).attr("src",S.src)},S.onerror=function(){S.src=u.default_thumbnail,jQuery(`#${ie}`,c).attr("src",u.default_thumbnail)},S.src=ue),t.attachDndData(c.find("[draggable]"),{title:Y,description:J,uri:O,image:F.thumbnail,text:"["+F.begin.toString()+"] "+Y}),c.on("remove",function(){F.off("select",p),F.off("unselect",x)}),F.on("select",p),F.on("unselect",x)}),this.$.find(".Ldt-AnnotationsList-Tag-Li").each(function(){var F=jQuery(this);F.text().replace(/(^\s+|\s+$)/g,"")||F.remove()}),this.editable){var k=u,A=function(F,O){var N="#FF9999",Y="#99FF99";O===void 0&&(O=F);var J=jQuery(F.dataset.editable_type==="multiline"?"<textarea>":"<input>").addClass("editableInput").insertBefore(jQuery(O));J[0].value=F.dataset.editable_value,jQuery(J).show().focus(),jQuery(F).addClass("editing");function ie(ce){jQuery(F).removeClass("editing"),J.remove();var he=jQuery(F).css("background-color");jQuery(F).stop().css("background-color",ce).animate({backgroundColor:he},1e3)}function ue(ce){ie(N)}function Q(){var ce=J[0].value;if(ce==F.dataset.editable_value){ie(Y);return}if(ce==""){R(F.dataset.editable_id),k.player.trigger("Annotation.delete",F.dataset.editable_id);return}else{var he=ce;if(F.dataset.editable_type=="timestamp"&&(he=t.timestamp2ms(ce),Number.isNaN(he))){ue();return}F.dataset.editable_value=ce,ce=he,jQuery(F).text(he)}var ke=D(F.dataset.editable_id);ke===void 0?(console.log("Strange error: cannot find edited annotation"),ie(N)):(F.dataset.editable_value=ce,F.dataset.editable_field=="begin"?ke.setBegin(ce):F.dataset.editable_field=="end"?ke.setEnd(ce):ke[F.dataset.editable_field]=ce,ke.modified=new Date,ke.contributor=k.player.config.username||"COCo User",k.player.addLocalAnnotation(ke),k.player.trigger("Annotation.update",ke),ie(Y))}jQuery(J).bind("keydown",function(ce){ce.which==13?(ce.preventDefault(),Q()):ce.which==27&&(ce.preventDefault(),ue())}).bind("blur",function(ce){Q()})},D=function(F){return k.player.getLocalAnnotation(F)},P=function(){k.player.saveLocalAnnotations(),k.source.merge(k.player.localSource)},R=function(F){k.source.getAnnotations().removeId(F,!0),k.player.deleteLocalAnnotation(F),k.refresh(!0)};this.$.find(".Ldt-AnnotationsList-Delete").click(function(F){var O=D(this.dataset.editable_id);confirm(mustache.render(k.l10n.confirm_delete_message,{annotation:O}))&&R(this.dataset.editable_id),k.refresh(!0)}),this.$.find(".Ldt-AnnotationsList-Edit").click(function(F){if(k.on_edit){var O=D(this.dataset.editable_id);k.on_edit(O)}else{var N=jQuery(this).parents(".Ldt-AnnotationsList-li").find(".Ldt-AnnotationsList-TitleContent.Ldt-live-editable");A(N[0])}}),this.$.find(".Ldt-AnnotationsList-PublishAnnotation").click(function(F){var O=D(this.dataset.editable_id);if(confirm(mustache.render(k.l10n.confirm_publish_message,{annotation:O}))){var N=mustache.render(k.api_endpoint_template,{id:k.source.projectId});if(N!==""){var Y=k.player.sourceManager.newLocalSource({serializer:t.serializers[k.api_serializer]});if(k.publish_type){var J=k.source.getAnnotationTypes().filter(function(ue){return ue.title==k.publish_type});J.length==1&&O.setAnnotationType(J[0].id)}var ie=new t.Model.List(k.player.sourceManager);ie.push(O),Y.addList("annotation",ie),jQuery.ajax({url:N,type:k.api_method,contentType:"application/json",data:Y.serialize(),success:function(ue){jQuery(this).addClass("published");var Q=D(O.id);Q.setTags(["published"]),P(),k.player.trigger("Annotation.publish",O)},error:function(ue,Q,ce){t.log("Error when sending annotation",ce)}})}}}),this.$.find(".Ldt-AnnotationsList-TimeEdit").dblclick(function(F){var O=this,N=D(O.dataset.editable_id);N!==void 0&&(N.setBegin(k.media.getCurrentTime().milliseconds),P(),k.player.trigger("Annotation.update",N),k.refresh(!0))})}if(this.$.find(".Ldt-AnnotationsList-Tag-Li").click(function(){u.source.getAnnotations().search(jQuery(this).text().replace(/(^\s+|\s+$)/g,""))}),this.$.find(".Ldt-Annotation-Timecode").click(function(){u.media.setCurrentTime(Number(this.dataset.timecode))}),this.$.find(".Ldt-AnnotationsList-Play").click(function(){var F=jQuery(this),O=F.attr("data-annotation-id");u.jwplayers[O]&&jwplayer(u.jwplayers[O]).play(),u.media.pause()}),this.source.getAnnotations().searching){var B=u.source.getAnnotations().regexp||!1;this.$.find(".Ldt-AnnotationsList-Title a, .Ldt-AnnotationsList-Description").each(function(){var F=jQuery(this);F.html(t.textFieldHtml(F.text(),B))})}this.$.find(".Ldt-AnnotationsList-DeleteButton").click(u.functionWrapper("onDeleteClick"))}return this.ajax_url&&(this.mashupMode?this.ajaxMashup():Math.abs(l-this.lastAjaxQuery)>this.ajax_granularity&&this.ajaxSource()),m.length}onDeleteClick(o){_list=this.getWidgetAnnotations(),ann_id=o.target.dataset.annotation,delete_preview_$=this.$.find(".Ldt-AnnotationsList-ul-ToDelete"),delete_preview_$.html(""),_list=_list.filter(function(P){return P.id==ann_id});var u=_list[0],l="",m="",y=this;if(u.creator){var E=[],C={};y.source.users_data&&(E=y.source.users_data.filter(function(P){return P.username==u.creator})),E.length==0?C.username=u.creator:C=E[0],m=y.make_name_string_function(C)}if(u.title){var k=u.title;k.substr(0,l.length+1)==l+":"&&(l=""),l=l+(l==""?"":": ")+u.title}var A=!1;this.show_creation_date&&(A=u.created.toLocaleDateString()+", "+u.created.toLocaleTimeString());var D={id:u.id,media_id:u.getMedia().id,htitle:t.textFieldHtml(l),hdescription:t.textFieldHtml(u.description),begin:u.begin.toString(),end:u.end.toString(),created:A,show_timecode:this.show_timecode,show_creator:this.show_creator,creator:m,tags:!1,l10n:this.l10n,allow_annotations_deletion:!1};_html=mustache.render(this.constructor.annotationTemplate,D),delete_preview_$.html(_html),this.$.find(".Ldt-AnnotationsList-ConfirmDelete").click(function(){y.sendDelete(ann_id)}),this.showScreen("Delete")}refreshHeader(){var o=" ("+this.annotations_count+" "+this.annotations_count_header_string+")";this.$.find(".Ldt-AnnotationsList-header").html(""),this.$.find(".Ldt-AnnotationsList-header").html(this.custom_header&&typeof this.custom_header=="string"?this.custom_header+o:this.l10n.header+o)}hide(){var o=this;this.visible&&(this.visible=!1,this.widget_$.slideUp(function(){o.$.find(".Ldt-AnnotationsList-header").hide()}),this.showScreen("Main"))}show(){this.visible||(this.visible=!0,this.$.find(".Ldt-AnnotationsList-header").show(),this.widget_$.slideDown(),this.showScreen("Main"))}toggle(){this.always_visible||(this.visible?this.hide():this.show())}revertToMainScreen(){this.$.find(".Ldt-AnnotationsList-ScreenMain").is(":hidden")&&this.showScreen("Main")}sendDelete(o){var u=this,l=mustache.render(this.api_delete_endpoint,{annotation_id:o,project_id:this.project_id});jQuery.ajax({url:l,type:this.api_delete_method,contentType:"application/json",success:function(m){u.showScreen("Success"),window.setTimeout(u.functionWrapper("revertToMainScreen"),u.after_send_timeout||2e3),u.currentSource.getAnnotations().removeId(o),u.player.trigger("AnnotationsList.refresh")},error:function(m,y,E){t.log("Error when sending annotation",E),u.showScreen("Error"),window.setTimeout(u.functionWrapper("revertToMainScreen"),u.after_send_timeout||2e3)}}),this.showScreen("Sending")}draw(){this.jwplayers={},this.mashupMode=this.media.elementType==="mashup",this.renderTemplate();var o=this;this.list_$=this.$.find(".Ldt-AnnotationsList-ul"),this.widget_$=this.$.find(".Ldt-AnnotationsListWidget"),this.widget_max_height&&this.widget_$.css("max-height",this.widget_max_height),this.show_filters&&(this.user_filter&&(this.userselect_$=this.$.find("#Ldt-AnnotationsList-userFilter"),this.userselect_$.change(function(){o.player.trigger("AnnotationsList.refresh")}),this.userselect_$.html("<option selected value='false'>"+this.l10n.everyone+"</option>"),this.usernames.forEach(function(m){var y=o.source.users_data.filter(function(C){return C.username==m}),E={};y.length==0?E.username=m:E=y[0],o.userselect_$.append("<option value='"+m+"'>"+o.make_name_string_function(E)+"</option>")})),this.keyword_filter&&(this.keywordinput_$=this.$.find("#Ldt-AnnotationsList-keywordsFilter"),this.keywordinput_$.keyup(function(){o.player.trigger("AnnotationsList.refresh")})),this.segment_filter&&(this.ignoresegmentcheckbox_$=this.$.find("#Ldt-AnnotationsList-ignoreSegmentsFilter"),this.ignoresegmentcheckbox_$.click(function(){o.player.trigger("AnnotationsList.refresh")})),this.date_filter&&(this.datefilterinput_$=this.$.find("#Ldt-AnnotationsList-dateFilter"),this.datefilterinput_$.datepicker({dateFormat:"dd/mm/yy"}),this.datefilterinput_$.change(function(){o.player.trigger("AnnotationsList.refresh")}),this.current_day_filter&&(currentDate=new Date,this.datefilterinput_$.datepicker("setDate",currentDate))),this.latest_contributions_filter&&(this.latestcontributionscheckbox_$=this.$.find("#Ldt-AnnotationsList-latestContributionsFilter"),this.latestcontributionscheckbox_$.click(function(){o.player.trigger("AnnotationsList.refresh")}))),this.source.getAnnotations().on("search",function(m){o.searchString=m,o.source!==o.currentSource&&(o.currentSource.getAnnotations().search(m),o.throttledRefresh())}),this.source.getAnnotations().on("found",function(){o.throttledRefresh()}),this.source.getAnnotations().on("not-found",function(){o.throttledRefresh()}),this.source.getAnnotations().on("clear-search",function(){o.searchString=!1,o.source!==o.currentSource&&o.currentSource.getAnnotations().trigger("clear-search")}),this.$.find(".Ldt-AnnotationsList-Close").click(function(){o.showScreen("Main")}),this.source.getAnnotations().on("search-cleared",function(){o.throttledRefresh()}),this.onMdpEvent("AnnotationsList.refresh",function(){o.ajax_url&&(o.mashupMode?o.ajaxMashup():o.ajaxSource()),o.throttledRefresh(!1)}),this.onMdpEvent("AnnotationsList.update",function(){o.ajax_url&&(o.mashupMode?o.ajaxMashup():o.ajaxSource()),o.throttledRefresh(!0)}),this.ajax_url?this.mashupMode?this.ajaxMashup():this.ajaxSource():this.currentSource=this.source,this.refresh_interval&&window.setInterval(function(){o.currentSource.get()},this.refresh_interval),this.annotations_count_header&&(this.annotations_count=!1),this.onMdpEvent("AnnotationsList.toggle","toggle"),this.onMdpEvent("AnnotationsList.hide","hide"),this.onMdpEvent("AnnotationsList.show","show"),this.onMdpEvent("createAnnotationWidget.addedAnnotation",this.throttledRefresh);for(var u=["timeupdate","seeked","loadedmetadata","settimerange"],l=0;l<u.length;l++)this.onMediaEvent(u[l],this.throttledRefresh);this.throttledRefresh(),this.showScreen("Main"),this.$.find(".Ldt-AnnotationsList-CancelDelete").click(function(){o.showScreen("Main")}),this.visible=!0,this.start_visible||this.hide()}},Fi(n,"defaults",{pre_draw_callback:function(){return this.importUsers()},ajax_url:!1,ajax_granularity:6e5,default_thumbnail:"",custom_external_icon:"",foreign_url:"",annotation_type:!1,refresh_interval:0,limit_count:20,newest_first:!1,show_title:!0,show_audio:!0,show_creator:!0,show_controls:!1,show_end_time:!0,show_publish:!1,show_twitter:!1,twitter_hashtag:"",on_edit:void 0,publish_type:"PublicContribution",api_endpoint_template:"",api_serializer:"ldt_annotate",api_method:"POST",editable:!1,editable_storage:"",widget_max_height:680,always_visible:!1,start_visible:!0,show_audio:!0,show_filters:!1,keyword_filter:!0,date_filter:!0,user_filter:!0,segment_filter:!0,latest_contributions_filter:!1,current_day_filter:!0,show_header:!1,custom_header:!1,annotations_count_header:!0,annotations_count_header_string:"annotations",show_creation_date:!1,show_timecode:!0,show_end_time:!0,project_id:"",allow_annotations_deletion:!1,api_delete_endpoint:"",api_delete_method:"DELETE",api_users_endpoint:"",api_users_method:"GET",make_name_string_function:function(o){return o.username?o.username:"Anonymous"},filter_by_segments:!1,segment_filter:!0,segments_annotation_type:"chap",show_only_annotation_from_user:!1,tags:!0,polemics:[{keyword:"++",background_color:"#c9ecc6"},{keyword:"--",background_color:"#f9c5c6"},{keyword:"??",background_color:"#cec5f9"},{keyword:"==",background_color:"#f9f4c6"}]}),Fi(n,"messages",{en:{voice_annotation:"Voice Annotation",now_playing:"Now playing...",previous:"Previous",next:"Next",set_time:"Double-click to update to current player time",edit_annotation:"Edit note",delete_annotation:"Delete note",publish_annotation:"Make note public",import_annotations:"Paste or load notes in this field and press Import.",confirm_delete_message:"You are about to delete {{ annotation.title }}. Are you sure you want to delete it?",confirm_publish_message:"You are about to publish {{ annotation.title }}. Are you sure you want to make it public?",tweet_annotation:"Tweet annotation",external_annotation:"This annotation was submitted to another project",everyone:"Everyone",header:"Annotations for this content",segment_filter:"All cuttings",latest_contributions:"Latest contributions",close_widget:"Close",confirm:"Confirm",cancel:"Cancel",annotation_deletion_delete:"You will delete this annotation",annotation_deletion_sending:"Your deletion request is being sent ... ",annotation_deletion_success:"The annotation has been deleted.",annotation_deletion_error:"There was an error contacting the server. The annotation has not been deleted."},fr:{voice_annotation:"Annotation Vocale",now_playing:"Lecture en cours...",previous:"Précédent",next:"Suivant",set_time:"Double-cliquer pour fixer au temps du lecteur",edit_annotation:"Éditer la note",delete_annotation:"Supprimer la note",publish_annotation:"Rendre la note publique",import_annotations:"Copiez ou chargez des notes dans ce champ et appuyez sur Import",confirm_delete_message:"Vous allez supprimer {{ annotation.title }}. Êtes-vous certain(e) ?",confirm_publish_message:"Vous allez publier {{ annotation.title }}. Êtes-vous certain(e) ?",tweet_annotation:"Tweeter l'annotation",external_annotation:"Cette annotation a été postée sur un autre projet",everyone:"Tous",header:"Annotations sur ce contenu",segment_filter:"Tous les segments",latest_contributions:"Dernières contributions",close_widget:"Fermer",confirm:"Confirmer",cancel:"Annuler",annotation_deletion_delete:"Vous allez supprimer cette annotation",annotation_deletion_sending:"Votre demande de suppression est en cours d'envoi ... ",annotation_deletion_success:"L'annotation a été supprimée.",annotation_deletion_error:"Une erreur s'est produite en contactant le serveur. L'annotation n'a pas été supprimée."}}),Fi(n,"template",'{{#show_header}}<p class="Ldt-AnnotationsList-header">{{#custom_header}}{{custom_header}}{{/custom_header}}{{^custom_header}}{{l10n.header}}{{/custom_header}}</p>{{/show_header}}<div class="Ldt-AnnotationsListWidget"><div class="Ldt-AnnotationsList-ScreenMain">{{#show_filters}}<div class="Ldt-AnnotationsList-Filters">{{#keyword_filter}}<input class="Ldt-AnnotationsList-filter-text" id="Ldt-AnnotationsList-keywordsFilter" type="text" value=""></input>{{/keyword_filter}}{{#user_filter}}<select class="Ldt-AnnotationsList-filter-dropdown" id="Ldt-AnnotationsList-userFilter"><option selected value="">{{l10n.everyone}}</option></select>{{/user_filter}}{{#date_filter}}<label class="Ldt-AnnotationsList-filter-date">Date: <input id="Ldt-AnnotationsList-dateFilter" type="text"></input></label>{{/date_filter}}{{#segment_filter}}<label class="Ldt-AnnotationsList-filter-checkbox"><input type="checkbox" id="Ldt-AnnotationsList-ignoreSegmentsFilter">{{l10n.segment_filter}}</label>{{/segment_filter}}{{#latest_contributions_filter}}<label class="Ldt-AnnotationsList-filter-checkbox"><input type="checkbox" id="Ldt-AnnotationsList-latestContributionsFilter">{{l10n.latest_contributions}}</label>{{/latest_contributions_filter}}</div>{{/show_filters}}{{#show_controls}}<div class="Ldt-AnnotationsList-Controls"><span class="Ldt-AnnotationsList-Control-Prev">{{ l10n.previous }}</span> | <span class="Ldt-AnnotationsList-Control-Next">{{ l10n.next }}</span></div>{{/show_controls}}{{#show_audio}}<div class="Ldt-AnnotationsList-Audio"></div>{{/show_audio}}<ul class="Ldt-AnnotationsList-ul"></ul></div>{{#allow_annotations_deletion}}<div data-annotation="{{id}}" class="Ldt-AnnotationsList-Screen Ldt-AnnotationsList-ScreenDelete"><a title="{{l10n.close_widget}}" class="Ldt-AnnotationsList-Close" href="#"></a>{{l10n.annotation_deletion_delete}}<ul class="Ldt-AnnotationsList-ul-ToDelete"></ul><a class="Ldt-AnnotationsList-ConfirmDelete">{{l10n.confirm}}</a> <a class="Ldt-AnnotationsList-CancelDelete">{{l10n.cancel}}</a></div><div data-annotation="{{id}}" class="Ldt-AnnotationsList-Screen Ldt-AnnotationsList-ScreenSending"><a title="{{l10n.close_widget}}" class="Ldt-AnnotationsList-Close" href="#"></a>{{l10n.annotation_deletion_sending}}</div><div data-annotation="{{id}}" class="Ldt-AnnotationsList-Screen Ldt-AnnotationsList-ScreenSuccess"><a title="{{l10n.close_widget}}" class="Ldt-AnnotationsList-Close" href="#"></a>{{l10n.annotation_deletion_success}}</div><div data.annotation="{{id}}" class="Ldt-AnnotationsList-Screen Ldt-AnnotationsList-ScreenError"><a title="{{l10n.close_widget}}" class="Ldt-AnnotationsList-Close" href="#"></a>{{l10n.annotation_deletion_error}}</div>{{/allow_annotations_deletion}}</div>'),Fi(n,"annotationTemplate",'<li class="Ldt-AnnotationsList-li Ldt-Highlighter-Annotation Ldt-TraceMe" data-annotation="{{ id }}" data-begin="{{ begin_ms }}" data-end="{{ end_ms }}" trace-info="annotation-id:{{id}}, media-id:{{media_id}}" style="{{specific_style}}"><div data-annotation="{{ id }}" class="Ldt-AnnotationsList-ThumbContainer Ldt-AnnotationsList-Annotation-Screen Ldt-AnnotationsList-Annotation-ScreenMain"><a {{#url}}href="{{url}}"{{/url}} draggable="true"><img title="{{^external}}{{ begin }} - {{ end }}{{/external}}{{#external}}{{l10n.external_annotation}}{{/external}}" class="Ldt-AnnotationsList-Thumbnail" id="{{thumbnailId}}" />{{#external}}<div title="{{l10n.external_annotation}}" class="Ldt-AnnotationsList-External-Icon"></div>{{/external}}</a></div>{{#allow_annotations_deletion}}<div data-annotation="{{ id }}" class="Ldt-AnnotationsList-DeleteButton">&#10006;</div>{{/allow_annotations_deletion}}{{#show_timecode}}<div title="{{l10n.set_time}}" class="Ldt-AnnotationsList-Duration"><span class="Ldt-AnnotationsList-Begin Ldt-live-editable Ldt-AnnotationsList-TimeEdit" data-editable_value="{{begin}}" data-editable_id="{{id}}" data-editable_field="begin" data-editable_type="timestamp">{{begin}}</span>{{#show_end_time}} - <span class="Ldt-AnnotationsList-End Ldt-live-editable" data-editable_value="{{end}}" data-editable_id="{{id}}" data-editable_field="end" data-editable_type="timestamp">{{end}}</span>{{/show_end_time}}</div>{{/show_timecode}}<h3 class="Ldt-AnnotationsList-Title Ldt-Annotation-Timecode" data-timecode="{{ begin_ms }}" draggable="true">{{#show_title}}<span class="Ldt-AnnotationsList-TitleContent Ldt-live-editable" data-editable_value="{{title}}" data-editable_type="multiline" data-editable_id="{{id}}" data-editable_field="title">{{{htitle}}}</span>{{/show_title}}{{#show_creator}}<span class="Ldt-AnnotationsList-Creator">{{ creator }}</span>{{/show_creator}}</h3><p class="Ldt-AnnotationsList-Description Ldt-live-editable" data-editable_type="multiline" data-editable_value="{{description}}" data-editable_id="{{id}}" data-editable_field="description">{{{hdescription}}}</p>{{#created}}<div class="Ldt-AnnotationsList-CreationDate">{{{created}}}</div>{{/created}}{{#tags.length}}<ul class="Ldt-AnnotationsList-Tags">{{#tags}}{{#.}}<li class="Ldt-AnnotationsList-Tag-Li"><span>{{.}}</span></li>{{/.}}{{/tags}}</ul>{{/tags.length}}{{#audio}}<div class="Ldt-AnnotationsList-Play" data-annotation-id="{{id}}">{{l10n.voice_annotation}}</div>{{/audio}}<div class="Ldt-AnnotationsList-EditControls">{{#show_twitter}}<a title="{{l10n.tweet_annotation}}" target="_blank" href="https://twitter.com/intent/tweet?{{twitter_param}}"><img width="16" height="16" src="metadataplayer/img/twitter.svg"></a>{{/show_twitter}}{{#show_publish}}<div title="{{l10n.publish_annotation}}" class="Ldt-AnnotationsList-PublishAnnotation" data-editable_id="{{id}}"></div>{{/show_publish}}{{#editable}}<div title="{{l10n.edit_annotation}}" class="Ldt-AnnotationsList-Edit" data-editable_id="{{id}}"></div><div title="{{l10n.delete_annotation}}" class="Ldt-AnnotationsList-Delete" data-editable_id="{{id}}"></div>{{/editable}}</div></li>'),n};var raphael_min={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(window,function(){return function(n){var o={};function u(l){if(o[l])return o[l].exports;var m=o[l]={i:l,l:!1,exports:{}};return n[l].call(m.exports,m,m.exports,u),m.l=!0,m.exports}return u.m=n,u.c=o,u.d=function(l,m,y){u.o(l,m)||Object.defineProperty(l,m,{enumerable:!0,get:y})},u.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},u.t=function(l,m){if(1&m&&(l=u(l)),8&m||4&m&&typeof l=="object"&&l&&l.__esModule)return l;var y=Object.create(null);if(u.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:l}),2&m&&typeof l!="string")for(var E in l)u.d(y,E,(function(C){return l[C]}).bind(null,E));return y},u.n=function(l){var m=l&&l.__esModule?function(){return l.default}:function(){return l};return u.d(m,"a",m),m},u.o=function(l,m){return Object.prototype.hasOwnProperty.call(l,m)},u.p="",u(u.s=1)}([function(n,o,u){var l,m;l=[u(2)],(m=(function(y){function E(le){if(E.is(le,"function"))return C?le():y.on("raphael.DOMload",le);if(E.is(le,b))return E._engine.create[N](E,le.splice(0,3+E.is(le[0],S))).add(le);var we=Array.prototype.slice.call(arguments,0);if(E.is(we[we.length-1],"function")){var $e=we.pop();return C?$e.call(E._engine.create[N](E,we)):y.on("raphael.DOMload",function(){$e.call(E._engine.create[N](E,we))})}return E._engine.create[N](E,arguments)}E.version="2.3.0",E.eve=y;var C,k,A=/[, ]+/,D={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},P=/\{(\d+)\}/g,R="hasOwnProperty",B={doc:document,win:window},F={was:Object.prototype[R].call(B.win,"Raphael"),is:B.win.Raphael},O=function(){this.ca=this.customAttributes={}},N="apply",Y="concat",J="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,ie="",ue=" ",Q=String,ce="split",he="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[ce](ue),ke={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},L=Q.prototype.toLowerCase,d=Math,v=d.max,w=d.min,c=d.abs,p=d.pow,x=d.PI,S="number",b="array",h=Object.prototype.toString,T=(E._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),M={NaN:1,Infinity:1,"-Infinity":1},j=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,V=d.round,ee=parseFloat,Z=parseInt,U=Q.prototype.toUpperCase,z=E._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},ne=E._availableAnimAttrs={blur:S,"clip-rect":"csv",cx:S,cy:S,fill:"colour","fill-opacity":S,"font-size":S,height:S,opacity:S,path:"path",r:S,rx:S,ry:S,stroke:"colour","stroke-opacity":S,"stroke-width":S,transform:"transform",width:S,x:S,y:S},fe=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,me={hs:1,rg:1},de=/,?([achlmqrstvxz]),?/gi,Oe=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,lt=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,it=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,ot=(E._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),Ct=function(le,we){return ee(le)-ee(we)},nt=function(le){return le},Je=E._rectPath=function(le,we,$e,je,Ge){return Ge?[["M",le+Ge,we],["l",$e-2*Ge,0],["a",Ge,Ge,0,0,1,Ge,Ge],["l",0,je-2*Ge],["a",Ge,Ge,0,0,1,-Ge,Ge],["l",2*Ge-$e,0],["a",Ge,Ge,0,0,1,-Ge,-Ge],["l",0,2*Ge-je],["a",Ge,Ge,0,0,1,Ge,-Ge],["z"]]:[["M",le,we],["l",$e,0],["l",0,je],["l",-$e,0],["z"]]},tt=function(le,we,$e,je){return je==null&&(je=$e),[["M",le,we],["m",0,-je],["a",$e,je,0,1,1,0,2*je],["a",$e,je,0,1,1,0,-2*je],["z"]]},rt=E._getPath={path:function(le){return le.attr("path")},circle:function(le){var we=le.attrs;return tt(we.cx,we.cy,we.r)},ellipse:function(le){var we=le.attrs;return tt(we.cx,we.cy,we.rx,we.ry)},rect:function(le){var we=le.attrs;return Je(we.x,we.y,we.width,we.height,we.r)},image:function(le){var we=le.attrs;return Je(we.x,we.y,we.width,we.height)},text:function(le){var we=le._getBBox();return Je(we.x,we.y,we.width,we.height)},set:function(le){var we=le._getBBox();return Je(we.x,we.y,we.width,we.height)}},ht=E.mapPath=function(le,we){if(!we)return le;var $e,je,Ge,st,xe,Ee,Ie;for(Ge=0,xe=(le=Xt(le)).length;Ge<xe;Ge++)for(st=1,Ee=(Ie=le[Ge]).length;st<Ee;st+=2)$e=we.x(Ie[st],Ie[st+1]),je=we.y(Ie[st],Ie[st+1]),Ie[st]=$e,Ie[st+1]=je;return le};if(E._g=B,E.type=B.win.SVGAngle||B.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML",E.type=="VML"){var jt,Ve=B.doc.createElement("div");if(Ve.innerHTML='<v:shape adj="1"/>',(jt=Ve.firstChild).style.behavior="url(#default#VML)",!jt||typeof jt.adj!="object")return E.type=ie;Ve=null}function We(le){if(typeof le=="function"||Object(le)!==le)return le;var we=new le.constructor;for(var $e in le)le[R]($e)&&(we[$e]=We(le[$e]));return we}E.svg=!(E.vml=E.type=="VML"),E._Paper=O,E.fn=k=O.prototype=E.prototype,E._id=0,E.is=function(le,we){return(we=L.call(we))=="finite"?!M[R](+le):we=="array"?le instanceof Array:we=="null"&&le===null||we==typeof le&&le!==null||we=="object"&&le===Object(le)||we=="array"&&Array.isArray&&Array.isArray(le)||h.call(le).slice(8,-1).toLowerCase()==we},E.angle=function(le,we,$e,je,Ge,st){if(Ge==null){var xe=le-$e,Ee=we-je;return xe||Ee?(180+180*d.atan2(-Ee,-xe)/x+360)%360:0}return E.angle(le,we,Ge,st)-E.angle($e,je,Ge,st)},E.rad=function(le){return le%360*x/180},E.deg=function(le){return Math.round(180*le/x%360*1e3)/1e3},E.snapTo=function(le,we,$e){if($e=E.is($e,"finite")?$e:10,E.is(le,b)){for(var je=le.length;je--;)if(c(le[je]-we)<=$e)return le[je]}else{var Ge=we%(le=+le);if(Ge<$e)return we-Ge;if(Ge>le-$e)return we-Ge+le}return we};var Gt,wt;E.createUUID=(Gt=/[xy]/g,wt=function(le){var we=16*d.random()|0;return(le=="x"?we:3&we|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(Gt,wt).toUpperCase()}),E.setWindow=function(le){y("raphael.setWindow",E,B.win,le),B.win=le,B.doc=B.win.document,E._engine.initWin&&E._engine.initWin(B.win)};var Et=function(le){if(E.vml){var we,$e=/^\s+|\s+$/g;try{var je=new ActiveXObject("htmlfile");je.write("<body>"),je.close(),we=je.body}catch{we=createPopup().document.body}var Ge=we.createTextRange();Et=Ue(function(xe){try{we.style.color=Q(xe).replace($e,ie);var Ee=Ge.queryCommandValue("ForeColor");return"#"+("000000"+(Ee=(255&Ee)<<16|65280&Ee|(16711680&Ee)>>>16).toString(16)).slice(-6)}catch{return"none"}})}else{var st=B.doc.createElement("i");st.title="Raphaël Colour Picker",st.style.display="none",B.doc.body.appendChild(st),Et=Ue(function(xe){return st.style.color=xe,B.doc.defaultView.getComputedStyle(st,ie).getPropertyValue("color")})}return Et(le)},Yt=function(){return"hsb("+[this.h,this.s,this.b]+")"},Ce=function(){return"hsl("+[this.h,this.s,this.l]+")"},te=function(){return this.hex},ye=function(le,we,$e){if(we==null&&E.is(le,"object")&&"r"in le&&"g"in le&&"b"in le&&($e=le.b,we=le.g,le=le.r),we==null&&E.is(le,"string")){var je=E.getRGB(le);le=je.r,we=je.g,$e=je.b}return(le>1||we>1||$e>1)&&(le/=255,we/=255,$e/=255),[le,we,$e]},Le=function(le,we,$e,je){var Ge={r:le*=255,g:we*=255,b:$e*=255,hex:E.rgb(le,we,$e),toString:te};return E.is(je,"finite")&&(Ge.opacity=je),Ge};function Ue(le,we,$e){return function je(){var Ge=Array.prototype.slice.call(arguments,0),st=Ge.join("␀"),xe=je.cache=je.cache||{},Ee=je.count=je.count||[];return xe[R](st)?(function(Ie,Xe){for(var xt=0,Lt=Ie.length;xt<Lt;xt++)if(Ie[xt]===Xe)return Ie.push(Ie.splice(xt,1)[0])}(Ee,st),$e?$e(xe[st]):xe[st]):(Ee.length>=1e3&&delete xe[Ee.shift()],Ee.push(st),xe[st]=le[N](we,Ge),$e?$e(xe[st]):xe[st])}}E.color=function(le){var we;return E.is(le,"object")&&"h"in le&&"s"in le&&"b"in le?(we=E.hsb2rgb(le),le.r=we.r,le.g=we.g,le.b=we.b,le.hex=we.hex):E.is(le,"object")&&"h"in le&&"s"in le&&"l"in le?(we=E.hsl2rgb(le),le.r=we.r,le.g=we.g,le.b=we.b,le.hex=we.hex):(E.is(le,"string")&&(le=E.getRGB(le)),E.is(le,"object")&&"r"in le&&"g"in le&&"b"in le?(we=E.rgb2hsl(le),le.h=we.h,le.s=we.s,le.l=we.l,we=E.rgb2hsb(le),le.v=we.b):(le={hex:"none"}).r=le.g=le.b=le.h=le.s=le.v=le.l=-1),le.toString=te,le},E.hsb2rgb=function(le,we,$e,je){var Ge,st,xe,Ee,Ie;return this.is(le,"object")&&"h"in le&&"s"in le&&"b"in le&&($e=le.b,we=le.s,je=le.o,le=le.h),Ee=(Ie=$e*we)*(1-c((le=(le*=360)%360/60)%2-1)),Ge=st=xe=$e-Ie,Le(Ge+=[Ie,Ee,0,0,Ee,Ie][le=~~le],st+=[Ee,Ie,Ie,Ee,0,0][le],xe+=[0,0,Ee,Ie,Ie,Ee][le],je)},E.hsl2rgb=function(le,we,$e,je){var Ge,st,xe,Ee,Ie;return this.is(le,"object")&&"h"in le&&"s"in le&&"l"in le&&($e=le.l,we=le.s,le=le.h),(le>1||we>1||$e>1)&&(le/=360,we/=100,$e/=100),Ee=(Ie=2*we*($e<.5?$e:1-$e))*(1-c((le=(le*=360)%360/60)%2-1)),Ge=st=xe=$e-Ie/2,Le(Ge+=[Ie,Ee,0,0,Ee,Ie][le=~~le],st+=[Ee,Ie,Ie,Ee,0,0][le],xe+=[0,0,Ee,Ie,Ie,Ee][le],je)},E.rgb2hsb=function(le,we,$e){var je,Ge;return le=($e=ye(le,we,$e))[0],we=$e[1],$e=$e[2],{h:(((Ge=(je=v(le,we,$e))-w(le,we,$e))==0?null:je==le?(we-$e)/Ge:je==we?($e-le)/Ge+2:(le-we)/Ge+4)+360)%6*60/360,s:Ge==0?0:Ge/je,b:je,toString:Yt}},E.rgb2hsl=function(le,we,$e){var je,Ge,st,xe;return le=($e=ye(le,we,$e))[0],we=$e[1],$e=$e[2],je=((Ge=v(le,we,$e))+(st=w(le,we,$e)))/2,{h:(((xe=Ge-st)==0?null:Ge==le?(we-$e)/xe:Ge==we?($e-le)/xe+2:(le-we)/xe+4)+360)%6*60/360,s:xe==0?0:je<.5?xe/(2*je):xe/(2-2*je),l:je,toString:Ce}},E._path2string=function(){return this.join(",").replace(de,"$1")},E._preload=function(le,we){var $e=B.doc.createElement("img");$e.style.cssText="position:absolute;left:-9999em;top:-9999em",$e.onload=function(){we.call(this),this.onload=null,B.doc.body.removeChild(this)},$e.onerror=function(){B.doc.body.removeChild(this)},B.doc.body.appendChild($e),$e.src=le};function Qe(){return this.hex}function Ke(le,we){for(var $e=[],je=0,Ge=le.length;Ge-2*!we>je;je+=2){var st=[{x:+le[je-2],y:+le[je-1]},{x:+le[je],y:+le[je+1]},{x:+le[je+2],y:+le[je+3]},{x:+le[je+4],y:+le[je+5]}];we?je?Ge-4==je?st[3]={x:+le[0],y:+le[1]}:Ge-2==je&&(st[2]={x:+le[0],y:+le[1]},st[3]={x:+le[2],y:+le[3]}):st[0]={x:+le[Ge-2],y:+le[Ge-1]}:Ge-4==je?st[3]=st[2]:je||(st[0]={x:+le[je],y:+le[je+1]}),$e.push(["C",(-st[0].x+6*st[1].x+st[2].x)/6,(-st[0].y+6*st[1].y+st[2].y)/6,(st[1].x+6*st[2].x-st[3].x)/6,(st[1].y+6*st[2].y-st[3].y)/6,st[2].x,st[2].y])}return $e}E.getRGB=Ue(function(le){if(!le||(le=Q(le)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Qe};if(le=="none")return{r:-1,g:-1,b:-1,hex:"none",toString:Qe};!me[R](le.toLowerCase().substring(0,2))&&le.charAt()!="#"&&(le=Et(le));var we,$e,je,Ge,st,xe,Ee=le.match(T);return Ee?(Ee[2]&&(je=Z(Ee[2].substring(5),16),$e=Z(Ee[2].substring(3,5),16),we=Z(Ee[2].substring(1,3),16)),Ee[3]&&(je=Z((st=Ee[3].charAt(3))+st,16),$e=Z((st=Ee[3].charAt(2))+st,16),we=Z((st=Ee[3].charAt(1))+st,16)),Ee[4]&&(xe=Ee[4][ce](fe),we=ee(xe[0]),xe[0].slice(-1)=="%"&&(we*=2.55),$e=ee(xe[1]),xe[1].slice(-1)=="%"&&($e*=2.55),je=ee(xe[2]),xe[2].slice(-1)=="%"&&(je*=2.55),Ee[1].toLowerCase().slice(0,4)=="rgba"&&(Ge=ee(xe[3])),xe[3]&&xe[3].slice(-1)=="%"&&(Ge/=100)),Ee[5]?(xe=Ee[5][ce](fe),we=ee(xe[0]),xe[0].slice(-1)=="%"&&(we*=2.55),$e=ee(xe[1]),xe[1].slice(-1)=="%"&&($e*=2.55),je=ee(xe[2]),xe[2].slice(-1)=="%"&&(je*=2.55),(xe[0].slice(-3)=="deg"||xe[0].slice(-1)=="°")&&(we/=360),Ee[1].toLowerCase().slice(0,4)=="hsba"&&(Ge=ee(xe[3])),xe[3]&&xe[3].slice(-1)=="%"&&(Ge/=100),E.hsb2rgb(we,$e,je,Ge)):Ee[6]?(xe=Ee[6][ce](fe),we=ee(xe[0]),xe[0].slice(-1)=="%"&&(we*=2.55),$e=ee(xe[1]),xe[1].slice(-1)=="%"&&($e*=2.55),je=ee(xe[2]),xe[2].slice(-1)=="%"&&(je*=2.55),(xe[0].slice(-3)=="deg"||xe[0].slice(-1)=="°")&&(we/=360),Ee[1].toLowerCase().slice(0,4)=="hsla"&&(Ge=ee(xe[3])),xe[3]&&xe[3].slice(-1)=="%"&&(Ge/=100),E.hsl2rgb(we,$e,je,Ge)):((Ee={r:we,g:$e,b:je,toString:Qe}).hex="#"+(16777216|je|$e<<8|we<<16).toString(16).slice(1),E.is(Ge,"finite")&&(Ee.opacity=Ge),Ee)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Qe}},E),E.hsb=Ue(function(le,we,$e){return E.hsb2rgb(le,we,$e).hex}),E.hsl=Ue(function(le,we,$e){return E.hsl2rgb(le,we,$e).hex}),E.rgb=Ue(function(le,we,$e){function je(Ge){return Ge+.5|0}return"#"+(16777216|je($e)|je(we)<<8|je(le)<<16).toString(16).slice(1)}),E.getColor=function(le){var we=this.getColor.start=this.getColor.start||{h:0,s:1,b:le||.75},$e=this.hsb2rgb(we.h,we.s,we.b);return we.h+=.075,we.h>1&&(we.h=0,we.s-=.2,we.s<=0&&(this.getColor.start={h:0,s:1,b:we.b})),$e.hex},E.getColor.reset=function(){delete this.start},E.parsePathString=function(le){if(!le)return null;var we=De(le);if(we.arr)return vt(we.arr);var $e={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},je=[];return E.is(le,b)&&E.is(le[0],b)&&(je=vt(le)),je.length||Q(le).replace(Oe,function(Ge,st,xe){var Ee=[],Ie=st.toLowerCase();if(xe.replace(it,function(Xe,xt){xt&&Ee.push(+xt)}),Ie=="m"&&Ee.length>2&&(je.push([st][Y](Ee.splice(0,2))),Ie="l",st=st=="m"?"l":"L"),Ie=="r")je.push([st][Y](Ee));else for(;Ee.length>=$e[Ie]&&(je.push([st][Y](Ee.splice(0,$e[Ie]))),$e[Ie]););}),je.toString=E._path2string,we.arr=vt(je),je},E.parseTransformString=Ue(function(le){if(!le)return null;var we=[];return E.is(le,b)&&E.is(le[0],b)&&(we=vt(le)),we.length||Q(le).replace(lt,function($e,je,Ge){var st=[];L.call(je),Ge.replace(it,function(xe,Ee){Ee&&st.push(+Ee)}),we.push([je][Y](st))}),we.toString=E._path2string,we},this,function(le){if(!le)return le;for(var we=[],$e=0;$e<le.length;$e++){for(var je=[],Ge=0;Ge<le[$e].length;Ge++)je.push(le[$e][Ge]);we.push(je)}return we});var De=function(le){var we=De.ps=De.ps||{};return we[le]?we[le].sleep=100:we[le]={sleep:100},setTimeout(function(){for(var $e in we)we[R]($e)&&$e!=le&&(we[$e].sleep--,!we[$e].sleep&&delete we[$e])}),we[le]};function Vt(le,we,$e,je,Ge){return le*(le*(-3*we+9*$e-9*je+3*Ge)+6*we-12*$e+6*je)-3*we+3*$e}function At(le,we,$e,je,Ge,st,xe,Ee,Ie){Ie==null&&(Ie=1);for(var Xe=(Ie=Ie>1?1:Ie<0?0:Ie)/2,xt=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],Lt=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Ft=0,Ot=0;Ot<12;Ot++){var si=Xe*xt[Ot]+Xe,yi=Vt(si,le,$e,Ge,xe),vi=Vt(si,we,je,st,Ee),li=yi*yi+vi*vi;Ft+=Lt[Ot]*d.sqrt(li)}return Xe*Ft}function ve(le,we,$e,je,Ge,st,xe,Ee){if(!(v(le,$e)<w(Ge,xe)||w(le,$e)>v(Ge,xe)||v(we,je)<w(st,Ee)||w(we,je)>v(st,Ee))){var Ie=(le-$e)*(st-Ee)-(we-je)*(Ge-xe);if(Ie){var Xe=((le*je-we*$e)*(Ge-xe)-(le-$e)*(Ge*Ee-st*xe))/Ie,xt=((le*je-we*$e)*(st-Ee)-(we-je)*(Ge*Ee-st*xe))/Ie,Lt=+Xe.toFixed(2),Ft=+xt.toFixed(2);if(!(Lt<+w(le,$e).toFixed(2)||Lt>+v(le,$e).toFixed(2)||Lt<+w(Ge,xe).toFixed(2)||Lt>+v(Ge,xe).toFixed(2)||Ft<+w(we,je).toFixed(2)||Ft>+v(we,je).toFixed(2)||Ft<+w(st,Ee).toFixed(2)||Ft>+v(st,Ee).toFixed(2)))return{x:Xe,y:xt}}}}function Pt(le,we,$e){var je=E.bezierBBox(le),Ge=E.bezierBBox(we);if(!E.isBBoxIntersect(je,Ge))return $e?0:[];for(var st=At.apply(0,le),xe=At.apply(0,we),Ee=v(~~(st/5),1),Ie=v(~~(xe/5),1),Xe=[],xt=[],Lt={},Ft=$e?0:[],Ot=0;Ot<Ee+1;Ot++){var si=E.findDotsAtSegment.apply(E,le.concat(Ot/Ee));Xe.push({x:si.x,y:si.y,t:Ot/Ee})}for(Ot=0;Ot<Ie+1;Ot++)si=E.findDotsAtSegment.apply(E,we.concat(Ot/Ie)),xt.push({x:si.x,y:si.y,t:Ot/Ie});for(Ot=0;Ot<Ee;Ot++)for(var yi=0;yi<Ie;yi++){var vi=Xe[Ot],li=Xe[Ot+1],Vi=xt[yi],Ei=xt[yi+1],$i=c(li.x-vi.x)<.001?"y":"x",xi=c(Ei.x-Vi.x)<.001?"y":"x",ir=ve(vi.x,vi.y,li.x,li.y,Vi.x,Vi.y,Ei.x,Ei.y);if(ir){if(Lt[ir.x.toFixed(4)]==ir.y.toFixed(4))continue;Lt[ir.x.toFixed(4)]=ir.y.toFixed(4);var Ji=vi.t+c((ir[$i]-vi[$i])/(li[$i]-vi[$i]))*(li.t-vi.t),ur=Vi.t+c((ir[xi]-Vi[xi])/(Ei[xi]-Vi[xi]))*(Ei.t-Vi.t);Ji>=0&&Ji<=1.001&&ur>=0&&ur<=1.001&&($e?Ft++:Ft.push({x:ir.x,y:ir.y,t1:w(Ji,1),t2:w(ur,1)}))}}return Ft}function pt(le,we,$e){le=E._path2curve(le),we=E._path2curve(we);for(var je,Ge,st,xe,Ee,Ie,Xe,xt,Lt,Ft,Ot=$e?0:[],si=0,yi=le.length;si<yi;si++){var vi=le[si];if(vi[0]=="M")je=Ee=vi[1],Ge=Ie=vi[2];else{vi[0]=="C"?(Lt=[je,Ge].concat(vi.slice(1)),je=Lt[6],Ge=Lt[7]):(Lt=[je,Ge,je,Ge,Ee,Ie,Ee,Ie],je=Ee,Ge=Ie);for(var li=0,Vi=we.length;li<Vi;li++){var Ei=we[li];if(Ei[0]=="M")st=Xe=Ei[1],xe=xt=Ei[2];else{Ei[0]=="C"?(Ft=[st,xe].concat(Ei.slice(1)),st=Ft[6],xe=Ft[7]):(Ft=[st,xe,st,xe,Xe,xt,Xe,xt],st=Xe,xe=xt);var $i=Pt(Lt,Ft,$e);if($e)Ot+=$i;else{for(var xi=0,ir=$i.length;xi<ir;xi++)$i[xi].segment1=si,$i[xi].segment2=li,$i[xi].bez1=Lt,$i[xi].bez2=Ft;Ot=Ot.concat($i)}}}}}return Ot}E.findDotsAtSegment=function(le,we,$e,je,Ge,st,xe,Ee,Ie){var Xe=1-Ie,xt=p(Xe,3),Lt=p(Xe,2),Ft=Ie*Ie,Ot=Ft*Ie,si=xt*le+3*Lt*Ie*$e+3*Xe*Ie*Ie*Ge+Ot*xe,yi=xt*we+3*Lt*Ie*je+3*Xe*Ie*Ie*st+Ot*Ee,vi=le+2*Ie*($e-le)+Ft*(Ge-2*$e+le),li=we+2*Ie*(je-we)+Ft*(st-2*je+we),Vi=$e+2*Ie*(Ge-$e)+Ft*(xe-2*Ge+$e),Ei=je+2*Ie*(st-je)+Ft*(Ee-2*st+je),$i=Xe*le+Ie*$e,xi=Xe*we+Ie*je,ir=Xe*Ge+Ie*xe,Ji=Xe*st+Ie*Ee,ur=90-180*d.atan2(vi-Vi,li-Ei)/x;return(vi>Vi||li<Ei)&&(ur+=180),{x:si,y:yi,m:{x:vi,y:li},n:{x:Vi,y:Ei},start:{x:$i,y:xi},end:{x:ir,y:Ji},alpha:ur}},E.bezierBBox=function(le,we,$e,je,Ge,st,xe,Ee){E.is(le,"array")||(le=[le,we,$e,je,Ge,st,xe,Ee]);var Ie=Ut.apply(null,le);return{x:Ie.min.x,y:Ie.min.y,x2:Ie.max.x,y2:Ie.max.y,width:Ie.max.x-Ie.min.x,height:Ie.max.y-Ie.min.y}},E.isPointInsideBBox=function(le,we,$e){return we>=le.x&&we<=le.x2&&$e>=le.y&&$e<=le.y2},E.isBBoxIntersect=function(le,we){var $e=E.isPointInsideBBox;return $e(we,le.x,le.y)||$e(we,le.x2,le.y)||$e(we,le.x,le.y2)||$e(we,le.x2,le.y2)||$e(le,we.x,we.y)||$e(le,we.x2,we.y)||$e(le,we.x,we.y2)||$e(le,we.x2,we.y2)||(le.x<we.x2&&le.x>we.x||we.x<le.x2&&we.x>le.x)&&(le.y<we.y2&&le.y>we.y||we.y<le.y2&&we.y>le.y)},E.pathIntersection=function(le,we){return pt(le,we)},E.pathIntersectionNumber=function(le,we){return pt(le,we,1)},E.isPointInsidePath=function(le,we,$e){var je=E.pathBBox(le);return E.isPointInsideBBox(je,we,$e)&&pt(le,[["M",we,$e],["H",je.x2+10]],1)%2==1},E._removedFactory=function(le){return function(){y("raphael.log",null,"Raphaël: you are calling to method “"+le+"” of removed object",le)}};var Ne=E.pathBBox=function(le){var we=De(le);if(we.bbox)return We(we.bbox);if(!le)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var $e,je=0,Ge=0,st=[],xe=[],Ee=0,Ie=(le=Xt(le)).length;Ee<Ie;Ee++)if(($e=le[Ee])[0]=="M")je=$e[1],Ge=$e[2],st.push(je),xe.push(Ge);else{var Xe=Ut(je,Ge,$e[1],$e[2],$e[3],$e[4],$e[5],$e[6]);st=st[Y](Xe.min.x,Xe.max.x),xe=xe[Y](Xe.min.y,Xe.max.y),je=$e[5],Ge=$e[6]}var xt=w[N](0,st),Lt=w[N](0,xe),Ft=v[N](0,st),Ot=v[N](0,xe),si=Ft-xt,yi=Ot-Lt,vi={x:xt,y:Lt,x2:Ft,y2:Ot,width:si,height:yi,cx:xt+si/2,cy:Lt+yi/2};return we.bbox=We(vi),vi},vt=function(le){var we=We(le);return we.toString=E._path2string,we},ut=E._pathToRelative=function(le){var we=De(le);if(we.rel)return vt(we.rel);E.is(le,b)&&E.is(le&&le[0],b)||(le=E.parsePathString(le));var $e=[],je=0,Ge=0,st=0,xe=0,Ee=0;le[0][0]=="M"&&(st=je=le[0][1],xe=Ge=le[0][2],Ee++,$e.push(["M",je,Ge]));for(var Ie=Ee,Xe=le.length;Ie<Xe;Ie++){var xt=$e[Ie]=[],Lt=le[Ie];if(Lt[0]!=L.call(Lt[0]))switch(xt[0]=L.call(Lt[0]),xt[0]){case"a":xt[1]=Lt[1],xt[2]=Lt[2],xt[3]=Lt[3],xt[4]=Lt[4],xt[5]=Lt[5],xt[6]=+(Lt[6]-je).toFixed(3),xt[7]=+(Lt[7]-Ge).toFixed(3);break;case"v":xt[1]=+(Lt[1]-Ge).toFixed(3);break;case"m":st=Lt[1],xe=Lt[2];default:for(var Ft=1,Ot=Lt.length;Ft<Ot;Ft++)xt[Ft]=+(Lt[Ft]-(Ft%2?je:Ge)).toFixed(3)}else{xt=$e[Ie]=[],Lt[0]=="m"&&(st=Lt[1]+je,xe=Lt[2]+Ge);for(var si=0,yi=Lt.length;si<yi;si++)$e[Ie][si]=Lt[si]}var vi=$e[Ie].length;switch($e[Ie][0]){case"z":je=st,Ge=xe;break;case"h":je+=+$e[Ie][vi-1];break;case"v":Ge+=+$e[Ie][vi-1];break;default:je+=+$e[Ie][vi-2],Ge+=+$e[Ie][vi-1]}}return $e.toString=E._path2string,we.rel=vt($e),$e},$t=E._pathToAbsolute=function(le){var we=De(le);if(we.abs)return vt(we.abs);if(E.is(le,b)&&E.is(le&&le[0],b)||(le=E.parsePathString(le)),!le||!le.length)return[["M",0,0]];var $e=[],je=0,Ge=0,st=0,xe=0,Ee=0;le[0][0]=="M"&&(st=je=+le[0][1],xe=Ge=+le[0][2],Ee++,$e[0]=["M",je,Ge]);for(var Ie,Xe,xt=le.length==3&&le[0][0]=="M"&&le[1][0].toUpperCase()=="R"&&le[2][0].toUpperCase()=="Z",Lt=Ee,Ft=le.length;Lt<Ft;Lt++){if($e.push(Ie=[]),(Xe=le[Lt])[0]!=U.call(Xe[0]))switch(Ie[0]=U.call(Xe[0]),Ie[0]){case"A":Ie[1]=Xe[1],Ie[2]=Xe[2],Ie[3]=Xe[3],Ie[4]=Xe[4],Ie[5]=Xe[5],Ie[6]=+(Xe[6]+je),Ie[7]=+(Xe[7]+Ge);break;case"V":Ie[1]=+Xe[1]+Ge;break;case"H":Ie[1]=+Xe[1]+je;break;case"R":for(var Ot=[je,Ge][Y](Xe.slice(1)),si=2,yi=Ot.length;si<yi;si++)Ot[si]=+Ot[si]+je,Ot[++si]=+Ot[si]+Ge;$e.pop(),$e=$e[Y](Ke(Ot,xt));break;case"M":st=+Xe[1]+je,xe=+Xe[2]+Ge;default:for(si=1,yi=Xe.length;si<yi;si++)Ie[si]=+Xe[si]+(si%2?je:Ge)}else if(Xe[0]=="R")Ot=[je,Ge][Y](Xe.slice(1)),$e.pop(),$e=$e[Y](Ke(Ot,xt)),Ie=["R"][Y](Xe.slice(-2));else for(var vi=0,li=Xe.length;vi<li;vi++)Ie[vi]=Xe[vi];switch(Ie[0]){case"Z":je=st,Ge=xe;break;case"H":je=Ie[1];break;case"V":Ge=Ie[1];break;case"M":st=Ie[Ie.length-2],xe=Ie[Ie.length-1];default:je=Ie[Ie.length-2],Ge=Ie[Ie.length-1]}}return $e.toString=E._path2string,we.abs=vt($e),$e},fi=function(le,we,$e,je){return[le,we,$e,je,$e,je]},kt=function(le,we,$e,je,Ge,st){return[1/3*le+2/3*$e,1/3*we+2/3*je,1/3*Ge+2/3*$e,1/3*st+2/3*je,Ge,st]},Wt=function(le,we,$e,je,Ge,st,xe,Ee,Ie,Xe){var xt,Lt=120*x/180,Ft=x/180*(+Ge||0),Ot=[],si=Ue(function(X,ae,Te){return{x:X*d.cos(Te)-ae*d.sin(Te),y:X*d.sin(Te)+ae*d.cos(Te)}});if(Xe)Ji=Xe[0],ur=Xe[1],xi=Xe[2],ir=Xe[3];else{le=(xt=si(le,we,-Ft)).x,we=xt.y,Ee=(xt=si(Ee,Ie,-Ft)).x,Ie=xt.y;var yi=(le-Ee)/2,vi=(we-Ie)/2,li=yi*yi/($e*$e)+vi*vi/(je*je);li>1&&($e*=li=d.sqrt(li),je*=li);var Vi=$e*$e,Ei=je*je,$i=(st==xe?-1:1)*d.sqrt(c((Vi*Ei-Vi*vi*vi-Ei*yi*yi)/(Vi*vi*vi+Ei*yi*yi))),xi=$i*$e*vi/je+(le+Ee)/2,ir=$i*-je*yi/$e+(we+Ie)/2,Ji=d.asin(((we-ir)/je).toFixed(9)),ur=d.asin(((Ie-ir)/je).toFixed(9));(Ji=le<xi?x-Ji:Ji)<0&&(Ji=2*x+Ji),(ur=Ee<xi?x-ur:ur)<0&&(ur=2*x+ur),xe&&Ji>ur&&(Ji-=2*x),!xe&&ur>Ji&&(ur-=2*x)}var zn=ur-Ji;if(c(zn)>Lt){var Un=ur,_r=Ee,xr=Ie;ur=Ji+Lt*(xe&&ur>Ji?1:-1),Ee=xi+$e*d.cos(ur),Ie=ir+je*d.sin(ur),Ot=Wt(Ee,Ie,$e,je,Ge,0,xe,_r,xr,[ur,Un,xi,ir])}zn=ur-Ji;var En=d.cos(Ji),kn=d.sin(Ji),ia=d.c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>0&&Ft<1&&(Ie=Zi(le,we,$e,je,Ge,st,xe,Ee,Ft),yi.push(Ie.x),si.push(Ie.y)),Ot>0&&Ot<1&&(Ie=Zi(le,we,$e,je,Ge,st,xe,Ee,Ot),yi.push(Ie.x),si.push(Ie.y)),{min:{x:w[N](0,yi),y:w[N](0,si)},max:{x:v[N](0,yi),y:v[N](0,si)}}}),Xt=E._path2curve=Ue(function(le,we){var $e=!we&&De(le);if(!we&&$e.curve)return vt($e.curve);for(var je=$t(le),Ge=we&&$t(we),st={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},xe={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},Ee=function($i,xi,ir){var Ji,ur;if(!$i)return["C",xi.x,xi.y,xi.x,xi.y,xi.x,xi.y];switch(!($i[0]in{T:1,Q:1})&&(xi.qx=xi.qy=null),$i[0]){case"M":xi.X=$i[1],xi.Y=$i[2];break;case"A":$i=["C"][Y](Wt[N](0,[xi.x,xi.y][Y]($i.slice(1))));break;case"S":ir=="C"||ir=="S"?(Ji=2*xi.x-xi.bx,ur=2*xi.y-xi.by):(Ji=xi.x,ur=xi.y),$i=["C",Ji,ur][Y]($i.slice(1));break;case"T":ir=="Q"||ir=="T"?(xi.qx=2*xi.x-xi.qx,xi.qy=2*xi.y-xi.qy):(xi.qx=xi.x,xi.qy=xi.y),$i=["C"][Y](kt(xi.x,xi.y,xi.qx,xi.qy,$i[1],$i[2]));break;case"Q":xi.qx=$i[1],xi.qy=$i[2],$i=["C"][Y](kt(xi.x,xi.y,$i[1],$i[2],$i[3],$i[4]));break;case"L":$i=["C"][Y](fi(xi.x,xi.y,$i[1],$i[2]));break;case"H":$i=["C"][Y](fi(xi.x,xi.y,$i[1],xi.y));break;case"V":$i=["C"][Y](fi(xi.x,xi.y,xi.x,$i[1]));break;case"Z":$i=["C"][Y](fi(xi.x,xi.y,xi.X,xi.Y))}return $i},Ie=function($i,xi){if($i[xi].length>7){$i[xi].shift();for(var ir=$i[xi];ir.length;)xt[xi]="A",Ge&&(Lt[xi]="A"),$i.splice(xi++,0,["C"][Y](ir.splice(0,6)));$i.splice(xi,1),yi=v(je.length,Ge&&Ge.length||0)}},Xe=function($i,xi,ir,Ji,ur){$i&&xi&&$i[ur][0]=="M"&&xi[ur][0]!="M"&&(xi.splice(ur,0,["M",Ji.x,Ji.y]),ir.bx=0,ir.by=0,ir.x=$i[ur][1],ir.y=$i[ur][2],yi=v(je.length,Ge&&Ge.length||0))},xt=[],Lt=[],Ft="",Ot="",si=0,yi=v(je.length,Ge&&Ge.length||0);si<yi;si++){je[si]&&(Ft=je[si][0]),Ft!="C"&&(xt[si]=Ft,si&&(Ot=xt[si-1])),je[si]=Ee(je[si],st,Ot),xt[si]!="A"&&Ft=="C"&&(xt[si]="C"),Ie(je,si),Ge&&(Ge[si]&&(Ft=Ge[si][0]),Ft!="C"&&(Lt[si]=Ft,si&&(Ot=Lt[si-1])),Ge[si]=Ee(Ge[si],xe,Ot),Lt[si]!="A"&&Ft=="C"&&(Lt[si]="C"),Ie(Ge,si)),Xe(je,Ge,st,xe,si),Xe(Ge,je,xe,st,si);var vi=je[si],li=Ge&&Ge[si],Vi=vi.length,Ei=Ge&&li.length;st.x=vi[Vi-2],st.y=vi[Vi-1],st.bx=ee(vi[Vi-4])||st.x,st.by=ee(vi[Vi-3])||st.y,xe.bx=Ge&&(ee(li[Ei-4])||xe.x),xe.by=Ge&&(ee(li[Ei-3])||xe.y),xe.x=Ge&&li[Ei-2],xe.y=Ge&&li[Ei-1]}return Ge||($e.curve=vt(je)),Ge?[je,Ge]:je},null,vt),Be=(E._parseDots=Ue(function(le){for(var we=[],$e=0,je=le.length;$e<je;$e++){var Ge={},st=le[$e].match(/^([^:]*):?([\d\.]*)/);if(Ge.color=E.getRGB(st[1]),Ge.color.error)return null;Ge.opacity=Ge.color.opacity,Ge.color=Ge.color.hex,st[2]&&(Ge.offset=st[2]+"%"),we.push(Ge)}for($e=1,je=we.length-1;$e<je;$e++)if(!we[$e].offset){for(var xe=ee(we[$e-1].offset||0),Ee=0,Ie=$e+1;Ie<je;Ie++)if(we[Ie].offset){Ee=we[Ie].offset;break}Ee||(Ee=100,Ie=je);for(var Xe=((Ee=ee(Ee))-xe)/(Ie-$e+1);$e<Ie;$e++)xe+=Xe,we[$e].offset=xe+"%"}return we}),E._tear=function(le,we){le==we.top&&(we.top=le.prev),le==we.bottom&&(we.bottom=le.next),le.next&&(le.next.prev=le.prev),le.prev&&(le.prev.next=le.next)}),be=(E._tofront=function(le,we){we.top!==le&&(Be(le,we),le.next=null,le.prev=we.top,we.top.next=le,we.top=le)},E._toback=function(le,we){we.bottom!==le&&(Be(le,we),le.next=we.bottom,le.prev=null,we.bottom.prev=le,we.bottom=le)},E._insertafter=function(le,we,$e){Be(le,$e),we==$e.top&&($e.top=le),we.next&&(we.next.prev=le),le.next=we.next,le.prev=we,we.next=le},E._insertbefore=function(le,we,$e){Be(le,$e),we==$e.bottom&&($e.bottom=le),we.prev&&(we.prev.next=le),le.prev=we.prev,we.prev=le,le.next=we},E.toMatrix=function(le,we){var $e=Ne(le),je={_:{transform:ie},getBBox:function(){return $e}};return ge(je,we),je.matrix}),ge=(E.transformPath=function(le,we){return ht(le,be(le,we))},E._extractTransform=function(le,we){if(we==null)return le._.transform;we=Q(we).replace(/\.{3}|\u2026/g,le._.transform||ie);var $e,je,Ge=E.parseTransformString(we),st=0,xe=1,Ee=1,Ie=le._,Xe=new qe;if(Ie.transform=Ge||[],Ge)for(var xt=0,Lt=Ge.length;xt<Lt;xt++){var Ft,Ot,si,yi,vi,li=Ge[xt],Vi=li.length,Ei=Q(li[0]).toLowerCase(),$i=li[0]!=Ei,xi=$i?Xe.invert():0;Ei=="t"&&Vi==3?$i?(Ft=xi.x(0,0),Ot=xi.y(0,0),si=xi.x(li[1],li[2]),yi=xi.y(li[1],li[2]),Xe.translate(si-Ft,yi-Ot)):Xe.translate(li[1],li[2]):Ei=="r"?Vi==2?(vi=vi||le.getBBox(1),Xe.rotate(li[1],vi.x+vi.width/2,vi.y+vi.height/2),st+=li[1]):Vi==4&&($i?(si=xi.x(li[2],li[3]),yi=xi.y(li[2],li[3]),Xe.rotate(li[1],si,yi)):Xe.rotate(li[1],li[2],li[3]),st+=li[1]):Ei=="s"?Vi==2||Vi==3?(vi=vi||le.getBBox(1),Xe.scale(li[1],li[Vi-1],vi.x+vi.width/2,vi.y+vi.height/2),xe*=li[1],Ee*=li[Vi-1]):Vi==5&&($i?(si=xi.x(li[3],li[4]),yi=xi.y(li[3],li[4]),Xe.scale(li[1],li[2],si,yi)):Xe.scale(li[1],li[2],li[3],li[4]),xe*=li[1],Ee*=li[2]):Ei=="m"&&Vi==7&&Xe.add(li[1],li[2],li[3],li[4],li[5],li[6]),Ie.dirtyT=1,le.matrix=Xe}le.matrix=Xe,Ie.sx=xe,Ie.sy=Ee,Ie.deg=st,Ie.dx=$e=Xe.e,Ie.dy=je=Xe.f,xe==1&&Ee==1&&!st&&Ie.bbox?(Ie.bbox.x+=+$e,Ie.bbox.y+=+je):Ie.dirtyT=1}),oe=function(le){var we=le[0];switch(we.toLowerCase()){case"t":return[we,0,0];case"m":return[we,1,0,0,1,0,0];case"r":return le.length==4?[we,0,le[2],le[3]]:[we,0];case"s":return le.length==5?[we,1,1,le[3],le[4]]:le.length==3?[we,1,1]:[we,1]}},Ae=E._equaliseTransform=function(le,we){we=Q(we).replace(/\.{3}|\u2026/g,le),le=E.parseTransformString(le)||[],we=E.parseTransformString(we)||[];for(var $e,je,Ge,st,xe=v(le.length,we.length),Ee=[],Ie=[],Xe=0;Xe<xe;Xe++){if(Ge=le[Xe]||oe(we[Xe]),st=we[Xe]||oe(Ge),Ge[0]!=st[0]||Ge[0].toLowerCase()=="r"&&(Ge[2]!=st[2]||Ge[3]!=st[3])||Ge[0].toLowerCase()=="s"&&(Ge[3]!=st[3]||Ge[4]!=st[4]))return;for(Ee[Xe]=[],Ie[Xe]=[],$e=0,je=v(Ge.length,st.length);$e<je;$e++)$e in Ge&&(Ee[Xe][$e]=Ge[$e]),$e in st&&(Ie[Xe][$e]=st[$e])}return{from:Ee,to:Ie}};function qe(le,we,$e,je,Ge,st){le!=null?(this.a=+le,this.b=+we,this.c=+$e,this.d=+je,this.e=+Ge,this.f=+st):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}E._getContainer=function(le,we,$e,je){var Ge;if((Ge=je!=null||E.is(le,"object")?le:B.doc.getElementById(le))!=null)return Ge.tagName?we==null?{container:Ge,width:Ge.style.pixelWidth||Ge.offsetWidth,height:Ge.style.pixelHeight||Ge.offsetHeight}:{container:Ge,width:we,height:$e}:{container:1,x:le,y:we,width:$e,height:je}},E.pathToRelative=ut,E._engine={},E.path2curve=Xt,E.matrix=function(le,we,$e,je,Ge,st){return new qe(le,we,$e,je,Ge,st)},function(le){function we(je){return je[0]*je[0]+je[1]*je[1]}function $e(je){var Ge=d.sqrt(we(je));je[0]&&(je[0]/=Ge),je[1]&&(je[1]/=Ge)}le.add=function(je,Ge,st,xe,Ee,Ie){var Xe,xt,Lt,Ft,Ot=[[],[],[]],si=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],yi=[[je,st,Ee],[Ge,xe,Ie],[0,0,1]];for(je&&je instanceof qe&&(yi=[[je.a,je.c,je.e],[je.b,je.d,je.f],[0,0,1]]),Xe=0;Xe<3;Xe++)for(xt=0;xt<3;xt++){for(Ft=0,Lt=0;Lt<3;Lt++)Ft+=si[Xe][Lt]*yi[Lt][xt];Ot[Xe][xt]=Ft}this.a=Ot[0][0],this.b=Ot[1][0],this.c=Ot[0][1],this.d=Ot[1][1],this.e=Ot[0][2],this.f=Ot[1][2]},le.invert=function(){var je=this,Ge=je.a*je.d-je.b*je.c;return new qe(je.d/Ge,-je.b/Ge,-je.c/Ge,je.a/Ge,(je.c*je.f-je.d*je.e)/Ge,(je.b*je.e-je.a*je.f)/Ge)},le.clone=function(){return new qe(this.a,this.b,this.c,this.d,this.e,this.f)},le.translate=function(je,Ge){this.add(1,0,0,1,je,Ge)},le.scale=function(je,Ge,st,xe){Ge==null&&(Ge=je),(st||xe)&&this.add(1,0,0,1,st,xe),this.add(je,0,0,Ge,0,0),(st||xe)&&this.add(1,0,0,1,-st,-xe)},le.rotate=function(je,Ge,st){je=E.rad(je),Ge=Ge||0,st=st||0;var xe=+d.cos(je).toFixed(9),Ee=+d.sin(je).toFixed(9);this.add(xe,Ee,-Ee,xe,Ge,st),this.add(1,0,0,1,-Ge,-st)},le.x=function(je,Ge){return je*this.a+Ge*this.c+this.e},le.y=function(je,Ge){return je*this.b+Ge*this.d+this.f},le.get=function(je){return+this[Q.fromCharCode(97+je)].toFixed(4)},le.toString=function(){return E.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},le.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},le.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},le.split=function(){var je={};je.dx=this.e,je.dy=this.f;var Ge=[[this.a,this.c],[this.b,this.d]];je.scalex=d.sqrt(we(Ge[0])),$e(Ge[0]),je.shear=Ge[0][0]*Ge[1][0]+Ge[0][1]*Ge[1][1],Ge[1]=[Ge[1][0]-Ge[0][0]*je.shear,Ge[1][1]-Ge[0][1]*je.shear],je.scaley=d.sqrt(we(Ge[1])),$e(Ge[1]),je.shear/=je.scaley;var st=-Ge[0][1],xe=Ge[1][1];return xe<0?(je.rotate=E.deg(d.acos(xe)),st<0&&(je.rotate=360-je.rotate)):je.rotate=E.deg(d.asin(st)),je.isSimple=!(+je.shear.toFixed(9)||je.scalex.toFixed(9)!=je.scaley.toFixed(9)&&je.rotate),je.isSuperSimple=!+je.shear.toFixed(9)&&je.scalex.toFixed(9)==je.scaley.toFixed(9)&&!je.rotate,je.noRotation=!+je.shear.toFixed(9)&&!je.rotate,je},le.toTransformString=function(je){var Ge=je||this[ce]();return Ge.isSimple?(Ge.scalex=+Ge.scalex.toFixed(4),Ge.scaley=+Ge.scaley.toFixed(4),Ge.rotate=+Ge.rotate.toFixed(4),(Ge.dx||Ge.dy?"t"+[Ge.dx,Ge.dy]:ie)+(Ge.scalex!=1||Ge.scaley!=1?"s"+[Ge.scalex,Ge.scaley,0,0]:ie)+(Ge.rotate?"r"+[Ge.rotate,0,0]:ie)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(qe.prototype);for(var bt=function(){this.returnValue=!1},at=function(){return this.originalEvent.preventDefault()},gt=function(){this.cancelBubble=!0},ei=function(){return this.originalEvent.stopPropagation()},ii=function(le){var we=B.doc.documentElement.scrollTop||B.doc.body.scrollTop,$e=B.doc.documentElement.scrollLeft||B.doc.body.scrollLeft;return{x:le.clientX+$e,y:le.clientY+we}},Bi=B.doc.addEventListener?function(le,we,$e,je){var Ge=function(xe){var Ee=ii(xe);return $e.call(je,xe,Ee.x,Ee.y)};if(le.addEventListener(we,Ge,!1),J&&ke[we]){var st=function(xe){for(var Ee=ii(xe),Ie=xe,Xe=0,xt=xe.targetTouches&&xe.targetTouches.length;Xe<xt;Xe++)if(xe.targetTouches[Xe].target==le){(xe=xe.targetTouches[Xe]).originalEvent=Ie,xe.preventDefault=at,xe.stopPropagation=ei;break}return $e.call(je,xe,Ee.x,Ee.y)};le.addEventListener(ke[we],st,!1)}return function(){return le.removeEventListener(we,Ge,!1),J&&ke[we]&&le.removeEventListener(ke[we],st,!1),!0}}:B.doc.attachEvent?function(le,we,$e,je){var Ge=function(st){st=st||B.win.event;var xe=B.doc.documentElement.scrollTop||B.doc.body.scrollTop,Ee=B.doc.documentElement.scrollLeft||B.doc.body.scrollLeft,Ie=st.clientX+Ee,Xe=st.clientY+xe;return st.preventDefault=st.preventDefault||bt,st.stopPropagation=st.stopPropagation||gt,$e.call(je,st,Ie,Xe)};return le.attachEvent("on"+we,Ge),function(){return le.detachEvent("on"+we,Ge),!0}}:void 0,hi=[],Di=function(le){for(var we,$e=le.clientX,je=le.clientY,Ge=B.doc.documentElement.scrollTop||B.doc.body.scrollTop,st=B.doc.documentElement.scrollLeft||B.doc.body.scrollLeft,xe=hi.length;xe--;){if(we=hi[xe],J&&le.touches){for(var Ee,Ie=le.touches.length;Ie--;)if((Ee=le.touches[Ie]).identifier==we.el._drag.id){$e=Ee.clientX,je=Ee.clientY,(le.originalEvent?le.originalEvent:le).preventDefault();break}}else le.preventDefault();var Xe,xt=we.el.node,Lt=xt.nextSibling,Ft=xt.parentNode,Ot=xt.style.display;B.win.opera&&Ft.removeChild(xt),xt.style.display="none",Xe=we.el.paper.getElementByPoint($e,je),xt.style.display=Ot,B.win.opera&&(Lt?Ft.insertBefore(xt,Lt):Ft.appendChild(xt)),Xe&&y("raphael.drag.over."+we.el.id,we.el,Xe),$e+=st,je+=Ge,y("raphael.drag.move."+we.el.id,we.move_scope||we.el,$e-we.el._drag.x,je-we.el._drag.y,$e,je,le)}},ni=function(le){E.unmousemove(Di).unmouseup(ni);for(var we,$e=hi.length;$e--;)(we=hi[$e]).el._drag={},y("raphael.drag.end."+we.el.id,we.end_scope||we.start_scope||we.move_scope||we.el,le);hi=[]},pi=E.el={},Ii=he.length;Ii--;)(function(le){E[le]=pi[le]=function(we,$e){return E.is(we,"function")&&(this.events=this.events||[],this.events.push({name:le,f:we,unbind:Bi(this.shape||this.node||B.doc,le,we,$e||this)})),this},E["un"+le]=pi["un"+le]=function(we){for(var $e=this.events||[],je=$e.length;je--;)$e[je].name!=le||!E.is(we,"undefined")&&$e[je].f!=we||($e[je].unbind(),$e.splice(je,1),!$e.length&&delete this.events);return this}})(he[Ii]);pi.data=function(le,we){var $e=ot[this.id]=ot[this.id]||{};if(arguments.length==0)return $e;if(arguments.length==1){if(E.is(le,"object")){for(var je in le)le[R](je)&&this.data(je,le[je]);return this}return y("raphael.data.get."+this.id,this,$e[le],le),$e[le]}return $e[le]=we,y("raphael.data.set."+this.id,this,we,le),this},pi.removeData=function(le){return le==null?delete ot[this.id]:ot[this.id]&&delete ot[this.id][le],this},pi.getData=function(){return We(ot[this.id]||{})},pi.hover=function(le,we,$e,je){return this.mouseover(le,$e).mouseout(we,je||$e)},pi.unhover=function(le,we){return this.unmouseover(le).unmouseout(we)};var Ci=[];pi.drag=function(le,we,$e,je,Ge,st){function xe(Ee){(Ee.originalEvent||Ee).preventDefault();var Ie=Ee.clientX,Xe=Ee.clientY,xt=B.doc.documentElement.scrollTop||B.doc.body.scrollTop,Lt=B.doc.documentElement.scrollLeft||B.doc.body.scrollLeft;if(this._drag.id=Ee.identifier,J&&Ee.touches){for(var Ft,Ot=Ee.touches.length;Ot--;)if(Ft=Ee.touches[Ot],this._drag.id=Ft.identifier,Ft.identifier==this._drag.id){Ie=Ft.clientX,Xe=Ft.clientY;break}}this._drag.x=Ie+Lt,this._drag.y=Xe+xt,!hi.length&&E.mousemove(Di).mouseup(ni),hi.push({el:this,move_scope:je,start_scope:Ge,end_scope:st}),we&&y.on("raphael.drag.start."+this.id,we),le&&y.on("raphael.drag.move."+this.id,le),$e&&y.on("raphael.drag.end."+this.id,$e),y("raphael.drag.start."+this.id,Ge||je||this,this._drag.x,this._drag.y,Ee)}return this._drag={},Ci.push({el:this,start:xe}),this.mousedown(xe),this},pi.onDragOver=function(le){le?y.on("raphael.drag.over."+this.id,le):y.unbind("raphael.drag.over."+this.id)},pi.undrag=function(){for(var le=Ci.length;le--;)Ci[le].el==this&&(this.unmousedown(Ci[le].start),Ci.splice(le,1),y.unbind("raphael.drag.*."+this.id));!Ci.length&&E.unmousemove(Di).unmouseup(ni),hi=[]},k.circle=function(le,we,$e){var je=E._engine.circle(this,le||0,we||0,$e||0);return this.__set__&&this.__set__.push(je),je},k.rect=function(le,we,$e,je,Ge){var st=E._engine.rect(this,le||0,we||0,$e||0,je||0,Ge||0);return this.__set__&&this.__set__.push(st),st},k.ellipse=function(le,we,$e,je){var Ge=E._engine.ellipse(this,le||0,we||0,$e||0,je||0);return this.__set__&&this.__set__.push(Ge),Ge},k.path=function(le){le&&!E.is(le,"string")&&!E.is(le[0],b)&&(le+=ie);var we=E._engine.path(E.format[N](E,arguments),this);return this.__set__&&this.__set__.push(we),we},k.image=function(le,we,$e,je,Ge){var st=E._engine.image(this,le||"about:blank",we||0,$e||0,je||0,Ge||0);return this.__set__&&this.__set__.push(st),st},k.text=function(le,we,$e){var je=E._engine.text(this,le||0,we||0,Q($e));return this.__set__&&this.__set__.push(je),je},k.set=function(le){!E.is(le,"array")&&(le=Array.prototype.splice.call(arguments,0,arguments.length));var we=new er(le);return this.__set__&&this.__set__.push(we),we.paper=this,we.type="set",we},k.setStart=function(le){this.__set__=le||this.set()},k.setFinish=function(le){var we=this.__set__;return delete this.__set__,we},k.getSize=function(){var le=this.canvas.parentNode;return{width:le.offsetWidth,height:le.offsetHeight}},k.setSize=function(le,we){return E._engine.setSize.call(this,le,we)},k.setViewBox=function(le,we,$e,je,Ge){return E._engine.setViewBox.call(this,le,we,$e,je,Ge)},k.top=k.bottom=null,k.raphael=E;function zi(){return this.x+ue+this.y+ue+this.width+" × "+this.height}k.getElementByPoint=function(le,we){var $e,je,Ge,st,xe,Ee,Ie,Xe=this.canvas,xt=B.doc.elementFromPoint(le,we);if(B.win.opera&&xt.tagName=="svg"){var Lt=(je=($e=Xe).getBoundingClientRect(),Ge=$e.ownerDocument,st=Ge.body,xe=Ge.documentElement,Ee=xe.clientTop||st.clientTop||0,Ie=xe.clientLeft||st.clientLeft||0,{y:je.top+(B.win.pageYOffset||xe.scrollTop||st.scrollTop)-Ee,x:je.left+(B.win.pageXOffset||xe.scrollLeft||st.scrollLeft)-Ie}),Ft=Xe.createSVGRect();Ft.x=le-Lt.x,Ft.y=we-Lt.y,Ft.width=Ft.height=1;var Ot=Xe.getIntersectionList(Ft,null);Ot.length&&(xt=Ot[Ot.length-1])}if(!xt)return null;for(;xt.parentNode&&xt!=Xe.parentNode&&!xt.raphael;)xt=xt.parentNode;return xt==this.canvas.parentNode&&(xt=Xe),xt=xt&&xt.raphael?this.getById(xt.raphaelid):null},k.getElementsByBBox=function(le){var we=this.set();return this.forEach(function($e){E.isBBoxIntersect($e.getBBox(),le)&&we.push($e)}),we},k.getById=function(le){for(var we=this.bottom;we;){if(we.id==le)return we;we=we.next}return null},k.forEach=function(le,we){for(var $e=this.bottom;$e;){if(le.call(we,$e)===!1)return this;$e=$e.next}return this},k.getElementsByPoint=function(le,we){var $e=this.set();return this.forEach(function(je){je.isPointInside(le,we)&&$e.push(je)}),$e},pi.isPointInside=function(le,we){var $e=this.realPath=rt[this.type](this);return this.attr("transform")&&this.attr("transform").length&&($e=E.transformPath($e,this.attr("transform"))),E.isPointInsidePath($e,le,we)},pi.getBBox=function(le){if(this.removed)return{};var we=this._;return le?(!we.dirty&&we.bboxwt||(this.realPath=rt[this.type](this),we.bboxwt=Ne(this.realPath),we.bboxwt.toString=zi,we.dirty=0),we.bboxwt):((we.dirty||we.dirtyT||!we.bbox)&&(!we.dirty&&this.realPath||(we.bboxwt=0,this.realPath=rt[this.type](this)),we.bbox=Ne(ht(this.realPath,this.matrix)),we.bbox.toString=zi,we.dirty=we.dirtyT=0),we.bbox)},pi.clone=function(){if(this.removed)return null;var le=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(le),le},pi.glow=function(le){if(this.type=="text")return null;var we={width:((le=le||{}).width||10)+(+this.attr("stroke-width")||1),fill:le.fill||!1,opacity:le.opacity==null?.5:le.opacity,offsetx:le.offsetx||0,offsety:le.offsety||0,color:le.color||"#000"},$e=we.width/2,je=this.paper,Ge=je.set(),st=this.realPath||rt[this.type](this);st=this.matrix?ht(st,this.matrix):st;for(var xe=1;xe<$e+1;xe++)Ge.push(je.path(st).attr({stroke:we.color,fill:we.fill?we.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(we.width/$e*xe).toFixed(3),opacity:+(we.opacity/$e).toFixed(3)}));return Ge.insertBefore(this).translate(we.offsetx,we.offsety)};var qi=function(le,we,$e,je,Ge,st,xe,Ee,Ie){return Ie==null?At(le,we,$e,je,Ge,st,xe,Ee):E.findDotsAtSegment(le,we,$e,je,Ge,st,xe,Ee,function(Xe,xt,Lt,Ft,Ot,si,yi,vi,li){if(!(li<0||At(Xe,xt,Lt,Ft,Ot,si,yi,vi)<li)){var Vi,Ei=.5,$i=1-Ei;for(Vi=At(Xe,xt,Lt,Ft,Ot,si,yi,vi,$i);c(Vi-li)>.01;)Vi=At(Xe,xt,Lt,Ft,Ot,si,yi,vi,$i+=(Vi<li?1:-1)*(Ei/=2));return $i}}(le,we,$e,je,Ge,st,xe,Ee,Ie))},Ai=function(le,we){return function($e,je,Ge){for(var st,xe,Ee,Ie,Xe,xt="",Lt={},Ft=0,Ot=0,si=($e=Xt($e)).length;Ot<si;Ot++){if((Ee=$e[Ot])[0]=="M")st=+Ee[1],xe=+Ee[2];else{if(Ft+(Ie=qi(st,xe,Ee[1],Ee[2],Ee[3],Ee[4],Ee[5],Ee[6]))>je){if(we&&!Lt.start){if(xt+=["C"+(Xe=qi(st,xe,Ee[1],Ee[2],Ee[3],Ee[4],Ee[5],Ee[6],je-Ft)).start.x,Xe.start.y,Xe.m.x,Xe.m.y,Xe.x,Xe.y],Ge)return xt;Lt.start=xt,xt=["M"+Xe.x,Xe.y+"C"+Xe.n.x,Xe.n.y,Xe.end.x,Xe.end.y,Ee[5],Ee[6]].join(),Ft+=Ie,st=+Ee[5],xe=+Ee[6];continue}if(!le&&!we)return{x:(Xe=qi(st,xe,Ee[1],Ee[2],Ee[3],Ee[4],Ee[5],Ee[6],je-Ft)).x,y:Xe.y,alpha:Xe.alpha}}Ft+=Ie,st=+Ee[5],xe=+Ee[6]}xt+=Ee.shift()+Ee}return Lt.end=xt,(Xe=le?Ft:we?Lt:E.findDotsAtSegment(st,xe,Ee[0],Ee[1],Ee[2],Ee[3],Ee[4],Ee[5],1)).alpha&&(Xe={x:Xe.x,y:Xe.y,alpha:Xe.alpha}),Xe}},ji=Ai(1),ki=Ai(),Ti=Ai(0,1);E.getTotalLength=ji,E.getPointAtLength=ki,E.getSubpath=function(le,we,$e){if(this.getTotalLength(le)-$e<1e-6)return Ti(le,we).end;var je=Ti(le,$e,1);return we?Ti(je,we).end:je},pi.getTotalLength=function(){var le=this.getPath();if(le)return this.node.getTotalLength?this.node.getTotalLength():ji(le)},pi.getPointAtLength=function(le){var we=this.getPath();if(we)return ki(we,le)},pi.getPath=function(){var le,we=E._getPath[this.type];if(this.type!="text"&&this.type!="set")return we&&(le=we(this)),le},pi.getSubpath=function(le,we){var $e=this.getPath();if($e)return E.getSubpath($e,le,we)};var wi=E.easing_formulas={linear:function(le){return le},"<":function(le){return p(le,1.7)},">":function(le){return p(le,.48)},"<>":function(le){var we=.48-le/1.04,$e=d.sqrt(.1734+we*we),je=$e-we,Ge=-$e-we,st=p(c(je),1/3)*(je<0?-1:1)+p(c(Ge),1/3)*(Ge<0?-1:1)+.5;return 3*(1-st)*st*st+st*st*st},backIn:function(le){var we=1.70158;return le*le*((we+1)*le-we)},backOut:function(le){var we=1.70158;return(le-=1)*le*((we+1)*le+we)+1},elastic:function(le){return le==!!le?le:p(2,-10*le)*d.sin(2*x*(le-.075)/.3)+1},bounce:function(le){var we=7.5625,$e=2.75;return le<1/$e?we*le*le:le<2/$e?we*(le-=1.5/$e)*le+.75:le<2.5/$e?we*(le-=2.25/$e)*le+.9375:we*(le-=2.625/$e)*le+.984375}};wi.easeIn=wi["ease-in"]=wi["<"],wi.easeOut=wi["ease-out"]=wi[">"],wi.easeInOut=wi["ease-in-out"]=wi["<>"],wi["back-in"]=wi.backIn,wi["back-out"]=wi.backOut;var oi=[],zt=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(le){setTimeout(le,16)},Qt=function(){for(var le=+new Date,we=0;we<oi.length;we++){var $e=oi[we];if(!$e.el.removed&&!$e.paused){var je,Ge,st=le-$e.start,xe=$e.ms,Ee=$e.easing,Ie=$e.from,Xe=$e.diff,xt=$e.to,Lt=($e.t,$e.el),Ft={},Ot={};if($e.initstatus?(st=($e.initstatus*$e.anim.top-$e.prev)/($e.percent-$e.prev)*xe,$e.status=$e.initstatus,delete $e.initstatus,$e.stop&&oi.splice(we--,1)):$e.status=($e.prev+($e.percent-$e.prev)*(st/xe))/$e.anim.top,!(st<0))if(st<xe){var si=Ee(st/xe);for(var yi in Ie)if(Ie[R](yi)){switch(ne[yi]){case S:je=+Ie[yi]+si*xe*Xe[yi];break;case"colour":je="rgb("+[Si(V(Ie[yi].r+si*xe*Xe[yi].r)),Si(V(Ie[yi].g+si*xe*Xe[yi].g)),Si(V(Ie[yi].b+si*xe*Xe[yi].b))].join(",")+")";break;case"path":je=[];for(var vi=0,li=Ie[yi].length;vi<li;vi++){je[vi]=[Ie[yi][vi][0]];for(var Vi=1,Ei=Ie[yi][vi].length;Vi<Ei;Vi++)je[vi][Vi]=+Ie[yi][vi][Vi]+si*xe*Xe[yi][vi][Vi];je[vi]=je[vi].join(ue)}je=je.join(ue);break;case"transform":if(Xe[yi].real)for(je=[],vi=0,li=Ie[yi].length;vi<li;vi++)for(je[vi]=[Ie[yi][vi][0]],Vi=1,Ei=Ie[yi][vi].length;Vi<Ei;Vi++)je[vi][Vi]=Ie[yi][vi][Vi]+si*xe*Xe[yi][vi][Vi];else{var $i=function(ir){return+Ie[yi][ir]+si*xe*Xe[yi][ir]};je=[["m",$i(0),$i(1),$i(2),$i(3),$i(4),$i(5)]]}break;case"csv":if(yi=="clip-rect")for(je=[],vi=4;vi--;)je[vi]=+Ie[yi][vi]+si*xe*Xe[yi][vi];break;default:var xi=[][Y](Ie[yi]);for(je=[],vi=Lt.paper.customAttributes[yi].length;vi--;)je[vi]=+xi[vi]+si*xe*Xe[yi][vi]}Ft[yi]=je}Lt.attr(Ft),function(ir,Ji,ur){setTimeout(function(){y("raphael.anim.frame."+ir,Ji,ur)})}(Lt.id,Lt,$e.anim)}else{if(function(ir,Ji,ur){setTimeout(function(){y("raphael.anim.frame."+Ji.id,Ji,ur),y("raphael.anim.finish."+Ji.id,Ji,ur),E.is(ir,"function")&&ir.call(Ji)})}($e.callback,Lt,$e.anim),Lt.attr(xt),oi.splice(we--,1),$e.repeat>1&&!$e.next){for(Ge in xt)xt[R](Ge)&&(Ot[Ge]=$e.totalOrigin[Ge]);$e.el.attr(Ot),gi($e.anim,$e.el,$e.anim.percents[0],null,$e.totalOrigin,$e.repeat-1)}$e.next&&!$e.stop&&gi($e.anim,$e.el,$e.next,null,$e.totalOrigin,$e.repeat)}}}oi.length&&zt(Qt)},Si=function(le){return le>255?255:le<0?0:le};function mi(le,we,$e,je,Ge,st){var xe=3*we,Ee=3*(je-we)-xe,Ie=1-xe-Ee,Xe=3*$e,xt=3*(Ge-$e)-Xe,Lt=1-Xe-xt;function Ft(Ot){return((Ie*Ot+Ee)*Ot+xe)*Ot}return function(Ot,si){var yi=function(vi,li){var Vi,Ei,$i,xi,ir,Ji;for($i=vi,Ji=0;Ji<8;Ji++){if(xi=Ft($i)-vi,c(xi)<li)return $i;if(c(ir=(3*Ie*$i+2*Ee)*$i+xe)<1e-6)break;$i-=xi/ir}if(Ei=1,($i=vi)<(Vi=0))return Vi;if($i>Ei)return Ei;for(;Vi<Ei;){if(xi=Ft($i),c(xi-vi)<li)return $i;vi>xi?Vi=$i:Ei=$i,$i=(Ei-Vi)/2+Vi}return $i}(Ot,si);return((Lt*yi+xt)*yi+Xe)*yi}(le,1/(200*st))}function ai(le,we){var $e=[],je={};if(this.ms=we,this.times=1,le){for(var Ge in le)le[R](Ge)&&(je[ee(Ge)]=le[Ge],$e.push(ee(Ge)));$e.sort(Ct)}this.anim=je,this.top=$e[$e.length-1],this.percents=$e}function gi(le,we,$e,je,Ge,st){$e=ee($e);var xe,Ee,Ie,Xe,xt,Lt,Ft=le.ms,Ot={},si={},yi={};if(je)for(li=0,Vi=oi.length;li<Vi;li++){var vi=oi[li];if(vi.el.id==we.id&&vi.anim==le){vi.percent!=$e?(oi.splice(li,1),Ie=1):Ee=vi,we.attr(vi.totalOrigin);break}}else je=+si;for(var li=0,Vi=le.percents.length;li<Vi;li++){if(le.percents[li]==$e||le.percents[li]>je*le.top){$e=le.percents[li],xt=le.percents[li-1]||0,Ft=Ft/le.top*($e-xt),Xe=le.percents[li+1],xe=le.anim[$e];break}je&&we.attr(le.anim[le.percents[li]])}if(xe){if(Ee)Ee.initstatus=je,Ee.start=new Date-Ee.ms*je;else{for(var Ei in xe)if(xe[R](Ei)&&(ne[R](Ei)||we.paper.customAttributes[R](Ei)))switch(Ot[Ei]=we.attr(Ei),Ot[Ei]==null&&(Ot[Ei]=z[Ei]),si[Ei]=xe[Ei],ne[Ei]){case S:yi[Ei]=(si[Ei]-Ot[Ei])/Ft;break;case"colour":Ot[Ei]=E.getRGB(Ot[Ei]);var $i=E.getRGB(si[Ei]);yi[Ei]={r:($i.r-Ot[Ei].r)/Ft,g:($i.g-Ot[Ei].g)/Ft,b:($i.b-Ot[Ei].b)/Ft};break;case"path":var xi=Xt(Ot[Ei],si[Ei]),ir=xi[1];for(Ot[Ei]=xi[0],yi[Ei]=[],li=0,Vi=Ot[Ei].length;li<Vi;li++){yi[Ei][li]=[0];for(var Ji=1,ur=Ot[Ei][li].length;Ji<ur;Ji++)yi[Ei][li][Ji]=(ir[li][Ji]-Ot[Ei][li][Ji])/Ft}break;case"transform":var zn=we._,Un=Ae(zn[Ei],si[Ei]);if(Un)for(Ot[Ei]=Un.from,si[Ei]=Un.to,yi[Ei]=[],yi[Ei].real=!0,li=0,Vi=Ot[Ei].length;li<Vi;li++)for(yi[Ei][li]=[Ot[Ei][li][0]],Ji=1,ur=Ot[Ei][li].length;Ji<ur;Ji++)yi[Ei][li][Ji]=(si[Ei][li][Ji]-Ot[Ei][li][Ji])/Ft;else{var _r=we.matrix||new qe,xr={_:{transform:zn.transform},getBBox:function(){return we.getBBox(1)}};Ot[Ei]=[_r.a,_r.b,_r.c,_r.d,_r.e,_r.f],ge(xr,si[Ei]),si[Ei]=xr._.transform,yi[Ei]=[(xr.matrix.a-_r.a)/Ft,(xr.matrix.b-_r.b)/Ft,(xr.matrix.c-_r.c)/Ft,(xr.matrix.d-_r.d)/Ft,(xr.matrix.e-_r.e)/Ft,(xr.matrix.f-_r.f)/Ft]}break;case"csv":var En=Q(xe[Ei])[ce](A),kn=Q(Ot[Ei])[ce](A);if(Ei=="clip-rect")for(Ot[Ei]=kn,yi[Ei]=[],li=kn.length;li--;)yi[Ei][li]=(En[li]-Ot[Ei][li])/Ft;si[Ei]=En;break;default:for(En=[][Y](xe[Ei]),kn=[][Y](Ot[Ei]),yi[Ei]=[],li=we.paper.customAttributes[Ei].length;li--;)yi[Ei][li]=((En[li]||0)-(kn[li]||0))/Ft}var ia=xe.easing,pn=E.easing_formulas[ia];if(!pn)if((pn=Q(ia).match(j))&&pn.length==5){var yn=pn;pn=function(ca){return mi(ca,+yn[1],+yn[2],+yn[3],+yn[4],Ft)}}else pn=nt;if(vi={anim:le,percent:$e,timestamp:Lt=xe.start||le.start||+new Date,start:Lt+(le.del||0),status:0,initstatus:je||0,stop:!1,ms:Ft,easing:pn,from:Ot,diff:yi,to:si,el:we,callback:xe.callback,prev:xt,next:Xe,repeat:st||le.times,origin:we.attr(),totalOrigin:Ge},oi.push(vi),je&&!Ee&&!Ie&&(vi.stop=!0,vi.start=new Date-Ft*je,oi.length==1))return Qt();Ie&&(vi.start=new Date-vi.ms*je),oi.length==1&&zt(Qt)}y("raphael.anim.start."+we.id,we,le)}}function Hi(le){for(var we=0;we<oi.length;we++)oi[we].el.paper==le&&oi.splice(we--,1)}pi.animateWith=function(le,we,$e,je,Ge,st){if(this.removed)return st&&st.call(this),this;var xe=$e instanceof ai?$e:E.animation($e,je,Ge,st);gi(xe,this,xe.percents[0],null,this.attr());for(var Ee=0,Ie=oi.length;Ee<Ie;Ee++)if(oi[Ee].anim==we&&oi[Ee].el==le){oi[Ie-1].start=oi[Ee].start;break}return this},pi.onAnimation=function(le){return le?y.on("raphael.anim.frame."+this.id,le):y.unbind("raphael.anim.frame."+this.id),this},ai.prototype.delay=function(le){var we=new ai(this.anim,this.ms);return we.times=this.times,we.del=+le||0,we},ai.prototype.repeat=function(le){var we=new ai(this.anim,this.ms);return we.del=this.del,we.times=d.floor(v(le,0))||1,we},E.animation=function(le,we,$e,je){if(le instanceof ai)return le;!E.is($e,"function")&&$e||(je=je||$e||null,$e=null),le=Object(le),we=+we||0;var Ge,st,xe={};for(st in le)le[R](st)&&ee(st)!=st&&ee(st)+"%"!=st&&(Ge=!0,xe[st]=le[st]);if(Ge)return $e&&(xe.easing=$e),je&&(xe.callback=je),new ai({100:xe},we);if(je){var Ee=0;for(var Ie in le){var Xe=Z(Ie);le[R](Ie)&&Xe>Ee&&(Ee=Xe)}!le[Ee+="%"].callback&&(le[Ee].callback=je)}return new ai(le,we)},pi.animate=function(le,we,$e,je){if(this.removed)return je&&je.call(this),this;var Ge=le instanceof ai?le:E.animation(le,we,$e,je);return gi(Ge,this,Ge.percents[0],null,this.attr()),this},pi.setTime=function(le,we){return le&&we!=null&&this.status(le,w(we,le.ms)/le.ms),this},pi.status=function(le,we){var $e,je,Ge=[],st=0;if(we!=null)return gi(le,this,-1,w(we,1)),this;for($e=oi.length;st<$e;st++)if((je=oi[st]).el.id==this.id&&(!le||je.anim==le)){if(le)return je.status;Ge.push({anim:je.anim,status:je.status})}return le?0:Ge},pi.pause=function(le){for(var we=0;we<oi.length;we++)oi[we].el.id!=this.id||le&&oi[we].anim!=le||y("raphael.anim.pause."+this.id,this,oi[we].anim)!==!1&&(oi[we].paused=!0);return this},pi.resume=function(le){for(var we=0;we<oi.length;we++)if(oi[we].el.id==this.id&&(!le||oi[we].anim==le)){var $e=oi[we];y("raphael.anim.resume."+this.id,this,$e.anim)!==!1&&(delete $e.paused,this.status($e.anim,$e.status))}return this},pi.stop=function(le){for(var we=0;we<oi.length;we++)oi[we].el.id!=this.id||le&&oi[we].anim!=le||y("raphael.anim.stop."+this.id,this,oi[we].anim)!==!1&&oi.splice(we--,1);return this},y.on("raphael.remove",Hi),y.on("raphael.clear",Hi),pi.toString=function(){return"Raphaël’s object"};var or,nr,Gi,Mt,er=function(le){if(this.items=[],this.length=0,this.type="set",le)for(var we=0,$e=le.length;we<$e;we++)!le[we]||le[we].constructor!=pi.constructor&&le[we].constructor!=er||(this[this.items.length]=this.items[this.items.length]=le[we],this.length++)},tr=er.prototype;for(var br in tr.push=function(){for(var le,we,$e=0,je=arguments.length;$e<je;$e++)!(le=arguments[$e])||le.constructor!=pi.constructor&&le.constructor!=er||(this[we=this.items.length]=this.items[we]=le,this.length++);return this},tr.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},tr.forEach=function(le,we){for(var $e=0,je=this.items.length;$e<je;$e++)if(le.call(we,this.items[$e],$e)===!1)return this;return this},pi)pi[R](br)&&(tr[br]=function(le){return function(){var we=arguments;return this.forEach(function($e){$e[le][N]($e,we)})}}(br));return tr.attr=function(le,we){if(le&&E.is(le,b)&&E.is(le[0],"object"))for(var $e=0,je=le.length;$e<je;$e++)this.items[$e].attr(le[$e]);else for(var Ge=0,st=this.items.length;Ge<st;Ge++)this.items[Ge].attr(le,we);return this},tr.clear=function(){for(;this.length;)this.pop()},tr.splice=function(le,we,$e){le=le<0?v(this.length+le,0):le,we=v(0,w(this.length-le,we));var je,Ge=[],st=[],xe=[];for(je=2;je<arguments.length;je++)xe.push(arguments[je]);for(je=0;je<we;je++)st.push(this[le+je]);for(;je<this.length-le;je++)Ge.push(this[le+je]);var Ee=xe.length;for(je=0;je<Ee+Ge.length;je++)this.items[le+je]=this[le+je]=je<Ee?xe[je]:Ge[je-Ee];for(je=this.items.length=this.length-=we-Ee;this[je];)delete this[je++];return new er(st)},tr.exclude=function(le){for(var we=0,$e=this.length;we<$e;we++)if(this[we]==le)return this.splice(we,1),!0},tr.animate=function(le,we,$e,je){(E.is($e,"function")||!$e)&&(je=$e||null);var Ge,st,xe=this.items.length,Ee=xe,Ie=this;if(!xe)return this;je&&(st=function(){!--xe&&je.call(Ie)}),$e=E.is($e,"string")?$e:st;var Xe=E.animation(le,we,$e,st);for(Ge=this.items[--Ee].animate(Xe);Ee--;)this.items[Ee]&&!this.items[Ee].removed&&this.items[Ee].animateWith(Ge,Xe,Xe),this.items[Ee]&&!this.items[Ee].removed||xe--;return this},tr.insertAfter=function(le){for(var we=this.items.length;we--;)this.items[we].insertAfter(le);return this},tr.getBBox=function(){for(var le=[],we=[],$e=[],je=[],Ge=this.items.length;Ge--;)if(!this.items[Ge].removed){var st=this.items[Ge].getBBox();le.push(st.x),we.push(st.y),$e.push(st.x+st.width),je.push(st.y+st.height)}return{x:le=w[N](0,le),y:we=w[N](0,we),x2:$e=v[N](0,$e),y2:je=v[N](0,je),width:$e-le,height:je-we}},tr.clone=function(le){le=this.paper.set();for(var we=0,$e=this.items.length;we<$e;we++)le.push(this.items[we].clone());return le},tr.toString=function(){return"Raphaël‘s set"},tr.glow=function(le){var we=this.paper.set();return this.forEach(function($e,je){var Ge=$e.glow(le);Ge!=null&&Ge.forEach(function(st,xe){we.push(st)})}),we},tr.isPointInside=function(le,we){var $e=!1;return this.forEach(function(je){if(je.isPointInside(le,we))return $e=!0,!1}),$e},E.registerFont=function(le){if(!le.face)return le;this.fonts=this.fonts||{};var we={w:le.w,face:{},glyphs:{}},$e=le.face["font-family"];for(var je in le.face)le.face[R](je)&&(we.face[je]=le.face[je]);if(this.fonts[$e]?this.fonts[$e].push(we):this.fonts[$e]=[we],!le.svg){for(var Ge in we.face["units-per-em"]=Z(le.face["units-per-em"],10),le.glyphs)if(le.glyphs[R](Ge)){var st=le.glyphs[Ge];if(we.glyphs[Ge]={w:st.w,k:{},d:st.d&&"M"+st.d.replace(/[mlcxtrv]/g,function(Ee){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[Ee]||"M"})+"z"},st.k)for(var xe in st.k)st[R](xe)&&(we.glyphs[Ge].k[xe]=st.k[xe])}}return le},k.getFont=function(le,we,$e,je){if(je=je||"normal",$e=$e||"normal",we=+we||{normal:400,bold:700,lighter:300,bolder:800}[we]||400,E.fonts){var Ge,st=E.fonts[le];if(!st){var xe=new RegExp("(^|\\s)"+le.replace(/[^\w\d\s+!~.:_-]/g,ie)+"(\\s|$)","i");for(var Ee in E.fonts)if(E.fonts[R](Ee)&&xe.test(Ee)){st=E.fonts[Ee];break}}if(st)for(var Ie=0,Xe=st.length;Ie<Xe&&((Ge=st[Ie]).face["font-weight"]!=we||Ge.face["font-style"]!=$e&&Ge.face["font-style"]||Ge.face["font-stretch"]!=je);Ie++);return Ge}},k.print=function(le,we,$e,je,Ge,st,xe,Ee){st=st||"middle",xe=v(w(xe||0,1),-1),Ee=v(w(Ee||1,3),1);var Ie,Xe=Q($e)[ce](ie),xt=0,Lt=0,Ft=ie;if(E.is(je,"string")&&(je=this.getFont(je)),je){Ie=(Ge||16)/je.face["units-per-em"];for(var Ot=je.face.bbox[ce](A),si=+Ot[0],yi=Ot[3]-Ot[1],vi=0,li=+Ot[1]+(st=="baseline"?yi+ +je.face.descent:yi/2),Vi=0,Ei=Xe.length;Vi<Ei;Vi++){if(Xe[Vi]==`
-`)xt=0,xi=0,Lt=0,vi+=yi*Ee;else{var $i=Lt&&je.glyphs[Xe[Vi-1]]||{},xi=je.glyphs[Xe[Vi]];xt+=Lt?($i.w||je.w)+($i.k&&$i.k[Xe[Vi]]||0)+je.w*xe:0,Lt=1}xi&&xi.d&&(Ft+=E.transformPath(xi.d,["t",xt*Ie,vi*Ie,"s",Ie,Ie,si,li,"t",(le-si)/Ie,(we-li)/Ie]))}}return this.path(Ft).attr({fill:"#000",stroke:"none"})},k.add=function(le){if(E.is(le,"array"))for(var we,$e=this.set(),je=0,Ge=le.length;je<Ge;je++)we=le[je]||{},D[R](we.type)&&$e.push(this[we.type]().attr(we));return $e},E.format=function(le,we){var $e=E.is(we,b)?[0][Y](we):arguments;return le&&E.is(le,"string")&&$e.length-1&&(le=le.replace(P,function(je,Ge){return $e[++Ge]==null?ie:$e[Ge]})),le||ie},E.fullfill=(or=/\{([^\}]+)\}/g,nr=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(le,we){return String(le).replace(or,function($e,je){return function(Ge,st,xe){var Ee=xe;return st.replace(nr,function(Ie,Xe,xt,Lt,Ft){Xe=Xe||Lt,Ee&&(Xe in Ee&&(Ee=Ee[Xe]),typeof Ee=="function"&&Ft&&(Ee=Ee()))}),Ee=(Ee==null||Ee==xe?Ge:Ee)+""}($e,je,we)})}),E.ninja=function(){if(F.was)B.win.Raphael=F.is;else{window.Raphael=void 0;try{delete window.Raphael}catch{}}return E},E.st=tr,y.on("raphael.DOMload",function(){C=!0}),(Gi=document).readyState==null&&Gi.addEventListener&&(Gi.addEventListener("DOMContentLoaded",Mt=function(){Gi.removeEventListener("DOMContentLoaded",Mt,!1),Gi.readyState="complete"},!1),Gi.readyState="loading"),function le(){/in/.test(Gi.readyState)?setTimeout(le,9):E.eve("raphael.DOMload")}(),E}).apply(o,l))===void 0||(n.exports=m)},function(n,o,u){var l,m;l=[u(0),u(3),u(4)],(m=(function(y){return y}).apply(o,l))===void 0||(n.exports=m)},function(n,o,u){var l,m,y,E,C,k,A,D,P,R,B,F,O,N;E="hasOwnProperty",C=/[\.\/]/,k=/\s*,\s*/,A=function(Y,J){return Y-J},D={n:{}},P=function(){for(var Y=0,J=this.length;Y<J;Y++)if(this[Y]!==void 0)return this[Y]},R=function(){for(var Y=this.length;--Y;)if(this[Y]!==void 0)return this[Y]},B=Object.prototype.toString,F=String,O=Array.isArray||function(Y){return Y instanceof Array||B.call(Y)=="[object Array]"},(N=function(Y,J){var ie,ue=y,Q=Array.prototype.slice.call(arguments,2),ce=N.listeners(Y),he=0,ke=[],L={},d=[],v=m;d.firstDefined=P,d.lastDefined=R,m=Y,y=0;for(var w=0,c=ce.length;w<c;w++)"zIndex"in ce[w]&&(ke.push(ce[w].zIndex),ce[w].zIndex<0&&(L[ce[w].zIndex]=ce[w]));for(ke.sort(A);ke[he]<0;)if(ie=L[ke[he++]],d.push(ie.apply(J,Q)),y)return y=ue,d;for(w=0;w<c;w++)if("zIndex"in(ie=ce[w]))if(ie.zIndex==ke[he]){if(d.push(ie.apply(J,Q)),y)break;do if((ie=L[ke[++he]])&&d.push(ie.apply(J,Q)),y)break;while(ie)}else L[ie.zIndex]=ie;else if(d.push(ie.apply(J,Q)),y)break;return y=ue,m=v,d})._events=D,N.listeners=function(Y){var J,ie,ue,Q,ce,he,ke,L,d=O(Y)?Y:Y.split(C),v=D,w=[v],c=[];for(Q=0,ce=d.length;Q<ce;Q++){for(L=[],he=0,ke=w.length;he<ke;he++)for(ie=[(v=w[he].n)[d[Q]],v["*"]],ue=2;ue--;)(J=ie[ue])&&(L.push(J),c=c.concat(J.f||[]));w=L}return c},N.separator=function(Y){Y?(Y="["+(Y=F(Y).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",C=new RegExp(Y)):C=/[\.\/]/},N.on=function(Y,J){if(typeof J!="function")return function(){};for(var ie=O(Y)?O(Y[0])?Y:[Y]:F(Y).split(k),ue=0,Q=ie.length;ue<Q;ue++)(function(ce){for(var he,ke=O(ce)?ce:F(ce).split(C),L=D,d=0,v=ke.length;d<v;d++)L=(L=L.n).hasOwnProperty(ke[d])&&L[ke[d]]||(L[ke[d]]={n:{}});for(L.f=L.f||[],d=0,v=L.f.length;d<v;d++)if(L.f[d]==J){he=!0;break}!he&&L.f.push(J)})(ie[ue]);return function(ce){+ce==+ce&&(J.zIndex=+ce)}},N.f=function(Y){var J=[].slice.call(arguments,1);return function(){N.apply(null,[Y,null].concat(J).concat([].slice.call(arguments,0)))}},N.stop=function(){y=1},N.nt=function(Y){var J=O(m)?m.join("."):m;return Y?new RegExp("(?:\\.|\\/|^)"+Y+"(?:\\.|\\/|$)").test(J):J},N.nts=function(){return O(m)?m:m.split(C)},N.off=N.unbind=function(Y,J){if(Y){var ie=O(Y)?O(Y[0])?Y:[Y]:F(Y).split(k);if(ie.length>1)for(var ue=0,Q=ie.length;ue<Q;ue++)N.off(ie[ue],J);else{ie=O(Y)?Y:F(Y).split(C);var ce,he,ke,L,d,v=[D];for(ue=0,Q=ie.length;ue<Q;ue++)for(L=0;L<v.length;L+=ke.length-2){if(ke=[L,1],ce=v[L].n,ie[ue]!="*")ce[ie[ue]]&&ke.push(ce[ie[ue]]);else for(he in ce)ce[E](he)&&ke.push(ce[he]);v.splice.apply(v,ke)}for(ue=0,Q=v.length;ue<Q;ue++)for(ce=v[ue];ce.n;){if(J){if(ce.f){for(L=0,d=ce.f.length;L<d;L++)if(ce.f[L]==J){ce.f.splice(L,1);break}!ce.f.length&&delete ce.f}for(he in ce.n)if(ce.n[E](he)&&ce.n[he].f){var w=ce.n[he].f;for(L=0,d=w.length;L<d;L++)if(w[L]==J){w.splice(L,1);break}!w.length&&delete ce.n[he].f}}else for(he in delete ce.f,ce.n)ce.n[E](he)&&ce.n[he].f&&delete ce.n[he].f;ce=ce.n}}}else N._events=D={n:{}}},N.once=function(Y,J){var ie=function(){return N.off(Y,ie),J.apply(this,arguments)};return N.on(Y,ie)},N.version="0.5.0",N.toString=function(){return"You are running Eve 0.5.0"},n.exports?n.exports=N:(l=(function(){return N}).apply(o,[]))===void 0||(n.exports=l)},function(n,o,u){var l,m;l=[u(0)],(m=(function(y){if(!y||y.svg){var E="hasOwnProperty",C=String,k=parseFloat,A=parseInt,D=Math,P=D.max,R=D.abs,B=D.pow,F=/[, ]+/,O=y.eve,N="",Y=" ",J="http://www.w3.org/1999/xlink",ie={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},ue={};y.toString=function(){return`Your browser supports SVG.
-You are running Raphaël `+this.version};var Q=function(T,M){if(M)for(var j in typeof T=="string"&&(T=Q(T)),M)M[E](j)&&(j.substring(0,6)=="xlink:"?T.setAttributeNS(J,j.substring(6),C(M[j])):T.setAttribute(j,C(M[j])));else(T=y._g.doc.createElementNS("http://www.w3.org/2000/svg",T)).style&&(T.style.webkitTapHighlightColor="rgba(0,0,0,0)");return T},ce=function(T,M){var j="linear",V=T.id+M,ee=.5,Z=.5,U=T.node,z=T.paper,ne=U.style,fe=y._g.doc.getElementById(V);if(!fe){if(M=(M=C(M).replace(y._radial_gradient,function(Ct,nt,Je){if(j="radial",nt&&Je){ee=k(nt);var tt=2*((Z=k(Je))>.5)-1;B(ee-.5,2)+B(Z-.5,2)>.25&&(Z=D.sqrt(.25-B(ee-.5,2))*tt+.5)&&Z!=.5&&(Z=Z.toFixed(5)-1e-5*tt)}return N})).split(/\s*\-\s*/),j=="linear"){var me=M.shift();if(me=-k(me),isNaN(me))return null;var de=[0,0,D.cos(y.rad(me)),D.sin(y.rad(me))],Oe=1/(P(R(de[2]),R(de[3]))||1);de[2]*=Oe,de[3]*=Oe,de[2]<0&&(de[0]=-de[2],de[2]=0),de[3]<0&&(de[1]=-de[3],de[3]=0)}var lt=y._parseDots(M);if(!lt)return null;if(V=V.replace(/[\(\)\s,\xb0#]/g,"_"),T.gradient&&V!=T.gradient.id&&(z.defs.removeChild(T.gradient),delete T.gradient),!T.gradient){fe=Q(j+"Gradient",{id:V}),T.gradient=fe,Q(fe,j=="radial"?{fx:ee,fy:Z}:{x1:de[0],y1:de[1],x2:de[2],y2:de[3],gradientTransform:T.matrix.invert()}),z.defs.appendChild(fe);for(var it=0,ot=lt.length;it<ot;it++)fe.appendChild(Q("stop",{offset:lt[it].offset?lt[it].offset:it?"100%":"0%","stop-color":lt[it].color||"#fff","stop-opacity":isFinite(lt[it].opacity)?lt[it].opacity:1}))}}return Q(U,{fill:he(V),opacity:1,"fill-opacity":1}),ne.fill=N,ne.opacity=1,ne.fillOpacity=1,1},he=function(T){if((M=document.documentMode)&&(M===9||M===10))return"url('#"+T+"')";var M,j=document.location;return"url('"+(j.protocol+"//"+j.host+j.pathname+j.search)+"#"+T+"')"},ke=function(T){var M=T.getBBox(1);Q(T.pattern,{patternTransform:T.matrix.invert()+" translate("+M.x+","+M.y+")"})},L=function(T,M,j){if(T.type=="path"){for(var V,ee,Z,U,z,ne=C(M).toLowerCase().split("-"),fe=T.paper,me=j?"end":"start",de=T.node,Oe=T.attrs,lt=Oe["stroke-width"],it=ne.length,ot="classic",Ct=3,nt=3,Je=5;it--;)switch(ne[it]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":ot=ne[it];break;case"wide":nt=5;break;case"narrow":nt=2;break;case"long":Ct=5;break;case"short":Ct=2}if(ot=="open"?(Ct+=2,nt+=2,Je+=2,Z=1,U=j?4:1,z={fill:"none",stroke:Oe.stroke}):(U=Z=Ct/2,z={fill:Oe.stroke,stroke:"none"}),T._.arrows?j?(T._.arrows.endPath&&ue[T._.arrows.endPath]--,T._.arrows.endMarker&&ue[T._.arrows.endMarker]--):(T._.arrows.startPath&&ue[T._.arrows.startPath]--,T._.arrows.startMarker&&ue[T._.arrows.startMarker]--):T._.arrows={},ot!="none"){var tt="raphael-marker-"+ot,rt="raphael-marker-"+me+ot+Ct+nt+"-obj"+T.id;y._g.doc.getElementById(tt)?ue[tt]++:(fe.defs.appendChild(Q(Q("path"),{"stroke-linecap":"round",d:ie[ot],id:tt})),ue[tt]=1);var ht,jt=y._g.doc.getElementById(rt);jt?(ue[rt]++,ht=jt.getElementsByTagName("use")[0]):(jt=Q(Q("marker"),{id:rt,markerHeight:nt,markerWidth:Ct,orient:"auto",refX:U,refY:nt/2}),ht=Q(Q("use"),{"xlink:href":"#"+tt,transform:(j?"rotate(180 "+Ct/2+" "+nt/2+") ":N)+"scale("+Ct/Je+","+nt/Je+")","stroke-width":(1/((Ct/Je+nt/Je)/2)).toFixed(4)}),jt.appendChild(ht),fe.defs.appendChild(jt),ue[rt]=1),Q(ht,z);var Ve=Z*(ot!="diamond"&&ot!="oval");j?(V=T._.arrows.startdx*lt||0,ee=y.getTotalLength(Oe.path)-Ve*lt):(V=Ve*lt,ee=y.getTotalLength(Oe.path)-(T._.arrows.enddx*lt||0)),(z={})["marker-"+me]="url(#"+rt+")",(ee||V)&&(z.d=y.getSubpath(Oe.path,V,ee)),Q(de,z),T._.arrows[me+"Path"]=tt,T._.arrows[me+"Marker"]=rt,T._.arrows[me+"dx"]=Ve,T._.arrows[me+"Type"]=ot,T._.arrows[me+"String"]=M}else j?(V=T._.arrows.startdx*lt||0,ee=y.getTotalLength(Oe.path)-V):(V=0,ee=y.getTotalLength(Oe.path)-(T._.arrows.enddx*lt||0)),T._.arrows[me+"Path"]&&Q(de,{d:y.getSubpath(Oe.path,V,ee)}),delete T._.arrows[me+"Path"],delete T._.arrows[me+"Marker"],delete T._.arrows[me+"dx"],delete T._.arrows[me+"Type"],delete T._.arrows[me+"String"];for(z in ue)if(ue[E](z)&&!ue[z]){var We=y._g.doc.getElementById(z);We&&We.parentNode.removeChild(We)}}},d={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},v=function(T,M,j){if(M=d[C(M).toLowerCase()]){for(var V=T.attrs["stroke-width"]||"1",ee={round:V,square:V,butt:0}[T.attrs["stroke-linecap"]||j["stroke-linecap"]]||0,Z=[],U=M.length;U--;)Z[U]=M[U]*V+(U%2?1:-1)*ee;Q(T.node,{"stroke-dasharray":Z.join(",")})}else Q(T.node,{"stroke-dasharray":"none"})},w=function(T,M){var j=T.node,V=T.attrs,ee=j.style.visibility;for(var Z in j.style.visibility="hidden",M)if(M[E](Z)){if(!y._availableAttrs[E](Z))continue;var U=M[Z];switch(V[Z]=U,Z){case"blur":T.blur(U);break;case"title":var z=j.getElementsByTagName("title");if(z.length&&(z=z[0]))z.firstChild.nodeValue=U;else{z=Q("title");var ne=y._g.doc.createTextNode(U);z.appendChild(ne),j.appendChild(z)}break;case"href":case"target":var fe=j.parentNode;if(fe.tagName.toLowerCase()!="a"){var me=Q("a");fe.insertBefore(me,j),me.appendChild(j),fe=me}Z=="target"?fe.setAttributeNS(J,"show",U=="blank"?"new":U):fe.setAttributeNS(J,Z,U);break;case"cursor":j.style.cursor=U;break;case"transform":T.transform(U);break;case"arrow-start":L(T,U);break;case"arrow-end":L(T,U,1);break;case"clip-rect":var de=C(U).split(F);if(de.length==4){T.clip&&T.clip.parentNode.parentNode.removeChild(T.clip.parentNode);var Oe=Q("clipPath"),lt=Q("rect");Oe.id=y.createUUID(),Q(lt,{x:de[0],y:de[1],width:de[2],height:de[3]}),Oe.appendChild(lt),T.paper.defs.appendChild(Oe),Q(j,{"clip-path":"url(#"+Oe.id+")"}),T.clip=lt}if(!U){var it=j.getAttribute("clip-path");if(it){var ot=y._g.doc.getElementById(it.replace(/(^url\(#|\)$)/g,N));ot&&ot.parentNode.removeChild(ot),Q(j,{"clip-path":N}),delete T.clip}}break;case"path":T.type=="path"&&(Q(j,{d:U?V.path=y._pathToAbsolute(U):"M0,0"}),T._.dirty=1,T._.arrows&&("startString"in T._.arrows&&L(T,T._.arrows.startString),"endString"in T._.arrows&&L(T,T._.arrows.endString,1)));break;case"width":if(j.setAttribute(Z,U),T._.dirty=1,!V.fx)break;Z="x",U=V.x;case"x":V.fx&&(U=-V.x-(V.width||0));case"rx":if(Z=="rx"&&T.type=="rect")break;case"cx":j.setAttribute(Z,U),T.pattern&&ke(T),T._.dirty=1;break;case"height":if(j.setAttribute(Z,U),T._.dirty=1,!V.fy)break;Z="y",U=V.y;case"y":V.fy&&(U=-V.y-(V.height||0));case"ry":if(Z=="ry"&&T.type=="rect")break;case"cy":j.setAttribute(Z,U),T.pattern&&ke(T),T._.dirty=1;break;case"r":T.type=="rect"?Q(j,{rx:U,ry:U}):j.setAttribute(Z,U),T._.dirty=1;break;case"src":T.type=="image"&&j.setAttributeNS(J,"href",U);break;case"stroke-width":T._.sx==1&&T._.sy==1||(U/=P(R(T._.sx),R(T._.sy))||1),j.setAttribute(Z,U),V["stroke-dasharray"]&&v(T,V["stroke-dasharray"],M),T._.arrows&&("startString"in T._.arrows&&L(T,T._.arrows.startString),"endString"in T._.arrows&&L(T,T._.arrows.endString,1));break;case"stroke-dasharray":v(T,U,M);break;case"fill":var Ct=C(U).match(y._ISURL);if(Ct){Oe=Q("pattern");var nt=Q("image");Oe.id=y.createUUID(),Q(Oe,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),Q(nt,{x:0,y:0,"xlink:href":Ct[1]}),Oe.appendChild(nt),function(jt){y._preload(Ct[1],function(){var Ve=this.offsetWidth,We=this.offsetHeight;Q(jt,{width:Ve,height:We}),Q(nt,{width:Ve,height:We})})}(Oe),T.paper.defs.appendChild(Oe),Q(j,{fill:"url(#"+Oe.id+")"}),T.pattern=Oe,T.pattern&&ke(T);break}var Je=y.getRGB(U);if(Je.error){if((T.type=="circle"||T.type=="ellipse"||C(U).charAt()!="r")&&ce(T,U)){if("opacity"in V||"fill-opacity"in V){var tt=y._g.doc.getElementById(j.getAttribute("fill").replace(/^url\(#|\)$/g,N));if(tt){var rt=tt.getElementsByTagName("stop");Q(rt[rt.length-1],{"stop-opacity":("opacity"in V?V.opacity:1)*("fill-opacity"in V?V["fill-opacity"]:1)})}}V.gradient=U,V.fill="none";break}}else delete M.gradient,delete V.gradient,!y.is(V.opacity,"undefined")&&y.is(M.opacity,"undefined")&&Q(j,{opacity:V.opacity}),!y.is(V["fill-opacity"],"undefined")&&y.is(M["fill-opacity"],"undefined")&&Q(j,{"fill-opacity":V["fill-opacity"]});Je[E]("opacity")&&Q(j,{"fill-opacity":Je.opacity>1?Je.opacity/100:Je.opacity});case"stroke":Je=y.getRGB(U),j.setAttribute(Z,Je.hex),Z=="stroke"&&Je[E]("opacity")&&Q(j,{"stroke-opacity":Je.opacity>1?Je.opacity/100:Je.opacity}),Z=="stroke"&&T._.arrows&&("startString"in T._.arrows&&L(T,T._.arrows.startString),"endString"in T._.arrows&&L(T,T._.arrows.endString,1));break;case"gradient":(T.type=="circle"||T.type=="ellipse"||C(U).charAt()!="r")&&ce(T,U);break;case"opacity":V.gradient&&!V[E]("stroke-opacity")&&Q(j,{"stroke-opacity":U>1?U/100:U});case"fill-opacity":if(V.gradient){(tt=y._g.doc.getElementById(j.getAttribute("fill").replace(/^url\(#|\)$/g,N)))&&(rt=tt.getElementsByTagName("stop"),Q(rt[rt.length-1],{"stop-opacity":U}));break}default:Z=="font-size"&&(U=A(U,10)+"px");var ht=Z.replace(/(\-.)/g,function(jt){return jt.substring(1).toUpperCase()});j.style[ht]=U,T._.dirty=1,j.setAttribute(Z,U)}}c(T,M),j.style.visibility=ee},c=function(T,M){if(T.type=="text"&&(M[E]("text")||M[E]("font")||M[E]("font-size")||M[E]("x")||M[E]("y"))){var j=T.attrs,V=T.node,ee=V.firstChild?A(y._g.doc.defaultView.getComputedStyle(V.firstChild,N).getPropertyValue("font-size"),10):10;if(M[E]("text")){for(j.text=M.text;V.firstChild;)V.removeChild(V.firstChild);for(var Z,U=C(M.text).split(`
-`),z=[],ne=0,fe=U.length;ne<fe;ne++)Z=Q("tspan"),ne&&Q(Z,{dy:1.2*ee,x:j.x}),Z.appendChild(y._g.doc.createTextNode(U[ne])),V.appendChild(Z),z[ne]=Z}else for(ne=0,fe=(z=V.getElementsByTagName("tspan")).length;ne<fe;ne++)ne?Q(z[ne],{dy:1.2*ee,x:j.x}):Q(z[0],{dy:0});Q(V,{x:j.x,y:j.y}),T._.dirty=1;var me=T._getBBox(),de=j.y-(me.y+me.height/2);de&&y.is(de,"finite")&&Q(z[0],{dy:de})}},p=function(T){return T.parentNode&&T.parentNode.tagName.toLowerCase()==="a"?T.parentNode:T},x=function(T,M){this[0]=this.node=T,T.raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)<<0).toString(36)).slice(-5),T.raphaelid=this.id,this.matrix=y.matrix(),this.realPath=null,this.paper=M,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!M.bottom&&(M.bottom=this),this.prev=M.top,M.top&&(M.top.next=this),M.top=this,this.next=null},S=y.el;x.prototype=S,S.constructor=x,y._engine.path=function(T,M){var j=Q("path");M.canvas&&M.canvas.appendChild(j);var V=new x(j,M);return V.type="path",w(V,{fill:"none",stroke:"#000",path:T}),V},S.rotate=function(T,M,j){if(this.removed)return this;if((T=C(T).split(F)).length-1&&(M=k(T[1]),j=k(T[2])),T=k(T[0]),j==null&&(M=j),M==null||j==null){var V=this.getBBox(1);M=V.x+V.width/2,j=V.y+V.height/2}return this.transform(this._.transform.concat([["r",T,M,j]])),this},S.scale=function(T,M,j,V){if(this.removed)return this;if((T=C(T).split(F)).length-1&&(M=k(T[1]),j=k(T[2]),V=k(T[3])),T=k(T[0]),M==null&&(M=T),V==null&&(j=V),j==null||V==null)var ee=this.getBBox(1);return j=j??ee.x+ee.width/2,V=V??ee.y+ee.height/2,this.transform(this._.transform.concat([["s",T,M,j,V]])),this},S.translate=function(T,M){return this.removed?this:((T=C(T).split(F)).length-1&&(M=k(T[1])),T=k(T[0])||0,M=+M||0,this.transform(this._.transform.concat([["t",T,M]])),this)},S.transform=function(T){var M=this._;if(T==null)return M.transform;if(y._extractTransform(this,T),this.clip&&Q(this.clip,{transform:this.matrix.invert()}),this.pattern&&ke(this),this.node&&Q(this.node,{transform:this.matrix}),M.sx!=1||M.sy!=1){var j=this.attrs[E]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":j})}return this},S.hide=function(){return this.removed||(this.node.style.display="none"),this},S.show=function(){return this.removed||(this.node.style.display=""),this},S.remove=function(){var T=p(this.node);if(!this.removed&&T.parentNode){var M=this.paper;for(var j in M.__set__&&M.__set__.exclude(this),O.unbind("raphael.*.*."+this.id),this.gradient&&M.defs.removeChild(this.gradient),y._tear(this,M),T.parentNode.removeChild(T),this.removeData(),this)this[j]=typeof this[j]=="function"?y._removedFactory(j):null;this.removed=!0}},S._getBBox=function(){if(this.node.style.display=="none"){this.show();var T=!0}var M,j=!1;this.paper.canvas.parentElement?M=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(M=this.paper.canvas.parentNode.style),M&&M.display=="none"&&(j=!0,M.display="");var V={};try{V=this.node.getBBox()}catch{V={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{V=V||{},j&&(M.display="none")}return T&&this.hide(),V},S.attr=function(T,M){if(this.removed)return this;if(T==null){var j={};for(var V in this.attrs)this.attrs[E](V)&&(j[V]=this.attrs[V]);return j.gradient&&j.fill=="none"&&(j.fill=j.gradient)&&delete j.gradient,j.transform=this._.transform,j}if(M==null&&y.is(T,"string")){if(T=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;if(T=="transform")return this._.transform;for(var ee=T.split(F),Z={},U=0,z=ee.length;U<z;U++)(T=ee[U])in this.attrs?Z[T]=this.attrs[T]:y.is(this.paper.customAttributes[T],"function")?Z[T]=this.paper.customAttributes[T].def:Z[T]=y._availableAttrs[T];return z-1?Z:Z[ee[0]]}if(M==null&&y.is(T,"array")){for(Z={},U=0,z=T.length;U<z;U++)Z[T[U]]=this.attr(T[U]);return Z}if(M!=null){var ne={};ne[T]=M}else T!=null&&y.is(T,"object")&&(ne=T);for(var fe in ne)O("raphael.attr."+fe+"."+this.id,this,ne[fe]);for(fe in this.paper.customAttributes)if(this.paper.customAttributes[E](fe)&&ne[E](fe)&&y.is(this.paper.customAttributes[fe],"function")){var me=this.paper.customAttributes[fe].apply(this,[].concat(ne[fe]));for(var de in this.attrs[fe]=ne[fe],me)me[E](de)&&(ne[de]=me[de])}return w(this,ne),this},S.toFront=function(){if(this.removed)return this;var T=p(this.node);T.parentNode.appendChild(T);var M=this.paper;return M.top!=this&&y._tofront(this,M),this},S.toBack=function(){if(this.removed)return this;var T=p(this.node),M=T.parentNode;return M.insertBefore(T,M.firstChild),y._toback(this,this.paper),this.paper,this},S.insertAfter=function(T){if(this.removed||!T)return this;var M=p(this.node),j=p(T.node||T[T.length-1].node);return j.nextSibling?j.parentNode.insertBefore(M,j.nextSibling):j.parentNode.appendChild(M),y._insertafter(this,T,this.paper),this},S.insertBefore=function(T){if(this.removed||!T)return this;var M=p(this.node),j=p(T.node||T[0].node);return j.parentNode.insertBefore(M,j),y._insertbefore(this,T,this.paper),this},S.blur=function(T){var M=this;if(+T!=0){var j=Q("filter"),V=Q("feGaussianBlur");M.attrs.blur=T,j.id=y.createUUID(),Q(V,{stdDeviation:+T||1.5}),j.appendChild(V),M.paper.defs.appendChild(j),M._blur=j,Q(M.node,{filter:"url(#"+j.id+")"})}else M._blur&&(M._blur.parentNode.removeChild(M._blur),delete M._blur,delete M.attrs.blur),M.node.removeAttribute("filter");return M},y._engine.circle=function(T,M,j,V){var ee=Q("circle");T.canvas&&T.canvas.appendChild(ee);var Z=new x(ee,T);return Z.attrs={cx:M,cy:j,r:V,fill:"none",stroke:"#000"},Z.type="circle",Q(ee,Z.attrs),Z},y._engine.rect=function(T,M,j,V,ee,Z){var U=Q("rect");T.canvas&&T.canvas.appendChild(U);var z=new x(U,T);return z.attrs={x:M,y:j,width:V,height:ee,rx:Z||0,ry:Z||0,fill:"none",stroke:"#000"},z.type="rect",Q(U,z.attrs),z},y._engine.ellipse=function(T,M,j,V,ee){var Z=Q("ellipse");T.canvas&&T.canvas.appendChild(Z);var U=new x(Z,T);return U.attrs={cx:M,cy:j,rx:V,ry:ee,fill:"none",stroke:"#000"},U.type="ellipse",Q(Z,U.attrs),U},y._engine.image=function(T,M,j,V,ee,Z){var U=Q("image");Q(U,{x:j,y:V,width:ee,height:Z,preserveAspectRatio:"none"}),U.setAttributeNS(J,"href",M),T.canvas&&T.canvas.appendChild(U);var z=new x(U,T);return z.attrs={x:j,y:V,width:ee,height:Z,src:M},z.type="image",z},y._engine.text=function(T,M,j,V){var ee=Q("text");T.canvas&&T.canvas.appendChild(ee);var Z=new x(ee,T);return Z.attrs={x:M,y:j,"text-anchor":"middle",text:V,"font-family":y._availableAttrs["font-family"],"font-size":y._availableAttrs["font-size"],stroke:"none",fill:"#000"},Z.type="text",w(Z,Z.attrs),Z},y._engine.setSize=function(T,M){return this.width=T||this.width,this.height=M||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},y._engine.create=function(){var T=y._getContainer.apply(0,arguments),M=T&&T.container;if(!M)throw new Error("SVG container not found.");var j,V=T.x,ee=T.y,Z=T.width,U=T.height,z=Q("svg"),ne="overflow:hidden;";return V=V||0,ee=ee||0,Q(z,{height:U=U||342,version:1.1,width:Z=Z||512,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),M==1?(z.style.cssText=ne+"position:absolute;left:"+V+"px;top:"+ee+"px",y._g.doc.body.appendChild(z),j=1):(z.style.cssText=ne+"position:relative",M.firstChild?M.insertBefore(z,M.firstChild):M.appendChild(z)),(M=new y._Paper).width=Z,M.height=U,M.canvas=z,M.clear(),M._left=M._top=0,j&&(M.renderfix=function(){}),M.renderfix(),M},y._engine.setViewBox=function(T,M,j,V,ee){O("raphael.setViewBox",this,this._viewBox,[T,M,j,V,ee]);var Z,U,z=this.getSize(),ne=P(j/z.width,V/z.height),fe=this.top,me=ee?"xMidYMid meet":"xMinYMin";for(T==null?(this._vbSize&&(ne=1),delete this._vbSize,Z="0 0 "+this.width+Y+this.height):(this._vbSize=ne,Z=T+Y+M+Y+j+Y+V),Q(this.canvas,{viewBox:Z,preserveAspectRatio:me});ne&&fe;)U="stroke-width"in fe.attrs?fe.attrs["stroke-width"]:1,fe.attr({"stroke-width":U}),fe._.dirty=1,fe._.dirtyT=1,fe=fe.prev;return this._viewBox=[T,M,j,V,!!ee],this},y.prototype.renderfix=function(){var T,M=this.canvas,j=M.style;try{T=M.getScreenCTM()||M.createSVGMatrix()}catch{T=M.createSVGMatrix()}var V=-T.e%1,ee=-T.f%1;(V||ee)&&(V&&(this._left=(this._left+V)%1,j.left=this._left+"px"),ee&&(this._top=(this._top+ee)%1,j.top=this._top+"px"))},y.prototype.clear=function(){y.eve("raphael.clear",this);for(var T=this.canvas;T.firstChild;)T.removeChild(T.firstChild);this.bottom=this.top=null,(this.desc=Q("desc")).appendChild(y._g.doc.createTextNode("Created with Raphaël "+y.version)),T.appendChild(this.desc),T.appendChild(this.defs=Q("defs"))},y.prototype.remove=function(){for(var T in O("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[T]=typeof this[T]=="function"?y._removedFactory(T):null};var b=y.st;for(var h in S)S[E](h)&&!b[E](h)&&(b[h]=function(T){return function(){var M=arguments;return this.forEach(function(j){j[T].apply(j,M)})}}(h))}}).apply(o,l))===void 0||(n.exports=m)},function(n,o,u){var l,m;l=[u(0)],(m=(function(y){if(!y||y.vml){var E="hasOwnProperty",C=String,k=parseFloat,A=Math,D=A.round,P=A.max,R=A.min,B=A.abs,F=/[, ]+/,O=y.eve,N=" ",Y="",J={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},ie=/([clmz]),?([^clmz]*)/gi,ue=/ progid:\S+Blur\([^\)]+\)/g,Q=/-?[^,\s-]+/g,ce="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",he=21600,ke={path:1,rect:1,image:1},L={circle:1,ellipse:1},d=function(M,j,V){var ee=y.matrix();return ee.rotate(-M,.5,.5),{dx:ee.x(j,V),dy:ee.y(j,V)}},v=function(M,j,V,ee,Z,U){var z=M._,ne=M.matrix,fe=z.fillpos,me=M.node,de=me.style,Oe=1,lt="",it=he/j,ot=he/V;if(de.visibility="hidden",j&&V){if(me.coordsize=B(it)+N+B(ot),de.rotation=U*(j*V<0?-1:1),U){var Ct=d(U,ee,Z);ee=Ct.dx,Z=Ct.dy}if(j<0&&(lt+="x"),V<0&&(lt+=" y")&&(Oe=-1),de.flip=lt,me.coordorigin=ee*-it+N+Z*-ot,fe||z.fillsize){var nt=me.getElementsByTagName("fill");nt=nt&&nt[0],me.removeChild(nt),fe&&(Ct=d(U,ne.x(fe[0],fe[1]),ne.y(fe[0],fe[1])),nt.position=Ct.dx*Oe+N+Ct.dy*Oe),z.fillsize&&(nt.size=z.fillsize[0]*B(j)+N+z.fillsize[1]*B(V)),me.appendChild(nt)}de.visibility="visible"}};y.toString=function(){return`Your browser doesn’t support SVG. Falling down to VML.
-You are running Raphaël `+this.version};var w,c=function(M,j,V){for(var ee=C(j).toLowerCase().split("-"),Z=V?"end":"start",U=ee.length,z="classic",ne="medium",fe="medium";U--;)switch(ee[U]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":z=ee[U];break;case"wide":case"narrow":fe=ee[U];break;case"long":case"short":ne=ee[U]}var me=M.node.getElementsByTagName("stroke")[0];me[Z+"arrow"]=z,me[Z+"arrowlength"]=ne,me[Z+"arrowwidth"]=fe},p=function(M,j){M.attrs=M.attrs||{};var V=M.node,ee=M.attrs,Z=V.style,U=ke[M.type]&&(j.x!=ee.x||j.y!=ee.y||j.width!=ee.width||j.height!=ee.height||j.cx!=ee.cx||j.cy!=ee.cy||j.rx!=ee.rx||j.ry!=ee.ry||j.r!=ee.r),z=L[M.type]&&(ee.cx!=j.cx||ee.cy!=j.cy||ee.r!=j.r||ee.rx!=j.rx||ee.ry!=j.ry),ne=M;for(var fe in j)j[E](fe)&&(ee[fe]=j[fe]);if(U&&(ee.path=y._getPath[M.type](M),M._.dirty=1),j.href&&(V.href=j.href),j.title&&(V.title=j.title),j.target&&(V.target=j.target),j.cursor&&(Z.cursor=j.cursor),"blur"in j&&M.blur(j.blur),(j.path&&M.type=="path"||U)&&(V.path=function(Ue){var Qe=/[ahqstv]/gi,Ke=y._pathToAbsolute;if(C(Ue).match(Qe)&&(Ke=y._path2curve),Qe=/[clmz]/g,Ke==y._pathToAbsolute&&!C(Ue).match(Qe)){var De=C(Ue).replace(ie,function(ut,$t,fi){var kt=[],Wt=$t.toLowerCase()=="m",Zi=J[$t];return fi.replace(Q,function(Ut){Wt&&kt.length==2&&(Zi+=kt+J[$t=="m"?"l":"L"],kt=[]),kt.push(D(Ut*he))}),Zi+kt});return De}var Vt,At,ve=Ke(Ue);De=[];for(var Pt=0,pt=ve.length;Pt<pt;Pt++){Vt=ve[Pt],(At=ve[Pt][0].toLowerCase())=="z"&&(At="x");for(var Ne=1,vt=Vt.length;Ne<vt;Ne++)At+=D(Vt[Ne]*he)+(Ne!=vt-1?",":Y);De.push(At)}return De.join(N)}(~C(ee.path).toLowerCase().indexOf("r")?y._pathToAbsolute(ee.path):ee.path),M._.dirty=1,M.type=="image"&&(M._.fillpos=[ee.x,ee.y],M._.fillsize=[ee.width,ee.height],v(M,1,1,0,0,0))),"transform"in j&&M.transform(j.transform),z){var me=+ee.cx,de=+ee.cy,Oe=+ee.rx||+ee.r||0,lt=+ee.ry||+ee.r||0;V.path=y.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",D((me-Oe)*he),D((de-lt)*he),D((me+Oe)*he),D((de+lt)*he),D(me*he)),M._.dirty=1}if("clip-rect"in j){var it=C(j["clip-rect"]).split(F);if(it.length==4){it[2]=+it[2]+ +it[0],it[3]=+it[3]+ +it[1];var ot=V.clipRect||y._g.doc.createElement("div"),Ct=ot.style;Ct.clip=y.format("rect({1}px {2}px {3}px {0}px)",it),V.clipRect||(Ct.position="absolute",Ct.top=0,Ct.left=0,Ct.width=M.paper.width+"px",Ct.height=M.paper.height+"px",V.parentNode.insertBefore(ot,V),ot.appendChild(V),V.clipRect=ot)}j["clip-rect"]||V.clipRect&&(V.clipRect.style.clip="auto")}if(M.textpath){var nt=M.textpath.style;j.font&&(nt.font=j.font),j["font-family"]&&(nt.fontFamily='"'+j["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,Y)+'"'),j["font-size"]&&(nt.fontSize=j["font-size"]),j["font-weight"]&&(nt.fontWeight=j["font-weight"]),j["font-style"]&&(nt.fontStyle=j["font-style"])}if("arrow-start"in j&&c(ne,j["arrow-start"]),"arrow-end"in j&&c(ne,j["arrow-end"],1),j.opacity!=null||j.fill!=null||j.src!=null||j.stroke!=null||j["stroke-width"]!=null||j["stroke-opacity"]!=null||j["fill-opacity"]!=null||j["stroke-dasharray"]!=null||j["stroke-miterlimit"]!=null||j["stroke-linejoin"]!=null||j["stroke-linecap"]!=null){var Je=V.getElementsByTagName("fill");if(!(Je=Je&&Je[0])&&(Je=w("fill")),M.type=="image"&&j.src&&(Je.src=j.src),j.fill&&(Je.on=!0),Je.on!=null&&j.fill!="none"&&j.fill!==null||(Je.on=!1),Je.on&&j.fill){var tt=C(j.fill).match(y._ISURL);if(tt){Je.parentNode==V&&V.removeChild(Je),Je.rotate=!0,Je.src=tt[1],Je.type="tile";var rt=M.getBBox(1);Je.position=rt.x+N+rt.y,M._.fillpos=[rt.x,rt.y],y._preload(tt[1],function(){M._.fillsize=[this.offsetWidth,this.offsetHeight]})}else Je.color=y.getRGB(j.fill).hex,Je.src=Y,Je.type="solid",y.getRGB(j.fill).error&&(ne.type in{circle:1,ellipse:1}||C(j.fill).charAt()!="r")&&x(ne,j.fill,Je)&&(ee.fill="none",ee.gradient=j.fill,Je.rotate=!1)}if("fill-opacity"in j||"opacity"in j){var ht=((+ee["fill-opacity"]+1||2)-1)*((+ee.opacity+1||2)-1)*((+y.getRGB(j.fill).o+1||2)-1);ht=R(P(ht,0),1),Je.opacity=ht,Je.src&&(Je.color="none")}V.appendChild(Je);var jt=V.getElementsByTagName("stroke")&&V.getElementsByTagName("stroke")[0],Ve=!1;!jt&&(Ve=jt=w("stroke")),(j.stroke&&j.stroke!="none"||j["stroke-width"]||j["stroke-opacity"]!=null||j["stroke-dasharray"]||j["stroke-miterlimit"]||j["stroke-linejoin"]||j["stroke-linecap"])&&(jt.on=!0),(j.stroke=="none"||j.stroke===null||jt.on==null||j.stroke==0||j["stroke-width"]==0)&&(jt.on=!1);var We=y.getRGB(j.stroke);jt.on&&j.stroke&&(jt.color=We.hex),ht=((+ee["stroke-opacity"]+1||2)-1)*((+ee.opacity+1||2)-1)*((+We.o+1||2)-1);var Gt=.75*(k(j["stroke-width"])||1);if(ht=R(P(ht,0),1),j["stroke-width"]==null&&(Gt=ee["stroke-width"]),j["stroke-width"]&&(jt.weight=Gt),Gt&&Gt<1&&(ht*=Gt)&&(jt.weight=1),jt.opacity=ht,j["stroke-linejoin"]&&(jt.joinstyle=j["stroke-linejoin"]||"miter"),jt.miterlimit=j["stroke-miterlimit"]||8,j["stroke-linecap"]&&(jt.endcap=j["stroke-linecap"]=="butt"?"flat":j["stroke-linecap"]=="square"?"square":"round"),"stroke-dasharray"in j){var wt={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};jt.dashstyle=wt[E](j["stroke-dasharray"])?wt[j["stroke-dasharray"]]:Y}Ve&&V.appendChild(jt)}if(ne.type=="text"){ne.paper.canvas.style.display=Y;var Et=ne.paper.span,Yt=ee.font&&ee.font.match(/\d+(?:\.\d*)?(?=px)/);Z=Et.style,ee.font&&(Z.font=ee.font),ee["font-family"]&&(Z.fontFamily=ee["font-family"]),ee["font-weight"]&&(Z.fontWeight=ee["font-weight"]),ee["font-style"]&&(Z.fontStyle=ee["font-style"]),Yt=k(ee["font-size"]||Yt&&Yt[0])||10,Z.fontSize=100*Yt+"px",ne.textpath.string&&(Et.innerHTML=C(ne.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var Ce=Et.getBoundingClientRect();ne.W=ee.w=(Ce.right-Ce.left)/100,ne.H=ee.h=(Ce.bottom-Ce.top)/100,ne.X=ee.x,ne.Y=ee.y+ne.H/2,("x"in j||"y"in j)&&(ne.path.v=y.format("m{0},{1}l{2},{1}",D(ee.x*he),D(ee.y*he),D(ee.x*he)+1));for(var te=["x","y","text","font","font-family","font-weight","font-style","font-size"],ye=0,Le=te.length;ye<Le;ye++)if(te[ye]in j){ne._.dirty=1;break}switch(ee["text-anchor"]){case"start":ne.textpath.style["v-text-align"]="left",ne.bbx=ne.W/2;break;case"end":ne.textpath.style["v-text-align"]="right",ne.bbx=-ne.W/2;break;default:ne.textpath.style["v-text-align"]="center",ne.bbx=0}ne.textpath.style["v-text-kern"]=!0}},x=function(M,j,V){M.attrs=M.attrs||{},M.attrs;var ee=Math.pow,Z="linear",U=".5 .5";if(M.attrs.gradient=j,j=(j=C(j).replace(y._radial_gradient,function(Oe,lt,it){return Z="radial",lt&&it&&(lt=k(lt),it=k(it),ee(lt-.5,2)+ee(it-.5,2)>.25&&(it=A.sqrt(.25-ee(lt-.5,2))*(2*(it>.5)-1)+.5),U=lt+N+it),Y})).split(/\s*\-\s*/),Z=="linear"){var z=j.shift();if(z=-k(z),isNaN(z))return null}var ne=y._parseDots(j);if(!ne)return null;if(M=M.shape||M.node,ne.length){M.removeChild(V),V.on=!0,V.method="none",V.color=ne[0].color,V.color2=ne[ne.length-1].color;for(var fe=[],me=0,de=ne.length;me<de;me++)ne[me].offset&&fe.push(ne[me].offset+N+ne[me].color);V.colors=fe.length?fe.join():"0% "+V.color,Z=="radial"?(V.type="gradientTitle",V.focus="100%",V.focussize="0 0",V.focusposition=U,V.angle=0):(V.type="gradient",V.angle=(270-z)%360),M.appendChild(V)}return 1},S=function(M,j){this[0]=this.node=M,M.raphael=!0,this.id=y._oid++,M.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=j,this.matrix=y.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!j.bottom&&(j.bottom=this),this.prev=j.top,j.top&&(j.top.next=this),j.top=this,this.next=null},b=y.el;S.prototype=b,b.constructor=S,b.transform=function(M){if(M==null)return this._.transform;var j,V=this.paper._viewBoxShift,ee=V?"s"+[V.scale,V.scale]+"-1-1t"+[V.dx,V.dy]:Y;V&&(j=M=C(M).replace(/\.{3}|\u2026/g,this._.transform||Y)),y._extractTransform(this,ee+M);var Z,U=this.matrix.clone(),z=this.skew,ne=this.node,fe=~C(this.attrs.fill).indexOf("-"),me=!C(this.attrs.fill).indexOf("url(");if(U.translate(1,1),me||fe||this.type=="image")if(z.matrix="1 0 0 1",z.offset="0 0",Z=U.split(),fe&&Z.noRotation||!Z.isSimple){ne.style.filter=U.toFilter();var de=this.getBBox(),Oe=this.getBBox(1),lt=de.x-Oe.x,it=de.y-Oe.y;ne.coordorigin=lt*-he+N+it*-he,v(this,1,1,lt,it,0)}else ne.style.filter=Y,v(this,Z.scalex,Z.scaley,Z.dx,Z.dy,Z.rotate);else ne.style.filter=Y,z.matrix=C(U),z.offset=U.offset();return j!==null&&(this._.transform=j,y._extractTransform(this,j)),this},b.rotate=function(M,j,V){if(this.removed)return this;if(M!=null){if((M=C(M).split(F)).length-1&&(j=k(M[1]),V=k(M[2])),M=k(M[0]),V==null&&(j=V),j==null||V==null){var ee=this.getBBox(1);j=ee.x+ee.width/2,V=ee.y+ee.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",M,j,V]])),this}},b.translate=function(M,j){return this.removed?this:((M=C(M).split(F)).length-1&&(j=k(M[1])),M=k(M[0])||0,j=+j||0,this._.bbox&&(this._.bbox.x+=M,this._.bbox.y+=j),this.transform(this._.transform.concat([["t",M,j]])),this)},b.scale=function(M,j,V,ee){if(this.removed)return this;if((M=C(M).split(F)).length-1&&(j=k(M[1]),V=k(M[2]),ee=k(M[3]),isNaN(V)&&(V=null),isNaN(ee)&&(ee=null)),M=k(M[0]),j==null&&(j=M),ee==null&&(V=ee),V==null||ee==null)var Z=this.getBBox(1);return V=V??Z.x+Z.width/2,ee=ee??Z.y+Z.height/2,this.transform(this._.transform.concat([["s",M,j,V,ee]])),this._.dirtyT=1,this},b.hide=function(){return!this.removed&&(this.node.style.display="none"),this},b.show=function(){return!this.removed&&(this.node.style.display=Y),this},b.auxGetBBox=y.el.getBBox,b.getBBox=function(){var M=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var j={},V=1/this.paper._viewBoxShift.scale;return j.x=M.x-this.paper._viewBoxShift.dx,j.x*=V,j.y=M.y-this.paper._viewBoxShift.dy,j.y*=V,j.width=M.width*V,j.height=M.height*V,j.x2=j.x+j.width,j.y2=j.y+j.height,j}return M},b._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},b.remove=function(){if(!this.removed&&this.node.parentNode){for(var M in this.paper.__set__&&this.paper.__set__.exclude(this),y.eve.unbind("raphael.*.*."+this.id),y._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[M]=typeof this[M]=="function"?y._removedFactory(M):null;this.removed=!0}},b.attr=function(M,j){if(this.removed)return this;if(M==null){var V={};for(var ee in this.attrs)this.attrs[E](ee)&&(V[ee]=this.attrs[ee]);return V.gradient&&V.fill=="none"&&(V.fill=V.gradient)&&delete V.gradient,V.transform=this._.transform,V}if(j==null&&y.is(M,"string")){if(M=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;for(var Z=M.split(F),U={},z=0,ne=Z.length;z<ne;z++)(M=Z[z])in this.attrs?U[M]=this.attrs[M]:y.is(this.paper.customAttributes[M],"function")?U[M]=this.paper.customAttributes[M].def:U[M]=y._availableAttrs[M];return ne-1?U:U[Z[0]]}if(this.attrs&&j==null&&y.is(M,"array")){for(U={},z=0,ne=M.length;z<ne;z++)U[M[z]]=this.attr(M[z]);return U}var fe;for(var me in j!=null&&((fe={})[M]=j),j==null&&y.is(M,"object")&&(fe=M),fe)O("raphael.attr."+me+"."+this.id,this,fe[me]);if(fe){for(me in this.paper.customAttributes)if(this.paper.customAttributes[E](me)&&fe[E](me)&&y.is(this.paper.customAttributes[me],"function")){var de=this.paper.customAttributes[me].apply(this,[].concat(fe[me]));for(var Oe in this.attrs[me]=fe[me],de)de[E](Oe)&&(fe[Oe]=de[Oe])}fe.text&&this.type=="text"&&(this.textpath.string=fe.text),p(this,fe)}return this},b.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&y._tofront(this,this.paper),this},b.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),y._toback(this,this.paper)),this)},b.insertAfter=function(M){return this.removed?this:(M.constructor==y.st.constructor&&(M=M[M.length-1]),M.node.nextSibling?M.node.parentNode.insertBefore(this.node,M.node.nextSibling):M.node.parentNode.appendChild(this.node),y._insertafter(this,M,this.paper),this)},b.insertBefore=function(M){return this.removed?this:(M.constructor==y.st.constructor&&(M=M[0]),M.node.parentNode.insertBefore(this.node,M.node),y._insertbefore(this,M,this.paper),this)},b.blur=function(M){var j=this.node.runtimeStyle,V=j.filter;return V=V.replace(ue,Y),+M!=0?(this.attrs.blur=M,j.filter=V+N+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+M||1.5)+")",j.margin=y.format("-{0}px 0 0 -{0}px",D(+M||1.5))):(j.filter=V,j.margin=0,delete this.attrs.blur),this},y._engine.path=function(M,j){var V=w("shape");V.style.cssText=ce,V.coordsize=he+N+he,V.coordorigin=j.coordorigin;var ee=new S(V,j),Z={fill:"none",stroke:"#000"};M&&(Z.path=M),ee.type="path",ee.path=[],ee.Path=Y,p(ee,Z),j.canvas&&j.canvas.appendChild(V);var U=w("skew");return U.on=!0,V.appendChild(U),ee.skew=U,ee.transform(Y),ee},y._engine.rect=function(M,j,V,ee,Z,U){var z=y._rectPath(j,V,ee,Z,U),ne=M.path(z),fe=ne.attrs;return ne.X=fe.x=j,ne.Y=fe.y=V,ne.W=fe.width=ee,ne.H=fe.height=Z,fe.r=U,fe.path=z,ne.type="rect",ne},y._engine.ellipse=function(M,j,V,ee,Z){var U=M.path();return U.attrs,U.X=j-ee,U.Y=V-Z,U.W=2*ee,U.H=2*Z,U.type="ellipse",p(U,{cx:j,cy:V,rx:ee,ry:Z}),U},y._engine.circle=function(M,j,V,ee){var Z=M.path();return Z.attrs,Z.X=j-ee,Z.Y=V-ee,Z.W=Z.H=2*ee,Z.type="circle",p(Z,{cx:j,cy:V,r:ee}),Z},y._engine.image=function(M,j,V,ee,Z,U){var z=y._rectPath(V,ee,Z,U),ne=M.path(z).attr({stroke:"none"}),fe=ne.attrs,me=ne.node,de=me.getElementsByTagName("fill")[0];return fe.src=j,ne.X=fe.x=V,ne.Y=fe.y=ee,ne.W=fe.width=Z,ne.H=fe.height=U,fe.path=z,ne.type="image",de.parentNode==me&&me.removeChild(de),de.rotate=!0,de.src=j,de.type="tile",ne._.fillpos=[V,ee],ne._.fillsize=[Z,U],me.appendChild(de),v(ne,1,1,0,0,0),ne},y._engine.text=function(M,j,V,ee){var Z=w("shape"),U=w("path"),z=w("textpath");j=j||0,V=V||0,ee=ee||"",U.v=y.format("m{0},{1}l{2},{1}",D(j*he),D(V*he),D(j*he)+1),U.textpathok=!0,z.string=C(ee),z.on=!0,Z.style.cssText=ce,Z.coordsize=he+N+he,Z.coordorigin="0 0";var ne=new S(Z,M),fe={fill:"#000",stroke:"none",font:y._availableAttrs.font,text:ee};ne.shape=Z,ne.path=U,ne.textpath=z,ne.type="text",ne.attrs.text=C(ee),ne.attrs.x=j,ne.attrs.y=V,ne.attrs.w=1,ne.attrs.h=1,p(ne,fe),Z.appendChild(z),Z.appendChild(U),M.canvas.appendChild(Z);var me=w("skew");return me.on=!0,Z.appendChild(me),ne.skew=me,ne.transform(Y),ne},y._engine.setSize=function(M,j){var V=this.canvas.style;return this.width=M,this.height=j,M==+M&&(M+="px"),j==+j&&(j+="px"),V.width=M,V.height=j,V.clip="rect(0 "+M+" "+j+" 0)",this._viewBox&&y._engine.setViewBox.apply(this,this._viewBox),this},y._engine.setViewBox=function(M,j,V,ee,Z){y.eve("raphael.setViewBox",this,this._viewBox,[M,j,V,ee,Z]);var U,z,ne=this.getSize(),fe=ne.width,me=ne.height;return Z&&(V*(U=me/ee)<fe&&(M-=(fe-V*U)/2/U),ee*(z=fe/V)<me&&(j-=(me-ee*z)/2/z)),this._viewBox=[M,j,V,ee,!!Z],this._viewBoxShift={dx:-M,dy:-j,scale:ne},this.forEach(function(de){de.transform("...")}),this},y._engine.initWin=function(M){var j=M.document;j.styleSheets.length<31?j.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):j.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!j.namespaces.rvml&&j.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),w=function(V){return j.createElement("<rvml:"+V+' class="rvml">')}}catch{w=function(ee){return j.createElement("<"+ee+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},y._engine.initWin(y._g.win),y._engine.create=function(){var M=y._getContainer.apply(0,arguments),j=M.container,V=M.height,ee=M.width,Z=M.x,U=M.y;if(!j)throw new Error("VML container not found.");var z=new y._Paper,ne=z.canvas=y._g.doc.createElement("div"),fe=ne.style;return Z=Z||0,U=U||0,ee=ee||512,V=V||342,z.width=ee,z.height=V,ee==+ee&&(ee+="px"),V==+V&&(V+="px"),z.coordsize=216e5+N+216e5,z.coordorigin="0 0",z.span=y._g.doc.createElement("span"),z.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",ne.appendChild(z.span),fe.cssText=y.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",ee,V),j==1?(y._g.doc.body.appendChild(ne),fe.left=Z+"px",fe.top=U+"px",fe.position="absolute"):j.firstChild?j.insertBefore(ne,j.firstChild):j.appendChild(ne),z.renderfix=function(){},z},y.prototype.clear=function(){y.eve("raphael.clear",this),this.canvas.innerHTML=Y,this.span=y._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},y.prototype.remove=function(){for(var M in y.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[M]=typeof this[M]=="function"?y._removedFactory(M):null;return!0};var h=y.st;for(var T in b)b[E](T)&&!h[E](T)&&(h[T]=function(M){return function(){var j=arguments;return this.forEach(function(V){V[M].apply(V,j)})}}(T))}}).apply(o,l))===void 0||(n.exports=m)}])})})(raphael_min);var raphael_minExports=raphael_min.exports;const Raphael=getDefaultExportFromCjs$1(raphael_minExports),Arrow=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),this.current_pilot_widget=this.pilot_widget}draw(){this.height=this.arrow_height+this.base_height,this.$.addClass("Ldt-Arrow").css({height:1+this.height+"px","margin-top":"1px",overflow:"hidden"}),this.paper=new Raphael(this.container,this.width,1+this.height),window.myArrow=this,this.svgArrow=this.paper.path("M0,"+this.height+"L"+this.width+","+this.height),this.svgArrow.attr({stroke:this.stroke_color,"stroke-width":this.stroke_width,fill:this.fill_url?"url("+this.fill_url+")":this.fill_color}),this.moveToX(0)}drawAt(n){n=Math.max(0,Math.min(n,this.width));var o="M0,"+this.height+"L0,"+Math.min(this.height,this.arrow_height+this.base_curve)+"Q0,"+this.arrow_height+" "+Math.max(0,Math.min(this.base_curve,n-this.arrow_width/2))+","+this.arrow_height+"L"+Math.max(0,n-this.arrow_width/2)+","+this.arrow_height+"L"+Math.max(0,n-this.arrow_width/2)+","+Math.min(this.arrow_height,2*this.arrow_height*n/this.arrow_width)+"L"+n+",0L"+Math.min(this.width,n+this.arrow_width/2)+","+Math.min(this.arrow_height,2*this.arrow_height*(this.width-n)/this.arrow_width)+"L"+Math.min(this.width,n+this.arrow_width/2)+","+this.arrow_height+"L"+Math.min(this.width,Math.max(this.width-this.base_curve,n+this.arrow_width/2))+","+this.arrow_height+"Q"+this.width+","+this.arrow_height+" "+this.width+","+Math.min(this.height,this.arrow_height+this.base_curve)+"L"+this.width+","+this.height;this.svgArrow.attr({path:o})}moveToX(n){this.targetX=Math.max(0,Math.min(n,this.width)),typeof this.animInterval>"u"&&(this.animInterval=window.setInterval(this.functionWrapper("increment"),40)),this.increment()}moveToTime(n){this.media&&this.moveToX(this.width*n/this.media.duration)}increment(){typeof this.currentX>"u"&&(this.currentX=this.targetX),this.currentX<this.targetX&&(this.currentX=Math.min(this.targetX,this.currentX+this.animation_speed)),this.currentX>this.targetX&&(this.currentX=Math.max(this.targetX,this.currentX-this.animation_speed)),this.currentX===this.targetX&&(window.clearInterval(this.animInterval),this.animInterval=void 0),this.drawAt(this.currentX)}},Fi(e,"defaults",{arrow_height:12,arrow_width:20,base_height:0,base_curve:0,fill_url:t.widgetsDir+"/img/pinstripe.png",fill_color:"#ffffff",stroke_color:"#b7b7b7",stroke_width:1.5,animation_speed:20}),e},controllerStyles={},Controller=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),this.lastSearchValue=""}draw(){var n=this;this.renderTemplate(),this.$playButton=this.$.find(".Ldt-Ctrl-Play"),this.$searchBlock=this.$.find(".Ldt-Ctrl-Search"),this.$searchInput=this.$.find(".Ldt-Ctrl-SearchInput"),this.$volumeBar=this.$.find(".Ldt-Ctrl-Volume-Bar"),this.onMediaEvent("play","playButtonUpdater"),this.onMediaEvent("pause","playButtonUpdater"),this.onMediaEvent("volumechange","volumeUpdater"),this.onMediaEvent("timeupdate","timeDisplayUpdater"),this.onMediaEvent("loadedmetadata","volumeUpdater"),this.$playButton.click(this.functionWrapper("playHandler")),this.enable_quiz_toggle!==void 0?this.enable_quiz_toggle?(this.$.find(".Ldt-Ctrl-Quiz-Enable").addClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.$.find(".Ldt-Ctrl-Quiz-Create").addClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.$.find("#QuizEditContainer").show()):(this.$.find(".Ldt-Ctrl-Quiz-Enable").removeClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.$.find(".Ldt-Ctrl-Quiz-Create").removeClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.player.trigger("QuizCreator.hide"),this.$.find("#QuizEditContainer").hide()):this.$.find(".Ldt-Ctrl-Quiz-Enable").hide(),this.$.find(".Ldt-Ctrl-Annotate").click(function(){n.player.trigger("CreateAnnotation.toggle")}),this.$.find(".Ldt-Ctrl-SearchBtn").click(this.functionWrapper("searchButtonHandler")),this.$searchInput.keyup(this.functionWrapper("searchHandler")),this.$searchInput.on("search",this.functionWrapper("searchHandler")),this.$.find(".Ldt-Ctrl-Fullscreen-Button").click(this.functionWrapper("toggleFullscreen"));var o=t.getFullscreenEventname();o&&document.addEventListener(o,function(){t.isFullscreen()&&t.getFullscreenElement()==n.$[0]?n.$.addClass("Ldt-Fullscreen-Element"):n.$.removeClass("Ldt-Fullscreen-Element")}),this.$.find(".Ldt-Ctrl-Quiz-Enable").click(this.functionWrapper("toggleQuiz")),this.$.find(".Ldt-Ctrl-Quiz-Create").click(this.functionWrapper("createQuiz"));var u=this.$.find(".Ldt-Ctrl-Volume-Control");if(this.$.find(".Ldt-Ctrl-Sound").click(this.functionWrapper("muteHandler")).mouseover(function(){u.show()}).mouseout(function(){u.hide()}),u.mouseover(function(){u.show()}).mouseout(function(){u.hide()}),!this.disable_ctrl_f){var l=70,m=0;jQuery(document).keydown(function(E){if(E.keyCode===l&&(E.ctrlKey||E.metaKey)){var C=jQuery.now();return C-m>2e3&&n.searchButtonHandler(),m=C,!1}})}this.$volumeBar.slider({slide:function(E,C){n.$volumeBar.attr("title",n.l10n.volume+": "+C.value+"%"),n.media.setVolume(C.value/100)},stop:this.functionWrapper("volumeUpdater")}),this.$.hover(function(){n.player.trigger("Player.MouseOver")},function(){n.player.trigger("Player.MouseOut")}),this.timeDisplayUpdater(new t.Model.Time(0));var y=this.source.getAnnotations();y.on("search",function(E){n.$searchInput.val(E),n.showSearchBlock()}),y.on("found",function(E){n.$searchInput.css("background-color","#e1ffe1")}),y.on("not-found",function(E){n.$searchInput.css("background-color","#d62e3a")}),y.on("search-cleared",function(){n.hideSearchBlock()}),n.always_show_search&&n.showSearchBlock()}timeDisplayUpdater(n){var o=this.media.duration;this.$.find(".Ldt-Ctrl-Time-Elapsed").html(n.toString()),this.$.find(".Ldt-Ctrl-Time-Total").html(o.toString())}playButtonUpdater(){this.media.getPaused()?this.$playButton.attr("title",this.l10n.play).removeClass("Ldt-Ctrl-Play-PauseState").addClass("Ldt-Ctrl-Play-PlayState"):this.$playButton.attr("title",this.l10n.pause).removeClass("Ldt-Ctrl-Play-PlayState").addClass("Ldt-Ctrl-Play-PauseState")}toggleFullscreen(){t.isFullscreen()?t.setFullScreen(this.$[0],!1):t.setFullScreen(this.$[0],!0)}createQuiz(){this.player.trigger("Quiz.hide"),this.media.pause(),this.player.trigger("QuizCreator.create")}toggleQuiz(){this.enable_quiz_toggle=!this.enable_quiz_toggle,this.enable_quiz_toggle?(jQuery(".Ldt-Ctrl-Quiz-Enable").addClass("Ldt-Ctrl-Quiz-Toggle-Active"),jQuery(".Ldt-Ctrl-Quiz-Create").addClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.player.trigger("Quiz.activate")):(jQuery(".Ldt-Ctrl-Quiz-Enable").removeClass("Ldt-Ctrl-Quiz-Toggle-Active"),jQuery(".Ldt-Ctrl-Quiz-Create").removeClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.player.trigger("Quiz.deactivate"),this.player.trigger("QuizCreator.hide"))}playHandler(){this.media.getPaused()?this.media.play():this.media.pause()}muteHandler(){this.media.setMuted(!this.media.getMuted())}volumeUpdater(){var n=this.media.getMuted(),o=this.media.getVolume();o===!1&&(o=.5);var u=this.$.find(".Ldt-Ctrl-Sound");u.removeClass("Ldt-Ctrl-Sound-Mute Ldt-Ctrl-Sound-Half Ldt-Ctrl-Sound-Full"),n?u.attr("title",this.l10n.unmute).addClass("Ldt-Ctrl-Sound-Mute"):u.attr("title",this.l10n.mute).addClass(o<.5?"Ldt-Ctrl-Sound-Half":"Ldt-Ctrl-Sound-Full"),this.$volumeBar.slider("value",n?0:100*o)}showSearchBlock(){this.$searchBlock.animate({width:"160px"},200),this.$searchInput.css("background-color","#fff"),this.$searchInput.focus()}hideSearchBlock(){this.always_show_search||this.$searchBlock.animate({width:0},200)}searchButtonHandler(){if(this.$searchBlock.width())this.hideSearchBlock();else{this.showSearchBlock();var n=this.$searchInput.val();n&&this.source.getAnnotations().search(n)}}searchHandler(){this.$searchBlock.width()||(this.$searchBlock.css({width:"160px"}),this.$searchInput.css("background-color","#fff"));var n=this.$searchInput.val();this._positiveMatch=!1,n!==this.lastSearchValue&&(n?this.source.getAnnotations().search(n):(this.source.getAnnotations().trigger("clear-search"),this.$searchInput.css("background-color",""))),this.lastSearchValue=n}},Fi(e,"defaults",{disable_annotate_btn:!1,disable_search_btn:!1,disable_ctrl_f:!1,disable_fullscreen:!0,always_show_search:!1,enable_quiz_toggle:void 0}),Fi(e,"template",'<div class="Ldt-Ctrl"><div class="Ldt-Ctrl-Left"><div class="Ldt-Ctrl-button Ldt-Ctrl-Play Ldt-Ctrl-Play-PlayState Ldt-TraceMe" title="{{l10n.play_pause}}"></div><div class="Ldt-Ctrl-spacer"></div>{{^disable_annotate_btn}}<div class="Ldt-Ctrl-button Ldt-Ctrl-Annotate Ldt-TraceMe" title="{{l10n.annotate}}"></div><div class="Ldt-Ctrl-spacer"></div>{{/disable_annotate_btn}}{{^disable_search_btn}}<div class="Ldt-Ctrl-button Ldt-Ctrl-SearchBtn Ldt-TraceMe" title="{{l10n.search}}"></div>{{/disable_search_btn}}<div class="Ldt-Ctrl-Search"><input placeholder="{{ l10n.search }}" type="search" class="Ldt-Ctrl-SearchInput Ldt-TraceMe"></input></div><div class="Ldt-Ctrl-Quiz-Enable Ldt-TraceMe" title="Activer/Désactiver le quiz"></div><div class="Ldt-Ctrl-Quiz-Create Ldt-TraceMe" ></div></div><div class="Ldt-Ctrl-Right">{{^disable_fullscreen}}<div class="Ldt-Ctrl-Fullscreen-Button Ldt-TraceMe" title="Passer le lecteur en plein-écran"></div{{/disable_fullscreen}}<div class="Ldt-Ctrl-spacer"></div><div class="Ldt-Ctrl-Time"><div class="Ldt-Ctrl-Time-Elapsed" title="{{l10n.elapsed_time}}">00:00</div><div class="Ldt-Ctrl-Time-Separator">/</div><div class="Ldt-Ctrl-Time-Total" title="{{l10n.total_time}}">00:00</div></div><div class="Ldt-Ctrl-spacer"></div><div class="Ldt-Ctrl-button Ldt-Ctrl-Sound Ldt-Ctrl-Sound-Full Ldt-TraceMe" title="{{l10n.mute_unmute}}"></div></div><div class="Ldt-Ctrl-Volume-Control" title="{{l10n.volume_control}}"><div class="Ldt-Ctrl-Volume-Bar"></div></div></div>'),Fi(e,"messages",{en:{play_pause:"Play/Pause",mute_unmute:"Mute/Unmute",play:"Play",pause:"Pause",mute:"Mute",unmute:"Unmute",annotate:"Annotate",search:"Search",elapsed_time:"Elapsed time",total_time:"Total duration",volume:"Volume",volume_control:"Volume control",enable_quiz:"Enable quiz"},fr:{play_pause:"Lecture/Pause",mute_unmute:"Couper/Activer le son",play:"Lecture",pause:"Pause",mute:"Couper le son",unmute:"Activer le son",annotate:"Annoter",search:"Rechercher",elapsed_time:"Temps écoulé",total_time:"Durée totale",volume:"Niveau sonore",volume_control:"Réglage du niveau sonore",enable_quiz:"Activer le quiz"}}),e},createAnnotationStyles={},CreateAnnotation=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),this.editable_storage!=""&&window.localStorage[this.editable_storage]&&this.source.onLoad(function(){var u=this.player.sourceManager.newLocalSource({serializer:t.serializers.ldt_localstorage});u.deSerialize(window.localStorage[this.editable_storage]),_this.source.merge(u)})}draw(){var n=this;this.begin=new t.Model.Time,this.end=this.source.getDuration(),this.tag_prefix=this.tag_prefix||"",this.tag_titles&&!this.tags&&(this.tag_titles.length==1&&this.tag_titles[0]==""?this.tags=!0:this.tags=_$1(this.tag_titles).map(function(o){var u,l=n.source.getTags().searchByTitle(o,!0);return l.length?u=l[0]:(u=new t.Model.Tag(!1,n.source),n.source.getTags().push(u),u.title=o),u}).value()),this.tags||(this.tags=this.source.getTags().sortBy(function(o){return-o.getAnnotations().length}).slice(0,this.max_tags).map(function(o){return o})),this.renderTemplate(),this.show_slice?this.insertSubwidget(this.$.find(".Ldt-CreateAnnotation-Slice"),{type:"Slice",show_arrow:this.show_arrow,annotation_type:this.slice_annotation_type,onBoundsChanged:function(o,u){n.setBeginEnd(o,u)}},"slice"):(this.show_arrow&&this.insertSubwidget(this.$.find(".Ldt-CreateAnnotation-Arrow"),{type:"Arrow"},"arrow"),this.onMediaEvent("timeupdate",function(o){n.$.find(".Ldt-CreateAnnotation-Description").val().trim()==""&&(n.setBeginEnd(o,o),n.arrow&&n.arrow.moveToTime(o))})),this.$.find(".Ldt-CreateAnnotation-Cancel").click(function(){n.player.trigger("CreateAnnotation.hide")}),this.$.find(".Ldt-CreateAnnotation-Close").click(function(){return n.close_after_send?n.player.trigger("CreateAnnotation.hide"):n.showScreen("Main"),!1}),this.$.find(".Ldt-CreateAnnotation-TagLi, .Ldt-CreateAnnotation-PolemicLi").click(function(){return n.addKeyword(jQuery(this).attr("data-text")),!1}),this.$.find(".Ldt-CreateAnnotation-PolemicLi").each(function(){var o=jQuery(this),u=o.attr("data-text"),l=n.l10n["polemic"+u];l&&o.attr("title",l)}),this.$.find(".Ldt-CreateAnnotation-Description").bind("change keyup input paste",this.functionWrapper("onDescriptionChange")),this.show_title_field&&this.$.find(".Ldt-CreateAnnotation-Title").bind("change keyup input paste",this.functionWrapper("onTitleChange")),this.show_creator_field&&this.$.find(".Ldt-CreateAnnotation-Creator").bind("change keyup input paste",this.functionWrapper("onCreatorChange")),this.$.find("[class^='Ldt-CreateAnnotation-Control-']").click(function(){var o=this.className.replace("Ldt-CreateAnnotation-Control-","");switch(o){case"In":this.setBegin(n.media.getCurrentTime());break;case"Out":this.setEnd(n.media.getCurrentTime()||n.media.duration);break;case"Play":this.media.setCurrentTime(n.begin),this.media.play();break}return!1}),this.start_visible?this.show():(this.$.hide(),this.hide()),this.onMdpEvent("CreateAnnotation.toggle","toggle"),this.onMdpEvent("CreateAnnotation.hide","hide"),this.onMdpEvent("CreateAnnotation.show","show"),this.$.find("form").submit(this.functionWrapper("onSubmit"))}setBegin(n){this.begin=new t.Model.Time(n||0),this.$.find(".Ldt-CreateAnnotation-Begin").html(this.begin.toString())}setEnd(n){this.end=new t.Model.Time(n||0),this.$.find(".Ldt-CreateAnnotation-End").html(this.end.toString())}setBeginEnd(n,o){this.setBegin(n),this.setEnd(o)}showScreen(n){this.$.find(".Ldt-CreateAnnotation-"+n).show().siblings().hide()}show(){this.visible||(this.visible=!0,this.pause_when_displaying&&this.media.pause(),this.showScreen("Main"),this.$.find(".Ldt-CreateAnnotation-Description").val("").css("border-color","#666666").addClass("empty"),this.show_title_field&&this.$.find(".Ldt-CreateAnnotation-Title").val("").css("border-color","#666666").addClass("empty"),this.show_creator_field&&(this.$.find(".Ldt-CreateAnnotation-Creator").val(this.creator_name).css("border-color","#666666"),this.creator_name||this.$.find(".Ldt-CreateAnnotation-Creator").addClass("empty")),this.$.find(".Ldt-CreateAnnotation-TagLi, .Ldt-CreateAnnotation-PolemicLi").removeClass("selected"),this.$.slideDown(),this.minimize_annotation_widget&&this.player.trigger("Annotation.minimize"))}hide(){this.visible&&(this.always_visible||(this.visible=!1,this.$.slideUp(),this.minimize_annotation_widget&&this.player.trigger("Annotation.maximize")))}toggle(){if(!this.always_visible)if(this.visible)this.hide();else{var n=this.media.getCurrentTime()||0;this.setBeginEnd(n,n),this.slice_widget&&this.slice_widget.setBounds(this.begin,this.end),this.show(),this.$.find(".Ldt-CreateAnnotation-Description").focus()}}addKeyword(n){var o=this.$.find(".Ldt-CreateAnnotation-Description"),u=t.Model.regexpFromTextOrArray(n),l=o.val();l=l.match(u)?l.replace(u,""):l+" "+n,o.val(l.replace(/\s{2,}/g," ").replace(/(^\s+|\s+$)/g,"")),this.onDescriptionChange()}pauseOnWrite(){this.pause_on_write&&!this.media.getPaused()&&this.media.pause()}onDescriptionChange(n){if(n!==void 0&&n.keyCode==13&&!n.shiftKey)return this.onSubmit(),!0;var o=this.$.find(".Ldt-CreateAnnotation-Description"),u=o.val();return o.css("border-color",u?"#666666":"#ff0000"),u?o.removeClass("empty"):o.addClass("empty"),this.$.find(".Ldt-CreateAnnotation-TagLi, .Ldt-CreateAnnotation-PolemicLi").each(function(){var l=t.Model.regexpFromTextOrArray(jQuery(this).attr("data-text"));u.match(l)?jQuery(this).addClass("selected"):jQuery(this).removeClass("selected")}),this.pauseOnWrite(),!!u}onTitleChange(){var n=this.$.find(".Ldt-CreateAnnotation-Title"),o=n.val();return n.css("border-color",o?"#666666":"#ff0000"),o?n.removeClass("empty"):n.addClass("empty"),this.pauseOnWrite(),!!o}onCreatorChange(){var n=this.$.find(".Ldt-CreateAnnotation-Creator"),o=n.val();return n.css("border-color",o?"#666666":"#ff0000"),o?n.removeClass("empty"):n.addClass("empty"),this.pauseOnWrite(),!!o}onSubmit(){if(!this.onDescriptionChange()||this.show_title_field&&!this.onTitleChange()||this.show_creator_field&&!this.onCreatorChange())return!1;var n=this,o=new t.Model.List(this.player.sourceManager),u=this.player.sourceManager.newLocalSource({serializer:t.serializers[this.api_serializer]}),l=this.player.sourceManager.newLocalSource({serializer:t.serializers.ldt_localstorage}),m=new t.Model.Annotation(!1,u),y=this.source.getAnnotationTypes().searchByTitle(this.annotation_type,!0),E=y.length?y[0]:new t.Model.AnnotationType(!1,u),C=mustache.render(this.api_endpoint_template,{id:this.source.projectId});if(y.length||(E.dont_send_id=!0,E.title=this.annotation_type),m.setMedia(this.source.currentMedia.id),this.post_at_segment_time){var k=this.media.getCurrentTime(),A=this.source.getAnnotationsByTypeTitle(this.segments_annotation_type),D=A.filter(function(R){return k>=R.begin&&k<=R.end});D.length==0?(m.setBegin(this.begin),m.setEnd(this.end)):(m.setBegin(D[0].begin),m.setEnd(D[0].end))}else m.setBeginEnd(this.begin,this.end);m.setAnnotationType(E.id),this.show_title_field&&(m.title=this.$.find(".Ldt-CreateAnnotation-Title").val()),this.project_id!=""&&(m.project_id=this.project_id),m.created=new Date,m.description=this.$.find(".Ldt-CreateAnnotation-Description").val();var P=Array.prototype.map.call(this.$.find(".Ldt-CreateAnnotation-TagLi.selected"),function(R){return jQuery(R).attr("tag-id")});if(_$1(m.description.match(/#[^\s#.,;]+/g)).each(function(R){var B,F=R.replace(/^#/,""),O=n.source.getTags().searchByTitle(F,!0);O.length?B=O[0]:(B=new t.Model.Tag(!1,n.source),n.source.getTags().push(B),B.title=F),P.indexOf(B.id)===-1&&P.push(B.id)}),m.setTags(_$1(P).uniq()),this.audio_url&&(m.audio={src:"mic",mimetype:"audio/mp3",href:this.audio_url}),this.show_creator_field?m.creator=this.$.find(".Ldt-CreateAnnotation-Creator").val():m.creator=this.creator_name,o.push(m),this.editable_storage!=""&&(l.addList("annotation",o),n.source.merge(l),window.localStorage[this.editable_storage]&&l.deSerialize(window.localStorage[this.editable_storage]),window.localStorage[n.editable_storage]=l.serialize(),n.player.trigger("AnnotationsList.refresh"),n.player.trigger("Annotation.create",m),n.$.find(".Ldt-CreateAnnotation-Description").val("")),C!==""){o.push(m),u.addList("annotation",o);var n=this;jQuery.ajax({url:C,type:this.api_method,contentType:"application/json",data:u.serialize(),success:function(B){n.showScreen("Saved"),n.after_send_timeout&&window.setTimeout(function(){n.close_after_send?n.player.trigger("CreateAnnotation.hide"):n.player.trigger("CreateAnnotation.show")},n.after_send_timeout),u.getAnnotations().removeElement(m,!0),u.deSerialize(B),n.source.merge(u),n.pause_on_write&&n.media.getPaused()&&n.media.play(),n.player.trigger("AnnotationsList.refresh")},error:function(B,F,O){t.log("Error when sending annotation",O),u.getAnnotations().removeElement(m,!0),n.showScreen("Error"),window.setTimeout(function(){n.showScreen("Main")},n.after_send_timeout||5e3)}}),this.showScreen("Wait")}return!1}},Fi(e,"defaults",{show_title_field:!0,show_creator_field:!0,creator_field_readonly:!1,start_visible:!0,always_visible:!1,show_slice:!0,show_arrow:!0,show_time:!0,minimize_annotation_widget:!0,creator_name:"",creator_avatar:"",tags:!1,tag_titles:!1,pause_on_write:!0,max_tags:8,polemics:[{keyword:"++",background_color:"#00a000",text_color:"#ffffff"},{keyword:"--",background_color:"#c00000",text_color:"#ffffff"},{keyword:"??",background_color:"#0000e0",text_color:"#ffffff"},{keyword:"==",background_color:"#f0e000",text_color:"#000000"}],slice_annotation_type:"chap",annotation_type:"Contributions",post_at_segment_time:!1,segment_annotation_type:"chap",api_serializer:"ldt_annotate",api_endpoint_template:"",api_method:"POST",editable_storage:"",project_id:"",after_send_timeout:0,close_after_send:!1,tag_prefix:"#",pause_when_displaying:!1,custom_send_button:!1,custom_cancel_button:!1,custom_description_placeholder:!1,preview_mode:!1}),Fi(e,"messages",{en:{from_time:"from",to_time:"to",at_time:"at",submit:"Submit",preview_submit:"You cannot submit annotations in preview mode",cancel:"Cancel",add_keywords_:"Add keywords:",add_polemic_keywords_:"Add polemic attributes :",your_name_:"Your name:",annotate_video:"New note",type_title:"Annotation title",type_description:"Enter a new note...",wait_while_processing:"Please wait while your annotation is being processed...",error_while_contacting:"An error happened while contacting the server. Your annotation has not been saved.",annotation_saved:"Thank you, your annotation has been saved.",share_annotation:"Would you like to share it on social networks ?",close_widget:"Hide the annotation form","polemic++":"Agree","polemic--":"Disagree","polemic??":"Question","polemic==":"Reference",in_tooltip:"Set begin time to current player time",out_tooltip:"Set begin time to current player time",play_tooltip:"Play the fragment"},fr:{from_time:"de",to_time:"à",at_time:"à",submit:"Envoyer",preview_submit:"Vous ne pouvez pas envoyer d'annotation en mode aperçu",cancel:"Annuler",add_keywords_:"Ajouter des mots-clés :",add_polemic_keywords_:"Ajouter des attributs polémiques :",your_name_:"Votre nom :",annotate_video:"Entrez une nouvelle note...",type_title:"Titre de l'annotation",type_description:"Prenez vos notes...",wait_while_processing:"Veuillez patienter pendant le traitement de votre annotation...",error_while_contacting:"Une erreur s'est produite en contactant le serveur. Votre annotation n'a pas été enregistrée.",annotation_saved:"Merci, votre annotation a été enregistrée.",share_annotation:"Souhaitez-vous la partager sur les réseaux sociaux ?",close_widget:"Cacher le formulaire de création d'annotations","polemic++":"Accord","polemic--":"Désaccord","polemic??":"Question","polemic==":"Référence",in_tooltip:"Utiliser le temps courant comme début",out_tooltip:"Utiliser le temps courant comme fin",play_tooltip:"Jouer le fragment"}}),Fi(e,"template",'{{#show_slice}}<div class="Ldt-CreateAnnotation-Slice Ldt-TraceMe"></div>{{/show_slice}}{{^show_slice}}{{#show_arrow}}<div class="Ldt-CreateAnnotation-Arrow"></div>{{/show_arrow}}{{/show_slice}}<div class="Ldt-CreateAnnotation"><div class="Ldt-CreateAnnotation-Inner"><form class="Ldt-CreateAnnotation-Screen Ldt-CreateAnnotation-Main"><h3><span class="Ldt-CreateAnnotation-h3Left">{{l10n.annotate_video}}{{#show_title_field}}</span></h3><h3><span class="Ldt-CreateAnnotation-h3Left"><input class="Ldt-CreateAnnotation-Title empty" placeholder="{{l10n.type_title}}" />{{/show_title_field}}{{#show_time}}<span class="Ldt-CreateAnnotation-Times"> {{#show_slice}}{{l10n.from_time}} {{/show_slice}}{{^show_slice}}{{l10n.at_time}} {{/show_slice}} <span class="Ldt-CreateAnnotation-Begin">00:00</span>{{/show_time}}{{#show_slice}} {{l10n.to_time}} <span class="Ldt-CreateAnnotation-End">{{end}}</span>{{/show_slice}}</span></span>{{#show_creator_field}}{{l10n.your_name_}} <input class="Ldt-CreateAnnotation-Creator empty" value="{{creator_name}}" {{#creator_field_readonly}}readonly{{/creator_field_readonly}}/>{{/show_creator_field}}</h3>{{#show_controls}}<div class="Ldt-CreateAnnotation-Controls"><span title="{{l10n.in_tooltip}}" class="Ldt-CreateAnnotation-Control-In">In</span><span title="{{l10n.out_tooltip}}" class="Ldt-CreateAnnotation-Control-Out">Out</span><span title="{{l10n.play_tooltip}}" class="Ldt-CreateAnnotation-Control-Play">Play</span></div>{{/show_controls}}<textarea class="Ldt-CreateAnnotation-Description Ldt-TraceMe empty" placeholder="{{#custom_description_placeholder}}{{custom_description_placeholder}}{{/custom_description_placeholder}}{{^custom_description_placeholder}}{{l10n.type_description}}{{/custom_description_placeholder}}"></textarea>{{#show_creator_field}}<div class="Ldt-CreateAnnotation-Avatar"><img src="{{creator_avatar}}" title="{{creator_name}}"></img></div>{{/show_creator_field}}<div class="Ldt-CreateAnnotation-SubmitArea Ldt-TraceMe">{{#preview_mode}}<input type="button" class="Ldt-CreateAnnotation-PreviewSubmit" title="{{l10n.preview_submit}}" value="{{#custom_send_button}}{{custom_send_button}}{{/custom_send_button}}{{^custom_send_button}}{{l10n.submit}}{{/custom_send_button}}" />{{/preview_mode}}{{^preview_mode}}<input type="submit" class="Ldt-CreateAnnotation-Submit" value="{{#custom_send_button}}{{custom_send_button}}{{/custom_send_button}}{{^custom_send_button}}{{l10n.submit}}{{/custom_send_button}}" />{{/preview_mode}}<input type="button" class="Ldt-CreateAnnotation-Cancel" value="{{#custom_cancel_button}}{{custom_cancel_button}}{{/custom_cancel_button}}{{^custom_cancel_button}}{{l10n.cancel}}{{/custom_cancel_button}}" /><div class="Ldt-CreateAnnotation-Begin Ldt-CreateAnnotation-Times">00:00</div></div>{{#tags.length}}<div class="Ldt-CreateAnnotation-Tags"><div class="Ldt-CreateAnnotation-TagTitle">{{l10n.add_keywords_}}</div><ul class="Ldt-CreateAnnotation-TagList">{{#tags}}<li class="Ldt-CreateAnnotation-TagLi" tag-id="{{id}}" data-text="{{tag_prefix}}{{title}}"><span class="Ldt-CreateAnnotation-TagButton">{{title}}</span></li>{{/tags}}</ul></div>{{/tags.length}}{{#polemics.length}}<div class="Ldt-CreateAnnotation-Polemics"><div class="Ldt-CreateAnnotation-PolemicTitle">{{l10n.add_polemic_keywords_}}</div><ul class="Ldt-CreateAnnotation-PolemicList">{{#polemics}}<li class="Ldt-CreateAnnotation-PolemicLi" style="background-color: {{background_color}}; color: {{text_color}}" data-text="{{keyword}}">{{keyword}}</li>{{/polemics}}</ul></div>{{/polemics.length}}<div style="clear: both;"></div></form><div class="Ldt-CreateAnnotation-Screen Ldt-CreateAnnotation-Wait"><div class="Ldt-CreateAnnotation-InnerBox">{{l10n.wait_while_processing}}</div></div><div class="Ldt-CreateAnnotation-Screen Ldt-CreateAnnotation-Error">{{^always_visible}}<a title="{{l10n.close_widget}}" class="Ldt-CreateAnnotation-Close" href="#"></a>{{/always_visible}}<div class="Ldt-CreateAnnotation-InnerBox">{{l10n.error_while_contacting}}</div></div><div class="Ldt-CreateAnnotation-Screen Ldt-CreateAnnotation-Saved">{{^always_visible}}<a title="{{l10n.close_widget}}" class="Ldt-CreateAnnotation-Close" href="#"></a>{{/always_visible}}<div class="Ldt-CreateAnnotation-InnerBox">{{l10n.annotation_saved}}</div></div></div></div>'),e},currentSegmentInfoboxStyles={},CurrentSegmentInfobox=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){var n=this;this.segments=this.getWidgetAnnotations(),this.renderTemplate(),this.currentSegment=!1,this.clearBox(),this.refresh(),this.onMediaEvent("timeupdate","refresh"),this.onMediaEvent("settimerange",function(o){var u=o[0],l=o[1],m=n.segments.filter(function(y){return y.begin.milliseconds==u.milliseconds&&y.end.milliseconds==l.milliseconds});m.length>0&&(n.$.toggleClass("editing",!1),n.currentSegment.id!=m[0].id&&(n.currentSegment=m[0],_data={editable_segments:n.editable_segments,edit:n.custom_edit_text?n.custom_edit_text:n.l10n.edit,title:n.currentSegment.title,description:n.currentSegment.description,description_placeholder:n.empty_description_placeholder,tags:n.currentSegment.getTagTexts()},n.$.html(mustache.render(n.template,_data)),n.editable_segments&&n.currentSegment&&n.$.find(".Ldt-CurrentSegmentInfobox").click(n.functionWrapper("enableEditMode"))))}),this.editable_segments&&this.currentSegment&&this.$.find(".Ldt-CurrentSegmentInfobox").click(n.functionWrapper("enableEditMode"))}enableEditMode(){this.currentSegment&&(_data={title:this.currentSegment.title,description:this.currentSegment.description,tags:this.currentSegment.getTagTexts(),submit:this.l10n.submit,cancel:this.l10n.cancel,headers:this.show_headers,tags_header:this.custom_tags_header?this.custom_tags_header:this.l10n.tags_header,fields_header:this.custom_fields_header?this.custom_fields_header:this.l10n.fields_header,new_tag:this.l10n.new_tag,delete_tag:this.l10n.delete_tag,new_tag_button:this.new_tag_button},this.$.toggleClass("editing",!0),this.$.html(mustache.render(this.editTemplate,_data)),this.$.find(".Ldt-CurrentSegmentInfobox-CancelButton").click(this.functionWrapper("disableEditMode")),this.new_tag_button?this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagButton").click(this.functionWrapper("insertTagInput")):(this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagInput").keypress(this.functionWrapper("insertTagInputKeypress")),this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagInput-Add").click(this.functionWrapper("insertTagInputKeypress"))),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton").click(this.functionWrapper("deleteTagInput")),this.$.find(".Ldt-CurrentSegmentInfobox-SubmitButton").click(this.functionWrapper("onSubmit")))}disableEditMode(){this.currentSegment&&(_data={editable_segments:this.editable_segments,edit:this.custom_edit_text?this.custom_edit_text:this.l10n.edit,title:this.currentSegment.title,description:this.currentSegment.description,description_placeholder:this.empty_description_placeholder,tags:this.currentSegment.getTagTexts()},this.$.toggleClass("editing",!1),this.$.html(mustache.render(this.template,_data)),this.$.find(".Ldt-CurrentSegmentInfobox").click(this.functionWrapper("enableEditMode")))}insertTagInput(){!this.currentSegment.getTagTexts().length&&!this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Ul").length&&this.$.find(".Ldt-CurrentSegmentInfobox-Tags").prepend('<ul class="Ldt-CurrentSegmentInfobox-Tags-Ul"></ul>'),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Ul").append('<li class="Ldt-CurrentSegmentInfobox-Tags-Li"><input type="text" class="Ldt-CurrentSegmentInfobox-Tags-Li-Input" value=""></input><div class="Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton">'+this.l10n.delete_tag+"</div></li>"),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton").click(this.functionWrapper("deleteTagInput"))}insertTagInputKeypress(n){var o=n.keyCode?n.keyCode:n.which;if(o=="13"||n.type=="click")return!this.currentSegment.getTagTexts().length&&!this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Ul").length&&this.$.find(".Ldt-CurrentSegmentInfobox-Tags").prepend('<ul class="Ldt-CurrentSegmentInfobox-Tags-Ul"></ul>'),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Ul").append('<li class="Ldt-CurrentSegmentInfobox-Tags-Li"><input type="text" class="Ldt-CurrentSegmentInfobox-Tags-Li-Input" value="'+this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagInput").val()+'"></input><div class="Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton">'+this.l10n.delete_tag+"</div></li>"),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton").click(this.functionWrapper("deleteTagInput")),this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagInput").val(""),!1}deleteTagInput(n){jQuery(n.currentTarget).parent().remove()}onSubmit(){new_tags_titles=this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Li-Input").map(function(){if(jQuery(this).val())return jQuery(this).val()}),new_title=this.$.find(".Ldt-CurrentSegmentInfobox-TitleInput").val(),new_description=this.$.find(".Ldt-CurrentSegmentInfobox-DescriptionInput").val();var n=this,o=new t.Model.List(this.player.sourceManager),u=this.player.sourceManager.newLocalSource({serializer:t.serializers[this.api_serializer]}),l=new t.Model.Annotation(this.currentSegment.id,u);l.setAnnotationType(this.currentSegment.getAnnotationType().id),l.setMedia(this.currentSegment.getMedia().id),l.setBegin(this.currentSegment.begin),l.setEnd(this.currentSegment.end),l.created=this.currentSegment.created,l.creator=this.currentSegment.creator,l.title=new_title,l.description=new_description;var m=_$1(new_tags_titles).map(function(y){var E=n.source.getTags(!0).searchByTitle(y,!0);if(E.length)var C=E[0];else C=new t.Model.Tag(y.replace(/\W/g,"_"),n.source),C.title=y,n.source.getTags().push(C);return C.id}).value();l.setTags(m),l.project_id=this.project_id,o.push(l),u.addList("annotation",o),_url=mustache.render(this.api_endpoint_template,{annotation_id:this.currentSegment.id}),t.jQuery.ajax({url:_url,type:this.api_method,contentType:"application/json",data:u.serialize(),success:function(y){u.getAnnotations().removeElement(l,!0),u.deSerialize(y),n.source.merge(u),n.segments.forEach(function(E){E.id==l.id&&n.segments.removeElement(E)}),n.segments.push(l),n.currentSegment=l,y={editable_segments:n.editable_segments,edit:n.custom_edit_text?n.custom_edit_text:n.l10n.edit,title:n.currentSegment.title,description:n.currentSegment.description,description_placeholder:n.empty_description_placeholder,tags:n.currentSegment.getTagTexts()},n.$.html(mustache.render(n.template,y)),n.editable_segments&&n.currentSegment&&n.$.find(".Ldt-CurrentSegmentInfobox").click(n.functionWrapper("enableEditMode")),n.$.toggleClass("editing",!1)},error:function(y,E,C){t.log("Error when sending annotation",C),u.getAnnotations().removeElement(l,!0)}})}refresh(){if(!this.media.getTimeRange()){var n=this.media.getCurrentTime(),o=this.segments.filter(function(u){return u.begin<=n&&u.end>=n});o.length>0?this.currentSegment.id!=o[0].id&&(this.currentSegment=o[0],_data={editable_segments:this.editable_segments,edit:this.custom_edit_text?this.custom_edit_text:this.l10n.edit,title:this.currentSegment.title,description:this.currentSegment.description,description_placeholder:this.empty_description_placeholder,tags:this.currentSegment.getTagTexts()},this.$.html(mustache.render(this.template,_data)),this.editable_segments&&this.currentSegment&&this.$.find(".Ldt-CurrentSegmentInfobox").click(this.functionWrapper("enableEditMode"))):(this.currentSegment=!1,this.clearBox())}}clearBox(){var n=this.l10n.empty;this.empty_message&&(n=this.empty_message),this.$.find(".Ldt-CurrentSegmentInfobox").html("<div class='Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-NoSegment'>"+n+"</div>")}},Fi(e,"defaults",{annotation_type:"chap",editable_segments:!1,empty_message:!1,project_id:!1,api_serializer:"ldt_annotate",api_method:"PUT",api_endpoint_template:"",new_tag_button:!0,show_headers:!1,custom_edit_text:!1,empty_description_placeholder:!1}),Fi(e,"template",'<div class="Ldt-CurrentSegmentInfobox"><div class="Ldt-CurrentSegmentInfobox-SelectedSegment">{{#editable_segments}}<div class="Ldt-CurrentSegmentInfobox-EditButton">{{edit}}</div>{{/editable_segments}}<div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Title">{{title}}</div><div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Description">{{description}}</div>{{^description}}{{^tags.length}}{{#description_placeholder}}<div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Description-placeholder">{{description_placeholder}}</div>{{/description_placeholder}}{{/tags.length}}{{/description}}<div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Tags">{{#tags.length}}<ul class="Ldt-CurrentSegmentInfobox-Tags-Ul">{{#tags}}{{#.}}<li class="Ldt-CurrentSegmentInfobox-Tags-Li"><span>{{.}}</span></li>{{/.}}{{/tags}}</ul>{{/tags.length}}</div></div></div>'),Fi(e,"editTemplate",'<div class="Ldt-CurrentSegmentInfobox"><div class="Ldt-CurrentSegmentInfobox-SelectedSegment">{{#headers}}<div class="Ldt-CurrentSegmentInfobox-FieldsHeader">{{fields_header}}</div>{{/headers}}<input type="text" class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-TitleInput Ldt-CurrentSegmentInfobox-Title" value="{{title}}"></input><textarea class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-DescriptionInput Ldt-CurrentSegmentInfobox-Description">{{description}}</textarea><div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Tags">{{#headers}}<div class="Ldt-CurrentSegmentInfobox-TagsHeader">{{tags_header}}</div>{{/headers}}{{#new_tag_button}}<div class="Ldt-CurrentSegmentInfobox-CreateTagButton">{{new_tag}}</div>{{/new_tag_button}}{{^new_tag_button}}<input class="Ldt-CurrentSegmentInfobox-CreateTagInput" placeholder="{{new_tag}}"></input><div class="Ldt-CurrentSegmentInfobox-CreateTagInput-Add">+</div>{{/new_tag_button}}<ul class="Ldt-CurrentSegmentInfobox-Tags-Ul">{{#tags}}{{#.}}<li class="Ldt-CurrentSegmentInfobox-Tags-Li"><input type="text" class="Ldt-CurrentSegmentInfobox-Tags-Li-Input" value="{{.}}"></input><div class="Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton">{{delete_tag}}</div></li>{{/.}}{{/tags}}</ul></div><div class="Ldt-CurrentSegmentInfobox-SubmitButton">{{submit}}</div><div class="Ldt-CurrentSegmentInfobox-CancelButton">{{cancel}}</div></div></div>'),Fi(e,"messages",{fr:{submit:"Soumettre",cancel:"Annuler",edit:"Editer",new_tag:"Nouveau tag",delete_tag:"Supprimer",fields_header:"Commentaire associé à ce segment",tags_header:"Mots-clés associés à ce segment",empty:"Le player vidéo ne lit actuellement aucun segment"},en:{submit:"Submit",cancel:"Cancel",edit:"Edit",new_tag:"New tag",delete_tag:"Delete tag",fields_header:"Current segment content",tags_header:"Current segment tags",empty:"The player currently doesn't read any segment"}}),e},DailymotionPlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(o,u){super(o,u);Fi(this,"draw",function(){typeof this.video>"u"&&(this.video=this.media.video),this.height=this.height||Math.floor(this.width/this.aspect_ratio);var o=this.media,u=null,l=this,m={pause:!0,apiready:!1,volume:0,time:0,duration:0},y=this.video.match(/www.dailymotion.com\/video\/(.+)/);y&&(u=y[1]);var E=mustache.render("{{ protocol }}//www.dailymotion.com/embed/video/{{ videoid }}",{protocol:document.location.protocol.search("http")==0?document.location.protocol:"http:",videoid:u}),C={api:"postMessage",chromeless:1,id:"dm_player",related:0,autoplay:1};l.$.html(mustache.render('<iframe id="{{ id }}" src="{{ player_url }}?{{ params }}" width="{{ width }}" height="{{ height }}" frameborder="0"></iframe>',{player_url:E,params:Object.keys(C).reduce(function(A,D){return A.push(D+"="+encodeURIComponent(C[D])),A},[]).join("&"),width:this.width,height:this.height,id:C.id}));function k(){var A=l.$.find("#"+C.id)[0].contentWindow,D=function(P,R){R!==void 0&&(P=P+"="+R),A.postMessage(P,"*")};o.getCurrentTime=function(){return m.time},o.getVolume=function(){return m.volume},o.getPaused=function(){return m.pause},o.getMuted=function(){return m.muted},o.setCurrentTime=function(P){D("seek",P/1e3)},o.setVolume=function(P){D("volume",P*100)},o.mute=function(){D("muted",1)},o.unmute=function(){D("muted",0)},o.play=function(){D("play")},o.pause=function(){D("pause")}}window.addEventListener("message",function(A){if(A.data.split!==void 0){var D=A.data.split("&").map(function(P){return P.split("=")}).reduce(function(P,R){return P[R[0]]=decodeURIComponent(R[1]),P},{});switch(D.event){case"apiready":m.apiready=!0,k();break;case"durationchange":D.duration.slice(-2)=="sc"&&(m.duration=1e3*Number(D.duration.slice(0,-2)),o.setDuration(m.duration));break;case"ended":m.pause=!0;break;case"loadedmetadata":o.trigger("loadedmetadata");break;case"pause":m.pause=!0,o.trigger("pause");break;case"play":m.pause=!1,o.trigger("play");break;case"seeked":m.time=new t.Model.Time(1e3*Number(D.time)),o.trigger("seeked");break;case"timeupdate":m.time=new t.Model.Time(1e3*Number(D.time)),o.trigger("timeupdate",m.time);break;case"volumechange":m.muted=D.muted=="true",m.volume=Number(D.volume)/100;break}}},!1)})}},Fi(e,"defaults",{aspect_ratio:14/9}),e},enrichedPlanStyles={},EnrichedPlan=function(t){var e;return e=class extends t.Widgets.Widget{constructor(o,u){super(o,u);Fi(this,"annotationTemplate",'<div title="{{ begin }} - {{ atitle }}" data-id="{{ id }}" data-timecode="{{begintc}}" class="Ldt-EnrichedPlan-SlideItem Ldt-EnrichedPlan-Note {{category}} {{filtered}}"><span class="Ldt-EnrichedPlan-Note-Text">{{{ text }}}</span> <span class="Ldt-EnrichedPlan-Note-Author">{{ author }}</span></div>')}draw(){var o=this;o.prefix="TODO";var u=this.getWidgetAnnotations().sortBy(function(C){return C.begin}),l=this.media.getAnnotations().filter(function(C){return C.getAnnotationType().title!=o.annotation_type}).sortBy(function(C){return C.begin});u.forEach(function(C){C.annotations=l.filter(function(k){return k.begin>=C.begin&&k.begin<=C.end})}),o.renderTemplate();var m=o.$.find(".Ldt-EnrichedPlan-Container"),y=o.$.find(".Ldt-EnrichedPlan-Content");function E(C){return C.title.indexOf("Anonyme")<0?"Own":"Other"}u.forEach(function(C){var k=mustache.render(o.slideTemplate,{id:C.id,atitle:t.textFieldHtml(C.title),level:C.content.level||1,begin:C.begin.toString(),begintc:C.begin.milliseconds,thumbnail:C.thumbnail,show_slides:o.show_slides,notes:C.annotations.map(function(D){return mustache.render(o.annotationTemplate,{id:D.id,text:t.textFieldHtml(D.description||D.title),author:D.creator,begin:D.begin.toString(),begintc:D.begin.milliseconds,atitle:D.title.slice(0,20),category:"Ldt-EnrichedPlan-Note-"+E(D),filtered:E(D)=="Own"&&!o.show_own_notes||E(D)=="Other"&&!o.show_other_notes||E(D)=="Teacher"&&!o.show_teacher_notes?"filtered_out":""})}).join(`
-`)}),A=t.jQuery(k);y.append(A)}),m.on("click","[data-timecode]",function(){o.media.setCurrentTime(Number(this.dataset.timecode))}),m.on("click",".Ldt-EnrichedPlan-Control-Checkbox",function(){var C=_.first(_.filter(this.classList,function(k){return k!="Ldt-EnrichedPlan-Control-Checkbox"}));C!==void 0&&(jQuery(this).is(":checked")?y.find(".Ldt-EnrichedPlan-Slide ."+C).removeClass("filtered_out"):y.find(".Ldt-EnrichedPlan-Slide ."+C).addClass("filtered_out"))}),m.find(".Ldt-EnrichedPlan-Search-Input").on("search",function(){var C=jQuery(this).val().toLocaleLowerCase();C===""?y.find(".Ldt-EnrichedPlan-Note").removeClass("non_matching"):jQuery(".Ldt-EnrichedPlan-Note").each(function(){var k=jQuery(this);k.text().toLocaleLowerCase().indexOf(C)>-1?k.removeClass("non_matching"):k.addClass("non_matching")})})}},Fi(e,"defaults",{annotation_type:"Slides",annotation_types:[],show_controls:!0,show_slides:!0,show_teacher_notes:!0,show_other_notes:!0,show_own_notes:!0}),Fi(e,"template",'<div class="Ldt-EnrichedPlan-Container">{{#show_controls}}<form class="Ldt-EnrichedPlan-Controls"> <input id="{{prefix}}teacher_note_checkbox" class="Ldt-EnrichedPlan-Control-Checkbox Ldt-EnrichedPlan-Note-Teacher" {{#show_teacher_notes}}checked{{/show_teacher_notes}} type="checkbox"> <label for="{{prefix}}teacher_note_checkbox" class="Ldt-EnrichedPlan-Control-Label Ldt-EnrichedPlan-Note-Teacher">Notes Enseignant</label> <input id="{{prefix}}other_note_checkbox" class="Ldt-EnrichedPlan-Control-Checkbox Ldt-EnrichedPlan-Note-Other" {{#show_other_notes}}checked{{/show_other_notes}} type="checkbox"> <label for="{{prefix}}other_note_checkbox" class="Ldt-EnrichedPlan-Control-Label Ldt-EnrichedPlan-Note-Other">Notes Autres</label> <input id="{{prefix}}simplified_plan_checkbox" class="Ldt-EnrichedPlan-Control-Checkbox Ldt-EnrichedPlan-Note-Own" {{#show_own_notes}}checked{{/show_own_notes}} type="checkbox"> <label for="{{prefix}}simplified_plan_checkbox" class="Ldt-EnrichedPlan-Control-Label Ldt-EnrichedPlan-Note-Own">Notes perso.</label> <input id="{{prefix}}slide_display_checkbox" class="Ldt-EnrichedPlan-Control-Checkbox Ldt-EnrichedPlan-Slide-Display" {{#show_slides}}checked{{/show_slides}} type="checkbox"> <label for="{{prefix}}slide_display_checkbox" class="Ldt-EnrichedPlan-Control-Label Ldt-EnrichedPlan-Slide-Display">Diapo<br/>&nbsp;</label> <input class="Ldt-EnrichedPlan-Search-Input" type="search" incremental placeholder="Recherchez"/></form>{{/show_controls}}<div class="Ldt-EnrichedPlan-Content"></div></div>'),Fi(e,"slideTemplate",'<div data-id="{{ id }}" class="Ldt-EnrichedPlan-Slide">  <div class="Ldt-EnrichedPlan-SlideItem Ldt-EnrichedPlan-SlideTimecode">{{ begin }}</div>  <div data-timecode="{{begintc}}" class="Ldt-EnrichedPlan-SlideItem {{^show_slides}}filtered_out{{/show_slides}} Ldt-EnrichedPlan-SlideThumbnail Ldt-EnrichedPlan-Slide-Display"><img title="{{ begin }} - {{ atitle }}" src="{{ thumbnail }}"></div>  <div class="Ldt-EnrichedPlan-SlideContent">     <div data-timecode="{{begintc}}" class="Ldt-EnrichedPlan-SlideTitle Ldt-EnrichedPlan-SlideTitle{{ level }}">{{ atitle }}</div>     <div class="Ldt-EnrichedPlan-SlideNotes">{{{ notes }}}</div>  </div></div>'),e},highlighterStyles={},Highlighter=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o);var u=this;this.throttledRefresh=_$1.throttle(function(){console.log("highlighter Refresh"),u.update()},800)}update(){var n=this,o=n.media.getCurrentTime();return n.$.find(".Ldt-Highlighter-Annotation",document).toggleClass("currentAnnotation",function(){return this.dataset.media===n.media.id&&this.dataset.begin<=o&&o<this.dataset.end}),console.log(n.$.find(".currentAnnotation")),!1}draw(){for(var n=this,o=["timeupdate","seeked","loadedmetadata"],u=0;u<o.length;u++)n.onMediaEvent(o[u],n.throttledRefresh);n.throttledRefresh()}},Fi(e,"defaults",{}),e},HtmlMashupPlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){!this.height&&this.aspect_ratio&&(this.height=this.width/this.aspect_ratio,this.$.css("height",this.height)),this.background&&this.$.css("background",this.background);var n=this.media,o=this.$,u=this.width,l=this.height,m=this.url_transform;n.currentMedia=null,n.currentAnnotation=null,n.seeking=!1;var y,E,C=0,k;function A(){C>=n.duration&&(n.paused||(n.paused=!0,n.trigger("pause")),C=0);var P=n.getAnnotationAtTime(C);if(typeof P>"u"){n.currentMedia&&(n.currentMedia.pause(),n.paused||(n.paused=!0,n.trigger("pause")));return}n.currentAnnotation=P,y=n.currentAnnotation.annotation.begin.milliseconds,E=n.currentAnnotation.annotation.end.milliseconds,k=y-n.currentAnnotation.begin.milliseconds,n.currentMedia=n.currentAnnotation.getMedia(),n.getMedias().forEach(function(R){R!==n.currentMedia?(R.hide(),R.pause()):R.show()}),n.currentMedia.setCurrentTime(C+k),n.currentMedia.seeking=!0,n.paused||(n.currentMedia.play(),n.seeking=!0),n.trigger("timeupdate",new t.Model.Time(C))}n.getMedias().forEach(D),A(),n.trigger("loadedmetadata");function D(P){if(!P.has_player){P.has_player=!0;var R=P.video;typeof m=="function"&&(R=m(P.video));var B="video_"+P.id,F;P.show=function(){if(document.getElementById(B))return;P.loaded=!1,P.paused=!0;var Y=jQuery("<video>");if(Y.attr({id:B,width:u,height:l}).css({width:u,height:l}),typeof R=="string")Y.attr("src",R);else for(var J=0;J<R.length;J++){var ie=t.jQuery("<source>");ie.attr({src:R[J].src,type:R[J].type}),Y.append(ie)}o.append(Y),F=Y[0];function ue(){P.muted=F.muted,P.volume=F.volume}Y.on("loadedmetadata",function(){ue(),P.loaded=!0,P.trigger("loadedmetadata"),P.trigger("volumechange")}),Y.on("timeupdate",function(){P.trigger("timeupdate",new t.Model.Time(1e3*F.currentTime))}),Y.on("volumechange",function(){ue(),P.trigger("volumechange")}),Y.on("play",function(){P.trigger("play")}),Y.on("pause",function(){P.trigger("pause")}),Y.on("seeking",function(){P.trigger("seeking")}),Y.on("seeked",function(){P.trigger("seeked")})},P.hide=function(){F=void 0,o.find("#"+B).remove()};var O=void 0,N=void 0;P.on("setcurrenttime",function(Y){if(F&&F.readyState>=F.HAVE_METADATA)try{F.currentTime=Y/1e3,O=void 0}catch{O=Y}else O=Y}),P.on("setvolume",function(Y){F&&F.readyState>=F.HAVE_METADATA&&(P.volume=Y,F.volume=Y)}),P.on("setmuted",function(Y){F&&F.readyState>=F.HAVE_METADATA&&(P.muted=Y,F.muted=Y)}),P.on("setplay",function(){if(F&&F.readyState>=F.HAVE_METADATA)try{F.play(),N=void 0}catch{N=!0}else N=!0}),P.on("setpause",function(){if(F&&F.readyState>=F.HAVE_METADATA)try{F.pause(),N=void 0}catch{N=!1}else N=!1}),P.on("loadedmetadata",function(){typeof O<"u"&&P.setCurrentTime(O),typeof N<"u"&&(N?P.play():P.pause())}),P.on("play",function(){P===n.currentMedia&&n.trigger("play")}),P.on("pause",function(){P===n.currentMedia&&n.trigger("pause")}),P.on("timeupdate",function(Y){!n.paused&&P===n.currentMedia&&!P.seeking&&(Y<E?Y>=y?C=Y-k:(C=y-k,P.setCurrentTime(y)):(C=E-k,P.pause(),A()),n.trigger("timeupdate",new t.Model.Time(C)))}),P.on("seeked",function(){P.seeking=!1,P===n.currentMedia&&n.seeking&&(n.seeking=!1)}),P.on("volumechange",function(){n.muted=P.muted,n.volume=P.volume,n.trigger("volumechange")})}}n.on("setcurrenttime",function(P){C=P,A()}),n.on("setvolume",function(P){n.getMedias().forEach(function(R){R.setVolume(P)}),n.volume=P}),n.on("setmuted",function(P){n.getMedias().forEach(function(R){R.setMuted(P)}),n.muted=P}),n.on("setplay",function(){n.paused=!1,A()}),n.on("setpause",function(){n.paused=!0,n.currentMedia&&n.currentMedia.pause()}),n.on("loadedmetadata",function(){A()})}},Fi(e,"defaults",{aspect_ratio:14/9,background:"#333333"}),e},HtmlPlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){t.htmlPlayer(this.media,this.$,this)}},Fi(e,"defaults",{}),e},imageDisplayStyles={},ImageDisplay=function(t){var e;return e=class extends t.Widgets.Widget{constructor(o,u){super(o,u);Fi(this,"annotationTemplate","")}update(o){this.image.css("background-image","url("+o.thumbnail+")"),this.image.attr("title",t.textFieldHtml(o.title)+" - "+o.begin.toString())}draw(){var o=this.getWidgetAnnotations().sortBy(function(l){return l.begin}),u=this;u.renderTemplate(),u.image=u.$.find(".Ldt-ImageDisplay-Container"),u.$.find(".Ldt-ImageDisplay-Overlay-Left").on("click",function(){u.navigate(-1)}),u.$.find(".Ldt-ImageDisplay-Overlay-Right").on("click",function(){u.navigate(1)}),o.forEach(function(l){l.on("enter",function(){u.update(l)})}),o.length&&u.update(o[0])}},Fi(e,"defaults",{annotation_type:"Slides"}),Fi(e,"template",'<div class="Ldt-ImageDisplay-Container"><div class="Ldt-ImageDisplay-Overlay Ldt-ImageDisplay-Overlay-Left"></div><div class="Ldt-ImageDisplay-Overlay Ldt-ImageDisplay-Overlay-Right"></div></div>'),e};var hasOwn$1=Object.prototype.hasOwnProperty,toStr$4=Object.prototype.toString,defineProperty=Object.defineProperty,gOPD$2=Object.getOwnPropertyDescriptor,isArray$3=function(e){return typeof Array.isArray=="function"?Array.isArray(e):toStr$4.call(e)==="[object Array]"},isPlainObject=function(e){if(!e||toStr$4.call(e)!=="[object Object]")return!1;var n=hasOwn$1.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&hasOwn$1.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!o)return!1;var u;for(u in e);return typeof u>"u"||hasOwn$1.call(e,u)},setProperty=function(e,n){defineProperty&&n.name==="__proto__"?defineProperty(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},getProperty=function(e,n){if(n==="__proto__")if(hasOwn$1.call(e,n)){if(gOPD$2)return gOPD$2(e,n).value}else return;return e[n]},extend$1=function t(){var e,n,o,u,l,m,y=arguments[0],E=1,C=arguments.length,k=!1;for(typeof y=="boolean"&&(k=y,y=arguments[1]||{},E=2),(y==null||typeof y!="object"&&typeof y!="function")&&(y={});E<C;++E)if(e=arguments[E],e!=null)for(n in e)o=getProperty(y,n),u=getProperty(e,n),y!==u&&(k&&u&&(isPlainObject(u)||(l=isArray$3(u)))?(l?(l=!1,m=o&&isArray$3(o)?o:[]):m=o&&isPlainObject(o)?o:{},setProperty(y,{name:n,newValue:t(k,m,u)})):typeof u<"u"&&setProperty(y,{name:n,newValue:u}));return y},cookies$1={},cookie={},empty=null;const empty$1=Object.freeze(Object.defineProperty({__proto__:null,default:empty},Symbol.toStringTag,{value:"Module"})),require$$1$5=getAugmentedNamespace(empty$1);var punycode$2={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */punycode$2.exports;var hasRequiredPunycode;function requirePunycode(){return hasRequiredPunycode||(hasRequiredPunycode=1,function(t,e){(function(n){var o=e&&!e.nodeType&&e,u=t&&!t.nodeType&&t,l=typeof commonjsGlobal$1=="object"&&commonjsGlobal$1;(l.global===l||l.window===l||l.self===l)&&(n=l);var m,y=2147483647,E=36,C=1,k=26,A=38,D=700,P=72,R=128,B="-",F=/^xn--/,O=/[^\x20-\x7E]/,N=/[\x2E\u3002\uFF0E\uFF61]/g,Y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J=E-C,ie=Math.floor,ue=String.fromCharCode,Q;function ce(h){throw new RangeError(Y[h])}function he(h,T){for(var M=h.length,j=[];M--;)j[M]=T(h[M]);return j}function ke(h,T){var M=h.split("@"),j="";M.length>1&&(j=M[0]+"@",h=M[1]),h=h.replace(N,".");var V=h.split("."),ee=he(V,T).join(".");return j+ee}function L(h){for(var T=[],M=0,j=h.length,V,ee;M<j;)V=h.charCodeAt(M++),V>=55296&&V<=56319&&M<j?(ee=h.charCodeAt(M++),(ee&64512)==56320?T.push(((V&1023)<<10)+(ee&1023)+65536):(T.push(V),M--)):T.push(V);return T}function d(h){return he(h,function(T){var M="";return T>65535&&(T-=65536,M+=ue(T>>>10&1023|55296),T=56320|T&1023),M+=ue(T),M}).join("")}function v(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:E}function w(h,T){return h+22+75*(h<26)-((T!=0)<<5)}function c(h,T,M){var j=0;for(h=M?ie(h/D):h>>1,h+=ie(h/T);h>J*k>>1;j+=E)h=ie(h/J);return ie(j+(J+1)*h/(h+A))}function p(h){var T=[],M=h.length,j,V=0,ee=R,Z=P,U,z,ne,fe,me,de,Oe,lt,it;for(U=h.lastIndexOf(B),U<0&&(U=0),z=0;z<U;++z)h.charCodeAt(z)>=128&&ce("not-basic"),T.push(h.charCodeAt(z));for(ne=U>0?U+1:0;ne<M;){for(fe=V,me=1,de=E;ne>=M&&ce("invalid-input"),Oe=v(h.charCodeAt(ne++)),(Oe>=E||Oe>ie((y-V)/me))&&ce("overflow"),V+=Oe*me,lt=de<=Z?C:de>=Z+k?k:de-Z,!(Oe<lt);de+=E)it=E-lt,me>ie(y/it)&&ce("overflow"),me*=it;j=T.length+1,Z=c(V-fe,j,fe==0),ie(V/j)>y-ee&&ce("overflow"),ee+=ie(V/j),V%=j,T.splice(V++,0,ee)}return d(T)}function x(h){var T,M,j,V,ee,Z,U,z,ne,fe,me,de=[],Oe,lt,it,ot;for(h=L(h),Oe=h.length,T=R,M=0,ee=P,Z=0;Z<Oe;++Z)me=h[Z],me<128&&de.push(ue(me));for(j=V=de.length,V&&de.push(B);j<Oe;){for(U=y,Z=0;Z<Oe;++Z)me=h[Z],me>=T&&me<U&&(U=me);for(lt=j+1,U-T>ie((y-M)/lt)&&ce("overflow"),M+=(U-T)*lt,T=U,Z=0;Z<Oe;++Z)if(me=h[Z],me<T&&++M>y&&ce("overflow"),me==T){for(z=M,ne=E;fe=ne<=ee?C:ne>=ee+k?k:ne-ee,!(z<fe);ne+=E)ot=z-fe,it=E-fe,de.push(ue(w(fe+ot%it,0))),z=ie(ot/it);de.push(ue(w(z,0))),ee=c(M,lt,j==V),M=0,++j}++M,++T}return de.join("")}function S(h){return ke(h,function(T){return F.test(T)?p(T.slice(4).toLowerCase()):T})}function b(h){return ke(h,function(T){return O.test(T)?"xn--"+x(T):T})}if(m={version:"1.4.1",ucs2:{decode:L,encode:d},decode:p,encode:x,toASCII:b,toUnicode:S},o&&u)if(t.exports==o)u.exports=m;else for(Q in m)m.hasOwnProperty(Q)&&(o[Q]=m[Q]);else n.punycode=m})(commonjsGlobal$1)}(punycode$2,punycode$2.exports)),punycode$2.exports}var punycodeExports=requirePunycode();const require$$0$3=getDefaultExportFromCjs$1(punycodeExports);function hasOwnProperty$1(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var decode$1=function(t,e,n,o){e=e||"&",n=n||"=";var u={};if(typeof t!="string"||t.length===0)return u;var l=/\+/g;t=t.split(e);var m=1e3;o&&typeof o.maxKeys=="number"&&(m=o.maxKeys);var y=t.length;m>0&&y>m&&(y=m);for(var E=0;E<y;++E){var C=t[E].replace(l,"%20"),k=C.indexOf(n),A,D,P,R;k>=0?(A=C.substr(0,k),D=C.substr(k+1)):(A=C,D=""),P=decodeURIComponent(A),R=decodeURIComponent(D),hasOwnProperty$1(u,P)?isArray$2(u[P])?u[P].push(R):u[P]=[u[P],R]:u[P]=R}return u},isArray$2=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"},stringifyPrimitive=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},encode$1=function(t,e,n,o){return e=e||"&",n=n||"=",t===null&&(t=void 0),typeof t=="object"?map(objectKeys$1(t),function(u){var l=encodeURIComponent(stringifyPrimitive(u))+n;return isArray$1(t[u])?map(t[u],function(m){return l+encodeURIComponent(stringifyPrimitive(m))}).join(e):l+encodeURIComponent(stringifyPrimitive(t[u]))}).join(e):o?encodeURIComponent(stringifyPrimitive(o))+n+encodeURIComponent(stringifyPrimitive(t)):""},isArray$1=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function map(t,e){if(t.map)return t.map(e);for(var n=[],o=0;o<t.length;o++)n.push(e(t[o],o));return n}var objectKeys$1=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e},stringify$1,parse$3,decode=parse$3=decode$1,encode=stringify$1=encode$1;function qsEscape(t){return encodeURIComponent(t)}function qsUnescape(t){return decodeURIComponent(t)}var api$2={decode,encode,parse:parse$3,stringify:stringify$1,escape:qsEscape,unescape:qsUnescape};const querystring$2=Object.freeze(Object.defineProperty({__proto__:null,decode,default:api$2,encode,escape:qsEscape,get parse(){return parse$3},get stringify(){return stringify$1},unescape:qsUnescape},Symbol.toStringTag,{value:"Module"}));var util$1$1={isString:function(t){return typeof t=="string"},isObject:function(t){return typeof t=="object"&&t!==null},isNull:function(t){return t===null},isNullOrUndefined:function(t){return t==null}},punycode$1=require$$0$3,util$7=util$1$1,parse$2=urlParse$1,resolve$1=urlResolve,resolveObject=urlResolveObject,format$1=urlFormat,Url_1=Url;function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r",`
-`,"	"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring$1=api$2;function urlParse$1(t,e,n){if(t&&util$7.isObject(t)&&t instanceof Url)return t;var o=new Url;return o.parse(t,e,n),o}Url.prototype.parse=function(t,e,n){if(!util$7.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),u=o!==-1&&o<t.indexOf("#")?"?":"#",l=t.split(u),m=/\\/g;l[0]=l[0].replace(m,"/"),t=l.join(u);var y=t;if(y=y.trim(),!n&&t.split("#").length===1){var E=simplePathPattern.exec(y);if(E)return this.path=y,this.href=y,this.pathname=E[1],E[2]?(this.search=E[2],e?this.query=querystring$1.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var C=protocolPattern.exec(y);if(C){C=C[0];var k=C.toLowerCase();this.protocol=k,y=y.substr(C.length)}if(n||C||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var A=y.substr(0,2)==="//";A&&!(C&&hostlessProtocol[C])&&(y=y.substr(2),this.slashes=!0)}if(!hostlessProtocol[C]&&(A||C&&!slashedProtocol[C])){for(var D=-1,P=0;P<hostEndingChars.length;P++){var R=y.indexOf(hostEndingChars[P]);R!==-1&&(D===-1||R<D)&&(D=R)}var B,F;D===-1?F=y.lastIndexOf("@"):F=y.lastIndexOf("@",D),F!==-1&&(B=y.slice(0,F),y=y.slice(F+1),this.auth=decodeURIComponent(B)),D=-1;for(var P=0;P<nonHostChars.length;P++){var R=y.indexOf(nonHostChars[P]);R!==-1&&(D===-1||R<D)&&(D=R)}D===-1&&(D=y.length),this.host=y.slice(0,D),y=y.slice(D),this.parseHost(),this.hostname=this.hostname||"";var O=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!O)for(var N=this.hostname.split(/\./),P=0,Y=N.length;P<Y;P++){var J=N[P];if(J&&!J.match(hostnamePartPattern)){for(var ie="",ue=0,Q=J.length;ue<Q;ue++)J.charCodeAt(ue)>127?ie+="x":ie+=J[ue];if(!ie.match(hostnamePartPattern)){var ce=N.slice(0,P),he=N.slice(P+1),ke=J.match(hostnamePartStart);ke&&(ce.push(ke[1]),he.unshift(ke[2])),he.length&&(y="/"+he.join(".")+y),this.hostname=ce.join(".");break}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=punycode$1.toASCII(this.hostname));var L=this.port?":"+this.port:"",d=this.hostname||"";this.host=d+L,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),y[0]!=="/"&&(y="/"+y))}if(!unsafeProtocol[k])for(var P=0,Y=autoEscape.length;P<Y;P++){var v=autoEscape[P];if(y.indexOf(v)!==-1){var w=encodeURIComponent(v);w===v&&(w=escape(v)),y=y.split(v).join(w)}}var c=y.indexOf("#");c!==-1&&(this.hash=y.substr(c),y=y.slice(0,c));var p=y.indexOf("?");if(p!==-1?(this.search=y.substr(p),this.query=y.substr(p+1),e&&(this.query=querystring$1.parse(this.query)),y=y.slice(0,p)):e&&(this.search="",this.query={}),y&&(this.pathname=y),slashedProtocol[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var L=this.pathname||"",x=this.search||"";this.path=L+x}return this.href=this.format(),this};function urlFormat(t){return util$7.isString(t)&&(t=urlParse$1(t)),t instanceof Url?t.format():Url.prototype.format.call(t)}Url.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",o=this.hash||"",u=!1,l="";this.host?u=t+this.host:this.hostname&&(u=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(u+=":"+this.port)),this.query&&util$7.isObject(this.query)&&Object.keys(this.query).length&&(l=querystring$1.stringify(this.query));var m=this.search||l&&"?"+l||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||slashedProtocol[e])&&u!==!1?(u="//"+(u||""),n&&n.charAt(0)!=="/"&&(n="/"+n)):u||(u=""),o&&o.charAt(0)!=="#"&&(o="#"+o),m&&m.charAt(0)!=="?"&&(m="?"+m),n=n.replace(/[?#]/g,function(y){return encodeURIComponent(y)}),m=m.replace("#","%23"),e+u+n+m+o};function urlResolve(t,e){return urlParse$1(t,!1,!0).resolve(e)}Url.prototype.resolve=function(t){return this.resolveObject(urlParse$1(t,!1,!0)).format()};function urlResolveObject(t,e){return t?urlParse$1(t,!1,!0).resolveObject(e):e}Url.prototype.resolveObject=function(t){if(util$7.isString(t)){var e=new Url;e.parse(t,!1,!0),t=e}for(var n=new Url,o=Object.keys(this),u=0;u<o.length;u++){var l=o[u];n[l]=this[l]}if(n.hash=t.hash,t.href==="")return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var m=Object.keys(t),y=0;y<m.length;y++){var E=m[y];E!=="protocol"&&(n[E]=t[E])}return slashedProtocol[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!slashedProtocol[t.protocol]){for(var C=Object.keys(t),k=0;k<C.length;k++){var A=C[k];n[A]=t[A]}return n.href=n.format(),n}if(n.protocol=t.protocol,!t.host&&!hostlessProtocol[t.protocol]){for(var Y=(t.pathname||"").split("/");Y.length&&!(t.host=Y.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),Y[0]!==""&&Y.unshift(""),Y.length<2&&Y.unshift(""),n.pathname=Y.join("/")}else n.pathname=t.pathname;if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var D=n.pathname||"",P=n.search||"";n.path=D+P}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var R=n.pathname&&n.pathname.charAt(0)==="/",B=t.host||t.pathname&&t.pathname.charAt(0)==="/",F=B||R||n.host&&t.pathname,O=F,N=n.pathname&&n.pathname.split("/")||[],Y=t.pathname&&t.pathname.split("/")||[],J=n.protocol&&!slashedProtocol[n.protocol];if(J&&(n.hostname="",n.port=null,n.host&&(N[0]===""?N[0]=n.host:N.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(Y[0]===""?Y[0]=t.host:Y.unshift(t.host)),t.host=null),F=F&&(Y[0]===""||N[0]==="")),B)n.host=t.host||t.host===""?t.host:n.host,n.hostname=t.hostname||t.hostname===""?t.hostname:n.hostname,n.search=t.search,n.query=t.query,N=Y;else if(Y.length)N||(N=[]),N.pop(),N=N.concat(Y),n.search=t.search,n.query=t.query;else if(!util$7.isNullOrUndefined(t.search)){if(J){n.hostname=n.host=N.shift();var ie=n.host&&n.host.indexOf("@")>0?n.host.split("@"):!1;ie&&(n.auth=ie.shift(),n.host=n.hostname=ie.shift())}return n.search=t.search,n.query=t.query,(!util$7.isNull(n.pathname)||!util$7.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!N.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var ue=N.slice(-1)[0],Q=(n.host||t.host||N.length>1)&&(ue==="."||ue==="..")||ue==="",ce=0,he=N.length;he>=0;he--)ue=N[he],ue==="."?N.splice(he,1):ue===".."?(N.splice(he,1),ce++):ce&&(N.splice(he,1),ce--);if(!F&&!O)for(;ce--;ce)N.unshift("..");F&&N[0]!==""&&(!N[0]||N[0].charAt(0)!=="/")&&N.unshift(""),Q&&N.join("/").substr(-1)!=="/"&&N.push("");var ke=N[0]===""||N[0]&&N[0].charAt(0)==="/";if(J){n.hostname=n.host=ke?"":N.length?N.shift():"";var ie=n.host&&n.host.indexOf("@")>0?n.host.split("@"):!1;ie&&(n.auth=ie.shift(),n.host=n.hostname=ie.shift())}return F=F||n.host&&N.length,F&&!ke&&N.unshift(""),N.length?n.pathname=N.join("/"):(n.pathname=null,n.path=null),(!util$7.isNull(n.pathname)||!util$7.isNull(n.search))&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},Url.prototype.parseHost=function(){var t=this.host,e=portPattern.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};function normalizeArray(t,e){for(var n=0,o=t.length-1;o>=0;o--){var u=t[o];u==="."?t.splice(o,1):u===".."?(t.splice(o,1),n++):n&&(t.splice(o,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function resolve(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var o=n>=0?arguments[n]:"/";if(typeof o!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!o)continue;t=o+"/"+t,e=o.charAt(0)==="/"}return t=normalizeArray(filter(t.split("/"),function(u){return!!u}),!e).join("/"),(e?"/":"")+t||"."}function filter(t,e){if(t.filter)return t.filter(e);for(var n=[],o=0;o<t.length;o++)e(t[o],o,t)&&n.push(t[o]);return n}var _globalThis=function(t){function e(){var o=this||self;return delete t.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var n=__magic__;return n}(Object),formatImport=format$1,parseImport=parse$2,resolveImport=resolve$1,UrlImport=Url_1,URL$1=_globalThis.URL,URLSearchParams=_globalThis.URLSearchParams,percentRegEx=/%/g,backslashRegEx=/\\/g,newlineRegEx=/\n/g,carriageReturnRegEx=/\r/g,tabRegEx=/\t/g,CHAR_FORWARD_SLASH=47;function isURLInstance(t){var e=t??null;return!!(e!==null&&(e!=null&&e.href)&&(e!=null&&e.origin))}function getPathFromURLPosix(t){if(t.hostname!=="")throw new TypeError('File URL host must be "localhost" or empty on browser');for(var e=t.pathname,n=0;n<e.length;n++)if(e[n]==="%"){var o=e.codePointAt(n+2)|32;if(e[n+1]==="2"&&o===102)throw new TypeError("File URL path must not include encoded / characters")}return decodeURIComponent(e)}function encodePathChars(t){return t.includes("%")&&(t=t.replace(percentRegEx,"%25")),t.includes("\\")&&(t=t.replace(backslashRegEx,"%5C")),t.includes(`
-`)&&(t=t.replace(newlineRegEx,"%0A")),t.includes("\r")&&(t=t.replace(carriageReturnRegEx,"%0D")),t.includes("	")&&(t=t.replace(tabRegEx,"%09")),t}var domainToASCII=function(e){if(typeof e>"u")throw new TypeError('The "domain" argument must be specified');return new URL$1("http://"+e).hostname},domainToUnicode=function(e){if(typeof e>"u")throw new TypeError('The "domain" argument must be specified');return new URL$1("http://"+e).hostname},pathToFileURL=function(e){var n=new URL$1("file://"),o=resolve(e),u=e.charCodeAt(e.length-1);return u===CHAR_FORWARD_SLASH&&o[o.length-1]!=="/"&&(o+="/"),n.pathname=encodePathChars(o),n},fileURLToPath=function(e){if(!isURLInstance(e)&&typeof e!="string")throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+" ("+e+")");var n=new URL$1(e);if(n.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return getPathFromURLPosix(n)},formatImportWithOverloads=function(e,n){var o,u,l;if(n===void 0&&(n={}),!(e instanceof URL$1))return formatImport(e);if(typeof n!="object"||n===null)throw new TypeError('The "options" argument must be of type object.');var m=(o=n.auth)!=null?o:!0,y=(u=n.fragment)!=null?u:!0,E=(l=n.search)!=null?l:!0,C=new URL$1(e.toString());return m||(C.username="",C.password=""),y||(C.hash=""),E||(C.search=""),C.toString()},api$1={format:formatImportWithOverloads,parse:parseImport,resolve:resolveImport,resolveObject,Url:UrlImport,URL:URL$1,URLSearchParams,domainToASCII,domainToUnicode,pathToFileURL,fileURLToPath};const url=Object.freeze(Object.defineProperty({__proto__:null,URL:URL$1,URLSearchParams,Url:UrlImport,default:api$1,domainToASCII,domainToUnicode,fileURLToPath,format:formatImportWithOverloads,parse:parseImport,pathToFileURL,resolve:resolveImport,resolveObject},Symbol.toStringTag,{value:"Module"})),require$$2$2=getAugmentedNamespace(url);var util$6={},types$1={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var u=42;e[n]=u;for(n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var l=Object.getOwnPropertySymbols(e);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var m=Object.getOwnPropertyDescriptor(e,n);if(m.value!==u||m.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range=RangeError,ref$1=ReferenceError,syntax=SyntaxError,type$j=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(e,n){for(var o=[],u=0;u<e.length;u+=1)o[u]=e[u];for(var l=0;l<n.length;l+=1)o[l+e.length]=n[l];return o},slicy=function(e,n){for(var o=[],u=n,l=0;u<e.length;u+=1,l+=1)o[l]=e[u];return o},joiny=function(t,e){for(var n="",o=0;o<t.length;o+=1)n+=t[o],o+1<t.length&&(n+=e);return n},implementation$5=function(e){var n=this;if(typeof n!="function"||toStr$3.apply(n)!==funcType)throw new TypeError(ERROR_MESSAGE+n);for(var o=slicy(arguments,1),u,l=function(){if(this instanceof u){var k=n.apply(this,concatty(o,arguments));return Object(k)===k?k:this}return n.apply(e,concatty(o,arguments))},m=max(0,n.length-o.length),y=[],E=0;E<m;E++)y[E]="$"+E;if(u=Function("binder","return function ("+joiny(y,",")+"){ return binder.apply(this,arguments); }")(l),n.prototype){var C=function(){};C.prototype=n.prototype,u.prototype=new C,C.prototype=null}return u},implementation$4=implementation$5,functionBind=Function.prototype.bind||implementation$4,call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind$1=functionBind,hasown=bind$1.call(call,$hasOwn),undefined$1,$Error=esErrors,$EvalError=_eval,$RangeError=range,$ReferenceError=ref$1,$SyntaxError$1=syntax,$TypeError$2=type$j,$URIError=uri,$Function=Function,getEvalledConstructor=function(t){try{return $Function('"use strict"; return ('+t+").constructor;")()}catch{}},$gOPD$1=Object.getOwnPropertyDescriptor;if($gOPD$1)try{$gOPD$1({},"")}catch{$gOPD$1=null}var throwTypeError=function(){throw new $TypeError$2},ThrowTypeError=$gOPD$1?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD$1(arguments,"callee").get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=hasSymbols$1(),hasProto=hasProto$1(),getProto$1=Object.getPrototypeOf||(hasProto?function(t){return t.__proto__}:null),needsEval={},TypedArray=typeof Uint8Array>"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(t){var errorProto=getProto$1(getProto$1(t));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function t(e){var n;if(e==="%AsyncFunction%")n=getEvalledConstructor("async function () {}");else if(e==="%GeneratorFunction%")n=getEvalledConstructor("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=getEvalledConstructor("async function* () {}");else if(e==="%AsyncGenerator%"){var o=t("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if(e==="%AsyncIteratorPrototype%"){var u=t("%AsyncGenerator%");u&&getProto$1&&(n=getProto$1(u.prototype))}return INTRINSICS[e]=n,n},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=functionBind,hasOwn=hasown,$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(e){var n=$strSlice(e,0,1),o=$strSlice(e,-1);if(n==="%"&&o!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&n!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var u=[];return $replace(e,rePropName,function(l,m,y,E){u[u.length]=y?$replace(E,reEscapeChar,"$1"):m||l}),u},getBaseIntrinsic=function(e,n){var o=e,u;if(hasOwn(LEGACY_ALIASES,o)&&(u=LEGACY_ALIASES[o],o="%"+u[0]+"%"),hasOwn(INTRINSICS,o)){var l=INTRINSICS[o];if(l===needsEval&&(l=doEval(o)),typeof l>"u"&&!n)throw new $TypeError$2("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:u,name:o,value:l}}throw new $SyntaxError$1("intrinsic "+e+" does not exist!")},getIntrinsic=function(e,n){if(typeof e!="string"||e.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,e)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=stringToPath(e),u=o.length>0?o[0]:"",l=getBaseIntrinsic("%"+u+"%",n),m=l.name,y=l.value,E=!1,C=l.alias;C&&(u=C[0],$spliceApply(o,$concat([0,1],C)));for(var k=1,A=!0;k<o.length;k+=1){var D=o[k],P=$strSlice(D,0,1),R=$strSlice(D,-1);if((P==='"'||P==="'"||P==="`"||R==='"'||R==="'"||R==="`")&&P!==R)throw new $SyntaxError$1("property names with quotes must have matching quotes");if((D==="constructor"||!A)&&(E=!0),u+="."+D,m="%"+u+"%",hasOwn(INTRINSICS,m))y=INTRINSICS[m];else if(y!=null){if(!(D in y)){if(!n)throw new $TypeError$2("base intrinsic for "+e+" exists, but the property is not available.");return}if($gOPD$1&&k+1>=o.length){var B=$gOPD$1(y,D);A=!!B,A&&"get"in B&&!("originalValue"in B.get)?y=B.get:y=y[D]}else A=hasOwn(y,D),y=y[D];A&&!E&&(INTRINSICS[m]=y)}}return y},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var t=getIntrinsic,e=t("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return esDefineProperty=e,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type$j,gopd=gopd$1,defineDataProperty=function(e,n,o){if(!e||typeof e!="object"&&typeof e!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,m=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,E=!!gopd&&gopd(e,n);if($defineProperty$1)$defineProperty$1(e,n,{configurable:m===null&&E?E.configurable:!m,enumerable:u===null&&E?E.enumerable:!u,value:o,writable:l===null&&E?E.writable:!l});else if(y||!u&&!l&&!m)e[n]=o;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define$1=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type$j,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(e,n){if(typeof e!="function")throw new $TypeError("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||$floor(n)!==n)throw new $TypeError("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],u=!0,l=!0;if("length"in e&&gOPD$1){var m=gOPD$1(e,"length");m&&!m.configurable&&(u=!1),m&&!m.writable&&(l=!1)}return(u||l||!o)&&(hasDescriptors?define$1(e,"length",n,!0,!0):define$1(e,"length",n)),e};(function(t){var e=functionBind,n=getIntrinsic,o=setFunctionLength,u=type$j,l=n("%Function.prototype.apply%"),m=n("%Function.prototype.call%"),y=n("%Reflect.apply%",!0)||e.call(m,l),E=requireEsDefineProperty(),C=n("%Math.max%");t.exports=function(D){if(typeof D!="function")throw new u("a function is required");var P=y(e,m,arguments);return o(P,1+C(0,D.length-(arguments.length-1)),!0)};var k=function(){return y(e,l,arguments)};E?E(t.exports,"apply",{value:k}):t.exports.apply=k})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(e,n){var o=GetIntrinsic(e,!!n);return typeof o=="function"&&$indexOf$1(e,".prototype.")>-1?callBind$1(o):o},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(e){return hasToStringTag$3&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:$toString$1(e)==="[object Arguments]"},isLegacyArguments=function(e){return isStandardArguments(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&$toString$1(e)!=="[object Array]"&&$toString$1(e.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments$1=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(e){if(typeof e!="function")return!1;if(isFnRegex.test(fnToStr$1.call(e)))return!0;if(!hasToStringTag$2){var n=toStr$2.call(e);return n==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var o=getGeneratorFunc();GeneratorFunction=o?getProto(o):!1}return getProto(e)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(t){t!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(e){try{var n=fnToStr.call(e);return constructorRegex.test(n)}catch{return!1}},tryFunctionObject=function(e){try{return isES6ClassFn(e)?!1:(fnToStr.call(e),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(e){if((isIE68||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=toStr$1.call(e);return(n===ddaClass||n===ddaClass2||n===ddaClass3||n===objectClass)&&e("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(e){if(isDDA(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{reflectApply(e,null,badArrayLike)}catch(n){if(n!==isCallableMarker)return!1}return!isES6ClassFn(e)&&tryFunctionObject(e)}:function(e){if(isDDA(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(e);if(isES6ClassFn(e))return!1;var n=toStr$1.call(e);return n!==fnClass&&n!==genClass&&!/^\[object HTML/.test(n)?!1:tryFunctionObject(e)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,forEachArray=function(e,n,o){for(var u=0,l=e.length;u<l;u++)hasOwnProperty.call(e,u)&&(o==null?n(e[u],u,e):n.call(o,e[u],u,e))},forEachString=function(e,n,o){for(var u=0,l=e.length;u<l;u++)o==null?n(e.charAt(u),u,e):n.call(o,e.charAt(u),u,e)},forEachObject=function(e,n,o){for(var u in e)hasOwnProperty.call(e,u)&&(o==null?n(e[u],u,e):n.call(o,e[u],u,e))},forEach$1=function(e,n,o){if(!isCallable(n))throw new TypeError("iterator must be a function");var u;arguments.length>=3&&(u=o),toStr.call(e)==="[object Array]"?forEachArray(e,n,u):typeof e=="string"?forEachString(e,n,u):forEachObject(e,n,u)},forEach_1=forEach$1,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal$1:globalThis,availableTypedArrays$1=function(){for(var e=[],n=0;n<possibleNames.length;n++)typeof g$1[possibleNames[n]]=="function"&&(e[e.length]=possibleNames[n]);return e},forEach=forEach_1,availableTypedArrays=availableTypedArrays$1,callBind=callBindExports,callBound=callBound$2,gOPD=gopd$1,$toString=callBound("Object.prototype.toString"),hasToStringTag=shams(),g=typeof globalThis>"u"?commonjsGlobal$1:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(e,n){for(var o=0;o<e.length;o+=1)if(e[o]===n)return o;return-1},cache$1={__proto__:null};hasToStringTag&&gOPD&&getPrototypeOf?forEach(typedArrays,function(t){var e=new g[t];if(Symbol.toStringTag in e){var n=getPrototypeOf(e),o=gOPD(n,Symbol.toStringTag);if(!o){var u=getPrototypeOf(n);o=gOPD(u,Symbol.toStringTag)}cache$1["$"+t]=callBind(o.get)}}):forEach(typedArrays,function(t){var e=new g[t],n=e.slice||e.set;n&&(cache$1["$"+t]=callBind(n))});var tryTypedArrays=function(e){var n=!1;return forEach(cache$1,function(o,u){if(!n)try{"$"+o(e)===u&&(n=$slice(u,1))}catch{}}),n},trySlices=function(e){var n=!1;return forEach(cache$1,function(o,u){if(!n)try{o(e),n=$slice(u,1)}catch{}}),n},whichTypedArray$1=function(e){if(!e||typeof e!="object")return!1;if(!hasToStringTag){var n=$slice($toString(e),8,-1);return $indexOf(typedArrays,n)>-1?n:n!=="Object"?!1:trySlices(e)}return gOPD?tryTypedArrays(e):null},whichTypedArray=whichTypedArray$1,isTypedArray=function(e){return!!whichTypedArray(e)};(function(t){var e=isArguments$1,n=isGeneratorFunction,o=whichTypedArray$1,u=isTypedArray;function l(Je){return Je.call.bind(Je)}var m=typeof BigInt<"u",y=typeof Symbol<"u",E=l(Object.prototype.toString),C=l(Number.prototype.valueOf),k=l(String.prototype.valueOf),A=l(Boolean.prototype.valueOf);if(m)var D=l(BigInt.prototype.valueOf);if(y)var P=l(Symbol.prototype.valueOf);function R(Je,tt){if(typeof Je!="object")return!1;try{return tt(Je),!0}catch{return!1}}t.isArgumentsObject=e,t.isGeneratorFunction=n,t.isTypedArray=u;function B(Je){return typeof Promise<"u"&&Je instanceof Promise||Je!==null&&typeof Je=="object"&&typeof Je.then=="function"&&typeof Je.catch=="function"}t.isPromise=B;function F(Je){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Je):u(Je)||j(Je)}t.isArrayBufferView=F;function O(Je){return o(Je)==="Uint8Array"}t.isUint8Array=O;function N(Je){return o(Je)==="Uint8ClampedArray"}t.isUint8ClampedArray=N;function Y(Je){return o(Je)==="Uint16Array"}t.isUint16Array=Y;function J(Je){return o(Je)==="Uint32Array"}t.isUint32Array=J;function ie(Je){return o(Je)==="Int8Array"}t.isInt8Array=ie;function ue(Je){return o(Je)==="Int16Array"}t.isInt16Array=ue;function Q(Je){return o(Je)==="Int32Array"}t.isInt32Array=Q;function ce(Je){return o(Je)==="Float32Array"}t.isFloat32Array=ce;function he(Je){return o(Je)==="Float64Array"}t.isFloat64Array=he;function ke(Je){return o(Je)==="BigInt64Array"}t.isBigInt64Array=ke;function L(Je){return o(Je)==="BigUint64Array"}t.isBigUint64Array=L;function d(Je){return E(Je)==="[object Map]"}d.working=typeof Map<"u"&&d(new Map);function v(Je){return typeof Map>"u"?!1:d.working?d(Je):Je instanceof Map}t.isMap=v;function w(Je){return E(Je)==="[object Set]"}w.working=typeof Set<"u"&&w(new Set);function c(Je){return typeof Set>"u"?!1:w.working?w(Je):Je instanceof Set}t.isSet=c;function p(Je){return E(Je)==="[object WeakMap]"}p.working=typeof WeakMap<"u"&&p(new WeakMap);function x(Je){return typeof WeakMap>"u"?!1:p.working?p(Je):Je instanceof WeakMap}t.isWeakMap=x;function S(Je){return E(Je)==="[object WeakSet]"}S.working=typeof WeakSet<"u"&&S(new WeakSet);function b(Je){return S(Je)}t.isWeakSet=b;function h(Je){return E(Je)==="[object ArrayBuffer]"}h.working=typeof ArrayBuffer<"u"&&h(new ArrayBuffer);function T(Je){return typeof ArrayBuffer>"u"?!1:h.working?h(Je):Je instanceof ArrayBuffer}t.isArrayBuffer=T;function M(Je){return E(Je)==="[object DataView]"}M.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&M(new DataView(new ArrayBuffer(1),0,1));function j(Je){return typeof DataView>"u"?!1:M.working?M(Je):Je instanceof DataView}t.isDataView=j;var V=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function ee(Je){return E(Je)==="[object SharedArrayBuffer]"}function Z(Je){return typeof V>"u"?!1:(typeof ee.working>"u"&&(ee.working=ee(new V)),ee.working?ee(Je):Je instanceof V)}t.isSharedArrayBuffer=Z;function U(Je){return E(Je)==="[object AsyncFunction]"}t.isAsyncFunction=U;function z(Je){return E(Je)==="[object Map Iterator]"}t.isMapIterator=z;function ne(Je){return E(Je)==="[object Set Iterator]"}t.isSetIterator=ne;function fe(Je){return E(Je)==="[object Generator]"}t.isGeneratorObject=fe;function me(Je){return E(Je)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=me;function de(Je){return R(Je,C)}t.isNumberObject=de;function Oe(Je){return R(Je,k)}t.isStringObject=Oe;function lt(Je){return R(Je,A)}t.isBooleanObject=lt;function it(Je){return m&&R(Je,D)}t.isBigIntObject=it;function ot(Je){return y&&R(Je,P)}t.isSymbolObject=ot;function Ct(Je){return de(Je)||Oe(Je)||lt(Je)||it(Je)||ot(Je)}t.isBoxedPrimitive=Ct;function nt(Je){return typeof Uint8Array<"u"&&(T(Je)||Z(Je))}t.isAnyArrayBuffer=nt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Je){Object.defineProperty(t,Je,{enumerable:!1,value:function(){throw new Error(Je+" is not supported in userland")}})})})(types$1);var isBufferBrowser=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"},inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(e,n){if(n){e.super_=n;var o=function(){};o.prototype=n.prototype,e.prototype=new o,e.prototype.constructor=e}};var inherits_browserExports=inherits_browser.exports;(function(t){var e=Object.getOwnPropertyDescriptors||function(j){for(var V=Object.keys(j),ee={},Z=0;Z<V.length;Z++)ee[V[Z]]=Object.getOwnPropertyDescriptor(j,V[Z]);return ee},n=/%[sdj%]/g;t.format=function(M){if(!ie(M)){for(var j=[],V=0;V<arguments.length;V++)j.push(m(arguments[V]));return j.join(" ")}for(var V=1,ee=arguments,Z=ee.length,U=String(M).replace(n,function(ne){if(ne==="%%")return"%";if(V>=Z)return ne;switch(ne){case"%s":return String(ee[V++]);case"%d":return Number(ee[V++]);case"%j":try{return JSON.stringify(ee[V++])}catch{return"[Circular]"}default:return ne}}),z=ee[V];V<Z;z=ee[++V])N(z)||!he(z)?U+=" "+z:U+=" "+m(z);return U},t.deprecate=function(M,j){if(typeof process$1<"u"&&process$1.noDeprecation===!0)return M;if(typeof process$1>"u")return function(){return t.deprecate(M,j).apply(this,arguments)};var V=!1;function ee(){if(!V){if(process$1.throwDeprecation)throw new Error(j);process$1.traceDeprecation?console.trace(j):console.error(j),V=!0}return M.apply(this,arguments)}return ee};var o={},u=/^$/;if(process$1.env.NODE_DEBUG){var l=process$1.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),u=new RegExp("^"+l+"$","i")}t.debuglog=function(M){if(M=M.toUpperCase(),!o[M])if(u.test(M)){var j=process$1.pid;o[M]=function(){var V=t.format.apply(t,arguments);console.error("%s %d: %s",M,j,V)}}else o[M]=function(){};return o[M]};function m(M,j){var V={seen:[],stylize:E};return arguments.length>=3&&(V.depth=arguments[2]),arguments.length>=4&&(V.colors=arguments[3]),O(j)?V.showHidden=j:j&&t._extend(V,j),Q(V.showHidden)&&(V.showHidden=!1),Q(V.depth)&&(V.depth=2),Q(V.colors)&&(V.colors=!1),Q(V.customInspect)&&(V.customInspect=!0),V.colors&&(V.stylize=y),k(V,M,V.depth)}t.inspect=m,m.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},m.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function y(M,j){var V=m.styles[j];return V?"\x1B["+m.colors[V][0]+"m"+M+"\x1B["+m.colors[V][1]+"m":M}function E(M,j){return M}function C(M){var j={};return M.forEach(function(V,ee){j[V]=!0}),j}function k(M,j,V){if(M.customInspect&&j&&d(j.inspect)&&j.inspect!==t.inspect&&!(j.constructor&&j.constructor.prototype===j)){var ee=j.inspect(V,M);return ie(ee)||(ee=k(M,ee,V)),ee}var Z=A(M,j);if(Z)return Z;var U=Object.keys(j),z=C(U);if(M.showHidden&&(U=Object.getOwnPropertyNames(j)),L(j)&&(U.indexOf("message")>=0||U.indexOf("description")>=0))return D(j);if(U.length===0){if(d(j)){var ne=j.name?": "+j.name:"";return M.stylize("[Function"+ne+"]","special")}if(ce(j))return M.stylize(RegExp.prototype.toString.call(j),"regexp");if(ke(j))return M.stylize(Date.prototype.toString.call(j),"date");if(L(j))return D(j)}var fe="",me=!1,de=["{","}"];if(F(j)&&(me=!0,de=["[","]"]),d(j)){var Oe=j.name?": "+j.name:"";fe=" [Function"+Oe+"]"}if(ce(j)&&(fe=" "+RegExp.prototype.toString.call(j)),ke(j)&&(fe=" "+Date.prototype.toUTCString.call(j)),L(j)&&(fe=" "+D(j)),U.length===0&&(!me||j.length==0))return de[0]+fe+de[1];if(V<0)return ce(j)?M.stylize(RegExp.prototype.toString.call(j),"regexp"):M.stylize("[Object]","special");M.seen.push(j);var lt;return me?lt=P(M,j,V,z,U):lt=U.map(function(it){return R(M,j,V,z,it,me)}),M.seen.pop(),B(lt,fe,de)}function A(M,j){if(Q(j))return M.stylize("undefined","undefined");if(ie(j)){var V="'"+JSON.stringify(j).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return M.stylize(V,"string")}if(J(j))return M.stylize(""+j,"number");if(O(j))return M.stylize(""+j,"boolean");if(N(j))return M.stylize("null","null")}function D(M){return"["+Error.prototype.toString.call(M)+"]"}function P(M,j,V,ee,Z){for(var U=[],z=0,ne=j.length;z<ne;++z)S(j,String(z))?U.push(R(M,j,V,ee,String(z),!0)):U.push("");return Z.forEach(function(fe){fe.match(/^\d+$/)||U.push(R(M,j,V,ee,fe,!0))}),U}function R(M,j,V,ee,Z,U){var z,ne,fe;if(fe=Object.getOwnPropertyDescriptor(j,Z)||{value:j[Z]},fe.get?fe.set?ne=M.stylize("[Getter/Setter]","special"):ne=M.stylize("[Getter]","special"):fe.set&&(ne=M.stylize("[Setter]","special")),S(ee,Z)||(z="["+Z+"]"),ne||(M.seen.indexOf(fe.value)<0?(N(V)?ne=k(M,fe.value,null):ne=k(M,fe.value,V-1),ne.indexOf(`
-`)>-1&&(U?ne=ne.split(`
+ */var objectToString$1=Object.prototype.toString,isArray$4=Array.isArray||function(e){return objectToString$1.call(e)==="[object Array]"};function isFunction$1(n){return typeof n=="function"}function typeStr(n){return isArray$4(n)?"array":typeof n}function escapeRegExp(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function hasProperty(n,e){return n!=null&&typeof n=="object"&&e in n}function primitiveHasOwnProperty(n,e){return n!=null&&typeof n!="object"&&n.hasOwnProperty&&n.hasOwnProperty(e)}var regExpTest=RegExp.prototype.test;function testRegExp(n,e){return regExpTest.call(n,e)}var nonSpaceRe=/\S/;function isWhitespace(n){return!testRegExp(nonSpaceRe,n)}var entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function escapeHtml(n){return String(n).replace(/[&<>"'`=\/]/g,function(o){return entityMap[o]})}var whiteRe=/\s*/,spaceRe=/\s+/,equalsRe=/\s*=/,curlyRe=/\s*\}/,tagRe=/#|\^|\/|>|\{|&|=|!/;function parseTemplate(n,e){if(!n)return[];var o=!1,l=[],t=[],u=[],h=!1,v=!1,w="",A=0;function E(){if(h&&!v)for(;u.length;)delete t[u.pop()];else u=[];h=!1,v=!1}var C,M,P;function I(le){if(typeof le=="string"&&(le=le.split(spaceRe,2)),!isArray$4(le)||le.length!==2)throw new Error("Invalid tags: "+le);C=new RegExp(escapeRegExp(le[0])+"\\s*"),M=new RegExp("\\s*"+escapeRegExp(le[1])),P=new RegExp("\\s*"+escapeRegExp("}"+le[1]))}I(e||mustache.tags);for(var j=new Scanner(n),B,F,N,ee,Z,re;!j.eos();){if(B=j.pos,N=j.scanUntil(C),N)for(var fe=0,V=N.length;fe<V;++fe)ee=N.charAt(fe),isWhitespace(ee)?(u.push(t.length),w+=ee):(v=!0,o=!0,w+=" "),t.push(["text",ee,B,B+1]),B+=1,ee===`
+`&&(E(),w="",A=0,o=!1);if(!j.scan(C))break;if(h=!0,F=j.scan(tagRe)||"name",j.scan(whiteRe),F==="="?(N=j.scanUntil(equalsRe),j.scan(equalsRe),j.scanUntil(M)):F==="{"?(N=j.scanUntil(P),j.scan(curlyRe),j.scanUntil(M),F="&"):N=j.scanUntil(M),!j.scan(M))throw new Error("Unclosed tag at "+j.pos);if(F==">"?Z=[F,N,B,j.pos,w,A,o]:Z=[F,N,B,j.pos],A++,t.push(Z),F==="#"||F==="^")l.push(Z);else if(F==="/"){if(re=l.pop(),!re)throw new Error('Unopened section "'+N+'" at '+B);if(re[1]!==N)throw new Error('Unclosed section "'+re[1]+'" at '+B)}else F==="name"||F==="{"||F==="&"?v=!0:F==="="&&I(N)}if(E(),re=l.pop(),re)throw new Error('Unclosed section "'+re[1]+'" at '+j.pos);return nestTokens(squashTokens(t))}function squashTokens(n){for(var e=[],o,l,t=0,u=n.length;t<u;++t)o=n[t],o&&(o[0]==="text"&&l&&l[0]==="text"?(l[1]+=o[1],l[3]=o[3]):(e.push(o),l=o));return e}function nestTokens(n){for(var e=[],o=e,l=[],t,u,h=0,v=n.length;h<v;++h)switch(t=n[h],t[0]){case"#":case"^":o.push(t),l.push(t),o=t[4]=[];break;case"/":u=l.pop(),u[5]=t[2],o=l.length>0?l[l.length-1][4]:e;break;default:o.push(t)}return e}function Scanner(n){this.string=n,this.tail=n,this.pos=0}Scanner.prototype.eos=function(){return this.tail===""},Scanner.prototype.scan=function(e){var o=this.tail.match(e);if(!o||o.index!==0)return"";var l=o[0];return this.tail=this.tail.substring(l.length),this.pos+=l.length,l},Scanner.prototype.scanUntil=function(e){var o=this.tail.search(e),l;switch(o){case-1:l=this.tail,this.tail="";break;case 0:l="";break;default:l=this.tail.substring(0,o),this.tail=this.tail.substring(o)}return this.pos+=l.length,l};function Context(n,e){this.view=n,this.cache={".":this.view},this.parent=e}Context.prototype.push=function(e){return new Context(e,this)},Context.prototype.lookup=function(e){var o=this.cache,l;if(o.hasOwnProperty(e))l=o[e];else{for(var t=this,u,h,v,w=!1;t;){if(e.indexOf(".")>0)for(u=t.view,h=e.split("."),v=0;u!=null&&v<h.length;)v===h.length-1&&(w=hasProperty(u,h[v])||primitiveHasOwnProperty(u,h[v])),u=u[h[v++]];else u=t.view[e],w=hasProperty(t.view,e);if(w){l=u;break}t=t.parent}o[e]=l}return isFunction$1(l)&&(l=l.call(this.view)),l};function Writer(){this.templateCache={_cache:{},set:function(e,o){this._cache[e]=o},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}Writer.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()},Writer.prototype.parse=function(e,o){var l=this.templateCache,t=e+":"+(o||mustache.tags).join(":"),u=typeof l<"u",h=u?l.get(t):void 0;return h==null&&(h=parseTemplate(e,o),u&&l.set(t,h)),h},Writer.prototype.render=function(e,o,l,t){var u=this.getConfigTags(t),h=this.parse(e,u),v=o instanceof Context?o:new Context(o,void 0);return this.renderTokens(h,v,l,e,t)},Writer.prototype.renderTokens=function(e,o,l,t,u){for(var h="",v,w,A,E=0,C=e.length;E<C;++E)A=void 0,v=e[E],w=v[0],w==="#"?A=this.renderSection(v,o,l,t,u):w==="^"?A=this.renderInverted(v,o,l,t,u):w===">"?A=this.renderPartial(v,o,l,u):w==="&"?A=this.unescapedValue(v,o):w==="name"?A=this.escapedValue(v,o,u):w==="text"&&(A=this.rawValue(v)),A!==void 0&&(h+=A);return h},Writer.prototype.renderSection=function(e,o,l,t,u){var h=this,v="",w=o.lookup(e[1]);function A(M){return h.render(M,o,l,u)}if(w){if(isArray$4(w))for(var E=0,C=w.length;E<C;++E)v+=this.renderTokens(e[4],o.push(w[E]),l,t,u);else if(typeof w=="object"||typeof w=="string"||typeof w=="number")v+=this.renderTokens(e[4],o.push(w),l,t,u);else if(isFunction$1(w)){if(typeof t!="string")throw new Error("Cannot use higher-order sections without the original template");w=w.call(o.view,t.slice(e[3],e[5]),A),w!=null&&(v+=w)}else v+=this.renderTokens(e[4],o,l,t,u);return v}},Writer.prototype.renderInverted=function(e,o,l,t,u){var h=o.lookup(e[1]);if(!h||isArray$4(h)&&h.length===0)return this.renderTokens(e[4],o,l,t,u)},Writer.prototype.indentPartial=function(e,o,l){for(var t=o.replace(/[^ \t]/g,""),u=e.split(`
+`),h=0;h<u.length;h++)u[h].length&&(h>0||!l)&&(u[h]=t+u[h]);return u.join(`
+`)},Writer.prototype.renderPartial=function(e,o,l,t){if(l){var u=this.getConfigTags(t),h=isFunction$1(l)?l(e[1]):l[e[1]];if(h!=null){var v=e[6],w=e[5],A=e[4],E=h;w==0&&A&&(E=this.indentPartial(h,A,v));var C=this.parse(E,u);return this.renderTokens(C,o,l,E,t)}}},Writer.prototype.unescapedValue=function(e,o){var l=o.lookup(e[1]);if(l!=null)return l},Writer.prototype.escapedValue=function(e,o,l){var t=this.getConfigEscape(l)||mustache.escape,u=o.lookup(e[1]);if(u!=null)return typeof u=="number"&&t===mustache.escape?String(u):t(u)},Writer.prototype.rawValue=function(e){return e[1]},Writer.prototype.getConfigTags=function(e){return isArray$4(e)?e:e&&typeof e=="object"?e.tags:void 0},Writer.prototype.getConfigEscape=function(e){if(e&&typeof e=="object"&&!isArray$4(e))return e.escape};var mustache={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(n){defaultWriter.templateCache=n},get templateCache(){return defaultWriter.templateCache}},defaultWriter=new Writer;mustache.clearCache=function(){return defaultWriter.clearCache()},mustache.parse=function(e,o){return defaultWriter.parse(e,o)},mustache.render=function(e,o,l,t){if(typeof e!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+typeStr(e)+'" was given as the first argument for mustache#render(template, view, partials)');return defaultWriter.render(e,o,l,t)},mustache.escape=escapeHtml,mustache.Scanner=Scanner,mustache.Context=Context,mustache.Writer=Writer;function widgetsBase(n){var o;const e={};return e.Widget=(o=class{constructor(l,t){if(typeof l>"u")return;this.__subwidgets=[];var u=t.type||"(unknown)",h=_$1.defaults({},t,l&&l.config?l.config.default_options:{},this.constructor.defaults),v=this;_$1(h).forEach(function(A,E){v[E]=A}),this.$=jQuery("#"+this.container),typeof this.width>"u"?this.width=this.$.width():this.$.css("width",this.width),typeof this.height<"u"&&this.$.css("height",this.height),this.player=l||new n.FakeClass(["on","trigger","off","loadWidget","loadMetadata"]),this.$.addClass("Ldt-TraceMe Ldt-Widget").attr("widget-type",u),this.l10n=typeof this.constructor.messages[n.language]<"u"?this.constructor.messages[n.language]:n.language.length>2&&typeof this.constructor.messages[n.language.substr(0,2)]<"u"?this.constructor.messages[n.language.substr(0,2)]:this.constructor.messages.en;function w(){if(v.localannotations&&(v.localsource=l.loadLocalAnnotations(v.localannotations),v.source.merge(v.localsource)),v.media_id)v.media=this.getElement(v.media_id);else{var A={is_mashup:v.is_mashup||!1};v.media=v.source.getCurrentMedia(A)}v.pre_draw_callback?jQuery.when(v.pre_draw_callback()).done(v.draw()):v.draw(),v.player.trigger("widget-loaded")}this.metadata?(this.source=l.loadMetadata(this.metadata),this.source.onLoad(w)):this.source&&w()}toString(){return"Widget "+this.type}templateToHtml(l){return mustache.render(l,this)}renderTemplate(){this.$.append(this.templateToHtml(this.constructor.template))}functionWrapper(l){var t=this,u=this[l];if(typeof u<"u")return function(){return u.apply(t,Array.prototype.slice.call(arguments,0))};console.log("Error, Unknown function IriSP.Widgets."+this.type+"."+l)}getFunctionOrName(l){switch(typeof l){case"function":return l;case"string":return this.functionWrapper(l);default:return}}onMdpEvent(l,t){this.player.on(l,this.getFunctionOrName(t))}onMediaEvent(l,t){this.media.on(l,this.getFunctionOrName(t))}getWidgetAnnotations(){var l=null;return typeof this.annotation_type>"u"?l=this.media.getAnnotations():this.annotation_type.elementType==="annotationType"?l=this.annotation_type.getAnnotations():l=this.media.getAnnotationsByTypeTitle(this.annotation_type),typeof this.annotation_filter<"u"?this.annotation_filter(l):l}getWidgetAnnotationsAtTime(){var l=this.media.getCurrentTime();return this.getWidgetAnnotations().filter(function(t){return t.begin<=l&&t.end>l})}isLoaded(){var l=!_$1(this.__subwidgets).some(function(t){return!(t&&t.isLoaded())});return l}insertSubwidget(l,t,u){var h=l.attr("id"),v=this,w=this.__subwidgets.length;this.__subwidgets.push(null),typeof h>"u"&&(h=_$1.uniqueId(this.container+"_sub_widget_"+t.type),l.attr("id",h)),t.container=h,v.player.loadWidget(t,function(A){u&&(v[u]=A),v.__subwidgets[w]=A})}navigate(l){for(var t=this,u=t.media.getCurrentTime(),h=t.getWidgetAnnotations().sortBy(function(w){return w.begin}),v=0;v<h.length;v++)if(h[v].begin<=u&&u<h[v].end){v=Math.min(h.length-1,Math.max(0,v+l)),t.media.setCurrentTime(h[v].begin);break}}exportAnnotations(l){var t=this;l===void 0&&(l=this.getWidgetAnnotations());var u=jQuery,h=mustache.render(`[video:{{url}}]
+`,{url:t.media.url})+l.map(function(v){return mustache.render("[{{ a.begin }}]{{ a.title }} {{ a.description }}[{{ a.end }}]",{a:v})}).join(`
+`);u("<pre>").addClass("exportContainer").text(h).dialog({title:"Annotation export",open:function(v,w){var A;document.selection?(A=document.body.createTextRange(),A.moveToElementText(this[0]),A.select()):window.getSelection&&(A=document.createRange(),A.selectNode(this[0]),window.getSelection().addRange(A))},autoOpen:!0,width:"80%",minHeight:"400",height:400,buttons:[{text:"Close",click:function(){u(this).dialog("close")}},{text:"Download",click:function(){a=document.createElement("a"),a.setAttribute("href","data:text/plain;base64,"+btoa(h)),a.setAttribute("download","Annotations - "+t.media.title.replace(/[^ \w]/g,"")+".txt"),a.click()}}]})}draw(){}generateUid(l="-"){return`xxxxxxxx${l}xxxx${l}4xxx${l}yxxx${l}xxxxxxxxxxxx`.replace(/[xy]/g,function(t){var u=Math.random()*16|0,h=t==="x"?u:u&3|8;return h.toString(16)})}},Or(o,"defaults",{}),Or(o,"template",""),Or(o,"messages",{en:{}}),o),e}const AdaptivePlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){typeof this.video>"u"&&(this.video=this.media.video);var o=["autostart","video","height","width","url_transform"],l={},t=document.createElement("video").canPlayType(this.mime_type);l.type=t!=="no"?this.normal_player:this.fallback_player;for(var u=0;u<o.length;u++)typeof this[o[u]]<"u"&&(l[o[u]]=this[o[u]]);this.insertSubwidget(this.$,l)}},Or(e,"defaults",{mime_type:'video/mp4; codecs="avc1.42E01E"',normal_player:"HtmlPlayer",fallback_player:"VideojsPlayer"}),e},helloWorldStyles={},HelloWorld=function(n){var e;return e=class extends n.Widgets.Widget{constructor(l,t){super(l,t);Or(this,"draw",function(){this.renderTemplate(),console.log("HelloWorldWidget was drawn")});console.log("Calling IriSP.Widget's constructor from IriSP.HelloWorldWidget")}},Or(e,"defaults",{text:"world"}),Or(e,"template",'<div class="Ldt-HelloWorld"><p>{{l10n.Hello}} {{text}}</p><p>Looks like we have <span class="Ldt-HelloWorld-annotations">{{source.contents.annotation.length}} annotations</span> in this feed</p></div>'),Or(e,"messages",{fr:{Hello:"Bonjour,"},en:{Hello:"Hello,"}}),e},annotationStyles={},Annotation=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),this.lastAnnotation=!1,this.minimized=this.start_minimized||!1,this.bounds=[0,0]}draw(){var o=this,l;function t(v){var w=o.getWidgetAnnotationsAtTime();w.length||(o.$.find(".Ldt-Annotation-Inner").addClass("Ldt-Annotation-Empty"),o.arrow&&o.arrow.moveToTime(v),o.bounds=[v,v],o.sendBounds())}function u(){if(l){var v=l.title,w=l.description.replace(/(^\s+|\s+$)/g,""),A=l.found&&o.source.getAnnotations().regexp||!1;o.$.find(".Ldt-Annotation-Title").html(IriSP.textFieldHtml(v,A)||"("+o.l10n.untitled+")"),w?(o.$.find(".Ldt-Annotation-Description-Block").removeClass("Ldt-Annotation-EmptyBlock"),o.$.find(".Ldt-Annotation-Description").html(IriSP.textFieldHtml(w,A))):o.$.find(".Ldt-Annotation-Description-Block").addClass("Ldt-Annotation-EmptyBlock")}}function h(v){l=v;var w=typeof v.url<"u"?v.url:document.location.href.replace(/#.*$/,"")+"#id="+v.id,A=o.l10n.watching+v.title+(o.site_name?o.l10n.on_site+o.site_name:""),E=v.getTags(),C=o.$.find(".Ldt-Annotation-Tags");C.empty(),E.length?(o.$.find(".Ldt-Annotation-Tags-Block").removeClass("Ldt-Annotation-EmptyBlock"),E.forEach(function(M){var P=M.title.replace(/(^\s+|\s+$)/g,"");if(P){var I=jQuery('<li class="Ldt-Annotation-TagLabel"></li>').append(jQuery("<span>").text(P));I.on("click",function(){o.search_on_tag_click&&o.source.getAnnotations().search(P),M.trigger("click")}),C.append(I)}})):o.$.find(".Ldt-Annotation-Tags-Block").addClass("Ldt-Annotation-EmptyBlock"),u(),o.show_creator&&o.$.find(".Ldt-Annotation-Creator").text(v.creator),o.show_annotation_type&&(o.$.find(".Ldt-Annotation-Type").text(v.getAnnotationType().title),o.$.find(".Ldt-Annotation-Type").attr("title",v.getAnnotationType().description)),o.$.find(".Ldt-Annotation-Begin").text(v.begin.toString()),o.$.find(".Ldt-Annotation-End").text(v.end.toString()),v.elementType==="mashedAnnotation"?(o.$.find(".Ldt-Annotation-Inner").addClass("Ldt-Annotation-isMashup"),o.$.find(".Ldt-Annotation-MashupMedia").text(v.getMedia().title),o.$.find(".Ldt-Annotation-MashupBegin").text(v.annotation.begin.toString()),o.$.find(".Ldt-Annotation-MashupEnd").text(v.annotation.end.toString())):o.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-isMashup"),typeof o.socialWidget<"u"?o.socialWidget.updateUrls(w,A):setTimeout(function(){typeof o.socialWidget<"u"&&o.socialWidget.updateUrls(w,A)},800),o.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-Empty"),o.bounds=[v.begin,v.end],o.arrow&&o.arrow.moveToTime((1-o.arrow_position)*v.begin+o.arrow_position*v.end),o.sendBounds()}this.renderTemplate(),this.$.find(".Ldt-Annotation-Title").click(function(){return l&&o.media.setCurrentTime(l.begin),!1}),this.show_social&&this.insertSubwidget(this.$.find(".Ldt-Annotation-Social"),{type:"Social"},"socialWidget"),this.show_arrow&&this.insertSubwidget(this.$.find(".Ldt-Annotation-Arrow"),{type:"Arrow",width:this.width},"arrow"),this.onMediaEvent("timeupdate",t),this.onMdpEvent("Annotation.hide","hide"),this.onMdpEvent("Annotation.show","show"),this.onMdpEvent("Annotation.minimize","minimize"),this.onMdpEvent("Annotation.maximize","maximize"),this.onMdpEvent("Annotation.getBounds","sendBounds"),this.$.find(".Ldt-Annotation-MaxMinButton").click(this.functionWrapper("toggleSize")),this.$.on("resize",function(){o.width=o.$.parent().width(),o.$.css({width:o.width})}),this.getWidgetAnnotations().forEach(function(v){v.on("enter",function(){h(v)})}),this.source.getAnnotations().on("found",u),this.source.getAnnotations().on("not-found",u),this.source.getAnnotations().on("search-cleared",u),IriSP.attachDndData(this.$.find("h3"),function(){return{title:l.title,description:l.description,image:l.thumbnail,uri:typeof l.url<"u"?l.url:document.location.href.replace(/#.*$/,"")+"#id="+l.id,text:"["+l.begin.toString()+"] "+l.title}})}sendBounds(){this.player.trigger("Annotation.boundsChanged",this.bounds)}drawAnnotation(o){this.lastAnnotation=o.id}hide(){this.$.slideUp()}show(){this.$.slideDown()}toggleSize(){this.minimized?this.maximize():this.minimize()}minimize(){this.minimized=!0,this.$.find(".Ldt-Annotation-Inner").addClass("Ldt-Annotation-Minimized")}maximize(){this.minimized=!1,this.$.find(".Ldt-Annotation-Inner").removeClass("Ldt-Annotation-Minimized")}},Or(e,"messages",{fr:{watching:"Je regarde ",on_site:" sur ",tags_:"Mots-clés :",description_:"Description :",creator_:"Créé par :",excerpt_from:"Extrait de :",untitled:"Segment sans titre"},en:{watching:"I'm watching ",on_site:" on ",tags_:"Keywords:",description_:"Description:",creator_:"Created by :",excerpt_from:"Excerpt from:",untitled:"Untitled segment"}}),Or(e,"template",'{{#show_arrow}}<div class="Ldt-Annotation-Arrow"></div>{{/show_arrow}}<div class="Ldt-Annotation-Widget {{^show_arrow}}Ldt-Annotation-ShowTop{{/show_arrow}}"><div class="Ldt-Annotation-Inner Ldt-Annotation-Empty{{#start_minimized}} Ldt-Annotation-Minimized{{/start_minimized}}"><div class="Ldt-Annotation-HiddenWhenEmpty Ldt-Annotation-MaxMinButton"></div>{{#show_social}}<div class="Ldt-Annotation-Social Ldt-Annotation-HiddenWhenMinimized Ldt-Annotation-HiddenWhenEmpty"></div>{{/show_social}}<h3 class="Ldt-Annotation-HiddenWhenEmpty">{{#show_annotation_type}}<span class="Ldt-Annotation-Type"></span> » {{/show_annotation_type}}<a class="Ldt-Annotation-Title" href="#"></a> <span class="Ldt-Annotation-Time Ldt-Annotation-HiddenWhenMinimized">(<span class="Ldt-Annotation-Begin"></span> - <span class="Ldt-Annotation-End"></span>)</span></h3><h3 class="Ldt-Annotation-MashupOrigin Ldt-Annotation-HiddenWhenEmpty">{{l10n.excerpt_from}} <span class="Ldt-Annotation-MashupMedia"></span> <span class="Ldt-Annotation-Time Ldt-Annotation-HiddenWhenMinimized">(<span class="Ldt-Annotation-MashupBegin"></span> - <span class="Ldt-Annotation-MashupEnd"></span>)</span></h3><div class="Ldt-Annotation-Cleared Ldt-Annotation-HiddenWhenMinimized Ldt-Annotation-HiddenWhenEmpty Ldt-Annotation-Creator-Block"><div class="Ldt-Annotation-Label">{{l10n.creator_}}</div>{{#show_creator}}<p class="Ldt-Annotation-Labelled Ldt-Annotation-Creator"></p></div>{{/show_creator}}{{#show_description}}<div class="Ldt-Annotation-Cleared Ldt-Annotation-HiddenWhenMinimized Ldt-Annotation-HiddenWhenEmpty Ldt-Annotation-Description-Block"><div class="Ldt-Annotation-Label">{{l10n.description_}}</div><p class="Ldt-Annotation-Labelled Ldt-Annotation-Description"></p></div>{{/show_description}}<div class="Ldt-Annotation-Tags-Block Ldt-Annotation-HiddenWhenMinimized Ldt-Annotation-HiddenWhenEmpty Ldt-Annotation-Cleared"><div class="Ldt-Annotation-Label">{{l10n.tags_}}</div><ul class="Ldt-Annotation-Labelled Ldt-Annotation-Tags"></ul></div></div></div></div>'),Or(e,"defaults",{annotation_type:"chap",start_minimized:!1,show_arrow:!0,show_creator:!0,show_description:!0,arrow_position:.5,site_name:"Lignes de Temps",search_on_tag_click:!0,show_social:!0,show_annotation_type:!1}),e},annotationsControllerStyles={},AnnotationsController=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){this.renderTemplate();var o=this;this.element_$=this.$.find(".Ldt-AnnotationsController"),this.displayButton_$=this.$.find(".Ldt-AnnotationsController-ShowAnnotationsListButton"),this.writeButton_$=this.$.find(".Ldt-AnnotationsController-ShowCreateAnnotationButton"),this.writeButton_$.click(function(){o.writeButton_$.hasClass("selected")?(o.player.trigger("CreateAnnotation.hide"),o.toggle_widgets?o.player.trigger("AnnotationsList.show"):o.display_or_write&&o.player.trigger("AnnotationsList.hide")):(o.player.trigger("CreateAnnotation.show"),o.display_or_write&&o.player.trigger("AnnotationsList.hide"))}),this.displayButton_$.click(function(){o.displayButton_$.hasClass("selected")?(o.player.trigger("AnnotationsList.hide"),o.toggle_widgets?o.player.trigger("CreateAnnotation.show"):o.display_or_write&&o.player.trigger("CreateAnnotation.hide")):(o.player.trigger("AnnotationsList.show"),o.display_or_write&&o.player.trigger("CreateAnnotation.hide"))}),this.hide_without_segment&&(this.onMediaEvent("timeupdate",function(){o.refresh()}),this.onMediaEvent("settimerange",function(l){o.refresh(l)}),this.segments=this.source.getAnnotationsByTypeTitle(this.segments_annotation_type),this.currentSegment=!1),this.createAnnotationEnabled=!1,this.onMdpEvent("CreateAnnotation.hide",function(){o.hide_when_writing&&o.show(),o.createAnnotationEnabled=!1,o.writeButton_$.toggleClass("selected",!1)}),this.onMdpEvent("CreateAnnotation.show",function(){o.hide_when_writing&&o.hide(),o.createAnnotationEnabled=!0,o.writeButton_$.toggleClass("selected",!0)}),this.onMdpEvent("AnnotationsList.hide",function(){o.displayButton_$.toggleClass("selected",!1)}),this.onMdpEvent("AnnotationsList.show",function(){o.displayButton_$.toggleClass("selected",!0)}),this.starts_hidden?(this.visible=!0,this.hide()):(this.visible=!1,this.show()),this.starting_widget&&this.visible&&(this.starting_widget=="AnnotationsList"?this.player.trigger("AnnotationsList.show"):this.starting_widget=="CreateAnnotation"&&this.player.trigger("CreateAnnotation.show"))}refresh(o){if(o=typeof o<"u"?o:!1,o||this.media.getTimeRange()&&(o=this.media.getTimeRange()),this.hide_without_segment){if(!o&&!this.media.getTimeRange())_currentTime=this.media.getCurrentTime(),_currentSegments=this.segments.filter(function(u){return _currentTime>=u.begin&&_currentTime<=u.end}),_currentSegments.length>0?currentSegment=!0:currentSegment=!1;else{var l=o[0],t=o[1];_currentSegments=this.segments.filter(function(u){return l==u.begin&&t==u.end}),_currentSegments.length>0?currentSegment=!0:currentSegment=!1}!currentSegment&&_currentSegments.length==0?(this.visible||this.hide_when_writing)&&(this.writeButton_$.toggleClass("selected",!1),this.displayButton_$.toggleClass("selected",!1),this.player.trigger("CreateAnnotation.hide"),this.player.trigger("AnnotationsList.hide"),this.hide()):this.visible||(this.createAnnotationEnabled||this.show(),this.writeButton_$.toggleClass("selected",!1),this.displayButton_$.toggleClass("selected",!1),this.starting_widget=="AnnotationsList"&&this.player.trigger("AnnotationsList.show"),this.starting_widget=="CreateAnnotation"&&this.player.trigger("CreateAnnotation.show"))}}hide(){this.visible&&(this.visible=!1,this.element_$.hide())}show(){this.visible||(this.visible=!0,this.element_$.show())}},Or(e,"defaults",{display_or_write:!1,toggle_widgets:!1,starts_hidden:!1,hide_without_segment:!1,hide_when_writing:!0,starting_widget:!1,always_show_widget:!1,segments_annotation_type:"chap",custom_write_text:!1,custom_display_text:!1}),Or(e,"template","<div class='Ldt-AnnotationsController'><div class='Ldt-AnnotationsController-ButtonsContainer'>    <div class='Ldt-AnnotationsController-Button Ldt-AnnotationsController-ShowCreateAnnotationButton'>{{#custom_write_text}}{{/custom_write_text}}{{custom_write_text}}{{^custom_write_text}}{{l10n.write}}{{/custom_write_text}}</div>    <div class='Ldt-AnnotationsController-Button Ldt-AnnotationsController-ShowAnnotationsListButton'>{{#custom_display_text}}{{/custom_display_text}}{{custom_display_text}}{{^custom_display_text}}{{l10n.display}}{{/custom_display_text}}</div></div></div>"),Or(e,"messages",{en:{write:"Write",display:"Display"},fr:{write:"Ecrire",display:"Voir"}}),e},annotationsListStyles={},IsImageOk=function(n){return!(!n.complete||n.naturalWidth===0)},AnnotationsList=function(n){var o;const e={};return o=class extends n.Widgets.Widget{constructor(l,t){super(l,t),this.lastIds=[];var u=this;this.throttledRefresh=_$1.throttle(function(h){u.refresh(h)},800),this.searchString=!1,this.lastSearch=!1,this.localSource=void 0}importUsers(){if(!this.source.users_data&&this.api_users_endpoint){this.usernames=Array();var l=this,t=this.getWidgetAnnotations(),u="";return t.forEach(function(h){l.usernames.indexOf(h.creator)==-1&&l.usernames.push(h.creator)}),this.usernames.forEach(function(h){u+=h+","}),u=u.substring(0,u.length-1),_url=mustache.render(this.api_users_endpoint,{usernames_list_string:encodeURIComponent(u),usernames_list_length:this.usernames.length}),jQuery.ajax({async:!1,url:_url,type:"GET",success:function(h){l.source.users_data=h.objects},error:function(h,v,w){console.log(h),console.log(v),console.log(w)}})}}ajaxSource(){var l=this.media.getCurrentTime(),t=this.media.duration;this.lastAjaxQuery=l;var u=mustache.render(this.ajax_url,{media:this.source.currentMedia.id,begin:Math.max(0,l-this.ajax_granularity),end:Math.min(t.milliseconds,l+this.ajax_granularity)});this.currentSource=this.player.loadMetadata(_$1.defaults({url:u},this.metadata))}showScreen(l){this.$.find(".Ldt-AnnotationsList-Screen"+l).show().siblings().hide()}ajaxMashup(){var l=this.media.getCurrentTime(),t=this.source.currentMedia.getAnnotationAtTime(l);if(typeof t<"u"&&t.id!==this.lastMashupAnnotation){this.lastMashupAnnotation=t.id;var u=t.getMedia(),h=mustache.render(this.ajax_url,{media:u.id,begin:Math.max(0,t.annotation.begin.milliseconds-this.ajax_granularity),end:Math.min(u.duration.milliseconds,t.annotation.end.milliseconds+this.ajax_granularity)});this.currentSource=this.player.loadMetadata(_$1.defaults({url:h},this.metadata))}}importAnnotations(){var l=this,t=jQuery("<textarea>");jQuery("<div>").append(jQuery("<span>").addClass("importAnnotationsLabel").text(l.messages.import_annotations)).addClass("importContainer").dialog({title:"Annotation import",autoOpen:!0,width:"80%",minHeight:"400",height:400,buttons:[{text:"Close",click:function(){jQuery(this).dialog("close")}},{text:"Import",click:function(){for(var u=/(\[[\d:]+\])/,h=t[0].value.split(u).filter(function(P){return!P.match(/^\s*$/)}),v=null,w=null,A=null,E=null,C=0;C<h.length;C++){var M=h[C];M.match(u)?(E=="text"?(w=n.timestamp2ms(M.slice(1,-1)),TODO.createAnnotation(v,w,A),v=w,w=null,A=null):(A=null,v=n.timestamp2ms(M.slice(1,-1)),w=null),E="timestamp"):(A=M,E="text"),E=="text"&&v!==null&&TODO.createAnnotation(v,v,A)}}}]})}refresh(l){if(l=typeof l<"u"&&l,this.currentSource.status!==n.Model._SOURCE_STATUS_READY)return 0;var t=this,u=this.media.getCurrentTime(),h=this.annotation_type?this.currentSource.getAnnotationsByTypeTitle(this.annotation_type):this.currentSource.getAnnotations();if(this.mashupMode){var v=this.source.currentMedia.getAnnotationAtTime(u);if(typeof v<"u"){u=u-v.begin+v.annotation.begin;var w=v.getMedia().id;h=h.filter(function(B){return B.getMedia().id===w})}}h=h.filter(function(B){return B.found!==!1}),this.filter_by_segments&&!(this.show_filters&&this.segment_filter&&this.ignoresegmentcheckbox_$[0].checked)&&(_segmentsAnnotation=this.currentSource.getAnnotationsByTypeTitle(this.segments_annotation_type),this.media.getTimeRange()?_currentSegments=_segmentsAnnotation.filter(function(B){return t.media.getTimeRange()[0]==B.begin&&t.media.getTimeRange()[1]==B.end}):_currentSegments=_segmentsAnnotation.filter(function(B){return u>=B.begin&&u<=B.end}),_currentSegments.length==0?h=h.filter(function(B){return!1}):h=h.filter(function(B){return _annotation_time=(B.begin+B.end)/2,_currentSegments[0].begin<=_annotation_time&&_currentSegments[0].end>=_annotation_time}),this.annotations_count_header&&this.annotations_count!=h.length&&(this.annotations_count=h.length,this.refreshHeader())),this.show_only_annotation_from_user&&(h=h.filter(function(B){return B.creator==t.show_only_annotation_from_user})),this.limit_count&&(h=h.sortBy(function(B){return Math.abs((B.begin+B.end)/2-u)}).slice(0,this.limit_count)),this.newest_first?h=h.sortBy(function(B){return-B.created.valueOf()}):h=h.sortBy(function(B){return B.begin}),this.show_filters&&(this.user_filter&&(_username=this.userselect_$[0].options[this.userselect_$[0].selectedIndex].value,_username!="false"&&(h=h.filter(function(B){return B.creator==_username}))),this.keyword_filter&&(_keyword=this.keywordinput_$[0].value,_keyword!=""&&(h=h.filter(function(B){return B.description.toLowerCase().match(_keyword.toLowerCase())}))),this.date_filter&&this.datefilterinput_$[0].value!=""&&(_date=this.datefilterinput_$.datepicker("getDate"),h=h.filter(function(B){return B.created.getDate()==_date.getDate()&&B.created.getMonth()==_date.getMonth()&&B.created.getFullYear()==_date.getFullYear()})),this.latest_contributions_filter&&this.latestcontributionscheckbox_$[0].checked&&(h=h.sortBy(function(B){return-B.created.valueOf()}),this.usernames.forEach(function(B){latest_ann=h.filter(function(F){return F.creator==B})[0],h=h.filter(function(F){return F.id==(latest_ann?latest_ann.id:!1)||F.creator!=B})})));var A=h.idIndex;if(l||!_$1.isEqual(A,this.lastIds)||this.searchString!==this.lastSearch){if(this.lastSearch=this.searchString,this.lastIds=A,this.list_$.html(""),h.forEach(function(B){var F=typeof B.url<"u"&&B.url?B.url:typeof t.source.projectId<"u"&&typeof B.project<"u"&&B.project&&t.source.projectId!==B.project?mustache.render(t.foreign_url,{project:B.project,media:B.media.id,annotation:B.id,annotationType:B.annotationType.id}):document.location.href.replace(/#.*$/,"")+"#id="+B.id+"&t="+B.begin/1e3,N=B.project!=t.source.projectId,ee="",Z=B.description,re=`thumb_${B.id}`,fe=typeof B.thumbnail<"u"&&B.thumbnail?B.thumbnail:t.default_thumbnail;if(t.show_creator&&B.creator){var V=[],le={},he="";t.source.users_data&&(V=t.source.users_data.filter(function(b){return b.username==B.creator})),V.length==0?le.username=B.creator:le=V[0],he=t.make_name_string_function(le)}if(t.show_title&&B.title)var ee=B.title;var ye;_$1(t.polemics).each(function(b){var d=n.Model.regexpFromTextOrArray(b.keyword,!0);d.test(ee+" "+Z)&&(ye=b.background_color)});var L=!1;if(t.show_creation_date&&(L=B.created.toLocaleDateString()+", "+B.created.toLocaleTimeString().replace(/\u200E/g,"").replace(/^([^\d]*\d{1,2}:\d{1,2}):\d{1,2}([^\d]*)$/,"$1$2")),t.tags==!0)var p=B.getTagTexts();else var p=!1;var y={id:B.id,media_id:B.getMedia().id,htitle:n.textFieldHtml(ee),title:ee,creator:he,hdescription:n.textFieldHtml(Z),description:Z,begin:B.begin.toString(),end:B.end.toString(),created:L,show_timecode:t.show_timecode,show_end_time:t.show_end_time,show_title:t.show_title&&ee,thumbnailId:re,url:F,tags:p,specific_style:typeof ye<"u"?"background-color: "+ye:"",l10n:t.l10n,editable:t.editable,external:N,show_publish:t.show_publish,show_creator:t.show_creator,show_twitter:t.show_twitter,twitter_param:jQuery.param({url:F,text:n.textFieldHtml(ee)+(t.twitter_hashtag?" #"+t.twitter_hashtag:"")}),allow_annotations_deletion:t.allow_annotations_deletion},S=mustache.render(t.constructor.annotationTemplate,y),c=jQuery(S),m=function(){t.$.find(".Ldt-AnnotationsList-li").removeClass("selected"),c.addClass("selected")},x=function(){t.$.find(".Ldt-AnnotationsList-li").removeClass("selected")};c.on("mouseover",function(){B.trigger("select")}).on("mouseout",function(){B.trigger("unselect")}).on("click",function(){t.filter_by_segments&&t.media.getTimeRange()&&(_ann_time=(B.begin+B.end)/2,(_ann_time<=t.media.getTimeRange()[0]||_ann_time>=t.media.getTimeRange()[1])&&t.media.resetTimeRange()),B.trigger("click")}).appendTo(t.list_$);let T=e[fe];typeof T>"u"&&(T=new Image,e[fe]=T),T.src&&IsImageOk(T)?jQuery(`#${re}`,c).attr("src",T.src):(T.onload=function(){jQuery(`#${re}`,c).attr("src",T.src)},T.onerror=function(){T.src=t.default_thumbnail,jQuery(`#${re}`,c).attr("src",t.default_thumbnail)},T.src=fe),n.attachDndData(c.find("[draggable]"),{title:ee,description:Z,uri:F,image:B.thumbnail,text:"["+B.begin.toString()+"] "+ee}),c.on("remove",function(){B.off("select",m),B.off("unselect",x)}),B.on("select",m),B.on("unselect",x)}),this.$.find(".Ldt-AnnotationsList-Tag-Li").each(function(){var B=jQuery(this);B.text().replace(/(^\s+|\s+$)/g,"")||B.remove()}),this.editable){var E=t,C=function(B,F){var N="#FF9999",ee="#99FF99";F===void 0&&(F=B);var Z=jQuery(B.dataset.editable_type==="multiline"?"<textarea>":"<input>").addClass("editableInput").insertBefore(jQuery(F));Z[0].value=B.dataset.editable_value,jQuery(Z).show().focus(),jQuery(B).addClass("editing");function re(le){jQuery(B).removeClass("editing"),Z.remove();var he=jQuery(B).css("background-color");jQuery(B).stop().css("background-color",le).animate({backgroundColor:he},1e3)}function fe(le){re(N)}function V(){var le=Z[0].value;if(le==B.dataset.editable_value){re(ee);return}if(le==""){I(B.dataset.editable_id),E.player.trigger("Annotation.delete",B.dataset.editable_id);return}else{var he=le;if(B.dataset.editable_type=="timestamp"&&(he=n.timestamp2ms(le),Number.isNaN(he))){fe();return}B.dataset.editable_value=le,le=he,jQuery(B).text(he)}var ye=M(B.dataset.editable_id);ye===void 0?(console.log("Strange error: cannot find edited annotation"),re(N)):(B.dataset.editable_value=le,B.dataset.editable_field=="begin"?ye.setBegin(le):B.dataset.editable_field=="end"?ye.setEnd(le):ye[B.dataset.editable_field]=le,ye.modified=new Date,ye.contributor=E.player.config.username||"COCo User",E.player.addLocalAnnotation(ye),E.player.trigger("Annotation.update",ye),re(ee))}jQuery(Z).bind("keydown",function(le){le.which==13?(le.preventDefault(),V()):le.which==27&&(le.preventDefault(),fe())}).bind("blur",function(le){V()})},M=function(B){return E.player.getLocalAnnotation(B)},P=function(){E.player.saveLocalAnnotations(),E.source.merge(E.player.localSource)},I=function(B){E.source.getAnnotations().removeId(B,!0),E.player.deleteLocalAnnotation(B),E.refresh(!0)};this.$.find(".Ldt-AnnotationsList-Delete").click(function(B){var F=M(this.dataset.editable_id);confirm(mustache.render(E.l10n.confirm_delete_message,{annotation:F}))&&I(this.dataset.editable_id),E.refresh(!0)}),this.$.find(".Ldt-AnnotationsList-Edit").click(function(B){if(E.on_edit){var F=M(this.dataset.editable_id);E.on_edit(F)}else{var N=jQuery(this).parents(".Ldt-AnnotationsList-li").find(".Ldt-AnnotationsList-TitleContent.Ldt-live-editable");C(N[0])}}),this.$.find(".Ldt-AnnotationsList-PublishAnnotation").click(function(B){var F=M(this.dataset.editable_id);if(confirm(mustache.render(E.l10n.confirm_publish_message,{annotation:F}))){var N=mustache.render(E.api_endpoint_template,{id:E.source.projectId});if(N!==""){var ee=E.player.sourceManager.newLocalSource({serializer:n.serializers[E.api_serializer]});if(E.publish_type){var Z=E.source.getAnnotationTypes().filter(function(fe){return fe.title==E.publish_type});Z.length==1&&F.setAnnotationType(Z[0].id)}var re=new n.Model.List(E.player.sourceManager);re.push(F),ee.addList("annotation",re),jQuery.ajax({url:N,type:E.api_method,contentType:"application/json",data:ee.serialize(),success:function(fe){jQuery(this).addClass("published");var V=M(F.id);V.setTags(["published"]),P(),E.player.trigger("Annotation.publish",F)},error:function(fe,V,le){n.log("Error when sending annotation",le)}})}}}),this.$.find(".Ldt-AnnotationsList-TimeEdit").dblclick(function(B){var F=this,N=M(F.dataset.editable_id);N!==void 0&&(N.setBegin(E.media.getCurrentTime().milliseconds),P(),E.player.trigger("Annotation.update",N),E.refresh(!0))})}if(this.$.find(".Ldt-AnnotationsList-Tag-Li").click(function(){t.source.getAnnotations().search(jQuery(this).text().replace(/(^\s+|\s+$)/g,""))}),this.$.find(".Ldt-Annotation-Timecode").click(function(){t.media.setCurrentTime(Number(this.dataset.timecode))}),this.$.find(".Ldt-AnnotationsList-Play").click(function(){var B=jQuery(this),F=B.attr("data-annotation-id");t.jwplayers[F]&&jwplayer(t.jwplayers[F]).play(),t.media.pause()}),this.source.getAnnotations().searching){var j=t.source.getAnnotations().regexp||!1;this.$.find(".Ldt-AnnotationsList-Title a, .Ldt-AnnotationsList-Description").each(function(){var B=jQuery(this);B.html(n.textFieldHtml(B.text(),j))})}this.$.find(".Ldt-AnnotationsList-DeleteButton").click(t.functionWrapper("onDeleteClick"))}return this.ajax_url&&(this.mashupMode?this.ajaxMashup():Math.abs(u-this.lastAjaxQuery)>this.ajax_granularity&&this.ajaxSource()),h.length}onDeleteClick(l){_list=this.getWidgetAnnotations(),ann_id=l.target.dataset.annotation,delete_preview_$=this.$.find(".Ldt-AnnotationsList-ul-ToDelete"),delete_preview_$.html(""),_list=_list.filter(function(P){return P.id==ann_id});var t=_list[0],u="",h="",v=this;if(t.creator){var w=[],A={};v.source.users_data&&(w=v.source.users_data.filter(function(P){return P.username==t.creator})),w.length==0?A.username=t.creator:A=w[0],h=v.make_name_string_function(A)}if(t.title){var E=t.title;E.substr(0,u.length+1)==u+":"&&(u=""),u=u+(u==""?"":": ")+t.title}var C=!1;this.show_creation_date&&(C=t.created.toLocaleDateString()+", "+t.created.toLocaleTimeString());var M={id:t.id,media_id:t.getMedia().id,htitle:n.textFieldHtml(u),hdescription:n.textFieldHtml(t.description),begin:t.begin.toString(),end:t.end.toString(),created:C,show_timecode:this.show_timecode,show_creator:this.show_creator,creator:h,tags:!1,l10n:this.l10n,allow_annotations_deletion:!1};_html=mustache.render(this.constructor.annotationTemplate,M),delete_preview_$.html(_html),this.$.find(".Ldt-AnnotationsList-ConfirmDelete").click(function(){v.sendDelete(ann_id)}),this.showScreen("Delete")}refreshHeader(){var l=" ("+this.annotations_count+" "+this.annotations_count_header_string+")";this.$.find(".Ldt-AnnotationsList-header").html(""),this.$.find(".Ldt-AnnotationsList-header").html(this.custom_header&&typeof this.custom_header=="string"?this.custom_header+l:this.l10n.header+l)}hide(){var l=this;this.visible&&(this.visible=!1,this.widget_$.slideUp(function(){l.$.find(".Ldt-AnnotationsList-header").hide()}),this.showScreen("Main"))}show(){this.visible||(this.visible=!0,this.$.find(".Ldt-AnnotationsList-header").show(),this.widget_$.slideDown(),this.showScreen("Main"))}toggle(){this.always_visible||(this.visible?this.hide():this.show())}revertToMainScreen(){this.$.find(".Ldt-AnnotationsList-ScreenMain").is(":hidden")&&this.showScreen("Main")}sendDelete(l){var t=this,u=mustache.render(this.api_delete_endpoint,{annotation_id:l,project_id:this.project_id});jQuery.ajax({url:u,type:this.api_delete_method,contentType:"application/json",success:function(h){t.showScreen("Success"),window.setTimeout(t.functionWrapper("revertToMainScreen"),t.after_send_timeout||2e3),t.currentSource.getAnnotations().removeId(l),t.player.trigger("AnnotationsList.refresh")},error:function(h,v,w){n.log("Error when sending annotation",w),t.showScreen("Error"),window.setTimeout(t.functionWrapper("revertToMainScreen"),t.after_send_timeout||2e3)}}),this.showScreen("Sending")}draw(){this.jwplayers={},this.mashupMode=this.media.elementType==="mashup",this.renderTemplate();var l=this;this.list_$=this.$.find(".Ldt-AnnotationsList-ul"),this.widget_$=this.$.find(".Ldt-AnnotationsListWidget"),this.widget_max_height&&this.widget_$.css("max-height",this.widget_max_height),this.show_filters&&(this.user_filter&&(this.userselect_$=this.$.find("#Ldt-AnnotationsList-userFilter"),this.userselect_$.change(function(){l.player.trigger("AnnotationsList.refresh")}),this.userselect_$.html("<option selected value='false'>"+this.l10n.everyone+"</option>"),this.usernames.forEach(function(h){var v=l.source.users_data.filter(function(A){return A.username==h}),w={};v.length==0?w.username=h:w=v[0],l.userselect_$.append("<option value='"+h+"'>"+l.make_name_string_function(w)+"</option>")})),this.keyword_filter&&(this.keywordinput_$=this.$.find("#Ldt-AnnotationsList-keywordsFilter"),this.keywordinput_$.keyup(function(){l.player.trigger("AnnotationsList.refresh")})),this.segment_filter&&(this.ignoresegmentcheckbox_$=this.$.find("#Ldt-AnnotationsList-ignoreSegmentsFilter"),this.ignoresegmentcheckbox_$.click(function(){l.player.trigger("AnnotationsList.refresh")})),this.date_filter&&(this.datefilterinput_$=this.$.find("#Ldt-AnnotationsList-dateFilter"),this.datefilterinput_$.datepicker({dateFormat:"dd/mm/yy"}),this.datefilterinput_$.change(function(){l.player.trigger("AnnotationsList.refresh")}),this.current_day_filter&&(currentDate=new Date,this.datefilterinput_$.datepicker("setDate",currentDate))),this.latest_contributions_filter&&(this.latestcontributionscheckbox_$=this.$.find("#Ldt-AnnotationsList-latestContributionsFilter"),this.latestcontributionscheckbox_$.click(function(){l.player.trigger("AnnotationsList.refresh")}))),this.source.getAnnotations().on("search",function(h){l.searchString=h,l.source!==l.currentSource&&(l.currentSource.getAnnotations().search(h),l.throttledRefresh())}),this.source.getAnnotations().on("found",function(){l.throttledRefresh()}),this.source.getAnnotations().on("not-found",function(){l.throttledRefresh()}),this.source.getAnnotations().on("clear-search",function(){l.searchString=!1,l.source!==l.currentSource&&l.currentSource.getAnnotations().trigger("clear-search")}),this.$.find(".Ldt-AnnotationsList-Close").click(function(){l.showScreen("Main")}),this.source.getAnnotations().on("search-cleared",function(){l.throttledRefresh()}),this.onMdpEvent("AnnotationsList.refresh",function(){l.ajax_url&&(l.mashupMode?l.ajaxMashup():l.ajaxSource()),l.throttledRefresh(!1)}),this.onMdpEvent("AnnotationsList.update",function(){l.ajax_url&&(l.mashupMode?l.ajaxMashup():l.ajaxSource()),l.throttledRefresh(!0)}),this.ajax_url?this.mashupMode?this.ajaxMashup():this.ajaxSource():this.currentSource=this.source,this.refresh_interval&&window.setInterval(function(){l.currentSource.get()},this.refresh_interval),this.annotations_count_header&&(this.annotations_count=!1),this.onMdpEvent("AnnotationsList.toggle","toggle"),this.onMdpEvent("AnnotationsList.hide","hide"),this.onMdpEvent("AnnotationsList.show","show"),this.onMdpEvent("createAnnotationWidget.addedAnnotation",this.throttledRefresh);for(var t=["timeupdate","seeked","loadedmetadata","settimerange"],u=0;u<t.length;u++)this.onMediaEvent(t[u],this.throttledRefresh);this.throttledRefresh(),this.showScreen("Main"),this.$.find(".Ldt-AnnotationsList-CancelDelete").click(function(){l.showScreen("Main")}),this.visible=!0,this.start_visible||this.hide()}},Or(o,"defaults",{pre_draw_callback:function(){return this.importUsers()},ajax_url:!1,ajax_granularity:6e5,default_thumbnail:"",custom_external_icon:"",foreign_url:"",annotation_type:!1,refresh_interval:0,limit_count:20,newest_first:!1,show_title:!0,show_audio:!0,show_creator:!0,show_controls:!1,show_end_time:!0,show_publish:!1,show_twitter:!1,twitter_hashtag:"",on_edit:void 0,publish_type:"PublicContribution",api_endpoint_template:"",api_serializer:"ldt_annotate",api_method:"POST",editable:!1,editable_storage:"",widget_max_height:680,always_visible:!1,start_visible:!0,show_audio:!0,show_filters:!1,keyword_filter:!0,date_filter:!0,user_filter:!0,segment_filter:!0,latest_contributions_filter:!1,current_day_filter:!0,show_header:!1,custom_header:!1,annotations_count_header:!0,annotations_count_header_string:"annotations",show_creation_date:!1,show_timecode:!0,show_end_time:!0,project_id:"",allow_annotations_deletion:!1,api_delete_endpoint:"",api_delete_method:"DELETE",api_users_endpoint:"",api_users_method:"GET",make_name_string_function:function(l){return l.username?l.username:"Anonymous"},filter_by_segments:!1,segment_filter:!0,segments_annotation_type:"chap",show_only_annotation_from_user:!1,tags:!0,polemics:[{keyword:"++",background_color:"#c9ecc6"},{keyword:"--",background_color:"#f9c5c6"},{keyword:"??",background_color:"#cec5f9"},{keyword:"==",background_color:"#f9f4c6"}]}),Or(o,"messages",{en:{voice_annotation:"Voice Annotation",now_playing:"Now playing...",previous:"Previous",next:"Next",set_time:"Double-click to update to current player time",edit_annotation:"Edit note",delete_annotation:"Delete note",publish_annotation:"Make note public",import_annotations:"Paste or load notes in this field and press Import.",confirm_delete_message:"You are about to delete {{ annotation.title }}. Are you sure you want to delete it?",confirm_publish_message:"You are about to publish {{ annotation.title }}. Are you sure you want to make it public?",tweet_annotation:"Tweet annotation",external_annotation:"This annotation was submitted to another project",everyone:"Everyone",header:"Annotations for this content",segment_filter:"All cuttings",latest_contributions:"Latest contributions",close_widget:"Close",confirm:"Confirm",cancel:"Cancel",annotation_deletion_delete:"You will delete this annotation",annotation_deletion_sending:"Your deletion request is being sent ... ",annotation_deletion_success:"The annotation has been deleted.",annotation_deletion_error:"There was an error contacting the server. The annotation has not been deleted."},fr:{voice_annotation:"Annotation Vocale",now_playing:"Lecture en cours...",previous:"Précédent",next:"Suivant",set_time:"Double-cliquer pour fixer au temps du lecteur",edit_annotation:"Éditer la note",delete_annotation:"Supprimer la note",publish_annotation:"Rendre la note publique",import_annotations:"Copiez ou chargez des notes dans ce champ et appuyez sur Import",confirm_delete_message:"Vous allez supprimer {{ annotation.title }}. Êtes-vous certain(e) ?",confirm_publish_message:"Vous allez publier {{ annotation.title }}. Êtes-vous certain(e) ?",tweet_annotation:"Tweeter l'annotation",external_annotation:"Cette annotation a été postée sur un autre projet",everyone:"Tous",header:"Annotations sur ce contenu",segment_filter:"Tous les segments",latest_contributions:"Dernières contributions",close_widget:"Fermer",confirm:"Confirmer",cancel:"Annuler",annotation_deletion_delete:"Vous allez supprimer cette annotation",annotation_deletion_sending:"Votre demande de suppression est en cours d'envoi ... ",annotation_deletion_success:"L'annotation a été supprimée.",annotation_deletion_error:"Une erreur s'est produite en contactant le serveur. L'annotation n'a pas été supprimée."}}),Or(o,"template",'{{#show_header}}<p class="Ldt-AnnotationsList-header">{{#custom_header}}{{custom_header}}{{/custom_header}}{{^custom_header}}{{l10n.header}}{{/custom_header}}</p>{{/show_header}}<div class="Ldt-AnnotationsListWidget"><div class="Ldt-AnnotationsList-ScreenMain">{{#show_filters}}<div class="Ldt-AnnotationsList-Filters">{{#keyword_filter}}<input class="Ldt-AnnotationsList-filter-text" id="Ldt-AnnotationsList-keywordsFilter" type="text" value=""></input>{{/keyword_filter}}{{#user_filter}}<select class="Ldt-AnnotationsList-filter-dropdown" id="Ldt-AnnotationsList-userFilter"><option selected value="">{{l10n.everyone}}</option></select>{{/user_filter}}{{#date_filter}}<label class="Ldt-AnnotationsList-filter-date">Date: <input id="Ldt-AnnotationsList-dateFilter" type="text"></input></label>{{/date_filter}}{{#segment_filter}}<label class="Ldt-AnnotationsList-filter-checkbox"><input type="checkbox" id="Ldt-AnnotationsList-ignoreSegmentsFilter">{{l10n.segment_filter}}</label>{{/segment_filter}}{{#latest_contributions_filter}}<label class="Ldt-AnnotationsList-filter-checkbox"><input type="checkbox" id="Ldt-AnnotationsList-latestContributionsFilter">{{l10n.latest_contributions}}</label>{{/latest_contributions_filter}}</div>{{/show_filters}}{{#show_controls}}<div class="Ldt-AnnotationsList-Controls"><span class="Ldt-AnnotationsList-Control-Prev">{{ l10n.previous }}</span> | <span class="Ldt-AnnotationsList-Control-Next">{{ l10n.next }}</span></div>{{/show_controls}}{{#show_audio}}<div class="Ldt-AnnotationsList-Audio"></div>{{/show_audio}}<ul class="Ldt-AnnotationsList-ul"></ul></div>{{#allow_annotations_deletion}}<div data-annotation="{{id}}" class="Ldt-AnnotationsList-Screen Ldt-AnnotationsList-ScreenDelete"><a title="{{l10n.close_widget}}" class="Ldt-AnnotationsList-Close" href="#"></a>{{l10n.annotation_deletion_delete}}<ul class="Ldt-AnnotationsList-ul-ToDelete"></ul><a class="Ldt-AnnotationsList-ConfirmDelete">{{l10n.confirm}}</a> <a class="Ldt-AnnotationsList-CancelDelete">{{l10n.cancel}}</a></div><div data-annotation="{{id}}" class="Ldt-AnnotationsList-Screen Ldt-AnnotationsList-ScreenSending"><a title="{{l10n.close_widget}}" class="Ldt-AnnotationsList-Close" href="#"></a>{{l10n.annotation_deletion_sending}}</div><div data-annotation="{{id}}" class="Ldt-AnnotationsList-Screen Ldt-AnnotationsList-ScreenSuccess"><a title="{{l10n.close_widget}}" class="Ldt-AnnotationsList-Close" href="#"></a>{{l10n.annotation_deletion_success}}</div><div data.annotation="{{id}}" class="Ldt-AnnotationsList-Screen Ldt-AnnotationsList-ScreenError"><a title="{{l10n.close_widget}}" class="Ldt-AnnotationsList-Close" href="#"></a>{{l10n.annotation_deletion_error}}</div>{{/allow_annotations_deletion}}</div>'),Or(o,"annotationTemplate",'<li class="Ldt-AnnotationsList-li Ldt-Highlighter-Annotation Ldt-TraceMe" data-annotation="{{ id }}" data-begin="{{ begin_ms }}" data-end="{{ end_ms }}" trace-info="annotation-id:{{id}}, media-id:{{media_id}}" style="{{specific_style}}"><div data-annotation="{{ id }}" class="Ldt-AnnotationsList-ThumbContainer Ldt-AnnotationsList-Annotation-Screen Ldt-AnnotationsList-Annotation-ScreenMain"><a {{#url}}href="{{url}}"{{/url}} draggable="true"><img title="{{^external}}{{ begin }} - {{ end }}{{/external}}{{#external}}{{l10n.external_annotation}}{{/external}}" class="Ldt-AnnotationsList-Thumbnail" id="{{thumbnailId}}" />{{#external}}<div title="{{l10n.external_annotation}}" class="Ldt-AnnotationsList-External-Icon"></div>{{/external}}</a></div>{{#allow_annotations_deletion}}<div data-annotation="{{ id }}" class="Ldt-AnnotationsList-DeleteButton">&#10006;</div>{{/allow_annotations_deletion}}{{#show_timecode}}<div title="{{l10n.set_time}}" class="Ldt-AnnotationsList-Duration"><span class="Ldt-AnnotationsList-Begin Ldt-live-editable Ldt-AnnotationsList-TimeEdit" data-editable_value="{{begin}}" data-editable_id="{{id}}" data-editable_field="begin" data-editable_type="timestamp">{{begin}}</span>{{#show_end_time}} - <span class="Ldt-AnnotationsList-End Ldt-live-editable" data-editable_value="{{end}}" data-editable_id="{{id}}" data-editable_field="end" data-editable_type="timestamp">{{end}}</span>{{/show_end_time}}</div>{{/show_timecode}}<h3 class="Ldt-AnnotationsList-Title Ldt-Annotation-Timecode" data-timecode="{{ begin_ms }}" draggable="true">{{#show_title}}<span class="Ldt-AnnotationsList-TitleContent Ldt-live-editable" data-editable_value="{{title}}" data-editable_type="multiline" data-editable_id="{{id}}" data-editable_field="title">{{{htitle}}}</span>{{/show_title}}{{#show_creator}}<span class="Ldt-AnnotationsList-Creator">{{ creator }}</span>{{/show_creator}}</h3><p class="Ldt-AnnotationsList-Description Ldt-live-editable" data-editable_type="multiline" data-editable_value="{{description}}" data-editable_id="{{id}}" data-editable_field="description">{{{hdescription}}}</p>{{#created}}<div class="Ldt-AnnotationsList-CreationDate">{{{created}}}</div>{{/created}}{{#tags.length}}<ul class="Ldt-AnnotationsList-Tags">{{#tags}}{{#.}}<li class="Ldt-AnnotationsList-Tag-Li"><span>{{.}}</span></li>{{/.}}{{/tags}}</ul>{{/tags.length}}{{#audio}}<div class="Ldt-AnnotationsList-Play" data-annotation-id="{{id}}">{{l10n.voice_annotation}}</div>{{/audio}}<div class="Ldt-AnnotationsList-EditControls">{{#show_twitter}}<a title="{{l10n.tweet_annotation}}" target="_blank" href="https://twitter.com/intent/tweet?{{twitter_param}}"><img width="16" height="16" src="metadataplayer/img/twitter.svg"></a>{{/show_twitter}}{{#show_publish}}<div title="{{l10n.publish_annotation}}" class="Ldt-AnnotationsList-PublishAnnotation" data-editable_id="{{id}}"></div>{{/show_publish}}{{#editable}}<div title="{{l10n.edit_annotation}}" class="Ldt-AnnotationsList-Edit" data-editable_id="{{id}}"></div><div title="{{l10n.delete_annotation}}" class="Ldt-AnnotationsList-Delete" data-editable_id="{{id}}"></div>{{/editable}}</div></li>'),o};var raphael_min={exports:{}};(function(n,e){(function(o,l){n.exports=l()})(window,function(){return function(o){var l={};function t(u){if(l[u])return l[u].exports;var h=l[u]={i:u,l:!1,exports:{}};return o[u].call(h.exports,h,h.exports,t),h.l=!0,h.exports}return t.m=o,t.c=l,t.d=function(u,h,v){t.o(u,h)||Object.defineProperty(u,h,{enumerable:!0,get:v})},t.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},t.t=function(u,h){if(1&h&&(u=t(u)),8&h||4&h&&typeof u=="object"&&u&&u.__esModule)return u;var v=Object.create(null);if(t.r(v),Object.defineProperty(v,"default",{enumerable:!0,value:u}),2&h&&typeof u!="string")for(var w in u)t.d(v,w,(function(A){return u[A]}).bind(null,w));return v},t.n=function(u){var h=u&&u.__esModule?function(){return u.default}:function(){return u};return t.d(h,"a",h),h},t.o=function(u,h){return Object.prototype.hasOwnProperty.call(u,h)},t.p="",t(t.s=1)}([function(o,l,t){var u,h;u=[t(2)],(h=(function(v){function w(ce){if(w.is(ce,"function"))return A?ce():v.on("raphael.DOMload",ce);if(w.is(ce,b))return w._engine.create[N](w,ce.splice(0,3+w.is(ce[0],T))).add(ce);var xe=Array.prototype.slice.call(arguments,0);if(w.is(xe[xe.length-1],"function")){var Be=xe.pop();return A?Be.call(w._engine.create[N](w,xe)):v.on("raphael.DOMload",function(){Be.call(w._engine.create[N](w,xe))})}return w._engine.create[N](w,arguments)}w.version="2.3.0",w.eve=v;var A,E,C=/[, ]+/,M={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},P=/\{(\d+)\}/g,I="hasOwnProperty",j={doc:document,win:window},B={was:Object.prototype[I].call(j.win,"Raphael"),is:j.win.Raphael},F=function(){this.ca=this.customAttributes={}},N="apply",ee="concat",Z="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,re="",fe=" ",V=String,le="split",he="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[le](fe),ye={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},L=V.prototype.toLowerCase,p=Math,y=p.max,S=p.min,c=p.abs,m=p.pow,x=p.PI,T="number",b="array",d=Object.prototype.toString,k=(w._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),D={NaN:1,Infinity:1,"-Infinity":1},O=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,Q=p.round,J=parseFloat,X=parseInt,U=V.prototype.toUpperCase,z=w._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},ie=w._availableAnimAttrs={blur:T,"clip-rect":"csv",cx:T,cy:T,fill:"colour","fill-opacity":T,"font-size":T,height:T,opacity:T,path:"path",r:T,rx:T,ry:T,stroke:"colour","stroke-opacity":T,"stroke-width":T,transform:"transform",width:T,x:T,y:T},de=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,me={hs:1,rg:1},pe=/,?([achlmqrstvxz]),?/gi,qe=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,mt=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,st=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,dt=(w._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),Tt=function(ce,xe){return J(ce)-J(xe)},lt=function(ce){return ce},Je=w._rectPath=function(ce,xe,Be,Fe,Xe){return Xe?[["M",ce+Xe,xe],["l",Be-2*Xe,0],["a",Xe,Xe,0,0,1,Xe,Xe],["l",0,Fe-2*Xe],["a",Xe,Xe,0,0,1,-Xe,Xe],["l",2*Xe-Be,0],["a",Xe,Xe,0,0,1,-Xe,-Xe],["l",0,2*Xe-Fe],["a",Xe,Xe,0,0,1,Xe,-Xe],["z"]]:[["M",ce,xe],["l",Be,0],["l",0,Fe],["l",-Be,0],["z"]]},ht=function(ce,xe,Be,Fe){return Fe==null&&(Fe=Be),[["M",ce,xe],["m",0,-Fe],["a",Be,Fe,0,1,1,0,2*Fe],["a",Be,Fe,0,1,1,0,-2*Fe],["z"]]},at=w._getPath={path:function(ce){return ce.attr("path")},circle:function(ce){var xe=ce.attrs;return ht(xe.cx,xe.cy,xe.r)},ellipse:function(ce){var xe=ce.attrs;return ht(xe.cx,xe.cy,xe.rx,xe.ry)},rect:function(ce){var xe=ce.attrs;return Je(xe.x,xe.y,xe.width,xe.height,xe.r)},image:function(ce){var xe=ce.attrs;return Je(xe.x,xe.y,xe.width,xe.height)},text:function(ce){var xe=ce._getBBox();return Je(xe.x,xe.y,xe.width,xe.height)},set:function(ce){var xe=ce._getBBox();return Je(xe.x,xe.y,xe.width,xe.height)}},bt=w.mapPath=function(ce,xe){if(!xe)return ce;var Be,Fe,Xe,ct,we,Ae,Re;for(Xe=0,we=(ce=Qt(ce)).length;Xe<we;Xe++)for(ct=1,Ae=(Re=ce[Xe]).length;ct<Ae;ct+=2)Be=xe.x(Re[ct],Re[ct+1]),Fe=xe.y(Re[ct],Re[ct+1]),Re[ct]=Be,Re[ct+1]=Fe;return ce};if(w._g=j,w.type=j.win.SVGAngle||j.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML",w.type=="VML"){var jt,Ge=j.doc.createElement("div");if(Ge.innerHTML='<v:shape adj="1"/>',(jt=Ge.firstChild).style.behavior="url(#default#VML)",!jt||typeof jt.adj!="object")return w.type=re;Ge=null}function Qe(ce){if(typeof ce=="function"||Object(ce)!==ce)return ce;var xe=new ce.constructor;for(var Be in ce)ce[I](Be)&&(xe[Be]=Qe(ce[Be]));return xe}w.svg=!(w.vml=w.type=="VML"),w._Paper=F,w.fn=E=F.prototype=w.prototype,w._id=0,w.is=function(ce,xe){return(xe=L.call(xe))=="finite"?!D[I](+ce):xe=="array"?ce instanceof Array:xe=="null"&&ce===null||xe==typeof ce&&ce!==null||xe=="object"&&ce===Object(ce)||xe=="array"&&Array.isArray&&Array.isArray(ce)||d.call(ce).slice(8,-1).toLowerCase()==xe},w.angle=function(ce,xe,Be,Fe,Xe,ct){if(Xe==null){var we=ce-Be,Ae=xe-Fe;return we||Ae?(180+180*p.atan2(-Ae,-we)/x+360)%360:0}return w.angle(ce,xe,Xe,ct)-w.angle(Be,Fe,Xe,ct)},w.rad=function(ce){return ce%360*x/180},w.deg=function(ce){return Math.round(180*ce/x%360*1e3)/1e3},w.snapTo=function(ce,xe,Be){if(Be=w.is(Be,"finite")?Be:10,w.is(ce,b)){for(var Fe=ce.length;Fe--;)if(c(ce[Fe]-xe)<=Be)return ce[Fe]}else{var Xe=xe%(ce=+ce);if(Xe<Be)return xe-Xe;if(Xe>ce-Be)return xe-Xe+ce}return xe};var Wt,Et;w.createUUID=(Wt=/[xy]/g,Et=function(ce){var xe=16*p.random()|0;return(ce=="x"?xe:3&xe|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(Wt,Et).toUpperCase()}),w.setWindow=function(ce){v("raphael.setWindow",w,j.win,ce),j.win=ce,j.doc=j.win.document,w._engine.initWin&&w._engine.initWin(j.win)};var Ct=function(ce){if(w.vml){var xe,Be=/^\s+|\s+$/g;try{var Fe=new ActiveXObject("htmlfile");Fe.write("<body>"),Fe.close(),xe=Fe.body}catch{xe=createPopup().document.body}var Xe=xe.createTextRange();Ct=We(function(we){try{xe.style.color=V(we).replace(Be,re);var Ae=Xe.queryCommandValue("ForeColor");return"#"+("000000"+(Ae=(255&Ae)<<16|65280&Ae|(16711680&Ae)>>>16).toString(16)).slice(-6)}catch{return"none"}})}else{var ct=j.doc.createElement("i");ct.title="Raphaël Colour Picker",ct.style.display="none",j.doc.body.appendChild(ct),Ct=We(function(we){return ct.style.color=we,j.doc.defaultView.getComputedStyle(ct,re).getPropertyValue("color")})}return Ct(ce)},Kt=function(){return"hsb("+[this.h,this.s,this.b]+")"},Me=function(){return"hsl("+[this.h,this.s,this.l]+")"},te=function(){return this.hex},_e=function(ce,xe,Be){if(xe==null&&w.is(ce,"object")&&"r"in ce&&"g"in ce&&"b"in ce&&(Be=ce.b,xe=ce.g,ce=ce.r),xe==null&&w.is(ce,"string")){var Fe=w.getRGB(ce);ce=Fe.r,xe=Fe.g,Be=Fe.b}return(ce>1||xe>1||Be>1)&&(ce/=255,xe/=255,Be/=255),[ce,xe,Be]},je=function(ce,xe,Be,Fe){var Xe={r:ce*=255,g:xe*=255,b:Be*=255,hex:w.rgb(ce,xe,Be),toString:te};return w.is(Fe,"finite")&&(Xe.opacity=Fe),Xe};function We(ce,xe,Be){return function Fe(){var Xe=Array.prototype.slice.call(arguments,0),ct=Xe.join("␀"),we=Fe.cache=Fe.cache||{},Ae=Fe.count=Fe.count||[];return we[I](ct)?(function(Re,rt){for(var St=0,Lt=Re.length;St<Lt;St++)if(Re[St]===rt)return Re.push(Re.splice(St,1)[0])}(Ae,ct),Be?Be(we[ct]):we[ct]):(Ae.length>=1e3&&delete we[Ae.shift()],Ae.push(ct),we[ct]=ce[N](xe,Xe),Be?Be(we[ct]):we[ct])}}w.color=function(ce){var xe;return w.is(ce,"object")&&"h"in ce&&"s"in ce&&"b"in ce?(xe=w.hsb2rgb(ce),ce.r=xe.r,ce.g=xe.g,ce.b=xe.b,ce.hex=xe.hex):w.is(ce,"object")&&"h"in ce&&"s"in ce&&"l"in ce?(xe=w.hsl2rgb(ce),ce.r=xe.r,ce.g=xe.g,ce.b=xe.b,ce.hex=xe.hex):(w.is(ce,"string")&&(ce=w.getRGB(ce)),w.is(ce,"object")&&"r"in ce&&"g"in ce&&"b"in ce?(xe=w.rgb2hsl(ce),ce.h=xe.h,ce.s=xe.s,ce.l=xe.l,xe=w.rgb2hsb(ce),ce.v=xe.b):(ce={hex:"none"}).r=ce.g=ce.b=ce.h=ce.s=ce.v=ce.l=-1),ce.toString=te,ce},w.hsb2rgb=function(ce,xe,Be,Fe){var Xe,ct,we,Ae,Re;return this.is(ce,"object")&&"h"in ce&&"s"in ce&&"b"in ce&&(Be=ce.b,xe=ce.s,Fe=ce.o,ce=ce.h),Ae=(Re=Be*xe)*(1-c((ce=(ce*=360)%360/60)%2-1)),Xe=ct=we=Be-Re,je(Xe+=[Re,Ae,0,0,Ae,Re][ce=~~ce],ct+=[Ae,Re,Re,Ae,0,0][ce],we+=[0,0,Ae,Re,Re,Ae][ce],Fe)},w.hsl2rgb=function(ce,xe,Be,Fe){var Xe,ct,we,Ae,Re;return this.is(ce,"object")&&"h"in ce&&"s"in ce&&"l"in ce&&(Be=ce.l,xe=ce.s,ce=ce.h),(ce>1||xe>1||Be>1)&&(ce/=360,xe/=100,Be/=100),Ae=(Re=2*xe*(Be<.5?Be:1-Be))*(1-c((ce=(ce*=360)%360/60)%2-1)),Xe=ct=we=Be-Re/2,je(Xe+=[Re,Ae,0,0,Ae,Re][ce=~~ce],ct+=[Ae,Re,Re,Ae,0,0][ce],we+=[0,0,Ae,Re,Re,Ae][ce],Fe)},w.rgb2hsb=function(ce,xe,Be){var Fe,Xe;return ce=(Be=_e(ce,xe,Be))[0],xe=Be[1],Be=Be[2],{h:(((Xe=(Fe=y(ce,xe,Be))-S(ce,xe,Be))==0?null:Fe==ce?(xe-Be)/Xe:Fe==xe?(Be-ce)/Xe+2:(ce-xe)/Xe+4)+360)%6*60/360,s:Xe==0?0:Xe/Fe,b:Fe,toString:Kt}},w.rgb2hsl=function(ce,xe,Be){var Fe,Xe,ct,we;return ce=(Be=_e(ce,xe,Be))[0],xe=Be[1],Be=Be[2],Fe=((Xe=y(ce,xe,Be))+(ct=S(ce,xe,Be)))/2,{h:(((we=Xe-ct)==0?null:Xe==ce?(xe-Be)/we:Xe==xe?(Be-ce)/we+2:(ce-xe)/we+4)+360)%6*60/360,s:we==0?0:Fe<.5?we/(2*Fe):we/(2-2*Fe),l:Fe,toString:Me}},w._path2string=function(){return this.join(",").replace(pe,"$1")},w._preload=function(ce,xe){var Be=j.doc.createElement("img");Be.style.cssText="position:absolute;left:-9999em;top:-9999em",Be.onload=function(){xe.call(this),this.onload=null,j.doc.body.removeChild(this)},Be.onerror=function(){j.doc.body.removeChild(this)},j.doc.body.appendChild(Be),Be.src=ce};function et(){return this.hex}function Ye(ce,xe){for(var Be=[],Fe=0,Xe=ce.length;Xe-2*!xe>Fe;Fe+=2){var ct=[{x:+ce[Fe-2],y:+ce[Fe-1]},{x:+ce[Fe],y:+ce[Fe+1]},{x:+ce[Fe+2],y:+ce[Fe+3]},{x:+ce[Fe+4],y:+ce[Fe+5]}];xe?Fe?Xe-4==Fe?ct[3]={x:+ce[0],y:+ce[1]}:Xe-2==Fe&&(ct[2]={x:+ce[0],y:+ce[1]},ct[3]={x:+ce[2],y:+ce[3]}):ct[0]={x:+ce[Xe-2],y:+ce[Xe-1]}:Xe-4==Fe?ct[3]=ct[2]:Fe||(ct[0]={x:+ce[Fe],y:+ce[Fe+1]}),Be.push(["C",(-ct[0].x+6*ct[1].x+ct[2].x)/6,(-ct[0].y+6*ct[1].y+ct[2].y)/6,(ct[1].x+6*ct[2].x-ct[3].x)/6,(ct[1].y+6*ct[2].y-ct[3].y)/6,ct[2].x,ct[2].y])}return Be}w.getRGB=We(function(ce){if(!ce||(ce=V(ce)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:et};if(ce=="none")return{r:-1,g:-1,b:-1,hex:"none",toString:et};!me[I](ce.toLowerCase().substring(0,2))&&ce.charAt()!="#"&&(ce=Ct(ce));var xe,Be,Fe,Xe,ct,we,Ae=ce.match(k);return Ae?(Ae[2]&&(Fe=X(Ae[2].substring(5),16),Be=X(Ae[2].substring(3,5),16),xe=X(Ae[2].substring(1,3),16)),Ae[3]&&(Fe=X((ct=Ae[3].charAt(3))+ct,16),Be=X((ct=Ae[3].charAt(2))+ct,16),xe=X((ct=Ae[3].charAt(1))+ct,16)),Ae[4]&&(we=Ae[4][le](de),xe=J(we[0]),we[0].slice(-1)=="%"&&(xe*=2.55),Be=J(we[1]),we[1].slice(-1)=="%"&&(Be*=2.55),Fe=J(we[2]),we[2].slice(-1)=="%"&&(Fe*=2.55),Ae[1].toLowerCase().slice(0,4)=="rgba"&&(Xe=J(we[3])),we[3]&&we[3].slice(-1)=="%"&&(Xe/=100)),Ae[5]?(we=Ae[5][le](de),xe=J(we[0]),we[0].slice(-1)=="%"&&(xe*=2.55),Be=J(we[1]),we[1].slice(-1)=="%"&&(Be*=2.55),Fe=J(we[2]),we[2].slice(-1)=="%"&&(Fe*=2.55),(we[0].slice(-3)=="deg"||we[0].slice(-1)=="°")&&(xe/=360),Ae[1].toLowerCase().slice(0,4)=="hsba"&&(Xe=J(we[3])),we[3]&&we[3].slice(-1)=="%"&&(Xe/=100),w.hsb2rgb(xe,Be,Fe,Xe)):Ae[6]?(we=Ae[6][le](de),xe=J(we[0]),we[0].slice(-1)=="%"&&(xe*=2.55),Be=J(we[1]),we[1].slice(-1)=="%"&&(Be*=2.55),Fe=J(we[2]),we[2].slice(-1)=="%"&&(Fe*=2.55),(we[0].slice(-3)=="deg"||we[0].slice(-1)=="°")&&(xe/=360),Ae[1].toLowerCase().slice(0,4)=="hsla"&&(Xe=J(we[3])),we[3]&&we[3].slice(-1)=="%"&&(Xe/=100),w.hsl2rgb(xe,Be,Fe,Xe)):((Ae={r:xe,g:Be,b:Fe,toString:et}).hex="#"+(16777216|Fe|Be<<8|xe<<16).toString(16).slice(1),w.is(Xe,"finite")&&(Ae.opacity=Xe),Ae)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:et}},w),w.hsb=We(function(ce,xe,Be){return w.hsb2rgb(ce,xe,Be).hex}),w.hsl=We(function(ce,xe,Be){return w.hsl2rgb(ce,xe,Be).hex}),w.rgb=We(function(ce,xe,Be){function Fe(Xe){return Xe+.5|0}return"#"+(16777216|Fe(Be)|Fe(xe)<<8|Fe(ce)<<16).toString(16).slice(1)}),w.getColor=function(ce){var xe=this.getColor.start=this.getColor.start||{h:0,s:1,b:ce||.75},Be=this.hsb2rgb(xe.h,xe.s,xe.b);return xe.h+=.075,xe.h>1&&(xe.h=0,xe.s-=.2,xe.s<=0&&(this.getColor.start={h:0,s:1,b:xe.b})),Be.hex},w.getColor.reset=function(){delete this.start},w.parsePathString=function(ce){if(!ce)return null;var xe=De(ce);if(xe.arr)return _t(xe.arr);var Be={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},Fe=[];return w.is(ce,b)&&w.is(ce[0],b)&&(Fe=_t(ce)),Fe.length||V(ce).replace(qe,function(Xe,ct,we){var Ae=[],Re=ct.toLowerCase();if(we.replace(st,function(rt,St){St&&Ae.push(+St)}),Re=="m"&&Ae.length>2&&(Fe.push([ct][ee](Ae.splice(0,2))),Re="l",ct=ct=="m"?"l":"L"),Re=="r")Fe.push([ct][ee](Ae));else for(;Ae.length>=Be[Re]&&(Fe.push([ct][ee](Ae.splice(0,Be[Re]))),Be[Re]););}),Fe.toString=w._path2string,xe.arr=_t(Fe),Fe},w.parseTransformString=We(function(ce){if(!ce)return null;var xe=[];return w.is(ce,b)&&w.is(ce[0],b)&&(xe=_t(ce)),xe.length||V(ce).replace(mt,function(Be,Fe,Xe){var ct=[];L.call(Fe),Xe.replace(st,function(we,Ae){Ae&&ct.push(+Ae)}),xe.push([Fe][ee](ct))}),xe.toString=w._path2string,xe},this,function(ce){if(!ce)return ce;for(var xe=[],Be=0;Be<ce.length;Be++){for(var Fe=[],Xe=0;Xe<ce[Be].length;Xe++)Fe.push(ce[Be][Xe]);xe.push(Fe)}return xe});var De=function(ce){var xe=De.ps=De.ps||{};return xe[ce]?xe[ce].sleep=100:xe[ce]={sleep:100},setTimeout(function(){for(var Be in xe)xe[I](Be)&&Be!=ce&&(xe[Be].sleep--,!xe[Be].sleep&&delete xe[Be])}),xe[ce]};function Ht(ce,xe,Be,Fe,Xe){return ce*(ce*(-3*xe+9*Be-9*Fe+3*Xe)+6*xe-12*Be+6*Fe)-3*xe+3*Be}function Mt(ce,xe,Be,Fe,Xe,ct,we,Ae,Re){Re==null&&(Re=1);for(var rt=(Re=Re>1?1:Re<0?0:Re)/2,St=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],Lt=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],Ft=0,$t=0;$t<12;$t++){var nr=rt*St[$t]+rt,gr=Ht(nr,ce,Be,Xe,we),fr=Ht(nr,xe,Fe,ct,Ae),ar=gr*gr+fr*fr;Ft+=Lt[$t]*p.sqrt(ar)}return rt*Ft}function ge(ce,xe,Be,Fe,Xe,ct,we,Ae){if(!(y(ce,Be)<S(Xe,we)||S(ce,Be)>y(Xe,we)||y(xe,Fe)<S(ct,Ae)||S(xe,Fe)>y(ct,Ae))){var Re=(ce-Be)*(ct-Ae)-(xe-Fe)*(Xe-we);if(Re){var rt=((ce*Fe-xe*Be)*(Xe-we)-(ce-Be)*(Xe*Ae-ct*we))/Re,St=((ce*Fe-xe*Be)*(ct-Ae)-(xe-Fe)*(Xe*Ae-ct*we))/Re,Lt=+rt.toFixed(2),Ft=+St.toFixed(2);if(!(Lt<+S(ce,Be).toFixed(2)||Lt>+y(ce,Be).toFixed(2)||Lt<+S(Xe,we).toFixed(2)||Lt>+y(Xe,we).toFixed(2)||Ft<+S(xe,Fe).toFixed(2)||Ft>+y(xe,Fe).toFixed(2)||Ft<+S(ct,Ae).toFixed(2)||Ft>+y(ct,Ae).toFixed(2)))return{x:rt,y:St}}}}function Dt(ce,xe,Be){var Fe=w.bezierBBox(ce),Xe=w.bezierBBox(xe);if(!w.isBBoxIntersect(Fe,Xe))return Be?0:[];for(var ct=Mt.apply(0,ce),we=Mt.apply(0,xe),Ae=y(~~(ct/5),1),Re=y(~~(we/5),1),rt=[],St=[],Lt={},Ft=Be?0:[],$t=0;$t<Ae+1;$t++){var nr=w.findDotsAtSegment.apply(w,ce.concat($t/Ae));rt.push({x:nr.x,y:nr.y,t:$t/Ae})}for($t=0;$t<Re+1;$t++)nr=w.findDotsAtSegment.apply(w,xe.concat($t/Re)),St.push({x:nr.x,y:nr.y,t:$t/Re});for($t=0;$t<Ae;$t++)for(var gr=0;gr<Re;gr++){var fr=rt[$t],ar=rt[$t+1],Ur=St[gr],Er=St[gr+1],Pr=c(ar.x-fr.x)<.001?"y":"x",_r=c(Er.x-Ur.x)<.001?"y":"x",ti=ge(fr.x,fr.y,ar.x,ar.y,Ur.x,Ur.y,Er.x,Er.y);if(ti){if(Lt[ti.x.toFixed(4)]==ti.y.toFixed(4))continue;Lt[ti.x.toFixed(4)]=ti.y.toFixed(4);var Qr=fr.t+c((ti[Pr]-fr[Pr])/(ar[Pr]-fr[Pr]))*(ar.t-fr.t),ri=Ur.t+c((ti[_r]-Ur[_r])/(Er[_r]-Ur[_r]))*(Er.t-Ur.t);Qr>=0&&Qr<=1.001&&ri>=0&&ri<=1.001&&(Be?Ft++:Ft.push({x:ti.x,y:ti.y,t1:S(Qr,1),t2:S(ri,1)}))}}return Ft}function yt(ce,xe,Be){ce=w._path2curve(ce),xe=w._path2curve(xe);for(var Fe,Xe,ct,we,Ae,Re,rt,St,Lt,Ft,$t=Be?0:[],nr=0,gr=ce.length;nr<gr;nr++){var fr=ce[nr];if(fr[0]=="M")Fe=Ae=fr[1],Xe=Re=fr[2];else{fr[0]=="C"?(Lt=[Fe,Xe].concat(fr.slice(1)),Fe=Lt[6],Xe=Lt[7]):(Lt=[Fe,Xe,Fe,Xe,Ae,Re,Ae,Re],Fe=Ae,Xe=Re);for(var ar=0,Ur=xe.length;ar<Ur;ar++){var Er=xe[ar];if(Er[0]=="M")ct=rt=Er[1],we=St=Er[2];else{Er[0]=="C"?(Ft=[ct,we].concat(Er.slice(1)),ct=Ft[6],we=Ft[7]):(Ft=[ct,we,ct,we,rt,St,rt,St],ct=rt,we=St);var Pr=Dt(Lt,Ft,Be);if(Be)$t+=Pr;else{for(var _r=0,ti=Pr.length;_r<ti;_r++)Pr[_r].segment1=nr,Pr[_r].segment2=ar,Pr[_r].bez1=Lt,Pr[_r].bez2=Ft;$t=$t.concat(Pr)}}}}}return $t}w.findDotsAtSegment=function(ce,xe,Be,Fe,Xe,ct,we,Ae,Re){var rt=1-Re,St=m(rt,3),Lt=m(rt,2),Ft=Re*Re,$t=Ft*Re,nr=St*ce+3*Lt*Re*Be+3*rt*Re*Re*Xe+$t*we,gr=St*xe+3*Lt*Re*Fe+3*rt*Re*Re*ct+$t*Ae,fr=ce+2*Re*(Be-ce)+Ft*(Xe-2*Be+ce),ar=xe+2*Re*(Fe-xe)+Ft*(ct-2*Fe+xe),Ur=Be+2*Re*(Xe-Be)+Ft*(we-2*Xe+Be),Er=Fe+2*Re*(ct-Fe)+Ft*(Ae-2*ct+Fe),Pr=rt*ce+Re*Be,_r=rt*xe+Re*Fe,ti=rt*Xe+Re*we,Qr=rt*ct+Re*Ae,ri=90-180*p.atan2(fr-Ur,ar-Er)/x;return(fr>Ur||ar<Er)&&(ri+=180),{x:nr,y:gr,m:{x:fr,y:ar},n:{x:Ur,y:Er},start:{x:Pr,y:_r},end:{x:ti,y:Qr},alpha:ri}},w.bezierBBox=function(ce,xe,Be,Fe,Xe,ct,we,Ae){w.is(ce,"array")||(ce=[ce,xe,Be,Fe,Xe,ct,we,Ae]);var Re=zt.apply(null,ce);return{x:Re.min.x,y:Re.min.y,x2:Re.max.x,y2:Re.max.y,width:Re.max.x-Re.min.x,height:Re.max.y-Re.min.y}},w.isPointInsideBBox=function(ce,xe,Be){return xe>=ce.x&&xe<=ce.x2&&Be>=ce.y&&Be<=ce.y2},w.isBBoxIntersect=function(ce,xe){var Be=w.isPointInsideBBox;return Be(xe,ce.x,ce.y)||Be(xe,ce.x2,ce.y)||Be(xe,ce.x,ce.y2)||Be(xe,ce.x2,ce.y2)||Be(ce,xe.x,xe.y)||Be(ce,xe.x2,xe.y)||Be(ce,xe.x,xe.y2)||Be(ce,xe.x2,xe.y2)||(ce.x<xe.x2&&ce.x>xe.x||xe.x<ce.x2&&xe.x>ce.x)&&(ce.y<xe.y2&&ce.y>xe.y||xe.y<ce.y2&&xe.y>ce.y)},w.pathIntersection=function(ce,xe){return yt(ce,xe)},w.pathIntersectionNumber=function(ce,xe){return yt(ce,xe,1)},w.isPointInsidePath=function(ce,xe,Be){var Fe=w.pathBBox(ce);return w.isPointInsideBBox(Fe,xe,Be)&&yt(ce,[["M",xe,Be],["H",Fe.x2+10]],1)%2==1},w._removedFactory=function(ce){return function(){v("raphael.log",null,"Raphaël: you are calling to method “"+ce+"” of removed object",ce)}};var Ne=w.pathBBox=function(ce){var xe=De(ce);if(xe.bbox)return Qe(xe.bbox);if(!ce)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var Be,Fe=0,Xe=0,ct=[],we=[],Ae=0,Re=(ce=Qt(ce)).length;Ae<Re;Ae++)if((Be=ce[Ae])[0]=="M")Fe=Be[1],Xe=Be[2],ct.push(Fe),we.push(Xe);else{var rt=zt(Fe,Xe,Be[1],Be[2],Be[3],Be[4],Be[5],Be[6]);ct=ct[ee](rt.min.x,rt.max.x),we=we[ee](rt.min.y,rt.max.y),Fe=Be[5],Xe=Be[6]}var St=S[N](0,ct),Lt=S[N](0,we),Ft=y[N](0,ct),$t=y[N](0,we),nr=Ft-St,gr=$t-Lt,fr={x:St,y:Lt,x2:Ft,y2:$t,width:nr,height:gr,cx:St+nr/2,cy:Lt+gr/2};return xe.bbox=Qe(fr),fr},_t=function(ce){var xe=Qe(ce);return xe.toString=w._path2string,xe},pt=w._pathToRelative=function(ce){var xe=De(ce);if(xe.rel)return _t(xe.rel);w.is(ce,b)&&w.is(ce&&ce[0],b)||(ce=w.parsePathString(ce));var Be=[],Fe=0,Xe=0,ct=0,we=0,Ae=0;ce[0][0]=="M"&&(ct=Fe=ce[0][1],we=Xe=ce[0][2],Ae++,Be.push(["M",Fe,Xe]));for(var Re=Ae,rt=ce.length;Re<rt;Re++){var St=Be[Re]=[],Lt=ce[Re];if(Lt[0]!=L.call(Lt[0]))switch(St[0]=L.call(Lt[0]),St[0]){case"a":St[1]=Lt[1],St[2]=Lt[2],St[3]=Lt[3],St[4]=Lt[4],St[5]=Lt[5],St[6]=+(Lt[6]-Fe).toFixed(3),St[7]=+(Lt[7]-Xe).toFixed(3);break;case"v":St[1]=+(Lt[1]-Xe).toFixed(3);break;case"m":ct=Lt[1],we=Lt[2];default:for(var Ft=1,$t=Lt.length;Ft<$t;Ft++)St[Ft]=+(Lt[Ft]-(Ft%2?Fe:Xe)).toFixed(3)}else{St=Be[Re]=[],Lt[0]=="m"&&(ct=Lt[1]+Fe,we=Lt[2]+Xe);for(var nr=0,gr=Lt.length;nr<gr;nr++)Be[Re][nr]=Lt[nr]}var fr=Be[Re].length;switch(Be[Re][0]){case"z":Fe=ct,Xe=we;break;case"h":Fe+=+Be[Re][fr-1];break;case"v":Xe+=+Be[Re][fr-1];break;default:Fe+=+Be[Re][fr-2],Xe+=+Be[Re][fr-1]}}return Be.toString=w._path2string,xe.rel=_t(Be),Be},Bt=w._pathToAbsolute=function(ce){var xe=De(ce);if(xe.abs)return _t(xe.abs);if(w.is(ce,b)&&w.is(ce&&ce[0],b)||(ce=w.parsePathString(ce)),!ce||!ce.length)return[["M",0,0]];var Be=[],Fe=0,Xe=0,ct=0,we=0,Ae=0;ce[0][0]=="M"&&(ct=Fe=+ce[0][1],we=Xe=+ce[0][2],Ae++,Be[0]=["M",Fe,Xe]);for(var Re,rt,St=ce.length==3&&ce[0][0]=="M"&&ce[1][0].toUpperCase()=="R"&&ce[2][0].toUpperCase()=="Z",Lt=Ae,Ft=ce.length;Lt<Ft;Lt++){if(Be.push(Re=[]),(rt=ce[Lt])[0]!=U.call(rt[0]))switch(Re[0]=U.call(rt[0]),Re[0]){case"A":Re[1]=rt[1],Re[2]=rt[2],Re[3]=rt[3],Re[4]=rt[4],Re[5]=rt[5],Re[6]=+(rt[6]+Fe),Re[7]=+(rt[7]+Xe);break;case"V":Re[1]=+rt[1]+Xe;break;case"H":Re[1]=+rt[1]+Fe;break;case"R":for(var $t=[Fe,Xe][ee](rt.slice(1)),nr=2,gr=$t.length;nr<gr;nr++)$t[nr]=+$t[nr]+Fe,$t[++nr]=+$t[nr]+Xe;Be.pop(),Be=Be[ee](Ye($t,St));break;case"M":ct=+rt[1]+Fe,we=+rt[2]+Xe;default:for(nr=1,gr=rt.length;nr<gr;nr++)Re[nr]=+rt[nr]+(nr%2?Fe:Xe)}else if(rt[0]=="R")$t=[Fe,Xe][ee](rt.slice(1)),Be.pop(),Be=Be[ee](Ye($t,St)),Re=["R"][ee](rt.slice(-2));else for(var fr=0,ar=rt.length;fr<ar;fr++)Re[fr]=rt[fr];switch(Re[0]){case"Z":Fe=ct,Xe=we;break;case"H":Fe=Re[1];break;case"V":Xe=Re[1];break;case"M":ct=Re[Re.length-2],we=Re[Re.length-1];default:Fe=Re[Re.length-2],Xe=Re[Re.length-1]}}return Be.toString=w._path2string,xe.abs=_t(Be),Be},ur=function(ce,xe,Be,Fe){return[ce,xe,Be,Fe,Be,Fe]},kt=function(ce,xe,Be,Fe,Xe,ct){return[1/3*ce+2/3*Be,1/3*xe+2/3*Fe,1/3*Xe+2/3*Be,1/3*ct+2/3*Fe,Xe,ct]},Ut=function(ce,xe,Be,Fe,Xe,ct,we,Ae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t);for(var ea=[],gi=0,Hi=($t=[ki,Ki,Ji][ee]($t).join()[le](",")).length;gi<Hi;gi++)ea[gi]=gi%2?nr($t[gi-1],$t[gi],Ft).y:nr($t[gi],$t[gi+1],Ft).x;return ea},Wr=function(ce,xe,Be,Fe,Xe,ct,we,Ae,Re){var rt=1-Re;return{x:m(rt,3)*ce+3*m(rt,2)*Re*Be+3*rt*Re*Re*Xe+m(Re,3)*we,y:m(rt,3)*xe+3*m(rt,2)*Re*Fe+3*rt*Re*Re*ct+m(Re,3)*Ae}},zt=We(function(ce,xe,Be,Fe,Xe,ct,we,Ae){var Re,rt=Xe-2*Be+ce-(we-2*Xe+Be),St=2*(Be-ce)-2*(Xe-Be),Lt=ce-Be,Ft=(-St+p.sqrt(St*St-4*rt*Lt))/2/rt,$t=(-St-p.sqrt(St*St-4*rt*Lt))/2/rt,nr=[xe,Ae],gr=[ce,we];return c(Ft)>"1e12"&&(Ft=.5),c($t)>"1e12"&&($t=.5),Ft>0&&Ft<1&&(Re=Wr(ce,xe,Be,Fe,Xe,ct,we,Ae,Ft),gr.push(Re.x),nr.push(Re.y)),$t>0&&$t<1&&(Re=Wr(ce,xe,Be,Fe,Xe,ct,we,Ae,$t),gr.push(Re.x),nr.push(Re.y)),rt=ct-2*Fe+xe-(Ae-2*ct+Fe),Lt=xe-Fe,Ft=(-(St=2*(Fe-xe)-2*(ct-Fe))+p.sqrt(St*St-4*rt*Lt))/2/rt,$t=(-St-p.sqrt(St*St-4*rt*Lt))/2/rt,c(Ft)>"1e12"&&(Ft=.5),c($t)>"1e12"&&($t=.5),Ft>0&&Ft<1&&(Re=Wr(ce,xe,Be,Fe,Xe,ct,we,Ae,Ft),gr.push(Re.x),nr.push(Re.y)),$t>0&&$t<1&&(Re=Wr(ce,xe,Be,Fe,Xe,ct,we,Ae,$t),gr.push(Re.x),nr.push(Re.y)),{min:{x:S[N](0,gr),y:S[N](0,nr)},max:{x:y[N](0,gr),y:y[N](0,nr)}}}),Qt=w._path2curve=We(function(ce,xe){var Be=!xe&&De(ce);if(!xe&&Be.curve)return _t(Be.curve);for(var Fe=Bt(ce),Xe=xe&&Bt(xe),ct={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},we={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},Ae=function(Pr,_r,ti){var Qr,ri;if(!Pr)return["C",_r.x,_r.y,_r.x,_r.y,_r.x,_r.y];switch(!(Pr[0]in{T:1,Q:1})&&(_r.qx=_r.qy=null),Pr[0]){case"M":_r.X=Pr[1],_r.Y=Pr[2];break;case"A":Pr=["C"][ee](Ut[N](0,[_r.x,_r.y][ee](Pr.slice(1))));break;case"S":ti=="C"||ti=="S"?(Qr=2*_r.x-_r.bx,ri=2*_r.y-_r.by):(Qr=_r.x,ri=_r.y),Pr=["C",Qr,ri][ee](Pr.slice(1));break;case"T":ti=="Q"||ti=="T"?(_r.qx=2*_r.x-_r.qx,_r.qy=2*_r.y-_r.qy):(_r.qx=_r.x,_r.qy=_r.y),Pr=["C"][ee](kt(_r.x,_r.y,_r.qx,_r.qy,Pr[1],Pr[2]));break;case"Q":_r.qx=Pr[1],_r.qy=Pr[2],Pr=["C"][ee](kt(_r.x,_r.y,Pr[1],Pr[2],Pr[3],Pr[4]));break;case"L":Pr=["C"][ee](ur(_r.x,_r.y,Pr[1],Pr[2]));break;case"H":Pr=["C"][ee](ur(_r.x,_r.y,Pr[1],_r.y));break;case"V":Pr=["C"][ee](ur(_r.x,_r.y,_r.x,Pr[1]));break;case"Z":Pr=["C"][ee](ur(_r.x,_r.y,_r.X,_r.Y))}return Pr},Re=function(Pr,_r){if(Pr[_r].length>7){Pr[_r].shift();for(var ti=Pr[_r];ti.length;)St[_r]="A",Xe&&(Lt[_r]="A"),Pr.splice(_r++,0,["C"][ee](ti.splice(0,6)));Pr.splice(_r,1),gr=y(Fe.length,Xe&&Xe.length||0)}},rt=function(Pr,_r,ti,Qr,ri){Pr&&_r&&Pr[ri][0]=="M"&&_r[ri][0]!="M"&&(_r.splice(ri,0,["M",Qr.x,Qr.y]),ti.bx=0,ti.by=0,ti.x=Pr[ri][1],ti.y=Pr[ri][2],gr=y(Fe.length,Xe&&Xe.length||0))},St=[],Lt=[],Ft="",$t="",nr=0,gr=y(Fe.length,Xe&&Xe.length||0);nr<gr;nr++){Fe[nr]&&(Ft=Fe[nr][0]),Ft!="C"&&(St[nr]=Ft,nr&&($t=St[nr-1])),Fe[nr]=Ae(Fe[nr],ct,$t),St[nr]!="A"&&Ft=="C"&&(St[nr]="C"),Re(Fe,nr),Xe&&(Xe[nr]&&(Ft=Xe[nr][0]),Ft!="C"&&(Lt[nr]=Ft,nr&&($t=Lt[nr-1])),Xe[nr]=Ae(Xe[nr],we,$t),Lt[nr]!="A"&&Ft=="C"&&(Lt[nr]="C"),Re(Xe,nr)),rt(Fe,Xe,ct,we,nr),rt(Xe,Fe,we,ct,nr);var fr=Fe[nr],ar=Xe&&Xe[nr],Ur=fr.length,Er=Xe&&ar.length;ct.x=fr[Ur-2],ct.y=fr[Ur-1],ct.bx=J(fr[Ur-4])||ct.x,ct.by=J(fr[Ur-3])||ct.y,we.bx=Xe&&(J(ar[Er-4])||we.x),we.by=Xe&&(J(ar[Er-3])||we.y),we.x=Xe&&ar[Er-2],we.y=Xe&&ar[Er-1]}return Xe||(Be.curve=_t(Fe)),Xe?[Fe,Xe]:Fe},null,_t),$e=(w._parseDots=We(function(ce){for(var xe=[],Be=0,Fe=ce.length;Be<Fe;Be++){var Xe={},ct=ce[Be].match(/^([^:]*):?([\d\.]*)/);if(Xe.color=w.getRGB(ct[1]),Xe.color.error)return null;Xe.opacity=Xe.color.opacity,Xe.color=Xe.color.hex,ct[2]&&(Xe.offset=ct[2]+"%"),xe.push(Xe)}for(Be=1,Fe=xe.length-1;Be<Fe;Be++)if(!xe[Be].offset){for(var we=J(xe[Be-1].offset||0),Ae=0,Re=Be+1;Re<Fe;Re++)if(xe[Re].offset){Ae=xe[Re].offset;break}Ae||(Ae=100,Re=Fe);for(var rt=((Ae=J(Ae))-we)/(Re-Be+1);Be<Re;Be++)we+=rt,xe[Be].offset=we+"%"}return xe}),w._tear=function(ce,xe){ce==xe.top&&(xe.top=ce.prev),ce==xe.bottom&&(xe.bottom=ce.next),ce.next&&(ce.next.prev=ce.prev),ce.prev&&(ce.prev.next=ce.next)}),be=(w._tofront=function(ce,xe){xe.top!==ce&&($e(ce,xe),ce.next=null,ce.prev=xe.top,xe.top.next=ce,xe.top=ce)},w._toback=function(ce,xe){xe.bottom!==ce&&($e(ce,xe),ce.next=xe.bottom,ce.prev=null,xe.bottom.prev=ce,xe.bottom=ce)},w._insertafter=function(ce,xe,Be){$e(ce,Be),xe==Be.top&&(Be.top=ce),xe.next&&(xe.next.prev=ce),ce.next=xe.next,ce.prev=xe,xe.next=ce},w._insertbefore=function(ce,xe,Be){$e(ce,Be),xe==Be.bottom&&(Be.bottom=ce),xe.prev&&(xe.prev.next=ce),ce.prev=xe.prev,xe.prev=ce,ce.next=xe},w.toMatrix=function(ce,xe){var Be=Ne(ce),Fe={_:{transform:re},getBBox:function(){return Be}};return ve(Fe,xe),Fe.matrix}),ve=(w.transformPath=function(ce,xe){return bt(ce,be(ce,xe))},w._extractTransform=function(ce,xe){if(xe==null)return ce._.transform;xe=V(xe).replace(/\.{3}|\u2026/g,ce._.transform||re);var Be,Fe,Xe=w.parseTransformString(xe),ct=0,we=1,Ae=1,Re=ce._,rt=new ze;if(Re.transform=Xe||[],Xe)for(var St=0,Lt=Xe.length;St<Lt;St++){var Ft,$t,nr,gr,fr,ar=Xe[St],Ur=ar.length,Er=V(ar[0]).toLowerCase(),Pr=ar[0]!=Er,_r=Pr?rt.invert():0;Er=="t"&&Ur==3?Pr?(Ft=_r.x(0,0),$t=_r.y(0,0),nr=_r.x(ar[1],ar[2]),gr=_r.y(ar[1],ar[2]),rt.translate(nr-Ft,gr-$t)):rt.translate(ar[1],ar[2]):Er=="r"?Ur==2?(fr=fr||ce.getBBox(1),rt.rotate(ar[1],fr.x+fr.width/2,fr.y+fr.height/2),ct+=ar[1]):Ur==4&&(Pr?(nr=_r.x(ar[2],ar[3]),gr=_r.y(ar[2],ar[3]),rt.rotate(ar[1],nr,gr)):rt.rotate(ar[1],ar[2],ar[3]),ct+=ar[1]):Er=="s"?Ur==2||Ur==3?(fr=fr||ce.getBBox(1),rt.scale(ar[1],ar[Ur-1],fr.x+fr.width/2,fr.y+fr.height/2),we*=ar[1],Ae*=ar[Ur-1]):Ur==5&&(Pr?(nr=_r.x(ar[3],ar[4]),gr=_r.y(ar[3],ar[4]),rt.scale(ar[1],ar[2],nr,gr)):rt.scale(ar[1],ar[2],ar[3],ar[4]),we*=ar[1],Ae*=ar[2]):Er=="m"&&Ur==7&&rt.add(ar[1],ar[2],ar[3],ar[4],ar[5],ar[6]),Re.dirtyT=1,ce.matrix=rt}ce.matrix=rt,Re.sx=we,Re.sy=Ae,Re.deg=ct,Re.dx=Be=rt.e,Re.dy=Fe=rt.f,we==1&&Ae==1&&!ct&&Re.bbox?(Re.bbox.x+=+Be,Re.bbox.y+=+Fe):Re.dirtyT=1}),se=function(ce){var xe=ce[0];switch(xe.toLowerCase()){case"t":return[xe,0,0];case"m":return[xe,1,0,0,1,0,0];case"r":return ce.length==4?[xe,0,ce[2],ce[3]]:[xe,0];case"s":return ce.length==5?[xe,1,1,ce[3],ce[4]]:ce.length==3?[xe,1,1]:[xe,1]}},Pe=w._equaliseTransform=function(ce,xe){xe=V(xe).replace(/\.{3}|\u2026/g,ce),ce=w.parseTransformString(ce)||[],xe=w.parseTransformString(xe)||[];for(var Be,Fe,Xe,ct,we=y(ce.length,xe.length),Ae=[],Re=[],rt=0;rt<we;rt++){if(Xe=ce[rt]||se(xe[rt]),ct=xe[rt]||se(Xe),Xe[0]!=ct[0]||Xe[0].toLowerCase()=="r"&&(Xe[2]!=ct[2]||Xe[3]!=ct[3])||Xe[0].toLowerCase()=="s"&&(Xe[3]!=ct[3]||Xe[4]!=ct[4]))return;for(Ae[rt]=[],Re[rt]=[],Be=0,Fe=y(Xe.length,ct.length);Be<Fe;Be++)Be in Xe&&(Ae[rt][Be]=Xe[Be]),Be in ct&&(Re[rt][Be]=ct[Be])}return{from:Ae,to:Re}};function ze(ce,xe,Be,Fe,Xe,ct){ce!=null?(this.a=+ce,this.b=+xe,this.c=+Be,this.d=+Fe,this.e=+Xe,this.f=+ct):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}w._getContainer=function(ce,xe,Be,Fe){var Xe;if((Xe=Fe!=null||w.is(ce,"object")?ce:j.doc.getElementById(ce))!=null)return Xe.tagName?xe==null?{container:Xe,width:Xe.style.pixelWidth||Xe.offsetWidth,height:Xe.style.pixelHeight||Xe.offsetHeight}:{container:Xe,width:xe,height:Be}:{container:1,x:ce,y:xe,width:Be,height:Fe}},w.pathToRelative=pt,w._engine={},w.path2curve=Qt,w.matrix=function(ce,xe,Be,Fe,Xe,ct){return new ze(ce,xe,Be,Fe,Xe,ct)},function(ce){function xe(Fe){return Fe[0]*Fe[0]+Fe[1]*Fe[1]}function Be(Fe){var Xe=p.sqrt(xe(Fe));Fe[0]&&(Fe[0]/=Xe),Fe[1]&&(Fe[1]/=Xe)}ce.add=function(Fe,Xe,ct,we,Ae,Re){var rt,St,Lt,Ft,$t=[[],[],[]],nr=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],gr=[[Fe,ct,Ae],[Xe,we,Re],[0,0,1]];for(Fe&&Fe instanceof ze&&(gr=[[Fe.a,Fe.c,Fe.e],[Fe.b,Fe.d,Fe.f],[0,0,1]]),rt=0;rt<3;rt++)for(St=0;St<3;St++){for(Ft=0,Lt=0;Lt<3;Lt++)Ft+=nr[rt][Lt]*gr[Lt][St];$t[rt][St]=Ft}this.a=$t[0][0],this.b=$t[1][0],this.c=$t[0][1],this.d=$t[1][1],this.e=$t[0][2],this.f=$t[1][2]},ce.invert=function(){var Fe=this,Xe=Fe.a*Fe.d-Fe.b*Fe.c;return new ze(Fe.d/Xe,-Fe.b/Xe,-Fe.c/Xe,Fe.a/Xe,(Fe.c*Fe.f-Fe.d*Fe.e)/Xe,(Fe.b*Fe.e-Fe.a*Fe.f)/Xe)},ce.clone=function(){return new ze(this.a,this.b,this.c,this.d,this.e,this.f)},ce.translate=function(Fe,Xe){this.add(1,0,0,1,Fe,Xe)},ce.scale=function(Fe,Xe,ct,we){Xe==null&&(Xe=Fe),(ct||we)&&this.add(1,0,0,1,ct,we),this.add(Fe,0,0,Xe,0,0),(ct||we)&&this.add(1,0,0,1,-ct,-we)},ce.rotate=function(Fe,Xe,ct){Fe=w.rad(Fe),Xe=Xe||0,ct=ct||0;var we=+p.cos(Fe).toFixed(9),Ae=+p.sin(Fe).toFixed(9);this.add(we,Ae,-Ae,we,Xe,ct),this.add(1,0,0,1,-Xe,-ct)},ce.x=function(Fe,Xe){return Fe*this.a+Xe*this.c+this.e},ce.y=function(Fe,Xe){return Fe*this.b+Xe*this.d+this.f},ce.get=function(Fe){return+this[V.fromCharCode(97+Fe)].toFixed(4)},ce.toString=function(){return w.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},ce.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},ce.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},ce.split=function(){var Fe={};Fe.dx=this.e,Fe.dy=this.f;var Xe=[[this.a,this.c],[this.b,this.d]];Fe.scalex=p.sqrt(xe(Xe[0])),Be(Xe[0]),Fe.shear=Xe[0][0]*Xe[1][0]+Xe[0][1]*Xe[1][1],Xe[1]=[Xe[1][0]-Xe[0][0]*Fe.shear,Xe[1][1]-Xe[0][1]*Fe.shear],Fe.scaley=p.sqrt(xe(Xe[1])),Be(Xe[1]),Fe.shear/=Fe.scaley;var ct=-Xe[0][1],we=Xe[1][1];return we<0?(Fe.rotate=w.deg(p.acos(we)),ct<0&&(Fe.rotate=360-Fe.rotate)):Fe.rotate=w.deg(p.asin(ct)),Fe.isSimple=!(+Fe.shear.toFixed(9)||Fe.scalex.toFixed(9)!=Fe.scaley.toFixed(9)&&Fe.rotate),Fe.isSuperSimple=!+Fe.shear.toFixed(9)&&Fe.scalex.toFixed(9)==Fe.scaley.toFixed(9)&&!Fe.rotate,Fe.noRotation=!+Fe.shear.toFixed(9)&&!Fe.rotate,Fe},ce.toTransformString=function(Fe){var Xe=Fe||this[le]();return Xe.isSimple?(Xe.scalex=+Xe.scalex.toFixed(4),Xe.scaley=+Xe.scaley.toFixed(4),Xe.rotate=+Xe.rotate.toFixed(4),(Xe.dx||Xe.dy?"t"+[Xe.dx,Xe.dy]:re)+(Xe.scalex!=1||Xe.scaley!=1?"s"+[Xe.scalex,Xe.scaley,0,0]:re)+(Xe.rotate?"r"+[Xe.rotate,0,0]:re)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(ze.prototype);for(var xt=function(){this.returnValue=!1},ot=function(){return this.originalEvent.preventDefault()},wt=function(){this.cancelBubble=!0},Yt=function(){return this.originalEvent.stopPropagation()},Jt=function(ce){var xe=j.doc.documentElement.scrollTop||j.doc.body.scrollTop,Be=j.doc.documentElement.scrollLeft||j.doc.body.scrollLeft;return{x:ce.clientX+Be,y:ce.clientY+xe}},wr=j.doc.addEventListener?function(ce,xe,Be,Fe){var Xe=function(we){var Ae=Jt(we);return Be.call(Fe,we,Ae.x,Ae.y)};if(ce.addEventListener(xe,Xe,!1),Z&&ye[xe]){var ct=function(we){for(var Ae=Jt(we),Re=we,rt=0,St=we.targetTouches&&we.targetTouches.length;rt<St;rt++)if(we.targetTouches[rt].target==ce){(we=we.targetTouches[rt]).originalEvent=Re,we.preventDefault=ot,we.stopPropagation=Yt;break}return Be.call(Fe,we,Ae.x,Ae.y)};ce.addEventListener(ye[xe],ct,!1)}return function(){return ce.removeEventListener(xe,Xe,!1),Z&&ye[xe]&&ce.removeEventListener(ye[xe],ct,!1),!0}}:j.doc.attachEvent?function(ce,xe,Be,Fe){var Xe=function(ct){ct=ct||j.win.event;var we=j.doc.documentElement.scrollTop||j.doc.body.scrollTop,Ae=j.doc.documentElement.scrollLeft||j.doc.body.scrollLeft,Re=ct.clientX+Ae,rt=ct.clientY+we;return ct.preventDefault=ct.preventDefault||xt,ct.stopPropagation=ct.stopPropagation||wt,Be.call(Fe,ct,Re,rt)};return ce.attachEvent("on"+xe,Xe),function(){return ce.detachEvent("on"+xe,Xe),!0}}:void 0,lr=[],Rr=function(ce){for(var xe,Be=ce.clientX,Fe=ce.clientY,Xe=j.doc.documentElement.scrollTop||j.doc.body.scrollTop,ct=j.doc.documentElement.scrollLeft||j.doc.body.scrollLeft,we=lr.length;we--;){if(xe=lr[we],Z&&ce.touches){for(var Ae,Re=ce.touches.length;Re--;)if((Ae=ce.touches[Re]).identifier==xe.el._drag.id){Be=Ae.clientX,Fe=Ae.clientY,(ce.originalEvent?ce.originalEvent:ce).preventDefault();break}}else ce.preventDefault();var rt,St=xe.el.node,Lt=St.nextSibling,Ft=St.parentNode,$t=St.style.display;j.win.opera&&Ft.removeChild(St),St.style.display="none",rt=xe.el.paper.getElementByPoint(Be,Fe),St.style.display=$t,j.win.opera&&(Lt?Ft.insertBefore(St,Lt):Ft.appendChild(St)),rt&&v("raphael.drag.over."+xe.el.id,xe.el,rt),Be+=ct,Fe+=Xe,v("raphael.drag.move."+xe.el.id,xe.move_scope||xe.el,Be-xe.el._drag.x,Fe-xe.el._drag.y,Be,Fe,ce)}},vr=function(ce){w.unmousemove(Rr).unmouseup(vr);for(var xe,Be=lr.length;Be--;)(xe=lr[Be]).el._drag={},v("raphael.drag.end."+xe.el.id,xe.end_scope||xe.start_scope||xe.move_scope||xe.el,ce);lr=[]},dr=w.el={},Ir=he.length;Ir--;)(function(ce){w[ce]=dr[ce]=function(xe,Be){return w.is(xe,"function")&&(this.events=this.events||[],this.events.push({name:ce,f:xe,unbind:wr(this.shape||this.node||j.doc,ce,xe,Be||this)})),this},w["un"+ce]=dr["un"+ce]=function(xe){for(var Be=this.events||[],Fe=Be.length;Fe--;)Be[Fe].name!=ce||!w.is(xe,"undefined")&&Be[Fe].f!=xe||(Be[Fe].unbind(),Be.splice(Fe,1),!Be.length&&delete this.events);return this}})(he[Ir]);dr.data=function(ce,xe){var Be=dt[this.id]=dt[this.id]||{};if(arguments.length==0)return Be;if(arguments.length==1){if(w.is(ce,"object")){for(var Fe in ce)ce[I](Fe)&&this.data(Fe,ce[Fe]);return this}return v("raphael.data.get."+this.id,this,Be[ce],ce),Be[ce]}return Be[ce]=xe,v("raphael.data.set."+this.id,this,xe,ce),this},dr.removeData=function(ce){return ce==null?delete dt[this.id]:dt[this.id]&&delete dt[this.id][ce],this},dr.getData=function(){return Qe(dt[this.id]||{})},dr.hover=function(ce,xe,Be,Fe){return this.mouseover(ce,Be).mouseout(xe,Fe||Be)},dr.unhover=function(ce,xe){return this.unmouseover(ce).unmouseout(xe)};var kr=[];dr.drag=function(ce,xe,Be,Fe,Xe,ct){function we(Ae){(Ae.originalEvent||Ae).preventDefault();var Re=Ae.clientX,rt=Ae.clientY,St=j.doc.documentElement.scrollTop||j.doc.body.scrollTop,Lt=j.doc.documentElement.scrollLeft||j.doc.body.scrollLeft;if(this._drag.id=Ae.identifier,Z&&Ae.touches){for(var Ft,$t=Ae.touches.length;$t--;)if(Ft=Ae.touches[$t],this._drag.id=Ft.identifier,Ft.identifier==this._drag.id){Re=Ft.clientX,rt=Ft.clientY;break}}this._drag.x=Re+Lt,this._drag.y=rt+St,!lr.length&&w.mousemove(Rr).mouseup(vr),lr.push({el:this,move_scope:Fe,start_scope:Xe,end_scope:ct}),xe&&v.on("raphael.drag.start."+this.id,xe),ce&&v.on("raphael.drag.move."+this.id,ce),Be&&v.on("raphael.drag.end."+this.id,Be),v("raphael.drag.start."+this.id,Xe||Fe||this,this._drag.x,this._drag.y,Ae)}return this._drag={},kr.push({el:this,start:we}),this.mousedown(we),this},dr.onDragOver=function(ce){ce?v.on("raphael.drag.over."+this.id,ce):v.unbind("raphael.drag.over."+this.id)},dr.undrag=function(){for(var ce=kr.length;ce--;)kr[ce].el==this&&(this.unmousedown(kr[ce].start),kr.splice(ce,1),v.unbind("raphael.drag.*."+this.id));!kr.length&&w.unmousemove(Rr).unmouseup(vr),lr=[]},E.circle=function(ce,xe,Be){var Fe=w._engine.circle(this,ce||0,xe||0,Be||0);return this.__set__&&this.__set__.push(Fe),Fe},E.rect=function(ce,xe,Be,Fe,Xe){var ct=w._engine.rect(this,ce||0,xe||0,Be||0,Fe||0,Xe||0);return this.__set__&&this.__set__.push(ct),ct},E.ellipse=function(ce,xe,Be,Fe){var Xe=w._engine.ellipse(this,ce||0,xe||0,Be||0,Fe||0);return this.__set__&&this.__set__.push(Xe),Xe},E.path=function(ce){ce&&!w.is(ce,"string")&&!w.is(ce[0],b)&&(ce+=re);var xe=w._engine.path(w.format[N](w,arguments),this);return this.__set__&&this.__set__.push(xe),xe},E.image=function(ce,xe,Be,Fe,Xe){var ct=w._engine.image(this,ce||"about:blank",xe||0,Be||0,Fe||0,Xe||0);return this.__set__&&this.__set__.push(ct),ct},E.text=function(ce,xe,Be){var Fe=w._engine.text(this,ce||0,xe||0,V(Be));return this.__set__&&this.__set__.push(Fe),Fe},E.set=function(ce){!w.is(ce,"array")&&(ce=Array.prototype.splice.call(arguments,0,arguments.length));var xe=new Jr(ce);return this.__set__&&this.__set__.push(xe),xe.paper=this,xe.type="set",xe},E.setStart=function(ce){this.__set__=ce||this.set()},E.setFinish=function(ce){var xe=this.__set__;return delete this.__set__,xe},E.getSize=function(){var ce=this.canvas.parentNode;return{width:ce.offsetWidth,height:ce.offsetHeight}},E.setSize=function(ce,xe){return w._engine.setSize.call(this,ce,xe)},E.setViewBox=function(ce,xe,Be,Fe,Xe){return w._engine.setViewBox.call(this,ce,xe,Be,Fe,Xe)},E.top=E.bottom=null,E.raphael=w;function Fr(){return this.x+fe+this.y+fe+this.width+" × "+this.height}E.getElementByPoint=function(ce,xe){var Be,Fe,Xe,ct,we,Ae,Re,rt=this.canvas,St=j.doc.elementFromPoint(ce,xe);if(j.win.opera&&St.tagName=="svg"){var Lt=(Fe=(Be=rt).getBoundingClientRect(),Xe=Be.ownerDocument,ct=Xe.body,we=Xe.documentElement,Ae=we.clientTop||ct.clientTop||0,Re=we.clientLeft||ct.clientLeft||0,{y:Fe.top+(j.win.pageYOffset||we.scrollTop||ct.scrollTop)-Ae,x:Fe.left+(j.win.pageXOffset||we.scrollLeft||ct.scrollLeft)-Re}),Ft=rt.createSVGRect();Ft.x=ce-Lt.x,Ft.y=xe-Lt.y,Ft.width=Ft.height=1;var $t=rt.getIntersectionList(Ft,null);$t.length&&(St=$t[$t.length-1])}if(!St)return null;for(;St.parentNode&&St!=rt.parentNode&&!St.raphael;)St=St.parentNode;return St==this.canvas.parentNode&&(St=rt),St=St&&St.raphael?this.getById(St.raphaelid):null},E.getElementsByBBox=function(ce){var xe=this.set();return this.forEach(function(Be){w.isBBoxIntersect(Be.getBBox(),ce)&&xe.push(Be)}),xe},E.getById=function(ce){for(var xe=this.bottom;xe;){if(xe.id==ce)return xe;xe=xe.next}return null},E.forEach=function(ce,xe){for(var Be=this.bottom;Be;){if(ce.call(xe,Be)===!1)return this;Be=Be.next}return this},E.getElementsByPoint=function(ce,xe){var Be=this.set();return this.forEach(function(Fe){Fe.isPointInside(ce,xe)&&Be.push(Fe)}),Be},dr.isPointInside=function(ce,xe){var Be=this.realPath=at[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(Be=w.transformPath(Be,this.attr("transform"))),w.isPointInsidePath(Be,ce,xe)},dr.getBBox=function(ce){if(this.removed)return{};var xe=this._;return ce?(!xe.dirty&&xe.bboxwt||(this.realPath=at[this.type](this),xe.bboxwt=Ne(this.realPath),xe.bboxwt.toString=Fr,xe.dirty=0),xe.bboxwt):((xe.dirty||xe.dirtyT||!xe.bbox)&&(!xe.dirty&&this.realPath||(xe.bboxwt=0,this.realPath=at[this.type](this)),xe.bbox=Ne(bt(this.realPath,this.matrix)),xe.bbox.toString=Fr,xe.dirty=xe.dirtyT=0),xe.bbox)},dr.clone=function(){if(this.removed)return null;var ce=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(ce),ce},dr.glow=function(ce){if(this.type=="text")return null;var xe={width:((ce=ce||{}).width||10)+(+this.attr("stroke-width")||1),fill:ce.fill||!1,opacity:ce.opacity==null?.5:ce.opacity,offsetx:ce.offsetx||0,offsety:ce.offsety||0,color:ce.color||"#000"},Be=xe.width/2,Fe=this.paper,Xe=Fe.set(),ct=this.realPath||at[this.type](this);ct=this.matrix?bt(ct,this.matrix):ct;for(var we=1;we<Be+1;we++)Xe.push(Fe.path(ct).attr({stroke:xe.color,fill:xe.fill?xe.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(xe.width/Be*we).toFixed(3),opacity:+(xe.opacity/Be).toFixed(3)}));return Xe.insertBefore(this).translate(xe.offsetx,xe.offsety)};var jr=function(ce,xe,Be,Fe,Xe,ct,we,Ae,Re){return Re==null?Mt(ce,xe,Be,Fe,Xe,ct,we,Ae):w.findDotsAtSegment(ce,xe,Be,Fe,Xe,ct,we,Ae,function(rt,St,Lt,Ft,$t,nr,gr,fr,ar){if(!(ar<0||Mt(rt,St,Lt,Ft,$t,nr,gr,fr)<ar)){var Ur,Er=.5,Pr=1-Er;for(Ur=Mt(rt,St,Lt,Ft,$t,nr,gr,fr,Pr);c(Ur-ar)>.01;)Ur=Mt(rt,St,Lt,Ft,$t,nr,gr,fr,Pr+=(Ur<ar?1:-1)*(Er/=2));return Pr}}(ce,xe,Be,Fe,Xe,ct,we,Ae,Re))},Cr=function(ce,xe){return function(Be,Fe,Xe){for(var ct,we,Ae,Re,rt,St="",Lt={},Ft=0,$t=0,nr=(Be=Qt(Be)).length;$t<nr;$t++){if((Ae=Be[$t])[0]=="M")ct=+Ae[1],we=+Ae[2];else{if(Ft+(Re=jr(ct,we,Ae[1],Ae[2],Ae[3],Ae[4],Ae[5],Ae[6]))>Fe){if(xe&&!Lt.start){if(St+=["C"+(rt=jr(ct,we,Ae[1],Ae[2],Ae[3],Ae[4],Ae[5],Ae[6],Fe-Ft)).start.x,rt.start.y,rt.m.x,rt.m.y,rt.x,rt.y],Xe)return St;Lt.start=St,St=["M"+rt.x,rt.y+"C"+rt.n.x,rt.n.y,rt.end.x,rt.end.y,Ae[5],Ae[6]].join(),Ft+=Re,ct=+Ae[5],we=+Ae[6];continue}if(!ce&&!xe)return{x:(rt=jr(ct,we,Ae[1],Ae[2],Ae[3],Ae[4],Ae[5],Ae[6],Fe-Ft)).x,y:rt.y,alpha:rt.alpha}}Ft+=Re,ct=+Ae[5],we=+Ae[6]}St+=Ae.shift()+Ae}return Lt.end=St,(rt=ce?Ft:xe?Lt:w.findDotsAtSegment(ct,we,Ae[0],Ae[1],Ae[2],Ae[3],Ae[4],Ae[5],1)).alpha&&(rt={x:rt.x,y:rt.y,alpha:rt.alpha}),rt}},Lr=Cr(1),Ar=Cr(),Tr=Cr(0,1);w.getTotalLength=Lr,w.getPointAtLength=Ar,w.getSubpath=function(ce,xe,Be){if(this.getTotalLength(ce)-Be<1e-6)return Tr(ce,xe).end;var Fe=Tr(ce,Be,1);return xe?Tr(Fe,xe).end:Fe},dr.getTotalLength=function(){var ce=this.getPath();if(ce)return this.node.getTotalLength?this.node.getTotalLength():Lr(ce)},dr.getPointAtLength=function(ce){var xe=this.getPath();if(xe)return Ar(xe,ce)},dr.getPath=function(){var ce,xe=w._getPath[this.type];if(this.type!="text"&&this.type!="set")return xe&&(ce=xe(this)),ce},dr.getSubpath=function(ce,xe){var Be=this.getPath();if(Be)return w.getSubpath(Be,ce,xe)};var Sr=w.easing_formulas={linear:function(ce){return ce},"<":function(ce){return m(ce,1.7)},">":function(ce){return m(ce,.48)},"<>":function(ce){var xe=.48-ce/1.04,Be=p.sqrt(.1734+xe*xe),Fe=Be-xe,Xe=-Be-xe,ct=m(c(Fe),1/3)*(Fe<0?-1:1)+m(c(Xe),1/3)*(Xe<0?-1:1)+.5;return 3*(1-ct)*ct*ct+ct*ct*ct},backIn:function(ce){var xe=1.70158;return ce*ce*((xe+1)*ce-xe)},backOut:function(ce){var xe=1.70158;return(ce-=1)*ce*((xe+1)*ce+xe)+1},elastic:function(ce){return ce==!!ce?ce:m(2,-10*ce)*p.sin(2*x*(ce-.075)/.3)+1},bounce:function(ce){var xe=7.5625,Be=2.75;return ce<1/Be?xe*ce*ce:ce<2/Be?xe*(ce-=1.5/Be)*ce+.75:ce<2.5/Be?xe*(ce-=2.25/Be)*ce+.9375:xe*(ce-=2.625/Be)*ce+.984375}};Sr.easeIn=Sr["ease-in"]=Sr["<"],Sr.easeOut=Sr["ease-out"]=Sr[">"],Sr.easeInOut=Sr["ease-in-out"]=Sr["<>"],Sr["back-in"]=Sr.backIn,Sr["back-out"]=Sr.backOut;var rr=[],Nt=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(ce){setTimeout(ce,16)},Gt=function(){for(var ce=+new Date,xe=0;xe<rr.length;xe++){var Be=rr[xe];if(!Be.el.removed&&!Be.paused){var Fe,Xe,ct=ce-Be.start,we=Be.ms,Ae=Be.easing,Re=Be.from,rt=Be.diff,St=Be.to,Lt=(Be.t,Be.el),Ft={},$t={};if(Be.initstatus?(ct=(Be.initstatus*Be.anim.top-Be.prev)/(Be.percent-Be.prev)*we,Be.status=Be.initstatus,delete Be.initstatus,Be.stop&&rr.splice(xe--,1)):Be.status=(Be.prev+(Be.percent-Be.prev)*(ct/we))/Be.anim.top,!(ct<0))if(ct<we){var nr=Ae(ct/we);for(var gr in Re)if(Re[I](gr)){switch(ie[gr]){case T:Fe=+Re[gr]+nr*we*rt[gr];break;case"colour":Fe="rgb("+[xr(Q(Re[gr].r+nr*we*rt[gr].r)),xr(Q(Re[gr].g+nr*we*rt[gr].g)),xr(Q(Re[gr].b+nr*we*rt[gr].b))].join(",")+")";break;case"path":Fe=[];for(var fr=0,ar=Re[gr].length;fr<ar;fr++){Fe[fr]=[Re[gr][fr][0]];for(var Ur=1,Er=Re[gr][fr].length;Ur<Er;Ur++)Fe[fr][Ur]=+Re[gr][fr][Ur]+nr*we*rt[gr][fr][Ur];Fe[fr]=Fe[fr].join(fe)}Fe=Fe.join(fe);break;case"transform":if(rt[gr].real)for(Fe=[],fr=0,ar=Re[gr].length;fr<ar;fr++)for(Fe[fr]=[Re[gr][fr][0]],Ur=1,Er=Re[gr][fr].length;Ur<Er;Ur++)Fe[fr][Ur]=Re[gr][fr][Ur]+nr*we*rt[gr][fr][Ur];else{var Pr=function(ti){return+Re[gr][ti]+nr*we*rt[gr][ti]};Fe=[["m",Pr(0),Pr(1),Pr(2),Pr(3),Pr(4),Pr(5)]]}break;case"csv":if(gr=="clip-rect")for(Fe=[],fr=4;fr--;)Fe[fr]=+Re[gr][fr]+nr*we*rt[gr][fr];break;default:var _r=[][ee](Re[gr]);for(Fe=[],fr=Lt.paper.customAttributes[gr].length;fr--;)Fe[fr]=+_r[fr]+nr*we*rt[gr][fr]}Ft[gr]=Fe}Lt.attr(Ft),function(ti,Qr,ri){setTimeout(function(){v("raphael.anim.frame."+ti,Qr,ri)})}(Lt.id,Lt,Be.anim)}else{if(function(ti,Qr,ri){setTimeout(function(){v("raphael.anim.frame."+Qr.id,Qr,ri),v("raphael.anim.finish."+Qr.id,Qr,ri),w.is(ti,"function")&&ti.call(Qr)})}(Be.callback,Lt,Be.anim),Lt.attr(St),rr.splice(xe--,1),Be.repeat>1&&!Be.next){for(Xe in St)St[I](Xe)&&($t[Xe]=Be.totalOrigin[Xe]);Be.el.attr($t),br(Be.anim,Be.el,Be.anim.percents[0],null,Be.totalOrigin,Be.repeat-1)}Be.next&&!Be.stop&&br(Be.anim,Be.el,Be.next,null,Be.totalOrigin,Be.repeat)}}}rr.length&&Nt(Gt)},xr=function(ce){return ce>255?255:ce<0?0:ce};function pr(ce,xe,Be,Fe,Xe,ct){var we=3*xe,Ae=3*(Fe-xe)-we,Re=1-we-Ae,rt=3*Be,St=3*(Xe-Be)-rt,Lt=1-rt-St;function Ft($t){return((Re*$t+Ae)*$t+we)*$t}return function($t,nr){var gr=function(fr,ar){var Ur,Er,Pr,_r,ti,Qr;for(Pr=fr,Qr=0;Qr<8;Qr++){if(_r=Ft(Pr)-fr,c(_r)<ar)return Pr;if(c(ti=(3*Re*Pr+2*Ae)*Pr+we)<1e-6)break;Pr-=_r/ti}if(Er=1,(Pr=fr)<(Ur=0))return Ur;if(Pr>Er)return Er;for(;Ur<Er;){if(_r=Ft(Pr),c(_r-fr)<ar)return Pr;fr>_r?Ur=Pr:Er=Pr,Pr=(Er-Ur)/2+Ur}return Pr}($t,nr);return((Lt*gr+St)*gr+rt)*gr}(ce,1/(200*ct))}function tr(ce,xe){var Be=[],Fe={};if(this.ms=xe,this.times=1,ce){for(var Xe in ce)ce[I](Xe)&&(Fe[J(Xe)]=ce[Xe],Be.push(J(Xe)));Be.sort(Tt)}this.anim=Fe,this.top=Be[Be.length-1],this.percents=Be}function br(ce,xe,Be,Fe,Xe,ct){Be=J(Be);var we,Ae,Re,rt,St,Lt,Ft=ce.ms,$t={},nr={},gr={};if(Fe)for(ar=0,Ur=rr.length;ar<Ur;ar++){var fr=rr[ar];if(fr.el.id==xe.id&&fr.anim==ce){fr.percent!=Be?(rr.splice(ar,1),Re=1):Ae=fr,xe.attr(fr.totalOrigin);break}}else Fe=+nr;for(var ar=0,Ur=ce.percents.length;ar<Ur;ar++){if(ce.percents[ar]==Be||ce.percents[ar]>Fe*ce.top){Be=ce.percents[ar],St=ce.percents[ar-1]||0,Ft=Ft/ce.top*(Be-St),rt=ce.percents[ar+1],we=ce.anim[Be];break}Fe&&xe.attr(ce.anim[ce.percents[ar]])}if(we){if(Ae)Ae.initstatus=Fe,Ae.start=new Date-Ae.ms*Fe;else{for(var Er in we)if(we[I](Er)&&(ie[I](Er)||xe.paper.customAttributes[I](Er)))switch($t[Er]=xe.attr(Er),$t[Er]==null&&($t[Er]=z[Er]),nr[Er]=we[Er],ie[Er]){case T:gr[Er]=(nr[Er]-$t[Er])/Ft;break;case"colour":$t[Er]=w.getRGB($t[Er]);var Pr=w.getRGB(nr[Er]);gr[Er]={r:(Pr.r-$t[Er].r)/Ft,g:(Pr.g-$t[Er].g)/Ft,b:(Pr.b-$t[Er].b)/Ft};break;case"path":var _r=Qt($t[Er],nr[Er]),ti=_r[1];for($t[Er]=_r[0],gr[Er]=[],ar=0,Ur=$t[Er].length;ar<Ur;ar++){gr[Er][ar]=[0];for(var Qr=1,ri=$t[Er][ar].length;Qr<ri;Qr++)gr[Er][ar][Qr]=(ti[ar][Qr]-$t[Er][ar][Qr])/Ft}break;case"transform":var Xi=xe._,Zi=Pe(Xi[Er],nr[Er]);if(Zi)for($t[Er]=Zi.from,nr[Er]=Zi.to,gr[Er]=[],gr[Er].real=!0,ar=0,Ur=$t[Er].length;ar<Ur;ar++)for(gr[Er][ar]=[$t[Er][ar][0]],Qr=1,ri=$t[Er][ar].length;Qr<ri;Qr++)gr[Er][ar][Qr]=(nr[Er][ar][Qr]-$t[Er][ar][Qr])/Ft;else{var li=xe.matrix||new ze,oi={_:{transform:Xi.transform},getBBox:function(){return xe.getBBox(1)}};$t[Er]=[li.a,li.b,li.c,li.d,li.e,li.f],ve(oi,nr[Er]),nr[Er]=oi._.transform,gr[Er]=[(oi.matrix.a-li.a)/Ft,(oi.matrix.b-li.b)/Ft,(oi.matrix.c-li.c)/Ft,(oi.matrix.d-li.d)/Ft,(oi.matrix.e-li.e)/Ft,(oi.matrix.f-li.f)/Ft]}break;case"csv":var Tn=V(we[Er])[le](C),an=V($t[Er])[le](C);if(Er=="clip-rect")for($t[Er]=an,gr[Er]=[],ar=an.length;ar--;)gr[Er][ar]=(Tn[ar]-$t[Er][ar])/Ft;nr[Er]=Tn;break;default:for(Tn=[][ee](we[Er]),an=[][ee]($t[Er]),gr[Er]=[],ar=xe.paper.customAttributes[Er].length;ar--;)gr[Er][ar]=((Tn[ar]||0)-(an[ar]||0))/Ft}var Rn=we.easing,Ui=w.easing_formulas[Rn];if(!Ui)if((Ui=V(Rn).match(O))&&Ui.length==5){var sn=Ui;Ui=function(Gn){return pr(Gn,+sn[1],+sn[2],+sn[3],+sn[4],Ft)}}else Ui=lt;if(fr={anim:ce,percent:Be,timestamp:Lt=we.start||ce.start||+new Date,start:Lt+(ce.del||0),status:0,initstatus:Fe||0,stop:!1,ms:Ft,easing:Ui,from:$t,diff:gr,to:nr,el:xe,callback:we.callback,prev:St,next:rt,repeat:ct||ce.times,origin:xe.attr(),totalOrigin:Xe},rr.push(fr),Fe&&!Ae&&!Re&&(fr.stop=!0,fr.start=new Date-Ft*Fe,rr.length==1))return Gt();Re&&(fr.start=new Date-fr.ms*Fe),rr.length==1&&Nt(Gt)}v("raphael.anim.start."+xe.id,xe,ce)}}function Nr(ce){for(var xe=0;xe<rr.length;xe++)rr[xe].el.paper==ce&&rr.splice(xe--,1)}dr.animateWith=function(ce,xe,Be,Fe,Xe,ct){if(this.removed)return ct&&ct.call(this),this;var we=Be instanceof tr?Be:w.animation(Be,Fe,Xe,ct);br(we,this,we.percents[0],null,this.attr());for(var Ae=0,Re=rr.length;Ae<Re;Ae++)if(rr[Ae].anim==xe&&rr[Ae].el==ce){rr[Re-1].start=rr[Ae].start;break}return this},dr.onAnimation=function(ce){return ce?v.on("raphael.anim.frame."+this.id,ce):v.unbind("raphael.anim.frame."+this.id),this},tr.prototype.delay=function(ce){var xe=new tr(this.anim,this.ms);return xe.times=this.times,xe.del=+ce||0,xe},tr.prototype.repeat=function(ce){var xe=new tr(this.anim,this.ms);return xe.del=this.del,xe.times=p.floor(y(ce,0))||1,xe},w.animation=function(ce,xe,Be,Fe){if(ce instanceof tr)return ce;!w.is(Be,"function")&&Be||(Fe=Fe||Be||null,Be=null),ce=Object(ce),xe=+xe||0;var Xe,ct,we={};for(ct in ce)ce[I](ct)&&J(ct)!=ct&&J(ct)+"%"!=ct&&(Xe=!0,we[ct]=ce[ct]);if(Xe)return Be&&(we.easing=Be),Fe&&(we.callback=Fe),new tr({100:we},xe);if(Fe){var Ae=0;for(var Re in ce){var rt=X(Re);ce[I](Re)&&rt>Ae&&(Ae=rt)}!ce[Ae+="%"].callback&&(ce[Ae].callback=Fe)}return new tr(ce,xe)},dr.animate=function(ce,xe,Be,Fe){if(this.removed)return Fe&&Fe.call(this),this;var Xe=ce instanceof tr?ce:w.animation(ce,xe,Be,Fe);return br(Xe,this,Xe.percents[0],null,this.attr()),this},dr.setTime=function(ce,xe){return ce&&xe!=null&&this.status(ce,S(xe,ce.ms)/ce.ms),this},dr.status=function(ce,xe){var Be,Fe,Xe=[],ct=0;if(xe!=null)return br(ce,this,-1,S(xe,1)),this;for(Be=rr.length;ct<Be;ct++)if((Fe=rr[ct]).el.id==this.id&&(!ce||Fe.anim==ce)){if(ce)return Fe.status;Xe.push({anim:Fe.anim,status:Fe.status})}return ce?0:Xe},dr.pause=function(ce){for(var xe=0;xe<rr.length;xe++)rr[xe].el.id!=this.id||ce&&rr[xe].anim!=ce||v("raphael.anim.pause."+this.id,this,rr[xe].anim)!==!1&&(rr[xe].paused=!0);return this},dr.resume=function(ce){for(var xe=0;xe<rr.length;xe++)if(rr[xe].el.id==this.id&&(!ce||rr[xe].anim==ce)){var Be=rr[xe];v("raphael.anim.resume."+this.id,this,Be.anim)!==!1&&(delete Be.paused,this.status(Be.anim,Be.status))}return this},dr.stop=function(ce){for(var xe=0;xe<rr.length;xe++)rr[xe].el.id!=this.id||ce&&rr[xe].anim!=ce||v("raphael.anim.stop."+this.id,this,rr[xe].anim)!==!1&&rr.splice(xe--,1);return this},v.on("raphael.remove",Nr),v.on("raphael.clear",Nr),dr.toString=function(){return"Raphaël’s object"};var Yr,ei,Hr,Pt,Jr=function(ce){if(this.items=[],this.length=0,this.type="set",ce)for(var xe=0,Be=ce.length;xe<Be;xe++)!ce[xe]||ce[xe].constructor!=dr.constructor&&ce[xe].constructor!=Jr||(this[this.items.length]=this.items[this.items.length]=ce[xe],this.length++)},Xr=Jr.prototype;for(var fi in Xr.push=function(){for(var ce,xe,Be=0,Fe=arguments.length;Be<Fe;Be++)!(ce=arguments[Be])||ce.constructor!=dr.constructor&&ce.constructor!=Jr||(this[xe=this.items.length]=this.items[xe]=ce,this.length++);return this},Xr.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},Xr.forEach=function(ce,xe){for(var Be=0,Fe=this.items.length;Be<Fe;Be++)if(ce.call(xe,this.items[Be],Be)===!1)return this;return this},dr)dr[I](fi)&&(Xr[fi]=function(ce){return function(){var xe=arguments;return this.forEach(function(Be){Be[ce][N](Be,xe)})}}(fi));return Xr.attr=function(ce,xe){if(ce&&w.is(ce,b)&&w.is(ce[0],"object"))for(var Be=0,Fe=ce.length;Be<Fe;Be++)this.items[Be].attr(ce[Be]);else for(var Xe=0,ct=this.items.length;Xe<ct;Xe++)this.items[Xe].attr(ce,xe);return this},Xr.clear=function(){for(;this.length;)this.pop()},Xr.splice=function(ce,xe,Be){ce=ce<0?y(this.length+ce,0):ce,xe=y(0,S(this.length-ce,xe));var Fe,Xe=[],ct=[],we=[];for(Fe=2;Fe<arguments.length;Fe++)we.push(arguments[Fe]);for(Fe=0;Fe<xe;Fe++)ct.push(this[ce+Fe]);for(;Fe<this.length-ce;Fe++)Xe.push(this[ce+Fe]);var Ae=we.length;for(Fe=0;Fe<Ae+Xe.length;Fe++)this.items[ce+Fe]=this[ce+Fe]=Fe<Ae?we[Fe]:Xe[Fe-Ae];for(Fe=this.items.length=this.length-=xe-Ae;this[Fe];)delete this[Fe++];return new Jr(ct)},Xr.exclude=function(ce){for(var xe=0,Be=this.length;xe<Be;xe++)if(this[xe]==ce)return this.splice(xe,1),!0},Xr.animate=function(ce,xe,Be,Fe){(w.is(Be,"function")||!Be)&&(Fe=Be||null);var Xe,ct,we=this.items.length,Ae=we,Re=this;if(!we)return this;Fe&&(ct=function(){!--we&&Fe.call(Re)}),Be=w.is(Be,"string")?Be:ct;var rt=w.animation(ce,xe,Be,ct);for(Xe=this.items[--Ae].animate(rt);Ae--;)this.items[Ae]&&!this.items[Ae].removed&&this.items[Ae].animateWith(Xe,rt,rt),this.items[Ae]&&!this.items[Ae].removed||we--;return this},Xr.insertAfter=function(ce){for(var xe=this.items.length;xe--;)this.items[xe].insertAfter(ce);return this},Xr.getBBox=function(){for(var ce=[],xe=[],Be=[],Fe=[],Xe=this.items.length;Xe--;)if(!this.items[Xe].removed){var ct=this.items[Xe].getBBox();ce.push(ct.x),xe.push(ct.y),Be.push(ct.x+ct.width),Fe.push(ct.y+ct.height)}return{x:ce=S[N](0,ce),y:xe=S[N](0,xe),x2:Be=y[N](0,Be),y2:Fe=y[N](0,Fe),width:Be-ce,height:Fe-xe}},Xr.clone=function(ce){ce=this.paper.set();for(var xe=0,Be=this.items.length;xe<Be;xe++)ce.push(this.items[xe].clone());return ce},Xr.toString=function(){return"Raphaël‘s set"},Xr.glow=function(ce){var xe=this.paper.set();return this.forEach(function(Be,Fe){var Xe=Be.glow(ce);Xe!=null&&Xe.forEach(function(ct,we){xe.push(ct)})}),xe},Xr.isPointInside=function(ce,xe){var Be=!1;return this.forEach(function(Fe){if(Fe.isPointInside(ce,xe))return Be=!0,!1}),Be},w.registerFont=function(ce){if(!ce.face)return ce;this.fonts=this.fonts||{};var xe={w:ce.w,face:{},glyphs:{}},Be=ce.face["font-family"];for(var Fe in ce.face)ce.face[I](Fe)&&(xe.face[Fe]=ce.face[Fe]);if(this.fonts[Be]?this.fonts[Be].push(xe):this.fonts[Be]=[xe],!ce.svg){for(var Xe in xe.face["units-per-em"]=X(ce.face["units-per-em"],10),ce.glyphs)if(ce.glyphs[I](Xe)){var ct=ce.glyphs[Xe];if(xe.glyphs[Xe]={w:ct.w,k:{},d:ct.d&&"M"+ct.d.replace(/[mlcxtrv]/g,function(Ae){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[Ae]||"M"})+"z"},ct.k)for(var we in ct.k)ct[I](we)&&(xe.glyphs[Xe].k[we]=ct.k[we])}}return ce},E.getFont=function(ce,xe,Be,Fe){if(Fe=Fe||"normal",Be=Be||"normal",xe=+xe||{normal:400,bold:700,lighter:300,bolder:800}[xe]||400,w.fonts){var Xe,ct=w.fonts[ce];if(!ct){var we=new RegExp("(^|\\s)"+ce.replace(/[^\w\d\s+!~.:_-]/g,re)+"(\\s|$)","i");for(var Ae in w.fonts)if(w.fonts[I](Ae)&&we.test(Ae)){ct=w.fonts[Ae];break}}if(ct)for(var Re=0,rt=ct.length;Re<rt&&((Xe=ct[Re]).face["font-weight"]!=xe||Xe.face["font-style"]!=Be&&Xe.face["font-style"]||Xe.face["font-stretch"]!=Fe);Re++);return Xe}},E.print=function(ce,xe,Be,Fe,Xe,ct,we,Ae){ct=ct||"middle",we=y(S(we||0,1),-1),Ae=y(S(Ae||1,3),1);var Re,rt=V(Be)[le](re),St=0,Lt=0,Ft=re;if(w.is(Fe,"string")&&(Fe=this.getFont(Fe)),Fe){Re=(Xe||16)/Fe.face["units-per-em"];for(var $t=Fe.face.bbox[le](C),nr=+$t[0],gr=$t[3]-$t[1],fr=0,ar=+$t[1]+(ct=="baseline"?gr+ +Fe.face.descent:gr/2),Ur=0,Er=rt.length;Ur<Er;Ur++){if(rt[Ur]==`
+`)St=0,_r=0,Lt=0,fr+=gr*Ae;else{var Pr=Lt&&Fe.glyphs[rt[Ur-1]]||{},_r=Fe.glyphs[rt[Ur]];St+=Lt?(Pr.w||Fe.w)+(Pr.k&&Pr.k[rt[Ur]]||0)+Fe.w*we:0,Lt=1}_r&&_r.d&&(Ft+=w.transformPath(_r.d,["t",St*Re,fr*Re,"s",Re,Re,nr,ar,"t",(ce-nr)/Re,(xe-ar)/Re]))}}return this.path(Ft).attr({fill:"#000",stroke:"none"})},E.add=function(ce){if(w.is(ce,"array"))for(var xe,Be=this.set(),Fe=0,Xe=ce.length;Fe<Xe;Fe++)xe=ce[Fe]||{},M[I](xe.type)&&Be.push(this[xe.type]().attr(xe));return Be},w.format=function(ce,xe){var Be=w.is(xe,b)?[0][ee](xe):arguments;return ce&&w.is(ce,"string")&&Be.length-1&&(ce=ce.replace(P,function(Fe,Xe){return Be[++Xe]==null?re:Be[Xe]})),ce||re},w.fullfill=(Yr=/\{([^\}]+)\}/g,ei=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(ce,xe){return String(ce).replace(Yr,function(Be,Fe){return function(Xe,ct,we){var Ae=we;return ct.replace(ei,function(Re,rt,St,Lt,Ft){rt=rt||Lt,Ae&&(rt in Ae&&(Ae=Ae[rt]),typeof Ae=="function"&&Ft&&(Ae=Ae()))}),Ae=(Ae==null||Ae==we?Xe:Ae)+""}(Be,Fe,xe)})}),w.ninja=function(){if(B.was)j.win.Raphael=B.is;else{window.Raphael=void 0;try{delete window.Raphael}catch{}}return w},w.st=Xr,v.on("raphael.DOMload",function(){A=!0}),(Hr=document).readyState==null&&Hr.addEventListener&&(Hr.addEventListener("DOMContentLoaded",Pt=function(){Hr.removeEventListener("DOMContentLoaded",Pt,!1),Hr.readyState="complete"},!1),Hr.readyState="loading"),function ce(){/in/.test(Hr.readyState)?setTimeout(ce,9):w.eve("raphael.DOMload")}(),w}).apply(l,u))===void 0||(o.exports=h)},function(o,l,t){var u,h;u=[t(0),t(3),t(4)],(h=(function(v){return v}).apply(l,u))===void 0||(o.exports=h)},function(o,l,t){var u,h,v,w,A,E,C,M,P,I,j,B,F,N;w="hasOwnProperty",A=/[\.\/]/,E=/\s*,\s*/,C=function(ee,Z){return ee-Z},M={n:{}},P=function(){for(var ee=0,Z=this.length;ee<Z;ee++)if(this[ee]!==void 0)return this[ee]},I=function(){for(var ee=this.length;--ee;)if(this[ee]!==void 0)return this[ee]},j=Object.prototype.toString,B=String,F=Array.isArray||function(ee){return ee instanceof Array||j.call(ee)=="[object Array]"},(N=function(ee,Z){var re,fe=v,V=Array.prototype.slice.call(arguments,2),le=N.listeners(ee),he=0,ye=[],L={},p=[],y=h;p.firstDefined=P,p.lastDefined=I,h=ee,v=0;for(var S=0,c=le.length;S<c;S++)"zIndex"in le[S]&&(ye.push(le[S].zIndex),le[S].zIndex<0&&(L[le[S].zIndex]=le[S]));for(ye.sort(C);ye[he]<0;)if(re=L[ye[he++]],p.push(re.apply(Z,V)),v)return v=fe,p;for(S=0;S<c;S++)if("zIndex"in(re=le[S]))if(re.zIndex==ye[he]){if(p.push(re.apply(Z,V)),v)break;do if((re=L[ye[++he]])&&p.push(re.apply(Z,V)),v)break;while(re)}else L[re.zIndex]=re;else if(p.push(re.apply(Z,V)),v)break;return v=fe,h=y,p})._events=M,N.listeners=function(ee){var Z,re,fe,V,le,he,ye,L,p=F(ee)?ee:ee.split(A),y=M,S=[y],c=[];for(V=0,le=p.length;V<le;V++){for(L=[],he=0,ye=S.length;he<ye;he++)for(re=[(y=S[he].n)[p[V]],y["*"]],fe=2;fe--;)(Z=re[fe])&&(L.push(Z),c=c.concat(Z.f||[]));S=L}return c},N.separator=function(ee){ee?(ee="["+(ee=B(ee).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",A=new RegExp(ee)):A=/[\.\/]/},N.on=function(ee,Z){if(typeof Z!="function")return function(){};for(var re=F(ee)?F(ee[0])?ee:[ee]:B(ee).split(E),fe=0,V=re.length;fe<V;fe++)(function(le){for(var he,ye=F(le)?le:B(le).split(A),L=M,p=0,y=ye.length;p<y;p++)L=(L=L.n).hasOwnProperty(ye[p])&&L[ye[p]]||(L[ye[p]]={n:{}});for(L.f=L.f||[],p=0,y=L.f.length;p<y;p++)if(L.f[p]==Z){he=!0;break}!he&&L.f.push(Z)})(re[fe]);return function(le){+le==+le&&(Z.zIndex=+le)}},N.f=function(ee){var Z=[].slice.call(arguments,1);return function(){N.apply(null,[ee,null].concat(Z).concat([].slice.call(arguments,0)))}},N.stop=function(){v=1},N.nt=function(ee){var Z=F(h)?h.join("."):h;return ee?new RegExp("(?:\\.|\\/|^)"+ee+"(?:\\.|\\/|$)").test(Z):Z},N.nts=function(){return F(h)?h:h.split(A)},N.off=N.unbind=function(ee,Z){if(ee){var re=F(ee)?F(ee[0])?ee:[ee]:B(ee).split(E);if(re.length>1)for(var fe=0,V=re.length;fe<V;fe++)N.off(re[fe],Z);else{re=F(ee)?ee:B(ee).split(A);var le,he,ye,L,p,y=[M];for(fe=0,V=re.length;fe<V;fe++)for(L=0;L<y.length;L+=ye.length-2){if(ye=[L,1],le=y[L].n,re[fe]!="*")le[re[fe]]&&ye.push(le[re[fe]]);else for(he in le)le[w](he)&&ye.push(le[he]);y.splice.apply(y,ye)}for(fe=0,V=y.length;fe<V;fe++)for(le=y[fe];le.n;){if(Z){if(le.f){for(L=0,p=le.f.length;L<p;L++)if(le.f[L]==Z){le.f.splice(L,1);break}!le.f.length&&delete le.f}for(he in le.n)if(le.n[w](he)&&le.n[he].f){var S=le.n[he].f;for(L=0,p=S.length;L<p;L++)if(S[L]==Z){S.splice(L,1);break}!S.length&&delete le.n[he].f}}else for(he in delete le.f,le.n)le.n[w](he)&&le.n[he].f&&delete le.n[he].f;le=le.n}}}else N._events=M={n:{}}},N.once=function(ee,Z){var re=function(){return N.off(ee,re),Z.apply(this,arguments)};return N.on(ee,re)},N.version="0.5.0",N.toString=function(){return"You are running Eve 0.5.0"},o.exports?o.exports=N:(u=(function(){return N}).apply(l,[]))===void 0||(o.exports=u)},function(o,l,t){var u,h;u=[t(0)],(h=(function(v){if(!v||v.svg){var w="hasOwnProperty",A=String,E=parseFloat,C=parseInt,M=Math,P=M.max,I=M.abs,j=M.pow,B=/[, ]+/,F=v.eve,N="",ee=" ",Z="http://www.w3.org/1999/xlink",re={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},fe={};v.toString=function(){return`Your browser supports SVG.
+You are running Raphaël `+this.version};var V=function(k,D){if(D)for(var O in typeof k=="string"&&(k=V(k)),D)D[w](O)&&(O.substring(0,6)=="xlink:"?k.setAttributeNS(Z,O.substring(6),A(D[O])):k.setAttribute(O,A(D[O])));else(k=v._g.doc.createElementNS("http://www.w3.org/2000/svg",k)).style&&(k.style.webkitTapHighlightColor="rgba(0,0,0,0)");return k},le=function(k,D){var O="linear",Q=k.id+D,J=.5,X=.5,U=k.node,z=k.paper,ie=U.style,de=v._g.doc.getElementById(Q);if(!de){if(D=(D=A(D).replace(v._radial_gradient,function(Tt,lt,Je){if(O="radial",lt&&Je){J=E(lt);var ht=2*((X=E(Je))>.5)-1;j(J-.5,2)+j(X-.5,2)>.25&&(X=M.sqrt(.25-j(J-.5,2))*ht+.5)&&X!=.5&&(X=X.toFixed(5)-1e-5*ht)}return N})).split(/\s*\-\s*/),O=="linear"){var me=D.shift();if(me=-E(me),isNaN(me))return null;var pe=[0,0,M.cos(v.rad(me)),M.sin(v.rad(me))],qe=1/(P(I(pe[2]),I(pe[3]))||1);pe[2]*=qe,pe[3]*=qe,pe[2]<0&&(pe[0]=-pe[2],pe[2]=0),pe[3]<0&&(pe[1]=-pe[3],pe[3]=0)}var mt=v._parseDots(D);if(!mt)return null;if(Q=Q.replace(/[\(\)\s,\xb0#]/g,"_"),k.gradient&&Q!=k.gradient.id&&(z.defs.removeChild(k.gradient),delete k.gradient),!k.gradient){de=V(O+"Gradient",{id:Q}),k.gradient=de,V(de,O=="radial"?{fx:J,fy:X}:{x1:pe[0],y1:pe[1],x2:pe[2],y2:pe[3],gradientTransform:k.matrix.invert()}),z.defs.appendChild(de);for(var st=0,dt=mt.length;st<dt;st++)de.appendChild(V("stop",{offset:mt[st].offset?mt[st].offset:st?"100%":"0%","stop-color":mt[st].color||"#fff","stop-opacity":isFinite(mt[st].opacity)?mt[st].opacity:1}))}}return V(U,{fill:he(Q),opacity:1,"fill-opacity":1}),ie.fill=N,ie.opacity=1,ie.fillOpacity=1,1},he=function(k){if((D=document.documentMode)&&(D===9||D===10))return"url('#"+k+"')";var D,O=document.location;return"url('"+(O.protocol+"//"+O.host+O.pathname+O.search)+"#"+k+"')"},ye=function(k){var D=k.getBBox(1);V(k.pattern,{patternTransform:k.matrix.invert()+" translate("+D.x+","+D.y+")"})},L=function(k,D,O){if(k.type=="path"){for(var Q,J,X,U,z,ie=A(D).toLowerCase().split("-"),de=k.paper,me=O?"end":"start",pe=k.node,qe=k.attrs,mt=qe["stroke-width"],st=ie.length,dt="classic",Tt=3,lt=3,Je=5;st--;)switch(ie[st]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":dt=ie[st];break;case"wide":lt=5;break;case"narrow":lt=2;break;case"long":Tt=5;break;case"short":Tt=2}if(dt=="open"?(Tt+=2,lt+=2,Je+=2,X=1,U=O?4:1,z={fill:"none",stroke:qe.stroke}):(U=X=Tt/2,z={fill:qe.stroke,stroke:"none"}),k._.arrows?O?(k._.arrows.endPath&&fe[k._.arrows.endPath]--,k._.arrows.endMarker&&fe[k._.arrows.endMarker]--):(k._.arrows.startPath&&fe[k._.arrows.startPath]--,k._.arrows.startMarker&&fe[k._.arrows.startMarker]--):k._.arrows={},dt!="none"){var ht="raphael-marker-"+dt,at="raphael-marker-"+me+dt+Tt+lt+"-obj"+k.id;v._g.doc.getElementById(ht)?fe[ht]++:(de.defs.appendChild(V(V("path"),{"stroke-linecap":"round",d:re[dt],id:ht})),fe[ht]=1);var bt,jt=v._g.doc.getElementById(at);jt?(fe[at]++,bt=jt.getElementsByTagName("use")[0]):(jt=V(V("marker"),{id:at,markerHeight:lt,markerWidth:Tt,orient:"auto",refX:U,refY:lt/2}),bt=V(V("use"),{"xlink:href":"#"+ht,transform:(O?"rotate(180 "+Tt/2+" "+lt/2+") ":N)+"scale("+Tt/Je+","+lt/Je+")","stroke-width":(1/((Tt/Je+lt/Je)/2)).toFixed(4)}),jt.appendChild(bt),de.defs.appendChild(jt),fe[at]=1),V(bt,z);var Ge=X*(dt!="diamond"&&dt!="oval");O?(Q=k._.arrows.startdx*mt||0,J=v.getTotalLength(qe.path)-Ge*mt):(Q=Ge*mt,J=v.getTotalLength(qe.path)-(k._.arrows.enddx*mt||0)),(z={})["marker-"+me]="url(#"+at+")",(J||Q)&&(z.d=v.getSubpath(qe.path,Q,J)),V(pe,z),k._.arrows[me+"Path"]=ht,k._.arrows[me+"Marker"]=at,k._.arrows[me+"dx"]=Ge,k._.arrows[me+"Type"]=dt,k._.arrows[me+"String"]=D}else O?(Q=k._.arrows.startdx*mt||0,J=v.getTotalLength(qe.path)-Q):(Q=0,J=v.getTotalLength(qe.path)-(k._.arrows.enddx*mt||0)),k._.arrows[me+"Path"]&&V(pe,{d:v.getSubpath(qe.path,Q,J)}),delete k._.arrows[me+"Path"],delete k._.arrows[me+"Marker"],delete k._.arrows[me+"dx"],delete k._.arrows[me+"Type"],delete k._.arrows[me+"String"];for(z in fe)if(fe[w](z)&&!fe[z]){var Qe=v._g.doc.getElementById(z);Qe&&Qe.parentNode.removeChild(Qe)}}},p={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},y=function(k,D,O){if(D=p[A(D).toLowerCase()]){for(var Q=k.attrs["stroke-width"]||"1",J={round:Q,square:Q,butt:0}[k.attrs["stroke-linecap"]||O["stroke-linecap"]]||0,X=[],U=D.length;U--;)X[U]=D[U]*Q+(U%2?1:-1)*J;V(k.node,{"stroke-dasharray":X.join(",")})}else V(k.node,{"stroke-dasharray":"none"})},S=function(k,D){var O=k.node,Q=k.attrs,J=O.style.visibility;for(var X in O.style.visibility="hidden",D)if(D[w](X)){if(!v._availableAttrs[w](X))continue;var U=D[X];switch(Q[X]=U,X){case"blur":k.blur(U);break;case"title":var z=O.getElementsByTagName("title");if(z.length&&(z=z[0]))z.firstChild.nodeValue=U;else{z=V("title");var ie=v._g.doc.createTextNode(U);z.appendChild(ie),O.appendChild(z)}break;case"href":case"target":var de=O.parentNode;if(de.tagName.toLowerCase()!="a"){var me=V("a");de.insertBefore(me,O),me.appendChild(O),de=me}X=="target"?de.setAttributeNS(Z,"show",U=="blank"?"new":U):de.setAttributeNS(Z,X,U);break;case"cursor":O.style.cursor=U;break;case"transform":k.transform(U);break;case"arrow-start":L(k,U);break;case"arrow-end":L(k,U,1);break;case"clip-rect":var pe=A(U).split(B);if(pe.length==4){k.clip&&k.clip.parentNode.parentNode.removeChild(k.clip.parentNode);var qe=V("clipPath"),mt=V("rect");qe.id=v.createUUID(),V(mt,{x:pe[0],y:pe[1],width:pe[2],height:pe[3]}),qe.appendChild(mt),k.paper.defs.appendChild(qe),V(O,{"clip-path":"url(#"+qe.id+")"}),k.clip=mt}if(!U){var st=O.getAttribute("clip-path");if(st){var dt=v._g.doc.getElementById(st.replace(/(^url\(#|\)$)/g,N));dt&&dt.parentNode.removeChild(dt),V(O,{"clip-path":N}),delete k.clip}}break;case"path":k.type=="path"&&(V(O,{d:U?Q.path=v._pathToAbsolute(U):"M0,0"}),k._.dirty=1,k._.arrows&&("startString"in k._.arrows&&L(k,k._.arrows.startString),"endString"in k._.arrows&&L(k,k._.arrows.endString,1)));break;case"width":if(O.setAttribute(X,U),k._.dirty=1,!Q.fx)break;X="x",U=Q.x;case"x":Q.fx&&(U=-Q.x-(Q.width||0));case"rx":if(X=="rx"&&k.type=="rect")break;case"cx":O.setAttribute(X,U),k.pattern&&ye(k),k._.dirty=1;break;case"height":if(O.setAttribute(X,U),k._.dirty=1,!Q.fy)break;X="y",U=Q.y;case"y":Q.fy&&(U=-Q.y-(Q.height||0));case"ry":if(X=="ry"&&k.type=="rect")break;case"cy":O.setAttribute(X,U),k.pattern&&ye(k),k._.dirty=1;break;case"r":k.type=="rect"?V(O,{rx:U,ry:U}):O.setAttribute(X,U),k._.dirty=1;break;case"src":k.type=="image"&&O.setAttributeNS(Z,"href",U);break;case"stroke-width":k._.sx==1&&k._.sy==1||(U/=P(I(k._.sx),I(k._.sy))||1),O.setAttribute(X,U),Q["stroke-dasharray"]&&y(k,Q["stroke-dasharray"],D),k._.arrows&&("startString"in k._.arrows&&L(k,k._.arrows.startString),"endString"in k._.arrows&&L(k,k._.arrows.endString,1));break;case"stroke-dasharray":y(k,U,D);break;case"fill":var Tt=A(U).match(v._ISURL);if(Tt){qe=V("pattern");var lt=V("image");qe.id=v.createUUID(),V(qe,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),V(lt,{x:0,y:0,"xlink:href":Tt[1]}),qe.appendChild(lt),function(jt){v._preload(Tt[1],function(){var Ge=this.offsetWidth,Qe=this.offsetHeight;V(jt,{width:Ge,height:Qe}),V(lt,{width:Ge,height:Qe})})}(qe),k.paper.defs.appendChild(qe),V(O,{fill:"url(#"+qe.id+")"}),k.pattern=qe,k.pattern&&ye(k);break}var Je=v.getRGB(U);if(Je.error){if((k.type=="circle"||k.type=="ellipse"||A(U).charAt()!="r")&&le(k,U)){if("opacity"in Q||"fill-opacity"in Q){var ht=v._g.doc.getElementById(O.getAttribute("fill").replace(/^url\(#|\)$/g,N));if(ht){var at=ht.getElementsByTagName("stop");V(at[at.length-1],{"stop-opacity":("opacity"in Q?Q.opacity:1)*("fill-opacity"in Q?Q["fill-opacity"]:1)})}}Q.gradient=U,Q.fill="none";break}}else delete D.gradient,delete Q.gradient,!v.is(Q.opacity,"undefined")&&v.is(D.opacity,"undefined")&&V(O,{opacity:Q.opacity}),!v.is(Q["fill-opacity"],"undefined")&&v.is(D["fill-opacity"],"undefined")&&V(O,{"fill-opacity":Q["fill-opacity"]});Je[w]("opacity")&&V(O,{"fill-opacity":Je.opacity>1?Je.opacity/100:Je.opacity});case"stroke":Je=v.getRGB(U),O.setAttribute(X,Je.hex),X=="stroke"&&Je[w]("opacity")&&V(O,{"stroke-opacity":Je.opacity>1?Je.opacity/100:Je.opacity}),X=="stroke"&&k._.arrows&&("startString"in k._.arrows&&L(k,k._.arrows.startString),"endString"in k._.arrows&&L(k,k._.arrows.endString,1));break;case"gradient":(k.type=="circle"||k.type=="ellipse"||A(U).charAt()!="r")&&le(k,U);break;case"opacity":Q.gradient&&!Q[w]("stroke-opacity")&&V(O,{"stroke-opacity":U>1?U/100:U});case"fill-opacity":if(Q.gradient){(ht=v._g.doc.getElementById(O.getAttribute("fill").replace(/^url\(#|\)$/g,N)))&&(at=ht.getElementsByTagName("stop"),V(at[at.length-1],{"stop-opacity":U}));break}default:X=="font-size"&&(U=C(U,10)+"px");var bt=X.replace(/(\-.)/g,function(jt){return jt.substring(1).toUpperCase()});O.style[bt]=U,k._.dirty=1,O.setAttribute(X,U)}}c(k,D),O.style.visibility=J},c=function(k,D){if(k.type=="text"&&(D[w]("text")||D[w]("font")||D[w]("font-size")||D[w]("x")||D[w]("y"))){var O=k.attrs,Q=k.node,J=Q.firstChild?C(v._g.doc.defaultView.getComputedStyle(Q.firstChild,N).getPropertyValue("font-size"),10):10;if(D[w]("text")){for(O.text=D.text;Q.firstChild;)Q.removeChild(Q.firstChild);for(var X,U=A(D.text).split(`
+`),z=[],ie=0,de=U.length;ie<de;ie++)X=V("tspan"),ie&&V(X,{dy:1.2*J,x:O.x}),X.appendChild(v._g.doc.createTextNode(U[ie])),Q.appendChild(X),z[ie]=X}else for(ie=0,de=(z=Q.getElementsByTagName("tspan")).length;ie<de;ie++)ie?V(z[ie],{dy:1.2*J,x:O.x}):V(z[0],{dy:0});V(Q,{x:O.x,y:O.y}),k._.dirty=1;var me=k._getBBox(),pe=O.y-(me.y+me.height/2);pe&&v.is(pe,"finite")&&V(z[0],{dy:pe})}},m=function(k){return k.parentNode&&k.parentNode.tagName.toLowerCase()==="a"?k.parentNode:k},x=function(k,D){this[0]=this.node=k,k.raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)<<0).toString(36)).slice(-5),k.raphaelid=this.id,this.matrix=v.matrix(),this.realPath=null,this.paper=D,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!D.bottom&&(D.bottom=this),this.prev=D.top,D.top&&(D.top.next=this),D.top=this,this.next=null},T=v.el;x.prototype=T,T.constructor=x,v._engine.path=function(k,D){var O=V("path");D.canvas&&D.canvas.appendChild(O);var Q=new x(O,D);return Q.type="path",S(Q,{fill:"none",stroke:"#000",path:k}),Q},T.rotate=function(k,D,O){if(this.removed)return this;if((k=A(k).split(B)).length-1&&(D=E(k[1]),O=E(k[2])),k=E(k[0]),O==null&&(D=O),D==null||O==null){var Q=this.getBBox(1);D=Q.x+Q.width/2,O=Q.y+Q.height/2}return this.transform(this._.transform.concat([["r",k,D,O]])),this},T.scale=function(k,D,O,Q){if(this.removed)return this;if((k=A(k).split(B)).length-1&&(D=E(k[1]),O=E(k[2]),Q=E(k[3])),k=E(k[0]),D==null&&(D=k),Q==null&&(O=Q),O==null||Q==null)var J=this.getBBox(1);return O=O??J.x+J.width/2,Q=Q??J.y+J.height/2,this.transform(this._.transform.concat([["s",k,D,O,Q]])),this},T.translate=function(k,D){return this.removed?this:((k=A(k).split(B)).length-1&&(D=E(k[1])),k=E(k[0])||0,D=+D||0,this.transform(this._.transform.concat([["t",k,D]])),this)},T.transform=function(k){var D=this._;if(k==null)return D.transform;if(v._extractTransform(this,k),this.clip&&V(this.clip,{transform:this.matrix.invert()}),this.pattern&&ye(this),this.node&&V(this.node,{transform:this.matrix}),D.sx!=1||D.sy!=1){var O=this.attrs[w]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":O})}return this},T.hide=function(){return this.removed||(this.node.style.display="none"),this},T.show=function(){return this.removed||(this.node.style.display=""),this},T.remove=function(){var k=m(this.node);if(!this.removed&&k.parentNode){var D=this.paper;for(var O in D.__set__&&D.__set__.exclude(this),F.unbind("raphael.*.*."+this.id),this.gradient&&D.defs.removeChild(this.gradient),v._tear(this,D),k.parentNode.removeChild(k),this.removeData(),this)this[O]=typeof this[O]=="function"?v._removedFactory(O):null;this.removed=!0}},T._getBBox=function(){if(this.node.style.display=="none"){this.show();var k=!0}var D,O=!1;this.paper.canvas.parentElement?D=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(D=this.paper.canvas.parentNode.style),D&&D.display=="none"&&(O=!0,D.display="");var Q={};try{Q=this.node.getBBox()}catch{Q={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{Q=Q||{},O&&(D.display="none")}return k&&this.hide(),Q},T.attr=function(k,D){if(this.removed)return this;if(k==null){var O={};for(var Q in this.attrs)this.attrs[w](Q)&&(O[Q]=this.attrs[Q]);return O.gradient&&O.fill=="none"&&(O.fill=O.gradient)&&delete O.gradient,O.transform=this._.transform,O}if(D==null&&v.is(k,"string")){if(k=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;if(k=="transform")return this._.transform;for(var J=k.split(B),X={},U=0,z=J.length;U<z;U++)(k=J[U])in this.attrs?X[k]=this.attrs[k]:v.is(this.paper.customAttributes[k],"function")?X[k]=this.paper.customAttributes[k].def:X[k]=v._availableAttrs[k];return z-1?X:X[J[0]]}if(D==null&&v.is(k,"array")){for(X={},U=0,z=k.length;U<z;U++)X[k[U]]=this.attr(k[U]);return X}if(D!=null){var ie={};ie[k]=D}else k!=null&&v.is(k,"object")&&(ie=k);for(var de in ie)F("raphael.attr."+de+"."+this.id,this,ie[de]);for(de in this.paper.customAttributes)if(this.paper.customAttributes[w](de)&&ie[w](de)&&v.is(this.paper.customAttributes[de],"function")){var me=this.paper.customAttributes[de].apply(this,[].concat(ie[de]));for(var pe in this.attrs[de]=ie[de],me)me[w](pe)&&(ie[pe]=me[pe])}return S(this,ie),this},T.toFront=function(){if(this.removed)return this;var k=m(this.node);k.parentNode.appendChild(k);var D=this.paper;return D.top!=this&&v._tofront(this,D),this},T.toBack=function(){if(this.removed)return this;var k=m(this.node),D=k.parentNode;return D.insertBefore(k,D.firstChild),v._toback(this,this.paper),this.paper,this},T.insertAfter=function(k){if(this.removed||!k)return this;var D=m(this.node),O=m(k.node||k[k.length-1].node);return O.nextSibling?O.parentNode.insertBefore(D,O.nextSibling):O.parentNode.appendChild(D),v._insertafter(this,k,this.paper),this},T.insertBefore=function(k){if(this.removed||!k)return this;var D=m(this.node),O=m(k.node||k[0].node);return O.parentNode.insertBefore(D,O),v._insertbefore(this,k,this.paper),this},T.blur=function(k){var D=this;if(+k!=0){var O=V("filter"),Q=V("feGaussianBlur");D.attrs.blur=k,O.id=v.createUUID(),V(Q,{stdDeviation:+k||1.5}),O.appendChild(Q),D.paper.defs.appendChild(O),D._blur=O,V(D.node,{filter:"url(#"+O.id+")"})}else D._blur&&(D._blur.parentNode.removeChild(D._blur),delete D._blur,delete D.attrs.blur),D.node.removeAttribute("filter");return D},v._engine.circle=function(k,D,O,Q){var J=V("circle");k.canvas&&k.canvas.appendChild(J);var X=new x(J,k);return X.attrs={cx:D,cy:O,r:Q,fill:"none",stroke:"#000"},X.type="circle",V(J,X.attrs),X},v._engine.rect=function(k,D,O,Q,J,X){var U=V("rect");k.canvas&&k.canvas.appendChild(U);var z=new x(U,k);return z.attrs={x:D,y:O,width:Q,height:J,rx:X||0,ry:X||0,fill:"none",stroke:"#000"},z.type="rect",V(U,z.attrs),z},v._engine.ellipse=function(k,D,O,Q,J){var X=V("ellipse");k.canvas&&k.canvas.appendChild(X);var U=new x(X,k);return U.attrs={cx:D,cy:O,rx:Q,ry:J,fill:"none",stroke:"#000"},U.type="ellipse",V(X,U.attrs),U},v._engine.image=function(k,D,O,Q,J,X){var U=V("image");V(U,{x:O,y:Q,width:J,height:X,preserveAspectRatio:"none"}),U.setAttributeNS(Z,"href",D),k.canvas&&k.canvas.appendChild(U);var z=new x(U,k);return z.attrs={x:O,y:Q,width:J,height:X,src:D},z.type="image",z},v._engine.text=function(k,D,O,Q){var J=V("text");k.canvas&&k.canvas.appendChild(J);var X=new x(J,k);return X.attrs={x:D,y:O,"text-anchor":"middle",text:Q,"font-family":v._availableAttrs["font-family"],"font-size":v._availableAttrs["font-size"],stroke:"none",fill:"#000"},X.type="text",S(X,X.attrs),X},v._engine.setSize=function(k,D){return this.width=k||this.width,this.height=D||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},v._engine.create=function(){var k=v._getContainer.apply(0,arguments),D=k&&k.container;if(!D)throw new Error("SVG container not found.");var O,Q=k.x,J=k.y,X=k.width,U=k.height,z=V("svg"),ie="overflow:hidden;";return Q=Q||0,J=J||0,V(z,{height:U=U||342,version:1.1,width:X=X||512,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),D==1?(z.style.cssText=ie+"position:absolute;left:"+Q+"px;top:"+J+"px",v._g.doc.body.appendChild(z),O=1):(z.style.cssText=ie+"position:relative",D.firstChild?D.insertBefore(z,D.firstChild):D.appendChild(z)),(D=new v._Paper).width=X,D.height=U,D.canvas=z,D.clear(),D._left=D._top=0,O&&(D.renderfix=function(){}),D.renderfix(),D},v._engine.setViewBox=function(k,D,O,Q,J){F("raphael.setViewBox",this,this._viewBox,[k,D,O,Q,J]);var X,U,z=this.getSize(),ie=P(O/z.width,Q/z.height),de=this.top,me=J?"xMidYMid meet":"xMinYMin";for(k==null?(this._vbSize&&(ie=1),delete this._vbSize,X="0 0 "+this.width+ee+this.height):(this._vbSize=ie,X=k+ee+D+ee+O+ee+Q),V(this.canvas,{viewBox:X,preserveAspectRatio:me});ie&&de;)U="stroke-width"in de.attrs?de.attrs["stroke-width"]:1,de.attr({"stroke-width":U}),de._.dirty=1,de._.dirtyT=1,de=de.prev;return this._viewBox=[k,D,O,Q,!!J],this},v.prototype.renderfix=function(){var k,D=this.canvas,O=D.style;try{k=D.getScreenCTM()||D.createSVGMatrix()}catch{k=D.createSVGMatrix()}var Q=-k.e%1,J=-k.f%1;(Q||J)&&(Q&&(this._left=(this._left+Q)%1,O.left=this._left+"px"),J&&(this._top=(this._top+J)%1,O.top=this._top+"px"))},v.prototype.clear=function(){v.eve("raphael.clear",this);for(var k=this.canvas;k.firstChild;)k.removeChild(k.firstChild);this.bottom=this.top=null,(this.desc=V("desc")).appendChild(v._g.doc.createTextNode("Created with Raphaël "+v.version)),k.appendChild(this.desc),k.appendChild(this.defs=V("defs"))},v.prototype.remove=function(){for(var k in F("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[k]=typeof this[k]=="function"?v._removedFactory(k):null};var b=v.st;for(var d in T)T[w](d)&&!b[w](d)&&(b[d]=function(k){return function(){var D=arguments;return this.forEach(function(O){O[k].apply(O,D)})}}(d))}}).apply(l,u))===void 0||(o.exports=h)},function(o,l,t){var u,h;u=[t(0)],(h=(function(v){if(!v||v.vml){var w="hasOwnProperty",A=String,E=parseFloat,C=Math,M=C.round,P=C.max,I=C.min,j=C.abs,B=/[, ]+/,F=v.eve,N=" ",ee="",Z={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},re=/([clmz]),?([^clmz]*)/gi,fe=/ progid:\S+Blur\([^\)]+\)/g,V=/-?[^,\s-]+/g,le="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",he=21600,ye={path:1,rect:1,image:1},L={circle:1,ellipse:1},p=function(D,O,Q){var J=v.matrix();return J.rotate(-D,.5,.5),{dx:J.x(O,Q),dy:J.y(O,Q)}},y=function(D,O,Q,J,X,U){var z=D._,ie=D.matrix,de=z.fillpos,me=D.node,pe=me.style,qe=1,mt="",st=he/O,dt=he/Q;if(pe.visibility="hidden",O&&Q){if(me.coordsize=j(st)+N+j(dt),pe.rotation=U*(O*Q<0?-1:1),U){var Tt=p(U,J,X);J=Tt.dx,X=Tt.dy}if(O<0&&(mt+="x"),Q<0&&(mt+=" y")&&(qe=-1),pe.flip=mt,me.coordorigin=J*-st+N+X*-dt,de||z.fillsize){var lt=me.getElementsByTagName("fill");lt=lt&&lt[0],me.removeChild(lt),de&&(Tt=p(U,ie.x(de[0],de[1]),ie.y(de[0],de[1])),lt.position=Tt.dx*qe+N+Tt.dy*qe),z.fillsize&&(lt.size=z.fillsize[0]*j(O)+N+z.fillsize[1]*j(Q)),me.appendChild(lt)}pe.visibility="visible"}};v.toString=function(){return`Your browser doesn’t support SVG. Falling down to VML.
+You are running Raphaël `+this.version};var S,c=function(D,O,Q){for(var J=A(O).toLowerCase().split("-"),X=Q?"end":"start",U=J.length,z="classic",ie="medium",de="medium";U--;)switch(J[U]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":z=J[U];break;case"wide":case"narrow":de=J[U];break;case"long":case"short":ie=J[U]}var me=D.node.getElementsByTagName("stroke")[0];me[X+"arrow"]=z,me[X+"arrowlength"]=ie,me[X+"arrowwidth"]=de},m=function(D,O){D.attrs=D.attrs||{};var Q=D.node,J=D.attrs,X=Q.style,U=ye[D.type]&&(O.x!=J.x||O.y!=J.y||O.width!=J.width||O.height!=J.height||O.cx!=J.cx||O.cy!=J.cy||O.rx!=J.rx||O.ry!=J.ry||O.r!=J.r),z=L[D.type]&&(J.cx!=O.cx||J.cy!=O.cy||J.r!=O.r||J.rx!=O.rx||J.ry!=O.ry),ie=D;for(var de in O)O[w](de)&&(J[de]=O[de]);if(U&&(J.path=v._getPath[D.type](D),D._.dirty=1),O.href&&(Q.href=O.href),O.title&&(Q.title=O.title),O.target&&(Q.target=O.target),O.cursor&&(X.cursor=O.cursor),"blur"in O&&D.blur(O.blur),(O.path&&D.type=="path"||U)&&(Q.path=function(We){var et=/[ahqstv]/gi,Ye=v._pathToAbsolute;if(A(We).match(et)&&(Ye=v._path2curve),et=/[clmz]/g,Ye==v._pathToAbsolute&&!A(We).match(et)){var De=A(We).replace(re,function(pt,Bt,ur){var kt=[],Ut=Bt.toLowerCase()=="m",Wr=Z[Bt];return ur.replace(V,function(zt){Ut&&kt.length==2&&(Wr+=kt+Z[Bt=="m"?"l":"L"],kt=[]),kt.push(M(zt*he))}),Wr+kt});return De}var Ht,Mt,ge=Ye(We);De=[];for(var Dt=0,yt=ge.length;Dt<yt;Dt++){Ht=ge[Dt],(Mt=ge[Dt][0].toLowerCase())=="z"&&(Mt="x");for(var Ne=1,_t=Ht.length;Ne<_t;Ne++)Mt+=M(Ht[Ne]*he)+(Ne!=_t-1?",":ee);De.push(Mt)}return De.join(N)}(~A(J.path).toLowerCase().indexOf("r")?v._pathToAbsolute(J.path):J.path),D._.dirty=1,D.type=="image"&&(D._.fillpos=[J.x,J.y],D._.fillsize=[J.width,J.height],y(D,1,1,0,0,0))),"transform"in O&&D.transform(O.transform),z){var me=+J.cx,pe=+J.cy,qe=+J.rx||+J.r||0,mt=+J.ry||+J.r||0;Q.path=v.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",M((me-qe)*he),M((pe-mt)*he),M((me+qe)*he),M((pe+mt)*he),M(me*he)),D._.dirty=1}if("clip-rect"in O){var st=A(O["clip-rect"]).split(B);if(st.length==4){st[2]=+st[2]+ +st[0],st[3]=+st[3]+ +st[1];var dt=Q.clipRect||v._g.doc.createElement("div"),Tt=dt.style;Tt.clip=v.format("rect({1}px {2}px {3}px {0}px)",st),Q.clipRect||(Tt.position="absolute",Tt.top=0,Tt.left=0,Tt.width=D.paper.width+"px",Tt.height=D.paper.height+"px",Q.parentNode.insertBefore(dt,Q),dt.appendChild(Q),Q.clipRect=dt)}O["clip-rect"]||Q.clipRect&&(Q.clipRect.style.clip="auto")}if(D.textpath){var lt=D.textpath.style;O.font&&(lt.font=O.font),O["font-family"]&&(lt.fontFamily='"'+O["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,ee)+'"'),O["font-size"]&&(lt.fontSize=O["font-size"]),O["font-weight"]&&(lt.fontWeight=O["font-weight"]),O["font-style"]&&(lt.fontStyle=O["font-style"])}if("arrow-start"in O&&c(ie,O["arrow-start"]),"arrow-end"in O&&c(ie,O["arrow-end"],1),O.opacity!=null||O.fill!=null||O.src!=null||O.stroke!=null||O["stroke-width"]!=null||O["stroke-opacity"]!=null||O["fill-opacity"]!=null||O["stroke-dasharray"]!=null||O["stroke-miterlimit"]!=null||O["stroke-linejoin"]!=null||O["stroke-linecap"]!=null){var Je=Q.getElementsByTagName("fill");if(!(Je=Je&&Je[0])&&(Je=S("fill")),D.type=="image"&&O.src&&(Je.src=O.src),O.fill&&(Je.on=!0),Je.on!=null&&O.fill!="none"&&O.fill!==null||(Je.on=!1),Je.on&&O.fill){var ht=A(O.fill).match(v._ISURL);if(ht){Je.parentNode==Q&&Q.removeChild(Je),Je.rotate=!0,Je.src=ht[1],Je.type="tile";var at=D.getBBox(1);Je.position=at.x+N+at.y,D._.fillpos=[at.x,at.y],v._preload(ht[1],function(){D._.fillsize=[this.offsetWidth,this.offsetHeight]})}else Je.color=v.getRGB(O.fill).hex,Je.src=ee,Je.type="solid",v.getRGB(O.fill).error&&(ie.type in{circle:1,ellipse:1}||A(O.fill).charAt()!="r")&&x(ie,O.fill,Je)&&(J.fill="none",J.gradient=O.fill,Je.rotate=!1)}if("fill-opacity"in O||"opacity"in O){var bt=((+J["fill-opacity"]+1||2)-1)*((+J.opacity+1||2)-1)*((+v.getRGB(O.fill).o+1||2)-1);bt=I(P(bt,0),1),Je.opacity=bt,Je.src&&(Je.color="none")}Q.appendChild(Je);var jt=Q.getElementsByTagName("stroke")&&Q.getElementsByTagName("stroke")[0],Ge=!1;!jt&&(Ge=jt=S("stroke")),(O.stroke&&O.stroke!="none"||O["stroke-width"]||O["stroke-opacity"]!=null||O["stroke-dasharray"]||O["stroke-miterlimit"]||O["stroke-linejoin"]||O["stroke-linecap"])&&(jt.on=!0),(O.stroke=="none"||O.stroke===null||jt.on==null||O.stroke==0||O["stroke-width"]==0)&&(jt.on=!1);var Qe=v.getRGB(O.stroke);jt.on&&O.stroke&&(jt.color=Qe.hex),bt=((+J["stroke-opacity"]+1||2)-1)*((+J.opacity+1||2)-1)*((+Qe.o+1||2)-1);var Wt=.75*(E(O["stroke-width"])||1);if(bt=I(P(bt,0),1),O["stroke-width"]==null&&(Wt=J["stroke-width"]),O["stroke-width"]&&(jt.weight=Wt),Wt&&Wt<1&&(bt*=Wt)&&(jt.weight=1),jt.opacity=bt,O["stroke-linejoin"]&&(jt.joinstyle=O["stroke-linejoin"]||"miter"),jt.miterlimit=O["stroke-miterlimit"]||8,O["stroke-linecap"]&&(jt.endcap=O["stroke-linecap"]=="butt"?"flat":O["stroke-linecap"]=="square"?"square":"round"),"stroke-dasharray"in O){var Et={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};jt.dashstyle=Et[w](O["stroke-dasharray"])?Et[O["stroke-dasharray"]]:ee}Ge&&Q.appendChild(jt)}if(ie.type=="text"){ie.paper.canvas.style.display=ee;var Ct=ie.paper.span,Kt=J.font&&J.font.match(/\d+(?:\.\d*)?(?=px)/);X=Ct.style,J.font&&(X.font=J.font),J["font-family"]&&(X.fontFamily=J["font-family"]),J["font-weight"]&&(X.fontWeight=J["font-weight"]),J["font-style"]&&(X.fontStyle=J["font-style"]),Kt=E(J["font-size"]||Kt&&Kt[0])||10,X.fontSize=100*Kt+"px",ie.textpath.string&&(Ct.innerHTML=A(ie.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var Me=Ct.getBoundingClientRect();ie.W=J.w=(Me.right-Me.left)/100,ie.H=J.h=(Me.bottom-Me.top)/100,ie.X=J.x,ie.Y=J.y+ie.H/2,("x"in O||"y"in O)&&(ie.path.v=v.format("m{0},{1}l{2},{1}",M(J.x*he),M(J.y*he),M(J.x*he)+1));for(var te=["x","y","text","font","font-family","font-weight","font-style","font-size"],_e=0,je=te.length;_e<je;_e++)if(te[_e]in O){ie._.dirty=1;break}switch(J["text-anchor"]){case"start":ie.textpath.style["v-text-align"]="left",ie.bbx=ie.W/2;break;case"end":ie.textpath.style["v-text-align"]="right",ie.bbx=-ie.W/2;break;default:ie.textpath.style["v-text-align"]="center",ie.bbx=0}ie.textpath.style["v-text-kern"]=!0}},x=function(D,O,Q){D.attrs=D.attrs||{},D.attrs;var J=Math.pow,X="linear",U=".5 .5";if(D.attrs.gradient=O,O=(O=A(O).replace(v._radial_gradient,function(qe,mt,st){return X="radial",mt&&st&&(mt=E(mt),st=E(st),J(mt-.5,2)+J(st-.5,2)>.25&&(st=C.sqrt(.25-J(mt-.5,2))*(2*(st>.5)-1)+.5),U=mt+N+st),ee})).split(/\s*\-\s*/),X=="linear"){var z=O.shift();if(z=-E(z),isNaN(z))return null}var ie=v._parseDots(O);if(!ie)return null;if(D=D.shape||D.node,ie.length){D.removeChild(Q),Q.on=!0,Q.method="none",Q.color=ie[0].color,Q.color2=ie[ie.length-1].color;for(var de=[],me=0,pe=ie.length;me<pe;me++)ie[me].offset&&de.push(ie[me].offset+N+ie[me].color);Q.colors=de.length?de.join():"0% "+Q.color,X=="radial"?(Q.type="gradientTitle",Q.focus="100%",Q.focussize="0 0",Q.focusposition=U,Q.angle=0):(Q.type="gradient",Q.angle=(270-z)%360),D.appendChild(Q)}return 1},T=function(D,O){this[0]=this.node=D,D.raphael=!0,this.id=v._oid++,D.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=O,this.matrix=v.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!O.bottom&&(O.bottom=this),this.prev=O.top,O.top&&(O.top.next=this),O.top=this,this.next=null},b=v.el;T.prototype=b,b.constructor=T,b.transform=function(D){if(D==null)return this._.transform;var O,Q=this.paper._viewBoxShift,J=Q?"s"+[Q.scale,Q.scale]+"-1-1t"+[Q.dx,Q.dy]:ee;Q&&(O=D=A(D).replace(/\.{3}|\u2026/g,this._.transform||ee)),v._extractTransform(this,J+D);var X,U=this.matrix.clone(),z=this.skew,ie=this.node,de=~A(this.attrs.fill).indexOf("-"),me=!A(this.attrs.fill).indexOf("url(");if(U.translate(1,1),me||de||this.type=="image")if(z.matrix="1 0 0 1",z.offset="0 0",X=U.split(),de&&X.noRotation||!X.isSimple){ie.style.filter=U.toFilter();var pe=this.getBBox(),qe=this.getBBox(1),mt=pe.x-qe.x,st=pe.y-qe.y;ie.coordorigin=mt*-he+N+st*-he,y(this,1,1,mt,st,0)}else ie.style.filter=ee,y(this,X.scalex,X.scaley,X.dx,X.dy,X.rotate);else ie.style.filter=ee,z.matrix=A(U),z.offset=U.offset();return O!==null&&(this._.transform=O,v._extractTransform(this,O)),this},b.rotate=function(D,O,Q){if(this.removed)return this;if(D!=null){if((D=A(D).split(B)).length-1&&(O=E(D[1]),Q=E(D[2])),D=E(D[0]),Q==null&&(O=Q),O==null||Q==null){var J=this.getBBox(1);O=J.x+J.width/2,Q=J.y+J.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",D,O,Q]])),this}},b.translate=function(D,O){return this.removed?this:((D=A(D).split(B)).length-1&&(O=E(D[1])),D=E(D[0])||0,O=+O||0,this._.bbox&&(this._.bbox.x+=D,this._.bbox.y+=O),this.transform(this._.transform.concat([["t",D,O]])),this)},b.scale=function(D,O,Q,J){if(this.removed)return this;if((D=A(D).split(B)).length-1&&(O=E(D[1]),Q=E(D[2]),J=E(D[3]),isNaN(Q)&&(Q=null),isNaN(J)&&(J=null)),D=E(D[0]),O==null&&(O=D),J==null&&(Q=J),Q==null||J==null)var X=this.getBBox(1);return Q=Q??X.x+X.width/2,J=J??X.y+X.height/2,this.transform(this._.transform.concat([["s",D,O,Q,J]])),this._.dirtyT=1,this},b.hide=function(){return!this.removed&&(this.node.style.display="none"),this},b.show=function(){return!this.removed&&(this.node.style.display=ee),this},b.auxGetBBox=v.el.getBBox,b.getBBox=function(){var D=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var O={},Q=1/this.paper._viewBoxShift.scale;return O.x=D.x-this.paper._viewBoxShift.dx,O.x*=Q,O.y=D.y-this.paper._viewBoxShift.dy,O.y*=Q,O.width=D.width*Q,O.height=D.height*Q,O.x2=O.x+O.width,O.y2=O.y+O.height,O}return D},b._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},b.remove=function(){if(!this.removed&&this.node.parentNode){for(var D in this.paper.__set__&&this.paper.__set__.exclude(this),v.eve.unbind("raphael.*.*."+this.id),v._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[D]=typeof this[D]=="function"?v._removedFactory(D):null;this.removed=!0}},b.attr=function(D,O){if(this.removed)return this;if(D==null){var Q={};for(var J in this.attrs)this.attrs[w](J)&&(Q[J]=this.attrs[J]);return Q.gradient&&Q.fill=="none"&&(Q.fill=Q.gradient)&&delete Q.gradient,Q.transform=this._.transform,Q}if(O==null&&v.is(D,"string")){if(D=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;for(var X=D.split(B),U={},z=0,ie=X.length;z<ie;z++)(D=X[z])in this.attrs?U[D]=this.attrs[D]:v.is(this.paper.customAttributes[D],"function")?U[D]=this.paper.customAttributes[D].def:U[D]=v._availableAttrs[D];return ie-1?U:U[X[0]]}if(this.attrs&&O==null&&v.is(D,"array")){for(U={},z=0,ie=D.length;z<ie;z++)U[D[z]]=this.attr(D[z]);return U}var de;for(var me in O!=null&&((de={})[D]=O),O==null&&v.is(D,"object")&&(de=D),de)F("raphael.attr."+me+"."+this.id,this,de[me]);if(de){for(me in this.paper.customAttributes)if(this.paper.customAttributes[w](me)&&de[w](me)&&v.is(this.paper.customAttributes[me],"function")){var pe=this.paper.customAttributes[me].apply(this,[].concat(de[me]));for(var qe in this.attrs[me]=de[me],pe)pe[w](qe)&&(de[qe]=pe[qe])}de.text&&this.type=="text"&&(this.textpath.string=de.text),m(this,de)}return this},b.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&v._tofront(this,this.paper),this},b.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),v._toback(this,this.paper)),this)},b.insertAfter=function(D){return this.removed?this:(D.constructor==v.st.constructor&&(D=D[D.length-1]),D.node.nextSibling?D.node.parentNode.insertBefore(this.node,D.node.nextSibling):D.node.parentNode.appendChild(this.node),v._insertafter(this,D,this.paper),this)},b.insertBefore=function(D){return this.removed?this:(D.constructor==v.st.constructor&&(D=D[0]),D.node.parentNode.insertBefore(this.node,D.node),v._insertbefore(this,D,this.paper),this)},b.blur=function(D){var O=this.node.runtimeStyle,Q=O.filter;return Q=Q.replace(fe,ee),+D!=0?(this.attrs.blur=D,O.filter=Q+N+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+D||1.5)+")",O.margin=v.format("-{0}px 0 0 -{0}px",M(+D||1.5))):(O.filter=Q,O.margin=0,delete this.attrs.blur),this},v._engine.path=function(D,O){var Q=S("shape");Q.style.cssText=le,Q.coordsize=he+N+he,Q.coordorigin=O.coordorigin;var J=new T(Q,O),X={fill:"none",stroke:"#000"};D&&(X.path=D),J.type="path",J.path=[],J.Path=ee,m(J,X),O.canvas&&O.canvas.appendChild(Q);var U=S("skew");return U.on=!0,Q.appendChild(U),J.skew=U,J.transform(ee),J},v._engine.rect=function(D,O,Q,J,X,U){var z=v._rectPath(O,Q,J,X,U),ie=D.path(z),de=ie.attrs;return ie.X=de.x=O,ie.Y=de.y=Q,ie.W=de.width=J,ie.H=de.height=X,de.r=U,de.path=z,ie.type="rect",ie},v._engine.ellipse=function(D,O,Q,J,X){var U=D.path();return U.attrs,U.X=O-J,U.Y=Q-X,U.W=2*J,U.H=2*X,U.type="ellipse",m(U,{cx:O,cy:Q,rx:J,ry:X}),U},v._engine.circle=function(D,O,Q,J){var X=D.path();return X.attrs,X.X=O-J,X.Y=Q-J,X.W=X.H=2*J,X.type="circle",m(X,{cx:O,cy:Q,r:J}),X},v._engine.image=function(D,O,Q,J,X,U){var z=v._rectPath(Q,J,X,U),ie=D.path(z).attr({stroke:"none"}),de=ie.attrs,me=ie.node,pe=me.getElementsByTagName("fill")[0];return de.src=O,ie.X=de.x=Q,ie.Y=de.y=J,ie.W=de.width=X,ie.H=de.height=U,de.path=z,ie.type="image",pe.parentNode==me&&me.removeChild(pe),pe.rotate=!0,pe.src=O,pe.type="tile",ie._.fillpos=[Q,J],ie._.fillsize=[X,U],me.appendChild(pe),y(ie,1,1,0,0,0),ie},v._engine.text=function(D,O,Q,J){var X=S("shape"),U=S("path"),z=S("textpath");O=O||0,Q=Q||0,J=J||"",U.v=v.format("m{0},{1}l{2},{1}",M(O*he),M(Q*he),M(O*he)+1),U.textpathok=!0,z.string=A(J),z.on=!0,X.style.cssText=le,X.coordsize=he+N+he,X.coordorigin="0 0";var ie=new T(X,D),de={fill:"#000",stroke:"none",font:v._availableAttrs.font,text:J};ie.shape=X,ie.path=U,ie.textpath=z,ie.type="text",ie.attrs.text=A(J),ie.attrs.x=O,ie.attrs.y=Q,ie.attrs.w=1,ie.attrs.h=1,m(ie,de),X.appendChild(z),X.appendChild(U),D.canvas.appendChild(X);var me=S("skew");return me.on=!0,X.appendChild(me),ie.skew=me,ie.transform(ee),ie},v._engine.setSize=function(D,O){var Q=this.canvas.style;return this.width=D,this.height=O,D==+D&&(D+="px"),O==+O&&(O+="px"),Q.width=D,Q.height=O,Q.clip="rect(0 "+D+" "+O+" 0)",this._viewBox&&v._engine.setViewBox.apply(this,this._viewBox),this},v._engine.setViewBox=function(D,O,Q,J,X){v.eve("raphael.setViewBox",this,this._viewBox,[D,O,Q,J,X]);var U,z,ie=this.getSize(),de=ie.width,me=ie.height;return X&&(Q*(U=me/J)<de&&(D-=(de-Q*U)/2/U),J*(z=de/Q)<me&&(O-=(me-J*z)/2/z)),this._viewBox=[D,O,Q,J,!!X],this._viewBoxShift={dx:-D,dy:-O,scale:ie},this.forEach(function(pe){pe.transform("...")}),this},v._engine.initWin=function(D){var O=D.document;O.styleSheets.length<31?O.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):O.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!O.namespaces.rvml&&O.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),S=function(Q){return O.createElement("<rvml:"+Q+' class="rvml">')}}catch{S=function(J){return O.createElement("<"+J+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},v._engine.initWin(v._g.win),v._engine.create=function(){var D=v._getContainer.apply(0,arguments),O=D.container,Q=D.height,J=D.width,X=D.x,U=D.y;if(!O)throw new Error("VML container not found.");var z=new v._Paper,ie=z.canvas=v._g.doc.createElement("div"),de=ie.style;return X=X||0,U=U||0,J=J||512,Q=Q||342,z.width=J,z.height=Q,J==+J&&(J+="px"),Q==+Q&&(Q+="px"),z.coordsize=216e5+N+216e5,z.coordorigin="0 0",z.span=v._g.doc.createElement("span"),z.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",ie.appendChild(z.span),de.cssText=v.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",J,Q),O==1?(v._g.doc.body.appendChild(ie),de.left=X+"px",de.top=U+"px",de.position="absolute"):O.firstChild?O.insertBefore(ie,O.firstChild):O.appendChild(ie),z.renderfix=function(){},z},v.prototype.clear=function(){v.eve("raphael.clear",this),this.canvas.innerHTML=ee,this.span=v._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},v.prototype.remove=function(){for(var D in v.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[D]=typeof this[D]=="function"?v._removedFactory(D):null;return!0};var d=v.st;for(var k in b)b[w](k)&&!d[w](k)&&(d[k]=function(D){return function(){var O=arguments;return this.forEach(function(Q){Q[D].apply(Q,O)})}}(k))}}).apply(l,u))===void 0||(o.exports=h)}])})})(raphael_min);var raphael_minExports=raphael_min.exports;const Raphael=getDefaultExportFromCjs$1(raphael_minExports),Arrow=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),this.current_pilot_widget=this.pilot_widget}draw(){this.height=this.arrow_height+this.base_height,this.$.addClass("Ldt-Arrow").css({height:1+this.height+"px","margin-top":"1px",overflow:"hidden"}),this.paper=new Raphael(this.container,this.width,1+this.height),window.myArrow=this,this.svgArrow=this.paper.path("M0,"+this.height+"L"+this.width+","+this.height),this.svgArrow.attr({stroke:this.stroke_color,"stroke-width":this.stroke_width,fill:this.fill_url?"url("+this.fill_url+")":this.fill_color}),this.moveToX(0)}drawAt(o){o=Math.max(0,Math.min(o,this.width));var l="M0,"+this.height+"L0,"+Math.min(this.height,this.arrow_height+this.base_curve)+"Q0,"+this.arrow_height+" "+Math.max(0,Math.min(this.base_curve,o-this.arrow_width/2))+","+this.arrow_height+"L"+Math.max(0,o-this.arrow_width/2)+","+this.arrow_height+"L"+Math.max(0,o-this.arrow_width/2)+","+Math.min(this.arrow_height,2*this.arrow_height*o/this.arrow_width)+"L"+o+",0L"+Math.min(this.width,o+this.arrow_width/2)+","+Math.min(this.arrow_height,2*this.arrow_height*(this.width-o)/this.arrow_width)+"L"+Math.min(this.width,o+this.arrow_width/2)+","+this.arrow_height+"L"+Math.min(this.width,Math.max(this.width-this.base_curve,o+this.arrow_width/2))+","+this.arrow_height+"Q"+this.width+","+this.arrow_height+" "+this.width+","+Math.min(this.height,this.arrow_height+this.base_curve)+"L"+this.width+","+this.height;this.svgArrow.attr({path:l})}moveToX(o){this.targetX=Math.max(0,Math.min(o,this.width)),typeof this.animInterval>"u"&&(this.animInterval=window.setInterval(this.functionWrapper("increment"),40)),this.increment()}moveToTime(o){this.media&&this.moveToX(this.width*o/this.media.duration)}increment(){typeof this.currentX>"u"&&(this.currentX=this.targetX),this.currentX<this.targetX&&(this.currentX=Math.min(this.targetX,this.currentX+this.animation_speed)),this.currentX>this.targetX&&(this.currentX=Math.max(this.targetX,this.currentX-this.animation_speed)),this.currentX===this.targetX&&(window.clearInterval(this.animInterval),this.animInterval=void 0),this.drawAt(this.currentX)}},Or(e,"defaults",{arrow_height:12,arrow_width:20,base_height:0,base_curve:0,fill_url:n.widgetsDir+"/img/pinstripe.png",fill_color:"#ffffff",stroke_color:"#b7b7b7",stroke_width:1.5,animation_speed:20}),e},controllerStyles={},Controller=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),this.lastSearchValue=""}draw(){var o=this;this.renderTemplate(),this.$playButton=this.$.find(".Ldt-Ctrl-Play"),this.$searchBlock=this.$.find(".Ldt-Ctrl-Search"),this.$searchInput=this.$.find(".Ldt-Ctrl-SearchInput"),this.$volumeBar=this.$.find(".Ldt-Ctrl-Volume-Bar"),this.onMediaEvent("play","playButtonUpdater"),this.onMediaEvent("pause","playButtonUpdater"),this.onMediaEvent("volumechange","volumeUpdater"),this.onMediaEvent("timeupdate","timeDisplayUpdater"),this.onMediaEvent("loadedmetadata","volumeUpdater"),this.$playButton.click(this.functionWrapper("playHandler")),this.enable_quiz_toggle!==void 0?this.enable_quiz_toggle?(this.$.find(".Ldt-Ctrl-Quiz-Enable").addClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.$.find(".Ldt-Ctrl-Quiz-Create").addClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.$.find("#QuizEditContainer").show()):(this.$.find(".Ldt-Ctrl-Quiz-Enable").removeClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.$.find(".Ldt-Ctrl-Quiz-Create").removeClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.player.trigger("QuizCreator.hide"),this.$.find("#QuizEditContainer").hide()):this.$.find(".Ldt-Ctrl-Quiz-Enable").hide(),this.$.find(".Ldt-Ctrl-Annotate").click(function(){o.player.trigger("CreateAnnotation.toggle")}),this.$.find(".Ldt-Ctrl-SearchBtn").click(this.functionWrapper("searchButtonHandler")),this.$searchInput.keyup(this.functionWrapper("searchHandler")),this.$searchInput.on("search",this.functionWrapper("searchHandler")),this.$.find(".Ldt-Ctrl-Fullscreen-Button").click(this.functionWrapper("toggleFullscreen"));var l=n.getFullscreenEventname();l&&document.addEventListener(l,function(){n.isFullscreen()&&n.getFullscreenElement()==o.$[0]?o.$.addClass("Ldt-Fullscreen-Element"):o.$.removeClass("Ldt-Fullscreen-Element")}),this.$.find(".Ldt-Ctrl-Quiz-Enable").click(this.functionWrapper("toggleQuiz")),this.$.find(".Ldt-Ctrl-Quiz-Create").click(this.functionWrapper("createQuiz"));var t=this.$.find(".Ldt-Ctrl-Volume-Control");if(this.$.find(".Ldt-Ctrl-Sound").click(this.functionWrapper("muteHandler")).mouseover(function(){t.show()}).mouseout(function(){t.hide()}),t.mouseover(function(){t.show()}).mouseout(function(){t.hide()}),!this.disable_ctrl_f){var u=70,h=0;jQuery(document).keydown(function(w){if(w.keyCode===u&&(w.ctrlKey||w.metaKey)){var A=jQuery.now();return A-h>2e3&&o.searchButtonHandler(),h=A,!1}})}this.$volumeBar.slider({slide:function(w,A){o.$volumeBar.attr("title",o.l10n.volume+": "+A.value+"%"),o.media.setVolume(A.value/100)},stop:this.functionWrapper("volumeUpdater")}),this.$.hover(function(){o.player.trigger("Player.MouseOver")},function(){o.player.trigger("Player.MouseOut")}),this.timeDisplayUpdater(new n.Model.Time(0));var v=this.source.getAnnotations();v.on("search",function(w){o.$searchInput.val(w),o.showSearchBlock()}),v.on("found",function(w){o.$searchInput.css("background-color","#e1ffe1")}),v.on("not-found",function(w){o.$searchInput.css("background-color","#d62e3a")}),v.on("search-cleared",function(){o.hideSearchBlock()}),o.always_show_search&&o.showSearchBlock()}timeDisplayUpdater(o){var l=this.media.duration;this.$.find(".Ldt-Ctrl-Time-Elapsed").html(o.toString()),this.$.find(".Ldt-Ctrl-Time-Total").html(l.toString())}playButtonUpdater(){this.media.getPaused()?this.$playButton.attr("title",this.l10n.play).removeClass("Ldt-Ctrl-Play-PauseState").addClass("Ldt-Ctrl-Play-PlayState"):this.$playButton.attr("title",this.l10n.pause).removeClass("Ldt-Ctrl-Play-PlayState").addClass("Ldt-Ctrl-Play-PauseState")}toggleFullscreen(){n.isFullscreen()?n.setFullScreen(this.$[0],!1):n.setFullScreen(this.$[0],!0)}createQuiz(){this.player.trigger("Quiz.hide"),this.media.pause(),this.player.trigger("QuizCreator.create")}toggleQuiz(){this.enable_quiz_toggle=!this.enable_quiz_toggle,this.enable_quiz_toggle?(jQuery(".Ldt-Ctrl-Quiz-Enable").addClass("Ldt-Ctrl-Quiz-Toggle-Active"),jQuery(".Ldt-Ctrl-Quiz-Create").addClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.player.trigger("Quiz.activate")):(jQuery(".Ldt-Ctrl-Quiz-Enable").removeClass("Ldt-Ctrl-Quiz-Toggle-Active"),jQuery(".Ldt-Ctrl-Quiz-Create").removeClass("Ldt-Ctrl-Quiz-Toggle-Active"),this.player.trigger("Quiz.deactivate"),this.player.trigger("QuizCreator.hide"))}playHandler(){this.media.getPaused()?this.media.play():this.media.pause()}muteHandler(){this.media.setMuted(!this.media.getMuted())}volumeUpdater(){var o=this.media.getMuted(),l=this.media.getVolume();l===!1&&(l=.5);var t=this.$.find(".Ldt-Ctrl-Sound");t.removeClass("Ldt-Ctrl-Sound-Mute Ldt-Ctrl-Sound-Half Ldt-Ctrl-Sound-Full"),o?t.attr("title",this.l10n.unmute).addClass("Ldt-Ctrl-Sound-Mute"):t.attr("title",this.l10n.mute).addClass(l<.5?"Ldt-Ctrl-Sound-Half":"Ldt-Ctrl-Sound-Full"),this.$volumeBar.slider("value",o?0:100*l)}showSearchBlock(){this.$searchBlock.animate({width:"160px"},200),this.$searchInput.css("background-color","#fff"),this.$searchInput.focus()}hideSearchBlock(){this.always_show_search||this.$searchBlock.animate({width:0},200)}searchButtonHandler(){if(this.$searchBlock.width())this.hideSearchBlock();else{this.showSearchBlock();var o=this.$searchInput.val();o&&this.source.getAnnotations().search(o)}}searchHandler(){this.$searchBlock.width()||(this.$searchBlock.css({width:"160px"}),this.$searchInput.css("background-color","#fff"));var o=this.$searchInput.val();this._positiveMatch=!1,o!==this.lastSearchValue&&(o?this.source.getAnnotations().search(o):(this.source.getAnnotations().trigger("clear-search"),this.$searchInput.css("background-color",""))),this.lastSearchValue=o}},Or(e,"defaults",{disable_annotate_btn:!1,disable_search_btn:!1,disable_ctrl_f:!1,disable_fullscreen:!0,always_show_search:!1,enable_quiz_toggle:void 0}),Or(e,"template",'<div class="Ldt-Ctrl"><div class="Ldt-Ctrl-Left"><div class="Ldt-Ctrl-button Ldt-Ctrl-Play Ldt-Ctrl-Play-PlayState Ldt-TraceMe" title="{{l10n.play_pause}}"></div><div class="Ldt-Ctrl-spacer"></div>{{^disable_annotate_btn}}<div class="Ldt-Ctrl-button Ldt-Ctrl-Annotate Ldt-TraceMe" title="{{l10n.annotate}}"></div><div class="Ldt-Ctrl-spacer"></div>{{/disable_annotate_btn}}{{^disable_search_btn}}<div class="Ldt-Ctrl-button Ldt-Ctrl-SearchBtn Ldt-TraceMe" title="{{l10n.search}}"></div>{{/disable_search_btn}}<div class="Ldt-Ctrl-Search"><input placeholder="{{ l10n.search }}" type="search" class="Ldt-Ctrl-SearchInput Ldt-TraceMe"></input></div><div class="Ldt-Ctrl-Quiz-Enable Ldt-TraceMe" title="Activer/Désactiver le quiz"></div><div class="Ldt-Ctrl-Quiz-Create Ldt-TraceMe" ></div></div><div class="Ldt-Ctrl-Right">{{^disable_fullscreen}}<div class="Ldt-Ctrl-Fullscreen-Button Ldt-TraceMe" title="Passer le lecteur en plein-écran"></div{{/disable_fullscreen}}<div class="Ldt-Ctrl-spacer"></div><div class="Ldt-Ctrl-Time"><div class="Ldt-Ctrl-Time-Elapsed" title="{{l10n.elapsed_time}}">00:00</div><div class="Ldt-Ctrl-Time-Separator">/</div><div class="Ldt-Ctrl-Time-Total" title="{{l10n.total_time}}">00:00</div></div><div class="Ldt-Ctrl-spacer"></div><div class="Ldt-Ctrl-button Ldt-Ctrl-Sound Ldt-Ctrl-Sound-Full Ldt-TraceMe" title="{{l10n.mute_unmute}}"></div></div><div class="Ldt-Ctrl-Volume-Control" title="{{l10n.volume_control}}"><div class="Ldt-Ctrl-Volume-Bar"></div></div></div>'),Or(e,"messages",{en:{play_pause:"Play/Pause",mute_unmute:"Mute/Unmute",play:"Play",pause:"Pause",mute:"Mute",unmute:"Unmute",annotate:"Annotate",search:"Search",elapsed_time:"Elapsed time",total_time:"Total duration",volume:"Volume",volume_control:"Volume control",enable_quiz:"Enable quiz"},fr:{play_pause:"Lecture/Pause",mute_unmute:"Couper/Activer le son",play:"Lecture",pause:"Pause",mute:"Couper le son",unmute:"Activer le son",annotate:"Annoter",search:"Rechercher",elapsed_time:"Temps écoulé",total_time:"Durée totale",volume:"Niveau sonore",volume_control:"Réglage du niveau sonore",enable_quiz:"Activer le quiz"}}),e},createAnnotationStyles={},CreateAnnotation=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),this.editable_storage!=""&&window.localStorage[this.editable_storage]&&this.source.onLoad(function(){var t=this.player.sourceManager.newLocalSource({serializer:n.serializers.ldt_localstorage});t.deSerialize(window.localStorage[this.editable_storage]),_this.source.merge(t)})}draw(){var o=this;this.begin=new n.Model.Time,this.end=this.source.getDuration(),this.tag_prefix=this.tag_prefix||"",this.tag_titles&&!this.tags&&(this.tag_titles.length==1&&this.tag_titles[0]==""?this.tags=!0:this.tags=_$1(this.tag_titles).map(function(l){var t,u=o.source.getTags().searchByTitle(l,!0);return u.length?t=u[0]:(t=new n.Model.Tag(!1,o.source),o.source.getTags().push(t),t.title=l),t}).value()),this.tags||(this.tags=this.source.getTags().sortBy(function(l){return-l.getAnnotations().length}).slice(0,this.max_tags).map(function(l){return l})),this.renderTemplate(),this.show_slice?this.insertSubwidget(this.$.find(".Ldt-CreateAnnotation-Slice"),{type:"Slice",show_arrow:this.show_arrow,annotation_type:this.slice_annotation_type,onBoundsChanged:function(l,t){o.setBeginEnd(l,t)}},"slice"):(this.show_arrow&&this.insertSubwidget(this.$.find(".Ldt-CreateAnnotation-Arrow"),{type:"Arrow"},"arrow"),this.onMediaEvent("timeupdate",function(l){o.$.find(".Ldt-CreateAnnotation-Description").val().trim()==""&&(o.setBeginEnd(l,l),o.arrow&&o.arrow.moveToTime(l))})),this.$.find(".Ldt-CreateAnnotation-Cancel").click(function(){o.player.trigger("CreateAnnotation.hide")}),this.$.find(".Ldt-CreateAnnotation-Close").click(function(){return o.close_after_send?o.player.trigger("CreateAnnotation.hide"):o.showScreen("Main"),!1}),this.$.find(".Ldt-CreateAnnotation-TagLi, .Ldt-CreateAnnotation-PolemicLi").click(function(){return o.addKeyword(jQuery(this).attr("data-text")),!1}),this.$.find(".Ldt-CreateAnnotation-PolemicLi").each(function(){var l=jQuery(this),t=l.attr("data-text"),u=o.l10n["polemic"+t];u&&l.attr("title",u)}),this.$.find(".Ldt-CreateAnnotation-Description").bind("change keyup input paste",this.functionWrapper("onDescriptionChange")),this.show_title_field&&this.$.find(".Ldt-CreateAnnotation-Title").bind("change keyup input paste",this.functionWrapper("onTitleChange")),this.show_creator_field&&this.$.find(".Ldt-CreateAnnotation-Creator").bind("change keyup input paste",this.functionWrapper("onCreatorChange")),this.$.find("[class^='Ldt-CreateAnnotation-Control-']").click(function(){var l=this.className.replace("Ldt-CreateAnnotation-Control-","");switch(l){case"In":this.setBegin(o.media.getCurrentTime());break;case"Out":this.setEnd(o.media.getCurrentTime()||o.media.duration);break;case"Play":this.media.setCurrentTime(o.begin),this.media.play();break}return!1}),this.start_visible?this.show():(this.$.hide(),this.hide()),this.onMdpEvent("CreateAnnotation.toggle","toggle"),this.onMdpEvent("CreateAnnotation.hide","hide"),this.onMdpEvent("CreateAnnotation.show","show"),this.$.find("form").submit(this.functionWrapper("onSubmit"))}setBegin(o){this.begin=new n.Model.Time(o||0),this.$.find(".Ldt-CreateAnnotation-Begin").html(this.begin.toString())}setEnd(o){this.end=new n.Model.Time(o||0),this.$.find(".Ldt-CreateAnnotation-End").html(this.end.toString())}setBeginEnd(o,l){this.setBegin(o),this.setEnd(l)}showScreen(o){this.$.find(".Ldt-CreateAnnotation-"+o).show().siblings().hide()}show(){this.visible||(this.visible=!0,this.pause_when_displaying&&this.media.pause(),this.showScreen("Main"),this.$.find(".Ldt-CreateAnnotation-Description").val("").css("border-color","#666666").addClass("empty"),this.show_title_field&&this.$.find(".Ldt-CreateAnnotation-Title").val("").css("border-color","#666666").addClass("empty"),this.show_creator_field&&(this.$.find(".Ldt-CreateAnnotation-Creator").val(this.creator_name).css("border-color","#666666"),this.creator_name||this.$.find(".Ldt-CreateAnnotation-Creator").addClass("empty")),this.$.find(".Ldt-CreateAnnotation-TagLi, .Ldt-CreateAnnotation-PolemicLi").removeClass("selected"),this.$.slideDown(),this.minimize_annotation_widget&&this.player.trigger("Annotation.minimize"))}hide(){this.visible&&(this.always_visible||(this.visible=!1,this.$.slideUp(),this.minimize_annotation_widget&&this.player.trigger("Annotation.maximize")))}toggle(){if(!this.always_visible)if(this.visible)this.hide();else{var o=this.media.getCurrentTime()||0;this.setBeginEnd(o,o),this.slice_widget&&this.slice_widget.setBounds(this.begin,this.end),this.show(),this.$.find(".Ldt-CreateAnnotation-Description").focus()}}addKeyword(o){var l=this.$.find(".Ldt-CreateAnnotation-Description"),t=n.Model.regexpFromTextOrArray(o),u=l.val();u=u.match(t)?u.replace(t,""):u+" "+o,l.val(u.replace(/\s{2,}/g," ").replace(/(^\s+|\s+$)/g,"")),this.onDescriptionChange()}pauseOnWrite(){this.pause_on_write&&!this.media.getPaused()&&this.media.pause()}onDescriptionChange(o){if(o!==void 0&&o.keyCode==13&&!o.shiftKey)return this.onSubmit(),!0;var l=this.$.find(".Ldt-CreateAnnotation-Description"),t=l.val();return l.css("border-color",t?"#666666":"#ff0000"),t?l.removeClass("empty"):l.addClass("empty"),this.$.find(".Ldt-CreateAnnotation-TagLi, .Ldt-CreateAnnotation-PolemicLi").each(function(){var u=n.Model.regexpFromTextOrArray(jQuery(this).attr("data-text"));t.match(u)?jQuery(this).addClass("selected"):jQuery(this).removeClass("selected")}),this.pauseOnWrite(),!!t}onTitleChange(){var o=this.$.find(".Ldt-CreateAnnotation-Title"),l=o.val();return o.css("border-color",l?"#666666":"#ff0000"),l?o.removeClass("empty"):o.addClass("empty"),this.pauseOnWrite(),!!l}onCreatorChange(){var o=this.$.find(".Ldt-CreateAnnotation-Creator"),l=o.val();return o.css("border-color",l?"#666666":"#ff0000"),l?o.removeClass("empty"):o.addClass("empty"),this.pauseOnWrite(),!!l}onSubmit(){if(!this.onDescriptionChange()||this.show_title_field&&!this.onTitleChange()||this.show_creator_field&&!this.onCreatorChange())return!1;var o=this,l=new n.Model.List(this.player.sourceManager),t=this.player.sourceManager.newLocalSource({serializer:n.serializers[this.api_serializer]}),u=this.player.sourceManager.newLocalSource({serializer:n.serializers.ldt_localstorage}),h=new n.Model.Annotation(!1,t),v=this.source.getAnnotationTypes().searchByTitle(this.annotation_type,!0),w=v.length?v[0]:new n.Model.AnnotationType(!1,t),A=mustache.render(this.api_endpoint_template,{id:this.source.projectId});if(v.length||(w.dont_send_id=!0,w.title=this.annotation_type),h.setMedia(this.source.currentMedia.id),this.post_at_segment_time){var E=this.media.getCurrentTime(),C=this.source.getAnnotationsByTypeTitle(this.segments_annotation_type),M=C.filter(function(I){return E>=I.begin&&E<=I.end});M.length==0?(h.setBegin(this.begin),h.setEnd(this.end)):(h.setBegin(M[0].begin),h.setEnd(M[0].end))}else h.setBeginEnd(this.begin,this.end);h.setAnnotationType(w.id),this.show_title_field&&(h.title=this.$.find(".Ldt-CreateAnnotation-Title").val()),this.project_id!=""&&(h.project_id=this.project_id),h.created=new Date,h.description=this.$.find(".Ldt-CreateAnnotation-Description").val();var P=Array.prototype.map.call(this.$.find(".Ldt-CreateAnnotation-TagLi.selected"),function(I){return jQuery(I).attr("tag-id")});if(_$1(h.description.match(/#[^\s#.,;]+/g)).each(function(I){var j,B=I.replace(/^#/,""),F=o.source.getTags().searchByTitle(B,!0);F.length?j=F[0]:(j=new n.Model.Tag(!1,o.source),o.source.getTags().push(j),j.title=B),P.indexOf(j.id)===-1&&P.push(j.id)}),h.setTags(_$1(P).uniq()),this.audio_url&&(h.audio={src:"mic",mimetype:"audio/mp3",href:this.audio_url}),this.show_creator_field?h.creator=this.$.find(".Ldt-CreateAnnotation-Creator").val():h.creator=this.creator_name,l.push(h),this.editable_storage!=""&&(u.addList("annotation",l),o.source.merge(u),window.localStorage[this.editable_storage]&&u.deSerialize(window.localStorage[this.editable_storage]),window.localStorage[o.editable_storage]=u.serialize(),o.player.trigger("AnnotationsList.refresh"),o.player.trigger("Annotation.create",h),o.$.find(".Ldt-CreateAnnotation-Description").val("")),A!==""){l.push(h),t.addList("annotation",l);var o=this;jQuery.ajax({url:A,type:this.api_method,contentType:"application/json",data:t.serialize(),success:function(j){o.showScreen("Saved"),o.after_send_timeout&&window.setTimeout(function(){o.close_after_send?o.player.trigger("CreateAnnotation.hide"):o.player.trigger("CreateAnnotation.show")},o.after_send_timeout),t.getAnnotations().removeElement(h,!0),t.deSerialize(j),o.source.merge(t),o.pause_on_write&&o.media.getPaused()&&o.media.play(),o.player.trigger("AnnotationsList.refresh")},error:function(j,B,F){n.log("Error when sending annotation",F),t.getAnnotations().removeElement(h,!0),o.showScreen("Error"),window.setTimeout(function(){o.showScreen("Main")},o.after_send_timeout||5e3)}}),this.showScreen("Wait")}return!1}},Or(e,"defaults",{show_title_field:!0,show_creator_field:!0,creator_field_readonly:!1,start_visible:!0,always_visible:!1,show_slice:!0,show_arrow:!0,show_time:!0,minimize_annotation_widget:!0,creator_name:"",creator_avatar:"",tags:!1,tag_titles:!1,pause_on_write:!0,max_tags:8,polemics:[{keyword:"++",background_color:"#00a000",text_color:"#ffffff"},{keyword:"--",background_color:"#c00000",text_color:"#ffffff"},{keyword:"??",background_color:"#0000e0",text_color:"#ffffff"},{keyword:"==",background_color:"#f0e000",text_color:"#000000"}],slice_annotation_type:"chap",annotation_type:"Contributions",post_at_segment_time:!1,segment_annotation_type:"chap",api_serializer:"ldt_annotate",api_endpoint_template:"",api_method:"POST",editable_storage:"",project_id:"",after_send_timeout:0,close_after_send:!1,tag_prefix:"#",pause_when_displaying:!1,custom_send_button:!1,custom_cancel_button:!1,custom_description_placeholder:!1,preview_mode:!1}),Or(e,"messages",{en:{from_time:"from",to_time:"to",at_time:"at",submit:"Submit",preview_submit:"You cannot submit annotations in preview mode",cancel:"Cancel",add_keywords_:"Add keywords:",add_polemic_keywords_:"Add polemic attributes :",your_name_:"Your name:",annotate_video:"New note",type_title:"Annotation title",type_description:"Enter a new note...",wait_while_processing:"Please wait while your annotation is being processed...",error_while_contacting:"An error happened while contacting the server. Your annotation has not been saved.",annotation_saved:"Thank you, your annotation has been saved.",share_annotation:"Would you like to share it on social networks ?",close_widget:"Hide the annotation form","polemic++":"Agree","polemic--":"Disagree","polemic??":"Question","polemic==":"Reference",in_tooltip:"Set begin time to current player time",out_tooltip:"Set begin time to current player time",play_tooltip:"Play the fragment"},fr:{from_time:"de",to_time:"à",at_time:"à",submit:"Envoyer",preview_submit:"Vous ne pouvez pas envoyer d'annotation en mode aperçu",cancel:"Annuler",add_keywords_:"Ajouter des mots-clés :",add_polemic_keywords_:"Ajouter des attributs polémiques :",your_name_:"Votre nom :",annotate_video:"Entrez une nouvelle note...",type_title:"Titre de l'annotation",type_description:"Prenez vos notes...",wait_while_processing:"Veuillez patienter pendant le traitement de votre annotation...",error_while_contacting:"Une erreur s'est produite en contactant le serveur. Votre annotation n'a pas été enregistrée.",annotation_saved:"Merci, votre annotation a été enregistrée.",share_annotation:"Souhaitez-vous la partager sur les réseaux sociaux ?",close_widget:"Cacher le formulaire de création d'annotations","polemic++":"Accord","polemic--":"Désaccord","polemic??":"Question","polemic==":"Référence",in_tooltip:"Utiliser le temps courant comme début",out_tooltip:"Utiliser le temps courant comme fin",play_tooltip:"Jouer le fragment"}}),Or(e,"template",'{{#show_slice}}<div class="Ldt-CreateAnnotation-Slice Ldt-TraceMe"></div>{{/show_slice}}{{^show_slice}}{{#show_arrow}}<div class="Ldt-CreateAnnotation-Arrow"></div>{{/show_arrow}}{{/show_slice}}<div class="Ldt-CreateAnnotation"><div class="Ldt-CreateAnnotation-Inner"><form class="Ldt-CreateAnnotation-Screen Ldt-CreateAnnotation-Main"><h3><span class="Ldt-CreateAnnotation-h3Left">{{l10n.annotate_video}}{{#show_title_field}}</span></h3><h3><span class="Ldt-CreateAnnotation-h3Left"><input class="Ldt-CreateAnnotation-Title empty" placeholder="{{l10n.type_title}}" />{{/show_title_field}}{{#show_time}}<span class="Ldt-CreateAnnotation-Times"> {{#show_slice}}{{l10n.from_time}} {{/show_slice}}{{^show_slice}}{{l10n.at_time}} {{/show_slice}} <span class="Ldt-CreateAnnotation-Begin">00:00</span>{{/show_time}}{{#show_slice}} {{l10n.to_time}} <span class="Ldt-CreateAnnotation-End">{{end}}</span>{{/show_slice}}</span></span>{{#show_creator_field}}{{l10n.your_name_}} <input class="Ldt-CreateAnnotation-Creator empty" value="{{creator_name}}" {{#creator_field_readonly}}readonly{{/creator_field_readonly}}/>{{/show_creator_field}}</h3>{{#show_controls}}<div class="Ldt-CreateAnnotation-Controls"><span title="{{l10n.in_tooltip}}" class="Ldt-CreateAnnotation-Control-In">In</span><span title="{{l10n.out_tooltip}}" class="Ldt-CreateAnnotation-Control-Out">Out</span><span title="{{l10n.play_tooltip}}" class="Ldt-CreateAnnotation-Control-Play">Play</span></div>{{/show_controls}}<textarea class="Ldt-CreateAnnotation-Description Ldt-TraceMe empty" placeholder="{{#custom_description_placeholder}}{{custom_description_placeholder}}{{/custom_description_placeholder}}{{^custom_description_placeholder}}{{l10n.type_description}}{{/custom_description_placeholder}}"></textarea>{{#show_creator_field}}<div class="Ldt-CreateAnnotation-Avatar"><img src="{{creator_avatar}}" title="{{creator_name}}"></img></div>{{/show_creator_field}}<div class="Ldt-CreateAnnotation-SubmitArea Ldt-TraceMe">{{#preview_mode}}<input type="button" class="Ldt-CreateAnnotation-PreviewSubmit" title="{{l10n.preview_submit}}" value="{{#custom_send_button}}{{custom_send_button}}{{/custom_send_button}}{{^custom_send_button}}{{l10n.submit}}{{/custom_send_button}}" />{{/preview_mode}}{{^preview_mode}}<input type="submit" class="Ldt-CreateAnnotation-Submit" value="{{#custom_send_button}}{{custom_send_button}}{{/custom_send_button}}{{^custom_send_button}}{{l10n.submit}}{{/custom_send_button}}" />{{/preview_mode}}<input type="button" class="Ldt-CreateAnnotation-Cancel" value="{{#custom_cancel_button}}{{custom_cancel_button}}{{/custom_cancel_button}}{{^custom_cancel_button}}{{l10n.cancel}}{{/custom_cancel_button}}" /><div class="Ldt-CreateAnnotation-Begin Ldt-CreateAnnotation-Times">00:00</div></div>{{#tags.length}}<div class="Ldt-CreateAnnotation-Tags"><div class="Ldt-CreateAnnotation-TagTitle">{{l10n.add_keywords_}}</div><ul class="Ldt-CreateAnnotation-TagList">{{#tags}}<li class="Ldt-CreateAnnotation-TagLi" tag-id="{{id}}" data-text="{{tag_prefix}}{{title}}"><span class="Ldt-CreateAnnotation-TagButton">{{title}}</span></li>{{/tags}}</ul></div>{{/tags.length}}{{#polemics.length}}<div class="Ldt-CreateAnnotation-Polemics"><div class="Ldt-CreateAnnotation-PolemicTitle">{{l10n.add_polemic_keywords_}}</div><ul class="Ldt-CreateAnnotation-PolemicList">{{#polemics}}<li class="Ldt-CreateAnnotation-PolemicLi" style="background-color: {{background_color}}; color: {{text_color}}" data-text="{{keyword}}">{{keyword}}</li>{{/polemics}}</ul></div>{{/polemics.length}}<div style="clear: both;"></div></form><div class="Ldt-CreateAnnotation-Screen Ldt-CreateAnnotation-Wait"><div class="Ldt-CreateAnnotation-InnerBox">{{l10n.wait_while_processing}}</div></div><div class="Ldt-CreateAnnotation-Screen Ldt-CreateAnnotation-Error">{{^always_visible}}<a title="{{l10n.close_widget}}" class="Ldt-CreateAnnotation-Close" href="#"></a>{{/always_visible}}<div class="Ldt-CreateAnnotation-InnerBox">{{l10n.error_while_contacting}}</div></div><div class="Ldt-CreateAnnotation-Screen Ldt-CreateAnnotation-Saved">{{^always_visible}}<a title="{{l10n.close_widget}}" class="Ldt-CreateAnnotation-Close" href="#"></a>{{/always_visible}}<div class="Ldt-CreateAnnotation-InnerBox">{{l10n.annotation_saved}}</div></div></div></div>'),e},currentSegmentInfoboxStyles={},CurrentSegmentInfobox=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){var o=this;this.segments=this.getWidgetAnnotations(),this.renderTemplate(),this.currentSegment=!1,this.clearBox(),this.refresh(),this.onMediaEvent("timeupdate","refresh"),this.onMediaEvent("settimerange",function(l){var t=l[0],u=l[1],h=o.segments.filter(function(v){return v.begin.milliseconds==t.milliseconds&&v.end.milliseconds==u.milliseconds});h.length>0&&(o.$.toggleClass("editing",!1),o.currentSegment.id!=h[0].id&&(o.currentSegment=h[0],_data={editable_segments:o.editable_segments,edit:o.custom_edit_text?o.custom_edit_text:o.l10n.edit,title:o.currentSegment.title,description:o.currentSegment.description,description_placeholder:o.empty_description_placeholder,tags:o.currentSegment.getTagTexts()},o.$.html(mustache.render(o.template,_data)),o.editable_segments&&o.currentSegment&&o.$.find(".Ldt-CurrentSegmentInfobox").click(o.functionWrapper("enableEditMode"))))}),this.editable_segments&&this.currentSegment&&this.$.find(".Ldt-CurrentSegmentInfobox").click(o.functionWrapper("enableEditMode"))}enableEditMode(){this.currentSegment&&(_data={title:this.currentSegment.title,description:this.currentSegment.description,tags:this.currentSegment.getTagTexts(),submit:this.l10n.submit,cancel:this.l10n.cancel,headers:this.show_headers,tags_header:this.custom_tags_header?this.custom_tags_header:this.l10n.tags_header,fields_header:this.custom_fields_header?this.custom_fields_header:this.l10n.fields_header,new_tag:this.l10n.new_tag,delete_tag:this.l10n.delete_tag,new_tag_button:this.new_tag_button},this.$.toggleClass("editing",!0),this.$.html(mustache.render(this.editTemplate,_data)),this.$.find(".Ldt-CurrentSegmentInfobox-CancelButton").click(this.functionWrapper("disableEditMode")),this.new_tag_button?this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagButton").click(this.functionWrapper("insertTagInput")):(this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagInput").keypress(this.functionWrapper("insertTagInputKeypress")),this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagInput-Add").click(this.functionWrapper("insertTagInputKeypress"))),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton").click(this.functionWrapper("deleteTagInput")),this.$.find(".Ldt-CurrentSegmentInfobox-SubmitButton").click(this.functionWrapper("onSubmit")))}disableEditMode(){this.currentSegment&&(_data={editable_segments:this.editable_segments,edit:this.custom_edit_text?this.custom_edit_text:this.l10n.edit,title:this.currentSegment.title,description:this.currentSegment.description,description_placeholder:this.empty_description_placeholder,tags:this.currentSegment.getTagTexts()},this.$.toggleClass("editing",!1),this.$.html(mustache.render(this.template,_data)),this.$.find(".Ldt-CurrentSegmentInfobox").click(this.functionWrapper("enableEditMode")))}insertTagInput(){!this.currentSegment.getTagTexts().length&&!this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Ul").length&&this.$.find(".Ldt-CurrentSegmentInfobox-Tags").prepend('<ul class="Ldt-CurrentSegmentInfobox-Tags-Ul"></ul>'),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Ul").append('<li class="Ldt-CurrentSegmentInfobox-Tags-Li"><input type="text" class="Ldt-CurrentSegmentInfobox-Tags-Li-Input" value=""></input><div class="Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton">'+this.l10n.delete_tag+"</div></li>"),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton").click(this.functionWrapper("deleteTagInput"))}insertTagInputKeypress(o){var l=o.keyCode?o.keyCode:o.which;if(l=="13"||o.type=="click")return!this.currentSegment.getTagTexts().length&&!this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Ul").length&&this.$.find(".Ldt-CurrentSegmentInfobox-Tags").prepend('<ul class="Ldt-CurrentSegmentInfobox-Tags-Ul"></ul>'),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Ul").append('<li class="Ldt-CurrentSegmentInfobox-Tags-Li"><input type="text" class="Ldt-CurrentSegmentInfobox-Tags-Li-Input" value="'+this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagInput").val()+'"></input><div class="Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton">'+this.l10n.delete_tag+"</div></li>"),this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton").click(this.functionWrapper("deleteTagInput")),this.$.find(".Ldt-CurrentSegmentInfobox-CreateTagInput").val(""),!1}deleteTagInput(o){jQuery(o.currentTarget).parent().remove()}onSubmit(){new_tags_titles=this.$.find(".Ldt-CurrentSegmentInfobox-Tags-Li-Input").map(function(){if(jQuery(this).val())return jQuery(this).val()}),new_title=this.$.find(".Ldt-CurrentSegmentInfobox-TitleInput").val(),new_description=this.$.find(".Ldt-CurrentSegmentInfobox-DescriptionInput").val();var o=this,l=new n.Model.List(this.player.sourceManager),t=this.player.sourceManager.newLocalSource({serializer:n.serializers[this.api_serializer]}),u=new n.Model.Annotation(this.currentSegment.id,t);u.setAnnotationType(this.currentSegment.getAnnotationType().id),u.setMedia(this.currentSegment.getMedia().id),u.setBegin(this.currentSegment.begin),u.setEnd(this.currentSegment.end),u.created=this.currentSegment.created,u.creator=this.currentSegment.creator,u.title=new_title,u.description=new_description;var h=_$1(new_tags_titles).map(function(v){var w=o.source.getTags(!0).searchByTitle(v,!0);if(w.length)var A=w[0];else A=new n.Model.Tag(v.replace(/\W/g,"_"),o.source),A.title=v,o.source.getTags().push(A);return A.id}).value();u.setTags(h),u.project_id=this.project_id,l.push(u),t.addList("annotation",l),_url=mustache.render(this.api_endpoint_template,{annotation_id:this.currentSegment.id}),n.jQuery.ajax({url:_url,type:this.api_method,contentType:"application/json",data:t.serialize(),success:function(v){t.getAnnotations().removeElement(u,!0),t.deSerialize(v),o.source.merge(t),o.segments.forEach(function(w){w.id==u.id&&o.segments.removeElement(w)}),o.segments.push(u),o.currentSegment=u,v={editable_segments:o.editable_segments,edit:o.custom_edit_text?o.custom_edit_text:o.l10n.edit,title:o.currentSegment.title,description:o.currentSegment.description,description_placeholder:o.empty_description_placeholder,tags:o.currentSegment.getTagTexts()},o.$.html(mustache.render(o.template,v)),o.editable_segments&&o.currentSegment&&o.$.find(".Ldt-CurrentSegmentInfobox").click(o.functionWrapper("enableEditMode")),o.$.toggleClass("editing",!1)},error:function(v,w,A){n.log("Error when sending annotation",A),t.getAnnotations().removeElement(u,!0)}})}refresh(){if(!this.media.getTimeRange()){var o=this.media.getCurrentTime(),l=this.segments.filter(function(t){return t.begin<=o&&t.end>=o});l.length>0?this.currentSegment.id!=l[0].id&&(this.currentSegment=l[0],_data={editable_segments:this.editable_segments,edit:this.custom_edit_text?this.custom_edit_text:this.l10n.edit,title:this.currentSegment.title,description:this.currentSegment.description,description_placeholder:this.empty_description_placeholder,tags:this.currentSegment.getTagTexts()},this.$.html(mustache.render(this.template,_data)),this.editable_segments&&this.currentSegment&&this.$.find(".Ldt-CurrentSegmentInfobox").click(this.functionWrapper("enableEditMode"))):(this.currentSegment=!1,this.clearBox())}}clearBox(){var o=this.l10n.empty;this.empty_message&&(o=this.empty_message),this.$.find(".Ldt-CurrentSegmentInfobox").html("<div class='Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-NoSegment'>"+o+"</div>")}},Or(e,"defaults",{annotation_type:"chap",editable_segments:!1,empty_message:!1,project_id:!1,api_serializer:"ldt_annotate",api_method:"PUT",api_endpoint_template:"",new_tag_button:!0,show_headers:!1,custom_edit_text:!1,empty_description_placeholder:!1}),Or(e,"template",'<div class="Ldt-CurrentSegmentInfobox"><div class="Ldt-CurrentSegmentInfobox-SelectedSegment">{{#editable_segments}}<div class="Ldt-CurrentSegmentInfobox-EditButton">{{edit}}</div>{{/editable_segments}}<div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Title">{{title}}</div><div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Description">{{description}}</div>{{^description}}{{^tags.length}}{{#description_placeholder}}<div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Description-placeholder">{{description_placeholder}}</div>{{/description_placeholder}}{{/tags.length}}{{/description}}<div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Tags">{{#tags.length}}<ul class="Ldt-CurrentSegmentInfobox-Tags-Ul">{{#tags}}{{#.}}<li class="Ldt-CurrentSegmentInfobox-Tags-Li"><span>{{.}}</span></li>{{/.}}{{/tags}}</ul>{{/tags.length}}</div></div></div>'),Or(e,"editTemplate",'<div class="Ldt-CurrentSegmentInfobox"><div class="Ldt-CurrentSegmentInfobox-SelectedSegment">{{#headers}}<div class="Ldt-CurrentSegmentInfobox-FieldsHeader">{{fields_header}}</div>{{/headers}}<input type="text" class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-TitleInput Ldt-CurrentSegmentInfobox-Title" value="{{title}}"></input><textarea class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-DescriptionInput Ldt-CurrentSegmentInfobox-Description">{{description}}</textarea><div class="Ldt-CurrentSegmentInfobox-Element Ldt-CurrentSegmentInfobox-Tags">{{#headers}}<div class="Ldt-CurrentSegmentInfobox-TagsHeader">{{tags_header}}</div>{{/headers}}{{#new_tag_button}}<div class="Ldt-CurrentSegmentInfobox-CreateTagButton">{{new_tag}}</div>{{/new_tag_button}}{{^new_tag_button}}<input class="Ldt-CurrentSegmentInfobox-CreateTagInput" placeholder="{{new_tag}}"></input><div class="Ldt-CurrentSegmentInfobox-CreateTagInput-Add">+</div>{{/new_tag_button}}<ul class="Ldt-CurrentSegmentInfobox-Tags-Ul">{{#tags}}{{#.}}<li class="Ldt-CurrentSegmentInfobox-Tags-Li"><input type="text" class="Ldt-CurrentSegmentInfobox-Tags-Li-Input" value="{{.}}"></input><div class="Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton">{{delete_tag}}</div></li>{{/.}}{{/tags}}</ul></div><div class="Ldt-CurrentSegmentInfobox-SubmitButton">{{submit}}</div><div class="Ldt-CurrentSegmentInfobox-CancelButton">{{cancel}}</div></div></div>'),Or(e,"messages",{fr:{submit:"Soumettre",cancel:"Annuler",edit:"Editer",new_tag:"Nouveau tag",delete_tag:"Supprimer",fields_header:"Commentaire associé à ce segment",tags_header:"Mots-clés associés à ce segment",empty:"Le player vidéo ne lit actuellement aucun segment"},en:{submit:"Submit",cancel:"Cancel",edit:"Edit",new_tag:"New tag",delete_tag:"Delete tag",fields_header:"Current segment content",tags_header:"Current segment tags",empty:"The player currently doesn't read any segment"}}),e},DailymotionPlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(l,t){super(l,t);Or(this,"draw",function(){typeof this.video>"u"&&(this.video=this.media.video),this.height=this.height||Math.floor(this.width/this.aspect_ratio);var l=this.media,t=null,u=this,h={pause:!0,apiready:!1,volume:0,time:0,duration:0},v=this.video.match(/www.dailymotion.com\/video\/(.+)/);v&&(t=v[1]);var w=mustache.render("{{ protocol }}//www.dailymotion.com/embed/video/{{ videoid }}",{protocol:document.location.protocol.search("http")==0?document.location.protocol:"http:",videoid:t}),A={api:"postMessage",chromeless:1,id:"dm_player",related:0,autoplay:1};u.$.html(mustache.render('<iframe id="{{ id }}" src="{{ player_url }}?{{ params }}" width="{{ width }}" height="{{ height }}" frameborder="0"></iframe>',{player_url:w,params:Object.keys(A).reduce(function(C,M){return C.push(M+"="+encodeURIComponent(A[M])),C},[]).join("&"),width:this.width,height:this.height,id:A.id}));function E(){var C=u.$.find("#"+A.id)[0].contentWindow,M=function(P,I){I!==void 0&&(P=P+"="+I),C.postMessage(P,"*")};l.getCurrentTime=function(){return h.time},l.getVolume=function(){return h.volume},l.getPaused=function(){return h.pause},l.getMuted=function(){return h.muted},l.setCurrentTime=function(P){M("seek",P/1e3)},l.setVolume=function(P){M("volume",P*100)},l.mute=function(){M("muted",1)},l.unmute=function(){M("muted",0)},l.play=function(){M("play")},l.pause=function(){M("pause")}}window.addEventListener("message",function(C){if(C.data.split!==void 0){var M=C.data.split("&").map(function(P){return P.split("=")}).reduce(function(P,I){return P[I[0]]=decodeURIComponent(I[1]),P},{});switch(M.event){case"apiready":h.apiready=!0,E();break;case"durationchange":M.duration.slice(-2)=="sc"&&(h.duration=1e3*Number(M.duration.slice(0,-2)),l.setDuration(h.duration));break;case"ended":h.pause=!0;break;case"loadedmetadata":l.trigger("loadedmetadata");break;case"pause":h.pause=!0,l.trigger("pause");break;case"play":h.pause=!1,l.trigger("play");break;case"seeked":h.time=new n.Model.Time(1e3*Number(M.time)),l.trigger("seeked");break;case"timeupdate":h.time=new n.Model.Time(1e3*Number(M.time)),l.trigger("timeupdate",h.time);break;case"volumechange":h.muted=M.muted=="true",h.volume=Number(M.volume)/100;break}}},!1)})}},Or(e,"defaults",{aspect_ratio:14/9}),e},enrichedPlanStyles={},EnrichedPlan=function(n){var e;return e=class extends n.Widgets.Widget{constructor(l,t){super(l,t);Or(this,"annotationTemplate",'<div title="{{ begin }} - {{ atitle }}" data-id="{{ id }}" data-timecode="{{begintc}}" class="Ldt-EnrichedPlan-SlideItem Ldt-EnrichedPlan-Note {{category}} {{filtered}}"><span class="Ldt-EnrichedPlan-Note-Text">{{{ text }}}</span> <span class="Ldt-EnrichedPlan-Note-Author">{{ author }}</span></div>')}draw(){var l=this;l.prefix="TODO";var t=this.getWidgetAnnotations().sortBy(function(A){return A.begin}),u=this.media.getAnnotations().filter(function(A){return A.getAnnotationType().title!=l.annotation_type}).sortBy(function(A){return A.begin});t.forEach(function(A){A.annotations=u.filter(function(E){return E.begin>=A.begin&&E.begin<=A.end})}),l.renderTemplate();var h=l.$.find(".Ldt-EnrichedPlan-Container"),v=l.$.find(".Ldt-EnrichedPlan-Content");function w(A){return A.title.indexOf("Anonyme")<0?"Own":"Other"}t.forEach(function(A){var E=mustache.render(l.slideTemplate,{id:A.id,atitle:n.textFieldHtml(A.title),level:A.content.level||1,begin:A.begin.toString(),begintc:A.begin.milliseconds,thumbnail:A.thumbnail,show_slides:l.show_slides,notes:A.annotations.map(function(M){return mustache.render(l.annotationTemplate,{id:M.id,text:n.textFieldHtml(M.description||M.title),author:M.creator,begin:M.begin.toString(),begintc:M.begin.milliseconds,atitle:M.title.slice(0,20),category:"Ldt-EnrichedPlan-Note-"+w(M),filtered:w(M)=="Own"&&!l.show_own_notes||w(M)=="Other"&&!l.show_other_notes||w(M)=="Teacher"&&!l.show_teacher_notes?"filtered_out":""})}).join(`
+`)}),C=n.jQuery(E);v.append(C)}),h.on("click","[data-timecode]",function(){l.media.setCurrentTime(Number(this.dataset.timecode))}),h.on("click",".Ldt-EnrichedPlan-Control-Checkbox",function(){var A=_.first(_.filter(this.classList,function(E){return E!="Ldt-EnrichedPlan-Control-Checkbox"}));A!==void 0&&(jQuery(this).is(":checked")?v.find(".Ldt-EnrichedPlan-Slide ."+A).removeClass("filtered_out"):v.find(".Ldt-EnrichedPlan-Slide ."+A).addClass("filtered_out"))}),h.find(".Ldt-EnrichedPlan-Search-Input").on("search",function(){var A=jQuery(this).val().toLocaleLowerCase();A===""?v.find(".Ldt-EnrichedPlan-Note").removeClass("non_matching"):jQuery(".Ldt-EnrichedPlan-Note").each(function(){var E=jQuery(this);E.text().toLocaleLowerCase().indexOf(A)>-1?E.removeClass("non_matching"):E.addClass("non_matching")})})}},Or(e,"defaults",{annotation_type:"Slides",annotation_types:[],show_controls:!0,show_slides:!0,show_teacher_notes:!0,show_other_notes:!0,show_own_notes:!0}),Or(e,"template",'<div class="Ldt-EnrichedPlan-Container">{{#show_controls}}<form class="Ldt-EnrichedPlan-Controls"> <input id="{{prefix}}teacher_note_checkbox" class="Ldt-EnrichedPlan-Control-Checkbox Ldt-EnrichedPlan-Note-Teacher" {{#show_teacher_notes}}checked{{/show_teacher_notes}} type="checkbox"> <label for="{{prefix}}teacher_note_checkbox" class="Ldt-EnrichedPlan-Control-Label Ldt-EnrichedPlan-Note-Teacher">Notes Enseignant</label> <input id="{{prefix}}other_note_checkbox" class="Ldt-EnrichedPlan-Control-Checkbox Ldt-EnrichedPlan-Note-Other" {{#show_other_notes}}checked{{/show_other_notes}} type="checkbox"> <label for="{{prefix}}other_note_checkbox" class="Ldt-EnrichedPlan-Control-Label Ldt-EnrichedPlan-Note-Other">Notes Autres</label> <input id="{{prefix}}simplified_plan_checkbox" class="Ldt-EnrichedPlan-Control-Checkbox Ldt-EnrichedPlan-Note-Own" {{#show_own_notes}}checked{{/show_own_notes}} type="checkbox"> <label for="{{prefix}}simplified_plan_checkbox" class="Ldt-EnrichedPlan-Control-Label Ldt-EnrichedPlan-Note-Own">Notes perso.</label> <input id="{{prefix}}slide_display_checkbox" class="Ldt-EnrichedPlan-Control-Checkbox Ldt-EnrichedPlan-Slide-Display" {{#show_slides}}checked{{/show_slides}} type="checkbox"> <label for="{{prefix}}slide_display_checkbox" class="Ldt-EnrichedPlan-Control-Label Ldt-EnrichedPlan-Slide-Display">Diapo<br/>&nbsp;</label> <input class="Ldt-EnrichedPlan-Search-Input" type="search" incremental placeholder="Recherchez"/></form>{{/show_controls}}<div class="Ldt-EnrichedPlan-Content"></div></div>'),Or(e,"slideTemplate",'<div data-id="{{ id }}" class="Ldt-EnrichedPlan-Slide">  <div class="Ldt-EnrichedPlan-SlideItem Ldt-EnrichedPlan-SlideTimecode">{{ begin }}</div>  <div data-timecode="{{begintc}}" class="Ldt-EnrichedPlan-SlideItem {{^show_slides}}filtered_out{{/show_slides}} Ldt-EnrichedPlan-SlideThumbnail Ldt-EnrichedPlan-Slide-Display"><img title="{{ begin }} - {{ atitle }}" src="{{ thumbnail }}"></div>  <div class="Ldt-EnrichedPlan-SlideContent">     <div data-timecode="{{begintc}}" class="Ldt-EnrichedPlan-SlideTitle Ldt-EnrichedPlan-SlideTitle{{ level }}">{{ atitle }}</div>     <div class="Ldt-EnrichedPlan-SlideNotes">{{{ notes }}}</div>  </div></div>'),e},highlighterStyles={},Highlighter=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l);var t=this;this.throttledRefresh=_$1.throttle(function(){console.log("highlighter Refresh"),t.update()},800)}update(){var o=this,l=o.media.getCurrentTime();return o.$.find(".Ldt-Highlighter-Annotation",document).toggleClass("currentAnnotation",function(){return this.dataset.media===o.media.id&&this.dataset.begin<=l&&l<this.dataset.end}),console.log(o.$.find(".currentAnnotation")),!1}draw(){for(var o=this,l=["timeupdate","seeked","loadedmetadata"],t=0;t<l.length;t++)o.onMediaEvent(l[t],o.throttledRefresh);o.throttledRefresh()}},Or(e,"defaults",{}),e},HtmlMashupPlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){!this.height&&this.aspect_ratio&&(this.height=this.width/this.aspect_ratio,this.$.css("height",this.height)),this.background&&this.$.css("background",this.background);var o=this.media,l=this.$,t=this.width,u=this.height,h=this.url_transform;o.currentMedia=null,o.currentAnnotation=null,o.seeking=!1;var v,w,A=0,E;function C(){A>=o.duration&&(o.paused||(o.paused=!0,o.trigger("pause")),A=0);var P=o.getAnnotationAtTime(A);if(typeof P>"u"){o.currentMedia&&(o.currentMedia.pause(),o.paused||(o.paused=!0,o.trigger("pause")));return}o.currentAnnotation=P,v=o.currentAnnotation.annotation.begin.milliseconds,w=o.currentAnnotation.annotation.end.milliseconds,E=v-o.currentAnnotation.begin.milliseconds,o.currentMedia=o.currentAnnotation.getMedia(),o.getMedias().forEach(function(I){I!==o.currentMedia?(I.hide(),I.pause()):I.show()}),o.currentMedia.setCurrentTime(A+E),o.currentMedia.seeking=!0,o.paused||(o.currentMedia.play(),o.seeking=!0),o.trigger("timeupdate",new n.Model.Time(A))}o.getMedias().forEach(M),C(),o.trigger("loadedmetadata");function M(P){if(!P.has_player){P.has_player=!0;var I=P.video;typeof h=="function"&&(I=h(P.video));var j="video_"+P.id,B;P.show=function(){if(document.getElementById(j))return;P.loaded=!1,P.paused=!0;var ee=jQuery("<video>");if(ee.attr({id:j,width:t,height:u}).css({width:t,height:u}),typeof I=="string")ee.attr("src",I);else for(var Z=0;Z<I.length;Z++){var re=n.jQuery("<source>");re.attr({src:I[Z].src,type:I[Z].type}),ee.append(re)}l.append(ee),B=ee[0];function fe(){P.muted=B.muted,P.volume=B.volume}ee.on("loadedmetadata",function(){fe(),P.loaded=!0,P.trigger("loadedmetadata"),P.trigger("volumechange")}),ee.on("timeupdate",function(){P.trigger("timeupdate",new n.Model.Time(1e3*B.currentTime))}),ee.on("volumechange",function(){fe(),P.trigger("volumechange")}),ee.on("play",function(){P.trigger("play")}),ee.on("pause",function(){P.trigger("pause")}),ee.on("seeking",function(){P.trigger("seeking")}),ee.on("seeked",function(){P.trigger("seeked")})},P.hide=function(){B=void 0,l.find("#"+j).remove()};var F=void 0,N=void 0;P.on("setcurrenttime",function(ee){if(B&&B.readyState>=B.HAVE_METADATA)try{B.currentTime=ee/1e3,F=void 0}catch{F=ee}else F=ee}),P.on("setvolume",function(ee){B&&B.readyState>=B.HAVE_METADATA&&(P.volume=ee,B.volume=ee)}),P.on("setmuted",function(ee){B&&B.readyState>=B.HAVE_METADATA&&(P.muted=ee,B.muted=ee)}),P.on("setplay",function(){if(B&&B.readyState>=B.HAVE_METADATA)try{B.play(),N=void 0}catch{N=!0}else N=!0}),P.on("setpause",function(){if(B&&B.readyState>=B.HAVE_METADATA)try{B.pause(),N=void 0}catch{N=!1}else N=!1}),P.on("loadedmetadata",function(){typeof F<"u"&&P.setCurrentTime(F),typeof N<"u"&&(N?P.play():P.pause())}),P.on("play",function(){P===o.currentMedia&&o.trigger("play")}),P.on("pause",function(){P===o.currentMedia&&o.trigger("pause")}),P.on("timeupdate",function(ee){!o.paused&&P===o.currentMedia&&!P.seeking&&(ee<w?ee>=v?A=ee-E:(A=v-E,P.setCurrentTime(v)):(A=w-E,P.pause(),C()),o.trigger("timeupdate",new n.Model.Time(A)))}),P.on("seeked",function(){P.seeking=!1,P===o.currentMedia&&o.seeking&&(o.seeking=!1)}),P.on("volumechange",function(){o.muted=P.muted,o.volume=P.volume,o.trigger("volumechange")})}}o.on("setcurrenttime",function(P){A=P,C()}),o.on("setvolume",function(P){o.getMedias().forEach(function(I){I.setVolume(P)}),o.volume=P}),o.on("setmuted",function(P){o.getMedias().forEach(function(I){I.setMuted(P)}),o.muted=P}),o.on("setplay",function(){o.paused=!1,C()}),o.on("setpause",function(){o.paused=!0,o.currentMedia&&o.currentMedia.pause()}),o.on("loadedmetadata",function(){C()})}},Or(e,"defaults",{aspect_ratio:14/9,background:"#333333"}),e},HtmlPlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){n.htmlPlayer(this.media,this.$,this)}},Or(e,"defaults",{}),e},imageDisplayStyles={},ImageDisplay=function(n){var e;return e=class extends n.Widgets.Widget{constructor(l,t){super(l,t);Or(this,"annotationTemplate","")}update(l){this.image.css("background-image","url("+l.thumbnail+")"),this.image.attr("title",n.textFieldHtml(l.title)+" - "+l.begin.toString())}draw(){var l=this.getWidgetAnnotations().sortBy(function(u){return u.begin}),t=this;t.renderTemplate(),t.image=t.$.find(".Ldt-ImageDisplay-Container"),t.$.find(".Ldt-ImageDisplay-Overlay-Left").on("click",function(){t.navigate(-1)}),t.$.find(".Ldt-ImageDisplay-Overlay-Right").on("click",function(){t.navigate(1)}),l.forEach(function(u){u.on("enter",function(){t.update(u)})}),l.length&&t.update(l[0])}},Or(e,"defaults",{annotation_type:"Slides"}),Or(e,"template",'<div class="Ldt-ImageDisplay-Container"><div class="Ldt-ImageDisplay-Overlay Ldt-ImageDisplay-Overlay-Left"></div><div class="Ldt-ImageDisplay-Overlay Ldt-ImageDisplay-Overlay-Right"></div></div>'),e};var hasOwn$1=Object.prototype.hasOwnProperty,toStr$4=Object.prototype.toString,defineProperty=Object.defineProperty,gOPD$2=Object.getOwnPropertyDescriptor,isArray$3=function(e){return typeof Array.isArray=="function"?Array.isArray(e):toStr$4.call(e)==="[object Array]"},isPlainObject=function(e){if(!e||toStr$4.call(e)!=="[object Object]")return!1;var o=hasOwn$1.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&hasOwn$1.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!l)return!1;var t;for(t in e);return typeof t>"u"||hasOwn$1.call(e,t)},setProperty=function(e,o){defineProperty&&o.name==="__proto__"?defineProperty(e,o.name,{enumerable:!0,configurable:!0,value:o.newValue,writable:!0}):e[o.name]=o.newValue},getProperty=function(e,o){if(o==="__proto__")if(hasOwn$1.call(e,o)){if(gOPD$2)return gOPD$2(e,o).value}else return;return e[o]},extend$1=function n(){var e,o,l,t,u,h,v=arguments[0],w=1,A=arguments.length,E=!1;for(typeof v=="boolean"&&(E=v,v=arguments[1]||{},w=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});w<A;++w)if(e=arguments[w],e!=null)for(o in e)l=getProperty(v,o),t=getProperty(e,o),v!==t&&(E&&t&&(isPlainObject(t)||(u=isArray$3(t)))?(u?(u=!1,h=l&&isArray$3(l)?l:[]):h=l&&isPlainObject(l)?l:{},setProperty(v,{name:o,newValue:n(E,h,t)})):typeof t<"u"&&setProperty(v,{name:o,newValue:t}));return v},cookies$1={},cookie={},empty=null;const empty$1=Object.freeze(Object.defineProperty({__proto__:null,default:empty},Symbol.toStringTag,{value:"Module"})),require$$1$5=getAugmentedNamespace(empty$1);var punycode$2={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */punycode$2.exports;var hasRequiredPunycode;function requirePunycode(){return hasRequiredPunycode||(hasRequiredPunycode=1,function(n,e){(function(o){var l=e&&!e.nodeType&&e,t=n&&!n.nodeType&&n,u=typeof commonjsGlobal$1=="object"&&commonjsGlobal$1;(u.global===u||u.window===u||u.self===u)&&(o=u);var h,v=2147483647,w=36,A=1,E=26,C=38,M=700,P=72,I=128,j="-",B=/^xn--/,F=/[^\x20-\x7E]/,N=/[\x2E\u3002\uFF0E\uFF61]/g,ee={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Z=w-A,re=Math.floor,fe=String.fromCharCode,V;function le(d){throw new RangeError(ee[d])}function he(d,k){for(var D=d.length,O=[];D--;)O[D]=k(d[D]);return O}function ye(d,k){var D=d.split("@"),O="";D.length>1&&(O=D[0]+"@",d=D[1]),d=d.replace(N,".");var Q=d.split("."),J=he(Q,k).join(".");return O+J}function L(d){for(var k=[],D=0,O=d.length,Q,J;D<O;)Q=d.charCodeAt(D++),Q>=55296&&Q<=56319&&D<O?(J=d.charCodeAt(D++),(J&64512)==56320?k.push(((Q&1023)<<10)+(J&1023)+65536):(k.push(Q),D--)):k.push(Q);return k}function p(d){return he(d,function(k){var D="";return k>65535&&(k-=65536,D+=fe(k>>>10&1023|55296),k=56320|k&1023),D+=fe(k),D}).join("")}function y(d){return d-48<10?d-22:d-65<26?d-65:d-97<26?d-97:w}function S(d,k){return d+22+75*(d<26)-((k!=0)<<5)}function c(d,k,D){var O=0;for(d=D?re(d/M):d>>1,d+=re(d/k);d>Z*E>>1;O+=w)d=re(d/Z);return re(O+(Z+1)*d/(d+C))}function m(d){var k=[],D=d.length,O,Q=0,J=I,X=P,U,z,ie,de,me,pe,qe,mt,st;for(U=d.lastIndexOf(j),U<0&&(U=0),z=0;z<U;++z)d.charCodeAt(z)>=128&&le("not-basic"),k.push(d.charCodeAt(z));for(ie=U>0?U+1:0;ie<D;){for(de=Q,me=1,pe=w;ie>=D&&le("invalid-input"),qe=y(d.charCodeAt(ie++)),(qe>=w||qe>re((v-Q)/me))&&le("overflow"),Q+=qe*me,mt=pe<=X?A:pe>=X+E?E:pe-X,!(qe<mt);pe+=w)st=w-mt,me>re(v/st)&&le("overflow"),me*=st;O=k.length+1,X=c(Q-de,O,de==0),re(Q/O)>v-J&&le("overflow"),J+=re(Q/O),Q%=O,k.splice(Q++,0,J)}return p(k)}function x(d){var k,D,O,Q,J,X,U,z,ie,de,me,pe=[],qe,mt,st,dt;for(d=L(d),qe=d.length,k=I,D=0,J=P,X=0;X<qe;++X)me=d[X],me<128&&pe.push(fe(me));for(O=Q=pe.length,Q&&pe.push(j);O<qe;){for(U=v,X=0;X<qe;++X)me=d[X],me>=k&&me<U&&(U=me);for(mt=O+1,U-k>re((v-D)/mt)&&le("overflow"),D+=(U-k)*mt,k=U,X=0;X<qe;++X)if(me=d[X],me<k&&++D>v&&le("overflow"),me==k){for(z=D,ie=w;de=ie<=J?A:ie>=J+E?E:ie-J,!(z<de);ie+=w)dt=z-de,st=w-de,pe.push(fe(S(de+dt%st,0))),z=re(dt/st);pe.push(fe(S(z,0))),J=c(D,mt,O==Q),D=0,++O}++D,++k}return pe.join("")}function T(d){return ye(d,function(k){return B.test(k)?m(k.slice(4).toLowerCase()):k})}function b(d){return ye(d,function(k){return F.test(k)?"xn--"+x(k):k})}if(h={version:"1.4.1",ucs2:{decode:L,encode:p},decode:m,encode:x,toASCII:b,toUnicode:T},l&&t)if(n.exports==l)t.exports=h;else for(V in h)h.hasOwnProperty(V)&&(l[V]=h[V]);else o.punycode=h})(commonjsGlobal$1)}(punycode$2,punycode$2.exports)),punycode$2.exports}var punycodeExports=requirePunycode();const require$$0$3=getDefaultExportFromCjs$1(punycodeExports);function hasOwnProperty$1(n,e){return Object.prototype.hasOwnProperty.call(n,e)}var decode$1=function(n,e,o,l){e=e||"&",o=o||"=";var t={};if(typeof n!="string"||n.length===0)return t;var u=/\+/g;n=n.split(e);var h=1e3;l&&typeof l.maxKeys=="number"&&(h=l.maxKeys);var v=n.length;h>0&&v>h&&(v=h);for(var w=0;w<v;++w){var A=n[w].replace(u,"%20"),E=A.indexOf(o),C,M,P,I;E>=0?(C=A.substr(0,E),M=A.substr(E+1)):(C=A,M=""),P=decodeURIComponent(C),I=decodeURIComponent(M),hasOwnProperty$1(t,P)?isArray$2(t[P])?t[P].push(I):t[P]=[t[P],I]:t[P]=I}return t},isArray$2=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"},stringifyPrimitive=function(n){switch(typeof n){case"string":return n;case"boolean":return n?"true":"false";case"number":return isFinite(n)?n:"";default:return""}},encode$1=function(n,e,o,l){return e=e||"&",o=o||"=",n===null&&(n=void 0),typeof n=="object"?map(objectKeys$1(n),function(t){var u=encodeURIComponent(stringifyPrimitive(t))+o;return isArray$1(n[t])?map(n[t],function(h){return u+encodeURIComponent(stringifyPrimitive(h))}).join(e):u+encodeURIComponent(stringifyPrimitive(n[t]))}).join(e):l?encodeURIComponent(stringifyPrimitive(l))+o+encodeURIComponent(stringifyPrimitive(n)):""},isArray$1=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"};function map(n,e){if(n.map)return n.map(e);for(var o=[],l=0;l<n.length;l++)o.push(e(n[l],l));return o}var objectKeys$1=Object.keys||function(n){var e=[];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&e.push(o);return e},stringify$1,parse$3,decode=parse$3=decode$1,encode=stringify$1=encode$1;function qsEscape(n){return encodeURIComponent(n)}function qsUnescape(n){return decodeURIComponent(n)}var api$2={decode,encode,parse:parse$3,stringify:stringify$1,escape:qsEscape,unescape:qsUnescape};const querystring$2=Object.freeze(Object.defineProperty({__proto__:null,decode,default:api$2,encode,escape:qsEscape,get parse(){return parse$3},get stringify(){return stringify$1},unescape:qsUnescape},Symbol.toStringTag,{value:"Module"}));var util$1$1={isString:function(n){return typeof n=="string"},isObject:function(n){return typeof n=="object"&&n!==null},isNull:function(n){return n===null},isNullOrUndefined:function(n){return n==null}},punycode$1=require$$0$3,util$7=util$1$1,parse$2=urlParse$1,resolve$1=urlResolve,resolveObject=urlResolveObject,format$1=urlFormat,Url_1=Url;function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r",`
+`,"	"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring$1=api$2;function urlParse$1(n,e,o){if(n&&util$7.isObject(n)&&n instanceof Url)return n;var l=new Url;return l.parse(n,e,o),l}Url.prototype.parse=function(n,e,o){if(!util$7.isString(n))throw new TypeError("Parameter 'url' must be a string, not "+typeof n);var l=n.indexOf("?"),t=l!==-1&&l<n.indexOf("#")?"?":"#",u=n.split(t),h=/\\/g;u[0]=u[0].replace(h,"/"),n=u.join(t);var v=n;if(v=v.trim(),!o&&n.split("#").length===1){var w=simplePathPattern.exec(v);if(w)return this.path=v,this.href=v,this.pathname=w[1],w[2]?(this.search=w[2],e?this.query=querystring$1.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var A=protocolPattern.exec(v);if(A){A=A[0];var E=A.toLowerCase();this.protocol=E,v=v.substr(A.length)}if(o||A||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var C=v.substr(0,2)==="//";C&&!(A&&hostlessProtocol[A])&&(v=v.substr(2),this.slashes=!0)}if(!hostlessProtocol[A]&&(C||A&&!slashedProtocol[A])){for(var M=-1,P=0;P<hostEndingChars.length;P++){var I=v.indexOf(hostEndingChars[P]);I!==-1&&(M===-1||I<M)&&(M=I)}var j,B;M===-1?B=v.lastIndexOf("@"):B=v.lastIndexOf("@",M),B!==-1&&(j=v.slice(0,B),v=v.slice(B+1),this.auth=decodeURIComponent(j)),M=-1;for(var P=0;P<nonHostChars.length;P++){var I=v.indexOf(nonHostChars[P]);I!==-1&&(M===-1||I<M)&&(M=I)}M===-1&&(M=v.length),this.host=v.slice(0,M),v=v.slice(M),this.parseHost(),this.hostname=this.hostname||"";var F=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!F)for(var N=this.hostname.split(/\./),P=0,ee=N.length;P<ee;P++){var Z=N[P];if(Z&&!Z.match(hostnamePartPattern)){for(var re="",fe=0,V=Z.length;fe<V;fe++)Z.charCodeAt(fe)>127?re+="x":re+=Z[fe];if(!re.match(hostnamePartPattern)){var le=N.slice(0,P),he=N.slice(P+1),ye=Z.match(hostnamePartStart);ye&&(le.push(ye[1]),he.unshift(ye[2])),he.length&&(v="/"+he.join(".")+v),this.hostname=le.join(".");break}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),F||(this.hostname=punycode$1.toASCII(this.hostname));var L=this.port?":"+this.port:"",p=this.hostname||"";this.host=p+L,this.href+=this.host,F&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),v[0]!=="/"&&(v="/"+v))}if(!unsafeProtocol[E])for(var P=0,ee=autoEscape.length;P<ee;P++){var y=autoEscape[P];if(v.indexOf(y)!==-1){var S=encodeURIComponent(y);S===y&&(S=escape(y)),v=v.split(y).join(S)}}var c=v.indexOf("#");c!==-1&&(this.hash=v.substr(c),v=v.slice(0,c));var m=v.indexOf("?");if(m!==-1?(this.search=v.substr(m),this.query=v.substr(m+1),e&&(this.query=querystring$1.parse(this.query)),v=v.slice(0,m)):e&&(this.search="",this.query={}),v&&(this.pathname=v),slashedProtocol[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var L=this.pathname||"",x=this.search||"";this.path=L+x}return this.href=this.format(),this};function urlFormat(n){return util$7.isString(n)&&(n=urlParse$1(n)),n instanceof Url?n.format():Url.prototype.format.call(n)}Url.prototype.format=function(){var n=this.auth||"";n&&(n=encodeURIComponent(n),n=n.replace(/%3A/i,":"),n+="@");var e=this.protocol||"",o=this.pathname||"",l=this.hash||"",t=!1,u="";this.host?t=n+this.host:this.hostname&&(t=n+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(t+=":"+this.port)),this.query&&util$7.isObject(this.query)&&Object.keys(this.query).length&&(u=querystring$1.stringify(this.query));var h=this.search||u&&"?"+u||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||slashedProtocol[e])&&t!==!1?(t="//"+(t||""),o&&o.charAt(0)!=="/"&&(o="/"+o)):t||(t=""),l&&l.charAt(0)!=="#"&&(l="#"+l),h&&h.charAt(0)!=="?"&&(h="?"+h),o=o.replace(/[?#]/g,function(v){return encodeURIComponent(v)}),h=h.replace("#","%23"),e+t+o+h+l};function urlResolve(n,e){return urlParse$1(n,!1,!0).resolve(e)}Url.prototype.resolve=function(n){return this.resolveObject(urlParse$1(n,!1,!0)).format()};function urlResolveObject(n,e){return n?urlParse$1(n,!1,!0).resolveObject(e):e}Url.prototype.resolveObject=function(n){if(util$7.isString(n)){var e=new Url;e.parse(n,!1,!0),n=e}for(var o=new Url,l=Object.keys(this),t=0;t<l.length;t++){var u=l[t];o[u]=this[u]}if(o.hash=n.hash,n.href==="")return o.href=o.format(),o;if(n.slashes&&!n.protocol){for(var h=Object.keys(n),v=0;v<h.length;v++){var w=h[v];w!=="protocol"&&(o[w]=n[w])}return slashedProtocol[o.protocol]&&o.hostname&&!o.pathname&&(o.path=o.pathname="/"),o.href=o.format(),o}if(n.protocol&&n.protocol!==o.protocol){if(!slashedProtocol[n.protocol]){for(var A=Object.keys(n),E=0;E<A.length;E++){var C=A[E];o[C]=n[C]}return o.href=o.format(),o}if(o.protocol=n.protocol,!n.host&&!hostlessProtocol[n.protocol]){for(var ee=(n.pathname||"").split("/");ee.length&&!(n.host=ee.shift()););n.host||(n.host=""),n.hostname||(n.hostname=""),ee[0]!==""&&ee.unshift(""),ee.length<2&&ee.unshift(""),o.pathname=ee.join("/")}else o.pathname=n.pathname;if(o.search=n.search,o.query=n.query,o.host=n.host||"",o.auth=n.auth,o.hostname=n.hostname||n.host,o.port=n.port,o.pathname||o.search){var M=o.pathname||"",P=o.search||"";o.path=M+P}return o.slashes=o.slashes||n.slashes,o.href=o.format(),o}var I=o.pathname&&o.pathname.charAt(0)==="/",j=n.host||n.pathname&&n.pathname.charAt(0)==="/",B=j||I||o.host&&n.pathname,F=B,N=o.pathname&&o.pathname.split("/")||[],ee=n.pathname&&n.pathname.split("/")||[],Z=o.protocol&&!slashedProtocol[o.protocol];if(Z&&(o.hostname="",o.port=null,o.host&&(N[0]===""?N[0]=o.host:N.unshift(o.host)),o.host="",n.protocol&&(n.hostname=null,n.port=null,n.host&&(ee[0]===""?ee[0]=n.host:ee.unshift(n.host)),n.host=null),B=B&&(ee[0]===""||N[0]==="")),j)o.host=n.host||n.host===""?n.host:o.host,o.hostname=n.hostname||n.hostname===""?n.hostname:o.hostname,o.search=n.search,o.query=n.query,N=ee;else if(ee.length)N||(N=[]),N.pop(),N=N.concat(ee),o.search=n.search,o.query=n.query;else if(!util$7.isNullOrUndefined(n.search)){if(Z){o.hostname=o.host=N.shift();var re=o.host&&o.host.indexOf("@")>0?o.host.split("@"):!1;re&&(o.auth=re.shift(),o.host=o.hostname=re.shift())}return o.search=n.search,o.query=n.query,(!util$7.isNull(o.pathname)||!util$7.isNull(o.search))&&(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.href=o.format(),o}if(!N.length)return o.pathname=null,o.search?o.path="/"+o.search:o.path=null,o.href=o.format(),o;for(var fe=N.slice(-1)[0],V=(o.host||n.host||N.length>1)&&(fe==="."||fe==="..")||fe==="",le=0,he=N.length;he>=0;he--)fe=N[he],fe==="."?N.splice(he,1):fe===".."?(N.splice(he,1),le++):le&&(N.splice(he,1),le--);if(!B&&!F)for(;le--;le)N.unshift("..");B&&N[0]!==""&&(!N[0]||N[0].charAt(0)!=="/")&&N.unshift(""),V&&N.join("/").substr(-1)!=="/"&&N.push("");var ye=N[0]===""||N[0]&&N[0].charAt(0)==="/";if(Z){o.hostname=o.host=ye?"":N.length?N.shift():"";var re=o.host&&o.host.indexOf("@")>0?o.host.split("@"):!1;re&&(o.auth=re.shift(),o.host=o.hostname=re.shift())}return B=B||o.host&&N.length,B&&!ye&&N.unshift(""),N.length?o.pathname=N.join("/"):(o.pathname=null,o.path=null),(!util$7.isNull(o.pathname)||!util$7.isNull(o.search))&&(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.auth=n.auth||o.auth,o.slashes=o.slashes||n.slashes,o.href=o.format(),o},Url.prototype.parseHost=function(){var n=this.host,e=portPattern.exec(n);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),n=n.substr(0,n.length-e.length)),n&&(this.hostname=n)};function normalizeArray(n,e){for(var o=0,l=n.length-1;l>=0;l--){var t=n[l];t==="."?n.splice(l,1):t===".."?(n.splice(l,1),o++):o&&(n.splice(l,1),o--)}if(e)for(;o--;o)n.unshift("..");return n}function resolve(){for(var n="",e=!1,o=arguments.length-1;o>=-1&&!e;o--){var l=o>=0?arguments[o]:"/";if(typeof l!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!l)continue;n=l+"/"+n,e=l.charAt(0)==="/"}return n=normalizeArray(filter(n.split("/"),function(t){return!!t}),!e).join("/"),(e?"/":"")+n||"."}function filter(n,e){if(n.filter)return n.filter(e);for(var o=[],l=0;l<n.length;l++)e(n[l],l,n)&&o.push(n[l]);return o}var _globalThis=function(n){function e(){var l=this||self;return delete n.prototype.__magic__,l}if(typeof globalThis=="object")return globalThis;if(this)return e();n.defineProperty(n.prototype,"__magic__",{configurable:!0,get:e});var o=__magic__;return o}(Object),formatImport=format$1,parseImport=parse$2,resolveImport=resolve$1,UrlImport=Url_1,URL$1=_globalThis.URL,URLSearchParams=_globalThis.URLSearchParams,percentRegEx=/%/g,backslashRegEx=/\\/g,newlineRegEx=/\n/g,carriageReturnRegEx=/\r/g,tabRegEx=/\t/g,CHAR_FORWARD_SLASH=47;function isURLInstance(n){var e=n??null;return!!(e!==null&&(e!=null&&e.href)&&(e!=null&&e.origin))}function getPathFromURLPosix(n){if(n.hostname!=="")throw new TypeError('File URL host must be "localhost" or empty on browser');for(var e=n.pathname,o=0;o<e.length;o++)if(e[o]==="%"){var l=e.codePointAt(o+2)|32;if(e[o+1]==="2"&&l===102)throw new TypeError("File URL path must not include encoded / characters")}return decodeURIComponent(e)}function encodePathChars(n){return n.includes("%")&&(n=n.replace(percentRegEx,"%25")),n.includes("\\")&&(n=n.replace(backslashRegEx,"%5C")),n.includes(`
+`)&&(n=n.replace(newlineRegEx,"%0A")),n.includes("\r")&&(n=n.replace(carriageReturnRegEx,"%0D")),n.includes("	")&&(n=n.replace(tabRegEx,"%09")),n}var domainToASCII=function(e){if(typeof e>"u")throw new TypeError('The "domain" argument must be specified');return new URL$1("http://"+e).hostname},domainToUnicode=function(e){if(typeof e>"u")throw new TypeError('The "domain" argument must be specified');return new URL$1("http://"+e).hostname},pathToFileURL=function(e){var o=new URL$1("file://"),l=resolve(e),t=e.charCodeAt(e.length-1);return t===CHAR_FORWARD_SLASH&&l[l.length-1]!=="/"&&(l+="/"),o.pathname=encodePathChars(l),o},fileURLToPath=function(e){if(!isURLInstance(e)&&typeof e!="string")throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+" ("+e+")");var o=new URL$1(e);if(o.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return getPathFromURLPosix(o)},formatImportWithOverloads=function(e,o){var l,t,u;if(o===void 0&&(o={}),!(e instanceof URL$1))return formatImport(e);if(typeof o!="object"||o===null)throw new TypeError('The "options" argument must be of type object.');var h=(l=o.auth)!=null?l:!0,v=(t=o.fragment)!=null?t:!0,w=(u=o.search)!=null?u:!0,A=new URL$1(e.toString());return h||(A.username="",A.password=""),v||(A.hash=""),w||(A.search=""),A.toString()},api$1={format:formatImportWithOverloads,parse:parseImport,resolve:resolveImport,resolveObject,Url:UrlImport,URL:URL$1,URLSearchParams,domainToASCII,domainToUnicode,pathToFileURL,fileURLToPath};const url=Object.freeze(Object.defineProperty({__proto__:null,URL:URL$1,URLSearchParams,Url:UrlImport,default:api$1,domainToASCII,domainToUnicode,fileURLToPath,format:formatImportWithOverloads,parse:parseImport,pathToFileURL,resolve:resolveImport,resolveObject},Symbol.toStringTag,{value:"Module"})),require$$2$2=getAugmentedNamespace(url);var util$6={},types$1={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},o=Symbol("test"),l=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var t=42;e[o]=t;for(o in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==o||!Object.prototype.propertyIsEnumerable.call(e,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(e,o);if(h.value!==t||h.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range=RangeError,ref$1=ReferenceError,syntax=SyntaxError,type$j=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(e,o){for(var l=[],t=0;t<e.length;t+=1)l[t]=e[t];for(var u=0;u<o.length;u+=1)l[u+e.length]=o[u];return l},slicy=function(e,o){for(var l=[],t=o,u=0;t<e.length;t+=1,u+=1)l[u]=e[t];return l},joiny=function(n,e){for(var o="",l=0;l<n.length;l+=1)o+=n[l],l+1<n.length&&(o+=e);return o},implementation$5=function(e){var o=this;if(typeof o!="function"||toStr$3.apply(o)!==funcType)throw new TypeError(ERROR_MESSAGE+o);for(var l=slicy(arguments,1),t,u=function(){if(this instanceof t){var E=o.apply(this,concatty(l,arguments));return Object(E)===E?E:this}return o.apply(e,concatty(l,arguments))},h=max(0,o.length-l.length),v=[],w=0;w<h;w++)v[w]="$"+w;if(t=Function("binder","return function ("+joiny(v,",")+"){ return binder.apply(this,arguments); }")(u),o.prototype){var A=function(){};A.prototype=o.prototype,t.prototype=new A,A.prototype=null}return t},implementation$4=implementation$5,functionBind=Function.prototype.bind||implementation$4,call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind$1=functionBind,hasown=bind$1.call(call,$hasOwn),undefined$1,$Error=esErrors,$EvalError=_eval,$RangeError=range,$ReferenceError=ref$1,$SyntaxError$1=syntax,$TypeError$2=type$j,$URIError=uri,$Function=Function,getEvalledConstructor=function(n){try{return $Function('"use strict"; return ('+n+").constructor;")()}catch{}},$gOPD$1=Object.getOwnPropertyDescriptor;if($gOPD$1)try{$gOPD$1({},"")}catch{$gOPD$1=null}var throwTypeError=function(){throw new $TypeError$2},ThrowTypeError=$gOPD$1?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD$1(arguments,"callee").get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=hasSymbols$1(),hasProto=hasProto$1(),getProto$1=Object.getPrototypeOf||(hasProto?function(n){return n.__proto__}:null),needsEval={},TypedArray=typeof Uint8Array>"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(n){var errorProto=getProto$1(getProto$1(n));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function n(e){var o;if(e==="%AsyncFunction%")o=getEvalledConstructor("async function () {}");else if(e==="%GeneratorFunction%")o=getEvalledConstructor("function* () {}");else if(e==="%AsyncGeneratorFunction%")o=getEvalledConstructor("async function* () {}");else if(e==="%AsyncGenerator%"){var l=n("%AsyncGeneratorFunction%");l&&(o=l.prototype)}else if(e==="%AsyncIteratorPrototype%"){var t=n("%AsyncGenerator%");t&&getProto$1&&(o=getProto$1(t.prototype))}return INTRINSICS[e]=o,o},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=functionBind,hasOwn=hasown,$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(e){var o=$strSlice(e,0,1),l=$strSlice(e,-1);if(o==="%"&&l!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(l==="%"&&o!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var t=[];return $replace(e,rePropName,function(u,h,v,w){t[t.length]=v?$replace(w,reEscapeChar,"$1"):h||u}),t},getBaseIntrinsic=function(e,o){var l=e,t;if(hasOwn(LEGACY_ALIASES,l)&&(t=LEGACY_ALIASES[l],l="%"+t[0]+"%"),hasOwn(INTRINSICS,l)){var u=INTRINSICS[l];if(u===needsEval&&(u=doEval(l)),typeof u>"u"&&!o)throw new $TypeError$2("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:t,name:l,value:u}}throw new $SyntaxError$1("intrinsic "+e+" does not exist!")},getIntrinsic=function(e,o){if(typeof e!="string"||e.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,e)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=stringToPath(e),t=l.length>0?l[0]:"",u=getBaseIntrinsic("%"+t+"%",o),h=u.name,v=u.value,w=!1,A=u.alias;A&&(t=A[0],$spliceApply(l,$concat([0,1],A)));for(var E=1,C=!0;E<l.length;E+=1){var M=l[E],P=$strSlice(M,0,1),I=$strSlice(M,-1);if((P==='"'||P==="'"||P==="`"||I==='"'||I==="'"||I==="`")&&P!==I)throw new $SyntaxError$1("property names with quotes must have matching quotes");if((M==="constructor"||!C)&&(w=!0),t+="."+M,h="%"+t+"%",hasOwn(INTRINSICS,h))v=INTRINSICS[h];else if(v!=null){if(!(M in v)){if(!o)throw new $TypeError$2("base intrinsic for "+e+" exists, but the property is not available.");return}if($gOPD$1&&E+1>=l.length){var j=$gOPD$1(v,M);C=!!j,C&&"get"in j&&!("originalValue"in j.get)?v=j.get:v=v[M]}else C=hasOwn(v,M),v=v[M];C&&!w&&(INTRINSICS[h]=v)}}return v},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var n=getIntrinsic,e=n("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return esDefineProperty=e,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type$j,gopd=gopd$1,defineDataProperty=function(e,o,l){if(!e||typeof e!="object"&&typeof e!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var t=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,v=arguments.length>6?arguments[6]:!1,w=!!gopd&&gopd(e,o);if($defineProperty$1)$defineProperty$1(e,o,{configurable:h===null&&w?w.configurable:!h,enumerable:t===null&&w?w.enumerable:!t,value:l,writable:u===null&&w?w.writable:!u});else if(v||!t&&!u&&!h)e[o]=l;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define$1=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type$j,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(e,o){if(typeof e!="function")throw new $TypeError("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||$floor(o)!==o)throw new $TypeError("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],t=!0,u=!0;if("length"in e&&gOPD$1){var h=gOPD$1(e,"length");h&&!h.configurable&&(t=!1),h&&!h.writable&&(u=!1)}return(t||u||!l)&&(hasDescriptors?define$1(e,"length",o,!0,!0):define$1(e,"length",o)),e};(function(n){var e=functionBind,o=getIntrinsic,l=setFunctionLength,t=type$j,u=o("%Function.prototype.apply%"),h=o("%Function.prototype.call%"),v=o("%Reflect.apply%",!0)||e.call(h,u),w=requireEsDefineProperty(),A=o("%Math.max%");n.exports=function(M){if(typeof M!="function")throw new t("a function is required");var P=v(e,h,arguments);return l(P,1+A(0,M.length-(arguments.length-1)),!0)};var E=function(){return v(e,u,arguments)};w?w(n.exports,"apply",{value:E}):n.exports.apply=E})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(e,o){var l=GetIntrinsic(e,!!o);return typeof l=="function"&&$indexOf$1(e,".prototype.")>-1?callBind$1(l):l},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(e){return hasToStringTag$3&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:$toString$1(e)==="[object Arguments]"},isLegacyArguments=function(e){return isStandardArguments(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&$toString$1(e)!=="[object Array]"&&$toString$1(e.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments$1=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(e){if(typeof e!="function")return!1;if(isFnRegex.test(fnToStr$1.call(e)))return!0;if(!hasToStringTag$2){var o=toStr$2.call(e);return o==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var l=getGeneratorFunc();GeneratorFunction=l?getProto(l):!1}return getProto(e)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(n){n!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(e){try{var o=fnToStr.call(e);return constructorRegex.test(o)}catch{return!1}},tryFunctionObject=function(e){try{return isES6ClassFn(e)?!1:(fnToStr.call(e),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(e){if((isIE68||!e)&&(typeof e>"u"||typeof e=="object"))try{var o=toStr$1.call(e);return(o===ddaClass||o===ddaClass2||o===ddaClass3||o===objectClass)&&e("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(e){if(isDDA(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{reflectApply(e,null,badArrayLike)}catch(o){if(o!==isCallableMarker)return!1}return!isES6ClassFn(e)&&tryFunctionObject(e)}:function(e){if(isDDA(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(e);if(isES6ClassFn(e))return!1;var o=toStr$1.call(e);return o!==fnClass&&o!==genClass&&!/^\[object HTML/.test(o)?!1:tryFunctionObject(e)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,forEachArray=function(e,o,l){for(var t=0,u=e.length;t<u;t++)hasOwnProperty.call(e,t)&&(l==null?o(e[t],t,e):o.call(l,e[t],t,e))},forEachString=function(e,o,l){for(var t=0,u=e.length;t<u;t++)l==null?o(e.charAt(t),t,e):o.call(l,e.charAt(t),t,e)},forEachObject=function(e,o,l){for(var t in e)hasOwnProperty.call(e,t)&&(l==null?o(e[t],t,e):o.call(l,e[t],t,e))},forEach$1=function(e,o,l){if(!isCallable(o))throw new TypeError("iterator must be a function");var t;arguments.length>=3&&(t=l),toStr.call(e)==="[object Array]"?forEachArray(e,o,t):typeof e=="string"?forEachString(e,o,t):forEachObject(e,o,t)},forEach_1=forEach$1,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal$1:globalThis,availableTypedArrays$1=function(){for(var e=[],o=0;o<possibleNames.length;o++)typeof g$1[possibleNames[o]]=="function"&&(e[e.length]=possibleNames[o]);return e},forEach=forEach_1,availableTypedArrays=availableTypedArrays$1,callBind=callBindExports,callBound=callBound$2,gOPD=gopd$1,$toString=callBound("Object.prototype.toString"),hasToStringTag=shams(),g=typeof globalThis>"u"?commonjsGlobal$1:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(e,o){for(var l=0;l<e.length;l+=1)if(e[l]===o)return l;return-1},cache$1={__proto__:null};hasToStringTag&&gOPD&&getPrototypeOf?forEach(typedArrays,function(n){var e=new g[n];if(Symbol.toStringTag in e){var o=getPrototypeOf(e),l=gOPD(o,Symbol.toStringTag);if(!l){var t=getPrototypeOf(o);l=gOPD(t,Symbol.toStringTag)}cache$1["$"+n]=callBind(l.get)}}):forEach(typedArrays,function(n){var e=new g[n],o=e.slice||e.set;o&&(cache$1["$"+n]=callBind(o))});var tryTypedArrays=function(e){var o=!1;return forEach(cache$1,function(l,t){if(!o)try{"$"+l(e)===t&&(o=$slice(t,1))}catch{}}),o},trySlices=function(e){var o=!1;return forEach(cache$1,function(l,t){if(!o)try{l(e),o=$slice(t,1)}catch{}}),o},whichTypedArray$1=function(e){if(!e||typeof e!="object")return!1;if(!hasToStringTag){var o=$slice($toString(e),8,-1);return $indexOf(typedArrays,o)>-1?o:o!=="Object"?!1:trySlices(e)}return gOPD?tryTypedArrays(e):null},whichTypedArray=whichTypedArray$1,isTypedArray=function(e){return!!whichTypedArray(e)};(function(n){var e=isArguments$1,o=isGeneratorFunction,l=whichTypedArray$1,t=isTypedArray;function u(Je){return Je.call.bind(Je)}var h=typeof BigInt<"u",v=typeof Symbol<"u",w=u(Object.prototype.toString),A=u(Number.prototype.valueOf),E=u(String.prototype.valueOf),C=u(Boolean.prototype.valueOf);if(h)var M=u(BigInt.prototype.valueOf);if(v)var P=u(Symbol.prototype.valueOf);function I(Je,ht){if(typeof Je!="object")return!1;try{return ht(Je),!0}catch{return!1}}n.isArgumentsObject=e,n.isGeneratorFunction=o,n.isTypedArray=t;function j(Je){return typeof Promise<"u"&&Je instanceof Promise||Je!==null&&typeof Je=="object"&&typeof Je.then=="function"&&typeof Je.catch=="function"}n.isPromise=j;function B(Je){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Je):t(Je)||O(Je)}n.isArrayBufferView=B;function F(Je){return l(Je)==="Uint8Array"}n.isUint8Array=F;function N(Je){return l(Je)==="Uint8ClampedArray"}n.isUint8ClampedArray=N;function ee(Je){return l(Je)==="Uint16Array"}n.isUint16Array=ee;function Z(Je){return l(Je)==="Uint32Array"}n.isUint32Array=Z;function re(Je){return l(Je)==="Int8Array"}n.isInt8Array=re;function fe(Je){return l(Je)==="Int16Array"}n.isInt16Array=fe;function V(Je){return l(Je)==="Int32Array"}n.isInt32Array=V;function le(Je){return l(Je)==="Float32Array"}n.isFloat32Array=le;function he(Je){return l(Je)==="Float64Array"}n.isFloat64Array=he;function ye(Je){return l(Je)==="BigInt64Array"}n.isBigInt64Array=ye;function L(Je){return l(Je)==="BigUint64Array"}n.isBigUint64Array=L;function p(Je){return w(Je)==="[object Map]"}p.working=typeof Map<"u"&&p(new Map);function y(Je){return typeof Map>"u"?!1:p.working?p(Je):Je instanceof Map}n.isMap=y;function S(Je){return w(Je)==="[object Set]"}S.working=typeof Set<"u"&&S(new Set);function c(Je){return typeof Set>"u"?!1:S.working?S(Je):Je instanceof Set}n.isSet=c;function m(Je){return w(Je)==="[object WeakMap]"}m.working=typeof WeakMap<"u"&&m(new WeakMap);function x(Je){return typeof WeakMap>"u"?!1:m.working?m(Je):Je instanceof WeakMap}n.isWeakMap=x;function T(Je){return w(Je)==="[object WeakSet]"}T.working=typeof WeakSet<"u"&&T(new WeakSet);function b(Je){return T(Je)}n.isWeakSet=b;function d(Je){return w(Je)==="[object ArrayBuffer]"}d.working=typeof ArrayBuffer<"u"&&d(new ArrayBuffer);function k(Je){return typeof ArrayBuffer>"u"?!1:d.working?d(Je):Je instanceof ArrayBuffer}n.isArrayBuffer=k;function D(Je){return w(Je)==="[object DataView]"}D.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&D(new DataView(new ArrayBuffer(1),0,1));function O(Je){return typeof DataView>"u"?!1:D.working?D(Je):Je instanceof DataView}n.isDataView=O;var Q=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function J(Je){return w(Je)==="[object SharedArrayBuffer]"}function X(Je){return typeof Q>"u"?!1:(typeof J.working>"u"&&(J.working=J(new Q)),J.working?J(Je):Je instanceof Q)}n.isSharedArrayBuffer=X;function U(Je){return w(Je)==="[object AsyncFunction]"}n.isAsyncFunction=U;function z(Je){return w(Je)==="[object Map Iterator]"}n.isMapIterator=z;function ie(Je){return w(Je)==="[object Set Iterator]"}n.isSetIterator=ie;function de(Je){return w(Je)==="[object Generator]"}n.isGeneratorObject=de;function me(Je){return w(Je)==="[object WebAssembly.Module]"}n.isWebAssemblyCompiledModule=me;function pe(Je){return I(Je,A)}n.isNumberObject=pe;function qe(Je){return I(Je,E)}n.isStringObject=qe;function mt(Je){return I(Je,C)}n.isBooleanObject=mt;function st(Je){return h&&I(Je,M)}n.isBigIntObject=st;function dt(Je){return v&&I(Je,P)}n.isSymbolObject=dt;function Tt(Je){return pe(Je)||qe(Je)||mt(Je)||st(Je)||dt(Je)}n.isBoxedPrimitive=Tt;function lt(Je){return typeof Uint8Array<"u"&&(k(Je)||X(Je))}n.isAnyArrayBuffer=lt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Je){Object.defineProperty(n,Je,{enumerable:!1,value:function(){throw new Error(Je+" is not supported in userland")}})})})(types$1);var isBufferBrowser=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"},inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(e,o){o&&(e.super_=o,e.prototype=Object.create(o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(e,o){if(o){e.super_=o;var l=function(){};l.prototype=o.prototype,e.prototype=new l,e.prototype.constructor=e}};var inherits_browserExports=inherits_browser.exports;(function(n){var e=Object.getOwnPropertyDescriptors||function(O){for(var Q=Object.keys(O),J={},X=0;X<Q.length;X++)J[Q[X]]=Object.getOwnPropertyDescriptor(O,Q[X]);return J},o=/%[sdj%]/g;n.format=function(D){if(!re(D)){for(var O=[],Q=0;Q<arguments.length;Q++)O.push(h(arguments[Q]));return O.join(" ")}for(var Q=1,J=arguments,X=J.length,U=String(D).replace(o,function(ie){if(ie==="%%")return"%";if(Q>=X)return ie;switch(ie){case"%s":return String(J[Q++]);case"%d":return Number(J[Q++]);case"%j":try{return JSON.stringify(J[Q++])}catch{return"[Circular]"}default:return ie}}),z=J[Q];Q<X;z=J[++Q])N(z)||!he(z)?U+=" "+z:U+=" "+h(z);return U},n.deprecate=function(D,O){if(typeof process$1<"u"&&process$1.noDeprecation===!0)return D;if(typeof process$1>"u")return function(){return n.deprecate(D,O).apply(this,arguments)};var Q=!1;function J(){if(!Q){if(process$1.throwDeprecation)throw new Error(O);process$1.traceDeprecation?console.trace(O):console.error(O),Q=!0}return D.apply(this,arguments)}return J};var l={},t=/^$/;if(process$1.env.NODE_DEBUG){var u=process$1.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),t=new RegExp("^"+u+"$","i")}n.debuglog=function(D){if(D=D.toUpperCase(),!l[D])if(t.test(D)){var O=process$1.pid;l[D]=function(){var Q=n.format.apply(n,arguments);console.error("%s %d: %s",D,O,Q)}}else l[D]=function(){};return l[D]};function h(D,O){var Q={seen:[],stylize:w};return arguments.length>=3&&(Q.depth=arguments[2]),arguments.length>=4&&(Q.colors=arguments[3]),F(O)?Q.showHidden=O:O&&n._extend(Q,O),V(Q.showHidden)&&(Q.showHidden=!1),V(Q.depth)&&(Q.depth=2),V(Q.colors)&&(Q.colors=!1),V(Q.customInspect)&&(Q.customInspect=!0),Q.colors&&(Q.stylize=v),E(Q,D,Q.depth)}n.inspect=h,h.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function v(D,O){var Q=h.styles[O];return Q?"\x1B["+h.colors[Q][0]+"m"+D+"\x1B["+h.colors[Q][1]+"m":D}function w(D,O){return D}function A(D){var O={};return D.forEach(function(Q,J){O[Q]=!0}),O}function E(D,O,Q){if(D.customInspect&&O&&p(O.inspect)&&O.inspect!==n.inspect&&!(O.constructor&&O.constructor.prototype===O)){var J=O.inspect(Q,D);return re(J)||(J=E(D,J,Q)),J}var X=C(D,O);if(X)return X;var U=Object.keys(O),z=A(U);if(D.showHidden&&(U=Object.getOwnPropertyNames(O)),L(O)&&(U.indexOf("message")>=0||U.indexOf("description")>=0))return M(O);if(U.length===0){if(p(O)){var ie=O.name?": "+O.name:"";return D.stylize("[Function"+ie+"]","special")}if(le(O))return D.stylize(RegExp.prototype.toString.call(O),"regexp");if(ye(O))return D.stylize(Date.prototype.toString.call(O),"date");if(L(O))return M(O)}var de="",me=!1,pe=["{","}"];if(B(O)&&(me=!0,pe=["[","]"]),p(O)){var qe=O.name?": "+O.name:"";de=" [Function"+qe+"]"}if(le(O)&&(de=" "+RegExp.prototype.toString.call(O)),ye(O)&&(de=" "+Date.prototype.toUTCString.call(O)),L(O)&&(de=" "+M(O)),U.length===0&&(!me||O.length==0))return pe[0]+de+pe[1];if(Q<0)return le(O)?D.stylize(RegExp.prototype.toString.call(O),"regexp"):D.stylize("[Object]","special");D.seen.push(O);var mt;return me?mt=P(D,O,Q,z,U):mt=U.map(function(st){return I(D,O,Q,z,st,me)}),D.seen.pop(),j(mt,de,pe)}function C(D,O){if(V(O))return D.stylize("undefined","undefined");if(re(O)){var Q="'"+JSON.stringify(O).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return D.stylize(Q,"string")}if(Z(O))return D.stylize(""+O,"number");if(F(O))return D.stylize(""+O,"boolean");if(N(O))return D.stylize("null","null")}function M(D){return"["+Error.prototype.toString.call(D)+"]"}function P(D,O,Q,J,X){for(var U=[],z=0,ie=O.length;z<ie;++z)T(O,String(z))?U.push(I(D,O,Q,J,String(z),!0)):U.push("");return X.forEach(function(de){de.match(/^\d+$/)||U.push(I(D,O,Q,J,de,!0))}),U}function I(D,O,Q,J,X,U){var z,ie,de;if(de=Object.getOwnPropertyDescriptor(O,X)||{value:O[X]},de.get?de.set?ie=D.stylize("[Getter/Setter]","special"):ie=D.stylize("[Getter]","special"):de.set&&(ie=D.stylize("[Setter]","special")),T(J,X)||(z="["+X+"]"),ie||(D.seen.indexOf(de.value)<0?(N(Q)?ie=E(D,de.value,null):ie=E(D,de.value,Q-1),ie.indexOf(`
+`)>-1&&(U?ie=ie.split(`
 `).map(function(me){return"  "+me}).join(`
-`).slice(2):ne=`
-`+ne.split(`
+`).slice(2):ie=`
+`+ie.split(`
 `).map(function(me){return"   "+me}).join(`
-`))):ne=M.stylize("[Circular]","special")),Q(z)){if(U&&Z.match(/^\d+$/))return ne;z=JSON.stringify(""+Z),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.slice(1,-1),z=M.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=M.stylize(z,"string"))}return z+": "+ne}function B(M,j,V){var ee=M.reduce(function(Z,U){return U.indexOf(`
-`)>=0,Z+U.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ee>60?V[0]+(j===""?"":j+`
- `)+" "+M.join(`,
-  `)+" "+V[1]:V[0]+j+" "+M.join(", ")+" "+V[1]}t.types=types$1;function F(M){return Array.isArray(M)}t.isArray=F;function O(M){return typeof M=="boolean"}t.isBoolean=O;function N(M){return M===null}t.isNull=N;function Y(M){return M==null}t.isNullOrUndefined=Y;function J(M){return typeof M=="number"}t.isNumber=J;function ie(M){return typeof M=="string"}t.isString=ie;function ue(M){return typeof M=="symbol"}t.isSymbol=ue;function Q(M){return M===void 0}t.isUndefined=Q;function ce(M){return he(M)&&w(M)==="[object RegExp]"}t.isRegExp=ce,t.types.isRegExp=ce;function he(M){return typeof M=="object"&&M!==null}t.isObject=he;function ke(M){return he(M)&&w(M)==="[object Date]"}t.isDate=ke,t.types.isDate=ke;function L(M){return he(M)&&(w(M)==="[object Error]"||M instanceof Error)}t.isError=L,t.types.isNativeError=L;function d(M){return typeof M=="function"}t.isFunction=d;function v(M){return M===null||typeof M=="boolean"||typeof M=="number"||typeof M=="string"||typeof M=="symbol"||typeof M>"u"}t.isPrimitive=v,t.isBuffer=isBufferBrowser;function w(M){return Object.prototype.toString.call(M)}function c(M){return M<10?"0"+M.toString(10):M.toString(10)}var p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function x(){var M=new Date,j=[c(M.getHours()),c(M.getMinutes()),c(M.getSeconds())].join(":");return[M.getDate(),p[M.getMonth()],j].join(" ")}t.log=function(){console.log("%s - %s",x(),t.format.apply(t,arguments))},t.inherits=inherits_browserExports,t._extend=function(M,j){if(!j||!he(j))return M;for(var V=Object.keys(j),ee=V.length;ee--;)M[V[ee]]=j[V[ee]];return M};function S(M,j){return Object.prototype.hasOwnProperty.call(M,j)}var b=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;t.promisify=function(j){if(typeof j!="function")throw new TypeError('The "original" argument must be of type Function');if(b&&j[b]){var V=j[b];if(typeof V!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(V,b,{value:V,enumerable:!1,writable:!1,configurable:!0}),V}function V(){for(var ee,Z,U=new Promise(function(fe,me){ee=fe,Z=me}),z=[],ne=0;ne<arguments.length;ne++)z.push(arguments[ne]);z.push(function(fe,me){fe?Z(fe):ee(me)});try{j.apply(this,z)}catch(fe){Z(fe)}return U}return Object.setPrototypeOf(V,Object.getPrototypeOf(j)),b&&Object.defineProperty(V,b,{value:V,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(V,e(j))},t.promisify.custom=b;function h(M,j){if(!M){var V=new Error("Promise was rejected with a falsy value");V.reason=M,M=V}return j(M)}function T(M){if(typeof M!="function")throw new TypeError('The "original" argument must be of type Function');function j(){for(var V=[],ee=0;ee<arguments.length;ee++)V.push(arguments[ee]);var Z=V.pop();if(typeof Z!="function")throw new TypeError("The last argument must be of type Function");var U=this,z=function(){return Z.apply(U,arguments)};M.apply(this,V).then(function(ne){process$1.nextTick(z.bind(null,null,ne))},function(ne){process$1.nextTick(h.bind(null,ne,z))})}return Object.setPrototypeOf(j,Object.getPrototypeOf(M)),Object.defineProperties(j,e(M)),j}t.callbackify=T})(util$6);var pubsuffixPsl={},psl$1={};const require$$1$4=["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","bet.ar","com.ar","coop.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","mutual.ar","net.ar","org.ar","senasa.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","sth.ac.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","app.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bib.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","coz.br","cri.br","cuiaba.br","curitiba.br","def.br","des.br","det.br","dev.br","ecn.br","eco.br","edu.br","emp.br","enf.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","geo.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","log.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","rep.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","seg.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","tec.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","com.cv","edu.cv","int.cv","nome.cv","org.cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","mil.cy","net.cy","org.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","art.dz","asso.dz","com.dz","edu.dz","gov.dz","org.dz","net.dz","pol.dz","soc.dz","tm.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","com.fm","edu.fm","net.fm","org.fm","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","edu.gd","gov.gd","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个��.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","com.ky","edu.ky","net.ky","org.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","biz.my","com.my","edu.my","gov.my","mil.my","name.my","net.my","org.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","me.ss","net.ss","org.ss","sch.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","info.tn","intl.tn","mincom.tn","nat.tn","net.tn","org.tn","perso.tn","tourism.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","bib.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","nom.ve","org.ve","rar.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","البحرين","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ລາວ","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","ye","com.ye","edu.ye","gov.ye","net.ye","mil.ye","org.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afl","africa","agakhan","agency","aig","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","catering","catholic","cba","cbn","cbre","cbs","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","jaguar","java","jcb","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kids","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","music","mutual","nab","nagoya","natura","navy","nba","nec","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","racing","radio","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiss","sydney","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","611.to","graphox.us","*.devcdnaccesso.com","adobeaemcloud.com","*.dev.adobeaemcloud.com","hlx.live","adobeaemcloud.net","hlx.page","hlx3.page","beep.pl","airkitapps.com","airkitapps-au.com","airkitapps.eu","aivencloud.com","barsy.ca","*.compute.estate","*.alces.network","kasserver.com","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","awsglobalaccelerator.com","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","t3l3p0rt.net","tele.amune.org","apigee.io","siiites.com","appspacehosted.com","appspaceusercontent.com","appudo.net","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","cdn.prod.atlassian-dev.net","translated.page","myfritz.net","onavstack.net","*.awdev.ca","*.advisor.ws","ecommerce-shop.pl","b-data.io","backplaneapp.io","balena-devices.com","rs.ba","*.banzai.cloud","app.banzaicloud.io","*.backyards.banzaicloud.io","base.ec","official.ec","buyshop.jp","fashionstore.jp","handcrafted.jp","kawaiishop.jp","supersale.jp","theshop.jp","shopselect.net","base.shop","*.beget.app","betainabox.com","bnr.la","bitbucket.io","blackbaudcdn.net","of.je","bluebite.io","boomla.net","boutir.com","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","shop.brendly.rs","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","cafjs.com","mycd.eu","drr.ac","uwu.ai","carrd.co","crd.co","ju.mp","ae.org","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.net","hu.net","jp.net","jpn.com","mex.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","za.bz","za.com","ar.com","hu.com","kr.com","no.com","qc.com","uy.com","africa.com","gr.com","in.net","web.in","us.org","co.com","aus.basketball","nz.basketball","radio.am","radio.fm","c.la","certmgr.org","cx.ua","discourse.group","discourse.team","cleverapps.io","clerk.app","clerkstage.app","*.lcl.dev","*.lclstage.dev","*.stg.dev","*.stgstage.dev","clickrising.net","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","*.cloudera.site","pages.dev","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cnpy.gdn","codeberg.page","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","curv.dev","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","fnwk.site","folionetwork.site","platform0.app","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","dyndns.dappnode.io","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","demo.datadetect.com","instance.datadetect.com","edgestack.me","ddns5.com","debian.net","deno.dev","deno-staging.dev","dedyn.io","deta.app","deta.dev","*.rss.my.id","*.diher.solutions","discordsays.com","discordsez.com","jozi.biz","dnshome.de","online.th","shop.th","drayddns.com","shoparena.pl","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","bip.sh","bitbridge.net","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","ondigitalocean.app","*.digitaloceanspaces.com","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","eero.online","eero-stage.online","elementor.cloud","elementor.cool","en-root.fr","mytuleap.com","tuleap-partners.com","encr.app","encoreapi.com","onred.one","staging.onred.one","eu.encoway.cloud","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eurodir.ru","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","onfabrica.com","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","edgecompute.app","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastvps-server.com","fastvps.host","myfast.host","fastvps.site","myfast.space","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","conn.uk","copro.uk","hosp.uk","mydobiss.com","fh-muenster.io","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","fireweb.app","flap.id","onflashdrive.app","fldrv.com","fly.dev","edgeapp.net","shw.io","flynnhosting.net","forgeblocks.com","id.forgerock.io","framer.app","framercanvas.com","*.frusky.de","ravpage.co.il","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","freemyip.com","wien.funkfeuer.at","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","independent-commission.uk","independent-inquest.uk","independent-inquiry.uk","independent-panel.uk","independent-review.uk","public-inquiry.uk","royal-commission.uk","campaign.gov.uk","service.gov.uk","api.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","gentlentapis.com","lab.ms","cdn-edges.net","ghost.io","gsj.bz","githubusercontent.com","githubpreview.dev","github.io","gitlab.io","gitapp.si","gitpage.si","glitch.me","nog.community","co.ro","shop.ro","lolipop.io","angry.jp","babyblue.jp","babymilk.jp","backdrop.jp","bambina.jp","bitter.jp","blush.jp","boo.jp","boy.jp","boyfriend.jp","but.jp","candypop.jp","capoo.jp","catfood.jp","cheap.jp","chicappa.jp","chillout.jp","chips.jp","chowder.jp","chu.jp","ciao.jp","cocotte.jp","coolblog.jp","cranky.jp","cutegirl.jp","daa.jp","deca.jp","deci.jp","digick.jp","egoism.jp","fakefur.jp","fem.jp","flier.jp","floppy.jp","fool.jp","frenchkiss.jp","girlfriend.jp","girly.jp","gloomy.jp","gonna.jp","greater.jp","hacca.jp","heavy.jp","her.jp","hiho.jp","hippy.jp","holy.jp","hungry.jp","icurus.jp","itigo.jp","jellybean.jp","kikirara.jp","kill.jp","kilo.jp","kuron.jp","littlestar.jp","lolipopmc.jp","lolitapunk.jp","lomo.jp","lovepop.jp","lovesick.jp","main.jp","mods.jp","mond.jp","mongolian.jp","moo.jp","namaste.jp","nikita.jp","nobushi.jp","noor.jp","oops.jp","parallel.jp","parasite.jp","pecori.jp","peewee.jp","penne.jp","pepper.jp","perma.jp","pigboat.jp","pinoko.jp","punyu.jp","pupu.jp","pussycat.jp","pya.jp","raindrop.jp","readymade.jp","sadist.jp","schoolbus.jp","secret.jp","staba.jp","stripper.jp","sub.jp","sunnyday.jp","thick.jp","tonkotsu.jp","under.jp","upper.jp","velvet.jp","verse.jp","versus.jp","vivian.jp","watson.jp","weblike.jp","whitesnow.jp","zombie.jp","heteml.net","cloudapps.digital","london.cloudapps.digital","pymnt.uk","homeoffice.gov.uk","ro.im","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","*.gateway.dev","cloud.goog","translate.goog","*.usercontent.goog","cloudfunctions.net","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","goupile.fr","gov.nl","awsmppl.com","günstigbestellen.de","günstigliefern.de","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","pages.it.hs-heilbronn.de","hepforge.org","herokuapp.com","herokussl.com","ravendb.cloud","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","homesklep.pl","secaas.hk","hoplix.shop","orx.biz","biz.gl","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","edu.scot","sch.so","hostyhosting.io","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","ibxos.it","iliadboxos.it","impertrixcdn.com","impertrix.com","smushcdn.com","wphostedmail.com","wpmucdn.com","tempurl.host","wpmudev.host","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","na4u.ru","iopsys.se","ipifony.net","iservschule.de","mein-iserv.de","schulplattform.de","schulserver.de","test-iserv.de","iserv.dev","iobb.net","mel.cloudlets.com.au","cloud.interhostsolutions.be","users.scale.virtualcloud.com.br","mycloud.by","alp1.ae.flow.ch","appengine.flow.ch","es-1.axarnet.cloud","diadem.cloud","vip.jelastic.cloud","jele.cloud","it1.eur.aruba.jenv-aruba.cloud","it1.jenv-aruba.cloud","keliweb.cloud","cs.keliweb.cloud","oxa.cloud","tn.oxa.cloud","uk.oxa.cloud","primetel.cloud","uk.primetel.cloud","ca.reclaim.cloud","uk.reclaim.cloud","us.reclaim.cloud","ch.trendhosting.cloud","de.trendhosting.cloud","jele.club","amscompute.com","clicketcloud.com","dopaas.com","hidora.com","paas.hosted-by-previder.com","rag-cloud.hosteur.com","rag-cloud-ch.hosteur.com","jcloud.ik-server.com","jcloud-ver-jpc.ik-server.com","demo.jelastic.com","kilatiron.com","paas.massivegrid.com","jed.wafaicloud.com","lon.wafaicloud.com","ryd.wafaicloud.com","j.scaleforce.com.cy","jelastic.dogado.eu","fi.cloudplatform.fi","demo.datacenter.fi","paas.datacenter.fi","jele.host","mircloud.host","paas.beebyte.io","sekd1.beebyteapp.io","jele.io","cloud-fr1.unispace.io","jc.neen.it","cloud.jelastic.open.tim.it","jcloud.kz","upaas.kazteleport.kz","cloudjiffy.net","fra1-de.cloudjiffy.net","west1-us.cloudjiffy.net","jls-sto1.elastx.net","jls-sto2.elastx.net","jls-sto3.elastx.net","faststacks.net","fr-1.paas.massivegrid.net","lon-1.paas.massivegrid.net","lon-2.paas.massivegrid.net","ny-1.paas.massivegrid.net","ny-2.paas.massivegrid.net","sg-1.paas.massivegrid.net","jelastic.saveincloud.net","nordeste-idc.saveincloud.net","j.scaleforce.net","jelastic.tsukaeru.net","sdscloud.pl","unicloud.pl","mircloud.ru","jelastic.regruhosting.ru","enscaled.sg","jele.site","jelastic.team","orangecloud.tn","j.layershift.co.uk","phx.enscaled.us","mircloud.us","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","jotelulu.cloud","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","ktistory.com","kapsi.fi","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","koobin.events","oya.to","kuleuven.cloud","ezproxy.kuleuven.be","co.krd","edu.krd","krellian.net","webthings.io","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkyard.cloud","linkyard-cloud.ch","members.linode.com","*.nodebalancer.linode.com","*.linodeobjects.com","ip.linodeusercontent.com","we.bs","*.user.localcert.dev","localzone.xyz","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","servers.run","lohmus.me","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.ro","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","cn.vu","mazeplay.com","mcpe.me","mcdir.me","mcdir.ru","mcpre.ru","vps.mcdir.ru","mediatech.by","mediatech.dev","hra.health","miniserver.com","memset.net","messerli.app","*.cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","*.azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","azurestaticapps.net","1.azurestaticapps.net","centralus.azurestaticapps.net","eastasia.azurestaticapps.net","eastus2.azurestaticapps.net","westeurope.azurestaticapps.net","westus2.azurestaticapps.net","csx.cc","mintere.site","forte.id","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","hostedpi.com","customer.mythic-beasts.com","caracal.mythic-beasts.com","fentiger.mythic-beasts.com","lynx.mythic-beasts.com","ocelot.mythic-beasts.com","oncilla.mythic-beasts.com","onza.mythic-beasts.com","sphinx.mythic-beasts.com","vs.mythic-beasts.com","x.mythic-beasts.com","yali.mythic-beasts.com","cust.retrosnub.co.uk","ui.nabu.casa","pony.club","of.fashion","in.london","of.london","from.marketing","with.marketing","for.men","repair.men","and.mom","for.mom","for.one","under.one","for.sale","that.win","from.work","to.work","cloud.nospamproxy.com","netlify.app","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","*.developer.app","noop.app","*.northflank.app","*.build.run","*.code.run","*.database.run","*.migration.run","noticeable.news","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","pcloud.host","nyc.mn","static.observableusercontent.com","cya.gg","omg.lol","cloudycluster.net","omniwe.site","service.one","nid.io","opensocial.site","opencraft.hosting","orsites.com","operaunite.com","tech.orange","authgear-staging.com","authgearapps.com","skygearapp.com","outsystemscloud.com","*.webpaas.ovh.net","*.hosting.ovh.net","ownprovider.com","own.pm","*.owo.codes","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","pagexl.com","*.paywhirl.com","bar0.net","bar1.net","bar2.net","rdv.to","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","lk3.ru","on-web.fr","bc.platform.sh","ent.platform.sh","eu.platform.sh","us.platform.sh","*.platformsh.site","*.tst.site","platter-app.com","platter-app.dev","platterp.us","pdns.page","plesk.page","pleskns.com","dyn53.io","onporter.run","co.bn","postman-echo.com","pstmn.io","mock.pstmn.io","httpbin.org","prequalifyme.today","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","pythonanywhere.com","eu.pythonanywhere.com","qoto.io","qualifioapp.com","qbuser.com","cloudsite.builders","instances.spawn.cc","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","g.vbrplsbx.io","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","id.repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","wellbeingzone.co.uk","adimo.co.uk","itcouldbewor.se","git-pages.rit.edu","rocky.page","биз.рус","ком.рус","крым.рус","мир.рус","мск.рус","орг.рус","самара.рус","сочи.рус","спб.рус","я.рус","*.builder.code.com","*.dev-builder.code.com","*.stg-builder.code.com","sandcats.io","logoip.de","logoip.com","fr-par-1.baremetal.scw.cloud","fr-par-2.baremetal.scw.cloud","nl-ams-1.baremetal.scw.cloud","fnc.fr-par.scw.cloud","functions.fnc.fr-par.scw.cloud","k8s.fr-par.scw.cloud","nodes.k8s.fr-par.scw.cloud","s3.fr-par.scw.cloud","s3-website.fr-par.scw.cloud","whm.fr-par.scw.cloud","priv.instances.scw.cloud","pub.instances.scw.cloud","k8s.scw.cloud","k8s.nl-ams.scw.cloud","nodes.k8s.nl-ams.scw.cloud","s3.nl-ams.scw.cloud","s3-website.nl-ams.scw.cloud","whm.nl-ams.scw.cloud","k8s.pl-waw.scw.cloud","nodes.k8s.pl-waw.scw.cloud","s3.pl-waw.scw.cloud","s3-website.pl-waw.scw.cloud","scalebook.scw.cloud","smartlabeling.scw.cloud","dedibox.fr","schokokeks.net","gov.scot","service.gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","seidat.net","sellfy.store","senseering.net","minisite.ms","magnet.page","biz.ua","co.ua","pp.ua","shiftcrypto.dev","shiftcrypto.io","shiftedit.io","myshopblocks.com","myshopify.com","shopitsite.com","shopware.store","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","small-web.org","vp4.me","try-snowplow.com","srht.site","stackhero-network.com","musician.io","novecore.site","static.land","dev.static.land","sites.static.land","storebase.store","vps-host.net","atl.jelastic.vps-host.net","njs.jelastic.vps-host.net","ric.jelastic.vps-host.net","playstation-cloud.com","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","myspreadshop.at","myspreadshop.com.au","myspreadshop.be","myspreadshop.ca","myspreadshop.ch","myspreadshop.com","myspreadshop.de","myspreadshop.dk","myspreadshop.es","myspreadshop.fi","myspreadshop.fr","myspreadshop.ie","myspreadshop.it","myspreadshop.net","myspreadshop.nl","myspreadshop.no","myspreadshop.pl","myspreadshop.se","myspreadshop.co.uk","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","supabase.co","supabase.in","supabase.net","su.paba.se","*.s5y.io","*.sensiosite.cloud","syncloud.it","dscloud.biz","direct.quickconnect.cn","dsmynas.com","familyds.com","diskstation.me","dscloud.me","i234.me","myds.me","synology.me","dscloud.mobi","dsmynas.net","familyds.net","dsmynas.org","familyds.org","vpnplus.to","direct.quickconnect.to","tabitorder.co.il","taifun-dns.de","beta.tailscale.net","ts.net","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","site.tb-hosting.com","edugit.io","s3.teckids.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","*.firenet.ch","*.svc.firenet.ch","reservd.com","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","reservd.dev.thingdust.io","reservd.disrec.thingdust.io","reservd.testing.thingdust.io","tickets.io","arvo.network","azimuth.network","tlon.network","torproject.net","pages.torproject.net","bloxcms.com","townnews-staging.com","tbits.me","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","site.transip.me","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","typedream.app","pro.typeform.com","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","name.pm","sch.tf","biz.wf","sch.wf","org.yt","virtualuser.de","virtual-user.de","upli.io","urown.cloud","dnsupdate.info","lib.de.us","2038.io","vercel.app","vercel.dev","now.sh","router.management","v-info.info","voorloper.cloud","neko.am","nyaa.am","be.ax","cat.ax","es.ax","eu.ax","gg.ax","mc.ax","us.ax","xy.ax","nl.ci","xx.gl","app.gp","blog.gt","de.gt","to.gt","be.gy","cc.hn","blog.kg","io.kg","jp.kg","tv.kg","uk.kg","us.kg","de.ls","at.md","de.md","jp.md","to.md","indie.porn","vxl.sh","ch.tc","me.tc","we.tc","nyan.to","at.vg","blog.vu","dev.vu","me.vu","v.ua","*.vultrobjects.com","wafflecell.com","*.webhare.dev","reserve-online.net","reserve-online.com","bookonline.app","hotelwithflight.com","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","pages.wiardweb.com","wmflabs.org","toolforge.org","wmcloud.org","panel.gg","daemon.panel.gg","messwithdns.com","woltlab-demo.com","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","affinitylottery.org.uk","raffleentry.org.uk","weeklylottery.org.uk","wpenginepowered.com","js.wpenginepowered.com","wixsite.com","editorx.io","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","ynh.fr","nohost.me","noho.st","za.net","za.org","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"];(function(t){var e=requirePunycode(),n={};n.rules=require$$1$4.map(function(o){return{rule:o,suffix:o.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:o.charAt(0)==="*",exception:o.charAt(0)==="!"}}),n.endsWith=function(o,u){return o.indexOf(u,o.length-u.length)!==-1},n.findRule=function(o){var u=e.toASCII(o);return n.rules.reduce(function(l,m){return m.punySuffix===-1&&(m.punySuffix=e.toASCII(m.suffix)),!n.endsWith(u,"."+m.punySuffix)&&u!==m.punySuffix?l:m},null)},t.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},n.validate=function(o){var u=e.toASCII(o);if(u.length<1)return"DOMAIN_TOO_SHORT";if(u.length>255)return"DOMAIN_TOO_LONG";for(var l=u.split("."),m,y=0;y<l.length;++y){if(m=l[y],!m.length)return"LABEL_TOO_SHORT";if(m.length>63)return"LABEL_TOO_LONG";if(m.charAt(0)==="-")return"LABEL_STARTS_WITH_DASH";if(m.charAt(m.length-1)==="-")return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(m))return"LABEL_INVALID_CHARS"}},t.parse=function(o){if(typeof o!="string")throw new TypeError("Domain name must be a string.");var u=o.slice(0).toLowerCase();u.charAt(u.length-1)==="."&&(u=u.slice(0,u.length-1));var l=n.validate(u);if(l)return{input:o,error:{message:t.errorCodes[l],code:l}};var m={input:o,tld:null,sld:null,domain:null,subdomain:null,listed:!1},y=u.split(".");if(y[y.length-1]==="local")return m;var E=function(){return/xn--/.test(u)&&(m.domain&&(m.domain=e.toASCII(m.domain)),m.subdomain&&(m.subdomain=e.toASCII(m.subdomain))),m},C=n.findRule(u);if(!C)return y.length<2?m:(m.tld=y.pop(),m.sld=y.pop(),m.domain=[m.sld,m.tld].join("."),y.length&&(m.subdomain=y.pop()),E());m.listed=!0;var k=C.suffix.split("."),A=y.slice(0,y.length-k.length);return C.exception&&A.push(k.shift()),m.tld=k.join("."),!A.length||(C.wildcard&&(k.unshift(A.pop()),m.tld=k.join(".")),!A.length)||(m.sld=A.pop(),m.domain=[m.sld,m.tld].join("."),A.length&&(m.subdomain=A.join("."))),E()},t.get=function(o){return o&&t.parse(o).domain||null},t.isValid=function(o){var u=t.parse(o);return!!(u.domain&&u.listed)}})(psl$1);/*!
+`))):ie=D.stylize("[Circular]","special")),V(z)){if(U&&X.match(/^\d+$/))return ie;z=JSON.stringify(""+X),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.slice(1,-1),z=D.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=D.stylize(z,"string"))}return z+": "+ie}function j(D,O,Q){var J=D.reduce(function(X,U){return U.indexOf(`
+`)>=0,X+U.replace(/\u001b\[\d\d?m/g,"").length+1},0);return J>60?Q[0]+(O===""?"":O+`
+ `)+" "+D.join(`,
+  `)+" "+Q[1]:Q[0]+O+" "+D.join(", ")+" "+Q[1]}n.types=types$1;function B(D){return Array.isArray(D)}n.isArray=B;function F(D){return typeof D=="boolean"}n.isBoolean=F;function N(D){return D===null}n.isNull=N;function ee(D){return D==null}n.isNullOrUndefined=ee;function Z(D){return typeof D=="number"}n.isNumber=Z;function re(D){return typeof D=="string"}n.isString=re;function fe(D){return typeof D=="symbol"}n.isSymbol=fe;function V(D){return D===void 0}n.isUndefined=V;function le(D){return he(D)&&S(D)==="[object RegExp]"}n.isRegExp=le,n.types.isRegExp=le;function he(D){return typeof D=="object"&&D!==null}n.isObject=he;function ye(D){return he(D)&&S(D)==="[object Date]"}n.isDate=ye,n.types.isDate=ye;function L(D){return he(D)&&(S(D)==="[object Error]"||D instanceof Error)}n.isError=L,n.types.isNativeError=L;function p(D){return typeof D=="function"}n.isFunction=p;function y(D){return D===null||typeof D=="boolean"||typeof D=="number"||typeof D=="string"||typeof D=="symbol"||typeof D>"u"}n.isPrimitive=y,n.isBuffer=isBufferBrowser;function S(D){return Object.prototype.toString.call(D)}function c(D){return D<10?"0"+D.toString(10):D.toString(10)}var m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function x(){var D=new Date,O=[c(D.getHours()),c(D.getMinutes()),c(D.getSeconds())].join(":");return[D.getDate(),m[D.getMonth()],O].join(" ")}n.log=function(){console.log("%s - %s",x(),n.format.apply(n,arguments))},n.inherits=inherits_browserExports,n._extend=function(D,O){if(!O||!he(O))return D;for(var Q=Object.keys(O),J=Q.length;J--;)D[Q[J]]=O[Q[J]];return D};function T(D,O){return Object.prototype.hasOwnProperty.call(D,O)}var b=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;n.promisify=function(O){if(typeof O!="function")throw new TypeError('The "original" argument must be of type Function');if(b&&O[b]){var Q=O[b];if(typeof Q!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Q,b,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Q}function Q(){for(var J,X,U=new Promise(function(de,me){J=de,X=me}),z=[],ie=0;ie<arguments.length;ie++)z.push(arguments[ie]);z.push(function(de,me){de?X(de):J(me)});try{O.apply(this,z)}catch(de){X(de)}return U}return Object.setPrototypeOf(Q,Object.getPrototypeOf(O)),b&&Object.defineProperty(Q,b,{value:Q,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Q,e(O))},n.promisify.custom=b;function d(D,O){if(!D){var Q=new Error("Promise was rejected with a falsy value");Q.reason=D,D=Q}return O(D)}function k(D){if(typeof D!="function")throw new TypeError('The "original" argument must be of type Function');function O(){for(var Q=[],J=0;J<arguments.length;J++)Q.push(arguments[J]);var X=Q.pop();if(typeof X!="function")throw new TypeError("The last argument must be of type Function");var U=this,z=function(){return X.apply(U,arguments)};D.apply(this,Q).then(function(ie){process$1.nextTick(z.bind(null,null,ie))},function(ie){process$1.nextTick(d.bind(null,ie,z))})}return Object.setPrototypeOf(O,Object.getPrototypeOf(D)),Object.defineProperties(O,e(D)),O}n.callbackify=k})(util$6);var pubsuffixPsl={},psl$1={};const require$$1$4=["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","bet.ar","com.ar","coop.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","mutual.ar","net.ar","org.ar","senasa.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","sth.ac.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","app.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bib.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","coz.br","cri.br","cuiaba.br","curitiba.br","def.br","des.br","det.br","dev.br","ecn.br","eco.br","edu.br","emp.br","enf.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","geo.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","log.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","rep.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","seg.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","tec.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","com.cv","edu.cv","int.cv","nome.cv","org.cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","mil.cy","net.cy","org.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","art.dz","asso.dz","com.dz","edu.dz","gov.dz","org.dz","net.dz","pol.dz","soc.dz","tm.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","com.fm","edu.fm","net.fm","org.fm","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","edu.gd","gov.gd","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个��.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","com.ky","edu.ky","net.ky","org.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","biz.my","com.my","edu.my","gov.my","mil.my","name.my","net.my","org.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","me.ss","net.ss","org.ss","sch.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","info.tn","intl.tn","mincom.tn","nat.tn","net.tn","org.tn","perso.tn","tourism.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","bib.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","nom.ve","org.ve","rar.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","البحرين","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ລາວ","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","ye","com.ye","edu.ye","gov.ye","net.ye","mil.ye","org.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afl","africa","agakhan","agency","aig","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","catering","catholic","cba","cbn","cbre","cbs","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","jaguar","java","jcb","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kids","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","music","mutual","nab","nagoya","natura","navy","nba","nec","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","racing","radio","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiss","sydney","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","611.to","graphox.us","*.devcdnaccesso.com","adobeaemcloud.com","*.dev.adobeaemcloud.com","hlx.live","adobeaemcloud.net","hlx.page","hlx3.page","beep.pl","airkitapps.com","airkitapps-au.com","airkitapps.eu","aivencloud.com","barsy.ca","*.compute.estate","*.alces.network","kasserver.com","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","awsglobalaccelerator.com","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","t3l3p0rt.net","tele.amune.org","apigee.io","siiites.com","appspacehosted.com","appspaceusercontent.com","appudo.net","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","cdn.prod.atlassian-dev.net","translated.page","myfritz.net","onavstack.net","*.awdev.ca","*.advisor.ws","ecommerce-shop.pl","b-data.io","backplaneapp.io","balena-devices.com","rs.ba","*.banzai.cloud","app.banzaicloud.io","*.backyards.banzaicloud.io","base.ec","official.ec","buyshop.jp","fashionstore.jp","handcrafted.jp","kawaiishop.jp","supersale.jp","theshop.jp","shopselect.net","base.shop","*.beget.app","betainabox.com","bnr.la","bitbucket.io","blackbaudcdn.net","of.je","bluebite.io","boomla.net","boutir.com","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","shop.brendly.rs","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","cafjs.com","mycd.eu","drr.ac","uwu.ai","carrd.co","crd.co","ju.mp","ae.org","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.net","hu.net","jp.net","jpn.com","mex.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","za.bz","za.com","ar.com","hu.com","kr.com","no.com","qc.com","uy.com","africa.com","gr.com","in.net","web.in","us.org","co.com","aus.basketball","nz.basketball","radio.am","radio.fm","c.la","certmgr.org","cx.ua","discourse.group","discourse.team","cleverapps.io","clerk.app","clerkstage.app","*.lcl.dev","*.lclstage.dev","*.stg.dev","*.stgstage.dev","clickrising.net","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","*.cloudera.site","pages.dev","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cnpy.gdn","codeberg.page","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","curv.dev","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","fnwk.site","folionetwork.site","platform0.app","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","dyndns.dappnode.io","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","demo.datadetect.com","instance.datadetect.com","edgestack.me","ddns5.com","debian.net","deno.dev","deno-staging.dev","dedyn.io","deta.app","deta.dev","*.rss.my.id","*.diher.solutions","discordsays.com","discordsez.com","jozi.biz","dnshome.de","online.th","shop.th","drayddns.com","shoparena.pl","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","bip.sh","bitbridge.net","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","ondigitalocean.app","*.digitaloceanspaces.com","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","eero.online","eero-stage.online","elementor.cloud","elementor.cool","en-root.fr","mytuleap.com","tuleap-partners.com","encr.app","encoreapi.com","onred.one","staging.onred.one","eu.encoway.cloud","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eurodir.ru","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","onfabrica.com","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","edgecompute.app","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastvps-server.com","fastvps.host","myfast.host","fastvps.site","myfast.space","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","conn.uk","copro.uk","hosp.uk","mydobiss.com","fh-muenster.io","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","fireweb.app","flap.id","onflashdrive.app","fldrv.com","fly.dev","edgeapp.net","shw.io","flynnhosting.net","forgeblocks.com","id.forgerock.io","framer.app","framercanvas.com","*.frusky.de","ravpage.co.il","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","freemyip.com","wien.funkfeuer.at","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","independent-commission.uk","independent-inquest.uk","independent-inquiry.uk","independent-panel.uk","independent-review.uk","public-inquiry.uk","royal-commission.uk","campaign.gov.uk","service.gov.uk","api.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","gentlentapis.com","lab.ms","cdn-edges.net","ghost.io","gsj.bz","githubusercontent.com","githubpreview.dev","github.io","gitlab.io","gitapp.si","gitpage.si","glitch.me","nog.community","co.ro","shop.ro","lolipop.io","angry.jp","babyblue.jp","babymilk.jp","backdrop.jp","bambina.jp","bitter.jp","blush.jp","boo.jp","boy.jp","boyfriend.jp","but.jp","candypop.jp","capoo.jp","catfood.jp","cheap.jp","chicappa.jp","chillout.jp","chips.jp","chowder.jp","chu.jp","ciao.jp","cocotte.jp","coolblog.jp","cranky.jp","cutegirl.jp","daa.jp","deca.jp","deci.jp","digick.jp","egoism.jp","fakefur.jp","fem.jp","flier.jp","floppy.jp","fool.jp","frenchkiss.jp","girlfriend.jp","girly.jp","gloomy.jp","gonna.jp","greater.jp","hacca.jp","heavy.jp","her.jp","hiho.jp","hippy.jp","holy.jp","hungry.jp","icurus.jp","itigo.jp","jellybean.jp","kikirara.jp","kill.jp","kilo.jp","kuron.jp","littlestar.jp","lolipopmc.jp","lolitapunk.jp","lomo.jp","lovepop.jp","lovesick.jp","main.jp","mods.jp","mond.jp","mongolian.jp","moo.jp","namaste.jp","nikita.jp","nobushi.jp","noor.jp","oops.jp","parallel.jp","parasite.jp","pecori.jp","peewee.jp","penne.jp","pepper.jp","perma.jp","pigboat.jp","pinoko.jp","punyu.jp","pupu.jp","pussycat.jp","pya.jp","raindrop.jp","readymade.jp","sadist.jp","schoolbus.jp","secret.jp","staba.jp","stripper.jp","sub.jp","sunnyday.jp","thick.jp","tonkotsu.jp","under.jp","upper.jp","velvet.jp","verse.jp","versus.jp","vivian.jp","watson.jp","weblike.jp","whitesnow.jp","zombie.jp","heteml.net","cloudapps.digital","london.cloudapps.digital","pymnt.uk","homeoffice.gov.uk","ro.im","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","*.gateway.dev","cloud.goog","translate.goog","*.usercontent.goog","cloudfunctions.net","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","goupile.fr","gov.nl","awsmppl.com","günstigbestellen.de","günstigliefern.de","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","pages.it.hs-heilbronn.de","hepforge.org","herokuapp.com","herokussl.com","ravendb.cloud","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","homesklep.pl","secaas.hk","hoplix.shop","orx.biz","biz.gl","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","edu.scot","sch.so","hostyhosting.io","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","ibxos.it","iliadboxos.it","impertrixcdn.com","impertrix.com","smushcdn.com","wphostedmail.com","wpmucdn.com","tempurl.host","wpmudev.host","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","na4u.ru","iopsys.se","ipifony.net","iservschule.de","mein-iserv.de","schulplattform.de","schulserver.de","test-iserv.de","iserv.dev","iobb.net","mel.cloudlets.com.au","cloud.interhostsolutions.be","users.scale.virtualcloud.com.br","mycloud.by","alp1.ae.flow.ch","appengine.flow.ch","es-1.axarnet.cloud","diadem.cloud","vip.jelastic.cloud","jele.cloud","it1.eur.aruba.jenv-aruba.cloud","it1.jenv-aruba.cloud","keliweb.cloud","cs.keliweb.cloud","oxa.cloud","tn.oxa.cloud","uk.oxa.cloud","primetel.cloud","uk.primetel.cloud","ca.reclaim.cloud","uk.reclaim.cloud","us.reclaim.cloud","ch.trendhosting.cloud","de.trendhosting.cloud","jele.club","amscompute.com","clicketcloud.com","dopaas.com","hidora.com","paas.hosted-by-previder.com","rag-cloud.hosteur.com","rag-cloud-ch.hosteur.com","jcloud.ik-server.com","jcloud-ver-jpc.ik-server.com","demo.jelastic.com","kilatiron.com","paas.massivegrid.com","jed.wafaicloud.com","lon.wafaicloud.com","ryd.wafaicloud.com","j.scaleforce.com.cy","jelastic.dogado.eu","fi.cloudplatform.fi","demo.datacenter.fi","paas.datacenter.fi","jele.host","mircloud.host","paas.beebyte.io","sekd1.beebyteapp.io","jele.io","cloud-fr1.unispace.io","jc.neen.it","cloud.jelastic.open.tim.it","jcloud.kz","upaas.kazteleport.kz","cloudjiffy.net","fra1-de.cloudjiffy.net","west1-us.cloudjiffy.net","jls-sto1.elastx.net","jls-sto2.elastx.net","jls-sto3.elastx.net","faststacks.net","fr-1.paas.massivegrid.net","lon-1.paas.massivegrid.net","lon-2.paas.massivegrid.net","ny-1.paas.massivegrid.net","ny-2.paas.massivegrid.net","sg-1.paas.massivegrid.net","jelastic.saveincloud.net","nordeste-idc.saveincloud.net","j.scaleforce.net","jelastic.tsukaeru.net","sdscloud.pl","unicloud.pl","mircloud.ru","jelastic.regruhosting.ru","enscaled.sg","jele.site","jelastic.team","orangecloud.tn","j.layershift.co.uk","phx.enscaled.us","mircloud.us","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","jotelulu.cloud","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","ktistory.com","kapsi.fi","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","koobin.events","oya.to","kuleuven.cloud","ezproxy.kuleuven.be","co.krd","edu.krd","krellian.net","webthings.io","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkyard.cloud","linkyard-cloud.ch","members.linode.com","*.nodebalancer.linode.com","*.linodeobjects.com","ip.linodeusercontent.com","we.bs","*.user.localcert.dev","localzone.xyz","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","servers.run","lohmus.me","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.ro","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","cn.vu","mazeplay.com","mcpe.me","mcdir.me","mcdir.ru","mcpre.ru","vps.mcdir.ru","mediatech.by","mediatech.dev","hra.health","miniserver.com","memset.net","messerli.app","*.cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","*.azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","azurestaticapps.net","1.azurestaticapps.net","centralus.azurestaticapps.net","eastasia.azurestaticapps.net","eastus2.azurestaticapps.net","westeurope.azurestaticapps.net","westus2.azurestaticapps.net","csx.cc","mintere.site","forte.id","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","hostedpi.com","customer.mythic-beasts.com","caracal.mythic-beasts.com","fentiger.mythic-beasts.com","lynx.mythic-beasts.com","ocelot.mythic-beasts.com","oncilla.mythic-beasts.com","onza.mythic-beasts.com","sphinx.mythic-beasts.com","vs.mythic-beasts.com","x.mythic-beasts.com","yali.mythic-beasts.com","cust.retrosnub.co.uk","ui.nabu.casa","pony.club","of.fashion","in.london","of.london","from.marketing","with.marketing","for.men","repair.men","and.mom","for.mom","for.one","under.one","for.sale","that.win","from.work","to.work","cloud.nospamproxy.com","netlify.app","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","*.developer.app","noop.app","*.northflank.app","*.build.run","*.code.run","*.database.run","*.migration.run","noticeable.news","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","pcloud.host","nyc.mn","static.observableusercontent.com","cya.gg","omg.lol","cloudycluster.net","omniwe.site","service.one","nid.io","opensocial.site","opencraft.hosting","orsites.com","operaunite.com","tech.orange","authgear-staging.com","authgearapps.com","skygearapp.com","outsystemscloud.com","*.webpaas.ovh.net","*.hosting.ovh.net","ownprovider.com","own.pm","*.owo.codes","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","pagexl.com","*.paywhirl.com","bar0.net","bar1.net","bar2.net","rdv.to","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","lk3.ru","on-web.fr","bc.platform.sh","ent.platform.sh","eu.platform.sh","us.platform.sh","*.platformsh.site","*.tst.site","platter-app.com","platter-app.dev","platterp.us","pdns.page","plesk.page","pleskns.com","dyn53.io","onporter.run","co.bn","postman-echo.com","pstmn.io","mock.pstmn.io","httpbin.org","prequalifyme.today","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","pythonanywhere.com","eu.pythonanywhere.com","qoto.io","qualifioapp.com","qbuser.com","cloudsite.builders","instances.spawn.cc","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","g.vbrplsbx.io","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","id.repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","wellbeingzone.co.uk","adimo.co.uk","itcouldbewor.se","git-pages.rit.edu","rocky.page","биз.рус","ком.рус","крым.рус","мир.рус","мск.рус","орг.рус","самара.рус","сочи.рус","спб.рус","я.рус","*.builder.code.com","*.dev-builder.code.com","*.stg-builder.code.com","sandcats.io","logoip.de","logoip.com","fr-par-1.baremetal.scw.cloud","fr-par-2.baremetal.scw.cloud","nl-ams-1.baremetal.scw.cloud","fnc.fr-par.scw.cloud","functions.fnc.fr-par.scw.cloud","k8s.fr-par.scw.cloud","nodes.k8s.fr-par.scw.cloud","s3.fr-par.scw.cloud","s3-website.fr-par.scw.cloud","whm.fr-par.scw.cloud","priv.instances.scw.cloud","pub.instances.scw.cloud","k8s.scw.cloud","k8s.nl-ams.scw.cloud","nodes.k8s.nl-ams.scw.cloud","s3.nl-ams.scw.cloud","s3-website.nl-ams.scw.cloud","whm.nl-ams.scw.cloud","k8s.pl-waw.scw.cloud","nodes.k8s.pl-waw.scw.cloud","s3.pl-waw.scw.cloud","s3-website.pl-waw.scw.cloud","scalebook.scw.cloud","smartlabeling.scw.cloud","dedibox.fr","schokokeks.net","gov.scot","service.gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","seidat.net","sellfy.store","senseering.net","minisite.ms","magnet.page","biz.ua","co.ua","pp.ua","shiftcrypto.dev","shiftcrypto.io","shiftedit.io","myshopblocks.com","myshopify.com","shopitsite.com","shopware.store","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","small-web.org","vp4.me","try-snowplow.com","srht.site","stackhero-network.com","musician.io","novecore.site","static.land","dev.static.land","sites.static.land","storebase.store","vps-host.net","atl.jelastic.vps-host.net","njs.jelastic.vps-host.net","ric.jelastic.vps-host.net","playstation-cloud.com","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","myspreadshop.at","myspreadshop.com.au","myspreadshop.be","myspreadshop.ca","myspreadshop.ch","myspreadshop.com","myspreadshop.de","myspreadshop.dk","myspreadshop.es","myspreadshop.fi","myspreadshop.fr","myspreadshop.ie","myspreadshop.it","myspreadshop.net","myspreadshop.nl","myspreadshop.no","myspreadshop.pl","myspreadshop.se","myspreadshop.co.uk","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","supabase.co","supabase.in","supabase.net","su.paba.se","*.s5y.io","*.sensiosite.cloud","syncloud.it","dscloud.biz","direct.quickconnect.cn","dsmynas.com","familyds.com","diskstation.me","dscloud.me","i234.me","myds.me","synology.me","dscloud.mobi","dsmynas.net","familyds.net","dsmynas.org","familyds.org","vpnplus.to","direct.quickconnect.to","tabitorder.co.il","taifun-dns.de","beta.tailscale.net","ts.net","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","site.tb-hosting.com","edugit.io","s3.teckids.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","*.firenet.ch","*.svc.firenet.ch","reservd.com","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","reservd.dev.thingdust.io","reservd.disrec.thingdust.io","reservd.testing.thingdust.io","tickets.io","arvo.network","azimuth.network","tlon.network","torproject.net","pages.torproject.net","bloxcms.com","townnews-staging.com","tbits.me","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","site.transip.me","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","typedream.app","pro.typeform.com","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","name.pm","sch.tf","biz.wf","sch.wf","org.yt","virtualuser.de","virtual-user.de","upli.io","urown.cloud","dnsupdate.info","lib.de.us","2038.io","vercel.app","vercel.dev","now.sh","router.management","v-info.info","voorloper.cloud","neko.am","nyaa.am","be.ax","cat.ax","es.ax","eu.ax","gg.ax","mc.ax","us.ax","xy.ax","nl.ci","xx.gl","app.gp","blog.gt","de.gt","to.gt","be.gy","cc.hn","blog.kg","io.kg","jp.kg","tv.kg","uk.kg","us.kg","de.ls","at.md","de.md","jp.md","to.md","indie.porn","vxl.sh","ch.tc","me.tc","we.tc","nyan.to","at.vg","blog.vu","dev.vu","me.vu","v.ua","*.vultrobjects.com","wafflecell.com","*.webhare.dev","reserve-online.net","reserve-online.com","bookonline.app","hotelwithflight.com","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","pages.wiardweb.com","wmflabs.org","toolforge.org","wmcloud.org","panel.gg","daemon.panel.gg","messwithdns.com","woltlab-demo.com","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","affinitylottery.org.uk","raffleentry.org.uk","weeklylottery.org.uk","wpenginepowered.com","js.wpenginepowered.com","wixsite.com","editorx.io","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","ynh.fr","nohost.me","noho.st","za.net","za.org","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"];(function(n){var e=requirePunycode(),o={};o.rules=require$$1$4.map(function(l){return{rule:l,suffix:l.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:l.charAt(0)==="*",exception:l.charAt(0)==="!"}}),o.endsWith=function(l,t){return l.indexOf(t,l.length-t.length)!==-1},o.findRule=function(l){var t=e.toASCII(l);return o.rules.reduce(function(u,h){return h.punySuffix===-1&&(h.punySuffix=e.toASCII(h.suffix)),!o.endsWith(t,"."+h.punySuffix)&&t!==h.punySuffix?u:h},null)},n.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},o.validate=function(l){var t=e.toASCII(l);if(t.length<1)return"DOMAIN_TOO_SHORT";if(t.length>255)return"DOMAIN_TOO_LONG";for(var u=t.split("."),h,v=0;v<u.length;++v){if(h=u[v],!h.length)return"LABEL_TOO_SHORT";if(h.length>63)return"LABEL_TOO_LONG";if(h.charAt(0)==="-")return"LABEL_STARTS_WITH_DASH";if(h.charAt(h.length-1)==="-")return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(h))return"LABEL_INVALID_CHARS"}},n.parse=function(l){if(typeof l!="string")throw new TypeError("Domain name must be a string.");var t=l.slice(0).toLowerCase();t.charAt(t.length-1)==="."&&(t=t.slice(0,t.length-1));var u=o.validate(t);if(u)return{input:l,error:{message:n.errorCodes[u],code:u}};var h={input:l,tld:null,sld:null,domain:null,subdomain:null,listed:!1},v=t.split(".");if(v[v.length-1]==="local")return h;var w=function(){return/xn--/.test(t)&&(h.domain&&(h.domain=e.toASCII(h.domain)),h.subdomain&&(h.subdomain=e.toASCII(h.subdomain))),h},A=o.findRule(t);if(!A)return v.length<2?h:(h.tld=v.pop(),h.sld=v.pop(),h.domain=[h.sld,h.tld].join("."),v.length&&(h.subdomain=v.pop()),w());h.listed=!0;var E=A.suffix.split("."),C=v.slice(0,v.length-E.length);return A.exception&&C.push(E.shift()),h.tld=E.join("."),!C.length||(A.wildcard&&(E.unshift(C.pop()),h.tld=E.join(".")),!C.length)||(h.sld=C.pop(),h.domain=[h.sld,h.tld].join("."),C.length&&(h.subdomain=C.join("."))),w()},n.get=function(l){return l&&n.parse(l).domain||null},n.isValid=function(l){var t=n.parse(l);return!!(t.domain&&t.listed)}})(psl$1);/*!
  * Copyright (c) 2018, Salesforce.com, Inc.
  * All rights reserved.
  *
@@ -700,7 +547,7 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */var psl=psl$1;function getPublicSuffix(t){return psl.get(t)}pubsuffixPsl.getPublicSuffix=getPublicSuffix;var store={};/*!
+ */var psl=psl$1;function getPublicSuffix(n){return psl.get(n)}pubsuffixPsl.getPublicSuffix=getPublicSuffix;var store={};/*!
  * Copyright (c) 2015, Salesforce.com, Inc.
  * All rights reserved.
  *
@@ -729,7 +576,7 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */function Store$2(){}store.Store=Store$2,Store$2.prototype.synchronous=!1,Store$2.prototype.findCookie=function(t,e,n,o){throw new Error("findCookie is not implemented")},Store$2.prototype.findCookies=function(t,e,n){throw new Error("findCookies is not implemented")},Store$2.prototype.putCookie=function(t,e){throw new Error("putCookie is not implemented")},Store$2.prototype.updateCookie=function(t,e,n){throw new Error("updateCookie is not implemented")},Store$2.prototype.removeCookie=function(t,e,n,o){throw new Error("removeCookie is not implemented")},Store$2.prototype.removeCookies=function(t,e,n){throw new Error("removeCookies is not implemented")},Store$2.prototype.removeAllCookies=function(t){throw new Error("removeAllCookies is not implemented")},Store$2.prototype.getAllCookies=function(t){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")};var memstore={},permuteDomain$2={};/*!
+ */function Store$2(){}store.Store=Store$2,Store$2.prototype.synchronous=!1,Store$2.prototype.findCookie=function(n,e,o,l){throw new Error("findCookie is not implemented")},Store$2.prototype.findCookies=function(n,e,o){throw new Error("findCookies is not implemented")},Store$2.prototype.putCookie=function(n,e){throw new Error("putCookie is not implemented")},Store$2.prototype.updateCookie=function(n,e,o){throw new Error("updateCookie is not implemented")},Store$2.prototype.removeCookie=function(n,e,o,l){throw new Error("removeCookie is not implemented")},Store$2.prototype.removeCookies=function(n,e,o){throw new Error("removeCookies is not implemented")},Store$2.prototype.removeAllCookies=function(n){throw new Error("removeAllCookies is not implemented")},Store$2.prototype.getAllCookies=function(n){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")};var memstore={},permuteDomain$2={};/*!
  * Copyright (c) 2015, Salesforce.com, Inc.
  * All rights reserved.
  *
@@ -758,7 +605,7 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */var pubsuffix$1=pubsuffixPsl;function permuteDomain$1(t){var e=pubsuffix$1.getPublicSuffix(t);if(!e)return null;if(e==t)return[t];for(var n=t.slice(0,-(e.length+1)),o=n.split(".").reverse(),u=e,l=[u];o.length;)u=o.shift()+"."+u,l.push(u);return l}permuteDomain$2.permuteDomain=permuteDomain$1;var pathMatch$3={};/*!
+ */var pubsuffix$1=pubsuffixPsl;function permuteDomain$1(n){var e=pubsuffix$1.getPublicSuffix(n);if(!e)return null;if(e==n)return[n];for(var o=n.slice(0,-(e.length+1)),l=o.split(".").reverse(),t=e,u=[t];l.length;)t=l.shift()+"."+t,u.push(t);return u}permuteDomain$2.permuteDomain=permuteDomain$1;var pathMatch$3={};/*!
  * Copyright (c) 2015, Salesforce.com, Inc.
  * All rights reserved.
  *
@@ -787,7 +634,7 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */function pathMatch$2(t,e){if(e===t)return!0;var n=t.indexOf(e);return n===0&&(e.substr(-1)==="/"||t.substr(e.length,1)==="/")}pathMatch$3.pathMatch=pathMatch$2;/*!
+ */function pathMatch$2(n,e){if(e===n)return!0;var o=n.indexOf(e);return o===0&&(e.substr(-1)==="/"||n.substr(e.length,1)==="/")}pathMatch$3.pathMatch=pathMatch$2;/*!
  * Copyright (c) 2015, Salesforce.com, Inc.
  * All rights reserved.
  *
@@ -816,7 +663,7 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */var Store$1=store.Store,permuteDomain=permuteDomain$2.permuteDomain,pathMatch$1=pathMatch$3.pathMatch,util$5=util$6;function MemoryCookieStore$1(){Store$1.call(this),this.idx={}}util$5.inherits(MemoryCookieStore$1,Store$1),memstore.MemoryCookieStore=MemoryCookieStore$1,MemoryCookieStore$1.prototype.idx=null,MemoryCookieStore$1.prototype.synchronous=!0,MemoryCookieStore$1.prototype.inspect=function(){return"{ idx: "+util$5.inspect(this.idx,!1,2)+" }"},util$5.inspect.custom&&(MemoryCookieStore$1.prototype[util$5.inspect.custom]=MemoryCookieStore$1.prototype.inspect),MemoryCookieStore$1.prototype.findCookie=function(t,e,n,o){return!this.idx[t]||!this.idx[t][e]?o(null,void 0):o(null,this.idx[t][e][n]||null)},MemoryCookieStore$1.prototype.findCookies=function(t,e,n){var o=[];if(!t)return n(null,[]);var u;e?u=function(E){Object.keys(E).forEach(function(C){if(pathMatch$1(e,C)){var k=E[C];for(var A in k)o.push(k[A])}})}:u=function(E){for(var C in E){var k=E[C];for(var A in k)o.push(k[A])}};var l=permuteDomain(t)||[t],m=this.idx;l.forEach(function(y){var E=m[y];E&&u(E)}),n(null,o)},MemoryCookieStore$1.prototype.putCookie=function(t,e){this.idx[t.domain]||(this.idx[t.domain]={}),this.idx[t.domain][t.path]||(this.idx[t.domain][t.path]={}),this.idx[t.domain][t.path][t.key]=t,e(null)},MemoryCookieStore$1.prototype.updateCookie=function(t,e,n){this.putCookie(e,n)},MemoryCookieStore$1.prototype.removeCookie=function(t,e,n,o){this.idx[t]&&this.idx[t][e]&&this.idx[t][e][n]&&delete this.idx[t][e][n],o(null)},MemoryCookieStore$1.prototype.removeCookies=function(t,e,n){return this.idx[t]&&(e?delete this.idx[t][e]:delete this.idx[t]),n(null)},MemoryCookieStore$1.prototype.removeAllCookies=function(t){return this.idx={},t(null)},MemoryCookieStore$1.prototype.getAllCookies=function(t){var e=[],n=this.idx,o=Object.keys(n);o.forEach(function(u){var l=Object.keys(n[u]);l.forEach(function(m){var y=Object.keys(n[u][m]);y.forEach(function(E){E!==null&&e.push(n[u][m][E])})})}),e.sort(function(u,l){return(u.creationIndex||0)-(l.creationIndex||0)}),t(null,e)};var version$2="2.5.0";/*!
+ */var Store$1=store.Store,permuteDomain=permuteDomain$2.permuteDomain,pathMatch$1=pathMatch$3.pathMatch,util$5=util$6;function MemoryCookieStore$1(){Store$1.call(this),this.idx={}}util$5.inherits(MemoryCookieStore$1,Store$1),memstore.MemoryCookieStore=MemoryCookieStore$1,MemoryCookieStore$1.prototype.idx=null,MemoryCookieStore$1.prototype.synchronous=!0,MemoryCookieStore$1.prototype.inspect=function(){return"{ idx: "+util$5.inspect(this.idx,!1,2)+" }"},util$5.inspect.custom&&(MemoryCookieStore$1.prototype[util$5.inspect.custom]=MemoryCookieStore$1.prototype.inspect),MemoryCookieStore$1.prototype.findCookie=function(n,e,o,l){return!this.idx[n]||!this.idx[n][e]?l(null,void 0):l(null,this.idx[n][e][o]||null)},MemoryCookieStore$1.prototype.findCookies=function(n,e,o){var l=[];if(!n)return o(null,[]);var t;e?t=function(w){Object.keys(w).forEach(function(A){if(pathMatch$1(e,A)){var E=w[A];for(var C in E)l.push(E[C])}})}:t=function(w){for(var A in w){var E=w[A];for(var C in E)l.push(E[C])}};var u=permuteDomain(n)||[n],h=this.idx;u.forEach(function(v){var w=h[v];w&&t(w)}),o(null,l)},MemoryCookieStore$1.prototype.putCookie=function(n,e){this.idx[n.domain]||(this.idx[n.domain]={}),this.idx[n.domain][n.path]||(this.idx[n.domain][n.path]={}),this.idx[n.domain][n.path][n.key]=n,e(null)},MemoryCookieStore$1.prototype.updateCookie=function(n,e,o){this.putCookie(e,o)},MemoryCookieStore$1.prototype.removeCookie=function(n,e,o,l){this.idx[n]&&this.idx[n][e]&&this.idx[n][e][o]&&delete this.idx[n][e][o],l(null)},MemoryCookieStore$1.prototype.removeCookies=function(n,e,o){return this.idx[n]&&(e?delete this.idx[n][e]:delete this.idx[n]),o(null)},MemoryCookieStore$1.prototype.removeAllCookies=function(n){return this.idx={},n(null)},MemoryCookieStore$1.prototype.getAllCookies=function(n){var e=[],o=this.idx,l=Object.keys(o);l.forEach(function(t){var u=Object.keys(o[t]);u.forEach(function(h){var v=Object.keys(o[t][h]);v.forEach(function(w){w!==null&&e.push(o[t][h][w])})})}),e.sort(function(t,u){return(t.creationIndex||0)-(u.creationIndex||0)}),n(null,e)};var version$2="2.5.0";/*!
  * Copyright (c) 2015, Salesforce.com, Inc.
  * All rights reserved.
  *
@@ -845,75 +692,75 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */var net=require$$1$5,urlParse=require$$2$2.parse,util$4=util$6,pubsuffix=pubsuffixPsl,Store=store.Store,MemoryCookieStore=memstore.MemoryCookieStore,pathMatch=pathMatch$3.pathMatch,VERSION=version$2,punycode;try{punycode=requirePunycode()}catch(t){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var COOKIE_OCTETS=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,CONTROL_CHARS=/[\x00-\x1F]/,TERMINATORS=[`
-`,"\r","\0"],PATH_VALUE=/[\x20-\x3A\x3C-\x7E]+/,DATE_DELIM=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,MONTH_TO_NUM={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},NUM_TO_MONTH=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],NUM_TO_DAY=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],MAX_TIME=2147483647e3,MIN_TIME=0;function parseDigits(t,e,n,o){for(var u=0;u<t.length;){var l=t.charCodeAt(u);if(l<=47||l>=58)break;u++}return u<e||u>n||!o&&u!=t.length?null:parseInt(t.substr(0,u),10)}function parseTime(t){var e=t.split(":"),n=[0,0,0];if(e.length!==3)return null;for(var o=0;o<3;o++){var u=o==2,l=parseDigits(e[o],1,2,u);if(l===null)return null;n[o]=l}return n}function parseMonth(t){t=String(t).substr(0,3).toLowerCase();var e=MONTH_TO_NUM[t];return e>=0?e:null}function parseDate(t){if(t){var e=t.split(DATE_DELIM);if(e){for(var n=null,o=null,u=null,l=null,m=null,y=null,E=0;E<e.length;E++){var C=e[E].trim();if(C.length){var k;if(u===null&&(k=parseTime(C),k)){n=k[0],o=k[1],u=k[2];continue}if(l===null&&(k=parseDigits(C,1,2,!0),k!==null)){l=k;continue}if(m===null&&(k=parseMonth(C),k!==null)){m=k;continue}y===null&&(k=parseDigits(C,2,4,!0),k!==null&&(y=k,y>=70&&y<=99?y+=1900:y>=0&&y<=69&&(y+=2e3)))}}if(!(l===null||m===null||y===null||u===null||l<1||l>31||y<1601||n>23||o>59||u>59))return new Date(Date.UTC(y,m,l,n,o,u))}}}function formatDate(t){var e=t.getUTCDate();e=e>=10?e:"0"+e;var n=t.getUTCHours();n=n>=10?n:"0"+n;var o=t.getUTCMinutes();o=o>=10?o:"0"+o;var u=t.getUTCSeconds();return u=u>=10?u:"0"+u,NUM_TO_DAY[t.getUTCDay()]+", "+e+" "+NUM_TO_MONTH[t.getUTCMonth()]+" "+t.getUTCFullYear()+" "+n+":"+o+":"+u+" GMT"}function canonicalDomain(t){return t==null?null:(t=t.trim().replace(/^\./,""),punycode&&/[^\u0001-\u007f]/.test(t)&&(t=punycode.toASCII(t)),t.toLowerCase())}function domainMatch(t,e,n){if(t==null||e==null)return null;if(n!==!1&&(t=canonicalDomain(t),e=canonicalDomain(e)),t==e)return!0;if(net.isIP(t))return!1;var o=t.indexOf(e);return!(o<=0||t.length!==e.length+o||t.substr(o-1,1)!==".")}function defaultPath(t){if(!t||t.substr(0,1)!=="/")return"/";if(t==="/")return t;var e=t.lastIndexOf("/");return e===0?"/":t.slice(0,e)}function trimTerminator(t){for(var e=0;e<TERMINATORS.length;e++){var n=t.indexOf(TERMINATORS[e]);n!==-1&&(t=t.substr(0,n))}return t}function parseCookiePair(t,e){t=trimTerminator(t);var n=t.indexOf("=");if(e)n===0&&(t=t.substr(1),n=t.indexOf("="));else if(n<=0)return;var o,u;if(n<=0?(o="",u=t.trim()):(o=t.substr(0,n).trim(),u=t.substr(n+1).trim()),!(CONTROL_CHARS.test(o)||CONTROL_CHARS.test(u))){var l=new Cookie$1;return l.key=o,l.value=u,l}}function parse$1(t,e){(!e||typeof e!="object")&&(e={}),t=t.trim();var n=t.indexOf(";"),o=n===-1?t:t.substr(0,n),u=parseCookiePair(o,!!e.loose);if(u){if(n===-1)return u;var l=t.slice(n+1).trim();if(l.length===0)return u;for(var m=l.split(";");m.length;){var y=m.shift().trim();if(y.length!==0){var E=y.indexOf("="),C,k;switch(E===-1?(C=y,k=null):(C=y.substr(0,E),k=y.substr(E+1)),C=C.trim().toLowerCase(),k&&(k=k.trim()),C){case"expires":if(k){var A=parseDate(k);A&&(u.expires=A)}break;case"max-age":if(k&&/^-?[0-9]+$/.test(k)){var D=parseInt(k,10);u.setMaxAge(D)}break;case"domain":if(k){var P=k.trim().replace(/^\./,"");P&&(u.domain=P.toLowerCase())}break;case"path":u.path=k&&k[0]==="/"?k:null;break;case"secure":u.secure=!0;break;case"httponly":u.httpOnly=!0;break;default:u.extensions=u.extensions||[],u.extensions.push(y);break}}}return u}}function jsonParse(t){var e;try{e=JSON.parse(t)}catch(n){return n}return e}function fromJSON(t){if(!t)return null;var e;if(typeof t=="string"){if(e=jsonParse(t),e instanceof Error)return null}else e=t;for(var n=new Cookie$1,o=0;o<Cookie$1.serializableProperties.length;o++){var u=Cookie$1.serializableProperties[o];e[u]===void 0||e[u]===Cookie$1.prototype[u]||(u==="expires"||u==="creation"||u==="lastAccessed"?e[u]===null?n[u]=null:n[u]=e[u]=="Infinity"?"Infinity":new Date(e[u]):n[u]=e[u])}return n}function cookieCompare(t,e){var n=0,o=t.path?t.path.length:0,u=e.path?e.path.length:0;if(n=u-o,n!==0)return n;var l=t.creation?t.creation.getTime():MAX_TIME,m=e.creation?e.creation.getTime():MAX_TIME;return n=l-m,n!==0||(n=t.creationIndex-e.creationIndex),n}function permutePath(t){if(t==="/")return["/"];t.lastIndexOf("/")===t.length-1&&(t=t.substr(0,t.length-1));for(var e=[t];t.length>1;){var n=t.lastIndexOf("/");if(n===0)break;t=t.substr(0,n),e.push(t)}return e.push("/"),e}function getCookieContext(t){if(t instanceof Object)return t;try{t=decodeURI(t)}catch{}return urlParse(t)}function Cookie$1(t){t=t||{},Object.keys(t).forEach(function(e){Cookie$1.prototype.hasOwnProperty(e)&&Cookie$1.prototype[e]!==t[e]&&e.substr(0,1)!=="_"&&(this[e]=t[e])},this),this.creation=this.creation||new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++Cookie$1.cookiesCreated})}Cookie$1.cookiesCreated=0,Cookie$1.parse=parse$1,Cookie$1.fromJSON=fromJSON,Cookie$1.prototype.key="",Cookie$1.prototype.value="",Cookie$1.prototype.expires="Infinity",Cookie$1.prototype.maxAge=null,Cookie$1.prototype.domain=null,Cookie$1.prototype.path=null,Cookie$1.prototype.secure=!1,Cookie$1.prototype.httpOnly=!1,Cookie$1.prototype.extensions=null,Cookie$1.prototype.hostOnly=null,Cookie$1.prototype.pathIsDefault=null,Cookie$1.prototype.creation=null,Cookie$1.prototype.lastAccessed=null,Object.defineProperty(Cookie$1.prototype,"creationIndex",{configurable:!0,enumerable:!1,writable:!0,value:0}),Cookie$1.serializableProperties=Object.keys(Cookie$1.prototype).filter(function(t){return!(Cookie$1.prototype[t]instanceof Function||t==="creationIndex"||t.substr(0,1)==="_")}),Cookie$1.prototype.inspect=function(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(this.hostOnly!=null?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'},util$4.inspect.custom&&(Cookie$1.prototype[util$4.inspect.custom]=Cookie$1.prototype.inspect),Cookie$1.prototype.toJSON=function(){for(var t={},e=Cookie$1.serializableProperties,n=0;n<e.length;n++){var o=e[n];this[o]!==Cookie$1.prototype[o]&&(o==="expires"||o==="creation"||o==="lastAccessed"?this[o]===null?t[o]=null:t[o]=this[o]=="Infinity"?"Infinity":this[o].toISOString():o==="maxAge"?this[o]!==null&&(t[o]=this[o]==1/0||this[o]==-1/0?this[o].toString():this[o]):this[o]!==Cookie$1.prototype[o]&&(t[o]=this[o]))}return t},Cookie$1.prototype.clone=function(){return fromJSON(this.toJSON())},Cookie$1.prototype.validate=function(){if(!COOKIE_OCTETS.test(this.value)||this.expires!=1/0&&!(this.expires instanceof Date)&&!parseDate(this.expires)||this.maxAge!=null&&this.maxAge<=0||this.path!=null&&!PATH_VALUE.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\.$/))return!1;var n=pubsuffix.getPublicSuffix(e);if(n==null)return!1}return!0},Cookie$1.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=parseDate(e)||"Infinity"},Cookie$1.prototype.setMaxAge=function(e){e===1/0||e===-1/0?this.maxAge=e.toString():this.maxAge=e},Cookie$1.prototype.cookieString=function(){var e=this.value;return e==null&&(e=""),this.key===""?e:this.key+"="+e},Cookie$1.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(this.expires instanceof Date?e+="; Expires="+formatDate(this.expires):e+="; Expires="+this.expires),this.maxAge!=null&&this.maxAge!=1/0&&(e+="; Max-Age="+this.maxAge),this.domain&&!this.hostOnly&&(e+="; Domain="+this.domain),this.path&&(e+="; Path="+this.path),this.secure&&(e+="; Secure"),this.httpOnly&&(e+="; HttpOnly"),this.extensions&&this.extensions.forEach(function(n){e+="; "+n}),e},Cookie$1.prototype.TTL=function(e){if(this.maxAge!=null)return this.maxAge<=0?0:this.maxAge*1e3;var n=this.expires;return n!=1/0?(n instanceof Date||(n=parseDate(n)||1/0),n==1/0?1/0:n.getTime()-(e||Date.now())):1/0},Cookie$1.prototype.expiryTime=function(e){if(this.maxAge!=null){var n=e||this.creation||new Date,o=this.maxAge<=0?-1/0:this.maxAge*1e3;return n.getTime()+o}return this.expires==1/0?1/0:this.expires.getTime()},Cookie$1.prototype.expiryDate=function(e){var n=this.expiryTime(e);return n==1/0?new Date(MAX_TIME):n==-1/0?new Date(MIN_TIME):new Date(n)},Cookie$1.prototype.isPersistent=function(){return this.maxAge!=null||this.expires!=1/0},Cookie$1.prototype.cdomain=Cookie$1.prototype.canonicalizedDomain=function(){return this.domain==null?null:canonicalDomain(this.domain)};function CookieJar$1(t,e){typeof e=="boolean"?e={rejectPublicSuffixes:e}:e==null&&(e={}),e.rejectPublicSuffixes!=null&&(this.rejectPublicSuffixes=e.rejectPublicSuffixes),e.looseMode!=null&&(this.enableLooseMode=e.looseMode),t||(t=new MemoryCookieStore),this.store=t}CookieJar$1.prototype.store=null,CookieJar$1.prototype.rejectPublicSuffixes=!0,CookieJar$1.prototype.enableLooseMode=!1;var CAN_BE_SYNC=[];CAN_BE_SYNC.push("setCookie"),CookieJar$1.prototype.setCookie=function(t,e,n,o){var u,l=getCookieContext(e);n instanceof Function&&(o=n,n={});var m=canonicalDomain(l.hostname),y=this.enableLooseMode;if(n.loose!=null&&(y=n.loose),t instanceof Cookie$1||(t=Cookie$1.parse(t,{loose:y})),!t)return u=new Error("Cookie failed to parse"),o(n.ignoreError?null:u);var E=n.now||new Date;if(this.rejectPublicSuffixes&&t.domain){var C=pubsuffix.getPublicSuffix(t.cdomain());if(C==null)return u=new Error("Cookie has domain set to a public suffix"),o(n.ignoreError?null:u)}if(t.domain){if(!domainMatch(m,t.cdomain(),!1))return u=new Error("Cookie not in this host's domain. Cookie:"+t.cdomain()+" Request:"+m),o(n.ignoreError?null:u);t.hostOnly==null&&(t.hostOnly=!1)}else t.hostOnly=!0,t.domain=m;if((!t.path||t.path[0]!=="/")&&(t.path=defaultPath(l.pathname),t.pathIsDefault=!0),n.http===!1&&t.httpOnly)return u=new Error("Cookie is HttpOnly and this isn't an HTTP API"),o(n.ignoreError?null:u);var k=this.store;k.updateCookie||(k.updateCookie=function(D,P,R){this.putCookie(P,R)});function A(D,P){if(D)return o(D);var R=function(B){if(B)return o(B);o(null,t)};if(P){if(n.http===!1&&P.httpOnly)return D=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),o(n.ignoreError?null:D);t.creation=P.creation,t.creationIndex=P.creationIndex,t.lastAccessed=E,k.updateCookie(P,t,R)}else t.creation=t.lastAccessed=E,k.putCookie(t,R)}k.findCookie(t.domain,t.path,t.key,A)},CAN_BE_SYNC.push("getCookies"),CookieJar$1.prototype.getCookies=function(t,e,n){var o=getCookieContext(t);e instanceof Function&&(n=e,e={});var u=canonicalDomain(o.hostname),l=o.pathname||"/",m=e.secure;m==null&&o.protocol&&(o.protocol=="https:"||o.protocol=="wss:")&&(m=!0);var y=e.http;y==null&&(y=!0);var E=e.now||Date.now(),C=e.expire!==!1,k=!!e.allPaths,A=this.store;function D(P){if(P.hostOnly){if(P.domain!=u)return!1}else if(!domainMatch(u,P.domain,!1))return!1;return!k&&!pathMatch(l,P.path)||P.secure&&!m||P.httpOnly&&!y?!1:C&&P.expiryTime()<=E?(A.removeCookie(P.domain,P.path,P.key,function(){}),!1):!0}A.findCookies(u,k?null:l,function(P,R){if(P)return n(P);R=R.filter(D),e.sort!==!1&&(R=R.sort(cookieCompare));var B=new Date;R.forEach(function(F){F.lastAccessed=B}),n(null,R)})},CAN_BE_SYNC.push("getCookieString"),CookieJar$1.prototype.getCookieString=function(){var t=Array.prototype.slice.call(arguments,0),e=t.pop(),n=function(o,u){o?e(o):e(null,u.sort(cookieCompare).map(function(l){return l.cookieString()}).join("; "))};t.push(n),this.getCookies.apply(this,t)},CAN_BE_SYNC.push("getSetCookieStrings"),CookieJar$1.prototype.getSetCookieStrings=function(){var t=Array.prototype.slice.call(arguments,0),e=t.pop(),n=function(o,u){o?e(o):e(null,u.map(function(l){return l.toString()}))};t.push(n),this.getCookies.apply(this,t)},CAN_BE_SYNC.push("serialize"),CookieJar$1.prototype.serialize=function(t){var e=this.store.constructor.name;e==="Object"&&(e=null);var n={version:"tough-cookie@"+VERSION,storeType:e,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!(this.store.getAllCookies&&typeof this.store.getAllCookies=="function"))return t(new Error("store does not support getAllCookies and cannot be serialized"));this.store.getAllCookies(function(o,u){return o?t(o):(n.cookies=u.map(function(l){return l=l instanceof Cookie$1?l.toJSON():l,delete l.creationIndex,l}),t(null,n))})},CookieJar$1.prototype.toJSON=function(){return this.serializeSync()},CAN_BE_SYNC.push("_importCookies"),CookieJar$1.prototype._importCookies=function(t,e){var n=this,o=t.cookies;if(!o||!Array.isArray(o))return e(new Error("serialized jar has no cookies array"));o=o.slice();function u(l){if(l)return e(l);if(!o.length)return e(l,n);var m;try{m=fromJSON(o.shift())}catch(y){return e(y)}if(m===null)return u(null);n.store.putCookie(m,u)}u()},CookieJar$1.deserialize=function(t,e,n){arguments.length!==3&&(n=e,e=null);var o;if(typeof t=="string"){if(o=jsonParse(t),o instanceof Error)return n(o)}else o=t;var u=new CookieJar$1(e,o.rejectPublicSuffixes);u._importCookies(o,function(l){if(l)return n(l);n(null,u)})},CookieJar$1.deserializeSync=function(t,e){var n=typeof t=="string"?JSON.parse(t):t,o=new CookieJar$1(e,n.rejectPublicSuffixes);if(!o.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return o._importCookiesSync(n),o},CookieJar$1.fromJSON=CookieJar$1.deserializeSync,CookieJar$1.prototype.clone=function(t,e){arguments.length===1&&(e=t,t=null),this.serialize(function(n,o){if(n)return e(n);CookieJar$1.deserialize(o,t,e)})},CAN_BE_SYNC.push("removeAllCookies"),CookieJar$1.prototype.removeAllCookies=function(t){var e=this.store;if(e.removeAllCookies instanceof Function&&e.removeAllCookies!==Store.prototype.removeAllCookies)return e.removeAllCookies(t);e.getAllCookies(function(n,o){if(n)return t(n);if(o.length===0)return t(null);var u=0,l=[];function m(y){if(y&&l.push(y),u++,u===o.length)return t(l.length?l[0]:null)}o.forEach(function(y){e.removeCookie(y.domain,y.path,y.key,m)})})},CookieJar$1.prototype._cloneSync=syncWrap("clone"),CookieJar$1.prototype.cloneSync=function(t){if(!t.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(t)};function syncWrap(t){return function(){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");var e=Array.prototype.slice.call(arguments),n,o;if(e.push(function(l,m){n=l,o=m}),this[t].apply(this,e),n)throw n;return o}}CAN_BE_SYNC.forEach(function(t){CookieJar$1.prototype[t+"Sync"]=syncWrap(t)}),cookie.version=VERSION,cookie.CookieJar=CookieJar$1,cookie.Cookie=Cookie$1,cookie.Store=Store,cookie.MemoryCookieStore=MemoryCookieStore,cookie.parseDate=parseDate,cookie.formatDate=formatDate,cookie.parse=parse$1,cookie.fromJSON=fromJSON,cookie.domainMatch=domainMatch,cookie.defaultPath=defaultPath,cookie.pathMatch=pathMatch,cookie.getPublicSuffix=pubsuffix.getPublicSuffix,cookie.cookieCompare=cookieCompare,cookie.permuteDomain=permuteDomain$2.permuteDomain,cookie.permutePath=permutePath,cookie.canonicalDomain=canonicalDomain;var tough=cookie,Cookie=tough.Cookie,CookieJar=tough.CookieJar;cookies$1.parse=function(t){if(t&&t.uri&&(t=t.uri),typeof t!="string")throw new Error("The cookie function only accepts STRING as param");return Cookie.parse(t,{loose:!0})};function RequestJar(t){var e=this;e._jar=new CookieJar(t,{looseMode:!0})}RequestJar.prototype.setCookie=function(t,e,n){var o=this;return o._jar.setCookieSync(t,e,n||{})},RequestJar.prototype.getCookieString=function(t){var e=this;return e._jar.getCookieStringSync(t)},RequestJar.prototype.getCookies=function(t){var e=this;return e._jar.getCookiesSync(t)},cookies$1.jar=function(t){return new RequestJar(t)};var helpers$1={},stringify={exports:{}};(function(t,e){e=t.exports=n,e.getSerialize=o;function n(u,l,m,y){return JSON.stringify(u,o(l,y),m)}function o(u,l){var m=[],y=[];return l==null&&(l=function(E,C){return m[0]===C?"[Circular ~]":"[Circular ~."+y.slice(0,m.indexOf(C)).join(".")+"]"}),function(E,C){if(m.length>0){var k=m.indexOf(this);~k?m.splice(k+1):m.push(this),~k?y.splice(k,1/0,E):y.push(E),~m.indexOf(C)&&(C=l.call(this,E,C))}else m.push(C);return u==null?C:u.call(this,E,C)}}})(stringify,stringify.exports);var stringifyExports=stringify.exports,cryptoBrowserify={},browser$d={exports:{}},safeBuffer$2={exports:{}};const require$$0$2=getAugmentedNamespace(dist);/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(t,e){var n=require$$0$2,o=n.Buffer;function u(m,y){for(var E in m)y[E]=m[E]}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(u(n,e),e.Buffer=l);function l(m,y,E){return o(m,y,E)}l.prototype=Object.create(o.prototype),u(o,l),l.from=function(m,y,E){if(typeof m=="number")throw new TypeError("Argument must not be a number");return o(m,y,E)},l.alloc=function(m,y,E){if(typeof m!="number")throw new TypeError("Argument must be a number");var C=o(m);return y!==void 0?typeof E=="string"?C.fill(y,E):C.fill(y):C.fill(0),C},l.allocUnsafe=function(m){if(typeof m!="number")throw new TypeError("Argument must be a number");return o(m)},l.allocUnsafeSlow=function(m){if(typeof m!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(m)}})(safeBuffer$2,safeBuffer$2.exports);var safeBufferExports$1=safeBuffer$2.exports,MAX_BYTES=65536,MAX_UINT32=4294967295;function oldBrowser$1(){throw new Error(`Secure random number generation is not supported by this browser.
-Use Chrome, Firefox or Internet Explorer 11`)}var Buffer$B=safeBufferExports$1.Buffer,crypto$3=commonjsGlobal$1.crypto||commonjsGlobal$1.msCrypto;crypto$3&&crypto$3.getRandomValues?browser$d.exports=randomBytes$2:browser$d.exports=oldBrowser$1;function randomBytes$2(t,e){if(t>MAX_UINT32)throw new RangeError("requested too many random bytes");var n=Buffer$B.allocUnsafe(t);if(t>0)if(t>MAX_BYTES)for(var o=0;o<t;o+=MAX_BYTES)crypto$3.getRandomValues(n.slice(o,o+MAX_BYTES));else crypto$3.getRandomValues(n);return typeof e=="function"?process$1.nextTick(function(){e(null,n)}):n}var browserExports=browser$d.exports,events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var t=typeof Reflect=="object"?Reflect:null,e=t&&typeof t.apply=="function"?t.apply:function(ie,ue,Q){return Function.prototype.apply.call(ie,ue,Q)},n;t&&typeof t.ownKeys=="function"?n=t.ownKeys:Object.getOwnPropertySymbols?n=function(ie){return Object.getOwnPropertyNames(ie).concat(Object.getOwnPropertySymbols(ie))}:n=function(ie){return Object.getOwnPropertyNames(ie)};function o(J){console&&console.warn&&console.warn(J)}var u=Number.isNaN||function(ie){return ie!==ie};function l(){l.init.call(this)}events.exports=l,events.exports.once=O,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var m=10;function y(J){if(typeof J!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof J)}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return m},set:function(J){if(typeof J!="number"||J<0||u(J))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+J+".");m=J}}),l.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(ie){if(typeof ie!="number"||ie<0||u(ie))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ie+".");return this._maxListeners=ie,this};function E(J){return J._maxListeners===void 0?l.defaultMaxListeners:J._maxListeners}l.prototype.getMaxListeners=function(){return E(this)},l.prototype.emit=function(ie){for(var ue=[],Q=1;Q<arguments.length;Q++)ue.push(arguments[Q]);var ce=ie==="error",he=this._events;if(he!==void 0)ce=ce&&he.error===void 0;else if(!ce)return!1;if(ce){var ke;if(ue.length>0&&(ke=ue[0]),ke instanceof Error)throw ke;var L=new Error("Unhandled error."+(ke?" ("+ke.message+")":""));throw L.context=ke,L}var d=he[ie];if(d===void 0)return!1;if(typeof d=="function")e(d,this,ue);else for(var v=d.length,w=R(d,v),Q=0;Q<v;++Q)e(w[Q],this,ue);return!0};function C(J,ie,ue,Q){var ce,he,ke;if(y(ue),he=J._events,he===void 0?(he=J._events=Object.create(null),J._eventsCount=0):(he.newListener!==void 0&&(J.emit("newListener",ie,ue.listener?ue.listener:ue),he=J._events),ke=he[ie]),ke===void 0)ke=he[ie]=ue,++J._eventsCount;else if(typeof ke=="function"?ke=he[ie]=Q?[ue,ke]:[ke,ue]:Q?ke.unshift(ue):ke.push(ue),ce=E(J),ce>0&&ke.length>ce&&!ke.warned){ke.warned=!0;var L=new Error("Possible EventEmitter memory leak detected. "+ke.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");L.name="MaxListenersExceededWarning",L.emitter=J,L.type=ie,L.count=ke.length,o(L)}return J}l.prototype.addListener=function(ie,ue){return C(this,ie,ue,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(ie,ue){return C(this,ie,ue,!0)};function k(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function A(J,ie,ue){var Q={fired:!1,wrapFn:void 0,target:J,type:ie,listener:ue},ce=k.bind(Q);return ce.listener=ue,Q.wrapFn=ce,ce}l.prototype.once=function(ie,ue){return y(ue),this.on(ie,A(this,ie,ue)),this},l.prototype.prependOnceListener=function(ie,ue){return y(ue),this.prependListener(ie,A(this,ie,ue)),this},l.prototype.removeListener=function(ie,ue){var Q,ce,he,ke,L;if(y(ue),ce=this._events,ce===void 0)return this;if(Q=ce[ie],Q===void 0)return this;if(Q===ue||Q.listener===ue)--this._eventsCount===0?this._events=Object.create(null):(delete ce[ie],ce.removeListener&&this.emit("removeListener",ie,Q.listener||ue));else if(typeof Q!="function"){for(he=-1,ke=Q.length-1;ke>=0;ke--)if(Q[ke]===ue||Q[ke].listener===ue){L=Q[ke].listener,he=ke;break}if(he<0)return this;he===0?Q.shift():B(Q,he),Q.length===1&&(ce[ie]=Q[0]),ce.removeListener!==void 0&&this.emit("removeListener",ie,L||ue)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(ie){var ue,Q,ce;if(Q=this._events,Q===void 0)return this;if(Q.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Q[ie]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Q[ie]),this;if(arguments.length===0){var he=Object.keys(Q),ke;for(ce=0;ce<he.length;++ce)ke=he[ce],ke!=="removeListener"&&this.removeAllListeners(ke);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(ue=Q[ie],typeof ue=="function")this.removeListener(ie,ue);else if(ue!==void 0)for(ce=ue.length-1;ce>=0;ce--)this.removeListener(ie,ue[ce]);return this};function D(J,ie,ue){var Q=J._events;if(Q===void 0)return[];var ce=Q[ie];return ce===void 0?[]:typeof ce=="function"?ue?[ce.listener||ce]:[ce]:ue?F(ce):R(ce,ce.length)}l.prototype.listeners=function(ie){return D(this,ie,!0)},l.prototype.rawListeners=function(ie){return D(this,ie,!1)},l.listenerCount=function(J,ie){return typeof J.listenerCount=="function"?J.listenerCount(ie):P.call(J,ie)},l.prototype.listenerCount=P;function P(J){var ie=this._events;if(ie!==void 0){var ue=ie[J];if(typeof ue=="function")return 1;if(ue!==void 0)return ue.length}return 0}l.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function R(J,ie){for(var ue=new Array(ie),Q=0;Q<ie;++Q)ue[Q]=J[Q];return ue}function B(J,ie){for(;ie+1<J.length;ie++)J[ie]=J[ie+1];J.pop()}function F(J){for(var ie=new Array(J.length),ue=0;ue<ie.length;++ue)ie[ue]=J[ue].listener||J[ue];return ie}function O(J,ie){return new Promise(function(ue,Q){function ce(ke){J.removeListener(ie,he),Q(ke)}function he(){typeof J.removeListener=="function"&&J.removeListener("error",ce),ue([].slice.call(arguments))}Y(J,ie,he,{once:!0}),ie!=="error"&&N(J,ce,{once:!0})})}function N(J,ie,ue){typeof J.on=="function"&&Y(J,"error",ie,ue)}function Y(J,ie,ue,Q){if(typeof J.on=="function")Q.once?J.once(ie,ue):J.on(ie,ue);else if(typeof J.addEventListener=="function")J.addEventListener(ie,function ce(he){Q.once&&J.removeEventListener(ie,ce),ue(he)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof J)}return events.exports}var streamBrowser$1,hasRequiredStreamBrowser;function requireStreamBrowser(){return hasRequiredStreamBrowser||(hasRequiredStreamBrowser=1,streamBrowser$1=requireEvents().EventEmitter),streamBrowser$1}var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function t(R,B){var F=Object.keys(R);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(R);B&&(O=O.filter(function(N){return Object.getOwnPropertyDescriptor(R,N).enumerable})),F.push.apply(F,O)}return F}function e(R){for(var B=1;B<arguments.length;B++){var F=arguments[B]!=null?arguments[B]:{};B%2?t(Object(F),!0).forEach(function(O){n(R,O,F[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(F)):t(Object(F)).forEach(function(O){Object.defineProperty(R,O,Object.getOwnPropertyDescriptor(F,O))})}return R}function n(R,B,F){return B=m(B),B in R?Object.defineProperty(R,B,{value:F,enumerable:!0,configurable:!0,writable:!0}):R[B]=F,R}function o(R,B){if(!(R instanceof B))throw new TypeError("Cannot call a class as a function")}function u(R,B){for(var F=0;F<B.length;F++){var O=B[F];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(R,m(O.key),O)}}function l(R,B,F){return B&&u(R.prototype,B),Object.defineProperty(R,"prototype",{writable:!1}),R}function m(R){var B=y(R,"string");return typeof B=="symbol"?B:String(B)}function y(R,B){if(typeof R!="object"||R===null)return R;var F=R[Symbol.toPrimitive];if(F!==void 0){var O=F.call(R,B||"default");if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(B==="string"?String:Number)(R)}var E=require$$0$2,C=E.Buffer,k=util$6,A=k.inspect,D=A&&A.custom||"inspect";function P(R,B,F){C.prototype.copy.call(R,B,F)}return buffer_list=function(){function R(){o(this,R),this.head=null,this.tail=null,this.length=0}return l(R,[{key:"push",value:function(F){var O={data:F,next:null};this.length>0?this.tail.next=O:this.head=O,this.tail=O,++this.length}},{key:"unshift",value:function(F){var O={data:F,next:this.head};this.length===0&&(this.tail=O),this.head=O,++this.length}},{key:"shift",value:function(){if(this.length!==0){var F=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,F}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(F){if(this.length===0)return"";for(var O=this.head,N=""+O.data;O=O.next;)N+=F+O.data;return N}},{key:"concat",value:function(F){if(this.length===0)return C.alloc(0);for(var O=C.allocUnsafe(F>>>0),N=this.head,Y=0;N;)P(N.data,O,Y),Y+=N.data.length,N=N.next;return O}},{key:"consume",value:function(F,O){var N;return F<this.head.data.length?(N=this.head.data.slice(0,F),this.head.data=this.head.data.slice(F)):F===this.head.data.length?N=this.shift():N=O?this._getString(F):this._getBuffer(F),N}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(F){var O=this.head,N=1,Y=O.data;for(F-=Y.length;O=O.next;){var J=O.data,ie=F>J.length?J.length:F;if(ie===J.length?Y+=J:Y+=J.slice(0,F),F-=ie,F===0){ie===J.length?(++N,O.next?this.head=O.next:this.head=this.tail=null):(this.head=O,O.data=J.slice(ie));break}++N}return this.length-=N,Y}},{key:"_getBuffer",value:function(F){var O=C.allocUnsafe(F),N=this.head,Y=1;for(N.data.copy(O),F-=N.data.length;N=N.next;){var J=N.data,ie=F>J.length?J.length:F;if(J.copy(O,O.length-F,0,ie),F-=ie,F===0){ie===J.length?(++Y,N.next?this.head=N.next:this.head=this.tail=null):(this.head=N,N.data=J.slice(ie));break}++Y}return this.length-=Y,O}},{key:D,value:function(F,O){return A(this,e(e({},O),{},{depth:0,customInspect:!1}))}}]),R}(),buffer_list}var destroy_1$1,hasRequiredDestroy;function requireDestroy(){if(hasRequiredDestroy)return destroy_1$1;hasRequiredDestroy=1;function t(m,y){var E=this,C=this._readableState&&this._readableState.destroyed,k=this._writableState&&this._writableState.destroyed;return C||k?(y?y(m):m&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process$1.nextTick(u,this,m)):process$1.nextTick(u,this,m)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(m||null,function(A){!y&&A?E._writableState?E._writableState.errorEmitted?process$1.nextTick(n,E):(E._writableState.errorEmitted=!0,process$1.nextTick(e,E,A)):process$1.nextTick(e,E,A):y?(process$1.nextTick(n,E),y(A)):process$1.nextTick(n,E)}),this)}function e(m,y){u(m,y),n(m)}function n(m){m._writableState&&!m._writableState.emitClose||m._readableState&&!m._readableState.emitClose||m.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function u(m,y){m.emit("error",y)}function l(m,y){var E=m._readableState,C=m._writableState;E&&E.autoDestroy||C&&C.autoDestroy?m.destroy(y):m.emit("error",y)}return destroy_1$1={destroy:t,undestroy:o,errorOrDestroy:l},destroy_1$1}var errorsBrowser={},hasRequiredErrorsBrowser;function requireErrorsBrowser(){if(hasRequiredErrorsBrowser)return errorsBrowser;hasRequiredErrorsBrowser=1;function t(y,E){y.prototype=Object.create(E.prototype),y.prototype.constructor=y,y.__proto__=E}var e={};function n(y,E,C){C||(C=Error);function k(D,P,R){return typeof E=="string"?E:E(D,P,R)}var A=function(D){t(P,D);function P(R,B,F){return D.call(this,k(R,B,F))||this}return P}(C);A.prototype.name=C.name,A.prototype.code=y,e[y]=A}function o(y,E){if(Array.isArray(y)){var C=y.length;return y=y.map(function(k){return String(k)}),C>2?"one of ".concat(E," ").concat(y.slice(0,C-1).join(", "),", or ")+y[C-1]:C===2?"one of ".concat(E," ").concat(y[0]," or ").concat(y[1]):"of ".concat(E," ").concat(y[0])}else return"of ".concat(E," ").concat(String(y))}function u(y,E,C){return y.substr(0,E.length)===E}function l(y,E,C){return(C===void 0||C>y.length)&&(C=y.length),y.substring(C-E.length,C)===E}function m(y,E,C){return typeof C!="number"&&(C=0),C+E.length>y.length?!1:y.indexOf(E,C)!==-1}return n("ERR_INVALID_OPT_VALUE",function(y,E){return'The value "'+E+'" is invalid for option "'+y+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(y,E,C){var k;typeof E=="string"&&u(E,"not ")?(k="must not be",E=E.replace(/^not /,"")):k="must be";var A;if(l(y," argument"))A="The ".concat(y," ").concat(k," ").concat(o(E,"type"));else{var D=m(y,".")?"property":"argument";A='The "'.concat(y,'" ').concat(D," ").concat(k," ").concat(o(E,"type"))}return A+=". Received type ".concat(typeof C),A},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(y){return"The "+y+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(y){return"Cannot call "+y+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(y){return"Unknown encoding: "+y},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),errorsBrowser.codes=e,errorsBrowser}var state,hasRequiredState;function requireState(){if(hasRequiredState)return state;hasRequiredState=1;var t=requireErrorsBrowser().codes.ERR_INVALID_OPT_VALUE;function e(o,u,l){return o.highWaterMark!=null?o.highWaterMark:u?o[l]:null}function n(o,u,l,m){var y=e(u,m,l);if(y!=null){if(!(isFinite(y)&&Math.floor(y)===y)||y<0){var E=m?l:"highWaterMark";throw new t(E,y)}return Math.floor(y)}return o.objectMode?16:16*1024}return state={getHighWaterMark:n},state}var browser$c,hasRequiredBrowser$5;function requireBrowser$5(){if(hasRequiredBrowser$5)return browser$c;hasRequiredBrowser$5=1,browser$c=t;function t(n,o){if(e("noDeprecation"))return n;var u=!1;function l(){if(!u){if(e("throwDeprecation"))throw new Error(o);e("traceDeprecation")?console.trace(o):console.warn(o),u=!0}return n.apply(this,arguments)}return l}function e(n){try{if(!commonjsGlobal$1.localStorage)return!1}catch{return!1}var o=commonjsGlobal$1.localStorage[n];return o==null?!1:String(o).toLowerCase()==="true"}return browser$c}var _stream_writable$1,hasRequired_stream_writable$1;function require_stream_writable$1(){if(hasRequired_stream_writable$1)return _stream_writable$1;hasRequired_stream_writable$1=1,_stream_writable$1=ce;function t(Z){var U=this;this.next=null,this.entry=null,this.finish=function(){ee(U,Z)}}var e;ce.WritableState=ue;var n={deprecate:requireBrowser$5()},o=requireStreamBrowser(),u=require$$0$2.Buffer,l=(typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function m(Z){return u.from(Z)}function y(Z){return u.isBuffer(Z)||Z instanceof l}var E=requireDestroy(),C=requireState(),k=C.getHighWaterMark,A=requireErrorsBrowser().codes,D=A.ERR_INVALID_ARG_TYPE,P=A.ERR_METHOD_NOT_IMPLEMENTED,R=A.ERR_MULTIPLE_CALLBACK,B=A.ERR_STREAM_CANNOT_PIPE,F=A.ERR_STREAM_DESTROYED,O=A.ERR_STREAM_NULL_VALUES,N=A.ERR_STREAM_WRITE_AFTER_END,Y=A.ERR_UNKNOWN_ENCODING,J=E.errorOrDestroy;inherits_browserExports(ce,o);function ie(){}function ue(Z,U,z){e=e||require_stream_duplex$1(),Z=Z||{},typeof z!="boolean"&&(z=U instanceof e),this.objectMode=!!Z.objectMode,z&&(this.objectMode=this.objectMode||!!Z.writableObjectMode),this.highWaterMark=k(this,Z,"writableHighWaterMark",z),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ne=Z.decodeStrings===!1;this.decodeStrings=!ne,this.defaultEncoding=Z.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(fe){p(U,fe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Z.emitClose!==!1,this.autoDestroy=!!Z.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}ue.prototype.getBuffer=function(){for(var U=this.bufferedRequest,z=[];U;)z.push(U),U=U.next;return z},function(){try{Object.defineProperty(ue.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var Q;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Q=Function.prototype[Symbol.hasInstance],Object.defineProperty(ce,Symbol.hasInstance,{value:function(U){return Q.call(this,U)?!0:this!==ce?!1:U&&U._writableState instanceof ue}})):Q=function(U){return U instanceof this};function ce(Z){e=e||require_stream_duplex$1();var U=this instanceof e;if(!U&&!Q.call(ce,this))return new ce(Z);this._writableState=new ue(Z,this,U),this.writable=!0,Z&&(typeof Z.write=="function"&&(this._write=Z.write),typeof Z.writev=="function"&&(this._writev=Z.writev),typeof Z.destroy=="function"&&(this._destroy=Z.destroy),typeof Z.final=="function"&&(this._final=Z.final)),o.call(this)}ce.prototype.pipe=function(){J(this,new B)};function he(Z,U){var z=new N;J(Z,z),process$1.nextTick(U,z)}function ke(Z,U,z,ne){var fe;return z===null?fe=new O:typeof z!="string"&&!U.objectMode&&(fe=new D("chunk",["string","Buffer"],z)),fe?(J(Z,fe),process$1.nextTick(ne,fe),!1):!0}ce.prototype.write=function(Z,U,z){var ne=this._writableState,fe=!1,me=!ne.objectMode&&y(Z);return me&&!u.isBuffer(Z)&&(Z=m(Z)),typeof U=="function"&&(z=U,U=null),me?U="buffer":U||(U=ne.defaultEncoding),typeof z!="function"&&(z=ie),ne.ending?he(this,z):(me||ke(this,ne,Z,z))&&(ne.pendingcb++,fe=d(this,ne,me,Z,U,z)),fe},ce.prototype.cork=function(){this._writableState.corked++},ce.prototype.uncork=function(){var Z=this._writableState;Z.corked&&(Z.corked--,!Z.writing&&!Z.corked&&!Z.bufferProcessing&&Z.bufferedRequest&&b(this,Z))},ce.prototype.setDefaultEncoding=function(U){if(typeof U=="string"&&(U=U.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((U+"").toLowerCase())>-1))throw new Y(U);return this._writableState.defaultEncoding=U,this},Object.defineProperty(ce.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function L(Z,U,z){return!Z.objectMode&&Z.decodeStrings!==!1&&typeof U=="string"&&(U=u.from(U,z)),U}Object.defineProperty(ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function d(Z,U,z,ne,fe,me){if(!z){var de=L(U,ne,fe);ne!==de&&(z=!0,fe="buffer",ne=de)}var Oe=U.objectMode?1:ne.length;U.length+=Oe;var lt=U.length<U.highWaterMark;if(lt||(U.needDrain=!0),U.writing||U.corked){var it=U.lastBufferedRequest;U.lastBufferedRequest={chunk:ne,encoding:fe,isBuf:z,callback:me,next:null},it?it.next=U.lastBufferedRequest:U.bufferedRequest=U.lastBufferedRequest,U.bufferedRequestCount+=1}else v(Z,U,!1,Oe,ne,fe,me);return lt}function v(Z,U,z,ne,fe,me,de){U.writelen=ne,U.writecb=de,U.writing=!0,U.sync=!0,U.destroyed?U.onwrite(new F("write")):z?Z._writev(fe,U.onwrite):Z._write(fe,me,U.onwrite),U.sync=!1}function w(Z,U,z,ne,fe){--U.pendingcb,z?(process$1.nextTick(fe,ne),process$1.nextTick(j,Z,U),Z._writableState.errorEmitted=!0,J(Z,ne)):(fe(ne),Z._writableState.errorEmitted=!0,J(Z,ne),j(Z,U))}function c(Z){Z.writing=!1,Z.writecb=null,Z.length-=Z.writelen,Z.writelen=0}function p(Z,U){var z=Z._writableState,ne=z.sync,fe=z.writecb;if(typeof fe!="function")throw new R;if(c(z),U)w(Z,z,ne,U,fe);else{var me=h(z)||Z.destroyed;!me&&!z.corked&&!z.bufferProcessing&&z.bufferedRequest&&b(Z,z),ne?process$1.nextTick(x,Z,z,me,fe):x(Z,z,me,fe)}}function x(Z,U,z,ne){z||S(Z,U),U.pendingcb--,ne(),j(Z,U)}function S(Z,U){U.length===0&&U.needDrain&&(U.needDrain=!1,Z.emit("drain"))}function b(Z,U){U.bufferProcessing=!0;var z=U.bufferedRequest;if(Z._writev&&z&&z.next){var ne=U.bufferedRequestCount,fe=new Array(ne),me=U.corkedRequestsFree;me.entry=z;for(var de=0,Oe=!0;z;)fe[de]=z,z.isBuf||(Oe=!1),z=z.next,de+=1;fe.allBuffers=Oe,v(Z,U,!0,U.length,fe,"",me.finish),U.pendingcb++,U.lastBufferedRequest=null,me.next?(U.corkedRequestsFree=me.next,me.next=null):U.corkedRequestsFree=new t(U),U.bufferedRequestCount=0}else{for(;z;){var lt=z.chunk,it=z.encoding,ot=z.callback,Ct=U.objectMode?1:lt.length;if(v(Z,U,!1,Ct,lt,it,ot),z=z.next,U.bufferedRequestCount--,U.writing)break}z===null&&(U.lastBufferedRequest=null)}U.bufferedRequest=z,U.bufferProcessing=!1}ce.prototype._write=function(Z,U,z){z(new P("_write()"))},ce.prototype._writev=null,ce.prototype.end=function(Z,U,z){var ne=this._writableState;return typeof Z=="function"?(z=Z,Z=null,U=null):typeof U=="function"&&(z=U,U=null),Z!=null&&this.write(Z,U),ne.corked&&(ne.corked=1,this.uncork()),ne.ending||V(this,ne,z),this},Object.defineProperty(ce.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function h(Z){return Z.ending&&Z.length===0&&Z.bufferedRequest===null&&!Z.finished&&!Z.writing}function T(Z,U){Z._final(function(z){U.pendingcb--,z&&J(Z,z),U.prefinished=!0,Z.emit("prefinish"),j(Z,U)})}function M(Z,U){!U.prefinished&&!U.finalCalled&&(typeof Z._final=="function"&&!U.destroyed?(U.pendingcb++,U.finalCalled=!0,process$1.nextTick(T,Z,U)):(U.prefinished=!0,Z.emit("prefinish")))}function j(Z,U){var z=h(U);if(z&&(M(Z,U),U.pendingcb===0&&(U.finished=!0,Z.emit("finish"),U.autoDestroy))){var ne=Z._readableState;(!ne||ne.autoDestroy&&ne.endEmitted)&&Z.destroy()}return z}function V(Z,U,z){U.ending=!0,j(Z,U),z&&(U.finished?process$1.nextTick(z):Z.once("finish",z)),U.ended=!0,Z.writable=!1}function ee(Z,U,z){var ne=Z.entry;for(Z.entry=null;ne;){var fe=ne.callback;U.pendingcb--,fe(z),ne=ne.next}U.corkedRequestsFree.next=Z}return Object.defineProperty(ce.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(U){this._writableState&&(this._writableState.destroyed=U)}}),ce.prototype.destroy=E.destroy,ce.prototype._undestroy=E.undestroy,ce.prototype._destroy=function(Z,U){U(Z)},_stream_writable$1}var _stream_duplex$1,hasRequired_stream_duplex$1;function require_stream_duplex$1(){if(hasRequired_stream_duplex$1)return _stream_duplex$1;hasRequired_stream_duplex$1=1;var t=Object.keys||function(C){var k=[];for(var A in C)k.push(A);return k};_stream_duplex$1=m;var e=require_stream_readable$1(),n=require_stream_writable$1();inherits_browserExports(m,e);for(var o=t(n.prototype),u=0;u<o.length;u++){var l=o[u];m.prototype[l]||(m.prototype[l]=n.prototype[l])}function m(C){if(!(this instanceof m))return new m(C);e.call(this,C),n.call(this,C),this.allowHalfOpen=!0,C&&(C.readable===!1&&(this.readable=!1),C.writable===!1&&(this.writable=!1),C.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",y)))}Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(m.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(m.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function y(){this._writableState.ended||process$1.nextTick(E,this)}function E(C){C.end()}return Object.defineProperty(m.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(k){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=k,this._writableState.destroyed=k)}}),_stream_duplex$1}var string_decoder={},Buffer$A=safeBufferExports$1.Buffer,isEncoding=Buffer$A.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _normalizeEncoding(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function normalizeEncoding(t){var e=_normalizeEncoding(t);if(typeof e!="string"&&(Buffer$A.isEncoding===isEncoding||!isEncoding(t)))throw new Error("Unknown encoding: "+t);return e||t}string_decoder.StringDecoder=StringDecoder$1;function StringDecoder$1(t){this.encoding=normalizeEncoding(t);var e;switch(this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,e=4;break;case"utf8":this.fillLast=utf8FillLast,e=4;break;case"base64":this.text=base64Text,this.end=base64End,e=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer$A.allocUnsafe(e)}StringDecoder$1.prototype.write=function(t){if(t.length===0)return"";var e,n;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},StringDecoder$1.prototype.end=utf8End,StringDecoder$1.prototype.text=utf8Text,StringDecoder$1.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function utf8CheckByte(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function utf8CheckIncomplete(t,e,n){var o=e.length-1;if(o<n)return 0;var u=utf8CheckByte(e[o]);return u>=0?(u>0&&(t.lastNeed=u-1),u):--o<n||u===-2?0:(u=utf8CheckByte(e[o]),u>=0?(u>0&&(t.lastNeed=u-2),u):--o<n||u===-2?0:(u=utf8CheckByte(e[o]),u>=0?(u>0&&(u===2?u=0:t.lastNeed=u-3),u):0))}function utf8CheckExtraBytes(t,e,n){if((e[0]&192)!==128)return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"�"}}function utf8FillLast(t){var e=this.lastTotal-this.lastNeed,n=utf8CheckExtraBytes(this,t);if(n!==void 0)return n;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function utf8Text(t,e){var n=utf8CheckIncomplete(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var o=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,o),t.toString("utf8",e,o)}function utf8End(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function utf16Text(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var o=n.charCodeAt(n.length-1);if(o>=55296&&o<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function utf16End(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function base64Text(t,e){var n=(t.length-e)%3;return n===0?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function base64End(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function simpleWrite(t){return t.toString(this.encoding)}function simpleEnd(t){return t&&t.length?this.write(t):""}var endOfStream,hasRequiredEndOfStream;function requireEndOfStream(){if(hasRequiredEndOfStream)return endOfStream;hasRequiredEndOfStream=1;var t=requireErrorsBrowser().codes.ERR_STREAM_PREMATURE_CLOSE;function e(l){var m=!1;return function(){if(!m){m=!0;for(var y=arguments.length,E=new Array(y),C=0;C<y;C++)E[C]=arguments[C];l.apply(this,E)}}}function n(){}function o(l){return l.setHeader&&typeof l.abort=="function"}function u(l,m,y){if(typeof m=="function")return u(l,null,m);m||(m={}),y=e(y||n);var E=m.readable||m.readable!==!1&&l.readable,C=m.writable||m.writable!==!1&&l.writable,k=function(){l.writable||D()},A=l._writableState&&l._writableState.finished,D=function(){C=!1,A=!0,E||y.call(l)},P=l._readableState&&l._readableState.endEmitted,R=function(){E=!1,P=!0,C||y.call(l)},B=function(Y){y.call(l,Y)},F=function(){var Y;if(E&&!P)return(!l._readableState||!l._readableState.ended)&&(Y=new t),y.call(l,Y);if(C&&!A)return(!l._writableState||!l._writableState.ended)&&(Y=new t),y.call(l,Y)},O=function(){l.req.on("finish",D)};return o(l)?(l.on("complete",D),l.on("abort",F),l.req?O():l.on("request",O)):C&&!l._writableState&&(l.on("end",k),l.on("close",k)),l.on("end",R),l.on("finish",D),m.error!==!1&&l.on("error",B),l.on("close",F),function(){l.removeListener("complete",D),l.removeListener("abort",F),l.removeListener("request",O),l.req&&l.req.removeListener("finish",D),l.removeListener("end",k),l.removeListener("close",k),l.removeListener("finish",D),l.removeListener("end",R),l.removeListener("error",B),l.removeListener("close",F)}}return endOfStream=u,endOfStream}var async_iterator,hasRequiredAsync_iterator;function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;hasRequiredAsync_iterator=1;var t;function e(Y,J,ie){return J=n(J),J in Y?Object.defineProperty(Y,J,{value:ie,enumerable:!0,configurable:!0,writable:!0}):Y[J]=ie,Y}function n(Y){var J=o(Y,"string");return typeof J=="symbol"?J:String(J)}function o(Y,J){if(typeof Y!="object"||Y===null)return Y;var ie=Y[Symbol.toPrimitive];if(ie!==void 0){var ue=ie.call(Y,J||"default");if(typeof ue!="object")return ue;throw new TypeError("@@toPrimitive must return a primitive value.")}return(J==="string"?String:Number)(Y)}var u=requireEndOfStream(),l=Symbol("lastResolve"),m=Symbol("lastReject"),y=Symbol("error"),E=Symbol("ended"),C=Symbol("lastPromise"),k=Symbol("handlePromise"),A=Symbol("stream");function D(Y,J){return{value:Y,done:J}}function P(Y){var J=Y[l];if(J!==null){var ie=Y[A].read();ie!==null&&(Y[C]=null,Y[l]=null,Y[m]=null,J(D(ie,!1)))}}function R(Y){process$1.nextTick(P,Y)}function B(Y,J){return function(ie,ue){Y.then(function(){if(J[E]){ie(D(void 0,!0));return}J[k](ie,ue)},ue)}}var F=Object.getPrototypeOf(function(){}),O=Object.setPrototypeOf((t={get stream(){return this[A]},next:function(){var J=this,ie=this[y];if(ie!==null)return Promise.reject(ie);if(this[E])return Promise.resolve(D(void 0,!0));if(this[A].destroyed)return new Promise(function(he,ke){process$1.nextTick(function(){J[y]?ke(J[y]):he(D(void 0,!0))})});var ue=this[C],Q;if(ue)Q=new Promise(B(ue,this));else{var ce=this[A].read();if(ce!==null)return Promise.resolve(D(ce,!1));Q=new Promise(this[k])}return this[C]=Q,Q}},e(t,Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var J=this;return new Promise(function(ie,ue){J[A].destroy(null,function(Q){if(Q){ue(Q);return}ie(D(void 0,!0))})})}),t),F),N=function(J){var ie,ue=Object.create(O,(ie={},e(ie,A,{value:J,writable:!0}),e(ie,l,{value:null,writable:!0}),e(ie,m,{value:null,writable:!0}),e(ie,y,{value:null,writable:!0}),e(ie,E,{value:J._readableState.endEmitted,writable:!0}),e(ie,k,{value:function(ce,he){var ke=ue[A].read();ke?(ue[C]=null,ue[l]=null,ue[m]=null,ce(D(ke,!1))):(ue[l]=ce,ue[m]=he)},writable:!0}),ie));return ue[C]=null,u(J,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var ce=ue[m];ce!==null&&(ue[C]=null,ue[l]=null,ue[m]=null,ce(Q)),ue[y]=Q;return}var he=ue[l];he!==null&&(ue[C]=null,ue[l]=null,ue[m]=null,he(D(void 0,!0))),ue[E]=!0}),J.on("readable",R.bind(null,ue)),ue};return async_iterator=N,async_iterator}var fromBrowser,hasRequiredFromBrowser;function requireFromBrowser(){return hasRequiredFromBrowser||(hasRequiredFromBrowser=1,fromBrowser=function(){throw new Error("Readable.from is not available in the browser")}),fromBrowser}var _stream_readable$1,hasRequired_stream_readable$1;function require_stream_readable$1(){if(hasRequired_stream_readable$1)return _stream_readable$1;hasRequired_stream_readable$1=1,_stream_readable$1=he;var t;he.ReadableState=ce,requireEvents().EventEmitter;var e=function(de,Oe){return de.listeners(Oe).length},n=requireStreamBrowser(),o=require$$0$2.Buffer,u=(typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function l(me){return o.from(me)}function m(me){return o.isBuffer(me)||me instanceof u}var y=util$6,E;y&&y.debuglog?E=y.debuglog("stream"):E=function(){};var C=requireBuffer_list(),k=requireDestroy(),A=requireState(),D=A.getHighWaterMark,P=requireErrorsBrowser().codes,R=P.ERR_INVALID_ARG_TYPE,B=P.ERR_STREAM_PUSH_AFTER_EOF,F=P.ERR_METHOD_NOT_IMPLEMENTED,O=P.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,N,Y,J;inherits_browserExports(he,n);var ie=k.errorOrDestroy,ue=["error","close","destroy","pause","resume"];function Q(me,de,Oe){if(typeof me.prependListener=="function")return me.prependListener(de,Oe);!me._events||!me._events[de]?me.on(de,Oe):Array.isArray(me._events[de])?me._events[de].unshift(Oe):me._events[de]=[Oe,me._events[de]]}function ce(me,de,Oe){t=t||require_stream_duplex$1(),me=me||{},typeof Oe!="boolean"&&(Oe=de instanceof t),this.objectMode=!!me.objectMode,Oe&&(this.objectMode=this.objectMode||!!me.readableObjectMode),this.highWaterMark=D(this,me,"readableHighWaterMark",Oe),this.buffer=new C,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=me.emitClose!==!1,this.autoDestroy=!!me.autoDestroy,this.destroyed=!1,this.defaultEncoding=me.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,me.encoding&&(N||(N=string_decoder.StringDecoder),this.decoder=new N(me.encoding),this.encoding=me.encoding)}function he(me){if(t=t||require_stream_duplex$1(),!(this instanceof he))return new he(me);var de=this instanceof t;this._readableState=new ce(me,this,de),this.readable=!0,me&&(typeof me.read=="function"&&(this._read=me.read),typeof me.destroy=="function"&&(this._destroy=me.destroy)),n.call(this)}Object.defineProperty(he.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(de){this._readableState&&(this._readableState.destroyed=de)}}),he.prototype.destroy=k.destroy,he.prototype._undestroy=k.undestroy,he.prototype._destroy=function(me,de){de(me)},he.prototype.push=function(me,de){var Oe=this._readableState,lt;return Oe.objectMode?lt=!0:typeof me=="string"&&(de=de||Oe.defaultEncoding,de!==Oe.encoding&&(me=o.from(me,de),de=""),lt=!0),ke(this,me,de,!1,lt)},he.prototype.unshift=function(me){return ke(this,me,null,!0,!1)};function ke(me,de,Oe,lt,it){E("readableAddChunk",de);var ot=me._readableState;if(de===null)ot.reading=!1,p(me,ot);else{var Ct;if(it||(Ct=d(ot,de)),Ct)ie(me,Ct);else if(ot.objectMode||de&&de.length>0)if(typeof de!="string"&&!ot.objectMode&&Object.getPrototypeOf(de)!==o.prototype&&(de=l(de)),lt)ot.endEmitted?ie(me,new O):L(me,ot,de,!0);else if(ot.ended)ie(me,new B);else{if(ot.destroyed)return!1;ot.reading=!1,ot.decoder&&!Oe?(de=ot.decoder.write(de),ot.objectMode||de.length!==0?L(me,ot,de,!1):b(me,ot)):L(me,ot,de,!1)}else lt||(ot.reading=!1,b(me,ot))}return!ot.ended&&(ot.length<ot.highWaterMark||ot.length===0)}function L(me,de,Oe,lt){de.flowing&&de.length===0&&!de.sync?(de.awaitDrain=0,me.emit("data",Oe)):(de.length+=de.objectMode?1:Oe.length,lt?de.buffer.unshift(Oe):de.buffer.push(Oe),de.needReadable&&x(me)),b(me,de)}function d(me,de){var Oe;return!m(de)&&typeof de!="string"&&de!==void 0&&!me.objectMode&&(Oe=new R("chunk",["string","Buffer","Uint8Array"],de)),Oe}he.prototype.isPaused=function(){return this._readableState.flowing===!1},he.prototype.setEncoding=function(me){N||(N=string_decoder.StringDecoder);var de=new N(me);this._readableState.decoder=de,this._readableState.encoding=this._readableState.decoder.encoding;for(var Oe=this._readableState.buffer.head,lt="";Oe!==null;)lt+=de.write(Oe.data),Oe=Oe.next;return this._readableState.buffer.clear(),lt!==""&&this._readableState.buffer.push(lt),this._readableState.length=lt.length,this};var v=1073741824;function w(me){return me>=v?me=v:(me--,me|=me>>>1,me|=me>>>2,me|=me>>>4,me|=me>>>8,me|=me>>>16,me++),me}function c(me,de){return me<=0||de.length===0&&de.ended?0:de.objectMode?1:me!==me?de.flowing&&de.length?de.buffer.head.data.length:de.length:(me>de.highWaterMark&&(de.highWaterMark=w(me)),me<=de.length?me:de.ended?de.length:(de.needReadable=!0,0))}he.prototype.read=function(me){E("read",me),me=parseInt(me,10);var de=this._readableState,Oe=me;if(me!==0&&(de.emittedReadable=!1),me===0&&de.needReadable&&((de.highWaterMark!==0?de.length>=de.highWaterMark:de.length>0)||de.ended))return E("read: emitReadable",de.length,de.ended),de.length===0&&de.ended?z(this):x(this),null;if(me=c(me,de),me===0&&de.ended)return de.length===0&&z(this),null;var lt=de.needReadable;E("need readable",lt),(de.length===0||de.length-me<de.highWaterMark)&&(lt=!0,E("length less than watermark",lt)),de.ended||de.reading?(lt=!1,E("reading or ended",lt)):lt&&(E("do read"),de.reading=!0,de.sync=!0,de.length===0&&(de.needReadable=!0),this._read(de.highWaterMark),de.sync=!1,de.reading||(me=c(Oe,de)));var it;return me>0?it=U(me,de):it=null,it===null?(de.needReadable=de.length<=de.highWaterMark,me=0):(de.length-=me,de.awaitDrain=0),de.length===0&&(de.ended||(de.needReadable=!0),Oe!==me&&de.ended&&z(this)),it!==null&&this.emit("data",it),it};function p(me,de){if(E("onEofChunk"),!de.ended){if(de.decoder){var Oe=de.decoder.end();Oe&&Oe.length&&(de.buffer.push(Oe),de.length+=de.objectMode?1:Oe.length)}de.ended=!0,de.sync?x(me):(de.needReadable=!1,de.emittedReadable||(de.emittedReadable=!0,S(me)))}}function x(me){var de=me._readableState;E("emitReadable",de.needReadable,de.emittedReadable),de.needReadable=!1,de.emittedReadable||(E("emitReadable",de.flowing),de.emittedReadable=!0,process$1.nextTick(S,me))}function S(me){var de=me._readableState;E("emitReadable_",de.destroyed,de.length,de.ended),!de.destroyed&&(de.length||de.ended)&&(me.emit("readable"),de.emittedReadable=!1),de.needReadable=!de.flowing&&!de.ended&&de.length<=de.highWaterMark,Z(me)}function b(me,de){de.readingMore||(de.readingMore=!0,process$1.nextTick(h,me,de))}function h(me,de){for(;!de.reading&&!de.ended&&(de.length<de.highWaterMark||de.flowing&&de.length===0);){var Oe=de.length;if(E("maybeReadMore read 0"),me.read(0),Oe===de.length)break}de.readingMore=!1}he.prototype._read=function(me){ie(this,new F("_read()"))},he.prototype.pipe=function(me,de){var Oe=this,lt=this._readableState;switch(lt.pipesCount){case 0:lt.pipes=me;break;case 1:lt.pipes=[lt.pipes,me];break;default:lt.pipes.push(me);break}lt.pipesCount+=1,E("pipe count=%d opts=%j",lt.pipesCount,de);var it=(!de||de.end!==!1)&&me!==process$1.stdout&&me!==process$1.stderr,ot=it?nt:Gt;lt.endEmitted?process$1.nextTick(ot):Oe.once("end",ot),me.on("unpipe",Ct);function Ct(wt,Et){E("onunpipe"),wt===Oe&&Et&&Et.hasUnpiped===!1&&(Et.hasUnpiped=!0,rt())}function nt(){E("onend"),me.end()}var Je=T(Oe);me.on("drain",Je);var tt=!1;function rt(){E("cleanup"),me.removeListener("close",Ve),me.removeListener("finish",We),me.removeListener("drain",Je),me.removeListener("error",jt),me.removeListener("unpipe",Ct),Oe.removeListener("end",nt),Oe.removeListener("end",Gt),Oe.removeListener("data",ht),tt=!0,lt.awaitDrain&&(!me._writableState||me._writableState.needDrain)&&Je()}Oe.on("data",ht);function ht(wt){E("ondata");var Et=me.write(wt);E("dest.write",Et),Et===!1&&((lt.pipesCount===1&&lt.pipes===me||lt.pipesCount>1&&fe(lt.pipes,me)!==-1)&&!tt&&(E("false write response, pause",lt.awaitDrain),lt.awaitDrain++),Oe.pause())}function jt(wt){E("onerror",wt),Gt(),me.removeListener("error",jt),e(me,"error")===0&&ie(me,wt)}Q(me,"error",jt);function Ve(){me.removeListener("finish",We),Gt()}me.once("close",Ve);function We(){E("onfinish"),me.removeListener("close",Ve),Gt()}me.once("finish",We);function Gt(){E("unpipe"),Oe.unpipe(me)}return me.emit("pipe",Oe),lt.flowing||(E("pipe resume"),Oe.resume()),me};function T(me){return function(){var Oe=me._readableState;E("pipeOnDrain",Oe.awaitDrain),Oe.awaitDrain&&Oe.awaitDrain--,Oe.awaitDrain===0&&e(me,"data")&&(Oe.flowing=!0,Z(me))}}he.prototype.unpipe=function(me){var de=this._readableState,Oe={hasUnpiped:!1};if(de.pipesCount===0)return this;if(de.pipesCount===1)return me&&me!==de.pipes?this:(me||(me=de.pipes),de.pipes=null,de.pipesCount=0,de.flowing=!1,me&&me.emit("unpipe",this,Oe),this);if(!me){var lt=de.pipes,it=de.pipesCount;de.pipes=null,de.pipesCount=0,de.flowing=!1;for(var ot=0;ot<it;ot++)lt[ot].emit("unpipe",this,{hasUnpiped:!1});return this}var Ct=fe(de.pipes,me);return Ct===-1?this:(de.pipes.splice(Ct,1),de.pipesCount-=1,de.pipesCount===1&&(de.pipes=de.pipes[0]),me.emit("unpipe",this,Oe),this)},he.prototype.on=function(me,de){var Oe=n.prototype.on.call(this,me,de),lt=this._readableState;return me==="data"?(lt.readableListening=this.listenerCount("readable")>0,lt.flowing!==!1&&this.resume()):me==="readable"&&!lt.endEmitted&&!lt.readableListening&&(lt.readableListening=lt.needReadable=!0,lt.flowing=!1,lt.emittedReadable=!1,E("on readable",lt.length,lt.reading),lt.length?x(this):lt.reading||process$1.nextTick(j,this)),Oe},he.prototype.addListener=he.prototype.on,he.prototype.removeListener=function(me,de){var Oe=n.prototype.removeListener.call(this,me,de);return me==="readable"&&process$1.nextTick(M,this),Oe},he.prototype.removeAllListeners=function(me){var de=n.prototype.removeAllListeners.apply(this,arguments);return(me==="readable"||me===void 0)&&process$1.nextTick(M,this),de};function M(me){var de=me._readableState;de.readableListening=me.listenerCount("readable")>0,de.resumeScheduled&&!de.paused?de.flowing=!0:me.listenerCount("data")>0&&me.resume()}function j(me){E("readable nexttick read 0"),me.read(0)}he.prototype.resume=function(){var me=this._readableState;return me.flowing||(E("resume"),me.flowing=!me.readableListening,V(this,me)),me.paused=!1,this};function V(me,de){de.resumeScheduled||(de.resumeScheduled=!0,process$1.nextTick(ee,me,de))}function ee(me,de){E("resume",de.reading),de.reading||me.read(0),de.resumeScheduled=!1,me.emit("resume"),Z(me),de.flowing&&!de.reading&&me.read(0)}he.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Z(me){var de=me._readableState;for(E("flow",de.flowing);de.flowing&&me.read()!==null;);}he.prototype.wrap=function(me){var de=this,Oe=this._readableState,lt=!1;me.on("end",function(){if(E("wrapped end"),Oe.decoder&&!Oe.ended){var Ct=Oe.decoder.end();Ct&&Ct.length&&de.push(Ct)}de.push(null)}),me.on("data",function(Ct){if(E("wrapped data"),Oe.decoder&&(Ct=Oe.decoder.write(Ct)),!(Oe.objectMode&&Ct==null)&&!(!Oe.objectMode&&(!Ct||!Ct.length))){var nt=de.push(Ct);nt||(lt=!0,me.pause())}});for(var it in me)this[it]===void 0&&typeof me[it]=="function"&&(this[it]=function(nt){return function(){return me[nt].apply(me,arguments)}}(it));for(var ot=0;ot<ue.length;ot++)me.on(ue[ot],this.emit.bind(this,ue[ot]));return this._read=function(Ct){E("wrapped _read",Ct),lt&&(lt=!1,me.resume())},this},typeof Symbol=="function"&&(he.prototype[Symbol.asyncIterator]=function(){return Y===void 0&&(Y=requireAsync_iterator()),Y(this)}),Object.defineProperty(he.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(he.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(he.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(de){this._readableState&&(this._readableState.flowing=de)}}),he._fromList=U,Object.defineProperty(he.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function U(me,de){if(de.length===0)return null;var Oe;return de.objectMode?Oe=de.buffer.shift():!me||me>=de.length?(de.decoder?Oe=de.buffer.join(""):de.buffer.length===1?Oe=de.buffer.first():Oe=de.buffer.concat(de.length),de.buffer.clear()):Oe=de.buffer.consume(me,de.decoder),Oe}function z(me){var de=me._readableState;E("endReadable",de.endEmitted),de.endEmitted||(de.ended=!0,process$1.nextTick(ne,de,me))}function ne(me,de){if(E("endReadableNT",me.endEmitted,me.length),!me.endEmitted&&me.length===0&&(me.endEmitted=!0,de.readable=!1,de.emit("end"),me.autoDestroy)){var Oe=de._writableState;(!Oe||Oe.autoDestroy&&Oe.finished)&&de.destroy()}}typeof Symbol=="function"&&(he.from=function(me,de){return J===void 0&&(J=requireFromBrowser()),J(he,me,de)});function fe(me,de){for(var Oe=0,lt=me.length;Oe<lt;Oe++)if(me[Oe]===de)return Oe;return-1}return _stream_readable$1}var _stream_transform$1,hasRequired_stream_transform;function require_stream_transform(){if(hasRequired_stream_transform)return _stream_transform$1;hasRequired_stream_transform=1,_stream_transform$1=y;var t=requireErrorsBrowser().codes,e=t.ERR_METHOD_NOT_IMPLEMENTED,n=t.ERR_MULTIPLE_CALLBACK,o=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,u=t.ERR_TRANSFORM_WITH_LENGTH_0,l=require_stream_duplex$1();inherits_browserExports(y,l);function m(k,A){var D=this._transformState;D.transforming=!1;var P=D.writecb;if(P===null)return this.emit("error",new n);D.writechunk=null,D.writecb=null,A!=null&&this.push(A),P(k);var R=this._readableState;R.reading=!1,(R.needReadable||R.length<R.highWaterMark)&&this._read(R.highWaterMark)}function y(k){if(!(this instanceof y))return new y(k);l.call(this,k),this._transformState={afterTransform:m.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,k&&(typeof k.transform=="function"&&(this._transform=k.transform),typeof k.flush=="function"&&(this._flush=k.flush)),this.on("prefinish",E)}function E(){var k=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(A,D){C(k,A,D)}):C(this,null,null)}y.prototype.push=function(k,A){return this._transformState.needTransform=!1,l.prototype.push.call(this,k,A)},y.prototype._transform=function(k,A,D){D(new e("_transform()"))},y.prototype._write=function(k,A,D){var P=this._transformState;if(P.writecb=D,P.writechunk=k,P.writeencoding=A,!P.transforming){var R=this._readableState;(P.needTransform||R.needReadable||R.length<R.highWaterMark)&&this._read(R.highWaterMark)}},y.prototype._read=function(k){var A=this._transformState;A.writechunk!==null&&!A.transforming?(A.transforming=!0,this._transform(A.writechunk,A.writeencoding,A.afterTransform)):A.needTransform=!0},y.prototype._destroy=function(k,A){l.prototype._destroy.call(this,k,function(D){A(D)})};function C(k,A,D){if(A)return k.emit("error",A);if(D!=null&&k.push(D),k._writableState.length)throw new u;if(k._transformState.transforming)throw new o;return k.push(null)}return _stream_transform$1}var _stream_passthrough$1,hasRequired_stream_passthrough;function require_stream_passthrough(){if(hasRequired_stream_passthrough)return _stream_passthrough$1;hasRequired_stream_passthrough=1,_stream_passthrough$1=e;var t=require_stream_transform();inherits_browserExports(e,t);function e(n){if(!(this instanceof e))return new e(n);t.call(this,n)}return e.prototype._transform=function(n,o,u){u(null,n)},_stream_passthrough$1}var pipeline_1,hasRequiredPipeline;function requirePipeline(){if(hasRequiredPipeline)return pipeline_1;hasRequiredPipeline=1;var t;function e(D){var P=!1;return function(){P||(P=!0,D.apply(void 0,arguments))}}var n=requireErrorsBrowser().codes,o=n.ERR_MISSING_ARGS,u=n.ERR_STREAM_DESTROYED;function l(D){if(D)throw D}function m(D){return D.setHeader&&typeof D.abort=="function"}function y(D,P,R,B){B=e(B);var F=!1;D.on("close",function(){F=!0}),t===void 0&&(t=requireEndOfStream()),t(D,{readable:P,writable:R},function(N){if(N)return B(N);F=!0,B()});var O=!1;return function(N){if(!F&&!O){if(O=!0,m(D))return D.abort();if(typeof D.destroy=="function")return D.destroy();B(N||new u("pipe"))}}}function E(D){D()}function C(D,P){return D.pipe(P)}function k(D){return!D.length||typeof D[D.length-1]!="function"?l:D.pop()}function A(){for(var D=arguments.length,P=new Array(D),R=0;R<D;R++)P[R]=arguments[R];var B=k(P);if(Array.isArray(P[0])&&(P=P[0]),P.length<2)throw new o("streams");var F,O=P.map(function(N,Y){var J=Y<P.length-1,ie=Y>0;return y(N,J,ie,function(ue){F||(F=ue),ue&&O.forEach(E),!J&&(O.forEach(E),B(F))})});return P.reduce(C)}return pipeline_1=A,pipeline_1}var streamBrowserify,hasRequiredStreamBrowserify;function requireStreamBrowserify(){if(hasRequiredStreamBrowserify)return streamBrowserify;hasRequiredStreamBrowserify=1,streamBrowserify=n;var t=requireEvents().EventEmitter,e=inherits_browserExports;e(n,t),n.Readable=require_stream_readable$1(),n.Writable=require_stream_writable$1(),n.Duplex=require_stream_duplex$1(),n.Transform=require_stream_transform(),n.PassThrough=require_stream_passthrough(),n.finished=requireEndOfStream(),n.pipeline=requirePipeline(),n.Stream=n;function n(){t.call(this)}return n.prototype.pipe=function(o,u){var l=this;function m(P){o.writable&&o.write(P)===!1&&l.pause&&l.pause()}l.on("data",m);function y(){l.readable&&l.resume&&l.resume()}o.on("drain",y),!o._isStdio&&(!u||u.end!==!1)&&(l.on("end",C),l.on("close",k));var E=!1;function C(){E||(E=!0,o.end())}function k(){E||(E=!0,typeof o.destroy=="function"&&o.destroy())}function A(P){if(D(),t.listenerCount(this,"error")===0)throw P}l.on("error",A),o.on("error",A);function D(){l.removeListener("data",m),o.removeListener("drain",y),l.removeListener("end",C),l.removeListener("close",k),l.removeListener("error",A),o.removeListener("error",A),l.removeListener("end",D),l.removeListener("close",D),o.removeListener("close",D)}return l.on("end",D),l.on("close",D),o.on("close",D),o.emit("pipe",l),o},streamBrowserify}var Buffer$z=safeBufferExports$1.Buffer,Transform$7=requireStreamBrowserify().Transform,inherits$p=inherits_browserExports;function throwIfNotStringOrBuffer(t,e){if(!Buffer$z.isBuffer(t)&&typeof t!="string")throw new TypeError(e+" must be a string or a buffer")}function HashBase$2(t){Transform$7.call(this),this._block=Buffer$z.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}inherits$p(HashBase$2,Transform$7),HashBase$2.prototype._transform=function(t,e,n){var o=null;try{this.update(t,e)}catch(u){o=u}n(o)},HashBase$2.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)},HashBase$2.prototype.update=function(t,e){if(throwIfNotStringOrBuffer(t,"Data"),this._finalized)throw new Error("Digest already called");Buffer$z.isBuffer(t)||(t=Buffer$z.from(t,e));for(var n=this._block,o=0;this._blockOffset+t.length-o>=this._blockSize;){for(var u=this._blockOffset;u<this._blockSize;)n[u++]=t[o++];this._update(),this._blockOffset=0}for(;o<t.length;)n[this._blockOffset++]=t[o++];for(var l=0,m=t.length*8;m>0;++l)this._length[l]+=m,m=this._length[l]/4294967296|0,m>0&&(this._length[l]-=4294967296*m);return this},HashBase$2.prototype._update=function(){throw new Error("_update is not implemented")},HashBase$2.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();t!==void 0&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},HashBase$2.prototype._digest=function(){throw new Error("_digest is not implemented")};var hashBase=HashBase$2,inherits$o=inherits_browserExports,HashBase$1=hashBase,Buffer$y=safeBufferExports$1.Buffer,ARRAY16$1=new Array(16);function MD5$3(){HashBase$1.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}inherits$o(MD5$3,HashBase$1),MD5$3.prototype._update=function(){for(var t=ARRAY16$1,e=0;e<16;++e)t[e]=this._block.readInt32LE(e*4);var n=this._a,o=this._b,u=this._c,l=this._d;n=fnF(n,o,u,l,t[0],3614090360,7),l=fnF(l,n,o,u,t[1],3905402710,12),u=fnF(u,l,n,o,t[2],606105819,17),o=fnF(o,u,l,n,t[3],3250441966,22),n=fnF(n,o,u,l,t[4],4118548399,7),l=fnF(l,n,o,u,t[5],1200080426,12),u=fnF(u,l,n,o,t[6],2821735955,17),o=fnF(o,u,l,n,t[7],4249261313,22),n=fnF(n,o,u,l,t[8],1770035416,7),l=fnF(l,n,o,u,t[9],2336552879,12),u=fnF(u,l,n,o,t[10],4294925233,17),o=fnF(o,u,l,n,t[11],2304563134,22),n=fnF(n,o,u,l,t[12],1804603682,7),l=fnF(l,n,o,u,t[13],4254626195,12),u=fnF(u,l,n,o,t[14],2792965006,17),o=fnF(o,u,l,n,t[15],1236535329,22),n=fnG(n,o,u,l,t[1],4129170786,5),l=fnG(l,n,o,u,t[6],3225465664,9),u=fnG(u,l,n,o,t[11],643717713,14),o=fnG(o,u,l,n,t[0],3921069994,20),n=fnG(n,o,u,l,t[5],3593408605,5),l=fnG(l,n,o,u,t[10],38016083,9),u=fnG(u,l,n,o,t[15],3634488961,14),o=fnG(o,u,l,n,t[4],3889429448,20),n=fnG(n,o,u,l,t[9],568446438,5),l=fnG(l,n,o,u,t[14],3275163606,9),u=fnG(u,l,n,o,t[3],4107603335,14),o=fnG(o,u,l,n,t[8],1163531501,20),n=fnG(n,o,u,l,t[13],2850285829,5),l=fnG(l,n,o,u,t[2],4243563512,9),u=fnG(u,l,n,o,t[7],1735328473,14),o=fnG(o,u,l,n,t[12],2368359562,20),n=fnH(n,o,u,l,t[5],4294588738,4),l=fnH(l,n,o,u,t[8],2272392833,11),u=fnH(u,l,n,o,t[11],1839030562,16),o=fnH(o,u,l,n,t[14],4259657740,23),n=fnH(n,o,u,l,t[1],2763975236,4),l=fnH(l,n,o,u,t[4],1272893353,11),u=fnH(u,l,n,o,t[7],4139469664,16),o=fnH(o,u,l,n,t[10],3200236656,23),n=fnH(n,o,u,l,t[13],681279174,4),l=fnH(l,n,o,u,t[0],3936430074,11),u=fnH(u,l,n,o,t[3],3572445317,16),o=fnH(o,u,l,n,t[6],76029189,23),n=fnH(n,o,u,l,t[9],3654602809,4),l=fnH(l,n,o,u,t[12],3873151461,11),u=fnH(u,l,n,o,t[15],530742520,16),o=fnH(o,u,l,n,t[2],3299628645,23),n=fnI(n,o,u,l,t[0],4096336452,6),l=fnI(l,n,o,u,t[7],1126891415,10),u=fnI(u,l,n,o,t[14],2878612391,15),o=fnI(o,u,l,n,t[5],4237533241,21),n=fnI(n,o,u,l,t[12],1700485571,6),l=fnI(l,n,o,u,t[3],2399980690,10),u=fnI(u,l,n,o,t[10],4293915773,15),o=fnI(o,u,l,n,t[1],2240044497,21),n=fnI(n,o,u,l,t[8],1873313359,6),l=fnI(l,n,o,u,t[15],4264355552,10),u=fnI(u,l,n,o,t[6],2734768916,15),o=fnI(o,u,l,n,t[13],1309151649,21),n=fnI(n,o,u,l,t[4],4149444226,6),l=fnI(l,n,o,u,t[11],3174756917,10),u=fnI(u,l,n,o,t[2],718787259,15),o=fnI(o,u,l,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+o|0,this._c=this._c+u|0,this._d=this._d+l|0},MD5$3.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=Buffer$y.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t};function rotl$1(t,e){return t<<e|t>>>32-e}function fnF(t,e,n,o,u,l,m){return rotl$1(t+(e&n|~e&o)+u+l|0,m)+e|0}function fnG(t,e,n,o,u,l,m){return rotl$1(t+(e&o|n&~o)+u+l|0,m)+e|0}function fnH(t,e,n,o,u,l,m){return rotl$1(t+(e^n^o)+u+l|0,m)+e|0}function fnI(t,e,n,o,u,l,m){return rotl$1(t+(n^(e|~o))+u+l|0,m)+e|0}var md5_js=MD5$3,Buffer$x=require$$0$2.Buffer,inherits$n=inherits_browserExports,HashBase=hashBase,ARRAY16=new Array(16),zl=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],zr=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],sl=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],sr=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],hl=[0,1518500249,1859775393,2400959708,2840853838],hr=[1352829926,1548603684,1836072691,2053994217,0];function RIPEMD160$4(){HashBase.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}inherits$n(RIPEMD160$4,HashBase),RIPEMD160$4.prototype._update=function(){for(var t=ARRAY16,e=0;e<16;++e)t[e]=this._block.readInt32LE(e*4);for(var n=this._a|0,o=this._b|0,u=this._c|0,l=this._d|0,m=this._e|0,y=this._a|0,E=this._b|0,C=this._c|0,k=this._d|0,A=this._e|0,D=0;D<80;D+=1){var P,R;D<16?(P=fn1(n,o,u,l,m,t[zl[D]],hl[0],sl[D]),R=fn5(y,E,C,k,A,t[zr[D]],hr[0],sr[D])):D<32?(P=fn2(n,o,u,l,m,t[zl[D]],hl[1],sl[D]),R=fn4(y,E,C,k,A,t[zr[D]],hr[1],sr[D])):D<48?(P=fn3(n,o,u,l,m,t[zl[D]],hl[2],sl[D]),R=fn3(y,E,C,k,A,t[zr[D]],hr[2],sr[D])):D<64?(P=fn4(n,o,u,l,m,t[zl[D]],hl[3],sl[D]),R=fn2(y,E,C,k,A,t[zr[D]],hr[3],sr[D])):(P=fn5(n,o,u,l,m,t[zl[D]],hl[4],sl[D]),R=fn1(y,E,C,k,A,t[zr[D]],hr[4],sr[D])),n=m,m=l,l=rotl(u,10),u=o,o=P,y=A,A=k,k=rotl(C,10),C=E,E=R}var B=this._b+u+k|0;this._b=this._c+l+A|0,this._c=this._d+m+y|0,this._d=this._e+n+E|0,this._e=this._a+o+C|0,this._a=B},RIPEMD160$4.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=Buffer$x.alloc?Buffer$x.alloc(20):new Buffer$x(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t};function rotl(t,e){return t<<e|t>>>32-e}function fn1(t,e,n,o,u,l,m,y){return rotl(t+(e^n^o)+l+m|0,y)+u|0}function fn2(t,e,n,o,u,l,m,y){return rotl(t+(e&n|~e&o)+l+m|0,y)+u|0}function fn3(t,e,n,o,u,l,m,y){return rotl(t+((e|~n)^o)+l+m|0,y)+u|0}function fn4(t,e,n,o,u,l,m,y){return rotl(t+(e&o|n&~o)+l+m|0,y)+u|0}function fn5(t,e,n,o,u,l,m,y){return rotl(t+(e^(n|~o))+l+m|0,y)+u|0}var ripemd160=RIPEMD160$4,sha_js={exports:{}},Buffer$w=safeBufferExports$1.Buffer;function Hash$7(t,e){this._block=Buffer$w.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}Hash$7.prototype.update=function(t,e){typeof t=="string"&&(e=e||"utf8",t=Buffer$w.from(t,e));for(var n=this._block,o=this._blockSize,u=t.length,l=this._len,m=0;m<u;){for(var y=l%o,E=Math.min(u-m,o-y),C=0;C<E;C++)n[y+C]=t[m+C];l+=E,m+=E,l%o===0&&this._update(n)}return this._len+=u,this},Hash$7.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=this._len*8;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var o=(n&4294967295)>>>0,u=(n-o)/4294967296;this._block.writeUInt32BE(u,this._blockSize-8),this._block.writeUInt32BE(o,this._blockSize-4)}this._update(this._block);var l=this._hash();return t?l.toString(t):l},Hash$7.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var hash$3=Hash$7,inherits$m=inherits_browserExports,Hash$6=hash$3,Buffer$v=safeBufferExports$1.Buffer,K$4=[1518500249,1859775393,-1894007588,-899497514],W$5=new Array(80);function Sha(){this.init(),this._w=W$5,Hash$6.call(this,64,56)}inherits$m(Sha,Hash$6),Sha.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function rotl5$1(t){return t<<5|t>>>27}function rotl30$1(t){return t<<30|t>>>2}function ft$1(t,e,n,o){return t===0?e&n|~e&o:t===2?e&n|e&o|n&o:e^n^o}Sha.prototype._update=function(t){for(var e=this._w,n=this._a|0,o=this._b|0,u=this._c|0,l=this._d|0,m=this._e|0,y=0;y<16;++y)e[y]=t.readInt32BE(y*4);for(;y<80;++y)e[y]=e[y-3]^e[y-8]^e[y-14]^e[y-16];for(var E=0;E<80;++E){var C=~~(E/20),k=rotl5$1(n)+ft$1(C,o,u,l)+m+e[E]+K$4[C]|0;m=l,l=u,u=rotl30$1(o),o=n,n=k}this._a=n+this._a|0,this._b=o+this._b|0,this._c=u+this._c|0,this._d=l+this._d|0,this._e=m+this._e|0},Sha.prototype._hash=function(){var t=Buffer$v.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};var sha$4=Sha,inherits$l=inherits_browserExports,Hash$5=hash$3,Buffer$u=safeBufferExports$1.Buffer,K$3=[1518500249,1859775393,-1894007588,-899497514],W$4=new Array(80);function Sha1(){this.init(),this._w=W$4,Hash$5.call(this,64,56)}inherits$l(Sha1,Hash$5),Sha1.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function rotl1(t){return t<<1|t>>>31}function rotl5(t){return t<<5|t>>>27}function rotl30(t){return t<<30|t>>>2}function ft(t,e,n,o){return t===0?e&n|~e&o:t===2?e&n|e&o|n&o:e^n^o}Sha1.prototype._update=function(t){for(var e=this._w,n=this._a|0,o=this._b|0,u=this._c|0,l=this._d|0,m=this._e|0,y=0;y<16;++y)e[y]=t.readInt32BE(y*4);for(;y<80;++y)e[y]=rotl1(e[y-3]^e[y-8]^e[y-14]^e[y-16]);for(var E=0;E<80;++E){var C=~~(E/20),k=rotl5(n)+ft(C,o,u,l)+m+e[E]+K$3[C]|0;m=l,l=u,u=rotl30(o),o=n,n=k}this._a=n+this._a|0,this._b=o+this._b|0,this._c=u+this._c|0,this._d=l+this._d|0,this._e=m+this._e|0},Sha1.prototype._hash=function(){var t=Buffer$u.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t};var sha1$2=Sha1,inherits$k=inherits_browserExports,Hash$4=hash$3,Buffer$t=safeBufferExports$1.Buffer,K$2=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],W$3=new Array(64);function Sha256$1(){this.init(),this._w=W$3,Hash$4.call(this,64,56)}inherits$k(Sha256$1,Hash$4),Sha256$1.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function ch(t,e,n){return n^t&(e^n)}function maj$1(t,e,n){return t&e|n&(t|e)}function sigma0$1(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function sigma1$1(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function gamma0(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function gamma1(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}Sha256$1.prototype._update=function(t){for(var e=this._w,n=this._a|0,o=this._b|0,u=this._c|0,l=this._d|0,m=this._e|0,y=this._f|0,E=this._g|0,C=this._h|0,k=0;k<16;++k)e[k]=t.readInt32BE(k*4);for(;k<64;++k)e[k]=gamma1(e[k-2])+e[k-7]+gamma0(e[k-15])+e[k-16]|0;for(var A=0;A<64;++A){var D=C+sigma1$1(m)+ch(m,y,E)+K$2[A]+e[A]|0,P=sigma0$1(n)+maj$1(n,o,u)|0;C=E,E=y,y=m,m=l+D|0,l=u,u=o,o=n,n=D+P|0}this._a=n+this._a|0,this._b=o+this._b|0,this._c=u+this._c|0,this._d=l+this._d|0,this._e=m+this._e|0,this._f=y+this._f|0,this._g=E+this._g|0,this._h=C+this._h|0},Sha256$1.prototype._hash=function(){var t=Buffer$t.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t};var sha256$1=Sha256$1,inherits$j=inherits_browserExports,Sha256=sha256$1,Hash$3=hash$3,Buffer$s=safeBufferExports$1.Buffer,W$2=new Array(64);function Sha224(){this.init(),this._w=W$2,Hash$3.call(this,64,56)}inherits$j(Sha224,Sha256),Sha224.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},Sha224.prototype._hash=function(){var t=Buffer$s.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t};var sha224$1=Sha224,inherits$i=inherits_browserExports,Hash$2=hash$3,Buffer$r=safeBufferExports$1.Buffer,K$1=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],W$1=new Array(160);function Sha512(){this.init(),this._w=W$1,Hash$2.call(this,128,112)}inherits$i(Sha512,Hash$2),Sha512.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function Ch(t,e,n){return n^t&(e^n)}function maj(t,e,n){return t&e|n&(t|e)}function sigma0(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function sigma1(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function Gamma0(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function Gamma0l(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function Gamma1(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function Gamma1l(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function getCarry(t,e){return t>>>0<e>>>0?1:0}Sha512.prototype._update=function(t){for(var e=this._w,n=this._ah|0,o=this._bh|0,u=this._ch|0,l=this._dh|0,m=this._eh|0,y=this._fh|0,E=this._gh|0,C=this._hh|0,k=this._al|0,A=this._bl|0,D=this._cl|0,P=this._dl|0,R=this._el|0,B=this._fl|0,F=this._gl|0,O=this._hl|0,N=0;N<32;N+=2)e[N]=t.readInt32BE(N*4),e[N+1]=t.readInt32BE(N*4+4);for(;N<160;N+=2){var Y=e[N-30],J=e[N-15*2+1],ie=Gamma0(Y,J),ue=Gamma0l(J,Y);Y=e[N-2*2],J=e[N-2*2+1];var Q=Gamma1(Y,J),ce=Gamma1l(J,Y),he=e[N-7*2],ke=e[N-7*2+1],L=e[N-16*2],d=e[N-16*2+1],v=ue+ke|0,w=ie+he+getCarry(v,ue)|0;v=v+ce|0,w=w+Q+getCarry(v,ce)|0,v=v+d|0,w=w+L+getCarry(v,d)|0,e[N]=w,e[N+1]=v}for(var c=0;c<160;c+=2){w=e[c],v=e[c+1];var p=maj(n,o,u),x=maj(k,A,D),S=sigma0(n,k),b=sigma0(k,n),h=sigma1(m,R),T=sigma1(R,m),M=K$1[c],j=K$1[c+1],V=Ch(m,y,E),ee=Ch(R,B,F),Z=O+T|0,U=C+h+getCarry(Z,O)|0;Z=Z+ee|0,U=U+V+getCarry(Z,ee)|0,Z=Z+j|0,U=U+M+getCarry(Z,j)|0,Z=Z+v|0,U=U+w+getCarry(Z,v)|0;var z=b+x|0,ne=S+p+getCarry(z,b)|0;C=E,O=F,E=y,F=B,y=m,B=R,R=P+Z|0,m=l+U+getCarry(R,P)|0,l=u,P=D,u=o,D=A,o=n,A=k,k=Z+z|0,n=U+ne+getCarry(k,Z)|0}this._al=this._al+k|0,this._bl=this._bl+A|0,this._cl=this._cl+D|0,this._dl=this._dl+P|0,this._el=this._el+R|0,this._fl=this._fl+B|0,this._gl=this._gl+F|0,this._hl=this._hl+O|0,this._ah=this._ah+n+getCarry(this._al,k)|0,this._bh=this._bh+o+getCarry(this._bl,A)|0,this._ch=this._ch+u+getCarry(this._cl,D)|0,this._dh=this._dh+l+getCarry(this._dl,P)|0,this._eh=this._eh+m+getCarry(this._el,R)|0,this._fh=this._fh+y+getCarry(this._fl,B)|0,this._gh=this._gh+E+getCarry(this._gl,F)|0,this._hh=this._hh+C+getCarry(this._hl,O)|0},Sha512.prototype._hash=function(){var t=Buffer$r.allocUnsafe(64);function e(n,o,u){t.writeInt32BE(n,u),t.writeInt32BE(o,u+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t};var sha512$1=Sha512,inherits$h=inherits_browserExports,SHA512$2=sha512$1,Hash$1=hash$3,Buffer$q=safeBufferExports$1.Buffer,W=new Array(160);function Sha384(){this.init(),this._w=W,Hash$1.call(this,128,112)}inherits$h(Sha384,SHA512$2),Sha384.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},Sha384.prototype._hash=function(){var t=Buffer$q.allocUnsafe(48);function e(n,o,u){t.writeInt32BE(n,u),t.writeInt32BE(o,u+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t};var sha384$1=Sha384,exports$1=sha_js.exports=function(e){e=e.toLowerCase();var n=exports$1[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n};exports$1.sha=sha$4,exports$1.sha1=sha1$2,exports$1.sha224=sha224$1,exports$1.sha256=sha256$1,exports$1.sha384=sha384$1,exports$1.sha512=sha512$1;var sha_jsExports=sha_js.exports,Buffer$p=safeBufferExports$1.Buffer,Transform$6=requireStreamBrowserify().Transform,StringDecoder=string_decoder.StringDecoder,inherits$g=inherits_browserExports;function CipherBase$1(t){Transform$6.call(this),this.hashMode=typeof t=="string",this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}inherits$g(CipherBase$1,Transform$6),CipherBase$1.prototype.update=function(t,e,n){typeof t=="string"&&(t=Buffer$p.from(t,e));var o=this._update(t);return this.hashMode?this:(n&&(o=this._toString(o,n)),o)},CipherBase$1.prototype.setAutoPadding=function(){},CipherBase$1.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},CipherBase$1.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},CipherBase$1.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},CipherBase$1.prototype._transform=function(t,e,n){var o;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(u){o=u}finally{n(o)}},CipherBase$1.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)},CipherBase$1.prototype._finalOrDigest=function(t){var e=this.__final()||Buffer$p.alloc(0);return t&&(e=this._toString(e,t,!0)),e},CipherBase$1.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new StringDecoder(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var o=this._decoder.write(t);return n&&(o+=this._decoder.end()),o};var cipherBase=CipherBase$1,inherits$f=inherits_browserExports,MD5$2=md5_js,RIPEMD160$3=ripemd160,sha$3=sha_jsExports,Base$5=cipherBase;function Hash(t){Base$5.call(this,"digest"),this._hash=t}inherits$f(Hash,Base$5),Hash.prototype._update=function(t){this._hash.update(t)},Hash.prototype._final=function(){return this._hash.digest()};var browser$b=function(e){return e=e.toLowerCase(),e==="md5"?new MD5$2:e==="rmd160"||e==="ripemd160"?new RIPEMD160$3:new Hash(sha$3(e))},inherits$e=inherits_browserExports,Buffer$o=safeBufferExports$1.Buffer,Base$4=cipherBase,ZEROS$2=Buffer$o.alloc(128),blocksize=64;function Hmac$3(t,e){Base$4.call(this,"digest"),typeof e=="string"&&(e=Buffer$o.from(e)),this._alg=t,this._key=e,e.length>blocksize?e=t(e):e.length<blocksize&&(e=Buffer$o.concat([e,ZEROS$2],blocksize));for(var n=this._ipad=Buffer$o.allocUnsafe(blocksize),o=this._opad=Buffer$o.allocUnsafe(blocksize),u=0;u<blocksize;u++)n[u]=e[u]^54,o[u]=e[u]^92;this._hash=[n]}inherits$e(Hmac$3,Base$4),Hmac$3.prototype._update=function(t){this._hash.push(t)},Hmac$3.prototype._final=function(){var t=this._alg(Buffer$o.concat(this._hash));return this._alg(Buffer$o.concat([this._opad,t]))};var legacy=Hmac$3,MD5$1=md5_js,md5$3=function(t){return new MD5$1().update(t).digest()},inherits$d=inherits_browserExports,Legacy=legacy,Base$3=cipherBase,Buffer$n=safeBufferExports$1.Buffer,md5$2=md5$3,RIPEMD160$2=ripemd160,sha$2=sha_jsExports,ZEROS$1=Buffer$n.alloc(128);function Hmac$2(t,e){Base$3.call(this,"digest"),typeof e=="string"&&(e=Buffer$n.from(e));var n=t==="sha512"||t==="sha384"?128:64;if(this._alg=t,this._key=e,e.length>n){var o=t==="rmd160"?new RIPEMD160$2:sha$2(t);e=o.update(e).digest()}else e.length<n&&(e=Buffer$n.concat([e,ZEROS$1],n));for(var u=this._ipad=Buffer$n.allocUnsafe(n),l=this._opad=Buffer$n.allocUnsafe(n),m=0;m<n;m++)u[m]=e[m]^54,l[m]=e[m]^92;this._hash=t==="rmd160"?new RIPEMD160$2:sha$2(t),this._hash.update(u)}inherits$d(Hmac$2,Base$3),Hmac$2.prototype._update=function(t){this._hash.update(t)},Hmac$2.prototype._final=function(){var t=this._hash.digest(),e=this._alg==="rmd160"?new RIPEMD160$2:sha$2(this._alg);return e.update(this._opad).update(t).digest()};var browser$a=function(e,n){return e=e.toLowerCase(),e==="rmd160"||e==="ripemd160"?new Hmac$2("rmd160",n):e==="md5"?new Legacy(md5$2,n):new Hmac$2(e,n)};const sha224WithRSAEncryption={sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption={sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption={sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption={sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},sha256={sign:"ecdsa",hash:"sha256",id:""},sha224={sign:"ecdsa",hash:"sha224",id:""},sha384={sign:"ecdsa",hash:"sha384",id:""},sha512={sign:"ecdsa",hash:"sha512",id:""},DSA={sign:"dsa",hash:"sha1",id:""},ripemd160WithRSA={sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption={sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},require$$6$1={sha224WithRSAEncryption,"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption,"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption,"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption,"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256,sha224,sha384,sha512,"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA,"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA,"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption,"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}};var algos=require$$6$1,browser$9={},MAX_ALLOC=Math.pow(2,30)-1,precondition=function(t,e){if(typeof t!="number")throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if(typeof e!="number")throw new TypeError("Key length not a number");if(e<0||e>MAX_ALLOC||e!==e)throw new TypeError("Bad key length")},defaultEncoding$2;if(commonjsGlobal$1.process&&commonjsGlobal$1.process.browser)defaultEncoding$2="utf-8";else if(commonjsGlobal$1.process&&commonjsGlobal$1.process.version){var pVersionMajor=parseInt(process$1.version.split(".")[0].slice(1),10);defaultEncoding$2=pVersionMajor>=6?"utf-8":"binary"}else defaultEncoding$2="utf-8";var defaultEncoding_1=defaultEncoding$2,Buffer$m=safeBufferExports$1.Buffer,toBuffer$2=function(t,e,n){if(Buffer$m.isBuffer(t))return t;if(typeof t=="string")return Buffer$m.from(t,e);if(ArrayBuffer.isView(t))return Buffer$m.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")},md5$1=md5$3,RIPEMD160$1=ripemd160,sha$1=sha_jsExports,Buffer$l=safeBufferExports$1.Buffer,checkParameters$1=precondition,defaultEncoding$1=defaultEncoding_1,toBuffer$1=toBuffer$2,ZEROS=Buffer$l.alloc(128),sizes={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function Hmac$1(t,e,n){var o=getDigest(t),u=t==="sha512"||t==="sha384"?128:64;e.length>u?e=o(e):e.length<u&&(e=Buffer$l.concat([e,ZEROS],u));for(var l=Buffer$l.allocUnsafe(u+sizes[t]),m=Buffer$l.allocUnsafe(u+sizes[t]),y=0;y<u;y++)l[y]=e[y]^54,m[y]=e[y]^92;var E=Buffer$l.allocUnsafe(u+n+4);l.copy(E,0,0,u),this.ipad1=E,this.ipad2=l,this.opad=m,this.alg=t,this.blocksize=u,this.hash=o,this.size=sizes[t]}Hmac$1.prototype.run=function(t,e){t.copy(e,this.blocksize);var n=this.hash(e);return n.copy(this.opad,this.blocksize),this.hash(this.opad)};function getDigest(t){function e(o){return sha$1(t).update(o).digest()}function n(o){return new RIPEMD160$1().update(o).digest()}return t==="rmd160"||t==="ripemd160"?n:t==="md5"?md5$1:e}function pbkdf2(t,e,n,o,u){checkParameters$1(n,o),t=toBuffer$1(t,defaultEncoding$1,"Password"),e=toBuffer$1(e,defaultEncoding$1,"Salt"),u=u||"sha1";var l=new Hmac$1(u,t,e.length),m=Buffer$l.allocUnsafe(o),y=Buffer$l.allocUnsafe(e.length+4);e.copy(y,0,0,e.length);for(var E=0,C=sizes[u],k=Math.ceil(o/C),A=1;A<=k;A++){y.writeUInt32BE(A,e.length);for(var D=l.run(y,l.ipad1),P=D,R=1;R<n;R++){P=l.run(P,l.ipad2);for(var B=0;B<C;B++)D[B]^=P[B]}D.copy(m,E),E+=C}return m}var syncBrowser=pbkdf2,Buffer$k=safeBufferExports$1.Buffer,checkParameters=precondition,defaultEncoding=defaultEncoding_1,sync=syncBrowser,toBuffer=toBuffer$2,ZERO_BUF,subtle=commonjsGlobal$1.crypto&&commonjsGlobal$1.crypto.subtle,toBrowser={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},checks=[];function checkNative(t){if(commonjsGlobal$1.process&&!commonjsGlobal$1.process.browser||!subtle||!subtle.importKey||!subtle.deriveBits)return Promise.resolve(!1);if(checks[t]!==void 0)return checks[t];ZERO_BUF=ZERO_BUF||Buffer$k.alloc(8);var e=browserPbkdf2(ZERO_BUF,ZERO_BUF,10,128,t).then(function(){return!0}).catch(function(){return!1});return checks[t]=e,e}var nextTick$1;function getNextTick(){return nextTick$1||(commonjsGlobal$1.process&&commonjsGlobal$1.process.nextTick?nextTick$1=commonjsGlobal$1.process.nextTick:commonjsGlobal$1.queueMicrotask?nextTick$1=commonjsGlobal$1.queueMicrotask:commonjsGlobal$1.setImmediate?nextTick$1=commonjsGlobal$1.setImmediate:nextTick$1=commonjsGlobal$1.setTimeout,nextTick$1)}function browserPbkdf2(t,e,n,o,u){return subtle.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(l){return subtle.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:u}},l,o<<3)}).then(function(l){return Buffer$k.from(l)})}function resolvePromise(t,e){t.then(function(n){getNextTick()(function(){e(null,n)})},function(n){getNextTick()(function(){e(n)})})}var async$1=function(t,e,n,o,u,l){typeof u=="function"&&(l=u,u=void 0),u=u||"sha1";var m=toBrowser[u.toLowerCase()];if(!m||typeof commonjsGlobal$1.Promise!="function"){getNextTick()(function(){var y;try{y=sync(t,e,n,o,u)}catch(E){return l(E)}l(null,y)});return}if(checkParameters(n,o),t=toBuffer(t,defaultEncoding,"Password"),e=toBuffer(e,defaultEncoding,"Salt"),typeof l!="function")throw new Error("No callback provided to pbkdf2");resolvePromise(checkNative(m).then(function(y){return y?browserPbkdf2(t,e,n,o,m):sync(t,e,n,o,u)}),l)};browser$9.pbkdf2=async$1,browser$9.pbkdf2Sync=syncBrowser;var browser$8={},des$2={},utils$q={};utils$q.readUInt32BE=function(e,n){var o=e[0+n]<<24|e[1+n]<<16|e[2+n]<<8|e[3+n];return o>>>0},utils$q.writeUInt32BE=function(e,n,o){e[0+o]=n>>>24,e[1+o]=n>>>16&255,e[2+o]=n>>>8&255,e[3+o]=n&255},utils$q.ip=function(e,n,o,u){for(var l=0,m=0,y=6;y>=0;y-=2){for(var E=0;E<=24;E+=8)l<<=1,l|=n>>>E+y&1;for(var E=0;E<=24;E+=8)l<<=1,l|=e>>>E+y&1}for(var y=6;y>=0;y-=2){for(var E=1;E<=25;E+=8)m<<=1,m|=n>>>E+y&1;for(var E=1;E<=25;E+=8)m<<=1,m|=e>>>E+y&1}o[u+0]=l>>>0,o[u+1]=m>>>0},utils$q.rip=function(e,n,o,u){for(var l=0,m=0,y=0;y<4;y++)for(var E=24;E>=0;E-=8)l<<=1,l|=n>>>E+y&1,l<<=1,l|=e>>>E+y&1;for(var y=4;y<8;y++)for(var E=24;E>=0;E-=8)m<<=1,m|=n>>>E+y&1,m<<=1,m|=e>>>E+y&1;o[u+0]=l>>>0,o[u+1]=m>>>0},utils$q.pc1=function(e,n,o,u){for(var l=0,m=0,y=7;y>=5;y--){for(var E=0;E<=24;E+=8)l<<=1,l|=n>>E+y&1;for(var E=0;E<=24;E+=8)l<<=1,l|=e>>E+y&1}for(var E=0;E<=24;E+=8)l<<=1,l|=n>>E+y&1;for(var y=1;y<=3;y++){for(var E=0;E<=24;E+=8)m<<=1,m|=n>>E+y&1;for(var E=0;E<=24;E+=8)m<<=1,m|=e>>E+y&1}for(var E=0;E<=24;E+=8)m<<=1,m|=e>>E+y&1;o[u+0]=l>>>0,o[u+1]=m>>>0},utils$q.r28shl=function(e,n){return e<<n&268435455|e>>>28-n};var pc2table=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];utils$q.pc2=function(e,n,o,u){for(var l=0,m=0,y=pc2table.length>>>1,E=0;E<y;E++)l<<=1,l|=e>>>pc2table[E]&1;for(var E=y;E<pc2table.length;E++)m<<=1,m|=n>>>pc2table[E]&1;o[u+0]=l>>>0,o[u+1]=m>>>0},utils$q.expand=function(e,n,o){var u=0,l=0;u=(e&1)<<5|e>>>27;for(var m=23;m>=15;m-=4)u<<=6,u|=e>>>m&63;for(var m=11;m>=3;m-=4)l|=e>>>m&63,l<<=6;l|=(e&31)<<1|e>>>31,n[o+0]=u>>>0,n[o+1]=l>>>0};var sTable=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];utils$q.substitute=function(e,n){for(var o=0,u=0;u<4;u++){var l=e>>>18-u*6&63,m=sTable[u*64+l];o<<=4,o|=m}for(var u=0;u<4;u++){var l=n>>>18-u*6&63,m=sTable[4*64+u*64+l];o<<=4,o|=m}return o>>>0};var permuteTable=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];utils$q.permute=function(e){for(var n=0,o=0;o<permuteTable.length;o++)n<<=1,n|=e>>>permuteTable[o]&1;return n>>>0},utils$q.padSplit=function(e,n,o){for(var u=e.toString(2);u.length<n;)u="0"+u;for(var l=[],m=0;m<n;m+=o)l.push(u.slice(m,m+o));return l.join(" ")};var minimalisticAssert=assert$j;function assert$j(t,e){if(!t)throw new Error(e||"Assertion failed")}assert$j.equal=function(e,n,o){if(e!=n)throw new Error(o||"Assertion failed: "+e+" != "+n)};var assert$i=minimalisticAssert;function Cipher$3(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=t.padding!==!1}var cipher=Cipher$3;Cipher$3.prototype._init=function(){},Cipher$3.prototype.update=function(e){return e.length===0?[]:this.type==="decrypt"?this._updateDecrypt(e):this._updateEncrypt(e)},Cipher$3.prototype._buffer=function(e,n){for(var o=Math.min(this.buffer.length-this.bufferOff,e.length-n),u=0;u<o;u++)this.buffer[this.bufferOff+u]=e[n+u];return this.bufferOff+=o,o},Cipher$3.prototype._flushBuffer=function(e,n){return this._update(this.buffer,0,e,n),this.bufferOff=0,this.blockSize},Cipher$3.prototype._updateEncrypt=function(e){var n=0,o=0,u=(this.bufferOff+e.length)/this.blockSize|0,l=new Array(u*this.blockSize);this.bufferOff!==0&&(n+=this._buffer(e,n),this.bufferOff===this.buffer.length&&(o+=this._flushBuffer(l,o)));for(var m=e.length-(e.length-n)%this.blockSize;n<m;n+=this.blockSize)this._update(e,n,l,o),o+=this.blockSize;for(;n<e.length;n++,this.bufferOff++)this.buffer[this.bufferOff]=e[n];return l},Cipher$3.prototype._updateDecrypt=function(e){for(var n=0,o=0,u=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,l=new Array(u*this.blockSize);u>0;u--)n+=this._buffer(e,n),o+=this._flushBuffer(l,o);return n+=this._buffer(e,n),l},Cipher$3.prototype.final=function(e){var n;e&&(n=this.update(e));var o;return this.type==="encrypt"?o=this._finalEncrypt():o=this._finalDecrypt(),n?n.concat(o):o},Cipher$3.prototype._pad=function(e,n){if(n===0)return!1;for(;n<e.length;)e[n++]=0;return!0},Cipher$3.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},Cipher$3.prototype._unpad=function(e){return e},Cipher$3.prototype._finalDecrypt=function(){assert$i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)};var assert$h=minimalisticAssert,inherits$c=inherits_browserExports,utils$p=utils$q,Cipher$2=cipher;function DESState(){this.tmp=new Array(2),this.keys=null}function DES$3(t){Cipher$2.call(this,t);var e=new DESState;this._desState=e,this.deriveKeys(e,t.key)}inherits$c(DES$3,Cipher$2);var des$1=DES$3;DES$3.create=function(e){return new DES$3(e)};var shiftTable=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];DES$3.prototype.deriveKeys=function(e,n){e.keys=new Array(16*2),assert$h.equal(n.length,this.blockSize,"Invalid key length");var o=utils$p.readUInt32BE(n,0),u=utils$p.readUInt32BE(n,4);utils$p.pc1(o,u,e.tmp,0),o=e.tmp[0],u=e.tmp[1];for(var l=0;l<e.keys.length;l+=2){var m=shiftTable[l>>>1];o=utils$p.r28shl(o,m),u=utils$p.r28shl(u,m),utils$p.pc2(o,u,e.keys,l)}},DES$3.prototype._update=function(e,n,o,u){var l=this._desState,m=utils$p.readUInt32BE(e,n),y=utils$p.readUInt32BE(e,n+4);utils$p.ip(m,y,l.tmp,0),m=l.tmp[0],y=l.tmp[1],this.type==="encrypt"?this._encrypt(l,m,y,l.tmp,0):this._decrypt(l,m,y,l.tmp,0),m=l.tmp[0],y=l.tmp[1],utils$p.writeUInt32BE(o,m,u),utils$p.writeUInt32BE(o,y,u+4)},DES$3.prototype._pad=function(e,n){if(this.padding===!1)return!1;for(var o=e.length-n,u=n;u<e.length;u++)e[u]=o;return!0},DES$3.prototype._unpad=function(e){if(this.padding===!1)return e;for(var n=e[e.length-1],o=e.length-n;o<e.length;o++)assert$h.equal(e[o],n);return e.slice(0,e.length-n)},DES$3.prototype._encrypt=function(e,n,o,u,l){for(var m=n,y=o,E=0;E<e.keys.length;E+=2){var C=e.keys[E],k=e.keys[E+1];utils$p.expand(y,e.tmp,0),C^=e.tmp[0],k^=e.tmp[1];var A=utils$p.substitute(C,k),D=utils$p.permute(A),P=y;y=(m^D)>>>0,m=P}utils$p.rip(y,m,u,l)},DES$3.prototype._decrypt=function(e,n,o,u,l){for(var m=o,y=n,E=e.keys.length-2;E>=0;E-=2){var C=e.keys[E],k=e.keys[E+1];utils$p.expand(m,e.tmp,0),C^=e.tmp[0],k^=e.tmp[1];var A=utils$p.substitute(C,k),D=utils$p.permute(A),P=m;m=(y^D)>>>0,y=P}utils$p.rip(m,y,u,l)};var cbc$1={},assert$g=minimalisticAssert,inherits$b=inherits_browserExports,proto={};function CBCState(t){assert$g.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}function instantiate(t){function e(l){t.call(this,l),this._cbcInit()}inherits$b(e,t);for(var n=Object.keys(proto),o=0;o<n.length;o++){var u=n[o];e.prototype[u]=proto[u]}return e.create=function(m){return new e(m)},e}cbc$1.instantiate=instantiate,proto._cbcInit=function(){var e=new CBCState(this.options.iv);this._cbcState=e},proto._update=function(e,n,o,u){var l=this._cbcState,m=this.constructor.super_.prototype,y=l.iv;if(this.type==="encrypt"){for(var E=0;E<this.blockSize;E++)y[E]^=e[n+E];m._update.call(this,y,0,o,u);for(var E=0;E<this.blockSize;E++)y[E]=o[u+E]}else{m._update.call(this,e,n,o,u);for(var E=0;E<this.blockSize;E++)o[u+E]^=y[E];for(var E=0;E<this.blockSize;E++)y[E]=e[n+E]}};var assert$f=minimalisticAssert,inherits$a=inherits_browserExports,Cipher$1=cipher,DES$2=des$1;function EDEState(t,e){assert$f.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),o=e.slice(8,16),u=e.slice(16,24);t==="encrypt"?this.ciphers=[DES$2.create({type:"encrypt",key:n}),DES$2.create({type:"decrypt",key:o}),DES$2.create({type:"encrypt",key:u})]:this.ciphers=[DES$2.create({type:"decrypt",key:u}),DES$2.create({type:"encrypt",key:o}),DES$2.create({type:"decrypt",key:n})]}function EDE(t){Cipher$1.call(this,t);var e=new EDEState(this.type,this.options.key);this._edeState=e}inherits$a(EDE,Cipher$1);var ede=EDE;EDE.create=function(e){return new EDE(e)},EDE.prototype._update=function(e,n,o,u){var l=this._edeState;l.ciphers[0]._update(e,n,o,u),l.ciphers[1]._update(o,u,o,u),l.ciphers[2]._update(o,u,o,u)},EDE.prototype._pad=DES$2.prototype._pad,EDE.prototype._unpad=DES$2.prototype._unpad,des$2.utils=utils$q,des$2.Cipher=cipher,des$2.DES=des$1,des$2.CBC=cbc$1,des$2.EDE=ede;var CipherBase=cipherBase,des=des$2,inherits$9=inherits_browserExports,Buffer$j=safeBufferExports$1.Buffer,modes$3={"des-ede3-cbc":des.CBC.instantiate(des.EDE),"des-ede3":des.EDE,"des-ede-cbc":des.CBC.instantiate(des.EDE),"des-ede":des.EDE,"des-cbc":des.CBC.instantiate(des.DES),"des-ecb":des.DES};modes$3.des=modes$3["des-cbc"],modes$3.des3=modes$3["des-ede3-cbc"];var browserifyDes=DES$1;inherits$9(DES$1,CipherBase);function DES$1(t){CipherBase.call(this);var e=t.mode.toLowerCase(),n=modes$3[e],o;t.decrypt?o="decrypt":o="encrypt";var u=t.key;Buffer$j.isBuffer(u)||(u=Buffer$j.from(u)),(e==="des-ede"||e==="des-ede-cbc")&&(u=Buffer$j.concat([u,u.slice(0,8)]));var l=t.iv;Buffer$j.isBuffer(l)||(l=Buffer$j.from(l)),this._des=n.create({key:u,iv:l,type:o})}DES$1.prototype._update=function(t){return Buffer$j.from(this._des.update(t))},DES$1.prototype._final=function(){return Buffer$j.from(this._des.final())};var browser$7={},encrypter={},ecb={};ecb.encrypt=function(t,e){return t._cipher.encryptBlock(e)},ecb.decrypt=function(t,e){return t._cipher.decryptBlock(e)};var cbc={},bufferXor=function(e,n){for(var o=Math.min(e.length,n.length),u=new Buffer$C(o),l=0;l<o;++l)u[l]=e[l]^n[l];return u},xor$7=bufferXor;cbc.encrypt=function(t,e){var n=xor$7(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev},cbc.decrypt=function(t,e){var n=t._prev;t._prev=e;var o=t._cipher.decryptBlock(e);return xor$7(o,n)};var cfb={},Buffer$i=safeBufferExports$1.Buffer,xor$6=bufferXor;function encryptStart(t,e,n){var o=e.length,u=xor$6(e,t._cache);return t._cache=t._cache.slice(o),t._prev=Buffer$i.concat([t._prev,n?e:u]),u}cfb.encrypt=function(t,e,n){for(var o=Buffer$i.allocUnsafe(0),u;e.length;)if(t._cache.length===0&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=Buffer$i.allocUnsafe(0)),t._cache.length<=e.length)u=t._cache.length,o=Buffer$i.concat([o,encryptStart(t,e.slice(0,u),n)]),e=e.slice(u);else{o=Buffer$i.concat([o,encryptStart(t,e,n)]);break}return o};var cfb8={},Buffer$h=safeBufferExports$1.Buffer;function encryptByte$1(t,e,n){var o=t._cipher.encryptBlock(t._prev),u=o[0]^e;return t._prev=Buffer$h.concat([t._prev.slice(1),Buffer$h.from([n?e:u])]),u}cfb8.encrypt=function(t,e,n){for(var o=e.length,u=Buffer$h.allocUnsafe(o),l=-1;++l<o;)u[l]=encryptByte$1(t,e[l],n);return u};var cfb1={},Buffer$g=safeBufferExports$1.Buffer;function encryptByte(t,e,n){for(var o,u=-1,l=8,m=0,y,E;++u<l;)o=t._cipher.encryptBlock(t._prev),y=e&1<<7-u?128:0,E=o[0]^y,m+=(E&128)>>u%8,t._prev=shiftIn(t._prev,n?y:E);return m}function shiftIn(t,e){var n=t.length,o=-1,u=Buffer$g.allocUnsafe(t.length);for(t=Buffer$g.concat([t,Buffer$g.from([e])]);++o<n;)u[o]=t[o]<<1|t[o+1]>>7;return u}cfb1.encrypt=function(t,e,n){for(var o=e.length,u=Buffer$g.allocUnsafe(o),l=-1;++l<o;)u[l]=encryptByte(t,e[l],n);return u};var ofb={},xor$5=bufferXor;function getBlock$1(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}ofb.encrypt=function(t,e){for(;t._cache.length<e.length;)t._cache=Buffer$C.concat([t._cache,getBlock$1(t)]);var n=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),xor$5(e,n)};var ctr={};function incr32$2(t){for(var e=t.length,n;e--;)if(n=t.readUInt8(e),n===255)t.writeUInt8(0,e);else{n++,t.writeUInt8(n,e);break}}var incr32_1=incr32$2,xor$4=bufferXor,Buffer$f=safeBufferExports$1.Buffer,incr32$1=incr32_1;function getBlock(t){var e=t._cipher.encryptBlockRaw(t._prev);return incr32$1(t._prev),e}var blockSize=16;ctr.encrypt=function(t,e){var n=Math.ceil(e.length/blockSize),o=t._cache.length;t._cache=Buffer$f.concat([t._cache,Buffer$f.allocUnsafe(n*blockSize)]);for(var u=0;u<n;u++){var l=getBlock(t),m=o+u*blockSize;t._cache.writeUInt32BE(l[0],m+0),t._cache.writeUInt32BE(l[1],m+4),t._cache.writeUInt32BE(l[2],m+8),t._cache.writeUInt32BE(l[3],m+12)}var y=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),xor$4(e,y)};const aes128={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},require$$2$1={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128,aes192,aes256,"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}};var modeModules={ECB:ecb,CBC:cbc,CFB:cfb,CFB8:cfb8,CFB1:cfb1,OFB:ofb,CTR:ctr,GCM:ctr},modes$2=require$$2$1;for(var key$3 in modes$2)modes$2[key$3].module=modeModules[modes$2[key$3].mode];var modes_1=modes$2,aes$5={},Buffer$e=safeBufferExports$1.Buffer;function asUInt32Array(t){Buffer$e.isBuffer(t)||(t=Buffer$e.from(t));for(var e=t.length/4|0,n=new Array(e),o=0;o<e;o++)n[o]=t.readUInt32BE(o*4);return n}function scrubVec(t){for(var e=0;e<t.length;t++)t[e]=0}function cryptBlock(t,e,n,o,u){for(var l=n[0],m=n[1],y=n[2],E=n[3],C=t[0]^e[0],k=t[1]^e[1],A=t[2]^e[2],D=t[3]^e[3],P,R,B,F,O=4,N=1;N<u;N++)P=l[C>>>24]^m[k>>>16&255]^y[A>>>8&255]^E[D&255]^e[O++],R=l[k>>>24]^m[A>>>16&255]^y[D>>>8&255]^E[C&255]^e[O++],B=l[A>>>24]^m[D>>>16&255]^y[C>>>8&255]^E[k&255]^e[O++],F=l[D>>>24]^m[C>>>16&255]^y[k>>>8&255]^E[A&255]^e[O++],C=P,k=R,A=B,D=F;return P=(o[C>>>24]<<24|o[k>>>16&255]<<16|o[A>>>8&255]<<8|o[D&255])^e[O++],R=(o[k>>>24]<<24|o[A>>>16&255]<<16|o[D>>>8&255]<<8|o[C&255])^e[O++],B=(o[A>>>24]<<24|o[D>>>16&255]<<16|o[C>>>8&255]<<8|o[k&255])^e[O++],F=(o[D>>>24]<<24|o[C>>>16&255]<<16|o[k>>>8&255]<<8|o[A&255])^e[O++],P=P>>>0,R=R>>>0,B=B>>>0,F=F>>>0,[P,R,B,F]}var RCON=[0,1,2,4,8,16,32,64,128,27,54],G=function(){for(var t=new Array(256),e=0;e<256;e++)e<128?t[e]=e<<1:t[e]=e<<1^283;for(var n=[],o=[],u=[[],[],[],[]],l=[[],[],[],[]],m=0,y=0,E=0;E<256;++E){var C=y^y<<1^y<<2^y<<3^y<<4;C=C>>>8^C&255^99,n[m]=C,o[C]=m;var k=t[m],A=t[k],D=t[A],P=t[C]*257^C*16843008;u[0][m]=P<<24|P>>>8,u[1][m]=P<<16|P>>>16,u[2][m]=P<<8|P>>>24,u[3][m]=P,P=D*16843009^A*65537^k*257^m*16843008,l[0][C]=P<<24|P>>>8,l[1][C]=P<<16|P>>>16,l[2][C]=P<<8|P>>>24,l[3][C]=P,m===0?m=y=1:(m=k^t[t[t[D^k]]],y^=t[t[y]])}return{SBOX:n,INV_SBOX:o,SUB_MIX:u,INV_SUB_MIX:l}}();function AES(t){this._key=asUInt32Array(t),this._reset()}AES.blockSize=4*4,AES.keySize=256/8,AES.prototype.blockSize=AES.blockSize,AES.prototype.keySize=AES.keySize,AES.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,o=(n+1)*4,u=[],l=0;l<e;l++)u[l]=t[l];for(l=e;l<o;l++){var m=u[l-1];l%e===0?(m=m<<8|m>>>24,m=G.SBOX[m>>>24]<<24|G.SBOX[m>>>16&255]<<16|G.SBOX[m>>>8&255]<<8|G.SBOX[m&255],m^=RCON[l/e|0]<<24):e>6&&l%e===4&&(m=G.SBOX[m>>>24]<<24|G.SBOX[m>>>16&255]<<16|G.SBOX[m>>>8&255]<<8|G.SBOX[m&255]),u[l]=u[l-e]^m}for(var y=[],E=0;E<o;E++){var C=o-E,k=u[C-(E%4?0:4)];E<4||C<=4?y[E]=k:y[E]=G.INV_SUB_MIX[0][G.SBOX[k>>>24]]^G.INV_SUB_MIX[1][G.SBOX[k>>>16&255]]^G.INV_SUB_MIX[2][G.SBOX[k>>>8&255]]^G.INV_SUB_MIX[3][G.SBOX[k&255]]}this._nRounds=n,this._keySchedule=u,this._invKeySchedule=y},AES.prototype.encryptBlockRaw=function(t){return t=asUInt32Array(t),cryptBlock(t,this._keySchedule,G.SUB_MIX,G.SBOX,this._nRounds)},AES.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=Buffer$e.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},AES.prototype.decryptBlock=function(t){t=asUInt32Array(t);var e=t[1];t[1]=t[3],t[3]=e;var n=cryptBlock(t,this._invKeySchedule,G.INV_SUB_MIX,G.INV_SBOX,this._nRounds),o=Buffer$e.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},AES.prototype.scrub=function(){scrubVec(this._keySchedule),scrubVec(this._invKeySchedule),scrubVec(this._key)},aes$5.AES=AES;var Buffer$d=safeBufferExports$1.Buffer,ZEROES=Buffer$d.alloc(16,0);function toArray$1(t){return[t.readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)]}function fromArray(t){var e=Buffer$d.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function GHASH$1(t){this.h=t,this.state=Buffer$d.alloc(16,0),this.cache=Buffer$d.allocUnsafe(0)}GHASH$1.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},GHASH$1.prototype._multiply=function(){for(var t=toArray$1(this.h),e=[0,0,0,0],n,o,u,l=-1;++l<128;){for(o=(this.state[~~(l/8)]&1<<7-l%8)!==0,o&&(e[0]^=t[0],e[1]^=t[1],e[2]^=t[2],e[3]^=t[3]),u=(t[3]&1)!==0,n=3;n>0;n--)t[n]=t[n]>>>1|(t[n-1]&1)<<31;t[0]=t[0]>>>1,u&&(t[0]=t[0]^225<<24)}this.state=fromArray(e)},GHASH$1.prototype.update=function(t){this.cache=Buffer$d.concat([this.cache,t]);for(var e;this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},GHASH$1.prototype.final=function(t,e){return this.cache.length&&this.ghash(Buffer$d.concat([this.cache,ZEROES],16)),this.ghash(fromArray([0,t,0,e])),this.state};var ghash=GHASH$1,aes$4=aes$5,Buffer$c=safeBufferExports$1.Buffer,Transform$5=cipherBase,inherits$8=inherits_browserExports,GHASH=ghash,xor$3=bufferXor,incr32=incr32_1;function xorTest(t,e){var n=0;t.length!==e.length&&n++;for(var o=Math.min(t.length,e.length),u=0;u<o;++u)n+=t[u]^e[u];return n}function calcIv(t,e,n){if(e.length===12)return t._finID=Buffer$c.concat([e,Buffer$c.from([0,0,0,1])]),Buffer$c.concat([e,Buffer$c.from([0,0,0,2])]);var o=new GHASH(n),u=e.length,l=u%16;o.update(e),l&&(l=16-l,o.update(Buffer$c.alloc(l,0))),o.update(Buffer$c.alloc(8,0));var m=u*8,y=Buffer$c.alloc(8);y.writeUIntBE(m,0,8),o.update(y),t._finID=o.state;var E=Buffer$c.from(t._finID);return incr32(E),E}function StreamCipher$3(t,e,n,o){Transform$5.call(this);var u=Buffer$c.alloc(4,0);this._cipher=new aes$4.AES(e);var l=this._cipher.encryptBlock(u);this._ghash=new GHASH(l),n=calcIv(this,n,l),this._prev=Buffer$c.from(n),this._cache=Buffer$c.allocUnsafe(0),this._secCache=Buffer$c.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}inherits$8(StreamCipher$3,Transform$5),StreamCipher$3.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=Buffer$c.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(n),this._len+=t.length,n},StreamCipher$3.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=xor$3(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&xorTest(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},StreamCipher$3.prototype.getAuthTag=function(){if(this._decrypt||!Buffer$c.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},StreamCipher$3.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},StreamCipher$3.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length};var authCipher=StreamCipher$3,aes$3=aes$5,Buffer$b=safeBufferExports$1.Buffer,Transform$4=cipherBase,inherits$7=inherits_browserExports;function StreamCipher$2(t,e,n,o){Transform$4.call(this),this._cipher=new aes$3.AES(e),this._prev=Buffer$b.from(n),this._cache=Buffer$b.allocUnsafe(0),this._secCache=Buffer$b.allocUnsafe(0),this._decrypt=o,this._mode=t}inherits$7(StreamCipher$2,Transform$4),StreamCipher$2.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},StreamCipher$2.prototype._final=function(){this._cipher.scrub()};var streamCipher=StreamCipher$2,Buffer$a=safeBufferExports$1.Buffer,MD5=md5_js;function EVP_BytesToKey(t,e,n,o){if(Buffer$a.isBuffer(t)||(t=Buffer$a.from(t,"binary")),e&&(Buffer$a.isBuffer(e)||(e=Buffer$a.from(e,"binary")),e.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var u=n/8,l=Buffer$a.alloc(u),m=Buffer$a.alloc(o||0),y=Buffer$a.alloc(0);u>0||o>0;){var E=new MD5;E.update(y),E.update(t),e&&E.update(e),y=E.digest();var C=0;if(u>0){var k=l.length-u;C=Math.min(u,y.length),y.copy(l,k,0,C),u-=C}if(C<y.length&&o>0){var A=m.length-o,D=Math.min(o,y.length-C);y.copy(m,A,C,C+D),o-=D}}return y.fill(0),{key:l,iv:m}}var evp_bytestokey=EVP_BytesToKey,MODES$1=modes_1,AuthCipher$1=authCipher,Buffer$9=safeBufferExports$1.Buffer,StreamCipher$1=streamCipher,Transform$3=cipherBase,aes$2=aes$5,ebtk$2=evp_bytestokey,inherits$6=inherits_browserExports;function Cipher(t,e,n){Transform$3.call(this),this._cache=new Splitter$1,this._cipher=new aes$2.AES(e),this._prev=Buffer$9.from(n),this._mode=t,this._autopadding=!0}inherits$6(Cipher,Transform$3),Cipher.prototype._update=function(t){this._cache.add(t);for(var e,n,o=[];e=this._cache.get();)n=this._mode.encrypt(this,e),o.push(n);return Buffer$9.concat(o)};var PADDING=Buffer$9.alloc(16,16);Cipher.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(PADDING))throw this._cipher.scrub(),new Error("data not multiple of block length")},Cipher.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function Splitter$1(){this.cache=Buffer$9.allocUnsafe(0)}Splitter$1.prototype.add=function(t){this.cache=Buffer$9.concat([this.cache,t])},Splitter$1.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},Splitter$1.prototype.flush=function(){for(var t=16-this.cache.length,e=Buffer$9.allocUnsafe(t),n=-1;++n<t;)e.writeUInt8(t,n);return Buffer$9.concat([this.cache,e])};function createCipheriv$1(t,e,n){var o=MODES$1[t.toLowerCase()];if(!o)throw new TypeError("invalid suite type");if(typeof e=="string"&&(e=Buffer$9.from(e)),e.length!==o.key/8)throw new TypeError("invalid key length "+e.length);if(typeof n=="string"&&(n=Buffer$9.from(n)),o.mode!=="GCM"&&n.length!==o.iv)throw new TypeError("invalid iv length "+n.length);return o.type==="stream"?new StreamCipher$1(o.module,e,n):o.type==="auth"?new AuthCipher$1(o.module,e,n):new Cipher(o.module,e,n)}function createCipher$1(t,e){var n=MODES$1[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var o=ebtk$2(e,!1,n.key,n.iv);return createCipheriv$1(t,o.key,o.iv)}encrypter.createCipheriv=createCipheriv$1,encrypter.createCipher=createCipher$1;var decrypter={},AuthCipher=authCipher,Buffer$8=safeBufferExports$1.Buffer,MODES=modes_1,StreamCipher=streamCipher,Transform$2=cipherBase,aes$1=aes$5,ebtk$1=evp_bytestokey,inherits$5=inherits_browserExports;function Decipher(t,e,n){Transform$2.call(this),this._cache=new Splitter,this._last=void 0,this._cipher=new aes$1.AES(e),this._prev=Buffer$8.from(n),this._mode=t,this._autopadding=!0}inherits$5(Decipher,Transform$2),Decipher.prototype._update=function(t){this._cache.add(t);for(var e,n,o=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),o.push(n);return Buffer$8.concat(o)},Decipher.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return unpad(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},Decipher.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this};function Splitter(){this.cache=Buffer$8.allocUnsafe(0)}Splitter.prototype.add=function(t){this.cache=Buffer$8.concat([this.cache,t])},Splitter.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},Splitter.prototype.flush=function(){if(this.cache.length)return this.cache};function unpad(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var n=-1;++n<e;)if(t[n+(16-e)]!==e)throw new Error("unable to decrypt data");if(e!==16)return t.slice(0,16-e)}function createDecipheriv$1(t,e,n){var o=MODES[t.toLowerCase()];if(!o)throw new TypeError("invalid suite type");if(typeof n=="string"&&(n=Buffer$8.from(n)),o.mode!=="GCM"&&n.length!==o.iv)throw new TypeError("invalid iv length "+n.length);if(typeof e=="string"&&(e=Buffer$8.from(e)),e.length!==o.key/8)throw new TypeError("invalid key length "+e.length);return o.type==="stream"?new StreamCipher(o.module,e,n,!0):o.type==="auth"?new AuthCipher(o.module,e,n,!0):new Decipher(o.module,e,n)}function createDecipher$1(t,e){var n=MODES[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var o=ebtk$1(e,!1,n.key,n.iv);return createDecipheriv$1(t,o.key,o.iv)}decrypter.createDecipher=createDecipher$1,decrypter.createDecipheriv=createDecipheriv$1;var ciphers$2=encrypter,deciphers=decrypter,modes$1=require$$2$1;function getCiphers$1(){return Object.keys(modes$1)}browser$7.createCipher=browser$7.Cipher=ciphers$2.createCipher,browser$7.createCipheriv=browser$7.Cipheriv=ciphers$2.createCipheriv,browser$7.createDecipher=browser$7.Decipher=deciphers.createDecipher,browser$7.createDecipheriv=browser$7.Decipheriv=deciphers.createDecipheriv,browser$7.listCiphers=browser$7.getCiphers=getCiphers$1;var modes={};(function(t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}})(modes);var DES=browserifyDes,aes=browser$7,aesModes=modes_1,desModes=modes,ebtk=evp_bytestokey;function createCipher(t,e){t=t.toLowerCase();var n,o;if(aesModes[t])n=aesModes[t].key,o=aesModes[t].iv;else if(desModes[t])n=desModes[t].key*8,o=desModes[t].iv;else throw new TypeError("invalid suite type");var u=ebtk(e,!1,n,o);return createCipheriv(t,u.key,u.iv)}function createDecipher(t,e){t=t.toLowerCase();var n,o;if(aesModes[t])n=aesModes[t].key,o=aesModes[t].iv;else if(desModes[t])n=desModes[t].key*8,o=desModes[t].iv;else throw new TypeError("invalid suite type");var u=ebtk(e,!1,n,o);return createDecipheriv(t,u.key,u.iv)}function createCipheriv(t,e,n){if(t=t.toLowerCase(),aesModes[t])return aes.createCipheriv(t,e,n);if(desModes[t])return new DES({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function createDecipheriv(t,e,n){if(t=t.toLowerCase(),aesModes[t])return aes.createDecipheriv(t,e,n);if(desModes[t])return new DES({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}function getCiphers(){return Object.keys(desModes).concat(aes.getCiphers())}browser$8.createCipher=browser$8.Cipher=createCipher,browser$8.createCipheriv=browser$8.Cipheriv=createCipheriv,browser$8.createDecipher=browser$8.Decipher=createDecipher,browser$8.createDecipheriv=browser$8.Decipheriv=createDecipheriv,browser$8.listCiphers=browser$8.getCiphers=getCiphers;var browser$6={},bn$6={exports:{}};bn$6.exports,function(t){(function(e,n){function o(L,d){if(!L)throw new Error(d||"Assertion failed")}function u(L,d){L.super_=d;var v=function(){};v.prototype=d.prototype,L.prototype=new v,L.prototype.constructor=L}function l(L,d,v){if(l.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((d==="le"||d==="be")&&(v=d,d=10),this._init(L||0,d||10,v||"be"))}typeof e=="object"?e.exports=l:n.BN=l,l.BN=l,l.wordSize=26;var m;try{typeof window<"u"&&typeof window.Buffer<"u"?m=window.Buffer:m=require$$0$2.Buffer}catch{}l.isBN=function(d){return d instanceof l?!0:d!==null&&typeof d=="object"&&d.constructor.wordSize===l.wordSize&&Array.isArray(d.words)},l.max=function(d,v){return d.cmp(v)>0?d:v},l.min=function(d,v){return d.cmp(v)<0?d:v},l.prototype._init=function(d,v,w){if(typeof d=="number")return this._initNumber(d,v,w);if(typeof d=="object")return this._initArray(d,v,w);v==="hex"&&(v=16),o(v===(v|0)&&v>=2&&v<=36),d=d.toString().replace(/\s+/g,"");var c=0;d[0]==="-"&&(c++,this.negative=1),c<d.length&&(v===16?this._parseHex(d,c,w):(this._parseBase(d,v,c),w==="le"&&this._initArray(this.toArray(),v,w)))},l.prototype._initNumber=function(d,v,w){d<0&&(this.negative=1,d=-d),d<67108864?(this.words=[d&67108863],this.length=1):d<4503599627370496?(this.words=[d&67108863,d/67108864&67108863],this.length=2):(o(d<9007199254740992),this.words=[d&67108863,d/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),v,w)},l.prototype._initArray=function(d,v,w){if(o(typeof d.length=="number"),d.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(d.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p,x,S=0;if(w==="be")for(c=d.length-1,p=0;c>=0;c-=3)x=d[c]|d[c-1]<<8|d[c-2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);else if(w==="le")for(c=0,p=0;c<d.length;c+=3)x=d[c]|d[c+1]<<8|d[c+2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);return this.strip()};function y(L,d){var v=L.charCodeAt(d);return v>=65&&v<=70?v-55:v>=97&&v<=102?v-87:v-48&15}function E(L,d,v){var w=y(L,v);return v-1>=d&&(w|=y(L,v-1)<<4),w}l.prototype._parseHex=function(d,v,w){this.length=Math.ceil((d.length-v)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p=0,x=0,S;if(w==="be")for(c=d.length-1;c>=v;c-=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8;else{var b=d.length-v;for(c=b%2===0?v+1:v;c<d.length;c+=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8}this.strip()};function C(L,d,v,w){for(var c=0,p=Math.min(L.length,v),x=d;x<p;x++){var S=L.charCodeAt(x)-48;c*=w,S>=49?c+=S-49+10:S>=17?c+=S-17+10:c+=S}return c}l.prototype._parseBase=function(d,v,w){this.words=[0],this.length=1;for(var c=0,p=1;p<=67108863;p*=v)c++;c--,p=p/v|0;for(var x=d.length-w,S=x%c,b=Math.min(x,x-S)+w,h=0,T=w;T<b;T+=c)h=C(d,T,T+c,v),this.imuln(p),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(S!==0){var M=1;for(h=C(d,T,d.length,v),T=0;T<S;T++)M*=v;this.imuln(M),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(d){d.words=new Array(this.length);for(var v=0;v<this.length;v++)d.words[v]=this.words[v];d.length=this.length,d.negative=this.negative,d.red=this.red},l.prototype.clone=function(){var d=new l(null);return this.copy(d),d},l.prototype._expand=function(d){for(;this.length<d;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},l.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],A=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(d,v){d=d||10,v=v|0||1;var w;if(d===16||d==="hex"){w="";for(var c=0,p=0,x=0;x<this.length;x++){var S=this.words[x],b=((S<<c|p)&16777215).toString(16);p=S>>>24-c&16777215,p!==0||x!==this.length-1?w=k[6-b.length]+b+w:w=b+w,c+=2,c>=26&&(c-=26,x--)}for(p!==0&&(w=p.toString(16)+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(d===(d|0)&&d>=2&&d<=36){var h=A[d],T=D[d];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var j=M.modn(T).toString(d);M=M.idivn(T),M.isZero()?w=j+w:w=k[h-j.length]+j+w}for(this.isZero()&&(w="0"+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}o(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var d=this.words[0];return this.length===2?d+=this.words[1]*67108864:this.length===3&&this.words[2]===1?d+=4503599627370496+this.words[1]*67108864:this.length>2&&o(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-d:d},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(d,v){return o(typeof m<"u"),this.toArrayLike(m,d,v)},l.prototype.toArray=function(d,v){return this.toArrayLike(Array,d,v)},l.prototype.toArrayLike=function(d,v,w){var c=this.byteLength(),p=w||Math.max(1,c);o(c<=p,"byte array longer than desired length"),o(p>0,"Requested array length <= 0"),this.strip();var x=v==="le",S=new d(p),b,h,T=this.clone();if(x){for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[h]=b;for(;h<p;h++)S[h]=0}else{for(h=0;h<p-c;h++)S[h]=0;for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[p-h-1]=b}return S},Math.clz32?l.prototype._countBits=function(d){return 32-Math.clz32(d)}:l.prototype._countBits=function(d){var v=d,w=0;return v>=4096&&(w+=13,v>>>=13),v>=64&&(w+=7,v>>>=7),v>=8&&(w+=4,v>>>=4),v>=2&&(w+=2,v>>>=2),w+v},l.prototype._zeroBits=function(d){if(d===0)return 26;var v=d,w=0;return v&8191||(w+=13,v>>>=13),v&127||(w+=7,v>>>=7),v&15||(w+=4,v>>>=4),v&3||(w+=2,v>>>=2),v&1||w++,w},l.prototype.bitLength=function(){var d=this.words[this.length-1],v=this._countBits(d);return(this.length-1)*26+v};function P(L){for(var d=new Array(L.bitLength()),v=0;v<d.length;v++){var w=v/26|0,c=v%26;d[v]=(L.words[w]&1<<c)>>>c}return d}l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var d=0,v=0;v<this.length;v++){var w=this._zeroBits(this.words[v]);if(d+=w,w!==26)break}return d},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(d){return this.negative!==0?this.abs().inotn(d).iaddn(1):this.clone()},l.prototype.fromTwos=function(d){return this.testn(d-1)?this.notn(d).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return this.negative!==0},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(d){for(;this.length<d.length;)this.words[this.length++]=0;for(var v=0;v<d.length;v++)this.words[v]=this.words[v]|d.words[v];return this.strip()},l.prototype.ior=function(d){return o((this.negative|d.negative)===0),this.iuor(d)},l.prototype.or=function(d){return this.length>d.length?this.clone().ior(d):d.clone().ior(this)},l.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},l.prototype.iuand=function(d){var v;this.length>d.length?v=d:v=this;for(var w=0;w<v.length;w++)this.words[w]=this.words[w]&d.words[w];return this.length=v.length,this.strip()},l.prototype.iand=function(d){return o((this.negative|d.negative)===0),this.iuand(d)},l.prototype.and=function(d){return this.length>d.length?this.clone().iand(d):d.clone().iand(this)},l.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},l.prototype.iuxor=function(d){var v,w;this.length>d.length?(v=this,w=d):(v=d,w=this);for(var c=0;c<w.length;c++)this.words[c]=v.words[c]^w.words[c];if(this!==v)for(;c<v.length;c++)this.words[c]=v.words[c];return this.length=v.length,this.strip()},l.prototype.ixor=function(d){return o((this.negative|d.negative)===0),this.iuxor(d)},l.prototype.xor=function(d){return this.length>d.length?this.clone().ixor(d):d.clone().ixor(this)},l.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},l.prototype.inotn=function(d){o(typeof d=="number"&&d>=0);var v=Math.ceil(d/26)|0,w=d%26;this._expand(v),w>0&&v--;for(var c=0;c<v;c++)this.words[c]=~this.words[c]&67108863;return w>0&&(this.words[c]=~this.words[c]&67108863>>26-w),this.strip()},l.prototype.notn=function(d){return this.clone().inotn(d)},l.prototype.setn=function(d,v){o(typeof d=="number"&&d>=0);var w=d/26|0,c=d%26;return this._expand(w+1),v?this.words[w]=this.words[w]|1<<c:this.words[w]=this.words[w]&~(1<<c),this.strip()},l.prototype.iadd=function(d){var v;if(this.negative!==0&&d.negative===0)return this.negative=0,v=this.isub(d),this.negative^=1,this._normSign();if(this.negative===0&&d.negative!==0)return d.negative=0,v=this.isub(d),d.negative=1,v._normSign();var w,c;this.length>d.length?(w=this,c=d):(w=d,c=this);for(var p=0,x=0;x<c.length;x++)v=(w.words[x]|0)+(c.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;for(;p!==0&&x<w.length;x++)v=(w.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;if(this.length=w.length,p!==0)this.words[this.length]=p,this.length++;else if(w!==this)for(;x<w.length;x++)this.words[x]=w.words[x];return this},l.prototype.add=function(d){var v;return d.negative!==0&&this.negative===0?(d.negative=0,v=this.sub(d),d.negative^=1,v):d.negative===0&&this.negative!==0?(this.negative=0,v=d.sub(this),this.negative=1,v):this.length>d.length?this.clone().iadd(d):d.clone().iadd(this)},l.prototype.isub=function(d){if(d.negative!==0){d.negative=0;var v=this.iadd(d);return d.negative=1,v._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var w=this.cmp(d);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,p;w>0?(c=this,p=d):(c=d,p=this);for(var x=0,S=0;S<p.length;S++)v=(c.words[S]|0)-(p.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;for(;x!==0&&S<c.length;S++)v=(c.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;if(x===0&&S<c.length&&c!==this)for(;S<c.length;S++)this.words[S]=c.words[S];return this.length=Math.max(this.length,S),c!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(d){return this.clone().isub(d)};function R(L,d,v){v.negative=d.negative^L.negative;var w=L.length+d.length|0;v.length=w,w=w-1|0;var c=L.words[0]|0,p=d.words[0]|0,x=c*p,S=x&67108863,b=x/67108864|0;v.words[0]=S;for(var h=1;h<w;h++){for(var T=b>>>26,M=b&67108863,j=Math.min(h,d.length-1),V=Math.max(0,h-L.length+1);V<=j;V++){var ee=h-V|0;c=L.words[ee]|0,p=d.words[V]|0,x=c*p+M,T+=x/67108864|0,M=x&67108863}v.words[h]=M|0,b=T|0}return b!==0?v.words[h]=b|0:v.length--,v.strip()}var B=function(d,v,w){var c=d.words,p=v.words,x=w.words,S=0,b,h,T,M=c[0]|0,j=M&8191,V=M>>>13,ee=c[1]|0,Z=ee&8191,U=ee>>>13,z=c[2]|0,ne=z&8191,fe=z>>>13,me=c[3]|0,de=me&8191,Oe=me>>>13,lt=c[4]|0,it=lt&8191,ot=lt>>>13,Ct=c[5]|0,nt=Ct&8191,Je=Ct>>>13,tt=c[6]|0,rt=tt&8191,ht=tt>>>13,jt=c[7]|0,Ve=jt&8191,We=jt>>>13,Gt=c[8]|0,wt=Gt&8191,Et=Gt>>>13,Yt=c[9]|0,Ce=Yt&8191,te=Yt>>>13,ye=p[0]|0,Le=ye&8191,Ue=ye>>>13,Qe=p[1]|0,Ke=Qe&8191,De=Qe>>>13,Vt=p[2]|0,At=Vt&8191,ve=Vt>>>13,Pt=p[3]|0,pt=Pt&8191,Ne=Pt>>>13,vt=p[4]|0,ut=vt&8191,$t=vt>>>13,fi=p[5]|0,kt=fi&8191,Wt=fi>>>13,Zi=p[6]|0,Ut=Zi&8191,Xt=Zi>>>13,Be=p[7]|0,be=Be&8191,ge=Be>>>13,oe=p[8]|0,Ae=oe&8191,qe=oe>>>13,bt=p[9]|0,at=bt&8191,gt=bt>>>13;w.negative=d.negative^v.negative,w.length=19,b=Math.imul(j,Le),h=Math.imul(j,Ue),h=h+Math.imul(V,Le)|0,T=Math.imul(V,Ue);var ei=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ei>>>26)|0,ei&=67108863,b=Math.imul(Z,Le),h=Math.imul(Z,Ue),h=h+Math.imul(U,Le)|0,T=Math.imul(U,Ue),b=b+Math.imul(j,Ke)|0,h=h+Math.imul(j,De)|0,h=h+Math.imul(V,Ke)|0,T=T+Math.imul(V,De)|0;var ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ii>>>26)|0,ii&=67108863,b=Math.imul(ne,Le),h=Math.imul(ne,Ue),h=h+Math.imul(fe,Le)|0,T=Math.imul(fe,Ue),b=b+Math.imul(Z,Ke)|0,h=h+Math.imul(Z,De)|0,h=h+Math.imul(U,Ke)|0,T=T+Math.imul(U,De)|0,b=b+Math.imul(j,At)|0,h=h+Math.imul(j,ve)|0,h=h+Math.imul(V,At)|0,T=T+Math.imul(V,ve)|0;var Bi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,b=Math.imul(de,Le),h=Math.imul(de,Ue),h=h+Math.imul(Oe,Le)|0,T=Math.imul(Oe,Ue),b=b+Math.imul(ne,Ke)|0,h=h+Math.imul(ne,De)|0,h=h+Math.imul(fe,Ke)|0,T=T+Math.imul(fe,De)|0,b=b+Math.imul(Z,At)|0,h=h+Math.imul(Z,ve)|0,h=h+Math.imul(U,At)|0,T=T+Math.imul(U,ve)|0,b=b+Math.imul(j,pt)|0,h=h+Math.imul(j,Ne)|0,h=h+Math.imul(V,pt)|0,T=T+Math.imul(V,Ne)|0;var hi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(hi>>>26)|0,hi&=67108863,b=Math.imul(it,Le),h=Math.imul(it,Ue),h=h+Math.imul(ot,Le)|0,T=Math.imul(ot,Ue),b=b+Math.imul(de,Ke)|0,h=h+Math.imul(de,De)|0,h=h+Math.imul(Oe,Ke)|0,T=T+Math.imul(Oe,De)|0,b=b+Math.imul(ne,At)|0,h=h+Math.imul(ne,ve)|0,h=h+Math.imul(fe,At)|0,T=T+Math.imul(fe,ve)|0,b=b+Math.imul(Z,pt)|0,h=h+Math.imul(Z,Ne)|0,h=h+Math.imul(U,pt)|0,T=T+Math.imul(U,Ne)|0,b=b+Math.imul(j,ut)|0,h=h+Math.imul(j,$t)|0,h=h+Math.imul(V,ut)|0,T=T+Math.imul(V,$t)|0;var Di=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Di>>>26)|0,Di&=67108863,b=Math.imul(nt,Le),h=Math.imul(nt,Ue),h=h+Math.imul(Je,Le)|0,T=Math.imul(Je,Ue),b=b+Math.imul(it,Ke)|0,h=h+Math.imul(it,De)|0,h=h+Math.imul(ot,Ke)|0,T=T+Math.imul(ot,De)|0,b=b+Math.imul(de,At)|0,h=h+Math.imul(de,ve)|0,h=h+Math.imul(Oe,At)|0,T=T+Math.imul(Oe,ve)|0,b=b+Math.imul(ne,pt)|0,h=h+Math.imul(ne,Ne)|0,h=h+Math.imul(fe,pt)|0,T=T+Math.imul(fe,Ne)|0,b=b+Math.imul(Z,ut)|0,h=h+Math.imul(Z,$t)|0,h=h+Math.imul(U,ut)|0,T=T+Math.imul(U,$t)|0,b=b+Math.imul(j,kt)|0,h=h+Math.imul(j,Wt)|0,h=h+Math.imul(V,kt)|0,T=T+Math.imul(V,Wt)|0;var ni=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ni>>>26)|0,ni&=67108863,b=Math.imul(rt,Le),h=Math.imul(rt,Ue),h=h+Math.imul(ht,Le)|0,T=Math.imul(ht,Ue),b=b+Math.imul(nt,Ke)|0,h=h+Math.imul(nt,De)|0,h=h+Math.imul(Je,Ke)|0,T=T+Math.imul(Je,De)|0,b=b+Math.imul(it,At)|0,h=h+Math.imul(it,ve)|0,h=h+Math.imul(ot,At)|0,T=T+Math.imul(ot,ve)|0,b=b+Math.imul(de,pt)|0,h=h+Math.imul(de,Ne)|0,h=h+Math.imul(Oe,pt)|0,T=T+Math.imul(Oe,Ne)|0,b=b+Math.imul(ne,ut)|0,h=h+Math.imul(ne,$t)|0,h=h+Math.imul(fe,ut)|0,T=T+Math.imul(fe,$t)|0,b=b+Math.imul(Z,kt)|0,h=h+Math.imul(Z,Wt)|0,h=h+Math.imul(U,kt)|0,T=T+Math.imul(U,Wt)|0,b=b+Math.imul(j,Ut)|0,h=h+Math.imul(j,Xt)|0,h=h+Math.imul(V,Ut)|0,T=T+Math.imul(V,Xt)|0;var pi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(Ve,Le),h=Math.imul(Ve,Ue),h=h+Math.imul(We,Le)|0,T=Math.imul(We,Ue),b=b+Math.imul(rt,Ke)|0,h=h+Math.imul(rt,De)|0,h=h+Math.imul(ht,Ke)|0,T=T+Math.imul(ht,De)|0,b=b+Math.imul(nt,At)|0,h=h+Math.imul(nt,ve)|0,h=h+Math.imul(Je,At)|0,T=T+Math.imul(Je,ve)|0,b=b+Math.imul(it,pt)|0,h=h+Math.imul(it,Ne)|0,h=h+Math.imul(ot,pt)|0,T=T+Math.imul(ot,Ne)|0,b=b+Math.imul(de,ut)|0,h=h+Math.imul(de,$t)|0,h=h+Math.imul(Oe,ut)|0,T=T+Math.imul(Oe,$t)|0,b=b+Math.imul(ne,kt)|0,h=h+Math.imul(ne,Wt)|0,h=h+Math.imul(fe,kt)|0,T=T+Math.imul(fe,Wt)|0,b=b+Math.imul(Z,Ut)|0,h=h+Math.imul(Z,Xt)|0,h=h+Math.imul(U,Ut)|0,T=T+Math.imul(U,Xt)|0,b=b+Math.imul(j,be)|0,h=h+Math.imul(j,ge)|0,h=h+Math.imul(V,be)|0,T=T+Math.imul(V,ge)|0;var Ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ii>>>26)|0,Ii&=67108863,b=Math.imul(wt,Le),h=Math.imul(wt,Ue),h=h+Math.imul(Et,Le)|0,T=Math.imul(Et,Ue),b=b+Math.imul(Ve,Ke)|0,h=h+Math.imul(Ve,De)|0,h=h+Math.imul(We,Ke)|0,T=T+Math.imul(We,De)|0,b=b+Math.imul(rt,At)|0,h=h+Math.imul(rt,ve)|0,h=h+Math.imul(ht,At)|0,T=T+Math.imul(ht,ve)|0,b=b+Math.imul(nt,pt)|0,h=h+Math.imul(nt,Ne)|0,h=h+Math.imul(Je,pt)|0,T=T+Math.imul(Je,Ne)|0,b=b+Math.imul(it,ut)|0,h=h+Math.imul(it,$t)|0,h=h+Math.imul(ot,ut)|0,T=T+Math.imul(ot,$t)|0,b=b+Math.imul(de,kt)|0,h=h+Math.imul(de,Wt)|0,h=h+Math.imul(Oe,kt)|0,T=T+Math.imul(Oe,Wt)|0,b=b+Math.imul(ne,Ut)|0,h=h+Math.imul(ne,Xt)|0,h=h+Math.imul(fe,Ut)|0,T=T+Math.imul(fe,Xt)|0,b=b+Math.imul(Z,be)|0,h=h+Math.imul(Z,ge)|0,h=h+Math.imul(U,be)|0,T=T+Math.imul(U,ge)|0,b=b+Math.imul(j,Ae)|0,h=h+Math.imul(j,qe)|0,h=h+Math.imul(V,Ae)|0,T=T+Math.imul(V,qe)|0;var Ci=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,b=Math.imul(Ce,Le),h=Math.imul(Ce,Ue),h=h+Math.imul(te,Le)|0,T=Math.imul(te,Ue),b=b+Math.imul(wt,Ke)|0,h=h+Math.imul(wt,De)|0,h=h+Math.imul(Et,Ke)|0,T=T+Math.imul(Et,De)|0,b=b+Math.imul(Ve,At)|0,h=h+Math.imul(Ve,ve)|0,h=h+Math.imul(We,At)|0,T=T+Math.imul(We,ve)|0,b=b+Math.imul(rt,pt)|0,h=h+Math.imul(rt,Ne)|0,h=h+Math.imul(ht,pt)|0,T=T+Math.imul(ht,Ne)|0,b=b+Math.imul(nt,ut)|0,h=h+Math.imul(nt,$t)|0,h=h+Math.imul(Je,ut)|0,T=T+Math.imul(Je,$t)|0,b=b+Math.imul(it,kt)|0,h=h+Math.imul(it,Wt)|0,h=h+Math.imul(ot,kt)|0,T=T+Math.imul(ot,Wt)|0,b=b+Math.imul(de,Ut)|0,h=h+Math.imul(de,Xt)|0,h=h+Math.imul(Oe,Ut)|0,T=T+Math.imul(Oe,Xt)|0,b=b+Math.imul(ne,be)|0,h=h+Math.imul(ne,ge)|0,h=h+Math.imul(fe,be)|0,T=T+Math.imul(fe,ge)|0,b=b+Math.imul(Z,Ae)|0,h=h+Math.imul(Z,qe)|0,h=h+Math.imul(U,Ae)|0,T=T+Math.imul(U,qe)|0,b=b+Math.imul(j,at)|0,h=h+Math.imul(j,gt)|0,h=h+Math.imul(V,at)|0,T=T+Math.imul(V,gt)|0;var zi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,b=Math.imul(Ce,Ke),h=Math.imul(Ce,De),h=h+Math.imul(te,Ke)|0,T=Math.imul(te,De),b=b+Math.imul(wt,At)|0,h=h+Math.imul(wt,ve)|0,h=h+Math.imul(Et,At)|0,T=T+Math.imul(Et,ve)|0,b=b+Math.imul(Ve,pt)|0,h=h+Math.imul(Ve,Ne)|0,h=h+Math.imul(We,pt)|0,T=T+Math.imul(We,Ne)|0,b=b+Math.imul(rt,ut)|0,h=h+Math.imul(rt,$t)|0,h=h+Math.imul(ht,ut)|0,T=T+Math.imul(ht,$t)|0,b=b+Math.imul(nt,kt)|0,h=h+Math.imul(nt,Wt)|0,h=h+Math.imul(Je,kt)|0,T=T+Math.imul(Je,Wt)|0,b=b+Math.imul(it,Ut)|0,h=h+Math.imul(it,Xt)|0,h=h+Math.imul(ot,Ut)|0,T=T+Math.imul(ot,Xt)|0,b=b+Math.imul(de,be)|0,h=h+Math.imul(de,ge)|0,h=h+Math.imul(Oe,be)|0,T=T+Math.imul(Oe,ge)|0,b=b+Math.imul(ne,Ae)|0,h=h+Math.imul(ne,qe)|0,h=h+Math.imul(fe,Ae)|0,T=T+Math.imul(fe,qe)|0,b=b+Math.imul(Z,at)|0,h=h+Math.imul(Z,gt)|0,h=h+Math.imul(U,at)|0,T=T+Math.imul(U,gt)|0;var qi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(qi>>>26)|0,qi&=67108863,b=Math.imul(Ce,At),h=Math.imul(Ce,ve),h=h+Math.imul(te,At)|0,T=Math.imul(te,ve),b=b+Math.imul(wt,pt)|0,h=h+Math.imul(wt,Ne)|0,h=h+Math.imul(Et,pt)|0,T=T+Math.imul(Et,Ne)|0,b=b+Math.imul(Ve,ut)|0,h=h+Math.imul(Ve,$t)|0,h=h+Math.imul(We,ut)|0,T=T+Math.imul(We,$t)|0,b=b+Math.imul(rt,kt)|0,h=h+Math.imul(rt,Wt)|0,h=h+Math.imul(ht,kt)|0,T=T+Math.imul(ht,Wt)|0,b=b+Math.imul(nt,Ut)|0,h=h+Math.imul(nt,Xt)|0,h=h+Math.imul(Je,Ut)|0,T=T+Math.imul(Je,Xt)|0,b=b+Math.imul(it,be)|0,h=h+Math.imul(it,ge)|0,h=h+Math.imul(ot,be)|0,T=T+Math.imul(ot,ge)|0,b=b+Math.imul(de,Ae)|0,h=h+Math.imul(de,qe)|0,h=h+Math.imul(Oe,Ae)|0,T=T+Math.imul(Oe,qe)|0,b=b+Math.imul(ne,at)|0,h=h+Math.imul(ne,gt)|0,h=h+Math.imul(fe,at)|0,T=T+Math.imul(fe,gt)|0;var Ai=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,b=Math.imul(Ce,pt),h=Math.imul(Ce,Ne),h=h+Math.imul(te,pt)|0,T=Math.imul(te,Ne),b=b+Math.imul(wt,ut)|0,h=h+Math.imul(wt,$t)|0,h=h+Math.imul(Et,ut)|0,T=T+Math.imul(Et,$t)|0,b=b+Math.imul(Ve,kt)|0,h=h+Math.imul(Ve,Wt)|0,h=h+Math.imul(We,kt)|0,T=T+Math.imul(We,Wt)|0,b=b+Math.imul(rt,Ut)|0,h=h+Math.imul(rt,Xt)|0,h=h+Math.imul(ht,Ut)|0,T=T+Math.imul(ht,Xt)|0,b=b+Math.imul(nt,be)|0,h=h+Math.imul(nt,ge)|0,h=h+Math.imul(Je,be)|0,T=T+Math.imul(Je,ge)|0,b=b+Math.imul(it,Ae)|0,h=h+Math.imul(it,qe)|0,h=h+Math.imul(ot,Ae)|0,T=T+Math.imul(ot,qe)|0,b=b+Math.imul(de,at)|0,h=h+Math.imul(de,gt)|0,h=h+Math.imul(Oe,at)|0,T=T+Math.imul(Oe,gt)|0;var ji=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,b=Math.imul(Ce,ut),h=Math.imul(Ce,$t),h=h+Math.imul(te,ut)|0,T=Math.imul(te,$t),b=b+Math.imul(wt,kt)|0,h=h+Math.imul(wt,Wt)|0,h=h+Math.imul(Et,kt)|0,T=T+Math.imul(Et,Wt)|0,b=b+Math.imul(Ve,Ut)|0,h=h+Math.imul(Ve,Xt)|0,h=h+Math.imul(We,Ut)|0,T=T+Math.imul(We,Xt)|0,b=b+Math.imul(rt,be)|0,h=h+Math.imul(rt,ge)|0,h=h+Math.imul(ht,be)|0,T=T+Math.imul(ht,ge)|0,b=b+Math.imul(nt,Ae)|0,h=h+Math.imul(nt,qe)|0,h=h+Math.imul(Je,Ae)|0,T=T+Math.imul(Je,qe)|0,b=b+Math.imul(it,at)|0,h=h+Math.imul(it,gt)|0,h=h+Math.imul(ot,at)|0,T=T+Math.imul(ot,gt)|0;var ki=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ki>>>26)|0,ki&=67108863,b=Math.imul(Ce,kt),h=Math.imul(Ce,Wt),h=h+Math.imul(te,kt)|0,T=Math.imul(te,Wt),b=b+Math.imul(wt,Ut)|0,h=h+Math.imul(wt,Xt)|0,h=h+Math.imul(Et,Ut)|0,T=T+Math.imul(Et,Xt)|0,b=b+Math.imul(Ve,be)|0,h=h+Math.imul(Ve,ge)|0,h=h+Math.imul(We,be)|0,T=T+Math.imul(We,ge)|0,b=b+Math.imul(rt,Ae)|0,h=h+Math.imul(rt,qe)|0,h=h+Math.imul(ht,Ae)|0,T=T+Math.imul(ht,qe)|0,b=b+Math.imul(nt,at)|0,h=h+Math.imul(nt,gt)|0,h=h+Math.imul(Je,at)|0,T=T+Math.imul(Je,gt)|0;var Ti=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,b=Math.imul(Ce,Ut),h=Math.imul(Ce,Xt),h=h+Math.imul(te,Ut)|0,T=Math.imul(te,Xt),b=b+Math.imul(wt,be)|0,h=h+Math.imul(wt,ge)|0,h=h+Math.imul(Et,be)|0,T=T+Math.imul(Et,ge)|0,b=b+Math.imul(Ve,Ae)|0,h=h+Math.imul(Ve,qe)|0,h=h+Math.imul(We,Ae)|0,T=T+Math.imul(We,qe)|0,b=b+Math.imul(rt,at)|0,h=h+Math.imul(rt,gt)|0,h=h+Math.imul(ht,at)|0,T=T+Math.imul(ht,gt)|0;var wi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(wi>>>26)|0,wi&=67108863,b=Math.imul(Ce,be),h=Math.imul(Ce,ge),h=h+Math.imul(te,be)|0,T=Math.imul(te,ge),b=b+Math.imul(wt,Ae)|0,h=h+Math.imul(wt,qe)|0,h=h+Math.imul(Et,Ae)|0,T=T+Math.imul(Et,qe)|0,b=b+Math.imul(Ve,at)|0,h=h+Math.imul(Ve,gt)|0,h=h+Math.imul(We,at)|0,T=T+Math.imul(We,gt)|0;var oi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(oi>>>26)|0,oi&=67108863,b=Math.imul(Ce,Ae),h=Math.imul(Ce,qe),h=h+Math.imul(te,Ae)|0,T=Math.imul(te,qe),b=b+Math.imul(wt,at)|0,h=h+Math.imul(wt,gt)|0,h=h+Math.imul(Et,at)|0,T=T+Math.imul(Et,gt)|0;var zt=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zt>>>26)|0,zt&=67108863,b=Math.imul(Ce,at),h=Math.imul(Ce,gt),h=h+Math.imul(te,at)|0,T=Math.imul(te,gt);var Qt=(S+b|0)+((h&8191)<<13)|0;return S=(T+(h>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,x[0]=ei,x[1]=ii,x[2]=Bi,x[3]=hi,x[4]=Di,x[5]=ni,x[6]=pi,x[7]=Ii,x[8]=Ci,x[9]=zi,x[10]=qi,x[11]=Ai,x[12]=ji,x[13]=ki,x[14]=Ti,x[15]=wi,x[16]=oi,x[17]=zt,x[18]=Qt,S!==0&&(x[19]=S,w.length++),w};Math.imul||(B=R);function F(L,d,v){v.negative=d.negative^L.negative,v.length=L.length+d.length;for(var w=0,c=0,p=0;p<v.length-1;p++){var x=c;c=0;for(var S=w&67108863,b=Math.min(p,d.length-1),h=Math.max(0,p-L.length+1);h<=b;h++){var T=p-h,M=L.words[T]|0,j=d.words[h]|0,V=M*j,ee=V&67108863;x=x+(V/67108864|0)|0,ee=ee+S|0,S=ee&67108863,x=x+(ee>>>26)|0,c+=x>>>26,x&=67108863}v.words[p]=S,w=x,x=c}return w!==0?v.words[p]=w:v.length--,v.strip()}function O(L,d,v){var w=new N;return w.mulp(L,d,v)}l.prototype.mulTo=function(d,v){var w,c=this.length+d.length;return this.length===10&&d.length===10?w=B(this,d,v):c<63?w=R(this,d,v):c<1024?w=F(this,d,v):w=O(this,d,v),w};function N(L,d){this.x=L,this.y=d}N.prototype.makeRBT=function(d){for(var v=new Array(d),w=l.prototype._countBits(d)-1,c=0;c<d;c++)v[c]=this.revBin(c,w,d);return v},N.prototype.revBin=function(d,v,w){if(d===0||d===w-1)return d;for(var c=0,p=0;p<v;p++)c|=(d&1)<<v-p-1,d>>=1;return c},N.prototype.permute=function(d,v,w,c,p,x){for(var S=0;S<x;S++)c[S]=v[d[S]],p[S]=w[d[S]]},N.prototype.transform=function(d,v,w,c,p,x){this.permute(x,d,v,w,c,p);for(var S=1;S<p;S<<=1)for(var b=S<<1,h=Math.cos(2*Math.PI/b),T=Math.sin(2*Math.PI/b),M=0;M<p;M+=b)for(var j=h,V=T,ee=0;ee<S;ee++){var Z=w[M+ee],U=c[M+ee],z=w[M+ee+S],ne=c[M+ee+S],fe=j*z-V*ne;ne=j*ne+V*z,z=fe,w[M+ee]=Z+z,c[M+ee]=U+ne,w[M+ee+S]=Z-z,c[M+ee+S]=U-ne,ee!==b&&(fe=h*j-T*V,V=h*V+T*j,j=fe)}},N.prototype.guessLen13b=function(d,v){var w=Math.max(v,d)|1,c=w&1,p=0;for(w=w/2|0;w;w=w>>>1)p++;return 1<<p+1+c},N.prototype.conjugate=function(d,v,w){if(!(w<=1))for(var c=0;c<w/2;c++){var p=d[c];d[c]=d[w-c-1],d[w-c-1]=p,p=v[c],v[c]=-v[w-c-1],v[w-c-1]=-p}},N.prototype.normalize13b=function(d,v){for(var w=0,c=0;c<v/2;c++){var p=Math.round(d[2*c+1]/v)*8192+Math.round(d[2*c]/v)+w;d[c]=p&67108863,p<67108864?w=0:w=p/67108864|0}return d},N.prototype.convert13b=function(d,v,w,c){for(var p=0,x=0;x<v;x++)p=p+(d[x]|0),w[2*x]=p&8191,p=p>>>13,w[2*x+1]=p&8191,p=p>>>13;for(x=2*v;x<c;++x)w[x]=0;o(p===0),o((p&-8192)===0)},N.prototype.stub=function(d){for(var v=new Array(d),w=0;w<d;w++)v[w]=0;return v},N.prototype.mulp=function(d,v,w){var c=2*this.guessLen13b(d.length,v.length),p=this.makeRBT(c),x=this.stub(c),S=new Array(c),b=new Array(c),h=new Array(c),T=new Array(c),M=new Array(c),j=new Array(c),V=w.words;V.length=c,this.convert13b(d.words,d.length,S,c),this.convert13b(v.words,v.length,T,c),this.transform(S,x,b,h,c,p),this.transform(T,x,M,j,c,p);for(var ee=0;ee<c;ee++){var Z=b[ee]*M[ee]-h[ee]*j[ee];h[ee]=b[ee]*j[ee]+h[ee]*M[ee],b[ee]=Z}return this.conjugate(b,h,c),this.transform(b,h,V,x,c,p),this.conjugate(V,x,c),this.normalize13b(V,c),w.negative=d.negative^v.negative,w.length=d.length+v.length,w.strip()},l.prototype.mul=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),this.mulTo(d,v)},l.prototype.mulf=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),O(this,d,v)},l.prototype.imul=function(d){return this.clone().mulTo(d,this)},l.prototype.imuln=function(d){o(typeof d=="number"),o(d<67108864);for(var v=0,w=0;w<this.length;w++){var c=(this.words[w]|0)*d,p=(c&67108863)+(v&67108863);v>>=26,v+=c/67108864|0,v+=p>>>26,this.words[w]=p&67108863}return v!==0&&(this.words[w]=v,this.length++),this},l.prototype.muln=function(d){return this.clone().imuln(d)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(d){var v=P(d);if(v.length===0)return new l(1);for(var w=this,c=0;c<v.length&&v[c]===0;c++,w=w.sqr());if(++c<v.length)for(var p=w.sqr();c<v.length;c++,p=p.sqr())v[c]!==0&&(w=w.mul(p));return w},l.prototype.iushln=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=67108863>>>26-v<<26-v,p;if(v!==0){var x=0;for(p=0;p<this.length;p++){var S=this.words[p]&c,b=(this.words[p]|0)-S<<v;this.words[p]=b|x,x=S>>>26-v}x&&(this.words[p]=x,this.length++)}if(w!==0){for(p=this.length-1;p>=0;p--)this.words[p+w]=this.words[p];for(p=0;p<w;p++)this.words[p]=0;this.length+=w}return this.strip()},l.prototype.ishln=function(d){return o(this.negative===0),this.iushln(d)},l.prototype.iushrn=function(d,v,w){o(typeof d=="number"&&d>=0);var c;v?c=(v-v%26)/26:c=0;var p=d%26,x=Math.min((d-p)/26,this.length),S=67108863^67108863>>>p<<p,b=w;if(c-=x,c=Math.max(0,c),b){for(var h=0;h<x;h++)b.words[h]=this.words[h];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,h=0;h<this.length;h++)this.words[h]=this.words[h+x];else this.words[0]=0,this.length=1;var T=0;for(h=this.length-1;h>=0&&(T!==0||h>=c);h--){var M=this.words[h]|0;this.words[h]=T<<26-p|M>>>p,T=M&S}return b&&T!==0&&(b.words[b.length++]=T),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(d,v,w){return o(this.negative===0),this.iushrn(d,v,w)},l.prototype.shln=function(d){return this.clone().ishln(d)},l.prototype.ushln=function(d){return this.clone().iushln(d)},l.prototype.shrn=function(d){return this.clone().ishrn(d)},l.prototype.ushrn=function(d){return this.clone().iushrn(d)},l.prototype.testn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return!1;var p=this.words[w];return!!(p&c)},l.prototype.imaskn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26;if(o(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(v!==0&&w++,this.length=Math.min(w,this.length),v!==0){var c=67108863^67108863>>>v<<v;this.words[this.length-1]&=c}return this.strip()},l.prototype.maskn=function(d){return this.clone().imaskn(d)},l.prototype.iaddn=function(d){return o(typeof d=="number"),o(d<67108864),d<0?this.isubn(-d):this.negative!==0?this.length===1&&(this.words[0]|0)<d?(this.words[0]=d-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(d),this.negative=1,this):this._iaddn(d)},l.prototype._iaddn=function(d){this.words[0]+=d;for(var v=0;v<this.length&&this.words[v]>=67108864;v++)this.words[v]-=67108864,v===this.length-1?this.words[v+1]=1:this.words[v+1]++;return this.length=Math.max(this.length,v+1),this},l.prototype.isubn=function(d){if(o(typeof d=="number"),o(d<67108864),d<0)return this.iaddn(-d);if(this.negative!==0)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var v=0;v<this.length&&this.words[v]<0;v++)this.words[v]+=67108864,this.words[v+1]-=1;return this.strip()},l.prototype.addn=function(d){return this.clone().iaddn(d)},l.prototype.subn=function(d){return this.clone().isubn(d)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(d,v,w){var c=d.length+w,p;this._expand(c);var x,S=0;for(p=0;p<d.length;p++){x=(this.words[p+w]|0)+S;var b=(d.words[p]|0)*v;x-=b&67108863,S=(x>>26)-(b/67108864|0),this.words[p+w]=x&67108863}for(;p<this.length-w;p++)x=(this.words[p+w]|0)+S,S=x>>26,this.words[p+w]=x&67108863;if(S===0)return this.strip();for(o(S===-1),S=0,p=0;p<this.length;p++)x=-(this.words[p]|0)+S,S=x>>26,this.words[p]=x&67108863;return this.negative=1,this.strip()},l.prototype._wordDiv=function(d,v){var w=this.length-d.length,c=this.clone(),p=d,x=p.words[p.length-1]|0,S=this._countBits(x);w=26-S,w!==0&&(p=p.ushln(w),c.iushln(w),x=p.words[p.length-1]|0);var b=c.length-p.length,h;if(v!=="mod"){h=new l(null),h.length=b+1,h.words=new Array(h.length);for(var T=0;T<h.length;T++)h.words[T]=0}var M=c.clone()._ishlnsubmul(p,1,b);M.negative===0&&(c=M,h&&(h.words[b]=1));for(var j=b-1;j>=0;j--){var V=(c.words[p.length+j]|0)*67108864+(c.words[p.length+j-1]|0);for(V=Math.min(V/x|0,67108863),c._ishlnsubmul(p,V,j);c.negative!==0;)V--,c.negative=0,c._ishlnsubmul(p,1,j),c.isZero()||(c.negative^=1);h&&(h.words[j]=V)}return h&&h.strip(),c.strip(),v!=="div"&&w!==0&&c.iushrn(w),{div:h||null,mod:c}},l.prototype.divmod=function(d,v,w){if(o(!d.isZero()),this.isZero())return{div:new l(0),mod:new l(0)};var c,p,x;return this.negative!==0&&d.negative===0?(x=this.neg().divmod(d,v),v!=="mod"&&(c=x.div.neg()),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.iadd(d)),{div:c,mod:p}):this.negative===0&&d.negative!==0?(x=this.divmod(d.neg(),v),v!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&d.negative?(x=this.neg().divmod(d.neg(),v),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.isub(d)),{div:x.div,mod:p}):d.length>this.length||this.cmp(d)<0?{div:new l(0),mod:this}:d.length===1?v==="div"?{div:this.divn(d.words[0]),mod:null}:v==="mod"?{div:null,mod:new l(this.modn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new l(this.modn(d.words[0]))}:this._wordDiv(d,v)},l.prototype.div=function(d){return this.divmod(d,"div",!1).div},l.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},l.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},l.prototype.divRound=function(d){var v=this.divmod(d);if(v.mod.isZero())return v.div;var w=v.div.negative!==0?v.mod.isub(d):v.mod,c=d.ushrn(1),p=d.andln(1),x=w.cmp(c);return x<0||p===1&&x===0?v.div:v.div.negative!==0?v.div.isubn(1):v.div.iaddn(1)},l.prototype.modn=function(d){o(d<=67108863);for(var v=(1<<26)%d,w=0,c=this.length-1;c>=0;c--)w=(v*w+(this.words[c]|0))%d;return w},l.prototype.idivn=function(d){o(d<=67108863);for(var v=0,w=this.length-1;w>=0;w--){var c=(this.words[w]|0)+v*67108864;this.words[w]=c/d|0,v=c%d}return this.strip()},l.prototype.divn=function(d){return this.clone().idivn(d)},l.prototype.egcd=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=new l(0),S=new l(1),b=0;v.isEven()&&w.isEven();)v.iushrn(1),w.iushrn(1),++b;for(var h=w.clone(),T=v.clone();!v.isZero();){for(var M=0,j=1;!(v.words[0]&j)&&M<26;++M,j<<=1);if(M>0)for(v.iushrn(M);M-- >0;)(c.isOdd()||p.isOdd())&&(c.iadd(h),p.isub(T)),c.iushrn(1),p.iushrn(1);for(var V=0,ee=1;!(w.words[0]&ee)&&V<26;++V,ee<<=1);if(V>0)for(w.iushrn(V);V-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(h),S.isub(T)),x.iushrn(1),S.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(x),p.isub(S)):(w.isub(v),x.isub(c),S.isub(p))}return{a:x,b:S,gcd:w.iushln(b)}},l.prototype._invmp=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=w.clone();v.cmpn(1)>0&&w.cmpn(1)>0;){for(var S=0,b=1;!(v.words[0]&b)&&S<26;++S,b<<=1);if(S>0)for(v.iushrn(S);S-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var h=0,T=1;!(w.words[0]&T)&&h<26;++h,T<<=1);if(h>0)for(w.iushrn(h);h-- >0;)p.isOdd()&&p.iadd(x),p.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(p)):(w.isub(v),p.isub(c))}var M;return v.cmpn(1)===0?M=c:M=p,M.cmpn(0)<0&&M.iadd(d),M},l.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var v=this.clone(),w=d.clone();v.negative=0,w.negative=0;for(var c=0;v.isEven()&&w.isEven();c++)v.iushrn(1),w.iushrn(1);do{for(;v.isEven();)v.iushrn(1);for(;w.isEven();)w.iushrn(1);var p=v.cmp(w);if(p<0){var x=v;v=w,w=x}else if(p===0||w.cmpn(1)===0)break;v.isub(w)}while(!0);return w.iushln(c)},l.prototype.invm=function(d){return this.egcd(d).a.umod(d)},l.prototype.isEven=function(){return(this.words[0]&1)===0},l.prototype.isOdd=function(){return(this.words[0]&1)===1},l.prototype.andln=function(d){return this.words[0]&d},l.prototype.bincn=function(d){o(typeof d=="number");var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return this._expand(w+1),this.words[w]|=c,this;for(var p=c,x=w;p!==0&&x<this.length;x++){var S=this.words[x]|0;S+=p,p=S>>>26,S&=67108863,this.words[x]=S}return p!==0&&(this.words[x]=p,this.length++),this},l.prototype.isZero=function(){return this.length===1&&this.words[0]===0},l.prototype.cmpn=function(d){var v=d<0;if(this.negative!==0&&!v)return-1;if(this.negative===0&&v)return 1;this.strip();var w;if(this.length>1)w=1;else{v&&(d=-d),o(d<=67108863,"Number is too big");var c=this.words[0]|0;w=c===d?0:c<d?-1:1}return this.negative!==0?-w|0:w},l.prototype.cmp=function(d){if(this.negative!==0&&d.negative===0)return-1;if(this.negative===0&&d.negative!==0)return 1;var v=this.ucmp(d);return this.negative!==0?-v|0:v},l.prototype.ucmp=function(d){if(this.length>d.length)return 1;if(this.length<d.length)return-1;for(var v=0,w=this.length-1;w>=0;w--){var c=this.words[w]|0,p=d.words[w]|0;if(c!==p){c<p?v=-1:c>p&&(v=1);break}}return v},l.prototype.gtn=function(d){return this.cmpn(d)===1},l.prototype.gt=function(d){return this.cmp(d)===1},l.prototype.gten=function(d){return this.cmpn(d)>=0},l.prototype.gte=function(d){return this.cmp(d)>=0},l.prototype.ltn=function(d){return this.cmpn(d)===-1},l.prototype.lt=function(d){return this.cmp(d)===-1},l.prototype.lten=function(d){return this.cmpn(d)<=0},l.prototype.lte=function(d){return this.cmp(d)<=0},l.prototype.eqn=function(d){return this.cmpn(d)===0},l.prototype.eq=function(d){return this.cmp(d)===0},l.red=function(d){return new he(d)},l.prototype.toRed=function(d){return o(!this.red,"Already a number in reduction context"),o(this.negative===0,"red works only with positives"),d.convertTo(this)._forceRed(d)},l.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(d){return this.red=d,this},l.prototype.forceRed=function(d){return o(!this.red,"Already a number in reduction context"),this._forceRed(d)},l.prototype.redAdd=function(d){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},l.prototype.redIAdd=function(d){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},l.prototype.redSub=function(d){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},l.prototype.redISub=function(d){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},l.prototype.redShl=function(d){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},l.prototype.redMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},l.prototype.redIMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},l.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(d){return o(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var Y={k256:null,p224:null,p192:null,p25519:null};function J(L,d){this.name=L,this.p=new l(d,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}J.prototype._tmp=function(){var d=new l(null);return d.words=new Array(Math.ceil(this.n/13)),d},J.prototype.ireduce=function(d){var v=d,w;do this.split(v,this.tmp),v=this.imulK(v),v=v.iadd(this.tmp),w=v.bitLength();while(w>this.n);var c=w<this.n?-1:v.ucmp(this.p);return c===0?(v.words[0]=0,v.length=1):c>0?v.isub(this.p):v.strip!==void 0?v.strip():v._strip(),v},J.prototype.split=function(d,v){d.iushrn(this.n,0,v)},J.prototype.imulK=function(d){return d.imul(this.k)};function ie(){J.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(ie,J),ie.prototype.split=function(d,v){for(var w=4194303,c=Math.min(d.length,9),p=0;p<c;p++)v.words[p]=d.words[p];if(v.length=c,d.length<=9){d.words[0]=0,d.length=1;return}var x=d.words[9];for(v.words[v.length++]=x&w,p=10;p<d.length;p++){var S=d.words[p]|0;d.words[p-10]=(S&w)<<4|x>>>22,x=S}x>>>=22,d.words[p-10]=x,x===0&&d.length>10?d.length-=10:d.length-=9},ie.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var v=0,w=0;w<d.length;w++){var c=d.words[w]|0;v+=c*977,d.words[w]=v&67108863,v=c*64+(v/67108864|0)}return d.words[d.length-1]===0&&(d.length--,d.words[d.length-1]===0&&d.length--),d};function ue(){J.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(ue,J);function Q(){J.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(Q,J);function ce(){J.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ce,J),ce.prototype.imulK=function(d){for(var v=0,w=0;w<d.length;w++){var c=(d.words[w]|0)*19+v,p=c&67108863;c>>>=26,d.words[w]=p,v=c}return v!==0&&(d.words[d.length++]=v),d},l._prime=function(d){if(Y[d])return Y[d];var v;if(d==="k256")v=new ie;else if(d==="p224")v=new ue;else if(d==="p192")v=new Q;else if(d==="p25519")v=new ce;else throw new Error("Unknown prime "+d);return Y[d]=v,v};function he(L){if(typeof L=="string"){var d=l._prime(L);this.m=d.p,this.prime=d}else o(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(d){o(d.negative===0,"red works only with positives"),o(d.red,"red works only with red numbers")},he.prototype._verify2=function(d,v){o((d.negative|v.negative)===0,"red works only with positives"),o(d.red&&d.red===v.red,"red works only with red numbers")},he.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):d.umod(this.m)._forceRed(this)},he.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},he.prototype.add=function(d,v){this._verify2(d,v);var w=d.add(v);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},he.prototype.iadd=function(d,v){this._verify2(d,v);var w=d.iadd(v);return w.cmp(this.m)>=0&&w.isub(this.m),w},he.prototype.sub=function(d,v){this._verify2(d,v);var w=d.sub(v);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},he.prototype.isub=function(d,v){this._verify2(d,v);var w=d.isub(v);return w.cmpn(0)<0&&w.iadd(this.m),w},he.prototype.shl=function(d,v){return this._verify1(d),this.imod(d.ushln(v))},he.prototype.imul=function(d,v){return this._verify2(d,v),this.imod(d.imul(v))},he.prototype.mul=function(d,v){return this._verify2(d,v),this.imod(d.mul(v))},he.prototype.isqr=function(d){return this.imul(d,d.clone())},he.prototype.sqr=function(d){return this.mul(d,d)},he.prototype.sqrt=function(d){if(d.isZero())return d.clone();var v=this.m.andln(3);if(o(v%2===1),v===3){var w=this.m.add(new l(1)).iushrn(2);return this.pow(d,w)}for(var c=this.m.subn(1),p=0;!c.isZero()&&c.andln(1)===0;)p++,c.iushrn(1);o(!c.isZero());var x=new l(1).toRed(this),S=x.redNeg(),b=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);this.pow(h,b).cmp(S)!==0;)h.redIAdd(S);for(var T=this.pow(h,c),M=this.pow(d,c.addn(1).iushrn(1)),j=this.pow(d,c),V=p;j.cmp(x)!==0;){for(var ee=j,Z=0;ee.cmp(x)!==0;Z++)ee=ee.redSqr();o(Z<V);var U=this.pow(T,new l(1).iushln(V-Z-1));M=M.redMul(U),T=U.redSqr(),j=j.redMul(T),V=Z}return M},he.prototype.invm=function(d){var v=d._invmp(this.m);return v.negative!==0?(v.negative=0,this.imod(v).redNeg()):this.imod(v)},he.prototype.pow=function(d,v){if(v.isZero())return new l(1).toRed(this);if(v.cmpn(1)===0)return d.clone();var w=4,c=new Array(1<<w);c[0]=new l(1).toRed(this),c[1]=d;for(var p=2;p<c.length;p++)c[p]=this.mul(c[p-1],d);var x=c[0],S=0,b=0,h=v.bitLength()%26;for(h===0&&(h=26),p=v.length-1;p>=0;p--){for(var T=v.words[p],M=h-1;M>=0;M--){var j=T>>M&1;if(x!==c[0]&&(x=this.sqr(x)),j===0&&S===0){b=0;continue}S<<=1,S|=j,b++,!(b!==w&&(p!==0||M!==0))&&(x=this.mul(x,c[S]),b=0,S=0)}h=26}return x},he.prototype.convertTo=function(d){var v=d.umod(this.m);return v===d?v.clone():v},he.prototype.convertFrom=function(d){var v=d.clone();return v.red=null,v},l.mont=function(d){return new ke(d)};function ke(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(ke,he),ke.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},ke.prototype.convertFrom=function(d){var v=this.imod(d.mul(this.rinv));return v.red=null,v},ke.prototype.imul=function(d,v){if(d.isZero()||v.isZero())return d.words[0]=0,d.length=1,d;var w=d.imul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.mul=function(d,v){if(d.isZero()||v.isZero())return new l(0)._forceRed(this);var w=d.mul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.invm=function(d){var v=this.imod(d._invmp(this.m).mul(this.r2));return v._forceRed(this)}})(t,commonjsGlobal$1)}(bn$6);var bnExports$6=bn$6.exports,bn$5={exports:{}};bn$5.exports,function(t){(function(e,n){function o(L,d){if(!L)throw new Error(d||"Assertion failed")}function u(L,d){L.super_=d;var v=function(){};v.prototype=d.prototype,L.prototype=new v,L.prototype.constructor=L}function l(L,d,v){if(l.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((d==="le"||d==="be")&&(v=d,d=10),this._init(L||0,d||10,v||"be"))}typeof e=="object"?e.exports=l:n.BN=l,l.BN=l,l.wordSize=26;var m;try{typeof window<"u"&&typeof window.Buffer<"u"?m=window.Buffer:m=require$$0$2.Buffer}catch{}l.isBN=function(d){return d instanceof l?!0:d!==null&&typeof d=="object"&&d.constructor.wordSize===l.wordSize&&Array.isArray(d.words)},l.max=function(d,v){return d.cmp(v)>0?d:v},l.min=function(d,v){return d.cmp(v)<0?d:v},l.prototype._init=function(d,v,w){if(typeof d=="number")return this._initNumber(d,v,w);if(typeof d=="object")return this._initArray(d,v,w);v==="hex"&&(v=16),o(v===(v|0)&&v>=2&&v<=36),d=d.toString().replace(/\s+/g,"");var c=0;d[0]==="-"&&(c++,this.negative=1),c<d.length&&(v===16?this._parseHex(d,c,w):(this._parseBase(d,v,c),w==="le"&&this._initArray(this.toArray(),v,w)))},l.prototype._initNumber=function(d,v,w){d<0&&(this.negative=1,d=-d),d<67108864?(this.words=[d&67108863],this.length=1):d<4503599627370496?(this.words=[d&67108863,d/67108864&67108863],this.length=2):(o(d<9007199254740992),this.words=[d&67108863,d/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),v,w)},l.prototype._initArray=function(d,v,w){if(o(typeof d.length=="number"),d.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(d.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p,x,S=0;if(w==="be")for(c=d.length-1,p=0;c>=0;c-=3)x=d[c]|d[c-1]<<8|d[c-2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);else if(w==="le")for(c=0,p=0;c<d.length;c+=3)x=d[c]|d[c+1]<<8|d[c+2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);return this.strip()};function y(L,d){var v=L.charCodeAt(d);return v>=65&&v<=70?v-55:v>=97&&v<=102?v-87:v-48&15}function E(L,d,v){var w=y(L,v);return v-1>=d&&(w|=y(L,v-1)<<4),w}l.prototype._parseHex=function(d,v,w){this.length=Math.ceil((d.length-v)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p=0,x=0,S;if(w==="be")for(c=d.length-1;c>=v;c-=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8;else{var b=d.length-v;for(c=b%2===0?v+1:v;c<d.length;c+=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8}this.strip()};function C(L,d,v,w){for(var c=0,p=Math.min(L.length,v),x=d;x<p;x++){var S=L.charCodeAt(x)-48;c*=w,S>=49?c+=S-49+10:S>=17?c+=S-17+10:c+=S}return c}l.prototype._parseBase=function(d,v,w){this.words=[0],this.length=1;for(var c=0,p=1;p<=67108863;p*=v)c++;c--,p=p/v|0;for(var x=d.length-w,S=x%c,b=Math.min(x,x-S)+w,h=0,T=w;T<b;T+=c)h=C(d,T,T+c,v),this.imuln(p),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(S!==0){var M=1;for(h=C(d,T,d.length,v),T=0;T<S;T++)M*=v;this.imuln(M),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(d){d.words=new Array(this.length);for(var v=0;v<this.length;v++)d.words[v]=this.words[v];d.length=this.length,d.negative=this.negative,d.red=this.red},l.prototype.clone=function(){var d=new l(null);return this.copy(d),d},l.prototype._expand=function(d){for(;this.length<d;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},l.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],A=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(d,v){d=d||10,v=v|0||1;var w;if(d===16||d==="hex"){w="";for(var c=0,p=0,x=0;x<this.length;x++){var S=this.words[x],b=((S<<c|p)&16777215).toString(16);p=S>>>24-c&16777215,p!==0||x!==this.length-1?w=k[6-b.length]+b+w:w=b+w,c+=2,c>=26&&(c-=26,x--)}for(p!==0&&(w=p.toString(16)+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(d===(d|0)&&d>=2&&d<=36){var h=A[d],T=D[d];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var j=M.modn(T).toString(d);M=M.idivn(T),M.isZero()?w=j+w:w=k[h-j.length]+j+w}for(this.isZero()&&(w="0"+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}o(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var d=this.words[0];return this.length===2?d+=this.words[1]*67108864:this.length===3&&this.words[2]===1?d+=4503599627370496+this.words[1]*67108864:this.length>2&&o(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-d:d},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(d,v){return o(typeof m<"u"),this.toArrayLike(m,d,v)},l.prototype.toArray=function(d,v){return this.toArrayLike(Array,d,v)},l.prototype.toArrayLike=function(d,v,w){var c=this.byteLength(),p=w||Math.max(1,c);o(c<=p,"byte array longer than desired length"),o(p>0,"Requested array length <= 0"),this.strip();var x=v==="le",S=new d(p),b,h,T=this.clone();if(x){for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[h]=b;for(;h<p;h++)S[h]=0}else{for(h=0;h<p-c;h++)S[h]=0;for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[p-h-1]=b}return S},Math.clz32?l.prototype._countBits=function(d){return 32-Math.clz32(d)}:l.prototype._countBits=function(d){var v=d,w=0;return v>=4096&&(w+=13,v>>>=13),v>=64&&(w+=7,v>>>=7),v>=8&&(w+=4,v>>>=4),v>=2&&(w+=2,v>>>=2),w+v},l.prototype._zeroBits=function(d){if(d===0)return 26;var v=d,w=0;return v&8191||(w+=13,v>>>=13),v&127||(w+=7,v>>>=7),v&15||(w+=4,v>>>=4),v&3||(w+=2,v>>>=2),v&1||w++,w},l.prototype.bitLength=function(){var d=this.words[this.length-1],v=this._countBits(d);return(this.length-1)*26+v};function P(L){for(var d=new Array(L.bitLength()),v=0;v<d.length;v++){var w=v/26|0,c=v%26;d[v]=(L.words[w]&1<<c)>>>c}return d}l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var d=0,v=0;v<this.length;v++){var w=this._zeroBits(this.words[v]);if(d+=w,w!==26)break}return d},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(d){return this.negative!==0?this.abs().inotn(d).iaddn(1):this.clone()},l.prototype.fromTwos=function(d){return this.testn(d-1)?this.notn(d).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return this.negative!==0},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(d){for(;this.length<d.length;)this.words[this.length++]=0;for(var v=0;v<d.length;v++)this.words[v]=this.words[v]|d.words[v];return this.strip()},l.prototype.ior=function(d){return o((this.negative|d.negative)===0),this.iuor(d)},l.prototype.or=function(d){return this.length>d.length?this.clone().ior(d):d.clone().ior(this)},l.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},l.prototype.iuand=function(d){var v;this.length>d.length?v=d:v=this;for(var w=0;w<v.length;w++)this.words[w]=this.words[w]&d.words[w];return this.length=v.length,this.strip()},l.prototype.iand=function(d){return o((this.negative|d.negative)===0),this.iuand(d)},l.prototype.and=function(d){return this.length>d.length?this.clone().iand(d):d.clone().iand(this)},l.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},l.prototype.iuxor=function(d){var v,w;this.length>d.length?(v=this,w=d):(v=d,w=this);for(var c=0;c<w.length;c++)this.words[c]=v.words[c]^w.words[c];if(this!==v)for(;c<v.length;c++)this.words[c]=v.words[c];return this.length=v.length,this.strip()},l.prototype.ixor=function(d){return o((this.negative|d.negative)===0),this.iuxor(d)},l.prototype.xor=function(d){return this.length>d.length?this.clone().ixor(d):d.clone().ixor(this)},l.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},l.prototype.inotn=function(d){o(typeof d=="number"&&d>=0);var v=Math.ceil(d/26)|0,w=d%26;this._expand(v),w>0&&v--;for(var c=0;c<v;c++)this.words[c]=~this.words[c]&67108863;return w>0&&(this.words[c]=~this.words[c]&67108863>>26-w),this.strip()},l.prototype.notn=function(d){return this.clone().inotn(d)},l.prototype.setn=function(d,v){o(typeof d=="number"&&d>=0);var w=d/26|0,c=d%26;return this._expand(w+1),v?this.words[w]=this.words[w]|1<<c:this.words[w]=this.words[w]&~(1<<c),this.strip()},l.prototype.iadd=function(d){var v;if(this.negative!==0&&d.negative===0)return this.negative=0,v=this.isub(d),this.negative^=1,this._normSign();if(this.negative===0&&d.negative!==0)return d.negative=0,v=this.isub(d),d.negative=1,v._normSign();var w,c;this.length>d.length?(w=this,c=d):(w=d,c=this);for(var p=0,x=0;x<c.length;x++)v=(w.words[x]|0)+(c.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;for(;p!==0&&x<w.length;x++)v=(w.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;if(this.length=w.length,p!==0)this.words[this.length]=p,this.length++;else if(w!==this)for(;x<w.length;x++)this.words[x]=w.words[x];return this},l.prototype.add=function(d){var v;return d.negative!==0&&this.negative===0?(d.negative=0,v=this.sub(d),d.negative^=1,v):d.negative===0&&this.negative!==0?(this.negative=0,v=d.sub(this),this.negative=1,v):this.length>d.length?this.clone().iadd(d):d.clone().iadd(this)},l.prototype.isub=function(d){if(d.negative!==0){d.negative=0;var v=this.iadd(d);return d.negative=1,v._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var w=this.cmp(d);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,p;w>0?(c=this,p=d):(c=d,p=this);for(var x=0,S=0;S<p.length;S++)v=(c.words[S]|0)-(p.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;for(;x!==0&&S<c.length;S++)v=(c.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;if(x===0&&S<c.length&&c!==this)for(;S<c.length;S++)this.words[S]=c.words[S];return this.length=Math.max(this.length,S),c!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(d){return this.clone().isub(d)};function R(L,d,v){v.negative=d.negative^L.negative;var w=L.length+d.length|0;v.length=w,w=w-1|0;var c=L.words[0]|0,p=d.words[0]|0,x=c*p,S=x&67108863,b=x/67108864|0;v.words[0]=S;for(var h=1;h<w;h++){for(var T=b>>>26,M=b&67108863,j=Math.min(h,d.length-1),V=Math.max(0,h-L.length+1);V<=j;V++){var ee=h-V|0;c=L.words[ee]|0,p=d.words[V]|0,x=c*p+M,T+=x/67108864|0,M=x&67108863}v.words[h]=M|0,b=T|0}return b!==0?v.words[h]=b|0:v.length--,v.strip()}var B=function(d,v,w){var c=d.words,p=v.words,x=w.words,S=0,b,h,T,M=c[0]|0,j=M&8191,V=M>>>13,ee=c[1]|0,Z=ee&8191,U=ee>>>13,z=c[2]|0,ne=z&8191,fe=z>>>13,me=c[3]|0,de=me&8191,Oe=me>>>13,lt=c[4]|0,it=lt&8191,ot=lt>>>13,Ct=c[5]|0,nt=Ct&8191,Je=Ct>>>13,tt=c[6]|0,rt=tt&8191,ht=tt>>>13,jt=c[7]|0,Ve=jt&8191,We=jt>>>13,Gt=c[8]|0,wt=Gt&8191,Et=Gt>>>13,Yt=c[9]|0,Ce=Yt&8191,te=Yt>>>13,ye=p[0]|0,Le=ye&8191,Ue=ye>>>13,Qe=p[1]|0,Ke=Qe&8191,De=Qe>>>13,Vt=p[2]|0,At=Vt&8191,ve=Vt>>>13,Pt=p[3]|0,pt=Pt&8191,Ne=Pt>>>13,vt=p[4]|0,ut=vt&8191,$t=vt>>>13,fi=p[5]|0,kt=fi&8191,Wt=fi>>>13,Zi=p[6]|0,Ut=Zi&8191,Xt=Zi>>>13,Be=p[7]|0,be=Be&8191,ge=Be>>>13,oe=p[8]|0,Ae=oe&8191,qe=oe>>>13,bt=p[9]|0,at=bt&8191,gt=bt>>>13;w.negative=d.negative^v.negative,w.length=19,b=Math.imul(j,Le),h=Math.imul(j,Ue),h=h+Math.imul(V,Le)|0,T=Math.imul(V,Ue);var ei=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ei>>>26)|0,ei&=67108863,b=Math.imul(Z,Le),h=Math.imul(Z,Ue),h=h+Math.imul(U,Le)|0,T=Math.imul(U,Ue),b=b+Math.imul(j,Ke)|0,h=h+Math.imul(j,De)|0,h=h+Math.imul(V,Ke)|0,T=T+Math.imul(V,De)|0;var ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ii>>>26)|0,ii&=67108863,b=Math.imul(ne,Le),h=Math.imul(ne,Ue),h=h+Math.imul(fe,Le)|0,T=Math.imul(fe,Ue),b=b+Math.imul(Z,Ke)|0,h=h+Math.imul(Z,De)|0,h=h+Math.imul(U,Ke)|0,T=T+Math.imul(U,De)|0,b=b+Math.imul(j,At)|0,h=h+Math.imul(j,ve)|0,h=h+Math.imul(V,At)|0,T=T+Math.imul(V,ve)|0;var Bi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,b=Math.imul(de,Le),h=Math.imul(de,Ue),h=h+Math.imul(Oe,Le)|0,T=Math.imul(Oe,Ue),b=b+Math.imul(ne,Ke)|0,h=h+Math.imul(ne,De)|0,h=h+Math.imul(fe,Ke)|0,T=T+Math.imul(fe,De)|0,b=b+Math.imul(Z,At)|0,h=h+Math.imul(Z,ve)|0,h=h+Math.imul(U,At)|0,T=T+Math.imul(U,ve)|0,b=b+Math.imul(j,pt)|0,h=h+Math.imul(j,Ne)|0,h=h+Math.imul(V,pt)|0,T=T+Math.imul(V,Ne)|0;var hi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(hi>>>26)|0,hi&=67108863,b=Math.imul(it,Le),h=Math.imul(it,Ue),h=h+Math.imul(ot,Le)|0,T=Math.imul(ot,Ue),b=b+Math.imul(de,Ke)|0,h=h+Math.imul(de,De)|0,h=h+Math.imul(Oe,Ke)|0,T=T+Math.imul(Oe,De)|0,b=b+Math.imul(ne,At)|0,h=h+Math.imul(ne,ve)|0,h=h+Math.imul(fe,At)|0,T=T+Math.imul(fe,ve)|0,b=b+Math.imul(Z,pt)|0,h=h+Math.imul(Z,Ne)|0,h=h+Math.imul(U,pt)|0,T=T+Math.imul(U,Ne)|0,b=b+Math.imul(j,ut)|0,h=h+Math.imul(j,$t)|0,h=h+Math.imul(V,ut)|0,T=T+Math.imul(V,$t)|0;var Di=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Di>>>26)|0,Di&=67108863,b=Math.imul(nt,Le),h=Math.imul(nt,Ue),h=h+Math.imul(Je,Le)|0,T=Math.imul(Je,Ue),b=b+Math.imul(it,Ke)|0,h=h+Math.imul(it,De)|0,h=h+Math.imul(ot,Ke)|0,T=T+Math.imul(ot,De)|0,b=b+Math.imul(de,At)|0,h=h+Math.imul(de,ve)|0,h=h+Math.imul(Oe,At)|0,T=T+Math.imul(Oe,ve)|0,b=b+Math.imul(ne,pt)|0,h=h+Math.imul(ne,Ne)|0,h=h+Math.imul(fe,pt)|0,T=T+Math.imul(fe,Ne)|0,b=b+Math.imul(Z,ut)|0,h=h+Math.imul(Z,$t)|0,h=h+Math.imul(U,ut)|0,T=T+Math.imul(U,$t)|0,b=b+Math.imul(j,kt)|0,h=h+Math.imul(j,Wt)|0,h=h+Math.imul(V,kt)|0,T=T+Math.imul(V,Wt)|0;var ni=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ni>>>26)|0,ni&=67108863,b=Math.imul(rt,Le),h=Math.imul(rt,Ue),h=h+Math.imul(ht,Le)|0,T=Math.imul(ht,Ue),b=b+Math.imul(nt,Ke)|0,h=h+Math.imul(nt,De)|0,h=h+Math.imul(Je,Ke)|0,T=T+Math.imul(Je,De)|0,b=b+Math.imul(it,At)|0,h=h+Math.imul(it,ve)|0,h=h+Math.imul(ot,At)|0,T=T+Math.imul(ot,ve)|0,b=b+Math.imul(de,pt)|0,h=h+Math.imul(de,Ne)|0,h=h+Math.imul(Oe,pt)|0,T=T+Math.imul(Oe,Ne)|0,b=b+Math.imul(ne,ut)|0,h=h+Math.imul(ne,$t)|0,h=h+Math.imul(fe,ut)|0,T=T+Math.imul(fe,$t)|0,b=b+Math.imul(Z,kt)|0,h=h+Math.imul(Z,Wt)|0,h=h+Math.imul(U,kt)|0,T=T+Math.imul(U,Wt)|0,b=b+Math.imul(j,Ut)|0,h=h+Math.imul(j,Xt)|0,h=h+Math.imul(V,Ut)|0,T=T+Math.imul(V,Xt)|0;var pi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(Ve,Le),h=Math.imul(Ve,Ue),h=h+Math.imul(We,Le)|0,T=Math.imul(We,Ue),b=b+Math.imul(rt,Ke)|0,h=h+Math.imul(rt,De)|0,h=h+Math.imul(ht,Ke)|0,T=T+Math.imul(ht,De)|0,b=b+Math.imul(nt,At)|0,h=h+Math.imul(nt,ve)|0,h=h+Math.imul(Je,At)|0,T=T+Math.imul(Je,ve)|0,b=b+Math.imul(it,pt)|0,h=h+Math.imul(it,Ne)|0,h=h+Math.imul(ot,pt)|0,T=T+Math.imul(ot,Ne)|0,b=b+Math.imul(de,ut)|0,h=h+Math.imul(de,$t)|0,h=h+Math.imul(Oe,ut)|0,T=T+Math.imul(Oe,$t)|0,b=b+Math.imul(ne,kt)|0,h=h+Math.imul(ne,Wt)|0,h=h+Math.imul(fe,kt)|0,T=T+Math.imul(fe,Wt)|0,b=b+Math.imul(Z,Ut)|0,h=h+Math.imul(Z,Xt)|0,h=h+Math.imul(U,Ut)|0,T=T+Math.imul(U,Xt)|0,b=b+Math.imul(j,be)|0,h=h+Math.imul(j,ge)|0,h=h+Math.imul(V,be)|0,T=T+Math.imul(V,ge)|0;var Ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ii>>>26)|0,Ii&=67108863,b=Math.imul(wt,Le),h=Math.imul(wt,Ue),h=h+Math.imul(Et,Le)|0,T=Math.imul(Et,Ue),b=b+Math.imul(Ve,Ke)|0,h=h+Math.imul(Ve,De)|0,h=h+Math.imul(We,Ke)|0,T=T+Math.imul(We,De)|0,b=b+Math.imul(rt,At)|0,h=h+Math.imul(rt,ve)|0,h=h+Math.imul(ht,At)|0,T=T+Math.imul(ht,ve)|0,b=b+Math.imul(nt,pt)|0,h=h+Math.imul(nt,Ne)|0,h=h+Math.imul(Je,pt)|0,T=T+Math.imul(Je,Ne)|0,b=b+Math.imul(it,ut)|0,h=h+Math.imul(it,$t)|0,h=h+Math.imul(ot,ut)|0,T=T+Math.imul(ot,$t)|0,b=b+Math.imul(de,kt)|0,h=h+Math.imul(de,Wt)|0,h=h+Math.imul(Oe,kt)|0,T=T+Math.imul(Oe,Wt)|0,b=b+Math.imul(ne,Ut)|0,h=h+Math.imul(ne,Xt)|0,h=h+Math.imul(fe,Ut)|0,T=T+Math.imul(fe,Xt)|0,b=b+Math.imul(Z,be)|0,h=h+Math.imul(Z,ge)|0,h=h+Math.imul(U,be)|0,T=T+Math.imul(U,ge)|0,b=b+Math.imul(j,Ae)|0,h=h+Math.imul(j,qe)|0,h=h+Math.imul(V,Ae)|0,T=T+Math.imul(V,qe)|0;var Ci=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,b=Math.imul(Ce,Le),h=Math.imul(Ce,Ue),h=h+Math.imul(te,Le)|0,T=Math.imul(te,Ue),b=b+Math.imul(wt,Ke)|0,h=h+Math.imul(wt,De)|0,h=h+Math.imul(Et,Ke)|0,T=T+Math.imul(Et,De)|0,b=b+Math.imul(Ve,At)|0,h=h+Math.imul(Ve,ve)|0,h=h+Math.imul(We,At)|0,T=T+Math.imul(We,ve)|0,b=b+Math.imul(rt,pt)|0,h=h+Math.imul(rt,Ne)|0,h=h+Math.imul(ht,pt)|0,T=T+Math.imul(ht,Ne)|0,b=b+Math.imul(nt,ut)|0,h=h+Math.imul(nt,$t)|0,h=h+Math.imul(Je,ut)|0,T=T+Math.imul(Je,$t)|0,b=b+Math.imul(it,kt)|0,h=h+Math.imul(it,Wt)|0,h=h+Math.imul(ot,kt)|0,T=T+Math.imul(ot,Wt)|0,b=b+Math.imul(de,Ut)|0,h=h+Math.imul(de,Xt)|0,h=h+Math.imul(Oe,Ut)|0,T=T+Math.imul(Oe,Xt)|0,b=b+Math.imul(ne,be)|0,h=h+Math.imul(ne,ge)|0,h=h+Math.imul(fe,be)|0,T=T+Math.imul(fe,ge)|0,b=b+Math.imul(Z,Ae)|0,h=h+Math.imul(Z,qe)|0,h=h+Math.imul(U,Ae)|0,T=T+Math.imul(U,qe)|0,b=b+Math.imul(j,at)|0,h=h+Math.imul(j,gt)|0,h=h+Math.imul(V,at)|0,T=T+Math.imul(V,gt)|0;var zi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,b=Math.imul(Ce,Ke),h=Math.imul(Ce,De),h=h+Math.imul(te,Ke)|0,T=Math.imul(te,De),b=b+Math.imul(wt,At)|0,h=h+Math.imul(wt,ve)|0,h=h+Math.imul(Et,At)|0,T=T+Math.imul(Et,ve)|0,b=b+Math.imul(Ve,pt)|0,h=h+Math.imul(Ve,Ne)|0,h=h+Math.imul(We,pt)|0,T=T+Math.imul(We,Ne)|0,b=b+Math.imul(rt,ut)|0,h=h+Math.imul(rt,$t)|0,h=h+Math.imul(ht,ut)|0,T=T+Math.imul(ht,$t)|0,b=b+Math.imul(nt,kt)|0,h=h+Math.imul(nt,Wt)|0,h=h+Math.imul(Je,kt)|0,T=T+Math.imul(Je,Wt)|0,b=b+Math.imul(it,Ut)|0,h=h+Math.imul(it,Xt)|0,h=h+Math.imul(ot,Ut)|0,T=T+Math.imul(ot,Xt)|0,b=b+Math.imul(de,be)|0,h=h+Math.imul(de,ge)|0,h=h+Math.imul(Oe,be)|0,T=T+Math.imul(Oe,ge)|0,b=b+Math.imul(ne,Ae)|0,h=h+Math.imul(ne,qe)|0,h=h+Math.imul(fe,Ae)|0,T=T+Math.imul(fe,qe)|0,b=b+Math.imul(Z,at)|0,h=h+Math.imul(Z,gt)|0,h=h+Math.imul(U,at)|0,T=T+Math.imul(U,gt)|0;var qi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(qi>>>26)|0,qi&=67108863,b=Math.imul(Ce,At),h=Math.imul(Ce,ve),h=h+Math.imul(te,At)|0,T=Math.imul(te,ve),b=b+Math.imul(wt,pt)|0,h=h+Math.imul(wt,Ne)|0,h=h+Math.imul(Et,pt)|0,T=T+Math.imul(Et,Ne)|0,b=b+Math.imul(Ve,ut)|0,h=h+Math.imul(Ve,$t)|0,h=h+Math.imul(We,ut)|0,T=T+Math.imul(We,$t)|0,b=b+Math.imul(rt,kt)|0,h=h+Math.imul(rt,Wt)|0,h=h+Math.imul(ht,kt)|0,T=T+Math.imul(ht,Wt)|0,b=b+Math.imul(nt,Ut)|0,h=h+Math.imul(nt,Xt)|0,h=h+Math.imul(Je,Ut)|0,T=T+Math.imul(Je,Xt)|0,b=b+Math.imul(it,be)|0,h=h+Math.imul(it,ge)|0,h=h+Math.imul(ot,be)|0,T=T+Math.imul(ot,ge)|0,b=b+Math.imul(de,Ae)|0,h=h+Math.imul(de,qe)|0,h=h+Math.imul(Oe,Ae)|0,T=T+Math.imul(Oe,qe)|0,b=b+Math.imul(ne,at)|0,h=h+Math.imul(ne,gt)|0,h=h+Math.imul(fe,at)|0,T=T+Math.imul(fe,gt)|0;var Ai=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,b=Math.imul(Ce,pt),h=Math.imul(Ce,Ne),h=h+Math.imul(te,pt)|0,T=Math.imul(te,Ne),b=b+Math.imul(wt,ut)|0,h=h+Math.imul(wt,$t)|0,h=h+Math.imul(Et,ut)|0,T=T+Math.imul(Et,$t)|0,b=b+Math.imul(Ve,kt)|0,h=h+Math.imul(Ve,Wt)|0,h=h+Math.imul(We,kt)|0,T=T+Math.imul(We,Wt)|0,b=b+Math.imul(rt,Ut)|0,h=h+Math.imul(rt,Xt)|0,h=h+Math.imul(ht,Ut)|0,T=T+Math.imul(ht,Xt)|0,b=b+Math.imul(nt,be)|0,h=h+Math.imul(nt,ge)|0,h=h+Math.imul(Je,be)|0,T=T+Math.imul(Je,ge)|0,b=b+Math.imul(it,Ae)|0,h=h+Math.imul(it,qe)|0,h=h+Math.imul(ot,Ae)|0,T=T+Math.imul(ot,qe)|0,b=b+Math.imul(de,at)|0,h=h+Math.imul(de,gt)|0,h=h+Math.imul(Oe,at)|0,T=T+Math.imul(Oe,gt)|0;var ji=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,b=Math.imul(Ce,ut),h=Math.imul(Ce,$t),h=h+Math.imul(te,ut)|0,T=Math.imul(te,$t),b=b+Math.imul(wt,kt)|0,h=h+Math.imul(wt,Wt)|0,h=h+Math.imul(Et,kt)|0,T=T+Math.imul(Et,Wt)|0,b=b+Math.imul(Ve,Ut)|0,h=h+Math.imul(Ve,Xt)|0,h=h+Math.imul(We,Ut)|0,T=T+Math.imul(We,Xt)|0,b=b+Math.imul(rt,be)|0,h=h+Math.imul(rt,ge)|0,h=h+Math.imul(ht,be)|0,T=T+Math.imul(ht,ge)|0,b=b+Math.imul(nt,Ae)|0,h=h+Math.imul(nt,qe)|0,h=h+Math.imul(Je,Ae)|0,T=T+Math.imul(Je,qe)|0,b=b+Math.imul(it,at)|0,h=h+Math.imul(it,gt)|0,h=h+Math.imul(ot,at)|0,T=T+Math.imul(ot,gt)|0;var ki=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ki>>>26)|0,ki&=67108863,b=Math.imul(Ce,kt),h=Math.imul(Ce,Wt),h=h+Math.imul(te,kt)|0,T=Math.imul(te,Wt),b=b+Math.imul(wt,Ut)|0,h=h+Math.imul(wt,Xt)|0,h=h+Math.imul(Et,Ut)|0,T=T+Math.imul(Et,Xt)|0,b=b+Math.imul(Ve,be)|0,h=h+Math.imul(Ve,ge)|0,h=h+Math.imul(We,be)|0,T=T+Math.imul(We,ge)|0,b=b+Math.imul(rt,Ae)|0,h=h+Math.imul(rt,qe)|0,h=h+Math.imul(ht,Ae)|0,T=T+Math.imul(ht,qe)|0,b=b+Math.imul(nt,at)|0,h=h+Math.imul(nt,gt)|0,h=h+Math.imul(Je,at)|0,T=T+Math.imul(Je,gt)|0;var Ti=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,b=Math.imul(Ce,Ut),h=Math.imul(Ce,Xt),h=h+Math.imul(te,Ut)|0,T=Math.imul(te,Xt),b=b+Math.imul(wt,be)|0,h=h+Math.imul(wt,ge)|0,h=h+Math.imul(Et,be)|0,T=T+Math.imul(Et,ge)|0,b=b+Math.imul(Ve,Ae)|0,h=h+Math.imul(Ve,qe)|0,h=h+Math.imul(We,Ae)|0,T=T+Math.imul(We,qe)|0,b=b+Math.imul(rt,at)|0,h=h+Math.imul(rt,gt)|0,h=h+Math.imul(ht,at)|0,T=T+Math.imul(ht,gt)|0;var wi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(wi>>>26)|0,wi&=67108863,b=Math.imul(Ce,be),h=Math.imul(Ce,ge),h=h+Math.imul(te,be)|0,T=Math.imul(te,ge),b=b+Math.imul(wt,Ae)|0,h=h+Math.imul(wt,qe)|0,h=h+Math.imul(Et,Ae)|0,T=T+Math.imul(Et,qe)|0,b=b+Math.imul(Ve,at)|0,h=h+Math.imul(Ve,gt)|0,h=h+Math.imul(We,at)|0,T=T+Math.imul(We,gt)|0;var oi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(oi>>>26)|0,oi&=67108863,b=Math.imul(Ce,Ae),h=Math.imul(Ce,qe),h=h+Math.imul(te,Ae)|0,T=Math.imul(te,qe),b=b+Math.imul(wt,at)|0,h=h+Math.imul(wt,gt)|0,h=h+Math.imul(Et,at)|0,T=T+Math.imul(Et,gt)|0;var zt=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zt>>>26)|0,zt&=67108863,b=Math.imul(Ce,at),h=Math.imul(Ce,gt),h=h+Math.imul(te,at)|0,T=Math.imul(te,gt);var Qt=(S+b|0)+((h&8191)<<13)|0;return S=(T+(h>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,x[0]=ei,x[1]=ii,x[2]=Bi,x[3]=hi,x[4]=Di,x[5]=ni,x[6]=pi,x[7]=Ii,x[8]=Ci,x[9]=zi,x[10]=qi,x[11]=Ai,x[12]=ji,x[13]=ki,x[14]=Ti,x[15]=wi,x[16]=oi,x[17]=zt,x[18]=Qt,S!==0&&(x[19]=S,w.length++),w};Math.imul||(B=R);function F(L,d,v){v.negative=d.negative^L.negative,v.length=L.length+d.length;for(var w=0,c=0,p=0;p<v.length-1;p++){var x=c;c=0;for(var S=w&67108863,b=Math.min(p,d.length-1),h=Math.max(0,p-L.length+1);h<=b;h++){var T=p-h,M=L.words[T]|0,j=d.words[h]|0,V=M*j,ee=V&67108863;x=x+(V/67108864|0)|0,ee=ee+S|0,S=ee&67108863,x=x+(ee>>>26)|0,c+=x>>>26,x&=67108863}v.words[p]=S,w=x,x=c}return w!==0?v.words[p]=w:v.length--,v.strip()}function O(L,d,v){var w=new N;return w.mulp(L,d,v)}l.prototype.mulTo=function(d,v){var w,c=this.length+d.length;return this.length===10&&d.length===10?w=B(this,d,v):c<63?w=R(this,d,v):c<1024?w=F(this,d,v):w=O(this,d,v),w};function N(L,d){this.x=L,this.y=d}N.prototype.makeRBT=function(d){for(var v=new Array(d),w=l.prototype._countBits(d)-1,c=0;c<d;c++)v[c]=this.revBin(c,w,d);return v},N.prototype.revBin=function(d,v,w){if(d===0||d===w-1)return d;for(var c=0,p=0;p<v;p++)c|=(d&1)<<v-p-1,d>>=1;return c},N.prototype.permute=function(d,v,w,c,p,x){for(var S=0;S<x;S++)c[S]=v[d[S]],p[S]=w[d[S]]},N.prototype.transform=function(d,v,w,c,p,x){this.permute(x,d,v,w,c,p);for(var S=1;S<p;S<<=1)for(var b=S<<1,h=Math.cos(2*Math.PI/b),T=Math.sin(2*Math.PI/b),M=0;M<p;M+=b)for(var j=h,V=T,ee=0;ee<S;ee++){var Z=w[M+ee],U=c[M+ee],z=w[M+ee+S],ne=c[M+ee+S],fe=j*z-V*ne;ne=j*ne+V*z,z=fe,w[M+ee]=Z+z,c[M+ee]=U+ne,w[M+ee+S]=Z-z,c[M+ee+S]=U-ne,ee!==b&&(fe=h*j-T*V,V=h*V+T*j,j=fe)}},N.prototype.guessLen13b=function(d,v){var w=Math.max(v,d)|1,c=w&1,p=0;for(w=w/2|0;w;w=w>>>1)p++;return 1<<p+1+c},N.prototype.conjugate=function(d,v,w){if(!(w<=1))for(var c=0;c<w/2;c++){var p=d[c];d[c]=d[w-c-1],d[w-c-1]=p,p=v[c],v[c]=-v[w-c-1],v[w-c-1]=-p}},N.prototype.normalize13b=function(d,v){for(var w=0,c=0;c<v/2;c++){var p=Math.round(d[2*c+1]/v)*8192+Math.round(d[2*c]/v)+w;d[c]=p&67108863,p<67108864?w=0:w=p/67108864|0}return d},N.prototype.convert13b=function(d,v,w,c){for(var p=0,x=0;x<v;x++)p=p+(d[x]|0),w[2*x]=p&8191,p=p>>>13,w[2*x+1]=p&8191,p=p>>>13;for(x=2*v;x<c;++x)w[x]=0;o(p===0),o((p&-8192)===0)},N.prototype.stub=function(d){for(var v=new Array(d),w=0;w<d;w++)v[w]=0;return v},N.prototype.mulp=function(d,v,w){var c=2*this.guessLen13b(d.length,v.length),p=this.makeRBT(c),x=this.stub(c),S=new Array(c),b=new Array(c),h=new Array(c),T=new Array(c),M=new Array(c),j=new Array(c),V=w.words;V.length=c,this.convert13b(d.words,d.length,S,c),this.convert13b(v.words,v.length,T,c),this.transform(S,x,b,h,c,p),this.transform(T,x,M,j,c,p);for(var ee=0;ee<c;ee++){var Z=b[ee]*M[ee]-h[ee]*j[ee];h[ee]=b[ee]*j[ee]+h[ee]*M[ee],b[ee]=Z}return this.conjugate(b,h,c),this.transform(b,h,V,x,c,p),this.conjugate(V,x,c),this.normalize13b(V,c),w.negative=d.negative^v.negative,w.length=d.length+v.length,w.strip()},l.prototype.mul=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),this.mulTo(d,v)},l.prototype.mulf=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),O(this,d,v)},l.prototype.imul=function(d){return this.clone().mulTo(d,this)},l.prototype.imuln=function(d){o(typeof d=="number"),o(d<67108864);for(var v=0,w=0;w<this.length;w++){var c=(this.words[w]|0)*d,p=(c&67108863)+(v&67108863);v>>=26,v+=c/67108864|0,v+=p>>>26,this.words[w]=p&67108863}return v!==0&&(this.words[w]=v,this.length++),this},l.prototype.muln=function(d){return this.clone().imuln(d)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(d){var v=P(d);if(v.length===0)return new l(1);for(var w=this,c=0;c<v.length&&v[c]===0;c++,w=w.sqr());if(++c<v.length)for(var p=w.sqr();c<v.length;c++,p=p.sqr())v[c]!==0&&(w=w.mul(p));return w},l.prototype.iushln=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=67108863>>>26-v<<26-v,p;if(v!==0){var x=0;for(p=0;p<this.length;p++){var S=this.words[p]&c,b=(this.words[p]|0)-S<<v;this.words[p]=b|x,x=S>>>26-v}x&&(this.words[p]=x,this.length++)}if(w!==0){for(p=this.length-1;p>=0;p--)this.words[p+w]=this.words[p];for(p=0;p<w;p++)this.words[p]=0;this.length+=w}return this.strip()},l.prototype.ishln=function(d){return o(this.negative===0),this.iushln(d)},l.prototype.iushrn=function(d,v,w){o(typeof d=="number"&&d>=0);var c;v?c=(v-v%26)/26:c=0;var p=d%26,x=Math.min((d-p)/26,this.length),S=67108863^67108863>>>p<<p,b=w;if(c-=x,c=Math.max(0,c),b){for(var h=0;h<x;h++)b.words[h]=this.words[h];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,h=0;h<this.length;h++)this.words[h]=this.words[h+x];else this.words[0]=0,this.length=1;var T=0;for(h=this.length-1;h>=0&&(T!==0||h>=c);h--){var M=this.words[h]|0;this.words[h]=T<<26-p|M>>>p,T=M&S}return b&&T!==0&&(b.words[b.length++]=T),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(d,v,w){return o(this.negative===0),this.iushrn(d,v,w)},l.prototype.shln=function(d){return this.clone().ishln(d)},l.prototype.ushln=function(d){return this.clone().iushln(d)},l.prototype.shrn=function(d){return this.clone().ishrn(d)},l.prototype.ushrn=function(d){return this.clone().iushrn(d)},l.prototype.testn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return!1;var p=this.words[w];return!!(p&c)},l.prototype.imaskn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26;if(o(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(v!==0&&w++,this.length=Math.min(w,this.length),v!==0){var c=67108863^67108863>>>v<<v;this.words[this.length-1]&=c}return this.strip()},l.prototype.maskn=function(d){return this.clone().imaskn(d)},l.prototype.iaddn=function(d){return o(typeof d=="number"),o(d<67108864),d<0?this.isubn(-d):this.negative!==0?this.length===1&&(this.words[0]|0)<d?(this.words[0]=d-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(d),this.negative=1,this):this._iaddn(d)},l.prototype._iaddn=function(d){this.words[0]+=d;for(var v=0;v<this.length&&this.words[v]>=67108864;v++)this.words[v]-=67108864,v===this.length-1?this.words[v+1]=1:this.words[v+1]++;return this.length=Math.max(this.length,v+1),this},l.prototype.isubn=function(d){if(o(typeof d=="number"),o(d<67108864),d<0)return this.iaddn(-d);if(this.negative!==0)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var v=0;v<this.length&&this.words[v]<0;v++)this.words[v]+=67108864,this.words[v+1]-=1;return this.strip()},l.prototype.addn=function(d){return this.clone().iaddn(d)},l.prototype.subn=function(d){return this.clone().isubn(d)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(d,v,w){var c=d.length+w,p;this._expand(c);var x,S=0;for(p=0;p<d.length;p++){x=(this.words[p+w]|0)+S;var b=(d.words[p]|0)*v;x-=b&67108863,S=(x>>26)-(b/67108864|0),this.words[p+w]=x&67108863}for(;p<this.length-w;p++)x=(this.words[p+w]|0)+S,S=x>>26,this.words[p+w]=x&67108863;if(S===0)return this.strip();for(o(S===-1),S=0,p=0;p<this.length;p++)x=-(this.words[p]|0)+S,S=x>>26,this.words[p]=x&67108863;return this.negative=1,this.strip()},l.prototype._wordDiv=function(d,v){var w=this.length-d.length,c=this.clone(),p=d,x=p.words[p.length-1]|0,S=this._countBits(x);w=26-S,w!==0&&(p=p.ushln(w),c.iushln(w),x=p.words[p.length-1]|0);var b=c.length-p.length,h;if(v!=="mod"){h=new l(null),h.length=b+1,h.words=new Array(h.length);for(var T=0;T<h.length;T++)h.words[T]=0}var M=c.clone()._ishlnsubmul(p,1,b);M.negative===0&&(c=M,h&&(h.words[b]=1));for(var j=b-1;j>=0;j--){var V=(c.words[p.length+j]|0)*67108864+(c.words[p.length+j-1]|0);for(V=Math.min(V/x|0,67108863),c._ishlnsubmul(p,V,j);c.negative!==0;)V--,c.negative=0,c._ishlnsubmul(p,1,j),c.isZero()||(c.negative^=1);h&&(h.words[j]=V)}return h&&h.strip(),c.strip(),v!=="div"&&w!==0&&c.iushrn(w),{div:h||null,mod:c}},l.prototype.divmod=function(d,v,w){if(o(!d.isZero()),this.isZero())return{div:new l(0),mod:new l(0)};var c,p,x;return this.negative!==0&&d.negative===0?(x=this.neg().divmod(d,v),v!=="mod"&&(c=x.div.neg()),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.iadd(d)),{div:c,mod:p}):this.negative===0&&d.negative!==0?(x=this.divmod(d.neg(),v),v!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&d.negative?(x=this.neg().divmod(d.neg(),v),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.isub(d)),{div:x.div,mod:p}):d.length>this.length||this.cmp(d)<0?{div:new l(0),mod:this}:d.length===1?v==="div"?{div:this.divn(d.words[0]),mod:null}:v==="mod"?{div:null,mod:new l(this.modn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new l(this.modn(d.words[0]))}:this._wordDiv(d,v)},l.prototype.div=function(d){return this.divmod(d,"div",!1).div},l.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},l.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},l.prototype.divRound=function(d){var v=this.divmod(d);if(v.mod.isZero())return v.div;var w=v.div.negative!==0?v.mod.isub(d):v.mod,c=d.ushrn(1),p=d.andln(1),x=w.cmp(c);return x<0||p===1&&x===0?v.div:v.div.negative!==0?v.div.isubn(1):v.div.iaddn(1)},l.prototype.modn=function(d){o(d<=67108863);for(var v=(1<<26)%d,w=0,c=this.length-1;c>=0;c--)w=(v*w+(this.words[c]|0))%d;return w},l.prototype.idivn=function(d){o(d<=67108863);for(var v=0,w=this.length-1;w>=0;w--){var c=(this.words[w]|0)+v*67108864;this.words[w]=c/d|0,v=c%d}return this.strip()},l.prototype.divn=function(d){return this.clone().idivn(d)},l.prototype.egcd=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=new l(0),S=new l(1),b=0;v.isEven()&&w.isEven();)v.iushrn(1),w.iushrn(1),++b;for(var h=w.clone(),T=v.clone();!v.isZero();){for(var M=0,j=1;!(v.words[0]&j)&&M<26;++M,j<<=1);if(M>0)for(v.iushrn(M);M-- >0;)(c.isOdd()||p.isOdd())&&(c.iadd(h),p.isub(T)),c.iushrn(1),p.iushrn(1);for(var V=0,ee=1;!(w.words[0]&ee)&&V<26;++V,ee<<=1);if(V>0)for(w.iushrn(V);V-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(h),S.isub(T)),x.iushrn(1),S.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(x),p.isub(S)):(w.isub(v),x.isub(c),S.isub(p))}return{a:x,b:S,gcd:w.iushln(b)}},l.prototype._invmp=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=w.clone();v.cmpn(1)>0&&w.cmpn(1)>0;){for(var S=0,b=1;!(v.words[0]&b)&&S<26;++S,b<<=1);if(S>0)for(v.iushrn(S);S-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var h=0,T=1;!(w.words[0]&T)&&h<26;++h,T<<=1);if(h>0)for(w.iushrn(h);h-- >0;)p.isOdd()&&p.iadd(x),p.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(p)):(w.isub(v),p.isub(c))}var M;return v.cmpn(1)===0?M=c:M=p,M.cmpn(0)<0&&M.iadd(d),M},l.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var v=this.clone(),w=d.clone();v.negative=0,w.negative=0;for(var c=0;v.isEven()&&w.isEven();c++)v.iushrn(1),w.iushrn(1);do{for(;v.isEven();)v.iushrn(1);for(;w.isEven();)w.iushrn(1);var p=v.cmp(w);if(p<0){var x=v;v=w,w=x}else if(p===0||w.cmpn(1)===0)break;v.isub(w)}while(!0);return w.iushln(c)},l.prototype.invm=function(d){return this.egcd(d).a.umod(d)},l.prototype.isEven=function(){return(this.words[0]&1)===0},l.prototype.isOdd=function(){return(this.words[0]&1)===1},l.prototype.andln=function(d){return this.words[0]&d},l.prototype.bincn=function(d){o(typeof d=="number");var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return this._expand(w+1),this.words[w]|=c,this;for(var p=c,x=w;p!==0&&x<this.length;x++){var S=this.words[x]|0;S+=p,p=S>>>26,S&=67108863,this.words[x]=S}return p!==0&&(this.words[x]=p,this.length++),this},l.prototype.isZero=function(){return this.length===1&&this.words[0]===0},l.prototype.cmpn=function(d){var v=d<0;if(this.negative!==0&&!v)return-1;if(this.negative===0&&v)return 1;this.strip();var w;if(this.length>1)w=1;else{v&&(d=-d),o(d<=67108863,"Number is too big");var c=this.words[0]|0;w=c===d?0:c<d?-1:1}return this.negative!==0?-w|0:w},l.prototype.cmp=function(d){if(this.negative!==0&&d.negative===0)return-1;if(this.negative===0&&d.negative!==0)return 1;var v=this.ucmp(d);return this.negative!==0?-v|0:v},l.prototype.ucmp=function(d){if(this.length>d.length)return 1;if(this.length<d.length)return-1;for(var v=0,w=this.length-1;w>=0;w--){var c=this.words[w]|0,p=d.words[w]|0;if(c!==p){c<p?v=-1:c>p&&(v=1);break}}return v},l.prototype.gtn=function(d){return this.cmpn(d)===1},l.prototype.gt=function(d){return this.cmp(d)===1},l.prototype.gten=function(d){return this.cmpn(d)>=0},l.prototype.gte=function(d){return this.cmp(d)>=0},l.prototype.ltn=function(d){return this.cmpn(d)===-1},l.prototype.lt=function(d){return this.cmp(d)===-1},l.prototype.lten=function(d){return this.cmpn(d)<=0},l.prototype.lte=function(d){return this.cmp(d)<=0},l.prototype.eqn=function(d){return this.cmpn(d)===0},l.prototype.eq=function(d){return this.cmp(d)===0},l.red=function(d){return new he(d)},l.prototype.toRed=function(d){return o(!this.red,"Already a number in reduction context"),o(this.negative===0,"red works only with positives"),d.convertTo(this)._forceRed(d)},l.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(d){return this.red=d,this},l.prototype.forceRed=function(d){return o(!this.red,"Already a number in reduction context"),this._forceRed(d)},l.prototype.redAdd=function(d){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},l.prototype.redIAdd=function(d){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},l.prototype.redSub=function(d){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},l.prototype.redISub=function(d){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},l.prototype.redShl=function(d){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},l.prototype.redMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},l.prototype.redIMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},l.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(d){return o(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var Y={k256:null,p224:null,p192:null,p25519:null};function J(L,d){this.name=L,this.p=new l(d,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}J.prototype._tmp=function(){var d=new l(null);return d.words=new Array(Math.ceil(this.n/13)),d},J.prototype.ireduce=function(d){var v=d,w;do this.split(v,this.tmp),v=this.imulK(v),v=v.iadd(this.tmp),w=v.bitLength();while(w>this.n);var c=w<this.n?-1:v.ucmp(this.p);return c===0?(v.words[0]=0,v.length=1):c>0?v.isub(this.p):v.strip!==void 0?v.strip():v._strip(),v},J.prototype.split=function(d,v){d.iushrn(this.n,0,v)},J.prototype.imulK=function(d){return d.imul(this.k)};function ie(){J.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(ie,J),ie.prototype.split=function(d,v){for(var w=4194303,c=Math.min(d.length,9),p=0;p<c;p++)v.words[p]=d.words[p];if(v.length=c,d.length<=9){d.words[0]=0,d.length=1;return}var x=d.words[9];for(v.words[v.length++]=x&w,p=10;p<d.length;p++){var S=d.words[p]|0;d.words[p-10]=(S&w)<<4|x>>>22,x=S}x>>>=22,d.words[p-10]=x,x===0&&d.length>10?d.length-=10:d.length-=9},ie.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var v=0,w=0;w<d.length;w++){var c=d.words[w]|0;v+=c*977,d.words[w]=v&67108863,v=c*64+(v/67108864|0)}return d.words[d.length-1]===0&&(d.length--,d.words[d.length-1]===0&&d.length--),d};function ue(){J.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(ue,J);function Q(){J.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(Q,J);function ce(){J.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ce,J),ce.prototype.imulK=function(d){for(var v=0,w=0;w<d.length;w++){var c=(d.words[w]|0)*19+v,p=c&67108863;c>>>=26,d.words[w]=p,v=c}return v!==0&&(d.words[d.length++]=v),d},l._prime=function(d){if(Y[d])return Y[d];var v;if(d==="k256")v=new ie;else if(d==="p224")v=new ue;else if(d==="p192")v=new Q;else if(d==="p25519")v=new ce;else throw new Error("Unknown prime "+d);return Y[d]=v,v};function he(L){if(typeof L=="string"){var d=l._prime(L);this.m=d.p,this.prime=d}else o(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(d){o(d.negative===0,"red works only with positives"),o(d.red,"red works only with red numbers")},he.prototype._verify2=function(d,v){o((d.negative|v.negative)===0,"red works only with positives"),o(d.red&&d.red===v.red,"red works only with red numbers")},he.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):d.umod(this.m)._forceRed(this)},he.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},he.prototype.add=function(d,v){this._verify2(d,v);var w=d.add(v);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},he.prototype.iadd=function(d,v){this._verify2(d,v);var w=d.iadd(v);return w.cmp(this.m)>=0&&w.isub(this.m),w},he.prototype.sub=function(d,v){this._verify2(d,v);var w=d.sub(v);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},he.prototype.isub=function(d,v){this._verify2(d,v);var w=d.isub(v);return w.cmpn(0)<0&&w.iadd(this.m),w},he.prototype.shl=function(d,v){return this._verify1(d),this.imod(d.ushln(v))},he.prototype.imul=function(d,v){return this._verify2(d,v),this.imod(d.imul(v))},he.prototype.mul=function(d,v){return this._verify2(d,v),this.imod(d.mul(v))},he.prototype.isqr=function(d){return this.imul(d,d.clone())},he.prototype.sqr=function(d){return this.mul(d,d)},he.prototype.sqrt=function(d){if(d.isZero())return d.clone();var v=this.m.andln(3);if(o(v%2===1),v===3){var w=this.m.add(new l(1)).iushrn(2);return this.pow(d,w)}for(var c=this.m.subn(1),p=0;!c.isZero()&&c.andln(1)===0;)p++,c.iushrn(1);o(!c.isZero());var x=new l(1).toRed(this),S=x.redNeg(),b=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);this.pow(h,b).cmp(S)!==0;)h.redIAdd(S);for(var T=this.pow(h,c),M=this.pow(d,c.addn(1).iushrn(1)),j=this.pow(d,c),V=p;j.cmp(x)!==0;){for(var ee=j,Z=0;ee.cmp(x)!==0;Z++)ee=ee.redSqr();o(Z<V);var U=this.pow(T,new l(1).iushln(V-Z-1));M=M.redMul(U),T=U.redSqr(),j=j.redMul(T),V=Z}return M},he.prototype.invm=function(d){var v=d._invmp(this.m);return v.negative!==0?(v.negative=0,this.imod(v).redNeg()):this.imod(v)},he.prototype.pow=function(d,v){if(v.isZero())return new l(1).toRed(this);if(v.cmpn(1)===0)return d.clone();var w=4,c=new Array(1<<w);c[0]=new l(1).toRed(this),c[1]=d;for(var p=2;p<c.length;p++)c[p]=this.mul(c[p-1],d);var x=c[0],S=0,b=0,h=v.bitLength()%26;for(h===0&&(h=26),p=v.length-1;p>=0;p--){for(var T=v.words[p],M=h-1;M>=0;M--){var j=T>>M&1;if(x!==c[0]&&(x=this.sqr(x)),j===0&&S===0){b=0;continue}S<<=1,S|=j,b++,!(b!==w&&(p!==0||M!==0))&&(x=this.mul(x,c[S]),b=0,S=0)}h=26}return x},he.prototype.convertTo=function(d){var v=d.umod(this.m);return v===d?v.clone():v},he.prototype.convertFrom=function(d){var v=d.clone();return v.red=null,v},l.mont=function(d){return new ke(d)};function ke(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(ke,he),ke.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},ke.prototype.convertFrom=function(d){var v=this.imod(d.mul(this.rinv));return v.red=null,v},ke.prototype.imul=function(d,v){if(d.isZero()||v.isZero())return d.words[0]=0,d.length=1,d;var w=d.imul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.mul=function(d,v){if(d.isZero()||v.isZero())return new l(0)._forceRed(this);var w=d.mul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.invm=function(d){var v=this.imod(d._invmp(this.m).mul(this.r2));return v._forceRed(this)}})(t,commonjsGlobal$1)}(bn$5);var bnExports$5=bn$5.exports,brorand={exports:{}},hasRequiredBrorand;function requireBrorand(){if(hasRequiredBrorand)return brorand.exports;hasRequiredBrorand=1;var t;brorand.exports=function(u){return t||(t=new e(null)),t.generate(u)};function e(o){this.rand=o}if(brorand.exports.Rand=e,e.prototype.generate=function(u){return this._rand(u)},e.prototype._rand=function(u){if(this.rand.getBytes)return this.rand.getBytes(u);for(var l=new Uint8Array(u),m=0;m<l.length;m++)l[m]=this.rand.getByte();return l},typeof self=="object")self.crypto&&self.crypto.getRandomValues?e.prototype._rand=function(u){var l=new Uint8Array(u);return self.crypto.getRandomValues(l),l}:self.msCrypto&&self.msCrypto.getRandomValues?e.prototype._rand=function(u){var l=new Uint8Array(u);return self.msCrypto.getRandomValues(l),l}:typeof window=="object"&&(e.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var n=requireCryptoBrowserify();if(typeof n.randomBytes!="function")throw new Error("Not supported");e.prototype._rand=function(u){return n.randomBytes(u)}}catch{}return brorand.exports}var mr,hasRequiredMr;function requireMr(){if(hasRequiredMr)return mr;hasRequiredMr=1;var t=bnExports$5,e=requireBrorand();function n(o){this.rand=o||new e.Rand}return mr=n,n.create=function(u){return new n(u)},n.prototype._randbelow=function(u){var l=u.bitLength(),m=Math.ceil(l/8);do var y=new t(this.rand.generate(m));while(y.cmp(u)>=0);return y},n.prototype._randrange=function(u,l){var m=l.sub(u);return u.add(this._randbelow(m))},n.prototype.test=function(u,l,m){var y=u.bitLength(),E=t.mont(u),C=new t(1).toRed(E);l||(l=Math.max(1,y/48|0));for(var k=u.subn(1),A=0;!k.testn(A);A++);for(var D=u.shrn(A),P=k.toRed(E),R=!0;l>0;l--){var B=this._randrange(new t(2),k);m&&m(B);var F=B.toRed(E).redPow(D);if(!(F.cmp(C)===0||F.cmp(P)===0)){for(var O=1;O<A;O++){if(F=F.redSqr(),F.cmp(C)===0)return!1;if(F.cmp(P)===0)break}if(O===A)return!1}}return R},n.prototype.getDivisor=function(u,l){var m=u.bitLength(),y=t.mont(u),E=new t(1).toRed(y);l||(l=Math.max(1,m/48|0));for(var C=u.subn(1),k=0;!C.testn(k);k++);for(var A=u.shrn(k),D=C.toRed(y);l>0;l--){var P=this._randrange(new t(2),C),R=u.gcd(P);if(R.cmpn(1)!==0)return R;var B=P.toRed(y).redPow(A);if(!(B.cmp(E)===0||B.cmp(D)===0)){for(var F=1;F<k;F++){if(B=B.redSqr(),B.cmp(E)===0)return B.fromRed().subn(1).gcd(u);if(B.cmp(D)===0)break}if(F===k)return B=B.redSqr(),B.fromRed().subn(1).gcd(u)}}return!1},mr}var generatePrime,hasRequiredGeneratePrime;function requireGeneratePrime(){if(hasRequiredGeneratePrime)return generatePrime;hasRequiredGeneratePrime=1;var t=browserExports;generatePrime=F,F.simpleSieve=R,F.fermatTest=B;var e=bnExports$6,n=new e(24),o=requireMr(),u=new o,l=new e(1),m=new e(2),y=new e(5);new e(16),new e(8);var E=new e(10),C=new e(3);new e(7);var k=new e(11),A=new e(4);new e(12);var D=null;function P(){if(D!==null)return D;var O=1048576,N=[];N[0]=2;for(var Y=1,J=3;J<O;J+=2){for(var ie=Math.ceil(Math.sqrt(J)),ue=0;ue<Y&&N[ue]<=ie&&J%N[ue]!==0;ue++);Y!==ue&&N[ue]<=ie||(N[Y++]=J)}return D=N,N}function R(O){for(var N=P(),Y=0;Y<N.length;Y++)if(O.modn(N[Y])===0)return O.cmpn(N[Y])===0;return!0}function B(O){var N=e.mont(O);return m.toRed(N).redPow(O.subn(1)).fromRed().cmpn(1)===0}function F(O,N){if(O<16)return N===2||N===5?new e([140,123]):new e([140,39]);N=new e(N);for(var Y,J;;){for(Y=new e(t(Math.ceil(O/8)));Y.bitLength()>O;)Y.ishrn(1);if(Y.isEven()&&Y.iadd(l),Y.testn(1)||Y.iadd(m),N.cmp(m)){if(!N.cmp(y))for(;Y.mod(E).cmp(C);)Y.iadd(A)}else for(;Y.mod(n).cmp(k);)Y.iadd(A);if(J=Y.shrn(1),R(J)&&R(Y)&&B(J)&&B(Y)&&u.test(J)&&u.test(Y))return Y}}return generatePrime}const modp1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"},require$$1$3={modp1,modp2,modp5,modp14,modp15,modp16,modp17,modp18};var dh,hasRequiredDh;function requireDh(){if(hasRequiredDh)return dh;hasRequiredDh=1;var t=bnExports$6,e=requireMr(),n=new e,o=new t(24),u=new t(11),l=new t(10),m=new t(3),y=new t(7),E=requireGeneratePrime(),C=browserExports;dh=R;function k(F,O){return O=O||"utf8",Buffer$C.isBuffer(F)||(F=new Buffer$C(F,O)),this._pub=new t(F),this}function A(F,O){return O=O||"utf8",Buffer$C.isBuffer(F)||(F=new Buffer$C(F,O)),this._priv=new t(F),this}var D={};function P(F,O){var N=O.toString("hex"),Y=[N,F.toString(16)].join("_");if(Y in D)return D[Y];var J=0;if(F.isEven()||!E.simpleSieve||!E.fermatTest(F)||!n.test(F))return J+=1,N==="02"||N==="05"?J+=8:J+=4,D[Y]=J,J;n.test(F.shrn(1))||(J+=2);var ie;switch(N){case"02":F.mod(o).cmp(u)&&(J+=8);break;case"05":ie=F.mod(l),ie.cmp(m)&&ie.cmp(y)&&(J+=8);break;default:J+=4}return D[Y]=J,J}function R(F,O,N){this.setGenerator(O),this.__prime=new t(F),this._prime=t.mont(this.__prime),this._primeLen=F.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,N?(this.setPublicKey=k,this.setPrivateKey=A):this._primeCode=8}Object.defineProperty(R.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=P(this.__prime,this.__gen)),this._primeCode}}),R.prototype.generateKeys=function(){return this._priv||(this._priv=new t(C(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},R.prototype.computeSecret=function(F){F=new t(F),F=F.toRed(this._prime);var O=F.redPow(this._priv).fromRed(),N=new Buffer$C(O.toArray()),Y=this.getPrime();if(N.length<Y.length){var J=new Buffer$C(Y.length-N.length);J.fill(0),N=Buffer$C.concat([J,N])}return N},R.prototype.getPublicKey=function(O){return B(this._pub,O)},R.prototype.getPrivateKey=function(O){return B(this._priv,O)},R.prototype.getPrime=function(F){return B(this.__prime,F)},R.prototype.getGenerator=function(F){return B(this._gen,F)},R.prototype.setGenerator=function(F,O){return O=O||"utf8",Buffer$C.isBuffer(F)||(F=new Buffer$C(F,O)),this.__gen=F,this._gen=new t(F),this};function B(F,O){var N=new Buffer$C(F.toArray());return O?N.toString(O):N}return dh}var hasRequiredBrowser$4;function requireBrowser$4(){if(hasRequiredBrowser$4)return browser$6;hasRequiredBrowser$4=1;var t=requireGeneratePrime(),e=require$$1$3,n=requireDh();function o(m){var y=new Buffer$C(e[m].prime,"hex"),E=new Buffer$C(e[m].gen,"hex");return new n(y,E)}var u={binary:!0,hex:!0,base64:!0};function l(m,y,E,C){return Buffer$C.isBuffer(y)||u[y]===void 0?l(m,"binary",y,E):(y=y||"binary",C=C||"binary",E=E||new Buffer$C([2]),Buffer$C.isBuffer(E)||(E=new Buffer$C(E,C)),typeof m=="number"?new n(t(m,E),E,!0):(Buffer$C.isBuffer(m)||(m=new Buffer$C(m,y)),new n(m,E,!0)))}return browser$6.DiffieHellmanGroup=browser$6.createDiffieHellmanGroup=browser$6.getDiffieHellman=o,browser$6.createDiffieHellman=browser$6.DiffieHellman=l,browser$6}var readableBrowser$1={exports:{}},processNextickArgs={exports:{}};typeof process$1>"u"||!process$1.version||process$1.version.indexOf("v0.")===0||process$1.version.indexOf("v1.")===0&&process$1.version.indexOf("v1.8.")!==0?processNextickArgs.exports={nextTick}:processNextickArgs.exports=process$1;function nextTick(t,e,n,o){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var u=arguments.length,l,m;switch(u){case 0:case 1:return process$1.nextTick(t);case 2:return process$1.nextTick(function(){t.call(null,e)});case 3:return process$1.nextTick(function(){t.call(null,e,n)});case 4:return process$1.nextTick(function(){t.call(null,e,n,o)});default:for(l=new Array(u-1),m=0;m<l.length;)l[m++]=arguments[m];return process$1.nextTick(function(){t.apply(null,l)})}}var processNextickArgsExports=processNextickArgs.exports,toString={}.toString,isarray=Array.isArray||function(t){return toString.call(t)=="[object Array]"},streamBrowser=requireEvents().EventEmitter,safeBuffer$1={exports:{}};(function(t,e){var n=require$$0$2,o=n.Buffer;function u(m,y){for(var E in m)y[E]=m[E]}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(u(n,e),e.Buffer=l);function l(m,y,E){return o(m,y,E)}u(o,l),l.from=function(m,y,E){if(typeof m=="number")throw new TypeError("Argument must not be a number");return o(m,y,E)},l.alloc=function(m,y,E){if(typeof m!="number")throw new TypeError("Argument must be a number");var C=o(m);return y!==void 0?typeof E=="string"?C.fill(y,E):C.fill(y):C.fill(0),C},l.allocUnsafe=function(m){if(typeof m!="number")throw new TypeError("Argument must be a number");return o(m)},l.allocUnsafeSlow=function(m){if(typeof m!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(m)}})(safeBuffer$1,safeBuffer$1.exports);var safeBufferExports=safeBuffer$1.exports,util$3={};function isArray(t){return Array.isArray?Array.isArray(t):objectToString(t)==="[object Array]"}util$3.isArray=isArray;function isBoolean(t){return typeof t=="boolean"}util$3.isBoolean=isBoolean;function isNull(t){return t===null}util$3.isNull=isNull;function isNullOrUndefined(t){return t==null}util$3.isNullOrUndefined=isNullOrUndefined;function isNumber(t){return typeof t=="number"}util$3.isNumber=isNumber;function isString(t){return typeof t=="string"}util$3.isString=isString;function isSymbol(t){return typeof t=="symbol"}util$3.isSymbol=isSymbol;function isUndefined(t){return t===void 0}util$3.isUndefined=isUndefined;function isRegExp(t){return objectToString(t)==="[object RegExp]"}util$3.isRegExp=isRegExp;function isObject(t){return typeof t=="object"&&t!==null}util$3.isObject=isObject;function isDate(t){return objectToString(t)==="[object Date]"}util$3.isDate=isDate;function isError(t){return objectToString(t)==="[object Error]"||t instanceof Error}util$3.isError=isError;function isFunction(t){return typeof t=="function"}util$3.isFunction=isFunction;function isPrimitive(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}util$3.isPrimitive=isPrimitive,util$3.isBuffer=Buffer$C.isBuffer;function objectToString(t){return Object.prototype.toString.call(t)}var BufferList={exports:{}},hasRequiredBufferList;function requireBufferList(){return hasRequiredBufferList||(hasRequiredBufferList=1,function(t){function e(l,m){if(!(l instanceof m))throw new TypeError("Cannot call a class as a function")}var n=safeBufferExports.Buffer,o=util$6;function u(l,m,y){l.copy(m,y)}t.exports=function(){function l(){e(this,l),this.head=null,this.tail=null,this.length=0}return l.prototype.push=function(y){var E={data:y,next:null};this.length>0?this.tail.next=E:this.head=E,this.tail=E,++this.length},l.prototype.unshift=function(y){var E={data:y,next:this.head};this.length===0&&(this.tail=E),this.head=E,++this.length},l.prototype.shift=function(){if(this.length!==0){var y=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,y}},l.prototype.clear=function(){this.head=this.tail=null,this.length=0},l.prototype.join=function(y){if(this.length===0)return"";for(var E=this.head,C=""+E.data;E=E.next;)C+=y+E.data;return C},l.prototype.concat=function(y){if(this.length===0)return n.alloc(0);for(var E=n.allocUnsafe(y>>>0),C=this.head,k=0;C;)u(C.data,E,k),k+=C.data.length,C=C.next;return E},l}(),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var l=o.inspect({length:this.length});return this.constructor.name+" "+l})}(BufferList)),BufferList.exports}var pna=processNextickArgsExports;function destroy(t,e){var n=this,o=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return o||u?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,t)):pna.nextTick(emitErrorNT,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(l){!e&&l?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,n,l)):pna.nextTick(emitErrorNT,n,l):e&&e(l)}),this)}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(t,e){t.emit("error",e)}var destroy_1={destroy,undestroy},_stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var t=processNextickArgsExports;_stream_writable=B;function e(x){var S=this;this.next=null,this.entry=null,this.finish=function(){p(S,x)}}var n=!process$1.browser&&["v0.10","v0.9."].indexOf(process$1.version.slice(0,5))>-1?setImmediate:t.nextTick,o;B.WritableState=P;var u=Object.create(util$3);u.inherits=inherits_browserExports;var l={deprecate:requireBrowser$5()},m=streamBrowser,y=safeBufferExports.Buffer,E=(typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function C(x){return y.from(x)}function k(x){return y.isBuffer(x)||x instanceof E}var A=destroy_1;u.inherits(B,m);function D(){}function P(x,S){o=o||require_stream_duplex(),x=x||{};var b=S instanceof o;this.objectMode=!!x.objectMode,b&&(this.objectMode=this.objectMode||!!x.writableObjectMode);var h=x.highWaterMark,T=x.writableHighWaterMark,M=this.objectMode?16:16*1024;h||h===0?this.highWaterMark=h:b&&(T||T===0)?this.highWaterMark=T:this.highWaterMark=M,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var j=x.decodeStrings===!1;this.decodeStrings=!j,this.defaultEncoding=x.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(V){Q(S,V)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}P.prototype.getBuffer=function(){for(var S=this.bufferedRequest,b=[];S;)b.push(S),S=S.next;return b},function(){try{Object.defineProperty(P.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var R;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(R=Function.prototype[Symbol.hasInstance],Object.defineProperty(B,Symbol.hasInstance,{value:function(x){return R.call(this,x)?!0:this!==B?!1:x&&x._writableState instanceof P}})):R=function(x){return x instanceof this};function B(x){if(o=o||require_stream_duplex(),!R.call(B,this)&&!(this instanceof o))return new B(x);this._writableState=new P(x,this),this.writable=!0,x&&(typeof x.write=="function"&&(this._write=x.write),typeof x.writev=="function"&&(this._writev=x.writev),typeof x.destroy=="function"&&(this._destroy=x.destroy),typeof x.final=="function"&&(this._final=x.final)),m.call(this)}B.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function F(x,S){var b=new Error("write after end");x.emit("error",b),t.nextTick(S,b)}function O(x,S,b,h){var T=!0,M=!1;return b===null?M=new TypeError("May not write null values to stream"):typeof b!="string"&&b!==void 0&&!S.objectMode&&(M=new TypeError("Invalid non-string/buffer chunk")),M&&(x.emit("error",M),t.nextTick(h,M),T=!1),T}B.prototype.write=function(x,S,b){var h=this._writableState,T=!1,M=!h.objectMode&&k(x);return M&&!y.isBuffer(x)&&(x=C(x)),typeof S=="function"&&(b=S,S=null),M?S="buffer":S||(S=h.defaultEncoding),typeof b!="function"&&(b=D),h.ended?F(this,b):(M||O(this,h,x,b))&&(h.pendingcb++,T=Y(this,h,M,x,S,b)),T},B.prototype.cork=function(){var x=this._writableState;x.corked++},B.prototype.uncork=function(){var x=this._writableState;x.corked&&(x.corked--,!x.writing&&!x.corked&&!x.bufferProcessing&&x.bufferedRequest&&ke(this,x))},B.prototype.setDefaultEncoding=function(S){if(typeof S=="string"&&(S=S.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((S+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+S);return this._writableState.defaultEncoding=S,this};function N(x,S,b){return!x.objectMode&&x.decodeStrings!==!1&&typeof S=="string"&&(S=y.from(S,b)),S}Object.defineProperty(B.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Y(x,S,b,h,T,M){if(!b){var j=N(S,h,T);h!==j&&(b=!0,T="buffer",h=j)}var V=S.objectMode?1:h.length;S.length+=V;var ee=S.length<S.highWaterMark;if(ee||(S.needDrain=!0),S.writing||S.corked){var Z=S.lastBufferedRequest;S.lastBufferedRequest={chunk:h,encoding:T,isBuf:b,callback:M,next:null},Z?Z.next=S.lastBufferedRequest:S.bufferedRequest=S.lastBufferedRequest,S.bufferedRequestCount+=1}else J(x,S,!1,V,h,T,M);return ee}function J(x,S,b,h,T,M,j){S.writelen=h,S.writecb=j,S.writing=!0,S.sync=!0,b?x._writev(T,S.onwrite):x._write(T,M,S.onwrite),S.sync=!1}function ie(x,S,b,h,T){--S.pendingcb,b?(t.nextTick(T,h),t.nextTick(w,x,S),x._writableState.errorEmitted=!0,x.emit("error",h)):(T(h),x._writableState.errorEmitted=!0,x.emit("error",h),w(x,S))}function ue(x){x.writing=!1,x.writecb=null,x.length-=x.writelen,x.writelen=0}function Q(x,S){var b=x._writableState,h=b.sync,T=b.writecb;if(ue(b),S)ie(x,b,h,S,T);else{var M=L(b);!M&&!b.corked&&!b.bufferProcessing&&b.bufferedRequest&&ke(x,b),h?n(ce,x,b,M,T):ce(x,b,M,T)}}function ce(x,S,b,h){b||he(x,S),S.pendingcb--,h(),w(x,S)}function he(x,S){S.length===0&&S.needDrain&&(S.needDrain=!1,x.emit("drain"))}function ke(x,S){S.bufferProcessing=!0;var b=S.bufferedRequest;if(x._writev&&b&&b.next){var h=S.bufferedRequestCount,T=new Array(h),M=S.corkedRequestsFree;M.entry=b;for(var j=0,V=!0;b;)T[j]=b,b.isBuf||(V=!1),b=b.next,j+=1;T.allBuffers=V,J(x,S,!0,S.length,T,"",M.finish),S.pendingcb++,S.lastBufferedRequest=null,M.next?(S.corkedRequestsFree=M.next,M.next=null):S.corkedRequestsFree=new e(S),S.bufferedRequestCount=0}else{for(;b;){var ee=b.chunk,Z=b.encoding,U=b.callback,z=S.objectMode?1:ee.length;if(J(x,S,!1,z,ee,Z,U),b=b.next,S.bufferedRequestCount--,S.writing)break}b===null&&(S.lastBufferedRequest=null)}S.bufferedRequest=b,S.bufferProcessing=!1}B.prototype._write=function(x,S,b){b(new Error("_write() is not implemented"))},B.prototype._writev=null,B.prototype.end=function(x,S,b){var h=this._writableState;typeof x=="function"?(b=x,x=null,S=null):typeof S=="function"&&(b=S,S=null),x!=null&&this.write(x,S),h.corked&&(h.corked=1,this.uncork()),h.ending||c(this,h,b)};function L(x){return x.ending&&x.length===0&&x.bufferedRequest===null&&!x.finished&&!x.writing}function d(x,S){x._final(function(b){S.pendingcb--,b&&x.emit("error",b),S.prefinished=!0,x.emit("prefinish"),w(x,S)})}function v(x,S){!S.prefinished&&!S.finalCalled&&(typeof x._final=="function"?(S.pendingcb++,S.finalCalled=!0,t.nextTick(d,x,S)):(S.prefinished=!0,x.emit("prefinish")))}function w(x,S){var b=L(S);return b&&(v(x,S),S.pendingcb===0&&(S.finished=!0,x.emit("finish"))),b}function c(x,S,b){S.ending=!0,w(x,S),b&&(S.finished?t.nextTick(b):x.once("finish",b)),S.ended=!0,x.writable=!1}function p(x,S,b){var h=x.entry;for(x.entry=null;h;){var T=h.callback;S.pendingcb--,T(b),h=h.next}S.corkedRequestsFree.next=x}return Object.defineProperty(B.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(x){this._writableState&&(this._writableState.destroyed=x)}}),B.prototype.destroy=A.destroy,B.prototype._undestroy=A.undestroy,B.prototype._destroy=function(x,S){this.end(),S(x)},_stream_writable}var _stream_duplex,hasRequired_stream_duplex;function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var t=processNextickArgsExports,e=Object.keys||function(A){var D=[];for(var P in A)D.push(P);return D};_stream_duplex=E;var n=Object.create(util$3);n.inherits=inherits_browserExports;var o=require_stream_readable(),u=require_stream_writable();n.inherits(E,o);for(var l=e(u.prototype),m=0;m<l.length;m++){var y=l[m];E.prototype[y]||(E.prototype[y]=u.prototype[y])}function E(A){if(!(this instanceof E))return new E(A);o.call(this,A),u.call(this,A),A&&A.readable===!1&&(this.readable=!1),A&&A.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,A&&A.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",C)}Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function C(){this.allowHalfOpen||this._writableState.ended||t.nextTick(k,this)}function k(A){A.end()}return Object.defineProperty(E.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(A){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=A,this._writableState.destroyed=A)}}),E.prototype._destroy=function(A,D){this.push(null),this.end(),t.nextTick(D,A)},_stream_duplex}var _stream_readable,hasRequired_stream_readable;function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;hasRequired_stream_readable=1;var t=processNextickArgsExports;_stream_readable=N;var e=isarray,n;N.ReadableState=O,requireEvents().EventEmitter;var o=function(U,z){return U.listeners(z).length},u=streamBrowser,l=safeBufferExports.Buffer,m=(typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function y(U){return l.from(U)}function E(U){return l.isBuffer(U)||U instanceof m}var C=Object.create(util$3);C.inherits=inherits_browserExports;var k=util$6,A=void 0;k&&k.debuglog?A=k.debuglog("stream"):A=function(){};var D=requireBufferList(),P=destroy_1,R;C.inherits(N,u);var B=["error","close","destroy","pause","resume"];function F(U,z,ne){if(typeof U.prependListener=="function")return U.prependListener(z,ne);!U._events||!U._events[z]?U.on(z,ne):e(U._events[z])?U._events[z].unshift(ne):U._events[z]=[ne,U._events[z]]}function O(U,z){n=n||require_stream_duplex(),U=U||{};var ne=z instanceof n;this.objectMode=!!U.objectMode,ne&&(this.objectMode=this.objectMode||!!U.readableObjectMode);var fe=U.highWaterMark,me=U.readableHighWaterMark,de=this.objectMode?16:16*1024;fe||fe===0?this.highWaterMark=fe:ne&&(me||me===0)?this.highWaterMark=me:this.highWaterMark=de,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new D,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=U.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,U.encoding&&(R||(R=string_decoder.StringDecoder),this.decoder=new R(U.encoding),this.encoding=U.encoding)}function N(U){if(n=n||require_stream_duplex(),!(this instanceof N))return new N(U);this._readableState=new O(U,this),this.readable=!0,U&&(typeof U.read=="function"&&(this._read=U.read),typeof U.destroy=="function"&&(this._destroy=U.destroy)),u.call(this)}Object.defineProperty(N.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(U){this._readableState&&(this._readableState.destroyed=U)}}),N.prototype.destroy=P.destroy,N.prototype._undestroy=P.undestroy,N.prototype._destroy=function(U,z){this.push(null),z(U)},N.prototype.push=function(U,z){var ne=this._readableState,fe;return ne.objectMode?fe=!0:typeof U=="string"&&(z=z||ne.defaultEncoding,z!==ne.encoding&&(U=l.from(U,z),z=""),fe=!0),Y(this,U,z,!1,fe)},N.prototype.unshift=function(U){return Y(this,U,null,!0,!1)};function Y(U,z,ne,fe,me){var de=U._readableState;if(z===null)de.reading=!1,ke(U,de);else{var Oe;me||(Oe=ie(de,z)),Oe?U.emit("error",Oe):de.objectMode||z&&z.length>0?(typeof z!="string"&&!de.objectMode&&Object.getPrototypeOf(z)!==l.prototype&&(z=y(z)),fe?de.endEmitted?U.emit("error",new Error("stream.unshift() after end event")):J(U,de,z,!0):de.ended?U.emit("error",new Error("stream.push() after EOF")):(de.reading=!1,de.decoder&&!ne?(z=de.decoder.write(z),de.objectMode||z.length!==0?J(U,de,z,!1):v(U,de)):J(U,de,z,!1))):fe||(de.reading=!1)}return ue(de)}function J(U,z,ne,fe){z.flowing&&z.length===0&&!z.sync?(U.emit("data",ne),U.read(0)):(z.length+=z.objectMode?1:ne.length,fe?z.buffer.unshift(ne):z.buffer.push(ne),z.needReadable&&L(U)),v(U,z)}function ie(U,z){var ne;return!E(z)&&typeof z!="string"&&z!==void 0&&!U.objectMode&&(ne=new TypeError("Invalid non-string/buffer chunk")),ne}function ue(U){return!U.ended&&(U.needReadable||U.length<U.highWaterMark||U.length===0)}N.prototype.isPaused=function(){return this._readableState.flowing===!1},N.prototype.setEncoding=function(U){return R||(R=string_decoder.StringDecoder),this._readableState.decoder=new R(U),this._readableState.encoding=U,this};var Q=8388608;function ce(U){return U>=Q?U=Q:(U--,U|=U>>>1,U|=U>>>2,U|=U>>>4,U|=U>>>8,U|=U>>>16,U++),U}function he(U,z){return U<=0||z.length===0&&z.ended?0:z.objectMode?1:U!==U?z.flowing&&z.length?z.buffer.head.data.length:z.length:(U>z.highWaterMark&&(z.highWaterMark=ce(U)),U<=z.length?U:z.ended?z.length:(z.needReadable=!0,0))}N.prototype.read=function(U){A("read",U),U=parseInt(U,10);var z=this._readableState,ne=U;if(U!==0&&(z.emittedReadable=!1),U===0&&z.needReadable&&(z.length>=z.highWaterMark||z.ended))return A("read: emitReadable",z.length,z.ended),z.length===0&&z.ended?V(this):L(this),null;if(U=he(U,z),U===0&&z.ended)return z.length===0&&V(this),null;var fe=z.needReadable;A("need readable",fe),(z.length===0||z.length-U<z.highWaterMark)&&(fe=!0,A("length less than watermark",fe)),z.ended||z.reading?(fe=!1,A("reading or ended",fe)):fe&&(A("do read"),z.reading=!0,z.sync=!0,z.length===0&&(z.needReadable=!0),this._read(z.highWaterMark),z.sync=!1,z.reading||(U=he(ne,z)));var me;return U>0?me=h(U,z):me=null,me===null?(z.needReadable=!0,U=0):z.length-=U,z.length===0&&(z.ended||(z.needReadable=!0),ne!==U&&z.ended&&V(this)),me!==null&&this.emit("data",me),me};function ke(U,z){if(!z.ended){if(z.decoder){var ne=z.decoder.end();ne&&ne.length&&(z.buffer.push(ne),z.length+=z.objectMode?1:ne.length)}z.ended=!0,L(U)}}function L(U){var z=U._readableState;z.needReadable=!1,z.emittedReadable||(A("emitReadable",z.flowing),z.emittedReadable=!0,z.sync?t.nextTick(d,U):d(U))}function d(U){A("emit readable"),U.emit("readable"),b(U)}function v(U,z){z.readingMore||(z.readingMore=!0,t.nextTick(w,U,z))}function w(U,z){for(var ne=z.length;!z.reading&&!z.flowing&&!z.ended&&z.length<z.highWaterMark&&(A("maybeReadMore read 0"),U.read(0),ne!==z.length);)ne=z.length;z.readingMore=!1}N.prototype._read=function(U){this.emit("error",new Error("_read() is not implemented"))},N.prototype.pipe=function(U,z){var ne=this,fe=this._readableState;switch(fe.pipesCount){case 0:fe.pipes=U;break;case 1:fe.pipes=[fe.pipes,U];break;default:fe.pipes.push(U);break}fe.pipesCount+=1,A("pipe count=%d opts=%j",fe.pipesCount,z);var me=(!z||z.end!==!1)&&U!==process$1.stdout&&U!==process$1.stderr,de=me?lt:jt;fe.endEmitted?t.nextTick(de):ne.once("end",de),U.on("unpipe",Oe);function Oe(Ve,We){A("onunpipe"),Ve===ne&&We&&We.hasUnpiped===!1&&(We.hasUnpiped=!0,Ct())}function lt(){A("onend"),U.end()}var it=c(ne);U.on("drain",it);var ot=!1;function Ct(){A("cleanup"),U.removeListener("close",rt),U.removeListener("finish",ht),U.removeListener("drain",it),U.removeListener("error",tt),U.removeListener("unpipe",Oe),ne.removeListener("end",lt),ne.removeListener("end",jt),ne.removeListener("data",Je),ot=!0,fe.awaitDrain&&(!U._writableState||U._writableState.needDrain)&&it()}var nt=!1;ne.on("data",Je);function Je(Ve){A("ondata"),nt=!1;var We=U.write(Ve);We===!1&&!nt&&((fe.pipesCount===1&&fe.pipes===U||fe.pipesCount>1&&Z(fe.pipes,U)!==-1)&&!ot&&(A("false write response, pause",fe.awaitDrain),fe.awaitDrain++,nt=!0),ne.pause())}function tt(Ve){A("onerror",Ve),jt(),U.removeListener("error",tt),o(U,"error")===0&&U.emit("error",Ve)}F(U,"error",tt);function rt(){U.removeListener("finish",ht),jt()}U.once("close",rt);function ht(){A("onfinish"),U.removeListener("close",rt),jt()}U.once("finish",ht);function jt(){A("unpipe"),ne.unpipe(U)}return U.emit("pipe",ne),fe.flowing||(A("pipe resume"),ne.resume()),U};function c(U){return function(){var z=U._readableState;A("pipeOnDrain",z.awaitDrain),z.awaitDrain&&z.awaitDrain--,z.awaitDrain===0&&o(U,"data")&&(z.flowing=!0,b(U))}}N.prototype.unpipe=function(U){var z=this._readableState,ne={hasUnpiped:!1};if(z.pipesCount===0)return this;if(z.pipesCount===1)return U&&U!==z.pipes?this:(U||(U=z.pipes),z.pipes=null,z.pipesCount=0,z.flowing=!1,U&&U.emit("unpipe",this,ne),this);if(!U){var fe=z.pipes,me=z.pipesCount;z.pipes=null,z.pipesCount=0,z.flowing=!1;for(var de=0;de<me;de++)fe[de].emit("unpipe",this,{hasUnpiped:!1});return this}var Oe=Z(z.pipes,U);return Oe===-1?this:(z.pipes.splice(Oe,1),z.pipesCount-=1,z.pipesCount===1&&(z.pipes=z.pipes[0]),U.emit("unpipe",this,ne),this)},N.prototype.on=function(U,z){var ne=u.prototype.on.call(this,U,z);if(U==="data")this._readableState.flowing!==!1&&this.resume();else if(U==="readable"){var fe=this._readableState;!fe.endEmitted&&!fe.readableListening&&(fe.readableListening=fe.needReadable=!0,fe.emittedReadable=!1,fe.reading?fe.length&&L(this):t.nextTick(p,this))}return ne},N.prototype.addListener=N.prototype.on;function p(U){A("readable nexttick read 0"),U.read(0)}N.prototype.resume=function(){var U=this._readableState;return U.flowing||(A("resume"),U.flowing=!0,x(this,U)),this};function x(U,z){z.resumeScheduled||(z.resumeScheduled=!0,t.nextTick(S,U,z))}function S(U,z){z.reading||(A("resume read 0"),U.read(0)),z.resumeScheduled=!1,z.awaitDrain=0,U.emit("resume"),b(U),z.flowing&&!z.reading&&U.read(0)}N.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function b(U){var z=U._readableState;for(A("flow",z.flowing);z.flowing&&U.read()!==null;);}N.prototype.wrap=function(U){var z=this,ne=this._readableState,fe=!1;U.on("end",function(){if(A("wrapped end"),ne.decoder&&!ne.ended){var Oe=ne.decoder.end();Oe&&Oe.length&&z.push(Oe)}z.push(null)}),U.on("data",function(Oe){if(A("wrapped data"),ne.decoder&&(Oe=ne.decoder.write(Oe)),!(ne.objectMode&&Oe==null)&&!(!ne.objectMode&&(!Oe||!Oe.length))){var lt=z.push(Oe);lt||(fe=!0,U.pause())}});for(var me in U)this[me]===void 0&&typeof U[me]=="function"&&(this[me]=function(Oe){return function(){return U[Oe].apply(U,arguments)}}(me));for(var de=0;de<B.length;de++)U.on(B[de],this.emit.bind(this,B[de]));return this._read=function(Oe){A("wrapped _read",Oe),fe&&(fe=!1,U.resume())},this},Object.defineProperty(N.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),N._fromList=h;function h(U,z){if(z.length===0)return null;var ne;return z.objectMode?ne=z.buffer.shift():!U||U>=z.length?(z.decoder?ne=z.buffer.join(""):z.buffer.length===1?ne=z.buffer.head.data:ne=z.buffer.concat(z.length),z.buffer.clear()):ne=T(U,z.buffer,z.decoder),ne}function T(U,z,ne){var fe;return U<z.head.data.length?(fe=z.head.data.slice(0,U),z.head.data=z.head.data.slice(U)):U===z.head.data.length?fe=z.shift():fe=ne?M(U,z):j(U,z),fe}function M(U,z){var ne=z.head,fe=1,me=ne.data;for(U-=me.length;ne=ne.next;){var de=ne.data,Oe=U>de.length?de.length:U;if(Oe===de.length?me+=de:me+=de.slice(0,U),U-=Oe,U===0){Oe===de.length?(++fe,ne.next?z.head=ne.next:z.head=z.tail=null):(z.head=ne,ne.data=de.slice(Oe));break}++fe}return z.length-=fe,me}function j(U,z){var ne=l.allocUnsafe(U),fe=z.head,me=1;for(fe.data.copy(ne),U-=fe.data.length;fe=fe.next;){var de=fe.data,Oe=U>de.length?de.length:U;if(de.copy(ne,ne.length-U,0,Oe),U-=Oe,U===0){Oe===de.length?(++me,fe.next?z.head=fe.next:z.head=z.tail=null):(z.head=fe,fe.data=de.slice(Oe));break}++me}return z.length-=me,ne}function V(U){var z=U._readableState;if(z.length>0)throw new Error('"endReadable()" called on non-empty stream');z.endEmitted||(z.ended=!0,t.nextTick(ee,z,U))}function ee(U,z){!U.endEmitted&&U.length===0&&(U.endEmitted=!0,z.readable=!1,z.emit("end"))}function Z(U,z){for(var ne=0,fe=U.length;ne<fe;ne++)if(U[ne]===z)return ne;return-1}return _stream_readable}var _stream_transform=Transform$1,Duplex=require_stream_duplex(),util$2=Object.create(util$3);util$2.inherits=inherits_browserExports,util$2.inherits(Transform$1,Duplex);function afterTransform(t,e){var n=this._transformState;n.transforming=!1;var o=n.writecb;if(!o)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,e!=null&&this.push(e),o(t);var u=this._readableState;u.reading=!1,(u.needReadable||u.length<u.highWaterMark)&&this._read(u.highWaterMark)}function Transform$1(t){if(!(this instanceof Transform$1))return new Transform$1(t);Duplex.call(this,t),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",prefinish)}function prefinish(){var t=this;typeof this._flush=="function"?this._flush(function(e,n){done(t,e,n)}):done(this,null,null)}Transform$1.prototype.push=function(t,e){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,t,e)},Transform$1.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},Transform$1.prototype._write=function(t,e,n){var o=this._transformState;if(o.writecb=n,o.writechunk=t,o.writeencoding=e,!o.transforming){var u=this._readableState;(o.needTransform||u.needReadable||u.length<u.highWaterMark)&&this._read(u.highWaterMark)}},Transform$1.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},Transform$1.prototype._destroy=function(t,e){var n=this;Duplex.prototype._destroy.call(this,t,function(o){e(o),n.emit("close")})};function done(t,e,n){if(e)return t.emit("error",e);if(n!=null&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}var _stream_passthrough=PassThrough,Transform=_stream_transform,util$1=Object.create(util$3);util$1.inherits=inherits_browserExports,util$1.inherits(PassThrough,Transform);function PassThrough(t){if(!(this instanceof PassThrough))return new PassThrough(t);Transform.call(this,t)}PassThrough.prototype._transform=function(t,e,n){n(null,t)},function(t,e){e=t.exports=require_stream_readable(),e.Stream=e,e.Readable=e,e.Writable=require_stream_writable(),e.Duplex=require_stream_duplex(),e.Transform=_stream_transform,e.PassThrough=_stream_passthrough}(readableBrowser$1,readableBrowser$1.exports);var readableBrowserExports=readableBrowser$1.exports,sign={exports:{}},bn$4={exports:{}};bn$4.exports,function(t){(function(e,n){function o(v,w){if(!v)throw new Error(w||"Assertion failed")}function u(v,w){v.super_=w;var c=function(){};c.prototype=w.prototype,v.prototype=new c,v.prototype.constructor=v}function l(v,w,c){if(l.isBN(v))return v;this.negative=0,this.words=null,this.length=0,this.red=null,v!==null&&((w==="le"||w==="be")&&(c=w,w=10),this._init(v||0,w||10,c||"be"))}typeof e=="object"?e.exports=l:n.BN=l,l.BN=l,l.wordSize=26;var m;try{typeof window<"u"&&typeof window.Buffer<"u"?m=window.Buffer:m=require$$0$2.Buffer}catch{}l.isBN=function(w){return w instanceof l?!0:w!==null&&typeof w=="object"&&w.constructor.wordSize===l.wordSize&&Array.isArray(w.words)},l.max=function(w,c){return w.cmp(c)>0?w:c},l.min=function(w,c){return w.cmp(c)<0?w:c},l.prototype._init=function(w,c,p){if(typeof w=="number")return this._initNumber(w,c,p);if(typeof w=="object")return this._initArray(w,c,p);c==="hex"&&(c=16),o(c===(c|0)&&c>=2&&c<=36),w=w.toString().replace(/\s+/g,"");var x=0;w[0]==="-"&&(x++,this.negative=1),x<w.length&&(c===16?this._parseHex(w,x,p):(this._parseBase(w,c,x),p==="le"&&this._initArray(this.toArray(),c,p)))},l.prototype._initNumber=function(w,c,p){w<0&&(this.negative=1,w=-w),w<67108864?(this.words=[w&67108863],this.length=1):w<4503599627370496?(this.words=[w&67108863,w/67108864&67108863],this.length=2):(o(w<9007199254740992),this.words=[w&67108863,w/67108864&67108863,1],this.length=3),p==="le"&&this._initArray(this.toArray(),c,p)},l.prototype._initArray=function(w,c,p){if(o(typeof w.length=="number"),w.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(w.length/3),this.words=new Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var S,b,h=0;if(p==="be")for(x=w.length-1,S=0;x>=0;x-=3)b=w[x]|w[x-1]<<8|w[x-2]<<16,this.words[S]|=b<<h&67108863,this.words[S+1]=b>>>26-h&67108863,h+=24,h>=26&&(h-=26,S++);else if(p==="le")for(x=0,S=0;x<w.length;x+=3)b=w[x]|w[x+1]<<8|w[x+2]<<16,this.words[S]|=b<<h&67108863,this.words[S+1]=b>>>26-h&67108863,h+=24,h>=26&&(h-=26,S++);return this._strip()};function y(v,w){var c=v.charCodeAt(w);if(c>=48&&c<=57)return c-48;if(c>=65&&c<=70)return c-55;if(c>=97&&c<=102)return c-87;o(!1,"Invalid character in "+v)}function E(v,w,c){var p=y(v,c);return c-1>=w&&(p|=y(v,c-1)<<4),p}l.prototype._parseHex=function(w,c,p){this.length=Math.ceil((w.length-c)/6),this.words=new Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var S=0,b=0,h;if(p==="be")for(x=w.length-1;x>=c;x-=2)h=E(w,c,x)<<S,this.words[b]|=h&67108863,S>=18?(S-=18,b+=1,this.words[b]|=h>>>26):S+=8;else{var T=w.length-c;for(x=T%2===0?c+1:c;x<w.length;x+=2)h=E(w,c,x)<<S,this.words[b]|=h&67108863,S>=18?(S-=18,b+=1,this.words[b]|=h>>>26):S+=8}this._strip()};function C(v,w,c,p){for(var x=0,S=0,b=Math.min(v.length,c),h=w;h<b;h++){var T=v.charCodeAt(h)-48;x*=p,T>=49?S=T-49+10:T>=17?S=T-17+10:S=T,o(T>=0&&S<p,"Invalid character"),x+=S}return x}l.prototype._parseBase=function(w,c,p){this.words=[0],this.length=1;for(var x=0,S=1;S<=67108863;S*=c)x++;x--,S=S/c|0;for(var b=w.length-p,h=b%x,T=Math.min(b,b-h)+p,M=0,j=p;j<T;j+=x)M=C(w,j,j+x,c),this.imuln(S),this.words[0]+M<67108864?this.words[0]+=M:this._iaddn(M);if(h!==0){var V=1;for(M=C(w,j,w.length,c),j=0;j<h;j++)V*=c;this.imuln(V),this.words[0]+M<67108864?this.words[0]+=M:this._iaddn(M)}this._strip()},l.prototype.copy=function(w){w.words=new Array(this.length);for(var c=0;c<this.length;c++)w.words[c]=this.words[c];w.length=this.length,w.negative=this.negative,w.red=this.red};function k(v,w){v.words=w.words,v.length=w.length,v.negative=w.negative,v.red=w.red}if(l.prototype._move=function(w){k(w,this)},l.prototype.clone=function(){var w=new l(null);return this.copy(w),w},l.prototype._expand=function(w){for(;this.length<w;)this.words[this.length++]=0;return this},l.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},l.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{l.prototype[Symbol.for("nodejs.util.inspect.custom")]=A}catch{l.prototype.inspect=A}else l.prototype.inspect=A;function A(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var D=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],P=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],R=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(w,c){w=w||10,c=c|0||1;var p;if(w===16||w==="hex"){p="";for(var x=0,S=0,b=0;b<this.length;b++){var h=this.words[b],T=((h<<x|S)&16777215).toString(16);S=h>>>24-x&16777215,x+=2,x>=26&&(x-=26,b--),S!==0||b!==this.length-1?p=D[6-T.length]+T+p:p=T+p}for(S!==0&&(p=S.toString(16)+p);p.length%c!==0;)p="0"+p;return this.negative!==0&&(p="-"+p),p}if(w===(w|0)&&w>=2&&w<=36){var M=P[w],j=R[w];p="";var V=this.clone();for(V.negative=0;!V.isZero();){var ee=V.modrn(j).toString(w);V=V.idivn(j),V.isZero()?p=ee+p:p=D[M-ee.length]+ee+p}for(this.isZero()&&(p="0"+p);p.length%c!==0;)p="0"+p;return this.negative!==0&&(p="-"+p),p}o(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var w=this.words[0];return this.length===2?w+=this.words[1]*67108864:this.length===3&&this.words[2]===1?w+=4503599627370496+this.words[1]*67108864:this.length>2&&o(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-w:w},l.prototype.toJSON=function(){return this.toString(16,2)},m&&(l.prototype.toBuffer=function(w,c){return this.toArrayLike(m,w,c)}),l.prototype.toArray=function(w,c){return this.toArrayLike(Array,w,c)};var B=function(w,c){return w.allocUnsafe?w.allocUnsafe(c):new w(c)};l.prototype.toArrayLike=function(w,c,p){this._strip();var x=this.byteLength(),S=p||Math.max(1,x);o(x<=S,"byte array longer than desired length"),o(S>0,"Requested array length <= 0");var b=B(w,S),h=c==="le"?"LE":"BE";return this["_toArrayLike"+h](b,x),b},l.prototype._toArrayLikeLE=function(w,c){for(var p=0,x=0,S=0,b=0;S<this.length;S++){var h=this.words[S]<<b|x;w[p++]=h&255,p<w.length&&(w[p++]=h>>8&255),p<w.length&&(w[p++]=h>>16&255),b===6?(p<w.length&&(w[p++]=h>>24&255),x=0,b=0):(x=h>>>24,b+=2)}if(p<w.length)for(w[p++]=x;p<w.length;)w[p++]=0},l.prototype._toArrayLikeBE=function(w,c){for(var p=w.length-1,x=0,S=0,b=0;S<this.length;S++){var h=this.words[S]<<b|x;w[p--]=h&255,p>=0&&(w[p--]=h>>8&255),p>=0&&(w[p--]=h>>16&255),b===6?(p>=0&&(w[p--]=h>>24&255),x=0,b=0):(x=h>>>24,b+=2)}if(p>=0)for(w[p--]=x;p>=0;)w[p--]=0},Math.clz32?l.prototype._countBits=function(w){return 32-Math.clz32(w)}:l.prototype._countBits=function(w){var c=w,p=0;return c>=4096&&(p+=13,c>>>=13),c>=64&&(p+=7,c>>>=7),c>=8&&(p+=4,c>>>=4),c>=2&&(p+=2,c>>>=2),p+c},l.prototype._zeroBits=function(w){if(w===0)return 26;var c=w,p=0;return c&8191||(p+=13,c>>>=13),c&127||(p+=7,c>>>=7),c&15||(p+=4,c>>>=4),c&3||(p+=2,c>>>=2),c&1||p++,p},l.prototype.bitLength=function(){var w=this.words[this.length-1],c=this._countBits(w);return(this.length-1)*26+c};function F(v){for(var w=new Array(v.bitLength()),c=0;c<w.length;c++){var p=c/26|0,x=c%26;w[c]=v.words[p]>>>x&1}return w}l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var w=0,c=0;c<this.length;c++){var p=this._zeroBits(this.words[c]);if(w+=p,p!==26)break}return w},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(w){return this.negative!==0?this.abs().inotn(w).iaddn(1):this.clone()},l.prototype.fromTwos=function(w){return this.testn(w-1)?this.notn(w).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return this.negative!==0},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(w){for(;this.length<w.length;)this.words[this.length++]=0;for(var c=0;c<w.length;c++)this.words[c]=this.words[c]|w.words[c];return this._strip()},l.prototype.ior=function(w){return o((this.negative|w.negative)===0),this.iuor(w)},l.prototype.or=function(w){return this.length>w.length?this.clone().ior(w):w.clone().ior(this)},l.prototype.uor=function(w){return this.length>w.length?this.clone().iuor(w):w.clone().iuor(this)},l.prototype.iuand=function(w){var c;this.length>w.length?c=w:c=this;for(var p=0;p<c.length;p++)this.words[p]=this.words[p]&w.words[p];return this.length=c.length,this._strip()},l.prototype.iand=function(w){return o((this.negative|w.negative)===0),this.iuand(w)},l.prototype.and=function(w){return this.length>w.length?this.clone().iand(w):w.clone().iand(this)},l.prototype.uand=function(w){return this.length>w.length?this.clone().iuand(w):w.clone().iuand(this)},l.prototype.iuxor=function(w){var c,p;this.length>w.length?(c=this,p=w):(c=w,p=this);for(var x=0;x<p.length;x++)this.words[x]=c.words[x]^p.words[x];if(this!==c)for(;x<c.length;x++)this.words[x]=c.words[x];return this.length=c.length,this._strip()},l.prototype.ixor=function(w){return o((this.negative|w.negative)===0),this.iuxor(w)},l.prototype.xor=function(w){return this.length>w.length?this.clone().ixor(w):w.clone().ixor(this)},l.prototype.uxor=function(w){return this.length>w.length?this.clone().iuxor(w):w.clone().iuxor(this)},l.prototype.inotn=function(w){o(typeof w=="number"&&w>=0);var c=Math.ceil(w/26)|0,p=w%26;this._expand(c),p>0&&c--;for(var x=0;x<c;x++)this.words[x]=~this.words[x]&67108863;return p>0&&(this.words[x]=~this.words[x]&67108863>>26-p),this._strip()},l.prototype.notn=function(w){return this.clone().inotn(w)},l.prototype.setn=function(w,c){o(typeof w=="number"&&w>=0);var p=w/26|0,x=w%26;return this._expand(p+1),c?this.words[p]=this.words[p]|1<<x:this.words[p]=this.words[p]&~(1<<x),this._strip()},l.prototype.iadd=function(w){var c;if(this.negative!==0&&w.negative===0)return this.negative=0,c=this.isub(w),this.negative^=1,this._normSign();if(this.negative===0&&w.negative!==0)return w.negative=0,c=this.isub(w),w.negative=1,c._normSign();var p,x;this.length>w.length?(p=this,x=w):(p=w,x=this);for(var S=0,b=0;b<x.length;b++)c=(p.words[b]|0)+(x.words[b]|0)+S,this.words[b]=c&67108863,S=c>>>26;for(;S!==0&&b<p.length;b++)c=(p.words[b]|0)+S,this.words[b]=c&67108863,S=c>>>26;if(this.length=p.length,S!==0)this.words[this.length]=S,this.length++;else if(p!==this)for(;b<p.length;b++)this.words[b]=p.words[b];return this},l.prototype.add=function(w){var c;return w.negative!==0&&this.negative===0?(w.negative=0,c=this.sub(w),w.negative^=1,c):w.negative===0&&this.negative!==0?(this.negative=0,c=w.sub(this),this.negative=1,c):this.length>w.length?this.clone().iadd(w):w.clone().iadd(this)},l.prototype.isub=function(w){if(w.negative!==0){w.negative=0;var c=this.iadd(w);return w.negative=1,c._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(w),this.negative=1,this._normSign();var p=this.cmp(w);if(p===0)return this.negative=0,this.length=1,this.words[0]=0,this;var x,S;p>0?(x=this,S=w):(x=w,S=this);for(var b=0,h=0;h<S.length;h++)c=(x.words[h]|0)-(S.words[h]|0)+b,b=c>>26,this.words[h]=c&67108863;for(;b!==0&&h<x.length;h++)c=(x.words[h]|0)+b,b=c>>26,this.words[h]=c&67108863;if(b===0&&h<x.length&&x!==this)for(;h<x.length;h++)this.words[h]=x.words[h];return this.length=Math.max(this.length,h),x!==this&&(this.negative=1),this._strip()},l.prototype.sub=function(w){return this.clone().isub(w)};function O(v,w,c){c.negative=w.negative^v.negative;var p=v.length+w.length|0;c.length=p,p=p-1|0;var x=v.words[0]|0,S=w.words[0]|0,b=x*S,h=b&67108863,T=b/67108864|0;c.words[0]=h;for(var M=1;M<p;M++){for(var j=T>>>26,V=T&67108863,ee=Math.min(M,w.length-1),Z=Math.max(0,M-v.length+1);Z<=ee;Z++){var U=M-Z|0;x=v.words[U]|0,S=w.words[Z]|0,b=x*S+V,j+=b/67108864|0,V=b&67108863}c.words[M]=V|0,T=j|0}return T!==0?c.words[M]=T|0:c.length--,c._strip()}var N=function(w,c,p){var x=w.words,S=c.words,b=p.words,h=0,T,M,j,V=x[0]|0,ee=V&8191,Z=V>>>13,U=x[1]|0,z=U&8191,ne=U>>>13,fe=x[2]|0,me=fe&8191,de=fe>>>13,Oe=x[3]|0,lt=Oe&8191,it=Oe>>>13,ot=x[4]|0,Ct=ot&8191,nt=ot>>>13,Je=x[5]|0,tt=Je&8191,rt=Je>>>13,ht=x[6]|0,jt=ht&8191,Ve=ht>>>13,We=x[7]|0,Gt=We&8191,wt=We>>>13,Et=x[8]|0,Yt=Et&8191,Ce=Et>>>13,te=x[9]|0,ye=te&8191,Le=te>>>13,Ue=S[0]|0,Qe=Ue&8191,Ke=Ue>>>13,De=S[1]|0,Vt=De&8191,At=De>>>13,ve=S[2]|0,Pt=ve&8191,pt=ve>>>13,Ne=S[3]|0,vt=Ne&8191,ut=Ne>>>13,$t=S[4]|0,fi=$t&8191,kt=$t>>>13,Wt=S[5]|0,Zi=Wt&8191,Ut=Wt>>>13,Xt=S[6]|0,Be=Xt&8191,be=Xt>>>13,ge=S[7]|0,oe=ge&8191,Ae=ge>>>13,qe=S[8]|0,bt=qe&8191,at=qe>>>13,gt=S[9]|0,ei=gt&8191,ii=gt>>>13;p.negative=w.negative^c.negative,p.length=19,T=Math.imul(ee,Qe),M=Math.imul(ee,Ke),M=M+Math.imul(Z,Qe)|0,j=Math.imul(Z,Ke);var Bi=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,T=Math.imul(z,Qe),M=Math.imul(z,Ke),M=M+Math.imul(ne,Qe)|0,j=Math.imul(ne,Ke),T=T+Math.imul(ee,Vt)|0,M=M+Math.imul(ee,At)|0,M=M+Math.imul(Z,Vt)|0,j=j+Math.imul(Z,At)|0;var hi=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(hi>>>26)|0,hi&=67108863,T=Math.imul(me,Qe),M=Math.imul(me,Ke),M=M+Math.imul(de,Qe)|0,j=Math.imul(de,Ke),T=T+Math.imul(z,Vt)|0,M=M+Math.imul(z,At)|0,M=M+Math.imul(ne,Vt)|0,j=j+Math.imul(ne,At)|0,T=T+Math.imul(ee,Pt)|0,M=M+Math.imul(ee,pt)|0,M=M+Math.imul(Z,Pt)|0,j=j+Math.imul(Z,pt)|0;var Di=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(Di>>>26)|0,Di&=67108863,T=Math.imul(lt,Qe),M=Math.imul(lt,Ke),M=M+Math.imul(it,Qe)|0,j=Math.imul(it,Ke),T=T+Math.imul(me,Vt)|0,M=M+Math.imul(me,At)|0,M=M+Math.imul(de,Vt)|0,j=j+Math.imul(de,At)|0,T=T+Math.imul(z,Pt)|0,M=M+Math.imul(z,pt)|0,M=M+Math.imul(ne,Pt)|0,j=j+Math.imul(ne,pt)|0,T=T+Math.imul(ee,vt)|0,M=M+Math.imul(ee,ut)|0,M=M+Math.imul(Z,vt)|0,j=j+Math.imul(Z,ut)|0;var ni=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(ni>>>26)|0,ni&=67108863,T=Math.imul(Ct,Qe),M=Math.imul(Ct,Ke),M=M+Math.imul(nt,Qe)|0,j=Math.imul(nt,Ke),T=T+Math.imul(lt,Vt)|0,M=M+Math.imul(lt,At)|0,M=M+Math.imul(it,Vt)|0,j=j+Math.imul(it,At)|0,T=T+Math.imul(me,Pt)|0,M=M+Math.imul(me,pt)|0,M=M+Math.imul(de,Pt)|0,j=j+Math.imul(de,pt)|0,T=T+Math.imul(z,vt)|0,M=M+Math.imul(z,ut)|0,M=M+Math.imul(ne,vt)|0,j=j+Math.imul(ne,ut)|0,T=T+Math.imul(ee,fi)|0,M=M+Math.imul(ee,kt)|0,M=M+Math.imul(Z,fi)|0,j=j+Math.imul(Z,kt)|0;var pi=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(pi>>>26)|0,pi&=67108863,T=Math.imul(tt,Qe),M=Math.imul(tt,Ke),M=M+Math.imul(rt,Qe)|0,j=Math.imul(rt,Ke),T=T+Math.imul(Ct,Vt)|0,M=M+Math.imul(Ct,At)|0,M=M+Math.imul(nt,Vt)|0,j=j+Math.imul(nt,At)|0,T=T+Math.imul(lt,Pt)|0,M=M+Math.imul(lt,pt)|0,M=M+Math.imul(it,Pt)|0,j=j+Math.imul(it,pt)|0,T=T+Math.imul(me,vt)|0,M=M+Math.imul(me,ut)|0,M=M+Math.imul(de,vt)|0,j=j+Math.imul(de,ut)|0,T=T+Math.imul(z,fi)|0,M=M+Math.imul(z,kt)|0,M=M+Math.imul(ne,fi)|0,j=j+Math.imul(ne,kt)|0,T=T+Math.imul(ee,Zi)|0,M=M+Math.imul(ee,Ut)|0,M=M+Math.imul(Z,Zi)|0,j=j+Math.imul(Z,Ut)|0;var Ii=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(Ii>>>26)|0,Ii&=67108863,T=Math.imul(jt,Qe),M=Math.imul(jt,Ke),M=M+Math.imul(Ve,Qe)|0,j=Math.imul(Ve,Ke),T=T+Math.imul(tt,Vt)|0,M=M+Math.imul(tt,At)|0,M=M+Math.imul(rt,Vt)|0,j=j+Math.imul(rt,At)|0,T=T+Math.imul(Ct,Pt)|0,M=M+Math.imul(Ct,pt)|0,M=M+Math.imul(nt,Pt)|0,j=j+Math.imul(nt,pt)|0,T=T+Math.imul(lt,vt)|0,M=M+Math.imul(lt,ut)|0,M=M+Math.imul(it,vt)|0,j=j+Math.imul(it,ut)|0,T=T+Math.imul(me,fi)|0,M=M+Math.imul(me,kt)|0,M=M+Math.imul(de,fi)|0,j=j+Math.imul(de,kt)|0,T=T+Math.imul(z,Zi)|0,M=M+Math.imul(z,Ut)|0,M=M+Math.imul(ne,Zi)|0,j=j+Math.imul(ne,Ut)|0,T=T+Math.imul(ee,Be)|0,M=M+Math.imul(ee,be)|0,M=M+Math.imul(Z,Be)|0,j=j+Math.imul(Z,be)|0;var Ci=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,T=Math.imul(Gt,Qe),M=Math.imul(Gt,Ke),M=M+Math.imul(wt,Qe)|0,j=Math.imul(wt,Ke),T=T+Math.imul(jt,Vt)|0,M=M+Math.imul(jt,At)|0,M=M+Math.imul(Ve,Vt)|0,j=j+Math.imul(Ve,At)|0,T=T+Math.imul(tt,Pt)|0,M=M+Math.imul(tt,pt)|0,M=M+Math.imul(rt,Pt)|0,j=j+Math.imul(rt,pt)|0,T=T+Math.imul(Ct,vt)|0,M=M+Math.imul(Ct,ut)|0,M=M+Math.imul(nt,vt)|0,j=j+Math.imul(nt,ut)|0,T=T+Math.imul(lt,fi)|0,M=M+Math.imul(lt,kt)|0,M=M+Math.imul(it,fi)|0,j=j+Math.imul(it,kt)|0,T=T+Math.imul(me,Zi)|0,M=M+Math.imul(me,Ut)|0,M=M+Math.imul(de,Zi)|0,j=j+Math.imul(de,Ut)|0,T=T+Math.imul(z,Be)|0,M=M+Math.imul(z,be)|0,M=M+Math.imul(ne,Be)|0,j=j+Math.imul(ne,be)|0,T=T+Math.imul(ee,oe)|0,M=M+Math.imul(ee,Ae)|0,M=M+Math.imul(Z,oe)|0,j=j+Math.imul(Z,Ae)|0;var zi=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(zi>>>26)|0,zi&=67108863,T=Math.imul(Yt,Qe),M=Math.imul(Yt,Ke),M=M+Math.imul(Ce,Qe)|0,j=Math.imul(Ce,Ke),T=T+Math.imul(Gt,Vt)|0,M=M+Math.imul(Gt,At)|0,M=M+Math.imul(wt,Vt)|0,j=j+Math.imul(wt,At)|0,T=T+Math.imul(jt,Pt)|0,M=M+Math.imul(jt,pt)|0,M=M+Math.imul(Ve,Pt)|0,j=j+Math.imul(Ve,pt)|0,T=T+Math.imul(tt,vt)|0,M=M+Math.imul(tt,ut)|0,M=M+Math.imul(rt,vt)|0,j=j+Math.imul(rt,ut)|0,T=T+Math.imul(Ct,fi)|0,M=M+Math.imul(Ct,kt)|0,M=M+Math.imul(nt,fi)|0,j=j+Math.imul(nt,kt)|0,T=T+Math.imul(lt,Zi)|0,M=M+Math.imul(lt,Ut)|0,M=M+Math.imul(it,Zi)|0,j=j+Math.imul(it,Ut)|0,T=T+Math.imul(me,Be)|0,M=M+Math.imul(me,be)|0,M=M+Math.imul(de,Be)|0,j=j+Math.imul(de,be)|0,T=T+Math.imul(z,oe)|0,M=M+Math.imul(z,Ae)|0,M=M+Math.imul(ne,oe)|0,j=j+Math.imul(ne,Ae)|0,T=T+Math.imul(ee,bt)|0,M=M+Math.imul(ee,at)|0,M=M+Math.imul(Z,bt)|0,j=j+Math.imul(Z,at)|0;var qi=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(qi>>>26)|0,qi&=67108863,T=Math.imul(ye,Qe),M=Math.imul(ye,Ke),M=M+Math.imul(Le,Qe)|0,j=Math.imul(Le,Ke),T=T+Math.imul(Yt,Vt)|0,M=M+Math.imul(Yt,At)|0,M=M+Math.imul(Ce,Vt)|0,j=j+Math.imul(Ce,At)|0,T=T+Math.imul(Gt,Pt)|0,M=M+Math.imul(Gt,pt)|0,M=M+Math.imul(wt,Pt)|0,j=j+Math.imul(wt,pt)|0,T=T+Math.imul(jt,vt)|0,M=M+Math.imul(jt,ut)|0,M=M+Math.imul(Ve,vt)|0,j=j+Math.imul(Ve,ut)|0,T=T+Math.imul(tt,fi)|0,M=M+Math.imul(tt,kt)|0,M=M+Math.imul(rt,fi)|0,j=j+Math.imul(rt,kt)|0,T=T+Math.imul(Ct,Zi)|0,M=M+Math.imul(Ct,Ut)|0,M=M+Math.imul(nt,Zi)|0,j=j+Math.imul(nt,Ut)|0,T=T+Math.imul(lt,Be)|0,M=M+Math.imul(lt,be)|0,M=M+Math.imul(it,Be)|0,j=j+Math.imul(it,be)|0,T=T+Math.imul(me,oe)|0,M=M+Math.imul(me,Ae)|0,M=M+Math.imul(de,oe)|0,j=j+Math.imul(de,Ae)|0,T=T+Math.imul(z,bt)|0,M=M+Math.imul(z,at)|0,M=M+Math.imul(ne,bt)|0,j=j+Math.imul(ne,at)|0,T=T+Math.imul(ee,ei)|0,M=M+Math.imul(ee,ii)|0,M=M+Math.imul(Z,ei)|0,j=j+Math.imul(Z,ii)|0;var Ai=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,T=Math.imul(ye,Vt),M=Math.imul(ye,At),M=M+Math.imul(Le,Vt)|0,j=Math.imul(Le,At),T=T+Math.imul(Yt,Pt)|0,M=M+Math.imul(Yt,pt)|0,M=M+Math.imul(Ce,Pt)|0,j=j+Math.imul(Ce,pt)|0,T=T+Math.imul(Gt,vt)|0,M=M+Math.imul(Gt,ut)|0,M=M+Math.imul(wt,vt)|0,j=j+Math.imul(wt,ut)|0,T=T+Math.imul(jt,fi)|0,M=M+Math.imul(jt,kt)|0,M=M+Math.imul(Ve,fi)|0,j=j+Math.imul(Ve,kt)|0,T=T+Math.imul(tt,Zi)|0,M=M+Math.imul(tt,Ut)|0,M=M+Math.imul(rt,Zi)|0,j=j+Math.imul(rt,Ut)|0,T=T+Math.imul(Ct,Be)|0,M=M+Math.imul(Ct,be)|0,M=M+Math.imul(nt,Be)|0,j=j+Math.imul(nt,be)|0,T=T+Math.imul(lt,oe)|0,M=M+Math.imul(lt,Ae)|0,M=M+Math.imul(it,oe)|0,j=j+Math.imul(it,Ae)|0,T=T+Math.imul(me,bt)|0,M=M+Math.imul(me,at)|0,M=M+Math.imul(de,bt)|0,j=j+Math.imul(de,at)|0,T=T+Math.imul(z,ei)|0,M=M+Math.imul(z,ii)|0,M=M+Math.imul(ne,ei)|0,j=j+Math.imul(ne,ii)|0;var ji=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(ji>>>26)|0,ji&=67108863,T=Math.imul(ye,Pt),M=Math.imul(ye,pt),M=M+Math.imul(Le,Pt)|0,j=Math.imul(Le,pt),T=T+Math.imul(Yt,vt)|0,M=M+Math.imul(Yt,ut)|0,M=M+Math.imul(Ce,vt)|0,j=j+Math.imul(Ce,ut)|0,T=T+Math.imul(Gt,fi)|0,M=M+Math.imul(Gt,kt)|0,M=M+Math.imul(wt,fi)|0,j=j+Math.imul(wt,kt)|0,T=T+Math.imul(jt,Zi)|0,M=M+Math.imul(jt,Ut)|0,M=M+Math.imul(Ve,Zi)|0,j=j+Math.imul(Ve,Ut)|0,T=T+Math.imul(tt,Be)|0,M=M+Math.imul(tt,be)|0,M=M+Math.imul(rt,Be)|0,j=j+Math.imul(rt,be)|0,T=T+Math.imul(Ct,oe)|0,M=M+Math.imul(Ct,Ae)|0,M=M+Math.imul(nt,oe)|0,j=j+Math.imul(nt,Ae)|0,T=T+Math.imul(lt,bt)|0,M=M+Math.imul(lt,at)|0,M=M+Math.imul(it,bt)|0,j=j+Math.imul(it,at)|0,T=T+Math.imul(me,ei)|0,M=M+Math.imul(me,ii)|0,M=M+Math.imul(de,ei)|0,j=j+Math.imul(de,ii)|0;var ki=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(ki>>>26)|0,ki&=67108863,T=Math.imul(ye,vt),M=Math.imul(ye,ut),M=M+Math.imul(Le,vt)|0,j=Math.imul(Le,ut),T=T+Math.imul(Yt,fi)|0,M=M+Math.imul(Yt,kt)|0,M=M+Math.imul(Ce,fi)|0,j=j+Math.imul(Ce,kt)|0,T=T+Math.imul(Gt,Zi)|0,M=M+Math.imul(Gt,Ut)|0,M=M+Math.imul(wt,Zi)|0,j=j+Math.imul(wt,Ut)|0,T=T+Math.imul(jt,Be)|0,M=M+Math.imul(jt,be)|0,M=M+Math.imul(Ve,Be)|0,j=j+Math.imul(Ve,be)|0,T=T+Math.imul(tt,oe)|0,M=M+Math.imul(tt,Ae)|0,M=M+Math.imul(rt,oe)|0,j=j+Math.imul(rt,Ae)|0,T=T+Math.imul(Ct,bt)|0,M=M+Math.imul(Ct,at)|0,M=M+Math.imul(nt,bt)|0,j=j+Math.imul(nt,at)|0,T=T+Math.imul(lt,ei)|0,M=M+Math.imul(lt,ii)|0,M=M+Math.imul(it,ei)|0,j=j+Math.imul(it,ii)|0;var Ti=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,T=Math.imul(ye,fi),M=Math.imul(ye,kt),M=M+Math.imul(Le,fi)|0,j=Math.imul(Le,kt),T=T+Math.imul(Yt,Zi)|0,M=M+Math.imul(Yt,Ut)|0,M=M+Math.imul(Ce,Zi)|0,j=j+Math.imul(Ce,Ut)|0,T=T+Math.imul(Gt,Be)|0,M=M+Math.imul(Gt,be)|0,M=M+Math.imul(wt,Be)|0,j=j+Math.imul(wt,be)|0,T=T+Math.imul(jt,oe)|0,M=M+Math.imul(jt,Ae)|0,M=M+Math.imul(Ve,oe)|0,j=j+Math.imul(Ve,Ae)|0,T=T+Math.imul(tt,bt)|0,M=M+Math.imul(tt,at)|0,M=M+Math.imul(rt,bt)|0,j=j+Math.imul(rt,at)|0,T=T+Math.imul(Ct,ei)|0,M=M+Math.imul(Ct,ii)|0,M=M+Math.imul(nt,ei)|0,j=j+Math.imul(nt,ii)|0;var wi=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(wi>>>26)|0,wi&=67108863,T=Math.imul(ye,Zi),M=Math.imul(ye,Ut),M=M+Math.imul(Le,Zi)|0,j=Math.imul(Le,Ut),T=T+Math.imul(Yt,Be)|0,M=M+Math.imul(Yt,be)|0,M=M+Math.imul(Ce,Be)|0,j=j+Math.imul(Ce,be)|0,T=T+Math.imul(Gt,oe)|0,M=M+Math.imul(Gt,Ae)|0,M=M+Math.imul(wt,oe)|0,j=j+Math.imul(wt,Ae)|0,T=T+Math.imul(jt,bt)|0,M=M+Math.imul(jt,at)|0,M=M+Math.imul(Ve,bt)|0,j=j+Math.imul(Ve,at)|0,T=T+Math.imul(tt,ei)|0,M=M+Math.imul(tt,ii)|0,M=M+Math.imul(rt,ei)|0,j=j+Math.imul(rt,ii)|0;var oi=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(oi>>>26)|0,oi&=67108863,T=Math.imul(ye,Be),M=Math.imul(ye,be),M=M+Math.imul(Le,Be)|0,j=Math.imul(Le,be),T=T+Math.imul(Yt,oe)|0,M=M+Math.imul(Yt,Ae)|0,M=M+Math.imul(Ce,oe)|0,j=j+Math.imul(Ce,Ae)|0,T=T+Math.imul(Gt,bt)|0,M=M+Math.imul(Gt,at)|0,M=M+Math.imul(wt,bt)|0,j=j+Math.imul(wt,at)|0,T=T+Math.imul(jt,ei)|0,M=M+Math.imul(jt,ii)|0,M=M+Math.imul(Ve,ei)|0,j=j+Math.imul(Ve,ii)|0;var zt=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(zt>>>26)|0,zt&=67108863,T=Math.imul(ye,oe),M=Math.imul(ye,Ae),M=M+Math.imul(Le,oe)|0,j=Math.imul(Le,Ae),T=T+Math.imul(Yt,bt)|0,M=M+Math.imul(Yt,at)|0,M=M+Math.imul(Ce,bt)|0,j=j+Math.imul(Ce,at)|0,T=T+Math.imul(Gt,ei)|0,M=M+Math.imul(Gt,ii)|0,M=M+Math.imul(wt,ei)|0,j=j+Math.imul(wt,ii)|0;var Qt=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,T=Math.imul(ye,bt),M=Math.imul(ye,at),M=M+Math.imul(Le,bt)|0,j=Math.imul(Le,at),T=T+Math.imul(Yt,ei)|0,M=M+Math.imul(Yt,ii)|0,M=M+Math.imul(Ce,ei)|0,j=j+Math.imul(Ce,ii)|0;var Si=(h+T|0)+((M&8191)<<13)|0;h=(j+(M>>>13)|0)+(Si>>>26)|0,Si&=67108863,T=Math.imul(ye,ei),M=Math.imul(ye,ii),M=M+Math.imul(Le,ei)|0,j=Math.imul(Le,ii);var mi=(h+T|0)+((M&8191)<<13)|0;return h=(j+(M>>>13)|0)+(mi>>>26)|0,mi&=67108863,b[0]=Bi,b[1]=hi,b[2]=Di,b[3]=ni,b[4]=pi,b[5]=Ii,b[6]=Ci,b[7]=zi,b[8]=qi,b[9]=Ai,b[10]=ji,b[11]=ki,b[12]=Ti,b[13]=wi,b[14]=oi,b[15]=zt,b[16]=Qt,b[17]=Si,b[18]=mi,h!==0&&(b[19]=h,p.length++),p};Math.imul||(N=O);function Y(v,w,c){c.negative=w.negative^v.negative,c.length=v.length+w.length;for(var p=0,x=0,S=0;S<c.length-1;S++){var b=x;x=0;for(var h=p&67108863,T=Math.min(S,w.length-1),M=Math.max(0,S-v.length+1);M<=T;M++){var j=S-M,V=v.words[j]|0,ee=w.words[M]|0,Z=V*ee,U=Z&67108863;b=b+(Z/67108864|0)|0,U=U+h|0,h=U&67108863,b=b+(U>>>26)|0,x+=b>>>26,b&=67108863}c.words[S]=h,p=b,b=x}return p!==0?c.words[S]=p:c.length--,c._strip()}function J(v,w,c){return Y(v,w,c)}l.prototype.mulTo=function(w,c){var p,x=this.length+w.length;return this.length===10&&w.length===10?p=N(this,w,c):x<63?p=O(this,w,c):x<1024?p=Y(this,w,c):p=J(this,w,c),p},l.prototype.mul=function(w){var c=new l(null);return c.words=new Array(this.length+w.length),this.mulTo(w,c)},l.prototype.mulf=function(w){var c=new l(null);return c.words=new Array(this.length+w.length),J(this,w,c)},l.prototype.imul=function(w){return this.clone().mulTo(w,this)},l.prototype.imuln=function(w){var c=w<0;c&&(w=-w),o(typeof w=="number"),o(w<67108864);for(var p=0,x=0;x<this.length;x++){var S=(this.words[x]|0)*w,b=(S&67108863)+(p&67108863);p>>=26,p+=S/67108864|0,p+=b>>>26,this.words[x]=b&67108863}return p!==0&&(this.words[x]=p,this.length++),c?this.ineg():this},l.prototype.muln=function(w){return this.clone().imuln(w)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(w){var c=F(w);if(c.length===0)return new l(1);for(var p=this,x=0;x<c.length&&c[x]===0;x++,p=p.sqr());if(++x<c.length)for(var S=p.sqr();x<c.length;x++,S=S.sqr())c[x]!==0&&(p=p.mul(S));return p},l.prototype.iushln=function(w){o(typeof w=="number"&&w>=0);var c=w%26,p=(w-c)/26,x=67108863>>>26-c<<26-c,S;if(c!==0){var b=0;for(S=0;S<this.length;S++){var h=this.words[S]&x,T=(this.words[S]|0)-h<<c;this.words[S]=T|b,b=h>>>26-c}b&&(this.words[S]=b,this.length++)}if(p!==0){for(S=this.length-1;S>=0;S--)this.words[S+p]=this.words[S];for(S=0;S<p;S++)this.words[S]=0;this.length+=p}return this._strip()},l.prototype.ishln=function(w){return o(this.negative===0),this.iushln(w)},l.prototype.iushrn=function(w,c,p){o(typeof w=="number"&&w>=0);var x;c?x=(c-c%26)/26:x=0;var S=w%26,b=Math.min((w-S)/26,this.length),h=67108863^67108863>>>S<<S,T=p;if(x-=b,x=Math.max(0,x),T){for(var M=0;M<b;M++)T.words[M]=this.words[M];T.length=b}if(b!==0)if(this.length>b)for(this.length-=b,M=0;M<this.length;M++)this.words[M]=this.words[M+b];else this.words[0]=0,this.length=1;var j=0;for(M=this.length-1;M>=0&&(j!==0||M>=x);M--){var V=this.words[M]|0;this.words[M]=j<<26-S|V>>>S,j=V&h}return T&&j!==0&&(T.words[T.length++]=j),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(w,c,p){return o(this.negative===0),this.iushrn(w,c,p)},l.prototype.shln=function(w){return this.clone().ishln(w)},l.prototype.ushln=function(w){return this.clone().iushln(w)},l.prototype.shrn=function(w){return this.clone().ishrn(w)},l.prototype.ushrn=function(w){return this.clone().iushrn(w)},l.prototype.testn=function(w){o(typeof w=="number"&&w>=0);var c=w%26,p=(w-c)/26,x=1<<c;if(this.length<=p)return!1;var S=this.words[p];return!!(S&x)},l.prototype.imaskn=function(w){o(typeof w=="number"&&w>=0);var c=w%26,p=(w-c)/26;if(o(this.negative===0,"imaskn works only with positive numbers"),this.length<=p)return this;if(c!==0&&p++,this.length=Math.min(p,this.length),c!==0){var x=67108863^67108863>>>c<<c;this.words[this.length-1]&=x}return this._strip()},l.prototype.maskn=function(w){return this.clone().imaskn(w)},l.prototype.iaddn=function(w){return o(typeof w=="number"),o(w<67108864),w<0?this.isubn(-w):this.negative!==0?this.length===1&&(this.words[0]|0)<=w?(this.words[0]=w-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(w),this.negative=1,this):this._iaddn(w)},l.prototype._iaddn=function(w){this.words[0]+=w;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(w){if(o(typeof w=="number"),o(w<67108864),w<0)return this.iaddn(-w);if(this.negative!==0)return this.negative=0,this.iaddn(w),this.negative=1,this;if(this.words[0]-=w,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this._strip()},l.prototype.addn=function(w){return this.clone().iaddn(w)},l.prototype.subn=function(w){return this.clone().isubn(w)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(w,c,p){var x=w.length+p,S;this._expand(x);var b,h=0;for(S=0;S<w.length;S++){b=(this.words[S+p]|0)+h;var T=(w.words[S]|0)*c;b-=T&67108863,h=(b>>26)-(T/67108864|0),this.words[S+p]=b&67108863}for(;S<this.length-p;S++)b=(this.words[S+p]|0)+h,h=b>>26,this.words[S+p]=b&67108863;if(h===0)return this._strip();for(o(h===-1),h=0,S=0;S<this.length;S++)b=-(this.words[S]|0)+h,h=b>>26,this.words[S]=b&67108863;return this.negative=1,this._strip()},l.prototype._wordDiv=function(w,c){var p=this.length-w.length,x=this.clone(),S=w,b=S.words[S.length-1]|0,h=this._countBits(b);p=26-h,p!==0&&(S=S.ushln(p),x.iushln(p),b=S.words[S.length-1]|0);var T=x.length-S.length,M;if(c!=="mod"){M=new l(null),M.length=T+1,M.words=new Array(M.length);for(var j=0;j<M.length;j++)M.words[j]=0}var V=x.clone()._ishlnsubmul(S,1,T);V.negative===0&&(x=V,M&&(M.words[T]=1));for(var ee=T-1;ee>=0;ee--){var Z=(x.words[S.length+ee]|0)*67108864+(x.words[S.length+ee-1]|0);for(Z=Math.min(Z/b|0,67108863),x._ishlnsubmul(S,Z,ee);x.negative!==0;)Z--,x.negative=0,x._ishlnsubmul(S,1,ee),x.isZero()||(x.negative^=1);M&&(M.words[ee]=Z)}return M&&M._strip(),x._strip(),c!=="div"&&p!==0&&x.iushrn(p),{div:M||null,mod:x}},l.prototype.divmod=function(w,c,p){if(o(!w.isZero()),this.isZero())return{div:new l(0),mod:new l(0)};var x,S,b;return this.negative!==0&&w.negative===0?(b=this.neg().divmod(w,c),c!=="mod"&&(x=b.div.neg()),c!=="div"&&(S=b.mod.neg(),p&&S.negative!==0&&S.iadd(w)),{div:x,mod:S}):this.negative===0&&w.negative!==0?(b=this.divmod(w.neg(),c),c!=="mod"&&(x=b.div.neg()),{div:x,mod:b.mod}):this.negative&w.negative?(b=this.neg().divmod(w.neg(),c),c!=="div"&&(S=b.mod.neg(),p&&S.negative!==0&&S.isub(w)),{div:b.div,mod:S}):w.length>this.length||this.cmp(w)<0?{div:new l(0),mod:this}:w.length===1?c==="div"?{div:this.divn(w.words[0]),mod:null}:c==="mod"?{div:null,mod:new l(this.modrn(w.words[0]))}:{div:this.divn(w.words[0]),mod:new l(this.modrn(w.words[0]))}:this._wordDiv(w,c)},l.prototype.div=function(w){return this.divmod(w,"div",!1).div},l.prototype.mod=function(w){return this.divmod(w,"mod",!1).mod},l.prototype.umod=function(w){return this.divmod(w,"mod",!0).mod},l.prototype.divRound=function(w){var c=this.divmod(w);if(c.mod.isZero())return c.div;var p=c.div.negative!==0?c.mod.isub(w):c.mod,x=w.ushrn(1),S=w.andln(1),b=p.cmp(x);return b<0||S===1&&b===0?c.div:c.div.negative!==0?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modrn=function(w){var c=w<0;c&&(w=-w),o(w<=67108863);for(var p=(1<<26)%w,x=0,S=this.length-1;S>=0;S--)x=(p*x+(this.words[S]|0))%w;return c?-x:x},l.prototype.modn=function(w){return this.modrn(w)},l.prototype.idivn=function(w){var c=w<0;c&&(w=-w),o(w<=67108863);for(var p=0,x=this.length-1;x>=0;x--){var S=(this.words[x]|0)+p*67108864;this.words[x]=S/w|0,p=S%w}return this._strip(),c?this.ineg():this},l.prototype.divn=function(w){return this.clone().idivn(w)},l.prototype.egcd=function(w){o(w.negative===0),o(!w.isZero());var c=this,p=w.clone();c.negative!==0?c=c.umod(w):c=c.clone();for(var x=new l(1),S=new l(0),b=new l(0),h=new l(1),T=0;c.isEven()&&p.isEven();)c.iushrn(1),p.iushrn(1),++T;for(var M=p.clone(),j=c.clone();!c.isZero();){for(var V=0,ee=1;!(c.words[0]&ee)&&V<26;++V,ee<<=1);if(V>0)for(c.iushrn(V);V-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(M),S.isub(j)),x.iushrn(1),S.iushrn(1);for(var Z=0,U=1;!(p.words[0]&U)&&Z<26;++Z,U<<=1);if(Z>0)for(p.iushrn(Z);Z-- >0;)(b.isOdd()||h.isOdd())&&(b.iadd(M),h.isub(j)),b.iushrn(1),h.iushrn(1);c.cmp(p)>=0?(c.isub(p),x.isub(b),S.isub(h)):(p.isub(c),b.isub(x),h.isub(S))}return{a:b,b:h,gcd:p.iushln(T)}},l.prototype._invmp=function(w){o(w.negative===0),o(!w.isZero());var c=this,p=w.clone();c.negative!==0?c=c.umod(w):c=c.clone();for(var x=new l(1),S=new l(0),b=p.clone();c.cmpn(1)>0&&p.cmpn(1)>0;){for(var h=0,T=1;!(c.words[0]&T)&&h<26;++h,T<<=1);if(h>0)for(c.iushrn(h);h-- >0;)x.isOdd()&&x.iadd(b),x.iushrn(1);for(var M=0,j=1;!(p.words[0]&j)&&M<26;++M,j<<=1);if(M>0)for(p.iushrn(M);M-- >0;)S.isOdd()&&S.iadd(b),S.iushrn(1);c.cmp(p)>=0?(c.isub(p),x.isub(S)):(p.isub(c),S.isub(x))}var V;return c.cmpn(1)===0?V=x:V=S,V.cmpn(0)<0&&V.iadd(w),V},l.prototype.gcd=function(w){if(this.isZero())return w.abs();if(w.isZero())return this.abs();var c=this.clone(),p=w.clone();c.negative=0,p.negative=0;for(var x=0;c.isEven()&&p.isEven();x++)c.iushrn(1),p.iushrn(1);do{for(;c.isEven();)c.iushrn(1);for(;p.isEven();)p.iushrn(1);var S=c.cmp(p);if(S<0){var b=c;c=p,p=b}else if(S===0||p.cmpn(1)===0)break;c.isub(p)}while(!0);return p.iushln(x)},l.prototype.invm=function(w){return this.egcd(w).a.umod(w)},l.prototype.isEven=function(){return(this.words[0]&1)===0},l.prototype.isOdd=function(){return(this.words[0]&1)===1},l.prototype.andln=function(w){return this.words[0]&w},l.prototype.bincn=function(w){o(typeof w=="number");var c=w%26,p=(w-c)/26,x=1<<c;if(this.length<=p)return this._expand(p+1),this.words[p]|=x,this;for(var S=x,b=p;S!==0&&b<this.length;b++){var h=this.words[b]|0;h+=S,S=h>>>26,h&=67108863,this.words[b]=h}return S!==0&&(this.words[b]=S,this.length++),this},l.prototype.isZero=function(){return this.length===1&&this.words[0]===0},l.prototype.cmpn=function(w){var c=w<0;if(this.negative!==0&&!c)return-1;if(this.negative===0&&c)return 1;this._strip();var p;if(this.length>1)p=1;else{c&&(w=-w),o(w<=67108863,"Number is too big");var x=this.words[0]|0;p=x===w?0:x<w?-1:1}return this.negative!==0?-p|0:p},l.prototype.cmp=function(w){if(this.negative!==0&&w.negative===0)return-1;if(this.negative===0&&w.negative!==0)return 1;var c=this.ucmp(w);return this.negative!==0?-c|0:c},l.prototype.ucmp=function(w){if(this.length>w.length)return 1;if(this.length<w.length)return-1;for(var c=0,p=this.length-1;p>=0;p--){var x=this.words[p]|0,S=w.words[p]|0;if(x!==S){x<S?c=-1:x>S&&(c=1);break}}return c},l.prototype.gtn=function(w){return this.cmpn(w)===1},l.prototype.gt=function(w){return this.cmp(w)===1},l.prototype.gten=function(w){return this.cmpn(w)>=0},l.prototype.gte=function(w){return this.cmp(w)>=0},l.prototype.ltn=function(w){return this.cmpn(w)===-1},l.prototype.lt=function(w){return this.cmp(w)===-1},l.prototype.lten=function(w){return this.cmpn(w)<=0},l.prototype.lte=function(w){return this.cmp(w)<=0},l.prototype.eqn=function(w){return this.cmpn(w)===0},l.prototype.eq=function(w){return this.cmp(w)===0},l.red=function(w){return new L(w)},l.prototype.toRed=function(w){return o(!this.red,"Already a number in reduction context"),o(this.negative===0,"red works only with positives"),w.convertTo(this)._forceRed(w)},l.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(w){return this.red=w,this},l.prototype.forceRed=function(w){return o(!this.red,"Already a number in reduction context"),this._forceRed(w)},l.prototype.redAdd=function(w){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,w)},l.prototype.redIAdd=function(w){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,w)},l.prototype.redSub=function(w){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,w)},l.prototype.redISub=function(w){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,w)},l.prototype.redShl=function(w){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,w)},l.prototype.redMul=function(w){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,w),this.red.mul(this,w)},l.prototype.redIMul=function(w){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,w),this.red.imul(this,w)},l.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(w){return o(this.red&&!w.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,w)};var ie={k256:null,p224:null,p192:null,p25519:null};function ue(v,w){this.name=v,this.p=new l(w,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}ue.prototype._tmp=function(){var w=new l(null);return w.words=new Array(Math.ceil(this.n/13)),w},ue.prototype.ireduce=function(w){var c=w,p;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),p=c.bitLength();while(p>this.n);var x=p<this.n?-1:c.ucmp(this.p);return x===0?(c.words[0]=0,c.length=1):x>0?c.isub(this.p):c.strip!==void 0?c.strip():c._strip(),c},ue.prototype.split=function(w,c){w.iushrn(this.n,0,c)},ue.prototype.imulK=function(w){return w.imul(this.k)};function Q(){ue.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(Q,ue),Q.prototype.split=function(w,c){for(var p=4194303,x=Math.min(w.length,9),S=0;S<x;S++)c.words[S]=w.words[S];if(c.length=x,w.length<=9){w.words[0]=0,w.length=1;return}var b=w.words[9];for(c.words[c.length++]=b&p,S=10;S<w.length;S++){var h=w.words[S]|0;w.words[S-10]=(h&p)<<4|b>>>22,b=h}b>>>=22,w.words[S-10]=b,b===0&&w.length>10?w.length-=10:w.length-=9},Q.prototype.imulK=function(w){w.words[w.length]=0,w.words[w.length+1]=0,w.length+=2;for(var c=0,p=0;p<w.length;p++){var x=w.words[p]|0;c+=x*977,w.words[p]=c&67108863,c=x*64+(c/67108864|0)}return w.words[w.length-1]===0&&(w.length--,w.words[w.length-1]===0&&w.length--),w};function ce(){ue.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(ce,ue);function he(){ue.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(he,ue);function ke(){ue.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ke,ue),ke.prototype.imulK=function(w){for(var c=0,p=0;p<w.length;p++){var x=(w.words[p]|0)*19+c,S=x&67108863;x>>>=26,w.words[p]=S,c=x}return c!==0&&(w.words[w.length++]=c),w},l._prime=function(w){if(ie[w])return ie[w];var c;if(w==="k256")c=new Q;else if(w==="p224")c=new ce;else if(w==="p192")c=new he;else if(w==="p25519")c=new ke;else throw new Error("Unknown prime "+w);return ie[w]=c,c};function L(v){if(typeof v=="string"){var w=l._prime(v);this.m=w.p,this.prime=w}else o(v.gtn(1),"modulus must be greater than 1"),this.m=v,this.prime=null}L.prototype._verify1=function(w){o(w.negative===0,"red works only with positives"),o(w.red,"red works only with red numbers")},L.prototype._verify2=function(w,c){o((w.negative|c.negative)===0,"red works only with positives"),o(w.red&&w.red===c.red,"red works only with red numbers")},L.prototype.imod=function(w){return this.prime?this.prime.ireduce(w)._forceRed(this):(k(w,w.umod(this.m)._forceRed(this)),w)},L.prototype.neg=function(w){return w.isZero()?w.clone():this.m.sub(w)._forceRed(this)},L.prototype.add=function(w,c){this._verify2(w,c);var p=w.add(c);return p.cmp(this.m)>=0&&p.isub(this.m),p._forceRed(this)},L.prototype.iadd=function(w,c){this._verify2(w,c);var p=w.iadd(c);return p.cmp(this.m)>=0&&p.isub(this.m),p},L.prototype.sub=function(w,c){this._verify2(w,c);var p=w.sub(c);return p.cmpn(0)<0&&p.iadd(this.m),p._forceRed(this)},L.prototype.isub=function(w,c){this._verify2(w,c);var p=w.isub(c);return p.cmpn(0)<0&&p.iadd(this.m),p},L.prototype.shl=function(w,c){return this._verify1(w),this.imod(w.ushln(c))},L.prototype.imul=function(w,c){return this._verify2(w,c),this.imod(w.imul(c))},L.prototype.mul=function(w,c){return this._verify2(w,c),this.imod(w.mul(c))},L.prototype.isqr=function(w){return this.imul(w,w.clone())},L.prototype.sqr=function(w){return this.mul(w,w)},L.prototype.sqrt=function(w){if(w.isZero())return w.clone();var c=this.m.andln(3);if(o(c%2===1),c===3){var p=this.m.add(new l(1)).iushrn(2);return this.pow(w,p)}for(var x=this.m.subn(1),S=0;!x.isZero()&&x.andln(1)===0;)S++,x.iushrn(1);o(!x.isZero());var b=new l(1).toRed(this),h=b.redNeg(),T=this.m.subn(1).iushrn(1),M=this.m.bitLength();for(M=new l(2*M*M).toRed(this);this.pow(M,T).cmp(h)!==0;)M.redIAdd(h);for(var j=this.pow(M,x),V=this.pow(w,x.addn(1).iushrn(1)),ee=this.pow(w,x),Z=S;ee.cmp(b)!==0;){for(var U=ee,z=0;U.cmp(b)!==0;z++)U=U.redSqr();o(z<Z);var ne=this.pow(j,new l(1).iushln(Z-z-1));V=V.redMul(ne),j=ne.redSqr(),ee=ee.redMul(j),Z=z}return V},L.prototype.invm=function(w){var c=w._invmp(this.m);return c.negative!==0?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},L.prototype.pow=function(w,c){if(c.isZero())return new l(1).toRed(this);if(c.cmpn(1)===0)return w.clone();var p=4,x=new Array(1<<p);x[0]=new l(1).toRed(this),x[1]=w;for(var S=2;S<x.length;S++)x[S]=this.mul(x[S-1],w);var b=x[0],h=0,T=0,M=c.bitLength()%26;for(M===0&&(M=26),S=c.length-1;S>=0;S--){for(var j=c.words[S],V=M-1;V>=0;V--){var ee=j>>V&1;if(b!==x[0]&&(b=this.sqr(b)),ee===0&&h===0){T=0;continue}h<<=1,h|=ee,T++,!(T!==p&&(S!==0||V!==0))&&(b=this.mul(b,x[h]),T=0,h=0)}M=26}return b},L.prototype.convertTo=function(w){var c=w.umod(this.m);return c===w?c.clone():c},L.prototype.convertFrom=function(w){var c=w.clone();return c.red=null,c},l.mont=function(w){return new d(w)};function d(v){L.call(this,v),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(d,L),d.prototype.convertTo=function(w){return this.imod(w.ushln(this.shift))},d.prototype.convertFrom=function(w){var c=this.imod(w.mul(this.rinv));return c.red=null,c},d.prototype.imul=function(w,c){if(w.isZero()||c.isZero())return w.words[0]=0,w.length=1,w;var p=w.imul(c),x=p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=p.isub(x).iushrn(this.shift),b=S;return S.cmp(this.m)>=0?b=S.isub(this.m):S.cmpn(0)<0&&(b=S.iadd(this.m)),b._forceRed(this)},d.prototype.mul=function(w,c){if(w.isZero()||c.isZero())return new l(0)._forceRed(this);var p=w.mul(c),x=p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=p.isub(x).iushrn(this.shift),b=S;return S.cmp(this.m)>=0?b=S.isub(this.m):S.cmpn(0)<0&&(b=S.iadd(this.m)),b._forceRed(this)},d.prototype.invm=function(w){var c=this.imod(w._invmp(this.m).mul(this.r2));return c._forceRed(this)}})(t,commonjsGlobal$1)}(bn$4);var bnExports$4=bn$4.exports,BN$a=bnExports$4,randomBytes$1=browserExports;function blind(t){var e=getr(t),n=e.toRed(BN$a.mont(t.modulus)).redPow(new BN$a(t.publicExponent)).fromRed();return{blinder:n,unblinder:e.invm(t.modulus)}}function getr(t){var e=t.modulus.byteLength(),n;do n=new BN$a(randomBytes$1(e));while(n.cmp(t.modulus)>=0||!n.umod(t.prime1)||!n.umod(t.prime2));return n}function crt$2(t,e){var n=blind(e),o=e.modulus.byteLength(),u=new BN$a(t).mul(n.blinder).umod(e.modulus),l=u.toRed(BN$a.mont(e.prime1)),m=u.toRed(BN$a.mont(e.prime2)),y=e.coefficient,E=e.prime1,C=e.prime2,k=l.redPow(e.exponent1).fromRed(),A=m.redPow(e.exponent2).fromRed(),D=k.isub(A).imul(y).umod(E).imul(C);return A.iadd(D).imul(n.unblinder).umod(e.modulus).toArrayLike(Buffer$C,"be",o)}crt$2.getr=getr;var browserifyRsa=crt$2,elliptic={};const name="elliptic",version$1="6.5.7",description$1="EC cryptography",main$1="lib/elliptic.js",files=["lib"],scripts={lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository={type:"git",url:"git@github.com:indutny/elliptic"},keywords=["EC","Elliptic","curve","Cryptography"],author="Fedor Indutny <fedor@indutny.com>",license="MIT",bugs={url:"https://github.com/indutny/elliptic/issues"},homepage="https://github.com/indutny/elliptic",devDependencies={brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies$1={"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},require$$0$1={name,version:version$1,description:description$1,main:main$1,files,scripts,repository,keywords,author,license,bugs,homepage,devDependencies,dependencies:dependencies$1};var utils$o={},bn$3={exports:{}};bn$3.exports,function(t){(function(e,n){function o(L,d){if(!L)throw new Error(d||"Assertion failed")}function u(L,d){L.super_=d;var v=function(){};v.prototype=d.prototype,L.prototype=new v,L.prototype.constructor=L}function l(L,d,v){if(l.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((d==="le"||d==="be")&&(v=d,d=10),this._init(L||0,d||10,v||"be"))}typeof e=="object"?e.exports=l:n.BN=l,l.BN=l,l.wordSize=26;var m;try{typeof window<"u"&&typeof window.Buffer<"u"?m=window.Buffer:m=require$$0$2.Buffer}catch{}l.isBN=function(d){return d instanceof l?!0:d!==null&&typeof d=="object"&&d.constructor.wordSize===l.wordSize&&Array.isArray(d.words)},l.max=function(d,v){return d.cmp(v)>0?d:v},l.min=function(d,v){return d.cmp(v)<0?d:v},l.prototype._init=function(d,v,w){if(typeof d=="number")return this._initNumber(d,v,w);if(typeof d=="object")return this._initArray(d,v,w);v==="hex"&&(v=16),o(v===(v|0)&&v>=2&&v<=36),d=d.toString().replace(/\s+/g,"");var c=0;d[0]==="-"&&(c++,this.negative=1),c<d.length&&(v===16?this._parseHex(d,c,w):(this._parseBase(d,v,c),w==="le"&&this._initArray(this.toArray(),v,w)))},l.prototype._initNumber=function(d,v,w){d<0&&(this.negative=1,d=-d),d<67108864?(this.words=[d&67108863],this.length=1):d<4503599627370496?(this.words=[d&67108863,d/67108864&67108863],this.length=2):(o(d<9007199254740992),this.words=[d&67108863,d/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),v,w)},l.prototype._initArray=function(d,v,w){if(o(typeof d.length=="number"),d.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(d.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p,x,S=0;if(w==="be")for(c=d.length-1,p=0;c>=0;c-=3)x=d[c]|d[c-1]<<8|d[c-2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);else if(w==="le")for(c=0,p=0;c<d.length;c+=3)x=d[c]|d[c+1]<<8|d[c+2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);return this.strip()};function y(L,d){var v=L.charCodeAt(d);return v>=65&&v<=70?v-55:v>=97&&v<=102?v-87:v-48&15}function E(L,d,v){var w=y(L,v);return v-1>=d&&(w|=y(L,v-1)<<4),w}l.prototype._parseHex=function(d,v,w){this.length=Math.ceil((d.length-v)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p=0,x=0,S;if(w==="be")for(c=d.length-1;c>=v;c-=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8;else{var b=d.length-v;for(c=b%2===0?v+1:v;c<d.length;c+=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8}this.strip()};function C(L,d,v,w){for(var c=0,p=Math.min(L.length,v),x=d;x<p;x++){var S=L.charCodeAt(x)-48;c*=w,S>=49?c+=S-49+10:S>=17?c+=S-17+10:c+=S}return c}l.prototype._parseBase=function(d,v,w){this.words=[0],this.length=1;for(var c=0,p=1;p<=67108863;p*=v)c++;c--,p=p/v|0;for(var x=d.length-w,S=x%c,b=Math.min(x,x-S)+w,h=0,T=w;T<b;T+=c)h=C(d,T,T+c,v),this.imuln(p),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(S!==0){var M=1;for(h=C(d,T,d.length,v),T=0;T<S;T++)M*=v;this.imuln(M),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(d){d.words=new Array(this.length);for(var v=0;v<this.length;v++)d.words[v]=this.words[v];d.length=this.length,d.negative=this.negative,d.red=this.red},l.prototype.clone=function(){var d=new l(null);return this.copy(d),d},l.prototype._expand=function(d){for(;this.length<d;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},l.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],A=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(d,v){d=d||10,v=v|0||1;var w;if(d===16||d==="hex"){w="";for(var c=0,p=0,x=0;x<this.length;x++){var S=this.words[x],b=((S<<c|p)&16777215).toString(16);p=S>>>24-c&16777215,p!==0||x!==this.length-1?w=k[6-b.length]+b+w:w=b+w,c+=2,c>=26&&(c-=26,x--)}for(p!==0&&(w=p.toString(16)+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(d===(d|0)&&d>=2&&d<=36){var h=A[d],T=D[d];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var j=M.modn(T).toString(d);M=M.idivn(T),M.isZero()?w=j+w:w=k[h-j.length]+j+w}for(this.isZero()&&(w="0"+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}o(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var d=this.words[0];return this.length===2?d+=this.words[1]*67108864:this.length===3&&this.words[2]===1?d+=4503599627370496+this.words[1]*67108864:this.length>2&&o(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-d:d},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(d,v){return o(typeof m<"u"),this.toArrayLike(m,d,v)},l.prototype.toArray=function(d,v){return this.toArrayLike(Array,d,v)},l.prototype.toArrayLike=function(d,v,w){var c=this.byteLength(),p=w||Math.max(1,c);o(c<=p,"byte array longer than desired length"),o(p>0,"Requested array length <= 0"),this.strip();var x=v==="le",S=new d(p),b,h,T=this.clone();if(x){for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[h]=b;for(;h<p;h++)S[h]=0}else{for(h=0;h<p-c;h++)S[h]=0;for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[p-h-1]=b}return S},Math.clz32?l.prototype._countBits=function(d){return 32-Math.clz32(d)}:l.prototype._countBits=function(d){var v=d,w=0;return v>=4096&&(w+=13,v>>>=13),v>=64&&(w+=7,v>>>=7),v>=8&&(w+=4,v>>>=4),v>=2&&(w+=2,v>>>=2),w+v},l.prototype._zeroBits=function(d){if(d===0)return 26;var v=d,w=0;return v&8191||(w+=13,v>>>=13),v&127||(w+=7,v>>>=7),v&15||(w+=4,v>>>=4),v&3||(w+=2,v>>>=2),v&1||w++,w},l.prototype.bitLength=function(){var d=this.words[this.length-1],v=this._countBits(d);return(this.length-1)*26+v};function P(L){for(var d=new Array(L.bitLength()),v=0;v<d.length;v++){var w=v/26|0,c=v%26;d[v]=(L.words[w]&1<<c)>>>c}return d}l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var d=0,v=0;v<this.length;v++){var w=this._zeroBits(this.words[v]);if(d+=w,w!==26)break}return d},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(d){return this.negative!==0?this.abs().inotn(d).iaddn(1):this.clone()},l.prototype.fromTwos=function(d){return this.testn(d-1)?this.notn(d).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return this.negative!==0},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(d){for(;this.length<d.length;)this.words[this.length++]=0;for(var v=0;v<d.length;v++)this.words[v]=this.words[v]|d.words[v];return this.strip()},l.prototype.ior=function(d){return o((this.negative|d.negative)===0),this.iuor(d)},l.prototype.or=function(d){return this.length>d.length?this.clone().ior(d):d.clone().ior(this)},l.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},l.prototype.iuand=function(d){var v;this.length>d.length?v=d:v=this;for(var w=0;w<v.length;w++)this.words[w]=this.words[w]&d.words[w];return this.length=v.length,this.strip()},l.prototype.iand=function(d){return o((this.negative|d.negative)===0),this.iuand(d)},l.prototype.and=function(d){return this.length>d.length?this.clone().iand(d):d.clone().iand(this)},l.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},l.prototype.iuxor=function(d){var v,w;this.length>d.length?(v=this,w=d):(v=d,w=this);for(var c=0;c<w.length;c++)this.words[c]=v.words[c]^w.words[c];if(this!==v)for(;c<v.length;c++)this.words[c]=v.words[c];return this.length=v.length,this.strip()},l.prototype.ixor=function(d){return o((this.negative|d.negative)===0),this.iuxor(d)},l.prototype.xor=function(d){return this.length>d.length?this.clone().ixor(d):d.clone().ixor(this)},l.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},l.prototype.inotn=function(d){o(typeof d=="number"&&d>=0);var v=Math.ceil(d/26)|0,w=d%26;this._expand(v),w>0&&v--;for(var c=0;c<v;c++)this.words[c]=~this.words[c]&67108863;return w>0&&(this.words[c]=~this.words[c]&67108863>>26-w),this.strip()},l.prototype.notn=function(d){return this.clone().inotn(d)},l.prototype.setn=function(d,v){o(typeof d=="number"&&d>=0);var w=d/26|0,c=d%26;return this._expand(w+1),v?this.words[w]=this.words[w]|1<<c:this.words[w]=this.words[w]&~(1<<c),this.strip()},l.prototype.iadd=function(d){var v;if(this.negative!==0&&d.negative===0)return this.negative=0,v=this.isub(d),this.negative^=1,this._normSign();if(this.negative===0&&d.negative!==0)return d.negative=0,v=this.isub(d),d.negative=1,v._normSign();var w,c;this.length>d.length?(w=this,c=d):(w=d,c=this);for(var p=0,x=0;x<c.length;x++)v=(w.words[x]|0)+(c.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;for(;p!==0&&x<w.length;x++)v=(w.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;if(this.length=w.length,p!==0)this.words[this.length]=p,this.length++;else if(w!==this)for(;x<w.length;x++)this.words[x]=w.words[x];return this},l.prototype.add=function(d){var v;return d.negative!==0&&this.negative===0?(d.negative=0,v=this.sub(d),d.negative^=1,v):d.negative===0&&this.negative!==0?(this.negative=0,v=d.sub(this),this.negative=1,v):this.length>d.length?this.clone().iadd(d):d.clone().iadd(this)},l.prototype.isub=function(d){if(d.negative!==0){d.negative=0;var v=this.iadd(d);return d.negative=1,v._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var w=this.cmp(d);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,p;w>0?(c=this,p=d):(c=d,p=this);for(var x=0,S=0;S<p.length;S++)v=(c.words[S]|0)-(p.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;for(;x!==0&&S<c.length;S++)v=(c.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;if(x===0&&S<c.length&&c!==this)for(;S<c.length;S++)this.words[S]=c.words[S];return this.length=Math.max(this.length,S),c!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(d){return this.clone().isub(d)};function R(L,d,v){v.negative=d.negative^L.negative;var w=L.length+d.length|0;v.length=w,w=w-1|0;var c=L.words[0]|0,p=d.words[0]|0,x=c*p,S=x&67108863,b=x/67108864|0;v.words[0]=S;for(var h=1;h<w;h++){for(var T=b>>>26,M=b&67108863,j=Math.min(h,d.length-1),V=Math.max(0,h-L.length+1);V<=j;V++){var ee=h-V|0;c=L.words[ee]|0,p=d.words[V]|0,x=c*p+M,T+=x/67108864|0,M=x&67108863}v.words[h]=M|0,b=T|0}return b!==0?v.words[h]=b|0:v.length--,v.strip()}var B=function(d,v,w){var c=d.words,p=v.words,x=w.words,S=0,b,h,T,M=c[0]|0,j=M&8191,V=M>>>13,ee=c[1]|0,Z=ee&8191,U=ee>>>13,z=c[2]|0,ne=z&8191,fe=z>>>13,me=c[3]|0,de=me&8191,Oe=me>>>13,lt=c[4]|0,it=lt&8191,ot=lt>>>13,Ct=c[5]|0,nt=Ct&8191,Je=Ct>>>13,tt=c[6]|0,rt=tt&8191,ht=tt>>>13,jt=c[7]|0,Ve=jt&8191,We=jt>>>13,Gt=c[8]|0,wt=Gt&8191,Et=Gt>>>13,Yt=c[9]|0,Ce=Yt&8191,te=Yt>>>13,ye=p[0]|0,Le=ye&8191,Ue=ye>>>13,Qe=p[1]|0,Ke=Qe&8191,De=Qe>>>13,Vt=p[2]|0,At=Vt&8191,ve=Vt>>>13,Pt=p[3]|0,pt=Pt&8191,Ne=Pt>>>13,vt=p[4]|0,ut=vt&8191,$t=vt>>>13,fi=p[5]|0,kt=fi&8191,Wt=fi>>>13,Zi=p[6]|0,Ut=Zi&8191,Xt=Zi>>>13,Be=p[7]|0,be=Be&8191,ge=Be>>>13,oe=p[8]|0,Ae=oe&8191,qe=oe>>>13,bt=p[9]|0,at=bt&8191,gt=bt>>>13;w.negative=d.negative^v.negative,w.length=19,b=Math.imul(j,Le),h=Math.imul(j,Ue),h=h+Math.imul(V,Le)|0,T=Math.imul(V,Ue);var ei=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ei>>>26)|0,ei&=67108863,b=Math.imul(Z,Le),h=Math.imul(Z,Ue),h=h+Math.imul(U,Le)|0,T=Math.imul(U,Ue),b=b+Math.imul(j,Ke)|0,h=h+Math.imul(j,De)|0,h=h+Math.imul(V,Ke)|0,T=T+Math.imul(V,De)|0;var ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ii>>>26)|0,ii&=67108863,b=Math.imul(ne,Le),h=Math.imul(ne,Ue),h=h+Math.imul(fe,Le)|0,T=Math.imul(fe,Ue),b=b+Math.imul(Z,Ke)|0,h=h+Math.imul(Z,De)|0,h=h+Math.imul(U,Ke)|0,T=T+Math.imul(U,De)|0,b=b+Math.imul(j,At)|0,h=h+Math.imul(j,ve)|0,h=h+Math.imul(V,At)|0,T=T+Math.imul(V,ve)|0;var Bi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,b=Math.imul(de,Le),h=Math.imul(de,Ue),h=h+Math.imul(Oe,Le)|0,T=Math.imul(Oe,Ue),b=b+Math.imul(ne,Ke)|0,h=h+Math.imul(ne,De)|0,h=h+Math.imul(fe,Ke)|0,T=T+Math.imul(fe,De)|0,b=b+Math.imul(Z,At)|0,h=h+Math.imul(Z,ve)|0,h=h+Math.imul(U,At)|0,T=T+Math.imul(U,ve)|0,b=b+Math.imul(j,pt)|0,h=h+Math.imul(j,Ne)|0,h=h+Math.imul(V,pt)|0,T=T+Math.imul(V,Ne)|0;var hi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(hi>>>26)|0,hi&=67108863,b=Math.imul(it,Le),h=Math.imul(it,Ue),h=h+Math.imul(ot,Le)|0,T=Math.imul(ot,Ue),b=b+Math.imul(de,Ke)|0,h=h+Math.imul(de,De)|0,h=h+Math.imul(Oe,Ke)|0,T=T+Math.imul(Oe,De)|0,b=b+Math.imul(ne,At)|0,h=h+Math.imul(ne,ve)|0,h=h+Math.imul(fe,At)|0,T=T+Math.imul(fe,ve)|0,b=b+Math.imul(Z,pt)|0,h=h+Math.imul(Z,Ne)|0,h=h+Math.imul(U,pt)|0,T=T+Math.imul(U,Ne)|0,b=b+Math.imul(j,ut)|0,h=h+Math.imul(j,$t)|0,h=h+Math.imul(V,ut)|0,T=T+Math.imul(V,$t)|0;var Di=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Di>>>26)|0,Di&=67108863,b=Math.imul(nt,Le),h=Math.imul(nt,Ue),h=h+Math.imul(Je,Le)|0,T=Math.imul(Je,Ue),b=b+Math.imul(it,Ke)|0,h=h+Math.imul(it,De)|0,h=h+Math.imul(ot,Ke)|0,T=T+Math.imul(ot,De)|0,b=b+Math.imul(de,At)|0,h=h+Math.imul(de,ve)|0,h=h+Math.imul(Oe,At)|0,T=T+Math.imul(Oe,ve)|0,b=b+Math.imul(ne,pt)|0,h=h+Math.imul(ne,Ne)|0,h=h+Math.imul(fe,pt)|0,T=T+Math.imul(fe,Ne)|0,b=b+Math.imul(Z,ut)|0,h=h+Math.imul(Z,$t)|0,h=h+Math.imul(U,ut)|0,T=T+Math.imul(U,$t)|0,b=b+Math.imul(j,kt)|0,h=h+Math.imul(j,Wt)|0,h=h+Math.imul(V,kt)|0,T=T+Math.imul(V,Wt)|0;var ni=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ni>>>26)|0,ni&=67108863,b=Math.imul(rt,Le),h=Math.imul(rt,Ue),h=h+Math.imul(ht,Le)|0,T=Math.imul(ht,Ue),b=b+Math.imul(nt,Ke)|0,h=h+Math.imul(nt,De)|0,h=h+Math.imul(Je,Ke)|0,T=T+Math.imul(Je,De)|0,b=b+Math.imul(it,At)|0,h=h+Math.imul(it,ve)|0,h=h+Math.imul(ot,At)|0,T=T+Math.imul(ot,ve)|0,b=b+Math.imul(de,pt)|0,h=h+Math.imul(de,Ne)|0,h=h+Math.imul(Oe,pt)|0,T=T+Math.imul(Oe,Ne)|0,b=b+Math.imul(ne,ut)|0,h=h+Math.imul(ne,$t)|0,h=h+Math.imul(fe,ut)|0,T=T+Math.imul(fe,$t)|0,b=b+Math.imul(Z,kt)|0,h=h+Math.imul(Z,Wt)|0,h=h+Math.imul(U,kt)|0,T=T+Math.imul(U,Wt)|0,b=b+Math.imul(j,Ut)|0,h=h+Math.imul(j,Xt)|0,h=h+Math.imul(V,Ut)|0,T=T+Math.imul(V,Xt)|0;var pi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(Ve,Le),h=Math.imul(Ve,Ue),h=h+Math.imul(We,Le)|0,T=Math.imul(We,Ue),b=b+Math.imul(rt,Ke)|0,h=h+Math.imul(rt,De)|0,h=h+Math.imul(ht,Ke)|0,T=T+Math.imul(ht,De)|0,b=b+Math.imul(nt,At)|0,h=h+Math.imul(nt,ve)|0,h=h+Math.imul(Je,At)|0,T=T+Math.imul(Je,ve)|0,b=b+Math.imul(it,pt)|0,h=h+Math.imul(it,Ne)|0,h=h+Math.imul(ot,pt)|0,T=T+Math.imul(ot,Ne)|0,b=b+Math.imul(de,ut)|0,h=h+Math.imul(de,$t)|0,h=h+Math.imul(Oe,ut)|0,T=T+Math.imul(Oe,$t)|0,b=b+Math.imul(ne,kt)|0,h=h+Math.imul(ne,Wt)|0,h=h+Math.imul(fe,kt)|0,T=T+Math.imul(fe,Wt)|0,b=b+Math.imul(Z,Ut)|0,h=h+Math.imul(Z,Xt)|0,h=h+Math.imul(U,Ut)|0,T=T+Math.imul(U,Xt)|0,b=b+Math.imul(j,be)|0,h=h+Math.imul(j,ge)|0,h=h+Math.imul(V,be)|0,T=T+Math.imul(V,ge)|0;var Ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ii>>>26)|0,Ii&=67108863,b=Math.imul(wt,Le),h=Math.imul(wt,Ue),h=h+Math.imul(Et,Le)|0,T=Math.imul(Et,Ue),b=b+Math.imul(Ve,Ke)|0,h=h+Math.imul(Ve,De)|0,h=h+Math.imul(We,Ke)|0,T=T+Math.imul(We,De)|0,b=b+Math.imul(rt,At)|0,h=h+Math.imul(rt,ve)|0,h=h+Math.imul(ht,At)|0,T=T+Math.imul(ht,ve)|0,b=b+Math.imul(nt,pt)|0,h=h+Math.imul(nt,Ne)|0,h=h+Math.imul(Je,pt)|0,T=T+Math.imul(Je,Ne)|0,b=b+Math.imul(it,ut)|0,h=h+Math.imul(it,$t)|0,h=h+Math.imul(ot,ut)|0,T=T+Math.imul(ot,$t)|0,b=b+Math.imul(de,kt)|0,h=h+Math.imul(de,Wt)|0,h=h+Math.imul(Oe,kt)|0,T=T+Math.imul(Oe,Wt)|0,b=b+Math.imul(ne,Ut)|0,h=h+Math.imul(ne,Xt)|0,h=h+Math.imul(fe,Ut)|0,T=T+Math.imul(fe,Xt)|0,b=b+Math.imul(Z,be)|0,h=h+Math.imul(Z,ge)|0,h=h+Math.imul(U,be)|0,T=T+Math.imul(U,ge)|0,b=b+Math.imul(j,Ae)|0,h=h+Math.imul(j,qe)|0,h=h+Math.imul(V,Ae)|0,T=T+Math.imul(V,qe)|0;var Ci=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,b=Math.imul(Ce,Le),h=Math.imul(Ce,Ue),h=h+Math.imul(te,Le)|0,T=Math.imul(te,Ue),b=b+Math.imul(wt,Ke)|0,h=h+Math.imul(wt,De)|0,h=h+Math.imul(Et,Ke)|0,T=T+Math.imul(Et,De)|0,b=b+Math.imul(Ve,At)|0,h=h+Math.imul(Ve,ve)|0,h=h+Math.imul(We,At)|0,T=T+Math.imul(We,ve)|0,b=b+Math.imul(rt,pt)|0,h=h+Math.imul(rt,Ne)|0,h=h+Math.imul(ht,pt)|0,T=T+Math.imul(ht,Ne)|0,b=b+Math.imul(nt,ut)|0,h=h+Math.imul(nt,$t)|0,h=h+Math.imul(Je,ut)|0,T=T+Math.imul(Je,$t)|0,b=b+Math.imul(it,kt)|0,h=h+Math.imul(it,Wt)|0,h=h+Math.imul(ot,kt)|0,T=T+Math.imul(ot,Wt)|0,b=b+Math.imul(de,Ut)|0,h=h+Math.imul(de,Xt)|0,h=h+Math.imul(Oe,Ut)|0,T=T+Math.imul(Oe,Xt)|0,b=b+Math.imul(ne,be)|0,h=h+Math.imul(ne,ge)|0,h=h+Math.imul(fe,be)|0,T=T+Math.imul(fe,ge)|0,b=b+Math.imul(Z,Ae)|0,h=h+Math.imul(Z,qe)|0,h=h+Math.imul(U,Ae)|0,T=T+Math.imul(U,qe)|0,b=b+Math.imul(j,at)|0,h=h+Math.imul(j,gt)|0,h=h+Math.imul(V,at)|0,T=T+Math.imul(V,gt)|0;var zi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,b=Math.imul(Ce,Ke),h=Math.imul(Ce,De),h=h+Math.imul(te,Ke)|0,T=Math.imul(te,De),b=b+Math.imul(wt,At)|0,h=h+Math.imul(wt,ve)|0,h=h+Math.imul(Et,At)|0,T=T+Math.imul(Et,ve)|0,b=b+Math.imul(Ve,pt)|0,h=h+Math.imul(Ve,Ne)|0,h=h+Math.imul(We,pt)|0,T=T+Math.imul(We,Ne)|0,b=b+Math.imul(rt,ut)|0,h=h+Math.imul(rt,$t)|0,h=h+Math.imul(ht,ut)|0,T=T+Math.imul(ht,$t)|0,b=b+Math.imul(nt,kt)|0,h=h+Math.imul(nt,Wt)|0,h=h+Math.imul(Je,kt)|0,T=T+Math.imul(Je,Wt)|0,b=b+Math.imul(it,Ut)|0,h=h+Math.imul(it,Xt)|0,h=h+Math.imul(ot,Ut)|0,T=T+Math.imul(ot,Xt)|0,b=b+Math.imul(de,be)|0,h=h+Math.imul(de,ge)|0,h=h+Math.imul(Oe,be)|0,T=T+Math.imul(Oe,ge)|0,b=b+Math.imul(ne,Ae)|0,h=h+Math.imul(ne,qe)|0,h=h+Math.imul(fe,Ae)|0,T=T+Math.imul(fe,qe)|0,b=b+Math.imul(Z,at)|0,h=h+Math.imul(Z,gt)|0,h=h+Math.imul(U,at)|0,T=T+Math.imul(U,gt)|0;var qi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(qi>>>26)|0,qi&=67108863,b=Math.imul(Ce,At),h=Math.imul(Ce,ve),h=h+Math.imul(te,At)|0,T=Math.imul(te,ve),b=b+Math.imul(wt,pt)|0,h=h+Math.imul(wt,Ne)|0,h=h+Math.imul(Et,pt)|0,T=T+Math.imul(Et,Ne)|0,b=b+Math.imul(Ve,ut)|0,h=h+Math.imul(Ve,$t)|0,h=h+Math.imul(We,ut)|0,T=T+Math.imul(We,$t)|0,b=b+Math.imul(rt,kt)|0,h=h+Math.imul(rt,Wt)|0,h=h+Math.imul(ht,kt)|0,T=T+Math.imul(ht,Wt)|0,b=b+Math.imul(nt,Ut)|0,h=h+Math.imul(nt,Xt)|0,h=h+Math.imul(Je,Ut)|0,T=T+Math.imul(Je,Xt)|0,b=b+Math.imul(it,be)|0,h=h+Math.imul(it,ge)|0,h=h+Math.imul(ot,be)|0,T=T+Math.imul(ot,ge)|0,b=b+Math.imul(de,Ae)|0,h=h+Math.imul(de,qe)|0,h=h+Math.imul(Oe,Ae)|0,T=T+Math.imul(Oe,qe)|0,b=b+Math.imul(ne,at)|0,h=h+Math.imul(ne,gt)|0,h=h+Math.imul(fe,at)|0,T=T+Math.imul(fe,gt)|0;var Ai=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,b=Math.imul(Ce,pt),h=Math.imul(Ce,Ne),h=h+Math.imul(te,pt)|0,T=Math.imul(te,Ne),b=b+Math.imul(wt,ut)|0,h=h+Math.imul(wt,$t)|0,h=h+Math.imul(Et,ut)|0,T=T+Math.imul(Et,$t)|0,b=b+Math.imul(Ve,kt)|0,h=h+Math.imul(Ve,Wt)|0,h=h+Math.imul(We,kt)|0,T=T+Math.imul(We,Wt)|0,b=b+Math.imul(rt,Ut)|0,h=h+Math.imul(rt,Xt)|0,h=h+Math.imul(ht,Ut)|0,T=T+Math.imul(ht,Xt)|0,b=b+Math.imul(nt,be)|0,h=h+Math.imul(nt,ge)|0,h=h+Math.imul(Je,be)|0,T=T+Math.imul(Je,ge)|0,b=b+Math.imul(it,Ae)|0,h=h+Math.imul(it,qe)|0,h=h+Math.imul(ot,Ae)|0,T=T+Math.imul(ot,qe)|0,b=b+Math.imul(de,at)|0,h=h+Math.imul(de,gt)|0,h=h+Math.imul(Oe,at)|0,T=T+Math.imul(Oe,gt)|0;var ji=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,b=Math.imul(Ce,ut),h=Math.imul(Ce,$t),h=h+Math.imul(te,ut)|0,T=Math.imul(te,$t),b=b+Math.imul(wt,kt)|0,h=h+Math.imul(wt,Wt)|0,h=h+Math.imul(Et,kt)|0,T=T+Math.imul(Et,Wt)|0,b=b+Math.imul(Ve,Ut)|0,h=h+Math.imul(Ve,Xt)|0,h=h+Math.imul(We,Ut)|0,T=T+Math.imul(We,Xt)|0,b=b+Math.imul(rt,be)|0,h=h+Math.imul(rt,ge)|0,h=h+Math.imul(ht,be)|0,T=T+Math.imul(ht,ge)|0,b=b+Math.imul(nt,Ae)|0,h=h+Math.imul(nt,qe)|0,h=h+Math.imul(Je,Ae)|0,T=T+Math.imul(Je,qe)|0,b=b+Math.imul(it,at)|0,h=h+Math.imul(it,gt)|0,h=h+Math.imul(ot,at)|0,T=T+Math.imul(ot,gt)|0;var ki=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ki>>>26)|0,ki&=67108863,b=Math.imul(Ce,kt),h=Math.imul(Ce,Wt),h=h+Math.imul(te,kt)|0,T=Math.imul(te,Wt),b=b+Math.imul(wt,Ut)|0,h=h+Math.imul(wt,Xt)|0,h=h+Math.imul(Et,Ut)|0,T=T+Math.imul(Et,Xt)|0,b=b+Math.imul(Ve,be)|0,h=h+Math.imul(Ve,ge)|0,h=h+Math.imul(We,be)|0,T=T+Math.imul(We,ge)|0,b=b+Math.imul(rt,Ae)|0,h=h+Math.imul(rt,qe)|0,h=h+Math.imul(ht,Ae)|0,T=T+Math.imul(ht,qe)|0,b=b+Math.imul(nt,at)|0,h=h+Math.imul(nt,gt)|0,h=h+Math.imul(Je,at)|0,T=T+Math.imul(Je,gt)|0;var Ti=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,b=Math.imul(Ce,Ut),h=Math.imul(Ce,Xt),h=h+Math.imul(te,Ut)|0,T=Math.imul(te,Xt),b=b+Math.imul(wt,be)|0,h=h+Math.imul(wt,ge)|0,h=h+Math.imul(Et,be)|0,T=T+Math.imul(Et,ge)|0,b=b+Math.imul(Ve,Ae)|0,h=h+Math.imul(Ve,qe)|0,h=h+Math.imul(We,Ae)|0,T=T+Math.imul(We,qe)|0,b=b+Math.imul(rt,at)|0,h=h+Math.imul(rt,gt)|0,h=h+Math.imul(ht,at)|0,T=T+Math.imul(ht,gt)|0;var wi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(wi>>>26)|0,wi&=67108863,b=Math.imul(Ce,be),h=Math.imul(Ce,ge),h=h+Math.imul(te,be)|0,T=Math.imul(te,ge),b=b+Math.imul(wt,Ae)|0,h=h+Math.imul(wt,qe)|0,h=h+Math.imul(Et,Ae)|0,T=T+Math.imul(Et,qe)|0,b=b+Math.imul(Ve,at)|0,h=h+Math.imul(Ve,gt)|0,h=h+Math.imul(We,at)|0,T=T+Math.imul(We,gt)|0;var oi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(oi>>>26)|0,oi&=67108863,b=Math.imul(Ce,Ae),h=Math.imul(Ce,qe),h=h+Math.imul(te,Ae)|0,T=Math.imul(te,qe),b=b+Math.imul(wt,at)|0,h=h+Math.imul(wt,gt)|0,h=h+Math.imul(Et,at)|0,T=T+Math.imul(Et,gt)|0;var zt=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zt>>>26)|0,zt&=67108863,b=Math.imul(Ce,at),h=Math.imul(Ce,gt),h=h+Math.imul(te,at)|0,T=Math.imul(te,gt);var Qt=(S+b|0)+((h&8191)<<13)|0;return S=(T+(h>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,x[0]=ei,x[1]=ii,x[2]=Bi,x[3]=hi,x[4]=Di,x[5]=ni,x[6]=pi,x[7]=Ii,x[8]=Ci,x[9]=zi,x[10]=qi,x[11]=Ai,x[12]=ji,x[13]=ki,x[14]=Ti,x[15]=wi,x[16]=oi,x[17]=zt,x[18]=Qt,S!==0&&(x[19]=S,w.length++),w};Math.imul||(B=R);function F(L,d,v){v.negative=d.negative^L.negative,v.length=L.length+d.length;for(var w=0,c=0,p=0;p<v.length-1;p++){var x=c;c=0;for(var S=w&67108863,b=Math.min(p,d.length-1),h=Math.max(0,p-L.length+1);h<=b;h++){var T=p-h,M=L.words[T]|0,j=d.words[h]|0,V=M*j,ee=V&67108863;x=x+(V/67108864|0)|0,ee=ee+S|0,S=ee&67108863,x=x+(ee>>>26)|0,c+=x>>>26,x&=67108863}v.words[p]=S,w=x,x=c}return w!==0?v.words[p]=w:v.length--,v.strip()}function O(L,d,v){var w=new N;return w.mulp(L,d,v)}l.prototype.mulTo=function(d,v){var w,c=this.length+d.length;return this.length===10&&d.length===10?w=B(this,d,v):c<63?w=R(this,d,v):c<1024?w=F(this,d,v):w=O(this,d,v),w};function N(L,d){this.x=L,this.y=d}N.prototype.makeRBT=function(d){for(var v=new Array(d),w=l.prototype._countBits(d)-1,c=0;c<d;c++)v[c]=this.revBin(c,w,d);return v},N.prototype.revBin=function(d,v,w){if(d===0||d===w-1)return d;for(var c=0,p=0;p<v;p++)c|=(d&1)<<v-p-1,d>>=1;return c},N.prototype.permute=function(d,v,w,c,p,x){for(var S=0;S<x;S++)c[S]=v[d[S]],p[S]=w[d[S]]},N.prototype.transform=function(d,v,w,c,p,x){this.permute(x,d,v,w,c,p);for(var S=1;S<p;S<<=1)for(var b=S<<1,h=Math.cos(2*Math.PI/b),T=Math.sin(2*Math.PI/b),M=0;M<p;M+=b)for(var j=h,V=T,ee=0;ee<S;ee++){var Z=w[M+ee],U=c[M+ee],z=w[M+ee+S],ne=c[M+ee+S],fe=j*z-V*ne;ne=j*ne+V*z,z=fe,w[M+ee]=Z+z,c[M+ee]=U+ne,w[M+ee+S]=Z-z,c[M+ee+S]=U-ne,ee!==b&&(fe=h*j-T*V,V=h*V+T*j,j=fe)}},N.prototype.guessLen13b=function(d,v){var w=Math.max(v,d)|1,c=w&1,p=0;for(w=w/2|0;w;w=w>>>1)p++;return 1<<p+1+c},N.prototype.conjugate=function(d,v,w){if(!(w<=1))for(var c=0;c<w/2;c++){var p=d[c];d[c]=d[w-c-1],d[w-c-1]=p,p=v[c],v[c]=-v[w-c-1],v[w-c-1]=-p}},N.prototype.normalize13b=function(d,v){for(var w=0,c=0;c<v/2;c++){var p=Math.round(d[2*c+1]/v)*8192+Math.round(d[2*c]/v)+w;d[c]=p&67108863,p<67108864?w=0:w=p/67108864|0}return d},N.prototype.convert13b=function(d,v,w,c){for(var p=0,x=0;x<v;x++)p=p+(d[x]|0),w[2*x]=p&8191,p=p>>>13,w[2*x+1]=p&8191,p=p>>>13;for(x=2*v;x<c;++x)w[x]=0;o(p===0),o((p&-8192)===0)},N.prototype.stub=function(d){for(var v=new Array(d),w=0;w<d;w++)v[w]=0;return v},N.prototype.mulp=function(d,v,w){var c=2*this.guessLen13b(d.length,v.length),p=this.makeRBT(c),x=this.stub(c),S=new Array(c),b=new Array(c),h=new Array(c),T=new Array(c),M=new Array(c),j=new Array(c),V=w.words;V.length=c,this.convert13b(d.words,d.length,S,c),this.convert13b(v.words,v.length,T,c),this.transform(S,x,b,h,c,p),this.transform(T,x,M,j,c,p);for(var ee=0;ee<c;ee++){var Z=b[ee]*M[ee]-h[ee]*j[ee];h[ee]=b[ee]*j[ee]+h[ee]*M[ee],b[ee]=Z}return this.conjugate(b,h,c),this.transform(b,h,V,x,c,p),this.conjugate(V,x,c),this.normalize13b(V,c),w.negative=d.negative^v.negative,w.length=d.length+v.length,w.strip()},l.prototype.mul=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),this.mulTo(d,v)},l.prototype.mulf=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),O(this,d,v)},l.prototype.imul=function(d){return this.clone().mulTo(d,this)},l.prototype.imuln=function(d){o(typeof d=="number"),o(d<67108864);for(var v=0,w=0;w<this.length;w++){var c=(this.words[w]|0)*d,p=(c&67108863)+(v&67108863);v>>=26,v+=c/67108864|0,v+=p>>>26,this.words[w]=p&67108863}return v!==0&&(this.words[w]=v,this.length++),this},l.prototype.muln=function(d){return this.clone().imuln(d)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(d){var v=P(d);if(v.length===0)return new l(1);for(var w=this,c=0;c<v.length&&v[c]===0;c++,w=w.sqr());if(++c<v.length)for(var p=w.sqr();c<v.length;c++,p=p.sqr())v[c]!==0&&(w=w.mul(p));return w},l.prototype.iushln=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=67108863>>>26-v<<26-v,p;if(v!==0){var x=0;for(p=0;p<this.length;p++){var S=this.words[p]&c,b=(this.words[p]|0)-S<<v;this.words[p]=b|x,x=S>>>26-v}x&&(this.words[p]=x,this.length++)}if(w!==0){for(p=this.length-1;p>=0;p--)this.words[p+w]=this.words[p];for(p=0;p<w;p++)this.words[p]=0;this.length+=w}return this.strip()},l.prototype.ishln=function(d){return o(this.negative===0),this.iushln(d)},l.prototype.iushrn=function(d,v,w){o(typeof d=="number"&&d>=0);var c;v?c=(v-v%26)/26:c=0;var p=d%26,x=Math.min((d-p)/26,this.length),S=67108863^67108863>>>p<<p,b=w;if(c-=x,c=Math.max(0,c),b){for(var h=0;h<x;h++)b.words[h]=this.words[h];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,h=0;h<this.length;h++)this.words[h]=this.words[h+x];else this.words[0]=0,this.length=1;var T=0;for(h=this.length-1;h>=0&&(T!==0||h>=c);h--){var M=this.words[h]|0;this.words[h]=T<<26-p|M>>>p,T=M&S}return b&&T!==0&&(b.words[b.length++]=T),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(d,v,w){return o(this.negative===0),this.iushrn(d,v,w)},l.prototype.shln=function(d){return this.clone().ishln(d)},l.prototype.ushln=function(d){return this.clone().iushln(d)},l.prototype.shrn=function(d){return this.clone().ishrn(d)},l.prototype.ushrn=function(d){return this.clone().iushrn(d)},l.prototype.testn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return!1;var p=this.words[w];return!!(p&c)},l.prototype.imaskn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26;if(o(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(v!==0&&w++,this.length=Math.min(w,this.length),v!==0){var c=67108863^67108863>>>v<<v;this.words[this.length-1]&=c}return this.strip()},l.prototype.maskn=function(d){return this.clone().imaskn(d)},l.prototype.iaddn=function(d){return o(typeof d=="number"),o(d<67108864),d<0?this.isubn(-d):this.negative!==0?this.length===1&&(this.words[0]|0)<d?(this.words[0]=d-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(d),this.negative=1,this):this._iaddn(d)},l.prototype._iaddn=function(d){this.words[0]+=d;for(var v=0;v<this.length&&this.words[v]>=67108864;v++)this.words[v]-=67108864,v===this.length-1?this.words[v+1]=1:this.words[v+1]++;return this.length=Math.max(this.length,v+1),this},l.prototype.isubn=function(d){if(o(typeof d=="number"),o(d<67108864),d<0)return this.iaddn(-d);if(this.negative!==0)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var v=0;v<this.length&&this.words[v]<0;v++)this.words[v]+=67108864,this.words[v+1]-=1;return this.strip()},l.prototype.addn=function(d){return this.clone().iaddn(d)},l.prototype.subn=function(d){return this.clone().isubn(d)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(d,v,w){var c=d.length+w,p;this._expand(c);var x,S=0;for(p=0;p<d.length;p++){x=(this.words[p+w]|0)+S;var b=(d.words[p]|0)*v;x-=b&67108863,S=(x>>26)-(b/67108864|0),this.words[p+w]=x&67108863}for(;p<this.length-w;p++)x=(this.words[p+w]|0)+S,S=x>>26,this.words[p+w]=x&67108863;if(S===0)return this.strip();for(o(S===-1),S=0,p=0;p<this.length;p++)x=-(this.words[p]|0)+S,S=x>>26,this.words[p]=x&67108863;return this.negative=1,this.strip()},l.prototype._wordDiv=function(d,v){var w=this.length-d.length,c=this.clone(),p=d,x=p.words[p.length-1]|0,S=this._countBits(x);w=26-S,w!==0&&(p=p.ushln(w),c.iushln(w),x=p.words[p.length-1]|0);var b=c.length-p.length,h;if(v!=="mod"){h=new l(null),h.length=b+1,h.words=new Array(h.length);for(var T=0;T<h.length;T++)h.words[T]=0}var M=c.clone()._ishlnsubmul(p,1,b);M.negative===0&&(c=M,h&&(h.words[b]=1));for(var j=b-1;j>=0;j--){var V=(c.words[p.length+j]|0)*67108864+(c.words[p.length+j-1]|0);for(V=Math.min(V/x|0,67108863),c._ishlnsubmul(p,V,j);c.negative!==0;)V--,c.negative=0,c._ishlnsubmul(p,1,j),c.isZero()||(c.negative^=1);h&&(h.words[j]=V)}return h&&h.strip(),c.strip(),v!=="div"&&w!==0&&c.iushrn(w),{div:h||null,mod:c}},l.prototype.divmod=function(d,v,w){if(o(!d.isZero()),this.isZero())return{div:new l(0),mod:new l(0)};var c,p,x;return this.negative!==0&&d.negative===0?(x=this.neg().divmod(d,v),v!=="mod"&&(c=x.div.neg()),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.iadd(d)),{div:c,mod:p}):this.negative===0&&d.negative!==0?(x=this.divmod(d.neg(),v),v!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&d.negative?(x=this.neg().divmod(d.neg(),v),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.isub(d)),{div:x.div,mod:p}):d.length>this.length||this.cmp(d)<0?{div:new l(0),mod:this}:d.length===1?v==="div"?{div:this.divn(d.words[0]),mod:null}:v==="mod"?{div:null,mod:new l(this.modn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new l(this.modn(d.words[0]))}:this._wordDiv(d,v)},l.prototype.div=function(d){return this.divmod(d,"div",!1).div},l.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},l.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},l.prototype.divRound=function(d){var v=this.divmod(d);if(v.mod.isZero())return v.div;var w=v.div.negative!==0?v.mod.isub(d):v.mod,c=d.ushrn(1),p=d.andln(1),x=w.cmp(c);return x<0||p===1&&x===0?v.div:v.div.negative!==0?v.div.isubn(1):v.div.iaddn(1)},l.prototype.modn=function(d){o(d<=67108863);for(var v=(1<<26)%d,w=0,c=this.length-1;c>=0;c--)w=(v*w+(this.words[c]|0))%d;return w},l.prototype.idivn=function(d){o(d<=67108863);for(var v=0,w=this.length-1;w>=0;w--){var c=(this.words[w]|0)+v*67108864;this.words[w]=c/d|0,v=c%d}return this.strip()},l.prototype.divn=function(d){return this.clone().idivn(d)},l.prototype.egcd=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=new l(0),S=new l(1),b=0;v.isEven()&&w.isEven();)v.iushrn(1),w.iushrn(1),++b;for(var h=w.clone(),T=v.clone();!v.isZero();){for(var M=0,j=1;!(v.words[0]&j)&&M<26;++M,j<<=1);if(M>0)for(v.iushrn(M);M-- >0;)(c.isOdd()||p.isOdd())&&(c.iadd(h),p.isub(T)),c.iushrn(1),p.iushrn(1);for(var V=0,ee=1;!(w.words[0]&ee)&&V<26;++V,ee<<=1);if(V>0)for(w.iushrn(V);V-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(h),S.isub(T)),x.iushrn(1),S.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(x),p.isub(S)):(w.isub(v),x.isub(c),S.isub(p))}return{a:x,b:S,gcd:w.iushln(b)}},l.prototype._invmp=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=w.clone();v.cmpn(1)>0&&w.cmpn(1)>0;){for(var S=0,b=1;!(v.words[0]&b)&&S<26;++S,b<<=1);if(S>0)for(v.iushrn(S);S-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var h=0,T=1;!(w.words[0]&T)&&h<26;++h,T<<=1);if(h>0)for(w.iushrn(h);h-- >0;)p.isOdd()&&p.iadd(x),p.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(p)):(w.isub(v),p.isub(c))}var M;return v.cmpn(1)===0?M=c:M=p,M.cmpn(0)<0&&M.iadd(d),M},l.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var v=this.clone(),w=d.clone();v.negative=0,w.negative=0;for(var c=0;v.isEven()&&w.isEven();c++)v.iushrn(1),w.iushrn(1);do{for(;v.isEven();)v.iushrn(1);for(;w.isEven();)w.iushrn(1);var p=v.cmp(w);if(p<0){var x=v;v=w,w=x}else if(p===0||w.cmpn(1)===0)break;v.isub(w)}while(!0);return w.iushln(c)},l.prototype.invm=function(d){return this.egcd(d).a.umod(d)},l.prototype.isEven=function(){return(this.words[0]&1)===0},l.prototype.isOdd=function(){return(this.words[0]&1)===1},l.prototype.andln=function(d){return this.words[0]&d},l.prototype.bincn=function(d){o(typeof d=="number");var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return this._expand(w+1),this.words[w]|=c,this;for(var p=c,x=w;p!==0&&x<this.length;x++){var S=this.words[x]|0;S+=p,p=S>>>26,S&=67108863,this.words[x]=S}return p!==0&&(this.words[x]=p,this.length++),this},l.prototype.isZero=function(){return this.length===1&&this.words[0]===0},l.prototype.cmpn=function(d){var v=d<0;if(this.negative!==0&&!v)return-1;if(this.negative===0&&v)return 1;this.strip();var w;if(this.length>1)w=1;else{v&&(d=-d),o(d<=67108863,"Number is too big");var c=this.words[0]|0;w=c===d?0:c<d?-1:1}return this.negative!==0?-w|0:w},l.prototype.cmp=function(d){if(this.negative!==0&&d.negative===0)return-1;if(this.negative===0&&d.negative!==0)return 1;var v=this.ucmp(d);return this.negative!==0?-v|0:v},l.prototype.ucmp=function(d){if(this.length>d.length)return 1;if(this.length<d.length)return-1;for(var v=0,w=this.length-1;w>=0;w--){var c=this.words[w]|0,p=d.words[w]|0;if(c!==p){c<p?v=-1:c>p&&(v=1);break}}return v},l.prototype.gtn=function(d){return this.cmpn(d)===1},l.prototype.gt=function(d){return this.cmp(d)===1},l.prototype.gten=function(d){return this.cmpn(d)>=0},l.prototype.gte=function(d){return this.cmp(d)>=0},l.prototype.ltn=function(d){return this.cmpn(d)===-1},l.prototype.lt=function(d){return this.cmp(d)===-1},l.prototype.lten=function(d){return this.cmpn(d)<=0},l.prototype.lte=function(d){return this.cmp(d)<=0},l.prototype.eqn=function(d){return this.cmpn(d)===0},l.prototype.eq=function(d){return this.cmp(d)===0},l.red=function(d){return new he(d)},l.prototype.toRed=function(d){return o(!this.red,"Already a number in reduction context"),o(this.negative===0,"red works only with positives"),d.convertTo(this)._forceRed(d)},l.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(d){return this.red=d,this},l.prototype.forceRed=function(d){return o(!this.red,"Already a number in reduction context"),this._forceRed(d)},l.prototype.redAdd=function(d){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},l.prototype.redIAdd=function(d){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},l.prototype.redSub=function(d){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},l.prototype.redISub=function(d){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},l.prototype.redShl=function(d){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},l.prototype.redMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},l.prototype.redIMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},l.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(d){return o(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var Y={k256:null,p224:null,p192:null,p25519:null};function J(L,d){this.name=L,this.p=new l(d,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}J.prototype._tmp=function(){var d=new l(null);return d.words=new Array(Math.ceil(this.n/13)),d},J.prototype.ireduce=function(d){var v=d,w;do this.split(v,this.tmp),v=this.imulK(v),v=v.iadd(this.tmp),w=v.bitLength();while(w>this.n);var c=w<this.n?-1:v.ucmp(this.p);return c===0?(v.words[0]=0,v.length=1):c>0?v.isub(this.p):v.strip!==void 0?v.strip():v._strip(),v},J.prototype.split=function(d,v){d.iushrn(this.n,0,v)},J.prototype.imulK=function(d){return d.imul(this.k)};function ie(){J.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(ie,J),ie.prototype.split=function(d,v){for(var w=4194303,c=Math.min(d.length,9),p=0;p<c;p++)v.words[p]=d.words[p];if(v.length=c,d.length<=9){d.words[0]=0,d.length=1;return}var x=d.words[9];for(v.words[v.length++]=x&w,p=10;p<d.length;p++){var S=d.words[p]|0;d.words[p-10]=(S&w)<<4|x>>>22,x=S}x>>>=22,d.words[p-10]=x,x===0&&d.length>10?d.length-=10:d.length-=9},ie.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var v=0,w=0;w<d.length;w++){var c=d.words[w]|0;v+=c*977,d.words[w]=v&67108863,v=c*64+(v/67108864|0)}return d.words[d.length-1]===0&&(d.length--,d.words[d.length-1]===0&&d.length--),d};function ue(){J.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(ue,J);function Q(){J.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(Q,J);function ce(){J.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ce,J),ce.prototype.imulK=function(d){for(var v=0,w=0;w<d.length;w++){var c=(d.words[w]|0)*19+v,p=c&67108863;c>>>=26,d.words[w]=p,v=c}return v!==0&&(d.words[d.length++]=v),d},l._prime=function(d){if(Y[d])return Y[d];var v;if(d==="k256")v=new ie;else if(d==="p224")v=new ue;else if(d==="p192")v=new Q;else if(d==="p25519")v=new ce;else throw new Error("Unknown prime "+d);return Y[d]=v,v};function he(L){if(typeof L=="string"){var d=l._prime(L);this.m=d.p,this.prime=d}else o(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(d){o(d.negative===0,"red works only with positives"),o(d.red,"red works only with red numbers")},he.prototype._verify2=function(d,v){o((d.negative|v.negative)===0,"red works only with positives"),o(d.red&&d.red===v.red,"red works only with red numbers")},he.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):d.umod(this.m)._forceRed(this)},he.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},he.prototype.add=function(d,v){this._verify2(d,v);var w=d.add(v);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},he.prototype.iadd=function(d,v){this._verify2(d,v);var w=d.iadd(v);return w.cmp(this.m)>=0&&w.isub(this.m),w},he.prototype.sub=function(d,v){this._verify2(d,v);var w=d.sub(v);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},he.prototype.isub=function(d,v){this._verify2(d,v);var w=d.isub(v);return w.cmpn(0)<0&&w.iadd(this.m),w},he.prototype.shl=function(d,v){return this._verify1(d),this.imod(d.ushln(v))},he.prototype.imul=function(d,v){return this._verify2(d,v),this.imod(d.imul(v))},he.prototype.mul=function(d,v){return this._verify2(d,v),this.imod(d.mul(v))},he.prototype.isqr=function(d){return this.imul(d,d.clone())},he.prototype.sqr=function(d){return this.mul(d,d)},he.prototype.sqrt=function(d){if(d.isZero())return d.clone();var v=this.m.andln(3);if(o(v%2===1),v===3){var w=this.m.add(new l(1)).iushrn(2);return this.pow(d,w)}for(var c=this.m.subn(1),p=0;!c.isZero()&&c.andln(1)===0;)p++,c.iushrn(1);o(!c.isZero());var x=new l(1).toRed(this),S=x.redNeg(),b=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);this.pow(h,b).cmp(S)!==0;)h.redIAdd(S);for(var T=this.pow(h,c),M=this.pow(d,c.addn(1).iushrn(1)),j=this.pow(d,c),V=p;j.cmp(x)!==0;){for(var ee=j,Z=0;ee.cmp(x)!==0;Z++)ee=ee.redSqr();o(Z<V);var U=this.pow(T,new l(1).iushln(V-Z-1));M=M.redMul(U),T=U.redSqr(),j=j.redMul(T),V=Z}return M},he.prototype.invm=function(d){var v=d._invmp(this.m);return v.negative!==0?(v.negative=0,this.imod(v).redNeg()):this.imod(v)},he.prototype.pow=function(d,v){if(v.isZero())return new l(1).toRed(this);if(v.cmpn(1)===0)return d.clone();var w=4,c=new Array(1<<w);c[0]=new l(1).toRed(this),c[1]=d;for(var p=2;p<c.length;p++)c[p]=this.mul(c[p-1],d);var x=c[0],S=0,b=0,h=v.bitLength()%26;for(h===0&&(h=26),p=v.length-1;p>=0;p--){for(var T=v.words[p],M=h-1;M>=0;M--){var j=T>>M&1;if(x!==c[0]&&(x=this.sqr(x)),j===0&&S===0){b=0;continue}S<<=1,S|=j,b++,!(b!==w&&(p!==0||M!==0))&&(x=this.mul(x,c[S]),b=0,S=0)}h=26}return x},he.prototype.convertTo=function(d){var v=d.umod(this.m);return v===d?v.clone():v},he.prototype.convertFrom=function(d){var v=d.clone();return v.red=null,v},l.mont=function(d){return new ke(d)};function ke(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(ke,he),ke.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},ke.prototype.convertFrom=function(d){var v=this.imod(d.mul(this.rinv));return v.red=null,v},ke.prototype.imul=function(d,v){if(d.isZero()||v.isZero())return d.words[0]=0,d.length=1,d;var w=d.imul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.mul=function(d,v){if(d.isZero()||v.isZero())return new l(0)._forceRed(this);var w=d.mul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.invm=function(d){var v=this.imod(d._invmp(this.m).mul(this.r2));return v._forceRed(this)}})(t,commonjsGlobal$1)}(bn$3);var bnExports$3=bn$3.exports,utils$n={};(function(t){var e=t;function n(l,m){if(Array.isArray(l))return l.slice();if(!l)return[];var y=[];if(typeof l!="string"){for(var E=0;E<l.length;E++)y[E]=l[E]|0;return y}if(m==="hex"){l=l.replace(/[^a-z0-9]+/ig,""),l.length%2!==0&&(l="0"+l);for(var E=0;E<l.length;E+=2)y.push(parseInt(l[E]+l[E+1],16))}else for(var E=0;E<l.length;E++){var C=l.charCodeAt(E),k=C>>8,A=C&255;k?y.push(k,A):y.push(A)}return y}e.toArray=n;function o(l){return l.length===1?"0"+l:l}e.zero2=o;function u(l){for(var m="",y=0;y<l.length;y++)m+=o(l[y].toString(16));return m}e.toHex=u,e.encode=function(m,y){return y==="hex"?u(m):m}})(utils$n),function(t){var e=t,n=bnExports$3,o=minimalisticAssert,u=utils$n;e.assert=o,e.toArray=u.toArray,e.zero2=u.zero2,e.toHex=u.toHex,e.encode=u.encode;function l(k,A,D){var P=new Array(Math.max(k.bitLength(),D)+1),R;for(R=0;R<P.length;R+=1)P[R]=0;var B=1<<A+1,F=k.clone();for(R=0;R<P.length;R++){var O,N=F.andln(B-1);F.isOdd()?(N>(B>>1)-1?O=(B>>1)-N:O=N,F.isubn(O)):O=0,P[R]=O,F.iushrn(1)}return P}e.getNAF=l;function m(k,A){var D=[[],[]];k=k.clone(),A=A.clone();for(var P=0,R=0,B;k.cmpn(-P)>0||A.cmpn(-R)>0;){var F=k.andln(3)+P&3,O=A.andln(3)+R&3;F===3&&(F=-1),O===3&&(O=-1);var N;F&1?(B=k.andln(7)+P&7,(B===3||B===5)&&O===2?N=-F:N=F):N=0,D[0].push(N);var Y;O&1?(B=A.andln(7)+R&7,(B===3||B===5)&&F===2?Y=-O:Y=O):Y=0,D[1].push(Y),2*P===N+1&&(P=1-P),2*R===Y+1&&(R=1-R),k.iushrn(1),A.iushrn(1)}return D}e.getJSF=m;function y(k,A,D){var P="_"+A;k.prototype[A]=function(){return this[P]!==void 0?this[P]:this[P]=D.call(this)}}e.cachedProperty=y;function E(k){return typeof k=="string"?e.toArray(k,"hex"):k}e.parseBytes=E;function C(k){return new n(k,"hex","le")}e.intFromLE=C}(utils$o);var curve={},BN$9=bnExports$3,utils$m=utils$o,getNAF=utils$m.getNAF,getJSF=utils$m.getJSF,assert$e=utils$m.assert;function BaseCurve(t,e){this.type=t,this.p=new BN$9(e.p,16),this.red=e.prime?BN$9.red(e.prime):BN$9.mont(this.p),this.zero=new BN$9(0).toRed(this.red),this.one=new BN$9(1).toRed(this.red),this.two=new BN$9(2).toRed(this.red),this.n=e.n&&new BN$9(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var base$1=BaseCurve;BaseCurve.prototype.point=function(){throw new Error("Not implemented")},BaseCurve.prototype.validate=function(){throw new Error("Not implemented")},BaseCurve.prototype._fixedNafMul=function(e,n){assert$e(e.precomputed);var o=e._getDoubles(),u=getNAF(n,1,this._bitLength),l=(1<<o.step+1)-(o.step%2===0?2:1);l/=3;var m=[],y,E;for(y=0;y<u.length;y+=o.step){E=0;for(var C=y+o.step-1;C>=y;C--)E=(E<<1)+u[C];m.push(E)}for(var k=this.jpoint(null,null,null),A=this.jpoint(null,null,null),D=l;D>0;D--){for(y=0;y<m.length;y++)E=m[y],E===D?A=A.mixedAdd(o.points[y]):E===-D&&(A=A.mixedAdd(o.points[y].neg()));k=k.add(A)}return k.toP()},BaseCurve.prototype._wnafMul=function(e,n){var o=4,u=e._getNAFPoints(o);o=u.wnd;for(var l=u.points,m=getNAF(n,o,this._bitLength),y=this.jpoint(null,null,null),E=m.length-1;E>=0;E--){for(var C=0;E>=0&&m[E]===0;E--)C++;if(E>=0&&C++,y=y.dblp(C),E<0)break;var k=m[E];assert$e(k!==0),e.type==="affine"?k>0?y=y.mixedAdd(l[k-1>>1]):y=y.mixedAdd(l[-k-1>>1].neg()):k>0?y=y.add(l[k-1>>1]):y=y.add(l[-k-1>>1].neg())}return e.type==="affine"?y.toP():y},BaseCurve.prototype._wnafMulAdd=function(e,n,o,u,l){var m=this._wnafT1,y=this._wnafT2,E=this._wnafT3,C=0,k,A,D;for(k=0;k<u;k++){D=n[k];var P=D._getNAFPoints(e);m[k]=P.wnd,y[k]=P.points}for(k=u-1;k>=1;k-=2){var R=k-1,B=k;if(m[R]!==1||m[B]!==1){E[R]=getNAF(o[R],m[R],this._bitLength),E[B]=getNAF(o[B],m[B],this._bitLength),C=Math.max(E[R].length,C),C=Math.max(E[B].length,C);continue}var F=[n[R],null,null,n[B]];n[R].y.cmp(n[B].y)===0?(F[1]=n[R].add(n[B]),F[2]=n[R].toJ().mixedAdd(n[B].neg())):n[R].y.cmp(n[B].y.redNeg())===0?(F[1]=n[R].toJ().mixedAdd(n[B]),F[2]=n[R].add(n[B].neg())):(F[1]=n[R].toJ().mixedAdd(n[B]),F[2]=n[R].toJ().mixedAdd(n[B].neg()));var O=[-3,-1,-5,-7,0,7,5,1,3],N=getJSF(o[R],o[B]);for(C=Math.max(N[0].length,C),E[R]=new Array(C),E[B]=new Array(C),A=0;A<C;A++){var Y=N[0][A]|0,J=N[1][A]|0;E[R][A]=O[(Y+1)*3+(J+1)],E[B][A]=0,y[R]=F}}var ie=this.jpoint(null,null,null),ue=this._wnafT4;for(k=C;k>=0;k--){for(var Q=0;k>=0;){var ce=!0;for(A=0;A<u;A++)ue[A]=E[A][k]|0,ue[A]!==0&&(ce=!1);if(!ce)break;Q++,k--}if(k>=0&&Q++,ie=ie.dblp(Q),k<0)break;for(A=0;A<u;A++){var he=ue[A];he!==0&&(he>0?D=y[A][he-1>>1]:he<0&&(D=y[A][-he-1>>1].neg()),D.type==="affine"?ie=ie.mixedAdd(D):ie=ie.add(D))}}for(k=0;k<u;k++)y[k]=null;return l?ie:ie.toP()};function BasePoint(t,e){this.curve=t,this.type=e,this.precomputed=null}BaseCurve.BasePoint=BasePoint,BasePoint.prototype.eq=function(){throw new Error("Not implemented")},BasePoint.prototype.validate=function(){return this.curve.validate(this)},BaseCurve.prototype.decodePoint=function(e,n){e=utils$m.toArray(e,n);var o=this.p.byteLength();if((e[0]===4||e[0]===6||e[0]===7)&&e.length-1===2*o){e[0]===6?assert$e(e[e.length-1]%2===0):e[0]===7&&assert$e(e[e.length-1]%2===1);var u=this.point(e.slice(1,1+o),e.slice(1+o,1+2*o));return u}else if((e[0]===2||e[0]===3)&&e.length-1===o)return this.pointFromX(e.slice(1,1+o),e[0]===3);throw new Error("Unknown point format")},BasePoint.prototype.encodeCompressed=function(e){return this.encode(e,!0)},BasePoint.prototype._encode=function(e){var n=this.curve.p.byteLength(),o=this.getX().toArray("be",n);return e?[this.getY().isEven()?2:3].concat(o):[4].concat(o,this.getY().toArray("be",n))},BasePoint.prototype.encode=function(e,n){return utils$m.encode(this._encode(n),e)},BasePoint.prototype.precompute=function(e){if(this.precomputed)return this;var n={doubles:null,naf:null,beta:null};return n.naf=this._getNAFPoints(8),n.doubles=this._getDoubles(4,e),n.beta=this._getBeta(),this.precomputed=n,this},BasePoint.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var n=this.precomputed.doubles;return n?n.points.length>=Math.ceil((e.bitLength()+1)/n.step):!1},BasePoint.prototype._getDoubles=function(e,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var o=[this],u=this,l=0;l<n;l+=e){for(var m=0;m<e;m++)u=u.dbl();o.push(u)}return{step:e,points:o}},BasePoint.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var n=[this],o=(1<<e)-1,u=o===1?null:this.dbl(),l=1;l<o;l++)n[l]=n[l-1].add(u);return{wnd:e,points:n}},BasePoint.prototype._getBeta=function(){return null},BasePoint.prototype.dblp=function(e){for(var n=this,o=0;o<e;o++)n=n.dbl();return n};var utils$l=utils$o,BN$8=bnExports$3,inherits$4=inherits_browserExports,Base$2=base$1,assert$d=utils$l.assert;function ShortCurve(t){Base$2.call(this,"short",t),this.a=new BN$8(t.a,16).toRed(this.red),this.b=new BN$8(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}inherits$4(ShortCurve,Base$2);var short=ShortCurve;ShortCurve.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var n,o;if(e.beta)n=new BN$8(e.beta,16).toRed(this.red);else{var u=this._getEndoRoots(this.p);n=u[0].cmp(u[1])<0?u[0]:u[1],n=n.toRed(this.red)}if(e.lambda)o=new BN$8(e.lambda,16);else{var l=this._getEndoRoots(this.n);this.g.mul(l[0]).x.cmp(this.g.x.redMul(n))===0?o=l[0]:(o=l[1],assert$d(this.g.mul(o).x.cmp(this.g.x.redMul(n))===0))}var m;return e.basis?m=e.basis.map(function(y){return{a:new BN$8(y.a,16),b:new BN$8(y.b,16)}}):m=this._getEndoBasis(o),{beta:n,lambda:o,basis:m}}},ShortCurve.prototype._getEndoRoots=function(e){var n=e===this.p?this.red:BN$8.mont(e),o=new BN$8(2).toRed(n).redInvm(),u=o.redNeg(),l=new BN$8(3).toRed(n).redNeg().redSqrt().redMul(o),m=u.redAdd(l).fromRed(),y=u.redSub(l).fromRed();return[m,y]},ShortCurve.prototype._getEndoBasis=function(e){for(var n=this.n.ushrn(Math.floor(this.n.bitLength()/2)),o=e,u=this.n.clone(),l=new BN$8(1),m=new BN$8(0),y=new BN$8(0),E=new BN$8(1),C,k,A,D,P,R,B,F=0,O,N;o.cmpn(0)!==0;){var Y=u.div(o);O=u.sub(Y.mul(o)),N=y.sub(Y.mul(l));var J=E.sub(Y.mul(m));if(!A&&O.cmp(n)<0)C=B.neg(),k=l,A=O.neg(),D=N;else if(A&&++F===2)break;B=O,u=o,o=O,y=l,l=N,E=m,m=J}P=O.neg(),R=N;var ie=A.sqr().add(D.sqr()),ue=P.sqr().add(R.sqr());return ue.cmp(ie)>=0&&(P=C,R=k),A.negative&&(A=A.neg(),D=D.neg()),P.negative&&(P=P.neg(),R=R.neg()),[{a:A,b:D},{a:P,b:R}]},ShortCurve.prototype._endoSplit=function(e){var n=this.endo.basis,o=n[0],u=n[1],l=u.b.mul(e).divRound(this.n),m=o.b.neg().mul(e).divRound(this.n),y=l.mul(o.a),E=m.mul(u.a),C=l.mul(o.b),k=m.mul(u.b),A=e.sub(y).sub(E),D=C.add(k).neg();return{k1:A,k2:D}},ShortCurve.prototype.pointFromX=function(e,n){e=new BN$8(e,16),e.red||(e=e.toRed(this.red));var o=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),u=o.redSqrt();if(u.redSqr().redSub(o).cmp(this.zero)!==0)throw new Error("invalid point");var l=u.fromRed().isOdd();return(n&&!l||!n&&l)&&(u=u.redNeg()),this.point(e,u)},ShortCurve.prototype.validate=function(e){if(e.inf)return!0;var n=e.x,o=e.y,u=this.a.redMul(n),l=n.redSqr().redMul(n).redIAdd(u).redIAdd(this.b);return o.redSqr().redISub(l).cmpn(0)===0},ShortCurve.prototype._endoWnafMulAdd=function(e,n,o){for(var u=this._endoWnafT1,l=this._endoWnafT2,m=0;m<e.length;m++){var y=this._endoSplit(n[m]),E=e[m],C=E._getBeta();y.k1.negative&&(y.k1.ineg(),E=E.neg(!0)),y.k2.negative&&(y.k2.ineg(),C=C.neg(!0)),u[m*2]=E,u[m*2+1]=C,l[m*2]=y.k1,l[m*2+1]=y.k2}for(var k=this._wnafMulAdd(1,u,l,m*2,o),A=0;A<m*2;A++)u[A]=null,l[A]=null;return k};function Point$2(t,e,n,o){Base$2.BasePoint.call(this,t,"affine"),e===null&&n===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new BN$8(e,16),this.y=new BN$8(n,16),o&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}inherits$4(Point$2,Base$2.BasePoint),ShortCurve.prototype.point=function(e,n,o){return new Point$2(this,e,n,o)},ShortCurve.prototype.pointFromJSON=function(e,n){return Point$2.fromJSON(this,e,n)},Point$2.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var n=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var o=this.curve,u=function(l){return o.point(l.x.redMul(o.endo.beta),l.y)};e.beta=n,n.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(u)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(u)}}}return n}},Point$2.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},Point$2.fromJSON=function(e,n,o){typeof n=="string"&&(n=JSON.parse(n));var u=e.point(n[0],n[1],o);if(!n[2])return u;function l(y){return e.point(y[0],y[1],o)}var m=n[2];return u.precomputed={beta:null,doubles:m.doubles&&{step:m.doubles.step,points:[u].concat(m.doubles.points.map(l))},naf:m.naf&&{wnd:m.naf.wnd,points:[u].concat(m.naf.points.map(l))}},u},Point$2.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},Point$2.prototype.isInfinity=function(){return this.inf},Point$2.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var n=this.y.redSub(e.y);n.cmpn(0)!==0&&(n=n.redMul(this.x.redSub(e.x).redInvm()));var o=n.redSqr().redISub(this.x).redISub(e.x),u=n.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,u)},Point$2.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var n=this.curve.a,o=this.x.redSqr(),u=e.redInvm(),l=o.redAdd(o).redIAdd(o).redIAdd(n).redMul(u),m=l.redSqr().redISub(this.x.redAdd(this.x)),y=l.redMul(this.x.redSub(m)).redISub(this.y);return this.curve.point(m,y)},Point$2.prototype.getX=function(){return this.x.fromRed()},Point$2.prototype.getY=function(){return this.y.fromRed()},Point$2.prototype.mul=function(e){return e=new BN$8(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},Point$2.prototype.mulAdd=function(e,n,o){var u=[this,n],l=[e,o];return this.curve.endo?this.curve._endoWnafMulAdd(u,l):this.curve._wnafMulAdd(1,u,l,2)},Point$2.prototype.jmulAdd=function(e,n,o){var u=[this,n],l=[e,o];return this.curve.endo?this.curve._endoWnafMulAdd(u,l,!0):this.curve._wnafMulAdd(1,u,l,2,!0)},Point$2.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)},Point$2.prototype.neg=function(e){if(this.inf)return this;var n=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var o=this.precomputed,u=function(l){return l.neg()};n.precomputed={naf:o.naf&&{wnd:o.naf.wnd,points:o.naf.points.map(u)},doubles:o.doubles&&{step:o.doubles.step,points:o.doubles.points.map(u)}}}return n},Point$2.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function JPoint(t,e,n,o){Base$2.BasePoint.call(this,t,"jacobian"),e===null&&n===null&&o===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new BN$8(0)):(this.x=new BN$8(e,16),this.y=new BN$8(n,16),this.z=new BN$8(o,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}inherits$4(JPoint,Base$2.BasePoint),ShortCurve.prototype.jpoint=function(e,n,o){return new JPoint(this,e,n,o)},JPoint.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),n=e.redSqr(),o=this.x.redMul(n),u=this.y.redMul(n).redMul(e);return this.curve.point(o,u)},JPoint.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},JPoint.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var n=e.z.redSqr(),o=this.z.redSqr(),u=this.x.redMul(n),l=e.x.redMul(o),m=this.y.redMul(n.redMul(e.z)),y=e.y.redMul(o.redMul(this.z)),E=u.redSub(l),C=m.redSub(y);if(E.cmpn(0)===0)return C.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var k=E.redSqr(),A=k.redMul(E),D=u.redMul(k),P=C.redSqr().redIAdd(A).redISub(D).redISub(D),R=C.redMul(D.redISub(P)).redISub(m.redMul(A)),B=this.z.redMul(e.z).redMul(E);return this.curve.jpoint(P,R,B)},JPoint.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var n=this.z.redSqr(),o=this.x,u=e.x.redMul(n),l=this.y,m=e.y.redMul(n).redMul(this.z),y=o.redSub(u),E=l.redSub(m);if(y.cmpn(0)===0)return E.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var C=y.redSqr(),k=C.redMul(y),A=o.redMul(C),D=E.redSqr().redIAdd(k).redISub(A).redISub(A),P=E.redMul(A.redISub(D)).redISub(l.redMul(k)),R=this.z.redMul(y);return this.curve.jpoint(D,P,R)},JPoint.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var n;if(this.curve.zeroA||this.curve.threeA){var o=this;for(n=0;n<e;n++)o=o.dbl();return o}var u=this.curve.a,l=this.curve.tinv,m=this.x,y=this.y,E=this.z,C=E.redSqr().redSqr(),k=y.redAdd(y);for(n=0;n<e;n++){var A=m.redSqr(),D=k.redSqr(),P=D.redSqr(),R=A.redAdd(A).redIAdd(A).redIAdd(u.redMul(C)),B=m.redMul(D),F=R.redSqr().redISub(B.redAdd(B)),O=B.redISub(F),N=R.redMul(O);N=N.redIAdd(N).redISub(P);var Y=k.redMul(E);n+1<e&&(C=C.redMul(P)),m=F,E=Y,k=N}return this.curve.jpoint(m,k.redMul(l),E)},JPoint.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},JPoint.prototype._zeroDbl=function(){var e,n,o;if(this.zOne){var u=this.x.redSqr(),l=this.y.redSqr(),m=l.redSqr(),y=this.x.redAdd(l).redSqr().redISub(u).redISub(m);y=y.redIAdd(y);var E=u.redAdd(u).redIAdd(u),C=E.redSqr().redISub(y).redISub(y),k=m.redIAdd(m);k=k.redIAdd(k),k=k.redIAdd(k),e=C,n=E.redMul(y.redISub(C)).redISub(k),o=this.y.redAdd(this.y)}else{var A=this.x.redSqr(),D=this.y.redSqr(),P=D.redSqr(),R=this.x.redAdd(D).redSqr().redISub(A).redISub(P);R=R.redIAdd(R);var B=A.redAdd(A).redIAdd(A),F=B.redSqr(),O=P.redIAdd(P);O=O.redIAdd(O),O=O.redIAdd(O),e=F.redISub(R).redISub(R),n=B.redMul(R.redISub(e)).redISub(O),o=this.y.redMul(this.z),o=o.redIAdd(o)}return this.curve.jpoint(e,n,o)},JPoint.prototype._threeDbl=function(){var e,n,o;if(this.zOne){var u=this.x.redSqr(),l=this.y.redSqr(),m=l.redSqr(),y=this.x.redAdd(l).redSqr().redISub(u).redISub(m);y=y.redIAdd(y);var E=u.redAdd(u).redIAdd(u).redIAdd(this.curve.a),C=E.redSqr().redISub(y).redISub(y);e=C;var k=m.redIAdd(m);k=k.redIAdd(k),k=k.redIAdd(k),n=E.redMul(y.redISub(C)).redISub(k),o=this.y.redAdd(this.y)}else{var A=this.z.redSqr(),D=this.y.redSqr(),P=this.x.redMul(D),R=this.x.redSub(A).redMul(this.x.redAdd(A));R=R.redAdd(R).redIAdd(R);var B=P.redIAdd(P);B=B.redIAdd(B);var F=B.redAdd(B);e=R.redSqr().redISub(F),o=this.y.redAdd(this.z).redSqr().redISub(D).redISub(A);var O=D.redSqr();O=O.redIAdd(O),O=O.redIAdd(O),O=O.redIAdd(O),n=R.redMul(B.redISub(e)).redISub(O)}return this.curve.jpoint(e,n,o)},JPoint.prototype._dbl=function(){var e=this.curve.a,n=this.x,o=this.y,u=this.z,l=u.redSqr().redSqr(),m=n.redSqr(),y=o.redSqr(),E=m.redAdd(m).redIAdd(m).redIAdd(e.redMul(l)),C=n.redAdd(n);C=C.redIAdd(C);var k=C.redMul(y),A=E.redSqr().redISub(k.redAdd(k)),D=k.redISub(A),P=y.redSqr();P=P.redIAdd(P),P=P.redIAdd(P),P=P.redIAdd(P);var R=E.redMul(D).redISub(P),B=o.redAdd(o).redMul(u);return this.curve.jpoint(A,R,B)},JPoint.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),n=this.y.redSqr(),o=this.z.redSqr(),u=n.redSqr(),l=e.redAdd(e).redIAdd(e),m=l.redSqr(),y=this.x.redAdd(n).redSqr().redISub(e).redISub(u);y=y.redIAdd(y),y=y.redAdd(y).redIAdd(y),y=y.redISub(m);var E=y.redSqr(),C=u.redIAdd(u);C=C.redIAdd(C),C=C.redIAdd(C),C=C.redIAdd(C);var k=l.redIAdd(y).redSqr().redISub(m).redISub(E).redISub(C),A=n.redMul(k);A=A.redIAdd(A),A=A.redIAdd(A);var D=this.x.redMul(E).redISub(A);D=D.redIAdd(D),D=D.redIAdd(D);var P=this.y.redMul(k.redMul(C.redISub(k)).redISub(y.redMul(E)));P=P.redIAdd(P),P=P.redIAdd(P),P=P.redIAdd(P);var R=this.z.redAdd(y).redSqr().redISub(o).redISub(E);return this.curve.jpoint(D,P,R)},JPoint.prototype.mul=function(e,n){return e=new BN$8(e,n),this.curve._wnafMul(this,e)},JPoint.prototype.eq=function(e){if(e.type==="affine")return this.eq(e.toJ());if(this===e)return!0;var n=this.z.redSqr(),o=e.z.redSqr();if(this.x.redMul(o).redISub(e.x.redMul(n)).cmpn(0)!==0)return!1;var u=n.redMul(this.z),l=o.redMul(e.z);return this.y.redMul(l).redISub(e.y.redMul(u)).cmpn(0)===0},JPoint.prototype.eqXToP=function(e){var n=this.z.redSqr(),o=e.toRed(this.curve.red).redMul(n);if(this.x.cmp(o)===0)return!0;for(var u=e.clone(),l=this.curve.redN.redMul(n);;){if(u.iadd(this.curve.n),u.cmp(this.curve.p)>=0)return!1;if(o.redIAdd(l),this.x.cmp(o)===0)return!0}},JPoint.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},JPoint.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var BN$7=bnExports$3,inherits$3=inherits_browserExports,Base$1=base$1,utils$k=utils$o;function MontCurve(t){Base$1.call(this,"mont",t),this.a=new BN$7(t.a,16).toRed(this.red),this.b=new BN$7(t.b,16).toRed(this.red),this.i4=new BN$7(4).toRed(this.red).redInvm(),this.two=new BN$7(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}inherits$3(MontCurve,Base$1);var mont=MontCurve;MontCurve.prototype.validate=function(e){var n=e.normalize().x,o=n.redSqr(),u=o.redMul(n).redAdd(o.redMul(this.a)).redAdd(n),l=u.redSqrt();return l.redSqr().cmp(u)===0};function Point$1(t,e,n){Base$1.BasePoint.call(this,t,"projective"),e===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new BN$7(e,16),this.z=new BN$7(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}inherits$3(Point$1,Base$1.BasePoint),MontCurve.prototype.decodePoint=function(e,n){return this.point(utils$k.toArray(e,n),1)},MontCurve.prototype.point=function(e,n){return new Point$1(this,e,n)},MontCurve.prototype.pointFromJSON=function(e){return Point$1.fromJSON(this,e)},Point$1.prototype.precompute=function(){},Point$1.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},Point$1.fromJSON=function(e,n){return new Point$1(e,n[0],n[1]||e.one)},Point$1.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point$1.prototype.isInfinity=function(){return this.z.cmpn(0)===0},Point$1.prototype.dbl=function(){var e=this.x.redAdd(this.z),n=e.redSqr(),o=this.x.redSub(this.z),u=o.redSqr(),l=n.redSub(u),m=n.redMul(u),y=l.redMul(u.redAdd(this.curve.a24.redMul(l)));return this.curve.point(m,y)},Point$1.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},Point$1.prototype.diffAdd=function(e,n){var o=this.x.redAdd(this.z),u=this.x.redSub(this.z),l=e.x.redAdd(e.z),m=e.x.redSub(e.z),y=m.redMul(o),E=l.redMul(u),C=n.z.redMul(y.redAdd(E).redSqr()),k=n.x.redMul(y.redISub(E).redSqr());return this.curve.point(C,k)},Point$1.prototype.mul=function(e){for(var n=e.clone(),o=this,u=this.curve.point(null,null),l=this,m=[];n.cmpn(0)!==0;n.iushrn(1))m.push(n.andln(1));for(var y=m.length-1;y>=0;y--)m[y]===0?(o=o.diffAdd(u,l),u=u.dbl()):(u=o.diffAdd(u,l),o=o.dbl());return u},Point$1.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},Point$1.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},Point$1.prototype.eq=function(e){return this.getX().cmp(e.getX())===0},Point$1.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},Point$1.prototype.getX=function(){return this.normalize(),this.x.fromRed()};var utils$j=utils$o,BN$6=bnExports$3,inherits$2=inherits_browserExports,Base=base$1,assert$c=utils$j.assert;function EdwardsCurve(t){this.twisted=(t.a|0)!==1,this.mOneA=this.twisted&&(t.a|0)===-1,this.extended=this.mOneA,Base.call(this,"edwards",t),this.a=new BN$6(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new BN$6(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new BN$6(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),assert$c(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(t.c|0)===1}inherits$2(EdwardsCurve,Base);var edwards=EdwardsCurve;EdwardsCurve.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},EdwardsCurve.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},EdwardsCurve.prototype.jpoint=function(e,n,o,u){return this.point(e,n,o,u)},EdwardsCurve.prototype.pointFromX=function(e,n){e=new BN$6(e,16),e.red||(e=e.toRed(this.red));var o=e.redSqr(),u=this.c2.redSub(this.a.redMul(o)),l=this.one.redSub(this.c2.redMul(this.d).redMul(o)),m=u.redMul(l.redInvm()),y=m.redSqrt();if(y.redSqr().redSub(m).cmp(this.zero)!==0)throw new Error("invalid point");var E=y.fromRed().isOdd();return(n&&!E||!n&&E)&&(y=y.redNeg()),this.point(e,y)},EdwardsCurve.prototype.pointFromY=function(e,n){e=new BN$6(e,16),e.red||(e=e.toRed(this.red));var o=e.redSqr(),u=o.redSub(this.c2),l=o.redMul(this.d).redMul(this.c2).redSub(this.a),m=u.redMul(l.redInvm());if(m.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,e)}var y=m.redSqrt();if(y.redSqr().redSub(m).cmp(this.zero)!==0)throw new Error("invalid point");return y.fromRed().isOdd()!==n&&(y=y.redNeg()),this.point(y,e)},EdwardsCurve.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var n=e.x.redSqr(),o=e.y.redSqr(),u=n.redMul(this.a).redAdd(o),l=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(o)));return u.cmp(l)===0};function Point(t,e,n,o,u){Base.BasePoint.call(this,t,"projective"),e===null&&n===null&&o===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new BN$6(e,16),this.y=new BN$6(n,16),this.z=o?new BN$6(o,16):this.curve.one,this.t=u&&new BN$6(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}inherits$2(Point,Base.BasePoint),EdwardsCurve.prototype.pointFromJSON=function(e){return Point.fromJSON(this,e)},EdwardsCurve.prototype.point=function(e,n,o,u){return new Point(this,e,n,o,u)},Point.fromJSON=function(e,n){return new Point(e,n[0],n[1],n[2])},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},Point.prototype._extDbl=function(){var e=this.x.redSqr(),n=this.y.redSqr(),o=this.z.redSqr();o=o.redIAdd(o);var u=this.curve._mulA(e),l=this.x.redAdd(this.y).redSqr().redISub(e).redISub(n),m=u.redAdd(n),y=m.redSub(o),E=u.redSub(n),C=l.redMul(y),k=m.redMul(E),A=l.redMul(E),D=y.redMul(m);return this.curve.point(C,k,D,A)},Point.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),o=this.y.redSqr(),u,l,m,y,E,C;if(this.curve.twisted){y=this.curve._mulA(n);var k=y.redAdd(o);this.zOne?(u=e.redSub(n).redSub(o).redMul(k.redSub(this.curve.two)),l=k.redMul(y.redSub(o)),m=k.redSqr().redSub(k).redSub(k)):(E=this.z.redSqr(),C=k.redSub(E).redISub(E),u=e.redSub(n).redISub(o).redMul(C),l=k.redMul(y.redSub(o)),m=k.redMul(C))}else y=n.redAdd(o),E=this.curve._mulC(this.z).redSqr(),C=y.redSub(E).redSub(E),u=this.curve._mulC(e.redISub(y)).redMul(C),l=this.curve._mulC(y).redMul(n.redISub(o)),m=y.redMul(C);return this.curve.point(u,l,m)},Point.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},Point.prototype._extAdd=function(e){var n=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),o=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),u=this.t.redMul(this.curve.dd).redMul(e.t),l=this.z.redMul(e.z.redAdd(e.z)),m=o.redSub(n),y=l.redSub(u),E=l.redAdd(u),C=o.redAdd(n),k=m.redMul(y),A=E.redMul(C),D=m.redMul(C),P=y.redMul(E);return this.curve.point(k,A,P,D)},Point.prototype._projAdd=function(e){var n=this.z.redMul(e.z),o=n.redSqr(),u=this.x.redMul(e.x),l=this.y.redMul(e.y),m=this.curve.d.redMul(u).redMul(l),y=o.redSub(m),E=o.redAdd(m),C=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(u).redISub(l),k=n.redMul(y).redMul(C),A,D;return this.curve.twisted?(A=n.redMul(E).redMul(l.redSub(this.curve._mulA(u))),D=y.redMul(E)):(A=n.redMul(E).redMul(l.redSub(u)),D=this.curve._mulC(y).redMul(E)),this.curve.point(k,A,D)},Point.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},Point.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},Point.prototype.mulAdd=function(e,n,o){return this.curve._wnafMulAdd(1,[this,n],[e,o],2,!1)},Point.prototype.jmulAdd=function(e,n,o){return this.curve._wnafMulAdd(1,[this,n],[e,o],2,!0)},Point.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},Point.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()},Point.prototype.getY=function(){return this.normalize(),this.y.fromRed()},Point.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0},Point.prototype.eqXToP=function(e){var n=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var o=e.clone(),u=this.curve.redN.redMul(this.z);;){if(o.iadd(this.curve.n),o.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(u),this.x.cmp(n)===0)return!0}},Point.prototype.toP=Point.prototype.normalize,Point.prototype.mixedAdd=Point.prototype.add,function(t){var e=t;e.base=base$1,e.short=short,e.mont=mont,e.edwards=edwards}(curve);var curves$1={},hash$2={},utils$i={},assert$b=minimalisticAssert,inherits$1=inherits_browserExports;utils$i.inherits=inherits$1;function isSurrogatePair(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function toArray(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if(typeof t=="string")if(e){if(e==="hex")for(t=t.replace(/[^a-z0-9]+/ig,""),t.length%2!==0&&(t="0"+t),u=0;u<t.length;u+=2)n.push(parseInt(t[u]+t[u+1],16))}else for(var o=0,u=0;u<t.length;u++){var l=t.charCodeAt(u);l<128?n[o++]=l:l<2048?(n[o++]=l>>6|192,n[o++]=l&63|128):isSurrogatePair(t,u)?(l=65536+((l&1023)<<10)+(t.charCodeAt(++u)&1023),n[o++]=l>>18|240,n[o++]=l>>12&63|128,n[o++]=l>>6&63|128,n[o++]=l&63|128):(n[o++]=l>>12|224,n[o++]=l>>6&63|128,n[o++]=l&63|128)}else for(u=0;u<t.length;u++)n[u]=t[u]|0;return n}utils$i.toArray=toArray;function toHex(t){for(var e="",n=0;n<t.length;n++)e+=zero2(t[n].toString(16));return e}utils$i.toHex=toHex;function htonl(t){var e=t>>>24|t>>>8&65280|t<<8&16711680|(t&255)<<24;return e>>>0}utils$i.htonl=htonl;function toHex32(t,e){for(var n="",o=0;o<t.length;o++){var u=t[o];e==="little"&&(u=htonl(u)),n+=zero8(u.toString(16))}return n}utils$i.toHex32=toHex32;function zero2(t){return t.length===1?"0"+t:t}utils$i.zero2=zero2;function zero8(t){return t.length===7?"0"+t:t.length===6?"00"+t:t.length===5?"000"+t:t.length===4?"0000"+t:t.length===3?"00000"+t:t.length===2?"000000"+t:t.length===1?"0000000"+t:t}utils$i.zero8=zero8;function join32(t,e,n,o){var u=n-e;assert$b(u%4===0);for(var l=new Array(u/4),m=0,y=e;m<l.length;m++,y+=4){var E;o==="big"?E=t[y]<<24|t[y+1]<<16|t[y+2]<<8|t[y+3]:E=t[y+3]<<24|t[y+2]<<16|t[y+1]<<8|t[y],l[m]=E>>>0}return l}utils$i.join32=join32;function split32(t,e){for(var n=new Array(t.length*4),o=0,u=0;o<t.length;o++,u+=4){var l=t[o];e==="big"?(n[u]=l>>>24,n[u+1]=l>>>16&255,n[u+2]=l>>>8&255,n[u+3]=l&255):(n[u+3]=l>>>24,n[u+2]=l>>>16&255,n[u+1]=l>>>8&255,n[u]=l&255)}return n}utils$i.split32=split32;function rotr32$1(t,e){return t>>>e|t<<32-e}utils$i.rotr32=rotr32$1;function rotl32$2(t,e){return t<<e|t>>>32-e}utils$i.rotl32=rotl32$2;function sum32$3(t,e){return t+e>>>0}utils$i.sum32=sum32$3;function sum32_3$1(t,e,n){return t+e+n>>>0}utils$i.sum32_3=sum32_3$1;function sum32_4$2(t,e,n,o){return t+e+n+o>>>0}utils$i.sum32_4=sum32_4$2;function sum32_5$2(t,e,n,o,u){return t+e+n+o+u>>>0}utils$i.sum32_5=sum32_5$2;function sum64$1(t,e,n,o){var u=t[e],l=t[e+1],m=o+l>>>0,y=(m<o?1:0)+n+u;t[e]=y>>>0,t[e+1]=m}utils$i.sum64=sum64$1;function sum64_hi$1(t,e,n,o){var u=e+o>>>0,l=(u<e?1:0)+t+n;return l>>>0}utils$i.sum64_hi=sum64_hi$1;function sum64_lo$1(t,e,n,o){var u=e+o;return u>>>0}utils$i.sum64_lo=sum64_lo$1;function sum64_4_hi$1(t,e,n,o,u,l,m,y){var E=0,C=e;C=C+o>>>0,E+=C<e?1:0,C=C+l>>>0,E+=C<l?1:0,C=C+y>>>0,E+=C<y?1:0;var k=t+n+u+m+E;return k>>>0}utils$i.sum64_4_hi=sum64_4_hi$1;function sum64_4_lo$1(t,e,n,o,u,l,m,y){var E=e+o+l+y;return E>>>0}utils$i.sum64_4_lo=sum64_4_lo$1;function sum64_5_hi$1(t,e,n,o,u,l,m,y,E,C){var k=0,A=e;A=A+o>>>0,k+=A<e?1:0,A=A+l>>>0,k+=A<l?1:0,A=A+y>>>0,k+=A<y?1:0,A=A+C>>>0,k+=A<C?1:0;var D=t+n+u+m+E+k;return D>>>0}utils$i.sum64_5_hi=sum64_5_hi$1;function sum64_5_lo$1(t,e,n,o,u,l,m,y,E,C){var k=e+o+l+y+C;return k>>>0}utils$i.sum64_5_lo=sum64_5_lo$1;function rotr64_hi$1(t,e,n){var o=e<<32-n|t>>>n;return o>>>0}utils$i.rotr64_hi=rotr64_hi$1;function rotr64_lo$1(t,e,n){var o=t<<32-n|e>>>n;return o>>>0}utils$i.rotr64_lo=rotr64_lo$1;function shr64_hi$1(t,e,n){return t>>>n}utils$i.shr64_hi=shr64_hi$1;function shr64_lo$1(t,e,n){var o=t<<32-n|e>>>n;return o>>>0}utils$i.shr64_lo=shr64_lo$1;var common$6={},utils$h=utils$i,assert$a=minimalisticAssert;function BlockHash$4(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}common$6.BlockHash=BlockHash$4,BlockHash$4.prototype.update=function(e,n){if(e=utils$h.toArray(e,n),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var o=e.length%this._delta8;this.pending=e.slice(e.length-o,e.length),this.pending.length===0&&(this.pending=null),e=utils$h.join32(e,0,e.length-o,this.endian);for(var u=0;u<e.length;u+=this._delta32)this._update(e,u,u+this._delta32)}return this},BlockHash$4.prototype.digest=function(e){return this.update(this._pad()),assert$a(this.pending===null),this._digest(e)},BlockHash$4.prototype._pad=function(){var e=this.pendingTotal,n=this._delta8,o=n-(e+this.padLength)%n,u=new Array(o+this.padLength);u[0]=128;for(var l=1;l<o;l++)u[l]=0;if(e<<=3,this.endian==="big"){for(var m=8;m<this.padLength;m++)u[l++]=0;u[l++]=0,u[l++]=0,u[l++]=0,u[l++]=0,u[l++]=e>>>24&255,u[l++]=e>>>16&255,u[l++]=e>>>8&255,u[l++]=e&255}else for(u[l++]=e&255,u[l++]=e>>>8&255,u[l++]=e>>>16&255,u[l++]=e>>>24&255,u[l++]=0,u[l++]=0,u[l++]=0,u[l++]=0,m=8;m<this.padLength;m++)u[l++]=0;return u};var sha={},common$5={},utils$g=utils$i,rotr32=utils$g.rotr32;function ft_1$1(t,e,n,o){if(t===0)return ch32$1(e,n,o);if(t===1||t===3)return p32(e,n,o);if(t===2)return maj32$1(e,n,o)}common$5.ft_1=ft_1$1;function ch32$1(t,e,n){return t&e^~t&n}common$5.ch32=ch32$1;function maj32$1(t,e,n){return t&e^t&n^e&n}common$5.maj32=maj32$1;function p32(t,e,n){return t^e^n}common$5.p32=p32;function s0_256$1(t){return rotr32(t,2)^rotr32(t,13)^rotr32(t,22)}common$5.s0_256=s0_256$1;function s1_256$1(t){return rotr32(t,6)^rotr32(t,11)^rotr32(t,25)}common$5.s1_256=s1_256$1;function g0_256$1(t){return rotr32(t,7)^rotr32(t,18)^t>>>3}common$5.g0_256=g0_256$1;function g1_256$1(t){return rotr32(t,17)^rotr32(t,19)^t>>>10}common$5.g1_256=g1_256$1;var utils$f=utils$i,common$4=common$6,shaCommon$1=common$5,rotl32$1=utils$f.rotl32,sum32$2=utils$f.sum32,sum32_5$1=utils$f.sum32_5,ft_1=shaCommon$1.ft_1,BlockHash$3=common$4.BlockHash,sha1_K=[1518500249,1859775393,2400959708,3395469782];function SHA1(){if(!(this instanceof SHA1))return new SHA1;BlockHash$3.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}utils$f.inherits(SHA1,BlockHash$3);var _1=SHA1;SHA1.blockSize=512,SHA1.outSize=160,SHA1.hmacStrength=80,SHA1.padLength=64,SHA1.prototype._update=function(e,n){for(var o=this.W,u=0;u<16;u++)o[u]=e[n+u];for(;u<o.length;u++)o[u]=rotl32$1(o[u-3]^o[u-8]^o[u-14]^o[u-16],1);var l=this.h[0],m=this.h[1],y=this.h[2],E=this.h[3],C=this.h[4];for(u=0;u<o.length;u++){var k=~~(u/20),A=sum32_5$1(rotl32$1(l,5),ft_1(k,m,y,E),C,o[u],sha1_K[k]);C=E,E=y,y=rotl32$1(m,30),m=l,l=A}this.h[0]=sum32$2(this.h[0],l),this.h[1]=sum32$2(this.h[1],m),this.h[2]=sum32$2(this.h[2],y),this.h[3]=sum32$2(this.h[3],E),this.h[4]=sum32$2(this.h[4],C)},SHA1.prototype._digest=function(e){return e==="hex"?utils$f.toHex32(this.h,"big"):utils$f.split32(this.h,"big")};var utils$e=utils$i,common$3=common$6,shaCommon=common$5,assert$9=minimalisticAssert,sum32$1=utils$e.sum32,sum32_4$1=utils$e.sum32_4,sum32_5=utils$e.sum32_5,ch32=shaCommon.ch32,maj32=shaCommon.maj32,s0_256=shaCommon.s0_256,s1_256=shaCommon.s1_256,g0_256=shaCommon.g0_256,g1_256=shaCommon.g1_256,BlockHash$2=common$3.BlockHash,sha256_K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function SHA256$1(){if(!(this instanceof SHA256$1))return new SHA256$1;BlockHash$2.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=sha256_K,this.W=new Array(64)}utils$e.inherits(SHA256$1,BlockHash$2);var _256=SHA256$1;SHA256$1.blockSize=512,SHA256$1.outSize=256,SHA256$1.hmacStrength=192,SHA256$1.padLength=64,SHA256$1.prototype._update=function(e,n){for(var o=this.W,u=0;u<16;u++)o[u]=e[n+u];for(;u<o.length;u++)o[u]=sum32_4$1(g1_256(o[u-2]),o[u-7],g0_256(o[u-15]),o[u-16]);var l=this.h[0],m=this.h[1],y=this.h[2],E=this.h[3],C=this.h[4],k=this.h[5],A=this.h[6],D=this.h[7];for(assert$9(this.k.length===o.length),u=0;u<o.length;u++){var P=sum32_5(D,s1_256(C),ch32(C,k,A),this.k[u],o[u]),R=sum32$1(s0_256(l),maj32(l,m,y));D=A,A=k,k=C,C=sum32$1(E,P),E=y,y=m,m=l,l=sum32$1(P,R)}this.h[0]=sum32$1(this.h[0],l),this.h[1]=sum32$1(this.h[1],m),this.h[2]=sum32$1(this.h[2],y),this.h[3]=sum32$1(this.h[3],E),this.h[4]=sum32$1(this.h[4],C),this.h[5]=sum32$1(this.h[5],k),this.h[6]=sum32$1(this.h[6],A),this.h[7]=sum32$1(this.h[7],D)},SHA256$1.prototype._digest=function(e){return e==="hex"?utils$e.toHex32(this.h,"big"):utils$e.split32(this.h,"big")};var utils$d=utils$i,SHA256=_256;function SHA224(){if(!(this instanceof SHA224))return new SHA224;SHA256.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}utils$d.inherits(SHA224,SHA256);var _224=SHA224;SHA224.blockSize=512,SHA224.outSize=224,SHA224.hmacStrength=192,SHA224.padLength=64,SHA224.prototype._digest=function(e){return e==="hex"?utils$d.toHex32(this.h.slice(0,7),"big"):utils$d.split32(this.h.slice(0,7),"big")};var utils$c=utils$i,common$2=common$6,assert$8=minimalisticAssert,rotr64_hi=utils$c.rotr64_hi,rotr64_lo=utils$c.rotr64_lo,shr64_hi=utils$c.shr64_hi,shr64_lo=utils$c.shr64_lo,sum64=utils$c.sum64,sum64_hi=utils$c.sum64_hi,sum64_lo=utils$c.sum64_lo,sum64_4_hi=utils$c.sum64_4_hi,sum64_4_lo=utils$c.sum64_4_lo,sum64_5_hi=utils$c.sum64_5_hi,sum64_5_lo=utils$c.sum64_5_lo,BlockHash$1=common$2.BlockHash,sha512_K=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function SHA512$1(){if(!(this instanceof SHA512$1))return new SHA512$1;BlockHash$1.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=sha512_K,this.W=new Array(160)}utils$c.inherits(SHA512$1,BlockHash$1);var _512=SHA512$1;SHA512$1.blockSize=1024,SHA512$1.outSize=512,SHA512$1.hmacStrength=192,SHA512$1.padLength=128,SHA512$1.prototype._prepareBlock=function(e,n){for(var o=this.W,u=0;u<32;u++)o[u]=e[n+u];for(;u<o.length;u+=2){var l=g1_512_hi(o[u-4],o[u-3]),m=g1_512_lo(o[u-4],o[u-3]),y=o[u-14],E=o[u-13],C=g0_512_hi(o[u-30],o[u-29]),k=g0_512_lo(o[u-30],o[u-29]),A=o[u-32],D=o[u-31];o[u]=sum64_4_hi(l,m,y,E,C,k,A,D),o[u+1]=sum64_4_lo(l,m,y,E,C,k,A,D)}},SHA512$1.prototype._update=function(e,n){this._prepareBlock(e,n);var o=this.W,u=this.h[0],l=this.h[1],m=this.h[2],y=this.h[3],E=this.h[4],C=this.h[5],k=this.h[6],A=this.h[7],D=this.h[8],P=this.h[9],R=this.h[10],B=this.h[11],F=this.h[12],O=this.h[13],N=this.h[14],Y=this.h[15];assert$8(this.k.length===o.length);for(var J=0;J<o.length;J+=2){var ie=N,ue=Y,Q=s1_512_hi(D,P),ce=s1_512_lo(D,P),he=ch64_hi(D,P,R,B,F),ke=ch64_lo(D,P,R,B,F,O),L=this.k[J],d=this.k[J+1],v=o[J],w=o[J+1],c=sum64_5_hi(ie,ue,Q,ce,he,ke,L,d,v,w),p=sum64_5_lo(ie,ue,Q,ce,he,ke,L,d,v,w);ie=s0_512_hi(u,l),ue=s0_512_lo(u,l),Q=maj64_hi(u,l,m,y,E),ce=maj64_lo(u,l,m,y,E,C);var x=sum64_hi(ie,ue,Q,ce),S=sum64_lo(ie,ue,Q,ce);N=F,Y=O,F=R,O=B,R=D,B=P,D=sum64_hi(k,A,c,p),P=sum64_lo(A,A,c,p),k=E,A=C,E=m,C=y,m=u,y=l,u=sum64_hi(c,p,x,S),l=sum64_lo(c,p,x,S)}sum64(this.h,0,u,l),sum64(this.h,2,m,y),sum64(this.h,4,E,C),sum64(this.h,6,k,A),sum64(this.h,8,D,P),sum64(this.h,10,R,B),sum64(this.h,12,F,O),sum64(this.h,14,N,Y)},SHA512$1.prototype._digest=function(e){return e==="hex"?utils$c.toHex32(this.h,"big"):utils$c.split32(this.h,"big")};function ch64_hi(t,e,n,o,u){var l=t&n^~t&u;return l<0&&(l+=4294967296),l}function ch64_lo(t,e,n,o,u,l){var m=e&o^~e&l;return m<0&&(m+=4294967296),m}function maj64_hi(t,e,n,o,u){var l=t&n^t&u^n&u;return l<0&&(l+=4294967296),l}function maj64_lo(t,e,n,o,u,l){var m=e&o^e&l^o&l;return m<0&&(m+=4294967296),m}function s0_512_hi(t,e){var n=rotr64_hi(t,e,28),o=rotr64_hi(e,t,2),u=rotr64_hi(e,t,7),l=n^o^u;return l<0&&(l+=4294967296),l}function s0_512_lo(t,e){var n=rotr64_lo(t,e,28),o=rotr64_lo(e,t,2),u=rotr64_lo(e,t,7),l=n^o^u;return l<0&&(l+=4294967296),l}function s1_512_hi(t,e){var n=rotr64_hi(t,e,14),o=rotr64_hi(t,e,18),u=rotr64_hi(e,t,9),l=n^o^u;return l<0&&(l+=4294967296),l}function s1_512_lo(t,e){var n=rotr64_lo(t,e,14),o=rotr64_lo(t,e,18),u=rotr64_lo(e,t,9),l=n^o^u;return l<0&&(l+=4294967296),l}function g0_512_hi(t,e){var n=rotr64_hi(t,e,1),o=rotr64_hi(t,e,8),u=shr64_hi(t,e,7),l=n^o^u;return l<0&&(l+=4294967296),l}function g0_512_lo(t,e){var n=rotr64_lo(t,e,1),o=rotr64_lo(t,e,8),u=shr64_lo(t,e,7),l=n^o^u;return l<0&&(l+=4294967296),l}function g1_512_hi(t,e){var n=rotr64_hi(t,e,19),o=rotr64_hi(e,t,29),u=shr64_hi(t,e,6),l=n^o^u;return l<0&&(l+=4294967296),l}function g1_512_lo(t,e){var n=rotr64_lo(t,e,19),o=rotr64_lo(e,t,29),u=shr64_lo(t,e,6),l=n^o^u;return l<0&&(l+=4294967296),l}var utils$b=utils$i,SHA512=_512;function SHA384(){if(!(this instanceof SHA384))return new SHA384;SHA512.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}utils$b.inherits(SHA384,SHA512);var _384=SHA384;SHA384.blockSize=1024,SHA384.outSize=384,SHA384.hmacStrength=192,SHA384.padLength=128,SHA384.prototype._digest=function(e){return e==="hex"?utils$b.toHex32(this.h.slice(0,12),"big"):utils$b.split32(this.h.slice(0,12),"big")},sha.sha1=_1,sha.sha224=_224,sha.sha256=_256,sha.sha384=_384,sha.sha512=_512;var ripemd={},utils$a=utils$i,common$1=common$6,rotl32=utils$a.rotl32,sum32=utils$a.sum32,sum32_3=utils$a.sum32_3,sum32_4=utils$a.sum32_4,BlockHash=common$1.BlockHash;function RIPEMD160(){if(!(this instanceof RIPEMD160))return new RIPEMD160;BlockHash.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}utils$a.inherits(RIPEMD160,BlockHash),ripemd.ripemd160=RIPEMD160,RIPEMD160.blockSize=512,RIPEMD160.outSize=160,RIPEMD160.hmacStrength=192,RIPEMD160.padLength=64,RIPEMD160.prototype._update=function(e,n){for(var o=this.h[0],u=this.h[1],l=this.h[2],m=this.h[3],y=this.h[4],E=o,C=u,k=l,A=m,D=y,P=0;P<80;P++){var R=sum32(rotl32(sum32_4(o,f(P,u,l,m),e[r[P]+n],K(P)),s[P]),y);o=y,y=m,m=rotl32(l,10),l=u,u=R,R=sum32(rotl32(sum32_4(E,f(79-P,C,k,A),e[rh[P]+n],Kh(P)),sh[P]),D),E=D,D=A,A=rotl32(k,10),k=C,C=R}R=sum32_3(this.h[1],l,A),this.h[1]=sum32_3(this.h[2],m,D),this.h[2]=sum32_3(this.h[3],y,E),this.h[3]=sum32_3(this.h[4],o,C),this.h[4]=sum32_3(this.h[0],u,k),this.h[0]=R},RIPEMD160.prototype._digest=function(e){return e==="hex"?utils$a.toHex32(this.h,"little"):utils$a.split32(this.h,"little")};function f(t,e,n,o){return t<=15?e^n^o:t<=31?e&n|~e&o:t<=47?(e|~n)^o:t<=63?e&o|n&~o:e^(n|~o)}function K(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function Kh(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}var r=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],rh=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],s=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],sh=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],utils$9=utils$i,assert$7=minimalisticAssert;function Hmac(t,e,n){if(!(this instanceof Hmac))return new Hmac(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(utils$9.toArray(e,n))}var hmac=Hmac;Hmac.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),assert$7(e.length<=this.blockSize);for(var n=e.length;n<this.blockSize;n++)e.push(0);for(n=0;n<e.length;n++)e[n]^=54;for(this.inner=new this.Hash().update(e),n=0;n<e.length;n++)e[n]^=106;this.outer=new this.Hash().update(e)},Hmac.prototype.update=function(e,n){return this.inner.update(e,n),this},Hmac.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)},function(t){var e=t;e.utils=utils$i,e.common=common$6,e.sha=sha,e.ripemd=ripemd,e.hmac=hmac,e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160}(hash$2);var secp256k1,hasRequiredSecp256k1;function requireSecp256k1(){return hasRequiredSecp256k1||(hasRequiredSecp256k1=1,secp256k1={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}),secp256k1}(function(t){var e=t,n=hash$2,o=curve,u=utils$o,l=u.assert;function m(C){C.type==="short"?this.curve=new o.short(C):C.type==="edwards"?this.curve=new o.edwards(C):this.curve=new o.mont(C),this.g=this.curve.g,this.n=this.curve.n,this.hash=C.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}e.PresetCurve=m;function y(C,k){Object.defineProperty(e,C,{configurable:!0,enumerable:!0,get:function(){var A=new m(k);return Object.defineProperty(e,C,{configurable:!0,enumerable:!0,value:A}),A}})}y("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:n.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),y("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:n.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),y("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:n.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),y("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:n.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),y("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:n.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),y("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["9"]}),y("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var E;try{E=requireSecp256k1()}catch{E=void 0}y("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:n.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",E]})})(curves$1);var hash$1=hash$2,utils$8=utils$n,assert$6=minimalisticAssert;function HmacDRBG(t){if(!(this instanceof HmacDRBG))return new HmacDRBG(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=utils$8.toArray(t.entropy,t.entropyEnc||"hex"),n=utils$8.toArray(t.nonce,t.nonceEnc||"hex"),o=utils$8.toArray(t.pers,t.persEnc||"hex");assert$6(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,o)}var hmacDrbg=HmacDRBG;HmacDRBG.prototype._init=function(e,n,o){var u=e.concat(n).concat(o);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var l=0;l<this.V.length;l++)this.K[l]=0,this.V[l]=1;this._update(u),this._reseed=1,this.reseedInterval=281474976710656},HmacDRBG.prototype._hmac=function(){return new hash$1.hmac(this.hash,this.K)},HmacDRBG.prototype._update=function(e){var n=this._hmac().update(this.V).update([0]);e&&(n=n.update(e)),this.K=n.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},HmacDRBG.prototype.reseed=function(e,n,o,u){typeof n!="string"&&(u=o,o=n,n=null),e=utils$8.toArray(e,n),o=utils$8.toArray(o,u),assert$6(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(o||[])),this._reseed=1},HmacDRBG.prototype.generate=function(e,n,o,u){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof n!="string"&&(u=o,o=n,n=null),o&&(o=utils$8.toArray(o,u||"hex"),this._update(o));for(var l=[];l.length<e;)this.V=this._hmac().update(this.V).digest(),l=l.concat(this.V);var m=l.slice(0,e);return this._update(o),this._reseed++,utils$8.encode(m,n)};var BN$5=bnExports$3,utils$7=utils$o,assert$5=utils$7.assert;function KeyPair$2(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}var key$2=KeyPair$2;KeyPair$2.fromPublic=function(e,n,o){return n instanceof KeyPair$2?n:new KeyPair$2(e,{pub:n,pubEnc:o})},KeyPair$2.fromPrivate=function(e,n,o){return n instanceof KeyPair$2?n:new KeyPair$2(e,{priv:n,privEnc:o})},KeyPair$2.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},KeyPair$2.prototype.getPublic=function(e,n){return typeof e=="string"&&(n=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),n?this.pub.encode(n,e):this.pub},KeyPair$2.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv},KeyPair$2.prototype._importPrivate=function(e,n){this.priv=new BN$5(e,n||16),this.priv=this.priv.umod(this.ec.curve.n)},KeyPair$2.prototype._importPublic=function(e,n){if(e.x||e.y){this.ec.curve.type==="mont"?assert$5(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&assert$5(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,n)},KeyPair$2.prototype.derive=function(e){return e.validate()||assert$5(e.validate(),"public point not validated"),e.mul(this.priv).getX()},KeyPair$2.prototype.sign=function(e,n,o){return this.ec.sign(e,this,n,o)},KeyPair$2.prototype.verify=function(e,n){return this.ec.verify(e,n,this)},KeyPair$2.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var BN$4=bnExports$3,utils$6=utils$o,assert$4=utils$6.assert;function Signature$2(t,e){if(t instanceof Signature$2)return t;this._importDER(t,e)||(assert$4(t.r&&t.s,"Signature without r or s"),this.r=new BN$4(t.r,16),this.s=new BN$4(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var signature$2=Signature$2;function Position(){this.place=0}function getLength(t,e){var n=t[e.place++];if(!(n&128))return n;var o=n&15;if(o===0||o>4||t[e.place]===0)return!1;for(var u=0,l=0,m=e.place;l<o;l++,m++)u<<=8,u|=t[m],u>>>=0;return u<=127?!1:(e.place=m,u)}function rmPadding(t){for(var e=0,n=t.length-1;!t[e]&&!(t[e+1]&128)&&e<n;)e++;return e===0?t:t.slice(e)}Signature$2.prototype._importDER=function(e,n){e=utils$6.toArray(e,n);var o=new Position;if(e[o.place++]!==48)return!1;var u=getLength(e,o);if(u===!1||u+o.place!==e.length||e[o.place++]!==2)return!1;var l=getLength(e,o);if(l===!1||e[o.place]&128)return!1;var m=e.slice(o.place,l+o.place);if(o.place+=l,e[o.place++]!==2)return!1;var y=getLength(e,o);if(y===!1||e.length!==y+o.place||e[o.place]&128)return!1;var E=e.slice(o.place,y+o.place);if(m[0]===0)if(m[1]&128)m=m.slice(1);else return!1;if(E[0]===0)if(E[1]&128)E=E.slice(1);else return!1;return this.r=new BN$4(m),this.s=new BN$4(E),this.recoveryParam=null,!0};function constructLength(t,e){if(e<128){t.push(e);return}var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(n|128);--n;)t.push(e>>>(n<<3)&255);t.push(e)}Signature$2.prototype.toDER=function(e){var n=this.r.toArray(),o=this.s.toArray();for(n[0]&128&&(n=[0].concat(n)),o[0]&128&&(o=[0].concat(o)),n=rmPadding(n),o=rmPadding(o);!o[0]&&!(o[1]&128);)o=o.slice(1);var u=[2];constructLength(u,n.length),u=u.concat(n),u.push(2),constructLength(u,o.length);var l=u.concat(o),m=[48];return constructLength(m,l.length),m=m.concat(l),utils$6.encode(m,e)};var ec$1,hasRequiredEc$1;function requireEc$1(){if(hasRequiredEc$1)return ec$1;hasRequiredEc$1=1;var t=bnExports$3,e=hmacDrbg,n=utils$o,o=curves$1,u=requireBrorand(),l=n.assert,m=key$2,y=signature$2;function E(C){if(!(this instanceof E))return new E(C);typeof C=="string"&&(l(Object.prototype.hasOwnProperty.call(o,C),"Unknown curve "+C),C=o[C]),C instanceof o.PresetCurve&&(C={curve:C}),this.curve=C.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=C.curve.g,this.g.precompute(C.curve.n.bitLength()+1),this.hash=C.hash||C.curve.hash}return ec$1=E,E.prototype.keyPair=function(k){return new m(this,k)},E.prototype.keyFromPrivate=function(k,A){return m.fromPrivate(this,k,A)},E.prototype.keyFromPublic=function(k,A){return m.fromPublic(this,k,A)},E.prototype.genKeyPair=function(k){k||(k={});for(var A=new e({hash:this.hash,pers:k.pers,persEnc:k.persEnc||"utf8",entropy:k.entropy||u(this.hash.hmacStrength),entropyEnc:k.entropy&&k.entropyEnc||"utf8",nonce:this.n.toArray()}),D=this.n.byteLength(),P=this.n.sub(new t(2));;){var R=new t(A.generate(D));if(!(R.cmp(P)>0))return R.iaddn(1),this.keyFromPrivate(R)}},E.prototype._truncateToN=function(k,A){var D=k.byteLength()*8-this.n.bitLength();return D>0&&(k=k.ushrn(D)),!A&&k.cmp(this.n)>=0?k.sub(this.n):k},E.prototype.sign=function(k,A,D,P){typeof D=="object"&&(P=D,D=null),P||(P={}),A=this.keyFromPrivate(A,D),k=this._truncateToN(new t(k,16));for(var R=this.n.byteLength(),B=A.getPrivate().toArray("be",R),F=k.toArray("be",R),O=new e({hash:this.hash,entropy:B,nonce:F,pers:P.pers,persEnc:P.persEnc||"utf8"}),N=this.n.sub(new t(1)),Y=0;;Y++){var J=P.k?P.k(Y):new t(O.generate(this.n.byteLength()));if(J=this._truncateToN(J,!0),!(J.cmpn(1)<=0||J.cmp(N)>=0)){var ie=this.g.mul(J);if(!ie.isInfinity()){var ue=ie.getX(),Q=ue.umod(this.n);if(Q.cmpn(0)!==0){var ce=J.invm(this.n).mul(Q.mul(A.getPrivate()).iadd(k));if(ce=ce.umod(this.n),ce.cmpn(0)!==0){var he=(ie.getY().isOdd()?1:0)|(ue.cmp(Q)!==0?2:0);return P.canonical&&ce.cmp(this.nh)>0&&(ce=this.n.sub(ce),he^=1),new y({r:Q,s:ce,recoveryParam:he})}}}}}},E.prototype.verify=function(k,A,D,P){k=this._truncateToN(new t(k,16)),D=this.keyFromPublic(D,P),A=new y(A,"hex");var R=A.r,B=A.s;if(R.cmpn(1)<0||R.cmp(this.n)>=0||B.cmpn(1)<0||B.cmp(this.n)>=0)return!1;var F=B.invm(this.n),O=F.mul(k).umod(this.n),N=F.mul(R).umod(this.n),Y;return this.curve._maxwellTrick?(Y=this.g.jmulAdd(O,D.getPublic(),N),Y.isInfinity()?!1:Y.eqXToP(R)):(Y=this.g.mulAdd(O,D.getPublic(),N),Y.isInfinity()?!1:Y.getX().umod(this.n).cmp(R)===0)},E.prototype.recoverPubKey=function(C,k,A,D){l((3&A)===A,"The recovery param is more than two bits"),k=new y(k,D);var P=this.n,R=new t(C),B=k.r,F=k.s,O=A&1,N=A>>1;if(B.cmp(this.curve.p.umod(this.curve.n))>=0&&N)throw new Error("Unable to find sencond key candinate");N?B=this.curve.pointFromX(B.add(this.curve.n),O):B=this.curve.pointFromX(B,O);var Y=k.r.invm(P),J=P.sub(R).mul(Y).umod(P),ie=F.mul(Y).umod(P);return this.g.mulAdd(J,B,ie)},E.prototype.getKeyRecoveryParam=function(C,k,A,D){if(k=new y(k,D),k.recoveryParam!==null)return k.recoveryParam;for(var P=0;P<4;P++){var R;try{R=this.recoverPubKey(C,k,P)}catch{continue}if(R.eq(A))return P}throw new Error("Unable to find valid recovery factor")},ec$1}var utils$5=utils$o,assert$3=utils$5.assert,parseBytes$2=utils$5.parseBytes,cachedProperty$1=utils$5.cachedProperty;function KeyPair$1(t,e){this.eddsa=t,this._secret=parseBytes$2(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=parseBytes$2(e.pub)}KeyPair$1.fromPublic=function(e,n){return n instanceof KeyPair$1?n:new KeyPair$1(e,{pub:n})},KeyPair$1.fromSecret=function(e,n){return n instanceof KeyPair$1?n:new KeyPair$1(e,{secret:n})},KeyPair$1.prototype.secret=function(){return this._secret},cachedProperty$1(KeyPair$1,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),cachedProperty$1(KeyPair$1,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),cachedProperty$1(KeyPair$1,"privBytes",function(){var e=this.eddsa,n=this.hash(),o=e.encodingLength-1,u=n.slice(0,e.encodingLength);return u[0]&=248,u[o]&=127,u[o]|=64,u}),cachedProperty$1(KeyPair$1,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),cachedProperty$1(KeyPair$1,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),cachedProperty$1(KeyPair$1,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),KeyPair$1.prototype.sign=function(e){return assert$3(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},KeyPair$1.prototype.verify=function(e,n){return this.eddsa.verify(e,n,this)},KeyPair$1.prototype.getSecret=function(e){return assert$3(this._secret,"KeyPair is public only"),utils$5.encode(this.secret(),e)},KeyPair$1.prototype.getPublic=function(e){return utils$5.encode(this.pubBytes(),e)};var key$1=KeyPair$1,BN$3=bnExports$3,utils$4=utils$o,assert$2=utils$4.assert,cachedProperty=utils$4.cachedProperty,parseBytes$1=utils$4.parseBytes;function Signature$1(t,e){this.eddsa=t,typeof e!="object"&&(e=parseBytes$1(e)),Array.isArray(e)&&(assert$2(e.length===t.encodingLength*2,"Signature has invalid size"),e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),assert$2(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof BN$3&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}cachedProperty(Signature$1,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),cachedProperty(Signature$1,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),cachedProperty(Signature$1,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),cachedProperty(Signature$1,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),Signature$1.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},Signature$1.prototype.toHex=function(){return utils$4.encode(this.toBytes(),"hex").toUpperCase()};var signature$1=Signature$1,hash=hash$2,curves=curves$1,utils$3=utils$o,assert$1=utils$3.assert,parseBytes=utils$3.parseBytes,KeyPair=key$1,Signature=signature$1;function EDDSA(t){if(assert$1(t==="ed25519","only tested with ed25519 so far"),!(this instanceof EDDSA))return new EDDSA(t);t=curves[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=hash.sha512}var eddsa=EDDSA;EDDSA.prototype.sign=function(e,n){e=parseBytes(e);var o=this.keyFromSecret(n),u=this.hashInt(o.messagePrefix(),e),l=this.g.mul(u),m=this.encodePoint(l),y=this.hashInt(m,o.pubBytes(),e).mul(o.priv()),E=u.add(y).umod(this.curve.n);return this.makeSignature({R:l,S:E,Rencoded:m})},EDDSA.prototype.verify=function(e,n,o){if(e=parseBytes(e),n=this.makeSignature(n),n.S().gte(n.eddsa.curve.n)||n.S().isNeg())return!1;var u=this.keyFromPublic(o),l=this.hashInt(n.Rencoded(),u.pubBytes(),e),m=this.g.mul(n.S()),y=n.R().add(u.pub().mul(l));return y.eq(m)},EDDSA.prototype.hashInt=function(){for(var e=this.hash(),n=0;n<arguments.length;n++)e.update(arguments[n]);return utils$3.intFromLE(e.digest()).umod(this.curve.n)},EDDSA.prototype.keyFromPublic=function(e){return KeyPair.fromPublic(this,e)},EDDSA.prototype.keyFromSecret=function(e){return KeyPair.fromSecret(this,e)},EDDSA.prototype.makeSignature=function(e){return e instanceof Signature?e:new Signature(this,e)},EDDSA.prototype.encodePoint=function(e){var n=e.getY().toArray("le",this.encodingLength);return n[this.encodingLength-1]|=e.getX().isOdd()?128:0,n},EDDSA.prototype.decodePoint=function(e){e=utils$3.parseBytes(e);var n=e.length-1,o=e.slice(0,n).concat(e[n]&-129),u=(e[n]&128)!==0,l=utils$3.intFromLE(o);return this.curve.pointFromY(l,u)},EDDSA.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},EDDSA.prototype.decodeInt=function(e){return utils$3.intFromLE(e)},EDDSA.prototype.isPoint=function(e){return e instanceof this.pointClass};var hasRequiredElliptic;function requireElliptic(){return hasRequiredElliptic||(hasRequiredElliptic=1,function(t){var e=t;e.version=require$$0$1.version,e.utils=utils$o,e.rand=requireBrorand(),e.curve=curve,e.curves=curves$1,e.ec=requireEc$1(),e.eddsa=eddsa}(elliptic)),elliptic}var asn1$3={},asn1$2={},bn$2={exports:{}};bn$2.exports,function(t){(function(e,n){function o(L,d){if(!L)throw new Error(d||"Assertion failed")}function u(L,d){L.super_=d;var v=function(){};v.prototype=d.prototype,L.prototype=new v,L.prototype.constructor=L}function l(L,d,v){if(l.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((d==="le"||d==="be")&&(v=d,d=10),this._init(L||0,d||10,v||"be"))}typeof e=="object"?e.exports=l:n.BN=l,l.BN=l,l.wordSize=26;var m;try{typeof window<"u"&&typeof window.Buffer<"u"?m=window.Buffer:m=require$$0$2.Buffer}catch{}l.isBN=function(d){return d instanceof l?!0:d!==null&&typeof d=="object"&&d.constructor.wordSize===l.wordSize&&Array.isArray(d.words)},l.max=function(d,v){return d.cmp(v)>0?d:v},l.min=function(d,v){return d.cmp(v)<0?d:v},l.prototype._init=function(d,v,w){if(typeof d=="number")return this._initNumber(d,v,w);if(typeof d=="object")return this._initArray(d,v,w);v==="hex"&&(v=16),o(v===(v|0)&&v>=2&&v<=36),d=d.toString().replace(/\s+/g,"");var c=0;d[0]==="-"&&(c++,this.negative=1),c<d.length&&(v===16?this._parseHex(d,c,w):(this._parseBase(d,v,c),w==="le"&&this._initArray(this.toArray(),v,w)))},l.prototype._initNumber=function(d,v,w){d<0&&(this.negative=1,d=-d),d<67108864?(this.words=[d&67108863],this.length=1):d<4503599627370496?(this.words=[d&67108863,d/67108864&67108863],this.length=2):(o(d<9007199254740992),this.words=[d&67108863,d/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),v,w)},l.prototype._initArray=function(d,v,w){if(o(typeof d.length=="number"),d.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(d.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p,x,S=0;if(w==="be")for(c=d.length-1,p=0;c>=0;c-=3)x=d[c]|d[c-1]<<8|d[c-2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);else if(w==="le")for(c=0,p=0;c<d.length;c+=3)x=d[c]|d[c+1]<<8|d[c+2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);return this.strip()};function y(L,d){var v=L.charCodeAt(d);return v>=65&&v<=70?v-55:v>=97&&v<=102?v-87:v-48&15}function E(L,d,v){var w=y(L,v);return v-1>=d&&(w|=y(L,v-1)<<4),w}l.prototype._parseHex=function(d,v,w){this.length=Math.ceil((d.length-v)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p=0,x=0,S;if(w==="be")for(c=d.length-1;c>=v;c-=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8;else{var b=d.length-v;for(c=b%2===0?v+1:v;c<d.length;c+=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8}this.strip()};function C(L,d,v,w){for(var c=0,p=Math.min(L.length,v),x=d;x<p;x++){var S=L.charCodeAt(x)-48;c*=w,S>=49?c+=S-49+10:S>=17?c+=S-17+10:c+=S}return c}l.prototype._parseBase=function(d,v,w){this.words=[0],this.length=1;for(var c=0,p=1;p<=67108863;p*=v)c++;c--,p=p/v|0;for(var x=d.length-w,S=x%c,b=Math.min(x,x-S)+w,h=0,T=w;T<b;T+=c)h=C(d,T,T+c,v),this.imuln(p),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(S!==0){var M=1;for(h=C(d,T,d.length,v),T=0;T<S;T++)M*=v;this.imuln(M),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(d){d.words=new Array(this.length);for(var v=0;v<this.length;v++)d.words[v]=this.words[v];d.length=this.length,d.negative=this.negative,d.red=this.red},l.prototype.clone=function(){var d=new l(null);return this.copy(d),d},l.prototype._expand=function(d){for(;this.length<d;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},l.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],A=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(d,v){d=d||10,v=v|0||1;var w;if(d===16||d==="hex"){w="";for(var c=0,p=0,x=0;x<this.length;x++){var S=this.words[x],b=((S<<c|p)&16777215).toString(16);p=S>>>24-c&16777215,p!==0||x!==this.length-1?w=k[6-b.length]+b+w:w=b+w,c+=2,c>=26&&(c-=26,x--)}for(p!==0&&(w=p.toString(16)+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(d===(d|0)&&d>=2&&d<=36){var h=A[d],T=D[d];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var j=M.modn(T).toString(d);M=M.idivn(T),M.isZero()?w=j+w:w=k[h-j.length]+j+w}for(this.isZero()&&(w="0"+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}o(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var d=this.words[0];return this.length===2?d+=this.words[1]*67108864:this.length===3&&this.words[2]===1?d+=4503599627370496+this.words[1]*67108864:this.length>2&&o(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-d:d},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(d,v){return o(typeof m<"u"),this.toArrayLike(m,d,v)},l.prototype.toArray=function(d,v){return this.toArrayLike(Array,d,v)},l.prototype.toArrayLike=function(d,v,w){var c=this.byteLength(),p=w||Math.max(1,c);o(c<=p,"byte array longer than desired length"),o(p>0,"Requested array length <= 0"),this.strip();var x=v==="le",S=new d(p),b,h,T=this.clone();if(x){for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[h]=b;for(;h<p;h++)S[h]=0}else{for(h=0;h<p-c;h++)S[h]=0;for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[p-h-1]=b}return S},Math.clz32?l.prototype._countBits=function(d){return 32-Math.clz32(d)}:l.prototype._countBits=function(d){var v=d,w=0;return v>=4096&&(w+=13,v>>>=13),v>=64&&(w+=7,v>>>=7),v>=8&&(w+=4,v>>>=4),v>=2&&(w+=2,v>>>=2),w+v},l.prototype._zeroBits=function(d){if(d===0)return 26;var v=d,w=0;return v&8191||(w+=13,v>>>=13),v&127||(w+=7,v>>>=7),v&15||(w+=4,v>>>=4),v&3||(w+=2,v>>>=2),v&1||w++,w},l.prototype.bitLength=function(){var d=this.words[this.length-1],v=this._countBits(d);return(this.length-1)*26+v};function P(L){for(var d=new Array(L.bitLength()),v=0;v<d.length;v++){var w=v/26|0,c=v%26;d[v]=(L.words[w]&1<<c)>>>c}return d}l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var d=0,v=0;v<this.length;v++){var w=this._zeroBits(this.words[v]);if(d+=w,w!==26)break}return d},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(d){return this.negative!==0?this.abs().inotn(d).iaddn(1):this.clone()},l.prototype.fromTwos=function(d){return this.testn(d-1)?this.notn(d).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return this.negative!==0},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(d){for(;this.length<d.length;)this.words[this.length++]=0;for(var v=0;v<d.length;v++)this.words[v]=this.words[v]|d.words[v];return this.strip()},l.prototype.ior=function(d){return o((this.negative|d.negative)===0),this.iuor(d)},l.prototype.or=function(d){return this.length>d.length?this.clone().ior(d):d.clone().ior(this)},l.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},l.prototype.iuand=function(d){var v;this.length>d.length?v=d:v=this;for(var w=0;w<v.length;w++)this.words[w]=this.words[w]&d.words[w];return this.length=v.length,this.strip()},l.prototype.iand=function(d){return o((this.negative|d.negative)===0),this.iuand(d)},l.prototype.and=function(d){return this.length>d.length?this.clone().iand(d):d.clone().iand(this)},l.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},l.prototype.iuxor=function(d){var v,w;this.length>d.length?(v=this,w=d):(v=d,w=this);for(var c=0;c<w.length;c++)this.words[c]=v.words[c]^w.words[c];if(this!==v)for(;c<v.length;c++)this.words[c]=v.words[c];return this.length=v.length,this.strip()},l.prototype.ixor=function(d){return o((this.negative|d.negative)===0),this.iuxor(d)},l.prototype.xor=function(d){return this.length>d.length?this.clone().ixor(d):d.clone().ixor(this)},l.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},l.prototype.inotn=function(d){o(typeof d=="number"&&d>=0);var v=Math.ceil(d/26)|0,w=d%26;this._expand(v),w>0&&v--;for(var c=0;c<v;c++)this.words[c]=~this.words[c]&67108863;return w>0&&(this.words[c]=~this.words[c]&67108863>>26-w),this.strip()},l.prototype.notn=function(d){return this.clone().inotn(d)},l.prototype.setn=function(d,v){o(typeof d=="number"&&d>=0);var w=d/26|0,c=d%26;return this._expand(w+1),v?this.words[w]=this.words[w]|1<<c:this.words[w]=this.words[w]&~(1<<c),this.strip()},l.prototype.iadd=function(d){var v;if(this.negative!==0&&d.negative===0)return this.negative=0,v=this.isub(d),this.negative^=1,this._normSign();if(this.negative===0&&d.negative!==0)return d.negative=0,v=this.isub(d),d.negative=1,v._normSign();var w,c;this.length>d.length?(w=this,c=d):(w=d,c=this);for(var p=0,x=0;x<c.length;x++)v=(w.words[x]|0)+(c.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;for(;p!==0&&x<w.length;x++)v=(w.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;if(this.length=w.length,p!==0)this.words[this.length]=p,this.length++;else if(w!==this)for(;x<w.length;x++)this.words[x]=w.words[x];return this},l.prototype.add=function(d){var v;return d.negative!==0&&this.negative===0?(d.negative=0,v=this.sub(d),d.negative^=1,v):d.negative===0&&this.negative!==0?(this.negative=0,v=d.sub(this),this.negative=1,v):this.length>d.length?this.clone().iadd(d):d.clone().iadd(this)},l.prototype.isub=function(d){if(d.negative!==0){d.negative=0;var v=this.iadd(d);return d.negative=1,v._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var w=this.cmp(d);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,p;w>0?(c=this,p=d):(c=d,p=this);for(var x=0,S=0;S<p.length;S++)v=(c.words[S]|0)-(p.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;for(;x!==0&&S<c.length;S++)v=(c.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;if(x===0&&S<c.length&&c!==this)for(;S<c.length;S++)this.words[S]=c.words[S];return this.length=Math.max(this.length,S),c!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(d){return this.clone().isub(d)};function R(L,d,v){v.negative=d.negative^L.negative;var w=L.length+d.length|0;v.length=w,w=w-1|0;var c=L.words[0]|0,p=d.words[0]|0,x=c*p,S=x&67108863,b=x/67108864|0;v.words[0]=S;for(var h=1;h<w;h++){for(var T=b>>>26,M=b&67108863,j=Math.min(h,d.length-1),V=Math.max(0,h-L.length+1);V<=j;V++){var ee=h-V|0;c=L.words[ee]|0,p=d.words[V]|0,x=c*p+M,T+=x/67108864|0,M=x&67108863}v.words[h]=M|0,b=T|0}return b!==0?v.words[h]=b|0:v.length--,v.strip()}var B=function(d,v,w){var c=d.words,p=v.words,x=w.words,S=0,b,h,T,M=c[0]|0,j=M&8191,V=M>>>13,ee=c[1]|0,Z=ee&8191,U=ee>>>13,z=c[2]|0,ne=z&8191,fe=z>>>13,me=c[3]|0,de=me&8191,Oe=me>>>13,lt=c[4]|0,it=lt&8191,ot=lt>>>13,Ct=c[5]|0,nt=Ct&8191,Je=Ct>>>13,tt=c[6]|0,rt=tt&8191,ht=tt>>>13,jt=c[7]|0,Ve=jt&8191,We=jt>>>13,Gt=c[8]|0,wt=Gt&8191,Et=Gt>>>13,Yt=c[9]|0,Ce=Yt&8191,te=Yt>>>13,ye=p[0]|0,Le=ye&8191,Ue=ye>>>13,Qe=p[1]|0,Ke=Qe&8191,De=Qe>>>13,Vt=p[2]|0,At=Vt&8191,ve=Vt>>>13,Pt=p[3]|0,pt=Pt&8191,Ne=Pt>>>13,vt=p[4]|0,ut=vt&8191,$t=vt>>>13,fi=p[5]|0,kt=fi&8191,Wt=fi>>>13,Zi=p[6]|0,Ut=Zi&8191,Xt=Zi>>>13,Be=p[7]|0,be=Be&8191,ge=Be>>>13,oe=p[8]|0,Ae=oe&8191,qe=oe>>>13,bt=p[9]|0,at=bt&8191,gt=bt>>>13;w.negative=d.negative^v.negative,w.length=19,b=Math.imul(j,Le),h=Math.imul(j,Ue),h=h+Math.imul(V,Le)|0,T=Math.imul(V,Ue);var ei=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ei>>>26)|0,ei&=67108863,b=Math.imul(Z,Le),h=Math.imul(Z,Ue),h=h+Math.imul(U,Le)|0,T=Math.imul(U,Ue),b=b+Math.imul(j,Ke)|0,h=h+Math.imul(j,De)|0,h=h+Math.imul(V,Ke)|0,T=T+Math.imul(V,De)|0;var ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ii>>>26)|0,ii&=67108863,b=Math.imul(ne,Le),h=Math.imul(ne,Ue),h=h+Math.imul(fe,Le)|0,T=Math.imul(fe,Ue),b=b+Math.imul(Z,Ke)|0,h=h+Math.imul(Z,De)|0,h=h+Math.imul(U,Ke)|0,T=T+Math.imul(U,De)|0,b=b+Math.imul(j,At)|0,h=h+Math.imul(j,ve)|0,h=h+Math.imul(V,At)|0,T=T+Math.imul(V,ve)|0;var Bi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,b=Math.imul(de,Le),h=Math.imul(de,Ue),h=h+Math.imul(Oe,Le)|0,T=Math.imul(Oe,Ue),b=b+Math.imul(ne,Ke)|0,h=h+Math.imul(ne,De)|0,h=h+Math.imul(fe,Ke)|0,T=T+Math.imul(fe,De)|0,b=b+Math.imul(Z,At)|0,h=h+Math.imul(Z,ve)|0,h=h+Math.imul(U,At)|0,T=T+Math.imul(U,ve)|0,b=b+Math.imul(j,pt)|0,h=h+Math.imul(j,Ne)|0,h=h+Math.imul(V,pt)|0,T=T+Math.imul(V,Ne)|0;var hi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(hi>>>26)|0,hi&=67108863,b=Math.imul(it,Le),h=Math.imul(it,Ue),h=h+Math.imul(ot,Le)|0,T=Math.imul(ot,Ue),b=b+Math.imul(de,Ke)|0,h=h+Math.imul(de,De)|0,h=h+Math.imul(Oe,Ke)|0,T=T+Math.imul(Oe,De)|0,b=b+Math.imul(ne,At)|0,h=h+Math.imul(ne,ve)|0,h=h+Math.imul(fe,At)|0,T=T+Math.imul(fe,ve)|0,b=b+Math.imul(Z,pt)|0,h=h+Math.imul(Z,Ne)|0,h=h+Math.imul(U,pt)|0,T=T+Math.imul(U,Ne)|0,b=b+Math.imul(j,ut)|0,h=h+Math.imul(j,$t)|0,h=h+Math.imul(V,ut)|0,T=T+Math.imul(V,$t)|0;var Di=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Di>>>26)|0,Di&=67108863,b=Math.imul(nt,Le),h=Math.imul(nt,Ue),h=h+Math.imul(Je,Le)|0,T=Math.imul(Je,Ue),b=b+Math.imul(it,Ke)|0,h=h+Math.imul(it,De)|0,h=h+Math.imul(ot,Ke)|0,T=T+Math.imul(ot,De)|0,b=b+Math.imul(de,At)|0,h=h+Math.imul(de,ve)|0,h=h+Math.imul(Oe,At)|0,T=T+Math.imul(Oe,ve)|0,b=b+Math.imul(ne,pt)|0,h=h+Math.imul(ne,Ne)|0,h=h+Math.imul(fe,pt)|0,T=T+Math.imul(fe,Ne)|0,b=b+Math.imul(Z,ut)|0,h=h+Math.imul(Z,$t)|0,h=h+Math.imul(U,ut)|0,T=T+Math.imul(U,$t)|0,b=b+Math.imul(j,kt)|0,h=h+Math.imul(j,Wt)|0,h=h+Math.imul(V,kt)|0,T=T+Math.imul(V,Wt)|0;var ni=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ni>>>26)|0,ni&=67108863,b=Math.imul(rt,Le),h=Math.imul(rt,Ue),h=h+Math.imul(ht,Le)|0,T=Math.imul(ht,Ue),b=b+Math.imul(nt,Ke)|0,h=h+Math.imul(nt,De)|0,h=h+Math.imul(Je,Ke)|0,T=T+Math.imul(Je,De)|0,b=b+Math.imul(it,At)|0,h=h+Math.imul(it,ve)|0,h=h+Math.imul(ot,At)|0,T=T+Math.imul(ot,ve)|0,b=b+Math.imul(de,pt)|0,h=h+Math.imul(de,Ne)|0,h=h+Math.imul(Oe,pt)|0,T=T+Math.imul(Oe,Ne)|0,b=b+Math.imul(ne,ut)|0,h=h+Math.imul(ne,$t)|0,h=h+Math.imul(fe,ut)|0,T=T+Math.imul(fe,$t)|0,b=b+Math.imul(Z,kt)|0,h=h+Math.imul(Z,Wt)|0,h=h+Math.imul(U,kt)|0,T=T+Math.imul(U,Wt)|0,b=b+Math.imul(j,Ut)|0,h=h+Math.imul(j,Xt)|0,h=h+Math.imul(V,Ut)|0,T=T+Math.imul(V,Xt)|0;var pi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(Ve,Le),h=Math.imul(Ve,Ue),h=h+Math.imul(We,Le)|0,T=Math.imul(We,Ue),b=b+Math.imul(rt,Ke)|0,h=h+Math.imul(rt,De)|0,h=h+Math.imul(ht,Ke)|0,T=T+Math.imul(ht,De)|0,b=b+Math.imul(nt,At)|0,h=h+Math.imul(nt,ve)|0,h=h+Math.imul(Je,At)|0,T=T+Math.imul(Je,ve)|0,b=b+Math.imul(it,pt)|0,h=h+Math.imul(it,Ne)|0,h=h+Math.imul(ot,pt)|0,T=T+Math.imul(ot,Ne)|0,b=b+Math.imul(de,ut)|0,h=h+Math.imul(de,$t)|0,h=h+Math.imul(Oe,ut)|0,T=T+Math.imul(Oe,$t)|0,b=b+Math.imul(ne,kt)|0,h=h+Math.imul(ne,Wt)|0,h=h+Math.imul(fe,kt)|0,T=T+Math.imul(fe,Wt)|0,b=b+Math.imul(Z,Ut)|0,h=h+Math.imul(Z,Xt)|0,h=h+Math.imul(U,Ut)|0,T=T+Math.imul(U,Xt)|0,b=b+Math.imul(j,be)|0,h=h+Math.imul(j,ge)|0,h=h+Math.imul(V,be)|0,T=T+Math.imul(V,ge)|0;var Ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ii>>>26)|0,Ii&=67108863,b=Math.imul(wt,Le),h=Math.imul(wt,Ue),h=h+Math.imul(Et,Le)|0,T=Math.imul(Et,Ue),b=b+Math.imul(Ve,Ke)|0,h=h+Math.imul(Ve,De)|0,h=h+Math.imul(We,Ke)|0,T=T+Math.imul(We,De)|0,b=b+Math.imul(rt,At)|0,h=h+Math.imul(rt,ve)|0,h=h+Math.imul(ht,At)|0,T=T+Math.imul(ht,ve)|0,b=b+Math.imul(nt,pt)|0,h=h+Math.imul(nt,Ne)|0,h=h+Math.imul(Je,pt)|0,T=T+Math.imul(Je,Ne)|0,b=b+Math.imul(it,ut)|0,h=h+Math.imul(it,$t)|0,h=h+Math.imul(ot,ut)|0,T=T+Math.imul(ot,$t)|0,b=b+Math.imul(de,kt)|0,h=h+Math.imul(de,Wt)|0,h=h+Math.imul(Oe,kt)|0,T=T+Math.imul(Oe,Wt)|0,b=b+Math.imul(ne,Ut)|0,h=h+Math.imul(ne,Xt)|0,h=h+Math.imul(fe,Ut)|0,T=T+Math.imul(fe,Xt)|0,b=b+Math.imul(Z,be)|0,h=h+Math.imul(Z,ge)|0,h=h+Math.imul(U,be)|0,T=T+Math.imul(U,ge)|0,b=b+Math.imul(j,Ae)|0,h=h+Math.imul(j,qe)|0,h=h+Math.imul(V,Ae)|0,T=T+Math.imul(V,qe)|0;var Ci=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,b=Math.imul(Ce,Le),h=Math.imul(Ce,Ue),h=h+Math.imul(te,Le)|0,T=Math.imul(te,Ue),b=b+Math.imul(wt,Ke)|0,h=h+Math.imul(wt,De)|0,h=h+Math.imul(Et,Ke)|0,T=T+Math.imul(Et,De)|0,b=b+Math.imul(Ve,At)|0,h=h+Math.imul(Ve,ve)|0,h=h+Math.imul(We,At)|0,T=T+Math.imul(We,ve)|0,b=b+Math.imul(rt,pt)|0,h=h+Math.imul(rt,Ne)|0,h=h+Math.imul(ht,pt)|0,T=T+Math.imul(ht,Ne)|0,b=b+Math.imul(nt,ut)|0,h=h+Math.imul(nt,$t)|0,h=h+Math.imul(Je,ut)|0,T=T+Math.imul(Je,$t)|0,b=b+Math.imul(it,kt)|0,h=h+Math.imul(it,Wt)|0,h=h+Math.imul(ot,kt)|0,T=T+Math.imul(ot,Wt)|0,b=b+Math.imul(de,Ut)|0,h=h+Math.imul(de,Xt)|0,h=h+Math.imul(Oe,Ut)|0,T=T+Math.imul(Oe,Xt)|0,b=b+Math.imul(ne,be)|0,h=h+Math.imul(ne,ge)|0,h=h+Math.imul(fe,be)|0,T=T+Math.imul(fe,ge)|0,b=b+Math.imul(Z,Ae)|0,h=h+Math.imul(Z,qe)|0,h=h+Math.imul(U,Ae)|0,T=T+Math.imul(U,qe)|0,b=b+Math.imul(j,at)|0,h=h+Math.imul(j,gt)|0,h=h+Math.imul(V,at)|0,T=T+Math.imul(V,gt)|0;var zi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,b=Math.imul(Ce,Ke),h=Math.imul(Ce,De),h=h+Math.imul(te,Ke)|0,T=Math.imul(te,De),b=b+Math.imul(wt,At)|0,h=h+Math.imul(wt,ve)|0,h=h+Math.imul(Et,At)|0,T=T+Math.imul(Et,ve)|0,b=b+Math.imul(Ve,pt)|0,h=h+Math.imul(Ve,Ne)|0,h=h+Math.imul(We,pt)|0,T=T+Math.imul(We,Ne)|0,b=b+Math.imul(rt,ut)|0,h=h+Math.imul(rt,$t)|0,h=h+Math.imul(ht,ut)|0,T=T+Math.imul(ht,$t)|0,b=b+Math.imul(nt,kt)|0,h=h+Math.imul(nt,Wt)|0,h=h+Math.imul(Je,kt)|0,T=T+Math.imul(Je,Wt)|0,b=b+Math.imul(it,Ut)|0,h=h+Math.imul(it,Xt)|0,h=h+Math.imul(ot,Ut)|0,T=T+Math.imul(ot,Xt)|0,b=b+Math.imul(de,be)|0,h=h+Math.imul(de,ge)|0,h=h+Math.imul(Oe,be)|0,T=T+Math.imul(Oe,ge)|0,b=b+Math.imul(ne,Ae)|0,h=h+Math.imul(ne,qe)|0,h=h+Math.imul(fe,Ae)|0,T=T+Math.imul(fe,qe)|0,b=b+Math.imul(Z,at)|0,h=h+Math.imul(Z,gt)|0,h=h+Math.imul(U,at)|0,T=T+Math.imul(U,gt)|0;var qi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(qi>>>26)|0,qi&=67108863,b=Math.imul(Ce,At),h=Math.imul(Ce,ve),h=h+Math.imul(te,At)|0,T=Math.imul(te,ve),b=b+Math.imul(wt,pt)|0,h=h+Math.imul(wt,Ne)|0,h=h+Math.imul(Et,pt)|0,T=T+Math.imul(Et,Ne)|0,b=b+Math.imul(Ve,ut)|0,h=h+Math.imul(Ve,$t)|0,h=h+Math.imul(We,ut)|0,T=T+Math.imul(We,$t)|0,b=b+Math.imul(rt,kt)|0,h=h+Math.imul(rt,Wt)|0,h=h+Math.imul(ht,kt)|0,T=T+Math.imul(ht,Wt)|0,b=b+Math.imul(nt,Ut)|0,h=h+Math.imul(nt,Xt)|0,h=h+Math.imul(Je,Ut)|0,T=T+Math.imul(Je,Xt)|0,b=b+Math.imul(it,be)|0,h=h+Math.imul(it,ge)|0,h=h+Math.imul(ot,be)|0,T=T+Math.imul(ot,ge)|0,b=b+Math.imul(de,Ae)|0,h=h+Math.imul(de,qe)|0,h=h+Math.imul(Oe,Ae)|0,T=T+Math.imul(Oe,qe)|0,b=b+Math.imul(ne,at)|0,h=h+Math.imul(ne,gt)|0,h=h+Math.imul(fe,at)|0,T=T+Math.imul(fe,gt)|0;var Ai=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,b=Math.imul(Ce,pt),h=Math.imul(Ce,Ne),h=h+Math.imul(te,pt)|0,T=Math.imul(te,Ne),b=b+Math.imul(wt,ut)|0,h=h+Math.imul(wt,$t)|0,h=h+Math.imul(Et,ut)|0,T=T+Math.imul(Et,$t)|0,b=b+Math.imul(Ve,kt)|0,h=h+Math.imul(Ve,Wt)|0,h=h+Math.imul(We,kt)|0,T=T+Math.imul(We,Wt)|0,b=b+Math.imul(rt,Ut)|0,h=h+Math.imul(rt,Xt)|0,h=h+Math.imul(ht,Ut)|0,T=T+Math.imul(ht,Xt)|0,b=b+Math.imul(nt,be)|0,h=h+Math.imul(nt,ge)|0,h=h+Math.imul(Je,be)|0,T=T+Math.imul(Je,ge)|0,b=b+Math.imul(it,Ae)|0,h=h+Math.imul(it,qe)|0,h=h+Math.imul(ot,Ae)|0,T=T+Math.imul(ot,qe)|0,b=b+Math.imul(de,at)|0,h=h+Math.imul(de,gt)|0,h=h+Math.imul(Oe,at)|0,T=T+Math.imul(Oe,gt)|0;var ji=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,b=Math.imul(Ce,ut),h=Math.imul(Ce,$t),h=h+Math.imul(te,ut)|0,T=Math.imul(te,$t),b=b+Math.imul(wt,kt)|0,h=h+Math.imul(wt,Wt)|0,h=h+Math.imul(Et,kt)|0,T=T+Math.imul(Et,Wt)|0,b=b+Math.imul(Ve,Ut)|0,h=h+Math.imul(Ve,Xt)|0,h=h+Math.imul(We,Ut)|0,T=T+Math.imul(We,Xt)|0,b=b+Math.imul(rt,be)|0,h=h+Math.imul(rt,ge)|0,h=h+Math.imul(ht,be)|0,T=T+Math.imul(ht,ge)|0,b=b+Math.imul(nt,Ae)|0,h=h+Math.imul(nt,qe)|0,h=h+Math.imul(Je,Ae)|0,T=T+Math.imul(Je,qe)|0,b=b+Math.imul(it,at)|0,h=h+Math.imul(it,gt)|0,h=h+Math.imul(ot,at)|0,T=T+Math.imul(ot,gt)|0;var ki=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ki>>>26)|0,ki&=67108863,b=Math.imul(Ce,kt),h=Math.imul(Ce,Wt),h=h+Math.imul(te,kt)|0,T=Math.imul(te,Wt),b=b+Math.imul(wt,Ut)|0,h=h+Math.imul(wt,Xt)|0,h=h+Math.imul(Et,Ut)|0,T=T+Math.imul(Et,Xt)|0,b=b+Math.imul(Ve,be)|0,h=h+Math.imul(Ve,ge)|0,h=h+Math.imul(We,be)|0,T=T+Math.imul(We,ge)|0,b=b+Math.imul(rt,Ae)|0,h=h+Math.imul(rt,qe)|0,h=h+Math.imul(ht,Ae)|0,T=T+Math.imul(ht,qe)|0,b=b+Math.imul(nt,at)|0,h=h+Math.imul(nt,gt)|0,h=h+Math.imul(Je,at)|0,T=T+Math.imul(Je,gt)|0;var Ti=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,b=Math.imul(Ce,Ut),h=Math.imul(Ce,Xt),h=h+Math.imul(te,Ut)|0,T=Math.imul(te,Xt),b=b+Math.imul(wt,be)|0,h=h+Math.imul(wt,ge)|0,h=h+Math.imul(Et,be)|0,T=T+Math.imul(Et,ge)|0,b=b+Math.imul(Ve,Ae)|0,h=h+Math.imul(Ve,qe)|0,h=h+Math.imul(We,Ae)|0,T=T+Math.imul(We,qe)|0,b=b+Math.imul(rt,at)|0,h=h+Math.imul(rt,gt)|0,h=h+Math.imul(ht,at)|0,T=T+Math.imul(ht,gt)|0;var wi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(wi>>>26)|0,wi&=67108863,b=Math.imul(Ce,be),h=Math.imul(Ce,ge),h=h+Math.imul(te,be)|0,T=Math.imul(te,ge),b=b+Math.imul(wt,Ae)|0,h=h+Math.imul(wt,qe)|0,h=h+Math.imul(Et,Ae)|0,T=T+Math.imul(Et,qe)|0,b=b+Math.imul(Ve,at)|0,h=h+Math.imul(Ve,gt)|0,h=h+Math.imul(We,at)|0,T=T+Math.imul(We,gt)|0;var oi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(oi>>>26)|0,oi&=67108863,b=Math.imul(Ce,Ae),h=Math.imul(Ce,qe),h=h+Math.imul(te,Ae)|0,T=Math.imul(te,qe),b=b+Math.imul(wt,at)|0,h=h+Math.imul(wt,gt)|0,h=h+Math.imul(Et,at)|0,T=T+Math.imul(Et,gt)|0;var zt=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zt>>>26)|0,zt&=67108863,b=Math.imul(Ce,at),h=Math.imul(Ce,gt),h=h+Math.imul(te,at)|0,T=Math.imul(te,gt);var Qt=(S+b|0)+((h&8191)<<13)|0;return S=(T+(h>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,x[0]=ei,x[1]=ii,x[2]=Bi,x[3]=hi,x[4]=Di,x[5]=ni,x[6]=pi,x[7]=Ii,x[8]=Ci,x[9]=zi,x[10]=qi,x[11]=Ai,x[12]=ji,x[13]=ki,x[14]=Ti,x[15]=wi,x[16]=oi,x[17]=zt,x[18]=Qt,S!==0&&(x[19]=S,w.length++),w};Math.imul||(B=R);function F(L,d,v){v.negative=d.negative^L.negative,v.length=L.length+d.length;for(var w=0,c=0,p=0;p<v.length-1;p++){var x=c;c=0;for(var S=w&67108863,b=Math.min(p,d.length-1),h=Math.max(0,p-L.length+1);h<=b;h++){var T=p-h,M=L.words[T]|0,j=d.words[h]|0,V=M*j,ee=V&67108863;x=x+(V/67108864|0)|0,ee=ee+S|0,S=ee&67108863,x=x+(ee>>>26)|0,c+=x>>>26,x&=67108863}v.words[p]=S,w=x,x=c}return w!==0?v.words[p]=w:v.length--,v.strip()}function O(L,d,v){var w=new N;return w.mulp(L,d,v)}l.prototype.mulTo=function(d,v){var w,c=this.length+d.length;return this.length===10&&d.length===10?w=B(this,d,v):c<63?w=R(this,d,v):c<1024?w=F(this,d,v):w=O(this,d,v),w};function N(L,d){this.x=L,this.y=d}N.prototype.makeRBT=function(d){for(var v=new Array(d),w=l.prototype._countBits(d)-1,c=0;c<d;c++)v[c]=this.revBin(c,w,d);return v},N.prototype.revBin=function(d,v,w){if(d===0||d===w-1)return d;for(var c=0,p=0;p<v;p++)c|=(d&1)<<v-p-1,d>>=1;return c},N.prototype.permute=function(d,v,w,c,p,x){for(var S=0;S<x;S++)c[S]=v[d[S]],p[S]=w[d[S]]},N.prototype.transform=function(d,v,w,c,p,x){this.permute(x,d,v,w,c,p);for(var S=1;S<p;S<<=1)for(var b=S<<1,h=Math.cos(2*Math.PI/b),T=Math.sin(2*Math.PI/b),M=0;M<p;M+=b)for(var j=h,V=T,ee=0;ee<S;ee++){var Z=w[M+ee],U=c[M+ee],z=w[M+ee+S],ne=c[M+ee+S],fe=j*z-V*ne;ne=j*ne+V*z,z=fe,w[M+ee]=Z+z,c[M+ee]=U+ne,w[M+ee+S]=Z-z,c[M+ee+S]=U-ne,ee!==b&&(fe=h*j-T*V,V=h*V+T*j,j=fe)}},N.prototype.guessLen13b=function(d,v){var w=Math.max(v,d)|1,c=w&1,p=0;for(w=w/2|0;w;w=w>>>1)p++;return 1<<p+1+c},N.prototype.conjugate=function(d,v,w){if(!(w<=1))for(var c=0;c<w/2;c++){var p=d[c];d[c]=d[w-c-1],d[w-c-1]=p,p=v[c],v[c]=-v[w-c-1],v[w-c-1]=-p}},N.prototype.normalize13b=function(d,v){for(var w=0,c=0;c<v/2;c++){var p=Math.round(d[2*c+1]/v)*8192+Math.round(d[2*c]/v)+w;d[c]=p&67108863,p<67108864?w=0:w=p/67108864|0}return d},N.prototype.convert13b=function(d,v,w,c){for(var p=0,x=0;x<v;x++)p=p+(d[x]|0),w[2*x]=p&8191,p=p>>>13,w[2*x+1]=p&8191,p=p>>>13;for(x=2*v;x<c;++x)w[x]=0;o(p===0),o((p&-8192)===0)},N.prototype.stub=function(d){for(var v=new Array(d),w=0;w<d;w++)v[w]=0;return v},N.prototype.mulp=function(d,v,w){var c=2*this.guessLen13b(d.length,v.length),p=this.makeRBT(c),x=this.stub(c),S=new Array(c),b=new Array(c),h=new Array(c),T=new Array(c),M=new Array(c),j=new Array(c),V=w.words;V.length=c,this.convert13b(d.words,d.length,S,c),this.convert13b(v.words,v.length,T,c),this.transform(S,x,b,h,c,p),this.transform(T,x,M,j,c,p);for(var ee=0;ee<c;ee++){var Z=b[ee]*M[ee]-h[ee]*j[ee];h[ee]=b[ee]*j[ee]+h[ee]*M[ee],b[ee]=Z}return this.conjugate(b,h,c),this.transform(b,h,V,x,c,p),this.conjugate(V,x,c),this.normalize13b(V,c),w.negative=d.negative^v.negative,w.length=d.length+v.length,w.strip()},l.prototype.mul=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),this.mulTo(d,v)},l.prototype.mulf=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),O(this,d,v)},l.prototype.imul=function(d){return this.clone().mulTo(d,this)},l.prototype.imuln=function(d){o(typeof d=="number"),o(d<67108864);for(var v=0,w=0;w<this.length;w++){var c=(this.words[w]|0)*d,p=(c&67108863)+(v&67108863);v>>=26,v+=c/67108864|0,v+=p>>>26,this.words[w]=p&67108863}return v!==0&&(this.words[w]=v,this.length++),this},l.prototype.muln=function(d){return this.clone().imuln(d)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(d){var v=P(d);if(v.length===0)return new l(1);for(var w=this,c=0;c<v.length&&v[c]===0;c++,w=w.sqr());if(++c<v.length)for(var p=w.sqr();c<v.length;c++,p=p.sqr())v[c]!==0&&(w=w.mul(p));return w},l.prototype.iushln=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=67108863>>>26-v<<26-v,p;if(v!==0){var x=0;for(p=0;p<this.length;p++){var S=this.words[p]&c,b=(this.words[p]|0)-S<<v;this.words[p]=b|x,x=S>>>26-v}x&&(this.words[p]=x,this.length++)}if(w!==0){for(p=this.length-1;p>=0;p--)this.words[p+w]=this.words[p];for(p=0;p<w;p++)this.words[p]=0;this.length+=w}return this.strip()},l.prototype.ishln=function(d){return o(this.negative===0),this.iushln(d)},l.prototype.iushrn=function(d,v,w){o(typeof d=="number"&&d>=0);var c;v?c=(v-v%26)/26:c=0;var p=d%26,x=Math.min((d-p)/26,this.length),S=67108863^67108863>>>p<<p,b=w;if(c-=x,c=Math.max(0,c),b){for(var h=0;h<x;h++)b.words[h]=this.words[h];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,h=0;h<this.length;h++)this.words[h]=this.words[h+x];else this.words[0]=0,this.length=1;var T=0;for(h=this.length-1;h>=0&&(T!==0||h>=c);h--){var M=this.words[h]|0;this.words[h]=T<<26-p|M>>>p,T=M&S}return b&&T!==0&&(b.words[b.length++]=T),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(d,v,w){return o(this.negative===0),this.iushrn(d,v,w)},l.prototype.shln=function(d){return this.clone().ishln(d)},l.prototype.ushln=function(d){return this.clone().iushln(d)},l.prototype.shrn=function(d){return this.clone().ishrn(d)},l.prototype.ushrn=function(d){return this.clone().iushrn(d)},l.prototype.testn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return!1;var p=this.words[w];return!!(p&c)},l.prototype.imaskn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26;if(o(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(v!==0&&w++,this.length=Math.min(w,this.length),v!==0){var c=67108863^67108863>>>v<<v;this.words[this.length-1]&=c}return this.strip()},l.prototype.maskn=function(d){return this.clone().imaskn(d)},l.prototype.iaddn=function(d){return o(typeof d=="number"),o(d<67108864),d<0?this.isubn(-d):this.negative!==0?this.length===1&&(this.words[0]|0)<d?(this.words[0]=d-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(d),this.negative=1,this):this._iaddn(d)},l.prototype._iaddn=function(d){this.words[0]+=d;for(var v=0;v<this.length&&this.words[v]>=67108864;v++)this.words[v]-=67108864,v===this.length-1?this.words[v+1]=1:this.words[v+1]++;return this.length=Math.max(this.length,v+1),this},l.prototype.isubn=function(d){if(o(typeof d=="number"),o(d<67108864),d<0)return this.iaddn(-d);if(this.negative!==0)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var v=0;v<this.length&&this.words[v]<0;v++)this.words[v]+=67108864,this.words[v+1]-=1;return this.strip()},l.prototype.addn=function(d){return this.clone().iaddn(d)},l.prototype.subn=function(d){return this.clone().isubn(d)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(d,v,w){var c=d.length+w,p;this._expand(c);var x,S=0;for(p=0;p<d.length;p++){x=(this.words[p+w]|0)+S;var b=(d.words[p]|0)*v;x-=b&67108863,S=(x>>26)-(b/67108864|0),this.words[p+w]=x&67108863}for(;p<this.length-w;p++)x=(this.words[p+w]|0)+S,S=x>>26,this.words[p+w]=x&67108863;if(S===0)return this.strip();for(o(S===-1),S=0,p=0;p<this.length;p++)x=-(this.words[p]|0)+S,S=x>>26,this.words[p]=x&67108863;return this.negative=1,this.strip()},l.prototype._wordDiv=function(d,v){var w=this.length-d.length,c=this.clone(),p=d,x=p.words[p.length-1]|0,S=this._countBits(x);w=26-S,w!==0&&(p=p.ushln(w),c.iushln(w),x=p.words[p.length-1]|0);var b=c.length-p.length,h;if(v!=="mod"){h=new l(null),h.length=b+1,h.words=new Array(h.length);for(var T=0;T<h.length;T++)h.words[T]=0}var M=c.clone()._ishlnsubmul(p,1,b);M.negative===0&&(c=M,h&&(h.words[b]=1));for(var j=b-1;j>=0;j--){var V=(c.words[p.length+j]|0)*67108864+(c.words[p.length+j-1]|0);for(V=Math.min(V/x|0,67108863),c._ishlnsubmul(p,V,j);c.negative!==0;)V--,c.negative=0,c._ishlnsubmul(p,1,j),c.isZero()||(c.negative^=1);h&&(h.words[j]=V)}return h&&h.strip(),c.strip(),v!=="div"&&w!==0&&c.iushrn(w),{div:h||null,mod:c}},l.prototype.divmod=function(d,v,w){if(o(!d.isZero()),this.isZero())return{div:new l(0),mod:new l(0)};var c,p,x;return this.negative!==0&&d.negative===0?(x=this.neg().divmod(d,v),v!=="mod"&&(c=x.div.neg()),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.iadd(d)),{div:c,mod:p}):this.negative===0&&d.negative!==0?(x=this.divmod(d.neg(),v),v!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&d.negative?(x=this.neg().divmod(d.neg(),v),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.isub(d)),{div:x.div,mod:p}):d.length>this.length||this.cmp(d)<0?{div:new l(0),mod:this}:d.length===1?v==="div"?{div:this.divn(d.words[0]),mod:null}:v==="mod"?{div:null,mod:new l(this.modn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new l(this.modn(d.words[0]))}:this._wordDiv(d,v)},l.prototype.div=function(d){return this.divmod(d,"div",!1).div},l.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},l.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},l.prototype.divRound=function(d){var v=this.divmod(d);if(v.mod.isZero())return v.div;var w=v.div.negative!==0?v.mod.isub(d):v.mod,c=d.ushrn(1),p=d.andln(1),x=w.cmp(c);return x<0||p===1&&x===0?v.div:v.div.negative!==0?v.div.isubn(1):v.div.iaddn(1)},l.prototype.modn=function(d){o(d<=67108863);for(var v=(1<<26)%d,w=0,c=this.length-1;c>=0;c--)w=(v*w+(this.words[c]|0))%d;return w},l.prototype.idivn=function(d){o(d<=67108863);for(var v=0,w=this.length-1;w>=0;w--){var c=(this.words[w]|0)+v*67108864;this.words[w]=c/d|0,v=c%d}return this.strip()},l.prototype.divn=function(d){return this.clone().idivn(d)},l.prototype.egcd=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=new l(0),S=new l(1),b=0;v.isEven()&&w.isEven();)v.iushrn(1),w.iushrn(1),++b;for(var h=w.clone(),T=v.clone();!v.isZero();){for(var M=0,j=1;!(v.words[0]&j)&&M<26;++M,j<<=1);if(M>0)for(v.iushrn(M);M-- >0;)(c.isOdd()||p.isOdd())&&(c.iadd(h),p.isub(T)),c.iushrn(1),p.iushrn(1);for(var V=0,ee=1;!(w.words[0]&ee)&&V<26;++V,ee<<=1);if(V>0)for(w.iushrn(V);V-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(h),S.isub(T)),x.iushrn(1),S.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(x),p.isub(S)):(w.isub(v),x.isub(c),S.isub(p))}return{a:x,b:S,gcd:w.iushln(b)}},l.prototype._invmp=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=w.clone();v.cmpn(1)>0&&w.cmpn(1)>0;){for(var S=0,b=1;!(v.words[0]&b)&&S<26;++S,b<<=1);if(S>0)for(v.iushrn(S);S-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var h=0,T=1;!(w.words[0]&T)&&h<26;++h,T<<=1);if(h>0)for(w.iushrn(h);h-- >0;)p.isOdd()&&p.iadd(x),p.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(p)):(w.isub(v),p.isub(c))}var M;return v.cmpn(1)===0?M=c:M=p,M.cmpn(0)<0&&M.iadd(d),M},l.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var v=this.clone(),w=d.clone();v.negative=0,w.negative=0;for(var c=0;v.isEven()&&w.isEven();c++)v.iushrn(1),w.iushrn(1);do{for(;v.isEven();)v.iushrn(1);for(;w.isEven();)w.iushrn(1);var p=v.cmp(w);if(p<0){var x=v;v=w,w=x}else if(p===0||w.cmpn(1)===0)break;v.isub(w)}while(!0);return w.iushln(c)},l.prototype.invm=function(d){return this.egcd(d).a.umod(d)},l.prototype.isEven=function(){return(this.words[0]&1)===0},l.prototype.isOdd=function(){return(this.words[0]&1)===1},l.prototype.andln=function(d){return this.words[0]&d},l.prototype.bincn=function(d){o(typeof d=="number");var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return this._expand(w+1),this.words[w]|=c,this;for(var p=c,x=w;p!==0&&x<this.length;x++){var S=this.words[x]|0;S+=p,p=S>>>26,S&=67108863,this.words[x]=S}return p!==0&&(this.words[x]=p,this.length++),this},l.prototype.isZero=function(){return this.length===1&&this.words[0]===0},l.prototype.cmpn=function(d){var v=d<0;if(this.negative!==0&&!v)return-1;if(this.negative===0&&v)return 1;this.strip();var w;if(this.length>1)w=1;else{v&&(d=-d),o(d<=67108863,"Number is too big");var c=this.words[0]|0;w=c===d?0:c<d?-1:1}return this.negative!==0?-w|0:w},l.prototype.cmp=function(d){if(this.negative!==0&&d.negative===0)return-1;if(this.negative===0&&d.negative!==0)return 1;var v=this.ucmp(d);return this.negative!==0?-v|0:v},l.prototype.ucmp=function(d){if(this.length>d.length)return 1;if(this.length<d.length)return-1;for(var v=0,w=this.length-1;w>=0;w--){var c=this.words[w]|0,p=d.words[w]|0;if(c!==p){c<p?v=-1:c>p&&(v=1);break}}return v},l.prototype.gtn=function(d){return this.cmpn(d)===1},l.prototype.gt=function(d){return this.cmp(d)===1},l.prototype.gten=function(d){return this.cmpn(d)>=0},l.prototype.gte=function(d){return this.cmp(d)>=0},l.prototype.ltn=function(d){return this.cmpn(d)===-1},l.prototype.lt=function(d){return this.cmp(d)===-1},l.prototype.lten=function(d){return this.cmpn(d)<=0},l.prototype.lte=function(d){return this.cmp(d)<=0},l.prototype.eqn=function(d){return this.cmpn(d)===0},l.prototype.eq=function(d){return this.cmp(d)===0},l.red=function(d){return new he(d)},l.prototype.toRed=function(d){return o(!this.red,"Already a number in reduction context"),o(this.negative===0,"red works only with positives"),d.convertTo(this)._forceRed(d)},l.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(d){return this.red=d,this},l.prototype.forceRed=function(d){return o(!this.red,"Already a number in reduction context"),this._forceRed(d)},l.prototype.redAdd=function(d){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},l.prototype.redIAdd=function(d){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},l.prototype.redSub=function(d){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},l.prototype.redISub=function(d){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},l.prototype.redShl=function(d){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},l.prototype.redMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},l.prototype.redIMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},l.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(d){return o(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var Y={k256:null,p224:null,p192:null,p25519:null};function J(L,d){this.name=L,this.p=new l(d,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}J.prototype._tmp=function(){var d=new l(null);return d.words=new Array(Math.ceil(this.n/13)),d},J.prototype.ireduce=function(d){var v=d,w;do this.split(v,this.tmp),v=this.imulK(v),v=v.iadd(this.tmp),w=v.bitLength();while(w>this.n);var c=w<this.n?-1:v.ucmp(this.p);return c===0?(v.words[0]=0,v.length=1):c>0?v.isub(this.p):v.strip!==void 0?v.strip():v._strip(),v},J.prototype.split=function(d,v){d.iushrn(this.n,0,v)},J.prototype.imulK=function(d){return d.imul(this.k)};function ie(){J.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(ie,J),ie.prototype.split=function(d,v){for(var w=4194303,c=Math.min(d.length,9),p=0;p<c;p++)v.words[p]=d.words[p];if(v.length=c,d.length<=9){d.words[0]=0,d.length=1;return}var x=d.words[9];for(v.words[v.length++]=x&w,p=10;p<d.length;p++){var S=d.words[p]|0;d.words[p-10]=(S&w)<<4|x>>>22,x=S}x>>>=22,d.words[p-10]=x,x===0&&d.length>10?d.length-=10:d.length-=9},ie.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var v=0,w=0;w<d.length;w++){var c=d.words[w]|0;v+=c*977,d.words[w]=v&67108863,v=c*64+(v/67108864|0)}return d.words[d.length-1]===0&&(d.length--,d.words[d.length-1]===0&&d.length--),d};function ue(){J.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(ue,J);function Q(){J.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(Q,J);function ce(){J.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ce,J),ce.prototype.imulK=function(d){for(var v=0,w=0;w<d.length;w++){var c=(d.words[w]|0)*19+v,p=c&67108863;c>>>=26,d.words[w]=p,v=c}return v!==0&&(d.words[d.length++]=v),d},l._prime=function(d){if(Y[d])return Y[d];var v;if(d==="k256")v=new ie;else if(d==="p224")v=new ue;else if(d==="p192")v=new Q;else if(d==="p25519")v=new ce;else throw new Error("Unknown prime "+d);return Y[d]=v,v};function he(L){if(typeof L=="string"){var d=l._prime(L);this.m=d.p,this.prime=d}else o(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(d){o(d.negative===0,"red works only with positives"),o(d.red,"red works only with red numbers")},he.prototype._verify2=function(d,v){o((d.negative|v.negative)===0,"red works only with positives"),o(d.red&&d.red===v.red,"red works only with red numbers")},he.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):d.umod(this.m)._forceRed(this)},he.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},he.prototype.add=function(d,v){this._verify2(d,v);var w=d.add(v);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},he.prototype.iadd=function(d,v){this._verify2(d,v);var w=d.iadd(v);return w.cmp(this.m)>=0&&w.isub(this.m),w},he.prototype.sub=function(d,v){this._verify2(d,v);var w=d.sub(v);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},he.prototype.isub=function(d,v){this._verify2(d,v);var w=d.isub(v);return w.cmpn(0)<0&&w.iadd(this.m),w},he.prototype.shl=function(d,v){return this._verify1(d),this.imod(d.ushln(v))},he.prototype.imul=function(d,v){return this._verify2(d,v),this.imod(d.imul(v))},he.prototype.mul=function(d,v){return this._verify2(d,v),this.imod(d.mul(v))},he.prototype.isqr=function(d){return this.imul(d,d.clone())},he.prototype.sqr=function(d){return this.mul(d,d)},he.prototype.sqrt=function(d){if(d.isZero())return d.clone();var v=this.m.andln(3);if(o(v%2===1),v===3){var w=this.m.add(new l(1)).iushrn(2);return this.pow(d,w)}for(var c=this.m.subn(1),p=0;!c.isZero()&&c.andln(1)===0;)p++,c.iushrn(1);o(!c.isZero());var x=new l(1).toRed(this),S=x.redNeg(),b=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);this.pow(h,b).cmp(S)!==0;)h.redIAdd(S);for(var T=this.pow(h,c),M=this.pow(d,c.addn(1).iushrn(1)),j=this.pow(d,c),V=p;j.cmp(x)!==0;){for(var ee=j,Z=0;ee.cmp(x)!==0;Z++)ee=ee.redSqr();o(Z<V);var U=this.pow(T,new l(1).iushln(V-Z-1));M=M.redMul(U),T=U.redSqr(),j=j.redMul(T),V=Z}return M},he.prototype.invm=function(d){var v=d._invmp(this.m);return v.negative!==0?(v.negative=0,this.imod(v).redNeg()):this.imod(v)},he.prototype.pow=function(d,v){if(v.isZero())return new l(1).toRed(this);if(v.cmpn(1)===0)return d.clone();var w=4,c=new Array(1<<w);c[0]=new l(1).toRed(this),c[1]=d;for(var p=2;p<c.length;p++)c[p]=this.mul(c[p-1],d);var x=c[0],S=0,b=0,h=v.bitLength()%26;for(h===0&&(h=26),p=v.length-1;p>=0;p--){for(var T=v.words[p],M=h-1;M>=0;M--){var j=T>>M&1;if(x!==c[0]&&(x=this.sqr(x)),j===0&&S===0){b=0;continue}S<<=1,S|=j,b++,!(b!==w&&(p!==0||M!==0))&&(x=this.mul(x,c[S]),b=0,S=0)}h=26}return x},he.prototype.convertTo=function(d){var v=d.umod(this.m);return v===d?v.clone():v},he.prototype.convertFrom=function(d){var v=d.clone();return v.red=null,v},l.mont=function(d){return new ke(d)};function ke(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(ke,he),ke.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},ke.prototype.convertFrom=function(d){var v=this.imod(d.mul(this.rinv));return v.red=null,v},ke.prototype.imul=function(d,v){if(d.isZero()||v.isZero())return d.words[0]=0,d.length=1,d;var w=d.imul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.mul=function(d,v){if(d.isZero()||v.isZero())return new l(0)._forceRed(this);var w=d.mul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.invm=function(d){var v=this.imod(d._invmp(this.m).mul(this.r2));return v._forceRed(this)}})(t,commonjsGlobal$1)}(bn$2);var bnExports$2=bn$2.exports,api={},vmBrowserify={},hasRequiredVmBrowserify;function requireVmBrowserify(){return hasRequiredVmBrowserify||(hasRequiredVmBrowserify=1,function(exports){var indexOf=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1},Object_keys=function(t){if(Object.keys)return Object.keys(t);var e=[];for(var n in t)e.push(n);return e},forEach=function(t,e){if(t.forEach)return t.forEach(e);for(var n=0;n<t.length;n++)e(t[n],n,t)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(t,e,n){Object.defineProperty(t,e,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch{return function(e,n,o){e[n]=o}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(t){if(!(t instanceof Context))throw new TypeError("needs a 'context' argument.");var e=document.createElement("iframe");e.style||(e.style={}),e.style.display="none",document.body.appendChild(e);var n=e.contentWindow,o=n.eval,u=n.execScript;!o&&u&&(u.call(n,"null"),o=n.eval),forEach(Object_keys(t),function(y){n[y]=t[y]}),forEach(globals,function(y){t[y]&&(n[y]=t[y])});var l=Object_keys(n),m=o.call(n,this.code);return forEach(Object_keys(n),function(y){(y in t||indexOf(l,y)===-1)&&(t[y]=n[y])}),forEach(globals,function(y){y in t||defineProp(t,y,n[y])}),document.body.removeChild(e),m},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(t){var e=Script.createContext(t),n=this.runInContext(e);return t&&forEach(Object_keys(e),function(o){t[o]=e[o]}),n},forEach(Object_keys(Script.prototype),function(t){exports[t]=Script[t]=function(e){var n=Script(e);return n[t].apply(n,[].slice.call(arguments,1))}}),exports.isContext=function(t){return t instanceof Context},exports.createScript=function(t){return exports.Script(t)},exports.createContext=Script.createContext=function(t){var e=new Context;return typeof t=="object"&&forEach(Object_keys(t),function(n){e[n]=t[n]}),e}}(vmBrowserify)),vmBrowserify}var hasRequiredApi;function requireApi(){return hasRequiredApi||(hasRequiredApi=1,function(t){var e=requireAsn1(),n=inherits_browserExports,o=t;o.define=function(m,y){return new u(m,y)};function u(l,m){this.name=l,this.body=m,this.decoders={},this.encoders={}}u.prototype._createNamed=function(m){var y;try{y=requireVmBrowserify().runInThisContext("(function "+this.name+`(entity) {
+ */var net=require$$1$5,urlParse=require$$2$2.parse,util$4=util$6,pubsuffix=pubsuffixPsl,Store=store.Store,MemoryCookieStore=memstore.MemoryCookieStore,pathMatch=pathMatch$3.pathMatch,VERSION=version$2,punycode;try{punycode=requirePunycode()}catch(n){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var COOKIE_OCTETS=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,CONTROL_CHARS=/[\x00-\x1F]/,TERMINATORS=[`
+`,"\r","\0"],PATH_VALUE=/[\x20-\x3A\x3C-\x7E]+/,DATE_DELIM=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,MONTH_TO_NUM={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},NUM_TO_MONTH=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],NUM_TO_DAY=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],MAX_TIME=2147483647e3,MIN_TIME=0;function parseDigits(n,e,o,l){for(var t=0;t<n.length;){var u=n.charCodeAt(t);if(u<=47||u>=58)break;t++}return t<e||t>o||!l&&t!=n.length?null:parseInt(n.substr(0,t),10)}function parseTime(n){var e=n.split(":"),o=[0,0,0];if(e.length!==3)return null;for(var l=0;l<3;l++){var t=l==2,u=parseDigits(e[l],1,2,t);if(u===null)return null;o[l]=u}return o}function parseMonth(n){n=String(n).substr(0,3).toLowerCase();var e=MONTH_TO_NUM[n];return e>=0?e:null}function parseDate(n){if(n){var e=n.split(DATE_DELIM);if(e){for(var o=null,l=null,t=null,u=null,h=null,v=null,w=0;w<e.length;w++){var A=e[w].trim();if(A.length){var E;if(t===null&&(E=parseTime(A),E)){o=E[0],l=E[1],t=E[2];continue}if(u===null&&(E=parseDigits(A,1,2,!0),E!==null)){u=E;continue}if(h===null&&(E=parseMonth(A),E!==null)){h=E;continue}v===null&&(E=parseDigits(A,2,4,!0),E!==null&&(v=E,v>=70&&v<=99?v+=1900:v>=0&&v<=69&&(v+=2e3)))}}if(!(u===null||h===null||v===null||t===null||u<1||u>31||v<1601||o>23||l>59||t>59))return new Date(Date.UTC(v,h,u,o,l,t))}}}function formatDate(n){var e=n.getUTCDate();e=e>=10?e:"0"+e;var o=n.getUTCHours();o=o>=10?o:"0"+o;var l=n.getUTCMinutes();l=l>=10?l:"0"+l;var t=n.getUTCSeconds();return t=t>=10?t:"0"+t,NUM_TO_DAY[n.getUTCDay()]+", "+e+" "+NUM_TO_MONTH[n.getUTCMonth()]+" "+n.getUTCFullYear()+" "+o+":"+l+":"+t+" GMT"}function canonicalDomain(n){return n==null?null:(n=n.trim().replace(/^\./,""),punycode&&/[^\u0001-\u007f]/.test(n)&&(n=punycode.toASCII(n)),n.toLowerCase())}function domainMatch(n,e,o){if(n==null||e==null)return null;if(o!==!1&&(n=canonicalDomain(n),e=canonicalDomain(e)),n==e)return!0;if(net.isIP(n))return!1;var l=n.indexOf(e);return!(l<=0||n.length!==e.length+l||n.substr(l-1,1)!==".")}function defaultPath(n){if(!n||n.substr(0,1)!=="/")return"/";if(n==="/")return n;var e=n.lastIndexOf("/");return e===0?"/":n.slice(0,e)}function trimTerminator(n){for(var e=0;e<TERMINATORS.length;e++){var o=n.indexOf(TERMINATORS[e]);o!==-1&&(n=n.substr(0,o))}return n}function parseCookiePair(n,e){n=trimTerminator(n);var o=n.indexOf("=");if(e)o===0&&(n=n.substr(1),o=n.indexOf("="));else if(o<=0)return;var l,t;if(o<=0?(l="",t=n.trim()):(l=n.substr(0,o).trim(),t=n.substr(o+1).trim()),!(CONTROL_CHARS.test(l)||CONTROL_CHARS.test(t))){var u=new Cookie$1;return u.key=l,u.value=t,u}}function parse$1(n,e){(!e||typeof e!="object")&&(e={}),n=n.trim();var o=n.indexOf(";"),l=o===-1?n:n.substr(0,o),t=parseCookiePair(l,!!e.loose);if(t){if(o===-1)return t;var u=n.slice(o+1).trim();if(u.length===0)return t;for(var h=u.split(";");h.length;){var v=h.shift().trim();if(v.length!==0){var w=v.indexOf("="),A,E;switch(w===-1?(A=v,E=null):(A=v.substr(0,w),E=v.substr(w+1)),A=A.trim().toLowerCase(),E&&(E=E.trim()),A){case"expires":if(E){var C=parseDate(E);C&&(t.expires=C)}break;case"max-age":if(E&&/^-?[0-9]+$/.test(E)){var M=parseInt(E,10);t.setMaxAge(M)}break;case"domain":if(E){var P=E.trim().replace(/^\./,"");P&&(t.domain=P.toLowerCase())}break;case"path":t.path=E&&E[0]==="/"?E:null;break;case"secure":t.secure=!0;break;case"httponly":t.httpOnly=!0;break;default:t.extensions=t.extensions||[],t.extensions.push(v);break}}}return t}}function jsonParse(n){var e;try{e=JSON.parse(n)}catch(o){return o}return e}function fromJSON(n){if(!n)return null;var e;if(typeof n=="string"){if(e=jsonParse(n),e instanceof Error)return null}else e=n;for(var o=new Cookie$1,l=0;l<Cookie$1.serializableProperties.length;l++){var t=Cookie$1.serializableProperties[l];e[t]===void 0||e[t]===Cookie$1.prototype[t]||(t==="expires"||t==="creation"||t==="lastAccessed"?e[t]===null?o[t]=null:o[t]=e[t]=="Infinity"?"Infinity":new Date(e[t]):o[t]=e[t])}return o}function cookieCompare(n,e){var o=0,l=n.path?n.path.length:0,t=e.path?e.path.length:0;if(o=t-l,o!==0)return o;var u=n.creation?n.creation.getTime():MAX_TIME,h=e.creation?e.creation.getTime():MAX_TIME;return o=u-h,o!==0||(o=n.creationIndex-e.creationIndex),o}function permutePath(n){if(n==="/")return["/"];n.lastIndexOf("/")===n.length-1&&(n=n.substr(0,n.length-1));for(var e=[n];n.length>1;){var o=n.lastIndexOf("/");if(o===0)break;n=n.substr(0,o),e.push(n)}return e.push("/"),e}function getCookieContext(n){if(n instanceof Object)return n;try{n=decodeURI(n)}catch{}return urlParse(n)}function Cookie$1(n){n=n||{},Object.keys(n).forEach(function(e){Cookie$1.prototype.hasOwnProperty(e)&&Cookie$1.prototype[e]!==n[e]&&e.substr(0,1)!=="_"&&(this[e]=n[e])},this),this.creation=this.creation||new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++Cookie$1.cookiesCreated})}Cookie$1.cookiesCreated=0,Cookie$1.parse=parse$1,Cookie$1.fromJSON=fromJSON,Cookie$1.prototype.key="",Cookie$1.prototype.value="",Cookie$1.prototype.expires="Infinity",Cookie$1.prototype.maxAge=null,Cookie$1.prototype.domain=null,Cookie$1.prototype.path=null,Cookie$1.prototype.secure=!1,Cookie$1.prototype.httpOnly=!1,Cookie$1.prototype.extensions=null,Cookie$1.prototype.hostOnly=null,Cookie$1.prototype.pathIsDefault=null,Cookie$1.prototype.creation=null,Cookie$1.prototype.lastAccessed=null,Object.defineProperty(Cookie$1.prototype,"creationIndex",{configurable:!0,enumerable:!1,writable:!0,value:0}),Cookie$1.serializableProperties=Object.keys(Cookie$1.prototype).filter(function(n){return!(Cookie$1.prototype[n]instanceof Function||n==="creationIndex"||n.substr(0,1)==="_")}),Cookie$1.prototype.inspect=function(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(this.hostOnly!=null?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'},util$4.inspect.custom&&(Cookie$1.prototype[util$4.inspect.custom]=Cookie$1.prototype.inspect),Cookie$1.prototype.toJSON=function(){for(var n={},e=Cookie$1.serializableProperties,o=0;o<e.length;o++){var l=e[o];this[l]!==Cookie$1.prototype[l]&&(l==="expires"||l==="creation"||l==="lastAccessed"?this[l]===null?n[l]=null:n[l]=this[l]=="Infinity"?"Infinity":this[l].toISOString():l==="maxAge"?this[l]!==null&&(n[l]=this[l]==1/0||this[l]==-1/0?this[l].toString():this[l]):this[l]!==Cookie$1.prototype[l]&&(n[l]=this[l]))}return n},Cookie$1.prototype.clone=function(){return fromJSON(this.toJSON())},Cookie$1.prototype.validate=function(){if(!COOKIE_OCTETS.test(this.value)||this.expires!=1/0&&!(this.expires instanceof Date)&&!parseDate(this.expires)||this.maxAge!=null&&this.maxAge<=0||this.path!=null&&!PATH_VALUE.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\.$/))return!1;var o=pubsuffix.getPublicSuffix(e);if(o==null)return!1}return!0},Cookie$1.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=parseDate(e)||"Infinity"},Cookie$1.prototype.setMaxAge=function(e){e===1/0||e===-1/0?this.maxAge=e.toString():this.maxAge=e},Cookie$1.prototype.cookieString=function(){var e=this.value;return e==null&&(e=""),this.key===""?e:this.key+"="+e},Cookie$1.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(this.expires instanceof Date?e+="; Expires="+formatDate(this.expires):e+="; Expires="+this.expires),this.maxAge!=null&&this.maxAge!=1/0&&(e+="; Max-Age="+this.maxAge),this.domain&&!this.hostOnly&&(e+="; Domain="+this.domain),this.path&&(e+="; Path="+this.path),this.secure&&(e+="; Secure"),this.httpOnly&&(e+="; HttpOnly"),this.extensions&&this.extensions.forEach(function(o){e+="; "+o}),e},Cookie$1.prototype.TTL=function(e){if(this.maxAge!=null)return this.maxAge<=0?0:this.maxAge*1e3;var o=this.expires;return o!=1/0?(o instanceof Date||(o=parseDate(o)||1/0),o==1/0?1/0:o.getTime()-(e||Date.now())):1/0},Cookie$1.prototype.expiryTime=function(e){if(this.maxAge!=null){var o=e||this.creation||new Date,l=this.maxAge<=0?-1/0:this.maxAge*1e3;return o.getTime()+l}return this.expires==1/0?1/0:this.expires.getTime()},Cookie$1.prototype.expiryDate=function(e){var o=this.expiryTime(e);return o==1/0?new Date(MAX_TIME):o==-1/0?new Date(MIN_TIME):new Date(o)},Cookie$1.prototype.isPersistent=function(){return this.maxAge!=null||this.expires!=1/0},Cookie$1.prototype.cdomain=Cookie$1.prototype.canonicalizedDomain=function(){return this.domain==null?null:canonicalDomain(this.domain)};function CookieJar$1(n,e){typeof e=="boolean"?e={rejectPublicSuffixes:e}:e==null&&(e={}),e.rejectPublicSuffixes!=null&&(this.rejectPublicSuffixes=e.rejectPublicSuffixes),e.looseMode!=null&&(this.enableLooseMode=e.looseMode),n||(n=new MemoryCookieStore),this.store=n}CookieJar$1.prototype.store=null,CookieJar$1.prototype.rejectPublicSuffixes=!0,CookieJar$1.prototype.enableLooseMode=!1;var CAN_BE_SYNC=[];CAN_BE_SYNC.push("setCookie"),CookieJar$1.prototype.setCookie=function(n,e,o,l){var t,u=getCookieContext(e);o instanceof Function&&(l=o,o={});var h=canonicalDomain(u.hostname),v=this.enableLooseMode;if(o.loose!=null&&(v=o.loose),n instanceof Cookie$1||(n=Cookie$1.parse(n,{loose:v})),!n)return t=new Error("Cookie failed to parse"),l(o.ignoreError?null:t);var w=o.now||new Date;if(this.rejectPublicSuffixes&&n.domain){var A=pubsuffix.getPublicSuffix(n.cdomain());if(A==null)return t=new Error("Cookie has domain set to a public suffix"),l(o.ignoreError?null:t)}if(n.domain){if(!domainMatch(h,n.cdomain(),!1))return t=new Error("Cookie not in this host's domain. Cookie:"+n.cdomain()+" Request:"+h),l(o.ignoreError?null:t);n.hostOnly==null&&(n.hostOnly=!1)}else n.hostOnly=!0,n.domain=h;if((!n.path||n.path[0]!=="/")&&(n.path=defaultPath(u.pathname),n.pathIsDefault=!0),o.http===!1&&n.httpOnly)return t=new Error("Cookie is HttpOnly and this isn't an HTTP API"),l(o.ignoreError?null:t);var E=this.store;E.updateCookie||(E.updateCookie=function(M,P,I){this.putCookie(P,I)});function C(M,P){if(M)return l(M);var I=function(j){if(j)return l(j);l(null,n)};if(P){if(o.http===!1&&P.httpOnly)return M=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),l(o.ignoreError?null:M);n.creation=P.creation,n.creationIndex=P.creationIndex,n.lastAccessed=w,E.updateCookie(P,n,I)}else n.creation=n.lastAccessed=w,E.putCookie(n,I)}E.findCookie(n.domain,n.path,n.key,C)},CAN_BE_SYNC.push("getCookies"),CookieJar$1.prototype.getCookies=function(n,e,o){var l=getCookieContext(n);e instanceof Function&&(o=e,e={});var t=canonicalDomain(l.hostname),u=l.pathname||"/",h=e.secure;h==null&&l.protocol&&(l.protocol=="https:"||l.protocol=="wss:")&&(h=!0);var v=e.http;v==null&&(v=!0);var w=e.now||Date.now(),A=e.expire!==!1,E=!!e.allPaths,C=this.store;function M(P){if(P.hostOnly){if(P.domain!=t)return!1}else if(!domainMatch(t,P.domain,!1))return!1;return!E&&!pathMatch(u,P.path)||P.secure&&!h||P.httpOnly&&!v?!1:A&&P.expiryTime()<=w?(C.removeCookie(P.domain,P.path,P.key,function(){}),!1):!0}C.findCookies(t,E?null:u,function(P,I){if(P)return o(P);I=I.filter(M),e.sort!==!1&&(I=I.sort(cookieCompare));var j=new Date;I.forEach(function(B){B.lastAccessed=j}),o(null,I)})},CAN_BE_SYNC.push("getCookieString"),CookieJar$1.prototype.getCookieString=function(){var n=Array.prototype.slice.call(arguments,0),e=n.pop(),o=function(l,t){l?e(l):e(null,t.sort(cookieCompare).map(function(u){return u.cookieString()}).join("; "))};n.push(o),this.getCookies.apply(this,n)},CAN_BE_SYNC.push("getSetCookieStrings"),CookieJar$1.prototype.getSetCookieStrings=function(){var n=Array.prototype.slice.call(arguments,0),e=n.pop(),o=function(l,t){l?e(l):e(null,t.map(function(u){return u.toString()}))};n.push(o),this.getCookies.apply(this,n)},CAN_BE_SYNC.push("serialize"),CookieJar$1.prototype.serialize=function(n){var e=this.store.constructor.name;e==="Object"&&(e=null);var o={version:"tough-cookie@"+VERSION,storeType:e,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!(this.store.getAllCookies&&typeof this.store.getAllCookies=="function"))return n(new Error("store does not support getAllCookies and cannot be serialized"));this.store.getAllCookies(function(l,t){return l?n(l):(o.cookies=t.map(function(u){return u=u instanceof Cookie$1?u.toJSON():u,delete u.creationIndex,u}),n(null,o))})},CookieJar$1.prototype.toJSON=function(){return this.serializeSync()},CAN_BE_SYNC.push("_importCookies"),CookieJar$1.prototype._importCookies=function(n,e){var o=this,l=n.cookies;if(!l||!Array.isArray(l))return e(new Error("serialized jar has no cookies array"));l=l.slice();function t(u){if(u)return e(u);if(!l.length)return e(u,o);var h;try{h=fromJSON(l.shift())}catch(v){return e(v)}if(h===null)return t(null);o.store.putCookie(h,t)}t()},CookieJar$1.deserialize=function(n,e,o){arguments.length!==3&&(o=e,e=null);var l;if(typeof n=="string"){if(l=jsonParse(n),l instanceof Error)return o(l)}else l=n;var t=new CookieJar$1(e,l.rejectPublicSuffixes);t._importCookies(l,function(u){if(u)return o(u);o(null,t)})},CookieJar$1.deserializeSync=function(n,e){var o=typeof n=="string"?JSON.parse(n):n,l=new CookieJar$1(e,o.rejectPublicSuffixes);if(!l.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return l._importCookiesSync(o),l},CookieJar$1.fromJSON=CookieJar$1.deserializeSync,CookieJar$1.prototype.clone=function(n,e){arguments.length===1&&(e=n,n=null),this.serialize(function(o,l){if(o)return e(o);CookieJar$1.deserialize(l,n,e)})},CAN_BE_SYNC.push("removeAllCookies"),CookieJar$1.prototype.removeAllCookies=function(n){var e=this.store;if(e.removeAllCookies instanceof Function&&e.removeAllCookies!==Store.prototype.removeAllCookies)return e.removeAllCookies(n);e.getAllCookies(function(o,l){if(o)return n(o);if(l.length===0)return n(null);var t=0,u=[];function h(v){if(v&&u.push(v),t++,t===l.length)return n(u.length?u[0]:null)}l.forEach(function(v){e.removeCookie(v.domain,v.path,v.key,h)})})},CookieJar$1.prototype._cloneSync=syncWrap("clone"),CookieJar$1.prototype.cloneSync=function(n){if(!n.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(n)};function syncWrap(n){return function(){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");var e=Array.prototype.slice.call(arguments),o,l;if(e.push(function(u,h){o=u,l=h}),this[n].apply(this,e),o)throw o;return l}}CAN_BE_SYNC.forEach(function(n){CookieJar$1.prototype[n+"Sync"]=syncWrap(n)}),cookie.version=VERSION,cookie.CookieJar=CookieJar$1,cookie.Cookie=Cookie$1,cookie.Store=Store,cookie.MemoryCookieStore=MemoryCookieStore,cookie.parseDate=parseDate,cookie.formatDate=formatDate,cookie.parse=parse$1,cookie.fromJSON=fromJSON,cookie.domainMatch=domainMatch,cookie.defaultPath=defaultPath,cookie.pathMatch=pathMatch,cookie.getPublicSuffix=pubsuffix.getPublicSuffix,cookie.cookieCompare=cookieCompare,cookie.permuteDomain=permuteDomain$2.permuteDomain,cookie.permutePath=permutePath,cookie.canonicalDomain=canonicalDomain;var tough=cookie,Cookie=tough.Cookie,CookieJar=tough.CookieJar;cookies$1.parse=function(n){if(n&&n.uri&&(n=n.uri),typeof n!="string")throw new Error("The cookie function only accepts STRING as param");return Cookie.parse(n,{loose:!0})};function RequestJar(n){var e=this;e._jar=new CookieJar(n,{looseMode:!0})}RequestJar.prototype.setCookie=function(n,e,o){var l=this;return l._jar.setCookieSync(n,e,o||{})},RequestJar.prototype.getCookieString=function(n){var e=this;return e._jar.getCookieStringSync(n)},RequestJar.prototype.getCookies=function(n){var e=this;return e._jar.getCookiesSync(n)},cookies$1.jar=function(n){return new RequestJar(n)};var helpers$1={},stringify={exports:{}};(function(n,e){e=n.exports=o,e.getSerialize=l;function o(t,u,h,v){return JSON.stringify(t,l(u,v),h)}function l(t,u){var h=[],v=[];return u==null&&(u=function(w,A){return h[0]===A?"[Circular ~]":"[Circular ~."+v.slice(0,h.indexOf(A)).join(".")+"]"}),function(w,A){if(h.length>0){var E=h.indexOf(this);~E?h.splice(E+1):h.push(this),~E?v.splice(E,1/0,w):v.push(w),~h.indexOf(A)&&(A=u.call(this,w,A))}else h.push(A);return t==null?A:t.call(this,w,A)}}})(stringify,stringify.exports);var stringifyExports=stringify.exports,cryptoBrowserify={},browser$d={exports:{}},safeBuffer$2={exports:{}};const require$$0$2=getAugmentedNamespace(dist);/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(n,e){var o=require$$0$2,l=o.Buffer;function t(h,v){for(var w in h)v[w]=h[w]}l.from&&l.alloc&&l.allocUnsafe&&l.allocUnsafeSlow?n.exports=o:(t(o,e),e.Buffer=u);function u(h,v,w){return l(h,v,w)}u.prototype=Object.create(l.prototype),t(l,u),u.from=function(h,v,w){if(typeof h=="number")throw new TypeError("Argument must not be a number");return l(h,v,w)},u.alloc=function(h,v,w){if(typeof h!="number")throw new TypeError("Argument must be a number");var A=l(h);return v!==void 0?typeof w=="string"?A.fill(v,w):A.fill(v):A.fill(0),A},u.allocUnsafe=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return l(h)},u.allocUnsafeSlow=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return o.SlowBuffer(h)}})(safeBuffer$2,safeBuffer$2.exports);var safeBufferExports$1=safeBuffer$2.exports,MAX_BYTES=65536,MAX_UINT32=4294967295;function oldBrowser$1(){throw new Error(`Secure random number generation is not supported by this browser.
+Use Chrome, Firefox or Internet Explorer 11`)}var Buffer$B=safeBufferExports$1.Buffer,crypto$3=commonjsGlobal$1.crypto||commonjsGlobal$1.msCrypto;crypto$3&&crypto$3.getRandomValues?browser$d.exports=randomBytes$2:browser$d.exports=oldBrowser$1;function randomBytes$2(n,e){if(n>MAX_UINT32)throw new RangeError("requested too many random bytes");var o=Buffer$B.allocUnsafe(n);if(n>0)if(n>MAX_BYTES)for(var l=0;l<n;l+=MAX_BYTES)crypto$3.getRandomValues(o.slice(l,l+MAX_BYTES));else crypto$3.getRandomValues(o);return typeof e=="function"?process$1.nextTick(function(){e(null,o)}):o}var browserExports=browser$d.exports,events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var n=typeof Reflect=="object"?Reflect:null,e=n&&typeof n.apply=="function"?n.apply:function(re,fe,V){return Function.prototype.apply.call(re,fe,V)},o;n&&typeof n.ownKeys=="function"?o=n.ownKeys:Object.getOwnPropertySymbols?o=function(re){return Object.getOwnPropertyNames(re).concat(Object.getOwnPropertySymbols(re))}:o=function(re){return Object.getOwnPropertyNames(re)};function l(Z){console&&console.warn&&console.warn(Z)}var t=Number.isNaN||function(re){return re!==re};function u(){u.init.call(this)}events.exports=u,events.exports.once=F,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var h=10;function v(Z){if(typeof Z!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Z)}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return h},set:function(Z){if(typeof Z!="number"||Z<0||t(Z))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Z+".");h=Z}}),u.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(re){if(typeof re!="number"||re<0||t(re))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+re+".");return this._maxListeners=re,this};function w(Z){return Z._maxListeners===void 0?u.defaultMaxListeners:Z._maxListeners}u.prototype.getMaxListeners=function(){return w(this)},u.prototype.emit=function(re){for(var fe=[],V=1;V<arguments.length;V++)fe.push(arguments[V]);var le=re==="error",he=this._events;if(he!==void 0)le=le&&he.error===void 0;else if(!le)return!1;if(le){var ye;if(fe.length>0&&(ye=fe[0]),ye instanceof Error)throw ye;var L=new Error("Unhandled error."+(ye?" ("+ye.message+")":""));throw L.context=ye,L}var p=he[re];if(p===void 0)return!1;if(typeof p=="function")e(p,this,fe);else for(var y=p.length,S=I(p,y),V=0;V<y;++V)e(S[V],this,fe);return!0};function A(Z,re,fe,V){var le,he,ye;if(v(fe),he=Z._events,he===void 0?(he=Z._events=Object.create(null),Z._eventsCount=0):(he.newListener!==void 0&&(Z.emit("newListener",re,fe.listener?fe.listener:fe),he=Z._events),ye=he[re]),ye===void 0)ye=he[re]=fe,++Z._eventsCount;else if(typeof ye=="function"?ye=he[re]=V?[fe,ye]:[ye,fe]:V?ye.unshift(fe):ye.push(fe),le=w(Z),le>0&&ye.length>le&&!ye.warned){ye.warned=!0;var L=new Error("Possible EventEmitter memory leak detected. "+ye.length+" "+String(re)+" listeners added. Use emitter.setMaxListeners() to increase limit");L.name="MaxListenersExceededWarning",L.emitter=Z,L.type=re,L.count=ye.length,l(L)}return Z}u.prototype.addListener=function(re,fe){return A(this,re,fe,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(re,fe){return A(this,re,fe,!0)};function E(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function C(Z,re,fe){var V={fired:!1,wrapFn:void 0,target:Z,type:re,listener:fe},le=E.bind(V);return le.listener=fe,V.wrapFn=le,le}u.prototype.once=function(re,fe){return v(fe),this.on(re,C(this,re,fe)),this},u.prototype.prependOnceListener=function(re,fe){return v(fe),this.prependListener(re,C(this,re,fe)),this},u.prototype.removeListener=function(re,fe){var V,le,he,ye,L;if(v(fe),le=this._events,le===void 0)return this;if(V=le[re],V===void 0)return this;if(V===fe||V.listener===fe)--this._eventsCount===0?this._events=Object.create(null):(delete le[re],le.removeListener&&this.emit("removeListener",re,V.listener||fe));else if(typeof V!="function"){for(he=-1,ye=V.length-1;ye>=0;ye--)if(V[ye]===fe||V[ye].listener===fe){L=V[ye].listener,he=ye;break}if(he<0)return this;he===0?V.shift():j(V,he),V.length===1&&(le[re]=V[0]),le.removeListener!==void 0&&this.emit("removeListener",re,L||fe)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(re){var fe,V,le;if(V=this._events,V===void 0)return this;if(V.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):V[re]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete V[re]),this;if(arguments.length===0){var he=Object.keys(V),ye;for(le=0;le<he.length;++le)ye=he[le],ye!=="removeListener"&&this.removeAllListeners(ye);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(fe=V[re],typeof fe=="function")this.removeListener(re,fe);else if(fe!==void 0)for(le=fe.length-1;le>=0;le--)this.removeListener(re,fe[le]);return this};function M(Z,re,fe){var V=Z._events;if(V===void 0)return[];var le=V[re];return le===void 0?[]:typeof le=="function"?fe?[le.listener||le]:[le]:fe?B(le):I(le,le.length)}u.prototype.listeners=function(re){return M(this,re,!0)},u.prototype.rawListeners=function(re){return M(this,re,!1)},u.listenerCount=function(Z,re){return typeof Z.listenerCount=="function"?Z.listenerCount(re):P.call(Z,re)},u.prototype.listenerCount=P;function P(Z){var re=this._events;if(re!==void 0){var fe=re[Z];if(typeof fe=="function")return 1;if(fe!==void 0)return fe.length}return 0}u.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]};function I(Z,re){for(var fe=new Array(re),V=0;V<re;++V)fe[V]=Z[V];return fe}function j(Z,re){for(;re+1<Z.length;re++)Z[re]=Z[re+1];Z.pop()}function B(Z){for(var re=new Array(Z.length),fe=0;fe<re.length;++fe)re[fe]=Z[fe].listener||Z[fe];return re}function F(Z,re){return new Promise(function(fe,V){function le(ye){Z.removeListener(re,he),V(ye)}function he(){typeof Z.removeListener=="function"&&Z.removeListener("error",le),fe([].slice.call(arguments))}ee(Z,re,he,{once:!0}),re!=="error"&&N(Z,le,{once:!0})})}function N(Z,re,fe){typeof Z.on=="function"&&ee(Z,"error",re,fe)}function ee(Z,re,fe,V){if(typeof Z.on=="function")V.once?Z.once(re,fe):Z.on(re,fe);else if(typeof Z.addEventListener=="function")Z.addEventListener(re,function le(he){V.once&&Z.removeEventListener(re,le),fe(he)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Z)}return events.exports}var streamBrowser$1,hasRequiredStreamBrowser;function requireStreamBrowser(){return hasRequiredStreamBrowser||(hasRequiredStreamBrowser=1,streamBrowser$1=requireEvents().EventEmitter),streamBrowser$1}var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function n(I,j){var B=Object.keys(I);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(I);j&&(F=F.filter(function(N){return Object.getOwnPropertyDescriptor(I,N).enumerable})),B.push.apply(B,F)}return B}function e(I){for(var j=1;j<arguments.length;j++){var B=arguments[j]!=null?arguments[j]:{};j%2?n(Object(B),!0).forEach(function(F){o(I,F,B[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(B)):n(Object(B)).forEach(function(F){Object.defineProperty(I,F,Object.getOwnPropertyDescriptor(B,F))})}return I}function o(I,j,B){return j=h(j),j in I?Object.defineProperty(I,j,{value:B,enumerable:!0,configurable:!0,writable:!0}):I[j]=B,I}function l(I,j){if(!(I instanceof j))throw new TypeError("Cannot call a class as a function")}function t(I,j){for(var B=0;B<j.length;B++){var F=j[B];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(I,h(F.key),F)}}function u(I,j,B){return j&&t(I.prototype,j),Object.defineProperty(I,"prototype",{writable:!1}),I}function h(I){var j=v(I,"string");return typeof j=="symbol"?j:String(j)}function v(I,j){if(typeof I!="object"||I===null)return I;var B=I[Symbol.toPrimitive];if(B!==void 0){var F=B.call(I,j||"default");if(typeof F!="object")return F;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(I)}var w=require$$0$2,A=w.Buffer,E=util$6,C=E.inspect,M=C&&C.custom||"inspect";function P(I,j,B){A.prototype.copy.call(I,j,B)}return buffer_list=function(){function I(){l(this,I),this.head=null,this.tail=null,this.length=0}return u(I,[{key:"push",value:function(B){var F={data:B,next:null};this.length>0?this.tail.next=F:this.head=F,this.tail=F,++this.length}},{key:"unshift",value:function(B){var F={data:B,next:this.head};this.length===0&&(this.tail=F),this.head=F,++this.length}},{key:"shift",value:function(){if(this.length!==0){var B=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,B}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(B){if(this.length===0)return"";for(var F=this.head,N=""+F.data;F=F.next;)N+=B+F.data;return N}},{key:"concat",value:function(B){if(this.length===0)return A.alloc(0);for(var F=A.allocUnsafe(B>>>0),N=this.head,ee=0;N;)P(N.data,F,ee),ee+=N.data.length,N=N.next;return F}},{key:"consume",value:function(B,F){var N;return B<this.head.data.length?(N=this.head.data.slice(0,B),this.head.data=this.head.data.slice(B)):B===this.head.data.length?N=this.shift():N=F?this._getString(B):this._getBuffer(B),N}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(B){var F=this.head,N=1,ee=F.data;for(B-=ee.length;F=F.next;){var Z=F.data,re=B>Z.length?Z.length:B;if(re===Z.length?ee+=Z:ee+=Z.slice(0,B),B-=re,B===0){re===Z.length?(++N,F.next?this.head=F.next:this.head=this.tail=null):(this.head=F,F.data=Z.slice(re));break}++N}return this.length-=N,ee}},{key:"_getBuffer",value:function(B){var F=A.allocUnsafe(B),N=this.head,ee=1;for(N.data.copy(F),B-=N.data.length;N=N.next;){var Z=N.data,re=B>Z.length?Z.length:B;if(Z.copy(F,F.length-B,0,re),B-=re,B===0){re===Z.length?(++ee,N.next?this.head=N.next:this.head=this.tail=null):(this.head=N,N.data=Z.slice(re));break}++ee}return this.length-=ee,F}},{key:M,value:function(B,F){return C(this,e(e({},F),{},{depth:0,customInspect:!1}))}}]),I}(),buffer_list}var destroy_1$1,hasRequiredDestroy;function requireDestroy(){if(hasRequiredDestroy)return destroy_1$1;hasRequiredDestroy=1;function n(h,v){var w=this,A=this._readableState&&this._readableState.destroyed,E=this._writableState&&this._writableState.destroyed;return A||E?(v?v(h):h&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process$1.nextTick(t,this,h)):process$1.nextTick(t,this,h)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(h||null,function(C){!v&&C?w._writableState?w._writableState.errorEmitted?process$1.nextTick(o,w):(w._writableState.errorEmitted=!0,process$1.nextTick(e,w,C)):process$1.nextTick(e,w,C):v?(process$1.nextTick(o,w),v(C)):process$1.nextTick(o,w)}),this)}function e(h,v){t(h,v),o(h)}function o(h){h._writableState&&!h._writableState.emitClose||h._readableState&&!h._readableState.emitClose||h.emit("close")}function l(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function t(h,v){h.emit("error",v)}function u(h,v){var w=h._readableState,A=h._writableState;w&&w.autoDestroy||A&&A.autoDestroy?h.destroy(v):h.emit("error",v)}return destroy_1$1={destroy:n,undestroy:l,errorOrDestroy:u},destroy_1$1}var errorsBrowser={},hasRequiredErrorsBrowser;function requireErrorsBrowser(){if(hasRequiredErrorsBrowser)return errorsBrowser;hasRequiredErrorsBrowser=1;function n(v,w){v.prototype=Object.create(w.prototype),v.prototype.constructor=v,v.__proto__=w}var e={};function o(v,w,A){A||(A=Error);function E(M,P,I){return typeof w=="string"?w:w(M,P,I)}var C=function(M){n(P,M);function P(I,j,B){return M.call(this,E(I,j,B))||this}return P}(A);C.prototype.name=A.name,C.prototype.code=v,e[v]=C}function l(v,w){if(Array.isArray(v)){var A=v.length;return v=v.map(function(E){return String(E)}),A>2?"one of ".concat(w," ").concat(v.slice(0,A-1).join(", "),", or ")+v[A-1]:A===2?"one of ".concat(w," ").concat(v[0]," or ").concat(v[1]):"of ".concat(w," ").concat(v[0])}else return"of ".concat(w," ").concat(String(v))}function t(v,w,A){return v.substr(0,w.length)===w}function u(v,w,A){return(A===void 0||A>v.length)&&(A=v.length),v.substring(A-w.length,A)===w}function h(v,w,A){return typeof A!="number"&&(A=0),A+w.length>v.length?!1:v.indexOf(w,A)!==-1}return o("ERR_INVALID_OPT_VALUE",function(v,w){return'The value "'+w+'" is invalid for option "'+v+'"'},TypeError),o("ERR_INVALID_ARG_TYPE",function(v,w,A){var E;typeof w=="string"&&t(w,"not ")?(E="must not be",w=w.replace(/^not /,"")):E="must be";var C;if(u(v," argument"))C="The ".concat(v," ").concat(E," ").concat(l(w,"type"));else{var M=h(v,".")?"property":"argument";C='The "'.concat(v,'" ').concat(M," ").concat(E," ").concat(l(w,"type"))}return C+=". Received type ".concat(typeof A),C},TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",function(v){return"The "+v+" method is not implemented"}),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",function(v){return"Cannot call "+v+" after a stream was destroyed"}),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",function(v){return"Unknown encoding: "+v},TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),errorsBrowser.codes=e,errorsBrowser}var state,hasRequiredState;function requireState(){if(hasRequiredState)return state;hasRequiredState=1;var n=requireErrorsBrowser().codes.ERR_INVALID_OPT_VALUE;function e(l,t,u){return l.highWaterMark!=null?l.highWaterMark:t?l[u]:null}function o(l,t,u,h){var v=e(t,h,u);if(v!=null){if(!(isFinite(v)&&Math.floor(v)===v)||v<0){var w=h?u:"highWaterMark";throw new n(w,v)}return Math.floor(v)}return l.objectMode?16:16*1024}return state={getHighWaterMark:o},state}var browser$c,hasRequiredBrowser$5;function requireBrowser$5(){if(hasRequiredBrowser$5)return browser$c;hasRequiredBrowser$5=1,browser$c=n;function n(o,l){if(e("noDeprecation"))return o;var t=!1;function u(){if(!t){if(e("throwDeprecation"))throw new Error(l);e("traceDeprecation")?console.trace(l):console.warn(l),t=!0}return o.apply(this,arguments)}return u}function e(o){try{if(!commonjsGlobal$1.localStorage)return!1}catch{return!1}var l=commonjsGlobal$1.localStorage[o];return l==null?!1:String(l).toLowerCase()==="true"}return browser$c}var _stream_writable$1,hasRequired_stream_writable$1;function require_stream_writable$1(){if(hasRequired_stream_writable$1)return _stream_writable$1;hasRequired_stream_writable$1=1,_stream_writable$1=le;function n(X){var U=this;this.next=null,this.entry=null,this.finish=function(){J(U,X)}}var e;le.WritableState=fe;var o={deprecate:requireBrowser$5()},l=requireStreamBrowser(),t=require$$0$2.Buffer,u=(typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function h(X){return t.from(X)}function v(X){return t.isBuffer(X)||X instanceof u}var w=requireDestroy(),A=requireState(),E=A.getHighWaterMark,C=requireErrorsBrowser().codes,M=C.ERR_INVALID_ARG_TYPE,P=C.ERR_METHOD_NOT_IMPLEMENTED,I=C.ERR_MULTIPLE_CALLBACK,j=C.ERR_STREAM_CANNOT_PIPE,B=C.ERR_STREAM_DESTROYED,F=C.ERR_STREAM_NULL_VALUES,N=C.ERR_STREAM_WRITE_AFTER_END,ee=C.ERR_UNKNOWN_ENCODING,Z=w.errorOrDestroy;inherits_browserExports(le,l);function re(){}function fe(X,U,z){e=e||require_stream_duplex$1(),X=X||{},typeof z!="boolean"&&(z=U instanceof e),this.objectMode=!!X.objectMode,z&&(this.objectMode=this.objectMode||!!X.writableObjectMode),this.highWaterMark=E(this,X,"writableHighWaterMark",z),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ie=X.decodeStrings===!1;this.decodeStrings=!ie,this.defaultEncoding=X.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(de){m(U,de)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=X.emitClose!==!1,this.autoDestroy=!!X.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}fe.prototype.getBuffer=function(){for(var U=this.bufferedRequest,z=[];U;)z.push(U),U=U.next;return z},function(){try{Object.defineProperty(fe.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var V;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(V=Function.prototype[Symbol.hasInstance],Object.defineProperty(le,Symbol.hasInstance,{value:function(U){return V.call(this,U)?!0:this!==le?!1:U&&U._writableState instanceof fe}})):V=function(U){return U instanceof this};function le(X){e=e||require_stream_duplex$1();var U=this instanceof e;if(!U&&!V.call(le,this))return new le(X);this._writableState=new fe(X,this,U),this.writable=!0,X&&(typeof X.write=="function"&&(this._write=X.write),typeof X.writev=="function"&&(this._writev=X.writev),typeof X.destroy=="function"&&(this._destroy=X.destroy),typeof X.final=="function"&&(this._final=X.final)),l.call(this)}le.prototype.pipe=function(){Z(this,new j)};function he(X,U){var z=new N;Z(X,z),process$1.nextTick(U,z)}function ye(X,U,z,ie){var de;return z===null?de=new F:typeof z!="string"&&!U.objectMode&&(de=new M("chunk",["string","Buffer"],z)),de?(Z(X,de),process$1.nextTick(ie,de),!1):!0}le.prototype.write=function(X,U,z){var ie=this._writableState,de=!1,me=!ie.objectMode&&v(X);return me&&!t.isBuffer(X)&&(X=h(X)),typeof U=="function"&&(z=U,U=null),me?U="buffer":U||(U=ie.defaultEncoding),typeof z!="function"&&(z=re),ie.ending?he(this,z):(me||ye(this,ie,X,z))&&(ie.pendingcb++,de=p(this,ie,me,X,U,z)),de},le.prototype.cork=function(){this._writableState.corked++},le.prototype.uncork=function(){var X=this._writableState;X.corked&&(X.corked--,!X.writing&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&b(this,X))},le.prototype.setDefaultEncoding=function(U){if(typeof U=="string"&&(U=U.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((U+"").toLowerCase())>-1))throw new ee(U);return this._writableState.defaultEncoding=U,this},Object.defineProperty(le.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function L(X,U,z){return!X.objectMode&&X.decodeStrings!==!1&&typeof U=="string"&&(U=t.from(U,z)),U}Object.defineProperty(le.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function p(X,U,z,ie,de,me){if(!z){var pe=L(U,ie,de);ie!==pe&&(z=!0,de="buffer",ie=pe)}var qe=U.objectMode?1:ie.length;U.length+=qe;var mt=U.length<U.highWaterMark;if(mt||(U.needDrain=!0),U.writing||U.corked){var st=U.lastBufferedRequest;U.lastBufferedRequest={chunk:ie,encoding:de,isBuf:z,callback:me,next:null},st?st.next=U.lastBufferedRequest:U.bufferedRequest=U.lastBufferedRequest,U.bufferedRequestCount+=1}else y(X,U,!1,qe,ie,de,me);return mt}function y(X,U,z,ie,de,me,pe){U.writelen=ie,U.writecb=pe,U.writing=!0,U.sync=!0,U.destroyed?U.onwrite(new B("write")):z?X._writev(de,U.onwrite):X._write(de,me,U.onwrite),U.sync=!1}function S(X,U,z,ie,de){--U.pendingcb,z?(process$1.nextTick(de,ie),process$1.nextTick(O,X,U),X._writableState.errorEmitted=!0,Z(X,ie)):(de(ie),X._writableState.errorEmitted=!0,Z(X,ie),O(X,U))}function c(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0}function m(X,U){var z=X._writableState,ie=z.sync,de=z.writecb;if(typeof de!="function")throw new I;if(c(z),U)S(X,z,ie,U,de);else{var me=d(z)||X.destroyed;!me&&!z.corked&&!z.bufferProcessing&&z.bufferedRequest&&b(X,z),ie?process$1.nextTick(x,X,z,me,de):x(X,z,me,de)}}function x(X,U,z,ie){z||T(X,U),U.pendingcb--,ie(),O(X,U)}function T(X,U){U.length===0&&U.needDrain&&(U.needDrain=!1,X.emit("drain"))}function b(X,U){U.bufferProcessing=!0;var z=U.bufferedRequest;if(X._writev&&z&&z.next){var ie=U.bufferedRequestCount,de=new Array(ie),me=U.corkedRequestsFree;me.entry=z;for(var pe=0,qe=!0;z;)de[pe]=z,z.isBuf||(qe=!1),z=z.next,pe+=1;de.allBuffers=qe,y(X,U,!0,U.length,de,"",me.finish),U.pendingcb++,U.lastBufferedRequest=null,me.next?(U.corkedRequestsFree=me.next,me.next=null):U.corkedRequestsFree=new n(U),U.bufferedRequestCount=0}else{for(;z;){var mt=z.chunk,st=z.encoding,dt=z.callback,Tt=U.objectMode?1:mt.length;if(y(X,U,!1,Tt,mt,st,dt),z=z.next,U.bufferedRequestCount--,U.writing)break}z===null&&(U.lastBufferedRequest=null)}U.bufferedRequest=z,U.bufferProcessing=!1}le.prototype._write=function(X,U,z){z(new P("_write()"))},le.prototype._writev=null,le.prototype.end=function(X,U,z){var ie=this._writableState;return typeof X=="function"?(z=X,X=null,U=null):typeof U=="function"&&(z=U,U=null),X!=null&&this.write(X,U),ie.corked&&(ie.corked=1,this.uncork()),ie.ending||Q(this,ie,z),this},Object.defineProperty(le.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function d(X){return X.ending&&X.length===0&&X.bufferedRequest===null&&!X.finished&&!X.writing}function k(X,U){X._final(function(z){U.pendingcb--,z&&Z(X,z),U.prefinished=!0,X.emit("prefinish"),O(X,U)})}function D(X,U){!U.prefinished&&!U.finalCalled&&(typeof X._final=="function"&&!U.destroyed?(U.pendingcb++,U.finalCalled=!0,process$1.nextTick(k,X,U)):(U.prefinished=!0,X.emit("prefinish")))}function O(X,U){var z=d(U);if(z&&(D(X,U),U.pendingcb===0&&(U.finished=!0,X.emit("finish"),U.autoDestroy))){var ie=X._readableState;(!ie||ie.autoDestroy&&ie.endEmitted)&&X.destroy()}return z}function Q(X,U,z){U.ending=!0,O(X,U),z&&(U.finished?process$1.nextTick(z):X.once("finish",z)),U.ended=!0,X.writable=!1}function J(X,U,z){var ie=X.entry;for(X.entry=null;ie;){var de=ie.callback;U.pendingcb--,de(z),ie=ie.next}U.corkedRequestsFree.next=X}return Object.defineProperty(le.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(U){this._writableState&&(this._writableState.destroyed=U)}}),le.prototype.destroy=w.destroy,le.prototype._undestroy=w.undestroy,le.prototype._destroy=function(X,U){U(X)},_stream_writable$1}var _stream_duplex$1,hasRequired_stream_duplex$1;function require_stream_duplex$1(){if(hasRequired_stream_duplex$1)return _stream_duplex$1;hasRequired_stream_duplex$1=1;var n=Object.keys||function(A){var E=[];for(var C in A)E.push(C);return E};_stream_duplex$1=h;var e=require_stream_readable$1(),o=require_stream_writable$1();inherits_browserExports(h,e);for(var l=n(o.prototype),t=0;t<l.length;t++){var u=l[t];h.prototype[u]||(h.prototype[u]=o.prototype[u])}function h(A){if(!(this instanceof h))return new h(A);e.call(this,A),o.call(this,A),this.allowHalfOpen=!0,A&&(A.readable===!1&&(this.readable=!1),A.writable===!1&&(this.writable=!1),A.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",v)))}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function v(){this._writableState.ended||process$1.nextTick(w,this)}function w(A){A.end()}return Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(E){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=E,this._writableState.destroyed=E)}}),_stream_duplex$1}var string_decoder={},Buffer$A=safeBufferExports$1.Buffer,isEncoding=Buffer$A.isEncoding||function(n){switch(n=""+n,n&&n.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _normalizeEncoding(n){if(!n)return"utf8";for(var e;;)switch(n){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return n;default:if(e)return;n=(""+n).toLowerCase(),e=!0}}function normalizeEncoding(n){var e=_normalizeEncoding(n);if(typeof e!="string"&&(Buffer$A.isEncoding===isEncoding||!isEncoding(n)))throw new Error("Unknown encoding: "+n);return e||n}string_decoder.StringDecoder=StringDecoder$1;function StringDecoder$1(n){this.encoding=normalizeEncoding(n);var e;switch(this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,e=4;break;case"utf8":this.fillLast=utf8FillLast,e=4;break;case"base64":this.text=base64Text,this.end=base64End,e=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer$A.allocUnsafe(e)}StringDecoder$1.prototype.write=function(n){if(n.length===0)return"";var e,o;if(this.lastNeed){if(e=this.fillLast(n),e===void 0)return"";o=this.lastNeed,this.lastNeed=0}else o=0;return o<n.length?e?e+this.text(n,o):this.text(n,o):e||""},StringDecoder$1.prototype.end=utf8End,StringDecoder$1.prototype.text=utf8Text,StringDecoder$1.prototype.fillLast=function(n){if(this.lastNeed<=n.length)return n.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,this.lastTotal-this.lastNeed,0,n.length),this.lastNeed-=n.length};function utf8CheckByte(n){return n<=127?0:n>>5===6?2:n>>4===14?3:n>>3===30?4:n>>6===2?-1:-2}function utf8CheckIncomplete(n,e,o){var l=e.length-1;if(l<o)return 0;var t=utf8CheckByte(e[l]);return t>=0?(t>0&&(n.lastNeed=t-1),t):--l<o||t===-2?0:(t=utf8CheckByte(e[l]),t>=0?(t>0&&(n.lastNeed=t-2),t):--l<o||t===-2?0:(t=utf8CheckByte(e[l]),t>=0?(t>0&&(t===2?t=0:n.lastNeed=t-3),t):0))}function utf8CheckExtraBytes(n,e,o){if((e[0]&192)!==128)return n.lastNeed=0,"�";if(n.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return n.lastNeed=1,"�";if(n.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return n.lastNeed=2,"�"}}function utf8FillLast(n){var e=this.lastTotal-this.lastNeed,o=utf8CheckExtraBytes(this,n);if(o!==void 0)return o;if(this.lastNeed<=n.length)return n.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,e,0,n.length),this.lastNeed-=n.length}function utf8Text(n,e){var o=utf8CheckIncomplete(this,n,e);if(!this.lastNeed)return n.toString("utf8",e);this.lastTotal=o;var l=n.length-(o-this.lastNeed);return n.copy(this.lastChar,0,l),n.toString("utf8",e,l)}function utf8End(n){var e=n&&n.length?this.write(n):"";return this.lastNeed?e+"�":e}function utf16Text(n,e){if((n.length-e)%2===0){var o=n.toString("utf16le",e);if(o){var l=o.charCodeAt(o.length-1);if(l>=55296&&l<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],o.slice(0,-1)}return o}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",e,n.length-1)}function utf16End(n){var e=n&&n.length?this.write(n):"";if(this.lastNeed){var o=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,o)}return e}function base64Text(n,e){var o=(n.length-e)%3;return o===0?n.toString("base64",e):(this.lastNeed=3-o,this.lastTotal=3,o===1?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",e,n.length-o))}function base64End(n){var e=n&&n.length?this.write(n):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function simpleWrite(n){return n.toString(this.encoding)}function simpleEnd(n){return n&&n.length?this.write(n):""}var endOfStream,hasRequiredEndOfStream;function requireEndOfStream(){if(hasRequiredEndOfStream)return endOfStream;hasRequiredEndOfStream=1;var n=requireErrorsBrowser().codes.ERR_STREAM_PREMATURE_CLOSE;function e(u){var h=!1;return function(){if(!h){h=!0;for(var v=arguments.length,w=new Array(v),A=0;A<v;A++)w[A]=arguments[A];u.apply(this,w)}}}function o(){}function l(u){return u.setHeader&&typeof u.abort=="function"}function t(u,h,v){if(typeof h=="function")return t(u,null,h);h||(h={}),v=e(v||o);var w=h.readable||h.readable!==!1&&u.readable,A=h.writable||h.writable!==!1&&u.writable,E=function(){u.writable||M()},C=u._writableState&&u._writableState.finished,M=function(){A=!1,C=!0,w||v.call(u)},P=u._readableState&&u._readableState.endEmitted,I=function(){w=!1,P=!0,A||v.call(u)},j=function(ee){v.call(u,ee)},B=function(){var ee;if(w&&!P)return(!u._readableState||!u._readableState.ended)&&(ee=new n),v.call(u,ee);if(A&&!C)return(!u._writableState||!u._writableState.ended)&&(ee=new n),v.call(u,ee)},F=function(){u.req.on("finish",M)};return l(u)?(u.on("complete",M),u.on("abort",B),u.req?F():u.on("request",F)):A&&!u._writableState&&(u.on("end",E),u.on("close",E)),u.on("end",I),u.on("finish",M),h.error!==!1&&u.on("error",j),u.on("close",B),function(){u.removeListener("complete",M),u.removeListener("abort",B),u.removeListener("request",F),u.req&&u.req.removeListener("finish",M),u.removeListener("end",E),u.removeListener("close",E),u.removeListener("finish",M),u.removeListener("end",I),u.removeListener("error",j),u.removeListener("close",B)}}return endOfStream=t,endOfStream}var async_iterator,hasRequiredAsync_iterator;function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;hasRequiredAsync_iterator=1;var n;function e(ee,Z,re){return Z=o(Z),Z in ee?Object.defineProperty(ee,Z,{value:re,enumerable:!0,configurable:!0,writable:!0}):ee[Z]=re,ee}function o(ee){var Z=l(ee,"string");return typeof Z=="symbol"?Z:String(Z)}function l(ee,Z){if(typeof ee!="object"||ee===null)return ee;var re=ee[Symbol.toPrimitive];if(re!==void 0){var fe=re.call(ee,Z||"default");if(typeof fe!="object")return fe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Z==="string"?String:Number)(ee)}var t=requireEndOfStream(),u=Symbol("lastResolve"),h=Symbol("lastReject"),v=Symbol("error"),w=Symbol("ended"),A=Symbol("lastPromise"),E=Symbol("handlePromise"),C=Symbol("stream");function M(ee,Z){return{value:ee,done:Z}}function P(ee){var Z=ee[u];if(Z!==null){var re=ee[C].read();re!==null&&(ee[A]=null,ee[u]=null,ee[h]=null,Z(M(re,!1)))}}function I(ee){process$1.nextTick(P,ee)}function j(ee,Z){return function(re,fe){ee.then(function(){if(Z[w]){re(M(void 0,!0));return}Z[E](re,fe)},fe)}}var B=Object.getPrototypeOf(function(){}),F=Object.setPrototypeOf((n={get stream(){return this[C]},next:function(){var Z=this,re=this[v];if(re!==null)return Promise.reject(re);if(this[w])return Promise.resolve(M(void 0,!0));if(this[C].destroyed)return new Promise(function(he,ye){process$1.nextTick(function(){Z[v]?ye(Z[v]):he(M(void 0,!0))})});var fe=this[A],V;if(fe)V=new Promise(j(fe,this));else{var le=this[C].read();if(le!==null)return Promise.resolve(M(le,!1));V=new Promise(this[E])}return this[A]=V,V}},e(n,Symbol.asyncIterator,function(){return this}),e(n,"return",function(){var Z=this;return new Promise(function(re,fe){Z[C].destroy(null,function(V){if(V){fe(V);return}re(M(void 0,!0))})})}),n),B),N=function(Z){var re,fe=Object.create(F,(re={},e(re,C,{value:Z,writable:!0}),e(re,u,{value:null,writable:!0}),e(re,h,{value:null,writable:!0}),e(re,v,{value:null,writable:!0}),e(re,w,{value:Z._readableState.endEmitted,writable:!0}),e(re,E,{value:function(le,he){var ye=fe[C].read();ye?(fe[A]=null,fe[u]=null,fe[h]=null,le(M(ye,!1))):(fe[u]=le,fe[h]=he)},writable:!0}),re));return fe[A]=null,t(Z,function(V){if(V&&V.code!=="ERR_STREAM_PREMATURE_CLOSE"){var le=fe[h];le!==null&&(fe[A]=null,fe[u]=null,fe[h]=null,le(V)),fe[v]=V;return}var he=fe[u];he!==null&&(fe[A]=null,fe[u]=null,fe[h]=null,he(M(void 0,!0))),fe[w]=!0}),Z.on("readable",I.bind(null,fe)),fe};return async_iterator=N,async_iterator}var fromBrowser,hasRequiredFromBrowser;function requireFromBrowser(){return hasRequiredFromBrowser||(hasRequiredFromBrowser=1,fromBrowser=function(){throw new Error("Readable.from is not available in the browser")}),fromBrowser}var _stream_readable$1,hasRequired_stream_readable$1;function require_stream_readable$1(){if(hasRequired_stream_readable$1)return _stream_readable$1;hasRequired_stream_readable$1=1,_stream_readable$1=he;var n;he.ReadableState=le,requireEvents().EventEmitter;var e=function(pe,qe){return pe.listeners(qe).length},o=requireStreamBrowser(),l=require$$0$2.Buffer,t=(typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function u(me){return l.from(me)}function h(me){return l.isBuffer(me)||me instanceof t}var v=util$6,w;v&&v.debuglog?w=v.debuglog("stream"):w=function(){};var A=requireBuffer_list(),E=requireDestroy(),C=requireState(),M=C.getHighWaterMark,P=requireErrorsBrowser().codes,I=P.ERR_INVALID_ARG_TYPE,j=P.ERR_STREAM_PUSH_AFTER_EOF,B=P.ERR_METHOD_NOT_IMPLEMENTED,F=P.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,N,ee,Z;inherits_browserExports(he,o);var re=E.errorOrDestroy,fe=["error","close","destroy","pause","resume"];function V(me,pe,qe){if(typeof me.prependListener=="function")return me.prependListener(pe,qe);!me._events||!me._events[pe]?me.on(pe,qe):Array.isArray(me._events[pe])?me._events[pe].unshift(qe):me._events[pe]=[qe,me._events[pe]]}function le(me,pe,qe){n=n||require_stream_duplex$1(),me=me||{},typeof qe!="boolean"&&(qe=pe instanceof n),this.objectMode=!!me.objectMode,qe&&(this.objectMode=this.objectMode||!!me.readableObjectMode),this.highWaterMark=M(this,me,"readableHighWaterMark",qe),this.buffer=new A,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=me.emitClose!==!1,this.autoDestroy=!!me.autoDestroy,this.destroyed=!1,this.defaultEncoding=me.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,me.encoding&&(N||(N=string_decoder.StringDecoder),this.decoder=new N(me.encoding),this.encoding=me.encoding)}function he(me){if(n=n||require_stream_duplex$1(),!(this instanceof he))return new he(me);var pe=this instanceof n;this._readableState=new le(me,this,pe),this.readable=!0,me&&(typeof me.read=="function"&&(this._read=me.read),typeof me.destroy=="function"&&(this._destroy=me.destroy)),o.call(this)}Object.defineProperty(he.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(pe){this._readableState&&(this._readableState.destroyed=pe)}}),he.prototype.destroy=E.destroy,he.prototype._undestroy=E.undestroy,he.prototype._destroy=function(me,pe){pe(me)},he.prototype.push=function(me,pe){var qe=this._readableState,mt;return qe.objectMode?mt=!0:typeof me=="string"&&(pe=pe||qe.defaultEncoding,pe!==qe.encoding&&(me=l.from(me,pe),pe=""),mt=!0),ye(this,me,pe,!1,mt)},he.prototype.unshift=function(me){return ye(this,me,null,!0,!1)};function ye(me,pe,qe,mt,st){w("readableAddChunk",pe);var dt=me._readableState;if(pe===null)dt.reading=!1,m(me,dt);else{var Tt;if(st||(Tt=p(dt,pe)),Tt)re(me,Tt);else if(dt.objectMode||pe&&pe.length>0)if(typeof pe!="string"&&!dt.objectMode&&Object.getPrototypeOf(pe)!==l.prototype&&(pe=u(pe)),mt)dt.endEmitted?re(me,new F):L(me,dt,pe,!0);else if(dt.ended)re(me,new j);else{if(dt.destroyed)return!1;dt.reading=!1,dt.decoder&&!qe?(pe=dt.decoder.write(pe),dt.objectMode||pe.length!==0?L(me,dt,pe,!1):b(me,dt)):L(me,dt,pe,!1)}else mt||(dt.reading=!1,b(me,dt))}return!dt.ended&&(dt.length<dt.highWaterMark||dt.length===0)}function L(me,pe,qe,mt){pe.flowing&&pe.length===0&&!pe.sync?(pe.awaitDrain=0,me.emit("data",qe)):(pe.length+=pe.objectMode?1:qe.length,mt?pe.buffer.unshift(qe):pe.buffer.push(qe),pe.needReadable&&x(me)),b(me,pe)}function p(me,pe){var qe;return!h(pe)&&typeof pe!="string"&&pe!==void 0&&!me.objectMode&&(qe=new I("chunk",["string","Buffer","Uint8Array"],pe)),qe}he.prototype.isPaused=function(){return this._readableState.flowing===!1},he.prototype.setEncoding=function(me){N||(N=string_decoder.StringDecoder);var pe=new N(me);this._readableState.decoder=pe,this._readableState.encoding=this._readableState.decoder.encoding;for(var qe=this._readableState.buffer.head,mt="";qe!==null;)mt+=pe.write(qe.data),qe=qe.next;return this._readableState.buffer.clear(),mt!==""&&this._readableState.buffer.push(mt),this._readableState.length=mt.length,this};var y=1073741824;function S(me){return me>=y?me=y:(me--,me|=me>>>1,me|=me>>>2,me|=me>>>4,me|=me>>>8,me|=me>>>16,me++),me}function c(me,pe){return me<=0||pe.length===0&&pe.ended?0:pe.objectMode?1:me!==me?pe.flowing&&pe.length?pe.buffer.head.data.length:pe.length:(me>pe.highWaterMark&&(pe.highWaterMark=S(me)),me<=pe.length?me:pe.ended?pe.length:(pe.needReadable=!0,0))}he.prototype.read=function(me){w("read",me),me=parseInt(me,10);var pe=this._readableState,qe=me;if(me!==0&&(pe.emittedReadable=!1),me===0&&pe.needReadable&&((pe.highWaterMark!==0?pe.length>=pe.highWaterMark:pe.length>0)||pe.ended))return w("read: emitReadable",pe.length,pe.ended),pe.length===0&&pe.ended?z(this):x(this),null;if(me=c(me,pe),me===0&&pe.ended)return pe.length===0&&z(this),null;var mt=pe.needReadable;w("need readable",mt),(pe.length===0||pe.length-me<pe.highWaterMark)&&(mt=!0,w("length less than watermark",mt)),pe.ended||pe.reading?(mt=!1,w("reading or ended",mt)):mt&&(w("do read"),pe.reading=!0,pe.sync=!0,pe.length===0&&(pe.needReadable=!0),this._read(pe.highWaterMark),pe.sync=!1,pe.reading||(me=c(qe,pe)));var st;return me>0?st=U(me,pe):st=null,st===null?(pe.needReadable=pe.length<=pe.highWaterMark,me=0):(pe.length-=me,pe.awaitDrain=0),pe.length===0&&(pe.ended||(pe.needReadable=!0),qe!==me&&pe.ended&&z(this)),st!==null&&this.emit("data",st),st};function m(me,pe){if(w("onEofChunk"),!pe.ended){if(pe.decoder){var qe=pe.decoder.end();qe&&qe.length&&(pe.buffer.push(qe),pe.length+=pe.objectMode?1:qe.length)}pe.ended=!0,pe.sync?x(me):(pe.needReadable=!1,pe.emittedReadable||(pe.emittedReadable=!0,T(me)))}}function x(me){var pe=me._readableState;w("emitReadable",pe.needReadable,pe.emittedReadable),pe.needReadable=!1,pe.emittedReadable||(w("emitReadable",pe.flowing),pe.emittedReadable=!0,process$1.nextTick(T,me))}function T(me){var pe=me._readableState;w("emitReadable_",pe.destroyed,pe.length,pe.ended),!pe.destroyed&&(pe.length||pe.ended)&&(me.emit("readable"),pe.emittedReadable=!1),pe.needReadable=!pe.flowing&&!pe.ended&&pe.length<=pe.highWaterMark,X(me)}function b(me,pe){pe.readingMore||(pe.readingMore=!0,process$1.nextTick(d,me,pe))}function d(me,pe){for(;!pe.reading&&!pe.ended&&(pe.length<pe.highWaterMark||pe.flowing&&pe.length===0);){var qe=pe.length;if(w("maybeReadMore read 0"),me.read(0),qe===pe.length)break}pe.readingMore=!1}he.prototype._read=function(me){re(this,new B("_read()"))},he.prototype.pipe=function(me,pe){var qe=this,mt=this._readableState;switch(mt.pipesCount){case 0:mt.pipes=me;break;case 1:mt.pipes=[mt.pipes,me];break;default:mt.pipes.push(me);break}mt.pipesCount+=1,w("pipe count=%d opts=%j",mt.pipesCount,pe);var st=(!pe||pe.end!==!1)&&me!==process$1.stdout&&me!==process$1.stderr,dt=st?lt:Wt;mt.endEmitted?process$1.nextTick(dt):qe.once("end",dt),me.on("unpipe",Tt);function Tt(Et,Ct){w("onunpipe"),Et===qe&&Ct&&Ct.hasUnpiped===!1&&(Ct.hasUnpiped=!0,at())}function lt(){w("onend"),me.end()}var Je=k(qe);me.on("drain",Je);var ht=!1;function at(){w("cleanup"),me.removeListener("close",Ge),me.removeListener("finish",Qe),me.removeListener("drain",Je),me.removeListener("error",jt),me.removeListener("unpipe",Tt),qe.removeListener("end",lt),qe.removeListener("end",Wt),qe.removeListener("data",bt),ht=!0,mt.awaitDrain&&(!me._writableState||me._writableState.needDrain)&&Je()}qe.on("data",bt);function bt(Et){w("ondata");var Ct=me.write(Et);w("dest.write",Ct),Ct===!1&&((mt.pipesCount===1&&mt.pipes===me||mt.pipesCount>1&&de(mt.pipes,me)!==-1)&&!ht&&(w("false write response, pause",mt.awaitDrain),mt.awaitDrain++),qe.pause())}function jt(Et){w("onerror",Et),Wt(),me.removeListener("error",jt),e(me,"error")===0&&re(me,Et)}V(me,"error",jt);function Ge(){me.removeListener("finish",Qe),Wt()}me.once("close",Ge);function Qe(){w("onfinish"),me.removeListener("close",Ge),Wt()}me.once("finish",Qe);function Wt(){w("unpipe"),qe.unpipe(me)}return me.emit("pipe",qe),mt.flowing||(w("pipe resume"),qe.resume()),me};function k(me){return function(){var qe=me._readableState;w("pipeOnDrain",qe.awaitDrain),qe.awaitDrain&&qe.awaitDrain--,qe.awaitDrain===0&&e(me,"data")&&(qe.flowing=!0,X(me))}}he.prototype.unpipe=function(me){var pe=this._readableState,qe={hasUnpiped:!1};if(pe.pipesCount===0)return this;if(pe.pipesCount===1)return me&&me!==pe.pipes?this:(me||(me=pe.pipes),pe.pipes=null,pe.pipesCount=0,pe.flowing=!1,me&&me.emit("unpipe",this,qe),this);if(!me){var mt=pe.pipes,st=pe.pipesCount;pe.pipes=null,pe.pipesCount=0,pe.flowing=!1;for(var dt=0;dt<st;dt++)mt[dt].emit("unpipe",this,{hasUnpiped:!1});return this}var Tt=de(pe.pipes,me);return Tt===-1?this:(pe.pipes.splice(Tt,1),pe.pipesCount-=1,pe.pipesCount===1&&(pe.pipes=pe.pipes[0]),me.emit("unpipe",this,qe),this)},he.prototype.on=function(me,pe){var qe=o.prototype.on.call(this,me,pe),mt=this._readableState;return me==="data"?(mt.readableListening=this.listenerCount("readable")>0,mt.flowing!==!1&&this.resume()):me==="readable"&&!mt.endEmitted&&!mt.readableListening&&(mt.readableListening=mt.needReadable=!0,mt.flowing=!1,mt.emittedReadable=!1,w("on readable",mt.length,mt.reading),mt.length?x(this):mt.reading||process$1.nextTick(O,this)),qe},he.prototype.addListener=he.prototype.on,he.prototype.removeListener=function(me,pe){var qe=o.prototype.removeListener.call(this,me,pe);return me==="readable"&&process$1.nextTick(D,this),qe},he.prototype.removeAllListeners=function(me){var pe=o.prototype.removeAllListeners.apply(this,arguments);return(me==="readable"||me===void 0)&&process$1.nextTick(D,this),pe};function D(me){var pe=me._readableState;pe.readableListening=me.listenerCount("readable")>0,pe.resumeScheduled&&!pe.paused?pe.flowing=!0:me.listenerCount("data")>0&&me.resume()}function O(me){w("readable nexttick read 0"),me.read(0)}he.prototype.resume=function(){var me=this._readableState;return me.flowing||(w("resume"),me.flowing=!me.readableListening,Q(this,me)),me.paused=!1,this};function Q(me,pe){pe.resumeScheduled||(pe.resumeScheduled=!0,process$1.nextTick(J,me,pe))}function J(me,pe){w("resume",pe.reading),pe.reading||me.read(0),pe.resumeScheduled=!1,me.emit("resume"),X(me),pe.flowing&&!pe.reading&&me.read(0)}he.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function X(me){var pe=me._readableState;for(w("flow",pe.flowing);pe.flowing&&me.read()!==null;);}he.prototype.wrap=function(me){var pe=this,qe=this._readableState,mt=!1;me.on("end",function(){if(w("wrapped end"),qe.decoder&&!qe.ended){var Tt=qe.decoder.end();Tt&&Tt.length&&pe.push(Tt)}pe.push(null)}),me.on("data",function(Tt){if(w("wrapped data"),qe.decoder&&(Tt=qe.decoder.write(Tt)),!(qe.objectMode&&Tt==null)&&!(!qe.objectMode&&(!Tt||!Tt.length))){var lt=pe.push(Tt);lt||(mt=!0,me.pause())}});for(var st in me)this[st]===void 0&&typeof me[st]=="function"&&(this[st]=function(lt){return function(){return me[lt].apply(me,arguments)}}(st));for(var dt=0;dt<fe.length;dt++)me.on(fe[dt],this.emit.bind(this,fe[dt]));return this._read=function(Tt){w("wrapped _read",Tt),mt&&(mt=!1,me.resume())},this},typeof Symbol=="function"&&(he.prototype[Symbol.asyncIterator]=function(){return ee===void 0&&(ee=requireAsync_iterator()),ee(this)}),Object.defineProperty(he.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(he.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(he.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(pe){this._readableState&&(this._readableState.flowing=pe)}}),he._fromList=U,Object.defineProperty(he.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function U(me,pe){if(pe.length===0)return null;var qe;return pe.objectMode?qe=pe.buffer.shift():!me||me>=pe.length?(pe.decoder?qe=pe.buffer.join(""):pe.buffer.length===1?qe=pe.buffer.first():qe=pe.buffer.concat(pe.length),pe.buffer.clear()):qe=pe.buffer.consume(me,pe.decoder),qe}function z(me){var pe=me._readableState;w("endReadable",pe.endEmitted),pe.endEmitted||(pe.ended=!0,process$1.nextTick(ie,pe,me))}function ie(me,pe){if(w("endReadableNT",me.endEmitted,me.length),!me.endEmitted&&me.length===0&&(me.endEmitted=!0,pe.readable=!1,pe.emit("end"),me.autoDestroy)){var qe=pe._writableState;(!qe||qe.autoDestroy&&qe.finished)&&pe.destroy()}}typeof Symbol=="function"&&(he.from=function(me,pe){return Z===void 0&&(Z=requireFromBrowser()),Z(he,me,pe)});function de(me,pe){for(var qe=0,mt=me.length;qe<mt;qe++)if(me[qe]===pe)return qe;return-1}return _stream_readable$1}var _stream_transform$1,hasRequired_stream_transform;function require_stream_transform(){if(hasRequired_stream_transform)return _stream_transform$1;hasRequired_stream_transform=1,_stream_transform$1=v;var n=requireErrorsBrowser().codes,e=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,l=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,t=n.ERR_TRANSFORM_WITH_LENGTH_0,u=require_stream_duplex$1();inherits_browserExports(v,u);function h(E,C){var M=this._transformState;M.transforming=!1;var P=M.writecb;if(P===null)return this.emit("error",new o);M.writechunk=null,M.writecb=null,C!=null&&this.push(C),P(E);var I=this._readableState;I.reading=!1,(I.needReadable||I.length<I.highWaterMark)&&this._read(I.highWaterMark)}function v(E){if(!(this instanceof v))return new v(E);u.call(this,E),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,E&&(typeof E.transform=="function"&&(this._transform=E.transform),typeof E.flush=="function"&&(this._flush=E.flush)),this.on("prefinish",w)}function w(){var E=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(C,M){A(E,C,M)}):A(this,null,null)}v.prototype.push=function(E,C){return this._transformState.needTransform=!1,u.prototype.push.call(this,E,C)},v.prototype._transform=function(E,C,M){M(new e("_transform()"))},v.prototype._write=function(E,C,M){var P=this._transformState;if(P.writecb=M,P.writechunk=E,P.writeencoding=C,!P.transforming){var I=this._readableState;(P.needTransform||I.needReadable||I.length<I.highWaterMark)&&this._read(I.highWaterMark)}},v.prototype._read=function(E){var C=this._transformState;C.writechunk!==null&&!C.transforming?(C.transforming=!0,this._transform(C.writechunk,C.writeencoding,C.afterTransform)):C.needTransform=!0},v.prototype._destroy=function(E,C){u.prototype._destroy.call(this,E,function(M){C(M)})};function A(E,C,M){if(C)return E.emit("error",C);if(M!=null&&E.push(M),E._writableState.length)throw new t;if(E._transformState.transforming)throw new l;return E.push(null)}return _stream_transform$1}var _stream_passthrough$1,hasRequired_stream_passthrough;function require_stream_passthrough(){if(hasRequired_stream_passthrough)return _stream_passthrough$1;hasRequired_stream_passthrough=1,_stream_passthrough$1=e;var n=require_stream_transform();inherits_browserExports(e,n);function e(o){if(!(this instanceof e))return new e(o);n.call(this,o)}return e.prototype._transform=function(o,l,t){t(null,o)},_stream_passthrough$1}var pipeline_1,hasRequiredPipeline;function requirePipeline(){if(hasRequiredPipeline)return pipeline_1;hasRequiredPipeline=1;var n;function e(M){var P=!1;return function(){P||(P=!0,M.apply(void 0,arguments))}}var o=requireErrorsBrowser().codes,l=o.ERR_MISSING_ARGS,t=o.ERR_STREAM_DESTROYED;function u(M){if(M)throw M}function h(M){return M.setHeader&&typeof M.abort=="function"}function v(M,P,I,j){j=e(j);var B=!1;M.on("close",function(){B=!0}),n===void 0&&(n=requireEndOfStream()),n(M,{readable:P,writable:I},function(N){if(N)return j(N);B=!0,j()});var F=!1;return function(N){if(!B&&!F){if(F=!0,h(M))return M.abort();if(typeof M.destroy=="function")return M.destroy();j(N||new t("pipe"))}}}function w(M){M()}function A(M,P){return M.pipe(P)}function E(M){return!M.length||typeof M[M.length-1]!="function"?u:M.pop()}function C(){for(var M=arguments.length,P=new Array(M),I=0;I<M;I++)P[I]=arguments[I];var j=E(P);if(Array.isArray(P[0])&&(P=P[0]),P.length<2)throw new l("streams");var B,F=P.map(function(N,ee){var Z=ee<P.length-1,re=ee>0;return v(N,Z,re,function(fe){B||(B=fe),fe&&F.forEach(w),!Z&&(F.forEach(w),j(B))})});return P.reduce(A)}return pipeline_1=C,pipeline_1}var streamBrowserify,hasRequiredStreamBrowserify;function requireStreamBrowserify(){if(hasRequiredStreamBrowserify)return streamBrowserify;hasRequiredStreamBrowserify=1,streamBrowserify=o;var n=requireEvents().EventEmitter,e=inherits_browserExports;e(o,n),o.Readable=require_stream_readable$1(),o.Writable=require_stream_writable$1(),o.Duplex=require_stream_duplex$1(),o.Transform=require_stream_transform(),o.PassThrough=require_stream_passthrough(),o.finished=requireEndOfStream(),o.pipeline=requirePipeline(),o.Stream=o;function o(){n.call(this)}return o.prototype.pipe=function(l,t){var u=this;function h(P){l.writable&&l.write(P)===!1&&u.pause&&u.pause()}u.on("data",h);function v(){u.readable&&u.resume&&u.resume()}l.on("drain",v),!l._isStdio&&(!t||t.end!==!1)&&(u.on("end",A),u.on("close",E));var w=!1;function A(){w||(w=!0,l.end())}function E(){w||(w=!0,typeof l.destroy=="function"&&l.destroy())}function C(P){if(M(),n.listenerCount(this,"error")===0)throw P}u.on("error",C),l.on("error",C);function M(){u.removeListener("data",h),l.removeListener("drain",v),u.removeListener("end",A),u.removeListener("close",E),u.removeListener("error",C),l.removeListener("error",C),u.removeListener("end",M),u.removeListener("close",M),l.removeListener("close",M)}return u.on("end",M),u.on("close",M),l.on("close",M),l.emit("pipe",u),l},streamBrowserify}var Buffer$z=safeBufferExports$1.Buffer,Transform$7=requireStreamBrowserify().Transform,inherits$p=inherits_browserExports;function throwIfNotStringOrBuffer(n,e){if(!Buffer$z.isBuffer(n)&&typeof n!="string")throw new TypeError(e+" must be a string or a buffer")}function HashBase$2(n){Transform$7.call(this),this._block=Buffer$z.allocUnsafe(n),this._blockSize=n,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}inherits$p(HashBase$2,Transform$7),HashBase$2.prototype._transform=function(n,e,o){var l=null;try{this.update(n,e)}catch(t){l=t}o(l)},HashBase$2.prototype._flush=function(n){var e=null;try{this.push(this.digest())}catch(o){e=o}n(e)},HashBase$2.prototype.update=function(n,e){if(throwIfNotStringOrBuffer(n,"Data"),this._finalized)throw new Error("Digest already called");Buffer$z.isBuffer(n)||(n=Buffer$z.from(n,e));for(var o=this._block,l=0;this._blockOffset+n.length-l>=this._blockSize;){for(var t=this._blockOffset;t<this._blockSize;)o[t++]=n[l++];this._update(),this._blockOffset=0}for(;l<n.length;)o[this._blockOffset++]=n[l++];for(var u=0,h=n.length*8;h>0;++u)this._length[u]+=h,h=this._length[u]/4294967296|0,h>0&&(this._length[u]-=4294967296*h);return this},HashBase$2.prototype._update=function(){throw new Error("_update is not implemented")},HashBase$2.prototype.digest=function(n){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();n!==void 0&&(e=e.toString(n)),this._block.fill(0),this._blockOffset=0;for(var o=0;o<4;++o)this._length[o]=0;return e},HashBase$2.prototype._digest=function(){throw new Error("_digest is not implemented")};var hashBase=HashBase$2,inherits$o=inherits_browserExports,HashBase$1=hashBase,Buffer$y=safeBufferExports$1.Buffer,ARRAY16$1=new Array(16);function MD5$3(){HashBase$1.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}inherits$o(MD5$3,HashBase$1),MD5$3.prototype._update=function(){for(var n=ARRAY16$1,e=0;e<16;++e)n[e]=this._block.readInt32LE(e*4);var o=this._a,l=this._b,t=this._c,u=this._d;o=fnF(o,l,t,u,n[0],3614090360,7),u=fnF(u,o,l,t,n[1],3905402710,12),t=fnF(t,u,o,l,n[2],606105819,17),l=fnF(l,t,u,o,n[3],3250441966,22),o=fnF(o,l,t,u,n[4],4118548399,7),u=fnF(u,o,l,t,n[5],1200080426,12),t=fnF(t,u,o,l,n[6],2821735955,17),l=fnF(l,t,u,o,n[7],4249261313,22),o=fnF(o,l,t,u,n[8],1770035416,7),u=fnF(u,o,l,t,n[9],2336552879,12),t=fnF(t,u,o,l,n[10],4294925233,17),l=fnF(l,t,u,o,n[11],2304563134,22),o=fnF(o,l,t,u,n[12],1804603682,7),u=fnF(u,o,l,t,n[13],4254626195,12),t=fnF(t,u,o,l,n[14],2792965006,17),l=fnF(l,t,u,o,n[15],1236535329,22),o=fnG(o,l,t,u,n[1],4129170786,5),u=fnG(u,o,l,t,n[6],3225465664,9),t=fnG(t,u,o,l,n[11],643717713,14),l=fnG(l,t,u,o,n[0],3921069994,20),o=fnG(o,l,t,u,n[5],3593408605,5),u=fnG(u,o,l,t,n[10],38016083,9),t=fnG(t,u,o,l,n[15],3634488961,14),l=fnG(l,t,u,o,n[4],3889429448,20),o=fnG(o,l,t,u,n[9],568446438,5),u=fnG(u,o,l,t,n[14],3275163606,9),t=fnG(t,u,o,l,n[3],4107603335,14),l=fnG(l,t,u,o,n[8],1163531501,20),o=fnG(o,l,t,u,n[13],2850285829,5),u=fnG(u,o,l,t,n[2],4243563512,9),t=fnG(t,u,o,l,n[7],1735328473,14),l=fnG(l,t,u,o,n[12],2368359562,20),o=fnH(o,l,t,u,n[5],4294588738,4),u=fnH(u,o,l,t,n[8],2272392833,11),t=fnH(t,u,o,l,n[11],1839030562,16),l=fnH(l,t,u,o,n[14],4259657740,23),o=fnH(o,l,t,u,n[1],2763975236,4),u=fnH(u,o,l,t,n[4],1272893353,11),t=fnH(t,u,o,l,n[7],4139469664,16),l=fnH(l,t,u,o,n[10],3200236656,23),o=fnH(o,l,t,u,n[13],681279174,4),u=fnH(u,o,l,t,n[0],3936430074,11),t=fnH(t,u,o,l,n[3],3572445317,16),l=fnH(l,t,u,o,n[6],76029189,23),o=fnH(o,l,t,u,n[9],3654602809,4),u=fnH(u,o,l,t,n[12],3873151461,11),t=fnH(t,u,o,l,n[15],530742520,16),l=fnH(l,t,u,o,n[2],3299628645,23),o=fnI(o,l,t,u,n[0],4096336452,6),u=fnI(u,o,l,t,n[7],1126891415,10),t=fnI(t,u,o,l,n[14],2878612391,15),l=fnI(l,t,u,o,n[5],4237533241,21),o=fnI(o,l,t,u,n[12],1700485571,6),u=fnI(u,o,l,t,n[3],2399980690,10),t=fnI(t,u,o,l,n[10],4293915773,15),l=fnI(l,t,u,o,n[1],2240044497,21),o=fnI(o,l,t,u,n[8],1873313359,6),u=fnI(u,o,l,t,n[15],4264355552,10),t=fnI(t,u,o,l,n[6],2734768916,15),l=fnI(l,t,u,o,n[13],1309151649,21),o=fnI(o,l,t,u,n[4],4149444226,6),u=fnI(u,o,l,t,n[11],3174756917,10),t=fnI(t,u,o,l,n[2],718787259,15),l=fnI(l,t,u,o,n[9],3951481745,21),this._a=this._a+o|0,this._b=this._b+l|0,this._c=this._c+t|0,this._d=this._d+u|0},MD5$3.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var n=Buffer$y.allocUnsafe(16);return n.writeInt32LE(this._a,0),n.writeInt32LE(this._b,4),n.writeInt32LE(this._c,8),n.writeInt32LE(this._d,12),n};function rotl$1(n,e){return n<<e|n>>>32-e}function fnF(n,e,o,l,t,u,h){return rotl$1(n+(e&o|~e&l)+t+u|0,h)+e|0}function fnG(n,e,o,l,t,u,h){return rotl$1(n+(e&l|o&~l)+t+u|0,h)+e|0}function fnH(n,e,o,l,t,u,h){return rotl$1(n+(e^o^l)+t+u|0,h)+e|0}function fnI(n,e,o,l,t,u,h){return rotl$1(n+(o^(e|~l))+t+u|0,h)+e|0}var md5_js=MD5$3,Buffer$x=require$$0$2.Buffer,inherits$n=inherits_browserExports,HashBase=hashBase,ARRAY16=new Array(16),zl=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],zr=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],sl=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],sr=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],hl=[0,1518500249,1859775393,2400959708,2840853838],hr=[1352829926,1548603684,1836072691,2053994217,0];function RIPEMD160$4(){HashBase.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}inherits$n(RIPEMD160$4,HashBase),RIPEMD160$4.prototype._update=function(){for(var n=ARRAY16,e=0;e<16;++e)n[e]=this._block.readInt32LE(e*4);for(var o=this._a|0,l=this._b|0,t=this._c|0,u=this._d|0,h=this._e|0,v=this._a|0,w=this._b|0,A=this._c|0,E=this._d|0,C=this._e|0,M=0;M<80;M+=1){var P,I;M<16?(P=fn1(o,l,t,u,h,n[zl[M]],hl[0],sl[M]),I=fn5(v,w,A,E,C,n[zr[M]],hr[0],sr[M])):M<32?(P=fn2(o,l,t,u,h,n[zl[M]],hl[1],sl[M]),I=fn4(v,w,A,E,C,n[zr[M]],hr[1],sr[M])):M<48?(P=fn3(o,l,t,u,h,n[zl[M]],hl[2],sl[M]),I=fn3(v,w,A,E,C,n[zr[M]],hr[2],sr[M])):M<64?(P=fn4(o,l,t,u,h,n[zl[M]],hl[3],sl[M]),I=fn2(v,w,A,E,C,n[zr[M]],hr[3],sr[M])):(P=fn5(o,l,t,u,h,n[zl[M]],hl[4],sl[M]),I=fn1(v,w,A,E,C,n[zr[M]],hr[4],sr[M])),o=h,h=u,u=rotl(t,10),t=l,l=P,v=C,C=E,E=rotl(A,10),A=w,w=I}var j=this._b+t+E|0;this._b=this._c+u+C|0,this._c=this._d+h+v|0,this._d=this._e+o+w|0,this._e=this._a+l+A|0,this._a=j},RIPEMD160$4.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var n=Buffer$x.alloc?Buffer$x.alloc(20):new Buffer$x(20);return n.writeInt32LE(this._a,0),n.writeInt32LE(this._b,4),n.writeInt32LE(this._c,8),n.writeInt32LE(this._d,12),n.writeInt32LE(this._e,16),n};function rotl(n,e){return n<<e|n>>>32-e}function fn1(n,e,o,l,t,u,h,v){return rotl(n+(e^o^l)+u+h|0,v)+t|0}function fn2(n,e,o,l,t,u,h,v){return rotl(n+(e&o|~e&l)+u+h|0,v)+t|0}function fn3(n,e,o,l,t,u,h,v){return rotl(n+((e|~o)^l)+u+h|0,v)+t|0}function fn4(n,e,o,l,t,u,h,v){return rotl(n+(e&l|o&~l)+u+h|0,v)+t|0}function fn5(n,e,o,l,t,u,h,v){return rotl(n+(e^(o|~l))+u+h|0,v)+t|0}var ripemd160=RIPEMD160$4,sha_js={exports:{}},Buffer$w=safeBufferExports$1.Buffer;function Hash$7(n,e){this._block=Buffer$w.alloc(n),this._finalSize=e,this._blockSize=n,this._len=0}Hash$7.prototype.update=function(n,e){typeof n=="string"&&(e=e||"utf8",n=Buffer$w.from(n,e));for(var o=this._block,l=this._blockSize,t=n.length,u=this._len,h=0;h<t;){for(var v=u%l,w=Math.min(t-h,l-v),A=0;A<w;A++)o[v+A]=n[h+A];u+=w,h+=w,u%l===0&&this._update(o)}return this._len+=t,this},Hash$7.prototype.digest=function(n){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var o=this._len*8;if(o<=4294967295)this._block.writeUInt32BE(o,this._blockSize-4);else{var l=(o&4294967295)>>>0,t=(o-l)/4294967296;this._block.writeUInt32BE(t,this._blockSize-8),this._block.writeUInt32BE(l,this._blockSize-4)}this._update(this._block);var u=this._hash();return n?u.toString(n):u},Hash$7.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var hash$3=Hash$7,inherits$m=inherits_browserExports,Hash$6=hash$3,Buffer$v=safeBufferExports$1.Buffer,K$4=[1518500249,1859775393,-1894007588,-899497514],W$5=new Array(80);function Sha(){this.init(),this._w=W$5,Hash$6.call(this,64,56)}inherits$m(Sha,Hash$6),Sha.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function rotl5$1(n){return n<<5|n>>>27}function rotl30$1(n){return n<<30|n>>>2}function ft$1(n,e,o,l){return n===0?e&o|~e&l:n===2?e&o|e&l|o&l:e^o^l}Sha.prototype._update=function(n){for(var e=this._w,o=this._a|0,l=this._b|0,t=this._c|0,u=this._d|0,h=this._e|0,v=0;v<16;++v)e[v]=n.readInt32BE(v*4);for(;v<80;++v)e[v]=e[v-3]^e[v-8]^e[v-14]^e[v-16];for(var w=0;w<80;++w){var A=~~(w/20),E=rotl5$1(o)+ft$1(A,l,t,u)+h+e[w]+K$4[A]|0;h=u,u=t,t=rotl30$1(l),l=o,o=E}this._a=o+this._a|0,this._b=l+this._b|0,this._c=t+this._c|0,this._d=u+this._d|0,this._e=h+this._e|0},Sha.prototype._hash=function(){var n=Buffer$v.allocUnsafe(20);return n.writeInt32BE(this._a|0,0),n.writeInt32BE(this._b|0,4),n.writeInt32BE(this._c|0,8),n.writeInt32BE(this._d|0,12),n.writeInt32BE(this._e|0,16),n};var sha$4=Sha,inherits$l=inherits_browserExports,Hash$5=hash$3,Buffer$u=safeBufferExports$1.Buffer,K$3=[1518500249,1859775393,-1894007588,-899497514],W$4=new Array(80);function Sha1(){this.init(),this._w=W$4,Hash$5.call(this,64,56)}inherits$l(Sha1,Hash$5),Sha1.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function rotl1(n){return n<<1|n>>>31}function rotl5(n){return n<<5|n>>>27}function rotl30(n){return n<<30|n>>>2}function ft(n,e,o,l){return n===0?e&o|~e&l:n===2?e&o|e&l|o&l:e^o^l}Sha1.prototype._update=function(n){for(var e=this._w,o=this._a|0,l=this._b|0,t=this._c|0,u=this._d|0,h=this._e|0,v=0;v<16;++v)e[v]=n.readInt32BE(v*4);for(;v<80;++v)e[v]=rotl1(e[v-3]^e[v-8]^e[v-14]^e[v-16]);for(var w=0;w<80;++w){var A=~~(w/20),E=rotl5(o)+ft(A,l,t,u)+h+e[w]+K$3[A]|0;h=u,u=t,t=rotl30(l),l=o,o=E}this._a=o+this._a|0,this._b=l+this._b|0,this._c=t+this._c|0,this._d=u+this._d|0,this._e=h+this._e|0},Sha1.prototype._hash=function(){var n=Buffer$u.allocUnsafe(20);return n.writeInt32BE(this._a|0,0),n.writeInt32BE(this._b|0,4),n.writeInt32BE(this._c|0,8),n.writeInt32BE(this._d|0,12),n.writeInt32BE(this._e|0,16),n};var sha1$2=Sha1,inherits$k=inherits_browserExports,Hash$4=hash$3,Buffer$t=safeBufferExports$1.Buffer,K$2=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],W$3=new Array(64);function Sha256$1(){this.init(),this._w=W$3,Hash$4.call(this,64,56)}inherits$k(Sha256$1,Hash$4),Sha256$1.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function ch(n,e,o){return o^n&(e^o)}function maj$1(n,e,o){return n&e|o&(n|e)}function sigma0$1(n){return(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10)}function sigma1$1(n){return(n>>>6|n<<26)^(n>>>11|n<<21)^(n>>>25|n<<7)}function gamma0(n){return(n>>>7|n<<25)^(n>>>18|n<<14)^n>>>3}function gamma1(n){return(n>>>17|n<<15)^(n>>>19|n<<13)^n>>>10}Sha256$1.prototype._update=function(n){for(var e=this._w,o=this._a|0,l=this._b|0,t=this._c|0,u=this._d|0,h=this._e|0,v=this._f|0,w=this._g|0,A=this._h|0,E=0;E<16;++E)e[E]=n.readInt32BE(E*4);for(;E<64;++E)e[E]=gamma1(e[E-2])+e[E-7]+gamma0(e[E-15])+e[E-16]|0;for(var C=0;C<64;++C){var M=A+sigma1$1(h)+ch(h,v,w)+K$2[C]+e[C]|0,P=sigma0$1(o)+maj$1(o,l,t)|0;A=w,w=v,v=h,h=u+M|0,u=t,t=l,l=o,o=M+P|0}this._a=o+this._a|0,this._b=l+this._b|0,this._c=t+this._c|0,this._d=u+this._d|0,this._e=h+this._e|0,this._f=v+this._f|0,this._g=w+this._g|0,this._h=A+this._h|0},Sha256$1.prototype._hash=function(){var n=Buffer$t.allocUnsafe(32);return n.writeInt32BE(this._a,0),n.writeInt32BE(this._b,4),n.writeInt32BE(this._c,8),n.writeInt32BE(this._d,12),n.writeInt32BE(this._e,16),n.writeInt32BE(this._f,20),n.writeInt32BE(this._g,24),n.writeInt32BE(this._h,28),n};var sha256$1=Sha256$1,inherits$j=inherits_browserExports,Sha256=sha256$1,Hash$3=hash$3,Buffer$s=safeBufferExports$1.Buffer,W$2=new Array(64);function Sha224(){this.init(),this._w=W$2,Hash$3.call(this,64,56)}inherits$j(Sha224,Sha256),Sha224.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},Sha224.prototype._hash=function(){var n=Buffer$s.allocUnsafe(28);return n.writeInt32BE(this._a,0),n.writeInt32BE(this._b,4),n.writeInt32BE(this._c,8),n.writeInt32BE(this._d,12),n.writeInt32BE(this._e,16),n.writeInt32BE(this._f,20),n.writeInt32BE(this._g,24),n};var sha224$1=Sha224,inherits$i=inherits_browserExports,Hash$2=hash$3,Buffer$r=safeBufferExports$1.Buffer,K$1=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],W$1=new Array(160);function Sha512(){this.init(),this._w=W$1,Hash$2.call(this,128,112)}inherits$i(Sha512,Hash$2),Sha512.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function Ch(n,e,o){return o^n&(e^o)}function maj(n,e,o){return n&e|o&(n|e)}function sigma0(n,e){return(n>>>28|e<<4)^(e>>>2|n<<30)^(e>>>7|n<<25)}function sigma1(n,e){return(n>>>14|e<<18)^(n>>>18|e<<14)^(e>>>9|n<<23)}function Gamma0(n,e){return(n>>>1|e<<31)^(n>>>8|e<<24)^n>>>7}function Gamma0l(n,e){return(n>>>1|e<<31)^(n>>>8|e<<24)^(n>>>7|e<<25)}function Gamma1(n,e){return(n>>>19|e<<13)^(e>>>29|n<<3)^n>>>6}function Gamma1l(n,e){return(n>>>19|e<<13)^(e>>>29|n<<3)^(n>>>6|e<<26)}function getCarry(n,e){return n>>>0<e>>>0?1:0}Sha512.prototype._update=function(n){for(var e=this._w,o=this._ah|0,l=this._bh|0,t=this._ch|0,u=this._dh|0,h=this._eh|0,v=this._fh|0,w=this._gh|0,A=this._hh|0,E=this._al|0,C=this._bl|0,M=this._cl|0,P=this._dl|0,I=this._el|0,j=this._fl|0,B=this._gl|0,F=this._hl|0,N=0;N<32;N+=2)e[N]=n.readInt32BE(N*4),e[N+1]=n.readInt32BE(N*4+4);for(;N<160;N+=2){var ee=e[N-30],Z=e[N-15*2+1],re=Gamma0(ee,Z),fe=Gamma0l(Z,ee);ee=e[N-2*2],Z=e[N-2*2+1];var V=Gamma1(ee,Z),le=Gamma1l(Z,ee),he=e[N-7*2],ye=e[N-7*2+1],L=e[N-16*2],p=e[N-16*2+1],y=fe+ye|0,S=re+he+getCarry(y,fe)|0;y=y+le|0,S=S+V+getCarry(y,le)|0,y=y+p|0,S=S+L+getCarry(y,p)|0,e[N]=S,e[N+1]=y}for(var c=0;c<160;c+=2){S=e[c],y=e[c+1];var m=maj(o,l,t),x=maj(E,C,M),T=sigma0(o,E),b=sigma0(E,o),d=sigma1(h,I),k=sigma1(I,h),D=K$1[c],O=K$1[c+1],Q=Ch(h,v,w),J=Ch(I,j,B),X=F+k|0,U=A+d+getCarry(X,F)|0;X=X+J|0,U=U+Q+getCarry(X,J)|0,X=X+O|0,U=U+D+getCarry(X,O)|0,X=X+y|0,U=U+S+getCarry(X,y)|0;var z=b+x|0,ie=T+m+getCarry(z,b)|0;A=w,F=B,w=v,B=j,v=h,j=I,I=P+X|0,h=u+U+getCarry(I,P)|0,u=t,P=M,t=l,M=C,l=o,C=E,E=X+z|0,o=U+ie+getCarry(E,X)|0}this._al=this._al+E|0,this._bl=this._bl+C|0,this._cl=this._cl+M|0,this._dl=this._dl+P|0,this._el=this._el+I|0,this._fl=this._fl+j|0,this._gl=this._gl+B|0,this._hl=this._hl+F|0,this._ah=this._ah+o+getCarry(this._al,E)|0,this._bh=this._bh+l+getCarry(this._bl,C)|0,this._ch=this._ch+t+getCarry(this._cl,M)|0,this._dh=this._dh+u+getCarry(this._dl,P)|0,this._eh=this._eh+h+getCarry(this._el,I)|0,this._fh=this._fh+v+getCarry(this._fl,j)|0,this._gh=this._gh+w+getCarry(this._gl,B)|0,this._hh=this._hh+A+getCarry(this._hl,F)|0},Sha512.prototype._hash=function(){var n=Buffer$r.allocUnsafe(64);function e(o,l,t){n.writeInt32BE(o,t),n.writeInt32BE(l,t+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),n};var sha512$1=Sha512,inherits$h=inherits_browserExports,SHA512$2=sha512$1,Hash$1=hash$3,Buffer$q=safeBufferExports$1.Buffer,W=new Array(160);function Sha384(){this.init(),this._w=W,Hash$1.call(this,128,112)}inherits$h(Sha384,SHA512$2),Sha384.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},Sha384.prototype._hash=function(){var n=Buffer$q.allocUnsafe(48);function e(o,l,t){n.writeInt32BE(o,t),n.writeInt32BE(l,t+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),n};var sha384$1=Sha384,exports$1=sha_js.exports=function(e){e=e.toLowerCase();var o=exports$1[e];if(!o)throw new Error(e+" is not supported (we accept pull requests)");return new o};exports$1.sha=sha$4,exports$1.sha1=sha1$2,exports$1.sha224=sha224$1,exports$1.sha256=sha256$1,exports$1.sha384=sha384$1,exports$1.sha512=sha512$1;var sha_jsExports=sha_js.exports,Buffer$p=safeBufferExports$1.Buffer,Transform$6=requireStreamBrowserify().Transform,StringDecoder=string_decoder.StringDecoder,inherits$g=inherits_browserExports;function CipherBase$1(n){Transform$6.call(this),this.hashMode=typeof n=="string",this.hashMode?this[n]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}inherits$g(CipherBase$1,Transform$6),CipherBase$1.prototype.update=function(n,e,o){typeof n=="string"&&(n=Buffer$p.from(n,e));var l=this._update(n);return this.hashMode?this:(o&&(l=this._toString(l,o)),l)},CipherBase$1.prototype.setAutoPadding=function(){},CipherBase$1.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},CipherBase$1.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},CipherBase$1.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},CipherBase$1.prototype._transform=function(n,e,o){var l;try{this.hashMode?this._update(n):this.push(this._update(n))}catch(t){l=t}finally{o(l)}},CipherBase$1.prototype._flush=function(n){var e;try{this.push(this.__final())}catch(o){e=o}n(e)},CipherBase$1.prototype._finalOrDigest=function(n){var e=this.__final()||Buffer$p.alloc(0);return n&&(e=this._toString(e,n,!0)),e},CipherBase$1.prototype._toString=function(n,e,o){if(this._decoder||(this._decoder=new StringDecoder(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var l=this._decoder.write(n);return o&&(l+=this._decoder.end()),l};var cipherBase=CipherBase$1,inherits$f=inherits_browserExports,MD5$2=md5_js,RIPEMD160$3=ripemd160,sha$3=sha_jsExports,Base$5=cipherBase;function Hash(n){Base$5.call(this,"digest"),this._hash=n}inherits$f(Hash,Base$5),Hash.prototype._update=function(n){this._hash.update(n)},Hash.prototype._final=function(){return this._hash.digest()};var browser$b=function(e){return e=e.toLowerCase(),e==="md5"?new MD5$2:e==="rmd160"||e==="ripemd160"?new RIPEMD160$3:new Hash(sha$3(e))},inherits$e=inherits_browserExports,Buffer$o=safeBufferExports$1.Buffer,Base$4=cipherBase,ZEROS$2=Buffer$o.alloc(128),blocksize=64;function Hmac$3(n,e){Base$4.call(this,"digest"),typeof e=="string"&&(e=Buffer$o.from(e)),this._alg=n,this._key=e,e.length>blocksize?e=n(e):e.length<blocksize&&(e=Buffer$o.concat([e,ZEROS$2],blocksize));for(var o=this._ipad=Buffer$o.allocUnsafe(blocksize),l=this._opad=Buffer$o.allocUnsafe(blocksize),t=0;t<blocksize;t++)o[t]=e[t]^54,l[t]=e[t]^92;this._hash=[o]}inherits$e(Hmac$3,Base$4),Hmac$3.prototype._update=function(n){this._hash.push(n)},Hmac$3.prototype._final=function(){var n=this._alg(Buffer$o.concat(this._hash));return this._alg(Buffer$o.concat([this._opad,n]))};var legacy=Hmac$3,MD5$1=md5_js,md5$3=function(n){return new MD5$1().update(n).digest()},inherits$d=inherits_browserExports,Legacy=legacy,Base$3=cipherBase,Buffer$n=safeBufferExports$1.Buffer,md5$2=md5$3,RIPEMD160$2=ripemd160,sha$2=sha_jsExports,ZEROS$1=Buffer$n.alloc(128);function Hmac$2(n,e){Base$3.call(this,"digest"),typeof e=="string"&&(e=Buffer$n.from(e));var o=n==="sha512"||n==="sha384"?128:64;if(this._alg=n,this._key=e,e.length>o){var l=n==="rmd160"?new RIPEMD160$2:sha$2(n);e=l.update(e).digest()}else e.length<o&&(e=Buffer$n.concat([e,ZEROS$1],o));for(var t=this._ipad=Buffer$n.allocUnsafe(o),u=this._opad=Buffer$n.allocUnsafe(o),h=0;h<o;h++)t[h]=e[h]^54,u[h]=e[h]^92;this._hash=n==="rmd160"?new RIPEMD160$2:sha$2(n),this._hash.update(t)}inherits$d(Hmac$2,Base$3),Hmac$2.prototype._update=function(n){this._hash.update(n)},Hmac$2.prototype._final=function(){var n=this._hash.digest(),e=this._alg==="rmd160"?new RIPEMD160$2:sha$2(this._alg);return e.update(this._opad).update(n).digest()};var browser$a=function(e,o){return e=e.toLowerCase(),e==="rmd160"||e==="ripemd160"?new Hmac$2("rmd160",o):e==="md5"?new Legacy(md5$2,o):new Hmac$2(e,o)};const sha224WithRSAEncryption={sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption={sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption={sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption={sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},sha256={sign:"ecdsa",hash:"sha256",id:""},sha224={sign:"ecdsa",hash:"sha224",id:""},sha384={sign:"ecdsa",hash:"sha384",id:""},sha512={sign:"ecdsa",hash:"sha512",id:""},DSA={sign:"dsa",hash:"sha1",id:""},ripemd160WithRSA={sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption={sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},require$$6$1={sha224WithRSAEncryption,"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption,"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption,"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption,"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256,sha224,sha384,sha512,"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA,"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA,"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption,"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}};var algos=require$$6$1,browser$9={},MAX_ALLOC=Math.pow(2,30)-1,precondition=function(n,e){if(typeof n!="number")throw new TypeError("Iterations not a number");if(n<0)throw new TypeError("Bad iterations");if(typeof e!="number")throw new TypeError("Key length not a number");if(e<0||e>MAX_ALLOC||e!==e)throw new TypeError("Bad key length")},defaultEncoding$2;if(commonjsGlobal$1.process&&commonjsGlobal$1.process.browser)defaultEncoding$2="utf-8";else if(commonjsGlobal$1.process&&commonjsGlobal$1.process.version){var pVersionMajor=parseInt(process$1.version.split(".")[0].slice(1),10);defaultEncoding$2=pVersionMajor>=6?"utf-8":"binary"}else defaultEncoding$2="utf-8";var defaultEncoding_1=defaultEncoding$2,Buffer$m=safeBufferExports$1.Buffer,toBuffer$2=function(n,e,o){if(Buffer$m.isBuffer(n))return n;if(typeof n=="string")return Buffer$m.from(n,e);if(ArrayBuffer.isView(n))return Buffer$m.from(n.buffer);throw new TypeError(o+" must be a string, a Buffer, a typed array or a DataView")},md5$1=md5$3,RIPEMD160$1=ripemd160,sha$1=sha_jsExports,Buffer$l=safeBufferExports$1.Buffer,checkParameters$1=precondition,defaultEncoding$1=defaultEncoding_1,toBuffer$1=toBuffer$2,ZEROS=Buffer$l.alloc(128),sizes={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function Hmac$1(n,e,o){var l=getDigest(n),t=n==="sha512"||n==="sha384"?128:64;e.length>t?e=l(e):e.length<t&&(e=Buffer$l.concat([e,ZEROS],t));for(var u=Buffer$l.allocUnsafe(t+sizes[n]),h=Buffer$l.allocUnsafe(t+sizes[n]),v=0;v<t;v++)u[v]=e[v]^54,h[v]=e[v]^92;var w=Buffer$l.allocUnsafe(t+o+4);u.copy(w,0,0,t),this.ipad1=w,this.ipad2=u,this.opad=h,this.alg=n,this.blocksize=t,this.hash=l,this.size=sizes[n]}Hmac$1.prototype.run=function(n,e){n.copy(e,this.blocksize);var o=this.hash(e);return o.copy(this.opad,this.blocksize),this.hash(this.opad)};function getDigest(n){function e(l){return sha$1(n).update(l).digest()}function o(l){return new RIPEMD160$1().update(l).digest()}return n==="rmd160"||n==="ripemd160"?o:n==="md5"?md5$1:e}function pbkdf2(n,e,o,l,t){checkParameters$1(o,l),n=toBuffer$1(n,defaultEncoding$1,"Password"),e=toBuffer$1(e,defaultEncoding$1,"Salt"),t=t||"sha1";var u=new Hmac$1(t,n,e.length),h=Buffer$l.allocUnsafe(l),v=Buffer$l.allocUnsafe(e.length+4);e.copy(v,0,0,e.length);for(var w=0,A=sizes[t],E=Math.ceil(l/A),C=1;C<=E;C++){v.writeUInt32BE(C,e.length);for(var M=u.run(v,u.ipad1),P=M,I=1;I<o;I++){P=u.run(P,u.ipad2);for(var j=0;j<A;j++)M[j]^=P[j]}M.copy(h,w),w+=A}return h}var syncBrowser=pbkdf2,Buffer$k=safeBufferExports$1.Buffer,checkParameters=precondition,defaultEncoding=defaultEncoding_1,sync=syncBrowser,toBuffer=toBuffer$2,ZERO_BUF,subtle=commonjsGlobal$1.crypto&&commonjsGlobal$1.crypto.subtle,toBrowser={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},checks=[];function checkNative(n){if(commonjsGlobal$1.process&&!commonjsGlobal$1.process.browser||!subtle||!subtle.importKey||!subtle.deriveBits)return Promise.resolve(!1);if(checks[n]!==void 0)return checks[n];ZERO_BUF=ZERO_BUF||Buffer$k.alloc(8);var e=browserPbkdf2(ZERO_BUF,ZERO_BUF,10,128,n).then(function(){return!0}).catch(function(){return!1});return checks[n]=e,e}var nextTick$1;function getNextTick(){return nextTick$1||(commonjsGlobal$1.process&&commonjsGlobal$1.process.nextTick?nextTick$1=commonjsGlobal$1.process.nextTick:commonjsGlobal$1.queueMicrotask?nextTick$1=commonjsGlobal$1.queueMicrotask:commonjsGlobal$1.setImmediate?nextTick$1=commonjsGlobal$1.setImmediate:nextTick$1=commonjsGlobal$1.setTimeout,nextTick$1)}function browserPbkdf2(n,e,o,l,t){return subtle.importKey("raw",n,{name:"PBKDF2"},!1,["deriveBits"]).then(function(u){return subtle.deriveBits({name:"PBKDF2",salt:e,iterations:o,hash:{name:t}},u,l<<3)}).then(function(u){return Buffer$k.from(u)})}function resolvePromise(n,e){n.then(function(o){getNextTick()(function(){e(null,o)})},function(o){getNextTick()(function(){e(o)})})}var async$1=function(n,e,o,l,t,u){typeof t=="function"&&(u=t,t=void 0),t=t||"sha1";var h=toBrowser[t.toLowerCase()];if(!h||typeof commonjsGlobal$1.Promise!="function"){getNextTick()(function(){var v;try{v=sync(n,e,o,l,t)}catch(w){return u(w)}u(null,v)});return}if(checkParameters(o,l),n=toBuffer(n,defaultEncoding,"Password"),e=toBuffer(e,defaultEncoding,"Salt"),typeof u!="function")throw new Error("No callback provided to pbkdf2");resolvePromise(checkNative(h).then(function(v){return v?browserPbkdf2(n,e,o,l,h):sync(n,e,o,l,t)}),u)};browser$9.pbkdf2=async$1,browser$9.pbkdf2Sync=syncBrowser;var browser$8={},des$2={},utils$q={};utils$q.readUInt32BE=function(e,o){var l=e[0+o]<<24|e[1+o]<<16|e[2+o]<<8|e[3+o];return l>>>0},utils$q.writeUInt32BE=function(e,o,l){e[0+l]=o>>>24,e[1+l]=o>>>16&255,e[2+l]=o>>>8&255,e[3+l]=o&255},utils$q.ip=function(e,o,l,t){for(var u=0,h=0,v=6;v>=0;v-=2){for(var w=0;w<=24;w+=8)u<<=1,u|=o>>>w+v&1;for(var w=0;w<=24;w+=8)u<<=1,u|=e>>>w+v&1}for(var v=6;v>=0;v-=2){for(var w=1;w<=25;w+=8)h<<=1,h|=o>>>w+v&1;for(var w=1;w<=25;w+=8)h<<=1,h|=e>>>w+v&1}l[t+0]=u>>>0,l[t+1]=h>>>0},utils$q.rip=function(e,o,l,t){for(var u=0,h=0,v=0;v<4;v++)for(var w=24;w>=0;w-=8)u<<=1,u|=o>>>w+v&1,u<<=1,u|=e>>>w+v&1;for(var v=4;v<8;v++)for(var w=24;w>=0;w-=8)h<<=1,h|=o>>>w+v&1,h<<=1,h|=e>>>w+v&1;l[t+0]=u>>>0,l[t+1]=h>>>0},utils$q.pc1=function(e,o,l,t){for(var u=0,h=0,v=7;v>=5;v--){for(var w=0;w<=24;w+=8)u<<=1,u|=o>>w+v&1;for(var w=0;w<=24;w+=8)u<<=1,u|=e>>w+v&1}for(var w=0;w<=24;w+=8)u<<=1,u|=o>>w+v&1;for(var v=1;v<=3;v++){for(var w=0;w<=24;w+=8)h<<=1,h|=o>>w+v&1;for(var w=0;w<=24;w+=8)h<<=1,h|=e>>w+v&1}for(var w=0;w<=24;w+=8)h<<=1,h|=e>>w+v&1;l[t+0]=u>>>0,l[t+1]=h>>>0},utils$q.r28shl=function(e,o){return e<<o&268435455|e>>>28-o};var pc2table=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];utils$q.pc2=function(e,o,l,t){for(var u=0,h=0,v=pc2table.length>>>1,w=0;w<v;w++)u<<=1,u|=e>>>pc2table[w]&1;for(var w=v;w<pc2table.length;w++)h<<=1,h|=o>>>pc2table[w]&1;l[t+0]=u>>>0,l[t+1]=h>>>0},utils$q.expand=function(e,o,l){var t=0,u=0;t=(e&1)<<5|e>>>27;for(var h=23;h>=15;h-=4)t<<=6,t|=e>>>h&63;for(var h=11;h>=3;h-=4)u|=e>>>h&63,u<<=6;u|=(e&31)<<1|e>>>31,o[l+0]=t>>>0,o[l+1]=u>>>0};var sTable=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];utils$q.substitute=function(e,o){for(var l=0,t=0;t<4;t++){var u=e>>>18-t*6&63,h=sTable[t*64+u];l<<=4,l|=h}for(var t=0;t<4;t++){var u=o>>>18-t*6&63,h=sTable[4*64+t*64+u];l<<=4,l|=h}return l>>>0};var permuteTable=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];utils$q.permute=function(e){for(var o=0,l=0;l<permuteTable.length;l++)o<<=1,o|=e>>>permuteTable[l]&1;return o>>>0},utils$q.padSplit=function(e,o,l){for(var t=e.toString(2);t.length<o;)t="0"+t;for(var u=[],h=0;h<o;h+=l)u.push(t.slice(h,h+l));return u.join(" ")};var minimalisticAssert=assert$j;function assert$j(n,e){if(!n)throw new Error(e||"Assertion failed")}assert$j.equal=function(e,o,l){if(e!=o)throw new Error(l||"Assertion failed: "+e+" != "+o)};var assert$i=minimalisticAssert;function Cipher$3(n){this.options=n,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=n.padding!==!1}var cipher=Cipher$3;Cipher$3.prototype._init=function(){},Cipher$3.prototype.update=function(e){return e.length===0?[]:this.type==="decrypt"?this._updateDecrypt(e):this._updateEncrypt(e)},Cipher$3.prototype._buffer=function(e,o){for(var l=Math.min(this.buffer.length-this.bufferOff,e.length-o),t=0;t<l;t++)this.buffer[this.bufferOff+t]=e[o+t];return this.bufferOff+=l,l},Cipher$3.prototype._flushBuffer=function(e,o){return this._update(this.buffer,0,e,o),this.bufferOff=0,this.blockSize},Cipher$3.prototype._updateEncrypt=function(e){var o=0,l=0,t=(this.bufferOff+e.length)/this.blockSize|0,u=new Array(t*this.blockSize);this.bufferOff!==0&&(o+=this._buffer(e,o),this.bufferOff===this.buffer.length&&(l+=this._flushBuffer(u,l)));for(var h=e.length-(e.length-o)%this.blockSize;o<h;o+=this.blockSize)this._update(e,o,u,l),l+=this.blockSize;for(;o<e.length;o++,this.bufferOff++)this.buffer[this.bufferOff]=e[o];return u},Cipher$3.prototype._updateDecrypt=function(e){for(var o=0,l=0,t=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,u=new Array(t*this.blockSize);t>0;t--)o+=this._buffer(e,o),l+=this._flushBuffer(u,l);return o+=this._buffer(e,o),u},Cipher$3.prototype.final=function(e){var o;e&&(o=this.update(e));var l;return this.type==="encrypt"?l=this._finalEncrypt():l=this._finalDecrypt(),o?o.concat(l):l},Cipher$3.prototype._pad=function(e,o){if(o===0)return!1;for(;o<e.length;)e[o++]=0;return!0},Cipher$3.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},Cipher$3.prototype._unpad=function(e){return e},Cipher$3.prototype._finalDecrypt=function(){assert$i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)};var assert$h=minimalisticAssert,inherits$c=inherits_browserExports,utils$p=utils$q,Cipher$2=cipher;function DESState(){this.tmp=new Array(2),this.keys=null}function DES$3(n){Cipher$2.call(this,n);var e=new DESState;this._desState=e,this.deriveKeys(e,n.key)}inherits$c(DES$3,Cipher$2);var des$1=DES$3;DES$3.create=function(e){return new DES$3(e)};var shiftTable=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];DES$3.prototype.deriveKeys=function(e,o){e.keys=new Array(16*2),assert$h.equal(o.length,this.blockSize,"Invalid key length");var l=utils$p.readUInt32BE(o,0),t=utils$p.readUInt32BE(o,4);utils$p.pc1(l,t,e.tmp,0),l=e.tmp[0],t=e.tmp[1];for(var u=0;u<e.keys.length;u+=2){var h=shiftTable[u>>>1];l=utils$p.r28shl(l,h),t=utils$p.r28shl(t,h),utils$p.pc2(l,t,e.keys,u)}},DES$3.prototype._update=function(e,o,l,t){var u=this._desState,h=utils$p.readUInt32BE(e,o),v=utils$p.readUInt32BE(e,o+4);utils$p.ip(h,v,u.tmp,0),h=u.tmp[0],v=u.tmp[1],this.type==="encrypt"?this._encrypt(u,h,v,u.tmp,0):this._decrypt(u,h,v,u.tmp,0),h=u.tmp[0],v=u.tmp[1],utils$p.writeUInt32BE(l,h,t),utils$p.writeUInt32BE(l,v,t+4)},DES$3.prototype._pad=function(e,o){if(this.padding===!1)return!1;for(var l=e.length-o,t=o;t<e.length;t++)e[t]=l;return!0},DES$3.prototype._unpad=function(e){if(this.padding===!1)return e;for(var o=e[e.length-1],l=e.length-o;l<e.length;l++)assert$h.equal(e[l],o);return e.slice(0,e.length-o)},DES$3.prototype._encrypt=function(e,o,l,t,u){for(var h=o,v=l,w=0;w<e.keys.length;w+=2){var A=e.keys[w],E=e.keys[w+1];utils$p.expand(v,e.tmp,0),A^=e.tmp[0],E^=e.tmp[1];var C=utils$p.substitute(A,E),M=utils$p.permute(C),P=v;v=(h^M)>>>0,h=P}utils$p.rip(v,h,t,u)},DES$3.prototype._decrypt=function(e,o,l,t,u){for(var h=l,v=o,w=e.keys.length-2;w>=0;w-=2){var A=e.keys[w],E=e.keys[w+1];utils$p.expand(h,e.tmp,0),A^=e.tmp[0],E^=e.tmp[1];var C=utils$p.substitute(A,E),M=utils$p.permute(C),P=h;h=(v^M)>>>0,v=P}utils$p.rip(h,v,t,u)};var cbc$1={},assert$g=minimalisticAssert,inherits$b=inherits_browserExports,proto={};function CBCState(n){assert$g.equal(n.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=n[e]}function instantiate(n){function e(u){n.call(this,u),this._cbcInit()}inherits$b(e,n);for(var o=Object.keys(proto),l=0;l<o.length;l++){var t=o[l];e.prototype[t]=proto[t]}return e.create=function(h){return new e(h)},e}cbc$1.instantiate=instantiate,proto._cbcInit=function(){var e=new CBCState(this.options.iv);this._cbcState=e},proto._update=function(e,o,l,t){var u=this._cbcState,h=this.constructor.super_.prototype,v=u.iv;if(this.type==="encrypt"){for(var w=0;w<this.blockSize;w++)v[w]^=e[o+w];h._update.call(this,v,0,l,t);for(var w=0;w<this.blockSize;w++)v[w]=l[t+w]}else{h._update.call(this,e,o,l,t);for(var w=0;w<this.blockSize;w++)l[t+w]^=v[w];for(var w=0;w<this.blockSize;w++)v[w]=e[o+w]}};var assert$f=minimalisticAssert,inherits$a=inherits_browserExports,Cipher$1=cipher,DES$2=des$1;function EDEState(n,e){assert$f.equal(e.length,24,"Invalid key length");var o=e.slice(0,8),l=e.slice(8,16),t=e.slice(16,24);n==="encrypt"?this.ciphers=[DES$2.create({type:"encrypt",key:o}),DES$2.create({type:"decrypt",key:l}),DES$2.create({type:"encrypt",key:t})]:this.ciphers=[DES$2.create({type:"decrypt",key:t}),DES$2.create({type:"encrypt",key:l}),DES$2.create({type:"decrypt",key:o})]}function EDE(n){Cipher$1.call(this,n);var e=new EDEState(this.type,this.options.key);this._edeState=e}inherits$a(EDE,Cipher$1);var ede=EDE;EDE.create=function(e){return new EDE(e)},EDE.prototype._update=function(e,o,l,t){var u=this._edeState;u.ciphers[0]._update(e,o,l,t),u.ciphers[1]._update(l,t,l,t),u.ciphers[2]._update(l,t,l,t)},EDE.prototype._pad=DES$2.prototype._pad,EDE.prototype._unpad=DES$2.prototype._unpad,des$2.utils=utils$q,des$2.Cipher=cipher,des$2.DES=des$1,des$2.CBC=cbc$1,des$2.EDE=ede;var CipherBase=cipherBase,des=des$2,inherits$9=inherits_browserExports,Buffer$j=safeBufferExports$1.Buffer,modes$3={"des-ede3-cbc":des.CBC.instantiate(des.EDE),"des-ede3":des.EDE,"des-ede-cbc":des.CBC.instantiate(des.EDE),"des-ede":des.EDE,"des-cbc":des.CBC.instantiate(des.DES),"des-ecb":des.DES};modes$3.des=modes$3["des-cbc"],modes$3.des3=modes$3["des-ede3-cbc"];var browserifyDes=DES$1;inherits$9(DES$1,CipherBase);function DES$1(n){CipherBase.call(this);var e=n.mode.toLowerCase(),o=modes$3[e],l;n.decrypt?l="decrypt":l="encrypt";var t=n.key;Buffer$j.isBuffer(t)||(t=Buffer$j.from(t)),(e==="des-ede"||e==="des-ede-cbc")&&(t=Buffer$j.concat([t,t.slice(0,8)]));var u=n.iv;Buffer$j.isBuffer(u)||(u=Buffer$j.from(u)),this._des=o.create({key:t,iv:u,type:l})}DES$1.prototype._update=function(n){return Buffer$j.from(this._des.update(n))},DES$1.prototype._final=function(){return Buffer$j.from(this._des.final())};var browser$7={},encrypter={},ecb={};ecb.encrypt=function(n,e){return n._cipher.encryptBlock(e)},ecb.decrypt=function(n,e){return n._cipher.decryptBlock(e)};var cbc={},bufferXor=function(e,o){for(var l=Math.min(e.length,o.length),t=new Buffer$C(l),u=0;u<l;++u)t[u]=e[u]^o[u];return t},xor$7=bufferXor;cbc.encrypt=function(n,e){var o=xor$7(e,n._prev);return n._prev=n._cipher.encryptBlock(o),n._prev},cbc.decrypt=function(n,e){var o=n._prev;n._prev=e;var l=n._cipher.decryptBlock(e);return xor$7(l,o)};var cfb={},Buffer$i=safeBufferExports$1.Buffer,xor$6=bufferXor;function encryptStart(n,e,o){var l=e.length,t=xor$6(e,n._cache);return n._cache=n._cache.slice(l),n._prev=Buffer$i.concat([n._prev,o?e:t]),t}cfb.encrypt=function(n,e,o){for(var l=Buffer$i.allocUnsafe(0),t;e.length;)if(n._cache.length===0&&(n._cache=n._cipher.encryptBlock(n._prev),n._prev=Buffer$i.allocUnsafe(0)),n._cache.length<=e.length)t=n._cache.length,l=Buffer$i.concat([l,encryptStart(n,e.slice(0,t),o)]),e=e.slice(t);else{l=Buffer$i.concat([l,encryptStart(n,e,o)]);break}return l};var cfb8={},Buffer$h=safeBufferExports$1.Buffer;function encryptByte$1(n,e,o){var l=n._cipher.encryptBlock(n._prev),t=l[0]^e;return n._prev=Buffer$h.concat([n._prev.slice(1),Buffer$h.from([o?e:t])]),t}cfb8.encrypt=function(n,e,o){for(var l=e.length,t=Buffer$h.allocUnsafe(l),u=-1;++u<l;)t[u]=encryptByte$1(n,e[u],o);return t};var cfb1={},Buffer$g=safeBufferExports$1.Buffer;function encryptByte(n,e,o){for(var l,t=-1,u=8,h=0,v,w;++t<u;)l=n._cipher.encryptBlock(n._prev),v=e&1<<7-t?128:0,w=l[0]^v,h+=(w&128)>>t%8,n._prev=shiftIn(n._prev,o?v:w);return h}function shiftIn(n,e){var o=n.length,l=-1,t=Buffer$g.allocUnsafe(n.length);for(n=Buffer$g.concat([n,Buffer$g.from([e])]);++l<o;)t[l]=n[l]<<1|n[l+1]>>7;return t}cfb1.encrypt=function(n,e,o){for(var l=e.length,t=Buffer$g.allocUnsafe(l),u=-1;++u<l;)t[u]=encryptByte(n,e[u],o);return t};var ofb={},xor$5=bufferXor;function getBlock$1(n){return n._prev=n._cipher.encryptBlock(n._prev),n._prev}ofb.encrypt=function(n,e){for(;n._cache.length<e.length;)n._cache=Buffer$C.concat([n._cache,getBlock$1(n)]);var o=n._cache.slice(0,e.length);return n._cache=n._cache.slice(e.length),xor$5(e,o)};var ctr={};function incr32$2(n){for(var e=n.length,o;e--;)if(o=n.readUInt8(e),o===255)n.writeUInt8(0,e);else{o++,n.writeUInt8(o,e);break}}var incr32_1=incr32$2,xor$4=bufferXor,Buffer$f=safeBufferExports$1.Buffer,incr32$1=incr32_1;function getBlock(n){var e=n._cipher.encryptBlockRaw(n._prev);return incr32$1(n._prev),e}var blockSize=16;ctr.encrypt=function(n,e){var o=Math.ceil(e.length/blockSize),l=n._cache.length;n._cache=Buffer$f.concat([n._cache,Buffer$f.allocUnsafe(o*blockSize)]);for(var t=0;t<o;t++){var u=getBlock(n),h=l+t*blockSize;n._cache.writeUInt32BE(u[0],h+0),n._cache.writeUInt32BE(u[1],h+4),n._cache.writeUInt32BE(u[2],h+8),n._cache.writeUInt32BE(u[3],h+12)}var v=n._cache.slice(0,e.length);return n._cache=n._cache.slice(e.length),xor$4(e,v)};const aes128={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},require$$2$1={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128,aes192,aes256,"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}};var modeModules={ECB:ecb,CBC:cbc,CFB:cfb,CFB8:cfb8,CFB1:cfb1,OFB:ofb,CTR:ctr,GCM:ctr},modes$2=require$$2$1;for(var key$3 in modes$2)modes$2[key$3].module=modeModules[modes$2[key$3].mode];var modes_1=modes$2,aes$5={},Buffer$e=safeBufferExports$1.Buffer;function asUInt32Array(n){Buffer$e.isBuffer(n)||(n=Buffer$e.from(n));for(var e=n.length/4|0,o=new Array(e),l=0;l<e;l++)o[l]=n.readUInt32BE(l*4);return o}function scrubVec(n){for(var e=0;e<n.length;n++)n[e]=0}function cryptBlock(n,e,o,l,t){for(var u=o[0],h=o[1],v=o[2],w=o[3],A=n[0]^e[0],E=n[1]^e[1],C=n[2]^e[2],M=n[3]^e[3],P,I,j,B,F=4,N=1;N<t;N++)P=u[A>>>24]^h[E>>>16&255]^v[C>>>8&255]^w[M&255]^e[F++],I=u[E>>>24]^h[C>>>16&255]^v[M>>>8&255]^w[A&255]^e[F++],j=u[C>>>24]^h[M>>>16&255]^v[A>>>8&255]^w[E&255]^e[F++],B=u[M>>>24]^h[A>>>16&255]^v[E>>>8&255]^w[C&255]^e[F++],A=P,E=I,C=j,M=B;return P=(l[A>>>24]<<24|l[E>>>16&255]<<16|l[C>>>8&255]<<8|l[M&255])^e[F++],I=(l[E>>>24]<<24|l[C>>>16&255]<<16|l[M>>>8&255]<<8|l[A&255])^e[F++],j=(l[C>>>24]<<24|l[M>>>16&255]<<16|l[A>>>8&255]<<8|l[E&255])^e[F++],B=(l[M>>>24]<<24|l[A>>>16&255]<<16|l[E>>>8&255]<<8|l[C&255])^e[F++],P=P>>>0,I=I>>>0,j=j>>>0,B=B>>>0,[P,I,j,B]}var RCON=[0,1,2,4,8,16,32,64,128,27,54],G=function(){for(var n=new Array(256),e=0;e<256;e++)e<128?n[e]=e<<1:n[e]=e<<1^283;for(var o=[],l=[],t=[[],[],[],[]],u=[[],[],[],[]],h=0,v=0,w=0;w<256;++w){var A=v^v<<1^v<<2^v<<3^v<<4;A=A>>>8^A&255^99,o[h]=A,l[A]=h;var E=n[h],C=n[E],M=n[C],P=n[A]*257^A*16843008;t[0][h]=P<<24|P>>>8,t[1][h]=P<<16|P>>>16,t[2][h]=P<<8|P>>>24,t[3][h]=P,P=M*16843009^C*65537^E*257^h*16843008,u[0][A]=P<<24|P>>>8,u[1][A]=P<<16|P>>>16,u[2][A]=P<<8|P>>>24,u[3][A]=P,h===0?h=v=1:(h=E^n[n[n[M^E]]],v^=n[n[v]])}return{SBOX:o,INV_SBOX:l,SUB_MIX:t,INV_SUB_MIX:u}}();function AES(n){this._key=asUInt32Array(n),this._reset()}AES.blockSize=4*4,AES.keySize=256/8,AES.prototype.blockSize=AES.blockSize,AES.prototype.keySize=AES.keySize,AES.prototype._reset=function(){for(var n=this._key,e=n.length,o=e+6,l=(o+1)*4,t=[],u=0;u<e;u++)t[u]=n[u];for(u=e;u<l;u++){var h=t[u-1];u%e===0?(h=h<<8|h>>>24,h=G.SBOX[h>>>24]<<24|G.SBOX[h>>>16&255]<<16|G.SBOX[h>>>8&255]<<8|G.SBOX[h&255],h^=RCON[u/e|0]<<24):e>6&&u%e===4&&(h=G.SBOX[h>>>24]<<24|G.SBOX[h>>>16&255]<<16|G.SBOX[h>>>8&255]<<8|G.SBOX[h&255]),t[u]=t[u-e]^h}for(var v=[],w=0;w<l;w++){var A=l-w,E=t[A-(w%4?0:4)];w<4||A<=4?v[w]=E:v[w]=G.INV_SUB_MIX[0][G.SBOX[E>>>24]]^G.INV_SUB_MIX[1][G.SBOX[E>>>16&255]]^G.INV_SUB_MIX[2][G.SBOX[E>>>8&255]]^G.INV_SUB_MIX[3][G.SBOX[E&255]]}this._nRounds=o,this._keySchedule=t,this._invKeySchedule=v},AES.prototype.encryptBlockRaw=function(n){return n=asUInt32Array(n),cryptBlock(n,this._keySchedule,G.SUB_MIX,G.SBOX,this._nRounds)},AES.prototype.encryptBlock=function(n){var e=this.encryptBlockRaw(n),o=Buffer$e.allocUnsafe(16);return o.writeUInt32BE(e[0],0),o.writeUInt32BE(e[1],4),o.writeUInt32BE(e[2],8),o.writeUInt32BE(e[3],12),o},AES.prototype.decryptBlock=function(n){n=asUInt32Array(n);var e=n[1];n[1]=n[3],n[3]=e;var o=cryptBlock(n,this._invKeySchedule,G.INV_SUB_MIX,G.INV_SBOX,this._nRounds),l=Buffer$e.allocUnsafe(16);return l.writeUInt32BE(o[0],0),l.writeUInt32BE(o[3],4),l.writeUInt32BE(o[2],8),l.writeUInt32BE(o[1],12),l},AES.prototype.scrub=function(){scrubVec(this._keySchedule),scrubVec(this._invKeySchedule),scrubVec(this._key)},aes$5.AES=AES;var Buffer$d=safeBufferExports$1.Buffer,ZEROES=Buffer$d.alloc(16,0);function toArray$1(n){return[n.readUInt32BE(0),n.readUInt32BE(4),n.readUInt32BE(8),n.readUInt32BE(12)]}function fromArray(n){var e=Buffer$d.allocUnsafe(16);return e.writeUInt32BE(n[0]>>>0,0),e.writeUInt32BE(n[1]>>>0,4),e.writeUInt32BE(n[2]>>>0,8),e.writeUInt32BE(n[3]>>>0,12),e}function GHASH$1(n){this.h=n,this.state=Buffer$d.alloc(16,0),this.cache=Buffer$d.allocUnsafe(0)}GHASH$1.prototype.ghash=function(n){for(var e=-1;++e<n.length;)this.state[e]^=n[e];this._multiply()},GHASH$1.prototype._multiply=function(){for(var n=toArray$1(this.h),e=[0,0,0,0],o,l,t,u=-1;++u<128;){for(l=(this.state[~~(u/8)]&1<<7-u%8)!==0,l&&(e[0]^=n[0],e[1]^=n[1],e[2]^=n[2],e[3]^=n[3]),t=(n[3]&1)!==0,o=3;o>0;o--)n[o]=n[o]>>>1|(n[o-1]&1)<<31;n[0]=n[0]>>>1,t&&(n[0]=n[0]^225<<24)}this.state=fromArray(e)},GHASH$1.prototype.update=function(n){this.cache=Buffer$d.concat([this.cache,n]);for(var e;this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},GHASH$1.prototype.final=function(n,e){return this.cache.length&&this.ghash(Buffer$d.concat([this.cache,ZEROES],16)),this.ghash(fromArray([0,n,0,e])),this.state};var ghash=GHASH$1,aes$4=aes$5,Buffer$c=safeBufferExports$1.Buffer,Transform$5=cipherBase,inherits$8=inherits_browserExports,GHASH=ghash,xor$3=bufferXor,incr32=incr32_1;function xorTest(n,e){var o=0;n.length!==e.length&&o++;for(var l=Math.min(n.length,e.length),t=0;t<l;++t)o+=n[t]^e[t];return o}function calcIv(n,e,o){if(e.length===12)return n._finID=Buffer$c.concat([e,Buffer$c.from([0,0,0,1])]),Buffer$c.concat([e,Buffer$c.from([0,0,0,2])]);var l=new GHASH(o),t=e.length,u=t%16;l.update(e),u&&(u=16-u,l.update(Buffer$c.alloc(u,0))),l.update(Buffer$c.alloc(8,0));var h=t*8,v=Buffer$c.alloc(8);v.writeUIntBE(h,0,8),l.update(v),n._finID=l.state;var w=Buffer$c.from(n._finID);return incr32(w),w}function StreamCipher$3(n,e,o,l){Transform$5.call(this);var t=Buffer$c.alloc(4,0);this._cipher=new aes$4.AES(e);var u=this._cipher.encryptBlock(t);this._ghash=new GHASH(u),o=calcIv(this,o,u),this._prev=Buffer$c.from(o),this._cache=Buffer$c.allocUnsafe(0),this._secCache=Buffer$c.allocUnsafe(0),this._decrypt=l,this._alen=0,this._len=0,this._mode=n,this._authTag=null,this._called=!1}inherits$8(StreamCipher$3,Transform$5),StreamCipher$3.prototype._update=function(n){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=Buffer$c.alloc(e,0),this._ghash.update(e))}this._called=!0;var o=this._mode.encrypt(this,n);return this._decrypt?this._ghash.update(n):this._ghash.update(o),this._len+=n.length,o},StreamCipher$3.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var n=xor$3(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&xorTest(n,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=n,this._cipher.scrub()},StreamCipher$3.prototype.getAuthTag=function(){if(this._decrypt||!Buffer$c.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},StreamCipher$3.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},StreamCipher$3.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length};var authCipher=StreamCipher$3,aes$3=aes$5,Buffer$b=safeBufferExports$1.Buffer,Transform$4=cipherBase,inherits$7=inherits_browserExports;function StreamCipher$2(n,e,o,l){Transform$4.call(this),this._cipher=new aes$3.AES(e),this._prev=Buffer$b.from(o),this._cache=Buffer$b.allocUnsafe(0),this._secCache=Buffer$b.allocUnsafe(0),this._decrypt=l,this._mode=n}inherits$7(StreamCipher$2,Transform$4),StreamCipher$2.prototype._update=function(n){return this._mode.encrypt(this,n,this._decrypt)},StreamCipher$2.prototype._final=function(){this._cipher.scrub()};var streamCipher=StreamCipher$2,Buffer$a=safeBufferExports$1.Buffer,MD5=md5_js;function EVP_BytesToKey(n,e,o,l){if(Buffer$a.isBuffer(n)||(n=Buffer$a.from(n,"binary")),e&&(Buffer$a.isBuffer(e)||(e=Buffer$a.from(e,"binary")),e.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var t=o/8,u=Buffer$a.alloc(t),h=Buffer$a.alloc(l||0),v=Buffer$a.alloc(0);t>0||l>0;){var w=new MD5;w.update(v),w.update(n),e&&w.update(e),v=w.digest();var A=0;if(t>0){var E=u.length-t;A=Math.min(t,v.length),v.copy(u,E,0,A),t-=A}if(A<v.length&&l>0){var C=h.length-l,M=Math.min(l,v.length-A);v.copy(h,C,A,A+M),l-=M}}return v.fill(0),{key:u,iv:h}}var evp_bytestokey=EVP_BytesToKey,MODES$1=modes_1,AuthCipher$1=authCipher,Buffer$9=safeBufferExports$1.Buffer,StreamCipher$1=streamCipher,Transform$3=cipherBase,aes$2=aes$5,ebtk$2=evp_bytestokey,inherits$6=inherits_browserExports;function Cipher(n,e,o){Transform$3.call(this),this._cache=new Splitter$1,this._cipher=new aes$2.AES(e),this._prev=Buffer$9.from(o),this._mode=n,this._autopadding=!0}inherits$6(Cipher,Transform$3),Cipher.prototype._update=function(n){this._cache.add(n);for(var e,o,l=[];e=this._cache.get();)o=this._mode.encrypt(this,e),l.push(o);return Buffer$9.concat(l)};var PADDING=Buffer$9.alloc(16,16);Cipher.prototype._final=function(){var n=this._cache.flush();if(this._autopadding)return n=this._mode.encrypt(this,n),this._cipher.scrub(),n;if(!n.equals(PADDING))throw this._cipher.scrub(),new Error("data not multiple of block length")},Cipher.prototype.setAutoPadding=function(n){return this._autopadding=!!n,this};function Splitter$1(){this.cache=Buffer$9.allocUnsafe(0)}Splitter$1.prototype.add=function(n){this.cache=Buffer$9.concat([this.cache,n])},Splitter$1.prototype.get=function(){if(this.cache.length>15){var n=this.cache.slice(0,16);return this.cache=this.cache.slice(16),n}return null},Splitter$1.prototype.flush=function(){for(var n=16-this.cache.length,e=Buffer$9.allocUnsafe(n),o=-1;++o<n;)e.writeUInt8(n,o);return Buffer$9.concat([this.cache,e])};function createCipheriv$1(n,e,o){var l=MODES$1[n.toLowerCase()];if(!l)throw new TypeError("invalid suite type");if(typeof e=="string"&&(e=Buffer$9.from(e)),e.length!==l.key/8)throw new TypeError("invalid key length "+e.length);if(typeof o=="string"&&(o=Buffer$9.from(o)),l.mode!=="GCM"&&o.length!==l.iv)throw new TypeError("invalid iv length "+o.length);return l.type==="stream"?new StreamCipher$1(l.module,e,o):l.type==="auth"?new AuthCipher$1(l.module,e,o):new Cipher(l.module,e,o)}function createCipher$1(n,e){var o=MODES$1[n.toLowerCase()];if(!o)throw new TypeError("invalid suite type");var l=ebtk$2(e,!1,o.key,o.iv);return createCipheriv$1(n,l.key,l.iv)}encrypter.createCipheriv=createCipheriv$1,encrypter.createCipher=createCipher$1;var decrypter={},AuthCipher=authCipher,Buffer$8=safeBufferExports$1.Buffer,MODES=modes_1,StreamCipher=streamCipher,Transform$2=cipherBase,aes$1=aes$5,ebtk$1=evp_bytestokey,inherits$5=inherits_browserExports;function Decipher(n,e,o){Transform$2.call(this),this._cache=new Splitter,this._last=void 0,this._cipher=new aes$1.AES(e),this._prev=Buffer$8.from(o),this._mode=n,this._autopadding=!0}inherits$5(Decipher,Transform$2),Decipher.prototype._update=function(n){this._cache.add(n);for(var e,o,l=[];e=this._cache.get(this._autopadding);)o=this._mode.decrypt(this,e),l.push(o);return Buffer$8.concat(l)},Decipher.prototype._final=function(){var n=this._cache.flush();if(this._autopadding)return unpad(this._mode.decrypt(this,n));if(n)throw new Error("data not multiple of block length")},Decipher.prototype.setAutoPadding=function(n){return this._autopadding=!!n,this};function Splitter(){this.cache=Buffer$8.allocUnsafe(0)}Splitter.prototype.add=function(n){this.cache=Buffer$8.concat([this.cache,n])},Splitter.prototype.get=function(n){var e;if(n){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},Splitter.prototype.flush=function(){if(this.cache.length)return this.cache};function unpad(n){var e=n[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var o=-1;++o<e;)if(n[o+(16-e)]!==e)throw new Error("unable to decrypt data");if(e!==16)return n.slice(0,16-e)}function createDecipheriv$1(n,e,o){var l=MODES[n.toLowerCase()];if(!l)throw new TypeError("invalid suite type");if(typeof o=="string"&&(o=Buffer$8.from(o)),l.mode!=="GCM"&&o.length!==l.iv)throw new TypeError("invalid iv length "+o.length);if(typeof e=="string"&&(e=Buffer$8.from(e)),e.length!==l.key/8)throw new TypeError("invalid key length "+e.length);return l.type==="stream"?new StreamCipher(l.module,e,o,!0):l.type==="auth"?new AuthCipher(l.module,e,o,!0):new Decipher(l.module,e,o)}function createDecipher$1(n,e){var o=MODES[n.toLowerCase()];if(!o)throw new TypeError("invalid suite type");var l=ebtk$1(e,!1,o.key,o.iv);return createDecipheriv$1(n,l.key,l.iv)}decrypter.createDecipher=createDecipher$1,decrypter.createDecipheriv=createDecipheriv$1;var ciphers$2=encrypter,deciphers=decrypter,modes$1=require$$2$1;function getCiphers$1(){return Object.keys(modes$1)}browser$7.createCipher=browser$7.Cipher=ciphers$2.createCipher,browser$7.createCipheriv=browser$7.Cipheriv=ciphers$2.createCipheriv,browser$7.createDecipher=browser$7.Decipher=deciphers.createDecipher,browser$7.createDecipheriv=browser$7.Decipheriv=deciphers.createDecipheriv,browser$7.listCiphers=browser$7.getCiphers=getCiphers$1;var modes={};(function(n){n["des-ecb"]={key:8,iv:0},n["des-cbc"]=n.des={key:8,iv:8},n["des-ede3-cbc"]=n.des3={key:24,iv:8},n["des-ede3"]={key:24,iv:0},n["des-ede-cbc"]={key:16,iv:8},n["des-ede"]={key:16,iv:0}})(modes);var DES=browserifyDes,aes=browser$7,aesModes=modes_1,desModes=modes,ebtk=evp_bytestokey;function createCipher(n,e){n=n.toLowerCase();var o,l;if(aesModes[n])o=aesModes[n].key,l=aesModes[n].iv;else if(desModes[n])o=desModes[n].key*8,l=desModes[n].iv;else throw new TypeError("invalid suite type");var t=ebtk(e,!1,o,l);return createCipheriv(n,t.key,t.iv)}function createDecipher(n,e){n=n.toLowerCase();var o,l;if(aesModes[n])o=aesModes[n].key,l=aesModes[n].iv;else if(desModes[n])o=desModes[n].key*8,l=desModes[n].iv;else throw new TypeError("invalid suite type");var t=ebtk(e,!1,o,l);return createDecipheriv(n,t.key,t.iv)}function createCipheriv(n,e,o){if(n=n.toLowerCase(),aesModes[n])return aes.createCipheriv(n,e,o);if(desModes[n])return new DES({key:e,iv:o,mode:n});throw new TypeError("invalid suite type")}function createDecipheriv(n,e,o){if(n=n.toLowerCase(),aesModes[n])return aes.createDecipheriv(n,e,o);if(desModes[n])return new DES({key:e,iv:o,mode:n,decrypt:!0});throw new TypeError("invalid suite type")}function getCiphers(){return Object.keys(desModes).concat(aes.getCiphers())}browser$8.createCipher=browser$8.Cipher=createCipher,browser$8.createCipheriv=browser$8.Cipheriv=createCipheriv,browser$8.createDecipher=browser$8.Decipher=createDecipher,browser$8.createDecipheriv=browser$8.Decipheriv=createDecipheriv,browser$8.listCiphers=browser$8.getCiphers=getCiphers;var browser$6={},bn$6={exports:{}};bn$6.exports,function(n){(function(e,o){function l(L,p){if(!L)throw new Error(p||"Assertion failed")}function t(L,p){L.super_=p;var y=function(){};y.prototype=p.prototype,L.prototype=new y,L.prototype.constructor=L}function u(L,p,y){if(u.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((p==="le"||p==="be")&&(y=p,p=10),this._init(L||0,p||10,y||"be"))}typeof e=="object"?e.exports=u:o.BN=u,u.BN=u,u.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=require$$0$2.Buffer}catch{}u.isBN=function(p){return p instanceof u?!0:p!==null&&typeof p=="object"&&p.constructor.wordSize===u.wordSize&&Array.isArray(p.words)},u.max=function(p,y){return p.cmp(y)>0?p:y},u.min=function(p,y){return p.cmp(y)<0?p:y},u.prototype._init=function(p,y,S){if(typeof p=="number")return this._initNumber(p,y,S);if(typeof p=="object")return this._initArray(p,y,S);y==="hex"&&(y=16),l(y===(y|0)&&y>=2&&y<=36),p=p.toString().replace(/\s+/g,"");var c=0;p[0]==="-"&&(c++,this.negative=1),c<p.length&&(y===16?this._parseHex(p,c,S):(this._parseBase(p,y,c),S==="le"&&this._initArray(this.toArray(),y,S)))},u.prototype._initNumber=function(p,y,S){p<0&&(this.negative=1,p=-p),p<67108864?(this.words=[p&67108863],this.length=1):p<4503599627370496?(this.words=[p&67108863,p/67108864&67108863],this.length=2):(l(p<9007199254740992),this.words=[p&67108863,p/67108864&67108863,1],this.length=3),S==="le"&&this._initArray(this.toArray(),y,S)},u.prototype._initArray=function(p,y,S){if(l(typeof p.length=="number"),p.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(p.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m,x,T=0;if(S==="be")for(c=p.length-1,m=0;c>=0;c-=3)x=p[c]|p[c-1]<<8|p[c-2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);else if(S==="le")for(c=0,m=0;c<p.length;c+=3)x=p[c]|p[c+1]<<8|p[c+2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);return this.strip()};function v(L,p){var y=L.charCodeAt(p);return y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:y-48&15}function w(L,p,y){var S=v(L,y);return y-1>=p&&(S|=v(L,y-1)<<4),S}u.prototype._parseHex=function(p,y,S){this.length=Math.ceil((p.length-y)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m=0,x=0,T;if(S==="be")for(c=p.length-1;c>=y;c-=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8;else{var b=p.length-y;for(c=b%2===0?y+1:y;c<p.length;c+=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8}this.strip()};function A(L,p,y,S){for(var c=0,m=Math.min(L.length,y),x=p;x<m;x++){var T=L.charCodeAt(x)-48;c*=S,T>=49?c+=T-49+10:T>=17?c+=T-17+10:c+=T}return c}u.prototype._parseBase=function(p,y,S){this.words=[0],this.length=1;for(var c=0,m=1;m<=67108863;m*=y)c++;c--,m=m/y|0;for(var x=p.length-S,T=x%c,b=Math.min(x,x-T)+S,d=0,k=S;k<b;k+=c)d=A(p,k,k+c,y),this.imuln(m),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(T!==0){var D=1;for(d=A(p,k,p.length,y),k=0;k<T;k++)D*=y;this.imuln(D),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}this.strip()},u.prototype.copy=function(p){p.words=new Array(this.length);for(var y=0;y<this.length;y++)p.words[y]=this.words[y];p.length=this.length,p.negative=this.negative,p.red=this.red},u.prototype.clone=function(){var p=new u(null);return this.copy(p),p},u.prototype._expand=function(p){for(;this.length<p;)this.words[this.length++]=0;return this},u.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},u.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},u.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],C=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],M=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];u.prototype.toString=function(p,y){p=p||10,y=y|0||1;var S;if(p===16||p==="hex"){S="";for(var c=0,m=0,x=0;x<this.length;x++){var T=this.words[x],b=((T<<c|m)&16777215).toString(16);m=T>>>24-c&16777215,m!==0||x!==this.length-1?S=E[6-b.length]+b+S:S=b+S,c+=2,c>=26&&(c-=26,x--)}for(m!==0&&(S=m.toString(16)+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(p===(p|0)&&p>=2&&p<=36){var d=C[p],k=M[p];S="";var D=this.clone();for(D.negative=0;!D.isZero();){var O=D.modn(k).toString(p);D=D.idivn(k),D.isZero()?S=O+S:S=E[d-O.length]+O+S}for(this.isZero()&&(S="0"+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}l(!1,"Base should be between 2 and 36")},u.prototype.toNumber=function(){var p=this.words[0];return this.length===2?p+=this.words[1]*67108864:this.length===3&&this.words[2]===1?p+=4503599627370496+this.words[1]*67108864:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-p:p},u.prototype.toJSON=function(){return this.toString(16)},u.prototype.toBuffer=function(p,y){return l(typeof h<"u"),this.toArrayLike(h,p,y)},u.prototype.toArray=function(p,y){return this.toArrayLike(Array,p,y)},u.prototype.toArrayLike=function(p,y,S){var c=this.byteLength(),m=S||Math.max(1,c);l(c<=m,"byte array longer than desired length"),l(m>0,"Requested array length <= 0"),this.strip();var x=y==="le",T=new p(m),b,d,k=this.clone();if(x){for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[d]=b;for(;d<m;d++)T[d]=0}else{for(d=0;d<m-c;d++)T[d]=0;for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[m-d-1]=b}return T},Math.clz32?u.prototype._countBits=function(p){return 32-Math.clz32(p)}:u.prototype._countBits=function(p){var y=p,S=0;return y>=4096&&(S+=13,y>>>=13),y>=64&&(S+=7,y>>>=7),y>=8&&(S+=4,y>>>=4),y>=2&&(S+=2,y>>>=2),S+y},u.prototype._zeroBits=function(p){if(p===0)return 26;var y=p,S=0;return y&8191||(S+=13,y>>>=13),y&127||(S+=7,y>>>=7),y&15||(S+=4,y>>>=4),y&3||(S+=2,y>>>=2),y&1||S++,S},u.prototype.bitLength=function(){var p=this.words[this.length-1],y=this._countBits(p);return(this.length-1)*26+y};function P(L){for(var p=new Array(L.bitLength()),y=0;y<p.length;y++){var S=y/26|0,c=y%26;p[y]=(L.words[S]&1<<c)>>>c}return p}u.prototype.zeroBits=function(){if(this.isZero())return 0;for(var p=0,y=0;y<this.length;y++){var S=this._zeroBits(this.words[y]);if(p+=S,S!==26)break}return p},u.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},u.prototype.toTwos=function(p){return this.negative!==0?this.abs().inotn(p).iaddn(1):this.clone()},u.prototype.fromTwos=function(p){return this.testn(p-1)?this.notn(p).iaddn(1).ineg():this.clone()},u.prototype.isNeg=function(){return this.negative!==0},u.prototype.neg=function(){return this.clone().ineg()},u.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},u.prototype.iuor=function(p){for(;this.length<p.length;)this.words[this.length++]=0;for(var y=0;y<p.length;y++)this.words[y]=this.words[y]|p.words[y];return this.strip()},u.prototype.ior=function(p){return l((this.negative|p.negative)===0),this.iuor(p)},u.prototype.or=function(p){return this.length>p.length?this.clone().ior(p):p.clone().ior(this)},u.prototype.uor=function(p){return this.length>p.length?this.clone().iuor(p):p.clone().iuor(this)},u.prototype.iuand=function(p){var y;this.length>p.length?y=p:y=this;for(var S=0;S<y.length;S++)this.words[S]=this.words[S]&p.words[S];return this.length=y.length,this.strip()},u.prototype.iand=function(p){return l((this.negative|p.negative)===0),this.iuand(p)},u.prototype.and=function(p){return this.length>p.length?this.clone().iand(p):p.clone().iand(this)},u.prototype.uand=function(p){return this.length>p.length?this.clone().iuand(p):p.clone().iuand(this)},u.prototype.iuxor=function(p){var y,S;this.length>p.length?(y=this,S=p):(y=p,S=this);for(var c=0;c<S.length;c++)this.words[c]=y.words[c]^S.words[c];if(this!==y)for(;c<y.length;c++)this.words[c]=y.words[c];return this.length=y.length,this.strip()},u.prototype.ixor=function(p){return l((this.negative|p.negative)===0),this.iuxor(p)},u.prototype.xor=function(p){return this.length>p.length?this.clone().ixor(p):p.clone().ixor(this)},u.prototype.uxor=function(p){return this.length>p.length?this.clone().iuxor(p):p.clone().iuxor(this)},u.prototype.inotn=function(p){l(typeof p=="number"&&p>=0);var y=Math.ceil(p/26)|0,S=p%26;this._expand(y),S>0&&y--;for(var c=0;c<y;c++)this.words[c]=~this.words[c]&67108863;return S>0&&(this.words[c]=~this.words[c]&67108863>>26-S),this.strip()},u.prototype.notn=function(p){return this.clone().inotn(p)},u.prototype.setn=function(p,y){l(typeof p=="number"&&p>=0);var S=p/26|0,c=p%26;return this._expand(S+1),y?this.words[S]=this.words[S]|1<<c:this.words[S]=this.words[S]&~(1<<c),this.strip()},u.prototype.iadd=function(p){var y;if(this.negative!==0&&p.negative===0)return this.negative=0,y=this.isub(p),this.negative^=1,this._normSign();if(this.negative===0&&p.negative!==0)return p.negative=0,y=this.isub(p),p.negative=1,y._normSign();var S,c;this.length>p.length?(S=this,c=p):(S=p,c=this);for(var m=0,x=0;x<c.length;x++)y=(S.words[x]|0)+(c.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;for(;m!==0&&x<S.length;x++)y=(S.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;if(this.length=S.length,m!==0)this.words[this.length]=m,this.length++;else if(S!==this)for(;x<S.length;x++)this.words[x]=S.words[x];return this},u.prototype.add=function(p){var y;return p.negative!==0&&this.negative===0?(p.negative=0,y=this.sub(p),p.negative^=1,y):p.negative===0&&this.negative!==0?(this.negative=0,y=p.sub(this),this.negative=1,y):this.length>p.length?this.clone().iadd(p):p.clone().iadd(this)},u.prototype.isub=function(p){if(p.negative!==0){p.negative=0;var y=this.iadd(p);return p.negative=1,y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(p),this.negative=1,this._normSign();var S=this.cmp(p);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,m;S>0?(c=this,m=p):(c=p,m=this);for(var x=0,T=0;T<m.length;T++)y=(c.words[T]|0)-(m.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;for(;x!==0&&T<c.length;T++)y=(c.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;if(x===0&&T<c.length&&c!==this)for(;T<c.length;T++)this.words[T]=c.words[T];return this.length=Math.max(this.length,T),c!==this&&(this.negative=1),this.strip()},u.prototype.sub=function(p){return this.clone().isub(p)};function I(L,p,y){y.negative=p.negative^L.negative;var S=L.length+p.length|0;y.length=S,S=S-1|0;var c=L.words[0]|0,m=p.words[0]|0,x=c*m,T=x&67108863,b=x/67108864|0;y.words[0]=T;for(var d=1;d<S;d++){for(var k=b>>>26,D=b&67108863,O=Math.min(d,p.length-1),Q=Math.max(0,d-L.length+1);Q<=O;Q++){var J=d-Q|0;c=L.words[J]|0,m=p.words[Q]|0,x=c*m+D,k+=x/67108864|0,D=x&67108863}y.words[d]=D|0,b=k|0}return b!==0?y.words[d]=b|0:y.length--,y.strip()}var j=function(p,y,S){var c=p.words,m=y.words,x=S.words,T=0,b,d,k,D=c[0]|0,O=D&8191,Q=D>>>13,J=c[1]|0,X=J&8191,U=J>>>13,z=c[2]|0,ie=z&8191,de=z>>>13,me=c[3]|0,pe=me&8191,qe=me>>>13,mt=c[4]|0,st=mt&8191,dt=mt>>>13,Tt=c[5]|0,lt=Tt&8191,Je=Tt>>>13,ht=c[6]|0,at=ht&8191,bt=ht>>>13,jt=c[7]|0,Ge=jt&8191,Qe=jt>>>13,Wt=c[8]|0,Et=Wt&8191,Ct=Wt>>>13,Kt=c[9]|0,Me=Kt&8191,te=Kt>>>13,_e=m[0]|0,je=_e&8191,We=_e>>>13,et=m[1]|0,Ye=et&8191,De=et>>>13,Ht=m[2]|0,Mt=Ht&8191,ge=Ht>>>13,Dt=m[3]|0,yt=Dt&8191,Ne=Dt>>>13,_t=m[4]|0,pt=_t&8191,Bt=_t>>>13,ur=m[5]|0,kt=ur&8191,Ut=ur>>>13,Wr=m[6]|0,zt=Wr&8191,Qt=Wr>>>13,$e=m[7]|0,be=$e&8191,ve=$e>>>13,se=m[8]|0,Pe=se&8191,ze=se>>>13,xt=m[9]|0,ot=xt&8191,wt=xt>>>13;S.negative=p.negative^y.negative,S.length=19,b=Math.imul(O,je),d=Math.imul(O,We),d=d+Math.imul(Q,je)|0,k=Math.imul(Q,We);var Yt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,b=Math.imul(X,je),d=Math.imul(X,We),d=d+Math.imul(U,je)|0,k=Math.imul(U,We),b=b+Math.imul(O,Ye)|0,d=d+Math.imul(O,De)|0,d=d+Math.imul(Q,Ye)|0,k=k+Math.imul(Q,De)|0;var Jt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,b=Math.imul(ie,je),d=Math.imul(ie,We),d=d+Math.imul(de,je)|0,k=Math.imul(de,We),b=b+Math.imul(X,Ye)|0,d=d+Math.imul(X,De)|0,d=d+Math.imul(U,Ye)|0,k=k+Math.imul(U,De)|0,b=b+Math.imul(O,Mt)|0,d=d+Math.imul(O,ge)|0,d=d+Math.imul(Q,Mt)|0,k=k+Math.imul(Q,ge)|0;var wr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(wr>>>26)|0,wr&=67108863,b=Math.imul(pe,je),d=Math.imul(pe,We),d=d+Math.imul(qe,je)|0,k=Math.imul(qe,We),b=b+Math.imul(ie,Ye)|0,d=d+Math.imul(ie,De)|0,d=d+Math.imul(de,Ye)|0,k=k+Math.imul(de,De)|0,b=b+Math.imul(X,Mt)|0,d=d+Math.imul(X,ge)|0,d=d+Math.imul(U,Mt)|0,k=k+Math.imul(U,ge)|0,b=b+Math.imul(O,yt)|0,d=d+Math.imul(O,Ne)|0,d=d+Math.imul(Q,yt)|0,k=k+Math.imul(Q,Ne)|0;var lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(lr>>>26)|0,lr&=67108863,b=Math.imul(st,je),d=Math.imul(st,We),d=d+Math.imul(dt,je)|0,k=Math.imul(dt,We),b=b+Math.imul(pe,Ye)|0,d=d+Math.imul(pe,De)|0,d=d+Math.imul(qe,Ye)|0,k=k+Math.imul(qe,De)|0,b=b+Math.imul(ie,Mt)|0,d=d+Math.imul(ie,ge)|0,d=d+Math.imul(de,Mt)|0,k=k+Math.imul(de,ge)|0,b=b+Math.imul(X,yt)|0,d=d+Math.imul(X,Ne)|0,d=d+Math.imul(U,yt)|0,k=k+Math.imul(U,Ne)|0,b=b+Math.imul(O,pt)|0,d=d+Math.imul(O,Bt)|0,d=d+Math.imul(Q,pt)|0,k=k+Math.imul(Q,Bt)|0;var Rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Rr>>>26)|0,Rr&=67108863,b=Math.imul(lt,je),d=Math.imul(lt,We),d=d+Math.imul(Je,je)|0,k=Math.imul(Je,We),b=b+Math.imul(st,Ye)|0,d=d+Math.imul(st,De)|0,d=d+Math.imul(dt,Ye)|0,k=k+Math.imul(dt,De)|0,b=b+Math.imul(pe,Mt)|0,d=d+Math.imul(pe,ge)|0,d=d+Math.imul(qe,Mt)|0,k=k+Math.imul(qe,ge)|0,b=b+Math.imul(ie,yt)|0,d=d+Math.imul(ie,Ne)|0,d=d+Math.imul(de,yt)|0,k=k+Math.imul(de,Ne)|0,b=b+Math.imul(X,pt)|0,d=d+Math.imul(X,Bt)|0,d=d+Math.imul(U,pt)|0,k=k+Math.imul(U,Bt)|0,b=b+Math.imul(O,kt)|0,d=d+Math.imul(O,Ut)|0,d=d+Math.imul(Q,kt)|0,k=k+Math.imul(Q,Ut)|0;var vr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(vr>>>26)|0,vr&=67108863,b=Math.imul(at,je),d=Math.imul(at,We),d=d+Math.imul(bt,je)|0,k=Math.imul(bt,We),b=b+Math.imul(lt,Ye)|0,d=d+Math.imul(lt,De)|0,d=d+Math.imul(Je,Ye)|0,k=k+Math.imul(Je,De)|0,b=b+Math.imul(st,Mt)|0,d=d+Math.imul(st,ge)|0,d=d+Math.imul(dt,Mt)|0,k=k+Math.imul(dt,ge)|0,b=b+Math.imul(pe,yt)|0,d=d+Math.imul(pe,Ne)|0,d=d+Math.imul(qe,yt)|0,k=k+Math.imul(qe,Ne)|0,b=b+Math.imul(ie,pt)|0,d=d+Math.imul(ie,Bt)|0,d=d+Math.imul(de,pt)|0,k=k+Math.imul(de,Bt)|0,b=b+Math.imul(X,kt)|0,d=d+Math.imul(X,Ut)|0,d=d+Math.imul(U,kt)|0,k=k+Math.imul(U,Ut)|0,b=b+Math.imul(O,zt)|0,d=d+Math.imul(O,Qt)|0,d=d+Math.imul(Q,zt)|0,k=k+Math.imul(Q,Qt)|0;var dr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(dr>>>26)|0,dr&=67108863,b=Math.imul(Ge,je),d=Math.imul(Ge,We),d=d+Math.imul(Qe,je)|0,k=Math.imul(Qe,We),b=b+Math.imul(at,Ye)|0,d=d+Math.imul(at,De)|0,d=d+Math.imul(bt,Ye)|0,k=k+Math.imul(bt,De)|0,b=b+Math.imul(lt,Mt)|0,d=d+Math.imul(lt,ge)|0,d=d+Math.imul(Je,Mt)|0,k=k+Math.imul(Je,ge)|0,b=b+Math.imul(st,yt)|0,d=d+Math.imul(st,Ne)|0,d=d+Math.imul(dt,yt)|0,k=k+Math.imul(dt,Ne)|0,b=b+Math.imul(pe,pt)|0,d=d+Math.imul(pe,Bt)|0,d=d+Math.imul(qe,pt)|0,k=k+Math.imul(qe,Bt)|0,b=b+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ut)|0,d=d+Math.imul(de,kt)|0,k=k+Math.imul(de,Ut)|0,b=b+Math.imul(X,zt)|0,d=d+Math.imul(X,Qt)|0,d=d+Math.imul(U,zt)|0,k=k+Math.imul(U,Qt)|0,b=b+Math.imul(O,be)|0,d=d+Math.imul(O,ve)|0,d=d+Math.imul(Q,be)|0,k=k+Math.imul(Q,ve)|0;var Ir=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,b=Math.imul(Et,je),d=Math.imul(Et,We),d=d+Math.imul(Ct,je)|0,k=Math.imul(Ct,We),b=b+Math.imul(Ge,Ye)|0,d=d+Math.imul(Ge,De)|0,d=d+Math.imul(Qe,Ye)|0,k=k+Math.imul(Qe,De)|0,b=b+Math.imul(at,Mt)|0,d=d+Math.imul(at,ge)|0,d=d+Math.imul(bt,Mt)|0,k=k+Math.imul(bt,ge)|0,b=b+Math.imul(lt,yt)|0,d=d+Math.imul(lt,Ne)|0,d=d+Math.imul(Je,yt)|0,k=k+Math.imul(Je,Ne)|0,b=b+Math.imul(st,pt)|0,d=d+Math.imul(st,Bt)|0,d=d+Math.imul(dt,pt)|0,k=k+Math.imul(dt,Bt)|0,b=b+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ut)|0,d=d+Math.imul(qe,kt)|0,k=k+Math.imul(qe,Ut)|0,b=b+Math.imul(ie,zt)|0,d=d+Math.imul(ie,Qt)|0,d=d+Math.imul(de,zt)|0,k=k+Math.imul(de,Qt)|0,b=b+Math.imul(X,be)|0,d=d+Math.imul(X,ve)|0,d=d+Math.imul(U,be)|0,k=k+Math.imul(U,ve)|0,b=b+Math.imul(O,Pe)|0,d=d+Math.imul(O,ze)|0,d=d+Math.imul(Q,Pe)|0,k=k+Math.imul(Q,ze)|0;var kr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(kr>>>26)|0,kr&=67108863,b=Math.imul(Me,je),d=Math.imul(Me,We),d=d+Math.imul(te,je)|0,k=Math.imul(te,We),b=b+Math.imul(Et,Ye)|0,d=d+Math.imul(Et,De)|0,d=d+Math.imul(Ct,Ye)|0,k=k+Math.imul(Ct,De)|0,b=b+Math.imul(Ge,Mt)|0,d=d+Math.imul(Ge,ge)|0,d=d+Math.imul(Qe,Mt)|0,k=k+Math.imul(Qe,ge)|0,b=b+Math.imul(at,yt)|0,d=d+Math.imul(at,Ne)|0,d=d+Math.imul(bt,yt)|0,k=k+Math.imul(bt,Ne)|0,b=b+Math.imul(lt,pt)|0,d=d+Math.imul(lt,Bt)|0,d=d+Math.imul(Je,pt)|0,k=k+Math.imul(Je,Bt)|0,b=b+Math.imul(st,kt)|0,d=d+Math.imul(st,Ut)|0,d=d+Math.imul(dt,kt)|0,k=k+Math.imul(dt,Ut)|0,b=b+Math.imul(pe,zt)|0,d=d+Math.imul(pe,Qt)|0,d=d+Math.imul(qe,zt)|0,k=k+Math.imul(qe,Qt)|0,b=b+Math.imul(ie,be)|0,d=d+Math.imul(ie,ve)|0,d=d+Math.imul(de,be)|0,k=k+Math.imul(de,ve)|0,b=b+Math.imul(X,Pe)|0,d=d+Math.imul(X,ze)|0,d=d+Math.imul(U,Pe)|0,k=k+Math.imul(U,ze)|0,b=b+Math.imul(O,ot)|0,d=d+Math.imul(O,wt)|0,d=d+Math.imul(Q,ot)|0,k=k+Math.imul(Q,wt)|0;var Fr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Fr>>>26)|0,Fr&=67108863,b=Math.imul(Me,Ye),d=Math.imul(Me,De),d=d+Math.imul(te,Ye)|0,k=Math.imul(te,De),b=b+Math.imul(Et,Mt)|0,d=d+Math.imul(Et,ge)|0,d=d+Math.imul(Ct,Mt)|0,k=k+Math.imul(Ct,ge)|0,b=b+Math.imul(Ge,yt)|0,d=d+Math.imul(Ge,Ne)|0,d=d+Math.imul(Qe,yt)|0,k=k+Math.imul(Qe,Ne)|0,b=b+Math.imul(at,pt)|0,d=d+Math.imul(at,Bt)|0,d=d+Math.imul(bt,pt)|0,k=k+Math.imul(bt,Bt)|0,b=b+Math.imul(lt,kt)|0,d=d+Math.imul(lt,Ut)|0,d=d+Math.imul(Je,kt)|0,k=k+Math.imul(Je,Ut)|0,b=b+Math.imul(st,zt)|0,d=d+Math.imul(st,Qt)|0,d=d+Math.imul(dt,zt)|0,k=k+Math.imul(dt,Qt)|0,b=b+Math.imul(pe,be)|0,d=d+Math.imul(pe,ve)|0,d=d+Math.imul(qe,be)|0,k=k+Math.imul(qe,ve)|0,b=b+Math.imul(ie,Pe)|0,d=d+Math.imul(ie,ze)|0,d=d+Math.imul(de,Pe)|0,k=k+Math.imul(de,ze)|0,b=b+Math.imul(X,ot)|0,d=d+Math.imul(X,wt)|0,d=d+Math.imul(U,ot)|0,k=k+Math.imul(U,wt)|0;var jr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(jr>>>26)|0,jr&=67108863,b=Math.imul(Me,Mt),d=Math.imul(Me,ge),d=d+Math.imul(te,Mt)|0,k=Math.imul(te,ge),b=b+Math.imul(Et,yt)|0,d=d+Math.imul(Et,Ne)|0,d=d+Math.imul(Ct,yt)|0,k=k+Math.imul(Ct,Ne)|0,b=b+Math.imul(Ge,pt)|0,d=d+Math.imul(Ge,Bt)|0,d=d+Math.imul(Qe,pt)|0,k=k+Math.imul(Qe,Bt)|0,b=b+Math.imul(at,kt)|0,d=d+Math.imul(at,Ut)|0,d=d+Math.imul(bt,kt)|0,k=k+Math.imul(bt,Ut)|0,b=b+Math.imul(lt,zt)|0,d=d+Math.imul(lt,Qt)|0,d=d+Math.imul(Je,zt)|0,k=k+Math.imul(Je,Qt)|0,b=b+Math.imul(st,be)|0,d=d+Math.imul(st,ve)|0,d=d+Math.imul(dt,be)|0,k=k+Math.imul(dt,ve)|0,b=b+Math.imul(pe,Pe)|0,d=d+Math.imul(pe,ze)|0,d=d+Math.imul(qe,Pe)|0,k=k+Math.imul(qe,ze)|0,b=b+Math.imul(ie,ot)|0,d=d+Math.imul(ie,wt)|0,d=d+Math.imul(de,ot)|0,k=k+Math.imul(de,wt)|0;var Cr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,b=Math.imul(Me,yt),d=Math.imul(Me,Ne),d=d+Math.imul(te,yt)|0,k=Math.imul(te,Ne),b=b+Math.imul(Et,pt)|0,d=d+Math.imul(Et,Bt)|0,d=d+Math.imul(Ct,pt)|0,k=k+Math.imul(Ct,Bt)|0,b=b+Math.imul(Ge,kt)|0,d=d+Math.imul(Ge,Ut)|0,d=d+Math.imul(Qe,kt)|0,k=k+Math.imul(Qe,Ut)|0,b=b+Math.imul(at,zt)|0,d=d+Math.imul(at,Qt)|0,d=d+Math.imul(bt,zt)|0,k=k+Math.imul(bt,Qt)|0,b=b+Math.imul(lt,be)|0,d=d+Math.imul(lt,ve)|0,d=d+Math.imul(Je,be)|0,k=k+Math.imul(Je,ve)|0,b=b+Math.imul(st,Pe)|0,d=d+Math.imul(st,ze)|0,d=d+Math.imul(dt,Pe)|0,k=k+Math.imul(dt,ze)|0,b=b+Math.imul(pe,ot)|0,d=d+Math.imul(pe,wt)|0,d=d+Math.imul(qe,ot)|0,k=k+Math.imul(qe,wt)|0;var Lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,b=Math.imul(Me,pt),d=Math.imul(Me,Bt),d=d+Math.imul(te,pt)|0,k=Math.imul(te,Bt),b=b+Math.imul(Et,kt)|0,d=d+Math.imul(Et,Ut)|0,d=d+Math.imul(Ct,kt)|0,k=k+Math.imul(Ct,Ut)|0,b=b+Math.imul(Ge,zt)|0,d=d+Math.imul(Ge,Qt)|0,d=d+Math.imul(Qe,zt)|0,k=k+Math.imul(Qe,Qt)|0,b=b+Math.imul(at,be)|0,d=d+Math.imul(at,ve)|0,d=d+Math.imul(bt,be)|0,k=k+Math.imul(bt,ve)|0,b=b+Math.imul(lt,Pe)|0,d=d+Math.imul(lt,ze)|0,d=d+Math.imul(Je,Pe)|0,k=k+Math.imul(Je,ze)|0,b=b+Math.imul(st,ot)|0,d=d+Math.imul(st,wt)|0,d=d+Math.imul(dt,ot)|0,k=k+Math.imul(dt,wt)|0;var Ar=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,b=Math.imul(Me,kt),d=Math.imul(Me,Ut),d=d+Math.imul(te,kt)|0,k=Math.imul(te,Ut),b=b+Math.imul(Et,zt)|0,d=d+Math.imul(Et,Qt)|0,d=d+Math.imul(Ct,zt)|0,k=k+Math.imul(Ct,Qt)|0,b=b+Math.imul(Ge,be)|0,d=d+Math.imul(Ge,ve)|0,d=d+Math.imul(Qe,be)|0,k=k+Math.imul(Qe,ve)|0,b=b+Math.imul(at,Pe)|0,d=d+Math.imul(at,ze)|0,d=d+Math.imul(bt,Pe)|0,k=k+Math.imul(bt,ze)|0,b=b+Math.imul(lt,ot)|0,d=d+Math.imul(lt,wt)|0,d=d+Math.imul(Je,ot)|0,k=k+Math.imul(Je,wt)|0;var Tr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,b=Math.imul(Me,zt),d=Math.imul(Me,Qt),d=d+Math.imul(te,zt)|0,k=Math.imul(te,Qt),b=b+Math.imul(Et,be)|0,d=d+Math.imul(Et,ve)|0,d=d+Math.imul(Ct,be)|0,k=k+Math.imul(Ct,ve)|0,b=b+Math.imul(Ge,Pe)|0,d=d+Math.imul(Ge,ze)|0,d=d+Math.imul(Qe,Pe)|0,k=k+Math.imul(Qe,ze)|0,b=b+Math.imul(at,ot)|0,d=d+Math.imul(at,wt)|0,d=d+Math.imul(bt,ot)|0,k=k+Math.imul(bt,wt)|0;var Sr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,b=Math.imul(Me,be),d=Math.imul(Me,ve),d=d+Math.imul(te,be)|0,k=Math.imul(te,ve),b=b+Math.imul(Et,Pe)|0,d=d+Math.imul(Et,ze)|0,d=d+Math.imul(Ct,Pe)|0,k=k+Math.imul(Ct,ze)|0,b=b+Math.imul(Ge,ot)|0,d=d+Math.imul(Ge,wt)|0,d=d+Math.imul(Qe,ot)|0,k=k+Math.imul(Qe,wt)|0;var rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(rr>>>26)|0,rr&=67108863,b=Math.imul(Me,Pe),d=Math.imul(Me,ze),d=d+Math.imul(te,Pe)|0,k=Math.imul(te,ze),b=b+Math.imul(Et,ot)|0,d=d+Math.imul(Et,wt)|0,d=d+Math.imul(Ct,ot)|0,k=k+Math.imul(Ct,wt)|0;var Nt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,b=Math.imul(Me,ot),d=Math.imul(Me,wt),d=d+Math.imul(te,ot)|0,k=Math.imul(te,wt);var Gt=(T+b|0)+((d&8191)<<13)|0;return T=(k+(d>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,x[0]=Yt,x[1]=Jt,x[2]=wr,x[3]=lr,x[4]=Rr,x[5]=vr,x[6]=dr,x[7]=Ir,x[8]=kr,x[9]=Fr,x[10]=jr,x[11]=Cr,x[12]=Lr,x[13]=Ar,x[14]=Tr,x[15]=Sr,x[16]=rr,x[17]=Nt,x[18]=Gt,T!==0&&(x[19]=T,S.length++),S};Math.imul||(j=I);function B(L,p,y){y.negative=p.negative^L.negative,y.length=L.length+p.length;for(var S=0,c=0,m=0;m<y.length-1;m++){var x=c;c=0;for(var T=S&67108863,b=Math.min(m,p.length-1),d=Math.max(0,m-L.length+1);d<=b;d++){var k=m-d,D=L.words[k]|0,O=p.words[d]|0,Q=D*O,J=Q&67108863;x=x+(Q/67108864|0)|0,J=J+T|0,T=J&67108863,x=x+(J>>>26)|0,c+=x>>>26,x&=67108863}y.words[m]=T,S=x,x=c}return S!==0?y.words[m]=S:y.length--,y.strip()}function F(L,p,y){var S=new N;return S.mulp(L,p,y)}u.prototype.mulTo=function(p,y){var S,c=this.length+p.length;return this.length===10&&p.length===10?S=j(this,p,y):c<63?S=I(this,p,y):c<1024?S=B(this,p,y):S=F(this,p,y),S};function N(L,p){this.x=L,this.y=p}N.prototype.makeRBT=function(p){for(var y=new Array(p),S=u.prototype._countBits(p)-1,c=0;c<p;c++)y[c]=this.revBin(c,S,p);return y},N.prototype.revBin=function(p,y,S){if(p===0||p===S-1)return p;for(var c=0,m=0;m<y;m++)c|=(p&1)<<y-m-1,p>>=1;return c},N.prototype.permute=function(p,y,S,c,m,x){for(var T=0;T<x;T++)c[T]=y[p[T]],m[T]=S[p[T]]},N.prototype.transform=function(p,y,S,c,m,x){this.permute(x,p,y,S,c,m);for(var T=1;T<m;T<<=1)for(var b=T<<1,d=Math.cos(2*Math.PI/b),k=Math.sin(2*Math.PI/b),D=0;D<m;D+=b)for(var O=d,Q=k,J=0;J<T;J++){var X=S[D+J],U=c[D+J],z=S[D+J+T],ie=c[D+J+T],de=O*z-Q*ie;ie=O*ie+Q*z,z=de,S[D+J]=X+z,c[D+J]=U+ie,S[D+J+T]=X-z,c[D+J+T]=U-ie,J!==b&&(de=d*O-k*Q,Q=d*Q+k*O,O=de)}},N.prototype.guessLen13b=function(p,y){var S=Math.max(y,p)|1,c=S&1,m=0;for(S=S/2|0;S;S=S>>>1)m++;return 1<<m+1+c},N.prototype.conjugate=function(p,y,S){if(!(S<=1))for(var c=0;c<S/2;c++){var m=p[c];p[c]=p[S-c-1],p[S-c-1]=m,m=y[c],y[c]=-y[S-c-1],y[S-c-1]=-m}},N.prototype.normalize13b=function(p,y){for(var S=0,c=0;c<y/2;c++){var m=Math.round(p[2*c+1]/y)*8192+Math.round(p[2*c]/y)+S;p[c]=m&67108863,m<67108864?S=0:S=m/67108864|0}return p},N.prototype.convert13b=function(p,y,S,c){for(var m=0,x=0;x<y;x++)m=m+(p[x]|0),S[2*x]=m&8191,m=m>>>13,S[2*x+1]=m&8191,m=m>>>13;for(x=2*y;x<c;++x)S[x]=0;l(m===0),l((m&-8192)===0)},N.prototype.stub=function(p){for(var y=new Array(p),S=0;S<p;S++)y[S]=0;return y},N.prototype.mulp=function(p,y,S){var c=2*this.guessLen13b(p.length,y.length),m=this.makeRBT(c),x=this.stub(c),T=new Array(c),b=new Array(c),d=new Array(c),k=new Array(c),D=new Array(c),O=new Array(c),Q=S.words;Q.length=c,this.convert13b(p.words,p.length,T,c),this.convert13b(y.words,y.length,k,c),this.transform(T,x,b,d,c,m),this.transform(k,x,D,O,c,m);for(var J=0;J<c;J++){var X=b[J]*D[J]-d[J]*O[J];d[J]=b[J]*O[J]+d[J]*D[J],b[J]=X}return this.conjugate(b,d,c),this.transform(b,d,Q,x,c,m),this.conjugate(Q,x,c),this.normalize13b(Q,c),S.negative=p.negative^y.negative,S.length=p.length+y.length,S.strip()},u.prototype.mul=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),this.mulTo(p,y)},u.prototype.mulf=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),F(this,p,y)},u.prototype.imul=function(p){return this.clone().mulTo(p,this)},u.prototype.imuln=function(p){l(typeof p=="number"),l(p<67108864);for(var y=0,S=0;S<this.length;S++){var c=(this.words[S]|0)*p,m=(c&67108863)+(y&67108863);y>>=26,y+=c/67108864|0,y+=m>>>26,this.words[S]=m&67108863}return y!==0&&(this.words[S]=y,this.length++),this},u.prototype.muln=function(p){return this.clone().imuln(p)},u.prototype.sqr=function(){return this.mul(this)},u.prototype.isqr=function(){return this.imul(this.clone())},u.prototype.pow=function(p){var y=P(p);if(y.length===0)return new u(1);for(var S=this,c=0;c<y.length&&y[c]===0;c++,S=S.sqr());if(++c<y.length)for(var m=S.sqr();c<y.length;c++,m=m.sqr())y[c]!==0&&(S=S.mul(m));return S},u.prototype.iushln=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=67108863>>>26-y<<26-y,m;if(y!==0){var x=0;for(m=0;m<this.length;m++){var T=this.words[m]&c,b=(this.words[m]|0)-T<<y;this.words[m]=b|x,x=T>>>26-y}x&&(this.words[m]=x,this.length++)}if(S!==0){for(m=this.length-1;m>=0;m--)this.words[m+S]=this.words[m];for(m=0;m<S;m++)this.words[m]=0;this.length+=S}return this.strip()},u.prototype.ishln=function(p){return l(this.negative===0),this.iushln(p)},u.prototype.iushrn=function(p,y,S){l(typeof p=="number"&&p>=0);var c;y?c=(y-y%26)/26:c=0;var m=p%26,x=Math.min((p-m)/26,this.length),T=67108863^67108863>>>m<<m,b=S;if(c-=x,c=Math.max(0,c),b){for(var d=0;d<x;d++)b.words[d]=this.words[d];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,d=0;d<this.length;d++)this.words[d]=this.words[d+x];else this.words[0]=0,this.length=1;var k=0;for(d=this.length-1;d>=0&&(k!==0||d>=c);d--){var D=this.words[d]|0;this.words[d]=k<<26-m|D>>>m,k=D&T}return b&&k!==0&&(b.words[b.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},u.prototype.ishrn=function(p,y,S){return l(this.negative===0),this.iushrn(p,y,S)},u.prototype.shln=function(p){return this.clone().ishln(p)},u.prototype.ushln=function(p){return this.clone().iushln(p)},u.prototype.shrn=function(p){return this.clone().ishrn(p)},u.prototype.ushrn=function(p){return this.clone().iushrn(p)},u.prototype.testn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return!1;var m=this.words[S];return!!(m&c)},u.prototype.imaskn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(y!==0&&S++,this.length=Math.min(S,this.length),y!==0){var c=67108863^67108863>>>y<<y;this.words[this.length-1]&=c}return this.strip()},u.prototype.maskn=function(p){return this.clone().imaskn(p)},u.prototype.iaddn=function(p){return l(typeof p=="number"),l(p<67108864),p<0?this.isubn(-p):this.negative!==0?this.length===1&&(this.words[0]|0)<p?(this.words[0]=p-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(p),this.negative=1,this):this._iaddn(p)},u.prototype._iaddn=function(p){this.words[0]+=p;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},u.prototype.isubn=function(p){if(l(typeof p=="number"),l(p<67108864),p<0)return this.iaddn(-p);if(this.negative!==0)return this.negative=0,this.iaddn(p),this.negative=1,this;if(this.words[0]-=p,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this.strip()},u.prototype.addn=function(p){return this.clone().iaddn(p)},u.prototype.subn=function(p){return this.clone().isubn(p)},u.prototype.iabs=function(){return this.negative=0,this},u.prototype.abs=function(){return this.clone().iabs()},u.prototype._ishlnsubmul=function(p,y,S){var c=p.length+S,m;this._expand(c);var x,T=0;for(m=0;m<p.length;m++){x=(this.words[m+S]|0)+T;var b=(p.words[m]|0)*y;x-=b&67108863,T=(x>>26)-(b/67108864|0),this.words[m+S]=x&67108863}for(;m<this.length-S;m++)x=(this.words[m+S]|0)+T,T=x>>26,this.words[m+S]=x&67108863;if(T===0)return this.strip();for(l(T===-1),T=0,m=0;m<this.length;m++)x=-(this.words[m]|0)+T,T=x>>26,this.words[m]=x&67108863;return this.negative=1,this.strip()},u.prototype._wordDiv=function(p,y){var S=this.length-p.length,c=this.clone(),m=p,x=m.words[m.length-1]|0,T=this._countBits(x);S=26-T,S!==0&&(m=m.ushln(S),c.iushln(S),x=m.words[m.length-1]|0);var b=c.length-m.length,d;if(y!=="mod"){d=new u(null),d.length=b+1,d.words=new Array(d.length);for(var k=0;k<d.length;k++)d.words[k]=0}var D=c.clone()._ishlnsubmul(m,1,b);D.negative===0&&(c=D,d&&(d.words[b]=1));for(var O=b-1;O>=0;O--){var Q=(c.words[m.length+O]|0)*67108864+(c.words[m.length+O-1]|0);for(Q=Math.min(Q/x|0,67108863),c._ishlnsubmul(m,Q,O);c.negative!==0;)Q--,c.negative=0,c._ishlnsubmul(m,1,O),c.isZero()||(c.negative^=1);d&&(d.words[O]=Q)}return d&&d.strip(),c.strip(),y!=="div"&&S!==0&&c.iushrn(S),{div:d||null,mod:c}},u.prototype.divmod=function(p,y,S){if(l(!p.isZero()),this.isZero())return{div:new u(0),mod:new u(0)};var c,m,x;return this.negative!==0&&p.negative===0?(x=this.neg().divmod(p,y),y!=="mod"&&(c=x.div.neg()),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.iadd(p)),{div:c,mod:m}):this.negative===0&&p.negative!==0?(x=this.divmod(p.neg(),y),y!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&p.negative?(x=this.neg().divmod(p.neg(),y),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.isub(p)),{div:x.div,mod:m}):p.length>this.length||this.cmp(p)<0?{div:new u(0),mod:this}:p.length===1?y==="div"?{div:this.divn(p.words[0]),mod:null}:y==="mod"?{div:null,mod:new u(this.modn(p.words[0]))}:{div:this.divn(p.words[0]),mod:new u(this.modn(p.words[0]))}:this._wordDiv(p,y)},u.prototype.div=function(p){return this.divmod(p,"div",!1).div},u.prototype.mod=function(p){return this.divmod(p,"mod",!1).mod},u.prototype.umod=function(p){return this.divmod(p,"mod",!0).mod},u.prototype.divRound=function(p){var y=this.divmod(p);if(y.mod.isZero())return y.div;var S=y.div.negative!==0?y.mod.isub(p):y.mod,c=p.ushrn(1),m=p.andln(1),x=S.cmp(c);return x<0||m===1&&x===0?y.div:y.div.negative!==0?y.div.isubn(1):y.div.iaddn(1)},u.prototype.modn=function(p){l(p<=67108863);for(var y=(1<<26)%p,S=0,c=this.length-1;c>=0;c--)S=(y*S+(this.words[c]|0))%p;return S},u.prototype.idivn=function(p){l(p<=67108863);for(var y=0,S=this.length-1;S>=0;S--){var c=(this.words[S]|0)+y*67108864;this.words[S]=c/p|0,y=c%p}return this.strip()},u.prototype.divn=function(p){return this.clone().idivn(p)},u.prototype.egcd=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=new u(0),T=new u(1),b=0;y.isEven()&&S.isEven();)y.iushrn(1),S.iushrn(1),++b;for(var d=S.clone(),k=y.clone();!y.isZero();){for(var D=0,O=1;!(y.words[0]&O)&&D<26;++D,O<<=1);if(D>0)for(y.iushrn(D);D-- >0;)(c.isOdd()||m.isOdd())&&(c.iadd(d),m.isub(k)),c.iushrn(1),m.iushrn(1);for(var Q=0,J=1;!(S.words[0]&J)&&Q<26;++Q,J<<=1);if(Q>0)for(S.iushrn(Q);Q-- >0;)(x.isOdd()||T.isOdd())&&(x.iadd(d),T.isub(k)),x.iushrn(1),T.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(x),m.isub(T)):(S.isub(y),x.isub(c),T.isub(m))}return{a:x,b:T,gcd:S.iushln(b)}},u.prototype._invmp=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=S.clone();y.cmpn(1)>0&&S.cmpn(1)>0;){for(var T=0,b=1;!(y.words[0]&b)&&T<26;++T,b<<=1);if(T>0)for(y.iushrn(T);T-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var d=0,k=1;!(S.words[0]&k)&&d<26;++d,k<<=1);if(d>0)for(S.iushrn(d);d-- >0;)m.isOdd()&&m.iadd(x),m.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(m)):(S.isub(y),m.isub(c))}var D;return y.cmpn(1)===0?D=c:D=m,D.cmpn(0)<0&&D.iadd(p),D},u.prototype.gcd=function(p){if(this.isZero())return p.abs();if(p.isZero())return this.abs();var y=this.clone(),S=p.clone();y.negative=0,S.negative=0;for(var c=0;y.isEven()&&S.isEven();c++)y.iushrn(1),S.iushrn(1);do{for(;y.isEven();)y.iushrn(1);for(;S.isEven();)S.iushrn(1);var m=y.cmp(S);if(m<0){var x=y;y=S,S=x}else if(m===0||S.cmpn(1)===0)break;y.isub(S)}while(!0);return S.iushln(c)},u.prototype.invm=function(p){return this.egcd(p).a.umod(p)},u.prototype.isEven=function(){return(this.words[0]&1)===0},u.prototype.isOdd=function(){return(this.words[0]&1)===1},u.prototype.andln=function(p){return this.words[0]&p},u.prototype.bincn=function(p){l(typeof p=="number");var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return this._expand(S+1),this.words[S]|=c,this;for(var m=c,x=S;m!==0&&x<this.length;x++){var T=this.words[x]|0;T+=m,m=T>>>26,T&=67108863,this.words[x]=T}return m!==0&&(this.words[x]=m,this.length++),this},u.prototype.isZero=function(){return this.length===1&&this.words[0]===0},u.prototype.cmpn=function(p){var y=p<0;if(this.negative!==0&&!y)return-1;if(this.negative===0&&y)return 1;this.strip();var S;if(this.length>1)S=1;else{y&&(p=-p),l(p<=67108863,"Number is too big");var c=this.words[0]|0;S=c===p?0:c<p?-1:1}return this.negative!==0?-S|0:S},u.prototype.cmp=function(p){if(this.negative!==0&&p.negative===0)return-1;if(this.negative===0&&p.negative!==0)return 1;var y=this.ucmp(p);return this.negative!==0?-y|0:y},u.prototype.ucmp=function(p){if(this.length>p.length)return 1;if(this.length<p.length)return-1;for(var y=0,S=this.length-1;S>=0;S--){var c=this.words[S]|0,m=p.words[S]|0;if(c!==m){c<m?y=-1:c>m&&(y=1);break}}return y},u.prototype.gtn=function(p){return this.cmpn(p)===1},u.prototype.gt=function(p){return this.cmp(p)===1},u.prototype.gten=function(p){return this.cmpn(p)>=0},u.prototype.gte=function(p){return this.cmp(p)>=0},u.prototype.ltn=function(p){return this.cmpn(p)===-1},u.prototype.lt=function(p){return this.cmp(p)===-1},u.prototype.lten=function(p){return this.cmpn(p)<=0},u.prototype.lte=function(p){return this.cmp(p)<=0},u.prototype.eqn=function(p){return this.cmpn(p)===0},u.prototype.eq=function(p){return this.cmp(p)===0},u.red=function(p){return new he(p)},u.prototype.toRed=function(p){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),p.convertTo(this)._forceRed(p)},u.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},u.prototype._forceRed=function(p){return this.red=p,this},u.prototype.forceRed=function(p){return l(!this.red,"Already a number in reduction context"),this._forceRed(p)},u.prototype.redAdd=function(p){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,p)},u.prototype.redIAdd=function(p){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,p)},u.prototype.redSub=function(p){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,p)},u.prototype.redISub=function(p){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,p)},u.prototype.redShl=function(p){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,p)},u.prototype.redMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.mul(this,p)},u.prototype.redIMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.imul(this,p)},u.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},u.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},u.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},u.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},u.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},u.prototype.redPow=function(p){return l(this.red&&!p.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,p)};var ee={k256:null,p224:null,p192:null,p25519:null};function Z(L,p){this.name=L,this.p=new u(p,16),this.n=this.p.bitLength(),this.k=new u(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Z.prototype._tmp=function(){var p=new u(null);return p.words=new Array(Math.ceil(this.n/13)),p},Z.prototype.ireduce=function(p){var y=p,S;do this.split(y,this.tmp),y=this.imulK(y),y=y.iadd(this.tmp),S=y.bitLength();while(S>this.n);var c=S<this.n?-1:y.ucmp(this.p);return c===0?(y.words[0]=0,y.length=1):c>0?y.isub(this.p):y.strip!==void 0?y.strip():y._strip(),y},Z.prototype.split=function(p,y){p.iushrn(this.n,0,y)},Z.prototype.imulK=function(p){return p.imul(this.k)};function re(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}t(re,Z),re.prototype.split=function(p,y){for(var S=4194303,c=Math.min(p.length,9),m=0;m<c;m++)y.words[m]=p.words[m];if(y.length=c,p.length<=9){p.words[0]=0,p.length=1;return}var x=p.words[9];for(y.words[y.length++]=x&S,m=10;m<p.length;m++){var T=p.words[m]|0;p.words[m-10]=(T&S)<<4|x>>>22,x=T}x>>>=22,p.words[m-10]=x,x===0&&p.length>10?p.length-=10:p.length-=9},re.prototype.imulK=function(p){p.words[p.length]=0,p.words[p.length+1]=0,p.length+=2;for(var y=0,S=0;S<p.length;S++){var c=p.words[S]|0;y+=c*977,p.words[S]=y&67108863,y=c*64+(y/67108864|0)}return p.words[p.length-1]===0&&(p.length--,p.words[p.length-1]===0&&p.length--),p};function fe(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}t(fe,Z);function V(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}t(V,Z);function le(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}t(le,Z),le.prototype.imulK=function(p){for(var y=0,S=0;S<p.length;S++){var c=(p.words[S]|0)*19+y,m=c&67108863;c>>>=26,p.words[S]=m,y=c}return y!==0&&(p.words[p.length++]=y),p},u._prime=function(p){if(ee[p])return ee[p];var y;if(p==="k256")y=new re;else if(p==="p224")y=new fe;else if(p==="p192")y=new V;else if(p==="p25519")y=new le;else throw new Error("Unknown prime "+p);return ee[p]=y,y};function he(L){if(typeof L=="string"){var p=u._prime(L);this.m=p.p,this.prime=p}else l(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(p){l(p.negative===0,"red works only with positives"),l(p.red,"red works only with red numbers")},he.prototype._verify2=function(p,y){l((p.negative|y.negative)===0,"red works only with positives"),l(p.red&&p.red===y.red,"red works only with red numbers")},he.prototype.imod=function(p){return this.prime?this.prime.ireduce(p)._forceRed(this):p.umod(this.m)._forceRed(this)},he.prototype.neg=function(p){return p.isZero()?p.clone():this.m.sub(p)._forceRed(this)},he.prototype.add=function(p,y){this._verify2(p,y);var S=p.add(y);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},he.prototype.iadd=function(p,y){this._verify2(p,y);var S=p.iadd(y);return S.cmp(this.m)>=0&&S.isub(this.m),S},he.prototype.sub=function(p,y){this._verify2(p,y);var S=p.sub(y);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},he.prototype.isub=function(p,y){this._verify2(p,y);var S=p.isub(y);return S.cmpn(0)<0&&S.iadd(this.m),S},he.prototype.shl=function(p,y){return this._verify1(p),this.imod(p.ushln(y))},he.prototype.imul=function(p,y){return this._verify2(p,y),this.imod(p.imul(y))},he.prototype.mul=function(p,y){return this._verify2(p,y),this.imod(p.mul(y))},he.prototype.isqr=function(p){return this.imul(p,p.clone())},he.prototype.sqr=function(p){return this.mul(p,p)},he.prototype.sqrt=function(p){if(p.isZero())return p.clone();var y=this.m.andln(3);if(l(y%2===1),y===3){var S=this.m.add(new u(1)).iushrn(2);return this.pow(p,S)}for(var c=this.m.subn(1),m=0;!c.isZero()&&c.andln(1)===0;)m++,c.iushrn(1);l(!c.isZero());var x=new u(1).toRed(this),T=x.redNeg(),b=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new u(2*d*d).toRed(this);this.pow(d,b).cmp(T)!==0;)d.redIAdd(T);for(var k=this.pow(d,c),D=this.pow(p,c.addn(1).iushrn(1)),O=this.pow(p,c),Q=m;O.cmp(x)!==0;){for(var J=O,X=0;J.cmp(x)!==0;X++)J=J.redSqr();l(X<Q);var U=this.pow(k,new u(1).iushln(Q-X-1));D=D.redMul(U),k=U.redSqr(),O=O.redMul(k),Q=X}return D},he.prototype.invm=function(p){var y=p._invmp(this.m);return y.negative!==0?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},he.prototype.pow=function(p,y){if(y.isZero())return new u(1).toRed(this);if(y.cmpn(1)===0)return p.clone();var S=4,c=new Array(1<<S);c[0]=new u(1).toRed(this),c[1]=p;for(var m=2;m<c.length;m++)c[m]=this.mul(c[m-1],p);var x=c[0],T=0,b=0,d=y.bitLength()%26;for(d===0&&(d=26),m=y.length-1;m>=0;m--){for(var k=y.words[m],D=d-1;D>=0;D--){var O=k>>D&1;if(x!==c[0]&&(x=this.sqr(x)),O===0&&T===0){b=0;continue}T<<=1,T|=O,b++,!(b!==S&&(m!==0||D!==0))&&(x=this.mul(x,c[T]),b=0,T=0)}d=26}return x},he.prototype.convertTo=function(p){var y=p.umod(this.m);return y===p?y.clone():y},he.prototype.convertFrom=function(p){var y=p.clone();return y.red=null,y},u.mont=function(p){return new ye(p)};function ye(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new u(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}t(ye,he),ye.prototype.convertTo=function(p){return this.imod(p.ushln(this.shift))},ye.prototype.convertFrom=function(p){var y=this.imod(p.mul(this.rinv));return y.red=null,y},ye.prototype.imul=function(p,y){if(p.isZero()||y.isZero())return p.words[0]=0,p.length=1,p;var S=p.imul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.mul=function(p,y){if(p.isZero()||y.isZero())return new u(0)._forceRed(this);var S=p.mul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.invm=function(p){var y=this.imod(p._invmp(this.m).mul(this.r2));return y._forceRed(this)}})(n,commonjsGlobal$1)}(bn$6);var bnExports$6=bn$6.exports,bn$5={exports:{}};bn$5.exports,function(n){(function(e,o){function l(L,p){if(!L)throw new Error(p||"Assertion failed")}function t(L,p){L.super_=p;var y=function(){};y.prototype=p.prototype,L.prototype=new y,L.prototype.constructor=L}function u(L,p,y){if(u.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((p==="le"||p==="be")&&(y=p,p=10),this._init(L||0,p||10,y||"be"))}typeof e=="object"?e.exports=u:o.BN=u,u.BN=u,u.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=require$$0$2.Buffer}catch{}u.isBN=function(p){return p instanceof u?!0:p!==null&&typeof p=="object"&&p.constructor.wordSize===u.wordSize&&Array.isArray(p.words)},u.max=function(p,y){return p.cmp(y)>0?p:y},u.min=function(p,y){return p.cmp(y)<0?p:y},u.prototype._init=function(p,y,S){if(typeof p=="number")return this._initNumber(p,y,S);if(typeof p=="object")return this._initArray(p,y,S);y==="hex"&&(y=16),l(y===(y|0)&&y>=2&&y<=36),p=p.toString().replace(/\s+/g,"");var c=0;p[0]==="-"&&(c++,this.negative=1),c<p.length&&(y===16?this._parseHex(p,c,S):(this._parseBase(p,y,c),S==="le"&&this._initArray(this.toArray(),y,S)))},u.prototype._initNumber=function(p,y,S){p<0&&(this.negative=1,p=-p),p<67108864?(this.words=[p&67108863],this.length=1):p<4503599627370496?(this.words=[p&67108863,p/67108864&67108863],this.length=2):(l(p<9007199254740992),this.words=[p&67108863,p/67108864&67108863,1],this.length=3),S==="le"&&this._initArray(this.toArray(),y,S)},u.prototype._initArray=function(p,y,S){if(l(typeof p.length=="number"),p.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(p.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m,x,T=0;if(S==="be")for(c=p.length-1,m=0;c>=0;c-=3)x=p[c]|p[c-1]<<8|p[c-2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);else if(S==="le")for(c=0,m=0;c<p.length;c+=3)x=p[c]|p[c+1]<<8|p[c+2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);return this.strip()};function v(L,p){var y=L.charCodeAt(p);return y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:y-48&15}function w(L,p,y){var S=v(L,y);return y-1>=p&&(S|=v(L,y-1)<<4),S}u.prototype._parseHex=function(p,y,S){this.length=Math.ceil((p.length-y)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m=0,x=0,T;if(S==="be")for(c=p.length-1;c>=y;c-=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8;else{var b=p.length-y;for(c=b%2===0?y+1:y;c<p.length;c+=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8}this.strip()};function A(L,p,y,S){for(var c=0,m=Math.min(L.length,y),x=p;x<m;x++){var T=L.charCodeAt(x)-48;c*=S,T>=49?c+=T-49+10:T>=17?c+=T-17+10:c+=T}return c}u.prototype._parseBase=function(p,y,S){this.words=[0],this.length=1;for(var c=0,m=1;m<=67108863;m*=y)c++;c--,m=m/y|0;for(var x=p.length-S,T=x%c,b=Math.min(x,x-T)+S,d=0,k=S;k<b;k+=c)d=A(p,k,k+c,y),this.imuln(m),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(T!==0){var D=1;for(d=A(p,k,p.length,y),k=0;k<T;k++)D*=y;this.imuln(D),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}this.strip()},u.prototype.copy=function(p){p.words=new Array(this.length);for(var y=0;y<this.length;y++)p.words[y]=this.words[y];p.length=this.length,p.negative=this.negative,p.red=this.red},u.prototype.clone=function(){var p=new u(null);return this.copy(p),p},u.prototype._expand=function(p){for(;this.length<p;)this.words[this.length++]=0;return this},u.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},u.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},u.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],C=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],M=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];u.prototype.toString=function(p,y){p=p||10,y=y|0||1;var S;if(p===16||p==="hex"){S="";for(var c=0,m=0,x=0;x<this.length;x++){var T=this.words[x],b=((T<<c|m)&16777215).toString(16);m=T>>>24-c&16777215,m!==0||x!==this.length-1?S=E[6-b.length]+b+S:S=b+S,c+=2,c>=26&&(c-=26,x--)}for(m!==0&&(S=m.toString(16)+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(p===(p|0)&&p>=2&&p<=36){var d=C[p],k=M[p];S="";var D=this.clone();for(D.negative=0;!D.isZero();){var O=D.modn(k).toString(p);D=D.idivn(k),D.isZero()?S=O+S:S=E[d-O.length]+O+S}for(this.isZero()&&(S="0"+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}l(!1,"Base should be between 2 and 36")},u.prototype.toNumber=function(){var p=this.words[0];return this.length===2?p+=this.words[1]*67108864:this.length===3&&this.words[2]===1?p+=4503599627370496+this.words[1]*67108864:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-p:p},u.prototype.toJSON=function(){return this.toString(16)},u.prototype.toBuffer=function(p,y){return l(typeof h<"u"),this.toArrayLike(h,p,y)},u.prototype.toArray=function(p,y){return this.toArrayLike(Array,p,y)},u.prototype.toArrayLike=function(p,y,S){var c=this.byteLength(),m=S||Math.max(1,c);l(c<=m,"byte array longer than desired length"),l(m>0,"Requested array length <= 0"),this.strip();var x=y==="le",T=new p(m),b,d,k=this.clone();if(x){for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[d]=b;for(;d<m;d++)T[d]=0}else{for(d=0;d<m-c;d++)T[d]=0;for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[m-d-1]=b}return T},Math.clz32?u.prototype._countBits=function(p){return 32-Math.clz32(p)}:u.prototype._countBits=function(p){var y=p,S=0;return y>=4096&&(S+=13,y>>>=13),y>=64&&(S+=7,y>>>=7),y>=8&&(S+=4,y>>>=4),y>=2&&(S+=2,y>>>=2),S+y},u.prototype._zeroBits=function(p){if(p===0)return 26;var y=p,S=0;return y&8191||(S+=13,y>>>=13),y&127||(S+=7,y>>>=7),y&15||(S+=4,y>>>=4),y&3||(S+=2,y>>>=2),y&1||S++,S},u.prototype.bitLength=function(){var p=this.words[this.length-1],y=this._countBits(p);return(this.length-1)*26+y};function P(L){for(var p=new Array(L.bitLength()),y=0;y<p.length;y++){var S=y/26|0,c=y%26;p[y]=(L.words[S]&1<<c)>>>c}return p}u.prototype.zeroBits=function(){if(this.isZero())return 0;for(var p=0,y=0;y<this.length;y++){var S=this._zeroBits(this.words[y]);if(p+=S,S!==26)break}return p},u.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},u.prototype.toTwos=function(p){return this.negative!==0?this.abs().inotn(p).iaddn(1):this.clone()},u.prototype.fromTwos=function(p){return this.testn(p-1)?this.notn(p).iaddn(1).ineg():this.clone()},u.prototype.isNeg=function(){return this.negative!==0},u.prototype.neg=function(){return this.clone().ineg()},u.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},u.prototype.iuor=function(p){for(;this.length<p.length;)this.words[this.length++]=0;for(var y=0;y<p.length;y++)this.words[y]=this.words[y]|p.words[y];return this.strip()},u.prototype.ior=function(p){return l((this.negative|p.negative)===0),this.iuor(p)},u.prototype.or=function(p){return this.length>p.length?this.clone().ior(p):p.clone().ior(this)},u.prototype.uor=function(p){return this.length>p.length?this.clone().iuor(p):p.clone().iuor(this)},u.prototype.iuand=function(p){var y;this.length>p.length?y=p:y=this;for(var S=0;S<y.length;S++)this.words[S]=this.words[S]&p.words[S];return this.length=y.length,this.strip()},u.prototype.iand=function(p){return l((this.negative|p.negative)===0),this.iuand(p)},u.prototype.and=function(p){return this.length>p.length?this.clone().iand(p):p.clone().iand(this)},u.prototype.uand=function(p){return this.length>p.length?this.clone().iuand(p):p.clone().iuand(this)},u.prototype.iuxor=function(p){var y,S;this.length>p.length?(y=this,S=p):(y=p,S=this);for(var c=0;c<S.length;c++)this.words[c]=y.words[c]^S.words[c];if(this!==y)for(;c<y.length;c++)this.words[c]=y.words[c];return this.length=y.length,this.strip()},u.prototype.ixor=function(p){return l((this.negative|p.negative)===0),this.iuxor(p)},u.prototype.xor=function(p){return this.length>p.length?this.clone().ixor(p):p.clone().ixor(this)},u.prototype.uxor=function(p){return this.length>p.length?this.clone().iuxor(p):p.clone().iuxor(this)},u.prototype.inotn=function(p){l(typeof p=="number"&&p>=0);var y=Math.ceil(p/26)|0,S=p%26;this._expand(y),S>0&&y--;for(var c=0;c<y;c++)this.words[c]=~this.words[c]&67108863;return S>0&&(this.words[c]=~this.words[c]&67108863>>26-S),this.strip()},u.prototype.notn=function(p){return this.clone().inotn(p)},u.prototype.setn=function(p,y){l(typeof p=="number"&&p>=0);var S=p/26|0,c=p%26;return this._expand(S+1),y?this.words[S]=this.words[S]|1<<c:this.words[S]=this.words[S]&~(1<<c),this.strip()},u.prototype.iadd=function(p){var y;if(this.negative!==0&&p.negative===0)return this.negative=0,y=this.isub(p),this.negative^=1,this._normSign();if(this.negative===0&&p.negative!==0)return p.negative=0,y=this.isub(p),p.negative=1,y._normSign();var S,c;this.length>p.length?(S=this,c=p):(S=p,c=this);for(var m=0,x=0;x<c.length;x++)y=(S.words[x]|0)+(c.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;for(;m!==0&&x<S.length;x++)y=(S.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;if(this.length=S.length,m!==0)this.words[this.length]=m,this.length++;else if(S!==this)for(;x<S.length;x++)this.words[x]=S.words[x];return this},u.prototype.add=function(p){var y;return p.negative!==0&&this.negative===0?(p.negative=0,y=this.sub(p),p.negative^=1,y):p.negative===0&&this.negative!==0?(this.negative=0,y=p.sub(this),this.negative=1,y):this.length>p.length?this.clone().iadd(p):p.clone().iadd(this)},u.prototype.isub=function(p){if(p.negative!==0){p.negative=0;var y=this.iadd(p);return p.negative=1,y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(p),this.negative=1,this._normSign();var S=this.cmp(p);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,m;S>0?(c=this,m=p):(c=p,m=this);for(var x=0,T=0;T<m.length;T++)y=(c.words[T]|0)-(m.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;for(;x!==0&&T<c.length;T++)y=(c.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;if(x===0&&T<c.length&&c!==this)for(;T<c.length;T++)this.words[T]=c.words[T];return this.length=Math.max(this.length,T),c!==this&&(this.negative=1),this.strip()},u.prototype.sub=function(p){return this.clone().isub(p)};function I(L,p,y){y.negative=p.negative^L.negative;var S=L.length+p.length|0;y.length=S,S=S-1|0;var c=L.words[0]|0,m=p.words[0]|0,x=c*m,T=x&67108863,b=x/67108864|0;y.words[0]=T;for(var d=1;d<S;d++){for(var k=b>>>26,D=b&67108863,O=Math.min(d,p.length-1),Q=Math.max(0,d-L.length+1);Q<=O;Q++){var J=d-Q|0;c=L.words[J]|0,m=p.words[Q]|0,x=c*m+D,k+=x/67108864|0,D=x&67108863}y.words[d]=D|0,b=k|0}return b!==0?y.words[d]=b|0:y.length--,y.strip()}var j=function(p,y,S){var c=p.words,m=y.words,x=S.words,T=0,b,d,k,D=c[0]|0,O=D&8191,Q=D>>>13,J=c[1]|0,X=J&8191,U=J>>>13,z=c[2]|0,ie=z&8191,de=z>>>13,me=c[3]|0,pe=me&8191,qe=me>>>13,mt=c[4]|0,st=mt&8191,dt=mt>>>13,Tt=c[5]|0,lt=Tt&8191,Je=Tt>>>13,ht=c[6]|0,at=ht&8191,bt=ht>>>13,jt=c[7]|0,Ge=jt&8191,Qe=jt>>>13,Wt=c[8]|0,Et=Wt&8191,Ct=Wt>>>13,Kt=c[9]|0,Me=Kt&8191,te=Kt>>>13,_e=m[0]|0,je=_e&8191,We=_e>>>13,et=m[1]|0,Ye=et&8191,De=et>>>13,Ht=m[2]|0,Mt=Ht&8191,ge=Ht>>>13,Dt=m[3]|0,yt=Dt&8191,Ne=Dt>>>13,_t=m[4]|0,pt=_t&8191,Bt=_t>>>13,ur=m[5]|0,kt=ur&8191,Ut=ur>>>13,Wr=m[6]|0,zt=Wr&8191,Qt=Wr>>>13,$e=m[7]|0,be=$e&8191,ve=$e>>>13,se=m[8]|0,Pe=se&8191,ze=se>>>13,xt=m[9]|0,ot=xt&8191,wt=xt>>>13;S.negative=p.negative^y.negative,S.length=19,b=Math.imul(O,je),d=Math.imul(O,We),d=d+Math.imul(Q,je)|0,k=Math.imul(Q,We);var Yt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,b=Math.imul(X,je),d=Math.imul(X,We),d=d+Math.imul(U,je)|0,k=Math.imul(U,We),b=b+Math.imul(O,Ye)|0,d=d+Math.imul(O,De)|0,d=d+Math.imul(Q,Ye)|0,k=k+Math.imul(Q,De)|0;var Jt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,b=Math.imul(ie,je),d=Math.imul(ie,We),d=d+Math.imul(de,je)|0,k=Math.imul(de,We),b=b+Math.imul(X,Ye)|0,d=d+Math.imul(X,De)|0,d=d+Math.imul(U,Ye)|0,k=k+Math.imul(U,De)|0,b=b+Math.imul(O,Mt)|0,d=d+Math.imul(O,ge)|0,d=d+Math.imul(Q,Mt)|0,k=k+Math.imul(Q,ge)|0;var wr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(wr>>>26)|0,wr&=67108863,b=Math.imul(pe,je),d=Math.imul(pe,We),d=d+Math.imul(qe,je)|0,k=Math.imul(qe,We),b=b+Math.imul(ie,Ye)|0,d=d+Math.imul(ie,De)|0,d=d+Math.imul(de,Ye)|0,k=k+Math.imul(de,De)|0,b=b+Math.imul(X,Mt)|0,d=d+Math.imul(X,ge)|0,d=d+Math.imul(U,Mt)|0,k=k+Math.imul(U,ge)|0,b=b+Math.imul(O,yt)|0,d=d+Math.imul(O,Ne)|0,d=d+Math.imul(Q,yt)|0,k=k+Math.imul(Q,Ne)|0;var lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(lr>>>26)|0,lr&=67108863,b=Math.imul(st,je),d=Math.imul(st,We),d=d+Math.imul(dt,je)|0,k=Math.imul(dt,We),b=b+Math.imul(pe,Ye)|0,d=d+Math.imul(pe,De)|0,d=d+Math.imul(qe,Ye)|0,k=k+Math.imul(qe,De)|0,b=b+Math.imul(ie,Mt)|0,d=d+Math.imul(ie,ge)|0,d=d+Math.imul(de,Mt)|0,k=k+Math.imul(de,ge)|0,b=b+Math.imul(X,yt)|0,d=d+Math.imul(X,Ne)|0,d=d+Math.imul(U,yt)|0,k=k+Math.imul(U,Ne)|0,b=b+Math.imul(O,pt)|0,d=d+Math.imul(O,Bt)|0,d=d+Math.imul(Q,pt)|0,k=k+Math.imul(Q,Bt)|0;var Rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Rr>>>26)|0,Rr&=67108863,b=Math.imul(lt,je),d=Math.imul(lt,We),d=d+Math.imul(Je,je)|0,k=Math.imul(Je,We),b=b+Math.imul(st,Ye)|0,d=d+Math.imul(st,De)|0,d=d+Math.imul(dt,Ye)|0,k=k+Math.imul(dt,De)|0,b=b+Math.imul(pe,Mt)|0,d=d+Math.imul(pe,ge)|0,d=d+Math.imul(qe,Mt)|0,k=k+Math.imul(qe,ge)|0,b=b+Math.imul(ie,yt)|0,d=d+Math.imul(ie,Ne)|0,d=d+Math.imul(de,yt)|0,k=k+Math.imul(de,Ne)|0,b=b+Math.imul(X,pt)|0,d=d+Math.imul(X,Bt)|0,d=d+Math.imul(U,pt)|0,k=k+Math.imul(U,Bt)|0,b=b+Math.imul(O,kt)|0,d=d+Math.imul(O,Ut)|0,d=d+Math.imul(Q,kt)|0,k=k+Math.imul(Q,Ut)|0;var vr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(vr>>>26)|0,vr&=67108863,b=Math.imul(at,je),d=Math.imul(at,We),d=d+Math.imul(bt,je)|0,k=Math.imul(bt,We),b=b+Math.imul(lt,Ye)|0,d=d+Math.imul(lt,De)|0,d=d+Math.imul(Je,Ye)|0,k=k+Math.imul(Je,De)|0,b=b+Math.imul(st,Mt)|0,d=d+Math.imul(st,ge)|0,d=d+Math.imul(dt,Mt)|0,k=k+Math.imul(dt,ge)|0,b=b+Math.imul(pe,yt)|0,d=d+Math.imul(pe,Ne)|0,d=d+Math.imul(qe,yt)|0,k=k+Math.imul(qe,Ne)|0,b=b+Math.imul(ie,pt)|0,d=d+Math.imul(ie,Bt)|0,d=d+Math.imul(de,pt)|0,k=k+Math.imul(de,Bt)|0,b=b+Math.imul(X,kt)|0,d=d+Math.imul(X,Ut)|0,d=d+Math.imul(U,kt)|0,k=k+Math.imul(U,Ut)|0,b=b+Math.imul(O,zt)|0,d=d+Math.imul(O,Qt)|0,d=d+Math.imul(Q,zt)|0,k=k+Math.imul(Q,Qt)|0;var dr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(dr>>>26)|0,dr&=67108863,b=Math.imul(Ge,je),d=Math.imul(Ge,We),d=d+Math.imul(Qe,je)|0,k=Math.imul(Qe,We),b=b+Math.imul(at,Ye)|0,d=d+Math.imul(at,De)|0,d=d+Math.imul(bt,Ye)|0,k=k+Math.imul(bt,De)|0,b=b+Math.imul(lt,Mt)|0,d=d+Math.imul(lt,ge)|0,d=d+Math.imul(Je,Mt)|0,k=k+Math.imul(Je,ge)|0,b=b+Math.imul(st,yt)|0,d=d+Math.imul(st,Ne)|0,d=d+Math.imul(dt,yt)|0,k=k+Math.imul(dt,Ne)|0,b=b+Math.imul(pe,pt)|0,d=d+Math.imul(pe,Bt)|0,d=d+Math.imul(qe,pt)|0,k=k+Math.imul(qe,Bt)|0,b=b+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ut)|0,d=d+Math.imul(de,kt)|0,k=k+Math.imul(de,Ut)|0,b=b+Math.imul(X,zt)|0,d=d+Math.imul(X,Qt)|0,d=d+Math.imul(U,zt)|0,k=k+Math.imul(U,Qt)|0,b=b+Math.imul(O,be)|0,d=d+Math.imul(O,ve)|0,d=d+Math.imul(Q,be)|0,k=k+Math.imul(Q,ve)|0;var Ir=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,b=Math.imul(Et,je),d=Math.imul(Et,We),d=d+Math.imul(Ct,je)|0,k=Math.imul(Ct,We),b=b+Math.imul(Ge,Ye)|0,d=d+Math.imul(Ge,De)|0,d=d+Math.imul(Qe,Ye)|0,k=k+Math.imul(Qe,De)|0,b=b+Math.imul(at,Mt)|0,d=d+Math.imul(at,ge)|0,d=d+Math.imul(bt,Mt)|0,k=k+Math.imul(bt,ge)|0,b=b+Math.imul(lt,yt)|0,d=d+Math.imul(lt,Ne)|0,d=d+Math.imul(Je,yt)|0,k=k+Math.imul(Je,Ne)|0,b=b+Math.imul(st,pt)|0,d=d+Math.imul(st,Bt)|0,d=d+Math.imul(dt,pt)|0,k=k+Math.imul(dt,Bt)|0,b=b+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ut)|0,d=d+Math.imul(qe,kt)|0,k=k+Math.imul(qe,Ut)|0,b=b+Math.imul(ie,zt)|0,d=d+Math.imul(ie,Qt)|0,d=d+Math.imul(de,zt)|0,k=k+Math.imul(de,Qt)|0,b=b+Math.imul(X,be)|0,d=d+Math.imul(X,ve)|0,d=d+Math.imul(U,be)|0,k=k+Math.imul(U,ve)|0,b=b+Math.imul(O,Pe)|0,d=d+Math.imul(O,ze)|0,d=d+Math.imul(Q,Pe)|0,k=k+Math.imul(Q,ze)|0;var kr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(kr>>>26)|0,kr&=67108863,b=Math.imul(Me,je),d=Math.imul(Me,We),d=d+Math.imul(te,je)|0,k=Math.imul(te,We),b=b+Math.imul(Et,Ye)|0,d=d+Math.imul(Et,De)|0,d=d+Math.imul(Ct,Ye)|0,k=k+Math.imul(Ct,De)|0,b=b+Math.imul(Ge,Mt)|0,d=d+Math.imul(Ge,ge)|0,d=d+Math.imul(Qe,Mt)|0,k=k+Math.imul(Qe,ge)|0,b=b+Math.imul(at,yt)|0,d=d+Math.imul(at,Ne)|0,d=d+Math.imul(bt,yt)|0,k=k+Math.imul(bt,Ne)|0,b=b+Math.imul(lt,pt)|0,d=d+Math.imul(lt,Bt)|0,d=d+Math.imul(Je,pt)|0,k=k+Math.imul(Je,Bt)|0,b=b+Math.imul(st,kt)|0,d=d+Math.imul(st,Ut)|0,d=d+Math.imul(dt,kt)|0,k=k+Math.imul(dt,Ut)|0,b=b+Math.imul(pe,zt)|0,d=d+Math.imul(pe,Qt)|0,d=d+Math.imul(qe,zt)|0,k=k+Math.imul(qe,Qt)|0,b=b+Math.imul(ie,be)|0,d=d+Math.imul(ie,ve)|0,d=d+Math.imul(de,be)|0,k=k+Math.imul(de,ve)|0,b=b+Math.imul(X,Pe)|0,d=d+Math.imul(X,ze)|0,d=d+Math.imul(U,Pe)|0,k=k+Math.imul(U,ze)|0,b=b+Math.imul(O,ot)|0,d=d+Math.imul(O,wt)|0,d=d+Math.imul(Q,ot)|0,k=k+Math.imul(Q,wt)|0;var Fr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Fr>>>26)|0,Fr&=67108863,b=Math.imul(Me,Ye),d=Math.imul(Me,De),d=d+Math.imul(te,Ye)|0,k=Math.imul(te,De),b=b+Math.imul(Et,Mt)|0,d=d+Math.imul(Et,ge)|0,d=d+Math.imul(Ct,Mt)|0,k=k+Math.imul(Ct,ge)|0,b=b+Math.imul(Ge,yt)|0,d=d+Math.imul(Ge,Ne)|0,d=d+Math.imul(Qe,yt)|0,k=k+Math.imul(Qe,Ne)|0,b=b+Math.imul(at,pt)|0,d=d+Math.imul(at,Bt)|0,d=d+Math.imul(bt,pt)|0,k=k+Math.imul(bt,Bt)|0,b=b+Math.imul(lt,kt)|0,d=d+Math.imul(lt,Ut)|0,d=d+Math.imul(Je,kt)|0,k=k+Math.imul(Je,Ut)|0,b=b+Math.imul(st,zt)|0,d=d+Math.imul(st,Qt)|0,d=d+Math.imul(dt,zt)|0,k=k+Math.imul(dt,Qt)|0,b=b+Math.imul(pe,be)|0,d=d+Math.imul(pe,ve)|0,d=d+Math.imul(qe,be)|0,k=k+Math.imul(qe,ve)|0,b=b+Math.imul(ie,Pe)|0,d=d+Math.imul(ie,ze)|0,d=d+Math.imul(de,Pe)|0,k=k+Math.imul(de,ze)|0,b=b+Math.imul(X,ot)|0,d=d+Math.imul(X,wt)|0,d=d+Math.imul(U,ot)|0,k=k+Math.imul(U,wt)|0;var jr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(jr>>>26)|0,jr&=67108863,b=Math.imul(Me,Mt),d=Math.imul(Me,ge),d=d+Math.imul(te,Mt)|0,k=Math.imul(te,ge),b=b+Math.imul(Et,yt)|0,d=d+Math.imul(Et,Ne)|0,d=d+Math.imul(Ct,yt)|0,k=k+Math.imul(Ct,Ne)|0,b=b+Math.imul(Ge,pt)|0,d=d+Math.imul(Ge,Bt)|0,d=d+Math.imul(Qe,pt)|0,k=k+Math.imul(Qe,Bt)|0,b=b+Math.imul(at,kt)|0,d=d+Math.imul(at,Ut)|0,d=d+Math.imul(bt,kt)|0,k=k+Math.imul(bt,Ut)|0,b=b+Math.imul(lt,zt)|0,d=d+Math.imul(lt,Qt)|0,d=d+Math.imul(Je,zt)|0,k=k+Math.imul(Je,Qt)|0,b=b+Math.imul(st,be)|0,d=d+Math.imul(st,ve)|0,d=d+Math.imul(dt,be)|0,k=k+Math.imul(dt,ve)|0,b=b+Math.imul(pe,Pe)|0,d=d+Math.imul(pe,ze)|0,d=d+Math.imul(qe,Pe)|0,k=k+Math.imul(qe,ze)|0,b=b+Math.imul(ie,ot)|0,d=d+Math.imul(ie,wt)|0,d=d+Math.imul(de,ot)|0,k=k+Math.imul(de,wt)|0;var Cr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,b=Math.imul(Me,yt),d=Math.imul(Me,Ne),d=d+Math.imul(te,yt)|0,k=Math.imul(te,Ne),b=b+Math.imul(Et,pt)|0,d=d+Math.imul(Et,Bt)|0,d=d+Math.imul(Ct,pt)|0,k=k+Math.imul(Ct,Bt)|0,b=b+Math.imul(Ge,kt)|0,d=d+Math.imul(Ge,Ut)|0,d=d+Math.imul(Qe,kt)|0,k=k+Math.imul(Qe,Ut)|0,b=b+Math.imul(at,zt)|0,d=d+Math.imul(at,Qt)|0,d=d+Math.imul(bt,zt)|0,k=k+Math.imul(bt,Qt)|0,b=b+Math.imul(lt,be)|0,d=d+Math.imul(lt,ve)|0,d=d+Math.imul(Je,be)|0,k=k+Math.imul(Je,ve)|0,b=b+Math.imul(st,Pe)|0,d=d+Math.imul(st,ze)|0,d=d+Math.imul(dt,Pe)|0,k=k+Math.imul(dt,ze)|0,b=b+Math.imul(pe,ot)|0,d=d+Math.imul(pe,wt)|0,d=d+Math.imul(qe,ot)|0,k=k+Math.imul(qe,wt)|0;var Lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,b=Math.imul(Me,pt),d=Math.imul(Me,Bt),d=d+Math.imul(te,pt)|0,k=Math.imul(te,Bt),b=b+Math.imul(Et,kt)|0,d=d+Math.imul(Et,Ut)|0,d=d+Math.imul(Ct,kt)|0,k=k+Math.imul(Ct,Ut)|0,b=b+Math.imul(Ge,zt)|0,d=d+Math.imul(Ge,Qt)|0,d=d+Math.imul(Qe,zt)|0,k=k+Math.imul(Qe,Qt)|0,b=b+Math.imul(at,be)|0,d=d+Math.imul(at,ve)|0,d=d+Math.imul(bt,be)|0,k=k+Math.imul(bt,ve)|0,b=b+Math.imul(lt,Pe)|0,d=d+Math.imul(lt,ze)|0,d=d+Math.imul(Je,Pe)|0,k=k+Math.imul(Je,ze)|0,b=b+Math.imul(st,ot)|0,d=d+Math.imul(st,wt)|0,d=d+Math.imul(dt,ot)|0,k=k+Math.imul(dt,wt)|0;var Ar=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,b=Math.imul(Me,kt),d=Math.imul(Me,Ut),d=d+Math.imul(te,kt)|0,k=Math.imul(te,Ut),b=b+Math.imul(Et,zt)|0,d=d+Math.imul(Et,Qt)|0,d=d+Math.imul(Ct,zt)|0,k=k+Math.imul(Ct,Qt)|0,b=b+Math.imul(Ge,be)|0,d=d+Math.imul(Ge,ve)|0,d=d+Math.imul(Qe,be)|0,k=k+Math.imul(Qe,ve)|0,b=b+Math.imul(at,Pe)|0,d=d+Math.imul(at,ze)|0,d=d+Math.imul(bt,Pe)|0,k=k+Math.imul(bt,ze)|0,b=b+Math.imul(lt,ot)|0,d=d+Math.imul(lt,wt)|0,d=d+Math.imul(Je,ot)|0,k=k+Math.imul(Je,wt)|0;var Tr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,b=Math.imul(Me,zt),d=Math.imul(Me,Qt),d=d+Math.imul(te,zt)|0,k=Math.imul(te,Qt),b=b+Math.imul(Et,be)|0,d=d+Math.imul(Et,ve)|0,d=d+Math.imul(Ct,be)|0,k=k+Math.imul(Ct,ve)|0,b=b+Math.imul(Ge,Pe)|0,d=d+Math.imul(Ge,ze)|0,d=d+Math.imul(Qe,Pe)|0,k=k+Math.imul(Qe,ze)|0,b=b+Math.imul(at,ot)|0,d=d+Math.imul(at,wt)|0,d=d+Math.imul(bt,ot)|0,k=k+Math.imul(bt,wt)|0;var Sr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,b=Math.imul(Me,be),d=Math.imul(Me,ve),d=d+Math.imul(te,be)|0,k=Math.imul(te,ve),b=b+Math.imul(Et,Pe)|0,d=d+Math.imul(Et,ze)|0,d=d+Math.imul(Ct,Pe)|0,k=k+Math.imul(Ct,ze)|0,b=b+Math.imul(Ge,ot)|0,d=d+Math.imul(Ge,wt)|0,d=d+Math.imul(Qe,ot)|0,k=k+Math.imul(Qe,wt)|0;var rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(rr>>>26)|0,rr&=67108863,b=Math.imul(Me,Pe),d=Math.imul(Me,ze),d=d+Math.imul(te,Pe)|0,k=Math.imul(te,ze),b=b+Math.imul(Et,ot)|0,d=d+Math.imul(Et,wt)|0,d=d+Math.imul(Ct,ot)|0,k=k+Math.imul(Ct,wt)|0;var Nt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,b=Math.imul(Me,ot),d=Math.imul(Me,wt),d=d+Math.imul(te,ot)|0,k=Math.imul(te,wt);var Gt=(T+b|0)+((d&8191)<<13)|0;return T=(k+(d>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,x[0]=Yt,x[1]=Jt,x[2]=wr,x[3]=lr,x[4]=Rr,x[5]=vr,x[6]=dr,x[7]=Ir,x[8]=kr,x[9]=Fr,x[10]=jr,x[11]=Cr,x[12]=Lr,x[13]=Ar,x[14]=Tr,x[15]=Sr,x[16]=rr,x[17]=Nt,x[18]=Gt,T!==0&&(x[19]=T,S.length++),S};Math.imul||(j=I);function B(L,p,y){y.negative=p.negative^L.negative,y.length=L.length+p.length;for(var S=0,c=0,m=0;m<y.length-1;m++){var x=c;c=0;for(var T=S&67108863,b=Math.min(m,p.length-1),d=Math.max(0,m-L.length+1);d<=b;d++){var k=m-d,D=L.words[k]|0,O=p.words[d]|0,Q=D*O,J=Q&67108863;x=x+(Q/67108864|0)|0,J=J+T|0,T=J&67108863,x=x+(J>>>26)|0,c+=x>>>26,x&=67108863}y.words[m]=T,S=x,x=c}return S!==0?y.words[m]=S:y.length--,y.strip()}function F(L,p,y){var S=new N;return S.mulp(L,p,y)}u.prototype.mulTo=function(p,y){var S,c=this.length+p.length;return this.length===10&&p.length===10?S=j(this,p,y):c<63?S=I(this,p,y):c<1024?S=B(this,p,y):S=F(this,p,y),S};function N(L,p){this.x=L,this.y=p}N.prototype.makeRBT=function(p){for(var y=new Array(p),S=u.prototype._countBits(p)-1,c=0;c<p;c++)y[c]=this.revBin(c,S,p);return y},N.prototype.revBin=function(p,y,S){if(p===0||p===S-1)return p;for(var c=0,m=0;m<y;m++)c|=(p&1)<<y-m-1,p>>=1;return c},N.prototype.permute=function(p,y,S,c,m,x){for(var T=0;T<x;T++)c[T]=y[p[T]],m[T]=S[p[T]]},N.prototype.transform=function(p,y,S,c,m,x){this.permute(x,p,y,S,c,m);for(var T=1;T<m;T<<=1)for(var b=T<<1,d=Math.cos(2*Math.PI/b),k=Math.sin(2*Math.PI/b),D=0;D<m;D+=b)for(var O=d,Q=k,J=0;J<T;J++){var X=S[D+J],U=c[D+J],z=S[D+J+T],ie=c[D+J+T],de=O*z-Q*ie;ie=O*ie+Q*z,z=de,S[D+J]=X+z,c[D+J]=U+ie,S[D+J+T]=X-z,c[D+J+T]=U-ie,J!==b&&(de=d*O-k*Q,Q=d*Q+k*O,O=de)}},N.prototype.guessLen13b=function(p,y){var S=Math.max(y,p)|1,c=S&1,m=0;for(S=S/2|0;S;S=S>>>1)m++;return 1<<m+1+c},N.prototype.conjugate=function(p,y,S){if(!(S<=1))for(var c=0;c<S/2;c++){var m=p[c];p[c]=p[S-c-1],p[S-c-1]=m,m=y[c],y[c]=-y[S-c-1],y[S-c-1]=-m}},N.prototype.normalize13b=function(p,y){for(var S=0,c=0;c<y/2;c++){var m=Math.round(p[2*c+1]/y)*8192+Math.round(p[2*c]/y)+S;p[c]=m&67108863,m<67108864?S=0:S=m/67108864|0}return p},N.prototype.convert13b=function(p,y,S,c){for(var m=0,x=0;x<y;x++)m=m+(p[x]|0),S[2*x]=m&8191,m=m>>>13,S[2*x+1]=m&8191,m=m>>>13;for(x=2*y;x<c;++x)S[x]=0;l(m===0),l((m&-8192)===0)},N.prototype.stub=function(p){for(var y=new Array(p),S=0;S<p;S++)y[S]=0;return y},N.prototype.mulp=function(p,y,S){var c=2*this.guessLen13b(p.length,y.length),m=this.makeRBT(c),x=this.stub(c),T=new Array(c),b=new Array(c),d=new Array(c),k=new Array(c),D=new Array(c),O=new Array(c),Q=S.words;Q.length=c,this.convert13b(p.words,p.length,T,c),this.convert13b(y.words,y.length,k,c),this.transform(T,x,b,d,c,m),this.transform(k,x,D,O,c,m);for(var J=0;J<c;J++){var X=b[J]*D[J]-d[J]*O[J];d[J]=b[J]*O[J]+d[J]*D[J],b[J]=X}return this.conjugate(b,d,c),this.transform(b,d,Q,x,c,m),this.conjugate(Q,x,c),this.normalize13b(Q,c),S.negative=p.negative^y.negative,S.length=p.length+y.length,S.strip()},u.prototype.mul=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),this.mulTo(p,y)},u.prototype.mulf=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),F(this,p,y)},u.prototype.imul=function(p){return this.clone().mulTo(p,this)},u.prototype.imuln=function(p){l(typeof p=="number"),l(p<67108864);for(var y=0,S=0;S<this.length;S++){var c=(this.words[S]|0)*p,m=(c&67108863)+(y&67108863);y>>=26,y+=c/67108864|0,y+=m>>>26,this.words[S]=m&67108863}return y!==0&&(this.words[S]=y,this.length++),this},u.prototype.muln=function(p){return this.clone().imuln(p)},u.prototype.sqr=function(){return this.mul(this)},u.prototype.isqr=function(){return this.imul(this.clone())},u.prototype.pow=function(p){var y=P(p);if(y.length===0)return new u(1);for(var S=this,c=0;c<y.length&&y[c]===0;c++,S=S.sqr());if(++c<y.length)for(var m=S.sqr();c<y.length;c++,m=m.sqr())y[c]!==0&&(S=S.mul(m));return S},u.prototype.iushln=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=67108863>>>26-y<<26-y,m;if(y!==0){var x=0;for(m=0;m<this.length;m++){var T=this.words[m]&c,b=(this.words[m]|0)-T<<y;this.words[m]=b|x,x=T>>>26-y}x&&(this.words[m]=x,this.length++)}if(S!==0){for(m=this.length-1;m>=0;m--)this.words[m+S]=this.words[m];for(m=0;m<S;m++)this.words[m]=0;this.length+=S}return this.strip()},u.prototype.ishln=function(p){return l(this.negative===0),this.iushln(p)},u.prototype.iushrn=function(p,y,S){l(typeof p=="number"&&p>=0);var c;y?c=(y-y%26)/26:c=0;var m=p%26,x=Math.min((p-m)/26,this.length),T=67108863^67108863>>>m<<m,b=S;if(c-=x,c=Math.max(0,c),b){for(var d=0;d<x;d++)b.words[d]=this.words[d];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,d=0;d<this.length;d++)this.words[d]=this.words[d+x];else this.words[0]=0,this.length=1;var k=0;for(d=this.length-1;d>=0&&(k!==0||d>=c);d--){var D=this.words[d]|0;this.words[d]=k<<26-m|D>>>m,k=D&T}return b&&k!==0&&(b.words[b.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},u.prototype.ishrn=function(p,y,S){return l(this.negative===0),this.iushrn(p,y,S)},u.prototype.shln=function(p){return this.clone().ishln(p)},u.prototype.ushln=function(p){return this.clone().iushln(p)},u.prototype.shrn=function(p){return this.clone().ishrn(p)},u.prototype.ushrn=function(p){return this.clone().iushrn(p)},u.prototype.testn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return!1;var m=this.words[S];return!!(m&c)},u.prototype.imaskn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(y!==0&&S++,this.length=Math.min(S,this.length),y!==0){var c=67108863^67108863>>>y<<y;this.words[this.length-1]&=c}return this.strip()},u.prototype.maskn=function(p){return this.clone().imaskn(p)},u.prototype.iaddn=function(p){return l(typeof p=="number"),l(p<67108864),p<0?this.isubn(-p):this.negative!==0?this.length===1&&(this.words[0]|0)<p?(this.words[0]=p-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(p),this.negative=1,this):this._iaddn(p)},u.prototype._iaddn=function(p){this.words[0]+=p;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},u.prototype.isubn=function(p){if(l(typeof p=="number"),l(p<67108864),p<0)return this.iaddn(-p);if(this.negative!==0)return this.negative=0,this.iaddn(p),this.negative=1,this;if(this.words[0]-=p,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this.strip()},u.prototype.addn=function(p){return this.clone().iaddn(p)},u.prototype.subn=function(p){return this.clone().isubn(p)},u.prototype.iabs=function(){return this.negative=0,this},u.prototype.abs=function(){return this.clone().iabs()},u.prototype._ishlnsubmul=function(p,y,S){var c=p.length+S,m;this._expand(c);var x,T=0;for(m=0;m<p.length;m++){x=(this.words[m+S]|0)+T;var b=(p.words[m]|0)*y;x-=b&67108863,T=(x>>26)-(b/67108864|0),this.words[m+S]=x&67108863}for(;m<this.length-S;m++)x=(this.words[m+S]|0)+T,T=x>>26,this.words[m+S]=x&67108863;if(T===0)return this.strip();for(l(T===-1),T=0,m=0;m<this.length;m++)x=-(this.words[m]|0)+T,T=x>>26,this.words[m]=x&67108863;return this.negative=1,this.strip()},u.prototype._wordDiv=function(p,y){var S=this.length-p.length,c=this.clone(),m=p,x=m.words[m.length-1]|0,T=this._countBits(x);S=26-T,S!==0&&(m=m.ushln(S),c.iushln(S),x=m.words[m.length-1]|0);var b=c.length-m.length,d;if(y!=="mod"){d=new u(null),d.length=b+1,d.words=new Array(d.length);for(var k=0;k<d.length;k++)d.words[k]=0}var D=c.clone()._ishlnsubmul(m,1,b);D.negative===0&&(c=D,d&&(d.words[b]=1));for(var O=b-1;O>=0;O--){var Q=(c.words[m.length+O]|0)*67108864+(c.words[m.length+O-1]|0);for(Q=Math.min(Q/x|0,67108863),c._ishlnsubmul(m,Q,O);c.negative!==0;)Q--,c.negative=0,c._ishlnsubmul(m,1,O),c.isZero()||(c.negative^=1);d&&(d.words[O]=Q)}return d&&d.strip(),c.strip(),y!=="div"&&S!==0&&c.iushrn(S),{div:d||null,mod:c}},u.prototype.divmod=function(p,y,S){if(l(!p.isZero()),this.isZero())return{div:new u(0),mod:new u(0)};var c,m,x;return this.negative!==0&&p.negative===0?(x=this.neg().divmod(p,y),y!=="mod"&&(c=x.div.neg()),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.iadd(p)),{div:c,mod:m}):this.negative===0&&p.negative!==0?(x=this.divmod(p.neg(),y),y!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&p.negative?(x=this.neg().divmod(p.neg(),y),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.isub(p)),{div:x.div,mod:m}):p.length>this.length||this.cmp(p)<0?{div:new u(0),mod:this}:p.length===1?y==="div"?{div:this.divn(p.words[0]),mod:null}:y==="mod"?{div:null,mod:new u(this.modn(p.words[0]))}:{div:this.divn(p.words[0]),mod:new u(this.modn(p.words[0]))}:this._wordDiv(p,y)},u.prototype.div=function(p){return this.divmod(p,"div",!1).div},u.prototype.mod=function(p){return this.divmod(p,"mod",!1).mod},u.prototype.umod=function(p){return this.divmod(p,"mod",!0).mod},u.prototype.divRound=function(p){var y=this.divmod(p);if(y.mod.isZero())return y.div;var S=y.div.negative!==0?y.mod.isub(p):y.mod,c=p.ushrn(1),m=p.andln(1),x=S.cmp(c);return x<0||m===1&&x===0?y.div:y.div.negative!==0?y.div.isubn(1):y.div.iaddn(1)},u.prototype.modn=function(p){l(p<=67108863);for(var y=(1<<26)%p,S=0,c=this.length-1;c>=0;c--)S=(y*S+(this.words[c]|0))%p;return S},u.prototype.idivn=function(p){l(p<=67108863);for(var y=0,S=this.length-1;S>=0;S--){var c=(this.words[S]|0)+y*67108864;this.words[S]=c/p|0,y=c%p}return this.strip()},u.prototype.divn=function(p){return this.clone().idivn(p)},u.prototype.egcd=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=new u(0),T=new u(1),b=0;y.isEven()&&S.isEven();)y.iushrn(1),S.iushrn(1),++b;for(var d=S.clone(),k=y.clone();!y.isZero();){for(var D=0,O=1;!(y.words[0]&O)&&D<26;++D,O<<=1);if(D>0)for(y.iushrn(D);D-- >0;)(c.isOdd()||m.isOdd())&&(c.iadd(d),m.isub(k)),c.iushrn(1),m.iushrn(1);for(var Q=0,J=1;!(S.words[0]&J)&&Q<26;++Q,J<<=1);if(Q>0)for(S.iushrn(Q);Q-- >0;)(x.isOdd()||T.isOdd())&&(x.iadd(d),T.isub(k)),x.iushrn(1),T.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(x),m.isub(T)):(S.isub(y),x.isub(c),T.isub(m))}return{a:x,b:T,gcd:S.iushln(b)}},u.prototype._invmp=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=S.clone();y.cmpn(1)>0&&S.cmpn(1)>0;){for(var T=0,b=1;!(y.words[0]&b)&&T<26;++T,b<<=1);if(T>0)for(y.iushrn(T);T-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var d=0,k=1;!(S.words[0]&k)&&d<26;++d,k<<=1);if(d>0)for(S.iushrn(d);d-- >0;)m.isOdd()&&m.iadd(x),m.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(m)):(S.isub(y),m.isub(c))}var D;return y.cmpn(1)===0?D=c:D=m,D.cmpn(0)<0&&D.iadd(p),D},u.prototype.gcd=function(p){if(this.isZero())return p.abs();if(p.isZero())return this.abs();var y=this.clone(),S=p.clone();y.negative=0,S.negative=0;for(var c=0;y.isEven()&&S.isEven();c++)y.iushrn(1),S.iushrn(1);do{for(;y.isEven();)y.iushrn(1);for(;S.isEven();)S.iushrn(1);var m=y.cmp(S);if(m<0){var x=y;y=S,S=x}else if(m===0||S.cmpn(1)===0)break;y.isub(S)}while(!0);return S.iushln(c)},u.prototype.invm=function(p){return this.egcd(p).a.umod(p)},u.prototype.isEven=function(){return(this.words[0]&1)===0},u.prototype.isOdd=function(){return(this.words[0]&1)===1},u.prototype.andln=function(p){return this.words[0]&p},u.prototype.bincn=function(p){l(typeof p=="number");var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return this._expand(S+1),this.words[S]|=c,this;for(var m=c,x=S;m!==0&&x<this.length;x++){var T=this.words[x]|0;T+=m,m=T>>>26,T&=67108863,this.words[x]=T}return m!==0&&(this.words[x]=m,this.length++),this},u.prototype.isZero=function(){return this.length===1&&this.words[0]===0},u.prototype.cmpn=function(p){var y=p<0;if(this.negative!==0&&!y)return-1;if(this.negative===0&&y)return 1;this.strip();var S;if(this.length>1)S=1;else{y&&(p=-p),l(p<=67108863,"Number is too big");var c=this.words[0]|0;S=c===p?0:c<p?-1:1}return this.negative!==0?-S|0:S},u.prototype.cmp=function(p){if(this.negative!==0&&p.negative===0)return-1;if(this.negative===0&&p.negative!==0)return 1;var y=this.ucmp(p);return this.negative!==0?-y|0:y},u.prototype.ucmp=function(p){if(this.length>p.length)return 1;if(this.length<p.length)return-1;for(var y=0,S=this.length-1;S>=0;S--){var c=this.words[S]|0,m=p.words[S]|0;if(c!==m){c<m?y=-1:c>m&&(y=1);break}}return y},u.prototype.gtn=function(p){return this.cmpn(p)===1},u.prototype.gt=function(p){return this.cmp(p)===1},u.prototype.gten=function(p){return this.cmpn(p)>=0},u.prototype.gte=function(p){return this.cmp(p)>=0},u.prototype.ltn=function(p){return this.cmpn(p)===-1},u.prototype.lt=function(p){return this.cmp(p)===-1},u.prototype.lten=function(p){return this.cmpn(p)<=0},u.prototype.lte=function(p){return this.cmp(p)<=0},u.prototype.eqn=function(p){return this.cmpn(p)===0},u.prototype.eq=function(p){return this.cmp(p)===0},u.red=function(p){return new he(p)},u.prototype.toRed=function(p){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),p.convertTo(this)._forceRed(p)},u.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},u.prototype._forceRed=function(p){return this.red=p,this},u.prototype.forceRed=function(p){return l(!this.red,"Already a number in reduction context"),this._forceRed(p)},u.prototype.redAdd=function(p){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,p)},u.prototype.redIAdd=function(p){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,p)},u.prototype.redSub=function(p){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,p)},u.prototype.redISub=function(p){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,p)},u.prototype.redShl=function(p){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,p)},u.prototype.redMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.mul(this,p)},u.prototype.redIMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.imul(this,p)},u.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},u.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},u.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},u.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},u.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},u.prototype.redPow=function(p){return l(this.red&&!p.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,p)};var ee={k256:null,p224:null,p192:null,p25519:null};function Z(L,p){this.name=L,this.p=new u(p,16),this.n=this.p.bitLength(),this.k=new u(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Z.prototype._tmp=function(){var p=new u(null);return p.words=new Array(Math.ceil(this.n/13)),p},Z.prototype.ireduce=function(p){var y=p,S;do this.split(y,this.tmp),y=this.imulK(y),y=y.iadd(this.tmp),S=y.bitLength();while(S>this.n);var c=S<this.n?-1:y.ucmp(this.p);return c===0?(y.words[0]=0,y.length=1):c>0?y.isub(this.p):y.strip!==void 0?y.strip():y._strip(),y},Z.prototype.split=function(p,y){p.iushrn(this.n,0,y)},Z.prototype.imulK=function(p){return p.imul(this.k)};function re(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}t(re,Z),re.prototype.split=function(p,y){for(var S=4194303,c=Math.min(p.length,9),m=0;m<c;m++)y.words[m]=p.words[m];if(y.length=c,p.length<=9){p.words[0]=0,p.length=1;return}var x=p.words[9];for(y.words[y.length++]=x&S,m=10;m<p.length;m++){var T=p.words[m]|0;p.words[m-10]=(T&S)<<4|x>>>22,x=T}x>>>=22,p.words[m-10]=x,x===0&&p.length>10?p.length-=10:p.length-=9},re.prototype.imulK=function(p){p.words[p.length]=0,p.words[p.length+1]=0,p.length+=2;for(var y=0,S=0;S<p.length;S++){var c=p.words[S]|0;y+=c*977,p.words[S]=y&67108863,y=c*64+(y/67108864|0)}return p.words[p.length-1]===0&&(p.length--,p.words[p.length-1]===0&&p.length--),p};function fe(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}t(fe,Z);function V(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}t(V,Z);function le(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}t(le,Z),le.prototype.imulK=function(p){for(var y=0,S=0;S<p.length;S++){var c=(p.words[S]|0)*19+y,m=c&67108863;c>>>=26,p.words[S]=m,y=c}return y!==0&&(p.words[p.length++]=y),p},u._prime=function(p){if(ee[p])return ee[p];var y;if(p==="k256")y=new re;else if(p==="p224")y=new fe;else if(p==="p192")y=new V;else if(p==="p25519")y=new le;else throw new Error("Unknown prime "+p);return ee[p]=y,y};function he(L){if(typeof L=="string"){var p=u._prime(L);this.m=p.p,this.prime=p}else l(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(p){l(p.negative===0,"red works only with positives"),l(p.red,"red works only with red numbers")},he.prototype._verify2=function(p,y){l((p.negative|y.negative)===0,"red works only with positives"),l(p.red&&p.red===y.red,"red works only with red numbers")},he.prototype.imod=function(p){return this.prime?this.prime.ireduce(p)._forceRed(this):p.umod(this.m)._forceRed(this)},he.prototype.neg=function(p){return p.isZero()?p.clone():this.m.sub(p)._forceRed(this)},he.prototype.add=function(p,y){this._verify2(p,y);var S=p.add(y);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},he.prototype.iadd=function(p,y){this._verify2(p,y);var S=p.iadd(y);return S.cmp(this.m)>=0&&S.isub(this.m),S},he.prototype.sub=function(p,y){this._verify2(p,y);var S=p.sub(y);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},he.prototype.isub=function(p,y){this._verify2(p,y);var S=p.isub(y);return S.cmpn(0)<0&&S.iadd(this.m),S},he.prototype.shl=function(p,y){return this._verify1(p),this.imod(p.ushln(y))},he.prototype.imul=function(p,y){return this._verify2(p,y),this.imod(p.imul(y))},he.prototype.mul=function(p,y){return this._verify2(p,y),this.imod(p.mul(y))},he.prototype.isqr=function(p){return this.imul(p,p.clone())},he.prototype.sqr=function(p){return this.mul(p,p)},he.prototype.sqrt=function(p){if(p.isZero())return p.clone();var y=this.m.andln(3);if(l(y%2===1),y===3){var S=this.m.add(new u(1)).iushrn(2);return this.pow(p,S)}for(var c=this.m.subn(1),m=0;!c.isZero()&&c.andln(1)===0;)m++,c.iushrn(1);l(!c.isZero());var x=new u(1).toRed(this),T=x.redNeg(),b=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new u(2*d*d).toRed(this);this.pow(d,b).cmp(T)!==0;)d.redIAdd(T);for(var k=this.pow(d,c),D=this.pow(p,c.addn(1).iushrn(1)),O=this.pow(p,c),Q=m;O.cmp(x)!==0;){for(var J=O,X=0;J.cmp(x)!==0;X++)J=J.redSqr();l(X<Q);var U=this.pow(k,new u(1).iushln(Q-X-1));D=D.redMul(U),k=U.redSqr(),O=O.redMul(k),Q=X}return D},he.prototype.invm=function(p){var y=p._invmp(this.m);return y.negative!==0?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},he.prototype.pow=function(p,y){if(y.isZero())return new u(1).toRed(this);if(y.cmpn(1)===0)return p.clone();var S=4,c=new Array(1<<S);c[0]=new u(1).toRed(this),c[1]=p;for(var m=2;m<c.length;m++)c[m]=this.mul(c[m-1],p);var x=c[0],T=0,b=0,d=y.bitLength()%26;for(d===0&&(d=26),m=y.length-1;m>=0;m--){for(var k=y.words[m],D=d-1;D>=0;D--){var O=k>>D&1;if(x!==c[0]&&(x=this.sqr(x)),O===0&&T===0){b=0;continue}T<<=1,T|=O,b++,!(b!==S&&(m!==0||D!==0))&&(x=this.mul(x,c[T]),b=0,T=0)}d=26}return x},he.prototype.convertTo=function(p){var y=p.umod(this.m);return y===p?y.clone():y},he.prototype.convertFrom=function(p){var y=p.clone();return y.red=null,y},u.mont=function(p){return new ye(p)};function ye(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new u(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}t(ye,he),ye.prototype.convertTo=function(p){return this.imod(p.ushln(this.shift))},ye.prototype.convertFrom=function(p){var y=this.imod(p.mul(this.rinv));return y.red=null,y},ye.prototype.imul=function(p,y){if(p.isZero()||y.isZero())return p.words[0]=0,p.length=1,p;var S=p.imul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.mul=function(p,y){if(p.isZero()||y.isZero())return new u(0)._forceRed(this);var S=p.mul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.invm=function(p){var y=this.imod(p._invmp(this.m).mul(this.r2));return y._forceRed(this)}})(n,commonjsGlobal$1)}(bn$5);var bnExports$5=bn$5.exports,brorand={exports:{}},hasRequiredBrorand;function requireBrorand(){if(hasRequiredBrorand)return brorand.exports;hasRequiredBrorand=1;var n;brorand.exports=function(t){return n||(n=new e(null)),n.generate(t)};function e(l){this.rand=l}if(brorand.exports.Rand=e,e.prototype.generate=function(t){return this._rand(t)},e.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var u=new Uint8Array(t),h=0;h<u.length;h++)u[h]=this.rand.getByte();return u},typeof self=="object")self.crypto&&self.crypto.getRandomValues?e.prototype._rand=function(t){var u=new Uint8Array(t);return self.crypto.getRandomValues(u),u}:self.msCrypto&&self.msCrypto.getRandomValues?e.prototype._rand=function(t){var u=new Uint8Array(t);return self.msCrypto.getRandomValues(u),u}:typeof window=="object"&&(e.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=requireCryptoBrowserify();if(typeof o.randomBytes!="function")throw new Error("Not supported");e.prototype._rand=function(t){return o.randomBytes(t)}}catch{}return brorand.exports}var mr,hasRequiredMr;function requireMr(){if(hasRequiredMr)return mr;hasRequiredMr=1;var n=bnExports$5,e=requireBrorand();function o(l){this.rand=l||new e.Rand}return mr=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var u=t.bitLength(),h=Math.ceil(u/8);do var v=new n(this.rand.generate(h));while(v.cmp(t)>=0);return v},o.prototype._randrange=function(t,u){var h=u.sub(t);return t.add(this._randbelow(h))},o.prototype.test=function(t,u,h){var v=t.bitLength(),w=n.mont(t),A=new n(1).toRed(w);u||(u=Math.max(1,v/48|0));for(var E=t.subn(1),C=0;!E.testn(C);C++);for(var M=t.shrn(C),P=E.toRed(w),I=!0;u>0;u--){var j=this._randrange(new n(2),E);h&&h(j);var B=j.toRed(w).redPow(M);if(!(B.cmp(A)===0||B.cmp(P)===0)){for(var F=1;F<C;F++){if(B=B.redSqr(),B.cmp(A)===0)return!1;if(B.cmp(P)===0)break}if(F===C)return!1}}return I},o.prototype.getDivisor=function(t,u){var h=t.bitLength(),v=n.mont(t),w=new n(1).toRed(v);u||(u=Math.max(1,h/48|0));for(var A=t.subn(1),E=0;!A.testn(E);E++);for(var C=t.shrn(E),M=A.toRed(v);u>0;u--){var P=this._randrange(new n(2),A),I=t.gcd(P);if(I.cmpn(1)!==0)return I;var j=P.toRed(v).redPow(C);if(!(j.cmp(w)===0||j.cmp(M)===0)){for(var B=1;B<E;B++){if(j=j.redSqr(),j.cmp(w)===0)return j.fromRed().subn(1).gcd(t);if(j.cmp(M)===0)break}if(B===E)return j=j.redSqr(),j.fromRed().subn(1).gcd(t)}}return!1},mr}var generatePrime,hasRequiredGeneratePrime;function requireGeneratePrime(){if(hasRequiredGeneratePrime)return generatePrime;hasRequiredGeneratePrime=1;var n=browserExports;generatePrime=B,B.simpleSieve=I,B.fermatTest=j;var e=bnExports$6,o=new e(24),l=requireMr(),t=new l,u=new e(1),h=new e(2),v=new e(5);new e(16),new e(8);var w=new e(10),A=new e(3);new e(7);var E=new e(11),C=new e(4);new e(12);var M=null;function P(){if(M!==null)return M;var F=1048576,N=[];N[0]=2;for(var ee=1,Z=3;Z<F;Z+=2){for(var re=Math.ceil(Math.sqrt(Z)),fe=0;fe<ee&&N[fe]<=re&&Z%N[fe]!==0;fe++);ee!==fe&&N[fe]<=re||(N[ee++]=Z)}return M=N,N}function I(F){for(var N=P(),ee=0;ee<N.length;ee++)if(F.modn(N[ee])===0)return F.cmpn(N[ee])===0;return!0}function j(F){var N=e.mont(F);return h.toRed(N).redPow(F.subn(1)).fromRed().cmpn(1)===0}function B(F,N){if(F<16)return N===2||N===5?new e([140,123]):new e([140,39]);N=new e(N);for(var ee,Z;;){for(ee=new e(n(Math.ceil(F/8)));ee.bitLength()>F;)ee.ishrn(1);if(ee.isEven()&&ee.iadd(u),ee.testn(1)||ee.iadd(h),N.cmp(h)){if(!N.cmp(v))for(;ee.mod(w).cmp(A);)ee.iadd(C)}else for(;ee.mod(o).cmp(E);)ee.iadd(C);if(Z=ee.shrn(1),I(Z)&&I(ee)&&j(Z)&&j(ee)&&t.test(Z)&&t.test(ee))return ee}}return generatePrime}const modp1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"},require$$1$3={modp1,modp2,modp5,modp14,modp15,modp16,modp17,modp18};var dh,hasRequiredDh;function requireDh(){if(hasRequiredDh)return dh;hasRequiredDh=1;var n=bnExports$6,e=requireMr(),o=new e,l=new n(24),t=new n(11),u=new n(10),h=new n(3),v=new n(7),w=requireGeneratePrime(),A=browserExports;dh=I;function E(B,F){return F=F||"utf8",Buffer$C.isBuffer(B)||(B=new Buffer$C(B,F)),this._pub=new n(B),this}function C(B,F){return F=F||"utf8",Buffer$C.isBuffer(B)||(B=new Buffer$C(B,F)),this._priv=new n(B),this}var M={};function P(B,F){var N=F.toString("hex"),ee=[N,B.toString(16)].join("_");if(ee in M)return M[ee];var Z=0;if(B.isEven()||!w.simpleSieve||!w.fermatTest(B)||!o.test(B))return Z+=1,N==="02"||N==="05"?Z+=8:Z+=4,M[ee]=Z,Z;o.test(B.shrn(1))||(Z+=2);var re;switch(N){case"02":B.mod(l).cmp(t)&&(Z+=8);break;case"05":re=B.mod(u),re.cmp(h)&&re.cmp(v)&&(Z+=8);break;default:Z+=4}return M[ee]=Z,Z}function I(B,F,N){this.setGenerator(F),this.__prime=new n(B),this._prime=n.mont(this.__prime),this._primeLen=B.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,N?(this.setPublicKey=E,this.setPrivateKey=C):this._primeCode=8}Object.defineProperty(I.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=P(this.__prime,this.__gen)),this._primeCode}}),I.prototype.generateKeys=function(){return this._priv||(this._priv=new n(A(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},I.prototype.computeSecret=function(B){B=new n(B),B=B.toRed(this._prime);var F=B.redPow(this._priv).fromRed(),N=new Buffer$C(F.toArray()),ee=this.getPrime();if(N.length<ee.length){var Z=new Buffer$C(ee.length-N.length);Z.fill(0),N=Buffer$C.concat([Z,N])}return N},I.prototype.getPublicKey=function(F){return j(this._pub,F)},I.prototype.getPrivateKey=function(F){return j(this._priv,F)},I.prototype.getPrime=function(B){return j(this.__prime,B)},I.prototype.getGenerator=function(B){return j(this._gen,B)},I.prototype.setGenerator=function(B,F){return F=F||"utf8",Buffer$C.isBuffer(B)||(B=new Buffer$C(B,F)),this.__gen=B,this._gen=new n(B),this};function j(B,F){var N=new Buffer$C(B.toArray());return F?N.toString(F):N}return dh}var hasRequiredBrowser$4;function requireBrowser$4(){if(hasRequiredBrowser$4)return browser$6;hasRequiredBrowser$4=1;var n=requireGeneratePrime(),e=require$$1$3,o=requireDh();function l(h){var v=new Buffer$C(e[h].prime,"hex"),w=new Buffer$C(e[h].gen,"hex");return new o(v,w)}var t={binary:!0,hex:!0,base64:!0};function u(h,v,w,A){return Buffer$C.isBuffer(v)||t[v]===void 0?u(h,"binary",v,w):(v=v||"binary",A=A||"binary",w=w||new Buffer$C([2]),Buffer$C.isBuffer(w)||(w=new Buffer$C(w,A)),typeof h=="number"?new o(n(h,w),w,!0):(Buffer$C.isBuffer(h)||(h=new Buffer$C(h,v)),new o(h,w,!0)))}return browser$6.DiffieHellmanGroup=browser$6.createDiffieHellmanGroup=browser$6.getDiffieHellman=l,browser$6.createDiffieHellman=browser$6.DiffieHellman=u,browser$6}var readableBrowser$1={exports:{}},processNextickArgs={exports:{}};typeof process$1>"u"||!process$1.version||process$1.version.indexOf("v0.")===0||process$1.version.indexOf("v1.")===0&&process$1.version.indexOf("v1.8.")!==0?processNextickArgs.exports={nextTick}:processNextickArgs.exports=process$1;function nextTick(n,e,o,l){if(typeof n!="function")throw new TypeError('"callback" argument must be a function');var t=arguments.length,u,h;switch(t){case 0:case 1:return process$1.nextTick(n);case 2:return process$1.nextTick(function(){n.call(null,e)});case 3:return process$1.nextTick(function(){n.call(null,e,o)});case 4:return process$1.nextTick(function(){n.call(null,e,o,l)});default:for(u=new Array(t-1),h=0;h<u.length;)u[h++]=arguments[h];return process$1.nextTick(function(){n.apply(null,u)})}}var processNextickArgsExports=processNextickArgs.exports,toString={}.toString,isarray=Array.isArray||function(n){return toString.call(n)=="[object Array]"},streamBrowser=requireEvents().EventEmitter,safeBuffer$1={exports:{}};(function(n,e){var o=require$$0$2,l=o.Buffer;function t(h,v){for(var w in h)v[w]=h[w]}l.from&&l.alloc&&l.allocUnsafe&&l.allocUnsafeSlow?n.exports=o:(t(o,e),e.Buffer=u);function u(h,v,w){return l(h,v,w)}t(l,u),u.from=function(h,v,w){if(typeof h=="number")throw new TypeError("Argument must not be a number");return l(h,v,w)},u.alloc=function(h,v,w){if(typeof h!="number")throw new TypeError("Argument must be a number");var A=l(h);return v!==void 0?typeof w=="string"?A.fill(v,w):A.fill(v):A.fill(0),A},u.allocUnsafe=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return l(h)},u.allocUnsafeSlow=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return o.SlowBuffer(h)}})(safeBuffer$1,safeBuffer$1.exports);var safeBufferExports=safeBuffer$1.exports,util$3={};function isArray(n){return Array.isArray?Array.isArray(n):objectToString(n)==="[object Array]"}util$3.isArray=isArray;function isBoolean(n){return typeof n=="boolean"}util$3.isBoolean=isBoolean;function isNull(n){return n===null}util$3.isNull=isNull;function isNullOrUndefined(n){return n==null}util$3.isNullOrUndefined=isNullOrUndefined;function isNumber(n){return typeof n=="number"}util$3.isNumber=isNumber;function isString(n){return typeof n=="string"}util$3.isString=isString;function isSymbol(n){return typeof n=="symbol"}util$3.isSymbol=isSymbol;function isUndefined(n){return n===void 0}util$3.isUndefined=isUndefined;function isRegExp(n){return objectToString(n)==="[object RegExp]"}util$3.isRegExp=isRegExp;function isObject(n){return typeof n=="object"&&n!==null}util$3.isObject=isObject;function isDate(n){return objectToString(n)==="[object Date]"}util$3.isDate=isDate;function isError(n){return objectToString(n)==="[object Error]"||n instanceof Error}util$3.isError=isError;function isFunction(n){return typeof n=="function"}util$3.isFunction=isFunction;function isPrimitive(n){return n===null||typeof n=="boolean"||typeof n=="number"||typeof n=="string"||typeof n=="symbol"||typeof n>"u"}util$3.isPrimitive=isPrimitive,util$3.isBuffer=Buffer$C.isBuffer;function objectToString(n){return Object.prototype.toString.call(n)}var BufferList={exports:{}},hasRequiredBufferList;function requireBufferList(){return hasRequiredBufferList||(hasRequiredBufferList=1,function(n){function e(u,h){if(!(u instanceof h))throw new TypeError("Cannot call a class as a function")}var o=safeBufferExports.Buffer,l=util$6;function t(u,h,v){u.copy(h,v)}n.exports=function(){function u(){e(this,u),this.head=null,this.tail=null,this.length=0}return u.prototype.push=function(v){var w={data:v,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length},u.prototype.unshift=function(v){var w={data:v,next:this.head};this.length===0&&(this.tail=w),this.head=w,++this.length},u.prototype.shift=function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}},u.prototype.clear=function(){this.head=this.tail=null,this.length=0},u.prototype.join=function(v){if(this.length===0)return"";for(var w=this.head,A=""+w.data;w=w.next;)A+=v+w.data;return A},u.prototype.concat=function(v){if(this.length===0)return o.alloc(0);for(var w=o.allocUnsafe(v>>>0),A=this.head,E=0;A;)t(A.data,w,E),E+=A.data.length,A=A.next;return w},u}(),l&&l.inspect&&l.inspect.custom&&(n.exports.prototype[l.inspect.custom]=function(){var u=l.inspect({length:this.length});return this.constructor.name+" "+u})}(BufferList)),BufferList.exports}var pna=processNextickArgsExports;function destroy(n,e){var o=this,l=this._readableState&&this._readableState.destroyed,t=this._writableState&&this._writableState.destroyed;return l||t?(e?e(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,n)):pna.nextTick(emitErrorNT,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(u){!e&&u?o._writableState?o._writableState.errorEmitted||(o._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,o,u)):pna.nextTick(emitErrorNT,o,u):e&&e(u)}),this)}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(n,e){n.emit("error",e)}var destroy_1={destroy,undestroy},_stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var n=processNextickArgsExports;_stream_writable=j;function e(x){var T=this;this.next=null,this.entry=null,this.finish=function(){m(T,x)}}var o=!process$1.browser&&["v0.10","v0.9."].indexOf(process$1.version.slice(0,5))>-1?setImmediate:n.nextTick,l;j.WritableState=P;var t=Object.create(util$3);t.inherits=inherits_browserExports;var u={deprecate:requireBrowser$5()},h=streamBrowser,v=safeBufferExports.Buffer,w=(typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function A(x){return v.from(x)}function E(x){return v.isBuffer(x)||x instanceof w}var C=destroy_1;t.inherits(j,h);function M(){}function P(x,T){l=l||require_stream_duplex(),x=x||{};var b=T instanceof l;this.objectMode=!!x.objectMode,b&&(this.objectMode=this.objectMode||!!x.writableObjectMode);var d=x.highWaterMark,k=x.writableHighWaterMark,D=this.objectMode?16:16*1024;d||d===0?this.highWaterMark=d:b&&(k||k===0)?this.highWaterMark=k:this.highWaterMark=D,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var O=x.decodeStrings===!1;this.decodeStrings=!O,this.defaultEncoding=x.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){V(T,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}P.prototype.getBuffer=function(){for(var T=this.bufferedRequest,b=[];T;)b.push(T),T=T.next;return b},function(){try{Object.defineProperty(P.prototype,"buffer",{get:u.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var I;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(x){return I.call(this,x)?!0:this!==j?!1:x&&x._writableState instanceof P}})):I=function(x){return x instanceof this};function j(x){if(l=l||require_stream_duplex(),!I.call(j,this)&&!(this instanceof l))return new j(x);this._writableState=new P(x,this),this.writable=!0,x&&(typeof x.write=="function"&&(this._write=x.write),typeof x.writev=="function"&&(this._writev=x.writev),typeof x.destroy=="function"&&(this._destroy=x.destroy),typeof x.final=="function"&&(this._final=x.final)),h.call(this)}j.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function B(x,T){var b=new Error("write after end");x.emit("error",b),n.nextTick(T,b)}function F(x,T,b,d){var k=!0,D=!1;return b===null?D=new TypeError("May not write null values to stream"):typeof b!="string"&&b!==void 0&&!T.objectMode&&(D=new TypeError("Invalid non-string/buffer chunk")),D&&(x.emit("error",D),n.nextTick(d,D),k=!1),k}j.prototype.write=function(x,T,b){var d=this._writableState,k=!1,D=!d.objectMode&&E(x);return D&&!v.isBuffer(x)&&(x=A(x)),typeof T=="function"&&(b=T,T=null),D?T="buffer":T||(T=d.defaultEncoding),typeof b!="function"&&(b=M),d.ended?B(this,b):(D||F(this,d,x,b))&&(d.pendingcb++,k=ee(this,d,D,x,T,b)),k},j.prototype.cork=function(){var x=this._writableState;x.corked++},j.prototype.uncork=function(){var x=this._writableState;x.corked&&(x.corked--,!x.writing&&!x.corked&&!x.bufferProcessing&&x.bufferedRequest&&ye(this,x))},j.prototype.setDefaultEncoding=function(T){if(typeof T=="string"&&(T=T.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((T+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+T);return this._writableState.defaultEncoding=T,this};function N(x,T,b){return!x.objectMode&&x.decodeStrings!==!1&&typeof T=="string"&&(T=v.from(T,b)),T}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ee(x,T,b,d,k,D){if(!b){var O=N(T,d,k);d!==O&&(b=!0,k="buffer",d=O)}var Q=T.objectMode?1:d.length;T.length+=Q;var J=T.length<T.highWaterMark;if(J||(T.needDrain=!0),T.writing||T.corked){var X=T.lastBufferedRequest;T.lastBufferedRequest={chunk:d,encoding:k,isBuf:b,callback:D,next:null},X?X.next=T.lastBufferedRequest:T.bufferedRequest=T.lastBufferedRequest,T.bufferedRequestCount+=1}else Z(x,T,!1,Q,d,k,D);return J}function Z(x,T,b,d,k,D,O){T.writelen=d,T.writecb=O,T.writing=!0,T.sync=!0,b?x._writev(k,T.onwrite):x._write(k,D,T.onwrite),T.sync=!1}function re(x,T,b,d,k){--T.pendingcb,b?(n.nextTick(k,d),n.nextTick(S,x,T),x._writableState.errorEmitted=!0,x.emit("error",d)):(k(d),x._writableState.errorEmitted=!0,x.emit("error",d),S(x,T))}function fe(x){x.writing=!1,x.writecb=null,x.length-=x.writelen,x.writelen=0}function V(x,T){var b=x._writableState,d=b.sync,k=b.writecb;if(fe(b),T)re(x,b,d,T,k);else{var D=L(b);!D&&!b.corked&&!b.bufferProcessing&&b.bufferedRequest&&ye(x,b),d?o(le,x,b,D,k):le(x,b,D,k)}}function le(x,T,b,d){b||he(x,T),T.pendingcb--,d(),S(x,T)}function he(x,T){T.length===0&&T.needDrain&&(T.needDrain=!1,x.emit("drain"))}function ye(x,T){T.bufferProcessing=!0;var b=T.bufferedRequest;if(x._writev&&b&&b.next){var d=T.bufferedRequestCount,k=new Array(d),D=T.corkedRequestsFree;D.entry=b;for(var O=0,Q=!0;b;)k[O]=b,b.isBuf||(Q=!1),b=b.next,O+=1;k.allBuffers=Q,Z(x,T,!0,T.length,k,"",D.finish),T.pendingcb++,T.lastBufferedRequest=null,D.next?(T.corkedRequestsFree=D.next,D.next=null):T.corkedRequestsFree=new e(T),T.bufferedRequestCount=0}else{for(;b;){var J=b.chunk,X=b.encoding,U=b.callback,z=T.objectMode?1:J.length;if(Z(x,T,!1,z,J,X,U),b=b.next,T.bufferedRequestCount--,T.writing)break}b===null&&(T.lastBufferedRequest=null)}T.bufferedRequest=b,T.bufferProcessing=!1}j.prototype._write=function(x,T,b){b(new Error("_write() is not implemented"))},j.prototype._writev=null,j.prototype.end=function(x,T,b){var d=this._writableState;typeof x=="function"?(b=x,x=null,T=null):typeof T=="function"&&(b=T,T=null),x!=null&&this.write(x,T),d.corked&&(d.corked=1,this.uncork()),d.ending||c(this,d,b)};function L(x){return x.ending&&x.length===0&&x.bufferedRequest===null&&!x.finished&&!x.writing}function p(x,T){x._final(function(b){T.pendingcb--,b&&x.emit("error",b),T.prefinished=!0,x.emit("prefinish"),S(x,T)})}function y(x,T){!T.prefinished&&!T.finalCalled&&(typeof x._final=="function"?(T.pendingcb++,T.finalCalled=!0,n.nextTick(p,x,T)):(T.prefinished=!0,x.emit("prefinish")))}function S(x,T){var b=L(T);return b&&(y(x,T),T.pendingcb===0&&(T.finished=!0,x.emit("finish"))),b}function c(x,T,b){T.ending=!0,S(x,T),b&&(T.finished?n.nextTick(b):x.once("finish",b)),T.ended=!0,x.writable=!1}function m(x,T,b){var d=x.entry;for(x.entry=null;d;){var k=d.callback;T.pendingcb--,k(b),d=d.next}T.corkedRequestsFree.next=x}return Object.defineProperty(j.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(x){this._writableState&&(this._writableState.destroyed=x)}}),j.prototype.destroy=C.destroy,j.prototype._undestroy=C.undestroy,j.prototype._destroy=function(x,T){this.end(),T(x)},_stream_writable}var _stream_duplex,hasRequired_stream_duplex;function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var n=processNextickArgsExports,e=Object.keys||function(C){var M=[];for(var P in C)M.push(P);return M};_stream_duplex=w;var o=Object.create(util$3);o.inherits=inherits_browserExports;var l=require_stream_readable(),t=require_stream_writable();o.inherits(w,l);for(var u=e(t.prototype),h=0;h<u.length;h++){var v=u[h];w.prototype[v]||(w.prototype[v]=t.prototype[v])}function w(C){if(!(this instanceof w))return new w(C);l.call(this,C),t.call(this,C),C&&C.readable===!1&&(this.readable=!1),C&&C.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,C&&C.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",A)}Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function A(){this.allowHalfOpen||this._writableState.ended||n.nextTick(E,this)}function E(C){C.end()}return Object.defineProperty(w.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(C){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=C,this._writableState.destroyed=C)}}),w.prototype._destroy=function(C,M){this.push(null),this.end(),n.nextTick(M,C)},_stream_duplex}var _stream_readable,hasRequired_stream_readable;function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;hasRequired_stream_readable=1;var n=processNextickArgsExports;_stream_readable=N;var e=isarray,o;N.ReadableState=F,requireEvents().EventEmitter;var l=function(U,z){return U.listeners(z).length},t=streamBrowser,u=safeBufferExports.Buffer,h=(typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function v(U){return u.from(U)}function w(U){return u.isBuffer(U)||U instanceof h}var A=Object.create(util$3);A.inherits=inherits_browserExports;var E=util$6,C=void 0;E&&E.debuglog?C=E.debuglog("stream"):C=function(){};var M=requireBufferList(),P=destroy_1,I;A.inherits(N,t);var j=["error","close","destroy","pause","resume"];function B(U,z,ie){if(typeof U.prependListener=="function")return U.prependListener(z,ie);!U._events||!U._events[z]?U.on(z,ie):e(U._events[z])?U._events[z].unshift(ie):U._events[z]=[ie,U._events[z]]}function F(U,z){o=o||require_stream_duplex(),U=U||{};var ie=z instanceof o;this.objectMode=!!U.objectMode,ie&&(this.objectMode=this.objectMode||!!U.readableObjectMode);var de=U.highWaterMark,me=U.readableHighWaterMark,pe=this.objectMode?16:16*1024;de||de===0?this.highWaterMark=de:ie&&(me||me===0)?this.highWaterMark=me:this.highWaterMark=pe,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new M,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=U.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,U.encoding&&(I||(I=string_decoder.StringDecoder),this.decoder=new I(U.encoding),this.encoding=U.encoding)}function N(U){if(o=o||require_stream_duplex(),!(this instanceof N))return new N(U);this._readableState=new F(U,this),this.readable=!0,U&&(typeof U.read=="function"&&(this._read=U.read),typeof U.destroy=="function"&&(this._destroy=U.destroy)),t.call(this)}Object.defineProperty(N.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(U){this._readableState&&(this._readableState.destroyed=U)}}),N.prototype.destroy=P.destroy,N.prototype._undestroy=P.undestroy,N.prototype._destroy=function(U,z){this.push(null),z(U)},N.prototype.push=function(U,z){var ie=this._readableState,de;return ie.objectMode?de=!0:typeof U=="string"&&(z=z||ie.defaultEncoding,z!==ie.encoding&&(U=u.from(U,z),z=""),de=!0),ee(this,U,z,!1,de)},N.prototype.unshift=function(U){return ee(this,U,null,!0,!1)};function ee(U,z,ie,de,me){var pe=U._readableState;if(z===null)pe.reading=!1,ye(U,pe);else{var qe;me||(qe=re(pe,z)),qe?U.emit("error",qe):pe.objectMode||z&&z.length>0?(typeof z!="string"&&!pe.objectMode&&Object.getPrototypeOf(z)!==u.prototype&&(z=v(z)),de?pe.endEmitted?U.emit("error",new Error("stream.unshift() after end event")):Z(U,pe,z,!0):pe.ended?U.emit("error",new Error("stream.push() after EOF")):(pe.reading=!1,pe.decoder&&!ie?(z=pe.decoder.write(z),pe.objectMode||z.length!==0?Z(U,pe,z,!1):y(U,pe)):Z(U,pe,z,!1))):de||(pe.reading=!1)}return fe(pe)}function Z(U,z,ie,de){z.flowing&&z.length===0&&!z.sync?(U.emit("data",ie),U.read(0)):(z.length+=z.objectMode?1:ie.length,de?z.buffer.unshift(ie):z.buffer.push(ie),z.needReadable&&L(U)),y(U,z)}function re(U,z){var ie;return!w(z)&&typeof z!="string"&&z!==void 0&&!U.objectMode&&(ie=new TypeError("Invalid non-string/buffer chunk")),ie}function fe(U){return!U.ended&&(U.needReadable||U.length<U.highWaterMark||U.length===0)}N.prototype.isPaused=function(){return this._readableState.flowing===!1},N.prototype.setEncoding=function(U){return I||(I=string_decoder.StringDecoder),this._readableState.decoder=new I(U),this._readableState.encoding=U,this};var V=8388608;function le(U){return U>=V?U=V:(U--,U|=U>>>1,U|=U>>>2,U|=U>>>4,U|=U>>>8,U|=U>>>16,U++),U}function he(U,z){return U<=0||z.length===0&&z.ended?0:z.objectMode?1:U!==U?z.flowing&&z.length?z.buffer.head.data.length:z.length:(U>z.highWaterMark&&(z.highWaterMark=le(U)),U<=z.length?U:z.ended?z.length:(z.needReadable=!0,0))}N.prototype.read=function(U){C("read",U),U=parseInt(U,10);var z=this._readableState,ie=U;if(U!==0&&(z.emittedReadable=!1),U===0&&z.needReadable&&(z.length>=z.highWaterMark||z.ended))return C("read: emitReadable",z.length,z.ended),z.length===0&&z.ended?Q(this):L(this),null;if(U=he(U,z),U===0&&z.ended)return z.length===0&&Q(this),null;var de=z.needReadable;C("need readable",de),(z.length===0||z.length-U<z.highWaterMark)&&(de=!0,C("length less than watermark",de)),z.ended||z.reading?(de=!1,C("reading or ended",de)):de&&(C("do read"),z.reading=!0,z.sync=!0,z.length===0&&(z.needReadable=!0),this._read(z.highWaterMark),z.sync=!1,z.reading||(U=he(ie,z)));var me;return U>0?me=d(U,z):me=null,me===null?(z.needReadable=!0,U=0):z.length-=U,z.length===0&&(z.ended||(z.needReadable=!0),ie!==U&&z.ended&&Q(this)),me!==null&&this.emit("data",me),me};function ye(U,z){if(!z.ended){if(z.decoder){var ie=z.decoder.end();ie&&ie.length&&(z.buffer.push(ie),z.length+=z.objectMode?1:ie.length)}z.ended=!0,L(U)}}function L(U){var z=U._readableState;z.needReadable=!1,z.emittedReadable||(C("emitReadable",z.flowing),z.emittedReadable=!0,z.sync?n.nextTick(p,U):p(U))}function p(U){C("emit readable"),U.emit("readable"),b(U)}function y(U,z){z.readingMore||(z.readingMore=!0,n.nextTick(S,U,z))}function S(U,z){for(var ie=z.length;!z.reading&&!z.flowing&&!z.ended&&z.length<z.highWaterMark&&(C("maybeReadMore read 0"),U.read(0),ie!==z.length);)ie=z.length;z.readingMore=!1}N.prototype._read=function(U){this.emit("error",new Error("_read() is not implemented"))},N.prototype.pipe=function(U,z){var ie=this,de=this._readableState;switch(de.pipesCount){case 0:de.pipes=U;break;case 1:de.pipes=[de.pipes,U];break;default:de.pipes.push(U);break}de.pipesCount+=1,C("pipe count=%d opts=%j",de.pipesCount,z);var me=(!z||z.end!==!1)&&U!==process$1.stdout&&U!==process$1.stderr,pe=me?mt:jt;de.endEmitted?n.nextTick(pe):ie.once("end",pe),U.on("unpipe",qe);function qe(Ge,Qe){C("onunpipe"),Ge===ie&&Qe&&Qe.hasUnpiped===!1&&(Qe.hasUnpiped=!0,Tt())}function mt(){C("onend"),U.end()}var st=c(ie);U.on("drain",st);var dt=!1;function Tt(){C("cleanup"),U.removeListener("close",at),U.removeListener("finish",bt),U.removeListener("drain",st),U.removeListener("error",ht),U.removeListener("unpipe",qe),ie.removeListener("end",mt),ie.removeListener("end",jt),ie.removeListener("data",Je),dt=!0,de.awaitDrain&&(!U._writableState||U._writableState.needDrain)&&st()}var lt=!1;ie.on("data",Je);function Je(Ge){C("ondata"),lt=!1;var Qe=U.write(Ge);Qe===!1&&!lt&&((de.pipesCount===1&&de.pipes===U||de.pipesCount>1&&X(de.pipes,U)!==-1)&&!dt&&(C("false write response, pause",de.awaitDrain),de.awaitDrain++,lt=!0),ie.pause())}function ht(Ge){C("onerror",Ge),jt(),U.removeListener("error",ht),l(U,"error")===0&&U.emit("error",Ge)}B(U,"error",ht);function at(){U.removeListener("finish",bt),jt()}U.once("close",at);function bt(){C("onfinish"),U.removeListener("close",at),jt()}U.once("finish",bt);function jt(){C("unpipe"),ie.unpipe(U)}return U.emit("pipe",ie),de.flowing||(C("pipe resume"),ie.resume()),U};function c(U){return function(){var z=U._readableState;C("pipeOnDrain",z.awaitDrain),z.awaitDrain&&z.awaitDrain--,z.awaitDrain===0&&l(U,"data")&&(z.flowing=!0,b(U))}}N.prototype.unpipe=function(U){var z=this._readableState,ie={hasUnpiped:!1};if(z.pipesCount===0)return this;if(z.pipesCount===1)return U&&U!==z.pipes?this:(U||(U=z.pipes),z.pipes=null,z.pipesCount=0,z.flowing=!1,U&&U.emit("unpipe",this,ie),this);if(!U){var de=z.pipes,me=z.pipesCount;z.pipes=null,z.pipesCount=0,z.flowing=!1;for(var pe=0;pe<me;pe++)de[pe].emit("unpipe",this,{hasUnpiped:!1});return this}var qe=X(z.pipes,U);return qe===-1?this:(z.pipes.splice(qe,1),z.pipesCount-=1,z.pipesCount===1&&(z.pipes=z.pipes[0]),U.emit("unpipe",this,ie),this)},N.prototype.on=function(U,z){var ie=t.prototype.on.call(this,U,z);if(U==="data")this._readableState.flowing!==!1&&this.resume();else if(U==="readable"){var de=this._readableState;!de.endEmitted&&!de.readableListening&&(de.readableListening=de.needReadable=!0,de.emittedReadable=!1,de.reading?de.length&&L(this):n.nextTick(m,this))}return ie},N.prototype.addListener=N.prototype.on;function m(U){C("readable nexttick read 0"),U.read(0)}N.prototype.resume=function(){var U=this._readableState;return U.flowing||(C("resume"),U.flowing=!0,x(this,U)),this};function x(U,z){z.resumeScheduled||(z.resumeScheduled=!0,n.nextTick(T,U,z))}function T(U,z){z.reading||(C("resume read 0"),U.read(0)),z.resumeScheduled=!1,z.awaitDrain=0,U.emit("resume"),b(U),z.flowing&&!z.reading&&U.read(0)}N.prototype.pause=function(){return C("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(C("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function b(U){var z=U._readableState;for(C("flow",z.flowing);z.flowing&&U.read()!==null;);}N.prototype.wrap=function(U){var z=this,ie=this._readableState,de=!1;U.on("end",function(){if(C("wrapped end"),ie.decoder&&!ie.ended){var qe=ie.decoder.end();qe&&qe.length&&z.push(qe)}z.push(null)}),U.on("data",function(qe){if(C("wrapped data"),ie.decoder&&(qe=ie.decoder.write(qe)),!(ie.objectMode&&qe==null)&&!(!ie.objectMode&&(!qe||!qe.length))){var mt=z.push(qe);mt||(de=!0,U.pause())}});for(var me in U)this[me]===void 0&&typeof U[me]=="function"&&(this[me]=function(qe){return function(){return U[qe].apply(U,arguments)}}(me));for(var pe=0;pe<j.length;pe++)U.on(j[pe],this.emit.bind(this,j[pe]));return this._read=function(qe){C("wrapped _read",qe),de&&(de=!1,U.resume())},this},Object.defineProperty(N.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),N._fromList=d;function d(U,z){if(z.length===0)return null;var ie;return z.objectMode?ie=z.buffer.shift():!U||U>=z.length?(z.decoder?ie=z.buffer.join(""):z.buffer.length===1?ie=z.buffer.head.data:ie=z.buffer.concat(z.length),z.buffer.clear()):ie=k(U,z.buffer,z.decoder),ie}function k(U,z,ie){var de;return U<z.head.data.length?(de=z.head.data.slice(0,U),z.head.data=z.head.data.slice(U)):U===z.head.data.length?de=z.shift():de=ie?D(U,z):O(U,z),de}function D(U,z){var ie=z.head,de=1,me=ie.data;for(U-=me.length;ie=ie.next;){var pe=ie.data,qe=U>pe.length?pe.length:U;if(qe===pe.length?me+=pe:me+=pe.slice(0,U),U-=qe,U===0){qe===pe.length?(++de,ie.next?z.head=ie.next:z.head=z.tail=null):(z.head=ie,ie.data=pe.slice(qe));break}++de}return z.length-=de,me}function O(U,z){var ie=u.allocUnsafe(U),de=z.head,me=1;for(de.data.copy(ie),U-=de.data.length;de=de.next;){var pe=de.data,qe=U>pe.length?pe.length:U;if(pe.copy(ie,ie.length-U,0,qe),U-=qe,U===0){qe===pe.length?(++me,de.next?z.head=de.next:z.head=z.tail=null):(z.head=de,de.data=pe.slice(qe));break}++me}return z.length-=me,ie}function Q(U){var z=U._readableState;if(z.length>0)throw new Error('"endReadable()" called on non-empty stream');z.endEmitted||(z.ended=!0,n.nextTick(J,z,U))}function J(U,z){!U.endEmitted&&U.length===0&&(U.endEmitted=!0,z.readable=!1,z.emit("end"))}function X(U,z){for(var ie=0,de=U.length;ie<de;ie++)if(U[ie]===z)return ie;return-1}return _stream_readable}var _stream_transform=Transform$1,Duplex=require_stream_duplex(),util$2=Object.create(util$3);util$2.inherits=inherits_browserExports,util$2.inherits(Transform$1,Duplex);function afterTransform(n,e){var o=this._transformState;o.transforming=!1;var l=o.writecb;if(!l)return this.emit("error",new Error("write callback called multiple times"));o.writechunk=null,o.writecb=null,e!=null&&this.push(e),l(n);var t=this._readableState;t.reading=!1,(t.needReadable||t.length<t.highWaterMark)&&this._read(t.highWaterMark)}function Transform$1(n){if(!(this instanceof Transform$1))return new Transform$1(n);Duplex.call(this,n),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,n&&(typeof n.transform=="function"&&(this._transform=n.transform),typeof n.flush=="function"&&(this._flush=n.flush)),this.on("prefinish",prefinish)}function prefinish(){var n=this;typeof this._flush=="function"?this._flush(function(e,o){done(n,e,o)}):done(this,null,null)}Transform$1.prototype.push=function(n,e){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,n,e)},Transform$1.prototype._transform=function(n,e,o){throw new Error("_transform() is not implemented")},Transform$1.prototype._write=function(n,e,o){var l=this._transformState;if(l.writecb=o,l.writechunk=n,l.writeencoding=e,!l.transforming){var t=this._readableState;(l.needTransform||t.needReadable||t.length<t.highWaterMark)&&this._read(t.highWaterMark)}},Transform$1.prototype._read=function(n){var e=this._transformState;e.writechunk!==null&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},Transform$1.prototype._destroy=function(n,e){var o=this;Duplex.prototype._destroy.call(this,n,function(l){e(l),o.emit("close")})};function done(n,e,o){if(e)return n.emit("error",e);if(o!=null&&n.push(o),n._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(n._transformState.transforming)throw new Error("Calling transform done when still transforming");return n.push(null)}var _stream_passthrough=PassThrough,Transform=_stream_transform,util$1=Object.create(util$3);util$1.inherits=inherits_browserExports,util$1.inherits(PassThrough,Transform);function PassThrough(n){if(!(this instanceof PassThrough))return new PassThrough(n);Transform.call(this,n)}PassThrough.prototype._transform=function(n,e,o){o(null,n)},function(n,e){e=n.exports=require_stream_readable(),e.Stream=e,e.Readable=e,e.Writable=require_stream_writable(),e.Duplex=require_stream_duplex(),e.Transform=_stream_transform,e.PassThrough=_stream_passthrough}(readableBrowser$1,readableBrowser$1.exports);var readableBrowserExports=readableBrowser$1.exports,sign={exports:{}},bn$4={exports:{}};bn$4.exports,function(n){(function(e,o){function l(y,S){if(!y)throw new Error(S||"Assertion failed")}function t(y,S){y.super_=S;var c=function(){};c.prototype=S.prototype,y.prototype=new c,y.prototype.constructor=y}function u(y,S,c){if(u.isBN(y))return y;this.negative=0,this.words=null,this.length=0,this.red=null,y!==null&&((S==="le"||S==="be")&&(c=S,S=10),this._init(y||0,S||10,c||"be"))}typeof e=="object"?e.exports=u:o.BN=u,u.BN=u,u.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=require$$0$2.Buffer}catch{}u.isBN=function(S){return S instanceof u?!0:S!==null&&typeof S=="object"&&S.constructor.wordSize===u.wordSize&&Array.isArray(S.words)},u.max=function(S,c){return S.cmp(c)>0?S:c},u.min=function(S,c){return S.cmp(c)<0?S:c},u.prototype._init=function(S,c,m){if(typeof S=="number")return this._initNumber(S,c,m);if(typeof S=="object")return this._initArray(S,c,m);c==="hex"&&(c=16),l(c===(c|0)&&c>=2&&c<=36),S=S.toString().replace(/\s+/g,"");var x=0;S[0]==="-"&&(x++,this.negative=1),x<S.length&&(c===16?this._parseHex(S,x,m):(this._parseBase(S,c,x),m==="le"&&this._initArray(this.toArray(),c,m)))},u.prototype._initNumber=function(S,c,m){S<0&&(this.negative=1,S=-S),S<67108864?(this.words=[S&67108863],this.length=1):S<4503599627370496?(this.words=[S&67108863,S/67108864&67108863],this.length=2):(l(S<9007199254740992),this.words=[S&67108863,S/67108864&67108863,1],this.length=3),m==="le"&&this._initArray(this.toArray(),c,m)},u.prototype._initArray=function(S,c,m){if(l(typeof S.length=="number"),S.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(S.length/3),this.words=new Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var T,b,d=0;if(m==="be")for(x=S.length-1,T=0;x>=0;x-=3)b=S[x]|S[x-1]<<8|S[x-2]<<16,this.words[T]|=b<<d&67108863,this.words[T+1]=b>>>26-d&67108863,d+=24,d>=26&&(d-=26,T++);else if(m==="le")for(x=0,T=0;x<S.length;x+=3)b=S[x]|S[x+1]<<8|S[x+2]<<16,this.words[T]|=b<<d&67108863,this.words[T+1]=b>>>26-d&67108863,d+=24,d>=26&&(d-=26,T++);return this._strip()};function v(y,S){var c=y.charCodeAt(S);if(c>=48&&c<=57)return c-48;if(c>=65&&c<=70)return c-55;if(c>=97&&c<=102)return c-87;l(!1,"Invalid character in "+y)}function w(y,S,c){var m=v(y,c);return c-1>=S&&(m|=v(y,c-1)<<4),m}u.prototype._parseHex=function(S,c,m){this.length=Math.ceil((S.length-c)/6),this.words=new Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var T=0,b=0,d;if(m==="be")for(x=S.length-1;x>=c;x-=2)d=w(S,c,x)<<T,this.words[b]|=d&67108863,T>=18?(T-=18,b+=1,this.words[b]|=d>>>26):T+=8;else{var k=S.length-c;for(x=k%2===0?c+1:c;x<S.length;x+=2)d=w(S,c,x)<<T,this.words[b]|=d&67108863,T>=18?(T-=18,b+=1,this.words[b]|=d>>>26):T+=8}this._strip()};function A(y,S,c,m){for(var x=0,T=0,b=Math.min(y.length,c),d=S;d<b;d++){var k=y.charCodeAt(d)-48;x*=m,k>=49?T=k-49+10:k>=17?T=k-17+10:T=k,l(k>=0&&T<m,"Invalid character"),x+=T}return x}u.prototype._parseBase=function(S,c,m){this.words=[0],this.length=1;for(var x=0,T=1;T<=67108863;T*=c)x++;x--,T=T/c|0;for(var b=S.length-m,d=b%x,k=Math.min(b,b-d)+m,D=0,O=m;O<k;O+=x)D=A(S,O,O+x,c),this.imuln(T),this.words[0]+D<67108864?this.words[0]+=D:this._iaddn(D);if(d!==0){var Q=1;for(D=A(S,O,S.length,c),O=0;O<d;O++)Q*=c;this.imuln(Q),this.words[0]+D<67108864?this.words[0]+=D:this._iaddn(D)}this._strip()},u.prototype.copy=function(S){S.words=new Array(this.length);for(var c=0;c<this.length;c++)S.words[c]=this.words[c];S.length=this.length,S.negative=this.negative,S.red=this.red};function E(y,S){y.words=S.words,y.length=S.length,y.negative=S.negative,y.red=S.red}if(u.prototype._move=function(S){E(S,this)},u.prototype.clone=function(){var S=new u(null);return this.copy(S),S},u.prototype._expand=function(S){for(;this.length<S;)this.words[this.length++]=0;return this},u.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},u.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{u.prototype[Symbol.for("nodejs.util.inspect.custom")]=C}catch{u.prototype.inspect=C}else u.prototype.inspect=C;function C(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var M=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],P=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];u.prototype.toString=function(S,c){S=S||10,c=c|0||1;var m;if(S===16||S==="hex"){m="";for(var x=0,T=0,b=0;b<this.length;b++){var d=this.words[b],k=((d<<x|T)&16777215).toString(16);T=d>>>24-x&16777215,x+=2,x>=26&&(x-=26,b--),T!==0||b!==this.length-1?m=M[6-k.length]+k+m:m=k+m}for(T!==0&&(m=T.toString(16)+m);m.length%c!==0;)m="0"+m;return this.negative!==0&&(m="-"+m),m}if(S===(S|0)&&S>=2&&S<=36){var D=P[S],O=I[S];m="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var J=Q.modrn(O).toString(S);Q=Q.idivn(O),Q.isZero()?m=J+m:m=M[D-J.length]+J+m}for(this.isZero()&&(m="0"+m);m.length%c!==0;)m="0"+m;return this.negative!==0&&(m="-"+m),m}l(!1,"Base should be between 2 and 36")},u.prototype.toNumber=function(){var S=this.words[0];return this.length===2?S+=this.words[1]*67108864:this.length===3&&this.words[2]===1?S+=4503599627370496+this.words[1]*67108864:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-S:S},u.prototype.toJSON=function(){return this.toString(16,2)},h&&(u.prototype.toBuffer=function(S,c){return this.toArrayLike(h,S,c)}),u.prototype.toArray=function(S,c){return this.toArrayLike(Array,S,c)};var j=function(S,c){return S.allocUnsafe?S.allocUnsafe(c):new S(c)};u.prototype.toArrayLike=function(S,c,m){this._strip();var x=this.byteLength(),T=m||Math.max(1,x);l(x<=T,"byte array longer than desired length"),l(T>0,"Requested array length <= 0");var b=j(S,T),d=c==="le"?"LE":"BE";return this["_toArrayLike"+d](b,x),b},u.prototype._toArrayLikeLE=function(S,c){for(var m=0,x=0,T=0,b=0;T<this.length;T++){var d=this.words[T]<<b|x;S[m++]=d&255,m<S.length&&(S[m++]=d>>8&255),m<S.length&&(S[m++]=d>>16&255),b===6?(m<S.length&&(S[m++]=d>>24&255),x=0,b=0):(x=d>>>24,b+=2)}if(m<S.length)for(S[m++]=x;m<S.length;)S[m++]=0},u.prototype._toArrayLikeBE=function(S,c){for(var m=S.length-1,x=0,T=0,b=0;T<this.length;T++){var d=this.words[T]<<b|x;S[m--]=d&255,m>=0&&(S[m--]=d>>8&255),m>=0&&(S[m--]=d>>16&255),b===6?(m>=0&&(S[m--]=d>>24&255),x=0,b=0):(x=d>>>24,b+=2)}if(m>=0)for(S[m--]=x;m>=0;)S[m--]=0},Math.clz32?u.prototype._countBits=function(S){return 32-Math.clz32(S)}:u.prototype._countBits=function(S){var c=S,m=0;return c>=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},u.prototype._zeroBits=function(S){if(S===0)return 26;var c=S,m=0;return c&8191||(m+=13,c>>>=13),c&127||(m+=7,c>>>=7),c&15||(m+=4,c>>>=4),c&3||(m+=2,c>>>=2),c&1||m++,m},u.prototype.bitLength=function(){var S=this.words[this.length-1],c=this._countBits(S);return(this.length-1)*26+c};function B(y){for(var S=new Array(y.bitLength()),c=0;c<S.length;c++){var m=c/26|0,x=c%26;S[c]=y.words[m]>>>x&1}return S}u.prototype.zeroBits=function(){if(this.isZero())return 0;for(var S=0,c=0;c<this.length;c++){var m=this._zeroBits(this.words[c]);if(S+=m,m!==26)break}return S},u.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},u.prototype.toTwos=function(S){return this.negative!==0?this.abs().inotn(S).iaddn(1):this.clone()},u.prototype.fromTwos=function(S){return this.testn(S-1)?this.notn(S).iaddn(1).ineg():this.clone()},u.prototype.isNeg=function(){return this.negative!==0},u.prototype.neg=function(){return this.clone().ineg()},u.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},u.prototype.iuor=function(S){for(;this.length<S.length;)this.words[this.length++]=0;for(var c=0;c<S.length;c++)this.words[c]=this.words[c]|S.words[c];return this._strip()},u.prototype.ior=function(S){return l((this.negative|S.negative)===0),this.iuor(S)},u.prototype.or=function(S){return this.length>S.length?this.clone().ior(S):S.clone().ior(this)},u.prototype.uor=function(S){return this.length>S.length?this.clone().iuor(S):S.clone().iuor(this)},u.prototype.iuand=function(S){var c;this.length>S.length?c=S:c=this;for(var m=0;m<c.length;m++)this.words[m]=this.words[m]&S.words[m];return this.length=c.length,this._strip()},u.prototype.iand=function(S){return l((this.negative|S.negative)===0),this.iuand(S)},u.prototype.and=function(S){return this.length>S.length?this.clone().iand(S):S.clone().iand(this)},u.prototype.uand=function(S){return this.length>S.length?this.clone().iuand(S):S.clone().iuand(this)},u.prototype.iuxor=function(S){var c,m;this.length>S.length?(c=this,m=S):(c=S,m=this);for(var x=0;x<m.length;x++)this.words[x]=c.words[x]^m.words[x];if(this!==c)for(;x<c.length;x++)this.words[x]=c.words[x];return this.length=c.length,this._strip()},u.prototype.ixor=function(S){return l((this.negative|S.negative)===0),this.iuxor(S)},u.prototype.xor=function(S){return this.length>S.length?this.clone().ixor(S):S.clone().ixor(this)},u.prototype.uxor=function(S){return this.length>S.length?this.clone().iuxor(S):S.clone().iuxor(this)},u.prototype.inotn=function(S){l(typeof S=="number"&&S>=0);var c=Math.ceil(S/26)|0,m=S%26;this._expand(c),m>0&&c--;for(var x=0;x<c;x++)this.words[x]=~this.words[x]&67108863;return m>0&&(this.words[x]=~this.words[x]&67108863>>26-m),this._strip()},u.prototype.notn=function(S){return this.clone().inotn(S)},u.prototype.setn=function(S,c){l(typeof S=="number"&&S>=0);var m=S/26|0,x=S%26;return this._expand(m+1),c?this.words[m]=this.words[m]|1<<x:this.words[m]=this.words[m]&~(1<<x),this._strip()},u.prototype.iadd=function(S){var c;if(this.negative!==0&&S.negative===0)return this.negative=0,c=this.isub(S),this.negative^=1,this._normSign();if(this.negative===0&&S.negative!==0)return S.negative=0,c=this.isub(S),S.negative=1,c._normSign();var m,x;this.length>S.length?(m=this,x=S):(m=S,x=this);for(var T=0,b=0;b<x.length;b++)c=(m.words[b]|0)+(x.words[b]|0)+T,this.words[b]=c&67108863,T=c>>>26;for(;T!==0&&b<m.length;b++)c=(m.words[b]|0)+T,this.words[b]=c&67108863,T=c>>>26;if(this.length=m.length,T!==0)this.words[this.length]=T,this.length++;else if(m!==this)for(;b<m.length;b++)this.words[b]=m.words[b];return this},u.prototype.add=function(S){var c;return S.negative!==0&&this.negative===0?(S.negative=0,c=this.sub(S),S.negative^=1,c):S.negative===0&&this.negative!==0?(this.negative=0,c=S.sub(this),this.negative=1,c):this.length>S.length?this.clone().iadd(S):S.clone().iadd(this)},u.prototype.isub=function(S){if(S.negative!==0){S.negative=0;var c=this.iadd(S);return S.negative=1,c._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(S),this.negative=1,this._normSign();var m=this.cmp(S);if(m===0)return this.negative=0,this.length=1,this.words[0]=0,this;var x,T;m>0?(x=this,T=S):(x=S,T=this);for(var b=0,d=0;d<T.length;d++)c=(x.words[d]|0)-(T.words[d]|0)+b,b=c>>26,this.words[d]=c&67108863;for(;b!==0&&d<x.length;d++)c=(x.words[d]|0)+b,b=c>>26,this.words[d]=c&67108863;if(b===0&&d<x.length&&x!==this)for(;d<x.length;d++)this.words[d]=x.words[d];return this.length=Math.max(this.length,d),x!==this&&(this.negative=1),this._strip()},u.prototype.sub=function(S){return this.clone().isub(S)};function F(y,S,c){c.negative=S.negative^y.negative;var m=y.length+S.length|0;c.length=m,m=m-1|0;var x=y.words[0]|0,T=S.words[0]|0,b=x*T,d=b&67108863,k=b/67108864|0;c.words[0]=d;for(var D=1;D<m;D++){for(var O=k>>>26,Q=k&67108863,J=Math.min(D,S.length-1),X=Math.max(0,D-y.length+1);X<=J;X++){var U=D-X|0;x=y.words[U]|0,T=S.words[X]|0,b=x*T+Q,O+=b/67108864|0,Q=b&67108863}c.words[D]=Q|0,k=O|0}return k!==0?c.words[D]=k|0:c.length--,c._strip()}var N=function(S,c,m){var x=S.words,T=c.words,b=m.words,d=0,k,D,O,Q=x[0]|0,J=Q&8191,X=Q>>>13,U=x[1]|0,z=U&8191,ie=U>>>13,de=x[2]|0,me=de&8191,pe=de>>>13,qe=x[3]|0,mt=qe&8191,st=qe>>>13,dt=x[4]|0,Tt=dt&8191,lt=dt>>>13,Je=x[5]|0,ht=Je&8191,at=Je>>>13,bt=x[6]|0,jt=bt&8191,Ge=bt>>>13,Qe=x[7]|0,Wt=Qe&8191,Et=Qe>>>13,Ct=x[8]|0,Kt=Ct&8191,Me=Ct>>>13,te=x[9]|0,_e=te&8191,je=te>>>13,We=T[0]|0,et=We&8191,Ye=We>>>13,De=T[1]|0,Ht=De&8191,Mt=De>>>13,ge=T[2]|0,Dt=ge&8191,yt=ge>>>13,Ne=T[3]|0,_t=Ne&8191,pt=Ne>>>13,Bt=T[4]|0,ur=Bt&8191,kt=Bt>>>13,Ut=T[5]|0,Wr=Ut&8191,zt=Ut>>>13,Qt=T[6]|0,$e=Qt&8191,be=Qt>>>13,ve=T[7]|0,se=ve&8191,Pe=ve>>>13,ze=T[8]|0,xt=ze&8191,ot=ze>>>13,wt=T[9]|0,Yt=wt&8191,Jt=wt>>>13;m.negative=S.negative^c.negative,m.length=19,k=Math.imul(J,et),D=Math.imul(J,Ye),D=D+Math.imul(X,et)|0,O=Math.imul(X,Ye);var wr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(wr>>>26)|0,wr&=67108863,k=Math.imul(z,et),D=Math.imul(z,Ye),D=D+Math.imul(ie,et)|0,O=Math.imul(ie,Ye),k=k+Math.imul(J,Ht)|0,D=D+Math.imul(J,Mt)|0,D=D+Math.imul(X,Ht)|0,O=O+Math.imul(X,Mt)|0;var lr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(lr>>>26)|0,lr&=67108863,k=Math.imul(me,et),D=Math.imul(me,Ye),D=D+Math.imul(pe,et)|0,O=Math.imul(pe,Ye),k=k+Math.imul(z,Ht)|0,D=D+Math.imul(z,Mt)|0,D=D+Math.imul(ie,Ht)|0,O=O+Math.imul(ie,Mt)|0,k=k+Math.imul(J,Dt)|0,D=D+Math.imul(J,yt)|0,D=D+Math.imul(X,Dt)|0,O=O+Math.imul(X,yt)|0;var Rr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Rr>>>26)|0,Rr&=67108863,k=Math.imul(mt,et),D=Math.imul(mt,Ye),D=D+Math.imul(st,et)|0,O=Math.imul(st,Ye),k=k+Math.imul(me,Ht)|0,D=D+Math.imul(me,Mt)|0,D=D+Math.imul(pe,Ht)|0,O=O+Math.imul(pe,Mt)|0,k=k+Math.imul(z,Dt)|0,D=D+Math.imul(z,yt)|0,D=D+Math.imul(ie,Dt)|0,O=O+Math.imul(ie,yt)|0,k=k+Math.imul(J,_t)|0,D=D+Math.imul(J,pt)|0,D=D+Math.imul(X,_t)|0,O=O+Math.imul(X,pt)|0;var vr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(vr>>>26)|0,vr&=67108863,k=Math.imul(Tt,et),D=Math.imul(Tt,Ye),D=D+Math.imul(lt,et)|0,O=Math.imul(lt,Ye),k=k+Math.imul(mt,Ht)|0,D=D+Math.imul(mt,Mt)|0,D=D+Math.imul(st,Ht)|0,O=O+Math.imul(st,Mt)|0,k=k+Math.imul(me,Dt)|0,D=D+Math.imul(me,yt)|0,D=D+Math.imul(pe,Dt)|0,O=O+Math.imul(pe,yt)|0,k=k+Math.imul(z,_t)|0,D=D+Math.imul(z,pt)|0,D=D+Math.imul(ie,_t)|0,O=O+Math.imul(ie,pt)|0,k=k+Math.imul(J,ur)|0,D=D+Math.imul(J,kt)|0,D=D+Math.imul(X,ur)|0,O=O+Math.imul(X,kt)|0;var dr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(dr>>>26)|0,dr&=67108863,k=Math.imul(ht,et),D=Math.imul(ht,Ye),D=D+Math.imul(at,et)|0,O=Math.imul(at,Ye),k=k+Math.imul(Tt,Ht)|0,D=D+Math.imul(Tt,Mt)|0,D=D+Math.imul(lt,Ht)|0,O=O+Math.imul(lt,Mt)|0,k=k+Math.imul(mt,Dt)|0,D=D+Math.imul(mt,yt)|0,D=D+Math.imul(st,Dt)|0,O=O+Math.imul(st,yt)|0,k=k+Math.imul(me,_t)|0,D=D+Math.imul(me,pt)|0,D=D+Math.imul(pe,_t)|0,O=O+Math.imul(pe,pt)|0,k=k+Math.imul(z,ur)|0,D=D+Math.imul(z,kt)|0,D=D+Math.imul(ie,ur)|0,O=O+Math.imul(ie,kt)|0,k=k+Math.imul(J,Wr)|0,D=D+Math.imul(J,zt)|0,D=D+Math.imul(X,Wr)|0,O=O+Math.imul(X,zt)|0;var Ir=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,k=Math.imul(jt,et),D=Math.imul(jt,Ye),D=D+Math.imul(Ge,et)|0,O=Math.imul(Ge,Ye),k=k+Math.imul(ht,Ht)|0,D=D+Math.imul(ht,Mt)|0,D=D+Math.imul(at,Ht)|0,O=O+Math.imul(at,Mt)|0,k=k+Math.imul(Tt,Dt)|0,D=D+Math.imul(Tt,yt)|0,D=D+Math.imul(lt,Dt)|0,O=O+Math.imul(lt,yt)|0,k=k+Math.imul(mt,_t)|0,D=D+Math.imul(mt,pt)|0,D=D+Math.imul(st,_t)|0,O=O+Math.imul(st,pt)|0,k=k+Math.imul(me,ur)|0,D=D+Math.imul(me,kt)|0,D=D+Math.imul(pe,ur)|0,O=O+Math.imul(pe,kt)|0,k=k+Math.imul(z,Wr)|0,D=D+Math.imul(z,zt)|0,D=D+Math.imul(ie,Wr)|0,O=O+Math.imul(ie,zt)|0,k=k+Math.imul(J,$e)|0,D=D+Math.imul(J,be)|0,D=D+Math.imul(X,$e)|0,O=O+Math.imul(X,be)|0;var kr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(kr>>>26)|0,kr&=67108863,k=Math.imul(Wt,et),D=Math.imul(Wt,Ye),D=D+Math.imul(Et,et)|0,O=Math.imul(Et,Ye),k=k+Math.imul(jt,Ht)|0,D=D+Math.imul(jt,Mt)|0,D=D+Math.imul(Ge,Ht)|0,O=O+Math.imul(Ge,Mt)|0,k=k+Math.imul(ht,Dt)|0,D=D+Math.imul(ht,yt)|0,D=D+Math.imul(at,Dt)|0,O=O+Math.imul(at,yt)|0,k=k+Math.imul(Tt,_t)|0,D=D+Math.imul(Tt,pt)|0,D=D+Math.imul(lt,_t)|0,O=O+Math.imul(lt,pt)|0,k=k+Math.imul(mt,ur)|0,D=D+Math.imul(mt,kt)|0,D=D+Math.imul(st,ur)|0,O=O+Math.imul(st,kt)|0,k=k+Math.imul(me,Wr)|0,D=D+Math.imul(me,zt)|0,D=D+Math.imul(pe,Wr)|0,O=O+Math.imul(pe,zt)|0,k=k+Math.imul(z,$e)|0,D=D+Math.imul(z,be)|0,D=D+Math.imul(ie,$e)|0,O=O+Math.imul(ie,be)|0,k=k+Math.imul(J,se)|0,D=D+Math.imul(J,Pe)|0,D=D+Math.imul(X,se)|0,O=O+Math.imul(X,Pe)|0;var Fr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Fr>>>26)|0,Fr&=67108863,k=Math.imul(Kt,et),D=Math.imul(Kt,Ye),D=D+Math.imul(Me,et)|0,O=Math.imul(Me,Ye),k=k+Math.imul(Wt,Ht)|0,D=D+Math.imul(Wt,Mt)|0,D=D+Math.imul(Et,Ht)|0,O=O+Math.imul(Et,Mt)|0,k=k+Math.imul(jt,Dt)|0,D=D+Math.imul(jt,yt)|0,D=D+Math.imul(Ge,Dt)|0,O=O+Math.imul(Ge,yt)|0,k=k+Math.imul(ht,_t)|0,D=D+Math.imul(ht,pt)|0,D=D+Math.imul(at,_t)|0,O=O+Math.imul(at,pt)|0,k=k+Math.imul(Tt,ur)|0,D=D+Math.imul(Tt,kt)|0,D=D+Math.imul(lt,ur)|0,O=O+Math.imul(lt,kt)|0,k=k+Math.imul(mt,Wr)|0,D=D+Math.imul(mt,zt)|0,D=D+Math.imul(st,Wr)|0,O=O+Math.imul(st,zt)|0,k=k+Math.imul(me,$e)|0,D=D+Math.imul(me,be)|0,D=D+Math.imul(pe,$e)|0,O=O+Math.imul(pe,be)|0,k=k+Math.imul(z,se)|0,D=D+Math.imul(z,Pe)|0,D=D+Math.imul(ie,se)|0,O=O+Math.imul(ie,Pe)|0,k=k+Math.imul(J,xt)|0,D=D+Math.imul(J,ot)|0,D=D+Math.imul(X,xt)|0,O=O+Math.imul(X,ot)|0;var jr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(jr>>>26)|0,jr&=67108863,k=Math.imul(_e,et),D=Math.imul(_e,Ye),D=D+Math.imul(je,et)|0,O=Math.imul(je,Ye),k=k+Math.imul(Kt,Ht)|0,D=D+Math.imul(Kt,Mt)|0,D=D+Math.imul(Me,Ht)|0,O=O+Math.imul(Me,Mt)|0,k=k+Math.imul(Wt,Dt)|0,D=D+Math.imul(Wt,yt)|0,D=D+Math.imul(Et,Dt)|0,O=O+Math.imul(Et,yt)|0,k=k+Math.imul(jt,_t)|0,D=D+Math.imul(jt,pt)|0,D=D+Math.imul(Ge,_t)|0,O=O+Math.imul(Ge,pt)|0,k=k+Math.imul(ht,ur)|0,D=D+Math.imul(ht,kt)|0,D=D+Math.imul(at,ur)|0,O=O+Math.imul(at,kt)|0,k=k+Math.imul(Tt,Wr)|0,D=D+Math.imul(Tt,zt)|0,D=D+Math.imul(lt,Wr)|0,O=O+Math.imul(lt,zt)|0,k=k+Math.imul(mt,$e)|0,D=D+Math.imul(mt,be)|0,D=D+Math.imul(st,$e)|0,O=O+Math.imul(st,be)|0,k=k+Math.imul(me,se)|0,D=D+Math.imul(me,Pe)|0,D=D+Math.imul(pe,se)|0,O=O+Math.imul(pe,Pe)|0,k=k+Math.imul(z,xt)|0,D=D+Math.imul(z,ot)|0,D=D+Math.imul(ie,xt)|0,O=O+Math.imul(ie,ot)|0,k=k+Math.imul(J,Yt)|0,D=D+Math.imul(J,Jt)|0,D=D+Math.imul(X,Yt)|0,O=O+Math.imul(X,Jt)|0;var Cr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,k=Math.imul(_e,Ht),D=Math.imul(_e,Mt),D=D+Math.imul(je,Ht)|0,O=Math.imul(je,Mt),k=k+Math.imul(Kt,Dt)|0,D=D+Math.imul(Kt,yt)|0,D=D+Math.imul(Me,Dt)|0,O=O+Math.imul(Me,yt)|0,k=k+Math.imul(Wt,_t)|0,D=D+Math.imul(Wt,pt)|0,D=D+Math.imul(Et,_t)|0,O=O+Math.imul(Et,pt)|0,k=k+Math.imul(jt,ur)|0,D=D+Math.imul(jt,kt)|0,D=D+Math.imul(Ge,ur)|0,O=O+Math.imul(Ge,kt)|0,k=k+Math.imul(ht,Wr)|0,D=D+Math.imul(ht,zt)|0,D=D+Math.imul(at,Wr)|0,O=O+Math.imul(at,zt)|0,k=k+Math.imul(Tt,$e)|0,D=D+Math.imul(Tt,be)|0,D=D+Math.imul(lt,$e)|0,O=O+Math.imul(lt,be)|0,k=k+Math.imul(mt,se)|0,D=D+Math.imul(mt,Pe)|0,D=D+Math.imul(st,se)|0,O=O+Math.imul(st,Pe)|0,k=k+Math.imul(me,xt)|0,D=D+Math.imul(me,ot)|0,D=D+Math.imul(pe,xt)|0,O=O+Math.imul(pe,ot)|0,k=k+Math.imul(z,Yt)|0,D=D+Math.imul(z,Jt)|0,D=D+Math.imul(ie,Yt)|0,O=O+Math.imul(ie,Jt)|0;var Lr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,k=Math.imul(_e,Dt),D=Math.imul(_e,yt),D=D+Math.imul(je,Dt)|0,O=Math.imul(je,yt),k=k+Math.imul(Kt,_t)|0,D=D+Math.imul(Kt,pt)|0,D=D+Math.imul(Me,_t)|0,O=O+Math.imul(Me,pt)|0,k=k+Math.imul(Wt,ur)|0,D=D+Math.imul(Wt,kt)|0,D=D+Math.imul(Et,ur)|0,O=O+Math.imul(Et,kt)|0,k=k+Math.imul(jt,Wr)|0,D=D+Math.imul(jt,zt)|0,D=D+Math.imul(Ge,Wr)|0,O=O+Math.imul(Ge,zt)|0,k=k+Math.imul(ht,$e)|0,D=D+Math.imul(ht,be)|0,D=D+Math.imul(at,$e)|0,O=O+Math.imul(at,be)|0,k=k+Math.imul(Tt,se)|0,D=D+Math.imul(Tt,Pe)|0,D=D+Math.imul(lt,se)|0,O=O+Math.imul(lt,Pe)|0,k=k+Math.imul(mt,xt)|0,D=D+Math.imul(mt,ot)|0,D=D+Math.imul(st,xt)|0,O=O+Math.imul(st,ot)|0,k=k+Math.imul(me,Yt)|0,D=D+Math.imul(me,Jt)|0,D=D+Math.imul(pe,Yt)|0,O=O+Math.imul(pe,Jt)|0;var Ar=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,k=Math.imul(_e,_t),D=Math.imul(_e,pt),D=D+Math.imul(je,_t)|0,O=Math.imul(je,pt),k=k+Math.imul(Kt,ur)|0,D=D+Math.imul(Kt,kt)|0,D=D+Math.imul(Me,ur)|0,O=O+Math.imul(Me,kt)|0,k=k+Math.imul(Wt,Wr)|0,D=D+Math.imul(Wt,zt)|0,D=D+Math.imul(Et,Wr)|0,O=O+Math.imul(Et,zt)|0,k=k+Math.imul(jt,$e)|0,D=D+Math.imul(jt,be)|0,D=D+Math.imul(Ge,$e)|0,O=O+Math.imul(Ge,be)|0,k=k+Math.imul(ht,se)|0,D=D+Math.imul(ht,Pe)|0,D=D+Math.imul(at,se)|0,O=O+Math.imul(at,Pe)|0,k=k+Math.imul(Tt,xt)|0,D=D+Math.imul(Tt,ot)|0,D=D+Math.imul(lt,xt)|0,O=O+Math.imul(lt,ot)|0,k=k+Math.imul(mt,Yt)|0,D=D+Math.imul(mt,Jt)|0,D=D+Math.imul(st,Yt)|0,O=O+Math.imul(st,Jt)|0;var Tr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,k=Math.imul(_e,ur),D=Math.imul(_e,kt),D=D+Math.imul(je,ur)|0,O=Math.imul(je,kt),k=k+Math.imul(Kt,Wr)|0,D=D+Math.imul(Kt,zt)|0,D=D+Math.imul(Me,Wr)|0,O=O+Math.imul(Me,zt)|0,k=k+Math.imul(Wt,$e)|0,D=D+Math.imul(Wt,be)|0,D=D+Math.imul(Et,$e)|0,O=O+Math.imul(Et,be)|0,k=k+Math.imul(jt,se)|0,D=D+Math.imul(jt,Pe)|0,D=D+Math.imul(Ge,se)|0,O=O+Math.imul(Ge,Pe)|0,k=k+Math.imul(ht,xt)|0,D=D+Math.imul(ht,ot)|0,D=D+Math.imul(at,xt)|0,O=O+Math.imul(at,ot)|0,k=k+Math.imul(Tt,Yt)|0,D=D+Math.imul(Tt,Jt)|0,D=D+Math.imul(lt,Yt)|0,O=O+Math.imul(lt,Jt)|0;var Sr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,k=Math.imul(_e,Wr),D=Math.imul(_e,zt),D=D+Math.imul(je,Wr)|0,O=Math.imul(je,zt),k=k+Math.imul(Kt,$e)|0,D=D+Math.imul(Kt,be)|0,D=D+Math.imul(Me,$e)|0,O=O+Math.imul(Me,be)|0,k=k+Math.imul(Wt,se)|0,D=D+Math.imul(Wt,Pe)|0,D=D+Math.imul(Et,se)|0,O=O+Math.imul(Et,Pe)|0,k=k+Math.imul(jt,xt)|0,D=D+Math.imul(jt,ot)|0,D=D+Math.imul(Ge,xt)|0,O=O+Math.imul(Ge,ot)|0,k=k+Math.imul(ht,Yt)|0,D=D+Math.imul(ht,Jt)|0,D=D+Math.imul(at,Yt)|0,O=O+Math.imul(at,Jt)|0;var rr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(rr>>>26)|0,rr&=67108863,k=Math.imul(_e,$e),D=Math.imul(_e,be),D=D+Math.imul(je,$e)|0,O=Math.imul(je,be),k=k+Math.imul(Kt,se)|0,D=D+Math.imul(Kt,Pe)|0,D=D+Math.imul(Me,se)|0,O=O+Math.imul(Me,Pe)|0,k=k+Math.imul(Wt,xt)|0,D=D+Math.imul(Wt,ot)|0,D=D+Math.imul(Et,xt)|0,O=O+Math.imul(Et,ot)|0,k=k+Math.imul(jt,Yt)|0,D=D+Math.imul(jt,Jt)|0,D=D+Math.imul(Ge,Yt)|0,O=O+Math.imul(Ge,Jt)|0;var Nt=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,k=Math.imul(_e,se),D=Math.imul(_e,Pe),D=D+Math.imul(je,se)|0,O=Math.imul(je,Pe),k=k+Math.imul(Kt,xt)|0,D=D+Math.imul(Kt,ot)|0,D=D+Math.imul(Me,xt)|0,O=O+Math.imul(Me,ot)|0,k=k+Math.imul(Wt,Yt)|0,D=D+Math.imul(Wt,Jt)|0,D=D+Math.imul(Et,Yt)|0,O=O+Math.imul(Et,Jt)|0;var Gt=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,k=Math.imul(_e,xt),D=Math.imul(_e,ot),D=D+Math.imul(je,xt)|0,O=Math.imul(je,ot),k=k+Math.imul(Kt,Yt)|0,D=D+Math.imul(Kt,Jt)|0,D=D+Math.imul(Me,Yt)|0,O=O+Math.imul(Me,Jt)|0;var xr=(d+k|0)+((D&8191)<<13)|0;d=(O+(D>>>13)|0)+(xr>>>26)|0,xr&=67108863,k=Math.imul(_e,Yt),D=Math.imul(_e,Jt),D=D+Math.imul(je,Yt)|0,O=Math.imul(je,Jt);var pr=(d+k|0)+((D&8191)<<13)|0;return d=(O+(D>>>13)|0)+(pr>>>26)|0,pr&=67108863,b[0]=wr,b[1]=lr,b[2]=Rr,b[3]=vr,b[4]=dr,b[5]=Ir,b[6]=kr,b[7]=Fr,b[8]=jr,b[9]=Cr,b[10]=Lr,b[11]=Ar,b[12]=Tr,b[13]=Sr,b[14]=rr,b[15]=Nt,b[16]=Gt,b[17]=xr,b[18]=pr,d!==0&&(b[19]=d,m.length++),m};Math.imul||(N=F);function ee(y,S,c){c.negative=S.negative^y.negative,c.length=y.length+S.length;for(var m=0,x=0,T=0;T<c.length-1;T++){var b=x;x=0;for(var d=m&67108863,k=Math.min(T,S.length-1),D=Math.max(0,T-y.length+1);D<=k;D++){var O=T-D,Q=y.words[O]|0,J=S.words[D]|0,X=Q*J,U=X&67108863;b=b+(X/67108864|0)|0,U=U+d|0,d=U&67108863,b=b+(U>>>26)|0,x+=b>>>26,b&=67108863}c.words[T]=d,m=b,b=x}return m!==0?c.words[T]=m:c.length--,c._strip()}function Z(y,S,c){return ee(y,S,c)}u.prototype.mulTo=function(S,c){var m,x=this.length+S.length;return this.length===10&&S.length===10?m=N(this,S,c):x<63?m=F(this,S,c):x<1024?m=ee(this,S,c):m=Z(this,S,c),m},u.prototype.mul=function(S){var c=new u(null);return c.words=new Array(this.length+S.length),this.mulTo(S,c)},u.prototype.mulf=function(S){var c=new u(null);return c.words=new Array(this.length+S.length),Z(this,S,c)},u.prototype.imul=function(S){return this.clone().mulTo(S,this)},u.prototype.imuln=function(S){var c=S<0;c&&(S=-S),l(typeof S=="number"),l(S<67108864);for(var m=0,x=0;x<this.length;x++){var T=(this.words[x]|0)*S,b=(T&67108863)+(m&67108863);m>>=26,m+=T/67108864|0,m+=b>>>26,this.words[x]=b&67108863}return m!==0&&(this.words[x]=m,this.length++),c?this.ineg():this},u.prototype.muln=function(S){return this.clone().imuln(S)},u.prototype.sqr=function(){return this.mul(this)},u.prototype.isqr=function(){return this.imul(this.clone())},u.prototype.pow=function(S){var c=B(S);if(c.length===0)return new u(1);for(var m=this,x=0;x<c.length&&c[x]===0;x++,m=m.sqr());if(++x<c.length)for(var T=m.sqr();x<c.length;x++,T=T.sqr())c[x]!==0&&(m=m.mul(T));return m},u.prototype.iushln=function(S){l(typeof S=="number"&&S>=0);var c=S%26,m=(S-c)/26,x=67108863>>>26-c<<26-c,T;if(c!==0){var b=0;for(T=0;T<this.length;T++){var d=this.words[T]&x,k=(this.words[T]|0)-d<<c;this.words[T]=k|b,b=d>>>26-c}b&&(this.words[T]=b,this.length++)}if(m!==0){for(T=this.length-1;T>=0;T--)this.words[T+m]=this.words[T];for(T=0;T<m;T++)this.words[T]=0;this.length+=m}return this._strip()},u.prototype.ishln=function(S){return l(this.negative===0),this.iushln(S)},u.prototype.iushrn=function(S,c,m){l(typeof S=="number"&&S>=0);var x;c?x=(c-c%26)/26:x=0;var T=S%26,b=Math.min((S-T)/26,this.length),d=67108863^67108863>>>T<<T,k=m;if(x-=b,x=Math.max(0,x),k){for(var D=0;D<b;D++)k.words[D]=this.words[D];k.length=b}if(b!==0)if(this.length>b)for(this.length-=b,D=0;D<this.length;D++)this.words[D]=this.words[D+b];else this.words[0]=0,this.length=1;var O=0;for(D=this.length-1;D>=0&&(O!==0||D>=x);D--){var Q=this.words[D]|0;this.words[D]=O<<26-T|Q>>>T,O=Q&d}return k&&O!==0&&(k.words[k.length++]=O),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},u.prototype.ishrn=function(S,c,m){return l(this.negative===0),this.iushrn(S,c,m)},u.prototype.shln=function(S){return this.clone().ishln(S)},u.prototype.ushln=function(S){return this.clone().iushln(S)},u.prototype.shrn=function(S){return this.clone().ishrn(S)},u.prototype.ushrn=function(S){return this.clone().iushrn(S)},u.prototype.testn=function(S){l(typeof S=="number"&&S>=0);var c=S%26,m=(S-c)/26,x=1<<c;if(this.length<=m)return!1;var T=this.words[m];return!!(T&x)},u.prototype.imaskn=function(S){l(typeof S=="number"&&S>=0);var c=S%26,m=(S-c)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=m)return this;if(c!==0&&m++,this.length=Math.min(m,this.length),c!==0){var x=67108863^67108863>>>c<<c;this.words[this.length-1]&=x}return this._strip()},u.prototype.maskn=function(S){return this.clone().imaskn(S)},u.prototype.iaddn=function(S){return l(typeof S=="number"),l(S<67108864),S<0?this.isubn(-S):this.negative!==0?this.length===1&&(this.words[0]|0)<=S?(this.words[0]=S-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(S),this.negative=1,this):this._iaddn(S)},u.prototype._iaddn=function(S){this.words[0]+=S;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},u.prototype.isubn=function(S){if(l(typeof S=="number"),l(S<67108864),S<0)return this.iaddn(-S);if(this.negative!==0)return this.negative=0,this.iaddn(S),this.negative=1,this;if(this.words[0]-=S,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this._strip()},u.prototype.addn=function(S){return this.clone().iaddn(S)},u.prototype.subn=function(S){return this.clone().isubn(S)},u.prototype.iabs=function(){return this.negative=0,this},u.prototype.abs=function(){return this.clone().iabs()},u.prototype._ishlnsubmul=function(S,c,m){var x=S.length+m,T;this._expand(x);var b,d=0;for(T=0;T<S.length;T++){b=(this.words[T+m]|0)+d;var k=(S.words[T]|0)*c;b-=k&67108863,d=(b>>26)-(k/67108864|0),this.words[T+m]=b&67108863}for(;T<this.length-m;T++)b=(this.words[T+m]|0)+d,d=b>>26,this.words[T+m]=b&67108863;if(d===0)return this._strip();for(l(d===-1),d=0,T=0;T<this.length;T++)b=-(this.words[T]|0)+d,d=b>>26,this.words[T]=b&67108863;return this.negative=1,this._strip()},u.prototype._wordDiv=function(S,c){var m=this.length-S.length,x=this.clone(),T=S,b=T.words[T.length-1]|0,d=this._countBits(b);m=26-d,m!==0&&(T=T.ushln(m),x.iushln(m),b=T.words[T.length-1]|0);var k=x.length-T.length,D;if(c!=="mod"){D=new u(null),D.length=k+1,D.words=new Array(D.length);for(var O=0;O<D.length;O++)D.words[O]=0}var Q=x.clone()._ishlnsubmul(T,1,k);Q.negative===0&&(x=Q,D&&(D.words[k]=1));for(var J=k-1;J>=0;J--){var X=(x.words[T.length+J]|0)*67108864+(x.words[T.length+J-1]|0);for(X=Math.min(X/b|0,67108863),x._ishlnsubmul(T,X,J);x.negative!==0;)X--,x.negative=0,x._ishlnsubmul(T,1,J),x.isZero()||(x.negative^=1);D&&(D.words[J]=X)}return D&&D._strip(),x._strip(),c!=="div"&&m!==0&&x.iushrn(m),{div:D||null,mod:x}},u.prototype.divmod=function(S,c,m){if(l(!S.isZero()),this.isZero())return{div:new u(0),mod:new u(0)};var x,T,b;return this.negative!==0&&S.negative===0?(b=this.neg().divmod(S,c),c!=="mod"&&(x=b.div.neg()),c!=="div"&&(T=b.mod.neg(),m&&T.negative!==0&&T.iadd(S)),{div:x,mod:T}):this.negative===0&&S.negative!==0?(b=this.divmod(S.neg(),c),c!=="mod"&&(x=b.div.neg()),{div:x,mod:b.mod}):this.negative&S.negative?(b=this.neg().divmod(S.neg(),c),c!=="div"&&(T=b.mod.neg(),m&&T.negative!==0&&T.isub(S)),{div:b.div,mod:T}):S.length>this.length||this.cmp(S)<0?{div:new u(0),mod:this}:S.length===1?c==="div"?{div:this.divn(S.words[0]),mod:null}:c==="mod"?{div:null,mod:new u(this.modrn(S.words[0]))}:{div:this.divn(S.words[0]),mod:new u(this.modrn(S.words[0]))}:this._wordDiv(S,c)},u.prototype.div=function(S){return this.divmod(S,"div",!1).div},u.prototype.mod=function(S){return this.divmod(S,"mod",!1).mod},u.prototype.umod=function(S){return this.divmod(S,"mod",!0).mod},u.prototype.divRound=function(S){var c=this.divmod(S);if(c.mod.isZero())return c.div;var m=c.div.negative!==0?c.mod.isub(S):c.mod,x=S.ushrn(1),T=S.andln(1),b=m.cmp(x);return b<0||T===1&&b===0?c.div:c.div.negative!==0?c.div.isubn(1):c.div.iaddn(1)},u.prototype.modrn=function(S){var c=S<0;c&&(S=-S),l(S<=67108863);for(var m=(1<<26)%S,x=0,T=this.length-1;T>=0;T--)x=(m*x+(this.words[T]|0))%S;return c?-x:x},u.prototype.modn=function(S){return this.modrn(S)},u.prototype.idivn=function(S){var c=S<0;c&&(S=-S),l(S<=67108863);for(var m=0,x=this.length-1;x>=0;x--){var T=(this.words[x]|0)+m*67108864;this.words[x]=T/S|0,m=T%S}return this._strip(),c?this.ineg():this},u.prototype.divn=function(S){return this.clone().idivn(S)},u.prototype.egcd=function(S){l(S.negative===0),l(!S.isZero());var c=this,m=S.clone();c.negative!==0?c=c.umod(S):c=c.clone();for(var x=new u(1),T=new u(0),b=new u(0),d=new u(1),k=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++k;for(var D=m.clone(),O=c.clone();!c.isZero();){for(var Q=0,J=1;!(c.words[0]&J)&&Q<26;++Q,J<<=1);if(Q>0)for(c.iushrn(Q);Q-- >0;)(x.isOdd()||T.isOdd())&&(x.iadd(D),T.isub(O)),x.iushrn(1),T.iushrn(1);for(var X=0,U=1;!(m.words[0]&U)&&X<26;++X,U<<=1);if(X>0)for(m.iushrn(X);X-- >0;)(b.isOdd()||d.isOdd())&&(b.iadd(D),d.isub(O)),b.iushrn(1),d.iushrn(1);c.cmp(m)>=0?(c.isub(m),x.isub(b),T.isub(d)):(m.isub(c),b.isub(x),d.isub(T))}return{a:b,b:d,gcd:m.iushln(k)}},u.prototype._invmp=function(S){l(S.negative===0),l(!S.isZero());var c=this,m=S.clone();c.negative!==0?c=c.umod(S):c=c.clone();for(var x=new u(1),T=new u(0),b=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var d=0,k=1;!(c.words[0]&k)&&d<26;++d,k<<=1);if(d>0)for(c.iushrn(d);d-- >0;)x.isOdd()&&x.iadd(b),x.iushrn(1);for(var D=0,O=1;!(m.words[0]&O)&&D<26;++D,O<<=1);if(D>0)for(m.iushrn(D);D-- >0;)T.isOdd()&&T.iadd(b),T.iushrn(1);c.cmp(m)>=0?(c.isub(m),x.isub(T)):(m.isub(c),T.isub(x))}var Q;return c.cmpn(1)===0?Q=x:Q=T,Q.cmpn(0)<0&&Q.iadd(S),Q},u.prototype.gcd=function(S){if(this.isZero())return S.abs();if(S.isZero())return this.abs();var c=this.clone(),m=S.clone();c.negative=0,m.negative=0;for(var x=0;c.isEven()&&m.isEven();x++)c.iushrn(1),m.iushrn(1);do{for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var T=c.cmp(m);if(T<0){var b=c;c=m,m=b}else if(T===0||m.cmpn(1)===0)break;c.isub(m)}while(!0);return m.iushln(x)},u.prototype.invm=function(S){return this.egcd(S).a.umod(S)},u.prototype.isEven=function(){return(this.words[0]&1)===0},u.prototype.isOdd=function(){return(this.words[0]&1)===1},u.prototype.andln=function(S){return this.words[0]&S},u.prototype.bincn=function(S){l(typeof S=="number");var c=S%26,m=(S-c)/26,x=1<<c;if(this.length<=m)return this._expand(m+1),this.words[m]|=x,this;for(var T=x,b=m;T!==0&&b<this.length;b++){var d=this.words[b]|0;d+=T,T=d>>>26,d&=67108863,this.words[b]=d}return T!==0&&(this.words[b]=T,this.length++),this},u.prototype.isZero=function(){return this.length===1&&this.words[0]===0},u.prototype.cmpn=function(S){var c=S<0;if(this.negative!==0&&!c)return-1;if(this.negative===0&&c)return 1;this._strip();var m;if(this.length>1)m=1;else{c&&(S=-S),l(S<=67108863,"Number is too big");var x=this.words[0]|0;m=x===S?0:x<S?-1:1}return this.negative!==0?-m|0:m},u.prototype.cmp=function(S){if(this.negative!==0&&S.negative===0)return-1;if(this.negative===0&&S.negative!==0)return 1;var c=this.ucmp(S);return this.negative!==0?-c|0:c},u.prototype.ucmp=function(S){if(this.length>S.length)return 1;if(this.length<S.length)return-1;for(var c=0,m=this.length-1;m>=0;m--){var x=this.words[m]|0,T=S.words[m]|0;if(x!==T){x<T?c=-1:x>T&&(c=1);break}}return c},u.prototype.gtn=function(S){return this.cmpn(S)===1},u.prototype.gt=function(S){return this.cmp(S)===1},u.prototype.gten=function(S){return this.cmpn(S)>=0},u.prototype.gte=function(S){return this.cmp(S)>=0},u.prototype.ltn=function(S){return this.cmpn(S)===-1},u.prototype.lt=function(S){return this.cmp(S)===-1},u.prototype.lten=function(S){return this.cmpn(S)<=0},u.prototype.lte=function(S){return this.cmp(S)<=0},u.prototype.eqn=function(S){return this.cmpn(S)===0},u.prototype.eq=function(S){return this.cmp(S)===0},u.red=function(S){return new L(S)},u.prototype.toRed=function(S){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),S.convertTo(this)._forceRed(S)},u.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},u.prototype._forceRed=function(S){return this.red=S,this},u.prototype.forceRed=function(S){return l(!this.red,"Already a number in reduction context"),this._forceRed(S)},u.prototype.redAdd=function(S){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,S)},u.prototype.redIAdd=function(S){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,S)},u.prototype.redSub=function(S){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,S)},u.prototype.redISub=function(S){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,S)},u.prototype.redShl=function(S){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,S)},u.prototype.redMul=function(S){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,S),this.red.mul(this,S)},u.prototype.redIMul=function(S){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,S),this.red.imul(this,S)},u.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},u.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},u.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},u.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},u.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},u.prototype.redPow=function(S){return l(this.red&&!S.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,S)};var re={k256:null,p224:null,p192:null,p25519:null};function fe(y,S){this.name=y,this.p=new u(S,16),this.n=this.p.bitLength(),this.k=new u(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}fe.prototype._tmp=function(){var S=new u(null);return S.words=new Array(Math.ceil(this.n/13)),S},fe.prototype.ireduce=function(S){var c=S,m;do this.split(c,this.tmp),c=this.imulK(c),c=c.iadd(this.tmp),m=c.bitLength();while(m>this.n);var x=m<this.n?-1:c.ucmp(this.p);return x===0?(c.words[0]=0,c.length=1):x>0?c.isub(this.p):c.strip!==void 0?c.strip():c._strip(),c},fe.prototype.split=function(S,c){S.iushrn(this.n,0,c)},fe.prototype.imulK=function(S){return S.imul(this.k)};function V(){fe.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}t(V,fe),V.prototype.split=function(S,c){for(var m=4194303,x=Math.min(S.length,9),T=0;T<x;T++)c.words[T]=S.words[T];if(c.length=x,S.length<=9){S.words[0]=0,S.length=1;return}var b=S.words[9];for(c.words[c.length++]=b&m,T=10;T<S.length;T++){var d=S.words[T]|0;S.words[T-10]=(d&m)<<4|b>>>22,b=d}b>>>=22,S.words[T-10]=b,b===0&&S.length>10?S.length-=10:S.length-=9},V.prototype.imulK=function(S){S.words[S.length]=0,S.words[S.length+1]=0,S.length+=2;for(var c=0,m=0;m<S.length;m++){var x=S.words[m]|0;c+=x*977,S.words[m]=c&67108863,c=x*64+(c/67108864|0)}return S.words[S.length-1]===0&&(S.length--,S.words[S.length-1]===0&&S.length--),S};function le(){fe.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}t(le,fe);function he(){fe.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}t(he,fe);function ye(){fe.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}t(ye,fe),ye.prototype.imulK=function(S){for(var c=0,m=0;m<S.length;m++){var x=(S.words[m]|0)*19+c,T=x&67108863;x>>>=26,S.words[m]=T,c=x}return c!==0&&(S.words[S.length++]=c),S},u._prime=function(S){if(re[S])return re[S];var c;if(S==="k256")c=new V;else if(S==="p224")c=new le;else if(S==="p192")c=new he;else if(S==="p25519")c=new ye;else throw new Error("Unknown prime "+S);return re[S]=c,c};function L(y){if(typeof y=="string"){var S=u._prime(y);this.m=S.p,this.prime=S}else l(y.gtn(1),"modulus must be greater than 1"),this.m=y,this.prime=null}L.prototype._verify1=function(S){l(S.negative===0,"red works only with positives"),l(S.red,"red works only with red numbers")},L.prototype._verify2=function(S,c){l((S.negative|c.negative)===0,"red works only with positives"),l(S.red&&S.red===c.red,"red works only with red numbers")},L.prototype.imod=function(S){return this.prime?this.prime.ireduce(S)._forceRed(this):(E(S,S.umod(this.m)._forceRed(this)),S)},L.prototype.neg=function(S){return S.isZero()?S.clone():this.m.sub(S)._forceRed(this)},L.prototype.add=function(S,c){this._verify2(S,c);var m=S.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},L.prototype.iadd=function(S,c){this._verify2(S,c);var m=S.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},L.prototype.sub=function(S,c){this._verify2(S,c);var m=S.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},L.prototype.isub=function(S,c){this._verify2(S,c);var m=S.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},L.prototype.shl=function(S,c){return this._verify1(S),this.imod(S.ushln(c))},L.prototype.imul=function(S,c){return this._verify2(S,c),this.imod(S.imul(c))},L.prototype.mul=function(S,c){return this._verify2(S,c),this.imod(S.mul(c))},L.prototype.isqr=function(S){return this.imul(S,S.clone())},L.prototype.sqr=function(S){return this.mul(S,S)},L.prototype.sqrt=function(S){if(S.isZero())return S.clone();var c=this.m.andln(3);if(l(c%2===1),c===3){var m=this.m.add(new u(1)).iushrn(2);return this.pow(S,m)}for(var x=this.m.subn(1),T=0;!x.isZero()&&x.andln(1)===0;)T++,x.iushrn(1);l(!x.isZero());var b=new u(1).toRed(this),d=b.redNeg(),k=this.m.subn(1).iushrn(1),D=this.m.bitLength();for(D=new u(2*D*D).toRed(this);this.pow(D,k).cmp(d)!==0;)D.redIAdd(d);for(var O=this.pow(D,x),Q=this.pow(S,x.addn(1).iushrn(1)),J=this.pow(S,x),X=T;J.cmp(b)!==0;){for(var U=J,z=0;U.cmp(b)!==0;z++)U=U.redSqr();l(z<X);var ie=this.pow(O,new u(1).iushln(X-z-1));Q=Q.redMul(ie),O=ie.redSqr(),J=J.redMul(O),X=z}return Q},L.prototype.invm=function(S){var c=S._invmp(this.m);return c.negative!==0?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},L.prototype.pow=function(S,c){if(c.isZero())return new u(1).toRed(this);if(c.cmpn(1)===0)return S.clone();var m=4,x=new Array(1<<m);x[0]=new u(1).toRed(this),x[1]=S;for(var T=2;T<x.length;T++)x[T]=this.mul(x[T-1],S);var b=x[0],d=0,k=0,D=c.bitLength()%26;for(D===0&&(D=26),T=c.length-1;T>=0;T--){for(var O=c.words[T],Q=D-1;Q>=0;Q--){var J=O>>Q&1;if(b!==x[0]&&(b=this.sqr(b)),J===0&&d===0){k=0;continue}d<<=1,d|=J,k++,!(k!==m&&(T!==0||Q!==0))&&(b=this.mul(b,x[d]),k=0,d=0)}D=26}return b},L.prototype.convertTo=function(S){var c=S.umod(this.m);return c===S?c.clone():c},L.prototype.convertFrom=function(S){var c=S.clone();return c.red=null,c},u.mont=function(S){return new p(S)};function p(y){L.call(this,y),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new u(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}t(p,L),p.prototype.convertTo=function(S){return this.imod(S.ushln(this.shift))},p.prototype.convertFrom=function(S){var c=this.imod(S.mul(this.rinv));return c.red=null,c},p.prototype.imul=function(S,c){if(S.isZero()||c.isZero())return S.words[0]=0,S.length=1,S;var m=S.imul(c),x=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),T=m.isub(x).iushrn(this.shift),b=T;return T.cmp(this.m)>=0?b=T.isub(this.m):T.cmpn(0)<0&&(b=T.iadd(this.m)),b._forceRed(this)},p.prototype.mul=function(S,c){if(S.isZero()||c.isZero())return new u(0)._forceRed(this);var m=S.mul(c),x=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),T=m.isub(x).iushrn(this.shift),b=T;return T.cmp(this.m)>=0?b=T.isub(this.m):T.cmpn(0)<0&&(b=T.iadd(this.m)),b._forceRed(this)},p.prototype.invm=function(S){var c=this.imod(S._invmp(this.m).mul(this.r2));return c._forceRed(this)}})(n,commonjsGlobal$1)}(bn$4);var bnExports$4=bn$4.exports,BN$a=bnExports$4,randomBytes$1=browserExports;function blind(n){var e=getr(n),o=e.toRed(BN$a.mont(n.modulus)).redPow(new BN$a(n.publicExponent)).fromRed();return{blinder:o,unblinder:e.invm(n.modulus)}}function getr(n){var e=n.modulus.byteLength(),o;do o=new BN$a(randomBytes$1(e));while(o.cmp(n.modulus)>=0||!o.umod(n.prime1)||!o.umod(n.prime2));return o}function crt$2(n,e){var o=blind(e),l=e.modulus.byteLength(),t=new BN$a(n).mul(o.blinder).umod(e.modulus),u=t.toRed(BN$a.mont(e.prime1)),h=t.toRed(BN$a.mont(e.prime2)),v=e.coefficient,w=e.prime1,A=e.prime2,E=u.redPow(e.exponent1).fromRed(),C=h.redPow(e.exponent2).fromRed(),M=E.isub(C).imul(v).umod(w).imul(A);return C.iadd(M).imul(o.unblinder).umod(e.modulus).toArrayLike(Buffer$C,"be",l)}crt$2.getr=getr;var browserifyRsa=crt$2,elliptic={};const name="elliptic",version$1="6.5.7",description$1="EC cryptography",main$1="lib/elliptic.js",files=["lib"],scripts={lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository={type:"git",url:"git@github.com:indutny/elliptic"},keywords=["EC","Elliptic","curve","Cryptography"],author="Fedor Indutny <fedor@indutny.com>",license="MIT",bugs={url:"https://github.com/indutny/elliptic/issues"},homepage="https://github.com/indutny/elliptic",devDependencies={brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies$1={"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},require$$0$1={name,version:version$1,description:description$1,main:main$1,files,scripts,repository,keywords,author,license,bugs,homepage,devDependencies,dependencies:dependencies$1};var utils$o={},bn$3={exports:{}};bn$3.exports,function(n){(function(e,o){function l(L,p){if(!L)throw new Error(p||"Assertion failed")}function t(L,p){L.super_=p;var y=function(){};y.prototype=p.prototype,L.prototype=new y,L.prototype.constructor=L}function u(L,p,y){if(u.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((p==="le"||p==="be")&&(y=p,p=10),this._init(L||0,p||10,y||"be"))}typeof e=="object"?e.exports=u:o.BN=u,u.BN=u,u.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=require$$0$2.Buffer}catch{}u.isBN=function(p){return p instanceof u?!0:p!==null&&typeof p=="object"&&p.constructor.wordSize===u.wordSize&&Array.isArray(p.words)},u.max=function(p,y){return p.cmp(y)>0?p:y},u.min=function(p,y){return p.cmp(y)<0?p:y},u.prototype._init=function(p,y,S){if(typeof p=="number")return this._initNumber(p,y,S);if(typeof p=="object")return this._initArray(p,y,S);y==="hex"&&(y=16),l(y===(y|0)&&y>=2&&y<=36),p=p.toString().replace(/\s+/g,"");var c=0;p[0]==="-"&&(c++,this.negative=1),c<p.length&&(y===16?this._parseHex(p,c,S):(this._parseBase(p,y,c),S==="le"&&this._initArray(this.toArray(),y,S)))},u.prototype._initNumber=function(p,y,S){p<0&&(this.negative=1,p=-p),p<67108864?(this.words=[p&67108863],this.length=1):p<4503599627370496?(this.words=[p&67108863,p/67108864&67108863],this.length=2):(l(p<9007199254740992),this.words=[p&67108863,p/67108864&67108863,1],this.length=3),S==="le"&&this._initArray(this.toArray(),y,S)},u.prototype._initArray=function(p,y,S){if(l(typeof p.length=="number"),p.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(p.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m,x,T=0;if(S==="be")for(c=p.length-1,m=0;c>=0;c-=3)x=p[c]|p[c-1]<<8|p[c-2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);else if(S==="le")for(c=0,m=0;c<p.length;c+=3)x=p[c]|p[c+1]<<8|p[c+2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);return this.strip()};function v(L,p){var y=L.charCodeAt(p);return y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:y-48&15}function w(L,p,y){var S=v(L,y);return y-1>=p&&(S|=v(L,y-1)<<4),S}u.prototype._parseHex=function(p,y,S){this.length=Math.ceil((p.length-y)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m=0,x=0,T;if(S==="be")for(c=p.length-1;c>=y;c-=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8;else{var b=p.length-y;for(c=b%2===0?y+1:y;c<p.length;c+=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8}this.strip()};function A(L,p,y,S){for(var c=0,m=Math.min(L.length,y),x=p;x<m;x++){var T=L.charCodeAt(x)-48;c*=S,T>=49?c+=T-49+10:T>=17?c+=T-17+10:c+=T}return c}u.prototype._parseBase=function(p,y,S){this.words=[0],this.length=1;for(var c=0,m=1;m<=67108863;m*=y)c++;c--,m=m/y|0;for(var x=p.length-S,T=x%c,b=Math.min(x,x-T)+S,d=0,k=S;k<b;k+=c)d=A(p,k,k+c,y),this.imuln(m),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(T!==0){var D=1;for(d=A(p,k,p.length,y),k=0;k<T;k++)D*=y;this.imuln(D),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}this.strip()},u.prototype.copy=function(p){p.words=new Array(this.length);for(var y=0;y<this.length;y++)p.words[y]=this.words[y];p.length=this.length,p.negative=this.negative,p.red=this.red},u.prototype.clone=function(){var p=new u(null);return this.copy(p),p},u.prototype._expand=function(p){for(;this.length<p;)this.words[this.length++]=0;return this},u.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},u.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},u.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],C=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],M=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];u.prototype.toString=function(p,y){p=p||10,y=y|0||1;var S;if(p===16||p==="hex"){S="";for(var c=0,m=0,x=0;x<this.length;x++){var T=this.words[x],b=((T<<c|m)&16777215).toString(16);m=T>>>24-c&16777215,m!==0||x!==this.length-1?S=E[6-b.length]+b+S:S=b+S,c+=2,c>=26&&(c-=26,x--)}for(m!==0&&(S=m.toString(16)+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(p===(p|0)&&p>=2&&p<=36){var d=C[p],k=M[p];S="";var D=this.clone();for(D.negative=0;!D.isZero();){var O=D.modn(k).toString(p);D=D.idivn(k),D.isZero()?S=O+S:S=E[d-O.length]+O+S}for(this.isZero()&&(S="0"+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}l(!1,"Base should be between 2 and 36")},u.prototype.toNumber=function(){var p=this.words[0];return this.length===2?p+=this.words[1]*67108864:this.length===3&&this.words[2]===1?p+=4503599627370496+this.words[1]*67108864:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-p:p},u.prototype.toJSON=function(){return this.toString(16)},u.prototype.toBuffer=function(p,y){return l(typeof h<"u"),this.toArrayLike(h,p,y)},u.prototype.toArray=function(p,y){return this.toArrayLike(Array,p,y)},u.prototype.toArrayLike=function(p,y,S){var c=this.byteLength(),m=S||Math.max(1,c);l(c<=m,"byte array longer than desired length"),l(m>0,"Requested array length <= 0"),this.strip();var x=y==="le",T=new p(m),b,d,k=this.clone();if(x){for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[d]=b;for(;d<m;d++)T[d]=0}else{for(d=0;d<m-c;d++)T[d]=0;for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[m-d-1]=b}return T},Math.clz32?u.prototype._countBits=function(p){return 32-Math.clz32(p)}:u.prototype._countBits=function(p){var y=p,S=0;return y>=4096&&(S+=13,y>>>=13),y>=64&&(S+=7,y>>>=7),y>=8&&(S+=4,y>>>=4),y>=2&&(S+=2,y>>>=2),S+y},u.prototype._zeroBits=function(p){if(p===0)return 26;var y=p,S=0;return y&8191||(S+=13,y>>>=13),y&127||(S+=7,y>>>=7),y&15||(S+=4,y>>>=4),y&3||(S+=2,y>>>=2),y&1||S++,S},u.prototype.bitLength=function(){var p=this.words[this.length-1],y=this._countBits(p);return(this.length-1)*26+y};function P(L){for(var p=new Array(L.bitLength()),y=0;y<p.length;y++){var S=y/26|0,c=y%26;p[y]=(L.words[S]&1<<c)>>>c}return p}u.prototype.zeroBits=function(){if(this.isZero())return 0;for(var p=0,y=0;y<this.length;y++){var S=this._zeroBits(this.words[y]);if(p+=S,S!==26)break}return p},u.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},u.prototype.toTwos=function(p){return this.negative!==0?this.abs().inotn(p).iaddn(1):this.clone()},u.prototype.fromTwos=function(p){return this.testn(p-1)?this.notn(p).iaddn(1).ineg():this.clone()},u.prototype.isNeg=function(){return this.negative!==0},u.prototype.neg=function(){return this.clone().ineg()},u.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},u.prototype.iuor=function(p){for(;this.length<p.length;)this.words[this.length++]=0;for(var y=0;y<p.length;y++)this.words[y]=this.words[y]|p.words[y];return this.strip()},u.prototype.ior=function(p){return l((this.negative|p.negative)===0),this.iuor(p)},u.prototype.or=function(p){return this.length>p.length?this.clone().ior(p):p.clone().ior(this)},u.prototype.uor=function(p){return this.length>p.length?this.clone().iuor(p):p.clone().iuor(this)},u.prototype.iuand=function(p){var y;this.length>p.length?y=p:y=this;for(var S=0;S<y.length;S++)this.words[S]=this.words[S]&p.words[S];return this.length=y.length,this.strip()},u.prototype.iand=function(p){return l((this.negative|p.negative)===0),this.iuand(p)},u.prototype.and=function(p){return this.length>p.length?this.clone().iand(p):p.clone().iand(this)},u.prototype.uand=function(p){return this.length>p.length?this.clone().iuand(p):p.clone().iuand(this)},u.prototype.iuxor=function(p){var y,S;this.length>p.length?(y=this,S=p):(y=p,S=this);for(var c=0;c<S.length;c++)this.words[c]=y.words[c]^S.words[c];if(this!==y)for(;c<y.length;c++)this.words[c]=y.words[c];return this.length=y.length,this.strip()},u.prototype.ixor=function(p){return l((this.negative|p.negative)===0),this.iuxor(p)},u.prototype.xor=function(p){return this.length>p.length?this.clone().ixor(p):p.clone().ixor(this)},u.prototype.uxor=function(p){return this.length>p.length?this.clone().iuxor(p):p.clone().iuxor(this)},u.prototype.inotn=function(p){l(typeof p=="number"&&p>=0);var y=Math.ceil(p/26)|0,S=p%26;this._expand(y),S>0&&y--;for(var c=0;c<y;c++)this.words[c]=~this.words[c]&67108863;return S>0&&(this.words[c]=~this.words[c]&67108863>>26-S),this.strip()},u.prototype.notn=function(p){return this.clone().inotn(p)},u.prototype.setn=function(p,y){l(typeof p=="number"&&p>=0);var S=p/26|0,c=p%26;return this._expand(S+1),y?this.words[S]=this.words[S]|1<<c:this.words[S]=this.words[S]&~(1<<c),this.strip()},u.prototype.iadd=function(p){var y;if(this.negative!==0&&p.negative===0)return this.negative=0,y=this.isub(p),this.negative^=1,this._normSign();if(this.negative===0&&p.negative!==0)return p.negative=0,y=this.isub(p),p.negative=1,y._normSign();var S,c;this.length>p.length?(S=this,c=p):(S=p,c=this);for(var m=0,x=0;x<c.length;x++)y=(S.words[x]|0)+(c.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;for(;m!==0&&x<S.length;x++)y=(S.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;if(this.length=S.length,m!==0)this.words[this.length]=m,this.length++;else if(S!==this)for(;x<S.length;x++)this.words[x]=S.words[x];return this},u.prototype.add=function(p){var y;return p.negative!==0&&this.negative===0?(p.negative=0,y=this.sub(p),p.negative^=1,y):p.negative===0&&this.negative!==0?(this.negative=0,y=p.sub(this),this.negative=1,y):this.length>p.length?this.clone().iadd(p):p.clone().iadd(this)},u.prototype.isub=function(p){if(p.negative!==0){p.negative=0;var y=this.iadd(p);return p.negative=1,y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(p),this.negative=1,this._normSign();var S=this.cmp(p);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,m;S>0?(c=this,m=p):(c=p,m=this);for(var x=0,T=0;T<m.length;T++)y=(c.words[T]|0)-(m.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;for(;x!==0&&T<c.length;T++)y=(c.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;if(x===0&&T<c.length&&c!==this)for(;T<c.length;T++)this.words[T]=c.words[T];return this.length=Math.max(this.length,T),c!==this&&(this.negative=1),this.strip()},u.prototype.sub=function(p){return this.clone().isub(p)};function I(L,p,y){y.negative=p.negative^L.negative;var S=L.length+p.length|0;y.length=S,S=S-1|0;var c=L.words[0]|0,m=p.words[0]|0,x=c*m,T=x&67108863,b=x/67108864|0;y.words[0]=T;for(var d=1;d<S;d++){for(var k=b>>>26,D=b&67108863,O=Math.min(d,p.length-1),Q=Math.max(0,d-L.length+1);Q<=O;Q++){var J=d-Q|0;c=L.words[J]|0,m=p.words[Q]|0,x=c*m+D,k+=x/67108864|0,D=x&67108863}y.words[d]=D|0,b=k|0}return b!==0?y.words[d]=b|0:y.length--,y.strip()}var j=function(p,y,S){var c=p.words,m=y.words,x=S.words,T=0,b,d,k,D=c[0]|0,O=D&8191,Q=D>>>13,J=c[1]|0,X=J&8191,U=J>>>13,z=c[2]|0,ie=z&8191,de=z>>>13,me=c[3]|0,pe=me&8191,qe=me>>>13,mt=c[4]|0,st=mt&8191,dt=mt>>>13,Tt=c[5]|0,lt=Tt&8191,Je=Tt>>>13,ht=c[6]|0,at=ht&8191,bt=ht>>>13,jt=c[7]|0,Ge=jt&8191,Qe=jt>>>13,Wt=c[8]|0,Et=Wt&8191,Ct=Wt>>>13,Kt=c[9]|0,Me=Kt&8191,te=Kt>>>13,_e=m[0]|0,je=_e&8191,We=_e>>>13,et=m[1]|0,Ye=et&8191,De=et>>>13,Ht=m[2]|0,Mt=Ht&8191,ge=Ht>>>13,Dt=m[3]|0,yt=Dt&8191,Ne=Dt>>>13,_t=m[4]|0,pt=_t&8191,Bt=_t>>>13,ur=m[5]|0,kt=ur&8191,Ut=ur>>>13,Wr=m[6]|0,zt=Wr&8191,Qt=Wr>>>13,$e=m[7]|0,be=$e&8191,ve=$e>>>13,se=m[8]|0,Pe=se&8191,ze=se>>>13,xt=m[9]|0,ot=xt&8191,wt=xt>>>13;S.negative=p.negative^y.negative,S.length=19,b=Math.imul(O,je),d=Math.imul(O,We),d=d+Math.imul(Q,je)|0,k=Math.imul(Q,We);var Yt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,b=Math.imul(X,je),d=Math.imul(X,We),d=d+Math.imul(U,je)|0,k=Math.imul(U,We),b=b+Math.imul(O,Ye)|0,d=d+Math.imul(O,De)|0,d=d+Math.imul(Q,Ye)|0,k=k+Math.imul(Q,De)|0;var Jt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,b=Math.imul(ie,je),d=Math.imul(ie,We),d=d+Math.imul(de,je)|0,k=Math.imul(de,We),b=b+Math.imul(X,Ye)|0,d=d+Math.imul(X,De)|0,d=d+Math.imul(U,Ye)|0,k=k+Math.imul(U,De)|0,b=b+Math.imul(O,Mt)|0,d=d+Math.imul(O,ge)|0,d=d+Math.imul(Q,Mt)|0,k=k+Math.imul(Q,ge)|0;var wr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(wr>>>26)|0,wr&=67108863,b=Math.imul(pe,je),d=Math.imul(pe,We),d=d+Math.imul(qe,je)|0,k=Math.imul(qe,We),b=b+Math.imul(ie,Ye)|0,d=d+Math.imul(ie,De)|0,d=d+Math.imul(de,Ye)|0,k=k+Math.imul(de,De)|0,b=b+Math.imul(X,Mt)|0,d=d+Math.imul(X,ge)|0,d=d+Math.imul(U,Mt)|0,k=k+Math.imul(U,ge)|0,b=b+Math.imul(O,yt)|0,d=d+Math.imul(O,Ne)|0,d=d+Math.imul(Q,yt)|0,k=k+Math.imul(Q,Ne)|0;var lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(lr>>>26)|0,lr&=67108863,b=Math.imul(st,je),d=Math.imul(st,We),d=d+Math.imul(dt,je)|0,k=Math.imul(dt,We),b=b+Math.imul(pe,Ye)|0,d=d+Math.imul(pe,De)|0,d=d+Math.imul(qe,Ye)|0,k=k+Math.imul(qe,De)|0,b=b+Math.imul(ie,Mt)|0,d=d+Math.imul(ie,ge)|0,d=d+Math.imul(de,Mt)|0,k=k+Math.imul(de,ge)|0,b=b+Math.imul(X,yt)|0,d=d+Math.imul(X,Ne)|0,d=d+Math.imul(U,yt)|0,k=k+Math.imul(U,Ne)|0,b=b+Math.imul(O,pt)|0,d=d+Math.imul(O,Bt)|0,d=d+Math.imul(Q,pt)|0,k=k+Math.imul(Q,Bt)|0;var Rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Rr>>>26)|0,Rr&=67108863,b=Math.imul(lt,je),d=Math.imul(lt,We),d=d+Math.imul(Je,je)|0,k=Math.imul(Je,We),b=b+Math.imul(st,Ye)|0,d=d+Math.imul(st,De)|0,d=d+Math.imul(dt,Ye)|0,k=k+Math.imul(dt,De)|0,b=b+Math.imul(pe,Mt)|0,d=d+Math.imul(pe,ge)|0,d=d+Math.imul(qe,Mt)|0,k=k+Math.imul(qe,ge)|0,b=b+Math.imul(ie,yt)|0,d=d+Math.imul(ie,Ne)|0,d=d+Math.imul(de,yt)|0,k=k+Math.imul(de,Ne)|0,b=b+Math.imul(X,pt)|0,d=d+Math.imul(X,Bt)|0,d=d+Math.imul(U,pt)|0,k=k+Math.imul(U,Bt)|0,b=b+Math.imul(O,kt)|0,d=d+Math.imul(O,Ut)|0,d=d+Math.imul(Q,kt)|0,k=k+Math.imul(Q,Ut)|0;var vr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(vr>>>26)|0,vr&=67108863,b=Math.imul(at,je),d=Math.imul(at,We),d=d+Math.imul(bt,je)|0,k=Math.imul(bt,We),b=b+Math.imul(lt,Ye)|0,d=d+Math.imul(lt,De)|0,d=d+Math.imul(Je,Ye)|0,k=k+Math.imul(Je,De)|0,b=b+Math.imul(st,Mt)|0,d=d+Math.imul(st,ge)|0,d=d+Math.imul(dt,Mt)|0,k=k+Math.imul(dt,ge)|0,b=b+Math.imul(pe,yt)|0,d=d+Math.imul(pe,Ne)|0,d=d+Math.imul(qe,yt)|0,k=k+Math.imul(qe,Ne)|0,b=b+Math.imul(ie,pt)|0,d=d+Math.imul(ie,Bt)|0,d=d+Math.imul(de,pt)|0,k=k+Math.imul(de,Bt)|0,b=b+Math.imul(X,kt)|0,d=d+Math.imul(X,Ut)|0,d=d+Math.imul(U,kt)|0,k=k+Math.imul(U,Ut)|0,b=b+Math.imul(O,zt)|0,d=d+Math.imul(O,Qt)|0,d=d+Math.imul(Q,zt)|0,k=k+Math.imul(Q,Qt)|0;var dr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(dr>>>26)|0,dr&=67108863,b=Math.imul(Ge,je),d=Math.imul(Ge,We),d=d+Math.imul(Qe,je)|0,k=Math.imul(Qe,We),b=b+Math.imul(at,Ye)|0,d=d+Math.imul(at,De)|0,d=d+Math.imul(bt,Ye)|0,k=k+Math.imul(bt,De)|0,b=b+Math.imul(lt,Mt)|0,d=d+Math.imul(lt,ge)|0,d=d+Math.imul(Je,Mt)|0,k=k+Math.imul(Je,ge)|0,b=b+Math.imul(st,yt)|0,d=d+Math.imul(st,Ne)|0,d=d+Math.imul(dt,yt)|0,k=k+Math.imul(dt,Ne)|0,b=b+Math.imul(pe,pt)|0,d=d+Math.imul(pe,Bt)|0,d=d+Math.imul(qe,pt)|0,k=k+Math.imul(qe,Bt)|0,b=b+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ut)|0,d=d+Math.imul(de,kt)|0,k=k+Math.imul(de,Ut)|0,b=b+Math.imul(X,zt)|0,d=d+Math.imul(X,Qt)|0,d=d+Math.imul(U,zt)|0,k=k+Math.imul(U,Qt)|0,b=b+Math.imul(O,be)|0,d=d+Math.imul(O,ve)|0,d=d+Math.imul(Q,be)|0,k=k+Math.imul(Q,ve)|0;var Ir=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,b=Math.imul(Et,je),d=Math.imul(Et,We),d=d+Math.imul(Ct,je)|0,k=Math.imul(Ct,We),b=b+Math.imul(Ge,Ye)|0,d=d+Math.imul(Ge,De)|0,d=d+Math.imul(Qe,Ye)|0,k=k+Math.imul(Qe,De)|0,b=b+Math.imul(at,Mt)|0,d=d+Math.imul(at,ge)|0,d=d+Math.imul(bt,Mt)|0,k=k+Math.imul(bt,ge)|0,b=b+Math.imul(lt,yt)|0,d=d+Math.imul(lt,Ne)|0,d=d+Math.imul(Je,yt)|0,k=k+Math.imul(Je,Ne)|0,b=b+Math.imul(st,pt)|0,d=d+Math.imul(st,Bt)|0,d=d+Math.imul(dt,pt)|0,k=k+Math.imul(dt,Bt)|0,b=b+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ut)|0,d=d+Math.imul(qe,kt)|0,k=k+Math.imul(qe,Ut)|0,b=b+Math.imul(ie,zt)|0,d=d+Math.imul(ie,Qt)|0,d=d+Math.imul(de,zt)|0,k=k+Math.imul(de,Qt)|0,b=b+Math.imul(X,be)|0,d=d+Math.imul(X,ve)|0,d=d+Math.imul(U,be)|0,k=k+Math.imul(U,ve)|0,b=b+Math.imul(O,Pe)|0,d=d+Math.imul(O,ze)|0,d=d+Math.imul(Q,Pe)|0,k=k+Math.imul(Q,ze)|0;var kr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(kr>>>26)|0,kr&=67108863,b=Math.imul(Me,je),d=Math.imul(Me,We),d=d+Math.imul(te,je)|0,k=Math.imul(te,We),b=b+Math.imul(Et,Ye)|0,d=d+Math.imul(Et,De)|0,d=d+Math.imul(Ct,Ye)|0,k=k+Math.imul(Ct,De)|0,b=b+Math.imul(Ge,Mt)|0,d=d+Math.imul(Ge,ge)|0,d=d+Math.imul(Qe,Mt)|0,k=k+Math.imul(Qe,ge)|0,b=b+Math.imul(at,yt)|0,d=d+Math.imul(at,Ne)|0,d=d+Math.imul(bt,yt)|0,k=k+Math.imul(bt,Ne)|0,b=b+Math.imul(lt,pt)|0,d=d+Math.imul(lt,Bt)|0,d=d+Math.imul(Je,pt)|0,k=k+Math.imul(Je,Bt)|0,b=b+Math.imul(st,kt)|0,d=d+Math.imul(st,Ut)|0,d=d+Math.imul(dt,kt)|0,k=k+Math.imul(dt,Ut)|0,b=b+Math.imul(pe,zt)|0,d=d+Math.imul(pe,Qt)|0,d=d+Math.imul(qe,zt)|0,k=k+Math.imul(qe,Qt)|0,b=b+Math.imul(ie,be)|0,d=d+Math.imul(ie,ve)|0,d=d+Math.imul(de,be)|0,k=k+Math.imul(de,ve)|0,b=b+Math.imul(X,Pe)|0,d=d+Math.imul(X,ze)|0,d=d+Math.imul(U,Pe)|0,k=k+Math.imul(U,ze)|0,b=b+Math.imul(O,ot)|0,d=d+Math.imul(O,wt)|0,d=d+Math.imul(Q,ot)|0,k=k+Math.imul(Q,wt)|0;var Fr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Fr>>>26)|0,Fr&=67108863,b=Math.imul(Me,Ye),d=Math.imul(Me,De),d=d+Math.imul(te,Ye)|0,k=Math.imul(te,De),b=b+Math.imul(Et,Mt)|0,d=d+Math.imul(Et,ge)|0,d=d+Math.imul(Ct,Mt)|0,k=k+Math.imul(Ct,ge)|0,b=b+Math.imul(Ge,yt)|0,d=d+Math.imul(Ge,Ne)|0,d=d+Math.imul(Qe,yt)|0,k=k+Math.imul(Qe,Ne)|0,b=b+Math.imul(at,pt)|0,d=d+Math.imul(at,Bt)|0,d=d+Math.imul(bt,pt)|0,k=k+Math.imul(bt,Bt)|0,b=b+Math.imul(lt,kt)|0,d=d+Math.imul(lt,Ut)|0,d=d+Math.imul(Je,kt)|0,k=k+Math.imul(Je,Ut)|0,b=b+Math.imul(st,zt)|0,d=d+Math.imul(st,Qt)|0,d=d+Math.imul(dt,zt)|0,k=k+Math.imul(dt,Qt)|0,b=b+Math.imul(pe,be)|0,d=d+Math.imul(pe,ve)|0,d=d+Math.imul(qe,be)|0,k=k+Math.imul(qe,ve)|0,b=b+Math.imul(ie,Pe)|0,d=d+Math.imul(ie,ze)|0,d=d+Math.imul(de,Pe)|0,k=k+Math.imul(de,ze)|0,b=b+Math.imul(X,ot)|0,d=d+Math.imul(X,wt)|0,d=d+Math.imul(U,ot)|0,k=k+Math.imul(U,wt)|0;var jr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(jr>>>26)|0,jr&=67108863,b=Math.imul(Me,Mt),d=Math.imul(Me,ge),d=d+Math.imul(te,Mt)|0,k=Math.imul(te,ge),b=b+Math.imul(Et,yt)|0,d=d+Math.imul(Et,Ne)|0,d=d+Math.imul(Ct,yt)|0,k=k+Math.imul(Ct,Ne)|0,b=b+Math.imul(Ge,pt)|0,d=d+Math.imul(Ge,Bt)|0,d=d+Math.imul(Qe,pt)|0,k=k+Math.imul(Qe,Bt)|0,b=b+Math.imul(at,kt)|0,d=d+Math.imul(at,Ut)|0,d=d+Math.imul(bt,kt)|0,k=k+Math.imul(bt,Ut)|0,b=b+Math.imul(lt,zt)|0,d=d+Math.imul(lt,Qt)|0,d=d+Math.imul(Je,zt)|0,k=k+Math.imul(Je,Qt)|0,b=b+Math.imul(st,be)|0,d=d+Math.imul(st,ve)|0,d=d+Math.imul(dt,be)|0,k=k+Math.imul(dt,ve)|0,b=b+Math.imul(pe,Pe)|0,d=d+Math.imul(pe,ze)|0,d=d+Math.imul(qe,Pe)|0,k=k+Math.imul(qe,ze)|0,b=b+Math.imul(ie,ot)|0,d=d+Math.imul(ie,wt)|0,d=d+Math.imul(de,ot)|0,k=k+Math.imul(de,wt)|0;var Cr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,b=Math.imul(Me,yt),d=Math.imul(Me,Ne),d=d+Math.imul(te,yt)|0,k=Math.imul(te,Ne),b=b+Math.imul(Et,pt)|0,d=d+Math.imul(Et,Bt)|0,d=d+Math.imul(Ct,pt)|0,k=k+Math.imul(Ct,Bt)|0,b=b+Math.imul(Ge,kt)|0,d=d+Math.imul(Ge,Ut)|0,d=d+Math.imul(Qe,kt)|0,k=k+Math.imul(Qe,Ut)|0,b=b+Math.imul(at,zt)|0,d=d+Math.imul(at,Qt)|0,d=d+Math.imul(bt,zt)|0,k=k+Math.imul(bt,Qt)|0,b=b+Math.imul(lt,be)|0,d=d+Math.imul(lt,ve)|0,d=d+Math.imul(Je,be)|0,k=k+Math.imul(Je,ve)|0,b=b+Math.imul(st,Pe)|0,d=d+Math.imul(st,ze)|0,d=d+Math.imul(dt,Pe)|0,k=k+Math.imul(dt,ze)|0,b=b+Math.imul(pe,ot)|0,d=d+Math.imul(pe,wt)|0,d=d+Math.imul(qe,ot)|0,k=k+Math.imul(qe,wt)|0;var Lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,b=Math.imul(Me,pt),d=Math.imul(Me,Bt),d=d+Math.imul(te,pt)|0,k=Math.imul(te,Bt),b=b+Math.imul(Et,kt)|0,d=d+Math.imul(Et,Ut)|0,d=d+Math.imul(Ct,kt)|0,k=k+Math.imul(Ct,Ut)|0,b=b+Math.imul(Ge,zt)|0,d=d+Math.imul(Ge,Qt)|0,d=d+Math.imul(Qe,zt)|0,k=k+Math.imul(Qe,Qt)|0,b=b+Math.imul(at,be)|0,d=d+Math.imul(at,ve)|0,d=d+Math.imul(bt,be)|0,k=k+Math.imul(bt,ve)|0,b=b+Math.imul(lt,Pe)|0,d=d+Math.imul(lt,ze)|0,d=d+Math.imul(Je,Pe)|0,k=k+Math.imul(Je,ze)|0,b=b+Math.imul(st,ot)|0,d=d+Math.imul(st,wt)|0,d=d+Math.imul(dt,ot)|0,k=k+Math.imul(dt,wt)|0;var Ar=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,b=Math.imul(Me,kt),d=Math.imul(Me,Ut),d=d+Math.imul(te,kt)|0,k=Math.imul(te,Ut),b=b+Math.imul(Et,zt)|0,d=d+Math.imul(Et,Qt)|0,d=d+Math.imul(Ct,zt)|0,k=k+Math.imul(Ct,Qt)|0,b=b+Math.imul(Ge,be)|0,d=d+Math.imul(Ge,ve)|0,d=d+Math.imul(Qe,be)|0,k=k+Math.imul(Qe,ve)|0,b=b+Math.imul(at,Pe)|0,d=d+Math.imul(at,ze)|0,d=d+Math.imul(bt,Pe)|0,k=k+Math.imul(bt,ze)|0,b=b+Math.imul(lt,ot)|0,d=d+Math.imul(lt,wt)|0,d=d+Math.imul(Je,ot)|0,k=k+Math.imul(Je,wt)|0;var Tr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,b=Math.imul(Me,zt),d=Math.imul(Me,Qt),d=d+Math.imul(te,zt)|0,k=Math.imul(te,Qt),b=b+Math.imul(Et,be)|0,d=d+Math.imul(Et,ve)|0,d=d+Math.imul(Ct,be)|0,k=k+Math.imul(Ct,ve)|0,b=b+Math.imul(Ge,Pe)|0,d=d+Math.imul(Ge,ze)|0,d=d+Math.imul(Qe,Pe)|0,k=k+Math.imul(Qe,ze)|0,b=b+Math.imul(at,ot)|0,d=d+Math.imul(at,wt)|0,d=d+Math.imul(bt,ot)|0,k=k+Math.imul(bt,wt)|0;var Sr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,b=Math.imul(Me,be),d=Math.imul(Me,ve),d=d+Math.imul(te,be)|0,k=Math.imul(te,ve),b=b+Math.imul(Et,Pe)|0,d=d+Math.imul(Et,ze)|0,d=d+Math.imul(Ct,Pe)|0,k=k+Math.imul(Ct,ze)|0,b=b+Math.imul(Ge,ot)|0,d=d+Math.imul(Ge,wt)|0,d=d+Math.imul(Qe,ot)|0,k=k+Math.imul(Qe,wt)|0;var rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(rr>>>26)|0,rr&=67108863,b=Math.imul(Me,Pe),d=Math.imul(Me,ze),d=d+Math.imul(te,Pe)|0,k=Math.imul(te,ze),b=b+Math.imul(Et,ot)|0,d=d+Math.imul(Et,wt)|0,d=d+Math.imul(Ct,ot)|0,k=k+Math.imul(Ct,wt)|0;var Nt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,b=Math.imul(Me,ot),d=Math.imul(Me,wt),d=d+Math.imul(te,ot)|0,k=Math.imul(te,wt);var Gt=(T+b|0)+((d&8191)<<13)|0;return T=(k+(d>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,x[0]=Yt,x[1]=Jt,x[2]=wr,x[3]=lr,x[4]=Rr,x[5]=vr,x[6]=dr,x[7]=Ir,x[8]=kr,x[9]=Fr,x[10]=jr,x[11]=Cr,x[12]=Lr,x[13]=Ar,x[14]=Tr,x[15]=Sr,x[16]=rr,x[17]=Nt,x[18]=Gt,T!==0&&(x[19]=T,S.length++),S};Math.imul||(j=I);function B(L,p,y){y.negative=p.negative^L.negative,y.length=L.length+p.length;for(var S=0,c=0,m=0;m<y.length-1;m++){var x=c;c=0;for(var T=S&67108863,b=Math.min(m,p.length-1),d=Math.max(0,m-L.length+1);d<=b;d++){var k=m-d,D=L.words[k]|0,O=p.words[d]|0,Q=D*O,J=Q&67108863;x=x+(Q/67108864|0)|0,J=J+T|0,T=J&67108863,x=x+(J>>>26)|0,c+=x>>>26,x&=67108863}y.words[m]=T,S=x,x=c}return S!==0?y.words[m]=S:y.length--,y.strip()}function F(L,p,y){var S=new N;return S.mulp(L,p,y)}u.prototype.mulTo=function(p,y){var S,c=this.length+p.length;return this.length===10&&p.length===10?S=j(this,p,y):c<63?S=I(this,p,y):c<1024?S=B(this,p,y):S=F(this,p,y),S};function N(L,p){this.x=L,this.y=p}N.prototype.makeRBT=function(p){for(var y=new Array(p),S=u.prototype._countBits(p)-1,c=0;c<p;c++)y[c]=this.revBin(c,S,p);return y},N.prototype.revBin=function(p,y,S){if(p===0||p===S-1)return p;for(var c=0,m=0;m<y;m++)c|=(p&1)<<y-m-1,p>>=1;return c},N.prototype.permute=function(p,y,S,c,m,x){for(var T=0;T<x;T++)c[T]=y[p[T]],m[T]=S[p[T]]},N.prototype.transform=function(p,y,S,c,m,x){this.permute(x,p,y,S,c,m);for(var T=1;T<m;T<<=1)for(var b=T<<1,d=Math.cos(2*Math.PI/b),k=Math.sin(2*Math.PI/b),D=0;D<m;D+=b)for(var O=d,Q=k,J=0;J<T;J++){var X=S[D+J],U=c[D+J],z=S[D+J+T],ie=c[D+J+T],de=O*z-Q*ie;ie=O*ie+Q*z,z=de,S[D+J]=X+z,c[D+J]=U+ie,S[D+J+T]=X-z,c[D+J+T]=U-ie,J!==b&&(de=d*O-k*Q,Q=d*Q+k*O,O=de)}},N.prototype.guessLen13b=function(p,y){var S=Math.max(y,p)|1,c=S&1,m=0;for(S=S/2|0;S;S=S>>>1)m++;return 1<<m+1+c},N.prototype.conjugate=function(p,y,S){if(!(S<=1))for(var c=0;c<S/2;c++){var m=p[c];p[c]=p[S-c-1],p[S-c-1]=m,m=y[c],y[c]=-y[S-c-1],y[S-c-1]=-m}},N.prototype.normalize13b=function(p,y){for(var S=0,c=0;c<y/2;c++){var m=Math.round(p[2*c+1]/y)*8192+Math.round(p[2*c]/y)+S;p[c]=m&67108863,m<67108864?S=0:S=m/67108864|0}return p},N.prototype.convert13b=function(p,y,S,c){for(var m=0,x=0;x<y;x++)m=m+(p[x]|0),S[2*x]=m&8191,m=m>>>13,S[2*x+1]=m&8191,m=m>>>13;for(x=2*y;x<c;++x)S[x]=0;l(m===0),l((m&-8192)===0)},N.prototype.stub=function(p){for(var y=new Array(p),S=0;S<p;S++)y[S]=0;return y},N.prototype.mulp=function(p,y,S){var c=2*this.guessLen13b(p.length,y.length),m=this.makeRBT(c),x=this.stub(c),T=new Array(c),b=new Array(c),d=new Array(c),k=new Array(c),D=new Array(c),O=new Array(c),Q=S.words;Q.length=c,this.convert13b(p.words,p.length,T,c),this.convert13b(y.words,y.length,k,c),this.transform(T,x,b,d,c,m),this.transform(k,x,D,O,c,m);for(var J=0;J<c;J++){var X=b[J]*D[J]-d[J]*O[J];d[J]=b[J]*O[J]+d[J]*D[J],b[J]=X}return this.conjugate(b,d,c),this.transform(b,d,Q,x,c,m),this.conjugate(Q,x,c),this.normalize13b(Q,c),S.negative=p.negative^y.negative,S.length=p.length+y.length,S.strip()},u.prototype.mul=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),this.mulTo(p,y)},u.prototype.mulf=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),F(this,p,y)},u.prototype.imul=function(p){return this.clone().mulTo(p,this)},u.prototype.imuln=function(p){l(typeof p=="number"),l(p<67108864);for(var y=0,S=0;S<this.length;S++){var c=(this.words[S]|0)*p,m=(c&67108863)+(y&67108863);y>>=26,y+=c/67108864|0,y+=m>>>26,this.words[S]=m&67108863}return y!==0&&(this.words[S]=y,this.length++),this},u.prototype.muln=function(p){return this.clone().imuln(p)},u.prototype.sqr=function(){return this.mul(this)},u.prototype.isqr=function(){return this.imul(this.clone())},u.prototype.pow=function(p){var y=P(p);if(y.length===0)return new u(1);for(var S=this,c=0;c<y.length&&y[c]===0;c++,S=S.sqr());if(++c<y.length)for(var m=S.sqr();c<y.length;c++,m=m.sqr())y[c]!==0&&(S=S.mul(m));return S},u.prototype.iushln=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=67108863>>>26-y<<26-y,m;if(y!==0){var x=0;for(m=0;m<this.length;m++){var T=this.words[m]&c,b=(this.words[m]|0)-T<<y;this.words[m]=b|x,x=T>>>26-y}x&&(this.words[m]=x,this.length++)}if(S!==0){for(m=this.length-1;m>=0;m--)this.words[m+S]=this.words[m];for(m=0;m<S;m++)this.words[m]=0;this.length+=S}return this.strip()},u.prototype.ishln=function(p){return l(this.negative===0),this.iushln(p)},u.prototype.iushrn=function(p,y,S){l(typeof p=="number"&&p>=0);var c;y?c=(y-y%26)/26:c=0;var m=p%26,x=Math.min((p-m)/26,this.length),T=67108863^67108863>>>m<<m,b=S;if(c-=x,c=Math.max(0,c),b){for(var d=0;d<x;d++)b.words[d]=this.words[d];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,d=0;d<this.length;d++)this.words[d]=this.words[d+x];else this.words[0]=0,this.length=1;var k=0;for(d=this.length-1;d>=0&&(k!==0||d>=c);d--){var D=this.words[d]|0;this.words[d]=k<<26-m|D>>>m,k=D&T}return b&&k!==0&&(b.words[b.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},u.prototype.ishrn=function(p,y,S){return l(this.negative===0),this.iushrn(p,y,S)},u.prototype.shln=function(p){return this.clone().ishln(p)},u.prototype.ushln=function(p){return this.clone().iushln(p)},u.prototype.shrn=function(p){return this.clone().ishrn(p)},u.prototype.ushrn=function(p){return this.clone().iushrn(p)},u.prototype.testn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return!1;var m=this.words[S];return!!(m&c)},u.prototype.imaskn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(y!==0&&S++,this.length=Math.min(S,this.length),y!==0){var c=67108863^67108863>>>y<<y;this.words[this.length-1]&=c}return this.strip()},u.prototype.maskn=function(p){return this.clone().imaskn(p)},u.prototype.iaddn=function(p){return l(typeof p=="number"),l(p<67108864),p<0?this.isubn(-p):this.negative!==0?this.length===1&&(this.words[0]|0)<p?(this.words[0]=p-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(p),this.negative=1,this):this._iaddn(p)},u.prototype._iaddn=function(p){this.words[0]+=p;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},u.prototype.isubn=function(p){if(l(typeof p=="number"),l(p<67108864),p<0)return this.iaddn(-p);if(this.negative!==0)return this.negative=0,this.iaddn(p),this.negative=1,this;if(this.words[0]-=p,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this.strip()},u.prototype.addn=function(p){return this.clone().iaddn(p)},u.prototype.subn=function(p){return this.clone().isubn(p)},u.prototype.iabs=function(){return this.negative=0,this},u.prototype.abs=function(){return this.clone().iabs()},u.prototype._ishlnsubmul=function(p,y,S){var c=p.length+S,m;this._expand(c);var x,T=0;for(m=0;m<p.length;m++){x=(this.words[m+S]|0)+T;var b=(p.words[m]|0)*y;x-=b&67108863,T=(x>>26)-(b/67108864|0),this.words[m+S]=x&67108863}for(;m<this.length-S;m++)x=(this.words[m+S]|0)+T,T=x>>26,this.words[m+S]=x&67108863;if(T===0)return this.strip();for(l(T===-1),T=0,m=0;m<this.length;m++)x=-(this.words[m]|0)+T,T=x>>26,this.words[m]=x&67108863;return this.negative=1,this.strip()},u.prototype._wordDiv=function(p,y){var S=this.length-p.length,c=this.clone(),m=p,x=m.words[m.length-1]|0,T=this._countBits(x);S=26-T,S!==0&&(m=m.ushln(S),c.iushln(S),x=m.words[m.length-1]|0);var b=c.length-m.length,d;if(y!=="mod"){d=new u(null),d.length=b+1,d.words=new Array(d.length);for(var k=0;k<d.length;k++)d.words[k]=0}var D=c.clone()._ishlnsubmul(m,1,b);D.negative===0&&(c=D,d&&(d.words[b]=1));for(var O=b-1;O>=0;O--){var Q=(c.words[m.length+O]|0)*67108864+(c.words[m.length+O-1]|0);for(Q=Math.min(Q/x|0,67108863),c._ishlnsubmul(m,Q,O);c.negative!==0;)Q--,c.negative=0,c._ishlnsubmul(m,1,O),c.isZero()||(c.negative^=1);d&&(d.words[O]=Q)}return d&&d.strip(),c.strip(),y!=="div"&&S!==0&&c.iushrn(S),{div:d||null,mod:c}},u.prototype.divmod=function(p,y,S){if(l(!p.isZero()),this.isZero())return{div:new u(0),mod:new u(0)};var c,m,x;return this.negative!==0&&p.negative===0?(x=this.neg().divmod(p,y),y!=="mod"&&(c=x.div.neg()),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.iadd(p)),{div:c,mod:m}):this.negative===0&&p.negative!==0?(x=this.divmod(p.neg(),y),y!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&p.negative?(x=this.neg().divmod(p.neg(),y),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.isub(p)),{div:x.div,mod:m}):p.length>this.length||this.cmp(p)<0?{div:new u(0),mod:this}:p.length===1?y==="div"?{div:this.divn(p.words[0]),mod:null}:y==="mod"?{div:null,mod:new u(this.modn(p.words[0]))}:{div:this.divn(p.words[0]),mod:new u(this.modn(p.words[0]))}:this._wordDiv(p,y)},u.prototype.div=function(p){return this.divmod(p,"div",!1).div},u.prototype.mod=function(p){return this.divmod(p,"mod",!1).mod},u.prototype.umod=function(p){return this.divmod(p,"mod",!0).mod},u.prototype.divRound=function(p){var y=this.divmod(p);if(y.mod.isZero())return y.div;var S=y.div.negative!==0?y.mod.isub(p):y.mod,c=p.ushrn(1),m=p.andln(1),x=S.cmp(c);return x<0||m===1&&x===0?y.div:y.div.negative!==0?y.div.isubn(1):y.div.iaddn(1)},u.prototype.modn=function(p){l(p<=67108863);for(var y=(1<<26)%p,S=0,c=this.length-1;c>=0;c--)S=(y*S+(this.words[c]|0))%p;return S},u.prototype.idivn=function(p){l(p<=67108863);for(var y=0,S=this.length-1;S>=0;S--){var c=(this.words[S]|0)+y*67108864;this.words[S]=c/p|0,y=c%p}return this.strip()},u.prototype.divn=function(p){return this.clone().idivn(p)},u.prototype.egcd=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=new u(0),T=new u(1),b=0;y.isEven()&&S.isEven();)y.iushrn(1),S.iushrn(1),++b;for(var d=S.clone(),k=y.clone();!y.isZero();){for(var D=0,O=1;!(y.words[0]&O)&&D<26;++D,O<<=1);if(D>0)for(y.iushrn(D);D-- >0;)(c.isOdd()||m.isOdd())&&(c.iadd(d),m.isub(k)),c.iushrn(1),m.iushrn(1);for(var Q=0,J=1;!(S.words[0]&J)&&Q<26;++Q,J<<=1);if(Q>0)for(S.iushrn(Q);Q-- >0;)(x.isOdd()||T.isOdd())&&(x.iadd(d),T.isub(k)),x.iushrn(1),T.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(x),m.isub(T)):(S.isub(y),x.isub(c),T.isub(m))}return{a:x,b:T,gcd:S.iushln(b)}},u.prototype._invmp=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=S.clone();y.cmpn(1)>0&&S.cmpn(1)>0;){for(var T=0,b=1;!(y.words[0]&b)&&T<26;++T,b<<=1);if(T>0)for(y.iushrn(T);T-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var d=0,k=1;!(S.words[0]&k)&&d<26;++d,k<<=1);if(d>0)for(S.iushrn(d);d-- >0;)m.isOdd()&&m.iadd(x),m.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(m)):(S.isub(y),m.isub(c))}var D;return y.cmpn(1)===0?D=c:D=m,D.cmpn(0)<0&&D.iadd(p),D},u.prototype.gcd=function(p){if(this.isZero())return p.abs();if(p.isZero())return this.abs();var y=this.clone(),S=p.clone();y.negative=0,S.negative=0;for(var c=0;y.isEven()&&S.isEven();c++)y.iushrn(1),S.iushrn(1);do{for(;y.isEven();)y.iushrn(1);for(;S.isEven();)S.iushrn(1);var m=y.cmp(S);if(m<0){var x=y;y=S,S=x}else if(m===0||S.cmpn(1)===0)break;y.isub(S)}while(!0);return S.iushln(c)},u.prototype.invm=function(p){return this.egcd(p).a.umod(p)},u.prototype.isEven=function(){return(this.words[0]&1)===0},u.prototype.isOdd=function(){return(this.words[0]&1)===1},u.prototype.andln=function(p){return this.words[0]&p},u.prototype.bincn=function(p){l(typeof p=="number");var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return this._expand(S+1),this.words[S]|=c,this;for(var m=c,x=S;m!==0&&x<this.length;x++){var T=this.words[x]|0;T+=m,m=T>>>26,T&=67108863,this.words[x]=T}return m!==0&&(this.words[x]=m,this.length++),this},u.prototype.isZero=function(){return this.length===1&&this.words[0]===0},u.prototype.cmpn=function(p){var y=p<0;if(this.negative!==0&&!y)return-1;if(this.negative===0&&y)return 1;this.strip();var S;if(this.length>1)S=1;else{y&&(p=-p),l(p<=67108863,"Number is too big");var c=this.words[0]|0;S=c===p?0:c<p?-1:1}return this.negative!==0?-S|0:S},u.prototype.cmp=function(p){if(this.negative!==0&&p.negative===0)return-1;if(this.negative===0&&p.negative!==0)return 1;var y=this.ucmp(p);return this.negative!==0?-y|0:y},u.prototype.ucmp=function(p){if(this.length>p.length)return 1;if(this.length<p.length)return-1;for(var y=0,S=this.length-1;S>=0;S--){var c=this.words[S]|0,m=p.words[S]|0;if(c!==m){c<m?y=-1:c>m&&(y=1);break}}return y},u.prototype.gtn=function(p){return this.cmpn(p)===1},u.prototype.gt=function(p){return this.cmp(p)===1},u.prototype.gten=function(p){return this.cmpn(p)>=0},u.prototype.gte=function(p){return this.cmp(p)>=0},u.prototype.ltn=function(p){return this.cmpn(p)===-1},u.prototype.lt=function(p){return this.cmp(p)===-1},u.prototype.lten=function(p){return this.cmpn(p)<=0},u.prototype.lte=function(p){return this.cmp(p)<=0},u.prototype.eqn=function(p){return this.cmpn(p)===0},u.prototype.eq=function(p){return this.cmp(p)===0},u.red=function(p){return new he(p)},u.prototype.toRed=function(p){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),p.convertTo(this)._forceRed(p)},u.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},u.prototype._forceRed=function(p){return this.red=p,this},u.prototype.forceRed=function(p){return l(!this.red,"Already a number in reduction context"),this._forceRed(p)},u.prototype.redAdd=function(p){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,p)},u.prototype.redIAdd=function(p){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,p)},u.prototype.redSub=function(p){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,p)},u.prototype.redISub=function(p){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,p)},u.prototype.redShl=function(p){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,p)},u.prototype.redMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.mul(this,p)},u.prototype.redIMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.imul(this,p)},u.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},u.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},u.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},u.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},u.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},u.prototype.redPow=function(p){return l(this.red&&!p.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,p)};var ee={k256:null,p224:null,p192:null,p25519:null};function Z(L,p){this.name=L,this.p=new u(p,16),this.n=this.p.bitLength(),this.k=new u(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Z.prototype._tmp=function(){var p=new u(null);return p.words=new Array(Math.ceil(this.n/13)),p},Z.prototype.ireduce=function(p){var y=p,S;do this.split(y,this.tmp),y=this.imulK(y),y=y.iadd(this.tmp),S=y.bitLength();while(S>this.n);var c=S<this.n?-1:y.ucmp(this.p);return c===0?(y.words[0]=0,y.length=1):c>0?y.isub(this.p):y.strip!==void 0?y.strip():y._strip(),y},Z.prototype.split=function(p,y){p.iushrn(this.n,0,y)},Z.prototype.imulK=function(p){return p.imul(this.k)};function re(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}t(re,Z),re.prototype.split=function(p,y){for(var S=4194303,c=Math.min(p.length,9),m=0;m<c;m++)y.words[m]=p.words[m];if(y.length=c,p.length<=9){p.words[0]=0,p.length=1;return}var x=p.words[9];for(y.words[y.length++]=x&S,m=10;m<p.length;m++){var T=p.words[m]|0;p.words[m-10]=(T&S)<<4|x>>>22,x=T}x>>>=22,p.words[m-10]=x,x===0&&p.length>10?p.length-=10:p.length-=9},re.prototype.imulK=function(p){p.words[p.length]=0,p.words[p.length+1]=0,p.length+=2;for(var y=0,S=0;S<p.length;S++){var c=p.words[S]|0;y+=c*977,p.words[S]=y&67108863,y=c*64+(y/67108864|0)}return p.words[p.length-1]===0&&(p.length--,p.words[p.length-1]===0&&p.length--),p};function fe(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}t(fe,Z);function V(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}t(V,Z);function le(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}t(le,Z),le.prototype.imulK=function(p){for(var y=0,S=0;S<p.length;S++){var c=(p.words[S]|0)*19+y,m=c&67108863;c>>>=26,p.words[S]=m,y=c}return y!==0&&(p.words[p.length++]=y),p},u._prime=function(p){if(ee[p])return ee[p];var y;if(p==="k256")y=new re;else if(p==="p224")y=new fe;else if(p==="p192")y=new V;else if(p==="p25519")y=new le;else throw new Error("Unknown prime "+p);return ee[p]=y,y};function he(L){if(typeof L=="string"){var p=u._prime(L);this.m=p.p,this.prime=p}else l(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(p){l(p.negative===0,"red works only with positives"),l(p.red,"red works only with red numbers")},he.prototype._verify2=function(p,y){l((p.negative|y.negative)===0,"red works only with positives"),l(p.red&&p.red===y.red,"red works only with red numbers")},he.prototype.imod=function(p){return this.prime?this.prime.ireduce(p)._forceRed(this):p.umod(this.m)._forceRed(this)},he.prototype.neg=function(p){return p.isZero()?p.clone():this.m.sub(p)._forceRed(this)},he.prototype.add=function(p,y){this._verify2(p,y);var S=p.add(y);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},he.prototype.iadd=function(p,y){this._verify2(p,y);var S=p.iadd(y);return S.cmp(this.m)>=0&&S.isub(this.m),S},he.prototype.sub=function(p,y){this._verify2(p,y);var S=p.sub(y);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},he.prototype.isub=function(p,y){this._verify2(p,y);var S=p.isub(y);return S.cmpn(0)<0&&S.iadd(this.m),S},he.prototype.shl=function(p,y){return this._verify1(p),this.imod(p.ushln(y))},he.prototype.imul=function(p,y){return this._verify2(p,y),this.imod(p.imul(y))},he.prototype.mul=function(p,y){return this._verify2(p,y),this.imod(p.mul(y))},he.prototype.isqr=function(p){return this.imul(p,p.clone())},he.prototype.sqr=function(p){return this.mul(p,p)},he.prototype.sqrt=function(p){if(p.isZero())return p.clone();var y=this.m.andln(3);if(l(y%2===1),y===3){var S=this.m.add(new u(1)).iushrn(2);return this.pow(p,S)}for(var c=this.m.subn(1),m=0;!c.isZero()&&c.andln(1)===0;)m++,c.iushrn(1);l(!c.isZero());var x=new u(1).toRed(this),T=x.redNeg(),b=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new u(2*d*d).toRed(this);this.pow(d,b).cmp(T)!==0;)d.redIAdd(T);for(var k=this.pow(d,c),D=this.pow(p,c.addn(1).iushrn(1)),O=this.pow(p,c),Q=m;O.cmp(x)!==0;){for(var J=O,X=0;J.cmp(x)!==0;X++)J=J.redSqr();l(X<Q);var U=this.pow(k,new u(1).iushln(Q-X-1));D=D.redMul(U),k=U.redSqr(),O=O.redMul(k),Q=X}return D},he.prototype.invm=function(p){var y=p._invmp(this.m);return y.negative!==0?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},he.prototype.pow=function(p,y){if(y.isZero())return new u(1).toRed(this);if(y.cmpn(1)===0)return p.clone();var S=4,c=new Array(1<<S);c[0]=new u(1).toRed(this),c[1]=p;for(var m=2;m<c.length;m++)c[m]=this.mul(c[m-1],p);var x=c[0],T=0,b=0,d=y.bitLength()%26;for(d===0&&(d=26),m=y.length-1;m>=0;m--){for(var k=y.words[m],D=d-1;D>=0;D--){var O=k>>D&1;if(x!==c[0]&&(x=this.sqr(x)),O===0&&T===0){b=0;continue}T<<=1,T|=O,b++,!(b!==S&&(m!==0||D!==0))&&(x=this.mul(x,c[T]),b=0,T=0)}d=26}return x},he.prototype.convertTo=function(p){var y=p.umod(this.m);return y===p?y.clone():y},he.prototype.convertFrom=function(p){var y=p.clone();return y.red=null,y},u.mont=function(p){return new ye(p)};function ye(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new u(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}t(ye,he),ye.prototype.convertTo=function(p){return this.imod(p.ushln(this.shift))},ye.prototype.convertFrom=function(p){var y=this.imod(p.mul(this.rinv));return y.red=null,y},ye.prototype.imul=function(p,y){if(p.isZero()||y.isZero())return p.words[0]=0,p.length=1,p;var S=p.imul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.mul=function(p,y){if(p.isZero()||y.isZero())return new u(0)._forceRed(this);var S=p.mul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.invm=function(p){var y=this.imod(p._invmp(this.m).mul(this.r2));return y._forceRed(this)}})(n,commonjsGlobal$1)}(bn$3);var bnExports$3=bn$3.exports,utils$n={};(function(n){var e=n;function o(u,h){if(Array.isArray(u))return u.slice();if(!u)return[];var v=[];if(typeof u!="string"){for(var w=0;w<u.length;w++)v[w]=u[w]|0;return v}if(h==="hex"){u=u.replace(/[^a-z0-9]+/ig,""),u.length%2!==0&&(u="0"+u);for(var w=0;w<u.length;w+=2)v.push(parseInt(u[w]+u[w+1],16))}else for(var w=0;w<u.length;w++){var A=u.charCodeAt(w),E=A>>8,C=A&255;E?v.push(E,C):v.push(C)}return v}e.toArray=o;function l(u){return u.length===1?"0"+u:u}e.zero2=l;function t(u){for(var h="",v=0;v<u.length;v++)h+=l(u[v].toString(16));return h}e.toHex=t,e.encode=function(h,v){return v==="hex"?t(h):h}})(utils$n),function(n){var e=n,o=bnExports$3,l=minimalisticAssert,t=utils$n;e.assert=l,e.toArray=t.toArray,e.zero2=t.zero2,e.toHex=t.toHex,e.encode=t.encode;function u(E,C,M){var P=new Array(Math.max(E.bitLength(),M)+1),I;for(I=0;I<P.length;I+=1)P[I]=0;var j=1<<C+1,B=E.clone();for(I=0;I<P.length;I++){var F,N=B.andln(j-1);B.isOdd()?(N>(j>>1)-1?F=(j>>1)-N:F=N,B.isubn(F)):F=0,P[I]=F,B.iushrn(1)}return P}e.getNAF=u;function h(E,C){var M=[[],[]];E=E.clone(),C=C.clone();for(var P=0,I=0,j;E.cmpn(-P)>0||C.cmpn(-I)>0;){var B=E.andln(3)+P&3,F=C.andln(3)+I&3;B===3&&(B=-1),F===3&&(F=-1);var N;B&1?(j=E.andln(7)+P&7,(j===3||j===5)&&F===2?N=-B:N=B):N=0,M[0].push(N);var ee;F&1?(j=C.andln(7)+I&7,(j===3||j===5)&&B===2?ee=-F:ee=F):ee=0,M[1].push(ee),2*P===N+1&&(P=1-P),2*I===ee+1&&(I=1-I),E.iushrn(1),C.iushrn(1)}return M}e.getJSF=h;function v(E,C,M){var P="_"+C;E.prototype[C]=function(){return this[P]!==void 0?this[P]:this[P]=M.call(this)}}e.cachedProperty=v;function w(E){return typeof E=="string"?e.toArray(E,"hex"):E}e.parseBytes=w;function A(E){return new o(E,"hex","le")}e.intFromLE=A}(utils$o);var curve={},BN$9=bnExports$3,utils$m=utils$o,getNAF=utils$m.getNAF,getJSF=utils$m.getJSF,assert$e=utils$m.assert;function BaseCurve(n,e){this.type=n,this.p=new BN$9(e.p,16),this.red=e.prime?BN$9.red(e.prime):BN$9.mont(this.p),this.zero=new BN$9(0).toRed(this.red),this.one=new BN$9(1).toRed(this.red),this.two=new BN$9(2).toRed(this.red),this.n=e.n&&new BN$9(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var o=this.n&&this.p.div(this.n);!o||o.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var base$1=BaseCurve;BaseCurve.prototype.point=function(){throw new Error("Not implemented")},BaseCurve.prototype.validate=function(){throw new Error("Not implemented")},BaseCurve.prototype._fixedNafMul=function(e,o){assert$e(e.precomputed);var l=e._getDoubles(),t=getNAF(o,1,this._bitLength),u=(1<<l.step+1)-(l.step%2===0?2:1);u/=3;var h=[],v,w;for(v=0;v<t.length;v+=l.step){w=0;for(var A=v+l.step-1;A>=v;A--)w=(w<<1)+t[A];h.push(w)}for(var E=this.jpoint(null,null,null),C=this.jpoint(null,null,null),M=u;M>0;M--){for(v=0;v<h.length;v++)w=h[v],w===M?C=C.mixedAdd(l.points[v]):w===-M&&(C=C.mixedAdd(l.points[v].neg()));E=E.add(C)}return E.toP()},BaseCurve.prototype._wnafMul=function(e,o){var l=4,t=e._getNAFPoints(l);l=t.wnd;for(var u=t.points,h=getNAF(o,l,this._bitLength),v=this.jpoint(null,null,null),w=h.length-1;w>=0;w--){for(var A=0;w>=0&&h[w]===0;w--)A++;if(w>=0&&A++,v=v.dblp(A),w<0)break;var E=h[w];assert$e(E!==0),e.type==="affine"?E>0?v=v.mixedAdd(u[E-1>>1]):v=v.mixedAdd(u[-E-1>>1].neg()):E>0?v=v.add(u[E-1>>1]):v=v.add(u[-E-1>>1].neg())}return e.type==="affine"?v.toP():v},BaseCurve.prototype._wnafMulAdd=function(e,o,l,t,u){var h=this._wnafT1,v=this._wnafT2,w=this._wnafT3,A=0,E,C,M;for(E=0;E<t;E++){M=o[E];var P=M._getNAFPoints(e);h[E]=P.wnd,v[E]=P.points}for(E=t-1;E>=1;E-=2){var I=E-1,j=E;if(h[I]!==1||h[j]!==1){w[I]=getNAF(l[I],h[I],this._bitLength),w[j]=getNAF(l[j],h[j],this._bitLength),A=Math.max(w[I].length,A),A=Math.max(w[j].length,A);continue}var B=[o[I],null,null,o[j]];o[I].y.cmp(o[j].y)===0?(B[1]=o[I].add(o[j]),B[2]=o[I].toJ().mixedAdd(o[j].neg())):o[I].y.cmp(o[j].y.redNeg())===0?(B[1]=o[I].toJ().mixedAdd(o[j]),B[2]=o[I].add(o[j].neg())):(B[1]=o[I].toJ().mixedAdd(o[j]),B[2]=o[I].toJ().mixedAdd(o[j].neg()));var F=[-3,-1,-5,-7,0,7,5,1,3],N=getJSF(l[I],l[j]);for(A=Math.max(N[0].length,A),w[I]=new Array(A),w[j]=new Array(A),C=0;C<A;C++){var ee=N[0][C]|0,Z=N[1][C]|0;w[I][C]=F[(ee+1)*3+(Z+1)],w[j][C]=0,v[I]=B}}var re=this.jpoint(null,null,null),fe=this._wnafT4;for(E=A;E>=0;E--){for(var V=0;E>=0;){var le=!0;for(C=0;C<t;C++)fe[C]=w[C][E]|0,fe[C]!==0&&(le=!1);if(!le)break;V++,E--}if(E>=0&&V++,re=re.dblp(V),E<0)break;for(C=0;C<t;C++){var he=fe[C];he!==0&&(he>0?M=v[C][he-1>>1]:he<0&&(M=v[C][-he-1>>1].neg()),M.type==="affine"?re=re.mixedAdd(M):re=re.add(M))}}for(E=0;E<t;E++)v[E]=null;return u?re:re.toP()};function BasePoint(n,e){this.curve=n,this.type=e,this.precomputed=null}BaseCurve.BasePoint=BasePoint,BasePoint.prototype.eq=function(){throw new Error("Not implemented")},BasePoint.prototype.validate=function(){return this.curve.validate(this)},BaseCurve.prototype.decodePoint=function(e,o){e=utils$m.toArray(e,o);var l=this.p.byteLength();if((e[0]===4||e[0]===6||e[0]===7)&&e.length-1===2*l){e[0]===6?assert$e(e[e.length-1]%2===0):e[0]===7&&assert$e(e[e.length-1]%2===1);var t=this.point(e.slice(1,1+l),e.slice(1+l,1+2*l));return t}else if((e[0]===2||e[0]===3)&&e.length-1===l)return this.pointFromX(e.slice(1,1+l),e[0]===3);throw new Error("Unknown point format")},BasePoint.prototype.encodeCompressed=function(e){return this.encode(e,!0)},BasePoint.prototype._encode=function(e){var o=this.curve.p.byteLength(),l=this.getX().toArray("be",o);return e?[this.getY().isEven()?2:3].concat(l):[4].concat(l,this.getY().toArray("be",o))},BasePoint.prototype.encode=function(e,o){return utils$m.encode(this._encode(o),e)},BasePoint.prototype.precompute=function(e){if(this.precomputed)return this;var o={doubles:null,naf:null,beta:null};return o.naf=this._getNAFPoints(8),o.doubles=this._getDoubles(4,e),o.beta=this._getBeta(),this.precomputed=o,this},BasePoint.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var o=this.precomputed.doubles;return o?o.points.length>=Math.ceil((e.bitLength()+1)/o.step):!1},BasePoint.prototype._getDoubles=function(e,o){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var l=[this],t=this,u=0;u<o;u+=e){for(var h=0;h<e;h++)t=t.dbl();l.push(t)}return{step:e,points:l}},BasePoint.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var o=[this],l=(1<<e)-1,t=l===1?null:this.dbl(),u=1;u<l;u++)o[u]=o[u-1].add(t);return{wnd:e,points:o}},BasePoint.prototype._getBeta=function(){return null},BasePoint.prototype.dblp=function(e){for(var o=this,l=0;l<e;l++)o=o.dbl();return o};var utils$l=utils$o,BN$8=bnExports$3,inherits$4=inherits_browserExports,Base$2=base$1,assert$d=utils$l.assert;function ShortCurve(n){Base$2.call(this,"short",n),this.a=new BN$8(n.a,16).toRed(this.red),this.b=new BN$8(n.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(n),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}inherits$4(ShortCurve,Base$2);var short=ShortCurve;ShortCurve.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var o,l;if(e.beta)o=new BN$8(e.beta,16).toRed(this.red);else{var t=this._getEndoRoots(this.p);o=t[0].cmp(t[1])<0?t[0]:t[1],o=o.toRed(this.red)}if(e.lambda)l=new BN$8(e.lambda,16);else{var u=this._getEndoRoots(this.n);this.g.mul(u[0]).x.cmp(this.g.x.redMul(o))===0?l=u[0]:(l=u[1],assert$d(this.g.mul(l).x.cmp(this.g.x.redMul(o))===0))}var h;return e.basis?h=e.basis.map(function(v){return{a:new BN$8(v.a,16),b:new BN$8(v.b,16)}}):h=this._getEndoBasis(l),{beta:o,lambda:l,basis:h}}},ShortCurve.prototype._getEndoRoots=function(e){var o=e===this.p?this.red:BN$8.mont(e),l=new BN$8(2).toRed(o).redInvm(),t=l.redNeg(),u=new BN$8(3).toRed(o).redNeg().redSqrt().redMul(l),h=t.redAdd(u).fromRed(),v=t.redSub(u).fromRed();return[h,v]},ShortCurve.prototype._getEndoBasis=function(e){for(var o=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=e,t=this.n.clone(),u=new BN$8(1),h=new BN$8(0),v=new BN$8(0),w=new BN$8(1),A,E,C,M,P,I,j,B=0,F,N;l.cmpn(0)!==0;){var ee=t.div(l);F=t.sub(ee.mul(l)),N=v.sub(ee.mul(u));var Z=w.sub(ee.mul(h));if(!C&&F.cmp(o)<0)A=j.neg(),E=u,C=F.neg(),M=N;else if(C&&++B===2)break;j=F,t=l,l=F,v=u,u=N,w=h,h=Z}P=F.neg(),I=N;var re=C.sqr().add(M.sqr()),fe=P.sqr().add(I.sqr());return fe.cmp(re)>=0&&(P=A,I=E),C.negative&&(C=C.neg(),M=M.neg()),P.negative&&(P=P.neg(),I=I.neg()),[{a:C,b:M},{a:P,b:I}]},ShortCurve.prototype._endoSplit=function(e){var o=this.endo.basis,l=o[0],t=o[1],u=t.b.mul(e).divRound(this.n),h=l.b.neg().mul(e).divRound(this.n),v=u.mul(l.a),w=h.mul(t.a),A=u.mul(l.b),E=h.mul(t.b),C=e.sub(v).sub(w),M=A.add(E).neg();return{k1:C,k2:M}},ShortCurve.prototype.pointFromX=function(e,o){e=new BN$8(e,16),e.red||(e=e.toRed(this.red));var l=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),t=l.redSqrt();if(t.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var u=t.fromRed().isOdd();return(o&&!u||!o&&u)&&(t=t.redNeg()),this.point(e,t)},ShortCurve.prototype.validate=function(e){if(e.inf)return!0;var o=e.x,l=e.y,t=this.a.redMul(o),u=o.redSqr().redMul(o).redIAdd(t).redIAdd(this.b);return l.redSqr().redISub(u).cmpn(0)===0},ShortCurve.prototype._endoWnafMulAdd=function(e,o,l){for(var t=this._endoWnafT1,u=this._endoWnafT2,h=0;h<e.length;h++){var v=this._endoSplit(o[h]),w=e[h],A=w._getBeta();v.k1.negative&&(v.k1.ineg(),w=w.neg(!0)),v.k2.negative&&(v.k2.ineg(),A=A.neg(!0)),t[h*2]=w,t[h*2+1]=A,u[h*2]=v.k1,u[h*2+1]=v.k2}for(var E=this._wnafMulAdd(1,t,u,h*2,l),C=0;C<h*2;C++)t[C]=null,u[C]=null;return E};function Point$2(n,e,o,l){Base$2.BasePoint.call(this,n,"affine"),e===null&&o===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new BN$8(e,16),this.y=new BN$8(o,16),l&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}inherits$4(Point$2,Base$2.BasePoint),ShortCurve.prototype.point=function(e,o,l){return new Point$2(this,e,o,l)},ShortCurve.prototype.pointFromJSON=function(e,o){return Point$2.fromJSON(this,e,o)},Point$2.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var o=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var l=this.curve,t=function(u){return l.point(u.x.redMul(l.endo.beta),u.y)};e.beta=o,o.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(t)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(t)}}}return o}},Point$2.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},Point$2.fromJSON=function(e,o,l){typeof o=="string"&&(o=JSON.parse(o));var t=e.point(o[0],o[1],l);if(!o[2])return t;function u(v){return e.point(v[0],v[1],l)}var h=o[2];return t.precomputed={beta:null,doubles:h.doubles&&{step:h.doubles.step,points:[t].concat(h.doubles.points.map(u))},naf:h.naf&&{wnd:h.naf.wnd,points:[t].concat(h.naf.points.map(u))}},t},Point$2.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},Point$2.prototype.isInfinity=function(){return this.inf},Point$2.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var o=this.y.redSub(e.y);o.cmpn(0)!==0&&(o=o.redMul(this.x.redSub(e.x).redInvm()));var l=o.redSqr().redISub(this.x).redISub(e.x),t=o.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,t)},Point$2.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var o=this.curve.a,l=this.x.redSqr(),t=e.redInvm(),u=l.redAdd(l).redIAdd(l).redIAdd(o).redMul(t),h=u.redSqr().redISub(this.x.redAdd(this.x)),v=u.redMul(this.x.redSub(h)).redISub(this.y);return this.curve.point(h,v)},Point$2.prototype.getX=function(){return this.x.fromRed()},Point$2.prototype.getY=function(){return this.y.fromRed()},Point$2.prototype.mul=function(e){return e=new BN$8(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},Point$2.prototype.mulAdd=function(e,o,l){var t=[this,o],u=[e,l];return this.curve.endo?this.curve._endoWnafMulAdd(t,u):this.curve._wnafMulAdd(1,t,u,2)},Point$2.prototype.jmulAdd=function(e,o,l){var t=[this,o],u=[e,l];return this.curve.endo?this.curve._endoWnafMulAdd(t,u,!0):this.curve._wnafMulAdd(1,t,u,2,!0)},Point$2.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)},Point$2.prototype.neg=function(e){if(this.inf)return this;var o=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var l=this.precomputed,t=function(u){return u.neg()};o.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(t)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(t)}}}return o},Point$2.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function JPoint(n,e,o,l){Base$2.BasePoint.call(this,n,"jacobian"),e===null&&o===null&&l===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new BN$8(0)):(this.x=new BN$8(e,16),this.y=new BN$8(o,16),this.z=new BN$8(l,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}inherits$4(JPoint,Base$2.BasePoint),ShortCurve.prototype.jpoint=function(e,o,l){return new JPoint(this,e,o,l)},JPoint.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),o=e.redSqr(),l=this.x.redMul(o),t=this.y.redMul(o).redMul(e);return this.curve.point(l,t)},JPoint.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},JPoint.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var o=e.z.redSqr(),l=this.z.redSqr(),t=this.x.redMul(o),u=e.x.redMul(l),h=this.y.redMul(o.redMul(e.z)),v=e.y.redMul(l.redMul(this.z)),w=t.redSub(u),A=h.redSub(v);if(w.cmpn(0)===0)return A.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var E=w.redSqr(),C=E.redMul(w),M=t.redMul(E),P=A.redSqr().redIAdd(C).redISub(M).redISub(M),I=A.redMul(M.redISub(P)).redISub(h.redMul(C)),j=this.z.redMul(e.z).redMul(w);return this.curve.jpoint(P,I,j)},JPoint.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var o=this.z.redSqr(),l=this.x,t=e.x.redMul(o),u=this.y,h=e.y.redMul(o).redMul(this.z),v=l.redSub(t),w=u.redSub(h);if(v.cmpn(0)===0)return w.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var A=v.redSqr(),E=A.redMul(v),C=l.redMul(A),M=w.redSqr().redIAdd(E).redISub(C).redISub(C),P=w.redMul(C.redISub(M)).redISub(u.redMul(E)),I=this.z.redMul(v);return this.curve.jpoint(M,P,I)},JPoint.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var o;if(this.curve.zeroA||this.curve.threeA){var l=this;for(o=0;o<e;o++)l=l.dbl();return l}var t=this.curve.a,u=this.curve.tinv,h=this.x,v=this.y,w=this.z,A=w.redSqr().redSqr(),E=v.redAdd(v);for(o=0;o<e;o++){var C=h.redSqr(),M=E.redSqr(),P=M.redSqr(),I=C.redAdd(C).redIAdd(C).redIAdd(t.redMul(A)),j=h.redMul(M),B=I.redSqr().redISub(j.redAdd(j)),F=j.redISub(B),N=I.redMul(F);N=N.redIAdd(N).redISub(P);var ee=E.redMul(w);o+1<e&&(A=A.redMul(P)),h=B,w=ee,E=N}return this.curve.jpoint(h,E.redMul(u),w)},JPoint.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},JPoint.prototype._zeroDbl=function(){var e,o,l;if(this.zOne){var t=this.x.redSqr(),u=this.y.redSqr(),h=u.redSqr(),v=this.x.redAdd(u).redSqr().redISub(t).redISub(h);v=v.redIAdd(v);var w=t.redAdd(t).redIAdd(t),A=w.redSqr().redISub(v).redISub(v),E=h.redIAdd(h);E=E.redIAdd(E),E=E.redIAdd(E),e=A,o=w.redMul(v.redISub(A)).redISub(E),l=this.y.redAdd(this.y)}else{var C=this.x.redSqr(),M=this.y.redSqr(),P=M.redSqr(),I=this.x.redAdd(M).redSqr().redISub(C).redISub(P);I=I.redIAdd(I);var j=C.redAdd(C).redIAdd(C),B=j.redSqr(),F=P.redIAdd(P);F=F.redIAdd(F),F=F.redIAdd(F),e=B.redISub(I).redISub(I),o=j.redMul(I.redISub(e)).redISub(F),l=this.y.redMul(this.z),l=l.redIAdd(l)}return this.curve.jpoint(e,o,l)},JPoint.prototype._threeDbl=function(){var e,o,l;if(this.zOne){var t=this.x.redSqr(),u=this.y.redSqr(),h=u.redSqr(),v=this.x.redAdd(u).redSqr().redISub(t).redISub(h);v=v.redIAdd(v);var w=t.redAdd(t).redIAdd(t).redIAdd(this.curve.a),A=w.redSqr().redISub(v).redISub(v);e=A;var E=h.redIAdd(h);E=E.redIAdd(E),E=E.redIAdd(E),o=w.redMul(v.redISub(A)).redISub(E),l=this.y.redAdd(this.y)}else{var C=this.z.redSqr(),M=this.y.redSqr(),P=this.x.redMul(M),I=this.x.redSub(C).redMul(this.x.redAdd(C));I=I.redAdd(I).redIAdd(I);var j=P.redIAdd(P);j=j.redIAdd(j);var B=j.redAdd(j);e=I.redSqr().redISub(B),l=this.y.redAdd(this.z).redSqr().redISub(M).redISub(C);var F=M.redSqr();F=F.redIAdd(F),F=F.redIAdd(F),F=F.redIAdd(F),o=I.redMul(j.redISub(e)).redISub(F)}return this.curve.jpoint(e,o,l)},JPoint.prototype._dbl=function(){var e=this.curve.a,o=this.x,l=this.y,t=this.z,u=t.redSqr().redSqr(),h=o.redSqr(),v=l.redSqr(),w=h.redAdd(h).redIAdd(h).redIAdd(e.redMul(u)),A=o.redAdd(o);A=A.redIAdd(A);var E=A.redMul(v),C=w.redSqr().redISub(E.redAdd(E)),M=E.redISub(C),P=v.redSqr();P=P.redIAdd(P),P=P.redIAdd(P),P=P.redIAdd(P);var I=w.redMul(M).redISub(P),j=l.redAdd(l).redMul(t);return this.curve.jpoint(C,I,j)},JPoint.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),o=this.y.redSqr(),l=this.z.redSqr(),t=o.redSqr(),u=e.redAdd(e).redIAdd(e),h=u.redSqr(),v=this.x.redAdd(o).redSqr().redISub(e).redISub(t);v=v.redIAdd(v),v=v.redAdd(v).redIAdd(v),v=v.redISub(h);var w=v.redSqr(),A=t.redIAdd(t);A=A.redIAdd(A),A=A.redIAdd(A),A=A.redIAdd(A);var E=u.redIAdd(v).redSqr().redISub(h).redISub(w).redISub(A),C=o.redMul(E);C=C.redIAdd(C),C=C.redIAdd(C);var M=this.x.redMul(w).redISub(C);M=M.redIAdd(M),M=M.redIAdd(M);var P=this.y.redMul(E.redMul(A.redISub(E)).redISub(v.redMul(w)));P=P.redIAdd(P),P=P.redIAdd(P),P=P.redIAdd(P);var I=this.z.redAdd(v).redSqr().redISub(l).redISub(w);return this.curve.jpoint(M,P,I)},JPoint.prototype.mul=function(e,o){return e=new BN$8(e,o),this.curve._wnafMul(this,e)},JPoint.prototype.eq=function(e){if(e.type==="affine")return this.eq(e.toJ());if(this===e)return!0;var o=this.z.redSqr(),l=e.z.redSqr();if(this.x.redMul(l).redISub(e.x.redMul(o)).cmpn(0)!==0)return!1;var t=o.redMul(this.z),u=l.redMul(e.z);return this.y.redMul(u).redISub(e.y.redMul(t)).cmpn(0)===0},JPoint.prototype.eqXToP=function(e){var o=this.z.redSqr(),l=e.toRed(this.curve.red).redMul(o);if(this.x.cmp(l)===0)return!0;for(var t=e.clone(),u=this.curve.redN.redMul(o);;){if(t.iadd(this.curve.n),t.cmp(this.curve.p)>=0)return!1;if(l.redIAdd(u),this.x.cmp(l)===0)return!0}},JPoint.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},JPoint.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var BN$7=bnExports$3,inherits$3=inherits_browserExports,Base$1=base$1,utils$k=utils$o;function MontCurve(n){Base$1.call(this,"mont",n),this.a=new BN$7(n.a,16).toRed(this.red),this.b=new BN$7(n.b,16).toRed(this.red),this.i4=new BN$7(4).toRed(this.red).redInvm(),this.two=new BN$7(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}inherits$3(MontCurve,Base$1);var mont=MontCurve;MontCurve.prototype.validate=function(e){var o=e.normalize().x,l=o.redSqr(),t=l.redMul(o).redAdd(l.redMul(this.a)).redAdd(o),u=t.redSqrt();return u.redSqr().cmp(t)===0};function Point$1(n,e,o){Base$1.BasePoint.call(this,n,"projective"),e===null&&o===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new BN$7(e,16),this.z=new BN$7(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}inherits$3(Point$1,Base$1.BasePoint),MontCurve.prototype.decodePoint=function(e,o){return this.point(utils$k.toArray(e,o),1)},MontCurve.prototype.point=function(e,o){return new Point$1(this,e,o)},MontCurve.prototype.pointFromJSON=function(e){return Point$1.fromJSON(this,e)},Point$1.prototype.precompute=function(){},Point$1.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},Point$1.fromJSON=function(e,o){return new Point$1(e,o[0],o[1]||e.one)},Point$1.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point$1.prototype.isInfinity=function(){return this.z.cmpn(0)===0},Point$1.prototype.dbl=function(){var e=this.x.redAdd(this.z),o=e.redSqr(),l=this.x.redSub(this.z),t=l.redSqr(),u=o.redSub(t),h=o.redMul(t),v=u.redMul(t.redAdd(this.curve.a24.redMul(u)));return this.curve.point(h,v)},Point$1.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},Point$1.prototype.diffAdd=function(e,o){var l=this.x.redAdd(this.z),t=this.x.redSub(this.z),u=e.x.redAdd(e.z),h=e.x.redSub(e.z),v=h.redMul(l),w=u.redMul(t),A=o.z.redMul(v.redAdd(w).redSqr()),E=o.x.redMul(v.redISub(w).redSqr());return this.curve.point(A,E)},Point$1.prototype.mul=function(e){for(var o=e.clone(),l=this,t=this.curve.point(null,null),u=this,h=[];o.cmpn(0)!==0;o.iushrn(1))h.push(o.andln(1));for(var v=h.length-1;v>=0;v--)h[v]===0?(l=l.diffAdd(t,u),t=t.dbl()):(t=l.diffAdd(t,u),l=l.dbl());return t},Point$1.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},Point$1.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},Point$1.prototype.eq=function(e){return this.getX().cmp(e.getX())===0},Point$1.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},Point$1.prototype.getX=function(){return this.normalize(),this.x.fromRed()};var utils$j=utils$o,BN$6=bnExports$3,inherits$2=inherits_browserExports,Base=base$1,assert$c=utils$j.assert;function EdwardsCurve(n){this.twisted=(n.a|0)!==1,this.mOneA=this.twisted&&(n.a|0)===-1,this.extended=this.mOneA,Base.call(this,"edwards",n),this.a=new BN$6(n.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new BN$6(n.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new BN$6(n.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),assert$c(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(n.c|0)===1}inherits$2(EdwardsCurve,Base);var edwards=EdwardsCurve;EdwardsCurve.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},EdwardsCurve.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},EdwardsCurve.prototype.jpoint=function(e,o,l,t){return this.point(e,o,l,t)},EdwardsCurve.prototype.pointFromX=function(e,o){e=new BN$6(e,16),e.red||(e=e.toRed(this.red));var l=e.redSqr(),t=this.c2.redSub(this.a.redMul(l)),u=this.one.redSub(this.c2.redMul(this.d).redMul(l)),h=t.redMul(u.redInvm()),v=h.redSqrt();if(v.redSqr().redSub(h).cmp(this.zero)!==0)throw new Error("invalid point");var w=v.fromRed().isOdd();return(o&&!w||!o&&w)&&(v=v.redNeg()),this.point(e,v)},EdwardsCurve.prototype.pointFromY=function(e,o){e=new BN$6(e,16),e.red||(e=e.toRed(this.red));var l=e.redSqr(),t=l.redSub(this.c2),u=l.redMul(this.d).redMul(this.c2).redSub(this.a),h=t.redMul(u.redInvm());if(h.cmp(this.zero)===0){if(o)throw new Error("invalid point");return this.point(this.zero,e)}var v=h.redSqrt();if(v.redSqr().redSub(h).cmp(this.zero)!==0)throw new Error("invalid point");return v.fromRed().isOdd()!==o&&(v=v.redNeg()),this.point(v,e)},EdwardsCurve.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var o=e.x.redSqr(),l=e.y.redSqr(),t=o.redMul(this.a).redAdd(l),u=this.c2.redMul(this.one.redAdd(this.d.redMul(o).redMul(l)));return t.cmp(u)===0};function Point(n,e,o,l,t){Base.BasePoint.call(this,n,"projective"),e===null&&o===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new BN$6(e,16),this.y=new BN$6(o,16),this.z=l?new BN$6(l,16):this.curve.one,this.t=t&&new BN$6(t,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}inherits$2(Point,Base.BasePoint),EdwardsCurve.prototype.pointFromJSON=function(e){return Point.fromJSON(this,e)},EdwardsCurve.prototype.point=function(e,o,l,t){return new Point(this,e,o,l,t)},Point.fromJSON=function(e,o){return new Point(e,o[0],o[1],o[2])},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},Point.prototype._extDbl=function(){var e=this.x.redSqr(),o=this.y.redSqr(),l=this.z.redSqr();l=l.redIAdd(l);var t=this.curve._mulA(e),u=this.x.redAdd(this.y).redSqr().redISub(e).redISub(o),h=t.redAdd(o),v=h.redSub(l),w=t.redSub(o),A=u.redMul(v),E=h.redMul(w),C=u.redMul(w),M=v.redMul(h);return this.curve.point(A,E,M,C)},Point.prototype._projDbl=function(){var e=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),l=this.y.redSqr(),t,u,h,v,w,A;if(this.curve.twisted){v=this.curve._mulA(o);var E=v.redAdd(l);this.zOne?(t=e.redSub(o).redSub(l).redMul(E.redSub(this.curve.two)),u=E.redMul(v.redSub(l)),h=E.redSqr().redSub(E).redSub(E)):(w=this.z.redSqr(),A=E.redSub(w).redISub(w),t=e.redSub(o).redISub(l).redMul(A),u=E.redMul(v.redSub(l)),h=E.redMul(A))}else v=o.redAdd(l),w=this.curve._mulC(this.z).redSqr(),A=v.redSub(w).redSub(w),t=this.curve._mulC(e.redISub(v)).redMul(A),u=this.curve._mulC(v).redMul(o.redISub(l)),h=v.redMul(A);return this.curve.point(t,u,h)},Point.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},Point.prototype._extAdd=function(e){var o=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),l=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),t=this.t.redMul(this.curve.dd).redMul(e.t),u=this.z.redMul(e.z.redAdd(e.z)),h=l.redSub(o),v=u.redSub(t),w=u.redAdd(t),A=l.redAdd(o),E=h.redMul(v),C=w.redMul(A),M=h.redMul(A),P=v.redMul(w);return this.curve.point(E,C,P,M)},Point.prototype._projAdd=function(e){var o=this.z.redMul(e.z),l=o.redSqr(),t=this.x.redMul(e.x),u=this.y.redMul(e.y),h=this.curve.d.redMul(t).redMul(u),v=l.redSub(h),w=l.redAdd(h),A=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(t).redISub(u),E=o.redMul(v).redMul(A),C,M;return this.curve.twisted?(C=o.redMul(w).redMul(u.redSub(this.curve._mulA(t))),M=v.redMul(w)):(C=o.redMul(w).redMul(u.redSub(t)),M=this.curve._mulC(v).redMul(w)),this.curve.point(E,C,M)},Point.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},Point.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},Point.prototype.mulAdd=function(e,o,l){return this.curve._wnafMulAdd(1,[this,o],[e,l],2,!1)},Point.prototype.jmulAdd=function(e,o,l){return this.curve._wnafMulAdd(1,[this,o],[e,l],2,!0)},Point.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},Point.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()},Point.prototype.getY=function(){return this.normalize(),this.y.fromRed()},Point.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0},Point.prototype.eqXToP=function(e){var o=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(o)===0)return!0;for(var l=e.clone(),t=this.curve.redN.redMul(this.z);;){if(l.iadd(this.curve.n),l.cmp(this.curve.p)>=0)return!1;if(o.redIAdd(t),this.x.cmp(o)===0)return!0}},Point.prototype.toP=Point.prototype.normalize,Point.prototype.mixedAdd=Point.prototype.add,function(n){var e=n;e.base=base$1,e.short=short,e.mont=mont,e.edwards=edwards}(curve);var curves$1={},hash$2={},utils$i={},assert$b=minimalisticAssert,inherits$1=inherits_browserExports;utils$i.inherits=inherits$1;function isSurrogatePair(n,e){return(n.charCodeAt(e)&64512)!==55296||e<0||e+1>=n.length?!1:(n.charCodeAt(e+1)&64512)===56320}function toArray(n,e){if(Array.isArray(n))return n.slice();if(!n)return[];var o=[];if(typeof n=="string")if(e){if(e==="hex")for(n=n.replace(/[^a-z0-9]+/ig,""),n.length%2!==0&&(n="0"+n),t=0;t<n.length;t+=2)o.push(parseInt(n[t]+n[t+1],16))}else for(var l=0,t=0;t<n.length;t++){var u=n.charCodeAt(t);u<128?o[l++]=u:u<2048?(o[l++]=u>>6|192,o[l++]=u&63|128):isSurrogatePair(n,t)?(u=65536+((u&1023)<<10)+(n.charCodeAt(++t)&1023),o[l++]=u>>18|240,o[l++]=u>>12&63|128,o[l++]=u>>6&63|128,o[l++]=u&63|128):(o[l++]=u>>12|224,o[l++]=u>>6&63|128,o[l++]=u&63|128)}else for(t=0;t<n.length;t++)o[t]=n[t]|0;return o}utils$i.toArray=toArray;function toHex(n){for(var e="",o=0;o<n.length;o++)e+=zero2(n[o].toString(16));return e}utils$i.toHex=toHex;function htonl(n){var e=n>>>24|n>>>8&65280|n<<8&16711680|(n&255)<<24;return e>>>0}utils$i.htonl=htonl;function toHex32(n,e){for(var o="",l=0;l<n.length;l++){var t=n[l];e==="little"&&(t=htonl(t)),o+=zero8(t.toString(16))}return o}utils$i.toHex32=toHex32;function zero2(n){return n.length===1?"0"+n:n}utils$i.zero2=zero2;function zero8(n){return n.length===7?"0"+n:n.length===6?"00"+n:n.length===5?"000"+n:n.length===4?"0000"+n:n.length===3?"00000"+n:n.length===2?"000000"+n:n.length===1?"0000000"+n:n}utils$i.zero8=zero8;function join32(n,e,o,l){var t=o-e;assert$b(t%4===0);for(var u=new Array(t/4),h=0,v=e;h<u.length;h++,v+=4){var w;l==="big"?w=n[v]<<24|n[v+1]<<16|n[v+2]<<8|n[v+3]:w=n[v+3]<<24|n[v+2]<<16|n[v+1]<<8|n[v],u[h]=w>>>0}return u}utils$i.join32=join32;function split32(n,e){for(var o=new Array(n.length*4),l=0,t=0;l<n.length;l++,t+=4){var u=n[l];e==="big"?(o[t]=u>>>24,o[t+1]=u>>>16&255,o[t+2]=u>>>8&255,o[t+3]=u&255):(o[t+3]=u>>>24,o[t+2]=u>>>16&255,o[t+1]=u>>>8&255,o[t]=u&255)}return o}utils$i.split32=split32;function rotr32$1(n,e){return n>>>e|n<<32-e}utils$i.rotr32=rotr32$1;function rotl32$2(n,e){return n<<e|n>>>32-e}utils$i.rotl32=rotl32$2;function sum32$3(n,e){return n+e>>>0}utils$i.sum32=sum32$3;function sum32_3$1(n,e,o){return n+e+o>>>0}utils$i.sum32_3=sum32_3$1;function sum32_4$2(n,e,o,l){return n+e+o+l>>>0}utils$i.sum32_4=sum32_4$2;function sum32_5$2(n,e,o,l,t){return n+e+o+l+t>>>0}utils$i.sum32_5=sum32_5$2;function sum64$1(n,e,o,l){var t=n[e],u=n[e+1],h=l+u>>>0,v=(h<l?1:0)+o+t;n[e]=v>>>0,n[e+1]=h}utils$i.sum64=sum64$1;function sum64_hi$1(n,e,o,l){var t=e+l>>>0,u=(t<e?1:0)+n+o;return u>>>0}utils$i.sum64_hi=sum64_hi$1;function sum64_lo$1(n,e,o,l){var t=e+l;return t>>>0}utils$i.sum64_lo=sum64_lo$1;function sum64_4_hi$1(n,e,o,l,t,u,h,v){var w=0,A=e;A=A+l>>>0,w+=A<e?1:0,A=A+u>>>0,w+=A<u?1:0,A=A+v>>>0,w+=A<v?1:0;var E=n+o+t+h+w;return E>>>0}utils$i.sum64_4_hi=sum64_4_hi$1;function sum64_4_lo$1(n,e,o,l,t,u,h,v){var w=e+l+u+v;return w>>>0}utils$i.sum64_4_lo=sum64_4_lo$1;function sum64_5_hi$1(n,e,o,l,t,u,h,v,w,A){var E=0,C=e;C=C+l>>>0,E+=C<e?1:0,C=C+u>>>0,E+=C<u?1:0,C=C+v>>>0,E+=C<v?1:0,C=C+A>>>0,E+=C<A?1:0;var M=n+o+t+h+w+E;return M>>>0}utils$i.sum64_5_hi=sum64_5_hi$1;function sum64_5_lo$1(n,e,o,l,t,u,h,v,w,A){var E=e+l+u+v+A;return E>>>0}utils$i.sum64_5_lo=sum64_5_lo$1;function rotr64_hi$1(n,e,o){var l=e<<32-o|n>>>o;return l>>>0}utils$i.rotr64_hi=rotr64_hi$1;function rotr64_lo$1(n,e,o){var l=n<<32-o|e>>>o;return l>>>0}utils$i.rotr64_lo=rotr64_lo$1;function shr64_hi$1(n,e,o){return n>>>o}utils$i.shr64_hi=shr64_hi$1;function shr64_lo$1(n,e,o){var l=n<<32-o|e>>>o;return l>>>0}utils$i.shr64_lo=shr64_lo$1;var common$6={},utils$h=utils$i,assert$a=minimalisticAssert;function BlockHash$4(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}common$6.BlockHash=BlockHash$4,BlockHash$4.prototype.update=function(e,o){if(e=utils$h.toArray(e,o),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var l=e.length%this._delta8;this.pending=e.slice(e.length-l,e.length),this.pending.length===0&&(this.pending=null),e=utils$h.join32(e,0,e.length-l,this.endian);for(var t=0;t<e.length;t+=this._delta32)this._update(e,t,t+this._delta32)}return this},BlockHash$4.prototype.digest=function(e){return this.update(this._pad()),assert$a(this.pending===null),this._digest(e)},BlockHash$4.prototype._pad=function(){var e=this.pendingTotal,o=this._delta8,l=o-(e+this.padLength)%o,t=new Array(l+this.padLength);t[0]=128;for(var u=1;u<l;u++)t[u]=0;if(e<<=3,this.endian==="big"){for(var h=8;h<this.padLength;h++)t[u++]=0;t[u++]=0,t[u++]=0,t[u++]=0,t[u++]=0,t[u++]=e>>>24&255,t[u++]=e>>>16&255,t[u++]=e>>>8&255,t[u++]=e&255}else for(t[u++]=e&255,t[u++]=e>>>8&255,t[u++]=e>>>16&255,t[u++]=e>>>24&255,t[u++]=0,t[u++]=0,t[u++]=0,t[u++]=0,h=8;h<this.padLength;h++)t[u++]=0;return t};var sha={},common$5={},utils$g=utils$i,rotr32=utils$g.rotr32;function ft_1$1(n,e,o,l){if(n===0)return ch32$1(e,o,l);if(n===1||n===3)return p32(e,o,l);if(n===2)return maj32$1(e,o,l)}common$5.ft_1=ft_1$1;function ch32$1(n,e,o){return n&e^~n&o}common$5.ch32=ch32$1;function maj32$1(n,e,o){return n&e^n&o^e&o}common$5.maj32=maj32$1;function p32(n,e,o){return n^e^o}common$5.p32=p32;function s0_256$1(n){return rotr32(n,2)^rotr32(n,13)^rotr32(n,22)}common$5.s0_256=s0_256$1;function s1_256$1(n){return rotr32(n,6)^rotr32(n,11)^rotr32(n,25)}common$5.s1_256=s1_256$1;function g0_256$1(n){return rotr32(n,7)^rotr32(n,18)^n>>>3}common$5.g0_256=g0_256$1;function g1_256$1(n){return rotr32(n,17)^rotr32(n,19)^n>>>10}common$5.g1_256=g1_256$1;var utils$f=utils$i,common$4=common$6,shaCommon$1=common$5,rotl32$1=utils$f.rotl32,sum32$2=utils$f.sum32,sum32_5$1=utils$f.sum32_5,ft_1=shaCommon$1.ft_1,BlockHash$3=common$4.BlockHash,sha1_K=[1518500249,1859775393,2400959708,3395469782];function SHA1(){if(!(this instanceof SHA1))return new SHA1;BlockHash$3.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}utils$f.inherits(SHA1,BlockHash$3);var _1=SHA1;SHA1.blockSize=512,SHA1.outSize=160,SHA1.hmacStrength=80,SHA1.padLength=64,SHA1.prototype._update=function(e,o){for(var l=this.W,t=0;t<16;t++)l[t]=e[o+t];for(;t<l.length;t++)l[t]=rotl32$1(l[t-3]^l[t-8]^l[t-14]^l[t-16],1);var u=this.h[0],h=this.h[1],v=this.h[2],w=this.h[3],A=this.h[4];for(t=0;t<l.length;t++){var E=~~(t/20),C=sum32_5$1(rotl32$1(u,5),ft_1(E,h,v,w),A,l[t],sha1_K[E]);A=w,w=v,v=rotl32$1(h,30),h=u,u=C}this.h[0]=sum32$2(this.h[0],u),this.h[1]=sum32$2(this.h[1],h),this.h[2]=sum32$2(this.h[2],v),this.h[3]=sum32$2(this.h[3],w),this.h[4]=sum32$2(this.h[4],A)},SHA1.prototype._digest=function(e){return e==="hex"?utils$f.toHex32(this.h,"big"):utils$f.split32(this.h,"big")};var utils$e=utils$i,common$3=common$6,shaCommon=common$5,assert$9=minimalisticAssert,sum32$1=utils$e.sum32,sum32_4$1=utils$e.sum32_4,sum32_5=utils$e.sum32_5,ch32=shaCommon.ch32,maj32=shaCommon.maj32,s0_256=shaCommon.s0_256,s1_256=shaCommon.s1_256,g0_256=shaCommon.g0_256,g1_256=shaCommon.g1_256,BlockHash$2=common$3.BlockHash,sha256_K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function SHA256$1(){if(!(this instanceof SHA256$1))return new SHA256$1;BlockHash$2.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=sha256_K,this.W=new Array(64)}utils$e.inherits(SHA256$1,BlockHash$2);var _256=SHA256$1;SHA256$1.blockSize=512,SHA256$1.outSize=256,SHA256$1.hmacStrength=192,SHA256$1.padLength=64,SHA256$1.prototype._update=function(e,o){for(var l=this.W,t=0;t<16;t++)l[t]=e[o+t];for(;t<l.length;t++)l[t]=sum32_4$1(g1_256(l[t-2]),l[t-7],g0_256(l[t-15]),l[t-16]);var u=this.h[0],h=this.h[1],v=this.h[2],w=this.h[3],A=this.h[4],E=this.h[5],C=this.h[6],M=this.h[7];for(assert$9(this.k.length===l.length),t=0;t<l.length;t++){var P=sum32_5(M,s1_256(A),ch32(A,E,C),this.k[t],l[t]),I=sum32$1(s0_256(u),maj32(u,h,v));M=C,C=E,E=A,A=sum32$1(w,P),w=v,v=h,h=u,u=sum32$1(P,I)}this.h[0]=sum32$1(this.h[0],u),this.h[1]=sum32$1(this.h[1],h),this.h[2]=sum32$1(this.h[2],v),this.h[3]=sum32$1(this.h[3],w),this.h[4]=sum32$1(this.h[4],A),this.h[5]=sum32$1(this.h[5],E),this.h[6]=sum32$1(this.h[6],C),this.h[7]=sum32$1(this.h[7],M)},SHA256$1.prototype._digest=function(e){return e==="hex"?utils$e.toHex32(this.h,"big"):utils$e.split32(this.h,"big")};var utils$d=utils$i,SHA256=_256;function SHA224(){if(!(this instanceof SHA224))return new SHA224;SHA256.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}utils$d.inherits(SHA224,SHA256);var _224=SHA224;SHA224.blockSize=512,SHA224.outSize=224,SHA224.hmacStrength=192,SHA224.padLength=64,SHA224.prototype._digest=function(e){return e==="hex"?utils$d.toHex32(this.h.slice(0,7),"big"):utils$d.split32(this.h.slice(0,7),"big")};var utils$c=utils$i,common$2=common$6,assert$8=minimalisticAssert,rotr64_hi=utils$c.rotr64_hi,rotr64_lo=utils$c.rotr64_lo,shr64_hi=utils$c.shr64_hi,shr64_lo=utils$c.shr64_lo,sum64=utils$c.sum64,sum64_hi=utils$c.sum64_hi,sum64_lo=utils$c.sum64_lo,sum64_4_hi=utils$c.sum64_4_hi,sum64_4_lo=utils$c.sum64_4_lo,sum64_5_hi=utils$c.sum64_5_hi,sum64_5_lo=utils$c.sum64_5_lo,BlockHash$1=common$2.BlockHash,sha512_K=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function SHA512$1(){if(!(this instanceof SHA512$1))return new SHA512$1;BlockHash$1.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=sha512_K,this.W=new Array(160)}utils$c.inherits(SHA512$1,BlockHash$1);var _512=SHA512$1;SHA512$1.blockSize=1024,SHA512$1.outSize=512,SHA512$1.hmacStrength=192,SHA512$1.padLength=128,SHA512$1.prototype._prepareBlock=function(e,o){for(var l=this.W,t=0;t<32;t++)l[t]=e[o+t];for(;t<l.length;t+=2){var u=g1_512_hi(l[t-4],l[t-3]),h=g1_512_lo(l[t-4],l[t-3]),v=l[t-14],w=l[t-13],A=g0_512_hi(l[t-30],l[t-29]),E=g0_512_lo(l[t-30],l[t-29]),C=l[t-32],M=l[t-31];l[t]=sum64_4_hi(u,h,v,w,A,E,C,M),l[t+1]=sum64_4_lo(u,h,v,w,A,E,C,M)}},SHA512$1.prototype._update=function(e,o){this._prepareBlock(e,o);var l=this.W,t=this.h[0],u=this.h[1],h=this.h[2],v=this.h[3],w=this.h[4],A=this.h[5],E=this.h[6],C=this.h[7],M=this.h[8],P=this.h[9],I=this.h[10],j=this.h[11],B=this.h[12],F=this.h[13],N=this.h[14],ee=this.h[15];assert$8(this.k.length===l.length);for(var Z=0;Z<l.length;Z+=2){var re=N,fe=ee,V=s1_512_hi(M,P),le=s1_512_lo(M,P),he=ch64_hi(M,P,I,j,B),ye=ch64_lo(M,P,I,j,B,F),L=this.k[Z],p=this.k[Z+1],y=l[Z],S=l[Z+1],c=sum64_5_hi(re,fe,V,le,he,ye,L,p,y,S),m=sum64_5_lo(re,fe,V,le,he,ye,L,p,y,S);re=s0_512_hi(t,u),fe=s0_512_lo(t,u),V=maj64_hi(t,u,h,v,w),le=maj64_lo(t,u,h,v,w,A);var x=sum64_hi(re,fe,V,le),T=sum64_lo(re,fe,V,le);N=B,ee=F,B=I,F=j,I=M,j=P,M=sum64_hi(E,C,c,m),P=sum64_lo(C,C,c,m),E=w,C=A,w=h,A=v,h=t,v=u,t=sum64_hi(c,m,x,T),u=sum64_lo(c,m,x,T)}sum64(this.h,0,t,u),sum64(this.h,2,h,v),sum64(this.h,4,w,A),sum64(this.h,6,E,C),sum64(this.h,8,M,P),sum64(this.h,10,I,j),sum64(this.h,12,B,F),sum64(this.h,14,N,ee)},SHA512$1.prototype._digest=function(e){return e==="hex"?utils$c.toHex32(this.h,"big"):utils$c.split32(this.h,"big")};function ch64_hi(n,e,o,l,t){var u=n&o^~n&t;return u<0&&(u+=4294967296),u}function ch64_lo(n,e,o,l,t,u){var h=e&l^~e&u;return h<0&&(h+=4294967296),h}function maj64_hi(n,e,o,l,t){var u=n&o^n&t^o&t;return u<0&&(u+=4294967296),u}function maj64_lo(n,e,o,l,t,u){var h=e&l^e&u^l&u;return h<0&&(h+=4294967296),h}function s0_512_hi(n,e){var o=rotr64_hi(n,e,28),l=rotr64_hi(e,n,2),t=rotr64_hi(e,n,7),u=o^l^t;return u<0&&(u+=4294967296),u}function s0_512_lo(n,e){var o=rotr64_lo(n,e,28),l=rotr64_lo(e,n,2),t=rotr64_lo(e,n,7),u=o^l^t;return u<0&&(u+=4294967296),u}function s1_512_hi(n,e){var o=rotr64_hi(n,e,14),l=rotr64_hi(n,e,18),t=rotr64_hi(e,n,9),u=o^l^t;return u<0&&(u+=4294967296),u}function s1_512_lo(n,e){var o=rotr64_lo(n,e,14),l=rotr64_lo(n,e,18),t=rotr64_lo(e,n,9),u=o^l^t;return u<0&&(u+=4294967296),u}function g0_512_hi(n,e){var o=rotr64_hi(n,e,1),l=rotr64_hi(n,e,8),t=shr64_hi(n,e,7),u=o^l^t;return u<0&&(u+=4294967296),u}function g0_512_lo(n,e){var o=rotr64_lo(n,e,1),l=rotr64_lo(n,e,8),t=shr64_lo(n,e,7),u=o^l^t;return u<0&&(u+=4294967296),u}function g1_512_hi(n,e){var o=rotr64_hi(n,e,19),l=rotr64_hi(e,n,29),t=shr64_hi(n,e,6),u=o^l^t;return u<0&&(u+=4294967296),u}function g1_512_lo(n,e){var o=rotr64_lo(n,e,19),l=rotr64_lo(e,n,29),t=shr64_lo(n,e,6),u=o^l^t;return u<0&&(u+=4294967296),u}var utils$b=utils$i,SHA512=_512;function SHA384(){if(!(this instanceof SHA384))return new SHA384;SHA512.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}utils$b.inherits(SHA384,SHA512);var _384=SHA384;SHA384.blockSize=1024,SHA384.outSize=384,SHA384.hmacStrength=192,SHA384.padLength=128,SHA384.prototype._digest=function(e){return e==="hex"?utils$b.toHex32(this.h.slice(0,12),"big"):utils$b.split32(this.h.slice(0,12),"big")},sha.sha1=_1,sha.sha224=_224,sha.sha256=_256,sha.sha384=_384,sha.sha512=_512;var ripemd={},utils$a=utils$i,common$1=common$6,rotl32=utils$a.rotl32,sum32=utils$a.sum32,sum32_3=utils$a.sum32_3,sum32_4=utils$a.sum32_4,BlockHash=common$1.BlockHash;function RIPEMD160(){if(!(this instanceof RIPEMD160))return new RIPEMD160;BlockHash.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}utils$a.inherits(RIPEMD160,BlockHash),ripemd.ripemd160=RIPEMD160,RIPEMD160.blockSize=512,RIPEMD160.outSize=160,RIPEMD160.hmacStrength=192,RIPEMD160.padLength=64,RIPEMD160.prototype._update=function(e,o){for(var l=this.h[0],t=this.h[1],u=this.h[2],h=this.h[3],v=this.h[4],w=l,A=t,E=u,C=h,M=v,P=0;P<80;P++){var I=sum32(rotl32(sum32_4(l,f(P,t,u,h),e[r[P]+o],K(P)),s[P]),v);l=v,v=h,h=rotl32(u,10),u=t,t=I,I=sum32(rotl32(sum32_4(w,f(79-P,A,E,C),e[rh[P]+o],Kh(P)),sh[P]),M),w=M,M=C,C=rotl32(E,10),E=A,A=I}I=sum32_3(this.h[1],u,C),this.h[1]=sum32_3(this.h[2],h,M),this.h[2]=sum32_3(this.h[3],v,w),this.h[3]=sum32_3(this.h[4],l,A),this.h[4]=sum32_3(this.h[0],t,E),this.h[0]=I},RIPEMD160.prototype._digest=function(e){return e==="hex"?utils$a.toHex32(this.h,"little"):utils$a.split32(this.h,"little")};function f(n,e,o,l){return n<=15?e^o^l:n<=31?e&o|~e&l:n<=47?(e|~o)^l:n<=63?e&l|o&~l:e^(o|~l)}function K(n){return n<=15?0:n<=31?1518500249:n<=47?1859775393:n<=63?2400959708:2840853838}function Kh(n){return n<=15?1352829926:n<=31?1548603684:n<=47?1836072691:n<=63?2053994217:0}var r=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],rh=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],s=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],sh=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],utils$9=utils$i,assert$7=minimalisticAssert;function Hmac(n,e,o){if(!(this instanceof Hmac))return new Hmac(n,e,o);this.Hash=n,this.blockSize=n.blockSize/8,this.outSize=n.outSize/8,this.inner=null,this.outer=null,this._init(utils$9.toArray(e,o))}var hmac=Hmac;Hmac.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),assert$7(e.length<=this.blockSize);for(var o=e.length;o<this.blockSize;o++)e.push(0);for(o=0;o<e.length;o++)e[o]^=54;for(this.inner=new this.Hash().update(e),o=0;o<e.length;o++)e[o]^=106;this.outer=new this.Hash().update(e)},Hmac.prototype.update=function(e,o){return this.inner.update(e,o),this},Hmac.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)},function(n){var e=n;e.utils=utils$i,e.common=common$6,e.sha=sha,e.ripemd=ripemd,e.hmac=hmac,e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160}(hash$2);var secp256k1,hasRequiredSecp256k1;function requireSecp256k1(){return hasRequiredSecp256k1||(hasRequiredSecp256k1=1,secp256k1={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}),secp256k1}(function(n){var e=n,o=hash$2,l=curve,t=utils$o,u=t.assert;function h(A){A.type==="short"?this.curve=new l.short(A):A.type==="edwards"?this.curve=new l.edwards(A):this.curve=new l.mont(A),this.g=this.curve.g,this.n=this.curve.n,this.hash=A.hash,u(this.g.validate(),"Invalid curve"),u(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}e.PresetCurve=h;function v(A,E){Object.defineProperty(e,A,{configurable:!0,enumerable:!0,get:function(){var C=new h(E);return Object.defineProperty(e,A,{configurable:!0,enumerable:!0,value:C}),C}})}v("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),v("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),v("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),v("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),v("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),v("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),v("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var w;try{w=requireSecp256k1()}catch{w=void 0}v("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",w]})})(curves$1);var hash$1=hash$2,utils$8=utils$n,assert$6=minimalisticAssert;function HmacDRBG(n){if(!(this instanceof HmacDRBG))return new HmacDRBG(n);this.hash=n.hash,this.predResist=!!n.predResist,this.outLen=this.hash.outSize,this.minEntropy=n.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=utils$8.toArray(n.entropy,n.entropyEnc||"hex"),o=utils$8.toArray(n.nonce,n.nonceEnc||"hex"),l=utils$8.toArray(n.pers,n.persEnc||"hex");assert$6(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,o,l)}var hmacDrbg=HmacDRBG;HmacDRBG.prototype._init=function(e,o,l){var t=e.concat(o).concat(l);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var u=0;u<this.V.length;u++)this.K[u]=0,this.V[u]=1;this._update(t),this._reseed=1,this.reseedInterval=281474976710656},HmacDRBG.prototype._hmac=function(){return new hash$1.hmac(this.hash,this.K)},HmacDRBG.prototype._update=function(e){var o=this._hmac().update(this.V).update([0]);e&&(o=o.update(e)),this.K=o.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},HmacDRBG.prototype.reseed=function(e,o,l,t){typeof o!="string"&&(t=l,l=o,o=null),e=utils$8.toArray(e,o),l=utils$8.toArray(l,t),assert$6(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(l||[])),this._reseed=1},HmacDRBG.prototype.generate=function(e,o,l,t){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof o!="string"&&(t=l,l=o,o=null),l&&(l=utils$8.toArray(l,t||"hex"),this._update(l));for(var u=[];u.length<e;)this.V=this._hmac().update(this.V).digest(),u=u.concat(this.V);var h=u.slice(0,e);return this._update(l),this._reseed++,utils$8.encode(h,o)};var BN$5=bnExports$3,utils$7=utils$o,assert$5=utils$7.assert;function KeyPair$2(n,e){this.ec=n,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}var key$2=KeyPair$2;KeyPair$2.fromPublic=function(e,o,l){return o instanceof KeyPair$2?o:new KeyPair$2(e,{pub:o,pubEnc:l})},KeyPair$2.fromPrivate=function(e,o,l){return o instanceof KeyPair$2?o:new KeyPair$2(e,{priv:o,privEnc:l})},KeyPair$2.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},KeyPair$2.prototype.getPublic=function(e,o){return typeof e=="string"&&(o=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),o?this.pub.encode(o,e):this.pub},KeyPair$2.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv},KeyPair$2.prototype._importPrivate=function(e,o){this.priv=new BN$5(e,o||16),this.priv=this.priv.umod(this.ec.curve.n)},KeyPair$2.prototype._importPublic=function(e,o){if(e.x||e.y){this.ec.curve.type==="mont"?assert$5(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&assert$5(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,o)},KeyPair$2.prototype.derive=function(e){return e.validate()||assert$5(e.validate(),"public point not validated"),e.mul(this.priv).getX()},KeyPair$2.prototype.sign=function(e,o,l){return this.ec.sign(e,this,o,l)},KeyPair$2.prototype.verify=function(e,o){return this.ec.verify(e,o,this)},KeyPair$2.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var BN$4=bnExports$3,utils$6=utils$o,assert$4=utils$6.assert;function Signature$2(n,e){if(n instanceof Signature$2)return n;this._importDER(n,e)||(assert$4(n.r&&n.s,"Signature without r or s"),this.r=new BN$4(n.r,16),this.s=new BN$4(n.s,16),n.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=n.recoveryParam)}var signature$2=Signature$2;function Position(){this.place=0}function getLength(n,e){var o=n[e.place++];if(!(o&128))return o;var l=o&15;if(l===0||l>4||n[e.place]===0)return!1;for(var t=0,u=0,h=e.place;u<l;u++,h++)t<<=8,t|=n[h],t>>>=0;return t<=127?!1:(e.place=h,t)}function rmPadding(n){for(var e=0,o=n.length-1;!n[e]&&!(n[e+1]&128)&&e<o;)e++;return e===0?n:n.slice(e)}Signature$2.prototype._importDER=function(e,o){e=utils$6.toArray(e,o);var l=new Position;if(e[l.place++]!==48)return!1;var t=getLength(e,l);if(t===!1||t+l.place!==e.length||e[l.place++]!==2)return!1;var u=getLength(e,l);if(u===!1||e[l.place]&128)return!1;var h=e.slice(l.place,u+l.place);if(l.place+=u,e[l.place++]!==2)return!1;var v=getLength(e,l);if(v===!1||e.length!==v+l.place||e[l.place]&128)return!1;var w=e.slice(l.place,v+l.place);if(h[0]===0)if(h[1]&128)h=h.slice(1);else return!1;if(w[0]===0)if(w[1]&128)w=w.slice(1);else return!1;return this.r=new BN$4(h),this.s=new BN$4(w),this.recoveryParam=null,!0};function constructLength(n,e){if(e<128){n.push(e);return}var o=1+(Math.log(e)/Math.LN2>>>3);for(n.push(o|128);--o;)n.push(e>>>(o<<3)&255);n.push(e)}Signature$2.prototype.toDER=function(e){var o=this.r.toArray(),l=this.s.toArray();for(o[0]&128&&(o=[0].concat(o)),l[0]&128&&(l=[0].concat(l)),o=rmPadding(o),l=rmPadding(l);!l[0]&&!(l[1]&128);)l=l.slice(1);var t=[2];constructLength(t,o.length),t=t.concat(o),t.push(2),constructLength(t,l.length);var u=t.concat(l),h=[48];return constructLength(h,u.length),h=h.concat(u),utils$6.encode(h,e)};var ec$1,hasRequiredEc$1;function requireEc$1(){if(hasRequiredEc$1)return ec$1;hasRequiredEc$1=1;var n=bnExports$3,e=hmacDrbg,o=utils$o,l=curves$1,t=requireBrorand(),u=o.assert,h=key$2,v=signature$2;function w(A){if(!(this instanceof w))return new w(A);typeof A=="string"&&(u(Object.prototype.hasOwnProperty.call(l,A),"Unknown curve "+A),A=l[A]),A instanceof l.PresetCurve&&(A={curve:A}),this.curve=A.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=A.curve.g,this.g.precompute(A.curve.n.bitLength()+1),this.hash=A.hash||A.curve.hash}return ec$1=w,w.prototype.keyPair=function(E){return new h(this,E)},w.prototype.keyFromPrivate=function(E,C){return h.fromPrivate(this,E,C)},w.prototype.keyFromPublic=function(E,C){return h.fromPublic(this,E,C)},w.prototype.genKeyPair=function(E){E||(E={});for(var C=new e({hash:this.hash,pers:E.pers,persEnc:E.persEnc||"utf8",entropy:E.entropy||t(this.hash.hmacStrength),entropyEnc:E.entropy&&E.entropyEnc||"utf8",nonce:this.n.toArray()}),M=this.n.byteLength(),P=this.n.sub(new n(2));;){var I=new n(C.generate(M));if(!(I.cmp(P)>0))return I.iaddn(1),this.keyFromPrivate(I)}},w.prototype._truncateToN=function(E,C){var M=E.byteLength()*8-this.n.bitLength();return M>0&&(E=E.ushrn(M)),!C&&E.cmp(this.n)>=0?E.sub(this.n):E},w.prototype.sign=function(E,C,M,P){typeof M=="object"&&(P=M,M=null),P||(P={}),C=this.keyFromPrivate(C,M),E=this._truncateToN(new n(E,16));for(var I=this.n.byteLength(),j=C.getPrivate().toArray("be",I),B=E.toArray("be",I),F=new e({hash:this.hash,entropy:j,nonce:B,pers:P.pers,persEnc:P.persEnc||"utf8"}),N=this.n.sub(new n(1)),ee=0;;ee++){var Z=P.k?P.k(ee):new n(F.generate(this.n.byteLength()));if(Z=this._truncateToN(Z,!0),!(Z.cmpn(1)<=0||Z.cmp(N)>=0)){var re=this.g.mul(Z);if(!re.isInfinity()){var fe=re.getX(),V=fe.umod(this.n);if(V.cmpn(0)!==0){var le=Z.invm(this.n).mul(V.mul(C.getPrivate()).iadd(E));if(le=le.umod(this.n),le.cmpn(0)!==0){var he=(re.getY().isOdd()?1:0)|(fe.cmp(V)!==0?2:0);return P.canonical&&le.cmp(this.nh)>0&&(le=this.n.sub(le),he^=1),new v({r:V,s:le,recoveryParam:he})}}}}}},w.prototype.verify=function(E,C,M,P){E=this._truncateToN(new n(E,16)),M=this.keyFromPublic(M,P),C=new v(C,"hex");var I=C.r,j=C.s;if(I.cmpn(1)<0||I.cmp(this.n)>=0||j.cmpn(1)<0||j.cmp(this.n)>=0)return!1;var B=j.invm(this.n),F=B.mul(E).umod(this.n),N=B.mul(I).umod(this.n),ee;return this.curve._maxwellTrick?(ee=this.g.jmulAdd(F,M.getPublic(),N),ee.isInfinity()?!1:ee.eqXToP(I)):(ee=this.g.mulAdd(F,M.getPublic(),N),ee.isInfinity()?!1:ee.getX().umod(this.n).cmp(I)===0)},w.prototype.recoverPubKey=function(A,E,C,M){u((3&C)===C,"The recovery param is more than two bits"),E=new v(E,M);var P=this.n,I=new n(A),j=E.r,B=E.s,F=C&1,N=C>>1;if(j.cmp(this.curve.p.umod(this.curve.n))>=0&&N)throw new Error("Unable to find sencond key candinate");N?j=this.curve.pointFromX(j.add(this.curve.n),F):j=this.curve.pointFromX(j,F);var ee=E.r.invm(P),Z=P.sub(I).mul(ee).umod(P),re=B.mul(ee).umod(P);return this.g.mulAdd(Z,j,re)},w.prototype.getKeyRecoveryParam=function(A,E,C,M){if(E=new v(E,M),E.recoveryParam!==null)return E.recoveryParam;for(var P=0;P<4;P++){var I;try{I=this.recoverPubKey(A,E,P)}catch{continue}if(I.eq(C))return P}throw new Error("Unable to find valid recovery factor")},ec$1}var utils$5=utils$o,assert$3=utils$5.assert,parseBytes$2=utils$5.parseBytes,cachedProperty$1=utils$5.cachedProperty;function KeyPair$1(n,e){this.eddsa=n,this._secret=parseBytes$2(e.secret),n.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=parseBytes$2(e.pub)}KeyPair$1.fromPublic=function(e,o){return o instanceof KeyPair$1?o:new KeyPair$1(e,{pub:o})},KeyPair$1.fromSecret=function(e,o){return o instanceof KeyPair$1?o:new KeyPair$1(e,{secret:o})},KeyPair$1.prototype.secret=function(){return this._secret},cachedProperty$1(KeyPair$1,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),cachedProperty$1(KeyPair$1,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),cachedProperty$1(KeyPair$1,"privBytes",function(){var e=this.eddsa,o=this.hash(),l=e.encodingLength-1,t=o.slice(0,e.encodingLength);return t[0]&=248,t[l]&=127,t[l]|=64,t}),cachedProperty$1(KeyPair$1,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),cachedProperty$1(KeyPair$1,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),cachedProperty$1(KeyPair$1,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),KeyPair$1.prototype.sign=function(e){return assert$3(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},KeyPair$1.prototype.verify=function(e,o){return this.eddsa.verify(e,o,this)},KeyPair$1.prototype.getSecret=function(e){return assert$3(this._secret,"KeyPair is public only"),utils$5.encode(this.secret(),e)},KeyPair$1.prototype.getPublic=function(e){return utils$5.encode(this.pubBytes(),e)};var key$1=KeyPair$1,BN$3=bnExports$3,utils$4=utils$o,assert$2=utils$4.assert,cachedProperty=utils$4.cachedProperty,parseBytes$1=utils$4.parseBytes;function Signature$1(n,e){this.eddsa=n,typeof e!="object"&&(e=parseBytes$1(e)),Array.isArray(e)&&(assert$2(e.length===n.encodingLength*2,"Signature has invalid size"),e={R:e.slice(0,n.encodingLength),S:e.slice(n.encodingLength)}),assert$2(e.R&&e.S,"Signature without R or S"),n.isPoint(e.R)&&(this._R=e.R),e.S instanceof BN$3&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}cachedProperty(Signature$1,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),cachedProperty(Signature$1,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),cachedProperty(Signature$1,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),cachedProperty(Signature$1,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),Signature$1.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},Signature$1.prototype.toHex=function(){return utils$4.encode(this.toBytes(),"hex").toUpperCase()};var signature$1=Signature$1,hash=hash$2,curves=curves$1,utils$3=utils$o,assert$1=utils$3.assert,parseBytes=utils$3.parseBytes,KeyPair=key$1,Signature=signature$1;function EDDSA(n){if(assert$1(n==="ed25519","only tested with ed25519 so far"),!(this instanceof EDDSA))return new EDDSA(n);n=curves[n].curve,this.curve=n,this.g=n.g,this.g.precompute(n.n.bitLength()+1),this.pointClass=n.point().constructor,this.encodingLength=Math.ceil(n.n.bitLength()/8),this.hash=hash.sha512}var eddsa=EDDSA;EDDSA.prototype.sign=function(e,o){e=parseBytes(e);var l=this.keyFromSecret(o),t=this.hashInt(l.messagePrefix(),e),u=this.g.mul(t),h=this.encodePoint(u),v=this.hashInt(h,l.pubBytes(),e).mul(l.priv()),w=t.add(v).umod(this.curve.n);return this.makeSignature({R:u,S:w,Rencoded:h})},EDDSA.prototype.verify=function(e,o,l){if(e=parseBytes(e),o=this.makeSignature(o),o.S().gte(o.eddsa.curve.n)||o.S().isNeg())return!1;var t=this.keyFromPublic(l),u=this.hashInt(o.Rencoded(),t.pubBytes(),e),h=this.g.mul(o.S()),v=o.R().add(t.pub().mul(u));return v.eq(h)},EDDSA.prototype.hashInt=function(){for(var e=this.hash(),o=0;o<arguments.length;o++)e.update(arguments[o]);return utils$3.intFromLE(e.digest()).umod(this.curve.n)},EDDSA.prototype.keyFromPublic=function(e){return KeyPair.fromPublic(this,e)},EDDSA.prototype.keyFromSecret=function(e){return KeyPair.fromSecret(this,e)},EDDSA.prototype.makeSignature=function(e){return e instanceof Signature?e:new Signature(this,e)},EDDSA.prototype.encodePoint=function(e){var o=e.getY().toArray("le",this.encodingLength);return o[this.encodingLength-1]|=e.getX().isOdd()?128:0,o},EDDSA.prototype.decodePoint=function(e){e=utils$3.parseBytes(e);var o=e.length-1,l=e.slice(0,o).concat(e[o]&-129),t=(e[o]&128)!==0,u=utils$3.intFromLE(l);return this.curve.pointFromY(u,t)},EDDSA.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},EDDSA.prototype.decodeInt=function(e){return utils$3.intFromLE(e)},EDDSA.prototype.isPoint=function(e){return e instanceof this.pointClass};var hasRequiredElliptic;function requireElliptic(){return hasRequiredElliptic||(hasRequiredElliptic=1,function(n){var e=n;e.version=require$$0$1.version,e.utils=utils$o,e.rand=requireBrorand(),e.curve=curve,e.curves=curves$1,e.ec=requireEc$1(),e.eddsa=eddsa}(elliptic)),elliptic}var asn1$3={},asn1$2={},bn$2={exports:{}};bn$2.exports,function(n){(function(e,o){function l(L,p){if(!L)throw new Error(p||"Assertion failed")}function t(L,p){L.super_=p;var y=function(){};y.prototype=p.prototype,L.prototype=new y,L.prototype.constructor=L}function u(L,p,y){if(u.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((p==="le"||p==="be")&&(y=p,p=10),this._init(L||0,p||10,y||"be"))}typeof e=="object"?e.exports=u:o.BN=u,u.BN=u,u.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=require$$0$2.Buffer}catch{}u.isBN=function(p){return p instanceof u?!0:p!==null&&typeof p=="object"&&p.constructor.wordSize===u.wordSize&&Array.isArray(p.words)},u.max=function(p,y){return p.cmp(y)>0?p:y},u.min=function(p,y){return p.cmp(y)<0?p:y},u.prototype._init=function(p,y,S){if(typeof p=="number")return this._initNumber(p,y,S);if(typeof p=="object")return this._initArray(p,y,S);y==="hex"&&(y=16),l(y===(y|0)&&y>=2&&y<=36),p=p.toString().replace(/\s+/g,"");var c=0;p[0]==="-"&&(c++,this.negative=1),c<p.length&&(y===16?this._parseHex(p,c,S):(this._parseBase(p,y,c),S==="le"&&this._initArray(this.toArray(),y,S)))},u.prototype._initNumber=function(p,y,S){p<0&&(this.negative=1,p=-p),p<67108864?(this.words=[p&67108863],this.length=1):p<4503599627370496?(this.words=[p&67108863,p/67108864&67108863],this.length=2):(l(p<9007199254740992),this.words=[p&67108863,p/67108864&67108863,1],this.length=3),S==="le"&&this._initArray(this.toArray(),y,S)},u.prototype._initArray=function(p,y,S){if(l(typeof p.length=="number"),p.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(p.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m,x,T=0;if(S==="be")for(c=p.length-1,m=0;c>=0;c-=3)x=p[c]|p[c-1]<<8|p[c-2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);else if(S==="le")for(c=0,m=0;c<p.length;c+=3)x=p[c]|p[c+1]<<8|p[c+2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);return this.strip()};function v(L,p){var y=L.charCodeAt(p);return y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:y-48&15}function w(L,p,y){var S=v(L,y);return y-1>=p&&(S|=v(L,y-1)<<4),S}u.prototype._parseHex=function(p,y,S){this.length=Math.ceil((p.length-y)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m=0,x=0,T;if(S==="be")for(c=p.length-1;c>=y;c-=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8;else{var b=p.length-y;for(c=b%2===0?y+1:y;c<p.length;c+=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8}this.strip()};function A(L,p,y,S){for(var c=0,m=Math.min(L.length,y),x=p;x<m;x++){var T=L.charCodeAt(x)-48;c*=S,T>=49?c+=T-49+10:T>=17?c+=T-17+10:c+=T}return c}u.prototype._parseBase=function(p,y,S){this.words=[0],this.length=1;for(var c=0,m=1;m<=67108863;m*=y)c++;c--,m=m/y|0;for(var x=p.length-S,T=x%c,b=Math.min(x,x-T)+S,d=0,k=S;k<b;k+=c)d=A(p,k,k+c,y),this.imuln(m),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(T!==0){var D=1;for(d=A(p,k,p.length,y),k=0;k<T;k++)D*=y;this.imuln(D),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}this.strip()},u.prototype.copy=function(p){p.words=new Array(this.length);for(var y=0;y<this.length;y++)p.words[y]=this.words[y];p.length=this.length,p.negative=this.negative,p.red=this.red},u.prototype.clone=function(){var p=new u(null);return this.copy(p),p},u.prototype._expand=function(p){for(;this.length<p;)this.words[this.length++]=0;return this},u.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},u.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},u.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],C=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],M=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];u.prototype.toString=function(p,y){p=p||10,y=y|0||1;var S;if(p===16||p==="hex"){S="";for(var c=0,m=0,x=0;x<this.length;x++){var T=this.words[x],b=((T<<c|m)&16777215).toString(16);m=T>>>24-c&16777215,m!==0||x!==this.length-1?S=E[6-b.length]+b+S:S=b+S,c+=2,c>=26&&(c-=26,x--)}for(m!==0&&(S=m.toString(16)+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(p===(p|0)&&p>=2&&p<=36){var d=C[p],k=M[p];S="";var D=this.clone();for(D.negative=0;!D.isZero();){var O=D.modn(k).toString(p);D=D.idivn(k),D.isZero()?S=O+S:S=E[d-O.length]+O+S}for(this.isZero()&&(S="0"+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}l(!1,"Base should be between 2 and 36")},u.prototype.toNumber=function(){var p=this.words[0];return this.length===2?p+=this.words[1]*67108864:this.length===3&&this.words[2]===1?p+=4503599627370496+this.words[1]*67108864:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-p:p},u.prototype.toJSON=function(){return this.toString(16)},u.prototype.toBuffer=function(p,y){return l(typeof h<"u"),this.toArrayLike(h,p,y)},u.prototype.toArray=function(p,y){return this.toArrayLike(Array,p,y)},u.prototype.toArrayLike=function(p,y,S){var c=this.byteLength(),m=S||Math.max(1,c);l(c<=m,"byte array longer than desired length"),l(m>0,"Requested array length <= 0"),this.strip();var x=y==="le",T=new p(m),b,d,k=this.clone();if(x){for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[d]=b;for(;d<m;d++)T[d]=0}else{for(d=0;d<m-c;d++)T[d]=0;for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[m-d-1]=b}return T},Math.clz32?u.prototype._countBits=function(p){return 32-Math.clz32(p)}:u.prototype._countBits=function(p){var y=p,S=0;return y>=4096&&(S+=13,y>>>=13),y>=64&&(S+=7,y>>>=7),y>=8&&(S+=4,y>>>=4),y>=2&&(S+=2,y>>>=2),S+y},u.prototype._zeroBits=function(p){if(p===0)return 26;var y=p,S=0;return y&8191||(S+=13,y>>>=13),y&127||(S+=7,y>>>=7),y&15||(S+=4,y>>>=4),y&3||(S+=2,y>>>=2),y&1||S++,S},u.prototype.bitLength=function(){var p=this.words[this.length-1],y=this._countBits(p);return(this.length-1)*26+y};function P(L){for(var p=new Array(L.bitLength()),y=0;y<p.length;y++){var S=y/26|0,c=y%26;p[y]=(L.words[S]&1<<c)>>>c}return p}u.prototype.zeroBits=function(){if(this.isZero())return 0;for(var p=0,y=0;y<this.length;y++){var S=this._zeroBits(this.words[y]);if(p+=S,S!==26)break}return p},u.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},u.prototype.toTwos=function(p){return this.negative!==0?this.abs().inotn(p).iaddn(1):this.clone()},u.prototype.fromTwos=function(p){return this.testn(p-1)?this.notn(p).iaddn(1).ineg():this.clone()},u.prototype.isNeg=function(){return this.negative!==0},u.prototype.neg=function(){return this.clone().ineg()},u.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},u.prototype.iuor=function(p){for(;this.length<p.length;)this.words[this.length++]=0;for(var y=0;y<p.length;y++)this.words[y]=this.words[y]|p.words[y];return this.strip()},u.prototype.ior=function(p){return l((this.negative|p.negative)===0),this.iuor(p)},u.prototype.or=function(p){return this.length>p.length?this.clone().ior(p):p.clone().ior(this)},u.prototype.uor=function(p){return this.length>p.length?this.clone().iuor(p):p.clone().iuor(this)},u.prototype.iuand=function(p){var y;this.length>p.length?y=p:y=this;for(var S=0;S<y.length;S++)this.words[S]=this.words[S]&p.words[S];return this.length=y.length,this.strip()},u.prototype.iand=function(p){return l((this.negative|p.negative)===0),this.iuand(p)},u.prototype.and=function(p){return this.length>p.length?this.clone().iand(p):p.clone().iand(this)},u.prototype.uand=function(p){return this.length>p.length?this.clone().iuand(p):p.clone().iuand(this)},u.prototype.iuxor=function(p){var y,S;this.length>p.length?(y=this,S=p):(y=p,S=this);for(var c=0;c<S.length;c++)this.words[c]=y.words[c]^S.words[c];if(this!==y)for(;c<y.length;c++)this.words[c]=y.words[c];return this.length=y.length,this.strip()},u.prototype.ixor=function(p){return l((this.negative|p.negative)===0),this.iuxor(p)},u.prototype.xor=function(p){return this.length>p.length?this.clone().ixor(p):p.clone().ixor(this)},u.prototype.uxor=function(p){return this.length>p.length?this.clone().iuxor(p):p.clone().iuxor(this)},u.prototype.inotn=function(p){l(typeof p=="number"&&p>=0);var y=Math.ceil(p/26)|0,S=p%26;this._expand(y),S>0&&y--;for(var c=0;c<y;c++)this.words[c]=~this.words[c]&67108863;return S>0&&(this.words[c]=~this.words[c]&67108863>>26-S),this.strip()},u.prototype.notn=function(p){return this.clone().inotn(p)},u.prototype.setn=function(p,y){l(typeof p=="number"&&p>=0);var S=p/26|0,c=p%26;return this._expand(S+1),y?this.words[S]=this.words[S]|1<<c:this.words[S]=this.words[S]&~(1<<c),this.strip()},u.prototype.iadd=function(p){var y;if(this.negative!==0&&p.negative===0)return this.negative=0,y=this.isub(p),this.negative^=1,this._normSign();if(this.negative===0&&p.negative!==0)return p.negative=0,y=this.isub(p),p.negative=1,y._normSign();var S,c;this.length>p.length?(S=this,c=p):(S=p,c=this);for(var m=0,x=0;x<c.length;x++)y=(S.words[x]|0)+(c.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;for(;m!==0&&x<S.length;x++)y=(S.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;if(this.length=S.length,m!==0)this.words[this.length]=m,this.length++;else if(S!==this)for(;x<S.length;x++)this.words[x]=S.words[x];return this},u.prototype.add=function(p){var y;return p.negative!==0&&this.negative===0?(p.negative=0,y=this.sub(p),p.negative^=1,y):p.negative===0&&this.negative!==0?(this.negative=0,y=p.sub(this),this.negative=1,y):this.length>p.length?this.clone().iadd(p):p.clone().iadd(this)},u.prototype.isub=function(p){if(p.negative!==0){p.negative=0;var y=this.iadd(p);return p.negative=1,y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(p),this.negative=1,this._normSign();var S=this.cmp(p);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,m;S>0?(c=this,m=p):(c=p,m=this);for(var x=0,T=0;T<m.length;T++)y=(c.words[T]|0)-(m.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;for(;x!==0&&T<c.length;T++)y=(c.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;if(x===0&&T<c.length&&c!==this)for(;T<c.length;T++)this.words[T]=c.words[T];return this.length=Math.max(this.length,T),c!==this&&(this.negative=1),this.strip()},u.prototype.sub=function(p){return this.clone().isub(p)};function I(L,p,y){y.negative=p.negative^L.negative;var S=L.length+p.length|0;y.length=S,S=S-1|0;var c=L.words[0]|0,m=p.words[0]|0,x=c*m,T=x&67108863,b=x/67108864|0;y.words[0]=T;for(var d=1;d<S;d++){for(var k=b>>>26,D=b&67108863,O=Math.min(d,p.length-1),Q=Math.max(0,d-L.length+1);Q<=O;Q++){var J=d-Q|0;c=L.words[J]|0,m=p.words[Q]|0,x=c*m+D,k+=x/67108864|0,D=x&67108863}y.words[d]=D|0,b=k|0}return b!==0?y.words[d]=b|0:y.length--,y.strip()}var j=function(p,y,S){var c=p.words,m=y.words,x=S.words,T=0,b,d,k,D=c[0]|0,O=D&8191,Q=D>>>13,J=c[1]|0,X=J&8191,U=J>>>13,z=c[2]|0,ie=z&8191,de=z>>>13,me=c[3]|0,pe=me&8191,qe=me>>>13,mt=c[4]|0,st=mt&8191,dt=mt>>>13,Tt=c[5]|0,lt=Tt&8191,Je=Tt>>>13,ht=c[6]|0,at=ht&8191,bt=ht>>>13,jt=c[7]|0,Ge=jt&8191,Qe=jt>>>13,Wt=c[8]|0,Et=Wt&8191,Ct=Wt>>>13,Kt=c[9]|0,Me=Kt&8191,te=Kt>>>13,_e=m[0]|0,je=_e&8191,We=_e>>>13,et=m[1]|0,Ye=et&8191,De=et>>>13,Ht=m[2]|0,Mt=Ht&8191,ge=Ht>>>13,Dt=m[3]|0,yt=Dt&8191,Ne=Dt>>>13,_t=m[4]|0,pt=_t&8191,Bt=_t>>>13,ur=m[5]|0,kt=ur&8191,Ut=ur>>>13,Wr=m[6]|0,zt=Wr&8191,Qt=Wr>>>13,$e=m[7]|0,be=$e&8191,ve=$e>>>13,se=m[8]|0,Pe=se&8191,ze=se>>>13,xt=m[9]|0,ot=xt&8191,wt=xt>>>13;S.negative=p.negative^y.negative,S.length=19,b=Math.imul(O,je),d=Math.imul(O,We),d=d+Math.imul(Q,je)|0,k=Math.imul(Q,We);var Yt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,b=Math.imul(X,je),d=Math.imul(X,We),d=d+Math.imul(U,je)|0,k=Math.imul(U,We),b=b+Math.imul(O,Ye)|0,d=d+Math.imul(O,De)|0,d=d+Math.imul(Q,Ye)|0,k=k+Math.imul(Q,De)|0;var Jt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,b=Math.imul(ie,je),d=Math.imul(ie,We),d=d+Math.imul(de,je)|0,k=Math.imul(de,We),b=b+Math.imul(X,Ye)|0,d=d+Math.imul(X,De)|0,d=d+Math.imul(U,Ye)|0,k=k+Math.imul(U,De)|0,b=b+Math.imul(O,Mt)|0,d=d+Math.imul(O,ge)|0,d=d+Math.imul(Q,Mt)|0,k=k+Math.imul(Q,ge)|0;var wr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(wr>>>26)|0,wr&=67108863,b=Math.imul(pe,je),d=Math.imul(pe,We),d=d+Math.imul(qe,je)|0,k=Math.imul(qe,We),b=b+Math.imul(ie,Ye)|0,d=d+Math.imul(ie,De)|0,d=d+Math.imul(de,Ye)|0,k=k+Math.imul(de,De)|0,b=b+Math.imul(X,Mt)|0,d=d+Math.imul(X,ge)|0,d=d+Math.imul(U,Mt)|0,k=k+Math.imul(U,ge)|0,b=b+Math.imul(O,yt)|0,d=d+Math.imul(O,Ne)|0,d=d+Math.imul(Q,yt)|0,k=k+Math.imul(Q,Ne)|0;var lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(lr>>>26)|0,lr&=67108863,b=Math.imul(st,je),d=Math.imul(st,We),d=d+Math.imul(dt,je)|0,k=Math.imul(dt,We),b=b+Math.imul(pe,Ye)|0,d=d+Math.imul(pe,De)|0,d=d+Math.imul(qe,Ye)|0,k=k+Math.imul(qe,De)|0,b=b+Math.imul(ie,Mt)|0,d=d+Math.imul(ie,ge)|0,d=d+Math.imul(de,Mt)|0,k=k+Math.imul(de,ge)|0,b=b+Math.imul(X,yt)|0,d=d+Math.imul(X,Ne)|0,d=d+Math.imul(U,yt)|0,k=k+Math.imul(U,Ne)|0,b=b+Math.imul(O,pt)|0,d=d+Math.imul(O,Bt)|0,d=d+Math.imul(Q,pt)|0,k=k+Math.imul(Q,Bt)|0;var Rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Rr>>>26)|0,Rr&=67108863,b=Math.imul(lt,je),d=Math.imul(lt,We),d=d+Math.imul(Je,je)|0,k=Math.imul(Je,We),b=b+Math.imul(st,Ye)|0,d=d+Math.imul(st,De)|0,d=d+Math.imul(dt,Ye)|0,k=k+Math.imul(dt,De)|0,b=b+Math.imul(pe,Mt)|0,d=d+Math.imul(pe,ge)|0,d=d+Math.imul(qe,Mt)|0,k=k+Math.imul(qe,ge)|0,b=b+Math.imul(ie,yt)|0,d=d+Math.imul(ie,Ne)|0,d=d+Math.imul(de,yt)|0,k=k+Math.imul(de,Ne)|0,b=b+Math.imul(X,pt)|0,d=d+Math.imul(X,Bt)|0,d=d+Math.imul(U,pt)|0,k=k+Math.imul(U,Bt)|0,b=b+Math.imul(O,kt)|0,d=d+Math.imul(O,Ut)|0,d=d+Math.imul(Q,kt)|0,k=k+Math.imul(Q,Ut)|0;var vr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(vr>>>26)|0,vr&=67108863,b=Math.imul(at,je),d=Math.imul(at,We),d=d+Math.imul(bt,je)|0,k=Math.imul(bt,We),b=b+Math.imul(lt,Ye)|0,d=d+Math.imul(lt,De)|0,d=d+Math.imul(Je,Ye)|0,k=k+Math.imul(Je,De)|0,b=b+Math.imul(st,Mt)|0,d=d+Math.imul(st,ge)|0,d=d+Math.imul(dt,Mt)|0,k=k+Math.imul(dt,ge)|0,b=b+Math.imul(pe,yt)|0,d=d+Math.imul(pe,Ne)|0,d=d+Math.imul(qe,yt)|0,k=k+Math.imul(qe,Ne)|0,b=b+Math.imul(ie,pt)|0,d=d+Math.imul(ie,Bt)|0,d=d+Math.imul(de,pt)|0,k=k+Math.imul(de,Bt)|0,b=b+Math.imul(X,kt)|0,d=d+Math.imul(X,Ut)|0,d=d+Math.imul(U,kt)|0,k=k+Math.imul(U,Ut)|0,b=b+Math.imul(O,zt)|0,d=d+Math.imul(O,Qt)|0,d=d+Math.imul(Q,zt)|0,k=k+Math.imul(Q,Qt)|0;var dr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(dr>>>26)|0,dr&=67108863,b=Math.imul(Ge,je),d=Math.imul(Ge,We),d=d+Math.imul(Qe,je)|0,k=Math.imul(Qe,We),b=b+Math.imul(at,Ye)|0,d=d+Math.imul(at,De)|0,d=d+Math.imul(bt,Ye)|0,k=k+Math.imul(bt,De)|0,b=b+Math.imul(lt,Mt)|0,d=d+Math.imul(lt,ge)|0,d=d+Math.imul(Je,Mt)|0,k=k+Math.imul(Je,ge)|0,b=b+Math.imul(st,yt)|0,d=d+Math.imul(st,Ne)|0,d=d+Math.imul(dt,yt)|0,k=k+Math.imul(dt,Ne)|0,b=b+Math.imul(pe,pt)|0,d=d+Math.imul(pe,Bt)|0,d=d+Math.imul(qe,pt)|0,k=k+Math.imul(qe,Bt)|0,b=b+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ut)|0,d=d+Math.imul(de,kt)|0,k=k+Math.imul(de,Ut)|0,b=b+Math.imul(X,zt)|0,d=d+Math.imul(X,Qt)|0,d=d+Math.imul(U,zt)|0,k=k+Math.imul(U,Qt)|0,b=b+Math.imul(O,be)|0,d=d+Math.imul(O,ve)|0,d=d+Math.imul(Q,be)|0,k=k+Math.imul(Q,ve)|0;var Ir=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,b=Math.imul(Et,je),d=Math.imul(Et,We),d=d+Math.imul(Ct,je)|0,k=Math.imul(Ct,We),b=b+Math.imul(Ge,Ye)|0,d=d+Math.imul(Ge,De)|0,d=d+Math.imul(Qe,Ye)|0,k=k+Math.imul(Qe,De)|0,b=b+Math.imul(at,Mt)|0,d=d+Math.imul(at,ge)|0,d=d+Math.imul(bt,Mt)|0,k=k+Math.imul(bt,ge)|0,b=b+Math.imul(lt,yt)|0,d=d+Math.imul(lt,Ne)|0,d=d+Math.imul(Je,yt)|0,k=k+Math.imul(Je,Ne)|0,b=b+Math.imul(st,pt)|0,d=d+Math.imul(st,Bt)|0,d=d+Math.imul(dt,pt)|0,k=k+Math.imul(dt,Bt)|0,b=b+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ut)|0,d=d+Math.imul(qe,kt)|0,k=k+Math.imul(qe,Ut)|0,b=b+Math.imul(ie,zt)|0,d=d+Math.imul(ie,Qt)|0,d=d+Math.imul(de,zt)|0,k=k+Math.imul(de,Qt)|0,b=b+Math.imul(X,be)|0,d=d+Math.imul(X,ve)|0,d=d+Math.imul(U,be)|0,k=k+Math.imul(U,ve)|0,b=b+Math.imul(O,Pe)|0,d=d+Math.imul(O,ze)|0,d=d+Math.imul(Q,Pe)|0,k=k+Math.imul(Q,ze)|0;var kr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(kr>>>26)|0,kr&=67108863,b=Math.imul(Me,je),d=Math.imul(Me,We),d=d+Math.imul(te,je)|0,k=Math.imul(te,We),b=b+Math.imul(Et,Ye)|0,d=d+Math.imul(Et,De)|0,d=d+Math.imul(Ct,Ye)|0,k=k+Math.imul(Ct,De)|0,b=b+Math.imul(Ge,Mt)|0,d=d+Math.imul(Ge,ge)|0,d=d+Math.imul(Qe,Mt)|0,k=k+Math.imul(Qe,ge)|0,b=b+Math.imul(at,yt)|0,d=d+Math.imul(at,Ne)|0,d=d+Math.imul(bt,yt)|0,k=k+Math.imul(bt,Ne)|0,b=b+Math.imul(lt,pt)|0,d=d+Math.imul(lt,Bt)|0,d=d+Math.imul(Je,pt)|0,k=k+Math.imul(Je,Bt)|0,b=b+Math.imul(st,kt)|0,d=d+Math.imul(st,Ut)|0,d=d+Math.imul(dt,kt)|0,k=k+Math.imul(dt,Ut)|0,b=b+Math.imul(pe,zt)|0,d=d+Math.imul(pe,Qt)|0,d=d+Math.imul(qe,zt)|0,k=k+Math.imul(qe,Qt)|0,b=b+Math.imul(ie,be)|0,d=d+Math.imul(ie,ve)|0,d=d+Math.imul(de,be)|0,k=k+Math.imul(de,ve)|0,b=b+Math.imul(X,Pe)|0,d=d+Math.imul(X,ze)|0,d=d+Math.imul(U,Pe)|0,k=k+Math.imul(U,ze)|0,b=b+Math.imul(O,ot)|0,d=d+Math.imul(O,wt)|0,d=d+Math.imul(Q,ot)|0,k=k+Math.imul(Q,wt)|0;var Fr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Fr>>>26)|0,Fr&=67108863,b=Math.imul(Me,Ye),d=Math.imul(Me,De),d=d+Math.imul(te,Ye)|0,k=Math.imul(te,De),b=b+Math.imul(Et,Mt)|0,d=d+Math.imul(Et,ge)|0,d=d+Math.imul(Ct,Mt)|0,k=k+Math.imul(Ct,ge)|0,b=b+Math.imul(Ge,yt)|0,d=d+Math.imul(Ge,Ne)|0,d=d+Math.imul(Qe,yt)|0,k=k+Math.imul(Qe,Ne)|0,b=b+Math.imul(at,pt)|0,d=d+Math.imul(at,Bt)|0,d=d+Math.imul(bt,pt)|0,k=k+Math.imul(bt,Bt)|0,b=b+Math.imul(lt,kt)|0,d=d+Math.imul(lt,Ut)|0,d=d+Math.imul(Je,kt)|0,k=k+Math.imul(Je,Ut)|0,b=b+Math.imul(st,zt)|0,d=d+Math.imul(st,Qt)|0,d=d+Math.imul(dt,zt)|0,k=k+Math.imul(dt,Qt)|0,b=b+Math.imul(pe,be)|0,d=d+Math.imul(pe,ve)|0,d=d+Math.imul(qe,be)|0,k=k+Math.imul(qe,ve)|0,b=b+Math.imul(ie,Pe)|0,d=d+Math.imul(ie,ze)|0,d=d+Math.imul(de,Pe)|0,k=k+Math.imul(de,ze)|0,b=b+Math.imul(X,ot)|0,d=d+Math.imul(X,wt)|0,d=d+Math.imul(U,ot)|0,k=k+Math.imul(U,wt)|0;var jr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(jr>>>26)|0,jr&=67108863,b=Math.imul(Me,Mt),d=Math.imul(Me,ge),d=d+Math.imul(te,Mt)|0,k=Math.imul(te,ge),b=b+Math.imul(Et,yt)|0,d=d+Math.imul(Et,Ne)|0,d=d+Math.imul(Ct,yt)|0,k=k+Math.imul(Ct,Ne)|0,b=b+Math.imul(Ge,pt)|0,d=d+Math.imul(Ge,Bt)|0,d=d+Math.imul(Qe,pt)|0,k=k+Math.imul(Qe,Bt)|0,b=b+Math.imul(at,kt)|0,d=d+Math.imul(at,Ut)|0,d=d+Math.imul(bt,kt)|0,k=k+Math.imul(bt,Ut)|0,b=b+Math.imul(lt,zt)|0,d=d+Math.imul(lt,Qt)|0,d=d+Math.imul(Je,zt)|0,k=k+Math.imul(Je,Qt)|0,b=b+Math.imul(st,be)|0,d=d+Math.imul(st,ve)|0,d=d+Math.imul(dt,be)|0,k=k+Math.imul(dt,ve)|0,b=b+Math.imul(pe,Pe)|0,d=d+Math.imul(pe,ze)|0,d=d+Math.imul(qe,Pe)|0,k=k+Math.imul(qe,ze)|0,b=b+Math.imul(ie,ot)|0,d=d+Math.imul(ie,wt)|0,d=d+Math.imul(de,ot)|0,k=k+Math.imul(de,wt)|0;var Cr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,b=Math.imul(Me,yt),d=Math.imul(Me,Ne),d=d+Math.imul(te,yt)|0,k=Math.imul(te,Ne),b=b+Math.imul(Et,pt)|0,d=d+Math.imul(Et,Bt)|0,d=d+Math.imul(Ct,pt)|0,k=k+Math.imul(Ct,Bt)|0,b=b+Math.imul(Ge,kt)|0,d=d+Math.imul(Ge,Ut)|0,d=d+Math.imul(Qe,kt)|0,k=k+Math.imul(Qe,Ut)|0,b=b+Math.imul(at,zt)|0,d=d+Math.imul(at,Qt)|0,d=d+Math.imul(bt,zt)|0,k=k+Math.imul(bt,Qt)|0,b=b+Math.imul(lt,be)|0,d=d+Math.imul(lt,ve)|0,d=d+Math.imul(Je,be)|0,k=k+Math.imul(Je,ve)|0,b=b+Math.imul(st,Pe)|0,d=d+Math.imul(st,ze)|0,d=d+Math.imul(dt,Pe)|0,k=k+Math.imul(dt,ze)|0,b=b+Math.imul(pe,ot)|0,d=d+Math.imul(pe,wt)|0,d=d+Math.imul(qe,ot)|0,k=k+Math.imul(qe,wt)|0;var Lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,b=Math.imul(Me,pt),d=Math.imul(Me,Bt),d=d+Math.imul(te,pt)|0,k=Math.imul(te,Bt),b=b+Math.imul(Et,kt)|0,d=d+Math.imul(Et,Ut)|0,d=d+Math.imul(Ct,kt)|0,k=k+Math.imul(Ct,Ut)|0,b=b+Math.imul(Ge,zt)|0,d=d+Math.imul(Ge,Qt)|0,d=d+Math.imul(Qe,zt)|0,k=k+Math.imul(Qe,Qt)|0,b=b+Math.imul(at,be)|0,d=d+Math.imul(at,ve)|0,d=d+Math.imul(bt,be)|0,k=k+Math.imul(bt,ve)|0,b=b+Math.imul(lt,Pe)|0,d=d+Math.imul(lt,ze)|0,d=d+Math.imul(Je,Pe)|0,k=k+Math.imul(Je,ze)|0,b=b+Math.imul(st,ot)|0,d=d+Math.imul(st,wt)|0,d=d+Math.imul(dt,ot)|0,k=k+Math.imul(dt,wt)|0;var Ar=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,b=Math.imul(Me,kt),d=Math.imul(Me,Ut),d=d+Math.imul(te,kt)|0,k=Math.imul(te,Ut),b=b+Math.imul(Et,zt)|0,d=d+Math.imul(Et,Qt)|0,d=d+Math.imul(Ct,zt)|0,k=k+Math.imul(Ct,Qt)|0,b=b+Math.imul(Ge,be)|0,d=d+Math.imul(Ge,ve)|0,d=d+Math.imul(Qe,be)|0,k=k+Math.imul(Qe,ve)|0,b=b+Math.imul(at,Pe)|0,d=d+Math.imul(at,ze)|0,d=d+Math.imul(bt,Pe)|0,k=k+Math.imul(bt,ze)|0,b=b+Math.imul(lt,ot)|0,d=d+Math.imul(lt,wt)|0,d=d+Math.imul(Je,ot)|0,k=k+Math.imul(Je,wt)|0;var Tr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,b=Math.imul(Me,zt),d=Math.imul(Me,Qt),d=d+Math.imul(te,zt)|0,k=Math.imul(te,Qt),b=b+Math.imul(Et,be)|0,d=d+Math.imul(Et,ve)|0,d=d+Math.imul(Ct,be)|0,k=k+Math.imul(Ct,ve)|0,b=b+Math.imul(Ge,Pe)|0,d=d+Math.imul(Ge,ze)|0,d=d+Math.imul(Qe,Pe)|0,k=k+Math.imul(Qe,ze)|0,b=b+Math.imul(at,ot)|0,d=d+Math.imul(at,wt)|0,d=d+Math.imul(bt,ot)|0,k=k+Math.imul(bt,wt)|0;var Sr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,b=Math.imul(Me,be),d=Math.imul(Me,ve),d=d+Math.imul(te,be)|0,k=Math.imul(te,ve),b=b+Math.imul(Et,Pe)|0,d=d+Math.imul(Et,ze)|0,d=d+Math.imul(Ct,Pe)|0,k=k+Math.imul(Ct,ze)|0,b=b+Math.imul(Ge,ot)|0,d=d+Math.imul(Ge,wt)|0,d=d+Math.imul(Qe,ot)|0,k=k+Math.imul(Qe,wt)|0;var rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(rr>>>26)|0,rr&=67108863,b=Math.imul(Me,Pe),d=Math.imul(Me,ze),d=d+Math.imul(te,Pe)|0,k=Math.imul(te,ze),b=b+Math.imul(Et,ot)|0,d=d+Math.imul(Et,wt)|0,d=d+Math.imul(Ct,ot)|0,k=k+Math.imul(Ct,wt)|0;var Nt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,b=Math.imul(Me,ot),d=Math.imul(Me,wt),d=d+Math.imul(te,ot)|0,k=Math.imul(te,wt);var Gt=(T+b|0)+((d&8191)<<13)|0;return T=(k+(d>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,x[0]=Yt,x[1]=Jt,x[2]=wr,x[3]=lr,x[4]=Rr,x[5]=vr,x[6]=dr,x[7]=Ir,x[8]=kr,x[9]=Fr,x[10]=jr,x[11]=Cr,x[12]=Lr,x[13]=Ar,x[14]=Tr,x[15]=Sr,x[16]=rr,x[17]=Nt,x[18]=Gt,T!==0&&(x[19]=T,S.length++),S};Math.imul||(j=I);function B(L,p,y){y.negative=p.negative^L.negative,y.length=L.length+p.length;for(var S=0,c=0,m=0;m<y.length-1;m++){var x=c;c=0;for(var T=S&67108863,b=Math.min(m,p.length-1),d=Math.max(0,m-L.length+1);d<=b;d++){var k=m-d,D=L.words[k]|0,O=p.words[d]|0,Q=D*O,J=Q&67108863;x=x+(Q/67108864|0)|0,J=J+T|0,T=J&67108863,x=x+(J>>>26)|0,c+=x>>>26,x&=67108863}y.words[m]=T,S=x,x=c}return S!==0?y.words[m]=S:y.length--,y.strip()}function F(L,p,y){var S=new N;return S.mulp(L,p,y)}u.prototype.mulTo=function(p,y){var S,c=this.length+p.length;return this.length===10&&p.length===10?S=j(this,p,y):c<63?S=I(this,p,y):c<1024?S=B(this,p,y):S=F(this,p,y),S};function N(L,p){this.x=L,this.y=p}N.prototype.makeRBT=function(p){for(var y=new Array(p),S=u.prototype._countBits(p)-1,c=0;c<p;c++)y[c]=this.revBin(c,S,p);return y},N.prototype.revBin=function(p,y,S){if(p===0||p===S-1)return p;for(var c=0,m=0;m<y;m++)c|=(p&1)<<y-m-1,p>>=1;return c},N.prototype.permute=function(p,y,S,c,m,x){for(var T=0;T<x;T++)c[T]=y[p[T]],m[T]=S[p[T]]},N.prototype.transform=function(p,y,S,c,m,x){this.permute(x,p,y,S,c,m);for(var T=1;T<m;T<<=1)for(var b=T<<1,d=Math.cos(2*Math.PI/b),k=Math.sin(2*Math.PI/b),D=0;D<m;D+=b)for(var O=d,Q=k,J=0;J<T;J++){var X=S[D+J],U=c[D+J],z=S[D+J+T],ie=c[D+J+T],de=O*z-Q*ie;ie=O*ie+Q*z,z=de,S[D+J]=X+z,c[D+J]=U+ie,S[D+J+T]=X-z,c[D+J+T]=U-ie,J!==b&&(de=d*O-k*Q,Q=d*Q+k*O,O=de)}},N.prototype.guessLen13b=function(p,y){var S=Math.max(y,p)|1,c=S&1,m=0;for(S=S/2|0;S;S=S>>>1)m++;return 1<<m+1+c},N.prototype.conjugate=function(p,y,S){if(!(S<=1))for(var c=0;c<S/2;c++){var m=p[c];p[c]=p[S-c-1],p[S-c-1]=m,m=y[c],y[c]=-y[S-c-1],y[S-c-1]=-m}},N.prototype.normalize13b=function(p,y){for(var S=0,c=0;c<y/2;c++){var m=Math.round(p[2*c+1]/y)*8192+Math.round(p[2*c]/y)+S;p[c]=m&67108863,m<67108864?S=0:S=m/67108864|0}return p},N.prototype.convert13b=function(p,y,S,c){for(var m=0,x=0;x<y;x++)m=m+(p[x]|0),S[2*x]=m&8191,m=m>>>13,S[2*x+1]=m&8191,m=m>>>13;for(x=2*y;x<c;++x)S[x]=0;l(m===0),l((m&-8192)===0)},N.prototype.stub=function(p){for(var y=new Array(p),S=0;S<p;S++)y[S]=0;return y},N.prototype.mulp=function(p,y,S){var c=2*this.guessLen13b(p.length,y.length),m=this.makeRBT(c),x=this.stub(c),T=new Array(c),b=new Array(c),d=new Array(c),k=new Array(c),D=new Array(c),O=new Array(c),Q=S.words;Q.length=c,this.convert13b(p.words,p.length,T,c),this.convert13b(y.words,y.length,k,c),this.transform(T,x,b,d,c,m),this.transform(k,x,D,O,c,m);for(var J=0;J<c;J++){var X=b[J]*D[J]-d[J]*O[J];d[J]=b[J]*O[J]+d[J]*D[J],b[J]=X}return this.conjugate(b,d,c),this.transform(b,d,Q,x,c,m),this.conjugate(Q,x,c),this.normalize13b(Q,c),S.negative=p.negative^y.negative,S.length=p.length+y.length,S.strip()},u.prototype.mul=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),this.mulTo(p,y)},u.prototype.mulf=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),F(this,p,y)},u.prototype.imul=function(p){return this.clone().mulTo(p,this)},u.prototype.imuln=function(p){l(typeof p=="number"),l(p<67108864);for(var y=0,S=0;S<this.length;S++){var c=(this.words[S]|0)*p,m=(c&67108863)+(y&67108863);y>>=26,y+=c/67108864|0,y+=m>>>26,this.words[S]=m&67108863}return y!==0&&(this.words[S]=y,this.length++),this},u.prototype.muln=function(p){return this.clone().imuln(p)},u.prototype.sqr=function(){return this.mul(this)},u.prototype.isqr=function(){return this.imul(this.clone())},u.prototype.pow=function(p){var y=P(p);if(y.length===0)return new u(1);for(var S=this,c=0;c<y.length&&y[c]===0;c++,S=S.sqr());if(++c<y.length)for(var m=S.sqr();c<y.length;c++,m=m.sqr())y[c]!==0&&(S=S.mul(m));return S},u.prototype.iushln=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=67108863>>>26-y<<26-y,m;if(y!==0){var x=0;for(m=0;m<this.length;m++){var T=this.words[m]&c,b=(this.words[m]|0)-T<<y;this.words[m]=b|x,x=T>>>26-y}x&&(this.words[m]=x,this.length++)}if(S!==0){for(m=this.length-1;m>=0;m--)this.words[m+S]=this.words[m];for(m=0;m<S;m++)this.words[m]=0;this.length+=S}return this.strip()},u.prototype.ishln=function(p){return l(this.negative===0),this.iushln(p)},u.prototype.iushrn=function(p,y,S){l(typeof p=="number"&&p>=0);var c;y?c=(y-y%26)/26:c=0;var m=p%26,x=Math.min((p-m)/26,this.length),T=67108863^67108863>>>m<<m,b=S;if(c-=x,c=Math.max(0,c),b){for(var d=0;d<x;d++)b.words[d]=this.words[d];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,d=0;d<this.length;d++)this.words[d]=this.words[d+x];else this.words[0]=0,this.length=1;var k=0;for(d=this.length-1;d>=0&&(k!==0||d>=c);d--){var D=this.words[d]|0;this.words[d]=k<<26-m|D>>>m,k=D&T}return b&&k!==0&&(b.words[b.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},u.prototype.ishrn=function(p,y,S){return l(this.negative===0),this.iushrn(p,y,S)},u.prototype.shln=function(p){return this.clone().ishln(p)},u.prototype.ushln=function(p){return this.clone().iushln(p)},u.prototype.shrn=function(p){return this.clone().ishrn(p)},u.prototype.ushrn=function(p){return this.clone().iushrn(p)},u.prototype.testn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return!1;var m=this.words[S];return!!(m&c)},u.prototype.imaskn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(y!==0&&S++,this.length=Math.min(S,this.length),y!==0){var c=67108863^67108863>>>y<<y;this.words[this.length-1]&=c}return this.strip()},u.prototype.maskn=function(p){return this.clone().imaskn(p)},u.prototype.iaddn=function(p){return l(typeof p=="number"),l(p<67108864),p<0?this.isubn(-p):this.negative!==0?this.length===1&&(this.words[0]|0)<p?(this.words[0]=p-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(p),this.negative=1,this):this._iaddn(p)},u.prototype._iaddn=function(p){this.words[0]+=p;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},u.prototype.isubn=function(p){if(l(typeof p=="number"),l(p<67108864),p<0)return this.iaddn(-p);if(this.negative!==0)return this.negative=0,this.iaddn(p),this.negative=1,this;if(this.words[0]-=p,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this.strip()},u.prototype.addn=function(p){return this.clone().iaddn(p)},u.prototype.subn=function(p){return this.clone().isubn(p)},u.prototype.iabs=function(){return this.negative=0,this},u.prototype.abs=function(){return this.clone().iabs()},u.prototype._ishlnsubmul=function(p,y,S){var c=p.length+S,m;this._expand(c);var x,T=0;for(m=0;m<p.length;m++){x=(this.words[m+S]|0)+T;var b=(p.words[m]|0)*y;x-=b&67108863,T=(x>>26)-(b/67108864|0),this.words[m+S]=x&67108863}for(;m<this.length-S;m++)x=(this.words[m+S]|0)+T,T=x>>26,this.words[m+S]=x&67108863;if(T===0)return this.strip();for(l(T===-1),T=0,m=0;m<this.length;m++)x=-(this.words[m]|0)+T,T=x>>26,this.words[m]=x&67108863;return this.negative=1,this.strip()},u.prototype._wordDiv=function(p,y){var S=this.length-p.length,c=this.clone(),m=p,x=m.words[m.length-1]|0,T=this._countBits(x);S=26-T,S!==0&&(m=m.ushln(S),c.iushln(S),x=m.words[m.length-1]|0);var b=c.length-m.length,d;if(y!=="mod"){d=new u(null),d.length=b+1,d.words=new Array(d.length);for(var k=0;k<d.length;k++)d.words[k]=0}var D=c.clone()._ishlnsubmul(m,1,b);D.negative===0&&(c=D,d&&(d.words[b]=1));for(var O=b-1;O>=0;O--){var Q=(c.words[m.length+O]|0)*67108864+(c.words[m.length+O-1]|0);for(Q=Math.min(Q/x|0,67108863),c._ishlnsubmul(m,Q,O);c.negative!==0;)Q--,c.negative=0,c._ishlnsubmul(m,1,O),c.isZero()||(c.negative^=1);d&&(d.words[O]=Q)}return d&&d.strip(),c.strip(),y!=="div"&&S!==0&&c.iushrn(S),{div:d||null,mod:c}},u.prototype.divmod=function(p,y,S){if(l(!p.isZero()),this.isZero())return{div:new u(0),mod:new u(0)};var c,m,x;return this.negative!==0&&p.negative===0?(x=this.neg().divmod(p,y),y!=="mod"&&(c=x.div.neg()),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.iadd(p)),{div:c,mod:m}):this.negative===0&&p.negative!==0?(x=this.divmod(p.neg(),y),y!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&p.negative?(x=this.neg().divmod(p.neg(),y),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.isub(p)),{div:x.div,mod:m}):p.length>this.length||this.cmp(p)<0?{div:new u(0),mod:this}:p.length===1?y==="div"?{div:this.divn(p.words[0]),mod:null}:y==="mod"?{div:null,mod:new u(this.modn(p.words[0]))}:{div:this.divn(p.words[0]),mod:new u(this.modn(p.words[0]))}:this._wordDiv(p,y)},u.prototype.div=function(p){return this.divmod(p,"div",!1).div},u.prototype.mod=function(p){return this.divmod(p,"mod",!1).mod},u.prototype.umod=function(p){return this.divmod(p,"mod",!0).mod},u.prototype.divRound=function(p){var y=this.divmod(p);if(y.mod.isZero())return y.div;var S=y.div.negative!==0?y.mod.isub(p):y.mod,c=p.ushrn(1),m=p.andln(1),x=S.cmp(c);return x<0||m===1&&x===0?y.div:y.div.negative!==0?y.div.isubn(1):y.div.iaddn(1)},u.prototype.modn=function(p){l(p<=67108863);for(var y=(1<<26)%p,S=0,c=this.length-1;c>=0;c--)S=(y*S+(this.words[c]|0))%p;return S},u.prototype.idivn=function(p){l(p<=67108863);for(var y=0,S=this.length-1;S>=0;S--){var c=(this.words[S]|0)+y*67108864;this.words[S]=c/p|0,y=c%p}return this.strip()},u.prototype.divn=function(p){return this.clone().idivn(p)},u.prototype.egcd=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=new u(0),T=new u(1),b=0;y.isEven()&&S.isEven();)y.iushrn(1),S.iushrn(1),++b;for(var d=S.clone(),k=y.clone();!y.isZero();){for(var D=0,O=1;!(y.words[0]&O)&&D<26;++D,O<<=1);if(D>0)for(y.iushrn(D);D-- >0;)(c.isOdd()||m.isOdd())&&(c.iadd(d),m.isub(k)),c.iushrn(1),m.iushrn(1);for(var Q=0,J=1;!(S.words[0]&J)&&Q<26;++Q,J<<=1);if(Q>0)for(S.iushrn(Q);Q-- >0;)(x.isOdd()||T.isOdd())&&(x.iadd(d),T.isub(k)),x.iushrn(1),T.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(x),m.isub(T)):(S.isub(y),x.isub(c),T.isub(m))}return{a:x,b:T,gcd:S.iushln(b)}},u.prototype._invmp=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=S.clone();y.cmpn(1)>0&&S.cmpn(1)>0;){for(var T=0,b=1;!(y.words[0]&b)&&T<26;++T,b<<=1);if(T>0)for(y.iushrn(T);T-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var d=0,k=1;!(S.words[0]&k)&&d<26;++d,k<<=1);if(d>0)for(S.iushrn(d);d-- >0;)m.isOdd()&&m.iadd(x),m.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(m)):(S.isub(y),m.isub(c))}var D;return y.cmpn(1)===0?D=c:D=m,D.cmpn(0)<0&&D.iadd(p),D},u.prototype.gcd=function(p){if(this.isZero())return p.abs();if(p.isZero())return this.abs();var y=this.clone(),S=p.clone();y.negative=0,S.negative=0;for(var c=0;y.isEven()&&S.isEven();c++)y.iushrn(1),S.iushrn(1);do{for(;y.isEven();)y.iushrn(1);for(;S.isEven();)S.iushrn(1);var m=y.cmp(S);if(m<0){var x=y;y=S,S=x}else if(m===0||S.cmpn(1)===0)break;y.isub(S)}while(!0);return S.iushln(c)},u.prototype.invm=function(p){return this.egcd(p).a.umod(p)},u.prototype.isEven=function(){return(this.words[0]&1)===0},u.prototype.isOdd=function(){return(this.words[0]&1)===1},u.prototype.andln=function(p){return this.words[0]&p},u.prototype.bincn=function(p){l(typeof p=="number");var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return this._expand(S+1),this.words[S]|=c,this;for(var m=c,x=S;m!==0&&x<this.length;x++){var T=this.words[x]|0;T+=m,m=T>>>26,T&=67108863,this.words[x]=T}return m!==0&&(this.words[x]=m,this.length++),this},u.prototype.isZero=function(){return this.length===1&&this.words[0]===0},u.prototype.cmpn=function(p){var y=p<0;if(this.negative!==0&&!y)return-1;if(this.negative===0&&y)return 1;this.strip();var S;if(this.length>1)S=1;else{y&&(p=-p),l(p<=67108863,"Number is too big");var c=this.words[0]|0;S=c===p?0:c<p?-1:1}return this.negative!==0?-S|0:S},u.prototype.cmp=function(p){if(this.negative!==0&&p.negative===0)return-1;if(this.negative===0&&p.negative!==0)return 1;var y=this.ucmp(p);return this.negative!==0?-y|0:y},u.prototype.ucmp=function(p){if(this.length>p.length)return 1;if(this.length<p.length)return-1;for(var y=0,S=this.length-1;S>=0;S--){var c=this.words[S]|0,m=p.words[S]|0;if(c!==m){c<m?y=-1:c>m&&(y=1);break}}return y},u.prototype.gtn=function(p){return this.cmpn(p)===1},u.prototype.gt=function(p){return this.cmp(p)===1},u.prototype.gten=function(p){return this.cmpn(p)>=0},u.prototype.gte=function(p){return this.cmp(p)>=0},u.prototype.ltn=function(p){return this.cmpn(p)===-1},u.prototype.lt=function(p){return this.cmp(p)===-1},u.prototype.lten=function(p){return this.cmpn(p)<=0},u.prototype.lte=function(p){return this.cmp(p)<=0},u.prototype.eqn=function(p){return this.cmpn(p)===0},u.prototype.eq=function(p){return this.cmp(p)===0},u.red=function(p){return new he(p)},u.prototype.toRed=function(p){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),p.convertTo(this)._forceRed(p)},u.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},u.prototype._forceRed=function(p){return this.red=p,this},u.prototype.forceRed=function(p){return l(!this.red,"Already a number in reduction context"),this._forceRed(p)},u.prototype.redAdd=function(p){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,p)},u.prototype.redIAdd=function(p){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,p)},u.prototype.redSub=function(p){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,p)},u.prototype.redISub=function(p){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,p)},u.prototype.redShl=function(p){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,p)},u.prototype.redMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.mul(this,p)},u.prototype.redIMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.imul(this,p)},u.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},u.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},u.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},u.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},u.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},u.prototype.redPow=function(p){return l(this.red&&!p.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,p)};var ee={k256:null,p224:null,p192:null,p25519:null};function Z(L,p){this.name=L,this.p=new u(p,16),this.n=this.p.bitLength(),this.k=new u(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Z.prototype._tmp=function(){var p=new u(null);return p.words=new Array(Math.ceil(this.n/13)),p},Z.prototype.ireduce=function(p){var y=p,S;do this.split(y,this.tmp),y=this.imulK(y),y=y.iadd(this.tmp),S=y.bitLength();while(S>this.n);var c=S<this.n?-1:y.ucmp(this.p);return c===0?(y.words[0]=0,y.length=1):c>0?y.isub(this.p):y.strip!==void 0?y.strip():y._strip(),y},Z.prototype.split=function(p,y){p.iushrn(this.n,0,y)},Z.prototype.imulK=function(p){return p.imul(this.k)};function re(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}t(re,Z),re.prototype.split=function(p,y){for(var S=4194303,c=Math.min(p.length,9),m=0;m<c;m++)y.words[m]=p.words[m];if(y.length=c,p.length<=9){p.words[0]=0,p.length=1;return}var x=p.words[9];for(y.words[y.length++]=x&S,m=10;m<p.length;m++){var T=p.words[m]|0;p.words[m-10]=(T&S)<<4|x>>>22,x=T}x>>>=22,p.words[m-10]=x,x===0&&p.length>10?p.length-=10:p.length-=9},re.prototype.imulK=function(p){p.words[p.length]=0,p.words[p.length+1]=0,p.length+=2;for(var y=0,S=0;S<p.length;S++){var c=p.words[S]|0;y+=c*977,p.words[S]=y&67108863,y=c*64+(y/67108864|0)}return p.words[p.length-1]===0&&(p.length--,p.words[p.length-1]===0&&p.length--),p};function fe(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}t(fe,Z);function V(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}t(V,Z);function le(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}t(le,Z),le.prototype.imulK=function(p){for(var y=0,S=0;S<p.length;S++){var c=(p.words[S]|0)*19+y,m=c&67108863;c>>>=26,p.words[S]=m,y=c}return y!==0&&(p.words[p.length++]=y),p},u._prime=function(p){if(ee[p])return ee[p];var y;if(p==="k256")y=new re;else if(p==="p224")y=new fe;else if(p==="p192")y=new V;else if(p==="p25519")y=new le;else throw new Error("Unknown prime "+p);return ee[p]=y,y};function he(L){if(typeof L=="string"){var p=u._prime(L);this.m=p.p,this.prime=p}else l(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(p){l(p.negative===0,"red works only with positives"),l(p.red,"red works only with red numbers")},he.prototype._verify2=function(p,y){l((p.negative|y.negative)===0,"red works only with positives"),l(p.red&&p.red===y.red,"red works only with red numbers")},he.prototype.imod=function(p){return this.prime?this.prime.ireduce(p)._forceRed(this):p.umod(this.m)._forceRed(this)},he.prototype.neg=function(p){return p.isZero()?p.clone():this.m.sub(p)._forceRed(this)},he.prototype.add=function(p,y){this._verify2(p,y);var S=p.add(y);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},he.prototype.iadd=function(p,y){this._verify2(p,y);var S=p.iadd(y);return S.cmp(this.m)>=0&&S.isub(this.m),S},he.prototype.sub=function(p,y){this._verify2(p,y);var S=p.sub(y);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},he.prototype.isub=function(p,y){this._verify2(p,y);var S=p.isub(y);return S.cmpn(0)<0&&S.iadd(this.m),S},he.prototype.shl=function(p,y){return this._verify1(p),this.imod(p.ushln(y))},he.prototype.imul=function(p,y){return this._verify2(p,y),this.imod(p.imul(y))},he.prototype.mul=function(p,y){return this._verify2(p,y),this.imod(p.mul(y))},he.prototype.isqr=function(p){return this.imul(p,p.clone())},he.prototype.sqr=function(p){return this.mul(p,p)},he.prototype.sqrt=function(p){if(p.isZero())return p.clone();var y=this.m.andln(3);if(l(y%2===1),y===3){var S=this.m.add(new u(1)).iushrn(2);return this.pow(p,S)}for(var c=this.m.subn(1),m=0;!c.isZero()&&c.andln(1)===0;)m++,c.iushrn(1);l(!c.isZero());var x=new u(1).toRed(this),T=x.redNeg(),b=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new u(2*d*d).toRed(this);this.pow(d,b).cmp(T)!==0;)d.redIAdd(T);for(var k=this.pow(d,c),D=this.pow(p,c.addn(1).iushrn(1)),O=this.pow(p,c),Q=m;O.cmp(x)!==0;){for(var J=O,X=0;J.cmp(x)!==0;X++)J=J.redSqr();l(X<Q);var U=this.pow(k,new u(1).iushln(Q-X-1));D=D.redMul(U),k=U.redSqr(),O=O.redMul(k),Q=X}return D},he.prototype.invm=function(p){var y=p._invmp(this.m);return y.negative!==0?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},he.prototype.pow=function(p,y){if(y.isZero())return new u(1).toRed(this);if(y.cmpn(1)===0)return p.clone();var S=4,c=new Array(1<<S);c[0]=new u(1).toRed(this),c[1]=p;for(var m=2;m<c.length;m++)c[m]=this.mul(c[m-1],p);var x=c[0],T=0,b=0,d=y.bitLength()%26;for(d===0&&(d=26),m=y.length-1;m>=0;m--){for(var k=y.words[m],D=d-1;D>=0;D--){var O=k>>D&1;if(x!==c[0]&&(x=this.sqr(x)),O===0&&T===0){b=0;continue}T<<=1,T|=O,b++,!(b!==S&&(m!==0||D!==0))&&(x=this.mul(x,c[T]),b=0,T=0)}d=26}return x},he.prototype.convertTo=function(p){var y=p.umod(this.m);return y===p?y.clone():y},he.prototype.convertFrom=function(p){var y=p.clone();return y.red=null,y},u.mont=function(p){return new ye(p)};function ye(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new u(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}t(ye,he),ye.prototype.convertTo=function(p){return this.imod(p.ushln(this.shift))},ye.prototype.convertFrom=function(p){var y=this.imod(p.mul(this.rinv));return y.red=null,y},ye.prototype.imul=function(p,y){if(p.isZero()||y.isZero())return p.words[0]=0,p.length=1,p;var S=p.imul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.mul=function(p,y){if(p.isZero()||y.isZero())return new u(0)._forceRed(this);var S=p.mul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.invm=function(p){var y=this.imod(p._invmp(this.m).mul(this.r2));return y._forceRed(this)}})(n,commonjsGlobal$1)}(bn$2);var bnExports$2=bn$2.exports,api={},vmBrowserify={},hasRequiredVmBrowserify;function requireVmBrowserify(){return hasRequiredVmBrowserify||(hasRequiredVmBrowserify=1,function(exports){var indexOf=function(n,e){if(n.indexOf)return n.indexOf(e);for(var o=0;o<n.length;o++)if(n[o]===e)return o;return-1},Object_keys=function(n){if(Object.keys)return Object.keys(n);var e=[];for(var o in n)e.push(o);return e},forEach=function(n,e){if(n.forEach)return n.forEach(e);for(var o=0;o<n.length;o++)e(n[o],o,n)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(n,e,o){Object.defineProperty(n,e,{writable:!0,enumerable:!1,configurable:!0,value:o})}}catch{return function(e,o,l){e[o]=l}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(n){if(!(n instanceof Context))throw new TypeError("needs a 'context' argument.");var e=document.createElement("iframe");e.style||(e.style={}),e.style.display="none",document.body.appendChild(e);var o=e.contentWindow,l=o.eval,t=o.execScript;!l&&t&&(t.call(o,"null"),l=o.eval),forEach(Object_keys(n),function(v){o[v]=n[v]}),forEach(globals,function(v){n[v]&&(o[v]=n[v])});var u=Object_keys(o),h=l.call(o,this.code);return forEach(Object_keys(o),function(v){(v in n||indexOf(u,v)===-1)&&(n[v]=o[v])}),forEach(globals,function(v){v in n||defineProp(n,v,o[v])}),document.body.removeChild(e),h},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(n){var e=Script.createContext(n),o=this.runInContext(e);return n&&forEach(Object_keys(e),function(l){n[l]=e[l]}),o},forEach(Object_keys(Script.prototype),function(n){exports[n]=Script[n]=function(e){var o=Script(e);return o[n].apply(o,[].slice.call(arguments,1))}}),exports.isContext=function(n){return n instanceof Context},exports.createScript=function(n){return exports.Script(n)},exports.createContext=Script.createContext=function(n){var e=new Context;return typeof n=="object"&&forEach(Object_keys(n),function(o){e[o]=n[o]}),e}}(vmBrowserify)),vmBrowserify}var hasRequiredApi;function requireApi(){return hasRequiredApi||(hasRequiredApi=1,function(n){var e=requireAsn1(),o=inherits_browserExports,l=n;l.define=function(h,v){return new t(h,v)};function t(u,h){this.name=u,this.body=h,this.decoders={},this.encoders={}}t.prototype._createNamed=function(h){var v;try{v=requireVmBrowserify().runInThisContext("(function "+this.name+`(entity) {
   this._initNamed(entity);
-})`)}catch{y=function(C){this._initNamed(C)}}return n(y,m),y.prototype._initNamed=function(C){m.call(this,C)},new y(this)},u.prototype._getDecoder=function(m){return m=m||"der",this.decoders.hasOwnProperty(m)||(this.decoders[m]=this._createNamed(e.decoders[m])),this.decoders[m]},u.prototype.decode=function(m,y,E){return this._getDecoder(y).decode(m,E)},u.prototype._getEncoder=function(m){return m=m||"der",this.encoders.hasOwnProperty(m)||(this.encoders[m]=this._createNamed(e.encoders[m])),this.encoders[m]},u.prototype.encode=function(m,y,E){return this._getEncoder(y).encode(m,E)}}(api)),api}var base={},reporter={},inherits=inherits_browserExports;function Reporter(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}reporter.Reporter=Reporter,Reporter.prototype.isError=function t(e){return e instanceof ReporterError},Reporter.prototype.save=function t(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},Reporter.prototype.restore=function t(e){var n=this._reporterState;n.obj=e.obj,n.path=n.path.slice(0,e.pathLen)},Reporter.prototype.enterKey=function t(e){return this._reporterState.path.push(e)},Reporter.prototype.exitKey=function t(e){var n=this._reporterState;n.path=n.path.slice(0,e-1)},Reporter.prototype.leaveKey=function t(e,n,o){var u=this._reporterState;this.exitKey(e),u.obj!==null&&(u.obj[n]=o)},Reporter.prototype.path=function t(){return this._reporterState.path.join("/")},Reporter.prototype.enterObject=function t(){var e=this._reporterState,n=e.obj;return e.obj={},n},Reporter.prototype.leaveObject=function t(e){var n=this._reporterState,o=n.obj;return n.obj=e,o},Reporter.prototype.error=function t(e){var n,o=this._reporterState,u=e instanceof ReporterError;if(u?n=e:n=new ReporterError(o.path.map(function(l){return"["+JSON.stringify(l)+"]"}).join(""),e.message||e,e.stack),!o.options.partial)throw n;return u||o.errors.push(n),n},Reporter.prototype.wrapResult=function t(e){var n=this._reporterState;return n.options.partial?{result:this.isError(e)?null:e,errors:n.errors}:e};function ReporterError(t,e){this.path=t,this.rethrow(e)}inherits(ReporterError,Error),ReporterError.prototype.rethrow=function t(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,ReporterError),!this.stack)try{throw new Error(this.message)}catch(n){this.stack=n.stack}return this};var buffer={},hasRequiredBuffer;function requireBuffer(){if(hasRequiredBuffer)return buffer;hasRequiredBuffer=1;var t=inherits_browserExports,e=requireBase().Reporter,n=require$$0$2.Buffer;function o(l,m){if(e.call(this,m),!n.isBuffer(l)){this.error("Input not Buffer");return}this.base=l,this.offset=0,this.length=l.length}t(o,e),buffer.DecoderBuffer=o,o.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},o.prototype.restore=function(m){var y=new o(this.base);return y.offset=m.offset,y.length=this.offset,this.offset=m.offset,e.prototype.restore.call(this,m.reporter),y},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(m){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(m||"DecoderBuffer overrun")},o.prototype.skip=function(m,y){if(!(this.offset+m<=this.length))return this.error(y||"DecoderBuffer overrun");var E=new o(this.base);return E._reporterState=this._reporterState,E.offset=this.offset,E.length=this.offset+m,this.offset+=m,E},o.prototype.raw=function(m){return this.base.slice(m?m.offset:this.offset,this.length)};function u(l,m){if(Array.isArray(l))this.length=0,this.value=l.map(function(y){return y instanceof u||(y=new u(y,m)),this.length+=y.length,y},this);else if(typeof l=="number"){if(!(0<=l&&l<=255))return m.error("non-byte EncoderBuffer value");this.value=l,this.length=1}else if(typeof l=="string")this.value=l,this.length=n.byteLength(l);else if(n.isBuffer(l))this.value=l,this.length=l.length;else return m.error("Unsupported type: "+typeof l)}return buffer.EncoderBuffer=u,u.prototype.join=function(m,y){return m||(m=new n(this.length)),y||(y=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(E){E.join(m,y),y+=E.length}):(typeof this.value=="number"?m[y]=this.value:typeof this.value=="string"?m.write(this.value,y):n.isBuffer(this.value)&&this.value.copy(m,y),y+=this.length)),m},buffer}var node,hasRequiredNode;function requireNode(){if(hasRequiredNode)return node;hasRequiredNode=1;var t=requireBase().Reporter,e=requireBase().EncoderBuffer,n=requireBase().DecoderBuffer,o=minimalisticAssert,u=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(u),m=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function y(C,k){var A={};this._baseState=A,A.enc=C,A.parent=k||null,A.children=null,A.tag=null,A.args=null,A.reverseArgs=null,A.choice=null,A.optional=!1,A.any=!1,A.obj=!1,A.use=null,A.useDecoder=null,A.key=null,A.default=null,A.explicit=null,A.implicit=null,A.contains=null,A.parent||(A.children=[],this._wrap())}node=y;var E=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];return y.prototype.clone=function(){var k=this._baseState,A={};E.forEach(function(P){A[P]=k[P]});var D=new this.constructor(A.parent);return D._baseState=A,D},y.prototype._wrap=function(){var k=this._baseState;l.forEach(function(A){this[A]=function(){var P=new this.constructor(this);return k.children.push(P),P[A].apply(P,arguments)}},this)},y.prototype._init=function(k){var A=this._baseState;o(A.parent===null),k.call(this),A.children=A.children.filter(function(D){return D._baseState.parent===this},this),o.equal(A.children.length,1,"Root node can have only one child")},y.prototype._useArgs=function(k){var A=this._baseState,D=k.filter(function(P){return P instanceof this.constructor},this);k=k.filter(function(P){return!(P instanceof this.constructor)},this),D.length!==0&&(o(A.children===null),A.children=D,D.forEach(function(P){P._baseState.parent=this},this)),k.length!==0&&(o(A.args===null),A.args=k,A.reverseArgs=k.map(function(P){if(typeof P!="object"||P.constructor!==Object)return P;var R={};return Object.keys(P).forEach(function(B){B==(B|0)&&(B|=0);var F=P[B];R[F]=B}),R}))},m.forEach(function(C){y.prototype[C]=function(){var A=this._baseState;throw new Error(C+" not implemented for encoding: "+A.enc)}}),u.forEach(function(C){y.prototype[C]=function(){var A=this._baseState,D=Array.prototype.slice.call(arguments);return o(A.tag===null),A.tag=C,this._useArgs(D),this}}),y.prototype.use=function(k){o(k);var A=this._baseState;return o(A.use===null),A.use=k,this},y.prototype.optional=function(){var k=this._baseState;return k.optional=!0,this},y.prototype.def=function(k){var A=this._baseState;return o(A.default===null),A.default=k,A.optional=!0,this},y.prototype.explicit=function(k){var A=this._baseState;return o(A.explicit===null&&A.implicit===null),A.explicit=k,this},y.prototype.implicit=function(k){var A=this._baseState;return o(A.explicit===null&&A.implicit===null),A.implicit=k,this},y.prototype.obj=function(){var k=this._baseState,A=Array.prototype.slice.call(arguments);return k.obj=!0,A.length!==0&&this._useArgs(A),this},y.prototype.key=function(k){var A=this._baseState;return o(A.key===null),A.key=k,this},y.prototype.any=function(){var k=this._baseState;return k.any=!0,this},y.prototype.choice=function(k){var A=this._baseState;return o(A.choice===null),A.choice=k,this._useArgs(Object.keys(k).map(function(D){return k[D]})),this},y.prototype.contains=function(k){var A=this._baseState;return o(A.use===null),A.contains=k,this},y.prototype._decode=function(k,A){var D=this._baseState;if(D.parent===null)return k.wrapResult(D.children[0]._decode(k,A));var P=D.default,R=!0,B=null;if(D.key!==null&&(B=k.enterKey(D.key)),D.optional){var F=null;if(D.explicit!==null?F=D.explicit:D.implicit!==null?F=D.implicit:D.tag!==null&&(F=D.tag),F===null&&!D.any){var O=k.save();try{D.choice===null?this._decodeGeneric(D.tag,k,A):this._decodeChoice(k,A),R=!0}catch{R=!1}k.restore(O)}else if(R=this._peekTag(k,F,D.any),k.isError(R))return R}var N;if(D.obj&&R&&(N=k.enterObject()),R){if(D.explicit!==null){var Y=this._decodeTag(k,D.explicit);if(k.isError(Y))return Y;k=Y}var J=k.offset;if(D.use===null&&D.choice===null){if(D.any)var O=k.save();var ie=this._decodeTag(k,D.implicit!==null?D.implicit:D.tag,D.any);if(k.isError(ie))return ie;D.any?P=k.raw(O):k=ie}if(A&&A.track&&D.tag!==null&&A.track(k.path(),J,k.length,"tagged"),A&&A.track&&D.tag!==null&&A.track(k.path(),k.offset,k.length,"content"),D.any?P=P:D.choice===null?P=this._decodeGeneric(D.tag,k,A):P=this._decodeChoice(k,A),k.isError(P))return P;if(!D.any&&D.choice===null&&D.children!==null&&D.children.forEach(function(ce){ce._decode(k,A)}),D.contains&&(D.tag==="octstr"||D.tag==="bitstr")){var ue=new n(P);P=this._getUse(D.contains,k._reporterState.obj)._decode(ue,A)}}return D.obj&&R&&(P=k.leaveObject(N)),D.key!==null&&(P!==null||R===!0)?k.leaveKey(B,D.key,P):B!==null&&k.exitKey(B),P},y.prototype._decodeGeneric=function(k,A,D){var P=this._baseState;return k==="seq"||k==="set"?null:k==="seqof"||k==="setof"?this._decodeList(A,k,P.args[0],D):/str$/.test(k)?this._decodeStr(A,k,D):k==="objid"&&P.args?this._decodeObjid(A,P.args[0],P.args[1],D):k==="objid"?this._decodeObjid(A,null,null,D):k==="gentime"||k==="utctime"?this._decodeTime(A,k,D):k==="null_"?this._decodeNull(A,D):k==="bool"?this._decodeBool(A,D):k==="objDesc"?this._decodeStr(A,k,D):k==="int"||k==="enum"?this._decodeInt(A,P.args&&P.args[0],D):P.use!==null?this._getUse(P.use,A._reporterState.obj)._decode(A,D):A.error("unknown tag: "+k)},y.prototype._getUse=function(k,A){var D=this._baseState;return D.useDecoder=this._use(k,A),o(D.useDecoder._baseState.parent===null),D.useDecoder=D.useDecoder._baseState.children[0],D.implicit!==D.useDecoder._baseState.implicit&&(D.useDecoder=D.useDecoder.clone(),D.useDecoder._baseState.implicit=D.implicit),D.useDecoder},y.prototype._decodeChoice=function(k,A){var D=this._baseState,P=null,R=!1;return Object.keys(D.choice).some(function(B){var F=k.save(),O=D.choice[B];try{var N=O._decode(k,A);if(k.isError(N))return!1;P={type:B,value:N},R=!0}catch{return k.restore(F),!1}return!0},this),R?P:k.error("Choice not matched")},y.prototype._createEncoderBuffer=function(k){return new e(k,this.reporter)},y.prototype._encode=function(k,A,D){var P=this._baseState;if(!(P.default!==null&&P.default===k)){var R=this._encodeValue(k,A,D);if(R!==void 0&&!this._skipDefault(R,A,D))return R}},y.prototype._encodeValue=function(k,A,D){var P=this._baseState;if(P.parent===null)return P.children[0]._encode(k,A||new t);var O=null;if(this.reporter=A,P.optional&&k===void 0)if(P.default!==null)k=P.default;else return;var R=null,B=!1;if(P.any)O=this._createEncoderBuffer(k);else if(P.choice)O=this._encodeChoice(k,A);else if(P.contains)R=this._getUse(P.contains,D)._encode(k,A),B=!0;else if(P.children)R=P.children.map(function(J){if(J._baseState.tag==="null_")return J._encode(null,A,k);if(J._baseState.key===null)return A.error("Child should have a key");var ie=A.enterKey(J._baseState.key);if(typeof k!="object")return A.error("Child expected, but input is not object");var ue=J._encode(k[J._baseState.key],A,k);return A.leaveKey(ie),ue},this).filter(function(J){return J}),R=this._createEncoderBuffer(R);else if(P.tag==="seqof"||P.tag==="setof"){if(!(P.args&&P.args.length===1))return A.error("Too many args for : "+P.tag);if(!Array.isArray(k))return A.error("seqof/setof, but data is not Array");var F=this.clone();F._baseState.implicit=null,R=this._createEncoderBuffer(k.map(function(J){var ie=this._baseState;return this._getUse(ie.args[0],k)._encode(J,A)},F))}else P.use!==null?O=this._getUse(P.use,D)._encode(k,A):(R=this._encodePrimitive(P.tag,k),B=!0);var O;if(!P.any&&P.choice===null){var N=P.implicit!==null?P.implicit:P.tag,Y=P.implicit===null?"universal":"context";N===null?P.use===null&&A.error("Tag could be omitted only for .use()"):P.use===null&&(O=this._encodeComposite(N,B,Y,R))}return P.explicit!==null&&(O=this._encodeComposite(P.explicit,!1,"context",O)),O},y.prototype._encodeChoice=function(k,A){var D=this._baseState,P=D.choice[k.type];return P||o(!1,k.type+" not found in "+JSON.stringify(Object.keys(D.choice))),P._encode(k.value,A)},y.prototype._encodePrimitive=function(k,A){var D=this._baseState;if(/str$/.test(k))return this._encodeStr(A,k);if(k==="objid"&&D.args)return this._encodeObjid(A,D.reverseArgs[0],D.args[1]);if(k==="objid")return this._encodeObjid(A,null,null);if(k==="gentime"||k==="utctime")return this._encodeTime(A,k);if(k==="null_")return this._encodeNull();if(k==="int"||k==="enum")return this._encodeInt(A,D.args&&D.reverseArgs[0]);if(k==="bool")return this._encodeBool(A);if(k==="objDesc")return this._encodeStr(A,k);throw new Error("Unsupported tag: "+k)},y.prototype._isNumstr=function(k){return/^[0-9 ]*$/.test(k)},y.prototype._isPrintstr=function(k){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(k)},node}var hasRequiredBase;function requireBase(){return hasRequiredBase||(hasRequiredBase=1,function(t){var e=t;e.Reporter=reporter.Reporter,e.DecoderBuffer=requireBuffer().DecoderBuffer,e.EncoderBuffer=requireBuffer().EncoderBuffer,e.Node=requireNode()}(base)),base}var constants$1={},der={},hasRequiredDer$2;function requireDer$2(){return hasRequiredDer$2||(hasRequiredDer$2=1,function(t){var e=requireConstants$1();t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=e._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=e._reverse(t.tag)}(der)),der}var hasRequiredConstants$1;function requireConstants$1(){return hasRequiredConstants$1||(hasRequiredConstants$1=1,function(t){var e=t;e._reverse=function(o){var u={};return Object.keys(o).forEach(function(l){(l|0)==l&&(l=l|0);var m=o[l];u[m]=l}),u},e.der=requireDer$2()}(constants$1)),constants$1}var decoders={},der_1$1,hasRequiredDer$1;function requireDer$1(){if(hasRequiredDer$1)return der_1$1;hasRequiredDer$1=1;var t=inherits_browserExports,e=requireAsn1(),n=e.base,o=e.bignum,u=e.constants.der;function l(C){this.enc="der",this.name=C.name,this.entity=C,this.tree=new m,this.tree._init(C.body)}der_1$1=l,l.prototype.decode=function(k,A){return k instanceof n.DecoderBuffer||(k=new n.DecoderBuffer(k,A)),this.tree._decode(k,A)};function m(C){n.Node.call(this,"der",C)}t(m,n.Node),m.prototype._peekTag=function(k,A,D){if(k.isEmpty())return!1;var P=k.save(),R=y(k,'Failed to peek tag: "'+A+'"');return k.isError(R)?R:(k.restore(P),R.tag===A||R.tagStr===A||R.tagStr+"of"===A||D)},m.prototype._decodeTag=function(k,A,D){var P=y(k,'Failed to decode tag of "'+A+'"');if(k.isError(P))return P;var R=E(k,P.primitive,'Failed to get length of "'+A+'"');if(k.isError(R))return R;if(!D&&P.tag!==A&&P.tagStr!==A&&P.tagStr+"of"!==A)return k.error('Failed to match tag: "'+A+'"');if(P.primitive||R!==null)return k.skip(R,'Failed to match body of: "'+A+'"');var B=k.save(),F=this._skipUntilEnd(k,'Failed to skip indefinite length body: "'+this.tag+'"');return k.isError(F)?F:(R=k.offset-B.offset,k.restore(B),k.skip(R,'Failed to match body of: "'+A+'"'))},m.prototype._skipUntilEnd=function(k,A){for(;;){var D=y(k,A);if(k.isError(D))return D;var P=E(k,D.primitive,A);if(k.isError(P))return P;var R;if(D.primitive||P!==null?R=k.skip(P):R=this._skipUntilEnd(k,A),k.isError(R))return R;if(D.tagStr==="end")break}},m.prototype._decodeList=function(k,A,D,P){for(var R=[];!k.isEmpty();){var B=this._peekTag(k,"end");if(k.isError(B))return B;var F=D.decode(k,"der",P);if(k.isError(F)&&B)break;R.push(F)}return R},m.prototype._decodeStr=function(k,A){if(A==="bitstr"){var D=k.readUInt8();return k.isError(D)?D:{unused:D,data:k.raw()}}else if(A==="bmpstr"){var P=k.raw();if(P.length%2===1)return k.error("Decoding of string type: bmpstr length mismatch");for(var R="",B=0;B<P.length/2;B++)R+=String.fromCharCode(P.readUInt16BE(B*2));return R}else if(A==="numstr"){var F=k.raw().toString("ascii");return this._isNumstr(F)?F:k.error("Decoding of string type: numstr unsupported characters")}else{if(A==="octstr")return k.raw();if(A==="objDesc")return k.raw();if(A==="printstr"){var O=k.raw().toString("ascii");return this._isPrintstr(O)?O:k.error("Decoding of string type: printstr unsupported characters")}else return/str$/.test(A)?k.raw().toString():k.error("Decoding of string type: "+A+" unsupported")}},m.prototype._decodeObjid=function(k,A,D){for(var P,R=[],B=0;!k.isEmpty();){var F=k.readUInt8();B<<=7,B|=F&127,F&128||(R.push(B),B=0)}F&128&&R.push(B);var O=R[0]/40|0,N=R[0]%40;if(D?P=R:P=[O,N].concat(R.slice(1)),A){var Y=A[P.join(" ")];Y===void 0&&(Y=A[P.join(".")]),Y!==void 0&&(P=Y)}return P},m.prototype._decodeTime=function(k,A){var D=k.raw().toString();if(A==="gentime")var P=D.slice(0,4)|0,R=D.slice(4,6)|0,B=D.slice(6,8)|0,F=D.slice(8,10)|0,O=D.slice(10,12)|0,N=D.slice(12,14)|0;else if(A==="utctime"){var P=D.slice(0,2)|0,R=D.slice(2,4)|0,B=D.slice(4,6)|0,F=D.slice(6,8)|0,O=D.slice(8,10)|0,N=D.slice(10,12)|0;P<70?P=2e3+P:P=1900+P}else return k.error("Decoding "+A+" time is not supported yet");return Date.UTC(P,R-1,B,F,O,N,0)},m.prototype._decodeNull=function(k){return null},m.prototype._decodeBool=function(k){var A=k.readUInt8();return k.isError(A)?A:A!==0},m.prototype._decodeInt=function(k,A){var D=k.raw(),P=new o(D);return A&&(P=A[P.toString(10)]||P),P},m.prototype._use=function(k,A){return typeof k=="function"&&(k=k(A)),k._getDecoder("der").tree};function y(C,k){var A=C.readUInt8(k);if(C.isError(A))return A;var D=u.tagClass[A>>6],P=(A&32)===0;if((A&31)===31){var R=A;for(A=0;(R&128)===128;){if(R=C.readUInt8(k),C.isError(R))return R;A<<=7,A|=R&127}}else A&=31;var B=u.tag[A];return{cls:D,primitive:P,tag:A,tagStr:B}}function E(C,k,A){var D=C.readUInt8(A);if(C.isError(D))return D;if(!k&&D===128)return null;if(!(D&128))return D;var P=D&127;if(P>4)return C.error("length octect is too long");D=0;for(var R=0;R<P;R++){D<<=8;var B=C.readUInt8(A);if(C.isError(B))return B;D|=B}return D}return der_1$1}var pem$2,hasRequiredPem$2;function requirePem$2(){if(hasRequiredPem$2)return pem$2;hasRequiredPem$2=1;var t=inherits_browserExports,e=require$$0$2.Buffer,n=requireDer$1();function o(u){n.call(this,u),this.enc="pem"}return t(o,n),pem$2=o,o.prototype.decode=function(l,m){for(var y=l.toString().split(/[\r\n]+/g),E=m.label.toUpperCase(),C=/^-----(BEGIN|END) ([^-]+)-----$/,k=-1,A=-1,D=0;D<y.length;D++){var P=y[D].match(C);if(P!==null&&P[2]===E)if(k===-1){if(P[1]!=="BEGIN")break;k=D}else{if(P[1]!=="END")break;A=D;break}}if(k===-1||A===-1)throw new Error("PEM section not found for: "+E);var R=y.slice(k+1,A).join("");R.replace(/[^a-z0-9\+\/=]+/gi,"");var B=new e(R,"base64");return n.prototype.decode.call(this,B,m)},pem$2}var hasRequiredDecoders;function requireDecoders(){return hasRequiredDecoders||(hasRequiredDecoders=1,function(t){var e=t;e.der=requireDer$1(),e.pem=requirePem$2()}(decoders)),decoders}var encoders={},der_1,hasRequiredDer;function requireDer(){if(hasRequiredDer)return der_1;hasRequiredDer=1;var t=inherits_browserExports,e=require$$0$2.Buffer,n=requireAsn1(),o=n.base,u=n.constants.der;function l(C){this.enc="der",this.name=C.name,this.entity=C,this.tree=new m,this.tree._init(C.body)}der_1=l,l.prototype.encode=function(k,A){return this.tree._encode(k,A).join()};function m(C){o.Node.call(this,"der",C)}t(m,o.Node),m.prototype._encodeComposite=function(k,A,D,P){var R=E(k,A,D,this.reporter);if(P.length<128){var O=new e(2);return O[0]=R,O[1]=P.length,this._createEncoderBuffer([O,P])}for(var B=1,F=P.length;F>=256;F>>=8)B++;var O=new e(2+B);O[0]=R,O[1]=128|B;for(var F=1+B,N=P.length;N>0;F--,N>>=8)O[F]=N&255;return this._createEncoderBuffer([O,P])},m.prototype._encodeStr=function(k,A){if(A==="bitstr")return this._createEncoderBuffer([k.unused|0,k.data]);if(A==="bmpstr"){for(var D=new e(k.length*2),P=0;P<k.length;P++)D.writeUInt16BE(k.charCodeAt(P),P*2);return this._createEncoderBuffer(D)}else return A==="numstr"?this._isNumstr(k)?this._createEncoderBuffer(k):this.reporter.error("Encoding of string type: numstr supports only digits and space"):A==="printstr"?this._isPrintstr(k)?this._createEncoderBuffer(k):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(A)?this._createEncoderBuffer(k):A==="objDesc"?this._createEncoderBuffer(k):this.reporter.error("Encoding of string type: "+A+" unsupported")},m.prototype._encodeObjid=function(k,A,D){if(typeof k=="string"){if(!A)return this.reporter.error("string objid given, but no values map found");if(!A.hasOwnProperty(k))return this.reporter.error("objid not found in values map");k=A[k].split(/[\s\.]+/g);for(var P=0;P<k.length;P++)k[P]|=0}else if(Array.isArray(k)){k=k.slice();for(var P=0;P<k.length;P++)k[P]|=0}if(!Array.isArray(k))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(k));if(!D){if(k[1]>=40)return this.reporter.error("Second objid identifier OOB");k.splice(0,2,k[0]*40+k[1])}for(var R=0,P=0;P<k.length;P++){var B=k[P];for(R++;B>=128;B>>=7)R++}for(var F=new e(R),O=F.length-1,P=k.length-1;P>=0;P--){var B=k[P];for(F[O--]=B&127;(B>>=7)>0;)F[O--]=128|B&127}return this._createEncoderBuffer(F)};function y(C){return C<10?"0"+C:C}m.prototype._encodeTime=function(k,A){var D,P=new Date(k);return A==="gentime"?D=[y(P.getFullYear()),y(P.getUTCMonth()+1),y(P.getUTCDate()),y(P.getUTCHours()),y(P.getUTCMinutes()),y(P.getUTCSeconds()),"Z"].join(""):A==="utctime"?D=[y(P.getFullYear()%100),y(P.getUTCMonth()+1),y(P.getUTCDate()),y(P.getUTCHours()),y(P.getUTCMinutes()),y(P.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+A+" time is not supported yet"),this._encodeStr(D,"octstr")},m.prototype._encodeNull=function(){return this._createEncoderBuffer("")},m.prototype._encodeInt=function(k,A){if(typeof k=="string"){if(!A)return this.reporter.error("String int or enum given, but no values map");if(!A.hasOwnProperty(k))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(k));k=A[k]}if(typeof k!="number"&&!e.isBuffer(k)){var D=k.toArray();!k.sign&&D[0]&128&&D.unshift(0),k=new e(D)}if(e.isBuffer(k)){var P=k.length;k.length===0&&P++;var B=new e(P);return k.copy(B),k.length===0&&(B[0]=0),this._createEncoderBuffer(B)}if(k<128)return this._createEncoderBuffer(k);if(k<256)return this._createEncoderBuffer([0,k]);for(var P=1,R=k;R>=256;R>>=8)P++;for(var B=new Array(P),R=B.length-1;R>=0;R--)B[R]=k&255,k>>=8;return B[0]&128&&B.unshift(0),this._createEncoderBuffer(new e(B))},m.prototype._encodeBool=function(k){return this._createEncoderBuffer(k?255:0)},m.prototype._use=function(k,A){return typeof k=="function"&&(k=k(A)),k._getEncoder("der").tree},m.prototype._skipDefault=function(k,A,D){var P=this._baseState,R;if(P.default===null)return!1;var B=k.join();if(P.defaultBuffer===void 0&&(P.defaultBuffer=this._encodeValue(P.default,A,D).join()),B.length!==P.defaultBuffer.length)return!1;for(R=0;R<B.length;R++)if(B[R]!==P.defaultBuffer[R])return!1;return!0};function E(C,k,A,D){var P;if(C==="seqof"?C="seq":C==="setof"&&(C="set"),u.tagByName.hasOwnProperty(C))P=u.tagByName[C];else if(typeof C=="number"&&(C|0)===C)P=C;else return D.error("Unknown tag: "+C);return P>=31?D.error("Multi-octet tag encoding unsupported"):(k||(P|=32),P|=u.tagClassByName[A||"universal"]<<6,P)}return der_1}var pem$1,hasRequiredPem$1;function requirePem$1(){if(hasRequiredPem$1)return pem$1;hasRequiredPem$1=1;var t=inherits_browserExports,e=requireDer();function n(o){e.call(this,o),this.enc="pem"}return t(n,e),pem$1=n,n.prototype.encode=function(u,l){for(var m=e.prototype.encode.call(this,u),y=m.toString("base64"),E=["-----BEGIN "+l.label+"-----"],C=0;C<y.length;C+=64)E.push(y.slice(C,C+64));return E.push("-----END "+l.label+"-----"),E.join(`
-`)},pem$1}var hasRequiredEncoders;function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,function(t){var e=t;e.der=requireDer(),e.pem=requirePem$1()}(encoders)),encoders}var hasRequiredAsn1;function requireAsn1(){return hasRequiredAsn1||(hasRequiredAsn1=1,function(t){var e=t;e.bignum=bnExports$2,e.define=requireApi().define,e.base=requireBase(),e.constants=requireConstants$1(),e.decoders=requireDecoders(),e.encoders=requireEncoders()}(asn1$2)),asn1$2}var asn=requireAsn1(),Time=asn.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),AttributeTypeValue=asn.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),AlgorithmIdentifier$1=asn.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),SubjectPublicKeyInfo=asn.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier$1),this.key("subjectPublicKey").bitstr())}),RelativeDistinguishedName=asn.define("RelativeDistinguishedName",function(){this.setof(AttributeTypeValue)}),RDNSequence=asn.define("RDNSequence",function(){this.seqof(RelativeDistinguishedName)}),Name=asn.define("Name",function(){this.choice({rdnSequence:this.use(RDNSequence)})}),Validity=asn.define("Validity",function(){this.seq().obj(this.key("notBefore").use(Time),this.key("notAfter").use(Time))}),Extension=asn.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),TBSCertificate=asn.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(AlgorithmIdentifier$1),this.key("issuer").use(Name),this.key("validity").use(Validity),this.key("subject").use(Name),this.key("subjectPublicKeyInfo").use(SubjectPublicKeyInfo),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(Extension).optional())}),X509Certificate=asn.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(TBSCertificate),this.key("signatureAlgorithm").use(AlgorithmIdentifier$1),this.key("signatureValue").bitstr())}),certificate$1=X509Certificate,asn1$1=requireAsn1();asn1$3.certificate=certificate$1;var RSAPrivateKey=asn1$1.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});asn1$3.RSAPrivateKey=RSAPrivateKey;var RSAPublicKey=asn1$1.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});asn1$3.RSAPublicKey=RSAPublicKey;var AlgorithmIdentifier=asn1$1.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),PublicKey=asn1$1.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPublicKey").bitstr())});asn1$3.PublicKey=PublicKey;var PrivateKeyInfo=asn1$1.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPrivateKey").octstr())});asn1$3.PrivateKey=PrivateKeyInfo;var EncryptedPrivateKeyInfo=asn1$1.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});asn1$3.EncryptedPrivateKey=EncryptedPrivateKeyInfo;var DSAPrivateKey=asn1$1.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});asn1$3.DSAPrivateKey=DSAPrivateKey,asn1$3.DSAparam=asn1$1.define("DSAparam",function(){this.int()});var ECParameters=asn1$1.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),ECPrivateKey=asn1$1.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(ECParameters),this.key("publicKey").optional().explicit(1).bitstr())});asn1$3.ECPrivateKey=ECPrivateKey,asn1$3.signature=asn1$1.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())});const require$$1$2={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"};var findProc=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,startRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,fullRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,evp=evp_bytestokey,ciphers$1=browser$7,Buffer$7=safeBufferExports$1.Buffer,fixProc$1=function(t,e){var n=t.toString(),o=n.match(findProc),u;if(o){var m="aes"+o[1],y=Buffer$7.from(o[2],"hex"),E=Buffer$7.from(o[3].replace(/[\r\n]/g,""),"base64"),C=evp(e,y.slice(0,8),parseInt(o[1],10)).key,k=[],A=ciphers$1.createDecipheriv(m,C,y);k.push(A.update(E)),k.push(A.final()),u=Buffer$7.concat(k)}else{var l=n.match(fullRegex);u=Buffer$7.from(l[2].replace(/[\r\n]/g,""),"base64")}var D=n.match(startRegex)[1];return{tag:D,data:u}},asn1=asn1$3,aesid=require$$1$2,fixProc=fixProc$1,ciphers=browser$7,compat=browser$9,Buffer$6=safeBufferExports$1.Buffer;function decrypt(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,o=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),u=aesid[t.algorithm.decrypt.cipher.algo.join(".")],l=t.algorithm.decrypt.cipher.iv,m=t.subjectPrivateKey,y=parseInt(u.split("-")[1],10)/8,E=compat.pbkdf2Sync(e,n,o,y,"sha1"),C=ciphers.createDecipheriv(u,E,l),k=[];return k.push(C.update(m)),k.push(C.final()),Buffer$6.concat(k)}function parseKeys$2(t){var e;typeof t=="object"&&!Buffer$6.isBuffer(t)&&(e=t.passphrase,t=t.key),typeof t=="string"&&(t=Buffer$6.from(t));var n=fixProc(t,e),o=n.tag,u=n.data,l,m;switch(o){case"CERTIFICATE":m=asn1.certificate.decode(u,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(m||(m=asn1.PublicKey.decode(u,"der")),l=m.algorithm.algorithm.join("."),l){case"1.2.840.113549.1.1.1":return asn1.RSAPublicKey.decode(m.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return m.subjectPrivateKey=m.subjectPublicKey,{type:"ec",data:m};case"1.2.840.10040.4.1":return m.algorithm.params.pub_key=asn1.DSAparam.decode(m.subjectPublicKey.data,"der"),{type:"dsa",data:m.algorithm.params};default:throw new Error("unknown key id "+l)}case"ENCRYPTED PRIVATE KEY":u=asn1.EncryptedPrivateKey.decode(u,"der"),u=decrypt(u,e);case"PRIVATE KEY":switch(m=asn1.PrivateKey.decode(u,"der"),l=m.algorithm.algorithm.join("."),l){case"1.2.840.113549.1.1.1":return asn1.RSAPrivateKey.decode(m.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:m.algorithm.curve,privateKey:asn1.ECPrivateKey.decode(m.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return m.algorithm.params.priv_key=asn1.DSAparam.decode(m.subjectPrivateKey,"der"),{type:"dsa",params:m.algorithm.params};default:throw new Error("unknown key id "+l)}case"RSA PUBLIC KEY":return asn1.RSAPublicKey.decode(u,"der");case"RSA PRIVATE KEY":return asn1.RSAPrivateKey.decode(u,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:asn1.DSAPrivateKey.decode(u,"der")};case"EC PRIVATE KEY":return u=asn1.ECPrivateKey.decode(u,"der"),{curve:u.parameters.value,privateKey:u.privateKey};default:throw new Error("unknown key type "+o)}}parseKeys$2.signature=asn1.signature;var parseAsn1=parseKeys$2;const require$$4$1={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"};var hasRequiredSign;function requireSign(){if(hasRequiredSign)return sign.exports;hasRequiredSign=1;var t=safeBufferExports$1.Buffer,e=browser$a,n=browserifyRsa,o=requireElliptic().ec,u=bnExports$4,l=parseAsn1,m=require$$4$1,y=1;function E(O,N,Y,J,ie){var ue=l(N);if(ue.curve){if(J!=="ecdsa"&&J!=="ecdsa/rsa")throw new Error("wrong private key type");return C(O,ue)}else if(ue.type==="dsa"){if(J!=="dsa")throw new Error("wrong private key type");return k(O,ue,Y)}if(J!=="rsa"&&J!=="ecdsa/rsa")throw new Error("wrong private key type");if(N.padding!==void 0&&N.padding!==y)throw new Error("illegal or unsupported padding mode");O=t.concat([ie,O]);for(var Q=ue.modulus.byteLength(),ce=[0,1];O.length+ce.length+1<Q;)ce.push(255);ce.push(0);for(var he=-1;++he<O.length;)ce.push(O[he]);var ke=n(ce,ue);return ke}function C(O,N){var Y=m[N.curve.join(".")];if(!Y)throw new Error("unknown curve "+N.curve.join("."));var J=new o(Y),ie=J.keyFromPrivate(N.privateKey),ue=ie.sign(O);return t.from(ue.toDER())}function k(O,N,Y){for(var J=N.params.priv_key,ie=N.params.p,ue=N.params.q,Q=N.params.g,ce=new u(0),he,ke=P(O,ue).mod(ue),L=!1,d=D(J,ue,O,Y);L===!1;)he=B(ue,d,Y),ce=F(Q,he,ie,ue),L=he.invm(ue).imul(ke.add(J.mul(ce))).mod(ue),L.cmpn(0)===0&&(L=!1,ce=new u(0));return A(ce,L)}function A(O,N){O=O.toArray(),N=N.toArray(),O[0]&128&&(O=[0].concat(O)),N[0]&128&&(N=[0].concat(N));var Y=O.length+N.length+4,J=[48,Y,2,O.length];return J=J.concat(O,[2,N.length],N),t.from(J)}function D(O,N,Y,J){if(O=t.from(O.toArray()),O.length<N.byteLength()){var ie=t.alloc(N.byteLength()-O.length);O=t.concat([ie,O])}var ue=Y.length,Q=R(Y,N),ce=t.alloc(ue);ce.fill(1);var he=t.alloc(ue);return he=e(J,he).update(ce).update(t.from([0])).update(O).update(Q).digest(),ce=e(J,he).update(ce).digest(),he=e(J,he).update(ce).update(t.from([1])).update(O).update(Q).digest(),ce=e(J,he).update(ce).digest(),{k:he,v:ce}}function P(O,N){var Y=new u(O),J=(O.length<<3)-N.bitLength();return J>0&&Y.ishrn(J),Y}function R(O,N){O=P(O,N),O=O.mod(N);var Y=t.from(O.toArray());if(Y.length<N.byteLength()){var J=t.alloc(N.byteLength()-Y.length);Y=t.concat([J,Y])}return Y}function B(O,N,Y){var J,ie;do{for(J=t.alloc(0);J.length*8<O.bitLength();)N.v=e(Y,N.k).update(N.v).digest(),J=t.concat([J,N.v]);ie=P(J,O),N.k=e(Y,N.k).update(N.v).update(t.from([0])).digest(),N.v=e(Y,N.k).update(N.v).digest()}while(ie.cmp(O)!==-1);return ie}function F(O,N,Y,J){return O.toRed(u.mont(Y)).redPow(N).fromRed().mod(J)}return sign.exports=E,sign.exports.getKey=D,sign.exports.makeKey=B,sign.exports}var verify_1,hasRequiredVerify$1;function requireVerify$1(){if(hasRequiredVerify$1)return verify_1;hasRequiredVerify$1=1;var t=safeBufferExports$1.Buffer,e=bnExports$4,n=requireElliptic().ec,o=parseAsn1,u=require$$4$1;function l(C,k,A,D,P){var R=o(A);if(R.type==="ec"){if(D!=="ecdsa"&&D!=="ecdsa/rsa")throw new Error("wrong public key type");return m(C,k,R)}else if(R.type==="dsa"){if(D!=="dsa")throw new Error("wrong public key type");return y(C,k,R)}if(D!=="rsa"&&D!=="ecdsa/rsa")throw new Error("wrong public key type");k=t.concat([P,k]);for(var B=R.modulus.byteLength(),F=[1],O=0;k.length+F.length+2<B;)F.push(255),O+=1;F.push(0);for(var N=-1;++N<k.length;)F.push(k[N]);F=t.from(F);var Y=e.mont(R.modulus);C=new e(C).toRed(Y),C=C.redPow(new e(R.publicExponent)),C=t.from(C.fromRed().toArray());var J=O<8?1:0;for(B=Math.min(C.length,F.length),C.length!==F.length&&(J=1),N=-1;++N<B;)J|=C[N]^F[N];return J===0}function m(C,k,A){var D=u[A.data.algorithm.curve.join(".")];if(!D)throw new Error("unknown curve "+A.data.algorithm.curve.join("."));var P=new n(D),R=A.data.subjectPrivateKey.data;return P.verify(k,C,R)}function y(C,k,A){var D=A.data.p,P=A.data.q,R=A.data.g,B=A.data.pub_key,F=o.signature.decode(C,"der"),O=F.s,N=F.r;E(O,P),E(N,P);var Y=e.mont(D),J=O.invm(P),ie=R.toRed(Y).redPow(new e(k).mul(J).mod(P)).fromRed().mul(B.toRed(Y).redPow(N.mul(J).mod(P)).fromRed()).mod(D).mod(P);return ie.cmp(N)===0}function E(C,k){if(C.cmpn(0)<=0)throw new Error("invalid sig");if(C.cmp(k)>=0)throw new Error("invalid sig")}return verify_1=l,verify_1}var browser$5,hasRequiredBrowser$3;function requireBrowser$3(){if(hasRequiredBrowser$3)return browser$5;hasRequiredBrowser$3=1;var t=safeBufferExports$1.Buffer,e=browser$b,n=readableBrowserExports,o=inherits_browserExports,u=requireSign(),l=requireVerify$1(),m=require$$6$1;Object.keys(m).forEach(function(A){m[A].id=t.from(m[A].id,"hex"),m[A.toLowerCase()]=m[A]});function y(A){n.Writable.call(this);var D=m[A];if(!D)throw new Error("Unknown message digest");this._hashType=D.hash,this._hash=e(D.hash),this._tag=D.id,this._signType=D.sign}o(y,n.Writable),y.prototype._write=function(D,P,R){this._hash.update(D),R()},y.prototype.update=function(D,P){return this._hash.update(typeof D=="string"?t.from(D,P):D),this},y.prototype.sign=function(D,P){this.end();var R=this._hash.digest(),B=u(R,D,this._hashType,this._signType,this._tag);return P?B.toString(P):B};function E(A){n.Writable.call(this);var D=m[A];if(!D)throw new Error("Unknown message digest");this._hash=e(D.hash),this._tag=D.id,this._signType=D.sign}o(E,n.Writable),E.prototype._write=function(D,P,R){this._hash.update(D),R()},E.prototype.update=function(D,P){return this._hash.update(typeof D=="string"?t.from(D,P):D),this},E.prototype.verify=function(D,P,R){var B=typeof P=="string"?t.from(P,R):P;this.end();var F=this._hash.digest();return l(B,F,D,this._signType,this._tag)};function C(A){return new y(A)}function k(A){return new E(A)}return browser$5={Sign:C,Verify:k,createSign:C,createVerify:k},browser$5}var bn$1={exports:{}};bn$1.exports,function(t){(function(e,n){function o(L,d){if(!L)throw new Error(d||"Assertion failed")}function u(L,d){L.super_=d;var v=function(){};v.prototype=d.prototype,L.prototype=new v,L.prototype.constructor=L}function l(L,d,v){if(l.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((d==="le"||d==="be")&&(v=d,d=10),this._init(L||0,d||10,v||"be"))}typeof e=="object"?e.exports=l:n.BN=l,l.BN=l,l.wordSize=26;var m;try{typeof window<"u"&&typeof window.Buffer<"u"?m=window.Buffer:m=require$$0$2.Buffer}catch{}l.isBN=function(d){return d instanceof l?!0:d!==null&&typeof d=="object"&&d.constructor.wordSize===l.wordSize&&Array.isArray(d.words)},l.max=function(d,v){return d.cmp(v)>0?d:v},l.min=function(d,v){return d.cmp(v)<0?d:v},l.prototype._init=function(d,v,w){if(typeof d=="number")return this._initNumber(d,v,w);if(typeof d=="object")return this._initArray(d,v,w);v==="hex"&&(v=16),o(v===(v|0)&&v>=2&&v<=36),d=d.toString().replace(/\s+/g,"");var c=0;d[0]==="-"&&(c++,this.negative=1),c<d.length&&(v===16?this._parseHex(d,c,w):(this._parseBase(d,v,c),w==="le"&&this._initArray(this.toArray(),v,w)))},l.prototype._initNumber=function(d,v,w){d<0&&(this.negative=1,d=-d),d<67108864?(this.words=[d&67108863],this.length=1):d<4503599627370496?(this.words=[d&67108863,d/67108864&67108863],this.length=2):(o(d<9007199254740992),this.words=[d&67108863,d/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),v,w)},l.prototype._initArray=function(d,v,w){if(o(typeof d.length=="number"),d.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(d.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p,x,S=0;if(w==="be")for(c=d.length-1,p=0;c>=0;c-=3)x=d[c]|d[c-1]<<8|d[c-2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);else if(w==="le")for(c=0,p=0;c<d.length;c+=3)x=d[c]|d[c+1]<<8|d[c+2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);return this.strip()};function y(L,d){var v=L.charCodeAt(d);return v>=65&&v<=70?v-55:v>=97&&v<=102?v-87:v-48&15}function E(L,d,v){var w=y(L,v);return v-1>=d&&(w|=y(L,v-1)<<4),w}l.prototype._parseHex=function(d,v,w){this.length=Math.ceil((d.length-v)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p=0,x=0,S;if(w==="be")for(c=d.length-1;c>=v;c-=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8;else{var b=d.length-v;for(c=b%2===0?v+1:v;c<d.length;c+=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8}this.strip()};function C(L,d,v,w){for(var c=0,p=Math.min(L.length,v),x=d;x<p;x++){var S=L.charCodeAt(x)-48;c*=w,S>=49?c+=S-49+10:S>=17?c+=S-17+10:c+=S}return c}l.prototype._parseBase=function(d,v,w){this.words=[0],this.length=1;for(var c=0,p=1;p<=67108863;p*=v)c++;c--,p=p/v|0;for(var x=d.length-w,S=x%c,b=Math.min(x,x-S)+w,h=0,T=w;T<b;T+=c)h=C(d,T,T+c,v),this.imuln(p),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(S!==0){var M=1;for(h=C(d,T,d.length,v),T=0;T<S;T++)M*=v;this.imuln(M),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(d){d.words=new Array(this.length);for(var v=0;v<this.length;v++)d.words[v]=this.words[v];d.length=this.length,d.negative=this.negative,d.red=this.red},l.prototype.clone=function(){var d=new l(null);return this.copy(d),d},l.prototype._expand=function(d){for(;this.length<d;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},l.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],A=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(d,v){d=d||10,v=v|0||1;var w;if(d===16||d==="hex"){w="";for(var c=0,p=0,x=0;x<this.length;x++){var S=this.words[x],b=((S<<c|p)&16777215).toString(16);p=S>>>24-c&16777215,p!==0||x!==this.length-1?w=k[6-b.length]+b+w:w=b+w,c+=2,c>=26&&(c-=26,x--)}for(p!==0&&(w=p.toString(16)+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(d===(d|0)&&d>=2&&d<=36){var h=A[d],T=D[d];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var j=M.modn(T).toString(d);M=M.idivn(T),M.isZero()?w=j+w:w=k[h-j.length]+j+w}for(this.isZero()&&(w="0"+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}o(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var d=this.words[0];return this.length===2?d+=this.words[1]*67108864:this.length===3&&this.words[2]===1?d+=4503599627370496+this.words[1]*67108864:this.length>2&&o(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-d:d},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(d,v){return o(typeof m<"u"),this.toArrayLike(m,d,v)},l.prototype.toArray=function(d,v){return this.toArrayLike(Array,d,v)},l.prototype.toArrayLike=function(d,v,w){var c=this.byteLength(),p=w||Math.max(1,c);o(c<=p,"byte array longer than desired length"),o(p>0,"Requested array length <= 0"),this.strip();var x=v==="le",S=new d(p),b,h,T=this.clone();if(x){for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[h]=b;for(;h<p;h++)S[h]=0}else{for(h=0;h<p-c;h++)S[h]=0;for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[p-h-1]=b}return S},Math.clz32?l.prototype._countBits=function(d){return 32-Math.clz32(d)}:l.prototype._countBits=function(d){var v=d,w=0;return v>=4096&&(w+=13,v>>>=13),v>=64&&(w+=7,v>>>=7),v>=8&&(w+=4,v>>>=4),v>=2&&(w+=2,v>>>=2),w+v},l.prototype._zeroBits=function(d){if(d===0)return 26;var v=d,w=0;return v&8191||(w+=13,v>>>=13),v&127||(w+=7,v>>>=7),v&15||(w+=4,v>>>=4),v&3||(w+=2,v>>>=2),v&1||w++,w},l.prototype.bitLength=function(){var d=this.words[this.length-1],v=this._countBits(d);return(this.length-1)*26+v};function P(L){for(var d=new Array(L.bitLength()),v=0;v<d.length;v++){var w=v/26|0,c=v%26;d[v]=(L.words[w]&1<<c)>>>c}return d}l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var d=0,v=0;v<this.length;v++){var w=this._zeroBits(this.words[v]);if(d+=w,w!==26)break}return d},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(d){return this.negative!==0?this.abs().inotn(d).iaddn(1):this.clone()},l.prototype.fromTwos=function(d){return this.testn(d-1)?this.notn(d).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return this.negative!==0},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(d){for(;this.length<d.length;)this.words[this.length++]=0;for(var v=0;v<d.length;v++)this.words[v]=this.words[v]|d.words[v];return this.strip()},l.prototype.ior=function(d){return o((this.negative|d.negative)===0),this.iuor(d)},l.prototype.or=function(d){return this.length>d.length?this.clone().ior(d):d.clone().ior(this)},l.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},l.prototype.iuand=function(d){var v;this.length>d.length?v=d:v=this;for(var w=0;w<v.length;w++)this.words[w]=this.words[w]&d.words[w];return this.length=v.length,this.strip()},l.prototype.iand=function(d){return o((this.negative|d.negative)===0),this.iuand(d)},l.prototype.and=function(d){return this.length>d.length?this.clone().iand(d):d.clone().iand(this)},l.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},l.prototype.iuxor=function(d){var v,w;this.length>d.length?(v=this,w=d):(v=d,w=this);for(var c=0;c<w.length;c++)this.words[c]=v.words[c]^w.words[c];if(this!==v)for(;c<v.length;c++)this.words[c]=v.words[c];return this.length=v.length,this.strip()},l.prototype.ixor=function(d){return o((this.negative|d.negative)===0),this.iuxor(d)},l.prototype.xor=function(d){return this.length>d.length?this.clone().ixor(d):d.clone().ixor(this)},l.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},l.prototype.inotn=function(d){o(typeof d=="number"&&d>=0);var v=Math.ceil(d/26)|0,w=d%26;this._expand(v),w>0&&v--;for(var c=0;c<v;c++)this.words[c]=~this.words[c]&67108863;return w>0&&(this.words[c]=~this.words[c]&67108863>>26-w),this.strip()},l.prototype.notn=function(d){return this.clone().inotn(d)},l.prototype.setn=function(d,v){o(typeof d=="number"&&d>=0);var w=d/26|0,c=d%26;return this._expand(w+1),v?this.words[w]=this.words[w]|1<<c:this.words[w]=this.words[w]&~(1<<c),this.strip()},l.prototype.iadd=function(d){var v;if(this.negative!==0&&d.negative===0)return this.negative=0,v=this.isub(d),this.negative^=1,this._normSign();if(this.negative===0&&d.negative!==0)return d.negative=0,v=this.isub(d),d.negative=1,v._normSign();var w,c;this.length>d.length?(w=this,c=d):(w=d,c=this);for(var p=0,x=0;x<c.length;x++)v=(w.words[x]|0)+(c.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;for(;p!==0&&x<w.length;x++)v=(w.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;if(this.length=w.length,p!==0)this.words[this.length]=p,this.length++;else if(w!==this)for(;x<w.length;x++)this.words[x]=w.words[x];return this},l.prototype.add=function(d){var v;return d.negative!==0&&this.negative===0?(d.negative=0,v=this.sub(d),d.negative^=1,v):d.negative===0&&this.negative!==0?(this.negative=0,v=d.sub(this),this.negative=1,v):this.length>d.length?this.clone().iadd(d):d.clone().iadd(this)},l.prototype.isub=function(d){if(d.negative!==0){d.negative=0;var v=this.iadd(d);return d.negative=1,v._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var w=this.cmp(d);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,p;w>0?(c=this,p=d):(c=d,p=this);for(var x=0,S=0;S<p.length;S++)v=(c.words[S]|0)-(p.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;for(;x!==0&&S<c.length;S++)v=(c.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;if(x===0&&S<c.length&&c!==this)for(;S<c.length;S++)this.words[S]=c.words[S];return this.length=Math.max(this.length,S),c!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(d){return this.clone().isub(d)};function R(L,d,v){v.negative=d.negative^L.negative;var w=L.length+d.length|0;v.length=w,w=w-1|0;var c=L.words[0]|0,p=d.words[0]|0,x=c*p,S=x&67108863,b=x/67108864|0;v.words[0]=S;for(var h=1;h<w;h++){for(var T=b>>>26,M=b&67108863,j=Math.min(h,d.length-1),V=Math.max(0,h-L.length+1);V<=j;V++){var ee=h-V|0;c=L.words[ee]|0,p=d.words[V]|0,x=c*p+M,T+=x/67108864|0,M=x&67108863}v.words[h]=M|0,b=T|0}return b!==0?v.words[h]=b|0:v.length--,v.strip()}var B=function(d,v,w){var c=d.words,p=v.words,x=w.words,S=0,b,h,T,M=c[0]|0,j=M&8191,V=M>>>13,ee=c[1]|0,Z=ee&8191,U=ee>>>13,z=c[2]|0,ne=z&8191,fe=z>>>13,me=c[3]|0,de=me&8191,Oe=me>>>13,lt=c[4]|0,it=lt&8191,ot=lt>>>13,Ct=c[5]|0,nt=Ct&8191,Je=Ct>>>13,tt=c[6]|0,rt=tt&8191,ht=tt>>>13,jt=c[7]|0,Ve=jt&8191,We=jt>>>13,Gt=c[8]|0,wt=Gt&8191,Et=Gt>>>13,Yt=c[9]|0,Ce=Yt&8191,te=Yt>>>13,ye=p[0]|0,Le=ye&8191,Ue=ye>>>13,Qe=p[1]|0,Ke=Qe&8191,De=Qe>>>13,Vt=p[2]|0,At=Vt&8191,ve=Vt>>>13,Pt=p[3]|0,pt=Pt&8191,Ne=Pt>>>13,vt=p[4]|0,ut=vt&8191,$t=vt>>>13,fi=p[5]|0,kt=fi&8191,Wt=fi>>>13,Zi=p[6]|0,Ut=Zi&8191,Xt=Zi>>>13,Be=p[7]|0,be=Be&8191,ge=Be>>>13,oe=p[8]|0,Ae=oe&8191,qe=oe>>>13,bt=p[9]|0,at=bt&8191,gt=bt>>>13;w.negative=d.negative^v.negative,w.length=19,b=Math.imul(j,Le),h=Math.imul(j,Ue),h=h+Math.imul(V,Le)|0,T=Math.imul(V,Ue);var ei=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ei>>>26)|0,ei&=67108863,b=Math.imul(Z,Le),h=Math.imul(Z,Ue),h=h+Math.imul(U,Le)|0,T=Math.imul(U,Ue),b=b+Math.imul(j,Ke)|0,h=h+Math.imul(j,De)|0,h=h+Math.imul(V,Ke)|0,T=T+Math.imul(V,De)|0;var ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ii>>>26)|0,ii&=67108863,b=Math.imul(ne,Le),h=Math.imul(ne,Ue),h=h+Math.imul(fe,Le)|0,T=Math.imul(fe,Ue),b=b+Math.imul(Z,Ke)|0,h=h+Math.imul(Z,De)|0,h=h+Math.imul(U,Ke)|0,T=T+Math.imul(U,De)|0,b=b+Math.imul(j,At)|0,h=h+Math.imul(j,ve)|0,h=h+Math.imul(V,At)|0,T=T+Math.imul(V,ve)|0;var Bi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,b=Math.imul(de,Le),h=Math.imul(de,Ue),h=h+Math.imul(Oe,Le)|0,T=Math.imul(Oe,Ue),b=b+Math.imul(ne,Ke)|0,h=h+Math.imul(ne,De)|0,h=h+Math.imul(fe,Ke)|0,T=T+Math.imul(fe,De)|0,b=b+Math.imul(Z,At)|0,h=h+Math.imul(Z,ve)|0,h=h+Math.imul(U,At)|0,T=T+Math.imul(U,ve)|0,b=b+Math.imul(j,pt)|0,h=h+Math.imul(j,Ne)|0,h=h+Math.imul(V,pt)|0,T=T+Math.imul(V,Ne)|0;var hi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(hi>>>26)|0,hi&=67108863,b=Math.imul(it,Le),h=Math.imul(it,Ue),h=h+Math.imul(ot,Le)|0,T=Math.imul(ot,Ue),b=b+Math.imul(de,Ke)|0,h=h+Math.imul(de,De)|0,h=h+Math.imul(Oe,Ke)|0,T=T+Math.imul(Oe,De)|0,b=b+Math.imul(ne,At)|0,h=h+Math.imul(ne,ve)|0,h=h+Math.imul(fe,At)|0,T=T+Math.imul(fe,ve)|0,b=b+Math.imul(Z,pt)|0,h=h+Math.imul(Z,Ne)|0,h=h+Math.imul(U,pt)|0,T=T+Math.imul(U,Ne)|0,b=b+Math.imul(j,ut)|0,h=h+Math.imul(j,$t)|0,h=h+Math.imul(V,ut)|0,T=T+Math.imul(V,$t)|0;var Di=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Di>>>26)|0,Di&=67108863,b=Math.imul(nt,Le),h=Math.imul(nt,Ue),h=h+Math.imul(Je,Le)|0,T=Math.imul(Je,Ue),b=b+Math.imul(it,Ke)|0,h=h+Math.imul(it,De)|0,h=h+Math.imul(ot,Ke)|0,T=T+Math.imul(ot,De)|0,b=b+Math.imul(de,At)|0,h=h+Math.imul(de,ve)|0,h=h+Math.imul(Oe,At)|0,T=T+Math.imul(Oe,ve)|0,b=b+Math.imul(ne,pt)|0,h=h+Math.imul(ne,Ne)|0,h=h+Math.imul(fe,pt)|0,T=T+Math.imul(fe,Ne)|0,b=b+Math.imul(Z,ut)|0,h=h+Math.imul(Z,$t)|0,h=h+Math.imul(U,ut)|0,T=T+Math.imul(U,$t)|0,b=b+Math.imul(j,kt)|0,h=h+Math.imul(j,Wt)|0,h=h+Math.imul(V,kt)|0,T=T+Math.imul(V,Wt)|0;var ni=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ni>>>26)|0,ni&=67108863,b=Math.imul(rt,Le),h=Math.imul(rt,Ue),h=h+Math.imul(ht,Le)|0,T=Math.imul(ht,Ue),b=b+Math.imul(nt,Ke)|0,h=h+Math.imul(nt,De)|0,h=h+Math.imul(Je,Ke)|0,T=T+Math.imul(Je,De)|0,b=b+Math.imul(it,At)|0,h=h+Math.imul(it,ve)|0,h=h+Math.imul(ot,At)|0,T=T+Math.imul(ot,ve)|0,b=b+Math.imul(de,pt)|0,h=h+Math.imul(de,Ne)|0,h=h+Math.imul(Oe,pt)|0,T=T+Math.imul(Oe,Ne)|0,b=b+Math.imul(ne,ut)|0,h=h+Math.imul(ne,$t)|0,h=h+Math.imul(fe,ut)|0,T=T+Math.imul(fe,$t)|0,b=b+Math.imul(Z,kt)|0,h=h+Math.imul(Z,Wt)|0,h=h+Math.imul(U,kt)|0,T=T+Math.imul(U,Wt)|0,b=b+Math.imul(j,Ut)|0,h=h+Math.imul(j,Xt)|0,h=h+Math.imul(V,Ut)|0,T=T+Math.imul(V,Xt)|0;var pi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(Ve,Le),h=Math.imul(Ve,Ue),h=h+Math.imul(We,Le)|0,T=Math.imul(We,Ue),b=b+Math.imul(rt,Ke)|0,h=h+Math.imul(rt,De)|0,h=h+Math.imul(ht,Ke)|0,T=T+Math.imul(ht,De)|0,b=b+Math.imul(nt,At)|0,h=h+Math.imul(nt,ve)|0,h=h+Math.imul(Je,At)|0,T=T+Math.imul(Je,ve)|0,b=b+Math.imul(it,pt)|0,h=h+Math.imul(it,Ne)|0,h=h+Math.imul(ot,pt)|0,T=T+Math.imul(ot,Ne)|0,b=b+Math.imul(de,ut)|0,h=h+Math.imul(de,$t)|0,h=h+Math.imul(Oe,ut)|0,T=T+Math.imul(Oe,$t)|0,b=b+Math.imul(ne,kt)|0,h=h+Math.imul(ne,Wt)|0,h=h+Math.imul(fe,kt)|0,T=T+Math.imul(fe,Wt)|0,b=b+Math.imul(Z,Ut)|0,h=h+Math.imul(Z,Xt)|0,h=h+Math.imul(U,Ut)|0,T=T+Math.imul(U,Xt)|0,b=b+Math.imul(j,be)|0,h=h+Math.imul(j,ge)|0,h=h+Math.imul(V,be)|0,T=T+Math.imul(V,ge)|0;var Ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ii>>>26)|0,Ii&=67108863,b=Math.imul(wt,Le),h=Math.imul(wt,Ue),h=h+Math.imul(Et,Le)|0,T=Math.imul(Et,Ue),b=b+Math.imul(Ve,Ke)|0,h=h+Math.imul(Ve,De)|0,h=h+Math.imul(We,Ke)|0,T=T+Math.imul(We,De)|0,b=b+Math.imul(rt,At)|0,h=h+Math.imul(rt,ve)|0,h=h+Math.imul(ht,At)|0,T=T+Math.imul(ht,ve)|0,b=b+Math.imul(nt,pt)|0,h=h+Math.imul(nt,Ne)|0,h=h+Math.imul(Je,pt)|0,T=T+Math.imul(Je,Ne)|0,b=b+Math.imul(it,ut)|0,h=h+Math.imul(it,$t)|0,h=h+Math.imul(ot,ut)|0,T=T+Math.imul(ot,$t)|0,b=b+Math.imul(de,kt)|0,h=h+Math.imul(de,Wt)|0,h=h+Math.imul(Oe,kt)|0,T=T+Math.imul(Oe,Wt)|0,b=b+Math.imul(ne,Ut)|0,h=h+Math.imul(ne,Xt)|0,h=h+Math.imul(fe,Ut)|0,T=T+Math.imul(fe,Xt)|0,b=b+Math.imul(Z,be)|0,h=h+Math.imul(Z,ge)|0,h=h+Math.imul(U,be)|0,T=T+Math.imul(U,ge)|0,b=b+Math.imul(j,Ae)|0,h=h+Math.imul(j,qe)|0,h=h+Math.imul(V,Ae)|0,T=T+Math.imul(V,qe)|0;var Ci=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,b=Math.imul(Ce,Le),h=Math.imul(Ce,Ue),h=h+Math.imul(te,Le)|0,T=Math.imul(te,Ue),b=b+Math.imul(wt,Ke)|0,h=h+Math.imul(wt,De)|0,h=h+Math.imul(Et,Ke)|0,T=T+Math.imul(Et,De)|0,b=b+Math.imul(Ve,At)|0,h=h+Math.imul(Ve,ve)|0,h=h+Math.imul(We,At)|0,T=T+Math.imul(We,ve)|0,b=b+Math.imul(rt,pt)|0,h=h+Math.imul(rt,Ne)|0,h=h+Math.imul(ht,pt)|0,T=T+Math.imul(ht,Ne)|0,b=b+Math.imul(nt,ut)|0,h=h+Math.imul(nt,$t)|0,h=h+Math.imul(Je,ut)|0,T=T+Math.imul(Je,$t)|0,b=b+Math.imul(it,kt)|0,h=h+Math.imul(it,Wt)|0,h=h+Math.imul(ot,kt)|0,T=T+Math.imul(ot,Wt)|0,b=b+Math.imul(de,Ut)|0,h=h+Math.imul(de,Xt)|0,h=h+Math.imul(Oe,Ut)|0,T=T+Math.imul(Oe,Xt)|0,b=b+Math.imul(ne,be)|0,h=h+Math.imul(ne,ge)|0,h=h+Math.imul(fe,be)|0,T=T+Math.imul(fe,ge)|0,b=b+Math.imul(Z,Ae)|0,h=h+Math.imul(Z,qe)|0,h=h+Math.imul(U,Ae)|0,T=T+Math.imul(U,qe)|0,b=b+Math.imul(j,at)|0,h=h+Math.imul(j,gt)|0,h=h+Math.imul(V,at)|0,T=T+Math.imul(V,gt)|0;var zi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,b=Math.imul(Ce,Ke),h=Math.imul(Ce,De),h=h+Math.imul(te,Ke)|0,T=Math.imul(te,De),b=b+Math.imul(wt,At)|0,h=h+Math.imul(wt,ve)|0,h=h+Math.imul(Et,At)|0,T=T+Math.imul(Et,ve)|0,b=b+Math.imul(Ve,pt)|0,h=h+Math.imul(Ve,Ne)|0,h=h+Math.imul(We,pt)|0,T=T+Math.imul(We,Ne)|0,b=b+Math.imul(rt,ut)|0,h=h+Math.imul(rt,$t)|0,h=h+Math.imul(ht,ut)|0,T=T+Math.imul(ht,$t)|0,b=b+Math.imul(nt,kt)|0,h=h+Math.imul(nt,Wt)|0,h=h+Math.imul(Je,kt)|0,T=T+Math.imul(Je,Wt)|0,b=b+Math.imul(it,Ut)|0,h=h+Math.imul(it,Xt)|0,h=h+Math.imul(ot,Ut)|0,T=T+Math.imul(ot,Xt)|0,b=b+Math.imul(de,be)|0,h=h+Math.imul(de,ge)|0,h=h+Math.imul(Oe,be)|0,T=T+Math.imul(Oe,ge)|0,b=b+Math.imul(ne,Ae)|0,h=h+Math.imul(ne,qe)|0,h=h+Math.imul(fe,Ae)|0,T=T+Math.imul(fe,qe)|0,b=b+Math.imul(Z,at)|0,h=h+Math.imul(Z,gt)|0,h=h+Math.imul(U,at)|0,T=T+Math.imul(U,gt)|0;var qi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(qi>>>26)|0,qi&=67108863,b=Math.imul(Ce,At),h=Math.imul(Ce,ve),h=h+Math.imul(te,At)|0,T=Math.imul(te,ve),b=b+Math.imul(wt,pt)|0,h=h+Math.imul(wt,Ne)|0,h=h+Math.imul(Et,pt)|0,T=T+Math.imul(Et,Ne)|0,b=b+Math.imul(Ve,ut)|0,h=h+Math.imul(Ve,$t)|0,h=h+Math.imul(We,ut)|0,T=T+Math.imul(We,$t)|0,b=b+Math.imul(rt,kt)|0,h=h+Math.imul(rt,Wt)|0,h=h+Math.imul(ht,kt)|0,T=T+Math.imul(ht,Wt)|0,b=b+Math.imul(nt,Ut)|0,h=h+Math.imul(nt,Xt)|0,h=h+Math.imul(Je,Ut)|0,T=T+Math.imul(Je,Xt)|0,b=b+Math.imul(it,be)|0,h=h+Math.imul(it,ge)|0,h=h+Math.imul(ot,be)|0,T=T+Math.imul(ot,ge)|0,b=b+Math.imul(de,Ae)|0,h=h+Math.imul(de,qe)|0,h=h+Math.imul(Oe,Ae)|0,T=T+Math.imul(Oe,qe)|0,b=b+Math.imul(ne,at)|0,h=h+Math.imul(ne,gt)|0,h=h+Math.imul(fe,at)|0,T=T+Math.imul(fe,gt)|0;var Ai=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,b=Math.imul(Ce,pt),h=Math.imul(Ce,Ne),h=h+Math.imul(te,pt)|0,T=Math.imul(te,Ne),b=b+Math.imul(wt,ut)|0,h=h+Math.imul(wt,$t)|0,h=h+Math.imul(Et,ut)|0,T=T+Math.imul(Et,$t)|0,b=b+Math.imul(Ve,kt)|0,h=h+Math.imul(Ve,Wt)|0,h=h+Math.imul(We,kt)|0,T=T+Math.imul(We,Wt)|0,b=b+Math.imul(rt,Ut)|0,h=h+Math.imul(rt,Xt)|0,h=h+Math.imul(ht,Ut)|0,T=T+Math.imul(ht,Xt)|0,b=b+Math.imul(nt,be)|0,h=h+Math.imul(nt,ge)|0,h=h+Math.imul(Je,be)|0,T=T+Math.imul(Je,ge)|0,b=b+Math.imul(it,Ae)|0,h=h+Math.imul(it,qe)|0,h=h+Math.imul(ot,Ae)|0,T=T+Math.imul(ot,qe)|0,b=b+Math.imul(de,at)|0,h=h+Math.imul(de,gt)|0,h=h+Math.imul(Oe,at)|0,T=T+Math.imul(Oe,gt)|0;var ji=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,b=Math.imul(Ce,ut),h=Math.imul(Ce,$t),h=h+Math.imul(te,ut)|0,T=Math.imul(te,$t),b=b+Math.imul(wt,kt)|0,h=h+Math.imul(wt,Wt)|0,h=h+Math.imul(Et,kt)|0,T=T+Math.imul(Et,Wt)|0,b=b+Math.imul(Ve,Ut)|0,h=h+Math.imul(Ve,Xt)|0,h=h+Math.imul(We,Ut)|0,T=T+Math.imul(We,Xt)|0,b=b+Math.imul(rt,be)|0,h=h+Math.imul(rt,ge)|0,h=h+Math.imul(ht,be)|0,T=T+Math.imul(ht,ge)|0,b=b+Math.imul(nt,Ae)|0,h=h+Math.imul(nt,qe)|0,h=h+Math.imul(Je,Ae)|0,T=T+Math.imul(Je,qe)|0,b=b+Math.imul(it,at)|0,h=h+Math.imul(it,gt)|0,h=h+Math.imul(ot,at)|0,T=T+Math.imul(ot,gt)|0;var ki=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ki>>>26)|0,ki&=67108863,b=Math.imul(Ce,kt),h=Math.imul(Ce,Wt),h=h+Math.imul(te,kt)|0,T=Math.imul(te,Wt),b=b+Math.imul(wt,Ut)|0,h=h+Math.imul(wt,Xt)|0,h=h+Math.imul(Et,Ut)|0,T=T+Math.imul(Et,Xt)|0,b=b+Math.imul(Ve,be)|0,h=h+Math.imul(Ve,ge)|0,h=h+Math.imul(We,be)|0,T=T+Math.imul(We,ge)|0,b=b+Math.imul(rt,Ae)|0,h=h+Math.imul(rt,qe)|0,h=h+Math.imul(ht,Ae)|0,T=T+Math.imul(ht,qe)|0,b=b+Math.imul(nt,at)|0,h=h+Math.imul(nt,gt)|0,h=h+Math.imul(Je,at)|0,T=T+Math.imul(Je,gt)|0;var Ti=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,b=Math.imul(Ce,Ut),h=Math.imul(Ce,Xt),h=h+Math.imul(te,Ut)|0,T=Math.imul(te,Xt),b=b+Math.imul(wt,be)|0,h=h+Math.imul(wt,ge)|0,h=h+Math.imul(Et,be)|0,T=T+Math.imul(Et,ge)|0,b=b+Math.imul(Ve,Ae)|0,h=h+Math.imul(Ve,qe)|0,h=h+Math.imul(We,Ae)|0,T=T+Math.imul(We,qe)|0,b=b+Math.imul(rt,at)|0,h=h+Math.imul(rt,gt)|0,h=h+Math.imul(ht,at)|0,T=T+Math.imul(ht,gt)|0;var wi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(wi>>>26)|0,wi&=67108863,b=Math.imul(Ce,be),h=Math.imul(Ce,ge),h=h+Math.imul(te,be)|0,T=Math.imul(te,ge),b=b+Math.imul(wt,Ae)|0,h=h+Math.imul(wt,qe)|0,h=h+Math.imul(Et,Ae)|0,T=T+Math.imul(Et,qe)|0,b=b+Math.imul(Ve,at)|0,h=h+Math.imul(Ve,gt)|0,h=h+Math.imul(We,at)|0,T=T+Math.imul(We,gt)|0;var oi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(oi>>>26)|0,oi&=67108863,b=Math.imul(Ce,Ae),h=Math.imul(Ce,qe),h=h+Math.imul(te,Ae)|0,T=Math.imul(te,qe),b=b+Math.imul(wt,at)|0,h=h+Math.imul(wt,gt)|0,h=h+Math.imul(Et,at)|0,T=T+Math.imul(Et,gt)|0;var zt=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zt>>>26)|0,zt&=67108863,b=Math.imul(Ce,at),h=Math.imul(Ce,gt),h=h+Math.imul(te,at)|0,T=Math.imul(te,gt);var Qt=(S+b|0)+((h&8191)<<13)|0;return S=(T+(h>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,x[0]=ei,x[1]=ii,x[2]=Bi,x[3]=hi,x[4]=Di,x[5]=ni,x[6]=pi,x[7]=Ii,x[8]=Ci,x[9]=zi,x[10]=qi,x[11]=Ai,x[12]=ji,x[13]=ki,x[14]=Ti,x[15]=wi,x[16]=oi,x[17]=zt,x[18]=Qt,S!==0&&(x[19]=S,w.length++),w};Math.imul||(B=R);function F(L,d,v){v.negative=d.negative^L.negative,v.length=L.length+d.length;for(var w=0,c=0,p=0;p<v.length-1;p++){var x=c;c=0;for(var S=w&67108863,b=Math.min(p,d.length-1),h=Math.max(0,p-L.length+1);h<=b;h++){var T=p-h,M=L.words[T]|0,j=d.words[h]|0,V=M*j,ee=V&67108863;x=x+(V/67108864|0)|0,ee=ee+S|0,S=ee&67108863,x=x+(ee>>>26)|0,c+=x>>>26,x&=67108863}v.words[p]=S,w=x,x=c}return w!==0?v.words[p]=w:v.length--,v.strip()}function O(L,d,v){var w=new N;return w.mulp(L,d,v)}l.prototype.mulTo=function(d,v){var w,c=this.length+d.length;return this.length===10&&d.length===10?w=B(this,d,v):c<63?w=R(this,d,v):c<1024?w=F(this,d,v):w=O(this,d,v),w};function N(L,d){this.x=L,this.y=d}N.prototype.makeRBT=function(d){for(var v=new Array(d),w=l.prototype._countBits(d)-1,c=0;c<d;c++)v[c]=this.revBin(c,w,d);return v},N.prototype.revBin=function(d,v,w){if(d===0||d===w-1)return d;for(var c=0,p=0;p<v;p++)c|=(d&1)<<v-p-1,d>>=1;return c},N.prototype.permute=function(d,v,w,c,p,x){for(var S=0;S<x;S++)c[S]=v[d[S]],p[S]=w[d[S]]},N.prototype.transform=function(d,v,w,c,p,x){this.permute(x,d,v,w,c,p);for(var S=1;S<p;S<<=1)for(var b=S<<1,h=Math.cos(2*Math.PI/b),T=Math.sin(2*Math.PI/b),M=0;M<p;M+=b)for(var j=h,V=T,ee=0;ee<S;ee++){var Z=w[M+ee],U=c[M+ee],z=w[M+ee+S],ne=c[M+ee+S],fe=j*z-V*ne;ne=j*ne+V*z,z=fe,w[M+ee]=Z+z,c[M+ee]=U+ne,w[M+ee+S]=Z-z,c[M+ee+S]=U-ne,ee!==b&&(fe=h*j-T*V,V=h*V+T*j,j=fe)}},N.prototype.guessLen13b=function(d,v){var w=Math.max(v,d)|1,c=w&1,p=0;for(w=w/2|0;w;w=w>>>1)p++;return 1<<p+1+c},N.prototype.conjugate=function(d,v,w){if(!(w<=1))for(var c=0;c<w/2;c++){var p=d[c];d[c]=d[w-c-1],d[w-c-1]=p,p=v[c],v[c]=-v[w-c-1],v[w-c-1]=-p}},N.prototype.normalize13b=function(d,v){for(var w=0,c=0;c<v/2;c++){var p=Math.round(d[2*c+1]/v)*8192+Math.round(d[2*c]/v)+w;d[c]=p&67108863,p<67108864?w=0:w=p/67108864|0}return d},N.prototype.convert13b=function(d,v,w,c){for(var p=0,x=0;x<v;x++)p=p+(d[x]|0),w[2*x]=p&8191,p=p>>>13,w[2*x+1]=p&8191,p=p>>>13;for(x=2*v;x<c;++x)w[x]=0;o(p===0),o((p&-8192)===0)},N.prototype.stub=function(d){for(var v=new Array(d),w=0;w<d;w++)v[w]=0;return v},N.prototype.mulp=function(d,v,w){var c=2*this.guessLen13b(d.length,v.length),p=this.makeRBT(c),x=this.stub(c),S=new Array(c),b=new Array(c),h=new Array(c),T=new Array(c),M=new Array(c),j=new Array(c),V=w.words;V.length=c,this.convert13b(d.words,d.length,S,c),this.convert13b(v.words,v.length,T,c),this.transform(S,x,b,h,c,p),this.transform(T,x,M,j,c,p);for(var ee=0;ee<c;ee++){var Z=b[ee]*M[ee]-h[ee]*j[ee];h[ee]=b[ee]*j[ee]+h[ee]*M[ee],b[ee]=Z}return this.conjugate(b,h,c),this.transform(b,h,V,x,c,p),this.conjugate(V,x,c),this.normalize13b(V,c),w.negative=d.negative^v.negative,w.length=d.length+v.length,w.strip()},l.prototype.mul=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),this.mulTo(d,v)},l.prototype.mulf=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),O(this,d,v)},l.prototype.imul=function(d){return this.clone().mulTo(d,this)},l.prototype.imuln=function(d){o(typeof d=="number"),o(d<67108864);for(var v=0,w=0;w<this.length;w++){var c=(this.words[w]|0)*d,p=(c&67108863)+(v&67108863);v>>=26,v+=c/67108864|0,v+=p>>>26,this.words[w]=p&67108863}return v!==0&&(this.words[w]=v,this.length++),this},l.prototype.muln=function(d){return this.clone().imuln(d)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(d){var v=P(d);if(v.length===0)return new l(1);for(var w=this,c=0;c<v.length&&v[c]===0;c++,w=w.sqr());if(++c<v.length)for(var p=w.sqr();c<v.length;c++,p=p.sqr())v[c]!==0&&(w=w.mul(p));return w},l.prototype.iushln=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=67108863>>>26-v<<26-v,p;if(v!==0){var x=0;for(p=0;p<this.length;p++){var S=this.words[p]&c,b=(this.words[p]|0)-S<<v;this.words[p]=b|x,x=S>>>26-v}x&&(this.words[p]=x,this.length++)}if(w!==0){for(p=this.length-1;p>=0;p--)this.words[p+w]=this.words[p];for(p=0;p<w;p++)this.words[p]=0;this.length+=w}return this.strip()},l.prototype.ishln=function(d){return o(this.negative===0),this.iushln(d)},l.prototype.iushrn=function(d,v,w){o(typeof d=="number"&&d>=0);var c;v?c=(v-v%26)/26:c=0;var p=d%26,x=Math.min((d-p)/26,this.length),S=67108863^67108863>>>p<<p,b=w;if(c-=x,c=Math.max(0,c),b){for(var h=0;h<x;h++)b.words[h]=this.words[h];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,h=0;h<this.length;h++)this.words[h]=this.words[h+x];else this.words[0]=0,this.length=1;var T=0;for(h=this.length-1;h>=0&&(T!==0||h>=c);h--){var M=this.words[h]|0;this.words[h]=T<<26-p|M>>>p,T=M&S}return b&&T!==0&&(b.words[b.length++]=T),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(d,v,w){return o(this.negative===0),this.iushrn(d,v,w)},l.prototype.shln=function(d){return this.clone().ishln(d)},l.prototype.ushln=function(d){return this.clone().iushln(d)},l.prototype.shrn=function(d){return this.clone().ishrn(d)},l.prototype.ushrn=function(d){return this.clone().iushrn(d)},l.prototype.testn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return!1;var p=this.words[w];return!!(p&c)},l.prototype.imaskn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26;if(o(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(v!==0&&w++,this.length=Math.min(w,this.length),v!==0){var c=67108863^67108863>>>v<<v;this.words[this.length-1]&=c}return this.strip()},l.prototype.maskn=function(d){return this.clone().imaskn(d)},l.prototype.iaddn=function(d){return o(typeof d=="number"),o(d<67108864),d<0?this.isubn(-d):this.negative!==0?this.length===1&&(this.words[0]|0)<d?(this.words[0]=d-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(d),this.negative=1,this):this._iaddn(d)},l.prototype._iaddn=function(d){this.words[0]+=d;for(var v=0;v<this.length&&this.words[v]>=67108864;v++)this.words[v]-=67108864,v===this.length-1?this.words[v+1]=1:this.words[v+1]++;return this.length=Math.max(this.length,v+1),this},l.prototype.isubn=function(d){if(o(typeof d=="number"),o(d<67108864),d<0)return this.iaddn(-d);if(this.negative!==0)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var v=0;v<this.length&&this.words[v]<0;v++)this.words[v]+=67108864,this.words[v+1]-=1;return this.strip()},l.prototype.addn=function(d){return this.clone().iaddn(d)},l.prototype.subn=function(d){return this.clone().isubn(d)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(d,v,w){var c=d.length+w,p;this._expand(c);var x,S=0;for(p=0;p<d.length;p++){x=(this.words[p+w]|0)+S;var b=(d.words[p]|0)*v;x-=b&67108863,S=(x>>26)-(b/67108864|0),this.words[p+w]=x&67108863}for(;p<this.length-w;p++)x=(this.words[p+w]|0)+S,S=x>>26,this.words[p+w]=x&67108863;if(S===0)return this.strip();for(o(S===-1),S=0,p=0;p<this.length;p++)x=-(this.words[p]|0)+S,S=x>>26,this.words[p]=x&67108863;return this.negative=1,this.strip()},l.prototype._wordDiv=function(d,v){var w=this.length-d.length,c=this.clone(),p=d,x=p.words[p.length-1]|0,S=this._countBits(x);w=26-S,w!==0&&(p=p.ushln(w),c.iushln(w),x=p.words[p.length-1]|0);var b=c.length-p.length,h;if(v!=="mod"){h=new l(null),h.length=b+1,h.words=new Array(h.length);for(var T=0;T<h.length;T++)h.words[T]=0}var M=c.clone()._ishlnsubmul(p,1,b);M.negative===0&&(c=M,h&&(h.words[b]=1));for(var j=b-1;j>=0;j--){var V=(c.words[p.length+j]|0)*67108864+(c.words[p.length+j-1]|0);for(V=Math.min(V/x|0,67108863),c._ishlnsubmul(p,V,j);c.negative!==0;)V--,c.negative=0,c._ishlnsubmul(p,1,j),c.isZero()||(c.negative^=1);h&&(h.words[j]=V)}return h&&h.strip(),c.strip(),v!=="div"&&w!==0&&c.iushrn(w),{div:h||null,mod:c}},l.prototype.divmod=function(d,v,w){if(o(!d.isZero()),this.isZero())return{div:new l(0),mod:new l(0)};var c,p,x;return this.negative!==0&&d.negative===0?(x=this.neg().divmod(d,v),v!=="mod"&&(c=x.div.neg()),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.iadd(d)),{div:c,mod:p}):this.negative===0&&d.negative!==0?(x=this.divmod(d.neg(),v),v!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&d.negative?(x=this.neg().divmod(d.neg(),v),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.isub(d)),{div:x.div,mod:p}):d.length>this.length||this.cmp(d)<0?{div:new l(0),mod:this}:d.length===1?v==="div"?{div:this.divn(d.words[0]),mod:null}:v==="mod"?{div:null,mod:new l(this.modn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new l(this.modn(d.words[0]))}:this._wordDiv(d,v)},l.prototype.div=function(d){return this.divmod(d,"div",!1).div},l.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},l.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},l.prototype.divRound=function(d){var v=this.divmod(d);if(v.mod.isZero())return v.div;var w=v.div.negative!==0?v.mod.isub(d):v.mod,c=d.ushrn(1),p=d.andln(1),x=w.cmp(c);return x<0||p===1&&x===0?v.div:v.div.negative!==0?v.div.isubn(1):v.div.iaddn(1)},l.prototype.modn=function(d){o(d<=67108863);for(var v=(1<<26)%d,w=0,c=this.length-1;c>=0;c--)w=(v*w+(this.words[c]|0))%d;return w},l.prototype.idivn=function(d){o(d<=67108863);for(var v=0,w=this.length-1;w>=0;w--){var c=(this.words[w]|0)+v*67108864;this.words[w]=c/d|0,v=c%d}return this.strip()},l.prototype.divn=function(d){return this.clone().idivn(d)},l.prototype.egcd=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=new l(0),S=new l(1),b=0;v.isEven()&&w.isEven();)v.iushrn(1),w.iushrn(1),++b;for(var h=w.clone(),T=v.clone();!v.isZero();){for(var M=0,j=1;!(v.words[0]&j)&&M<26;++M,j<<=1);if(M>0)for(v.iushrn(M);M-- >0;)(c.isOdd()||p.isOdd())&&(c.iadd(h),p.isub(T)),c.iushrn(1),p.iushrn(1);for(var V=0,ee=1;!(w.words[0]&ee)&&V<26;++V,ee<<=1);if(V>0)for(w.iushrn(V);V-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(h),S.isub(T)),x.iushrn(1),S.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(x),p.isub(S)):(w.isub(v),x.isub(c),S.isub(p))}return{a:x,b:S,gcd:w.iushln(b)}},l.prototype._invmp=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=w.clone();v.cmpn(1)>0&&w.cmpn(1)>0;){for(var S=0,b=1;!(v.words[0]&b)&&S<26;++S,b<<=1);if(S>0)for(v.iushrn(S);S-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var h=0,T=1;!(w.words[0]&T)&&h<26;++h,T<<=1);if(h>0)for(w.iushrn(h);h-- >0;)p.isOdd()&&p.iadd(x),p.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(p)):(w.isub(v),p.isub(c))}var M;return v.cmpn(1)===0?M=c:M=p,M.cmpn(0)<0&&M.iadd(d),M},l.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var v=this.clone(),w=d.clone();v.negative=0,w.negative=0;for(var c=0;v.isEven()&&w.isEven();c++)v.iushrn(1),w.iushrn(1);do{for(;v.isEven();)v.iushrn(1);for(;w.isEven();)w.iushrn(1);var p=v.cmp(w);if(p<0){var x=v;v=w,w=x}else if(p===0||w.cmpn(1)===0)break;v.isub(w)}while(!0);return w.iushln(c)},l.prototype.invm=function(d){return this.egcd(d).a.umod(d)},l.prototype.isEven=function(){return(this.words[0]&1)===0},l.prototype.isOdd=function(){return(this.words[0]&1)===1},l.prototype.andln=function(d){return this.words[0]&d},l.prototype.bincn=function(d){o(typeof d=="number");var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return this._expand(w+1),this.words[w]|=c,this;for(var p=c,x=w;p!==0&&x<this.length;x++){var S=this.words[x]|0;S+=p,p=S>>>26,S&=67108863,this.words[x]=S}return p!==0&&(this.words[x]=p,this.length++),this},l.prototype.isZero=function(){return this.length===1&&this.words[0]===0},l.prototype.cmpn=function(d){var v=d<0;if(this.negative!==0&&!v)return-1;if(this.negative===0&&v)return 1;this.strip();var w;if(this.length>1)w=1;else{v&&(d=-d),o(d<=67108863,"Number is too big");var c=this.words[0]|0;w=c===d?0:c<d?-1:1}return this.negative!==0?-w|0:w},l.prototype.cmp=function(d){if(this.negative!==0&&d.negative===0)return-1;if(this.negative===0&&d.negative!==0)return 1;var v=this.ucmp(d);return this.negative!==0?-v|0:v},l.prototype.ucmp=function(d){if(this.length>d.length)return 1;if(this.length<d.length)return-1;for(var v=0,w=this.length-1;w>=0;w--){var c=this.words[w]|0,p=d.words[w]|0;if(c!==p){c<p?v=-1:c>p&&(v=1);break}}return v},l.prototype.gtn=function(d){return this.cmpn(d)===1},l.prototype.gt=function(d){return this.cmp(d)===1},l.prototype.gten=function(d){return this.cmpn(d)>=0},l.prototype.gte=function(d){return this.cmp(d)>=0},l.prototype.ltn=function(d){return this.cmpn(d)===-1},l.prototype.lt=function(d){return this.cmp(d)===-1},l.prototype.lten=function(d){return this.cmpn(d)<=0},l.prototype.lte=function(d){return this.cmp(d)<=0},l.prototype.eqn=function(d){return this.cmpn(d)===0},l.prototype.eq=function(d){return this.cmp(d)===0},l.red=function(d){return new he(d)},l.prototype.toRed=function(d){return o(!this.red,"Already a number in reduction context"),o(this.negative===0,"red works only with positives"),d.convertTo(this)._forceRed(d)},l.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(d){return this.red=d,this},l.prototype.forceRed=function(d){return o(!this.red,"Already a number in reduction context"),this._forceRed(d)},l.prototype.redAdd=function(d){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},l.prototype.redIAdd=function(d){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},l.prototype.redSub=function(d){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},l.prototype.redISub=function(d){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},l.prototype.redShl=function(d){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},l.prototype.redMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},l.prototype.redIMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},l.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(d){return o(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var Y={k256:null,p224:null,p192:null,p25519:null};function J(L,d){this.name=L,this.p=new l(d,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}J.prototype._tmp=function(){var d=new l(null);return d.words=new Array(Math.ceil(this.n/13)),d},J.prototype.ireduce=function(d){var v=d,w;do this.split(v,this.tmp),v=this.imulK(v),v=v.iadd(this.tmp),w=v.bitLength();while(w>this.n);var c=w<this.n?-1:v.ucmp(this.p);return c===0?(v.words[0]=0,v.length=1):c>0?v.isub(this.p):v.strip!==void 0?v.strip():v._strip(),v},J.prototype.split=function(d,v){d.iushrn(this.n,0,v)},J.prototype.imulK=function(d){return d.imul(this.k)};function ie(){J.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(ie,J),ie.prototype.split=function(d,v){for(var w=4194303,c=Math.min(d.length,9),p=0;p<c;p++)v.words[p]=d.words[p];if(v.length=c,d.length<=9){d.words[0]=0,d.length=1;return}var x=d.words[9];for(v.words[v.length++]=x&w,p=10;p<d.length;p++){var S=d.words[p]|0;d.words[p-10]=(S&w)<<4|x>>>22,x=S}x>>>=22,d.words[p-10]=x,x===0&&d.length>10?d.length-=10:d.length-=9},ie.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var v=0,w=0;w<d.length;w++){var c=d.words[w]|0;v+=c*977,d.words[w]=v&67108863,v=c*64+(v/67108864|0)}return d.words[d.length-1]===0&&(d.length--,d.words[d.length-1]===0&&d.length--),d};function ue(){J.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(ue,J);function Q(){J.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(Q,J);function ce(){J.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ce,J),ce.prototype.imulK=function(d){for(var v=0,w=0;w<d.length;w++){var c=(d.words[w]|0)*19+v,p=c&67108863;c>>>=26,d.words[w]=p,v=c}return v!==0&&(d.words[d.length++]=v),d},l._prime=function(d){if(Y[d])return Y[d];var v;if(d==="k256")v=new ie;else if(d==="p224")v=new ue;else if(d==="p192")v=new Q;else if(d==="p25519")v=new ce;else throw new Error("Unknown prime "+d);return Y[d]=v,v};function he(L){if(typeof L=="string"){var d=l._prime(L);this.m=d.p,this.prime=d}else o(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(d){o(d.negative===0,"red works only with positives"),o(d.red,"red works only with red numbers")},he.prototype._verify2=function(d,v){o((d.negative|v.negative)===0,"red works only with positives"),o(d.red&&d.red===v.red,"red works only with red numbers")},he.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):d.umod(this.m)._forceRed(this)},he.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},he.prototype.add=function(d,v){this._verify2(d,v);var w=d.add(v);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},he.prototype.iadd=function(d,v){this._verify2(d,v);var w=d.iadd(v);return w.cmp(this.m)>=0&&w.isub(this.m),w},he.prototype.sub=function(d,v){this._verify2(d,v);var w=d.sub(v);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},he.prototype.isub=function(d,v){this._verify2(d,v);var w=d.isub(v);return w.cmpn(0)<0&&w.iadd(this.m),w},he.prototype.shl=function(d,v){return this._verify1(d),this.imod(d.ushln(v))},he.prototype.imul=function(d,v){return this._verify2(d,v),this.imod(d.imul(v))},he.prototype.mul=function(d,v){return this._verify2(d,v),this.imod(d.mul(v))},he.prototype.isqr=function(d){return this.imul(d,d.clone())},he.prototype.sqr=function(d){return this.mul(d,d)},he.prototype.sqrt=function(d){if(d.isZero())return d.clone();var v=this.m.andln(3);if(o(v%2===1),v===3){var w=this.m.add(new l(1)).iushrn(2);return this.pow(d,w)}for(var c=this.m.subn(1),p=0;!c.isZero()&&c.andln(1)===0;)p++,c.iushrn(1);o(!c.isZero());var x=new l(1).toRed(this),S=x.redNeg(),b=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);this.pow(h,b).cmp(S)!==0;)h.redIAdd(S);for(var T=this.pow(h,c),M=this.pow(d,c.addn(1).iushrn(1)),j=this.pow(d,c),V=p;j.cmp(x)!==0;){for(var ee=j,Z=0;ee.cmp(x)!==0;Z++)ee=ee.redSqr();o(Z<V);var U=this.pow(T,new l(1).iushln(V-Z-1));M=M.redMul(U),T=U.redSqr(),j=j.redMul(T),V=Z}return M},he.prototype.invm=function(d){var v=d._invmp(this.m);return v.negative!==0?(v.negative=0,this.imod(v).redNeg()):this.imod(v)},he.prototype.pow=function(d,v){if(v.isZero())return new l(1).toRed(this);if(v.cmpn(1)===0)return d.clone();var w=4,c=new Array(1<<w);c[0]=new l(1).toRed(this),c[1]=d;for(var p=2;p<c.length;p++)c[p]=this.mul(c[p-1],d);var x=c[0],S=0,b=0,h=v.bitLength()%26;for(h===0&&(h=26),p=v.length-1;p>=0;p--){for(var T=v.words[p],M=h-1;M>=0;M--){var j=T>>M&1;if(x!==c[0]&&(x=this.sqr(x)),j===0&&S===0){b=0;continue}S<<=1,S|=j,b++,!(b!==w&&(p!==0||M!==0))&&(x=this.mul(x,c[S]),b=0,S=0)}h=26}return x},he.prototype.convertTo=function(d){var v=d.umod(this.m);return v===d?v.clone():v},he.prototype.convertFrom=function(d){var v=d.clone();return v.red=null,v},l.mont=function(d){return new ke(d)};function ke(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(ke,he),ke.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},ke.prototype.convertFrom=function(d){var v=this.imod(d.mul(this.rinv));return v.red=null,v},ke.prototype.imul=function(d,v){if(d.isZero()||v.isZero())return d.words[0]=0,d.length=1,d;var w=d.imul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.mul=function(d,v){if(d.isZero()||v.isZero())return new l(0)._forceRed(this);var w=d.mul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.invm=function(d){var v=this.imod(d._invmp(this.m).mul(this.r2));return v._forceRed(this)}})(t,commonjsGlobal$1)}(bn$1);var bnExports$1=bn$1.exports,browser$4,hasRequiredBrowser$2;function requireBrowser$2(){if(hasRequiredBrowser$2)return browser$4;hasRequiredBrowser$2=1;var t=requireElliptic(),e=bnExports$1;browser$4=function(m){return new o(m)};var n={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};n.p224=n.secp224r1,n.p256=n.secp256r1=n.prime256v1,n.p192=n.secp192r1=n.prime192v1,n.p384=n.secp384r1,n.p521=n.secp521r1;function o(l){this.curveType=n[l],this.curveType||(this.curveType={name:l}),this.curve=new t.ec(this.curveType.name),this.keys=void 0}o.prototype.generateKeys=function(l,m){return this.keys=this.curve.genKeyPair(),this.getPublicKey(l,m)},o.prototype.computeSecret=function(l,m,y){m=m||"utf8",Buffer$C.isBuffer(l)||(l=new Buffer$C(l,m));var E=this.curve.keyFromPublic(l).getPublic(),C=E.mul(this.keys.getPrivate()).getX();return u(C,y,this.curveType.byteLength)},o.prototype.getPublicKey=function(l,m){var y=this.keys.getPublic(m==="compressed",!0);return m==="hybrid"&&(y[y.length-1]%2?y[0]=7:y[0]=6),u(y,l)},o.prototype.getPrivateKey=function(l){return u(this.keys.getPrivate(),l)},o.prototype.setPublicKey=function(l,m){return m=m||"utf8",Buffer$C.isBuffer(l)||(l=new Buffer$C(l,m)),this.keys._importPublic(l),this},o.prototype.setPrivateKey=function(l,m){m=m||"utf8",Buffer$C.isBuffer(l)||(l=new Buffer$C(l,m));var y=new e(l);return y=y.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(y),this};function u(l,m,y){Array.isArray(l)||(l=l.toArray());var E=new Buffer$C(l);if(y&&E.length<y){var C=new Buffer$C(y-E.length);C.fill(0),E=Buffer$C.concat([C,E])}return m?E.toString(m):E}return browser$4}var browser$3={},createHash$2=browser$b,Buffer$5=safeBufferExports$1.Buffer,mgf$2=function(t,e){for(var n=Buffer$5.alloc(0),o=0,u;n.length<e;)u=i2ops(o++),n=Buffer$5.concat([n,createHash$2("sha1").update(t).update(u).digest()]);return n.slice(0,e)};function i2ops(t){var e=Buffer$5.allocUnsafe(4);return e.writeUInt32BE(t,0),e}var xor$2=function t(e,n){for(var o=e.length,u=-1;++u<o;)e[u]^=n[u];return e},bn={exports:{}};bn.exports,function(t){(function(e,n){function o(L,d){if(!L)throw new Error(d||"Assertion failed")}function u(L,d){L.super_=d;var v=function(){};v.prototype=d.prototype,L.prototype=new v,L.prototype.constructor=L}function l(L,d,v){if(l.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((d==="le"||d==="be")&&(v=d,d=10),this._init(L||0,d||10,v||"be"))}typeof e=="object"?e.exports=l:n.BN=l,l.BN=l,l.wordSize=26;var m;try{typeof window<"u"&&typeof window.Buffer<"u"?m=window.Buffer:m=require$$0$2.Buffer}catch{}l.isBN=function(d){return d instanceof l?!0:d!==null&&typeof d=="object"&&d.constructor.wordSize===l.wordSize&&Array.isArray(d.words)},l.max=function(d,v){return d.cmp(v)>0?d:v},l.min=function(d,v){return d.cmp(v)<0?d:v},l.prototype._init=function(d,v,w){if(typeof d=="number")return this._initNumber(d,v,w);if(typeof d=="object")return this._initArray(d,v,w);v==="hex"&&(v=16),o(v===(v|0)&&v>=2&&v<=36),d=d.toString().replace(/\s+/g,"");var c=0;d[0]==="-"&&(c++,this.negative=1),c<d.length&&(v===16?this._parseHex(d,c,w):(this._parseBase(d,v,c),w==="le"&&this._initArray(this.toArray(),v,w)))},l.prototype._initNumber=function(d,v,w){d<0&&(this.negative=1,d=-d),d<67108864?(this.words=[d&67108863],this.length=1):d<4503599627370496?(this.words=[d&67108863,d/67108864&67108863],this.length=2):(o(d<9007199254740992),this.words=[d&67108863,d/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),v,w)},l.prototype._initArray=function(d,v,w){if(o(typeof d.length=="number"),d.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(d.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p,x,S=0;if(w==="be")for(c=d.length-1,p=0;c>=0;c-=3)x=d[c]|d[c-1]<<8|d[c-2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);else if(w==="le")for(c=0,p=0;c<d.length;c+=3)x=d[c]|d[c+1]<<8|d[c+2]<<16,this.words[p]|=x<<S&67108863,this.words[p+1]=x>>>26-S&67108863,S+=24,S>=26&&(S-=26,p++);return this.strip()};function y(L,d){var v=L.charCodeAt(d);return v>=65&&v<=70?v-55:v>=97&&v<=102?v-87:v-48&15}function E(L,d,v){var w=y(L,v);return v-1>=d&&(w|=y(L,v-1)<<4),w}l.prototype._parseHex=function(d,v,w){this.length=Math.ceil((d.length-v)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var p=0,x=0,S;if(w==="be")for(c=d.length-1;c>=v;c-=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8;else{var b=d.length-v;for(c=b%2===0?v+1:v;c<d.length;c+=2)S=E(d,v,c)<<p,this.words[x]|=S&67108863,p>=18?(p-=18,x+=1,this.words[x]|=S>>>26):p+=8}this.strip()};function C(L,d,v,w){for(var c=0,p=Math.min(L.length,v),x=d;x<p;x++){var S=L.charCodeAt(x)-48;c*=w,S>=49?c+=S-49+10:S>=17?c+=S-17+10:c+=S}return c}l.prototype._parseBase=function(d,v,w){this.words=[0],this.length=1;for(var c=0,p=1;p<=67108863;p*=v)c++;c--,p=p/v|0;for(var x=d.length-w,S=x%c,b=Math.min(x,x-S)+w,h=0,T=w;T<b;T+=c)h=C(d,T,T+c,v),this.imuln(p),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(S!==0){var M=1;for(h=C(d,T,d.length,v),T=0;T<S;T++)M*=v;this.imuln(M),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},l.prototype.copy=function(d){d.words=new Array(this.length);for(var v=0;v<this.length;v++)d.words[v]=this.words[v];d.length=this.length,d.negative=this.negative,d.red=this.red},l.prototype.clone=function(){var d=new l(null);return this.copy(d),d},l.prototype._expand=function(d){for(;this.length<d;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},l.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],A=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(d,v){d=d||10,v=v|0||1;var w;if(d===16||d==="hex"){w="";for(var c=0,p=0,x=0;x<this.length;x++){var S=this.words[x],b=((S<<c|p)&16777215).toString(16);p=S>>>24-c&16777215,p!==0||x!==this.length-1?w=k[6-b.length]+b+w:w=b+w,c+=2,c>=26&&(c-=26,x--)}for(p!==0&&(w=p.toString(16)+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}if(d===(d|0)&&d>=2&&d<=36){var h=A[d],T=D[d];w="";var M=this.clone();for(M.negative=0;!M.isZero();){var j=M.modn(T).toString(d);M=M.idivn(T),M.isZero()?w=j+w:w=k[h-j.length]+j+w}for(this.isZero()&&(w="0"+w);w.length%v!==0;)w="0"+w;return this.negative!==0&&(w="-"+w),w}o(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var d=this.words[0];return this.length===2?d+=this.words[1]*67108864:this.length===3&&this.words[2]===1?d+=4503599627370496+this.words[1]*67108864:this.length>2&&o(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-d:d},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(d,v){return o(typeof m<"u"),this.toArrayLike(m,d,v)},l.prototype.toArray=function(d,v){return this.toArrayLike(Array,d,v)},l.prototype.toArrayLike=function(d,v,w){var c=this.byteLength(),p=w||Math.max(1,c);o(c<=p,"byte array longer than desired length"),o(p>0,"Requested array length <= 0"),this.strip();var x=v==="le",S=new d(p),b,h,T=this.clone();if(x){for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[h]=b;for(;h<p;h++)S[h]=0}else{for(h=0;h<p-c;h++)S[h]=0;for(h=0;!T.isZero();h++)b=T.andln(255),T.iushrn(8),S[p-h-1]=b}return S},Math.clz32?l.prototype._countBits=function(d){return 32-Math.clz32(d)}:l.prototype._countBits=function(d){var v=d,w=0;return v>=4096&&(w+=13,v>>>=13),v>=64&&(w+=7,v>>>=7),v>=8&&(w+=4,v>>>=4),v>=2&&(w+=2,v>>>=2),w+v},l.prototype._zeroBits=function(d){if(d===0)return 26;var v=d,w=0;return v&8191||(w+=13,v>>>=13),v&127||(w+=7,v>>>=7),v&15||(w+=4,v>>>=4),v&3||(w+=2,v>>>=2),v&1||w++,w},l.prototype.bitLength=function(){var d=this.words[this.length-1],v=this._countBits(d);return(this.length-1)*26+v};function P(L){for(var d=new Array(L.bitLength()),v=0;v<d.length;v++){var w=v/26|0,c=v%26;d[v]=(L.words[w]&1<<c)>>>c}return d}l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var d=0,v=0;v<this.length;v++){var w=this._zeroBits(this.words[v]);if(d+=w,w!==26)break}return d},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(d){return this.negative!==0?this.abs().inotn(d).iaddn(1):this.clone()},l.prototype.fromTwos=function(d){return this.testn(d-1)?this.notn(d).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return this.negative!==0},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(d){for(;this.length<d.length;)this.words[this.length++]=0;for(var v=0;v<d.length;v++)this.words[v]=this.words[v]|d.words[v];return this.strip()},l.prototype.ior=function(d){return o((this.negative|d.negative)===0),this.iuor(d)},l.prototype.or=function(d){return this.length>d.length?this.clone().ior(d):d.clone().ior(this)},l.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},l.prototype.iuand=function(d){var v;this.length>d.length?v=d:v=this;for(var w=0;w<v.length;w++)this.words[w]=this.words[w]&d.words[w];return this.length=v.length,this.strip()},l.prototype.iand=function(d){return o((this.negative|d.negative)===0),this.iuand(d)},l.prototype.and=function(d){return this.length>d.length?this.clone().iand(d):d.clone().iand(this)},l.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},l.prototype.iuxor=function(d){var v,w;this.length>d.length?(v=this,w=d):(v=d,w=this);for(var c=0;c<w.length;c++)this.words[c]=v.words[c]^w.words[c];if(this!==v)for(;c<v.length;c++)this.words[c]=v.words[c];return this.length=v.length,this.strip()},l.prototype.ixor=function(d){return o((this.negative|d.negative)===0),this.iuxor(d)},l.prototype.xor=function(d){return this.length>d.length?this.clone().ixor(d):d.clone().ixor(this)},l.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},l.prototype.inotn=function(d){o(typeof d=="number"&&d>=0);var v=Math.ceil(d/26)|0,w=d%26;this._expand(v),w>0&&v--;for(var c=0;c<v;c++)this.words[c]=~this.words[c]&67108863;return w>0&&(this.words[c]=~this.words[c]&67108863>>26-w),this.strip()},l.prototype.notn=function(d){return this.clone().inotn(d)},l.prototype.setn=function(d,v){o(typeof d=="number"&&d>=0);var w=d/26|0,c=d%26;return this._expand(w+1),v?this.words[w]=this.words[w]|1<<c:this.words[w]=this.words[w]&~(1<<c),this.strip()},l.prototype.iadd=function(d){var v;if(this.negative!==0&&d.negative===0)return this.negative=0,v=this.isub(d),this.negative^=1,this._normSign();if(this.negative===0&&d.negative!==0)return d.negative=0,v=this.isub(d),d.negative=1,v._normSign();var w,c;this.length>d.length?(w=this,c=d):(w=d,c=this);for(var p=0,x=0;x<c.length;x++)v=(w.words[x]|0)+(c.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;for(;p!==0&&x<w.length;x++)v=(w.words[x]|0)+p,this.words[x]=v&67108863,p=v>>>26;if(this.length=w.length,p!==0)this.words[this.length]=p,this.length++;else if(w!==this)for(;x<w.length;x++)this.words[x]=w.words[x];return this},l.prototype.add=function(d){var v;return d.negative!==0&&this.negative===0?(d.negative=0,v=this.sub(d),d.negative^=1,v):d.negative===0&&this.negative!==0?(this.negative=0,v=d.sub(this),this.negative=1,v):this.length>d.length?this.clone().iadd(d):d.clone().iadd(this)},l.prototype.isub=function(d){if(d.negative!==0){d.negative=0;var v=this.iadd(d);return d.negative=1,v._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var w=this.cmp(d);if(w===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,p;w>0?(c=this,p=d):(c=d,p=this);for(var x=0,S=0;S<p.length;S++)v=(c.words[S]|0)-(p.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;for(;x!==0&&S<c.length;S++)v=(c.words[S]|0)+x,x=v>>26,this.words[S]=v&67108863;if(x===0&&S<c.length&&c!==this)for(;S<c.length;S++)this.words[S]=c.words[S];return this.length=Math.max(this.length,S),c!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(d){return this.clone().isub(d)};function R(L,d,v){v.negative=d.negative^L.negative;var w=L.length+d.length|0;v.length=w,w=w-1|0;var c=L.words[0]|0,p=d.words[0]|0,x=c*p,S=x&67108863,b=x/67108864|0;v.words[0]=S;for(var h=1;h<w;h++){for(var T=b>>>26,M=b&67108863,j=Math.min(h,d.length-1),V=Math.max(0,h-L.length+1);V<=j;V++){var ee=h-V|0;c=L.words[ee]|0,p=d.words[V]|0,x=c*p+M,T+=x/67108864|0,M=x&67108863}v.words[h]=M|0,b=T|0}return b!==0?v.words[h]=b|0:v.length--,v.strip()}var B=function(d,v,w){var c=d.words,p=v.words,x=w.words,S=0,b,h,T,M=c[0]|0,j=M&8191,V=M>>>13,ee=c[1]|0,Z=ee&8191,U=ee>>>13,z=c[2]|0,ne=z&8191,fe=z>>>13,me=c[3]|0,de=me&8191,Oe=me>>>13,lt=c[4]|0,it=lt&8191,ot=lt>>>13,Ct=c[5]|0,nt=Ct&8191,Je=Ct>>>13,tt=c[6]|0,rt=tt&8191,ht=tt>>>13,jt=c[7]|0,Ve=jt&8191,We=jt>>>13,Gt=c[8]|0,wt=Gt&8191,Et=Gt>>>13,Yt=c[9]|0,Ce=Yt&8191,te=Yt>>>13,ye=p[0]|0,Le=ye&8191,Ue=ye>>>13,Qe=p[1]|0,Ke=Qe&8191,De=Qe>>>13,Vt=p[2]|0,At=Vt&8191,ve=Vt>>>13,Pt=p[3]|0,pt=Pt&8191,Ne=Pt>>>13,vt=p[4]|0,ut=vt&8191,$t=vt>>>13,fi=p[5]|0,kt=fi&8191,Wt=fi>>>13,Zi=p[6]|0,Ut=Zi&8191,Xt=Zi>>>13,Be=p[7]|0,be=Be&8191,ge=Be>>>13,oe=p[8]|0,Ae=oe&8191,qe=oe>>>13,bt=p[9]|0,at=bt&8191,gt=bt>>>13;w.negative=d.negative^v.negative,w.length=19,b=Math.imul(j,Le),h=Math.imul(j,Ue),h=h+Math.imul(V,Le)|0,T=Math.imul(V,Ue);var ei=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ei>>>26)|0,ei&=67108863,b=Math.imul(Z,Le),h=Math.imul(Z,Ue),h=h+Math.imul(U,Le)|0,T=Math.imul(U,Ue),b=b+Math.imul(j,Ke)|0,h=h+Math.imul(j,De)|0,h=h+Math.imul(V,Ke)|0,T=T+Math.imul(V,De)|0;var ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ii>>>26)|0,ii&=67108863,b=Math.imul(ne,Le),h=Math.imul(ne,Ue),h=h+Math.imul(fe,Le)|0,T=Math.imul(fe,Ue),b=b+Math.imul(Z,Ke)|0,h=h+Math.imul(Z,De)|0,h=h+Math.imul(U,Ke)|0,T=T+Math.imul(U,De)|0,b=b+Math.imul(j,At)|0,h=h+Math.imul(j,ve)|0,h=h+Math.imul(V,At)|0,T=T+Math.imul(V,ve)|0;var Bi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,b=Math.imul(de,Le),h=Math.imul(de,Ue),h=h+Math.imul(Oe,Le)|0,T=Math.imul(Oe,Ue),b=b+Math.imul(ne,Ke)|0,h=h+Math.imul(ne,De)|0,h=h+Math.imul(fe,Ke)|0,T=T+Math.imul(fe,De)|0,b=b+Math.imul(Z,At)|0,h=h+Math.imul(Z,ve)|0,h=h+Math.imul(U,At)|0,T=T+Math.imul(U,ve)|0,b=b+Math.imul(j,pt)|0,h=h+Math.imul(j,Ne)|0,h=h+Math.imul(V,pt)|0,T=T+Math.imul(V,Ne)|0;var hi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(hi>>>26)|0,hi&=67108863,b=Math.imul(it,Le),h=Math.imul(it,Ue),h=h+Math.imul(ot,Le)|0,T=Math.imul(ot,Ue),b=b+Math.imul(de,Ke)|0,h=h+Math.imul(de,De)|0,h=h+Math.imul(Oe,Ke)|0,T=T+Math.imul(Oe,De)|0,b=b+Math.imul(ne,At)|0,h=h+Math.imul(ne,ve)|0,h=h+Math.imul(fe,At)|0,T=T+Math.imul(fe,ve)|0,b=b+Math.imul(Z,pt)|0,h=h+Math.imul(Z,Ne)|0,h=h+Math.imul(U,pt)|0,T=T+Math.imul(U,Ne)|0,b=b+Math.imul(j,ut)|0,h=h+Math.imul(j,$t)|0,h=h+Math.imul(V,ut)|0,T=T+Math.imul(V,$t)|0;var Di=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Di>>>26)|0,Di&=67108863,b=Math.imul(nt,Le),h=Math.imul(nt,Ue),h=h+Math.imul(Je,Le)|0,T=Math.imul(Je,Ue),b=b+Math.imul(it,Ke)|0,h=h+Math.imul(it,De)|0,h=h+Math.imul(ot,Ke)|0,T=T+Math.imul(ot,De)|0,b=b+Math.imul(de,At)|0,h=h+Math.imul(de,ve)|0,h=h+Math.imul(Oe,At)|0,T=T+Math.imul(Oe,ve)|0,b=b+Math.imul(ne,pt)|0,h=h+Math.imul(ne,Ne)|0,h=h+Math.imul(fe,pt)|0,T=T+Math.imul(fe,Ne)|0,b=b+Math.imul(Z,ut)|0,h=h+Math.imul(Z,$t)|0,h=h+Math.imul(U,ut)|0,T=T+Math.imul(U,$t)|0,b=b+Math.imul(j,kt)|0,h=h+Math.imul(j,Wt)|0,h=h+Math.imul(V,kt)|0,T=T+Math.imul(V,Wt)|0;var ni=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ni>>>26)|0,ni&=67108863,b=Math.imul(rt,Le),h=Math.imul(rt,Ue),h=h+Math.imul(ht,Le)|0,T=Math.imul(ht,Ue),b=b+Math.imul(nt,Ke)|0,h=h+Math.imul(nt,De)|0,h=h+Math.imul(Je,Ke)|0,T=T+Math.imul(Je,De)|0,b=b+Math.imul(it,At)|0,h=h+Math.imul(it,ve)|0,h=h+Math.imul(ot,At)|0,T=T+Math.imul(ot,ve)|0,b=b+Math.imul(de,pt)|0,h=h+Math.imul(de,Ne)|0,h=h+Math.imul(Oe,pt)|0,T=T+Math.imul(Oe,Ne)|0,b=b+Math.imul(ne,ut)|0,h=h+Math.imul(ne,$t)|0,h=h+Math.imul(fe,ut)|0,T=T+Math.imul(fe,$t)|0,b=b+Math.imul(Z,kt)|0,h=h+Math.imul(Z,Wt)|0,h=h+Math.imul(U,kt)|0,T=T+Math.imul(U,Wt)|0,b=b+Math.imul(j,Ut)|0,h=h+Math.imul(j,Xt)|0,h=h+Math.imul(V,Ut)|0,T=T+Math.imul(V,Xt)|0;var pi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(pi>>>26)|0,pi&=67108863,b=Math.imul(Ve,Le),h=Math.imul(Ve,Ue),h=h+Math.imul(We,Le)|0,T=Math.imul(We,Ue),b=b+Math.imul(rt,Ke)|0,h=h+Math.imul(rt,De)|0,h=h+Math.imul(ht,Ke)|0,T=T+Math.imul(ht,De)|0,b=b+Math.imul(nt,At)|0,h=h+Math.imul(nt,ve)|0,h=h+Math.imul(Je,At)|0,T=T+Math.imul(Je,ve)|0,b=b+Math.imul(it,pt)|0,h=h+Math.imul(it,Ne)|0,h=h+Math.imul(ot,pt)|0,T=T+Math.imul(ot,Ne)|0,b=b+Math.imul(de,ut)|0,h=h+Math.imul(de,$t)|0,h=h+Math.imul(Oe,ut)|0,T=T+Math.imul(Oe,$t)|0,b=b+Math.imul(ne,kt)|0,h=h+Math.imul(ne,Wt)|0,h=h+Math.imul(fe,kt)|0,T=T+Math.imul(fe,Wt)|0,b=b+Math.imul(Z,Ut)|0,h=h+Math.imul(Z,Xt)|0,h=h+Math.imul(U,Ut)|0,T=T+Math.imul(U,Xt)|0,b=b+Math.imul(j,be)|0,h=h+Math.imul(j,ge)|0,h=h+Math.imul(V,be)|0,T=T+Math.imul(V,ge)|0;var Ii=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ii>>>26)|0,Ii&=67108863,b=Math.imul(wt,Le),h=Math.imul(wt,Ue),h=h+Math.imul(Et,Le)|0,T=Math.imul(Et,Ue),b=b+Math.imul(Ve,Ke)|0,h=h+Math.imul(Ve,De)|0,h=h+Math.imul(We,Ke)|0,T=T+Math.imul(We,De)|0,b=b+Math.imul(rt,At)|0,h=h+Math.imul(rt,ve)|0,h=h+Math.imul(ht,At)|0,T=T+Math.imul(ht,ve)|0,b=b+Math.imul(nt,pt)|0,h=h+Math.imul(nt,Ne)|0,h=h+Math.imul(Je,pt)|0,T=T+Math.imul(Je,Ne)|0,b=b+Math.imul(it,ut)|0,h=h+Math.imul(it,$t)|0,h=h+Math.imul(ot,ut)|0,T=T+Math.imul(ot,$t)|0,b=b+Math.imul(de,kt)|0,h=h+Math.imul(de,Wt)|0,h=h+Math.imul(Oe,kt)|0,T=T+Math.imul(Oe,Wt)|0,b=b+Math.imul(ne,Ut)|0,h=h+Math.imul(ne,Xt)|0,h=h+Math.imul(fe,Ut)|0,T=T+Math.imul(fe,Xt)|0,b=b+Math.imul(Z,be)|0,h=h+Math.imul(Z,ge)|0,h=h+Math.imul(U,be)|0,T=T+Math.imul(U,ge)|0,b=b+Math.imul(j,Ae)|0,h=h+Math.imul(j,qe)|0,h=h+Math.imul(V,Ae)|0,T=T+Math.imul(V,qe)|0;var Ci=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,b=Math.imul(Ce,Le),h=Math.imul(Ce,Ue),h=h+Math.imul(te,Le)|0,T=Math.imul(te,Ue),b=b+Math.imul(wt,Ke)|0,h=h+Math.imul(wt,De)|0,h=h+Math.imul(Et,Ke)|0,T=T+Math.imul(Et,De)|0,b=b+Math.imul(Ve,At)|0,h=h+Math.imul(Ve,ve)|0,h=h+Math.imul(We,At)|0,T=T+Math.imul(We,ve)|0,b=b+Math.imul(rt,pt)|0,h=h+Math.imul(rt,Ne)|0,h=h+Math.imul(ht,pt)|0,T=T+Math.imul(ht,Ne)|0,b=b+Math.imul(nt,ut)|0,h=h+Math.imul(nt,$t)|0,h=h+Math.imul(Je,ut)|0,T=T+Math.imul(Je,$t)|0,b=b+Math.imul(it,kt)|0,h=h+Math.imul(it,Wt)|0,h=h+Math.imul(ot,kt)|0,T=T+Math.imul(ot,Wt)|0,b=b+Math.imul(de,Ut)|0,h=h+Math.imul(de,Xt)|0,h=h+Math.imul(Oe,Ut)|0,T=T+Math.imul(Oe,Xt)|0,b=b+Math.imul(ne,be)|0,h=h+Math.imul(ne,ge)|0,h=h+Math.imul(fe,be)|0,T=T+Math.imul(fe,ge)|0,b=b+Math.imul(Z,Ae)|0,h=h+Math.imul(Z,qe)|0,h=h+Math.imul(U,Ae)|0,T=T+Math.imul(U,qe)|0,b=b+Math.imul(j,at)|0,h=h+Math.imul(j,gt)|0,h=h+Math.imul(V,at)|0,T=T+Math.imul(V,gt)|0;var zi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zi>>>26)|0,zi&=67108863,b=Math.imul(Ce,Ke),h=Math.imul(Ce,De),h=h+Math.imul(te,Ke)|0,T=Math.imul(te,De),b=b+Math.imul(wt,At)|0,h=h+Math.imul(wt,ve)|0,h=h+Math.imul(Et,At)|0,T=T+Math.imul(Et,ve)|0,b=b+Math.imul(Ve,pt)|0,h=h+Math.imul(Ve,Ne)|0,h=h+Math.imul(We,pt)|0,T=T+Math.imul(We,Ne)|0,b=b+Math.imul(rt,ut)|0,h=h+Math.imul(rt,$t)|0,h=h+Math.imul(ht,ut)|0,T=T+Math.imul(ht,$t)|0,b=b+Math.imul(nt,kt)|0,h=h+Math.imul(nt,Wt)|0,h=h+Math.imul(Je,kt)|0,T=T+Math.imul(Je,Wt)|0,b=b+Math.imul(it,Ut)|0,h=h+Math.imul(it,Xt)|0,h=h+Math.imul(ot,Ut)|0,T=T+Math.imul(ot,Xt)|0,b=b+Math.imul(de,be)|0,h=h+Math.imul(de,ge)|0,h=h+Math.imul(Oe,be)|0,T=T+Math.imul(Oe,ge)|0,b=b+Math.imul(ne,Ae)|0,h=h+Math.imul(ne,qe)|0,h=h+Math.imul(fe,Ae)|0,T=T+Math.imul(fe,qe)|0,b=b+Math.imul(Z,at)|0,h=h+Math.imul(Z,gt)|0,h=h+Math.imul(U,at)|0,T=T+Math.imul(U,gt)|0;var qi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(qi>>>26)|0,qi&=67108863,b=Math.imul(Ce,At),h=Math.imul(Ce,ve),h=h+Math.imul(te,At)|0,T=Math.imul(te,ve),b=b+Math.imul(wt,pt)|0,h=h+Math.imul(wt,Ne)|0,h=h+Math.imul(Et,pt)|0,T=T+Math.imul(Et,Ne)|0,b=b+Math.imul(Ve,ut)|0,h=h+Math.imul(Ve,$t)|0,h=h+Math.imul(We,ut)|0,T=T+Math.imul(We,$t)|0,b=b+Math.imul(rt,kt)|0,h=h+Math.imul(rt,Wt)|0,h=h+Math.imul(ht,kt)|0,T=T+Math.imul(ht,Wt)|0,b=b+Math.imul(nt,Ut)|0,h=h+Math.imul(nt,Xt)|0,h=h+Math.imul(Je,Ut)|0,T=T+Math.imul(Je,Xt)|0,b=b+Math.imul(it,be)|0,h=h+Math.imul(it,ge)|0,h=h+Math.imul(ot,be)|0,T=T+Math.imul(ot,ge)|0,b=b+Math.imul(de,Ae)|0,h=h+Math.imul(de,qe)|0,h=h+Math.imul(Oe,Ae)|0,T=T+Math.imul(Oe,qe)|0,b=b+Math.imul(ne,at)|0,h=h+Math.imul(ne,gt)|0,h=h+Math.imul(fe,at)|0,T=T+Math.imul(fe,gt)|0;var Ai=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,b=Math.imul(Ce,pt),h=Math.imul(Ce,Ne),h=h+Math.imul(te,pt)|0,T=Math.imul(te,Ne),b=b+Math.imul(wt,ut)|0,h=h+Math.imul(wt,$t)|0,h=h+Math.imul(Et,ut)|0,T=T+Math.imul(Et,$t)|0,b=b+Math.imul(Ve,kt)|0,h=h+Math.imul(Ve,Wt)|0,h=h+Math.imul(We,kt)|0,T=T+Math.imul(We,Wt)|0,b=b+Math.imul(rt,Ut)|0,h=h+Math.imul(rt,Xt)|0,h=h+Math.imul(ht,Ut)|0,T=T+Math.imul(ht,Xt)|0,b=b+Math.imul(nt,be)|0,h=h+Math.imul(nt,ge)|0,h=h+Math.imul(Je,be)|0,T=T+Math.imul(Je,ge)|0,b=b+Math.imul(it,Ae)|0,h=h+Math.imul(it,qe)|0,h=h+Math.imul(ot,Ae)|0,T=T+Math.imul(ot,qe)|0,b=b+Math.imul(de,at)|0,h=h+Math.imul(de,gt)|0,h=h+Math.imul(Oe,at)|0,T=T+Math.imul(Oe,gt)|0;var ji=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ji>>>26)|0,ji&=67108863,b=Math.imul(Ce,ut),h=Math.imul(Ce,$t),h=h+Math.imul(te,ut)|0,T=Math.imul(te,$t),b=b+Math.imul(wt,kt)|0,h=h+Math.imul(wt,Wt)|0,h=h+Math.imul(Et,kt)|0,T=T+Math.imul(Et,Wt)|0,b=b+Math.imul(Ve,Ut)|0,h=h+Math.imul(Ve,Xt)|0,h=h+Math.imul(We,Ut)|0,T=T+Math.imul(We,Xt)|0,b=b+Math.imul(rt,be)|0,h=h+Math.imul(rt,ge)|0,h=h+Math.imul(ht,be)|0,T=T+Math.imul(ht,ge)|0,b=b+Math.imul(nt,Ae)|0,h=h+Math.imul(nt,qe)|0,h=h+Math.imul(Je,Ae)|0,T=T+Math.imul(Je,qe)|0,b=b+Math.imul(it,at)|0,h=h+Math.imul(it,gt)|0,h=h+Math.imul(ot,at)|0,T=T+Math.imul(ot,gt)|0;var ki=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(ki>>>26)|0,ki&=67108863,b=Math.imul(Ce,kt),h=Math.imul(Ce,Wt),h=h+Math.imul(te,kt)|0,T=Math.imul(te,Wt),b=b+Math.imul(wt,Ut)|0,h=h+Math.imul(wt,Xt)|0,h=h+Math.imul(Et,Ut)|0,T=T+Math.imul(Et,Xt)|0,b=b+Math.imul(Ve,be)|0,h=h+Math.imul(Ve,ge)|0,h=h+Math.imul(We,be)|0,T=T+Math.imul(We,ge)|0,b=b+Math.imul(rt,Ae)|0,h=h+Math.imul(rt,qe)|0,h=h+Math.imul(ht,Ae)|0,T=T+Math.imul(ht,qe)|0,b=b+Math.imul(nt,at)|0,h=h+Math.imul(nt,gt)|0,h=h+Math.imul(Je,at)|0,T=T+Math.imul(Je,gt)|0;var Ti=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,b=Math.imul(Ce,Ut),h=Math.imul(Ce,Xt),h=h+Math.imul(te,Ut)|0,T=Math.imul(te,Xt),b=b+Math.imul(wt,be)|0,h=h+Math.imul(wt,ge)|0,h=h+Math.imul(Et,be)|0,T=T+Math.imul(Et,ge)|0,b=b+Math.imul(Ve,Ae)|0,h=h+Math.imul(Ve,qe)|0,h=h+Math.imul(We,Ae)|0,T=T+Math.imul(We,qe)|0,b=b+Math.imul(rt,at)|0,h=h+Math.imul(rt,gt)|0,h=h+Math.imul(ht,at)|0,T=T+Math.imul(ht,gt)|0;var wi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(wi>>>26)|0,wi&=67108863,b=Math.imul(Ce,be),h=Math.imul(Ce,ge),h=h+Math.imul(te,be)|0,T=Math.imul(te,ge),b=b+Math.imul(wt,Ae)|0,h=h+Math.imul(wt,qe)|0,h=h+Math.imul(Et,Ae)|0,T=T+Math.imul(Et,qe)|0,b=b+Math.imul(Ve,at)|0,h=h+Math.imul(Ve,gt)|0,h=h+Math.imul(We,at)|0,T=T+Math.imul(We,gt)|0;var oi=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(oi>>>26)|0,oi&=67108863,b=Math.imul(Ce,Ae),h=Math.imul(Ce,qe),h=h+Math.imul(te,Ae)|0,T=Math.imul(te,qe),b=b+Math.imul(wt,at)|0,h=h+Math.imul(wt,gt)|0,h=h+Math.imul(Et,at)|0,T=T+Math.imul(Et,gt)|0;var zt=(S+b|0)+((h&8191)<<13)|0;S=(T+(h>>>13)|0)+(zt>>>26)|0,zt&=67108863,b=Math.imul(Ce,at),h=Math.imul(Ce,gt),h=h+Math.imul(te,at)|0,T=Math.imul(te,gt);var Qt=(S+b|0)+((h&8191)<<13)|0;return S=(T+(h>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,x[0]=ei,x[1]=ii,x[2]=Bi,x[3]=hi,x[4]=Di,x[5]=ni,x[6]=pi,x[7]=Ii,x[8]=Ci,x[9]=zi,x[10]=qi,x[11]=Ai,x[12]=ji,x[13]=ki,x[14]=Ti,x[15]=wi,x[16]=oi,x[17]=zt,x[18]=Qt,S!==0&&(x[19]=S,w.length++),w};Math.imul||(B=R);function F(L,d,v){v.negative=d.negative^L.negative,v.length=L.length+d.length;for(var w=0,c=0,p=0;p<v.length-1;p++){var x=c;c=0;for(var S=w&67108863,b=Math.min(p,d.length-1),h=Math.max(0,p-L.length+1);h<=b;h++){var T=p-h,M=L.words[T]|0,j=d.words[h]|0,V=M*j,ee=V&67108863;x=x+(V/67108864|0)|0,ee=ee+S|0,S=ee&67108863,x=x+(ee>>>26)|0,c+=x>>>26,x&=67108863}v.words[p]=S,w=x,x=c}return w!==0?v.words[p]=w:v.length--,v.strip()}function O(L,d,v){var w=new N;return w.mulp(L,d,v)}l.prototype.mulTo=function(d,v){var w,c=this.length+d.length;return this.length===10&&d.length===10?w=B(this,d,v):c<63?w=R(this,d,v):c<1024?w=F(this,d,v):w=O(this,d,v),w};function N(L,d){this.x=L,this.y=d}N.prototype.makeRBT=function(d){for(var v=new Array(d),w=l.prototype._countBits(d)-1,c=0;c<d;c++)v[c]=this.revBin(c,w,d);return v},N.prototype.revBin=function(d,v,w){if(d===0||d===w-1)return d;for(var c=0,p=0;p<v;p++)c|=(d&1)<<v-p-1,d>>=1;return c},N.prototype.permute=function(d,v,w,c,p,x){for(var S=0;S<x;S++)c[S]=v[d[S]],p[S]=w[d[S]]},N.prototype.transform=function(d,v,w,c,p,x){this.permute(x,d,v,w,c,p);for(var S=1;S<p;S<<=1)for(var b=S<<1,h=Math.cos(2*Math.PI/b),T=Math.sin(2*Math.PI/b),M=0;M<p;M+=b)for(var j=h,V=T,ee=0;ee<S;ee++){var Z=w[M+ee],U=c[M+ee],z=w[M+ee+S],ne=c[M+ee+S],fe=j*z-V*ne;ne=j*ne+V*z,z=fe,w[M+ee]=Z+z,c[M+ee]=U+ne,w[M+ee+S]=Z-z,c[M+ee+S]=U-ne,ee!==b&&(fe=h*j-T*V,V=h*V+T*j,j=fe)}},N.prototype.guessLen13b=function(d,v){var w=Math.max(v,d)|1,c=w&1,p=0;for(w=w/2|0;w;w=w>>>1)p++;return 1<<p+1+c},N.prototype.conjugate=function(d,v,w){if(!(w<=1))for(var c=0;c<w/2;c++){var p=d[c];d[c]=d[w-c-1],d[w-c-1]=p,p=v[c],v[c]=-v[w-c-1],v[w-c-1]=-p}},N.prototype.normalize13b=function(d,v){for(var w=0,c=0;c<v/2;c++){var p=Math.round(d[2*c+1]/v)*8192+Math.round(d[2*c]/v)+w;d[c]=p&67108863,p<67108864?w=0:w=p/67108864|0}return d},N.prototype.convert13b=function(d,v,w,c){for(var p=0,x=0;x<v;x++)p=p+(d[x]|0),w[2*x]=p&8191,p=p>>>13,w[2*x+1]=p&8191,p=p>>>13;for(x=2*v;x<c;++x)w[x]=0;o(p===0),o((p&-8192)===0)},N.prototype.stub=function(d){for(var v=new Array(d),w=0;w<d;w++)v[w]=0;return v},N.prototype.mulp=function(d,v,w){var c=2*this.guessLen13b(d.length,v.length),p=this.makeRBT(c),x=this.stub(c),S=new Array(c),b=new Array(c),h=new Array(c),T=new Array(c),M=new Array(c),j=new Array(c),V=w.words;V.length=c,this.convert13b(d.words,d.length,S,c),this.convert13b(v.words,v.length,T,c),this.transform(S,x,b,h,c,p),this.transform(T,x,M,j,c,p);for(var ee=0;ee<c;ee++){var Z=b[ee]*M[ee]-h[ee]*j[ee];h[ee]=b[ee]*j[ee]+h[ee]*M[ee],b[ee]=Z}return this.conjugate(b,h,c),this.transform(b,h,V,x,c,p),this.conjugate(V,x,c),this.normalize13b(V,c),w.negative=d.negative^v.negative,w.length=d.length+v.length,w.strip()},l.prototype.mul=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),this.mulTo(d,v)},l.prototype.mulf=function(d){var v=new l(null);return v.words=new Array(this.length+d.length),O(this,d,v)},l.prototype.imul=function(d){return this.clone().mulTo(d,this)},l.prototype.imuln=function(d){o(typeof d=="number"),o(d<67108864);for(var v=0,w=0;w<this.length;w++){var c=(this.words[w]|0)*d,p=(c&67108863)+(v&67108863);v>>=26,v+=c/67108864|0,v+=p>>>26,this.words[w]=p&67108863}return v!==0&&(this.words[w]=v,this.length++),this},l.prototype.muln=function(d){return this.clone().imuln(d)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(d){var v=P(d);if(v.length===0)return new l(1);for(var w=this,c=0;c<v.length&&v[c]===0;c++,w=w.sqr());if(++c<v.length)for(var p=w.sqr();c<v.length;c++,p=p.sqr())v[c]!==0&&(w=w.mul(p));return w},l.prototype.iushln=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=67108863>>>26-v<<26-v,p;if(v!==0){var x=0;for(p=0;p<this.length;p++){var S=this.words[p]&c,b=(this.words[p]|0)-S<<v;this.words[p]=b|x,x=S>>>26-v}x&&(this.words[p]=x,this.length++)}if(w!==0){for(p=this.length-1;p>=0;p--)this.words[p+w]=this.words[p];for(p=0;p<w;p++)this.words[p]=0;this.length+=w}return this.strip()},l.prototype.ishln=function(d){return o(this.negative===0),this.iushln(d)},l.prototype.iushrn=function(d,v,w){o(typeof d=="number"&&d>=0);var c;v?c=(v-v%26)/26:c=0;var p=d%26,x=Math.min((d-p)/26,this.length),S=67108863^67108863>>>p<<p,b=w;if(c-=x,c=Math.max(0,c),b){for(var h=0;h<x;h++)b.words[h]=this.words[h];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,h=0;h<this.length;h++)this.words[h]=this.words[h+x];else this.words[0]=0,this.length=1;var T=0;for(h=this.length-1;h>=0&&(T!==0||h>=c);h--){var M=this.words[h]|0;this.words[h]=T<<26-p|M>>>p,T=M&S}return b&&T!==0&&(b.words[b.length++]=T),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(d,v,w){return o(this.negative===0),this.iushrn(d,v,w)},l.prototype.shln=function(d){return this.clone().ishln(d)},l.prototype.ushln=function(d){return this.clone().iushln(d)},l.prototype.shrn=function(d){return this.clone().ishrn(d)},l.prototype.ushrn=function(d){return this.clone().iushrn(d)},l.prototype.testn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return!1;var p=this.words[w];return!!(p&c)},l.prototype.imaskn=function(d){o(typeof d=="number"&&d>=0);var v=d%26,w=(d-v)/26;if(o(this.negative===0,"imaskn works only with positive numbers"),this.length<=w)return this;if(v!==0&&w++,this.length=Math.min(w,this.length),v!==0){var c=67108863^67108863>>>v<<v;this.words[this.length-1]&=c}return this.strip()},l.prototype.maskn=function(d){return this.clone().imaskn(d)},l.prototype.iaddn=function(d){return o(typeof d=="number"),o(d<67108864),d<0?this.isubn(-d):this.negative!==0?this.length===1&&(this.words[0]|0)<d?(this.words[0]=d-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(d),this.negative=1,this):this._iaddn(d)},l.prototype._iaddn=function(d){this.words[0]+=d;for(var v=0;v<this.length&&this.words[v]>=67108864;v++)this.words[v]-=67108864,v===this.length-1?this.words[v+1]=1:this.words[v+1]++;return this.length=Math.max(this.length,v+1),this},l.prototype.isubn=function(d){if(o(typeof d=="number"),o(d<67108864),d<0)return this.iaddn(-d);if(this.negative!==0)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var v=0;v<this.length&&this.words[v]<0;v++)this.words[v]+=67108864,this.words[v+1]-=1;return this.strip()},l.prototype.addn=function(d){return this.clone().iaddn(d)},l.prototype.subn=function(d){return this.clone().isubn(d)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(d,v,w){var c=d.length+w,p;this._expand(c);var x,S=0;for(p=0;p<d.length;p++){x=(this.words[p+w]|0)+S;var b=(d.words[p]|0)*v;x-=b&67108863,S=(x>>26)-(b/67108864|0),this.words[p+w]=x&67108863}for(;p<this.length-w;p++)x=(this.words[p+w]|0)+S,S=x>>26,this.words[p+w]=x&67108863;if(S===0)return this.strip();for(o(S===-1),S=0,p=0;p<this.length;p++)x=-(this.words[p]|0)+S,S=x>>26,this.words[p]=x&67108863;return this.negative=1,this.strip()},l.prototype._wordDiv=function(d,v){var w=this.length-d.length,c=this.clone(),p=d,x=p.words[p.length-1]|0,S=this._countBits(x);w=26-S,w!==0&&(p=p.ushln(w),c.iushln(w),x=p.words[p.length-1]|0);var b=c.length-p.length,h;if(v!=="mod"){h=new l(null),h.length=b+1,h.words=new Array(h.length);for(var T=0;T<h.length;T++)h.words[T]=0}var M=c.clone()._ishlnsubmul(p,1,b);M.negative===0&&(c=M,h&&(h.words[b]=1));for(var j=b-1;j>=0;j--){var V=(c.words[p.length+j]|0)*67108864+(c.words[p.length+j-1]|0);for(V=Math.min(V/x|0,67108863),c._ishlnsubmul(p,V,j);c.negative!==0;)V--,c.negative=0,c._ishlnsubmul(p,1,j),c.isZero()||(c.negative^=1);h&&(h.words[j]=V)}return h&&h.strip(),c.strip(),v!=="div"&&w!==0&&c.iushrn(w),{div:h||null,mod:c}},l.prototype.divmod=function(d,v,w){if(o(!d.isZero()),this.isZero())return{div:new l(0),mod:new l(0)};var c,p,x;return this.negative!==0&&d.negative===0?(x=this.neg().divmod(d,v),v!=="mod"&&(c=x.div.neg()),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.iadd(d)),{div:c,mod:p}):this.negative===0&&d.negative!==0?(x=this.divmod(d.neg(),v),v!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&d.negative?(x=this.neg().divmod(d.neg(),v),v!=="div"&&(p=x.mod.neg(),w&&p.negative!==0&&p.isub(d)),{div:x.div,mod:p}):d.length>this.length||this.cmp(d)<0?{div:new l(0),mod:this}:d.length===1?v==="div"?{div:this.divn(d.words[0]),mod:null}:v==="mod"?{div:null,mod:new l(this.modn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new l(this.modn(d.words[0]))}:this._wordDiv(d,v)},l.prototype.div=function(d){return this.divmod(d,"div",!1).div},l.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},l.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},l.prototype.divRound=function(d){var v=this.divmod(d);if(v.mod.isZero())return v.div;var w=v.div.negative!==0?v.mod.isub(d):v.mod,c=d.ushrn(1),p=d.andln(1),x=w.cmp(c);return x<0||p===1&&x===0?v.div:v.div.negative!==0?v.div.isubn(1):v.div.iaddn(1)},l.prototype.modn=function(d){o(d<=67108863);for(var v=(1<<26)%d,w=0,c=this.length-1;c>=0;c--)w=(v*w+(this.words[c]|0))%d;return w},l.prototype.idivn=function(d){o(d<=67108863);for(var v=0,w=this.length-1;w>=0;w--){var c=(this.words[w]|0)+v*67108864;this.words[w]=c/d|0,v=c%d}return this.strip()},l.prototype.divn=function(d){return this.clone().idivn(d)},l.prototype.egcd=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=new l(0),S=new l(1),b=0;v.isEven()&&w.isEven();)v.iushrn(1),w.iushrn(1),++b;for(var h=w.clone(),T=v.clone();!v.isZero();){for(var M=0,j=1;!(v.words[0]&j)&&M<26;++M,j<<=1);if(M>0)for(v.iushrn(M);M-- >0;)(c.isOdd()||p.isOdd())&&(c.iadd(h),p.isub(T)),c.iushrn(1),p.iushrn(1);for(var V=0,ee=1;!(w.words[0]&ee)&&V<26;++V,ee<<=1);if(V>0)for(w.iushrn(V);V-- >0;)(x.isOdd()||S.isOdd())&&(x.iadd(h),S.isub(T)),x.iushrn(1),S.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(x),p.isub(S)):(w.isub(v),x.isub(c),S.isub(p))}return{a:x,b:S,gcd:w.iushln(b)}},l.prototype._invmp=function(d){o(d.negative===0),o(!d.isZero());var v=this,w=d.clone();v.negative!==0?v=v.umod(d):v=v.clone();for(var c=new l(1),p=new l(0),x=w.clone();v.cmpn(1)>0&&w.cmpn(1)>0;){for(var S=0,b=1;!(v.words[0]&b)&&S<26;++S,b<<=1);if(S>0)for(v.iushrn(S);S-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var h=0,T=1;!(w.words[0]&T)&&h<26;++h,T<<=1);if(h>0)for(w.iushrn(h);h-- >0;)p.isOdd()&&p.iadd(x),p.iushrn(1);v.cmp(w)>=0?(v.isub(w),c.isub(p)):(w.isub(v),p.isub(c))}var M;return v.cmpn(1)===0?M=c:M=p,M.cmpn(0)<0&&M.iadd(d),M},l.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var v=this.clone(),w=d.clone();v.negative=0,w.negative=0;for(var c=0;v.isEven()&&w.isEven();c++)v.iushrn(1),w.iushrn(1);do{for(;v.isEven();)v.iushrn(1);for(;w.isEven();)w.iushrn(1);var p=v.cmp(w);if(p<0){var x=v;v=w,w=x}else if(p===0||w.cmpn(1)===0)break;v.isub(w)}while(!0);return w.iushln(c)},l.prototype.invm=function(d){return this.egcd(d).a.umod(d)},l.prototype.isEven=function(){return(this.words[0]&1)===0},l.prototype.isOdd=function(){return(this.words[0]&1)===1},l.prototype.andln=function(d){return this.words[0]&d},l.prototype.bincn=function(d){o(typeof d=="number");var v=d%26,w=(d-v)/26,c=1<<v;if(this.length<=w)return this._expand(w+1),this.words[w]|=c,this;for(var p=c,x=w;p!==0&&x<this.length;x++){var S=this.words[x]|0;S+=p,p=S>>>26,S&=67108863,this.words[x]=S}return p!==0&&(this.words[x]=p,this.length++),this},l.prototype.isZero=function(){return this.length===1&&this.words[0]===0},l.prototype.cmpn=function(d){var v=d<0;if(this.negative!==0&&!v)return-1;if(this.negative===0&&v)return 1;this.strip();var w;if(this.length>1)w=1;else{v&&(d=-d),o(d<=67108863,"Number is too big");var c=this.words[0]|0;w=c===d?0:c<d?-1:1}return this.negative!==0?-w|0:w},l.prototype.cmp=function(d){if(this.negative!==0&&d.negative===0)return-1;if(this.negative===0&&d.negative!==0)return 1;var v=this.ucmp(d);return this.negative!==0?-v|0:v},l.prototype.ucmp=function(d){if(this.length>d.length)return 1;if(this.length<d.length)return-1;for(var v=0,w=this.length-1;w>=0;w--){var c=this.words[w]|0,p=d.words[w]|0;if(c!==p){c<p?v=-1:c>p&&(v=1);break}}return v},l.prototype.gtn=function(d){return this.cmpn(d)===1},l.prototype.gt=function(d){return this.cmp(d)===1},l.prototype.gten=function(d){return this.cmpn(d)>=0},l.prototype.gte=function(d){return this.cmp(d)>=0},l.prototype.ltn=function(d){return this.cmpn(d)===-1},l.prototype.lt=function(d){return this.cmp(d)===-1},l.prototype.lten=function(d){return this.cmpn(d)<=0},l.prototype.lte=function(d){return this.cmp(d)<=0},l.prototype.eqn=function(d){return this.cmpn(d)===0},l.prototype.eq=function(d){return this.cmp(d)===0},l.red=function(d){return new he(d)},l.prototype.toRed=function(d){return o(!this.red,"Already a number in reduction context"),o(this.negative===0,"red works only with positives"),d.convertTo(this)._forceRed(d)},l.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(d){return this.red=d,this},l.prototype.forceRed=function(d){return o(!this.red,"Already a number in reduction context"),this._forceRed(d)},l.prototype.redAdd=function(d){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},l.prototype.redIAdd=function(d){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},l.prototype.redSub=function(d){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},l.prototype.redISub=function(d){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},l.prototype.redShl=function(d){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},l.prototype.redMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},l.prototype.redIMul=function(d){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},l.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(d){return o(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var Y={k256:null,p224:null,p192:null,p25519:null};function J(L,d){this.name=L,this.p=new l(d,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}J.prototype._tmp=function(){var d=new l(null);return d.words=new Array(Math.ceil(this.n/13)),d},J.prototype.ireduce=function(d){var v=d,w;do this.split(v,this.tmp),v=this.imulK(v),v=v.iadd(this.tmp),w=v.bitLength();while(w>this.n);var c=w<this.n?-1:v.ucmp(this.p);return c===0?(v.words[0]=0,v.length=1):c>0?v.isub(this.p):v.strip!==void 0?v.strip():v._strip(),v},J.prototype.split=function(d,v){d.iushrn(this.n,0,v)},J.prototype.imulK=function(d){return d.imul(this.k)};function ie(){J.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(ie,J),ie.prototype.split=function(d,v){for(var w=4194303,c=Math.min(d.length,9),p=0;p<c;p++)v.words[p]=d.words[p];if(v.length=c,d.length<=9){d.words[0]=0,d.length=1;return}var x=d.words[9];for(v.words[v.length++]=x&w,p=10;p<d.length;p++){var S=d.words[p]|0;d.words[p-10]=(S&w)<<4|x>>>22,x=S}x>>>=22,d.words[p-10]=x,x===0&&d.length>10?d.length-=10:d.length-=9},ie.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var v=0,w=0;w<d.length;w++){var c=d.words[w]|0;v+=c*977,d.words[w]=v&67108863,v=c*64+(v/67108864|0)}return d.words[d.length-1]===0&&(d.length--,d.words[d.length-1]===0&&d.length--),d};function ue(){J.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(ue,J);function Q(){J.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(Q,J);function ce(){J.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ce,J),ce.prototype.imulK=function(d){for(var v=0,w=0;w<d.length;w++){var c=(d.words[w]|0)*19+v,p=c&67108863;c>>>=26,d.words[w]=p,v=c}return v!==0&&(d.words[d.length++]=v),d},l._prime=function(d){if(Y[d])return Y[d];var v;if(d==="k256")v=new ie;else if(d==="p224")v=new ue;else if(d==="p192")v=new Q;else if(d==="p25519")v=new ce;else throw new Error("Unknown prime "+d);return Y[d]=v,v};function he(L){if(typeof L=="string"){var d=l._prime(L);this.m=d.p,this.prime=d}else o(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(d){o(d.negative===0,"red works only with positives"),o(d.red,"red works only with red numbers")},he.prototype._verify2=function(d,v){o((d.negative|v.negative)===0,"red works only with positives"),o(d.red&&d.red===v.red,"red works only with red numbers")},he.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):d.umod(this.m)._forceRed(this)},he.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},he.prototype.add=function(d,v){this._verify2(d,v);var w=d.add(v);return w.cmp(this.m)>=0&&w.isub(this.m),w._forceRed(this)},he.prototype.iadd=function(d,v){this._verify2(d,v);var w=d.iadd(v);return w.cmp(this.m)>=0&&w.isub(this.m),w},he.prototype.sub=function(d,v){this._verify2(d,v);var w=d.sub(v);return w.cmpn(0)<0&&w.iadd(this.m),w._forceRed(this)},he.prototype.isub=function(d,v){this._verify2(d,v);var w=d.isub(v);return w.cmpn(0)<0&&w.iadd(this.m),w},he.prototype.shl=function(d,v){return this._verify1(d),this.imod(d.ushln(v))},he.prototype.imul=function(d,v){return this._verify2(d,v),this.imod(d.imul(v))},he.prototype.mul=function(d,v){return this._verify2(d,v),this.imod(d.mul(v))},he.prototype.isqr=function(d){return this.imul(d,d.clone())},he.prototype.sqr=function(d){return this.mul(d,d)},he.prototype.sqrt=function(d){if(d.isZero())return d.clone();var v=this.m.andln(3);if(o(v%2===1),v===3){var w=this.m.add(new l(1)).iushrn(2);return this.pow(d,w)}for(var c=this.m.subn(1),p=0;!c.isZero()&&c.andln(1)===0;)p++,c.iushrn(1);o(!c.isZero());var x=new l(1).toRed(this),S=x.redNeg(),b=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new l(2*h*h).toRed(this);this.pow(h,b).cmp(S)!==0;)h.redIAdd(S);for(var T=this.pow(h,c),M=this.pow(d,c.addn(1).iushrn(1)),j=this.pow(d,c),V=p;j.cmp(x)!==0;){for(var ee=j,Z=0;ee.cmp(x)!==0;Z++)ee=ee.redSqr();o(Z<V);var U=this.pow(T,new l(1).iushln(V-Z-1));M=M.redMul(U),T=U.redSqr(),j=j.redMul(T),V=Z}return M},he.prototype.invm=function(d){var v=d._invmp(this.m);return v.negative!==0?(v.negative=0,this.imod(v).redNeg()):this.imod(v)},he.prototype.pow=function(d,v){if(v.isZero())return new l(1).toRed(this);if(v.cmpn(1)===0)return d.clone();var w=4,c=new Array(1<<w);c[0]=new l(1).toRed(this),c[1]=d;for(var p=2;p<c.length;p++)c[p]=this.mul(c[p-1],d);var x=c[0],S=0,b=0,h=v.bitLength()%26;for(h===0&&(h=26),p=v.length-1;p>=0;p--){for(var T=v.words[p],M=h-1;M>=0;M--){var j=T>>M&1;if(x!==c[0]&&(x=this.sqr(x)),j===0&&S===0){b=0;continue}S<<=1,S|=j,b++,!(b!==w&&(p!==0||M!==0))&&(x=this.mul(x,c[S]),b=0,S=0)}h=26}return x},he.prototype.convertTo=function(d){var v=d.umod(this.m);return v===d?v.clone():v},he.prototype.convertFrom=function(d){var v=d.clone();return v.red=null,v},l.mont=function(d){return new ke(d)};function ke(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(ke,he),ke.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},ke.prototype.convertFrom=function(d){var v=this.imod(d.mul(this.rinv));return v.red=null,v},ke.prototype.imul=function(d,v){if(d.isZero()||v.isZero())return d.words[0]=0,d.length=1,d;var w=d.imul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.mul=function(d,v){if(d.isZero()||v.isZero())return new l(0)._forceRed(this);var w=d.mul(v),c=w.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=w.isub(c).iushrn(this.shift),x=p;return p.cmp(this.m)>=0?x=p.isub(this.m):p.cmpn(0)<0&&(x=p.iadd(this.m)),x._forceRed(this)},ke.prototype.invm=function(d){var v=this.imod(d._invmp(this.m).mul(this.r2));return v._forceRed(this)}})(t,commonjsGlobal$1)}(bn);var bnExports=bn.exports,BN$2=bnExports,Buffer$4=safeBufferExports$1.Buffer;function withPublic$2(t,e){return Buffer$4.from(t.toRed(BN$2.mont(e.modulus)).redPow(new BN$2(e.publicExponent)).fromRed().toArray())}var withPublic_1=withPublic$2,parseKeys$1=parseAsn1,randomBytes=browserExports,createHash$1=browser$b,mgf$1=mgf$2,xor$1=xor$2,BN$1=bnExports,withPublic$1=withPublic_1,crt$1=browserifyRsa,Buffer$3=safeBufferExports$1.Buffer,publicEncrypt=function t(e,n,o){var u;e.padding?u=e.padding:o?u=1:u=4;var l=parseKeys$1(e),m;if(u===4)m=oaep$1(l,n);else if(u===1)m=pkcs1$2(l,n,o);else if(u===3){if(m=new BN$1(n),m.cmp(l.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return o?crt$1(m,l):withPublic$1(m,l)};function oaep$1(t,e){var n=t.modulus.byteLength(),o=e.length,u=createHash$1("sha1").update(Buffer$3.alloc(0)).digest(),l=u.length,m=2*l;if(o>n-m-2)throw new Error("message too long");var y=Buffer$3.alloc(n-o-m-2),E=n-l-1,C=randomBytes(l),k=xor$1(Buffer$3.concat([u,y,Buffer$3.alloc(1,1),e],E),mgf$1(C,E)),A=xor$1(C,mgf$1(k,l));return new BN$1(Buffer$3.concat([Buffer$3.alloc(1),A,k],n))}function pkcs1$2(t,e,n){var o=e.length,u=t.modulus.byteLength();if(o>u-11)throw new Error("message too long");var l;return n?l=Buffer$3.alloc(u-o-3,255):l=nonZero(u-o-3),new BN$1(Buffer$3.concat([Buffer$3.from([0,n?1:2]),l,Buffer$3.alloc(1),e],u))}function nonZero(t){for(var e=Buffer$3.allocUnsafe(t),n=0,o=randomBytes(t*2),u=0,l;n<t;)u===o.length&&(o=randomBytes(t*2),u=0),l=o[u++],l&&(e[n++]=l);return e}var parseKeys=parseAsn1,mgf=mgf$2,xor=xor$2,BN=bnExports,crt=browserifyRsa,createHash=browser$b,withPublic=withPublic_1,Buffer$2=safeBufferExports$1.Buffer,privateDecrypt=function t(e,n,o){var u;e.padding?u=e.padding:o?u=1:u=4;var l=parseKeys(e),m=l.modulus.byteLength();if(n.length>m||new BN(n).cmp(l.modulus)>=0)throw new Error("decryption error");var y;o?y=withPublic(new BN(n),l):y=crt(n,l);var E=Buffer$2.alloc(m-y.length);if(y=Buffer$2.concat([E,y],m),u===4)return oaep(l,y);if(u===1)return pkcs1$1(l,y,o);if(u===3)return y;throw new Error("unknown padding")};function oaep(t,e){var n=t.modulus.byteLength(),o=createHash("sha1").update(Buffer$2.alloc(0)).digest(),u=o.length;if(e[0]!==0)throw new Error("decryption error");var l=e.slice(1,u+1),m=e.slice(u+1),y=xor(l,mgf(m,u)),E=xor(m,mgf(y,n-u-1));if(compare(o,E.slice(0,u)))throw new Error("decryption error");for(var C=u;E[C]===0;)C++;if(E[C++]!==1)throw new Error("decryption error");return E.slice(C)}function pkcs1$1(t,e,n){for(var o=e.slice(0,2),u=2,l=0;e[u++]!==0;)if(u>=e.length){l++;break}var m=e.slice(2,u-1);if((o.toString("hex")!=="0002"&&!n||o.toString("hex")!=="0001"&&n)&&l++,m.length<8&&l++,l)throw new Error("decryption error");return e.slice(u)}function compare(t,e){t=Buffer$2.from(t),e=Buffer$2.from(e);var n=0,o=t.length;t.length!==e.length&&(n++,o=Math.min(t.length,e.length));for(var u=-1;++u<o;)n+=t[u]^e[u];return n}(function(t){t.publicEncrypt=publicEncrypt,t.privateDecrypt=privateDecrypt,t.privateEncrypt=function(n,o){return t.publicEncrypt(n,o,!0)},t.publicDecrypt=function(n,o){return t.privateDecrypt(n,o,!0)}})(browser$3);var browser$2={};function oldBrowser(){throw new Error(`secure random number generation not supported by this browser
-use chrome, FireFox or Internet Explorer 11`)}var safeBuffer=safeBufferExports$1,randombytes=browserExports,Buffer$1=safeBuffer.Buffer,kBufferMaxLength=safeBuffer.kMaxLength,crypto$2=commonjsGlobal$1.crypto||commonjsGlobal$1.msCrypto,kMaxUint32=Math.pow(2,32)-1;function assertOffset(t,e){if(typeof t!="number"||t!==t)throw new TypeError("offset must be a number");if(t>kMaxUint32||t<0)throw new TypeError("offset must be a uint32");if(t>kBufferMaxLength||t>e)throw new RangeError("offset out of range")}function assertSize(t,e,n){if(typeof t!="number"||t!==t)throw new TypeError("size must be a number");if(t>kMaxUint32||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>kBufferMaxLength)throw new RangeError("buffer too small")}crypto$2&&crypto$2.getRandomValues||!process$1.browser?(browser$2.randomFill=randomFill,browser$2.randomFillSync=randomFillSync):(browser$2.randomFill=oldBrowser,browser$2.randomFillSync=oldBrowser);function randomFill(t,e,n,o){if(!Buffer$1.isBuffer(t)&&!(t instanceof commonjsGlobal$1.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof e=="function")o=e,e=0,n=t.length;else if(typeof n=="function")o=n,n=t.length-e;else if(typeof o!="function")throw new TypeError('"cb" argument must be a function');return assertOffset(e,t.length),assertSize(n,e,t.length),actualFill(t,e,n,o)}function actualFill(t,e,n,o){if(process$1.browser){var u=t.buffer,l=new Uint8Array(u,e,n);if(crypto$2.getRandomValues(l),o){process$1.nextTick(function(){o(null,t)});return}return t}if(o){randombytes(n,function(y,E){if(y)return o(y);E.copy(t,e),o(null,t)});return}var m=randombytes(n);return m.copy(t,e),t}function randomFillSync(t,e,n){if(typeof e>"u"&&(e=0),!Buffer$1.isBuffer(t)&&!(t instanceof commonjsGlobal$1.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return assertOffset(e,t.length),n===void 0&&(n=t.length-e),assertSize(n,e,t.length),actualFill(t,e,n)}var hasRequiredCryptoBrowserify;function requireCryptoBrowserify(){if(hasRequiredCryptoBrowserify)return cryptoBrowserify;hasRequiredCryptoBrowserify=1,cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=browserExports,cryptoBrowserify.createHash=cryptoBrowserify.Hash=browser$b,cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=browser$a;var t=algos,e=Object.keys(t),n=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(e);cryptoBrowserify.getHashes=function(){return n};var o=browser$9;cryptoBrowserify.pbkdf2=o.pbkdf2,cryptoBrowserify.pbkdf2Sync=o.pbkdf2Sync;var u=browser$8;cryptoBrowserify.Cipher=u.Cipher,cryptoBrowserify.createCipher=u.createCipher,cryptoBrowserify.Cipheriv=u.Cipheriv,cryptoBrowserify.createCipheriv=u.createCipheriv,cryptoBrowserify.Decipher=u.Decipher,cryptoBrowserify.createDecipher=u.createDecipher,cryptoBrowserify.Decipheriv=u.Decipheriv,cryptoBrowserify.createDecipheriv=u.createDecipheriv,cryptoBrowserify.getCiphers=u.getCiphers,cryptoBrowserify.listCiphers=u.listCiphers;var l=requireBrowser$4();cryptoBrowserify.DiffieHellmanGroup=l.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=l.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=l.getDiffieHellman,cryptoBrowserify.createDiffieHellman=l.createDiffieHellman,cryptoBrowserify.DiffieHellman=l.DiffieHellman;var m=requireBrowser$3();cryptoBrowserify.createSign=m.createSign,cryptoBrowserify.Sign=m.Sign,cryptoBrowserify.createVerify=m.createVerify,cryptoBrowserify.Verify=m.Verify,cryptoBrowserify.createECDH=requireBrowser$2();var y=browser$3;cryptoBrowserify.publicEncrypt=y.publicEncrypt,cryptoBrowserify.privateEncrypt=y.privateEncrypt,cryptoBrowserify.publicDecrypt=y.publicDecrypt,cryptoBrowserify.privateDecrypt=y.privateDecrypt;var E=browser$2;return cryptoBrowserify.randomFill=E.randomFill,cryptoBrowserify.randomFillSync=E.randomFillSync,cryptoBrowserify.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
-`))},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}var jsonSafeStringify=stringifyExports,crypto$1=requireCryptoBrowserify(),Buffer=safeBufferExports$1.Buffer,defer=typeof setImmediate>"u"?process$1.nextTick:setImmediate;function paramsHaveRequestBody$1(t){return t.body||t.requestBodyStream||t.json&&typeof t.json!="boolean"||t.multipart}function safeStringify(t,e){var n;try{n=JSON.stringify(t,e)}catch{n=jsonSafeStringify(t,e)}return n}function md5(t){return crypto$1.createHash("md5").update(t).digest("hex")}function isReadStream(t){return t.readable&&t.path&&t.mode}function toBase64(t){return Buffer.from(t||"","utf8").toString("base64")}function copy(t){var e={};return Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function version(){var t=process$1.version.replace("v","").split(".");return{major:parseInt(t[0],10),minor:parseInt(t[1],10),patch:parseInt(t[2],10)}}helpers$1.paramsHaveRequestBody=paramsHaveRequestBody$1,helpers$1.safeStringify=safeStringify,helpers$1.md5=md5,helpers$1.isReadStream=isReadStream,helpers$1.toBase64=toBase64,helpers$1.copy=copy,helpers$1.version=version,helpers$1.defer=defer;var streamHttp={},request$3={exports:{}},capability={},hasRequiredCapability;function requireCapability(){return hasRequiredCapability||(hasRequiredCapability=1,function(t){t.fetch=u(commonjsGlobal$1.fetch)&&u(commonjsGlobal$1.ReadableStream),t.writableStream=u(commonjsGlobal$1.WritableStream),t.abortController=u(commonjsGlobal$1.AbortController);var e;function n(){if(e!==void 0)return e;if(commonjsGlobal$1.XMLHttpRequest){e=new commonjsGlobal$1.XMLHttpRequest;try{e.open("GET",commonjsGlobal$1.XDomainRequest?"/":"https://example.com")}catch{e=null}}else e=null;return e}function o(l){var m=n();if(!m)return!1;try{return m.responseType=l,m.responseType===l}catch{}return!1}t.arraybuffer=t.fetch||o("arraybuffer"),t.msstream=!t.fetch&&o("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||(n()?u(n().overrideMimeType):!1);function u(l){return typeof l=="function"}e=null}(capability)),capability}var response={},readableBrowser={exports:{}},hasRequiredReadableBrowser;function requireReadableBrowser(){return hasRequiredReadableBrowser||(hasRequiredReadableBrowser=1,function(t,e){e=t.exports=require_stream_readable$1(),e.Stream=e,e.Readable=e,e.Writable=require_stream_writable$1(),e.Duplex=require_stream_duplex$1(),e.Transform=require_stream_transform(),e.PassThrough=require_stream_passthrough(),e.finished=requireEndOfStream(),e.pipeline=requirePipeline()}(readableBrowser,readableBrowser.exports)),readableBrowser.exports}var hasRequiredResponse;function requireResponse(){if(hasRequiredResponse)return response;hasRequiredResponse=1;var t=requireCapability(),e=inherits_browserExports,n=requireReadableBrowser(),o=response.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},u=response.IncomingMessage=function(l,m,y,E){var C=this;if(n.Readable.call(C),C._mode=y,C.headers={},C.rawHeaders=[],C.trailers={},C.rawTrailers=[],C.on("end",function(){process$1.nextTick(function(){C.emit("close")})}),y==="fetch"){let B=function(){A.read().then(function(F){if(!C._destroyed){if(E(F.done),F.done){C.push(null);return}C.push(Buffer$C.from(F.value)),B()}}).catch(function(F){E(!0),C._destroyed||C.emit("error",F)})};if(C._fetchResponse=m,C.url=m.url,C.statusCode=m.status,C.statusMessage=m.statusText,m.headers.forEach(function(F,O){C.headers[O.toLowerCase()]=F,C.rawHeaders.push(O,F)}),t.writableStream){var k=new WritableStream({write:function(F){return E(!1),new Promise(function(O,N){C._destroyed?N():C.push(Buffer$C.from(F))?O():C._resumeFetch=O})},close:function(){E(!0),C._destroyed||C.push(null)},abort:function(F){E(!0),C._destroyed||C.emit("error",F)}});try{m.body.pipeTo(k).catch(function(F){E(!0),C._destroyed||C.emit("error",F)});return}catch{}}var A=m.body.getReader();B()}else{C._xhr=l,C._pos=0,C.url=l.responseURL,C.statusCode=l.status,C.statusMessage=l.statusText;var D=l.getAllResponseHeaders().split(/\r?\n/);if(D.forEach(function(B){var F=B.match(/^([^:]+):\s*(.*)/);if(F){var O=F[1].toLowerCase();O==="set-cookie"?(C.headers[O]===void 0&&(C.headers[O]=[]),C.headers[O].push(F[2])):C.headers[O]!==void 0?C.headers[O]+=", "+F[2]:C.headers[O]=F[2],C.rawHeaders.push(F[1],F[2])}}),C._charset="x-user-defined",!t.overrideMimeType){var P=C.rawHeaders["mime-type"];if(P){var R=P.match(/;\s*charset=([^;])(;|$)/);R&&(C._charset=R[1].toLowerCase())}C._charset||(C._charset="utf-8")}}};return e(u,n.Readable),u.prototype._read=function(){var l=this,m=l._resumeFetch;m&&(l._resumeFetch=null,m())},u.prototype._onXHRProgress=function(l){var m=this,y=m._xhr,E=null;switch(m._mode){case"text":if(E=y.responseText,E.length>m._pos){var C=E.substr(m._pos);if(m._charset==="x-user-defined"){for(var k=Buffer$C.alloc(C.length),A=0;A<C.length;A++)k[A]=C.charCodeAt(A)&255;m.push(k)}else m.push(C,m._charset);m._pos=E.length}break;case"arraybuffer":if(y.readyState!==o.DONE||!y.response)break;E=y.response,m.push(Buffer$C.from(new Uint8Array(E)));break;case"moz-chunked-arraybuffer":if(E=y.response,y.readyState!==o.LOADING||!E)break;m.push(Buffer$C.from(new Uint8Array(E)));break;case"ms-stream":if(E=y.response,y.readyState!==o.LOADING)break;var D=new commonjsGlobal$1.MSStreamReader;D.onprogress=function(){D.result.byteLength>m._pos&&(m.push(Buffer$C.from(new Uint8Array(D.result.slice(m._pos)))),m._pos=D.result.byteLength)},D.onload=function(){l(!0),m.push(null)},D.readAsArrayBuffer(E);break}m._xhr.readyState===o.DONE&&m._mode!=="ms-stream"&&(l(!0),m.push(null))},response}var hasRequiredRequest$1;function requireRequest$1(){if(hasRequiredRequest$1)return request$3.exports;hasRequiredRequest$1=1;var t=requireCapability(),e=inherits_browserExports,n=requireResponse(),o=requireReadableBrowser(),u=n.IncomingMessage,l=n.readyStates;function m(k,A){return t.fetch&&A?"fetch":t.mozchunkedarraybuffer?"moz-chunked-arraybuffer":t.msstream?"ms-stream":t.arraybuffer&&k?"arraybuffer":"text"}var y=request$3.exports=function(k){var A=this;o.Writable.call(A),A._opts=k,A._body=[],A._headers={},k.auth&&A.setHeader("Authorization","Basic "+Buffer$C.from(k.auth).toString("base64")),Object.keys(k.headers).forEach(function(R){A.setHeader(R,k.headers[R])});var D,P=!0;if(k.mode==="disable-fetch"||"requestTimeout"in k&&!t.abortController)P=!1,D=!0;else if(k.mode==="prefer-streaming")D=!1;else if(k.mode==="allow-wrong-content-type")D=!t.overrideMimeType;else if(!k.mode||k.mode==="default"||k.mode==="prefer-fast")D=!0;else throw new Error("Invalid value for opts.mode");A._mode=m(D,P),A._fetchTimer=null,A._socketTimeout=null,A._socketTimer=null,A.on("finish",function(){A._onFinish()})};e(y,o.Writable),y.prototype.setHeader=function(k,A){var D=this,P=k.toLowerCase();C.indexOf(P)===-1&&(D._headers[P]={name:k,value:A})},y.prototype.getHeader=function(k){var A=this._headers[k.toLowerCase()];return A?A.value:null},y.prototype.removeHeader=function(k){var A=this;delete A._headers[k.toLowerCase()]},y.prototype._onFinish=function(){var k=this;if(!k._destroyed){var A=k._opts;"timeout"in A&&A.timeout!==0&&k.setTimeout(A.timeout);var D=k._headers,P=null;A.method!=="GET"&&A.method!=="HEAD"&&(P=new Blob(k._body,{type:(D["content-type"]||{}).value||""}));var R=[];if(Object.keys(D).forEach(function(N){var Y=D[N].name,J=D[N].value;Array.isArray(J)?J.forEach(function(ie){R.push([Y,ie])}):R.push([Y,J])}),k._mode==="fetch"){var B=null;if(t.abortController){var F=new AbortController;B=F.signal,k._fetchAbortController=F,"requestTimeout"in A&&A.requestTimeout!==0&&(k._fetchTimer=commonjsGlobal$1.setTimeout(function(){k.emit("requestTimeout"),k._fetchAbortController&&k._fetchAbortController.abort()},A.requestTimeout))}commonjsGlobal$1.fetch(k._opts.url,{method:k._opts.method,headers:R,body:P||void 0,mode:"cors",credentials:A.withCredentials?"include":"same-origin",signal:B}).then(function(N){k._fetchResponse=N,k._resetTimers(!1),k._connect()},function(N){k._resetTimers(!0),k._destroyed||k.emit("error",N)})}else{var O=k._xhr=new commonjsGlobal$1.XMLHttpRequest;try{O.open(k._opts.method,k._opts.url,!0)}catch(N){process$1.nextTick(function(){k.emit("error",N)});return}"responseType"in O&&(O.responseType=k._mode),"withCredentials"in O&&(O.withCredentials=!!A.withCredentials),k._mode==="text"&&"overrideMimeType"in O&&O.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in A&&(O.timeout=A.requestTimeout,O.ontimeout=function(){k.emit("requestTimeout")}),R.forEach(function(N){O.setRequestHeader(N[0],N[1])}),k._response=null,O.onreadystatechange=function(){switch(O.readyState){case l.LOADING:case l.DONE:k._onXHRProgress();break}},k._mode==="moz-chunked-arraybuffer"&&(O.onprogress=function(){k._onXHRProgress()}),O.onerror=function(){k._destroyed||(k._resetTimers(!0),k.emit("error",new Error("XHR error")))};try{O.send(P)}catch(N){process$1.nextTick(function(){k.emit("error",N)});return}}}};function E(k){try{var A=k.status;return A!==null&&A!==0}catch{return!1}}y.prototype._onXHRProgress=function(){var k=this;k._resetTimers(!1),!(!E(k._xhr)||k._destroyed)&&(k._response||k._connect(),k._response._onXHRProgress(k._resetTimers.bind(k)))},y.prototype._connect=function(){var k=this;k._destroyed||(k._response=new u(k._xhr,k._fetchResponse,k._mode,k._resetTimers.bind(k)),k._response.on("error",function(A){k.emit("error",A)}),k.emit("response",k._response))},y.prototype._write=function(k,A,D){var P=this;P._body.push(k),D()},y.prototype._resetTimers=function(k){var A=this;commonjsGlobal$1.clearTimeout(A._socketTimer),A._socketTimer=null,k?(commonjsGlobal$1.clearTimeout(A._fetchTimer),A._fetchTimer=null):A._socketTimeout&&(A._socketTimer=commonjsGlobal$1.setTimeout(function(){A.emit("timeout")},A._socketTimeout))},y.prototype.abort=y.prototype.destroy=function(k){var A=this;A._destroyed=!0,A._resetTimers(!0),A._response&&(A._response._destroyed=!0),A._xhr?A._xhr.abort():A._fetchAbortController&&A._fetchAbortController.abort(),k&&A.emit("error",k)},y.prototype.end=function(k,A,D){var P=this;typeof k=="function"&&(D=k,k=void 0),o.Writable.prototype.end.call(P,k,A,D)},y.prototype.setTimeout=function(k,A){var D=this;A&&D.once("timeout",A),D._socketTimeout=k,D._resetTimers(!1)},y.prototype.flushHeaders=function(){},y.prototype.setNoDelay=function(){},y.prototype.setSocketKeepAlive=function(){};var C=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"];return request$3.exports}var immutable,hasRequiredImmutable;function requireImmutable(){if(hasRequiredImmutable)return immutable;hasRequiredImmutable=1,immutable=e;var t=Object.prototype.hasOwnProperty;function e(){for(var n={},o=0;o<arguments.length;o++){var u=arguments[o];for(var l in u)t.call(u,l)&&(n[l]=u[l])}return n}return immutable}var browser$1,hasRequiredBrowser$1;function requireBrowser$1(){return hasRequiredBrowser$1||(hasRequiredBrowser$1=1,browser$1={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}),browser$1}var hasRequiredStreamHttp;function requireStreamHttp(){return hasRequiredStreamHttp||(hasRequiredStreamHttp=1,function(t){var e=requireRequest$1(),n=requireResponse(),o=requireImmutable(),u=requireBrowser$1(),l=require$$2$2,m=t;m.request=function(y,E){typeof y=="string"?y=l.parse(y):y=o(y);var C=commonjsGlobal$1.location.protocol.search(/^https?:$/)===-1?"http:":"",k=y.protocol||C,A=y.hostname||y.host,D=y.port,P=y.path||"/";A&&A.indexOf(":")!==-1&&(A="["+A+"]"),y.url=(A?k+"//"+A:"")+(D?":"+D:"")+P,y.method=(y.method||"GET").toUpperCase(),y.headers=y.headers||{};var R=new e(y);return E&&R.on("response",E),R},m.get=function(E,C){var k=m.request(E,C);return k.end(),k},m.ClientRequest=e,m.IncomingMessage=n.IncomingMessage,m.Agent=function(){},m.Agent.defaultMaxSockets=4,m.globalAgent=new m.Agent,m.STATUS_CODES=u,m.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}(streamHttp)),streamHttp}var httpsBrowserify={exports:{}},hasRequiredHttpsBrowserify;function requireHttpsBrowserify(){return hasRequiredHttpsBrowserify||(hasRequiredHttpsBrowserify=1,function(t){var e=requireStreamHttp(),n=require$$2$2,o=t.exports;for(var u in e)e.hasOwnProperty(u)&&(o[u]=e[u]);o.request=function(m,y){return m=l(m),e.request.call(this,m,y)},o.get=function(m,y){return m=l(m),e.get.call(this,m,y)};function l(m){if(typeof m=="string"&&(m=n.parse(m)),m.protocol||(m.protocol="https:"),m.protocol!=="https:")throw new Error('Protocol "'+m.protocol+'" not supported. Expected "https:"');return m}}(httpsBrowserify)),httpsBrowserify.exports}var lib$5={},binding={},assert={exports:{}},errors$2={},hasRequiredErrors$2;function requireErrors$2(){if(hasRequiredErrors$2)return errors$2;hasRequiredErrors$2=1;function t(N){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},t(N)}function e(N,Y,J){return Object.defineProperty(N,"prototype",{writable:!1}),N}function n(N,Y){if(!(N instanceof Y))throw new TypeError("Cannot call a class as a function")}function o(N,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(Y&&Y.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),Object.defineProperty(N,"prototype",{writable:!1}),Y&&u(N,Y)}function u(N,Y){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ie,ue){return ie.__proto__=ue,ie},u(N,Y)}function l(N){var Y=E();return function(){var ie=C(N),ue;if(Y){var Q=C(this).constructor;ue=Reflect.construct(ie,arguments,Q)}else ue=ie.apply(this,arguments);return m(this,ue)}}function m(N,Y){if(Y&&(t(Y)==="object"||typeof Y=="function"))return Y;if(Y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(N)}function y(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function E(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function C(N){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},C(N)}var k={},A,D;function P(N,Y,J){J||(J=Error);function ie(Q,ce,he){return typeof Y=="string"?Y:Y(Q,ce,he)}var ue=function(Q){o(he,Q);var ce=l(he);function he(ke,L,d){var v;return n(this,he),v=ce.call(this,ie(ke,L,d)),v.code=N,v}return e(he)}(J);k[N]=ue}function R(N,Y){if(Array.isArray(N)){var J=N.length;return N=N.map(function(ie){return String(ie)}),J>2?"one of ".concat(Y," ").concat(N.slice(0,J-1).join(", "),", or ")+N[J-1]:J===2?"one of ".concat(Y," ").concat(N[0]," or ").concat(N[1]):"of ".concat(Y," ").concat(N[0])}else return"of ".concat(Y," ").concat(String(N))}function B(N,Y,J){return N.substr(0,Y.length)===Y}function F(N,Y,J){return(J===void 0||J>N.length)&&(J=N.length),N.substring(J-Y.length,J)===Y}function O(N,Y,J){return typeof J!="number"&&(J=0),J+Y.length>N.length?!1:N.indexOf(Y,J)!==-1}return P("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),P("ERR_INVALID_ARG_TYPE",function(N,Y,J){A===void 0&&(A=requireAssert$1()),A(typeof N=="string","'name' must be a string");var ie;typeof Y=="string"&&B(Y,"not ")?(ie="must not be",Y=Y.replace(/^not /,"")):ie="must be";var ue;if(F(N," argument"))ue="The ".concat(N," ").concat(ie," ").concat(R(Y,"type"));else{var Q=O(N,".")?"property":"argument";ue='The "'.concat(N,'" ').concat(Q," ").concat(ie," ").concat(R(Y,"type"))}return ue+=". Received type ".concat(t(J)),ue},TypeError),P("ERR_INVALID_ARG_VALUE",function(N,Y){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";D===void 0&&(D=util$6);var ie=D.inspect(Y);return ie.length>128&&(ie="".concat(ie.slice(0,128),"...")),"The argument '".concat(N,"' ").concat(J,". Received ").concat(ie)},TypeError),P("ERR_INVALID_RETURN_VALUE",function(N,Y,J){var ie;return J&&J.constructor&&J.constructor.name?ie="instance of ".concat(J.constructor.name):ie="type ".concat(t(J)),"Expected ".concat(N,' to be returned from the "').concat(Y,'"')+" function but got ".concat(ie,".")},TypeError),P("ERR_MISSING_ARGS",function(){for(var N=arguments.length,Y=new Array(N),J=0;J<N;J++)Y[J]=arguments[J];A===void 0&&(A=requireAssert$1()),A(Y.length>0,"At least one arg needs to be specified");var ie="The ",ue=Y.length;switch(Y=Y.map(function(Q){return'"'.concat(Q,'"')}),ue){case 1:ie+="".concat(Y[0]," argument");break;case 2:ie+="".concat(Y[0]," and ").concat(Y[1]," arguments");break;default:ie+=Y.slice(0,ue-1).join(", "),ie+=", and ".concat(Y[ue-1]," arguments");break}return"".concat(ie," must be specified")},TypeError),errors$2.codes=k,errors$2}var assertion_error,hasRequiredAssertion_error;function requireAssertion_error(){if(hasRequiredAssertion_error)return assertion_error;hasRequiredAssertion_error=1;function t(b,h){var T=Object.keys(b);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(b);h&&(M=M.filter(function(j){return Object.getOwnPropertyDescriptor(b,j).enumerable})),T.push.apply(T,M)}return T}function e(b){for(var h=1;h<arguments.length;h++){var T=arguments[h]!=null?arguments[h]:{};h%2?t(Object(T),!0).forEach(function(M){n(b,M,T[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(T)):t(Object(T)).forEach(function(M){Object.defineProperty(b,M,Object.getOwnPropertyDescriptor(T,M))})}return b}function n(b,h,T){return h=m(h),h in b?Object.defineProperty(b,h,{value:T,enumerable:!0,configurable:!0,writable:!0}):b[h]=T,b}function o(b,h){if(!(b instanceof h))throw new TypeError("Cannot call a class as a function")}function u(b,h){for(var T=0;T<h.length;T++){var M=h[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(b,m(M.key),M)}}function l(b,h,T){return h&&u(b.prototype,h),Object.defineProperty(b,"prototype",{writable:!1}),b}function m(b){var h=y(b,"string");return N(h)==="symbol"?h:String(h)}function y(b,h){if(N(b)!=="object"||b===null)return b;var T=b[Symbol.toPrimitive];if(T!==void 0){var M=T.call(b,h||"default");if(N(M)!=="object")return M;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(b)}function E(b,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(h&&h.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),h&&F(b,h)}function C(b){var h=R();return function(){var M=O(b),j;if(h){var V=O(this).constructor;j=Reflect.construct(M,arguments,V)}else j=M.apply(this,arguments);return k(this,j)}}function k(b,h){if(h&&(N(h)==="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(b)}function A(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function D(b){var h=typeof Map=="function"?new Map:void 0;return D=function(M){if(M===null||!B(M))return M;if(typeof M!="function")throw new TypeError("Super expression must either be null or a function");if(typeof h<"u"){if(h.has(M))return h.get(M);h.set(M,j)}function j(){return P(M,arguments,O(this).constructor)}return j.prototype=Object.create(M.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),F(j,M)},D(b)}function P(b,h,T){return R()?P=Reflect.construct.bind():P=function(j,V,ee){var Z=[null];Z.push.apply(Z,V);var U=Function.bind.apply(j,Z),z=new U;return ee&&F(z,ee.prototype),z},P.apply(null,arguments)}function R(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function B(b){return Function.toString.call(b).indexOf("[native code]")!==-1}function F(b,h){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,j){return M.__proto__=j,M},F(b,h)}function O(b){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},O(b)}function N(b){"@babel/helpers - typeof";return N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},N(b)}var Y=util$6,J=Y.inspect,ie=requireErrors$2(),ue=ie.codes.ERR_INVALID_ARG_TYPE;function Q(b,h,T){return(T===void 0||T>b.length)&&(T=b.length),b.substring(T-h.length,T)===h}function ce(b,h){if(h=Math.floor(h),b.length==0||h==0)return"";var T=b.length*h;for(h=Math.floor(Math.log(h)/Math.log(2));h;)b+=b,h--;return b+=b.substring(0,T-b.length),b}var he="",ke="",L="",d="",v={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},w=10;function c(b){var h=Object.keys(b),T=Object.create(Object.getPrototypeOf(b));return h.forEach(function(M){T[M]=b[M]}),Object.defineProperty(T,"message",{value:b.message}),T}function p(b){return J(b,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function x(b,h,T){var M="",j="",V=0,ee="",Z=!1,U=p(b),z=U.split(`
-`),ne=p(h).split(`
-`),fe=0,me="";if(T==="strictEqual"&&N(b)==="object"&&N(h)==="object"&&b!==null&&h!==null&&(T="strictEqualObject"),z.length===1&&ne.length===1&&z[0]!==ne[0]){var de=z[0].length+ne[0].length;if(de<=w){if((N(b)!=="object"||b===null)&&(N(h)!=="object"||h===null)&&(b!==0||h!==0))return"".concat(v[T],`
+})`)}catch{v=function(A){this._initNamed(A)}}return o(v,h),v.prototype._initNamed=function(A){h.call(this,A)},new v(this)},t.prototype._getDecoder=function(h){return h=h||"der",this.decoders.hasOwnProperty(h)||(this.decoders[h]=this._createNamed(e.decoders[h])),this.decoders[h]},t.prototype.decode=function(h,v,w){return this._getDecoder(v).decode(h,w)},t.prototype._getEncoder=function(h){return h=h||"der",this.encoders.hasOwnProperty(h)||(this.encoders[h]=this._createNamed(e.encoders[h])),this.encoders[h]},t.prototype.encode=function(h,v,w){return this._getEncoder(v).encode(h,w)}}(api)),api}var base={},reporter={},inherits=inherits_browserExports;function Reporter(n){this._reporterState={obj:null,path:[],options:n||{},errors:[]}}reporter.Reporter=Reporter,Reporter.prototype.isError=function n(e){return e instanceof ReporterError},Reporter.prototype.save=function n(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},Reporter.prototype.restore=function n(e){var o=this._reporterState;o.obj=e.obj,o.path=o.path.slice(0,e.pathLen)},Reporter.prototype.enterKey=function n(e){return this._reporterState.path.push(e)},Reporter.prototype.exitKey=function n(e){var o=this._reporterState;o.path=o.path.slice(0,e-1)},Reporter.prototype.leaveKey=function n(e,o,l){var t=this._reporterState;this.exitKey(e),t.obj!==null&&(t.obj[o]=l)},Reporter.prototype.path=function n(){return this._reporterState.path.join("/")},Reporter.prototype.enterObject=function n(){var e=this._reporterState,o=e.obj;return e.obj={},o},Reporter.prototype.leaveObject=function n(e){var o=this._reporterState,l=o.obj;return o.obj=e,l},Reporter.prototype.error=function n(e){var o,l=this._reporterState,t=e instanceof ReporterError;if(t?o=e:o=new ReporterError(l.path.map(function(u){return"["+JSON.stringify(u)+"]"}).join(""),e.message||e,e.stack),!l.options.partial)throw o;return t||l.errors.push(o),o},Reporter.prototype.wrapResult=function n(e){var o=this._reporterState;return o.options.partial?{result:this.isError(e)?null:e,errors:o.errors}:e};function ReporterError(n,e){this.path=n,this.rethrow(e)}inherits(ReporterError,Error),ReporterError.prototype.rethrow=function n(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,ReporterError),!this.stack)try{throw new Error(this.message)}catch(o){this.stack=o.stack}return this};var buffer={},hasRequiredBuffer;function requireBuffer(){if(hasRequiredBuffer)return buffer;hasRequiredBuffer=1;var n=inherits_browserExports,e=requireBase().Reporter,o=require$$0$2.Buffer;function l(u,h){if(e.call(this,h),!o.isBuffer(u)){this.error("Input not Buffer");return}this.base=u,this.offset=0,this.length=u.length}n(l,e),buffer.DecoderBuffer=l,l.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},l.prototype.restore=function(h){var v=new l(this.base);return v.offset=h.offset,v.length=this.offset,this.offset=h.offset,e.prototype.restore.call(this,h.reporter),v},l.prototype.isEmpty=function(){return this.offset===this.length},l.prototype.readUInt8=function(h){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(h||"DecoderBuffer overrun")},l.prototype.skip=function(h,v){if(!(this.offset+h<=this.length))return this.error(v||"DecoderBuffer overrun");var w=new l(this.base);return w._reporterState=this._reporterState,w.offset=this.offset,w.length=this.offset+h,this.offset+=h,w},l.prototype.raw=function(h){return this.base.slice(h?h.offset:this.offset,this.length)};function t(u,h){if(Array.isArray(u))this.length=0,this.value=u.map(function(v){return v instanceof t||(v=new t(v,h)),this.length+=v.length,v},this);else if(typeof u=="number"){if(!(0<=u&&u<=255))return h.error("non-byte EncoderBuffer value");this.value=u,this.length=1}else if(typeof u=="string")this.value=u,this.length=o.byteLength(u);else if(o.isBuffer(u))this.value=u,this.length=u.length;else return h.error("Unsupported type: "+typeof u)}return buffer.EncoderBuffer=t,t.prototype.join=function(h,v){return h||(h=new o(this.length)),v||(v=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(w){w.join(h,v),v+=w.length}):(typeof this.value=="number"?h[v]=this.value:typeof this.value=="string"?h.write(this.value,v):o.isBuffer(this.value)&&this.value.copy(h,v),v+=this.length)),h},buffer}var node,hasRequiredNode;function requireNode(){if(hasRequiredNode)return node;hasRequiredNode=1;var n=requireBase().Reporter,e=requireBase().EncoderBuffer,o=requireBase().DecoderBuffer,l=minimalisticAssert,t=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(t),h=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function v(A,E){var C={};this._baseState=C,C.enc=A,C.parent=E||null,C.children=null,C.tag=null,C.args=null,C.reverseArgs=null,C.choice=null,C.optional=!1,C.any=!1,C.obj=!1,C.use=null,C.useDecoder=null,C.key=null,C.default=null,C.explicit=null,C.implicit=null,C.contains=null,C.parent||(C.children=[],this._wrap())}node=v;var w=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];return v.prototype.clone=function(){var E=this._baseState,C={};w.forEach(function(P){C[P]=E[P]});var M=new this.constructor(C.parent);return M._baseState=C,M},v.prototype._wrap=function(){var E=this._baseState;u.forEach(function(C){this[C]=function(){var P=new this.constructor(this);return E.children.push(P),P[C].apply(P,arguments)}},this)},v.prototype._init=function(E){var C=this._baseState;l(C.parent===null),E.call(this),C.children=C.children.filter(function(M){return M._baseState.parent===this},this),l.equal(C.children.length,1,"Root node can have only one child")},v.prototype._useArgs=function(E){var C=this._baseState,M=E.filter(function(P){return P instanceof this.constructor},this);E=E.filter(function(P){return!(P instanceof this.constructor)},this),M.length!==0&&(l(C.children===null),C.children=M,M.forEach(function(P){P._baseState.parent=this},this)),E.length!==0&&(l(C.args===null),C.args=E,C.reverseArgs=E.map(function(P){if(typeof P!="object"||P.constructor!==Object)return P;var I={};return Object.keys(P).forEach(function(j){j==(j|0)&&(j|=0);var B=P[j];I[B]=j}),I}))},h.forEach(function(A){v.prototype[A]=function(){var C=this._baseState;throw new Error(A+" not implemented for encoding: "+C.enc)}}),t.forEach(function(A){v.prototype[A]=function(){var C=this._baseState,M=Array.prototype.slice.call(arguments);return l(C.tag===null),C.tag=A,this._useArgs(M),this}}),v.prototype.use=function(E){l(E);var C=this._baseState;return l(C.use===null),C.use=E,this},v.prototype.optional=function(){var E=this._baseState;return E.optional=!0,this},v.prototype.def=function(E){var C=this._baseState;return l(C.default===null),C.default=E,C.optional=!0,this},v.prototype.explicit=function(E){var C=this._baseState;return l(C.explicit===null&&C.implicit===null),C.explicit=E,this},v.prototype.implicit=function(E){var C=this._baseState;return l(C.explicit===null&&C.implicit===null),C.implicit=E,this},v.prototype.obj=function(){var E=this._baseState,C=Array.prototype.slice.call(arguments);return E.obj=!0,C.length!==0&&this._useArgs(C),this},v.prototype.key=function(E){var C=this._baseState;return l(C.key===null),C.key=E,this},v.prototype.any=function(){var E=this._baseState;return E.any=!0,this},v.prototype.choice=function(E){var C=this._baseState;return l(C.choice===null),C.choice=E,this._useArgs(Object.keys(E).map(function(M){return E[M]})),this},v.prototype.contains=function(E){var C=this._baseState;return l(C.use===null),C.contains=E,this},v.prototype._decode=function(E,C){var M=this._baseState;if(M.parent===null)return E.wrapResult(M.children[0]._decode(E,C));var P=M.default,I=!0,j=null;if(M.key!==null&&(j=E.enterKey(M.key)),M.optional){var B=null;if(M.explicit!==null?B=M.explicit:M.implicit!==null?B=M.implicit:M.tag!==null&&(B=M.tag),B===null&&!M.any){var F=E.save();try{M.choice===null?this._decodeGeneric(M.tag,E,C):this._decodeChoice(E,C),I=!0}catch{I=!1}E.restore(F)}else if(I=this._peekTag(E,B,M.any),E.isError(I))return I}var N;if(M.obj&&I&&(N=E.enterObject()),I){if(M.explicit!==null){var ee=this._decodeTag(E,M.explicit);if(E.isError(ee))return ee;E=ee}var Z=E.offset;if(M.use===null&&M.choice===null){if(M.any)var F=E.save();var re=this._decodeTag(E,M.implicit!==null?M.implicit:M.tag,M.any);if(E.isError(re))return re;M.any?P=E.raw(F):E=re}if(C&&C.track&&M.tag!==null&&C.track(E.path(),Z,E.length,"tagged"),C&&C.track&&M.tag!==null&&C.track(E.path(),E.offset,E.length,"content"),M.any?P=P:M.choice===null?P=this._decodeGeneric(M.tag,E,C):P=this._decodeChoice(E,C),E.isError(P))return P;if(!M.any&&M.choice===null&&M.children!==null&&M.children.forEach(function(le){le._decode(E,C)}),M.contains&&(M.tag==="octstr"||M.tag==="bitstr")){var fe=new o(P);P=this._getUse(M.contains,E._reporterState.obj)._decode(fe,C)}}return M.obj&&I&&(P=E.leaveObject(N)),M.key!==null&&(P!==null||I===!0)?E.leaveKey(j,M.key,P):j!==null&&E.exitKey(j),P},v.prototype._decodeGeneric=function(E,C,M){var P=this._baseState;return E==="seq"||E==="set"?null:E==="seqof"||E==="setof"?this._decodeList(C,E,P.args[0],M):/str$/.test(E)?this._decodeStr(C,E,M):E==="objid"&&P.args?this._decodeObjid(C,P.args[0],P.args[1],M):E==="objid"?this._decodeObjid(C,null,null,M):E==="gentime"||E==="utctime"?this._decodeTime(C,E,M):E==="null_"?this._decodeNull(C,M):E==="bool"?this._decodeBool(C,M):E==="objDesc"?this._decodeStr(C,E,M):E==="int"||E==="enum"?this._decodeInt(C,P.args&&P.args[0],M):P.use!==null?this._getUse(P.use,C._reporterState.obj)._decode(C,M):C.error("unknown tag: "+E)},v.prototype._getUse=function(E,C){var M=this._baseState;return M.useDecoder=this._use(E,C),l(M.useDecoder._baseState.parent===null),M.useDecoder=M.useDecoder._baseState.children[0],M.implicit!==M.useDecoder._baseState.implicit&&(M.useDecoder=M.useDecoder.clone(),M.useDecoder._baseState.implicit=M.implicit),M.useDecoder},v.prototype._decodeChoice=function(E,C){var M=this._baseState,P=null,I=!1;return Object.keys(M.choice).some(function(j){var B=E.save(),F=M.choice[j];try{var N=F._decode(E,C);if(E.isError(N))return!1;P={type:j,value:N},I=!0}catch{return E.restore(B),!1}return!0},this),I?P:E.error("Choice not matched")},v.prototype._createEncoderBuffer=function(E){return new e(E,this.reporter)},v.prototype._encode=function(E,C,M){var P=this._baseState;if(!(P.default!==null&&P.default===E)){var I=this._encodeValue(E,C,M);if(I!==void 0&&!this._skipDefault(I,C,M))return I}},v.prototype._encodeValue=function(E,C,M){var P=this._baseState;if(P.parent===null)return P.children[0]._encode(E,C||new n);var F=null;if(this.reporter=C,P.optional&&E===void 0)if(P.default!==null)E=P.default;else return;var I=null,j=!1;if(P.any)F=this._createEncoderBuffer(E);else if(P.choice)F=this._encodeChoice(E,C);else if(P.contains)I=this._getUse(P.contains,M)._encode(E,C),j=!0;else if(P.children)I=P.children.map(function(Z){if(Z._baseState.tag==="null_")return Z._encode(null,C,E);if(Z._baseState.key===null)return C.error("Child should have a key");var re=C.enterKey(Z._baseState.key);if(typeof E!="object")return C.error("Child expected, but input is not object");var fe=Z._encode(E[Z._baseState.key],C,E);return C.leaveKey(re),fe},this).filter(function(Z){return Z}),I=this._createEncoderBuffer(I);else if(P.tag==="seqof"||P.tag==="setof"){if(!(P.args&&P.args.length===1))return C.error("Too many args for : "+P.tag);if(!Array.isArray(E))return C.error("seqof/setof, but data is not Array");var B=this.clone();B._baseState.implicit=null,I=this._createEncoderBuffer(E.map(function(Z){var re=this._baseState;return this._getUse(re.args[0],E)._encode(Z,C)},B))}else P.use!==null?F=this._getUse(P.use,M)._encode(E,C):(I=this._encodePrimitive(P.tag,E),j=!0);var F;if(!P.any&&P.choice===null){var N=P.implicit!==null?P.implicit:P.tag,ee=P.implicit===null?"universal":"context";N===null?P.use===null&&C.error("Tag could be omitted only for .use()"):P.use===null&&(F=this._encodeComposite(N,j,ee,I))}return P.explicit!==null&&(F=this._encodeComposite(P.explicit,!1,"context",F)),F},v.prototype._encodeChoice=function(E,C){var M=this._baseState,P=M.choice[E.type];return P||l(!1,E.type+" not found in "+JSON.stringify(Object.keys(M.choice))),P._encode(E.value,C)},v.prototype._encodePrimitive=function(E,C){var M=this._baseState;if(/str$/.test(E))return this._encodeStr(C,E);if(E==="objid"&&M.args)return this._encodeObjid(C,M.reverseArgs[0],M.args[1]);if(E==="objid")return this._encodeObjid(C,null,null);if(E==="gentime"||E==="utctime")return this._encodeTime(C,E);if(E==="null_")return this._encodeNull();if(E==="int"||E==="enum")return this._encodeInt(C,M.args&&M.reverseArgs[0]);if(E==="bool")return this._encodeBool(C);if(E==="objDesc")return this._encodeStr(C,E);throw new Error("Unsupported tag: "+E)},v.prototype._isNumstr=function(E){return/^[0-9 ]*$/.test(E)},v.prototype._isPrintstr=function(E){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(E)},node}var hasRequiredBase;function requireBase(){return hasRequiredBase||(hasRequiredBase=1,function(n){var e=n;e.Reporter=reporter.Reporter,e.DecoderBuffer=requireBuffer().DecoderBuffer,e.EncoderBuffer=requireBuffer().EncoderBuffer,e.Node=requireNode()}(base)),base}var constants$1={},der={},hasRequiredDer$2;function requireDer$2(){return hasRequiredDer$2||(hasRequiredDer$2=1,function(n){var e=requireConstants$1();n.tagClass={0:"universal",1:"application",2:"context",3:"private"},n.tagClassByName=e._reverse(n.tagClass),n.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},n.tagByName=e._reverse(n.tag)}(der)),der}var hasRequiredConstants$1;function requireConstants$1(){return hasRequiredConstants$1||(hasRequiredConstants$1=1,function(n){var e=n;e._reverse=function(l){var t={};return Object.keys(l).forEach(function(u){(u|0)==u&&(u=u|0);var h=l[u];t[h]=u}),t},e.der=requireDer$2()}(constants$1)),constants$1}var decoders={},der_1$1,hasRequiredDer$1;function requireDer$1(){if(hasRequiredDer$1)return der_1$1;hasRequiredDer$1=1;var n=inherits_browserExports,e=requireAsn1(),o=e.base,l=e.bignum,t=e.constants.der;function u(A){this.enc="der",this.name=A.name,this.entity=A,this.tree=new h,this.tree._init(A.body)}der_1$1=u,u.prototype.decode=function(E,C){return E instanceof o.DecoderBuffer||(E=new o.DecoderBuffer(E,C)),this.tree._decode(E,C)};function h(A){o.Node.call(this,"der",A)}n(h,o.Node),h.prototype._peekTag=function(E,C,M){if(E.isEmpty())return!1;var P=E.save(),I=v(E,'Failed to peek tag: "'+C+'"');return E.isError(I)?I:(E.restore(P),I.tag===C||I.tagStr===C||I.tagStr+"of"===C||M)},h.prototype._decodeTag=function(E,C,M){var P=v(E,'Failed to decode tag of "'+C+'"');if(E.isError(P))return P;var I=w(E,P.primitive,'Failed to get length of "'+C+'"');if(E.isError(I))return I;if(!M&&P.tag!==C&&P.tagStr!==C&&P.tagStr+"of"!==C)return E.error('Failed to match tag: "'+C+'"');if(P.primitive||I!==null)return E.skip(I,'Failed to match body of: "'+C+'"');var j=E.save(),B=this._skipUntilEnd(E,'Failed to skip indefinite length body: "'+this.tag+'"');return E.isError(B)?B:(I=E.offset-j.offset,E.restore(j),E.skip(I,'Failed to match body of: "'+C+'"'))},h.prototype._skipUntilEnd=function(E,C){for(;;){var M=v(E,C);if(E.isError(M))return M;var P=w(E,M.primitive,C);if(E.isError(P))return P;var I;if(M.primitive||P!==null?I=E.skip(P):I=this._skipUntilEnd(E,C),E.isError(I))return I;if(M.tagStr==="end")break}},h.prototype._decodeList=function(E,C,M,P){for(var I=[];!E.isEmpty();){var j=this._peekTag(E,"end");if(E.isError(j))return j;var B=M.decode(E,"der",P);if(E.isError(B)&&j)break;I.push(B)}return I},h.prototype._decodeStr=function(E,C){if(C==="bitstr"){var M=E.readUInt8();return E.isError(M)?M:{unused:M,data:E.raw()}}else if(C==="bmpstr"){var P=E.raw();if(P.length%2===1)return E.error("Decoding of string type: bmpstr length mismatch");for(var I="",j=0;j<P.length/2;j++)I+=String.fromCharCode(P.readUInt16BE(j*2));return I}else if(C==="numstr"){var B=E.raw().toString("ascii");return this._isNumstr(B)?B:E.error("Decoding of string type: numstr unsupported characters")}else{if(C==="octstr")return E.raw();if(C==="objDesc")return E.raw();if(C==="printstr"){var F=E.raw().toString("ascii");return this._isPrintstr(F)?F:E.error("Decoding of string type: printstr unsupported characters")}else return/str$/.test(C)?E.raw().toString():E.error("Decoding of string type: "+C+" unsupported")}},h.prototype._decodeObjid=function(E,C,M){for(var P,I=[],j=0;!E.isEmpty();){var B=E.readUInt8();j<<=7,j|=B&127,B&128||(I.push(j),j=0)}B&128&&I.push(j);var F=I[0]/40|0,N=I[0]%40;if(M?P=I:P=[F,N].concat(I.slice(1)),C){var ee=C[P.join(" ")];ee===void 0&&(ee=C[P.join(".")]),ee!==void 0&&(P=ee)}return P},h.prototype._decodeTime=function(E,C){var M=E.raw().toString();if(C==="gentime")var P=M.slice(0,4)|0,I=M.slice(4,6)|0,j=M.slice(6,8)|0,B=M.slice(8,10)|0,F=M.slice(10,12)|0,N=M.slice(12,14)|0;else if(C==="utctime"){var P=M.slice(0,2)|0,I=M.slice(2,4)|0,j=M.slice(4,6)|0,B=M.slice(6,8)|0,F=M.slice(8,10)|0,N=M.slice(10,12)|0;P<70?P=2e3+P:P=1900+P}else return E.error("Decoding "+C+" time is not supported yet");return Date.UTC(P,I-1,j,B,F,N,0)},h.prototype._decodeNull=function(E){return null},h.prototype._decodeBool=function(E){var C=E.readUInt8();return E.isError(C)?C:C!==0},h.prototype._decodeInt=function(E,C){var M=E.raw(),P=new l(M);return C&&(P=C[P.toString(10)]||P),P},h.prototype._use=function(E,C){return typeof E=="function"&&(E=E(C)),E._getDecoder("der").tree};function v(A,E){var C=A.readUInt8(E);if(A.isError(C))return C;var M=t.tagClass[C>>6],P=(C&32)===0;if((C&31)===31){var I=C;for(C=0;(I&128)===128;){if(I=A.readUInt8(E),A.isError(I))return I;C<<=7,C|=I&127}}else C&=31;var j=t.tag[C];return{cls:M,primitive:P,tag:C,tagStr:j}}function w(A,E,C){var M=A.readUInt8(C);if(A.isError(M))return M;if(!E&&M===128)return null;if(!(M&128))return M;var P=M&127;if(P>4)return A.error("length octect is too long");M=0;for(var I=0;I<P;I++){M<<=8;var j=A.readUInt8(C);if(A.isError(j))return j;M|=j}return M}return der_1$1}var pem$2,hasRequiredPem$2;function requirePem$2(){if(hasRequiredPem$2)return pem$2;hasRequiredPem$2=1;var n=inherits_browserExports,e=require$$0$2.Buffer,o=requireDer$1();function l(t){o.call(this,t),this.enc="pem"}return n(l,o),pem$2=l,l.prototype.decode=function(u,h){for(var v=u.toString().split(/[\r\n]+/g),w=h.label.toUpperCase(),A=/^-----(BEGIN|END) ([^-]+)-----$/,E=-1,C=-1,M=0;M<v.length;M++){var P=v[M].match(A);if(P!==null&&P[2]===w)if(E===-1){if(P[1]!=="BEGIN")break;E=M}else{if(P[1]!=="END")break;C=M;break}}if(E===-1||C===-1)throw new Error("PEM section not found for: "+w);var I=v.slice(E+1,C).join("");I.replace(/[^a-z0-9\+\/=]+/gi,"");var j=new e(I,"base64");return o.prototype.decode.call(this,j,h)},pem$2}var hasRequiredDecoders;function requireDecoders(){return hasRequiredDecoders||(hasRequiredDecoders=1,function(n){var e=n;e.der=requireDer$1(),e.pem=requirePem$2()}(decoders)),decoders}var encoders={},der_1,hasRequiredDer;function requireDer(){if(hasRequiredDer)return der_1;hasRequiredDer=1;var n=inherits_browserExports,e=require$$0$2.Buffer,o=requireAsn1(),l=o.base,t=o.constants.der;function u(A){this.enc="der",this.name=A.name,this.entity=A,this.tree=new h,this.tree._init(A.body)}der_1=u,u.prototype.encode=function(E,C){return this.tree._encode(E,C).join()};function h(A){l.Node.call(this,"der",A)}n(h,l.Node),h.prototype._encodeComposite=function(E,C,M,P){var I=w(E,C,M,this.reporter);if(P.length<128){var F=new e(2);return F[0]=I,F[1]=P.length,this._createEncoderBuffer([F,P])}for(var j=1,B=P.length;B>=256;B>>=8)j++;var F=new e(2+j);F[0]=I,F[1]=128|j;for(var B=1+j,N=P.length;N>0;B--,N>>=8)F[B]=N&255;return this._createEncoderBuffer([F,P])},h.prototype._encodeStr=function(E,C){if(C==="bitstr")return this._createEncoderBuffer([E.unused|0,E.data]);if(C==="bmpstr"){for(var M=new e(E.length*2),P=0;P<E.length;P++)M.writeUInt16BE(E.charCodeAt(P),P*2);return this._createEncoderBuffer(M)}else return C==="numstr"?this._isNumstr(E)?this._createEncoderBuffer(E):this.reporter.error("Encoding of string type: numstr supports only digits and space"):C==="printstr"?this._isPrintstr(E)?this._createEncoderBuffer(E):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(C)?this._createEncoderBuffer(E):C==="objDesc"?this._createEncoderBuffer(E):this.reporter.error("Encoding of string type: "+C+" unsupported")},h.prototype._encodeObjid=function(E,C,M){if(typeof E=="string"){if(!C)return this.reporter.error("string objid given, but no values map found");if(!C.hasOwnProperty(E))return this.reporter.error("objid not found in values map");E=C[E].split(/[\s\.]+/g);for(var P=0;P<E.length;P++)E[P]|=0}else if(Array.isArray(E)){E=E.slice();for(var P=0;P<E.length;P++)E[P]|=0}if(!Array.isArray(E))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(E));if(!M){if(E[1]>=40)return this.reporter.error("Second objid identifier OOB");E.splice(0,2,E[0]*40+E[1])}for(var I=0,P=0;P<E.length;P++){var j=E[P];for(I++;j>=128;j>>=7)I++}for(var B=new e(I),F=B.length-1,P=E.length-1;P>=0;P--){var j=E[P];for(B[F--]=j&127;(j>>=7)>0;)B[F--]=128|j&127}return this._createEncoderBuffer(B)};function v(A){return A<10?"0"+A:A}h.prototype._encodeTime=function(E,C){var M,P=new Date(E);return C==="gentime"?M=[v(P.getFullYear()),v(P.getUTCMonth()+1),v(P.getUTCDate()),v(P.getUTCHours()),v(P.getUTCMinutes()),v(P.getUTCSeconds()),"Z"].join(""):C==="utctime"?M=[v(P.getFullYear()%100),v(P.getUTCMonth()+1),v(P.getUTCDate()),v(P.getUTCHours()),v(P.getUTCMinutes()),v(P.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+C+" time is not supported yet"),this._encodeStr(M,"octstr")},h.prototype._encodeNull=function(){return this._createEncoderBuffer("")},h.prototype._encodeInt=function(E,C){if(typeof E=="string"){if(!C)return this.reporter.error("String int or enum given, but no values map");if(!C.hasOwnProperty(E))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(E));E=C[E]}if(typeof E!="number"&&!e.isBuffer(E)){var M=E.toArray();!E.sign&&M[0]&128&&M.unshift(0),E=new e(M)}if(e.isBuffer(E)){var P=E.length;E.length===0&&P++;var j=new e(P);return E.copy(j),E.length===0&&(j[0]=0),this._createEncoderBuffer(j)}if(E<128)return this._createEncoderBuffer(E);if(E<256)return this._createEncoderBuffer([0,E]);for(var P=1,I=E;I>=256;I>>=8)P++;for(var j=new Array(P),I=j.length-1;I>=0;I--)j[I]=E&255,E>>=8;return j[0]&128&&j.unshift(0),this._createEncoderBuffer(new e(j))},h.prototype._encodeBool=function(E){return this._createEncoderBuffer(E?255:0)},h.prototype._use=function(E,C){return typeof E=="function"&&(E=E(C)),E._getEncoder("der").tree},h.prototype._skipDefault=function(E,C,M){var P=this._baseState,I;if(P.default===null)return!1;var j=E.join();if(P.defaultBuffer===void 0&&(P.defaultBuffer=this._encodeValue(P.default,C,M).join()),j.length!==P.defaultBuffer.length)return!1;for(I=0;I<j.length;I++)if(j[I]!==P.defaultBuffer[I])return!1;return!0};function w(A,E,C,M){var P;if(A==="seqof"?A="seq":A==="setof"&&(A="set"),t.tagByName.hasOwnProperty(A))P=t.tagByName[A];else if(typeof A=="number"&&(A|0)===A)P=A;else return M.error("Unknown tag: "+A);return P>=31?M.error("Multi-octet tag encoding unsupported"):(E||(P|=32),P|=t.tagClassByName[C||"universal"]<<6,P)}return der_1}var pem$1,hasRequiredPem$1;function requirePem$1(){if(hasRequiredPem$1)return pem$1;hasRequiredPem$1=1;var n=inherits_browserExports,e=requireDer();function o(l){e.call(this,l),this.enc="pem"}return n(o,e),pem$1=o,o.prototype.encode=function(t,u){for(var h=e.prototype.encode.call(this,t),v=h.toString("base64"),w=["-----BEGIN "+u.label+"-----"],A=0;A<v.length;A+=64)w.push(v.slice(A,A+64));return w.push("-----END "+u.label+"-----"),w.join(`
+`)},pem$1}var hasRequiredEncoders;function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,function(n){var e=n;e.der=requireDer(),e.pem=requirePem$1()}(encoders)),encoders}var hasRequiredAsn1;function requireAsn1(){return hasRequiredAsn1||(hasRequiredAsn1=1,function(n){var e=n;e.bignum=bnExports$2,e.define=requireApi().define,e.base=requireBase(),e.constants=requireConstants$1(),e.decoders=requireDecoders(),e.encoders=requireEncoders()}(asn1$2)),asn1$2}var asn=requireAsn1(),Time=asn.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),AttributeTypeValue=asn.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),AlgorithmIdentifier$1=asn.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),SubjectPublicKeyInfo=asn.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier$1),this.key("subjectPublicKey").bitstr())}),RelativeDistinguishedName=asn.define("RelativeDistinguishedName",function(){this.setof(AttributeTypeValue)}),RDNSequence=asn.define("RDNSequence",function(){this.seqof(RelativeDistinguishedName)}),Name=asn.define("Name",function(){this.choice({rdnSequence:this.use(RDNSequence)})}),Validity=asn.define("Validity",function(){this.seq().obj(this.key("notBefore").use(Time),this.key("notAfter").use(Time))}),Extension=asn.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),TBSCertificate=asn.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(AlgorithmIdentifier$1),this.key("issuer").use(Name),this.key("validity").use(Validity),this.key("subject").use(Name),this.key("subjectPublicKeyInfo").use(SubjectPublicKeyInfo),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(Extension).optional())}),X509Certificate=asn.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(TBSCertificate),this.key("signatureAlgorithm").use(AlgorithmIdentifier$1),this.key("signatureValue").bitstr())}),certificate$1=X509Certificate,asn1$1=requireAsn1();asn1$3.certificate=certificate$1;var RSAPrivateKey=asn1$1.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});asn1$3.RSAPrivateKey=RSAPrivateKey;var RSAPublicKey=asn1$1.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});asn1$3.RSAPublicKey=RSAPublicKey;var AlgorithmIdentifier=asn1$1.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),PublicKey=asn1$1.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPublicKey").bitstr())});asn1$3.PublicKey=PublicKey;var PrivateKeyInfo=asn1$1.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPrivateKey").octstr())});asn1$3.PrivateKey=PrivateKeyInfo;var EncryptedPrivateKeyInfo=asn1$1.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});asn1$3.EncryptedPrivateKey=EncryptedPrivateKeyInfo;var DSAPrivateKey=asn1$1.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});asn1$3.DSAPrivateKey=DSAPrivateKey,asn1$3.DSAparam=asn1$1.define("DSAparam",function(){this.int()});var ECParameters=asn1$1.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),ECPrivateKey=asn1$1.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(ECParameters),this.key("publicKey").optional().explicit(1).bitstr())});asn1$3.ECPrivateKey=ECPrivateKey,asn1$3.signature=asn1$1.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())});const require$$1$2={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"};var findProc=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,startRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,fullRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,evp=evp_bytestokey,ciphers$1=browser$7,Buffer$7=safeBufferExports$1.Buffer,fixProc$1=function(n,e){var o=n.toString(),l=o.match(findProc),t;if(l){var h="aes"+l[1],v=Buffer$7.from(l[2],"hex"),w=Buffer$7.from(l[3].replace(/[\r\n]/g,""),"base64"),A=evp(e,v.slice(0,8),parseInt(l[1],10)).key,E=[],C=ciphers$1.createDecipheriv(h,A,v);E.push(C.update(w)),E.push(C.final()),t=Buffer$7.concat(E)}else{var u=o.match(fullRegex);t=Buffer$7.from(u[2].replace(/[\r\n]/g,""),"base64")}var M=o.match(startRegex)[1];return{tag:M,data:t}},asn1=asn1$3,aesid=require$$1$2,fixProc=fixProc$1,ciphers=browser$7,compat=browser$9,Buffer$6=safeBufferExports$1.Buffer;function decrypt(n,e){var o=n.algorithm.decrypt.kde.kdeparams.salt,l=parseInt(n.algorithm.decrypt.kde.kdeparams.iters.toString(),10),t=aesid[n.algorithm.decrypt.cipher.algo.join(".")],u=n.algorithm.decrypt.cipher.iv,h=n.subjectPrivateKey,v=parseInt(t.split("-")[1],10)/8,w=compat.pbkdf2Sync(e,o,l,v,"sha1"),A=ciphers.createDecipheriv(t,w,u),E=[];return E.push(A.update(h)),E.push(A.final()),Buffer$6.concat(E)}function parseKeys$2(n){var e;typeof n=="object"&&!Buffer$6.isBuffer(n)&&(e=n.passphrase,n=n.key),typeof n=="string"&&(n=Buffer$6.from(n));var o=fixProc(n,e),l=o.tag,t=o.data,u,h;switch(l){case"CERTIFICATE":h=asn1.certificate.decode(t,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(h||(h=asn1.PublicKey.decode(t,"der")),u=h.algorithm.algorithm.join("."),u){case"1.2.840.113549.1.1.1":return asn1.RSAPublicKey.decode(h.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return h.subjectPrivateKey=h.subjectPublicKey,{type:"ec",data:h};case"1.2.840.10040.4.1":return h.algorithm.params.pub_key=asn1.DSAparam.decode(h.subjectPublicKey.data,"der"),{type:"dsa",data:h.algorithm.params};default:throw new Error("unknown key id "+u)}case"ENCRYPTED PRIVATE KEY":t=asn1.EncryptedPrivateKey.decode(t,"der"),t=decrypt(t,e);case"PRIVATE KEY":switch(h=asn1.PrivateKey.decode(t,"der"),u=h.algorithm.algorithm.join("."),u){case"1.2.840.113549.1.1.1":return asn1.RSAPrivateKey.decode(h.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:h.algorithm.curve,privateKey:asn1.ECPrivateKey.decode(h.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return h.algorithm.params.priv_key=asn1.DSAparam.decode(h.subjectPrivateKey,"der"),{type:"dsa",params:h.algorithm.params};default:throw new Error("unknown key id "+u)}case"RSA PUBLIC KEY":return asn1.RSAPublicKey.decode(t,"der");case"RSA PRIVATE KEY":return asn1.RSAPrivateKey.decode(t,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:asn1.DSAPrivateKey.decode(t,"der")};case"EC PRIVATE KEY":return t=asn1.ECPrivateKey.decode(t,"der"),{curve:t.parameters.value,privateKey:t.privateKey};default:throw new Error("unknown key type "+l)}}parseKeys$2.signature=asn1.signature;var parseAsn1=parseKeys$2;const require$$4$1={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"};var hasRequiredSign;function requireSign(){if(hasRequiredSign)return sign.exports;hasRequiredSign=1;var n=safeBufferExports$1.Buffer,e=browser$a,o=browserifyRsa,l=requireElliptic().ec,t=bnExports$4,u=parseAsn1,h=require$$4$1,v=1;function w(F,N,ee,Z,re){var fe=u(N);if(fe.curve){if(Z!=="ecdsa"&&Z!=="ecdsa/rsa")throw new Error("wrong private key type");return A(F,fe)}else if(fe.type==="dsa"){if(Z!=="dsa")throw new Error("wrong private key type");return E(F,fe,ee)}if(Z!=="rsa"&&Z!=="ecdsa/rsa")throw new Error("wrong private key type");if(N.padding!==void 0&&N.padding!==v)throw new Error("illegal or unsupported padding mode");F=n.concat([re,F]);for(var V=fe.modulus.byteLength(),le=[0,1];F.length+le.length+1<V;)le.push(255);le.push(0);for(var he=-1;++he<F.length;)le.push(F[he]);var ye=o(le,fe);return ye}function A(F,N){var ee=h[N.curve.join(".")];if(!ee)throw new Error("unknown curve "+N.curve.join("."));var Z=new l(ee),re=Z.keyFromPrivate(N.privateKey),fe=re.sign(F);return n.from(fe.toDER())}function E(F,N,ee){for(var Z=N.params.priv_key,re=N.params.p,fe=N.params.q,V=N.params.g,le=new t(0),he,ye=P(F,fe).mod(fe),L=!1,p=M(Z,fe,F,ee);L===!1;)he=j(fe,p,ee),le=B(V,he,re,fe),L=he.invm(fe).imul(ye.add(Z.mul(le))).mod(fe),L.cmpn(0)===0&&(L=!1,le=new t(0));return C(le,L)}function C(F,N){F=F.toArray(),N=N.toArray(),F[0]&128&&(F=[0].concat(F)),N[0]&128&&(N=[0].concat(N));var ee=F.length+N.length+4,Z=[48,ee,2,F.length];return Z=Z.concat(F,[2,N.length],N),n.from(Z)}function M(F,N,ee,Z){if(F=n.from(F.toArray()),F.length<N.byteLength()){var re=n.alloc(N.byteLength()-F.length);F=n.concat([re,F])}var fe=ee.length,V=I(ee,N),le=n.alloc(fe);le.fill(1);var he=n.alloc(fe);return he=e(Z,he).update(le).update(n.from([0])).update(F).update(V).digest(),le=e(Z,he).update(le).digest(),he=e(Z,he).update(le).update(n.from([1])).update(F).update(V).digest(),le=e(Z,he).update(le).digest(),{k:he,v:le}}function P(F,N){var ee=new t(F),Z=(F.length<<3)-N.bitLength();return Z>0&&ee.ishrn(Z),ee}function I(F,N){F=P(F,N),F=F.mod(N);var ee=n.from(F.toArray());if(ee.length<N.byteLength()){var Z=n.alloc(N.byteLength()-ee.length);ee=n.concat([Z,ee])}return ee}function j(F,N,ee){var Z,re;do{for(Z=n.alloc(0);Z.length*8<F.bitLength();)N.v=e(ee,N.k).update(N.v).digest(),Z=n.concat([Z,N.v]);re=P(Z,F),N.k=e(ee,N.k).update(N.v).update(n.from([0])).digest(),N.v=e(ee,N.k).update(N.v).digest()}while(re.cmp(F)!==-1);return re}function B(F,N,ee,Z){return F.toRed(t.mont(ee)).redPow(N).fromRed().mod(Z)}return sign.exports=w,sign.exports.getKey=M,sign.exports.makeKey=j,sign.exports}var verify_1,hasRequiredVerify$1;function requireVerify$1(){if(hasRequiredVerify$1)return verify_1;hasRequiredVerify$1=1;var n=safeBufferExports$1.Buffer,e=bnExports$4,o=requireElliptic().ec,l=parseAsn1,t=require$$4$1;function u(A,E,C,M,P){var I=l(C);if(I.type==="ec"){if(M!=="ecdsa"&&M!=="ecdsa/rsa")throw new Error("wrong public key type");return h(A,E,I)}else if(I.type==="dsa"){if(M!=="dsa")throw new Error("wrong public key type");return v(A,E,I)}if(M!=="rsa"&&M!=="ecdsa/rsa")throw new Error("wrong public key type");E=n.concat([P,E]);for(var j=I.modulus.byteLength(),B=[1],F=0;E.length+B.length+2<j;)B.push(255),F+=1;B.push(0);for(var N=-1;++N<E.length;)B.push(E[N]);B=n.from(B);var ee=e.mont(I.modulus);A=new e(A).toRed(ee),A=A.redPow(new e(I.publicExponent)),A=n.from(A.fromRed().toArray());var Z=F<8?1:0;for(j=Math.min(A.length,B.length),A.length!==B.length&&(Z=1),N=-1;++N<j;)Z|=A[N]^B[N];return Z===0}function h(A,E,C){var M=t[C.data.algorithm.curve.join(".")];if(!M)throw new Error("unknown curve "+C.data.algorithm.curve.join("."));var P=new o(M),I=C.data.subjectPrivateKey.data;return P.verify(E,A,I)}function v(A,E,C){var M=C.data.p,P=C.data.q,I=C.data.g,j=C.data.pub_key,B=l.signature.decode(A,"der"),F=B.s,N=B.r;w(F,P),w(N,P);var ee=e.mont(M),Z=F.invm(P),re=I.toRed(ee).redPow(new e(E).mul(Z).mod(P)).fromRed().mul(j.toRed(ee).redPow(N.mul(Z).mod(P)).fromRed()).mod(M).mod(P);return re.cmp(N)===0}function w(A,E){if(A.cmpn(0)<=0)throw new Error("invalid sig");if(A.cmp(E)>=0)throw new Error("invalid sig")}return verify_1=u,verify_1}var browser$5,hasRequiredBrowser$3;function requireBrowser$3(){if(hasRequiredBrowser$3)return browser$5;hasRequiredBrowser$3=1;var n=safeBufferExports$1.Buffer,e=browser$b,o=readableBrowserExports,l=inherits_browserExports,t=requireSign(),u=requireVerify$1(),h=require$$6$1;Object.keys(h).forEach(function(C){h[C].id=n.from(h[C].id,"hex"),h[C.toLowerCase()]=h[C]});function v(C){o.Writable.call(this);var M=h[C];if(!M)throw new Error("Unknown message digest");this._hashType=M.hash,this._hash=e(M.hash),this._tag=M.id,this._signType=M.sign}l(v,o.Writable),v.prototype._write=function(M,P,I){this._hash.update(M),I()},v.prototype.update=function(M,P){return this._hash.update(typeof M=="string"?n.from(M,P):M),this},v.prototype.sign=function(M,P){this.end();var I=this._hash.digest(),j=t(I,M,this._hashType,this._signType,this._tag);return P?j.toString(P):j};function w(C){o.Writable.call(this);var M=h[C];if(!M)throw new Error("Unknown message digest");this._hash=e(M.hash),this._tag=M.id,this._signType=M.sign}l(w,o.Writable),w.prototype._write=function(M,P,I){this._hash.update(M),I()},w.prototype.update=function(M,P){return this._hash.update(typeof M=="string"?n.from(M,P):M),this},w.prototype.verify=function(M,P,I){var j=typeof P=="string"?n.from(P,I):P;this.end();var B=this._hash.digest();return u(j,B,M,this._signType,this._tag)};function A(C){return new v(C)}function E(C){return new w(C)}return browser$5={Sign:A,Verify:E,createSign:A,createVerify:E},browser$5}var bn$1={exports:{}};bn$1.exports,function(n){(function(e,o){function l(L,p){if(!L)throw new Error(p||"Assertion failed")}function t(L,p){L.super_=p;var y=function(){};y.prototype=p.prototype,L.prototype=new y,L.prototype.constructor=L}function u(L,p,y){if(u.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((p==="le"||p==="be")&&(y=p,p=10),this._init(L||0,p||10,y||"be"))}typeof e=="object"?e.exports=u:o.BN=u,u.BN=u,u.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=require$$0$2.Buffer}catch{}u.isBN=function(p){return p instanceof u?!0:p!==null&&typeof p=="object"&&p.constructor.wordSize===u.wordSize&&Array.isArray(p.words)},u.max=function(p,y){return p.cmp(y)>0?p:y},u.min=function(p,y){return p.cmp(y)<0?p:y},u.prototype._init=function(p,y,S){if(typeof p=="number")return this._initNumber(p,y,S);if(typeof p=="object")return this._initArray(p,y,S);y==="hex"&&(y=16),l(y===(y|0)&&y>=2&&y<=36),p=p.toString().replace(/\s+/g,"");var c=0;p[0]==="-"&&(c++,this.negative=1),c<p.length&&(y===16?this._parseHex(p,c,S):(this._parseBase(p,y,c),S==="le"&&this._initArray(this.toArray(),y,S)))},u.prototype._initNumber=function(p,y,S){p<0&&(this.negative=1,p=-p),p<67108864?(this.words=[p&67108863],this.length=1):p<4503599627370496?(this.words=[p&67108863,p/67108864&67108863],this.length=2):(l(p<9007199254740992),this.words=[p&67108863,p/67108864&67108863,1],this.length=3),S==="le"&&this._initArray(this.toArray(),y,S)},u.prototype._initArray=function(p,y,S){if(l(typeof p.length=="number"),p.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(p.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m,x,T=0;if(S==="be")for(c=p.length-1,m=0;c>=0;c-=3)x=p[c]|p[c-1]<<8|p[c-2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);else if(S==="le")for(c=0,m=0;c<p.length;c+=3)x=p[c]|p[c+1]<<8|p[c+2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);return this.strip()};function v(L,p){var y=L.charCodeAt(p);return y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:y-48&15}function w(L,p,y){var S=v(L,y);return y-1>=p&&(S|=v(L,y-1)<<4),S}u.prototype._parseHex=function(p,y,S){this.length=Math.ceil((p.length-y)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m=0,x=0,T;if(S==="be")for(c=p.length-1;c>=y;c-=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8;else{var b=p.length-y;for(c=b%2===0?y+1:y;c<p.length;c+=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8}this.strip()};function A(L,p,y,S){for(var c=0,m=Math.min(L.length,y),x=p;x<m;x++){var T=L.charCodeAt(x)-48;c*=S,T>=49?c+=T-49+10:T>=17?c+=T-17+10:c+=T}return c}u.prototype._parseBase=function(p,y,S){this.words=[0],this.length=1;for(var c=0,m=1;m<=67108863;m*=y)c++;c--,m=m/y|0;for(var x=p.length-S,T=x%c,b=Math.min(x,x-T)+S,d=0,k=S;k<b;k+=c)d=A(p,k,k+c,y),this.imuln(m),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(T!==0){var D=1;for(d=A(p,k,p.length,y),k=0;k<T;k++)D*=y;this.imuln(D),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}this.strip()},u.prototype.copy=function(p){p.words=new Array(this.length);for(var y=0;y<this.length;y++)p.words[y]=this.words[y];p.length=this.length,p.negative=this.negative,p.red=this.red},u.prototype.clone=function(){var p=new u(null);return this.copy(p),p},u.prototype._expand=function(p){for(;this.length<p;)this.words[this.length++]=0;return this},u.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},u.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},u.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],C=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],M=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];u.prototype.toString=function(p,y){p=p||10,y=y|0||1;var S;if(p===16||p==="hex"){S="";for(var c=0,m=0,x=0;x<this.length;x++){var T=this.words[x],b=((T<<c|m)&16777215).toString(16);m=T>>>24-c&16777215,m!==0||x!==this.length-1?S=E[6-b.length]+b+S:S=b+S,c+=2,c>=26&&(c-=26,x--)}for(m!==0&&(S=m.toString(16)+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(p===(p|0)&&p>=2&&p<=36){var d=C[p],k=M[p];S="";var D=this.clone();for(D.negative=0;!D.isZero();){var O=D.modn(k).toString(p);D=D.idivn(k),D.isZero()?S=O+S:S=E[d-O.length]+O+S}for(this.isZero()&&(S="0"+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}l(!1,"Base should be between 2 and 36")},u.prototype.toNumber=function(){var p=this.words[0];return this.length===2?p+=this.words[1]*67108864:this.length===3&&this.words[2]===1?p+=4503599627370496+this.words[1]*67108864:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-p:p},u.prototype.toJSON=function(){return this.toString(16)},u.prototype.toBuffer=function(p,y){return l(typeof h<"u"),this.toArrayLike(h,p,y)},u.prototype.toArray=function(p,y){return this.toArrayLike(Array,p,y)},u.prototype.toArrayLike=function(p,y,S){var c=this.byteLength(),m=S||Math.max(1,c);l(c<=m,"byte array longer than desired length"),l(m>0,"Requested array length <= 0"),this.strip();var x=y==="le",T=new p(m),b,d,k=this.clone();if(x){for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[d]=b;for(;d<m;d++)T[d]=0}else{for(d=0;d<m-c;d++)T[d]=0;for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[m-d-1]=b}return T},Math.clz32?u.prototype._countBits=function(p){return 32-Math.clz32(p)}:u.prototype._countBits=function(p){var y=p,S=0;return y>=4096&&(S+=13,y>>>=13),y>=64&&(S+=7,y>>>=7),y>=8&&(S+=4,y>>>=4),y>=2&&(S+=2,y>>>=2),S+y},u.prototype._zeroBits=function(p){if(p===0)return 26;var y=p,S=0;return y&8191||(S+=13,y>>>=13),y&127||(S+=7,y>>>=7),y&15||(S+=4,y>>>=4),y&3||(S+=2,y>>>=2),y&1||S++,S},u.prototype.bitLength=function(){var p=this.words[this.length-1],y=this._countBits(p);return(this.length-1)*26+y};function P(L){for(var p=new Array(L.bitLength()),y=0;y<p.length;y++){var S=y/26|0,c=y%26;p[y]=(L.words[S]&1<<c)>>>c}return p}u.prototype.zeroBits=function(){if(this.isZero())return 0;for(var p=0,y=0;y<this.length;y++){var S=this._zeroBits(this.words[y]);if(p+=S,S!==26)break}return p},u.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},u.prototype.toTwos=function(p){return this.negative!==0?this.abs().inotn(p).iaddn(1):this.clone()},u.prototype.fromTwos=function(p){return this.testn(p-1)?this.notn(p).iaddn(1).ineg():this.clone()},u.prototype.isNeg=function(){return this.negative!==0},u.prototype.neg=function(){return this.clone().ineg()},u.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},u.prototype.iuor=function(p){for(;this.length<p.length;)this.words[this.length++]=0;for(var y=0;y<p.length;y++)this.words[y]=this.words[y]|p.words[y];return this.strip()},u.prototype.ior=function(p){return l((this.negative|p.negative)===0),this.iuor(p)},u.prototype.or=function(p){return this.length>p.length?this.clone().ior(p):p.clone().ior(this)},u.prototype.uor=function(p){return this.length>p.length?this.clone().iuor(p):p.clone().iuor(this)},u.prototype.iuand=function(p){var y;this.length>p.length?y=p:y=this;for(var S=0;S<y.length;S++)this.words[S]=this.words[S]&p.words[S];return this.length=y.length,this.strip()},u.prototype.iand=function(p){return l((this.negative|p.negative)===0),this.iuand(p)},u.prototype.and=function(p){return this.length>p.length?this.clone().iand(p):p.clone().iand(this)},u.prototype.uand=function(p){return this.length>p.length?this.clone().iuand(p):p.clone().iuand(this)},u.prototype.iuxor=function(p){var y,S;this.length>p.length?(y=this,S=p):(y=p,S=this);for(var c=0;c<S.length;c++)this.words[c]=y.words[c]^S.words[c];if(this!==y)for(;c<y.length;c++)this.words[c]=y.words[c];return this.length=y.length,this.strip()},u.prototype.ixor=function(p){return l((this.negative|p.negative)===0),this.iuxor(p)},u.prototype.xor=function(p){return this.length>p.length?this.clone().ixor(p):p.clone().ixor(this)},u.prototype.uxor=function(p){return this.length>p.length?this.clone().iuxor(p):p.clone().iuxor(this)},u.prototype.inotn=function(p){l(typeof p=="number"&&p>=0);var y=Math.ceil(p/26)|0,S=p%26;this._expand(y),S>0&&y--;for(var c=0;c<y;c++)this.words[c]=~this.words[c]&67108863;return S>0&&(this.words[c]=~this.words[c]&67108863>>26-S),this.strip()},u.prototype.notn=function(p){return this.clone().inotn(p)},u.prototype.setn=function(p,y){l(typeof p=="number"&&p>=0);var S=p/26|0,c=p%26;return this._expand(S+1),y?this.words[S]=this.words[S]|1<<c:this.words[S]=this.words[S]&~(1<<c),this.strip()},u.prototype.iadd=function(p){var y;if(this.negative!==0&&p.negative===0)return this.negative=0,y=this.isub(p),this.negative^=1,this._normSign();if(this.negative===0&&p.negative!==0)return p.negative=0,y=this.isub(p),p.negative=1,y._normSign();var S,c;this.length>p.length?(S=this,c=p):(S=p,c=this);for(var m=0,x=0;x<c.length;x++)y=(S.words[x]|0)+(c.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;for(;m!==0&&x<S.length;x++)y=(S.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;if(this.length=S.length,m!==0)this.words[this.length]=m,this.length++;else if(S!==this)for(;x<S.length;x++)this.words[x]=S.words[x];return this},u.prototype.add=function(p){var y;return p.negative!==0&&this.negative===0?(p.negative=0,y=this.sub(p),p.negative^=1,y):p.negative===0&&this.negative!==0?(this.negative=0,y=p.sub(this),this.negative=1,y):this.length>p.length?this.clone().iadd(p):p.clone().iadd(this)},u.prototype.isub=function(p){if(p.negative!==0){p.negative=0;var y=this.iadd(p);return p.negative=1,y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(p),this.negative=1,this._normSign();var S=this.cmp(p);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,m;S>0?(c=this,m=p):(c=p,m=this);for(var x=0,T=0;T<m.length;T++)y=(c.words[T]|0)-(m.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;for(;x!==0&&T<c.length;T++)y=(c.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;if(x===0&&T<c.length&&c!==this)for(;T<c.length;T++)this.words[T]=c.words[T];return this.length=Math.max(this.length,T),c!==this&&(this.negative=1),this.strip()},u.prototype.sub=function(p){return this.clone().isub(p)};function I(L,p,y){y.negative=p.negative^L.negative;var S=L.length+p.length|0;y.length=S,S=S-1|0;var c=L.words[0]|0,m=p.words[0]|0,x=c*m,T=x&67108863,b=x/67108864|0;y.words[0]=T;for(var d=1;d<S;d++){for(var k=b>>>26,D=b&67108863,O=Math.min(d,p.length-1),Q=Math.max(0,d-L.length+1);Q<=O;Q++){var J=d-Q|0;c=L.words[J]|0,m=p.words[Q]|0,x=c*m+D,k+=x/67108864|0,D=x&67108863}y.words[d]=D|0,b=k|0}return b!==0?y.words[d]=b|0:y.length--,y.strip()}var j=function(p,y,S){var c=p.words,m=y.words,x=S.words,T=0,b,d,k,D=c[0]|0,O=D&8191,Q=D>>>13,J=c[1]|0,X=J&8191,U=J>>>13,z=c[2]|0,ie=z&8191,de=z>>>13,me=c[3]|0,pe=me&8191,qe=me>>>13,mt=c[4]|0,st=mt&8191,dt=mt>>>13,Tt=c[5]|0,lt=Tt&8191,Je=Tt>>>13,ht=c[6]|0,at=ht&8191,bt=ht>>>13,jt=c[7]|0,Ge=jt&8191,Qe=jt>>>13,Wt=c[8]|0,Et=Wt&8191,Ct=Wt>>>13,Kt=c[9]|0,Me=Kt&8191,te=Kt>>>13,_e=m[0]|0,je=_e&8191,We=_e>>>13,et=m[1]|0,Ye=et&8191,De=et>>>13,Ht=m[2]|0,Mt=Ht&8191,ge=Ht>>>13,Dt=m[3]|0,yt=Dt&8191,Ne=Dt>>>13,_t=m[4]|0,pt=_t&8191,Bt=_t>>>13,ur=m[5]|0,kt=ur&8191,Ut=ur>>>13,Wr=m[6]|0,zt=Wr&8191,Qt=Wr>>>13,$e=m[7]|0,be=$e&8191,ve=$e>>>13,se=m[8]|0,Pe=se&8191,ze=se>>>13,xt=m[9]|0,ot=xt&8191,wt=xt>>>13;S.negative=p.negative^y.negative,S.length=19,b=Math.imul(O,je),d=Math.imul(O,We),d=d+Math.imul(Q,je)|0,k=Math.imul(Q,We);var Yt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,b=Math.imul(X,je),d=Math.imul(X,We),d=d+Math.imul(U,je)|0,k=Math.imul(U,We),b=b+Math.imul(O,Ye)|0,d=d+Math.imul(O,De)|0,d=d+Math.imul(Q,Ye)|0,k=k+Math.imul(Q,De)|0;var Jt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,b=Math.imul(ie,je),d=Math.imul(ie,We),d=d+Math.imul(de,je)|0,k=Math.imul(de,We),b=b+Math.imul(X,Ye)|0,d=d+Math.imul(X,De)|0,d=d+Math.imul(U,Ye)|0,k=k+Math.imul(U,De)|0,b=b+Math.imul(O,Mt)|0,d=d+Math.imul(O,ge)|0,d=d+Math.imul(Q,Mt)|0,k=k+Math.imul(Q,ge)|0;var wr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(wr>>>26)|0,wr&=67108863,b=Math.imul(pe,je),d=Math.imul(pe,We),d=d+Math.imul(qe,je)|0,k=Math.imul(qe,We),b=b+Math.imul(ie,Ye)|0,d=d+Math.imul(ie,De)|0,d=d+Math.imul(de,Ye)|0,k=k+Math.imul(de,De)|0,b=b+Math.imul(X,Mt)|0,d=d+Math.imul(X,ge)|0,d=d+Math.imul(U,Mt)|0,k=k+Math.imul(U,ge)|0,b=b+Math.imul(O,yt)|0,d=d+Math.imul(O,Ne)|0,d=d+Math.imul(Q,yt)|0,k=k+Math.imul(Q,Ne)|0;var lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(lr>>>26)|0,lr&=67108863,b=Math.imul(st,je),d=Math.imul(st,We),d=d+Math.imul(dt,je)|0,k=Math.imul(dt,We),b=b+Math.imul(pe,Ye)|0,d=d+Math.imul(pe,De)|0,d=d+Math.imul(qe,Ye)|0,k=k+Math.imul(qe,De)|0,b=b+Math.imul(ie,Mt)|0,d=d+Math.imul(ie,ge)|0,d=d+Math.imul(de,Mt)|0,k=k+Math.imul(de,ge)|0,b=b+Math.imul(X,yt)|0,d=d+Math.imul(X,Ne)|0,d=d+Math.imul(U,yt)|0,k=k+Math.imul(U,Ne)|0,b=b+Math.imul(O,pt)|0,d=d+Math.imul(O,Bt)|0,d=d+Math.imul(Q,pt)|0,k=k+Math.imul(Q,Bt)|0;var Rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Rr>>>26)|0,Rr&=67108863,b=Math.imul(lt,je),d=Math.imul(lt,We),d=d+Math.imul(Je,je)|0,k=Math.imul(Je,We),b=b+Math.imul(st,Ye)|0,d=d+Math.imul(st,De)|0,d=d+Math.imul(dt,Ye)|0,k=k+Math.imul(dt,De)|0,b=b+Math.imul(pe,Mt)|0,d=d+Math.imul(pe,ge)|0,d=d+Math.imul(qe,Mt)|0,k=k+Math.imul(qe,ge)|0,b=b+Math.imul(ie,yt)|0,d=d+Math.imul(ie,Ne)|0,d=d+Math.imul(de,yt)|0,k=k+Math.imul(de,Ne)|0,b=b+Math.imul(X,pt)|0,d=d+Math.imul(X,Bt)|0,d=d+Math.imul(U,pt)|0,k=k+Math.imul(U,Bt)|0,b=b+Math.imul(O,kt)|0,d=d+Math.imul(O,Ut)|0,d=d+Math.imul(Q,kt)|0,k=k+Math.imul(Q,Ut)|0;var vr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(vr>>>26)|0,vr&=67108863,b=Math.imul(at,je),d=Math.imul(at,We),d=d+Math.imul(bt,je)|0,k=Math.imul(bt,We),b=b+Math.imul(lt,Ye)|0,d=d+Math.imul(lt,De)|0,d=d+Math.imul(Je,Ye)|0,k=k+Math.imul(Je,De)|0,b=b+Math.imul(st,Mt)|0,d=d+Math.imul(st,ge)|0,d=d+Math.imul(dt,Mt)|0,k=k+Math.imul(dt,ge)|0,b=b+Math.imul(pe,yt)|0,d=d+Math.imul(pe,Ne)|0,d=d+Math.imul(qe,yt)|0,k=k+Math.imul(qe,Ne)|0,b=b+Math.imul(ie,pt)|0,d=d+Math.imul(ie,Bt)|0,d=d+Math.imul(de,pt)|0,k=k+Math.imul(de,Bt)|0,b=b+Math.imul(X,kt)|0,d=d+Math.imul(X,Ut)|0,d=d+Math.imul(U,kt)|0,k=k+Math.imul(U,Ut)|0,b=b+Math.imul(O,zt)|0,d=d+Math.imul(O,Qt)|0,d=d+Math.imul(Q,zt)|0,k=k+Math.imul(Q,Qt)|0;var dr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(dr>>>26)|0,dr&=67108863,b=Math.imul(Ge,je),d=Math.imul(Ge,We),d=d+Math.imul(Qe,je)|0,k=Math.imul(Qe,We),b=b+Math.imul(at,Ye)|0,d=d+Math.imul(at,De)|0,d=d+Math.imul(bt,Ye)|0,k=k+Math.imul(bt,De)|0,b=b+Math.imul(lt,Mt)|0,d=d+Math.imul(lt,ge)|0,d=d+Math.imul(Je,Mt)|0,k=k+Math.imul(Je,ge)|0,b=b+Math.imul(st,yt)|0,d=d+Math.imul(st,Ne)|0,d=d+Math.imul(dt,yt)|0,k=k+Math.imul(dt,Ne)|0,b=b+Math.imul(pe,pt)|0,d=d+Math.imul(pe,Bt)|0,d=d+Math.imul(qe,pt)|0,k=k+Math.imul(qe,Bt)|0,b=b+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ut)|0,d=d+Math.imul(de,kt)|0,k=k+Math.imul(de,Ut)|0,b=b+Math.imul(X,zt)|0,d=d+Math.imul(X,Qt)|0,d=d+Math.imul(U,zt)|0,k=k+Math.imul(U,Qt)|0,b=b+Math.imul(O,be)|0,d=d+Math.imul(O,ve)|0,d=d+Math.imul(Q,be)|0,k=k+Math.imul(Q,ve)|0;var Ir=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,b=Math.imul(Et,je),d=Math.imul(Et,We),d=d+Math.imul(Ct,je)|0,k=Math.imul(Ct,We),b=b+Math.imul(Ge,Ye)|0,d=d+Math.imul(Ge,De)|0,d=d+Math.imul(Qe,Ye)|0,k=k+Math.imul(Qe,De)|0,b=b+Math.imul(at,Mt)|0,d=d+Math.imul(at,ge)|0,d=d+Math.imul(bt,Mt)|0,k=k+Math.imul(bt,ge)|0,b=b+Math.imul(lt,yt)|0,d=d+Math.imul(lt,Ne)|0,d=d+Math.imul(Je,yt)|0,k=k+Math.imul(Je,Ne)|0,b=b+Math.imul(st,pt)|0,d=d+Math.imul(st,Bt)|0,d=d+Math.imul(dt,pt)|0,k=k+Math.imul(dt,Bt)|0,b=b+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ut)|0,d=d+Math.imul(qe,kt)|0,k=k+Math.imul(qe,Ut)|0,b=b+Math.imul(ie,zt)|0,d=d+Math.imul(ie,Qt)|0,d=d+Math.imul(de,zt)|0,k=k+Math.imul(de,Qt)|0,b=b+Math.imul(X,be)|0,d=d+Math.imul(X,ve)|0,d=d+Math.imul(U,be)|0,k=k+Math.imul(U,ve)|0,b=b+Math.imul(O,Pe)|0,d=d+Math.imul(O,ze)|0,d=d+Math.imul(Q,Pe)|0,k=k+Math.imul(Q,ze)|0;var kr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(kr>>>26)|0,kr&=67108863,b=Math.imul(Me,je),d=Math.imul(Me,We),d=d+Math.imul(te,je)|0,k=Math.imul(te,We),b=b+Math.imul(Et,Ye)|0,d=d+Math.imul(Et,De)|0,d=d+Math.imul(Ct,Ye)|0,k=k+Math.imul(Ct,De)|0,b=b+Math.imul(Ge,Mt)|0,d=d+Math.imul(Ge,ge)|0,d=d+Math.imul(Qe,Mt)|0,k=k+Math.imul(Qe,ge)|0,b=b+Math.imul(at,yt)|0,d=d+Math.imul(at,Ne)|0,d=d+Math.imul(bt,yt)|0,k=k+Math.imul(bt,Ne)|0,b=b+Math.imul(lt,pt)|0,d=d+Math.imul(lt,Bt)|0,d=d+Math.imul(Je,pt)|0,k=k+Math.imul(Je,Bt)|0,b=b+Math.imul(st,kt)|0,d=d+Math.imul(st,Ut)|0,d=d+Math.imul(dt,kt)|0,k=k+Math.imul(dt,Ut)|0,b=b+Math.imul(pe,zt)|0,d=d+Math.imul(pe,Qt)|0,d=d+Math.imul(qe,zt)|0,k=k+Math.imul(qe,Qt)|0,b=b+Math.imul(ie,be)|0,d=d+Math.imul(ie,ve)|0,d=d+Math.imul(de,be)|0,k=k+Math.imul(de,ve)|0,b=b+Math.imul(X,Pe)|0,d=d+Math.imul(X,ze)|0,d=d+Math.imul(U,Pe)|0,k=k+Math.imul(U,ze)|0,b=b+Math.imul(O,ot)|0,d=d+Math.imul(O,wt)|0,d=d+Math.imul(Q,ot)|0,k=k+Math.imul(Q,wt)|0;var Fr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Fr>>>26)|0,Fr&=67108863,b=Math.imul(Me,Ye),d=Math.imul(Me,De),d=d+Math.imul(te,Ye)|0,k=Math.imul(te,De),b=b+Math.imul(Et,Mt)|0,d=d+Math.imul(Et,ge)|0,d=d+Math.imul(Ct,Mt)|0,k=k+Math.imul(Ct,ge)|0,b=b+Math.imul(Ge,yt)|0,d=d+Math.imul(Ge,Ne)|0,d=d+Math.imul(Qe,yt)|0,k=k+Math.imul(Qe,Ne)|0,b=b+Math.imul(at,pt)|0,d=d+Math.imul(at,Bt)|0,d=d+Math.imul(bt,pt)|0,k=k+Math.imul(bt,Bt)|0,b=b+Math.imul(lt,kt)|0,d=d+Math.imul(lt,Ut)|0,d=d+Math.imul(Je,kt)|0,k=k+Math.imul(Je,Ut)|0,b=b+Math.imul(st,zt)|0,d=d+Math.imul(st,Qt)|0,d=d+Math.imul(dt,zt)|0,k=k+Math.imul(dt,Qt)|0,b=b+Math.imul(pe,be)|0,d=d+Math.imul(pe,ve)|0,d=d+Math.imul(qe,be)|0,k=k+Math.imul(qe,ve)|0,b=b+Math.imul(ie,Pe)|0,d=d+Math.imul(ie,ze)|0,d=d+Math.imul(de,Pe)|0,k=k+Math.imul(de,ze)|0,b=b+Math.imul(X,ot)|0,d=d+Math.imul(X,wt)|0,d=d+Math.imul(U,ot)|0,k=k+Math.imul(U,wt)|0;var jr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(jr>>>26)|0,jr&=67108863,b=Math.imul(Me,Mt),d=Math.imul(Me,ge),d=d+Math.imul(te,Mt)|0,k=Math.imul(te,ge),b=b+Math.imul(Et,yt)|0,d=d+Math.imul(Et,Ne)|0,d=d+Math.imul(Ct,yt)|0,k=k+Math.imul(Ct,Ne)|0,b=b+Math.imul(Ge,pt)|0,d=d+Math.imul(Ge,Bt)|0,d=d+Math.imul(Qe,pt)|0,k=k+Math.imul(Qe,Bt)|0,b=b+Math.imul(at,kt)|0,d=d+Math.imul(at,Ut)|0,d=d+Math.imul(bt,kt)|0,k=k+Math.imul(bt,Ut)|0,b=b+Math.imul(lt,zt)|0,d=d+Math.imul(lt,Qt)|0,d=d+Math.imul(Je,zt)|0,k=k+Math.imul(Je,Qt)|0,b=b+Math.imul(st,be)|0,d=d+Math.imul(st,ve)|0,d=d+Math.imul(dt,be)|0,k=k+Math.imul(dt,ve)|0,b=b+Math.imul(pe,Pe)|0,d=d+Math.imul(pe,ze)|0,d=d+Math.imul(qe,Pe)|0,k=k+Math.imul(qe,ze)|0,b=b+Math.imul(ie,ot)|0,d=d+Math.imul(ie,wt)|0,d=d+Math.imul(de,ot)|0,k=k+Math.imul(de,wt)|0;var Cr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,b=Math.imul(Me,yt),d=Math.imul(Me,Ne),d=d+Math.imul(te,yt)|0,k=Math.imul(te,Ne),b=b+Math.imul(Et,pt)|0,d=d+Math.imul(Et,Bt)|0,d=d+Math.imul(Ct,pt)|0,k=k+Math.imul(Ct,Bt)|0,b=b+Math.imul(Ge,kt)|0,d=d+Math.imul(Ge,Ut)|0,d=d+Math.imul(Qe,kt)|0,k=k+Math.imul(Qe,Ut)|0,b=b+Math.imul(at,zt)|0,d=d+Math.imul(at,Qt)|0,d=d+Math.imul(bt,zt)|0,k=k+Math.imul(bt,Qt)|0,b=b+Math.imul(lt,be)|0,d=d+Math.imul(lt,ve)|0,d=d+Math.imul(Je,be)|0,k=k+Math.imul(Je,ve)|0,b=b+Math.imul(st,Pe)|0,d=d+Math.imul(st,ze)|0,d=d+Math.imul(dt,Pe)|0,k=k+Math.imul(dt,ze)|0,b=b+Math.imul(pe,ot)|0,d=d+Math.imul(pe,wt)|0,d=d+Math.imul(qe,ot)|0,k=k+Math.imul(qe,wt)|0;var Lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,b=Math.imul(Me,pt),d=Math.imul(Me,Bt),d=d+Math.imul(te,pt)|0,k=Math.imul(te,Bt),b=b+Math.imul(Et,kt)|0,d=d+Math.imul(Et,Ut)|0,d=d+Math.imul(Ct,kt)|0,k=k+Math.imul(Ct,Ut)|0,b=b+Math.imul(Ge,zt)|0,d=d+Math.imul(Ge,Qt)|0,d=d+Math.imul(Qe,zt)|0,k=k+Math.imul(Qe,Qt)|0,b=b+Math.imul(at,be)|0,d=d+Math.imul(at,ve)|0,d=d+Math.imul(bt,be)|0,k=k+Math.imul(bt,ve)|0,b=b+Math.imul(lt,Pe)|0,d=d+Math.imul(lt,ze)|0,d=d+Math.imul(Je,Pe)|0,k=k+Math.imul(Je,ze)|0,b=b+Math.imul(st,ot)|0,d=d+Math.imul(st,wt)|0,d=d+Math.imul(dt,ot)|0,k=k+Math.imul(dt,wt)|0;var Ar=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,b=Math.imul(Me,kt),d=Math.imul(Me,Ut),d=d+Math.imul(te,kt)|0,k=Math.imul(te,Ut),b=b+Math.imul(Et,zt)|0,d=d+Math.imul(Et,Qt)|0,d=d+Math.imul(Ct,zt)|0,k=k+Math.imul(Ct,Qt)|0,b=b+Math.imul(Ge,be)|0,d=d+Math.imul(Ge,ve)|0,d=d+Math.imul(Qe,be)|0,k=k+Math.imul(Qe,ve)|0,b=b+Math.imul(at,Pe)|0,d=d+Math.imul(at,ze)|0,d=d+Math.imul(bt,Pe)|0,k=k+Math.imul(bt,ze)|0,b=b+Math.imul(lt,ot)|0,d=d+Math.imul(lt,wt)|0,d=d+Math.imul(Je,ot)|0,k=k+Math.imul(Je,wt)|0;var Tr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,b=Math.imul(Me,zt),d=Math.imul(Me,Qt),d=d+Math.imul(te,zt)|0,k=Math.imul(te,Qt),b=b+Math.imul(Et,be)|0,d=d+Math.imul(Et,ve)|0,d=d+Math.imul(Ct,be)|0,k=k+Math.imul(Ct,ve)|0,b=b+Math.imul(Ge,Pe)|0,d=d+Math.imul(Ge,ze)|0,d=d+Math.imul(Qe,Pe)|0,k=k+Math.imul(Qe,ze)|0,b=b+Math.imul(at,ot)|0,d=d+Math.imul(at,wt)|0,d=d+Math.imul(bt,ot)|0,k=k+Math.imul(bt,wt)|0;var Sr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,b=Math.imul(Me,be),d=Math.imul(Me,ve),d=d+Math.imul(te,be)|0,k=Math.imul(te,ve),b=b+Math.imul(Et,Pe)|0,d=d+Math.imul(Et,ze)|0,d=d+Math.imul(Ct,Pe)|0,k=k+Math.imul(Ct,ze)|0,b=b+Math.imul(Ge,ot)|0,d=d+Math.imul(Ge,wt)|0,d=d+Math.imul(Qe,ot)|0,k=k+Math.imul(Qe,wt)|0;var rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(rr>>>26)|0,rr&=67108863,b=Math.imul(Me,Pe),d=Math.imul(Me,ze),d=d+Math.imul(te,Pe)|0,k=Math.imul(te,ze),b=b+Math.imul(Et,ot)|0,d=d+Math.imul(Et,wt)|0,d=d+Math.imul(Ct,ot)|0,k=k+Math.imul(Ct,wt)|0;var Nt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,b=Math.imul(Me,ot),d=Math.imul(Me,wt),d=d+Math.imul(te,ot)|0,k=Math.imul(te,wt);var Gt=(T+b|0)+((d&8191)<<13)|0;return T=(k+(d>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,x[0]=Yt,x[1]=Jt,x[2]=wr,x[3]=lr,x[4]=Rr,x[5]=vr,x[6]=dr,x[7]=Ir,x[8]=kr,x[9]=Fr,x[10]=jr,x[11]=Cr,x[12]=Lr,x[13]=Ar,x[14]=Tr,x[15]=Sr,x[16]=rr,x[17]=Nt,x[18]=Gt,T!==0&&(x[19]=T,S.length++),S};Math.imul||(j=I);function B(L,p,y){y.negative=p.negative^L.negative,y.length=L.length+p.length;for(var S=0,c=0,m=0;m<y.length-1;m++){var x=c;c=0;for(var T=S&67108863,b=Math.min(m,p.length-1),d=Math.max(0,m-L.length+1);d<=b;d++){var k=m-d,D=L.words[k]|0,O=p.words[d]|0,Q=D*O,J=Q&67108863;x=x+(Q/67108864|0)|0,J=J+T|0,T=J&67108863,x=x+(J>>>26)|0,c+=x>>>26,x&=67108863}y.words[m]=T,S=x,x=c}return S!==0?y.words[m]=S:y.length--,y.strip()}function F(L,p,y){var S=new N;return S.mulp(L,p,y)}u.prototype.mulTo=function(p,y){var S,c=this.length+p.length;return this.length===10&&p.length===10?S=j(this,p,y):c<63?S=I(this,p,y):c<1024?S=B(this,p,y):S=F(this,p,y),S};function N(L,p){this.x=L,this.y=p}N.prototype.makeRBT=function(p){for(var y=new Array(p),S=u.prototype._countBits(p)-1,c=0;c<p;c++)y[c]=this.revBin(c,S,p);return y},N.prototype.revBin=function(p,y,S){if(p===0||p===S-1)return p;for(var c=0,m=0;m<y;m++)c|=(p&1)<<y-m-1,p>>=1;return c},N.prototype.permute=function(p,y,S,c,m,x){for(var T=0;T<x;T++)c[T]=y[p[T]],m[T]=S[p[T]]},N.prototype.transform=function(p,y,S,c,m,x){this.permute(x,p,y,S,c,m);for(var T=1;T<m;T<<=1)for(var b=T<<1,d=Math.cos(2*Math.PI/b),k=Math.sin(2*Math.PI/b),D=0;D<m;D+=b)for(var O=d,Q=k,J=0;J<T;J++){var X=S[D+J],U=c[D+J],z=S[D+J+T],ie=c[D+J+T],de=O*z-Q*ie;ie=O*ie+Q*z,z=de,S[D+J]=X+z,c[D+J]=U+ie,S[D+J+T]=X-z,c[D+J+T]=U-ie,J!==b&&(de=d*O-k*Q,Q=d*Q+k*O,O=de)}},N.prototype.guessLen13b=function(p,y){var S=Math.max(y,p)|1,c=S&1,m=0;for(S=S/2|0;S;S=S>>>1)m++;return 1<<m+1+c},N.prototype.conjugate=function(p,y,S){if(!(S<=1))for(var c=0;c<S/2;c++){var m=p[c];p[c]=p[S-c-1],p[S-c-1]=m,m=y[c],y[c]=-y[S-c-1],y[S-c-1]=-m}},N.prototype.normalize13b=function(p,y){for(var S=0,c=0;c<y/2;c++){var m=Math.round(p[2*c+1]/y)*8192+Math.round(p[2*c]/y)+S;p[c]=m&67108863,m<67108864?S=0:S=m/67108864|0}return p},N.prototype.convert13b=function(p,y,S,c){for(var m=0,x=0;x<y;x++)m=m+(p[x]|0),S[2*x]=m&8191,m=m>>>13,S[2*x+1]=m&8191,m=m>>>13;for(x=2*y;x<c;++x)S[x]=0;l(m===0),l((m&-8192)===0)},N.prototype.stub=function(p){for(var y=new Array(p),S=0;S<p;S++)y[S]=0;return y},N.prototype.mulp=function(p,y,S){var c=2*this.guessLen13b(p.length,y.length),m=this.makeRBT(c),x=this.stub(c),T=new Array(c),b=new Array(c),d=new Array(c),k=new Array(c),D=new Array(c),O=new Array(c),Q=S.words;Q.length=c,this.convert13b(p.words,p.length,T,c),this.convert13b(y.words,y.length,k,c),this.transform(T,x,b,d,c,m),this.transform(k,x,D,O,c,m);for(var J=0;J<c;J++){var X=b[J]*D[J]-d[J]*O[J];d[J]=b[J]*O[J]+d[J]*D[J],b[J]=X}return this.conjugate(b,d,c),this.transform(b,d,Q,x,c,m),this.conjugate(Q,x,c),this.normalize13b(Q,c),S.negative=p.negative^y.negative,S.length=p.length+y.length,S.strip()},u.prototype.mul=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),this.mulTo(p,y)},u.prototype.mulf=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),F(this,p,y)},u.prototype.imul=function(p){return this.clone().mulTo(p,this)},u.prototype.imuln=function(p){l(typeof p=="number"),l(p<67108864);for(var y=0,S=0;S<this.length;S++){var c=(this.words[S]|0)*p,m=(c&67108863)+(y&67108863);y>>=26,y+=c/67108864|0,y+=m>>>26,this.words[S]=m&67108863}return y!==0&&(this.words[S]=y,this.length++),this},u.prototype.muln=function(p){return this.clone().imuln(p)},u.prototype.sqr=function(){return this.mul(this)},u.prototype.isqr=function(){return this.imul(this.clone())},u.prototype.pow=function(p){var y=P(p);if(y.length===0)return new u(1);for(var S=this,c=0;c<y.length&&y[c]===0;c++,S=S.sqr());if(++c<y.length)for(var m=S.sqr();c<y.length;c++,m=m.sqr())y[c]!==0&&(S=S.mul(m));return S},u.prototype.iushln=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=67108863>>>26-y<<26-y,m;if(y!==0){var x=0;for(m=0;m<this.length;m++){var T=this.words[m]&c,b=(this.words[m]|0)-T<<y;this.words[m]=b|x,x=T>>>26-y}x&&(this.words[m]=x,this.length++)}if(S!==0){for(m=this.length-1;m>=0;m--)this.words[m+S]=this.words[m];for(m=0;m<S;m++)this.words[m]=0;this.length+=S}return this.strip()},u.prototype.ishln=function(p){return l(this.negative===0),this.iushln(p)},u.prototype.iushrn=function(p,y,S){l(typeof p=="number"&&p>=0);var c;y?c=(y-y%26)/26:c=0;var m=p%26,x=Math.min((p-m)/26,this.length),T=67108863^67108863>>>m<<m,b=S;if(c-=x,c=Math.max(0,c),b){for(var d=0;d<x;d++)b.words[d]=this.words[d];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,d=0;d<this.length;d++)this.words[d]=this.words[d+x];else this.words[0]=0,this.length=1;var k=0;for(d=this.length-1;d>=0&&(k!==0||d>=c);d--){var D=this.words[d]|0;this.words[d]=k<<26-m|D>>>m,k=D&T}return b&&k!==0&&(b.words[b.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},u.prototype.ishrn=function(p,y,S){return l(this.negative===0),this.iushrn(p,y,S)},u.prototype.shln=function(p){return this.clone().ishln(p)},u.prototype.ushln=function(p){return this.clone().iushln(p)},u.prototype.shrn=function(p){return this.clone().ishrn(p)},u.prototype.ushrn=function(p){return this.clone().iushrn(p)},u.prototype.testn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return!1;var m=this.words[S];return!!(m&c)},u.prototype.imaskn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(y!==0&&S++,this.length=Math.min(S,this.length),y!==0){var c=67108863^67108863>>>y<<y;this.words[this.length-1]&=c}return this.strip()},u.prototype.maskn=function(p){return this.clone().imaskn(p)},u.prototype.iaddn=function(p){return l(typeof p=="number"),l(p<67108864),p<0?this.isubn(-p):this.negative!==0?this.length===1&&(this.words[0]|0)<p?(this.words[0]=p-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(p),this.negative=1,this):this._iaddn(p)},u.prototype._iaddn=function(p){this.words[0]+=p;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},u.prototype.isubn=function(p){if(l(typeof p=="number"),l(p<67108864),p<0)return this.iaddn(-p);if(this.negative!==0)return this.negative=0,this.iaddn(p),this.negative=1,this;if(this.words[0]-=p,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this.strip()},u.prototype.addn=function(p){return this.clone().iaddn(p)},u.prototype.subn=function(p){return this.clone().isubn(p)},u.prototype.iabs=function(){return this.negative=0,this},u.prototype.abs=function(){return this.clone().iabs()},u.prototype._ishlnsubmul=function(p,y,S){var c=p.length+S,m;this._expand(c);var x,T=0;for(m=0;m<p.length;m++){x=(this.words[m+S]|0)+T;var b=(p.words[m]|0)*y;x-=b&67108863,T=(x>>26)-(b/67108864|0),this.words[m+S]=x&67108863}for(;m<this.length-S;m++)x=(this.words[m+S]|0)+T,T=x>>26,this.words[m+S]=x&67108863;if(T===0)return this.strip();for(l(T===-1),T=0,m=0;m<this.length;m++)x=-(this.words[m]|0)+T,T=x>>26,this.words[m]=x&67108863;return this.negative=1,this.strip()},u.prototype._wordDiv=function(p,y){var S=this.length-p.length,c=this.clone(),m=p,x=m.words[m.length-1]|0,T=this._countBits(x);S=26-T,S!==0&&(m=m.ushln(S),c.iushln(S),x=m.words[m.length-1]|0);var b=c.length-m.length,d;if(y!=="mod"){d=new u(null),d.length=b+1,d.words=new Array(d.length);for(var k=0;k<d.length;k++)d.words[k]=0}var D=c.clone()._ishlnsubmul(m,1,b);D.negative===0&&(c=D,d&&(d.words[b]=1));for(var O=b-1;O>=0;O--){var Q=(c.words[m.length+O]|0)*67108864+(c.words[m.length+O-1]|0);for(Q=Math.min(Q/x|0,67108863),c._ishlnsubmul(m,Q,O);c.negative!==0;)Q--,c.negative=0,c._ishlnsubmul(m,1,O),c.isZero()||(c.negative^=1);d&&(d.words[O]=Q)}return d&&d.strip(),c.strip(),y!=="div"&&S!==0&&c.iushrn(S),{div:d||null,mod:c}},u.prototype.divmod=function(p,y,S){if(l(!p.isZero()),this.isZero())return{div:new u(0),mod:new u(0)};var c,m,x;return this.negative!==0&&p.negative===0?(x=this.neg().divmod(p,y),y!=="mod"&&(c=x.div.neg()),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.iadd(p)),{div:c,mod:m}):this.negative===0&&p.negative!==0?(x=this.divmod(p.neg(),y),y!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&p.negative?(x=this.neg().divmod(p.neg(),y),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.isub(p)),{div:x.div,mod:m}):p.length>this.length||this.cmp(p)<0?{div:new u(0),mod:this}:p.length===1?y==="div"?{div:this.divn(p.words[0]),mod:null}:y==="mod"?{div:null,mod:new u(this.modn(p.words[0]))}:{div:this.divn(p.words[0]),mod:new u(this.modn(p.words[0]))}:this._wordDiv(p,y)},u.prototype.div=function(p){return this.divmod(p,"div",!1).div},u.prototype.mod=function(p){return this.divmod(p,"mod",!1).mod},u.prototype.umod=function(p){return this.divmod(p,"mod",!0).mod},u.prototype.divRound=function(p){var y=this.divmod(p);if(y.mod.isZero())return y.div;var S=y.div.negative!==0?y.mod.isub(p):y.mod,c=p.ushrn(1),m=p.andln(1),x=S.cmp(c);return x<0||m===1&&x===0?y.div:y.div.negative!==0?y.div.isubn(1):y.div.iaddn(1)},u.prototype.modn=function(p){l(p<=67108863);for(var y=(1<<26)%p,S=0,c=this.length-1;c>=0;c--)S=(y*S+(this.words[c]|0))%p;return S},u.prototype.idivn=function(p){l(p<=67108863);for(var y=0,S=this.length-1;S>=0;S--){var c=(this.words[S]|0)+y*67108864;this.words[S]=c/p|0,y=c%p}return this.strip()},u.prototype.divn=function(p){return this.clone().idivn(p)},u.prototype.egcd=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=new u(0),T=new u(1),b=0;y.isEven()&&S.isEven();)y.iushrn(1),S.iushrn(1),++b;for(var d=S.clone(),k=y.clone();!y.isZero();){for(var D=0,O=1;!(y.words[0]&O)&&D<26;++D,O<<=1);if(D>0)for(y.iushrn(D);D-- >0;)(c.isOdd()||m.isOdd())&&(c.iadd(d),m.isub(k)),c.iushrn(1),m.iushrn(1);for(var Q=0,J=1;!(S.words[0]&J)&&Q<26;++Q,J<<=1);if(Q>0)for(S.iushrn(Q);Q-- >0;)(x.isOdd()||T.isOdd())&&(x.iadd(d),T.isub(k)),x.iushrn(1),T.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(x),m.isub(T)):(S.isub(y),x.isub(c),T.isub(m))}return{a:x,b:T,gcd:S.iushln(b)}},u.prototype._invmp=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=S.clone();y.cmpn(1)>0&&S.cmpn(1)>0;){for(var T=0,b=1;!(y.words[0]&b)&&T<26;++T,b<<=1);if(T>0)for(y.iushrn(T);T-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var d=0,k=1;!(S.words[0]&k)&&d<26;++d,k<<=1);if(d>0)for(S.iushrn(d);d-- >0;)m.isOdd()&&m.iadd(x),m.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(m)):(S.isub(y),m.isub(c))}var D;return y.cmpn(1)===0?D=c:D=m,D.cmpn(0)<0&&D.iadd(p),D},u.prototype.gcd=function(p){if(this.isZero())return p.abs();if(p.isZero())return this.abs();var y=this.clone(),S=p.clone();y.negative=0,S.negative=0;for(var c=0;y.isEven()&&S.isEven();c++)y.iushrn(1),S.iushrn(1);do{for(;y.isEven();)y.iushrn(1);for(;S.isEven();)S.iushrn(1);var m=y.cmp(S);if(m<0){var x=y;y=S,S=x}else if(m===0||S.cmpn(1)===0)break;y.isub(S)}while(!0);return S.iushln(c)},u.prototype.invm=function(p){return this.egcd(p).a.umod(p)},u.prototype.isEven=function(){return(this.words[0]&1)===0},u.prototype.isOdd=function(){return(this.words[0]&1)===1},u.prototype.andln=function(p){return this.words[0]&p},u.prototype.bincn=function(p){l(typeof p=="number");var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return this._expand(S+1),this.words[S]|=c,this;for(var m=c,x=S;m!==0&&x<this.length;x++){var T=this.words[x]|0;T+=m,m=T>>>26,T&=67108863,this.words[x]=T}return m!==0&&(this.words[x]=m,this.length++),this},u.prototype.isZero=function(){return this.length===1&&this.words[0]===0},u.prototype.cmpn=function(p){var y=p<0;if(this.negative!==0&&!y)return-1;if(this.negative===0&&y)return 1;this.strip();var S;if(this.length>1)S=1;else{y&&(p=-p),l(p<=67108863,"Number is too big");var c=this.words[0]|0;S=c===p?0:c<p?-1:1}return this.negative!==0?-S|0:S},u.prototype.cmp=function(p){if(this.negative!==0&&p.negative===0)return-1;if(this.negative===0&&p.negative!==0)return 1;var y=this.ucmp(p);return this.negative!==0?-y|0:y},u.prototype.ucmp=function(p){if(this.length>p.length)return 1;if(this.length<p.length)return-1;for(var y=0,S=this.length-1;S>=0;S--){var c=this.words[S]|0,m=p.words[S]|0;if(c!==m){c<m?y=-1:c>m&&(y=1);break}}return y},u.prototype.gtn=function(p){return this.cmpn(p)===1},u.prototype.gt=function(p){return this.cmp(p)===1},u.prototype.gten=function(p){return this.cmpn(p)>=0},u.prototype.gte=function(p){return this.cmp(p)>=0},u.prototype.ltn=function(p){return this.cmpn(p)===-1},u.prototype.lt=function(p){return this.cmp(p)===-1},u.prototype.lten=function(p){return this.cmpn(p)<=0},u.prototype.lte=function(p){return this.cmp(p)<=0},u.prototype.eqn=function(p){return this.cmpn(p)===0},u.prototype.eq=function(p){return this.cmp(p)===0},u.red=function(p){return new he(p)},u.prototype.toRed=function(p){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),p.convertTo(this)._forceRed(p)},u.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},u.prototype._forceRed=function(p){return this.red=p,this},u.prototype.forceRed=function(p){return l(!this.red,"Already a number in reduction context"),this._forceRed(p)},u.prototype.redAdd=function(p){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,p)},u.prototype.redIAdd=function(p){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,p)},u.prototype.redSub=function(p){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,p)},u.prototype.redISub=function(p){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,p)},u.prototype.redShl=function(p){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,p)},u.prototype.redMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.mul(this,p)},u.prototype.redIMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.imul(this,p)},u.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},u.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},u.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},u.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},u.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},u.prototype.redPow=function(p){return l(this.red&&!p.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,p)};var ee={k256:null,p224:null,p192:null,p25519:null};function Z(L,p){this.name=L,this.p=new u(p,16),this.n=this.p.bitLength(),this.k=new u(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Z.prototype._tmp=function(){var p=new u(null);return p.words=new Array(Math.ceil(this.n/13)),p},Z.prototype.ireduce=function(p){var y=p,S;do this.split(y,this.tmp),y=this.imulK(y),y=y.iadd(this.tmp),S=y.bitLength();while(S>this.n);var c=S<this.n?-1:y.ucmp(this.p);return c===0?(y.words[0]=0,y.length=1):c>0?y.isub(this.p):y.strip!==void 0?y.strip():y._strip(),y},Z.prototype.split=function(p,y){p.iushrn(this.n,0,y)},Z.prototype.imulK=function(p){return p.imul(this.k)};function re(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}t(re,Z),re.prototype.split=function(p,y){for(var S=4194303,c=Math.min(p.length,9),m=0;m<c;m++)y.words[m]=p.words[m];if(y.length=c,p.length<=9){p.words[0]=0,p.length=1;return}var x=p.words[9];for(y.words[y.length++]=x&S,m=10;m<p.length;m++){var T=p.words[m]|0;p.words[m-10]=(T&S)<<4|x>>>22,x=T}x>>>=22,p.words[m-10]=x,x===0&&p.length>10?p.length-=10:p.length-=9},re.prototype.imulK=function(p){p.words[p.length]=0,p.words[p.length+1]=0,p.length+=2;for(var y=0,S=0;S<p.length;S++){var c=p.words[S]|0;y+=c*977,p.words[S]=y&67108863,y=c*64+(y/67108864|0)}return p.words[p.length-1]===0&&(p.length--,p.words[p.length-1]===0&&p.length--),p};function fe(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}t(fe,Z);function V(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}t(V,Z);function le(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}t(le,Z),le.prototype.imulK=function(p){for(var y=0,S=0;S<p.length;S++){var c=(p.words[S]|0)*19+y,m=c&67108863;c>>>=26,p.words[S]=m,y=c}return y!==0&&(p.words[p.length++]=y),p},u._prime=function(p){if(ee[p])return ee[p];var y;if(p==="k256")y=new re;else if(p==="p224")y=new fe;else if(p==="p192")y=new V;else if(p==="p25519")y=new le;else throw new Error("Unknown prime "+p);return ee[p]=y,y};function he(L){if(typeof L=="string"){var p=u._prime(L);this.m=p.p,this.prime=p}else l(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(p){l(p.negative===0,"red works only with positives"),l(p.red,"red works only with red numbers")},he.prototype._verify2=function(p,y){l((p.negative|y.negative)===0,"red works only with positives"),l(p.red&&p.red===y.red,"red works only with red numbers")},he.prototype.imod=function(p){return this.prime?this.prime.ireduce(p)._forceRed(this):p.umod(this.m)._forceRed(this)},he.prototype.neg=function(p){return p.isZero()?p.clone():this.m.sub(p)._forceRed(this)},he.prototype.add=function(p,y){this._verify2(p,y);var S=p.add(y);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},he.prototype.iadd=function(p,y){this._verify2(p,y);var S=p.iadd(y);return S.cmp(this.m)>=0&&S.isub(this.m),S},he.prototype.sub=function(p,y){this._verify2(p,y);var S=p.sub(y);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},he.prototype.isub=function(p,y){this._verify2(p,y);var S=p.isub(y);return S.cmpn(0)<0&&S.iadd(this.m),S},he.prototype.shl=function(p,y){return this._verify1(p),this.imod(p.ushln(y))},he.prototype.imul=function(p,y){return this._verify2(p,y),this.imod(p.imul(y))},he.prototype.mul=function(p,y){return this._verify2(p,y),this.imod(p.mul(y))},he.prototype.isqr=function(p){return this.imul(p,p.clone())},he.prototype.sqr=function(p){return this.mul(p,p)},he.prototype.sqrt=function(p){if(p.isZero())return p.clone();var y=this.m.andln(3);if(l(y%2===1),y===3){var S=this.m.add(new u(1)).iushrn(2);return this.pow(p,S)}for(var c=this.m.subn(1),m=0;!c.isZero()&&c.andln(1)===0;)m++,c.iushrn(1);l(!c.isZero());var x=new u(1).toRed(this),T=x.redNeg(),b=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new u(2*d*d).toRed(this);this.pow(d,b).cmp(T)!==0;)d.redIAdd(T);for(var k=this.pow(d,c),D=this.pow(p,c.addn(1).iushrn(1)),O=this.pow(p,c),Q=m;O.cmp(x)!==0;){for(var J=O,X=0;J.cmp(x)!==0;X++)J=J.redSqr();l(X<Q);var U=this.pow(k,new u(1).iushln(Q-X-1));D=D.redMul(U),k=U.redSqr(),O=O.redMul(k),Q=X}return D},he.prototype.invm=function(p){var y=p._invmp(this.m);return y.negative!==0?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},he.prototype.pow=function(p,y){if(y.isZero())return new u(1).toRed(this);if(y.cmpn(1)===0)return p.clone();var S=4,c=new Array(1<<S);c[0]=new u(1).toRed(this),c[1]=p;for(var m=2;m<c.length;m++)c[m]=this.mul(c[m-1],p);var x=c[0],T=0,b=0,d=y.bitLength()%26;for(d===0&&(d=26),m=y.length-1;m>=0;m--){for(var k=y.words[m],D=d-1;D>=0;D--){var O=k>>D&1;if(x!==c[0]&&(x=this.sqr(x)),O===0&&T===0){b=0;continue}T<<=1,T|=O,b++,!(b!==S&&(m!==0||D!==0))&&(x=this.mul(x,c[T]),b=0,T=0)}d=26}return x},he.prototype.convertTo=function(p){var y=p.umod(this.m);return y===p?y.clone():y},he.prototype.convertFrom=function(p){var y=p.clone();return y.red=null,y},u.mont=function(p){return new ye(p)};function ye(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new u(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}t(ye,he),ye.prototype.convertTo=function(p){return this.imod(p.ushln(this.shift))},ye.prototype.convertFrom=function(p){var y=this.imod(p.mul(this.rinv));return y.red=null,y},ye.prototype.imul=function(p,y){if(p.isZero()||y.isZero())return p.words[0]=0,p.length=1,p;var S=p.imul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.mul=function(p,y){if(p.isZero()||y.isZero())return new u(0)._forceRed(this);var S=p.mul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.invm=function(p){var y=this.imod(p._invmp(this.m).mul(this.r2));return y._forceRed(this)}})(n,commonjsGlobal$1)}(bn$1);var bnExports$1=bn$1.exports,browser$4,hasRequiredBrowser$2;function requireBrowser$2(){if(hasRequiredBrowser$2)return browser$4;hasRequiredBrowser$2=1;var n=requireElliptic(),e=bnExports$1;browser$4=function(h){return new l(h)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1;function l(u){this.curveType=o[u],this.curveType||(this.curveType={name:u}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}l.prototype.generateKeys=function(u,h){return this.keys=this.curve.genKeyPair(),this.getPublicKey(u,h)},l.prototype.computeSecret=function(u,h,v){h=h||"utf8",Buffer$C.isBuffer(u)||(u=new Buffer$C(u,h));var w=this.curve.keyFromPublic(u).getPublic(),A=w.mul(this.keys.getPrivate()).getX();return t(A,v,this.curveType.byteLength)},l.prototype.getPublicKey=function(u,h){var v=this.keys.getPublic(h==="compressed",!0);return h==="hybrid"&&(v[v.length-1]%2?v[0]=7:v[0]=6),t(v,u)},l.prototype.getPrivateKey=function(u){return t(this.keys.getPrivate(),u)},l.prototype.setPublicKey=function(u,h){return h=h||"utf8",Buffer$C.isBuffer(u)||(u=new Buffer$C(u,h)),this.keys._importPublic(u),this},l.prototype.setPrivateKey=function(u,h){h=h||"utf8",Buffer$C.isBuffer(u)||(u=new Buffer$C(u,h));var v=new e(u);return v=v.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(v),this};function t(u,h,v){Array.isArray(u)||(u=u.toArray());var w=new Buffer$C(u);if(v&&w.length<v){var A=new Buffer$C(v-w.length);A.fill(0),w=Buffer$C.concat([A,w])}return h?w.toString(h):w}return browser$4}var browser$3={},createHash$2=browser$b,Buffer$5=safeBufferExports$1.Buffer,mgf$2=function(n,e){for(var o=Buffer$5.alloc(0),l=0,t;o.length<e;)t=i2ops(l++),o=Buffer$5.concat([o,createHash$2("sha1").update(n).update(t).digest()]);return o.slice(0,e)};function i2ops(n){var e=Buffer$5.allocUnsafe(4);return e.writeUInt32BE(n,0),e}var xor$2=function n(e,o){for(var l=e.length,t=-1;++t<l;)e[t]^=o[t];return e},bn={exports:{}};bn.exports,function(n){(function(e,o){function l(L,p){if(!L)throw new Error(p||"Assertion failed")}function t(L,p){L.super_=p;var y=function(){};y.prototype=p.prototype,L.prototype=new y,L.prototype.constructor=L}function u(L,p,y){if(u.isBN(L))return L;this.negative=0,this.words=null,this.length=0,this.red=null,L!==null&&((p==="le"||p==="be")&&(y=p,p=10),this._init(L||0,p||10,y||"be"))}typeof e=="object"?e.exports=u:o.BN=u,u.BN=u,u.wordSize=26;var h;try{typeof window<"u"&&typeof window.Buffer<"u"?h=window.Buffer:h=require$$0$2.Buffer}catch{}u.isBN=function(p){return p instanceof u?!0:p!==null&&typeof p=="object"&&p.constructor.wordSize===u.wordSize&&Array.isArray(p.words)},u.max=function(p,y){return p.cmp(y)>0?p:y},u.min=function(p,y){return p.cmp(y)<0?p:y},u.prototype._init=function(p,y,S){if(typeof p=="number")return this._initNumber(p,y,S);if(typeof p=="object")return this._initArray(p,y,S);y==="hex"&&(y=16),l(y===(y|0)&&y>=2&&y<=36),p=p.toString().replace(/\s+/g,"");var c=0;p[0]==="-"&&(c++,this.negative=1),c<p.length&&(y===16?this._parseHex(p,c,S):(this._parseBase(p,y,c),S==="le"&&this._initArray(this.toArray(),y,S)))},u.prototype._initNumber=function(p,y,S){p<0&&(this.negative=1,p=-p),p<67108864?(this.words=[p&67108863],this.length=1):p<4503599627370496?(this.words=[p&67108863,p/67108864&67108863],this.length=2):(l(p<9007199254740992),this.words=[p&67108863,p/67108864&67108863,1],this.length=3),S==="le"&&this._initArray(this.toArray(),y,S)},u.prototype._initArray=function(p,y,S){if(l(typeof p.length=="number"),p.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(p.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m,x,T=0;if(S==="be")for(c=p.length-1,m=0;c>=0;c-=3)x=p[c]|p[c-1]<<8|p[c-2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);else if(S==="le")for(c=0,m=0;c<p.length;c+=3)x=p[c]|p[c+1]<<8|p[c+2]<<16,this.words[m]|=x<<T&67108863,this.words[m+1]=x>>>26-T&67108863,T+=24,T>=26&&(T-=26,m++);return this.strip()};function v(L,p){var y=L.charCodeAt(p);return y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:y-48&15}function w(L,p,y){var S=v(L,y);return y-1>=p&&(S|=v(L,y-1)<<4),S}u.prototype._parseHex=function(p,y,S){this.length=Math.ceil((p.length-y)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var m=0,x=0,T;if(S==="be")for(c=p.length-1;c>=y;c-=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8;else{var b=p.length-y;for(c=b%2===0?y+1:y;c<p.length;c+=2)T=w(p,y,c)<<m,this.words[x]|=T&67108863,m>=18?(m-=18,x+=1,this.words[x]|=T>>>26):m+=8}this.strip()};function A(L,p,y,S){for(var c=0,m=Math.min(L.length,y),x=p;x<m;x++){var T=L.charCodeAt(x)-48;c*=S,T>=49?c+=T-49+10:T>=17?c+=T-17+10:c+=T}return c}u.prototype._parseBase=function(p,y,S){this.words=[0],this.length=1;for(var c=0,m=1;m<=67108863;m*=y)c++;c--,m=m/y|0;for(var x=p.length-S,T=x%c,b=Math.min(x,x-T)+S,d=0,k=S;k<b;k+=c)d=A(p,k,k+c,y),this.imuln(m),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(T!==0){var D=1;for(d=A(p,k,p.length,y),k=0;k<T;k++)D*=y;this.imuln(D),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}this.strip()},u.prototype.copy=function(p){p.words=new Array(this.length);for(var y=0;y<this.length;y++)p.words[y]=this.words[y];p.length=this.length,p.negative=this.negative,p.red=this.red},u.prototype.clone=function(){var p=new u(null);return this.copy(p),p},u.prototype._expand=function(p){for(;this.length<p;)this.words[this.length++]=0;return this},u.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},u.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},u.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],C=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],M=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];u.prototype.toString=function(p,y){p=p||10,y=y|0||1;var S;if(p===16||p==="hex"){S="";for(var c=0,m=0,x=0;x<this.length;x++){var T=this.words[x],b=((T<<c|m)&16777215).toString(16);m=T>>>24-c&16777215,m!==0||x!==this.length-1?S=E[6-b.length]+b+S:S=b+S,c+=2,c>=26&&(c-=26,x--)}for(m!==0&&(S=m.toString(16)+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(p===(p|0)&&p>=2&&p<=36){var d=C[p],k=M[p];S="";var D=this.clone();for(D.negative=0;!D.isZero();){var O=D.modn(k).toString(p);D=D.idivn(k),D.isZero()?S=O+S:S=E[d-O.length]+O+S}for(this.isZero()&&(S="0"+S);S.length%y!==0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}l(!1,"Base should be between 2 and 36")},u.prototype.toNumber=function(){var p=this.words[0];return this.length===2?p+=this.words[1]*67108864:this.length===3&&this.words[2]===1?p+=4503599627370496+this.words[1]*67108864:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-p:p},u.prototype.toJSON=function(){return this.toString(16)},u.prototype.toBuffer=function(p,y){return l(typeof h<"u"),this.toArrayLike(h,p,y)},u.prototype.toArray=function(p,y){return this.toArrayLike(Array,p,y)},u.prototype.toArrayLike=function(p,y,S){var c=this.byteLength(),m=S||Math.max(1,c);l(c<=m,"byte array longer than desired length"),l(m>0,"Requested array length <= 0"),this.strip();var x=y==="le",T=new p(m),b,d,k=this.clone();if(x){for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[d]=b;for(;d<m;d++)T[d]=0}else{for(d=0;d<m-c;d++)T[d]=0;for(d=0;!k.isZero();d++)b=k.andln(255),k.iushrn(8),T[m-d-1]=b}return T},Math.clz32?u.prototype._countBits=function(p){return 32-Math.clz32(p)}:u.prototype._countBits=function(p){var y=p,S=0;return y>=4096&&(S+=13,y>>>=13),y>=64&&(S+=7,y>>>=7),y>=8&&(S+=4,y>>>=4),y>=2&&(S+=2,y>>>=2),S+y},u.prototype._zeroBits=function(p){if(p===0)return 26;var y=p,S=0;return y&8191||(S+=13,y>>>=13),y&127||(S+=7,y>>>=7),y&15||(S+=4,y>>>=4),y&3||(S+=2,y>>>=2),y&1||S++,S},u.prototype.bitLength=function(){var p=this.words[this.length-1],y=this._countBits(p);return(this.length-1)*26+y};function P(L){for(var p=new Array(L.bitLength()),y=0;y<p.length;y++){var S=y/26|0,c=y%26;p[y]=(L.words[S]&1<<c)>>>c}return p}u.prototype.zeroBits=function(){if(this.isZero())return 0;for(var p=0,y=0;y<this.length;y++){var S=this._zeroBits(this.words[y]);if(p+=S,S!==26)break}return p},u.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},u.prototype.toTwos=function(p){return this.negative!==0?this.abs().inotn(p).iaddn(1):this.clone()},u.prototype.fromTwos=function(p){return this.testn(p-1)?this.notn(p).iaddn(1).ineg():this.clone()},u.prototype.isNeg=function(){return this.negative!==0},u.prototype.neg=function(){return this.clone().ineg()},u.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},u.prototype.iuor=function(p){for(;this.length<p.length;)this.words[this.length++]=0;for(var y=0;y<p.length;y++)this.words[y]=this.words[y]|p.words[y];return this.strip()},u.prototype.ior=function(p){return l((this.negative|p.negative)===0),this.iuor(p)},u.prototype.or=function(p){return this.length>p.length?this.clone().ior(p):p.clone().ior(this)},u.prototype.uor=function(p){return this.length>p.length?this.clone().iuor(p):p.clone().iuor(this)},u.prototype.iuand=function(p){var y;this.length>p.length?y=p:y=this;for(var S=0;S<y.length;S++)this.words[S]=this.words[S]&p.words[S];return this.length=y.length,this.strip()},u.prototype.iand=function(p){return l((this.negative|p.negative)===0),this.iuand(p)},u.prototype.and=function(p){return this.length>p.length?this.clone().iand(p):p.clone().iand(this)},u.prototype.uand=function(p){return this.length>p.length?this.clone().iuand(p):p.clone().iuand(this)},u.prototype.iuxor=function(p){var y,S;this.length>p.length?(y=this,S=p):(y=p,S=this);for(var c=0;c<S.length;c++)this.words[c]=y.words[c]^S.words[c];if(this!==y)for(;c<y.length;c++)this.words[c]=y.words[c];return this.length=y.length,this.strip()},u.prototype.ixor=function(p){return l((this.negative|p.negative)===0),this.iuxor(p)},u.prototype.xor=function(p){return this.length>p.length?this.clone().ixor(p):p.clone().ixor(this)},u.prototype.uxor=function(p){return this.length>p.length?this.clone().iuxor(p):p.clone().iuxor(this)},u.prototype.inotn=function(p){l(typeof p=="number"&&p>=0);var y=Math.ceil(p/26)|0,S=p%26;this._expand(y),S>0&&y--;for(var c=0;c<y;c++)this.words[c]=~this.words[c]&67108863;return S>0&&(this.words[c]=~this.words[c]&67108863>>26-S),this.strip()},u.prototype.notn=function(p){return this.clone().inotn(p)},u.prototype.setn=function(p,y){l(typeof p=="number"&&p>=0);var S=p/26|0,c=p%26;return this._expand(S+1),y?this.words[S]=this.words[S]|1<<c:this.words[S]=this.words[S]&~(1<<c),this.strip()},u.prototype.iadd=function(p){var y;if(this.negative!==0&&p.negative===0)return this.negative=0,y=this.isub(p),this.negative^=1,this._normSign();if(this.negative===0&&p.negative!==0)return p.negative=0,y=this.isub(p),p.negative=1,y._normSign();var S,c;this.length>p.length?(S=this,c=p):(S=p,c=this);for(var m=0,x=0;x<c.length;x++)y=(S.words[x]|0)+(c.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;for(;m!==0&&x<S.length;x++)y=(S.words[x]|0)+m,this.words[x]=y&67108863,m=y>>>26;if(this.length=S.length,m!==0)this.words[this.length]=m,this.length++;else if(S!==this)for(;x<S.length;x++)this.words[x]=S.words[x];return this},u.prototype.add=function(p){var y;return p.negative!==0&&this.negative===0?(p.negative=0,y=this.sub(p),p.negative^=1,y):p.negative===0&&this.negative!==0?(this.negative=0,y=p.sub(this),this.negative=1,y):this.length>p.length?this.clone().iadd(p):p.clone().iadd(this)},u.prototype.isub=function(p){if(p.negative!==0){p.negative=0;var y=this.iadd(p);return p.negative=1,y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(p),this.negative=1,this._normSign();var S=this.cmp(p);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;var c,m;S>0?(c=this,m=p):(c=p,m=this);for(var x=0,T=0;T<m.length;T++)y=(c.words[T]|0)-(m.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;for(;x!==0&&T<c.length;T++)y=(c.words[T]|0)+x,x=y>>26,this.words[T]=y&67108863;if(x===0&&T<c.length&&c!==this)for(;T<c.length;T++)this.words[T]=c.words[T];return this.length=Math.max(this.length,T),c!==this&&(this.negative=1),this.strip()},u.prototype.sub=function(p){return this.clone().isub(p)};function I(L,p,y){y.negative=p.negative^L.negative;var S=L.length+p.length|0;y.length=S,S=S-1|0;var c=L.words[0]|0,m=p.words[0]|0,x=c*m,T=x&67108863,b=x/67108864|0;y.words[0]=T;for(var d=1;d<S;d++){for(var k=b>>>26,D=b&67108863,O=Math.min(d,p.length-1),Q=Math.max(0,d-L.length+1);Q<=O;Q++){var J=d-Q|0;c=L.words[J]|0,m=p.words[Q]|0,x=c*m+D,k+=x/67108864|0,D=x&67108863}y.words[d]=D|0,b=k|0}return b!==0?y.words[d]=b|0:y.length--,y.strip()}var j=function(p,y,S){var c=p.words,m=y.words,x=S.words,T=0,b,d,k,D=c[0]|0,O=D&8191,Q=D>>>13,J=c[1]|0,X=J&8191,U=J>>>13,z=c[2]|0,ie=z&8191,de=z>>>13,me=c[3]|0,pe=me&8191,qe=me>>>13,mt=c[4]|0,st=mt&8191,dt=mt>>>13,Tt=c[5]|0,lt=Tt&8191,Je=Tt>>>13,ht=c[6]|0,at=ht&8191,bt=ht>>>13,jt=c[7]|0,Ge=jt&8191,Qe=jt>>>13,Wt=c[8]|0,Et=Wt&8191,Ct=Wt>>>13,Kt=c[9]|0,Me=Kt&8191,te=Kt>>>13,_e=m[0]|0,je=_e&8191,We=_e>>>13,et=m[1]|0,Ye=et&8191,De=et>>>13,Ht=m[2]|0,Mt=Ht&8191,ge=Ht>>>13,Dt=m[3]|0,yt=Dt&8191,Ne=Dt>>>13,_t=m[4]|0,pt=_t&8191,Bt=_t>>>13,ur=m[5]|0,kt=ur&8191,Ut=ur>>>13,Wr=m[6]|0,zt=Wr&8191,Qt=Wr>>>13,$e=m[7]|0,be=$e&8191,ve=$e>>>13,se=m[8]|0,Pe=se&8191,ze=se>>>13,xt=m[9]|0,ot=xt&8191,wt=xt>>>13;S.negative=p.negative^y.negative,S.length=19,b=Math.imul(O,je),d=Math.imul(O,We),d=d+Math.imul(Q,je)|0,k=Math.imul(Q,We);var Yt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,b=Math.imul(X,je),d=Math.imul(X,We),d=d+Math.imul(U,je)|0,k=Math.imul(U,We),b=b+Math.imul(O,Ye)|0,d=d+Math.imul(O,De)|0,d=d+Math.imul(Q,Ye)|0,k=k+Math.imul(Q,De)|0;var Jt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,b=Math.imul(ie,je),d=Math.imul(ie,We),d=d+Math.imul(de,je)|0,k=Math.imul(de,We),b=b+Math.imul(X,Ye)|0,d=d+Math.imul(X,De)|0,d=d+Math.imul(U,Ye)|0,k=k+Math.imul(U,De)|0,b=b+Math.imul(O,Mt)|0,d=d+Math.imul(O,ge)|0,d=d+Math.imul(Q,Mt)|0,k=k+Math.imul(Q,ge)|0;var wr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(wr>>>26)|0,wr&=67108863,b=Math.imul(pe,je),d=Math.imul(pe,We),d=d+Math.imul(qe,je)|0,k=Math.imul(qe,We),b=b+Math.imul(ie,Ye)|0,d=d+Math.imul(ie,De)|0,d=d+Math.imul(de,Ye)|0,k=k+Math.imul(de,De)|0,b=b+Math.imul(X,Mt)|0,d=d+Math.imul(X,ge)|0,d=d+Math.imul(U,Mt)|0,k=k+Math.imul(U,ge)|0,b=b+Math.imul(O,yt)|0,d=d+Math.imul(O,Ne)|0,d=d+Math.imul(Q,yt)|0,k=k+Math.imul(Q,Ne)|0;var lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(lr>>>26)|0,lr&=67108863,b=Math.imul(st,je),d=Math.imul(st,We),d=d+Math.imul(dt,je)|0,k=Math.imul(dt,We),b=b+Math.imul(pe,Ye)|0,d=d+Math.imul(pe,De)|0,d=d+Math.imul(qe,Ye)|0,k=k+Math.imul(qe,De)|0,b=b+Math.imul(ie,Mt)|0,d=d+Math.imul(ie,ge)|0,d=d+Math.imul(de,Mt)|0,k=k+Math.imul(de,ge)|0,b=b+Math.imul(X,yt)|0,d=d+Math.imul(X,Ne)|0,d=d+Math.imul(U,yt)|0,k=k+Math.imul(U,Ne)|0,b=b+Math.imul(O,pt)|0,d=d+Math.imul(O,Bt)|0,d=d+Math.imul(Q,pt)|0,k=k+Math.imul(Q,Bt)|0;var Rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Rr>>>26)|0,Rr&=67108863,b=Math.imul(lt,je),d=Math.imul(lt,We),d=d+Math.imul(Je,je)|0,k=Math.imul(Je,We),b=b+Math.imul(st,Ye)|0,d=d+Math.imul(st,De)|0,d=d+Math.imul(dt,Ye)|0,k=k+Math.imul(dt,De)|0,b=b+Math.imul(pe,Mt)|0,d=d+Math.imul(pe,ge)|0,d=d+Math.imul(qe,Mt)|0,k=k+Math.imul(qe,ge)|0,b=b+Math.imul(ie,yt)|0,d=d+Math.imul(ie,Ne)|0,d=d+Math.imul(de,yt)|0,k=k+Math.imul(de,Ne)|0,b=b+Math.imul(X,pt)|0,d=d+Math.imul(X,Bt)|0,d=d+Math.imul(U,pt)|0,k=k+Math.imul(U,Bt)|0,b=b+Math.imul(O,kt)|0,d=d+Math.imul(O,Ut)|0,d=d+Math.imul(Q,kt)|0,k=k+Math.imul(Q,Ut)|0;var vr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(vr>>>26)|0,vr&=67108863,b=Math.imul(at,je),d=Math.imul(at,We),d=d+Math.imul(bt,je)|0,k=Math.imul(bt,We),b=b+Math.imul(lt,Ye)|0,d=d+Math.imul(lt,De)|0,d=d+Math.imul(Je,Ye)|0,k=k+Math.imul(Je,De)|0,b=b+Math.imul(st,Mt)|0,d=d+Math.imul(st,ge)|0,d=d+Math.imul(dt,Mt)|0,k=k+Math.imul(dt,ge)|0,b=b+Math.imul(pe,yt)|0,d=d+Math.imul(pe,Ne)|0,d=d+Math.imul(qe,yt)|0,k=k+Math.imul(qe,Ne)|0,b=b+Math.imul(ie,pt)|0,d=d+Math.imul(ie,Bt)|0,d=d+Math.imul(de,pt)|0,k=k+Math.imul(de,Bt)|0,b=b+Math.imul(X,kt)|0,d=d+Math.imul(X,Ut)|0,d=d+Math.imul(U,kt)|0,k=k+Math.imul(U,Ut)|0,b=b+Math.imul(O,zt)|0,d=d+Math.imul(O,Qt)|0,d=d+Math.imul(Q,zt)|0,k=k+Math.imul(Q,Qt)|0;var dr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(dr>>>26)|0,dr&=67108863,b=Math.imul(Ge,je),d=Math.imul(Ge,We),d=d+Math.imul(Qe,je)|0,k=Math.imul(Qe,We),b=b+Math.imul(at,Ye)|0,d=d+Math.imul(at,De)|0,d=d+Math.imul(bt,Ye)|0,k=k+Math.imul(bt,De)|0,b=b+Math.imul(lt,Mt)|0,d=d+Math.imul(lt,ge)|0,d=d+Math.imul(Je,Mt)|0,k=k+Math.imul(Je,ge)|0,b=b+Math.imul(st,yt)|0,d=d+Math.imul(st,Ne)|0,d=d+Math.imul(dt,yt)|0,k=k+Math.imul(dt,Ne)|0,b=b+Math.imul(pe,pt)|0,d=d+Math.imul(pe,Bt)|0,d=d+Math.imul(qe,pt)|0,k=k+Math.imul(qe,Bt)|0,b=b+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ut)|0,d=d+Math.imul(de,kt)|0,k=k+Math.imul(de,Ut)|0,b=b+Math.imul(X,zt)|0,d=d+Math.imul(X,Qt)|0,d=d+Math.imul(U,zt)|0,k=k+Math.imul(U,Qt)|0,b=b+Math.imul(O,be)|0,d=d+Math.imul(O,ve)|0,d=d+Math.imul(Q,be)|0,k=k+Math.imul(Q,ve)|0;var Ir=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,b=Math.imul(Et,je),d=Math.imul(Et,We),d=d+Math.imul(Ct,je)|0,k=Math.imul(Ct,We),b=b+Math.imul(Ge,Ye)|0,d=d+Math.imul(Ge,De)|0,d=d+Math.imul(Qe,Ye)|0,k=k+Math.imul(Qe,De)|0,b=b+Math.imul(at,Mt)|0,d=d+Math.imul(at,ge)|0,d=d+Math.imul(bt,Mt)|0,k=k+Math.imul(bt,ge)|0,b=b+Math.imul(lt,yt)|0,d=d+Math.imul(lt,Ne)|0,d=d+Math.imul(Je,yt)|0,k=k+Math.imul(Je,Ne)|0,b=b+Math.imul(st,pt)|0,d=d+Math.imul(st,Bt)|0,d=d+Math.imul(dt,pt)|0,k=k+Math.imul(dt,Bt)|0,b=b+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ut)|0,d=d+Math.imul(qe,kt)|0,k=k+Math.imul(qe,Ut)|0,b=b+Math.imul(ie,zt)|0,d=d+Math.imul(ie,Qt)|0,d=d+Math.imul(de,zt)|0,k=k+Math.imul(de,Qt)|0,b=b+Math.imul(X,be)|0,d=d+Math.imul(X,ve)|0,d=d+Math.imul(U,be)|0,k=k+Math.imul(U,ve)|0,b=b+Math.imul(O,Pe)|0,d=d+Math.imul(O,ze)|0,d=d+Math.imul(Q,Pe)|0,k=k+Math.imul(Q,ze)|0;var kr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(kr>>>26)|0,kr&=67108863,b=Math.imul(Me,je),d=Math.imul(Me,We),d=d+Math.imul(te,je)|0,k=Math.imul(te,We),b=b+Math.imul(Et,Ye)|0,d=d+Math.imul(Et,De)|0,d=d+Math.imul(Ct,Ye)|0,k=k+Math.imul(Ct,De)|0,b=b+Math.imul(Ge,Mt)|0,d=d+Math.imul(Ge,ge)|0,d=d+Math.imul(Qe,Mt)|0,k=k+Math.imul(Qe,ge)|0,b=b+Math.imul(at,yt)|0,d=d+Math.imul(at,Ne)|0,d=d+Math.imul(bt,yt)|0,k=k+Math.imul(bt,Ne)|0,b=b+Math.imul(lt,pt)|0,d=d+Math.imul(lt,Bt)|0,d=d+Math.imul(Je,pt)|0,k=k+Math.imul(Je,Bt)|0,b=b+Math.imul(st,kt)|0,d=d+Math.imul(st,Ut)|0,d=d+Math.imul(dt,kt)|0,k=k+Math.imul(dt,Ut)|0,b=b+Math.imul(pe,zt)|0,d=d+Math.imul(pe,Qt)|0,d=d+Math.imul(qe,zt)|0,k=k+Math.imul(qe,Qt)|0,b=b+Math.imul(ie,be)|0,d=d+Math.imul(ie,ve)|0,d=d+Math.imul(de,be)|0,k=k+Math.imul(de,ve)|0,b=b+Math.imul(X,Pe)|0,d=d+Math.imul(X,ze)|0,d=d+Math.imul(U,Pe)|0,k=k+Math.imul(U,ze)|0,b=b+Math.imul(O,ot)|0,d=d+Math.imul(O,wt)|0,d=d+Math.imul(Q,ot)|0,k=k+Math.imul(Q,wt)|0;var Fr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Fr>>>26)|0,Fr&=67108863,b=Math.imul(Me,Ye),d=Math.imul(Me,De),d=d+Math.imul(te,Ye)|0,k=Math.imul(te,De),b=b+Math.imul(Et,Mt)|0,d=d+Math.imul(Et,ge)|0,d=d+Math.imul(Ct,Mt)|0,k=k+Math.imul(Ct,ge)|0,b=b+Math.imul(Ge,yt)|0,d=d+Math.imul(Ge,Ne)|0,d=d+Math.imul(Qe,yt)|0,k=k+Math.imul(Qe,Ne)|0,b=b+Math.imul(at,pt)|0,d=d+Math.imul(at,Bt)|0,d=d+Math.imul(bt,pt)|0,k=k+Math.imul(bt,Bt)|0,b=b+Math.imul(lt,kt)|0,d=d+Math.imul(lt,Ut)|0,d=d+Math.imul(Je,kt)|0,k=k+Math.imul(Je,Ut)|0,b=b+Math.imul(st,zt)|0,d=d+Math.imul(st,Qt)|0,d=d+Math.imul(dt,zt)|0,k=k+Math.imul(dt,Qt)|0,b=b+Math.imul(pe,be)|0,d=d+Math.imul(pe,ve)|0,d=d+Math.imul(qe,be)|0,k=k+Math.imul(qe,ve)|0,b=b+Math.imul(ie,Pe)|0,d=d+Math.imul(ie,ze)|0,d=d+Math.imul(de,Pe)|0,k=k+Math.imul(de,ze)|0,b=b+Math.imul(X,ot)|0,d=d+Math.imul(X,wt)|0,d=d+Math.imul(U,ot)|0,k=k+Math.imul(U,wt)|0;var jr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(jr>>>26)|0,jr&=67108863,b=Math.imul(Me,Mt),d=Math.imul(Me,ge),d=d+Math.imul(te,Mt)|0,k=Math.imul(te,ge),b=b+Math.imul(Et,yt)|0,d=d+Math.imul(Et,Ne)|0,d=d+Math.imul(Ct,yt)|0,k=k+Math.imul(Ct,Ne)|0,b=b+Math.imul(Ge,pt)|0,d=d+Math.imul(Ge,Bt)|0,d=d+Math.imul(Qe,pt)|0,k=k+Math.imul(Qe,Bt)|0,b=b+Math.imul(at,kt)|0,d=d+Math.imul(at,Ut)|0,d=d+Math.imul(bt,kt)|0,k=k+Math.imul(bt,Ut)|0,b=b+Math.imul(lt,zt)|0,d=d+Math.imul(lt,Qt)|0,d=d+Math.imul(Je,zt)|0,k=k+Math.imul(Je,Qt)|0,b=b+Math.imul(st,be)|0,d=d+Math.imul(st,ve)|0,d=d+Math.imul(dt,be)|0,k=k+Math.imul(dt,ve)|0,b=b+Math.imul(pe,Pe)|0,d=d+Math.imul(pe,ze)|0,d=d+Math.imul(qe,Pe)|0,k=k+Math.imul(qe,ze)|0,b=b+Math.imul(ie,ot)|0,d=d+Math.imul(ie,wt)|0,d=d+Math.imul(de,ot)|0,k=k+Math.imul(de,wt)|0;var Cr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,b=Math.imul(Me,yt),d=Math.imul(Me,Ne),d=d+Math.imul(te,yt)|0,k=Math.imul(te,Ne),b=b+Math.imul(Et,pt)|0,d=d+Math.imul(Et,Bt)|0,d=d+Math.imul(Ct,pt)|0,k=k+Math.imul(Ct,Bt)|0,b=b+Math.imul(Ge,kt)|0,d=d+Math.imul(Ge,Ut)|0,d=d+Math.imul(Qe,kt)|0,k=k+Math.imul(Qe,Ut)|0,b=b+Math.imul(at,zt)|0,d=d+Math.imul(at,Qt)|0,d=d+Math.imul(bt,zt)|0,k=k+Math.imul(bt,Qt)|0,b=b+Math.imul(lt,be)|0,d=d+Math.imul(lt,ve)|0,d=d+Math.imul(Je,be)|0,k=k+Math.imul(Je,ve)|0,b=b+Math.imul(st,Pe)|0,d=d+Math.imul(st,ze)|0,d=d+Math.imul(dt,Pe)|0,k=k+Math.imul(dt,ze)|0,b=b+Math.imul(pe,ot)|0,d=d+Math.imul(pe,wt)|0,d=d+Math.imul(qe,ot)|0,k=k+Math.imul(qe,wt)|0;var Lr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,b=Math.imul(Me,pt),d=Math.imul(Me,Bt),d=d+Math.imul(te,pt)|0,k=Math.imul(te,Bt),b=b+Math.imul(Et,kt)|0,d=d+Math.imul(Et,Ut)|0,d=d+Math.imul(Ct,kt)|0,k=k+Math.imul(Ct,Ut)|0,b=b+Math.imul(Ge,zt)|0,d=d+Math.imul(Ge,Qt)|0,d=d+Math.imul(Qe,zt)|0,k=k+Math.imul(Qe,Qt)|0,b=b+Math.imul(at,be)|0,d=d+Math.imul(at,ve)|0,d=d+Math.imul(bt,be)|0,k=k+Math.imul(bt,ve)|0,b=b+Math.imul(lt,Pe)|0,d=d+Math.imul(lt,ze)|0,d=d+Math.imul(Je,Pe)|0,k=k+Math.imul(Je,ze)|0,b=b+Math.imul(st,ot)|0,d=d+Math.imul(st,wt)|0,d=d+Math.imul(dt,ot)|0,k=k+Math.imul(dt,wt)|0;var Ar=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,b=Math.imul(Me,kt),d=Math.imul(Me,Ut),d=d+Math.imul(te,kt)|0,k=Math.imul(te,Ut),b=b+Math.imul(Et,zt)|0,d=d+Math.imul(Et,Qt)|0,d=d+Math.imul(Ct,zt)|0,k=k+Math.imul(Ct,Qt)|0,b=b+Math.imul(Ge,be)|0,d=d+Math.imul(Ge,ve)|0,d=d+Math.imul(Qe,be)|0,k=k+Math.imul(Qe,ve)|0,b=b+Math.imul(at,Pe)|0,d=d+Math.imul(at,ze)|0,d=d+Math.imul(bt,Pe)|0,k=k+Math.imul(bt,ze)|0,b=b+Math.imul(lt,ot)|0,d=d+Math.imul(lt,wt)|0,d=d+Math.imul(Je,ot)|0,k=k+Math.imul(Je,wt)|0;var Tr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Tr>>>26)|0,Tr&=67108863,b=Math.imul(Me,zt),d=Math.imul(Me,Qt),d=d+Math.imul(te,zt)|0,k=Math.imul(te,Qt),b=b+Math.imul(Et,be)|0,d=d+Math.imul(Et,ve)|0,d=d+Math.imul(Ct,be)|0,k=k+Math.imul(Ct,ve)|0,b=b+Math.imul(Ge,Pe)|0,d=d+Math.imul(Ge,ze)|0,d=d+Math.imul(Qe,Pe)|0,k=k+Math.imul(Qe,ze)|0,b=b+Math.imul(at,ot)|0,d=d+Math.imul(at,wt)|0,d=d+Math.imul(bt,ot)|0,k=k+Math.imul(bt,wt)|0;var Sr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,b=Math.imul(Me,be),d=Math.imul(Me,ve),d=d+Math.imul(te,be)|0,k=Math.imul(te,ve),b=b+Math.imul(Et,Pe)|0,d=d+Math.imul(Et,ze)|0,d=d+Math.imul(Ct,Pe)|0,k=k+Math.imul(Ct,ze)|0,b=b+Math.imul(Ge,ot)|0,d=d+Math.imul(Ge,wt)|0,d=d+Math.imul(Qe,ot)|0,k=k+Math.imul(Qe,wt)|0;var rr=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(rr>>>26)|0,rr&=67108863,b=Math.imul(Me,Pe),d=Math.imul(Me,ze),d=d+Math.imul(te,Pe)|0,k=Math.imul(te,ze),b=b+Math.imul(Et,ot)|0,d=d+Math.imul(Et,wt)|0,d=d+Math.imul(Ct,ot)|0,k=k+Math.imul(Ct,wt)|0;var Nt=(T+b|0)+((d&8191)<<13)|0;T=(k+(d>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,b=Math.imul(Me,ot),d=Math.imul(Me,wt),d=d+Math.imul(te,ot)|0,k=Math.imul(te,wt);var Gt=(T+b|0)+((d&8191)<<13)|0;return T=(k+(d>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,x[0]=Yt,x[1]=Jt,x[2]=wr,x[3]=lr,x[4]=Rr,x[5]=vr,x[6]=dr,x[7]=Ir,x[8]=kr,x[9]=Fr,x[10]=jr,x[11]=Cr,x[12]=Lr,x[13]=Ar,x[14]=Tr,x[15]=Sr,x[16]=rr,x[17]=Nt,x[18]=Gt,T!==0&&(x[19]=T,S.length++),S};Math.imul||(j=I);function B(L,p,y){y.negative=p.negative^L.negative,y.length=L.length+p.length;for(var S=0,c=0,m=0;m<y.length-1;m++){var x=c;c=0;for(var T=S&67108863,b=Math.min(m,p.length-1),d=Math.max(0,m-L.length+1);d<=b;d++){var k=m-d,D=L.words[k]|0,O=p.words[d]|0,Q=D*O,J=Q&67108863;x=x+(Q/67108864|0)|0,J=J+T|0,T=J&67108863,x=x+(J>>>26)|0,c+=x>>>26,x&=67108863}y.words[m]=T,S=x,x=c}return S!==0?y.words[m]=S:y.length--,y.strip()}function F(L,p,y){var S=new N;return S.mulp(L,p,y)}u.prototype.mulTo=function(p,y){var S,c=this.length+p.length;return this.length===10&&p.length===10?S=j(this,p,y):c<63?S=I(this,p,y):c<1024?S=B(this,p,y):S=F(this,p,y),S};function N(L,p){this.x=L,this.y=p}N.prototype.makeRBT=function(p){for(var y=new Array(p),S=u.prototype._countBits(p)-1,c=0;c<p;c++)y[c]=this.revBin(c,S,p);return y},N.prototype.revBin=function(p,y,S){if(p===0||p===S-1)return p;for(var c=0,m=0;m<y;m++)c|=(p&1)<<y-m-1,p>>=1;return c},N.prototype.permute=function(p,y,S,c,m,x){for(var T=0;T<x;T++)c[T]=y[p[T]],m[T]=S[p[T]]},N.prototype.transform=function(p,y,S,c,m,x){this.permute(x,p,y,S,c,m);for(var T=1;T<m;T<<=1)for(var b=T<<1,d=Math.cos(2*Math.PI/b),k=Math.sin(2*Math.PI/b),D=0;D<m;D+=b)for(var O=d,Q=k,J=0;J<T;J++){var X=S[D+J],U=c[D+J],z=S[D+J+T],ie=c[D+J+T],de=O*z-Q*ie;ie=O*ie+Q*z,z=de,S[D+J]=X+z,c[D+J]=U+ie,S[D+J+T]=X-z,c[D+J+T]=U-ie,J!==b&&(de=d*O-k*Q,Q=d*Q+k*O,O=de)}},N.prototype.guessLen13b=function(p,y){var S=Math.max(y,p)|1,c=S&1,m=0;for(S=S/2|0;S;S=S>>>1)m++;return 1<<m+1+c},N.prototype.conjugate=function(p,y,S){if(!(S<=1))for(var c=0;c<S/2;c++){var m=p[c];p[c]=p[S-c-1],p[S-c-1]=m,m=y[c],y[c]=-y[S-c-1],y[S-c-1]=-m}},N.prototype.normalize13b=function(p,y){for(var S=0,c=0;c<y/2;c++){var m=Math.round(p[2*c+1]/y)*8192+Math.round(p[2*c]/y)+S;p[c]=m&67108863,m<67108864?S=0:S=m/67108864|0}return p},N.prototype.convert13b=function(p,y,S,c){for(var m=0,x=0;x<y;x++)m=m+(p[x]|0),S[2*x]=m&8191,m=m>>>13,S[2*x+1]=m&8191,m=m>>>13;for(x=2*y;x<c;++x)S[x]=0;l(m===0),l((m&-8192)===0)},N.prototype.stub=function(p){for(var y=new Array(p),S=0;S<p;S++)y[S]=0;return y},N.prototype.mulp=function(p,y,S){var c=2*this.guessLen13b(p.length,y.length),m=this.makeRBT(c),x=this.stub(c),T=new Array(c),b=new Array(c),d=new Array(c),k=new Array(c),D=new Array(c),O=new Array(c),Q=S.words;Q.length=c,this.convert13b(p.words,p.length,T,c),this.convert13b(y.words,y.length,k,c),this.transform(T,x,b,d,c,m),this.transform(k,x,D,O,c,m);for(var J=0;J<c;J++){var X=b[J]*D[J]-d[J]*O[J];d[J]=b[J]*O[J]+d[J]*D[J],b[J]=X}return this.conjugate(b,d,c),this.transform(b,d,Q,x,c,m),this.conjugate(Q,x,c),this.normalize13b(Q,c),S.negative=p.negative^y.negative,S.length=p.length+y.length,S.strip()},u.prototype.mul=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),this.mulTo(p,y)},u.prototype.mulf=function(p){var y=new u(null);return y.words=new Array(this.length+p.length),F(this,p,y)},u.prototype.imul=function(p){return this.clone().mulTo(p,this)},u.prototype.imuln=function(p){l(typeof p=="number"),l(p<67108864);for(var y=0,S=0;S<this.length;S++){var c=(this.words[S]|0)*p,m=(c&67108863)+(y&67108863);y>>=26,y+=c/67108864|0,y+=m>>>26,this.words[S]=m&67108863}return y!==0&&(this.words[S]=y,this.length++),this},u.prototype.muln=function(p){return this.clone().imuln(p)},u.prototype.sqr=function(){return this.mul(this)},u.prototype.isqr=function(){return this.imul(this.clone())},u.prototype.pow=function(p){var y=P(p);if(y.length===0)return new u(1);for(var S=this,c=0;c<y.length&&y[c]===0;c++,S=S.sqr());if(++c<y.length)for(var m=S.sqr();c<y.length;c++,m=m.sqr())y[c]!==0&&(S=S.mul(m));return S},u.prototype.iushln=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=67108863>>>26-y<<26-y,m;if(y!==0){var x=0;for(m=0;m<this.length;m++){var T=this.words[m]&c,b=(this.words[m]|0)-T<<y;this.words[m]=b|x,x=T>>>26-y}x&&(this.words[m]=x,this.length++)}if(S!==0){for(m=this.length-1;m>=0;m--)this.words[m+S]=this.words[m];for(m=0;m<S;m++)this.words[m]=0;this.length+=S}return this.strip()},u.prototype.ishln=function(p){return l(this.negative===0),this.iushln(p)},u.prototype.iushrn=function(p,y,S){l(typeof p=="number"&&p>=0);var c;y?c=(y-y%26)/26:c=0;var m=p%26,x=Math.min((p-m)/26,this.length),T=67108863^67108863>>>m<<m,b=S;if(c-=x,c=Math.max(0,c),b){for(var d=0;d<x;d++)b.words[d]=this.words[d];b.length=x}if(x!==0)if(this.length>x)for(this.length-=x,d=0;d<this.length;d++)this.words[d]=this.words[d+x];else this.words[0]=0,this.length=1;var k=0;for(d=this.length-1;d>=0&&(k!==0||d>=c);d--){var D=this.words[d]|0;this.words[d]=k<<26-m|D>>>m,k=D&T}return b&&k!==0&&(b.words[b.length++]=k),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},u.prototype.ishrn=function(p,y,S){return l(this.negative===0),this.iushrn(p,y,S)},u.prototype.shln=function(p){return this.clone().ishln(p)},u.prototype.ushln=function(p){return this.clone().iushln(p)},u.prototype.shrn=function(p){return this.clone().ishrn(p)},u.prototype.ushrn=function(p){return this.clone().iushrn(p)},u.prototype.testn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return!1;var m=this.words[S];return!!(m&c)},u.prototype.imaskn=function(p){l(typeof p=="number"&&p>=0);var y=p%26,S=(p-y)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(y!==0&&S++,this.length=Math.min(S,this.length),y!==0){var c=67108863^67108863>>>y<<y;this.words[this.length-1]&=c}return this.strip()},u.prototype.maskn=function(p){return this.clone().imaskn(p)},u.prototype.iaddn=function(p){return l(typeof p=="number"),l(p<67108864),p<0?this.isubn(-p):this.negative!==0?this.length===1&&(this.words[0]|0)<p?(this.words[0]=p-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(p),this.negative=1,this):this._iaddn(p)},u.prototype._iaddn=function(p){this.words[0]+=p;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},u.prototype.isubn=function(p){if(l(typeof p=="number"),l(p<67108864),p<0)return this.iaddn(-p);if(this.negative!==0)return this.negative=0,this.iaddn(p),this.negative=1,this;if(this.words[0]-=p,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this.strip()},u.prototype.addn=function(p){return this.clone().iaddn(p)},u.prototype.subn=function(p){return this.clone().isubn(p)},u.prototype.iabs=function(){return this.negative=0,this},u.prototype.abs=function(){return this.clone().iabs()},u.prototype._ishlnsubmul=function(p,y,S){var c=p.length+S,m;this._expand(c);var x,T=0;for(m=0;m<p.length;m++){x=(this.words[m+S]|0)+T;var b=(p.words[m]|0)*y;x-=b&67108863,T=(x>>26)-(b/67108864|0),this.words[m+S]=x&67108863}for(;m<this.length-S;m++)x=(this.words[m+S]|0)+T,T=x>>26,this.words[m+S]=x&67108863;if(T===0)return this.strip();for(l(T===-1),T=0,m=0;m<this.length;m++)x=-(this.words[m]|0)+T,T=x>>26,this.words[m]=x&67108863;return this.negative=1,this.strip()},u.prototype._wordDiv=function(p,y){var S=this.length-p.length,c=this.clone(),m=p,x=m.words[m.length-1]|0,T=this._countBits(x);S=26-T,S!==0&&(m=m.ushln(S),c.iushln(S),x=m.words[m.length-1]|0);var b=c.length-m.length,d;if(y!=="mod"){d=new u(null),d.length=b+1,d.words=new Array(d.length);for(var k=0;k<d.length;k++)d.words[k]=0}var D=c.clone()._ishlnsubmul(m,1,b);D.negative===0&&(c=D,d&&(d.words[b]=1));for(var O=b-1;O>=0;O--){var Q=(c.words[m.length+O]|0)*67108864+(c.words[m.length+O-1]|0);for(Q=Math.min(Q/x|0,67108863),c._ishlnsubmul(m,Q,O);c.negative!==0;)Q--,c.negative=0,c._ishlnsubmul(m,1,O),c.isZero()||(c.negative^=1);d&&(d.words[O]=Q)}return d&&d.strip(),c.strip(),y!=="div"&&S!==0&&c.iushrn(S),{div:d||null,mod:c}},u.prototype.divmod=function(p,y,S){if(l(!p.isZero()),this.isZero())return{div:new u(0),mod:new u(0)};var c,m,x;return this.negative!==0&&p.negative===0?(x=this.neg().divmod(p,y),y!=="mod"&&(c=x.div.neg()),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.iadd(p)),{div:c,mod:m}):this.negative===0&&p.negative!==0?(x=this.divmod(p.neg(),y),y!=="mod"&&(c=x.div.neg()),{div:c,mod:x.mod}):this.negative&p.negative?(x=this.neg().divmod(p.neg(),y),y!=="div"&&(m=x.mod.neg(),S&&m.negative!==0&&m.isub(p)),{div:x.div,mod:m}):p.length>this.length||this.cmp(p)<0?{div:new u(0),mod:this}:p.length===1?y==="div"?{div:this.divn(p.words[0]),mod:null}:y==="mod"?{div:null,mod:new u(this.modn(p.words[0]))}:{div:this.divn(p.words[0]),mod:new u(this.modn(p.words[0]))}:this._wordDiv(p,y)},u.prototype.div=function(p){return this.divmod(p,"div",!1).div},u.prototype.mod=function(p){return this.divmod(p,"mod",!1).mod},u.prototype.umod=function(p){return this.divmod(p,"mod",!0).mod},u.prototype.divRound=function(p){var y=this.divmod(p);if(y.mod.isZero())return y.div;var S=y.div.negative!==0?y.mod.isub(p):y.mod,c=p.ushrn(1),m=p.andln(1),x=S.cmp(c);return x<0||m===1&&x===0?y.div:y.div.negative!==0?y.div.isubn(1):y.div.iaddn(1)},u.prototype.modn=function(p){l(p<=67108863);for(var y=(1<<26)%p,S=0,c=this.length-1;c>=0;c--)S=(y*S+(this.words[c]|0))%p;return S},u.prototype.idivn=function(p){l(p<=67108863);for(var y=0,S=this.length-1;S>=0;S--){var c=(this.words[S]|0)+y*67108864;this.words[S]=c/p|0,y=c%p}return this.strip()},u.prototype.divn=function(p){return this.clone().idivn(p)},u.prototype.egcd=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=new u(0),T=new u(1),b=0;y.isEven()&&S.isEven();)y.iushrn(1),S.iushrn(1),++b;for(var d=S.clone(),k=y.clone();!y.isZero();){for(var D=0,O=1;!(y.words[0]&O)&&D<26;++D,O<<=1);if(D>0)for(y.iushrn(D);D-- >0;)(c.isOdd()||m.isOdd())&&(c.iadd(d),m.isub(k)),c.iushrn(1),m.iushrn(1);for(var Q=0,J=1;!(S.words[0]&J)&&Q<26;++Q,J<<=1);if(Q>0)for(S.iushrn(Q);Q-- >0;)(x.isOdd()||T.isOdd())&&(x.iadd(d),T.isub(k)),x.iushrn(1),T.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(x),m.isub(T)):(S.isub(y),x.isub(c),T.isub(m))}return{a:x,b:T,gcd:S.iushln(b)}},u.prototype._invmp=function(p){l(p.negative===0),l(!p.isZero());var y=this,S=p.clone();y.negative!==0?y=y.umod(p):y=y.clone();for(var c=new u(1),m=new u(0),x=S.clone();y.cmpn(1)>0&&S.cmpn(1)>0;){for(var T=0,b=1;!(y.words[0]&b)&&T<26;++T,b<<=1);if(T>0)for(y.iushrn(T);T-- >0;)c.isOdd()&&c.iadd(x),c.iushrn(1);for(var d=0,k=1;!(S.words[0]&k)&&d<26;++d,k<<=1);if(d>0)for(S.iushrn(d);d-- >0;)m.isOdd()&&m.iadd(x),m.iushrn(1);y.cmp(S)>=0?(y.isub(S),c.isub(m)):(S.isub(y),m.isub(c))}var D;return y.cmpn(1)===0?D=c:D=m,D.cmpn(0)<0&&D.iadd(p),D},u.prototype.gcd=function(p){if(this.isZero())return p.abs();if(p.isZero())return this.abs();var y=this.clone(),S=p.clone();y.negative=0,S.negative=0;for(var c=0;y.isEven()&&S.isEven();c++)y.iushrn(1),S.iushrn(1);do{for(;y.isEven();)y.iushrn(1);for(;S.isEven();)S.iushrn(1);var m=y.cmp(S);if(m<0){var x=y;y=S,S=x}else if(m===0||S.cmpn(1)===0)break;y.isub(S)}while(!0);return S.iushln(c)},u.prototype.invm=function(p){return this.egcd(p).a.umod(p)},u.prototype.isEven=function(){return(this.words[0]&1)===0},u.prototype.isOdd=function(){return(this.words[0]&1)===1},u.prototype.andln=function(p){return this.words[0]&p},u.prototype.bincn=function(p){l(typeof p=="number");var y=p%26,S=(p-y)/26,c=1<<y;if(this.length<=S)return this._expand(S+1),this.words[S]|=c,this;for(var m=c,x=S;m!==0&&x<this.length;x++){var T=this.words[x]|0;T+=m,m=T>>>26,T&=67108863,this.words[x]=T}return m!==0&&(this.words[x]=m,this.length++),this},u.prototype.isZero=function(){return this.length===1&&this.words[0]===0},u.prototype.cmpn=function(p){var y=p<0;if(this.negative!==0&&!y)return-1;if(this.negative===0&&y)return 1;this.strip();var S;if(this.length>1)S=1;else{y&&(p=-p),l(p<=67108863,"Number is too big");var c=this.words[0]|0;S=c===p?0:c<p?-1:1}return this.negative!==0?-S|0:S},u.prototype.cmp=function(p){if(this.negative!==0&&p.negative===0)return-1;if(this.negative===0&&p.negative!==0)return 1;var y=this.ucmp(p);return this.negative!==0?-y|0:y},u.prototype.ucmp=function(p){if(this.length>p.length)return 1;if(this.length<p.length)return-1;for(var y=0,S=this.length-1;S>=0;S--){var c=this.words[S]|0,m=p.words[S]|0;if(c!==m){c<m?y=-1:c>m&&(y=1);break}}return y},u.prototype.gtn=function(p){return this.cmpn(p)===1},u.prototype.gt=function(p){return this.cmp(p)===1},u.prototype.gten=function(p){return this.cmpn(p)>=0},u.prototype.gte=function(p){return this.cmp(p)>=0},u.prototype.ltn=function(p){return this.cmpn(p)===-1},u.prototype.lt=function(p){return this.cmp(p)===-1},u.prototype.lten=function(p){return this.cmpn(p)<=0},u.prototype.lte=function(p){return this.cmp(p)<=0},u.prototype.eqn=function(p){return this.cmpn(p)===0},u.prototype.eq=function(p){return this.cmp(p)===0},u.red=function(p){return new he(p)},u.prototype.toRed=function(p){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),p.convertTo(this)._forceRed(p)},u.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},u.prototype._forceRed=function(p){return this.red=p,this},u.prototype.forceRed=function(p){return l(!this.red,"Already a number in reduction context"),this._forceRed(p)},u.prototype.redAdd=function(p){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,p)},u.prototype.redIAdd=function(p){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,p)},u.prototype.redSub=function(p){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,p)},u.prototype.redISub=function(p){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,p)},u.prototype.redShl=function(p){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,p)},u.prototype.redMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.mul(this,p)},u.prototype.redIMul=function(p){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.imul(this,p)},u.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},u.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},u.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},u.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},u.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},u.prototype.redPow=function(p){return l(this.red&&!p.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,p)};var ee={k256:null,p224:null,p192:null,p25519:null};function Z(L,p){this.name=L,this.p=new u(p,16),this.n=this.p.bitLength(),this.k=new u(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}Z.prototype._tmp=function(){var p=new u(null);return p.words=new Array(Math.ceil(this.n/13)),p},Z.prototype.ireduce=function(p){var y=p,S;do this.split(y,this.tmp),y=this.imulK(y),y=y.iadd(this.tmp),S=y.bitLength();while(S>this.n);var c=S<this.n?-1:y.ucmp(this.p);return c===0?(y.words[0]=0,y.length=1):c>0?y.isub(this.p):y.strip!==void 0?y.strip():y._strip(),y},Z.prototype.split=function(p,y){p.iushrn(this.n,0,y)},Z.prototype.imulK=function(p){return p.imul(this.k)};function re(){Z.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}t(re,Z),re.prototype.split=function(p,y){for(var S=4194303,c=Math.min(p.length,9),m=0;m<c;m++)y.words[m]=p.words[m];if(y.length=c,p.length<=9){p.words[0]=0,p.length=1;return}var x=p.words[9];for(y.words[y.length++]=x&S,m=10;m<p.length;m++){var T=p.words[m]|0;p.words[m-10]=(T&S)<<4|x>>>22,x=T}x>>>=22,p.words[m-10]=x,x===0&&p.length>10?p.length-=10:p.length-=9},re.prototype.imulK=function(p){p.words[p.length]=0,p.words[p.length+1]=0,p.length+=2;for(var y=0,S=0;S<p.length;S++){var c=p.words[S]|0;y+=c*977,p.words[S]=y&67108863,y=c*64+(y/67108864|0)}return p.words[p.length-1]===0&&(p.length--,p.words[p.length-1]===0&&p.length--),p};function fe(){Z.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}t(fe,Z);function V(){Z.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}t(V,Z);function le(){Z.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}t(le,Z),le.prototype.imulK=function(p){for(var y=0,S=0;S<p.length;S++){var c=(p.words[S]|0)*19+y,m=c&67108863;c>>>=26,p.words[S]=m,y=c}return y!==0&&(p.words[p.length++]=y),p},u._prime=function(p){if(ee[p])return ee[p];var y;if(p==="k256")y=new re;else if(p==="p224")y=new fe;else if(p==="p192")y=new V;else if(p==="p25519")y=new le;else throw new Error("Unknown prime "+p);return ee[p]=y,y};function he(L){if(typeof L=="string"){var p=u._prime(L);this.m=p.p,this.prime=p}else l(L.gtn(1),"modulus must be greater than 1"),this.m=L,this.prime=null}he.prototype._verify1=function(p){l(p.negative===0,"red works only with positives"),l(p.red,"red works only with red numbers")},he.prototype._verify2=function(p,y){l((p.negative|y.negative)===0,"red works only with positives"),l(p.red&&p.red===y.red,"red works only with red numbers")},he.prototype.imod=function(p){return this.prime?this.prime.ireduce(p)._forceRed(this):p.umod(this.m)._forceRed(this)},he.prototype.neg=function(p){return p.isZero()?p.clone():this.m.sub(p)._forceRed(this)},he.prototype.add=function(p,y){this._verify2(p,y);var S=p.add(y);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},he.prototype.iadd=function(p,y){this._verify2(p,y);var S=p.iadd(y);return S.cmp(this.m)>=0&&S.isub(this.m),S},he.prototype.sub=function(p,y){this._verify2(p,y);var S=p.sub(y);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},he.prototype.isub=function(p,y){this._verify2(p,y);var S=p.isub(y);return S.cmpn(0)<0&&S.iadd(this.m),S},he.prototype.shl=function(p,y){return this._verify1(p),this.imod(p.ushln(y))},he.prototype.imul=function(p,y){return this._verify2(p,y),this.imod(p.imul(y))},he.prototype.mul=function(p,y){return this._verify2(p,y),this.imod(p.mul(y))},he.prototype.isqr=function(p){return this.imul(p,p.clone())},he.prototype.sqr=function(p){return this.mul(p,p)},he.prototype.sqrt=function(p){if(p.isZero())return p.clone();var y=this.m.andln(3);if(l(y%2===1),y===3){var S=this.m.add(new u(1)).iushrn(2);return this.pow(p,S)}for(var c=this.m.subn(1),m=0;!c.isZero()&&c.andln(1)===0;)m++,c.iushrn(1);l(!c.isZero());var x=new u(1).toRed(this),T=x.redNeg(),b=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new u(2*d*d).toRed(this);this.pow(d,b).cmp(T)!==0;)d.redIAdd(T);for(var k=this.pow(d,c),D=this.pow(p,c.addn(1).iushrn(1)),O=this.pow(p,c),Q=m;O.cmp(x)!==0;){for(var J=O,X=0;J.cmp(x)!==0;X++)J=J.redSqr();l(X<Q);var U=this.pow(k,new u(1).iushln(Q-X-1));D=D.redMul(U),k=U.redSqr(),O=O.redMul(k),Q=X}return D},he.prototype.invm=function(p){var y=p._invmp(this.m);return y.negative!==0?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},he.prototype.pow=function(p,y){if(y.isZero())return new u(1).toRed(this);if(y.cmpn(1)===0)return p.clone();var S=4,c=new Array(1<<S);c[0]=new u(1).toRed(this),c[1]=p;for(var m=2;m<c.length;m++)c[m]=this.mul(c[m-1],p);var x=c[0],T=0,b=0,d=y.bitLength()%26;for(d===0&&(d=26),m=y.length-1;m>=0;m--){for(var k=y.words[m],D=d-1;D>=0;D--){var O=k>>D&1;if(x!==c[0]&&(x=this.sqr(x)),O===0&&T===0){b=0;continue}T<<=1,T|=O,b++,!(b!==S&&(m!==0||D!==0))&&(x=this.mul(x,c[T]),b=0,T=0)}d=26}return x},he.prototype.convertTo=function(p){var y=p.umod(this.m);return y===p?y.clone():y},he.prototype.convertFrom=function(p){var y=p.clone();return y.red=null,y},u.mont=function(p){return new ye(p)};function ye(L){he.call(this,L),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new u(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}t(ye,he),ye.prototype.convertTo=function(p){return this.imod(p.ushln(this.shift))},ye.prototype.convertFrom=function(p){var y=this.imod(p.mul(this.rinv));return y.red=null,y},ye.prototype.imul=function(p,y){if(p.isZero()||y.isZero())return p.words[0]=0,p.length=1,p;var S=p.imul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.mul=function(p,y){if(p.isZero()||y.isZero())return new u(0)._forceRed(this);var S=p.mul(y),c=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=S.isub(c).iushrn(this.shift),x=m;return m.cmp(this.m)>=0?x=m.isub(this.m):m.cmpn(0)<0&&(x=m.iadd(this.m)),x._forceRed(this)},ye.prototype.invm=function(p){var y=this.imod(p._invmp(this.m).mul(this.r2));return y._forceRed(this)}})(n,commonjsGlobal$1)}(bn);var bnExports=bn.exports,BN$2=bnExports,Buffer$4=safeBufferExports$1.Buffer;function withPublic$2(n,e){return Buffer$4.from(n.toRed(BN$2.mont(e.modulus)).redPow(new BN$2(e.publicExponent)).fromRed().toArray())}var withPublic_1=withPublic$2,parseKeys$1=parseAsn1,randomBytes=browserExports,createHash$1=browser$b,mgf$1=mgf$2,xor$1=xor$2,BN$1=bnExports,withPublic$1=withPublic_1,crt$1=browserifyRsa,Buffer$3=safeBufferExports$1.Buffer,publicEncrypt=function n(e,o,l){var t;e.padding?t=e.padding:l?t=1:t=4;var u=parseKeys$1(e),h;if(t===4)h=oaep$1(u,o);else if(t===1)h=pkcs1$2(u,o,l);else if(t===3){if(h=new BN$1(o),h.cmp(u.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return l?crt$1(h,u):withPublic$1(h,u)};function oaep$1(n,e){var o=n.modulus.byteLength(),l=e.length,t=createHash$1("sha1").update(Buffer$3.alloc(0)).digest(),u=t.length,h=2*u;if(l>o-h-2)throw new Error("message too long");var v=Buffer$3.alloc(o-l-h-2),w=o-u-1,A=randomBytes(u),E=xor$1(Buffer$3.concat([t,v,Buffer$3.alloc(1,1),e],w),mgf$1(A,w)),C=xor$1(A,mgf$1(E,u));return new BN$1(Buffer$3.concat([Buffer$3.alloc(1),C,E],o))}function pkcs1$2(n,e,o){var l=e.length,t=n.modulus.byteLength();if(l>t-11)throw new Error("message too long");var u;return o?u=Buffer$3.alloc(t-l-3,255):u=nonZero(t-l-3),new BN$1(Buffer$3.concat([Buffer$3.from([0,o?1:2]),u,Buffer$3.alloc(1),e],t))}function nonZero(n){for(var e=Buffer$3.allocUnsafe(n),o=0,l=randomBytes(n*2),t=0,u;o<n;)t===l.length&&(l=randomBytes(n*2),t=0),u=l[t++],u&&(e[o++]=u);return e}var parseKeys=parseAsn1,mgf=mgf$2,xor=xor$2,BN=bnExports,crt=browserifyRsa,createHash=browser$b,withPublic=withPublic_1,Buffer$2=safeBufferExports$1.Buffer,privateDecrypt=function n(e,o,l){var t;e.padding?t=e.padding:l?t=1:t=4;var u=parseKeys(e),h=u.modulus.byteLength();if(o.length>h||new BN(o).cmp(u.modulus)>=0)throw new Error("decryption error");var v;l?v=withPublic(new BN(o),u):v=crt(o,u);var w=Buffer$2.alloc(h-v.length);if(v=Buffer$2.concat([w,v],h),t===4)return oaep(u,v);if(t===1)return pkcs1$1(u,v,l);if(t===3)return v;throw new Error("unknown padding")};function oaep(n,e){var o=n.modulus.byteLength(),l=createHash("sha1").update(Buffer$2.alloc(0)).digest(),t=l.length;if(e[0]!==0)throw new Error("decryption error");var u=e.slice(1,t+1),h=e.slice(t+1),v=xor(u,mgf(h,t)),w=xor(h,mgf(v,o-t-1));if(compare(l,w.slice(0,t)))throw new Error("decryption error");for(var A=t;w[A]===0;)A++;if(w[A++]!==1)throw new Error("decryption error");return w.slice(A)}function pkcs1$1(n,e,o){for(var l=e.slice(0,2),t=2,u=0;e[t++]!==0;)if(t>=e.length){u++;break}var h=e.slice(2,t-1);if((l.toString("hex")!=="0002"&&!o||l.toString("hex")!=="0001"&&o)&&u++,h.length<8&&u++,u)throw new Error("decryption error");return e.slice(t)}function compare(n,e){n=Buffer$2.from(n),e=Buffer$2.from(e);var o=0,l=n.length;n.length!==e.length&&(o++,l=Math.min(n.length,e.length));for(var t=-1;++t<l;)o+=n[t]^e[t];return o}(function(n){n.publicEncrypt=publicEncrypt,n.privateDecrypt=privateDecrypt,n.privateEncrypt=function(o,l){return n.publicEncrypt(o,l,!0)},n.publicDecrypt=function(o,l){return n.privateDecrypt(o,l,!0)}})(browser$3);var browser$2={};function oldBrowser(){throw new Error(`secure random number generation not supported by this browser
+use chrome, FireFox or Internet Explorer 11`)}var safeBuffer=safeBufferExports$1,randombytes=browserExports,Buffer$1=safeBuffer.Buffer,kBufferMaxLength=safeBuffer.kMaxLength,crypto$2=commonjsGlobal$1.crypto||commonjsGlobal$1.msCrypto,kMaxUint32=Math.pow(2,32)-1;function assertOffset(n,e){if(typeof n!="number"||n!==n)throw new TypeError("offset must be a number");if(n>kMaxUint32||n<0)throw new TypeError("offset must be a uint32");if(n>kBufferMaxLength||n>e)throw new RangeError("offset out of range")}function assertSize(n,e,o){if(typeof n!="number"||n!==n)throw new TypeError("size must be a number");if(n>kMaxUint32||n<0)throw new TypeError("size must be a uint32");if(n+e>o||n>kBufferMaxLength)throw new RangeError("buffer too small")}crypto$2&&crypto$2.getRandomValues||!process$1.browser?(browser$2.randomFill=randomFill,browser$2.randomFillSync=randomFillSync):(browser$2.randomFill=oldBrowser,browser$2.randomFillSync=oldBrowser);function randomFill(n,e,o,l){if(!Buffer$1.isBuffer(n)&&!(n instanceof commonjsGlobal$1.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof e=="function")l=e,e=0,o=n.length;else if(typeof o=="function")l=o,o=n.length-e;else if(typeof l!="function")throw new TypeError('"cb" argument must be a function');return assertOffset(e,n.length),assertSize(o,e,n.length),actualFill(n,e,o,l)}function actualFill(n,e,o,l){if(process$1.browser){var t=n.buffer,u=new Uint8Array(t,e,o);if(crypto$2.getRandomValues(u),l){process$1.nextTick(function(){l(null,n)});return}return n}if(l){randombytes(o,function(v,w){if(v)return l(v);w.copy(n,e),l(null,n)});return}var h=randombytes(o);return h.copy(n,e),n}function randomFillSync(n,e,o){if(typeof e>"u"&&(e=0),!Buffer$1.isBuffer(n)&&!(n instanceof commonjsGlobal$1.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return assertOffset(e,n.length),o===void 0&&(o=n.length-e),assertSize(o,e,n.length),actualFill(n,e,o)}var hasRequiredCryptoBrowserify;function requireCryptoBrowserify(){if(hasRequiredCryptoBrowserify)return cryptoBrowserify;hasRequiredCryptoBrowserify=1,cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=browserExports,cryptoBrowserify.createHash=cryptoBrowserify.Hash=browser$b,cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=browser$a;var n=algos,e=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(e);cryptoBrowserify.getHashes=function(){return o};var l=browser$9;cryptoBrowserify.pbkdf2=l.pbkdf2,cryptoBrowserify.pbkdf2Sync=l.pbkdf2Sync;var t=browser$8;cryptoBrowserify.Cipher=t.Cipher,cryptoBrowserify.createCipher=t.createCipher,cryptoBrowserify.Cipheriv=t.Cipheriv,cryptoBrowserify.createCipheriv=t.createCipheriv,cryptoBrowserify.Decipher=t.Decipher,cryptoBrowserify.createDecipher=t.createDecipher,cryptoBrowserify.Decipheriv=t.Decipheriv,cryptoBrowserify.createDecipheriv=t.createDecipheriv,cryptoBrowserify.getCiphers=t.getCiphers,cryptoBrowserify.listCiphers=t.listCiphers;var u=requireBrowser$4();cryptoBrowserify.DiffieHellmanGroup=u.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=u.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=u.getDiffieHellman,cryptoBrowserify.createDiffieHellman=u.createDiffieHellman,cryptoBrowserify.DiffieHellman=u.DiffieHellman;var h=requireBrowser$3();cryptoBrowserify.createSign=h.createSign,cryptoBrowserify.Sign=h.Sign,cryptoBrowserify.createVerify=h.createVerify,cryptoBrowserify.Verify=h.Verify,cryptoBrowserify.createECDH=requireBrowser$2();var v=browser$3;cryptoBrowserify.publicEncrypt=v.publicEncrypt,cryptoBrowserify.privateEncrypt=v.privateEncrypt,cryptoBrowserify.publicDecrypt=v.publicDecrypt,cryptoBrowserify.privateDecrypt=v.privateDecrypt;var w=browser$2;return cryptoBrowserify.randomFill=w.randomFill,cryptoBrowserify.randomFillSync=w.randomFillSync,cryptoBrowserify.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
+`))},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}var jsonSafeStringify=stringifyExports,crypto$1=requireCryptoBrowserify(),Buffer=safeBufferExports$1.Buffer,defer=typeof setImmediate>"u"?process$1.nextTick:setImmediate;function paramsHaveRequestBody$1(n){return n.body||n.requestBodyStream||n.json&&typeof n.json!="boolean"||n.multipart}function safeStringify(n,e){var o;try{o=JSON.stringify(n,e)}catch{o=jsonSafeStringify(n,e)}return o}function md5(n){return crypto$1.createHash("md5").update(n).digest("hex")}function isReadStream(n){return n.readable&&n.path&&n.mode}function toBase64(n){return Buffer.from(n||"","utf8").toString("base64")}function copy(n){var e={};return Object.keys(n).forEach(function(o){e[o]=n[o]}),e}function version(){var n=process$1.version.replace("v","").split(".");return{major:parseInt(n[0],10),minor:parseInt(n[1],10),patch:parseInt(n[2],10)}}helpers$1.paramsHaveRequestBody=paramsHaveRequestBody$1,helpers$1.safeStringify=safeStringify,helpers$1.md5=md5,helpers$1.isReadStream=isReadStream,helpers$1.toBase64=toBase64,helpers$1.copy=copy,helpers$1.version=version,helpers$1.defer=defer;var streamHttp={},request$3={exports:{}},capability={},hasRequiredCapability;function requireCapability(){return hasRequiredCapability||(hasRequiredCapability=1,function(n){n.fetch=t(commonjsGlobal$1.fetch)&&t(commonjsGlobal$1.ReadableStream),n.writableStream=t(commonjsGlobal$1.WritableStream),n.abortController=t(commonjsGlobal$1.AbortController);var e;function o(){if(e!==void 0)return e;if(commonjsGlobal$1.XMLHttpRequest){e=new commonjsGlobal$1.XMLHttpRequest;try{e.open("GET",commonjsGlobal$1.XDomainRequest?"/":"https://example.com")}catch{e=null}}else e=null;return e}function l(u){var h=o();if(!h)return!1;try{return h.responseType=u,h.responseType===u}catch{}return!1}n.arraybuffer=n.fetch||l("arraybuffer"),n.msstream=!n.fetch&&l("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&l("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||(o()?t(o().overrideMimeType):!1);function t(u){return typeof u=="function"}e=null}(capability)),capability}var response={},readableBrowser={exports:{}},hasRequiredReadableBrowser;function requireReadableBrowser(){return hasRequiredReadableBrowser||(hasRequiredReadableBrowser=1,function(n,e){e=n.exports=require_stream_readable$1(),e.Stream=e,e.Readable=e,e.Writable=require_stream_writable$1(),e.Duplex=require_stream_duplex$1(),e.Transform=require_stream_transform(),e.PassThrough=require_stream_passthrough(),e.finished=requireEndOfStream(),e.pipeline=requirePipeline()}(readableBrowser,readableBrowser.exports)),readableBrowser.exports}var hasRequiredResponse;function requireResponse(){if(hasRequiredResponse)return response;hasRequiredResponse=1;var n=requireCapability(),e=inherits_browserExports,o=requireReadableBrowser(),l=response.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},t=response.IncomingMessage=function(u,h,v,w){var A=this;if(o.Readable.call(A),A._mode=v,A.headers={},A.rawHeaders=[],A.trailers={},A.rawTrailers=[],A.on("end",function(){process$1.nextTick(function(){A.emit("close")})}),v==="fetch"){let j=function(){C.read().then(function(B){if(!A._destroyed){if(w(B.done),B.done){A.push(null);return}A.push(Buffer$C.from(B.value)),j()}}).catch(function(B){w(!0),A._destroyed||A.emit("error",B)})};if(A._fetchResponse=h,A.url=h.url,A.statusCode=h.status,A.statusMessage=h.statusText,h.headers.forEach(function(B,F){A.headers[F.toLowerCase()]=B,A.rawHeaders.push(F,B)}),n.writableStream){var E=new WritableStream({write:function(B){return w(!1),new Promise(function(F,N){A._destroyed?N():A.push(Buffer$C.from(B))?F():A._resumeFetch=F})},close:function(){w(!0),A._destroyed||A.push(null)},abort:function(B){w(!0),A._destroyed||A.emit("error",B)}});try{h.body.pipeTo(E).catch(function(B){w(!0),A._destroyed||A.emit("error",B)});return}catch{}}var C=h.body.getReader();j()}else{A._xhr=u,A._pos=0,A.url=u.responseURL,A.statusCode=u.status,A.statusMessage=u.statusText;var M=u.getAllResponseHeaders().split(/\r?\n/);if(M.forEach(function(j){var B=j.match(/^([^:]+):\s*(.*)/);if(B){var F=B[1].toLowerCase();F==="set-cookie"?(A.headers[F]===void 0&&(A.headers[F]=[]),A.headers[F].push(B[2])):A.headers[F]!==void 0?A.headers[F]+=", "+B[2]:A.headers[F]=B[2],A.rawHeaders.push(B[1],B[2])}}),A._charset="x-user-defined",!n.overrideMimeType){var P=A.rawHeaders["mime-type"];if(P){var I=P.match(/;\s*charset=([^;])(;|$)/);I&&(A._charset=I[1].toLowerCase())}A._charset||(A._charset="utf-8")}}};return e(t,o.Readable),t.prototype._read=function(){var u=this,h=u._resumeFetch;h&&(u._resumeFetch=null,h())},t.prototype._onXHRProgress=function(u){var h=this,v=h._xhr,w=null;switch(h._mode){case"text":if(w=v.responseText,w.length>h._pos){var A=w.substr(h._pos);if(h._charset==="x-user-defined"){for(var E=Buffer$C.alloc(A.length),C=0;C<A.length;C++)E[C]=A.charCodeAt(C)&255;h.push(E)}else h.push(A,h._charset);h._pos=w.length}break;case"arraybuffer":if(v.readyState!==l.DONE||!v.response)break;w=v.response,h.push(Buffer$C.from(new Uint8Array(w)));break;case"moz-chunked-arraybuffer":if(w=v.response,v.readyState!==l.LOADING||!w)break;h.push(Buffer$C.from(new Uint8Array(w)));break;case"ms-stream":if(w=v.response,v.readyState!==l.LOADING)break;var M=new commonjsGlobal$1.MSStreamReader;M.onprogress=function(){M.result.byteLength>h._pos&&(h.push(Buffer$C.from(new Uint8Array(M.result.slice(h._pos)))),h._pos=M.result.byteLength)},M.onload=function(){u(!0),h.push(null)},M.readAsArrayBuffer(w);break}h._xhr.readyState===l.DONE&&h._mode!=="ms-stream"&&(u(!0),h.push(null))},response}var hasRequiredRequest$1;function requireRequest$1(){if(hasRequiredRequest$1)return request$3.exports;hasRequiredRequest$1=1;var n=requireCapability(),e=inherits_browserExports,o=requireResponse(),l=requireReadableBrowser(),t=o.IncomingMessage,u=o.readyStates;function h(E,C){return n.fetch&&C?"fetch":n.mozchunkedarraybuffer?"moz-chunked-arraybuffer":n.msstream?"ms-stream":n.arraybuffer&&E?"arraybuffer":"text"}var v=request$3.exports=function(E){var C=this;l.Writable.call(C),C._opts=E,C._body=[],C._headers={},E.auth&&C.setHeader("Authorization","Basic "+Buffer$C.from(E.auth).toString("base64")),Object.keys(E.headers).forEach(function(I){C.setHeader(I,E.headers[I])});var M,P=!0;if(E.mode==="disable-fetch"||"requestTimeout"in E&&!n.abortController)P=!1,M=!0;else if(E.mode==="prefer-streaming")M=!1;else if(E.mode==="allow-wrong-content-type")M=!n.overrideMimeType;else if(!E.mode||E.mode==="default"||E.mode==="prefer-fast")M=!0;else throw new Error("Invalid value for opts.mode");C._mode=h(M,P),C._fetchTimer=null,C._socketTimeout=null,C._socketTimer=null,C.on("finish",function(){C._onFinish()})};e(v,l.Writable),v.prototype.setHeader=function(E,C){var M=this,P=E.toLowerCase();A.indexOf(P)===-1&&(M._headers[P]={name:E,value:C})},v.prototype.getHeader=function(E){var C=this._headers[E.toLowerCase()];return C?C.value:null},v.prototype.removeHeader=function(E){var C=this;delete C._headers[E.toLowerCase()]},v.prototype._onFinish=function(){var E=this;if(!E._destroyed){var C=E._opts;"timeout"in C&&C.timeout!==0&&E.setTimeout(C.timeout);var M=E._headers,P=null;C.method!=="GET"&&C.method!=="HEAD"&&(P=new Blob(E._body,{type:(M["content-type"]||{}).value||""}));var I=[];if(Object.keys(M).forEach(function(N){var ee=M[N].name,Z=M[N].value;Array.isArray(Z)?Z.forEach(function(re){I.push([ee,re])}):I.push([ee,Z])}),E._mode==="fetch"){var j=null;if(n.abortController){var B=new AbortController;j=B.signal,E._fetchAbortController=B,"requestTimeout"in C&&C.requestTimeout!==0&&(E._fetchTimer=commonjsGlobal$1.setTimeout(function(){E.emit("requestTimeout"),E._fetchAbortController&&E._fetchAbortController.abort()},C.requestTimeout))}commonjsGlobal$1.fetch(E._opts.url,{method:E._opts.method,headers:I,body:P||void 0,mode:"cors",credentials:C.withCredentials?"include":"same-origin",signal:j}).then(function(N){E._fetchResponse=N,E._resetTimers(!1),E._connect()},function(N){E._resetTimers(!0),E._destroyed||E.emit("error",N)})}else{var F=E._xhr=new commonjsGlobal$1.XMLHttpRequest;try{F.open(E._opts.method,E._opts.url,!0)}catch(N){process$1.nextTick(function(){E.emit("error",N)});return}"responseType"in F&&(F.responseType=E._mode),"withCredentials"in F&&(F.withCredentials=!!C.withCredentials),E._mode==="text"&&"overrideMimeType"in F&&F.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in C&&(F.timeout=C.requestTimeout,F.ontimeout=function(){E.emit("requestTimeout")}),I.forEach(function(N){F.setRequestHeader(N[0],N[1])}),E._response=null,F.onreadystatechange=function(){switch(F.readyState){case u.LOADING:case u.DONE:E._onXHRProgress();break}},E._mode==="moz-chunked-arraybuffer"&&(F.onprogress=function(){E._onXHRProgress()}),F.onerror=function(){E._destroyed||(E._resetTimers(!0),E.emit("error",new Error("XHR error")))};try{F.send(P)}catch(N){process$1.nextTick(function(){E.emit("error",N)});return}}}};function w(E){try{var C=E.status;return C!==null&&C!==0}catch{return!1}}v.prototype._onXHRProgress=function(){var E=this;E._resetTimers(!1),!(!w(E._xhr)||E._destroyed)&&(E._response||E._connect(),E._response._onXHRProgress(E._resetTimers.bind(E)))},v.prototype._connect=function(){var E=this;E._destroyed||(E._response=new t(E._xhr,E._fetchResponse,E._mode,E._resetTimers.bind(E)),E._response.on("error",function(C){E.emit("error",C)}),E.emit("response",E._response))},v.prototype._write=function(E,C,M){var P=this;P._body.push(E),M()},v.prototype._resetTimers=function(E){var C=this;commonjsGlobal$1.clearTimeout(C._socketTimer),C._socketTimer=null,E?(commonjsGlobal$1.clearTimeout(C._fetchTimer),C._fetchTimer=null):C._socketTimeout&&(C._socketTimer=commonjsGlobal$1.setTimeout(function(){C.emit("timeout")},C._socketTimeout))},v.prototype.abort=v.prototype.destroy=function(E){var C=this;C._destroyed=!0,C._resetTimers(!0),C._response&&(C._response._destroyed=!0),C._xhr?C._xhr.abort():C._fetchAbortController&&C._fetchAbortController.abort(),E&&C.emit("error",E)},v.prototype.end=function(E,C,M){var P=this;typeof E=="function"&&(M=E,E=void 0),l.Writable.prototype.end.call(P,E,C,M)},v.prototype.setTimeout=function(E,C){var M=this;C&&M.once("timeout",C),M._socketTimeout=E,M._resetTimers(!1)},v.prototype.flushHeaders=function(){},v.prototype.setNoDelay=function(){},v.prototype.setSocketKeepAlive=function(){};var A=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"];return request$3.exports}var immutable,hasRequiredImmutable;function requireImmutable(){if(hasRequiredImmutable)return immutable;hasRequiredImmutable=1,immutable=e;var n=Object.prototype.hasOwnProperty;function e(){for(var o={},l=0;l<arguments.length;l++){var t=arguments[l];for(var u in t)n.call(t,u)&&(o[u]=t[u])}return o}return immutable}var browser$1,hasRequiredBrowser$1;function requireBrowser$1(){return hasRequiredBrowser$1||(hasRequiredBrowser$1=1,browser$1={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}),browser$1}var hasRequiredStreamHttp;function requireStreamHttp(){return hasRequiredStreamHttp||(hasRequiredStreamHttp=1,function(n){var e=requireRequest$1(),o=requireResponse(),l=requireImmutable(),t=requireBrowser$1(),u=require$$2$2,h=n;h.request=function(v,w){typeof v=="string"?v=u.parse(v):v=l(v);var A=commonjsGlobal$1.location.protocol.search(/^https?:$/)===-1?"http:":"",E=v.protocol||A,C=v.hostname||v.host,M=v.port,P=v.path||"/";C&&C.indexOf(":")!==-1&&(C="["+C+"]"),v.url=(C?E+"//"+C:"")+(M?":"+M:"")+P,v.method=(v.method||"GET").toUpperCase(),v.headers=v.headers||{};var I=new e(v);return w&&I.on("response",w),I},h.get=function(w,A){var E=h.request(w,A);return E.end(),E},h.ClientRequest=e,h.IncomingMessage=o.IncomingMessage,h.Agent=function(){},h.Agent.defaultMaxSockets=4,h.globalAgent=new h.Agent,h.STATUS_CODES=t,h.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}(streamHttp)),streamHttp}var httpsBrowserify={exports:{}},hasRequiredHttpsBrowserify;function requireHttpsBrowserify(){return hasRequiredHttpsBrowserify||(hasRequiredHttpsBrowserify=1,function(n){var e=requireStreamHttp(),o=require$$2$2,l=n.exports;for(var t in e)e.hasOwnProperty(t)&&(l[t]=e[t]);l.request=function(h,v){return h=u(h),e.request.call(this,h,v)},l.get=function(h,v){return h=u(h),e.get.call(this,h,v)};function u(h){if(typeof h=="string"&&(h=o.parse(h)),h.protocol||(h.protocol="https:"),h.protocol!=="https:")throw new Error('Protocol "'+h.protocol+'" not supported. Expected "https:"');return h}}(httpsBrowserify)),httpsBrowserify.exports}var lib$5={},binding={},assert={exports:{}},errors$2={},hasRequiredErrors$2;function requireErrors$2(){if(hasRequiredErrors$2)return errors$2;hasRequiredErrors$2=1;function n(N){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ee){return typeof ee}:function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee},n(N)}function e(N,ee,Z){return Object.defineProperty(N,"prototype",{writable:!1}),N}function o(N,ee){if(!(N instanceof ee))throw new TypeError("Cannot call a class as a function")}function l(N,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(ee&&ee.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),Object.defineProperty(N,"prototype",{writable:!1}),ee&&t(N,ee)}function t(N,ee){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(re,fe){return re.__proto__=fe,re},t(N,ee)}function u(N){var ee=w();return function(){var re=A(N),fe;if(ee){var V=A(this).constructor;fe=Reflect.construct(re,arguments,V)}else fe=re.apply(this,arguments);return h(this,fe)}}function h(N,ee){if(ee&&(n(ee)==="object"||typeof ee=="function"))return ee;if(ee!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(N)}function v(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function w(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function A(N){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Z){return Z.__proto__||Object.getPrototypeOf(Z)},A(N)}var E={},C,M;function P(N,ee,Z){Z||(Z=Error);function re(V,le,he){return typeof ee=="string"?ee:ee(V,le,he)}var fe=function(V){l(he,V);var le=u(he);function he(ye,L,p){var y;return o(this,he),y=le.call(this,re(ye,L,p)),y.code=N,y}return e(he)}(Z);E[N]=fe}function I(N,ee){if(Array.isArray(N)){var Z=N.length;return N=N.map(function(re){return String(re)}),Z>2?"one of ".concat(ee," ").concat(N.slice(0,Z-1).join(", "),", or ")+N[Z-1]:Z===2?"one of ".concat(ee," ").concat(N[0]," or ").concat(N[1]):"of ".concat(ee," ").concat(N[0])}else return"of ".concat(ee," ").concat(String(N))}function j(N,ee,Z){return N.substr(0,ee.length)===ee}function B(N,ee,Z){return(Z===void 0||Z>N.length)&&(Z=N.length),N.substring(Z-ee.length,Z)===ee}function F(N,ee,Z){return typeof Z!="number"&&(Z=0),Z+ee.length>N.length?!1:N.indexOf(ee,Z)!==-1}return P("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),P("ERR_INVALID_ARG_TYPE",function(N,ee,Z){C===void 0&&(C=requireAssert$1()),C(typeof N=="string","'name' must be a string");var re;typeof ee=="string"&&j(ee,"not ")?(re="must not be",ee=ee.replace(/^not /,"")):re="must be";var fe;if(B(N," argument"))fe="The ".concat(N," ").concat(re," ").concat(I(ee,"type"));else{var V=F(N,".")?"property":"argument";fe='The "'.concat(N,'" ').concat(V," ").concat(re," ").concat(I(ee,"type"))}return fe+=". Received type ".concat(n(Z)),fe},TypeError),P("ERR_INVALID_ARG_VALUE",function(N,ee){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";M===void 0&&(M=util$6);var re=M.inspect(ee);return re.length>128&&(re="".concat(re.slice(0,128),"...")),"The argument '".concat(N,"' ").concat(Z,". Received ").concat(re)},TypeError),P("ERR_INVALID_RETURN_VALUE",function(N,ee,Z){var re;return Z&&Z.constructor&&Z.constructor.name?re="instance of ".concat(Z.constructor.name):re="type ".concat(n(Z)),"Expected ".concat(N,' to be returned from the "').concat(ee,'"')+" function but got ".concat(re,".")},TypeError),P("ERR_MISSING_ARGS",function(){for(var N=arguments.length,ee=new Array(N),Z=0;Z<N;Z++)ee[Z]=arguments[Z];C===void 0&&(C=requireAssert$1()),C(ee.length>0,"At least one arg needs to be specified");var re="The ",fe=ee.length;switch(ee=ee.map(function(V){return'"'.concat(V,'"')}),fe){case 1:re+="".concat(ee[0]," argument");break;case 2:re+="".concat(ee[0]," and ").concat(ee[1]," arguments");break;default:re+=ee.slice(0,fe-1).join(", "),re+=", and ".concat(ee[fe-1]," arguments");break}return"".concat(re," must be specified")},TypeError),errors$2.codes=E,errors$2}var assertion_error,hasRequiredAssertion_error;function requireAssertion_error(){if(hasRequiredAssertion_error)return assertion_error;hasRequiredAssertion_error=1;function n(b,d){var k=Object.keys(b);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(b);d&&(D=D.filter(function(O){return Object.getOwnPropertyDescriptor(b,O).enumerable})),k.push.apply(k,D)}return k}function e(b){for(var d=1;d<arguments.length;d++){var k=arguments[d]!=null?arguments[d]:{};d%2?n(Object(k),!0).forEach(function(D){o(b,D,k[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(k)):n(Object(k)).forEach(function(D){Object.defineProperty(b,D,Object.getOwnPropertyDescriptor(k,D))})}return b}function o(b,d,k){return d=h(d),d in b?Object.defineProperty(b,d,{value:k,enumerable:!0,configurable:!0,writable:!0}):b[d]=k,b}function l(b,d){if(!(b instanceof d))throw new TypeError("Cannot call a class as a function")}function t(b,d){for(var k=0;k<d.length;k++){var D=d[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(b,h(D.key),D)}}function u(b,d,k){return d&&t(b.prototype,d),Object.defineProperty(b,"prototype",{writable:!1}),b}function h(b){var d=v(b,"string");return N(d)==="symbol"?d:String(d)}function v(b,d){if(N(b)!=="object"||b===null)return b;var k=b[Symbol.toPrimitive];if(k!==void 0){var D=k.call(b,d||"default");if(N(D)!=="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(b)}function w(b,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(d&&d.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),d&&B(b,d)}function A(b){var d=I();return function(){var D=F(b),O;if(d){var Q=F(this).constructor;O=Reflect.construct(D,arguments,Q)}else O=D.apply(this,arguments);return E(this,O)}}function E(b,d){if(d&&(N(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return C(b)}function C(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function M(b){var d=typeof Map=="function"?new Map:void 0;return M=function(D){if(D===null||!j(D))return D;if(typeof D!="function")throw new TypeError("Super expression must either be null or a function");if(typeof d<"u"){if(d.has(D))return d.get(D);d.set(D,O)}function O(){return P(D,arguments,F(this).constructor)}return O.prototype=Object.create(D.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),B(O,D)},M(b)}function P(b,d,k){return I()?P=Reflect.construct.bind():P=function(O,Q,J){var X=[null];X.push.apply(X,Q);var U=Function.bind.apply(O,X),z=new U;return J&&B(z,J.prototype),z},P.apply(null,arguments)}function I(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function j(b){return Function.toString.call(b).indexOf("[native code]")!==-1}function B(b,d){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(D,O){return D.__proto__=O,D},B(b,d)}function F(b){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(k){return k.__proto__||Object.getPrototypeOf(k)},F(b)}function N(b){"@babel/helpers - typeof";return N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},N(b)}var ee=util$6,Z=ee.inspect,re=requireErrors$2(),fe=re.codes.ERR_INVALID_ARG_TYPE;function V(b,d,k){return(k===void 0||k>b.length)&&(k=b.length),b.substring(k-d.length,k)===d}function le(b,d){if(d=Math.floor(d),b.length==0||d==0)return"";var k=b.length*d;for(d=Math.floor(Math.log(d)/Math.log(2));d;)b+=b,d--;return b+=b.substring(0,k-b.length),b}var he="",ye="",L="",p="",y={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},S=10;function c(b){var d=Object.keys(b),k=Object.create(Object.getPrototypeOf(b));return d.forEach(function(D){k[D]=b[D]}),Object.defineProperty(k,"message",{value:b.message}),k}function m(b){return Z(b,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function x(b,d,k){var D="",O="",Q=0,J="",X=!1,U=m(b),z=U.split(`
+`),ie=m(d).split(`
+`),de=0,me="";if(k==="strictEqual"&&N(b)==="object"&&N(d)==="object"&&b!==null&&d!==null&&(k="strictEqualObject"),z.length===1&&ie.length===1&&z[0]!==ie[0]){var pe=z[0].length+ie[0].length;if(pe<=S){if((N(b)!=="object"||b===null)&&(N(d)!=="object"||d===null)&&(b!==0||d!==0))return"".concat(y[k],`
 
-`)+"".concat(z[0]," !== ").concat(ne[0],`
-`)}else if(T!=="strictEqualObject"){var Oe=process$1.stderr&&process$1.stderr.isTTY?process$1.stderr.columns:80;if(de<Oe){for(;z[0][fe]===ne[0][fe];)fe++;fe>2&&(me=`
-  `.concat(ce(" ",fe),"^"),fe=0)}}}for(var lt=z[z.length-1],it=ne[ne.length-1];lt===it&&(fe++<2?ee=`
-  `.concat(lt).concat(ee):M=lt,z.pop(),ne.pop(),!(z.length===0||ne.length===0));)lt=z[z.length-1],it=ne[ne.length-1];var ot=Math.max(z.length,ne.length);if(ot===0){var Ct=U.split(`
-`);if(Ct.length>30)for(Ct[26]="".concat(he,"...").concat(d);Ct.length>27;)Ct.pop();return"".concat(v.notIdentical,`
+`)+"".concat(z[0]," !== ").concat(ie[0],`
+`)}else if(k!=="strictEqualObject"){var qe=process$1.stderr&&process$1.stderr.isTTY?process$1.stderr.columns:80;if(pe<qe){for(;z[0][de]===ie[0][de];)de++;de>2&&(me=`
+  `.concat(le(" ",de),"^"),de=0)}}}for(var mt=z[z.length-1],st=ie[ie.length-1];mt===st&&(de++<2?J=`
+  `.concat(mt).concat(J):D=mt,z.pop(),ie.pop(),!(z.length===0||ie.length===0));)mt=z[z.length-1],st=ie[ie.length-1];var dt=Math.max(z.length,ie.length);if(dt===0){var Tt=U.split(`
+`);if(Tt.length>30)for(Tt[26]="".concat(he,"...").concat(p);Tt.length>27;)Tt.pop();return"".concat(y.notIdentical,`
 
-`).concat(Ct.join(`
+`).concat(Tt.join(`
 `),`
-`)}fe>3&&(ee=`
-`.concat(he,"...").concat(d).concat(ee),Z=!0),M!==""&&(ee=`
-  `.concat(M).concat(ee),M="");var nt=0,Je=v[T]+`
-`.concat(ke,"+ actual").concat(d," ").concat(L,"- expected").concat(d),tt=" ".concat(he,"...").concat(d," Lines skipped");for(fe=0;fe<ot;fe++){var rt=fe-V;if(z.length<fe+1)rt>1&&fe>2&&(rt>4?(j+=`
-`.concat(he,"...").concat(d),Z=!0):rt>3&&(j+=`
-  `.concat(ne[fe-2]),nt++),j+=`
-  `.concat(ne[fe-1]),nt++),V=fe,M+=`
-`.concat(L,"-").concat(d," ").concat(ne[fe]),nt++;else if(ne.length<fe+1)rt>1&&fe>2&&(rt>4?(j+=`
-`.concat(he,"...").concat(d),Z=!0):rt>3&&(j+=`
-  `.concat(z[fe-2]),nt++),j+=`
-  `.concat(z[fe-1]),nt++),V=fe,j+=`
-`.concat(ke,"+").concat(d," ").concat(z[fe]),nt++;else{var ht=ne[fe],jt=z[fe],Ve=jt!==ht&&(!Q(jt,",")||jt.slice(0,-1)!==ht);Ve&&Q(ht,",")&&ht.slice(0,-1)===jt&&(Ve=!1,jt+=","),Ve?(rt>1&&fe>2&&(rt>4?(j+=`
-`.concat(he,"...").concat(d),Z=!0):rt>3&&(j+=`
-  `.concat(z[fe-2]),nt++),j+=`
-  `.concat(z[fe-1]),nt++),V=fe,j+=`
-`.concat(ke,"+").concat(d," ").concat(jt),M+=`
-`.concat(L,"-").concat(d," ").concat(ht),nt+=2):(j+=M,M="",(rt===1||fe===0)&&(j+=`
-  `.concat(jt),nt++))}if(nt>20&&fe<ot-2)return"".concat(Je).concat(tt,`
-`).concat(j,`
-`).concat(he,"...").concat(d).concat(M,`
-`)+"".concat(he,"...").concat(d)}return"".concat(Je).concat(Z?tt:"",`
-`).concat(j).concat(M).concat(ee).concat(me)}var S=function(b,h){E(M,b);var T=C(M);function M(j){var V;if(o(this,M),N(j)!=="object"||j===null)throw new ue("options","Object",j);var ee=j.message,Z=j.operator,U=j.stackStartFn,z=j.actual,ne=j.expected,fe=Error.stackTraceLimit;if(Error.stackTraceLimit=0,ee!=null)V=T.call(this,String(ee));else if(process$1.stderr&&process$1.stderr.isTTY&&(process$1.stderr&&process$1.stderr.getColorDepth&&process$1.stderr.getColorDepth()!==1?(he="\x1B[34m",ke="\x1B[32m",d="\x1B[39m",L="\x1B[31m"):(he="",ke="",d="",L="")),N(z)==="object"&&z!==null&&N(ne)==="object"&&ne!==null&&"stack"in z&&z instanceof Error&&"stack"in ne&&ne instanceof Error&&(z=c(z),ne=c(ne)),Z==="deepStrictEqual"||Z==="strictEqual")V=T.call(this,x(z,ne,Z));else if(Z==="notDeepStrictEqual"||Z==="notStrictEqual"){var me=v[Z],de=p(z).split(`
-`);if(Z==="notStrictEqual"&&N(z)==="object"&&z!==null&&(me=v.notStrictEqualObject),de.length>30)for(de[26]="".concat(he,"...").concat(d);de.length>27;)de.pop();de.length===1?V=T.call(this,"".concat(me," ").concat(de[0])):V=T.call(this,"".concat(me,`
+`)}de>3&&(J=`
+`.concat(he,"...").concat(p).concat(J),X=!0),D!==""&&(J=`
+  `.concat(D).concat(J),D="");var lt=0,Je=y[k]+`
+`.concat(ye,"+ actual").concat(p," ").concat(L,"- expected").concat(p),ht=" ".concat(he,"...").concat(p," Lines skipped");for(de=0;de<dt;de++){var at=de-Q;if(z.length<de+1)at>1&&de>2&&(at>4?(O+=`
+`.concat(he,"...").concat(p),X=!0):at>3&&(O+=`
+  `.concat(ie[de-2]),lt++),O+=`
+  `.concat(ie[de-1]),lt++),Q=de,D+=`
+`.concat(L,"-").concat(p," ").concat(ie[de]),lt++;else if(ie.length<de+1)at>1&&de>2&&(at>4?(O+=`
+`.concat(he,"...").concat(p),X=!0):at>3&&(O+=`
+  `.concat(z[de-2]),lt++),O+=`
+  `.concat(z[de-1]),lt++),Q=de,O+=`
+`.concat(ye,"+").concat(p," ").concat(z[de]),lt++;else{var bt=ie[de],jt=z[de],Ge=jt!==bt&&(!V(jt,",")||jt.slice(0,-1)!==bt);Ge&&V(bt,",")&&bt.slice(0,-1)===jt&&(Ge=!1,jt+=","),Ge?(at>1&&de>2&&(at>4?(O+=`
+`.concat(he,"...").concat(p),X=!0):at>3&&(O+=`
+  `.concat(z[de-2]),lt++),O+=`
+  `.concat(z[de-1]),lt++),Q=de,O+=`
+`.concat(ye,"+").concat(p," ").concat(jt),D+=`
+`.concat(L,"-").concat(p," ").concat(bt),lt+=2):(O+=D,D="",(at===1||de===0)&&(O+=`
+  `.concat(jt),lt++))}if(lt>20&&de<dt-2)return"".concat(Je).concat(ht,`
+`).concat(O,`
+`).concat(he,"...").concat(p).concat(D,`
+`)+"".concat(he,"...").concat(p)}return"".concat(Je).concat(X?ht:"",`
+`).concat(O).concat(D).concat(J).concat(me)}var T=function(b,d){w(D,b);var k=A(D);function D(O){var Q;if(l(this,D),N(O)!=="object"||O===null)throw new fe("options","Object",O);var J=O.message,X=O.operator,U=O.stackStartFn,z=O.actual,ie=O.expected,de=Error.stackTraceLimit;if(Error.stackTraceLimit=0,J!=null)Q=k.call(this,String(J));else if(process$1.stderr&&process$1.stderr.isTTY&&(process$1.stderr&&process$1.stderr.getColorDepth&&process$1.stderr.getColorDepth()!==1?(he="\x1B[34m",ye="\x1B[32m",p="\x1B[39m",L="\x1B[31m"):(he="",ye="",p="",L="")),N(z)==="object"&&z!==null&&N(ie)==="object"&&ie!==null&&"stack"in z&&z instanceof Error&&"stack"in ie&&ie instanceof Error&&(z=c(z),ie=c(ie)),X==="deepStrictEqual"||X==="strictEqual")Q=k.call(this,x(z,ie,X));else if(X==="notDeepStrictEqual"||X==="notStrictEqual"){var me=y[X],pe=m(z).split(`
+`);if(X==="notStrictEqual"&&N(z)==="object"&&z!==null&&(me=y.notStrictEqualObject),pe.length>30)for(pe[26]="".concat(he,"...").concat(p);pe.length>27;)pe.pop();pe.length===1?Q=k.call(this,"".concat(me," ").concat(pe[0])):Q=k.call(this,"".concat(me,`
 
-`).concat(de.join(`
+`).concat(pe.join(`
 `),`
-`))}else{var Oe=p(z),lt="",it=v[Z];Z==="notDeepEqual"||Z==="notEqual"?(Oe="".concat(v[Z],`
+`))}else{var qe=m(z),mt="",st=y[X];X==="notDeepEqual"||X==="notEqual"?(qe="".concat(y[X],`
 
-`).concat(Oe),Oe.length>1024&&(Oe="".concat(Oe.slice(0,1021),"..."))):(lt="".concat(p(ne)),Oe.length>512&&(Oe="".concat(Oe.slice(0,509),"...")),lt.length>512&&(lt="".concat(lt.slice(0,509),"...")),Z==="deepEqual"||Z==="equal"?Oe="".concat(it,`
+`).concat(qe),qe.length>1024&&(qe="".concat(qe.slice(0,1021),"..."))):(mt="".concat(m(ie)),qe.length>512&&(qe="".concat(qe.slice(0,509),"...")),mt.length>512&&(mt="".concat(mt.slice(0,509),"...")),X==="deepEqual"||X==="equal"?qe="".concat(st,`
 
-`).concat(Oe,`
+`).concat(qe,`
 
 should equal
 
-`):lt=" ".concat(Z," ").concat(lt)),V=T.call(this,"".concat(Oe).concat(lt))}return Error.stackTraceLimit=fe,V.generatedMessage=!ee,Object.defineProperty(A(V),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),V.code="ERR_ASSERTION",V.actual=z,V.expected=ne,V.operator=Z,Error.captureStackTrace&&Error.captureStackTrace(A(V),U),V.stack,V.name="AssertionError",k(V)}return l(M,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:h,value:function(V,ee){return J(this,e(e({},ee),{},{customInspect:!1,depth:0}))}}]),M}(D(Error),J.custom);return assertion_error=S,assertion_error}var isArguments,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var t=Object.prototype.toString;return isArguments=function(n){var o=t.call(n),u=o==="[object Arguments]";return u||(u=o!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&t.call(n.callee)==="[object Function]"),u},isArguments}var implementation$3,hasRequiredImplementation$3;function requireImplementation$3(){if(hasRequiredImplementation$3)return implementation$3;hasRequiredImplementation$3=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=requireIsArguments(),u=Object.prototype.propertyIsEnumerable,l=!u.call({toString:null},"toString"),m=u.call(function(){},"prototype"),y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],E=function(D){var P=D.constructor;return P&&P.prototype===D},C={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},k=function(){if(typeof window>"u")return!1;for(var D in window)try{if(!C["$"+D]&&e.call(window,D)&&window[D]!==null&&typeof window[D]=="object")try{E(window[D])}catch{return!0}}catch{return!0}return!1}(),A=function(D){if(typeof window>"u"||!k)return E(D);try{return E(D)}catch{return!1}};t=function(P){var R=P!==null&&typeof P=="object",B=n.call(P)==="[object Function]",F=o(P),O=R&&n.call(P)==="[object String]",N=[];if(!R&&!B&&!F)throw new TypeError("Object.keys called on a non-object");var Y=m&&B;if(O&&P.length>0&&!e.call(P,0))for(var J=0;J<P.length;++J)N.push(String(J));if(F&&P.length>0)for(var ie=0;ie<P.length;++ie)N.push(String(ie));else for(var ue in P)!(Y&&ue==="prototype")&&e.call(P,ue)&&N.push(String(ue));if(l)for(var Q=A(P),ce=0;ce<y.length;++ce)!(Q&&y[ce]==="constructor")&&e.call(P,y[ce])&&N.push(y[ce]);return N}}return implementation$3=t,implementation$3}var objectKeys,hasRequiredObjectKeys;function requireObjectKeys(){if(hasRequiredObjectKeys)return objectKeys;hasRequiredObjectKeys=1;var t=Array.prototype.slice,e=requireIsArguments(),n=Object.keys,o=n?function(m){return n(m)}:requireImplementation$3(),u=Object.keys;return o.shim=function(){if(Object.keys){var m=function(){var y=Object.keys(arguments);return y&&y.length===arguments.length}(1,2);m||(Object.keys=function(E){return e(E)?u(t.call(E)):u(E)})}else Object.keys=o;return Object.keys||o},objectKeys=o,objectKeys}var implementation$2,hasRequiredImplementation$2;function requireImplementation$2(){if(hasRequiredImplementation$2)return implementation$2;hasRequiredImplementation$2=1;var t=requireObjectKeys(),e=shams$1(),n=callBound$2,o=Object,u=n("Array.prototype.push"),l=n("Object.prototype.propertyIsEnumerable"),m=e?Object.getOwnPropertySymbols:null;return implementation$2=function(E,C){if(E==null)throw new TypeError("target must be an object");var k=o(E);if(arguments.length===1)return k;for(var A=1;A<arguments.length;++A){var D=o(arguments[A]),P=t(D),R=e&&(Object.getOwnPropertySymbols||m);if(R)for(var B=R(D),F=0;F<B.length;++F){var O=B[F];l(D,O)&&u(P,O)}for(var N=0;N<P.length;++N){var Y=P[N];if(l(D,Y)){var J=D[Y];k[Y]=J}}}return k},implementation$2}var polyfill$2,hasRequiredPolyfill$2;function requirePolyfill$2(){if(hasRequiredPolyfill$2)return polyfill$2;hasRequiredPolyfill$2=1;var t=requireImplementation$2(),e=function(){if(!Object.assign)return!1;for(var o="abcdefghijklmnopqrst",u=o.split(""),l={},m=0;m<u.length;++m)l[u[m]]=u[m];var y=Object.assign({},l),E="";for(var C in y)E+=C;return o!==E},n=function(){if(!Object.assign||!Object.preventExtensions)return!1;var o=Object.preventExtensions({1:2});try{Object.assign(o,"xy")}catch{return o[1]==="y"}return!1};return polyfill$2=function(){return!Object.assign||e()||n()?t:Object.assign},polyfill$2}var implementation$1,hasRequiredImplementation$1;function requireImplementation$1(){if(hasRequiredImplementation$1)return implementation$1;hasRequiredImplementation$1=1;var t=function(e){return e!==e};return implementation$1=function(n,o){return n===0&&o===0?1/n===1/o:!!(n===o||t(n)&&t(o))},implementation$1}var polyfill$1,hasRequiredPolyfill$1;function requirePolyfill$1(){if(hasRequiredPolyfill$1)return polyfill$1;hasRequiredPolyfill$1=1;var t=requireImplementation$1();return polyfill$1=function(){return typeof Object.is=="function"?Object.is:t},polyfill$1}var defineProperties_1,hasRequiredDefineProperties;function requireDefineProperties(){if(hasRequiredDefineProperties)return defineProperties_1;hasRequiredDefineProperties=1;var t=requireObjectKeys(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,o=Array.prototype.concat,u=defineDataProperty,l=function(C){return typeof C=="function"&&n.call(C)==="[object Function]"},m=hasPropertyDescriptors_1(),y=function(C,k,A,D){if(k in C){if(D===!0){if(C[k]===A)return}else if(!l(D)||!D())return}m?u(C,k,A,!0):u(C,k,A)},E=function(C,k){var A=arguments.length>2?arguments[2]:{},D=t(k);e&&(D=o.call(D,Object.getOwnPropertySymbols(k)));for(var P=0;P<D.length;P+=1)y(C,D[P],k[D[P]],A[D[P]])};return E.supportsDescriptors=!!m,defineProperties_1=E,defineProperties_1}var shim$1,hasRequiredShim$1;function requireShim$1(){if(hasRequiredShim$1)return shim$1;hasRequiredShim$1=1;var t=requirePolyfill$1(),e=requireDefineProperties();return shim$1=function(){var o=t();return e(Object,{is:o},{is:function(){return Object.is!==o}}),o},shim$1}var objectIs,hasRequiredObjectIs;function requireObjectIs(){if(hasRequiredObjectIs)return objectIs;hasRequiredObjectIs=1;var t=requireDefineProperties(),e=callBindExports,n=requireImplementation$1(),o=requirePolyfill$1(),u=requireShim$1(),l=e(o(),Object);return t(l,{getPolyfill:o,implementation:n,shim:u}),objectIs=l,objectIs}var implementation,hasRequiredImplementation;function requireImplementation(){return hasRequiredImplementation||(hasRequiredImplementation=1,implementation=function(e){return e!==e}),implementation}var polyfill,hasRequiredPolyfill;function requirePolyfill(){if(hasRequiredPolyfill)return polyfill;hasRequiredPolyfill=1;var t=requireImplementation();return polyfill=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:t},polyfill}var shim,hasRequiredShim;function requireShim(){if(hasRequiredShim)return shim;hasRequiredShim=1;var t=requireDefineProperties(),e=requirePolyfill();return shim=function(){var o=e();return t(Number,{isNaN:o},{isNaN:function(){return Number.isNaN!==o}}),o},shim}var isNan,hasRequiredIsNan;function requireIsNan(){if(hasRequiredIsNan)return isNan;hasRequiredIsNan=1;var t=callBindExports,e=requireDefineProperties(),n=requireImplementation(),o=requirePolyfill(),u=requireShim(),l=t(o(),Number);return e(l,{getPolyfill:o,implementation:n,shim:u}),isNan=l,isNan}var comparisons,hasRequiredComparisons;function requireComparisons(){if(hasRequiredComparisons)return comparisons;hasRequiredComparisons=1;function t(Ve,We){return l(Ve)||u(Ve,We)||n(Ve,We)||e()}function e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n(Ve,We){if(Ve){if(typeof Ve=="string")return o(Ve,We);var Gt=Object.prototype.toString.call(Ve).slice(8,-1);if(Gt==="Object"&&Ve.constructor&&(Gt=Ve.constructor.name),Gt==="Map"||Gt==="Set")return Array.from(Ve);if(Gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Gt))return o(Ve,We)}}function o(Ve,We){(We==null||We>Ve.length)&&(We=Ve.length);for(var Gt=0,wt=new Array(We);Gt<We;Gt++)wt[Gt]=Ve[Gt];return wt}function u(Ve,We){var Gt=Ve==null?null:typeof Symbol<"u"&&Ve[Symbol.iterator]||Ve["@@iterator"];if(Gt!=null){var wt,Et,Yt,Ce,te=[],ye=!0,Le=!1;try{if(Yt=(Gt=Gt.call(Ve)).next,We!==0)for(;!(ye=(wt=Yt.call(Gt)).done)&&(te.push(wt.value),te.length!==We);ye=!0);}catch(Ue){Le=!0,Et=Ue}finally{try{if(!ye&&Gt.return!=null&&(Ce=Gt.return(),Object(Ce)!==Ce))return}finally{if(Le)throw Et}}return te}}function l(Ve){if(Array.isArray(Ve))return Ve}function m(Ve){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(We){return typeof We}:function(We){return We&&typeof Symbol=="function"&&We.constructor===Symbol&&We!==Symbol.prototype?"symbol":typeof We},m(Ve)}var y=/a/g.flags!==void 0,E=function(We){var Gt=[];return We.forEach(function(wt){return Gt.push(wt)}),Gt},C=function(We){var Gt=[];return We.forEach(function(wt,Et){return Gt.push([Et,wt])}),Gt},k=Object.is?Object.is:requireObjectIs(),A=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},D=Number.isNaN?Number.isNaN:requireIsNan();function P(Ve){return Ve.call.bind(Ve)}var R=P(Object.prototype.hasOwnProperty),B=P(Object.prototype.propertyIsEnumerable),F=P(Object.prototype.toString),O=util$6.types,N=O.isAnyArrayBuffer,Y=O.isArrayBufferView,J=O.isDate,ie=O.isMap,ue=O.isRegExp,Q=O.isSet,ce=O.isNativeError,he=O.isBoxedPrimitive,ke=O.isNumberObject,L=O.isStringObject,d=O.isBooleanObject,v=O.isBigIntObject,w=O.isSymbolObject,c=O.isFloat32Array,p=O.isFloat64Array;function x(Ve){if(Ve.length===0||Ve.length>10)return!0;for(var We=0;We<Ve.length;We++){var Gt=Ve.charCodeAt(We);if(Gt<48||Gt>57)return!0}return Ve.length===10&&Ve>=Math.pow(2,32)}function S(Ve){return Object.keys(Ve).filter(x).concat(A(Ve).filter(Object.prototype.propertyIsEnumerable.bind(Ve)))}/*!
+`):mt=" ".concat(X," ").concat(mt)),Q=k.call(this,"".concat(qe).concat(mt))}return Error.stackTraceLimit=de,Q.generatedMessage=!J,Object.defineProperty(C(Q),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),Q.code="ERR_ASSERTION",Q.actual=z,Q.expected=ie,Q.operator=X,Error.captureStackTrace&&Error.captureStackTrace(C(Q),U),Q.stack,Q.name="AssertionError",E(Q)}return u(D,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:d,value:function(Q,J){return Z(this,e(e({},J),{},{customInspect:!1,depth:0}))}}]),D}(M(Error),Z.custom);return assertion_error=T,assertion_error}var isArguments,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var n=Object.prototype.toString;return isArguments=function(o){var l=n.call(o),t=l==="[object Arguments]";return t||(t=l!=="[object Array]"&&o!==null&&typeof o=="object"&&typeof o.length=="number"&&o.length>=0&&n.call(o.callee)==="[object Function]"),t},isArguments}var implementation$3,hasRequiredImplementation$3;function requireImplementation$3(){if(hasRequiredImplementation$3)return implementation$3;hasRequiredImplementation$3=1;var n;if(!Object.keys){var e=Object.prototype.hasOwnProperty,o=Object.prototype.toString,l=requireIsArguments(),t=Object.prototype.propertyIsEnumerable,u=!t.call({toString:null},"toString"),h=t.call(function(){},"prototype"),v=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],w=function(M){var P=M.constructor;return P&&P.prototype===M},A={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},E=function(){if(typeof window>"u")return!1;for(var M in window)try{if(!A["$"+M]&&e.call(window,M)&&window[M]!==null&&typeof window[M]=="object")try{w(window[M])}catch{return!0}}catch{return!0}return!1}(),C=function(M){if(typeof window>"u"||!E)return w(M);try{return w(M)}catch{return!1}};n=function(P){var I=P!==null&&typeof P=="object",j=o.call(P)==="[object Function]",B=l(P),F=I&&o.call(P)==="[object String]",N=[];if(!I&&!j&&!B)throw new TypeError("Object.keys called on a non-object");var ee=h&&j;if(F&&P.length>0&&!e.call(P,0))for(var Z=0;Z<P.length;++Z)N.push(String(Z));if(B&&P.length>0)for(var re=0;re<P.length;++re)N.push(String(re));else for(var fe in P)!(ee&&fe==="prototype")&&e.call(P,fe)&&N.push(String(fe));if(u)for(var V=C(P),le=0;le<v.length;++le)!(V&&v[le]==="constructor")&&e.call(P,v[le])&&N.push(v[le]);return N}}return implementation$3=n,implementation$3}var objectKeys,hasRequiredObjectKeys;function requireObjectKeys(){if(hasRequiredObjectKeys)return objectKeys;hasRequiredObjectKeys=1;var n=Array.prototype.slice,e=requireIsArguments(),o=Object.keys,l=o?function(h){return o(h)}:requireImplementation$3(),t=Object.keys;return l.shim=function(){if(Object.keys){var h=function(){var v=Object.keys(arguments);return v&&v.length===arguments.length}(1,2);h||(Object.keys=function(w){return e(w)?t(n.call(w)):t(w)})}else Object.keys=l;return Object.keys||l},objectKeys=l,objectKeys}var implementation$2,hasRequiredImplementation$2;function requireImplementation$2(){if(hasRequiredImplementation$2)return implementation$2;hasRequiredImplementation$2=1;var n=requireObjectKeys(),e=shams$1(),o=callBound$2,l=Object,t=o("Array.prototype.push"),u=o("Object.prototype.propertyIsEnumerable"),h=e?Object.getOwnPropertySymbols:null;return implementation$2=function(w,A){if(w==null)throw new TypeError("target must be an object");var E=l(w);if(arguments.length===1)return E;for(var C=1;C<arguments.length;++C){var M=l(arguments[C]),P=n(M),I=e&&(Object.getOwnPropertySymbols||h);if(I)for(var j=I(M),B=0;B<j.length;++B){var F=j[B];u(M,F)&&t(P,F)}for(var N=0;N<P.length;++N){var ee=P[N];if(u(M,ee)){var Z=M[ee];E[ee]=Z}}}return E},implementation$2}var polyfill$2,hasRequiredPolyfill$2;function requirePolyfill$2(){if(hasRequiredPolyfill$2)return polyfill$2;hasRequiredPolyfill$2=1;var n=requireImplementation$2(),e=function(){if(!Object.assign)return!1;for(var l="abcdefghijklmnopqrst",t=l.split(""),u={},h=0;h<t.length;++h)u[t[h]]=t[h];var v=Object.assign({},u),w="";for(var A in v)w+=A;return l!==w},o=function(){if(!Object.assign||!Object.preventExtensions)return!1;var l=Object.preventExtensions({1:2});try{Object.assign(l,"xy")}catch{return l[1]==="y"}return!1};return polyfill$2=function(){return!Object.assign||e()||o()?n:Object.assign},polyfill$2}var implementation$1,hasRequiredImplementation$1;function requireImplementation$1(){if(hasRequiredImplementation$1)return implementation$1;hasRequiredImplementation$1=1;var n=function(e){return e!==e};return implementation$1=function(o,l){return o===0&&l===0?1/o===1/l:!!(o===l||n(o)&&n(l))},implementation$1}var polyfill$1,hasRequiredPolyfill$1;function requirePolyfill$1(){if(hasRequiredPolyfill$1)return polyfill$1;hasRequiredPolyfill$1=1;var n=requireImplementation$1();return polyfill$1=function(){return typeof Object.is=="function"?Object.is:n},polyfill$1}var defineProperties_1,hasRequiredDefineProperties;function requireDefineProperties(){if(hasRequiredDefineProperties)return defineProperties_1;hasRequiredDefineProperties=1;var n=requireObjectKeys(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",o=Object.prototype.toString,l=Array.prototype.concat,t=defineDataProperty,u=function(A){return typeof A=="function"&&o.call(A)==="[object Function]"},h=hasPropertyDescriptors_1(),v=function(A,E,C,M){if(E in A){if(M===!0){if(A[E]===C)return}else if(!u(M)||!M())return}h?t(A,E,C,!0):t(A,E,C)},w=function(A,E){var C=arguments.length>2?arguments[2]:{},M=n(E);e&&(M=l.call(M,Object.getOwnPropertySymbols(E)));for(var P=0;P<M.length;P+=1)v(A,M[P],E[M[P]],C[M[P]])};return w.supportsDescriptors=!!h,defineProperties_1=w,defineProperties_1}var shim$1,hasRequiredShim$1;function requireShim$1(){if(hasRequiredShim$1)return shim$1;hasRequiredShim$1=1;var n=requirePolyfill$1(),e=requireDefineProperties();return shim$1=function(){var l=n();return e(Object,{is:l},{is:function(){return Object.is!==l}}),l},shim$1}var objectIs,hasRequiredObjectIs;function requireObjectIs(){if(hasRequiredObjectIs)return objectIs;hasRequiredObjectIs=1;var n=requireDefineProperties(),e=callBindExports,o=requireImplementation$1(),l=requirePolyfill$1(),t=requireShim$1(),u=e(l(),Object);return n(u,{getPolyfill:l,implementation:o,shim:t}),objectIs=u,objectIs}var implementation,hasRequiredImplementation;function requireImplementation(){return hasRequiredImplementation||(hasRequiredImplementation=1,implementation=function(e){return e!==e}),implementation}var polyfill,hasRequiredPolyfill;function requirePolyfill(){if(hasRequiredPolyfill)return polyfill;hasRequiredPolyfill=1;var n=requireImplementation();return polyfill=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n},polyfill}var shim,hasRequiredShim;function requireShim(){if(hasRequiredShim)return shim;hasRequiredShim=1;var n=requireDefineProperties(),e=requirePolyfill();return shim=function(){var l=e();return n(Number,{isNaN:l},{isNaN:function(){return Number.isNaN!==l}}),l},shim}var isNan,hasRequiredIsNan;function requireIsNan(){if(hasRequiredIsNan)return isNan;hasRequiredIsNan=1;var n=callBindExports,e=requireDefineProperties(),o=requireImplementation(),l=requirePolyfill(),t=requireShim(),u=n(l(),Number);return e(u,{getPolyfill:l,implementation:o,shim:t}),isNan=u,isNan}var comparisons,hasRequiredComparisons;function requireComparisons(){if(hasRequiredComparisons)return comparisons;hasRequiredComparisons=1;function n(Ge,Qe){return u(Ge)||t(Ge,Qe)||o(Ge,Qe)||e()}function e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(Ge,Qe){if(Ge){if(typeof Ge=="string")return l(Ge,Qe);var Wt=Object.prototype.toString.call(Ge).slice(8,-1);if(Wt==="Object"&&Ge.constructor&&(Wt=Ge.constructor.name),Wt==="Map"||Wt==="Set")return Array.from(Ge);if(Wt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Wt))return l(Ge,Qe)}}function l(Ge,Qe){(Qe==null||Qe>Ge.length)&&(Qe=Ge.length);for(var Wt=0,Et=new Array(Qe);Wt<Qe;Wt++)Et[Wt]=Ge[Wt];return Et}function t(Ge,Qe){var Wt=Ge==null?null:typeof Symbol<"u"&&Ge[Symbol.iterator]||Ge["@@iterator"];if(Wt!=null){var Et,Ct,Kt,Me,te=[],_e=!0,je=!1;try{if(Kt=(Wt=Wt.call(Ge)).next,Qe!==0)for(;!(_e=(Et=Kt.call(Wt)).done)&&(te.push(Et.value),te.length!==Qe);_e=!0);}catch(We){je=!0,Ct=We}finally{try{if(!_e&&Wt.return!=null&&(Me=Wt.return(),Object(Me)!==Me))return}finally{if(je)throw Ct}}return te}}function u(Ge){if(Array.isArray(Ge))return Ge}function h(Ge){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Qe){return typeof Qe}:function(Qe){return Qe&&typeof Symbol=="function"&&Qe.constructor===Symbol&&Qe!==Symbol.prototype?"symbol":typeof Qe},h(Ge)}var v=/a/g.flags!==void 0,w=function(Qe){var Wt=[];return Qe.forEach(function(Et){return Wt.push(Et)}),Wt},A=function(Qe){var Wt=[];return Qe.forEach(function(Et,Ct){return Wt.push([Ct,Et])}),Wt},E=Object.is?Object.is:requireObjectIs(),C=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},M=Number.isNaN?Number.isNaN:requireIsNan();function P(Ge){return Ge.call.bind(Ge)}var I=P(Object.prototype.hasOwnProperty),j=P(Object.prototype.propertyIsEnumerable),B=P(Object.prototype.toString),F=util$6.types,N=F.isAnyArrayBuffer,ee=F.isArrayBufferView,Z=F.isDate,re=F.isMap,fe=F.isRegExp,V=F.isSet,le=F.isNativeError,he=F.isBoxedPrimitive,ye=F.isNumberObject,L=F.isStringObject,p=F.isBooleanObject,y=F.isBigIntObject,S=F.isSymbolObject,c=F.isFloat32Array,m=F.isFloat64Array;function x(Ge){if(Ge.length===0||Ge.length>10)return!0;for(var Qe=0;Qe<Ge.length;Qe++){var Wt=Ge.charCodeAt(Qe);if(Wt<48||Wt>57)return!0}return Ge.length===10&&Ge>=Math.pow(2,32)}function T(Ge){return Object.keys(Ge).filter(x).concat(C(Ge).filter(Object.prototype.propertyIsEnumerable.bind(Ge)))}/*!
  * The buffer module from node.js, for the browser.
  *
  * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
  * @license  MIT
- */function b(Ve,We){if(Ve===We)return 0;for(var Gt=Ve.length,wt=We.length,Et=0,Yt=Math.min(Gt,wt);Et<Yt;++Et)if(Ve[Et]!==We[Et]){Gt=Ve[Et],wt=We[Et];break}return Gt<wt?-1:wt<Gt?1:0}var h=!0,T=!1,M=0,j=1,V=2,ee=3;function Z(Ve,We){return y?Ve.source===We.source&&Ve.flags===We.flags:RegExp.prototype.toString.call(Ve)===RegExp.prototype.toString.call(We)}function U(Ve,We){if(Ve.byteLength!==We.byteLength)return!1;for(var Gt=0;Gt<Ve.byteLength;Gt++)if(Ve[Gt]!==We[Gt])return!1;return!0}function z(Ve,We){return Ve.byteLength!==We.byteLength?!1:b(new Uint8Array(Ve.buffer,Ve.byteOffset,Ve.byteLength),new Uint8Array(We.buffer,We.byteOffset,We.byteLength))===0}function ne(Ve,We){return Ve.byteLength===We.byteLength&&b(new Uint8Array(Ve),new Uint8Array(We))===0}function fe(Ve,We){return ke(Ve)?ke(We)&&k(Number.prototype.valueOf.call(Ve),Number.prototype.valueOf.call(We)):L(Ve)?L(We)&&String.prototype.valueOf.call(Ve)===String.prototype.valueOf.call(We):d(Ve)?d(We)&&Boolean.prototype.valueOf.call(Ve)===Boolean.prototype.valueOf.call(We):v(Ve)?v(We)&&BigInt.prototype.valueOf.call(Ve)===BigInt.prototype.valueOf.call(We):w(We)&&Symbol.prototype.valueOf.call(Ve)===Symbol.prototype.valueOf.call(We)}function me(Ve,We,Gt,wt){if(Ve===We)return Ve!==0?!0:Gt?k(Ve,We):!0;if(Gt){if(m(Ve)!=="object")return typeof Ve=="number"&&D(Ve)&&D(We);if(m(We)!=="object"||Ve===null||We===null||Object.getPrototypeOf(Ve)!==Object.getPrototypeOf(We))return!1}else{if(Ve===null||m(Ve)!=="object")return We===null||m(We)!=="object"?Ve==We:!1;if(We===null||m(We)!=="object")return!1}var Et=F(Ve),Yt=F(We);if(Et!==Yt)return!1;if(Array.isArray(Ve)){if(Ve.length!==We.length)return!1;var Ce=S(Ve),te=S(We);return Ce.length!==te.length?!1:Oe(Ve,We,Gt,wt,j,Ce)}if(Et==="[object Object]"&&(!ie(Ve)&&ie(We)||!Q(Ve)&&Q(We)))return!1;if(J(Ve)){if(!J(We)||Date.prototype.getTime.call(Ve)!==Date.prototype.getTime.call(We))return!1}else if(ue(Ve)){if(!ue(We)||!Z(Ve,We))return!1}else if(ce(Ve)||Ve instanceof Error){if(Ve.message!==We.message||Ve.name!==We.name)return!1}else if(Y(Ve)){if(!Gt&&(c(Ve)||p(Ve))){if(!U(Ve,We))return!1}else if(!z(Ve,We))return!1;var ye=S(Ve),Le=S(We);return ye.length!==Le.length?!1:Oe(Ve,We,Gt,wt,M,ye)}else{if(Q(Ve))return!Q(We)||Ve.size!==We.size?!1:Oe(Ve,We,Gt,wt,V);if(ie(Ve))return!ie(We)||Ve.size!==We.size?!1:Oe(Ve,We,Gt,wt,ee);if(N(Ve)){if(!ne(Ve,We))return!1}else if(he(Ve)&&!fe(Ve,We))return!1}return Oe(Ve,We,Gt,wt,M)}function de(Ve,We){return We.filter(function(Gt){return B(Ve,Gt)})}function Oe(Ve,We,Gt,wt,Et,Yt){if(arguments.length===5){Yt=Object.keys(Ve);var Ce=Object.keys(We);if(Yt.length!==Ce.length)return!1}for(var te=0;te<Yt.length;te++)if(!R(We,Yt[te]))return!1;if(Gt&&arguments.length===5){var ye=A(Ve);if(ye.length!==0){var Le=0;for(te=0;te<ye.length;te++){var Ue=ye[te];if(B(Ve,Ue)){if(!B(We,Ue))return!1;Yt.push(Ue),Le++}else if(B(We,Ue))return!1}var Qe=A(We);if(ye.length!==Qe.length&&de(We,Qe).length!==Le)return!1}else{var Ke=A(We);if(Ke.length!==0&&de(We,Ke).length!==0)return!1}}if(Yt.length===0&&(Et===M||Et===j&&Ve.length===0||Ve.size===0))return!0;if(wt===void 0)wt={val1:new Map,val2:new Map,position:0};else{var De=wt.val1.get(Ve);if(De!==void 0){var Vt=wt.val2.get(We);if(Vt!==void 0)return De===Vt}wt.position++}wt.val1.set(Ve,wt.position),wt.val2.set(We,wt.position);var At=rt(Ve,We,Gt,Yt,wt,Et);return wt.val1.delete(Ve),wt.val2.delete(We),At}function lt(Ve,We,Gt,wt){for(var Et=E(Ve),Yt=0;Yt<Et.length;Yt++){var Ce=Et[Yt];if(me(We,Ce,Gt,wt))return Ve.delete(Ce),!0}return!1}function it(Ve){switch(m(Ve)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":Ve=+Ve;case"number":if(D(Ve))return!1}return!0}function ot(Ve,We,Gt){var wt=it(Gt);return wt??(We.has(wt)&&!Ve.has(wt))}function Ct(Ve,We,Gt,wt,Et){var Yt=it(Gt);if(Yt!=null)return Yt;var Ce=We.get(Yt);return Ce===void 0&&!We.has(Yt)||!me(wt,Ce,!1,Et)?!1:!Ve.has(Yt)&&me(wt,Ce,!1,Et)}function nt(Ve,We,Gt,wt){for(var Et=null,Yt=E(Ve),Ce=0;Ce<Yt.length;Ce++){var te=Yt[Ce];if(m(te)==="object"&&te!==null)Et===null&&(Et=new Set),Et.add(te);else if(!We.has(te)){if(Gt||!ot(Ve,We,te))return!1;Et===null&&(Et=new Set),Et.add(te)}}if(Et!==null){for(var ye=E(We),Le=0;Le<ye.length;Le++){var Ue=ye[Le];if(m(Ue)==="object"&&Ue!==null){if(!lt(Et,Ue,Gt,wt))return!1}else if(!Gt&&!Ve.has(Ue)&&!lt(Et,Ue,Gt,wt))return!1}return Et.size===0}return!0}function Je(Ve,We,Gt,wt,Et,Yt){for(var Ce=E(Ve),te=0;te<Ce.length;te++){var ye=Ce[te];if(me(Gt,ye,Et,Yt)&&me(wt,We.get(ye),Et,Yt))return Ve.delete(ye),!0}return!1}function tt(Ve,We,Gt,wt){for(var Et=null,Yt=C(Ve),Ce=0;Ce<Yt.length;Ce++){var te=t(Yt[Ce],2),ye=te[0],Le=te[1];if(m(ye)==="object"&&ye!==null)Et===null&&(Et=new Set),Et.add(ye);else{var Ue=We.get(ye);if(Ue===void 0&&!We.has(ye)||!me(Le,Ue,Gt,wt)){if(Gt||!Ct(Ve,We,ye,Le,wt))return!1;Et===null&&(Et=new Set),Et.add(ye)}}}if(Et!==null){for(var Qe=C(We),Ke=0;Ke<Qe.length;Ke++){var De=t(Qe[Ke],2),Vt=De[0],At=De[1];if(m(Vt)==="object"&&Vt!==null){if(!Je(Et,Ve,Vt,At,Gt,wt))return!1}else if(!Gt&&(!Ve.has(Vt)||!me(Ve.get(Vt),At,!1,wt))&&!Je(Et,Ve,Vt,At,!1,wt))return!1}return Et.size===0}return!0}function rt(Ve,We,Gt,wt,Et,Yt){var Ce=0;if(Yt===V){if(!nt(Ve,We,Gt,Et))return!1}else if(Yt===ee){if(!tt(Ve,We,Gt,Et))return!1}else if(Yt===j)for(;Ce<Ve.length;Ce++)if(R(Ve,Ce)){if(!R(We,Ce)||!me(Ve[Ce],We[Ce],Gt,Et))return!1}else{if(R(We,Ce))return!1;for(var te=Object.keys(Ve);Ce<te.length;Ce++){var ye=te[Ce];if(!R(We,ye)||!me(Ve[ye],We[ye],Gt,Et))return!1}return te.length===Object.keys(We).length}for(Ce=0;Ce<wt.length;Ce++){var Le=wt[Ce];if(!me(Ve[Le],We[Le],Gt,Et))return!1}return!0}function ht(Ve,We){return me(Ve,We,T)}function jt(Ve,We){return me(Ve,We,h)}return comparisons={isDeepEqual:ht,isDeepStrictEqual:jt},comparisons}var hasRequiredAssert$1;function requireAssert$1(){if(hasRequiredAssert$1)return assert.exports;hasRequiredAssert$1=1;function t(V){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ee){return typeof ee}:function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee},t(V)}function e(V,ee,Z){return Object.defineProperty(V,"prototype",{writable:!1}),V}function n(V,ee){if(!(V instanceof ee))throw new TypeError("Cannot call a class as a function")}var o=requireErrors$2(),u=o.codes,l=u.ERR_AMBIGUOUS_ARGUMENT,m=u.ERR_INVALID_ARG_TYPE,y=u.ERR_INVALID_ARG_VALUE,E=u.ERR_INVALID_RETURN_VALUE,C=u.ERR_MISSING_ARGS,k=requireAssertion_error(),A=util$6,D=A.inspect,P=util$6.types,R=P.isPromise,B=P.isRegExp,F=requirePolyfill$2()(),O=requirePolyfill$1()(),N=callBound$2("RegExp.prototype.test"),Y,J;function ie(){var V=requireComparisons();Y=V.isDeepEqual,J=V.isDeepStrictEqual}var ue=!1,Q=assert.exports=d,ce={};function he(V){throw V.message instanceof Error?V.message:new k(V)}function ke(V,ee,Z,U,z){var ne=arguments.length,fe;if(ne===0)fe="Failed";else if(ne===1)Z=V,V=void 0;else{if(ue===!1){ue=!0;var me=process$1.emitWarning?process$1.emitWarning:console.warn.bind(console);me("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}ne===2&&(U="!=")}if(Z instanceof Error)throw Z;var de={actual:V,expected:ee,operator:U===void 0?"fail":U,stackStartFn:z||ke};Z!==void 0&&(de.message=Z);var Oe=new k(de);throw fe&&(Oe.message=fe,Oe.generatedMessage=!0),Oe}Q.fail=ke,Q.AssertionError=k;function L(V,ee,Z,U){if(!Z){var z=!1;if(ee===0)z=!0,U="No value argument passed to `assert.ok()`";else if(U instanceof Error)throw U;var ne=new k({actual:Z,expected:!0,message:U,operator:"==",stackStartFn:V});throw ne.generatedMessage=z,ne}}function d(){for(var V=arguments.length,ee=new Array(V),Z=0;Z<V;Z++)ee[Z]=arguments[Z];L.apply(void 0,[d,ee.length].concat(ee))}Q.ok=d,Q.equal=function V(ee,Z,U){if(arguments.length<2)throw new C("actual","expected");ee!=Z&&he({actual:ee,expected:Z,message:U,operator:"==",stackStartFn:V})},Q.notEqual=function V(ee,Z,U){if(arguments.length<2)throw new C("actual","expected");ee==Z&&he({actual:ee,expected:Z,message:U,operator:"!=",stackStartFn:V})},Q.deepEqual=function V(ee,Z,U){if(arguments.length<2)throw new C("actual","expected");Y===void 0&&ie(),Y(ee,Z)||he({actual:ee,expected:Z,message:U,operator:"deepEqual",stackStartFn:V})},Q.notDeepEqual=function V(ee,Z,U){if(arguments.length<2)throw new C("actual","expected");Y===void 0&&ie(),Y(ee,Z)&&he({actual:ee,expected:Z,message:U,operator:"notDeepEqual",stackStartFn:V})},Q.deepStrictEqual=function V(ee,Z,U){if(arguments.length<2)throw new C("actual","expected");Y===void 0&&ie(),J(ee,Z)||he({actual:ee,expected:Z,message:U,operator:"deepStrictEqual",stackStartFn:V})},Q.notDeepStrictEqual=v;function v(V,ee,Z){if(arguments.length<2)throw new C("actual","expected");Y===void 0&&ie(),J(V,ee)&&he({actual:V,expected:ee,message:Z,operator:"notDeepStrictEqual",stackStartFn:v})}Q.strictEqual=function V(ee,Z,U){if(arguments.length<2)throw new C("actual","expected");O(ee,Z)||he({actual:ee,expected:Z,message:U,operator:"strictEqual",stackStartFn:V})},Q.notStrictEqual=function V(ee,Z,U){if(arguments.length<2)throw new C("actual","expected");O(ee,Z)&&he({actual:ee,expected:Z,message:U,operator:"notStrictEqual",stackStartFn:V})};var w=e(function V(ee,Z,U){var z=this;n(this,V),Z.forEach(function(ne){ne in ee&&(U!==void 0&&typeof U[ne]=="string"&&B(ee[ne])&&N(ee[ne],U[ne])?z[ne]=U[ne]:z[ne]=ee[ne])})});function c(V,ee,Z,U,z,ne){if(!(Z in V)||!J(V[Z],ee[Z])){if(!U){var fe=new w(V,z),me=new w(ee,z,V),de=new k({actual:fe,expected:me,operator:"deepStrictEqual",stackStartFn:ne});throw de.actual=V,de.expected=ee,de.operator=ne.name,de}he({actual:V,expected:ee,message:U,operator:ne.name,stackStartFn:ne})}}function p(V,ee,Z,U){if(typeof ee!="function"){if(B(ee))return N(ee,V);if(arguments.length===2)throw new m("expected",["Function","RegExp"],ee);if(t(V)!=="object"||V===null){var z=new k({actual:V,expected:ee,message:Z,operator:"deepStrictEqual",stackStartFn:U});throw z.operator=U.name,z}var ne=Object.keys(ee);if(ee instanceof Error)ne.push("name","message");else if(ne.length===0)throw new y("error",ee,"may not be an empty object");return Y===void 0&&ie(),ne.forEach(function(fe){typeof V[fe]=="string"&&B(ee[fe])&&N(ee[fe],V[fe])||c(V,ee,fe,Z,ne,U)}),!0}return ee.prototype!==void 0&&V instanceof ee?!0:Error.isPrototypeOf(ee)?!1:ee.call({},V)===!0}function x(V){if(typeof V!="function")throw new m("fn","Function",V);try{V()}catch(ee){return ee}return ce}function S(V){return R(V)||V!==null&&t(V)==="object"&&typeof V.then=="function"&&typeof V.catch=="function"}function b(V){return Promise.resolve().then(function(){var ee;if(typeof V=="function"){if(ee=V(),!S(ee))throw new E("instance of Promise","promiseFn",ee)}else if(S(V))ee=V;else throw new m("promiseFn",["Function","Promise"],V);return Promise.resolve().then(function(){return ee}).then(function(){return ce}).catch(function(Z){return Z})})}function h(V,ee,Z,U){if(typeof Z=="string"){if(arguments.length===4)throw new m("error",["Object","Error","Function","RegExp"],Z);if(t(ee)==="object"&&ee!==null){if(ee.message===Z)throw new l("error/message",'The error message "'.concat(ee.message,'" is identical to the message.'))}else if(ee===Z)throw new l("error/message",'The error "'.concat(ee,'" is identical to the message.'));U=Z,Z=void 0}else if(Z!=null&&t(Z)!=="object"&&typeof Z!="function")throw new m("error",["Object","Error","Function","RegExp"],Z);if(ee===ce){var z="";Z&&Z.name&&(z+=" (".concat(Z.name,")")),z+=U?": ".concat(U):".";var ne=V.name==="rejects"?"rejection":"exception";he({actual:void 0,expected:Z,operator:V.name,message:"Missing expected ".concat(ne).concat(z),stackStartFn:V})}if(Z&&!p(ee,Z,U,V))throw ee}function T(V,ee,Z,U){if(ee!==ce){if(typeof Z=="string"&&(U=Z,Z=void 0),!Z||p(ee,Z)){var z=U?": ".concat(U):".",ne=V.name==="doesNotReject"?"rejection":"exception";he({actual:ee,expected:Z,operator:V.name,message:"Got unwanted ".concat(ne).concat(z,`
-`)+'Actual message: "'.concat(ee&&ee.message,'"'),stackStartFn:V})}throw ee}}Q.throws=function V(ee){for(var Z=arguments.length,U=new Array(Z>1?Z-1:0),z=1;z<Z;z++)U[z-1]=arguments[z];h.apply(void 0,[V,x(ee)].concat(U))},Q.rejects=function V(ee){for(var Z=arguments.length,U=new Array(Z>1?Z-1:0),z=1;z<Z;z++)U[z-1]=arguments[z];return b(ee).then(function(ne){return h.apply(void 0,[V,ne].concat(U))})},Q.doesNotThrow=function V(ee){for(var Z=arguments.length,U=new Array(Z>1?Z-1:0),z=1;z<Z;z++)U[z-1]=arguments[z];T.apply(void 0,[V,x(ee)].concat(U))},Q.doesNotReject=function V(ee){for(var Z=arguments.length,U=new Array(Z>1?Z-1:0),z=1;z<Z;z++)U[z-1]=arguments[z];return b(ee).then(function(ne){return T.apply(void 0,[V,ne].concat(U))})},Q.ifError=function V(ee){if(ee!=null){var Z="ifError got unwanted exception: ";t(ee)==="object"&&typeof ee.message=="string"?ee.message.length===0&&ee.constructor?Z+=ee.constructor.name:Z+=ee.message:Z+=D(ee);var U=new k({actual:ee,expected:null,operator:"ifError",message:Z,stackStartFn:V}),z=ee.stack;if(typeof z=="string"){var ne=z.split(`
-`);ne.shift();for(var fe=U.stack.split(`
-`),me=0;me<ne.length;me++){var de=fe.indexOf(ne[me]);if(de!==-1){fe=fe.slice(0,de);break}}U.stack="".concat(fe.join(`
+ */function b(Ge,Qe){if(Ge===Qe)return 0;for(var Wt=Ge.length,Et=Qe.length,Ct=0,Kt=Math.min(Wt,Et);Ct<Kt;++Ct)if(Ge[Ct]!==Qe[Ct]){Wt=Ge[Ct],Et=Qe[Ct];break}return Wt<Et?-1:Et<Wt?1:0}var d=!0,k=!1,D=0,O=1,Q=2,J=3;function X(Ge,Qe){return v?Ge.source===Qe.source&&Ge.flags===Qe.flags:RegExp.prototype.toString.call(Ge)===RegExp.prototype.toString.call(Qe)}function U(Ge,Qe){if(Ge.byteLength!==Qe.byteLength)return!1;for(var Wt=0;Wt<Ge.byteLength;Wt++)if(Ge[Wt]!==Qe[Wt])return!1;return!0}function z(Ge,Qe){return Ge.byteLength!==Qe.byteLength?!1:b(new Uint8Array(Ge.buffer,Ge.byteOffset,Ge.byteLength),new Uint8Array(Qe.buffer,Qe.byteOffset,Qe.byteLength))===0}function ie(Ge,Qe){return Ge.byteLength===Qe.byteLength&&b(new Uint8Array(Ge),new Uint8Array(Qe))===0}function de(Ge,Qe){return ye(Ge)?ye(Qe)&&E(Number.prototype.valueOf.call(Ge),Number.prototype.valueOf.call(Qe)):L(Ge)?L(Qe)&&String.prototype.valueOf.call(Ge)===String.prototype.valueOf.call(Qe):p(Ge)?p(Qe)&&Boolean.prototype.valueOf.call(Ge)===Boolean.prototype.valueOf.call(Qe):y(Ge)?y(Qe)&&BigInt.prototype.valueOf.call(Ge)===BigInt.prototype.valueOf.call(Qe):S(Qe)&&Symbol.prototype.valueOf.call(Ge)===Symbol.prototype.valueOf.call(Qe)}function me(Ge,Qe,Wt,Et){if(Ge===Qe)return Ge!==0?!0:Wt?E(Ge,Qe):!0;if(Wt){if(h(Ge)!=="object")return typeof Ge=="number"&&M(Ge)&&M(Qe);if(h(Qe)!=="object"||Ge===null||Qe===null||Object.getPrototypeOf(Ge)!==Object.getPrototypeOf(Qe))return!1}else{if(Ge===null||h(Ge)!=="object")return Qe===null||h(Qe)!=="object"?Ge==Qe:!1;if(Qe===null||h(Qe)!=="object")return!1}var Ct=B(Ge),Kt=B(Qe);if(Ct!==Kt)return!1;if(Array.isArray(Ge)){if(Ge.length!==Qe.length)return!1;var Me=T(Ge),te=T(Qe);return Me.length!==te.length?!1:qe(Ge,Qe,Wt,Et,O,Me)}if(Ct==="[object Object]"&&(!re(Ge)&&re(Qe)||!V(Ge)&&V(Qe)))return!1;if(Z(Ge)){if(!Z(Qe)||Date.prototype.getTime.call(Ge)!==Date.prototype.getTime.call(Qe))return!1}else if(fe(Ge)){if(!fe(Qe)||!X(Ge,Qe))return!1}else if(le(Ge)||Ge instanceof Error){if(Ge.message!==Qe.message||Ge.name!==Qe.name)return!1}else if(ee(Ge)){if(!Wt&&(c(Ge)||m(Ge))){if(!U(Ge,Qe))return!1}else if(!z(Ge,Qe))return!1;var _e=T(Ge),je=T(Qe);return _e.length!==je.length?!1:qe(Ge,Qe,Wt,Et,D,_e)}else{if(V(Ge))return!V(Qe)||Ge.size!==Qe.size?!1:qe(Ge,Qe,Wt,Et,Q);if(re(Ge))return!re(Qe)||Ge.size!==Qe.size?!1:qe(Ge,Qe,Wt,Et,J);if(N(Ge)){if(!ie(Ge,Qe))return!1}else if(he(Ge)&&!de(Ge,Qe))return!1}return qe(Ge,Qe,Wt,Et,D)}function pe(Ge,Qe){return Qe.filter(function(Wt){return j(Ge,Wt)})}function qe(Ge,Qe,Wt,Et,Ct,Kt){if(arguments.length===5){Kt=Object.keys(Ge);var Me=Object.keys(Qe);if(Kt.length!==Me.length)return!1}for(var te=0;te<Kt.length;te++)if(!I(Qe,Kt[te]))return!1;if(Wt&&arguments.length===5){var _e=C(Ge);if(_e.length!==0){var je=0;for(te=0;te<_e.length;te++){var We=_e[te];if(j(Ge,We)){if(!j(Qe,We))return!1;Kt.push(We),je++}else if(j(Qe,We))return!1}var et=C(Qe);if(_e.length!==et.length&&pe(Qe,et).length!==je)return!1}else{var Ye=C(Qe);if(Ye.length!==0&&pe(Qe,Ye).length!==0)return!1}}if(Kt.length===0&&(Ct===D||Ct===O&&Ge.length===0||Ge.size===0))return!0;if(Et===void 0)Et={val1:new Map,val2:new Map,position:0};else{var De=Et.val1.get(Ge);if(De!==void 0){var Ht=Et.val2.get(Qe);if(Ht!==void 0)return De===Ht}Et.position++}Et.val1.set(Ge,Et.position),Et.val2.set(Qe,Et.position);var Mt=at(Ge,Qe,Wt,Kt,Et,Ct);return Et.val1.delete(Ge),Et.val2.delete(Qe),Mt}function mt(Ge,Qe,Wt,Et){for(var Ct=w(Ge),Kt=0;Kt<Ct.length;Kt++){var Me=Ct[Kt];if(me(Qe,Me,Wt,Et))return Ge.delete(Me),!0}return!1}function st(Ge){switch(h(Ge)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":Ge=+Ge;case"number":if(M(Ge))return!1}return!0}function dt(Ge,Qe,Wt){var Et=st(Wt);return Et??(Qe.has(Et)&&!Ge.has(Et))}function Tt(Ge,Qe,Wt,Et,Ct){var Kt=st(Wt);if(Kt!=null)return Kt;var Me=Qe.get(Kt);return Me===void 0&&!Qe.has(Kt)||!me(Et,Me,!1,Ct)?!1:!Ge.has(Kt)&&me(Et,Me,!1,Ct)}function lt(Ge,Qe,Wt,Et){for(var Ct=null,Kt=w(Ge),Me=0;Me<Kt.length;Me++){var te=Kt[Me];if(h(te)==="object"&&te!==null)Ct===null&&(Ct=new Set),Ct.add(te);else if(!Qe.has(te)){if(Wt||!dt(Ge,Qe,te))return!1;Ct===null&&(Ct=new Set),Ct.add(te)}}if(Ct!==null){for(var _e=w(Qe),je=0;je<_e.length;je++){var We=_e[je];if(h(We)==="object"&&We!==null){if(!mt(Ct,We,Wt,Et))return!1}else if(!Wt&&!Ge.has(We)&&!mt(Ct,We,Wt,Et))return!1}return Ct.size===0}return!0}function Je(Ge,Qe,Wt,Et,Ct,Kt){for(var Me=w(Ge),te=0;te<Me.length;te++){var _e=Me[te];if(me(Wt,_e,Ct,Kt)&&me(Et,Qe.get(_e),Ct,Kt))return Ge.delete(_e),!0}return!1}function ht(Ge,Qe,Wt,Et){for(var Ct=null,Kt=A(Ge),Me=0;Me<Kt.length;Me++){var te=n(Kt[Me],2),_e=te[0],je=te[1];if(h(_e)==="object"&&_e!==null)Ct===null&&(Ct=new Set),Ct.add(_e);else{var We=Qe.get(_e);if(We===void 0&&!Qe.has(_e)||!me(je,We,Wt,Et)){if(Wt||!Tt(Ge,Qe,_e,je,Et))return!1;Ct===null&&(Ct=new Set),Ct.add(_e)}}}if(Ct!==null){for(var et=A(Qe),Ye=0;Ye<et.length;Ye++){var De=n(et[Ye],2),Ht=De[0],Mt=De[1];if(h(Ht)==="object"&&Ht!==null){if(!Je(Ct,Ge,Ht,Mt,Wt,Et))return!1}else if(!Wt&&(!Ge.has(Ht)||!me(Ge.get(Ht),Mt,!1,Et))&&!Je(Ct,Ge,Ht,Mt,!1,Et))return!1}return Ct.size===0}return!0}function at(Ge,Qe,Wt,Et,Ct,Kt){var Me=0;if(Kt===Q){if(!lt(Ge,Qe,Wt,Ct))return!1}else if(Kt===J){if(!ht(Ge,Qe,Wt,Ct))return!1}else if(Kt===O)for(;Me<Ge.length;Me++)if(I(Ge,Me)){if(!I(Qe,Me)||!me(Ge[Me],Qe[Me],Wt,Ct))return!1}else{if(I(Qe,Me))return!1;for(var te=Object.keys(Ge);Me<te.length;Me++){var _e=te[Me];if(!I(Qe,_e)||!me(Ge[_e],Qe[_e],Wt,Ct))return!1}return te.length===Object.keys(Qe).length}for(Me=0;Me<Et.length;Me++){var je=Et[Me];if(!me(Ge[je],Qe[je],Wt,Ct))return!1}return!0}function bt(Ge,Qe){return me(Ge,Qe,k)}function jt(Ge,Qe){return me(Ge,Qe,d)}return comparisons={isDeepEqual:bt,isDeepStrictEqual:jt},comparisons}var hasRequiredAssert$1;function requireAssert$1(){if(hasRequiredAssert$1)return assert.exports;hasRequiredAssert$1=1;function n(Q){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J},n(Q)}function e(Q,J,X){return Object.defineProperty(Q,"prototype",{writable:!1}),Q}function o(Q,J){if(!(Q instanceof J))throw new TypeError("Cannot call a class as a function")}var l=requireErrors$2(),t=l.codes,u=t.ERR_AMBIGUOUS_ARGUMENT,h=t.ERR_INVALID_ARG_TYPE,v=t.ERR_INVALID_ARG_VALUE,w=t.ERR_INVALID_RETURN_VALUE,A=t.ERR_MISSING_ARGS,E=requireAssertion_error(),C=util$6,M=C.inspect,P=util$6.types,I=P.isPromise,j=P.isRegExp,B=requirePolyfill$2()(),F=requirePolyfill$1()(),N=callBound$2("RegExp.prototype.test"),ee,Z;function re(){var Q=requireComparisons();ee=Q.isDeepEqual,Z=Q.isDeepStrictEqual}var fe=!1,V=assert.exports=p,le={};function he(Q){throw Q.message instanceof Error?Q.message:new E(Q)}function ye(Q,J,X,U,z){var ie=arguments.length,de;if(ie===0)de="Failed";else if(ie===1)X=Q,Q=void 0;else{if(fe===!1){fe=!0;var me=process$1.emitWarning?process$1.emitWarning:console.warn.bind(console);me("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}ie===2&&(U="!=")}if(X instanceof Error)throw X;var pe={actual:Q,expected:J,operator:U===void 0?"fail":U,stackStartFn:z||ye};X!==void 0&&(pe.message=X);var qe=new E(pe);throw de&&(qe.message=de,qe.generatedMessage=!0),qe}V.fail=ye,V.AssertionError=E;function L(Q,J,X,U){if(!X){var z=!1;if(J===0)z=!0,U="No value argument passed to `assert.ok()`";else if(U instanceof Error)throw U;var ie=new E({actual:X,expected:!0,message:U,operator:"==",stackStartFn:Q});throw ie.generatedMessage=z,ie}}function p(){for(var Q=arguments.length,J=new Array(Q),X=0;X<Q;X++)J[X]=arguments[X];L.apply(void 0,[p,J.length].concat(J))}V.ok=p,V.equal=function Q(J,X,U){if(arguments.length<2)throw new A("actual","expected");J!=X&&he({actual:J,expected:X,message:U,operator:"==",stackStartFn:Q})},V.notEqual=function Q(J,X,U){if(arguments.length<2)throw new A("actual","expected");J==X&&he({actual:J,expected:X,message:U,operator:"!=",stackStartFn:Q})},V.deepEqual=function Q(J,X,U){if(arguments.length<2)throw new A("actual","expected");ee===void 0&&re(),ee(J,X)||he({actual:J,expected:X,message:U,operator:"deepEqual",stackStartFn:Q})},V.notDeepEqual=function Q(J,X,U){if(arguments.length<2)throw new A("actual","expected");ee===void 0&&re(),ee(J,X)&&he({actual:J,expected:X,message:U,operator:"notDeepEqual",stackStartFn:Q})},V.deepStrictEqual=function Q(J,X,U){if(arguments.length<2)throw new A("actual","expected");ee===void 0&&re(),Z(J,X)||he({actual:J,expected:X,message:U,operator:"deepStrictEqual",stackStartFn:Q})},V.notDeepStrictEqual=y;function y(Q,J,X){if(arguments.length<2)throw new A("actual","expected");ee===void 0&&re(),Z(Q,J)&&he({actual:Q,expected:J,message:X,operator:"notDeepStrictEqual",stackStartFn:y})}V.strictEqual=function Q(J,X,U){if(arguments.length<2)throw new A("actual","expected");F(J,X)||he({actual:J,expected:X,message:U,operator:"strictEqual",stackStartFn:Q})},V.notStrictEqual=function Q(J,X,U){if(arguments.length<2)throw new A("actual","expected");F(J,X)&&he({actual:J,expected:X,message:U,operator:"notStrictEqual",stackStartFn:Q})};var S=e(function Q(J,X,U){var z=this;o(this,Q),X.forEach(function(ie){ie in J&&(U!==void 0&&typeof U[ie]=="string"&&j(J[ie])&&N(J[ie],U[ie])?z[ie]=U[ie]:z[ie]=J[ie])})});function c(Q,J,X,U,z,ie){if(!(X in Q)||!Z(Q[X],J[X])){if(!U){var de=new S(Q,z),me=new S(J,z,Q),pe=new E({actual:de,expected:me,operator:"deepStrictEqual",stackStartFn:ie});throw pe.actual=Q,pe.expected=J,pe.operator=ie.name,pe}he({actual:Q,expected:J,message:U,operator:ie.name,stackStartFn:ie})}}function m(Q,J,X,U){if(typeof J!="function"){if(j(J))return N(J,Q);if(arguments.length===2)throw new h("expected",["Function","RegExp"],J);if(n(Q)!=="object"||Q===null){var z=new E({actual:Q,expected:J,message:X,operator:"deepStrictEqual",stackStartFn:U});throw z.operator=U.name,z}var ie=Object.keys(J);if(J instanceof Error)ie.push("name","message");else if(ie.length===0)throw new v("error",J,"may not be an empty object");return ee===void 0&&re(),ie.forEach(function(de){typeof Q[de]=="string"&&j(J[de])&&N(J[de],Q[de])||c(Q,J,de,X,ie,U)}),!0}return J.prototype!==void 0&&Q instanceof J?!0:Error.isPrototypeOf(J)?!1:J.call({},Q)===!0}function x(Q){if(typeof Q!="function")throw new h("fn","Function",Q);try{Q()}catch(J){return J}return le}function T(Q){return I(Q)||Q!==null&&n(Q)==="object"&&typeof Q.then=="function"&&typeof Q.catch=="function"}function b(Q){return Promise.resolve().then(function(){var J;if(typeof Q=="function"){if(J=Q(),!T(J))throw new w("instance of Promise","promiseFn",J)}else if(T(Q))J=Q;else throw new h("promiseFn",["Function","Promise"],Q);return Promise.resolve().then(function(){return J}).then(function(){return le}).catch(function(X){return X})})}function d(Q,J,X,U){if(typeof X=="string"){if(arguments.length===4)throw new h("error",["Object","Error","Function","RegExp"],X);if(n(J)==="object"&&J!==null){if(J.message===X)throw new u("error/message",'The error message "'.concat(J.message,'" is identical to the message.'))}else if(J===X)throw new u("error/message",'The error "'.concat(J,'" is identical to the message.'));U=X,X=void 0}else if(X!=null&&n(X)!=="object"&&typeof X!="function")throw new h("error",["Object","Error","Function","RegExp"],X);if(J===le){var z="";X&&X.name&&(z+=" (".concat(X.name,")")),z+=U?": ".concat(U):".";var ie=Q.name==="rejects"?"rejection":"exception";he({actual:void 0,expected:X,operator:Q.name,message:"Missing expected ".concat(ie).concat(z),stackStartFn:Q})}if(X&&!m(J,X,U,Q))throw J}function k(Q,J,X,U){if(J!==le){if(typeof X=="string"&&(U=X,X=void 0),!X||m(J,X)){var z=U?": ".concat(U):".",ie=Q.name==="doesNotReject"?"rejection":"exception";he({actual:J,expected:X,operator:Q.name,message:"Got unwanted ".concat(ie).concat(z,`
+`)+'Actual message: "'.concat(J&&J.message,'"'),stackStartFn:Q})}throw J}}V.throws=function Q(J){for(var X=arguments.length,U=new Array(X>1?X-1:0),z=1;z<X;z++)U[z-1]=arguments[z];d.apply(void 0,[Q,x(J)].concat(U))},V.rejects=function Q(J){for(var X=arguments.length,U=new Array(X>1?X-1:0),z=1;z<X;z++)U[z-1]=arguments[z];return b(J).then(function(ie){return d.apply(void 0,[Q,ie].concat(U))})},V.doesNotThrow=function Q(J){for(var X=arguments.length,U=new Array(X>1?X-1:0),z=1;z<X;z++)U[z-1]=arguments[z];k.apply(void 0,[Q,x(J)].concat(U))},V.doesNotReject=function Q(J){for(var X=arguments.length,U=new Array(X>1?X-1:0),z=1;z<X;z++)U[z-1]=arguments[z];return b(J).then(function(ie){return k.apply(void 0,[Q,ie].concat(U))})},V.ifError=function Q(J){if(J!=null){var X="ifError got unwanted exception: ";n(J)==="object"&&typeof J.message=="string"?J.message.length===0&&J.constructor?X+=J.constructor.name:X+=J.message:X+=M(J);var U=new E({actual:J,expected:null,operator:"ifError",message:X,stackStartFn:Q}),z=J.stack;if(typeof z=="string"){var ie=z.split(`
+`);ie.shift();for(var de=U.stack.split(`
+`),me=0;me<ie.length;me++){var pe=de.indexOf(ie[me]);if(pe!==-1){de=de.slice(0,pe);break}}U.stack="".concat(de.join(`
 `),`
-`).concat(ne.join(`
-`))}throw U}};function M(V,ee,Z,U,z){if(!B(ee))throw new m("regexp","RegExp",ee);var ne=z==="match";if(typeof V!="string"||N(ee,V)!==ne){if(Z instanceof Error)throw Z;var fe=!Z;Z=Z||(typeof V!="string"?'The "string" argument must be of type string. Received type '+"".concat(t(V)," (").concat(D(V),")"):(ne?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(D(ee),`. Input:
+`).concat(ie.join(`
+`))}throw U}};function D(Q,J,X,U,z){if(!j(J))throw new h("regexp","RegExp",J);var ie=z==="match";if(typeof Q!="string"||N(J,Q)!==ie){if(X instanceof Error)throw X;var de=!X;X=X||(typeof Q!="string"?'The "string" argument must be of type string. Received type '+"".concat(n(Q)," (").concat(M(Q),")"):(ie?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(M(J),`. Input:
 
-`).concat(D(V),`
-`));var me=new k({actual:V,expected:ee,message:Z,operator:z,stackStartFn:U});throw me.generatedMessage=fe,me}}Q.match=function V(ee,Z,U){M(ee,Z,U,V,"match")},Q.doesNotMatch=function V(ee,Z,U){M(ee,Z,U,V,"doesNotMatch")};function j(){for(var V=arguments.length,ee=new Array(V),Z=0;Z<V;Z++)ee[Z]=arguments[Z];L.apply(void 0,[j,ee.length].concat(ee))}return Q.strict=F(j,Q,{equal:Q.strictEqual,deepEqual:Q.deepStrictEqual,notEqual:Q.notStrictEqual,notDeepEqual:Q.notDeepStrictEqual}),Q.strict.strict=Q.strict,assert.exports}var zstream,hasRequiredZstream;function requireZstream(){if(hasRequiredZstream)return zstream;hasRequiredZstream=1;function t(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}return zstream=t,zstream}var deflate={},common={},hasRequiredCommon;function requireCommon(){return hasRequiredCommon||(hasRequiredCommon=1,function(t){var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(l,m){return Object.prototype.hasOwnProperty.call(l,m)}t.assign=function(l){for(var m=Array.prototype.slice.call(arguments,1);m.length;){var y=m.shift();if(y){if(typeof y!="object")throw new TypeError(y+"must be non-object");for(var E in y)n(y,E)&&(l[E]=y[E])}}return l},t.shrinkBuf=function(l,m){return l.length===m?l:l.subarray?l.subarray(0,m):(l.length=m,l)};var o={arraySet:function(l,m,y,E,C){if(m.subarray&&l.subarray){l.set(m.subarray(y,y+E),C);return}for(var k=0;k<E;k++)l[C+k]=m[y+k]},flattenChunks:function(l){var m,y,E,C,k,A;for(E=0,m=0,y=l.length;m<y;m++)E+=l[m].length;for(A=new Uint8Array(E),C=0,m=0,y=l.length;m<y;m++)k=l[m],A.set(k,C),C+=k.length;return A}},u={arraySet:function(l,m,y,E,C){for(var k=0;k<E;k++)l[C+k]=m[y+k]},flattenChunks:function(l){return[].concat.apply([],l)}};t.setTyped=function(l){l?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,o)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,u))},t.setTyped(e)}(common)),common}var trees={},hasRequiredTrees;function requireTrees(){if(hasRequiredTrees)return trees;hasRequiredTrees=1;var t=requireCommon(),e=4,n=0,o=1,u=2;function l(te){for(var ye=te.length;--ye>=0;)te[ye]=0}var m=0,y=1,E=2,C=3,k=258,A=29,D=256,P=D+1+A,R=30,B=19,F=2*P+1,O=15,N=16,Y=7,J=256,ie=16,ue=17,Q=18,ce=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],he=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ke=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=512,v=new Array((P+2)*2);l(v);var w=new Array(R*2);l(w);var c=new Array(d);l(c);var p=new Array(k-C+1);l(p);var x=new Array(A);l(x);var S=new Array(R);l(S);function b(te,ye,Le,Ue,Qe){this.static_tree=te,this.extra_bits=ye,this.extra_base=Le,this.elems=Ue,this.max_length=Qe,this.has_stree=te&&te.length}var h,T,M;function j(te,ye){this.dyn_tree=te,this.max_code=0,this.stat_desc=ye}function V(te){return te<256?c[te]:c[256+(te>>>7)]}function ee(te,ye){te.pending_buf[te.pending++]=ye&255,te.pending_buf[te.pending++]=ye>>>8&255}function Z(te,ye,Le){te.bi_valid>N-Le?(te.bi_buf|=ye<<te.bi_valid&65535,ee(te,te.bi_buf),te.bi_buf=ye>>N-te.bi_valid,te.bi_valid+=Le-N):(te.bi_buf|=ye<<te.bi_valid&65535,te.bi_valid+=Le)}function U(te,ye,Le){Z(te,Le[ye*2],Le[ye*2+1])}function z(te,ye){var Le=0;do Le|=te&1,te>>>=1,Le<<=1;while(--ye>0);return Le>>>1}function ne(te){te.bi_valid===16?(ee(te,te.bi_buf),te.bi_buf=0,te.bi_valid=0):te.bi_valid>=8&&(te.pending_buf[te.pending++]=te.bi_buf&255,te.bi_buf>>=8,te.bi_valid-=8)}function fe(te,ye){var Le=ye.dyn_tree,Ue=ye.max_code,Qe=ye.stat_desc.static_tree,Ke=ye.stat_desc.has_stree,De=ye.stat_desc.extra_bits,Vt=ye.stat_desc.extra_base,At=ye.stat_desc.max_length,ve,Pt,pt,Ne,vt,ut,$t=0;for(Ne=0;Ne<=O;Ne++)te.bl_count[Ne]=0;for(Le[te.heap[te.heap_max]*2+1]=0,ve=te.heap_max+1;ve<F;ve++)Pt=te.heap[ve],Ne=Le[Le[Pt*2+1]*2+1]+1,Ne>At&&(Ne=At,$t++),Le[Pt*2+1]=Ne,!(Pt>Ue)&&(te.bl_count[Ne]++,vt=0,Pt>=Vt&&(vt=De[Pt-Vt]),ut=Le[Pt*2],te.opt_len+=ut*(Ne+vt),Ke&&(te.static_len+=ut*(Qe[Pt*2+1]+vt)));if($t!==0){do{for(Ne=At-1;te.bl_count[Ne]===0;)Ne--;te.bl_count[Ne]--,te.bl_count[Ne+1]+=2,te.bl_count[At]--,$t-=2}while($t>0);for(Ne=At;Ne!==0;Ne--)for(Pt=te.bl_count[Ne];Pt!==0;)pt=te.heap[--ve],!(pt>Ue)&&(Le[pt*2+1]!==Ne&&(te.opt_len+=(Ne-Le[pt*2+1])*Le[pt*2],Le[pt*2+1]=Ne),Pt--)}}function me(te,ye,Le){var Ue=new Array(O+1),Qe=0,Ke,De;for(Ke=1;Ke<=O;Ke++)Ue[Ke]=Qe=Qe+Le[Ke-1]<<1;for(De=0;De<=ye;De++){var Vt=te[De*2+1];Vt!==0&&(te[De*2]=z(Ue[Vt]++,Vt))}}function de(){var te,ye,Le,Ue,Qe,Ke=new Array(O+1);for(Le=0,Ue=0;Ue<A-1;Ue++)for(x[Ue]=Le,te=0;te<1<<ce[Ue];te++)p[Le++]=Ue;for(p[Le-1]=Ue,Qe=0,Ue=0;Ue<16;Ue++)for(S[Ue]=Qe,te=0;te<1<<he[Ue];te++)c[Qe++]=Ue;for(Qe>>=7;Ue<R;Ue++)for(S[Ue]=Qe<<7,te=0;te<1<<he[Ue]-7;te++)c[256+Qe++]=Ue;for(ye=0;ye<=O;ye++)Ke[ye]=0;for(te=0;te<=143;)v[te*2+1]=8,te++,Ke[8]++;for(;te<=255;)v[te*2+1]=9,te++,Ke[9]++;for(;te<=279;)v[te*2+1]=7,te++,Ke[7]++;for(;te<=287;)v[te*2+1]=8,te++,Ke[8]++;for(me(v,P+1,Ke),te=0;te<R;te++)w[te*2+1]=5,w[te*2]=z(te,5);h=new b(v,ce,D+1,P,O),T=new b(w,he,0,R,O),M=new b(new Array(0),ke,0,B,Y)}function Oe(te){var ye;for(ye=0;ye<P;ye++)te.dyn_ltree[ye*2]=0;for(ye=0;ye<R;ye++)te.dyn_dtree[ye*2]=0;for(ye=0;ye<B;ye++)te.bl_tree[ye*2]=0;te.dyn_ltree[J*2]=1,te.opt_len=te.static_len=0,te.last_lit=te.matches=0}function lt(te){te.bi_valid>8?ee(te,te.bi_buf):te.bi_valid>0&&(te.pending_buf[te.pending++]=te.bi_buf),te.bi_buf=0,te.bi_valid=0}function it(te,ye,Le,Ue){lt(te),ee(te,Le),ee(te,~Le),t.arraySet(te.pending_buf,te.window,ye,Le,te.pending),te.pending+=Le}function ot(te,ye,Le,Ue){var Qe=ye*2,Ke=Le*2;return te[Qe]<te[Ke]||te[Qe]===te[Ke]&&Ue[ye]<=Ue[Le]}function Ct(te,ye,Le){for(var Ue=te.heap[Le],Qe=Le<<1;Qe<=te.heap_len&&(Qe<te.heap_len&&ot(ye,te.heap[Qe+1],te.heap[Qe],te.depth)&&Qe++,!ot(ye,Ue,te.heap[Qe],te.depth));)te.heap[Le]=te.heap[Qe],Le=Qe,Qe<<=1;te.heap[Le]=Ue}function nt(te,ye,Le){var Ue,Qe,Ke=0,De,Vt;if(te.last_lit!==0)do Ue=te.pending_buf[te.d_buf+Ke*2]<<8|te.pending_buf[te.d_buf+Ke*2+1],Qe=te.pending_buf[te.l_buf+Ke],Ke++,Ue===0?U(te,Qe,ye):(De=p[Qe],U(te,De+D+1,ye),Vt=ce[De],Vt!==0&&(Qe-=x[De],Z(te,Qe,Vt)),Ue--,De=V(Ue),U(te,De,Le),Vt=he[De],Vt!==0&&(Ue-=S[De],Z(te,Ue,Vt)));while(Ke<te.last_lit);U(te,J,ye)}function Je(te,ye){var Le=ye.dyn_tree,Ue=ye.stat_desc.static_tree,Qe=ye.stat_desc.has_stree,Ke=ye.stat_desc.elems,De,Vt,At=-1,ve;for(te.heap_len=0,te.heap_max=F,De=0;De<Ke;De++)Le[De*2]!==0?(te.heap[++te.heap_len]=At=De,te.depth[De]=0):Le[De*2+1]=0;for(;te.heap_len<2;)ve=te.heap[++te.heap_len]=At<2?++At:0,Le[ve*2]=1,te.depth[ve]=0,te.opt_len--,Qe&&(te.static_len-=Ue[ve*2+1]);for(ye.max_code=At,De=te.heap_len>>1;De>=1;De--)Ct(te,Le,De);ve=Ke;do De=te.heap[1],te.heap[1]=te.heap[te.heap_len--],Ct(te,Le,1),Vt=te.heap[1],te.heap[--te.heap_max]=De,te.heap[--te.heap_max]=Vt,Le[ve*2]=Le[De*2]+Le[Vt*2],te.depth[ve]=(te.depth[De]>=te.depth[Vt]?te.depth[De]:te.depth[Vt])+1,Le[De*2+1]=Le[Vt*2+1]=ve,te.heap[1]=ve++,Ct(te,Le,1);while(te.heap_len>=2);te.heap[--te.heap_max]=te.heap[1],fe(te,ye),me(Le,At,te.bl_count)}function tt(te,ye,Le){var Ue,Qe=-1,Ke,De=ye[0*2+1],Vt=0,At=7,ve=4;for(De===0&&(At=138,ve=3),ye[(Le+1)*2+1]=65535,Ue=0;Ue<=Le;Ue++)Ke=De,De=ye[(Ue+1)*2+1],!(++Vt<At&&Ke===De)&&(Vt<ve?te.bl_tree[Ke*2]+=Vt:Ke!==0?(Ke!==Qe&&te.bl_tree[Ke*2]++,te.bl_tree[ie*2]++):Vt<=10?te.bl_tree[ue*2]++:te.bl_tree[Q*2]++,Vt=0,Qe=Ke,De===0?(At=138,ve=3):Ke===De?(At=6,ve=3):(At=7,ve=4))}function rt(te,ye,Le){var Ue,Qe=-1,Ke,De=ye[0*2+1],Vt=0,At=7,ve=4;for(De===0&&(At=138,ve=3),Ue=0;Ue<=Le;Ue++)if(Ke=De,De=ye[(Ue+1)*2+1],!(++Vt<At&&Ke===De)){if(Vt<ve)do U(te,Ke,te.bl_tree);while(--Vt!==0);else Ke!==0?(Ke!==Qe&&(U(te,Ke,te.bl_tree),Vt--),U(te,ie,te.bl_tree),Z(te,Vt-3,2)):Vt<=10?(U(te,ue,te.bl_tree),Z(te,Vt-3,3)):(U(te,Q,te.bl_tree),Z(te,Vt-11,7));Vt=0,Qe=Ke,De===0?(At=138,ve=3):Ke===De?(At=6,ve=3):(At=7,ve=4)}}function ht(te){var ye;for(tt(te,te.dyn_ltree,te.l_desc.max_code),tt(te,te.dyn_dtree,te.d_desc.max_code),Je(te,te.bl_desc),ye=B-1;ye>=3&&te.bl_tree[L[ye]*2+1]===0;ye--);return te.opt_len+=3*(ye+1)+5+5+4,ye}function jt(te,ye,Le,Ue){var Qe;for(Z(te,ye-257,5),Z(te,Le-1,5),Z(te,Ue-4,4),Qe=0;Qe<Ue;Qe++)Z(te,te.bl_tree[L[Qe]*2+1],3);rt(te,te.dyn_ltree,ye-1),rt(te,te.dyn_dtree,Le-1)}function Ve(te){var ye=4093624447,Le;for(Le=0;Le<=31;Le++,ye>>>=1)if(ye&1&&te.dyn_ltree[Le*2]!==0)return n;if(te.dyn_ltree[9*2]!==0||te.dyn_ltree[10*2]!==0||te.dyn_ltree[13*2]!==0)return o;for(Le=32;Le<D;Le++)if(te.dyn_ltree[Le*2]!==0)return o;return n}var We=!1;function Gt(te){We||(de(),We=!0),te.l_desc=new j(te.dyn_ltree,h),te.d_desc=new j(te.dyn_dtree,T),te.bl_desc=new j(te.bl_tree,M),te.bi_buf=0,te.bi_valid=0,Oe(te)}function wt(te,ye,Le,Ue){Z(te,(m<<1)+(Ue?1:0),3),it(te,ye,Le)}function Et(te){Z(te,y<<1,3),U(te,J,v),ne(te)}function Yt(te,ye,Le,Ue){var Qe,Ke,De=0;te.level>0?(te.strm.data_type===u&&(te.strm.data_type=Ve(te)),Je(te,te.l_desc),Je(te,te.d_desc),De=ht(te),Qe=te.opt_len+3+7>>>3,Ke=te.static_len+3+7>>>3,Ke<=Qe&&(Qe=Ke)):Qe=Ke=Le+5,Le+4<=Qe&&ye!==-1?wt(te,ye,Le,Ue):te.strategy===e||Ke===Qe?(Z(te,(y<<1)+(Ue?1:0),3),nt(te,v,w)):(Z(te,(E<<1)+(Ue?1:0),3),jt(te,te.l_desc.max_code+1,te.d_desc.max_code+1,De+1),nt(te,te.dyn_ltree,te.dyn_dtree)),Oe(te),Ue&&lt(te)}function Ce(te,ye,Le){return te.pending_buf[te.d_buf+te.last_lit*2]=ye>>>8&255,te.pending_buf[te.d_buf+te.last_lit*2+1]=ye&255,te.pending_buf[te.l_buf+te.last_lit]=Le&255,te.last_lit++,ye===0?te.dyn_ltree[Le*2]++:(te.matches++,ye--,te.dyn_ltree[(p[Le]+D+1)*2]++,te.dyn_dtree[V(ye)*2]++),te.last_lit===te.lit_bufsize-1}return trees._tr_init=Gt,trees._tr_stored_block=wt,trees._tr_flush_block=Yt,trees._tr_tally=Ce,trees._tr_align=Et,trees}var adler32_1,hasRequiredAdler32;function requireAdler32(){if(hasRequiredAdler32)return adler32_1;hasRequiredAdler32=1;function t(e,n,o,u){for(var l=e&65535|0,m=e>>>16&65535|0,y=0;o!==0;){y=o>2e3?2e3:o,o-=y;do l=l+n[u++]|0,m=m+l|0;while(--y);l%=65521,m%=65521}return l|m<<16|0}return adler32_1=t,adler32_1}var crc32_1,hasRequiredCrc32;function requireCrc32(){if(hasRequiredCrc32)return crc32_1;hasRequiredCrc32=1;function t(){for(var o,u=[],l=0;l<256;l++){o=l;for(var m=0;m<8;m++)o=o&1?3988292384^o>>>1:o>>>1;u[l]=o}return u}var e=t();function n(o,u,l,m){var y=e,E=m+l;o^=-1;for(var C=m;C<E;C++)o=o>>>8^y[(o^u[C])&255];return o^-1}return crc32_1=n,crc32_1}var messages,hasRequiredMessages;function requireMessages(){return hasRequiredMessages||(hasRequiredMessages=1,messages={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}),messages}var hasRequiredDeflate;function requireDeflate(){if(hasRequiredDeflate)return deflate;hasRequiredDeflate=1;var t=requireCommon(),e=requireTrees(),n=requireAdler32(),o=requireCrc32(),u=requireMessages(),l=0,m=1,y=3,E=4,C=5,k=0,A=1,D=-2,P=-3,R=-5,B=-1,F=1,O=2,N=3,Y=4,J=0,ie=2,ue=8,Q=9,ce=15,he=8,ke=29,L=256,d=L+1+ke,v=30,w=19,c=2*d+1,p=15,x=3,S=258,b=S+x+1,h=32,T=42,M=69,j=73,V=91,ee=103,Z=113,U=666,z=1,ne=2,fe=3,me=4,de=3;function Oe(ve,Pt){return ve.msg=u[Pt],Pt}function lt(ve){return(ve<<1)-(ve>4?9:0)}function it(ve){for(var Pt=ve.length;--Pt>=0;)ve[Pt]=0}function ot(ve){var Pt=ve.state,pt=Pt.pending;pt>ve.avail_out&&(pt=ve.avail_out),pt!==0&&(t.arraySet(ve.output,Pt.pending_buf,Pt.pending_out,pt,ve.next_out),ve.next_out+=pt,Pt.pending_out+=pt,ve.total_out+=pt,ve.avail_out-=pt,Pt.pending-=pt,Pt.pending===0&&(Pt.pending_out=0))}function Ct(ve,Pt){e._tr_flush_block(ve,ve.block_start>=0?ve.block_start:-1,ve.strstart-ve.block_start,Pt),ve.block_start=ve.strstart,ot(ve.strm)}function nt(ve,Pt){ve.pending_buf[ve.pending++]=Pt}function Je(ve,Pt){ve.pending_buf[ve.pending++]=Pt>>>8&255,ve.pending_buf[ve.pending++]=Pt&255}function tt(ve,Pt,pt,Ne){var vt=ve.avail_in;return vt>Ne&&(vt=Ne),vt===0?0:(ve.avail_in-=vt,t.arraySet(Pt,ve.input,ve.next_in,vt,pt),ve.state.wrap===1?ve.adler=n(ve.adler,Pt,vt,pt):ve.state.wrap===2&&(ve.adler=o(ve.adler,Pt,vt,pt)),ve.next_in+=vt,ve.total_in+=vt,vt)}function rt(ve,Pt){var pt=ve.max_chain_length,Ne=ve.strstart,vt,ut,$t=ve.prev_length,fi=ve.nice_match,kt=ve.strstart>ve.w_size-b?ve.strstart-(ve.w_size-b):0,Wt=ve.window,Zi=ve.w_mask,Ut=ve.prev,Xt=ve.strstart+S,Be=Wt[Ne+$t-1],be=Wt[Ne+$t];ve.prev_length>=ve.good_match&&(pt>>=2),fi>ve.lookahead&&(fi=ve.lookahead);do if(vt=Pt,!(Wt[vt+$t]!==be||Wt[vt+$t-1]!==Be||Wt[vt]!==Wt[Ne]||Wt[++vt]!==Wt[Ne+1])){Ne+=2,vt++;do;while(Wt[++Ne]===Wt[++vt]&&Wt[++Ne]===Wt[++vt]&&Wt[++Ne]===Wt[++vt]&&Wt[++Ne]===Wt[++vt]&&Wt[++Ne]===Wt[++vt]&&Wt[++Ne]===Wt[++vt]&&Wt[++Ne]===Wt[++vt]&&Wt[++Ne]===Wt[++vt]&&Ne<Xt);if(ut=S-(Xt-Ne),Ne=Xt-S,ut>$t){if(ve.match_start=Pt,$t=ut,ut>=fi)break;Be=Wt[Ne+$t-1],be=Wt[Ne+$t]}}while((Pt=Ut[Pt&Zi])>kt&&--pt!==0);return $t<=ve.lookahead?$t:ve.lookahead}function ht(ve){var Pt=ve.w_size,pt,Ne,vt,ut,$t;do{if(ut=ve.window_size-ve.lookahead-ve.strstart,ve.strstart>=Pt+(Pt-b)){t.arraySet(ve.window,ve.window,Pt,Pt,0),ve.match_start-=Pt,ve.strstart-=Pt,ve.block_start-=Pt,Ne=ve.hash_size,pt=Ne;do vt=ve.head[--pt],ve.head[pt]=vt>=Pt?vt-Pt:0;while(--Ne);Ne=Pt,pt=Ne;do vt=ve.prev[--pt],ve.prev[pt]=vt>=Pt?vt-Pt:0;while(--Ne);ut+=Pt}if(ve.strm.avail_in===0)break;if(Ne=tt(ve.strm,ve.window,ve.strstart+ve.lookahead,ut),ve.lookahead+=Ne,ve.lookahead+ve.insert>=x)for($t=ve.strstart-ve.insert,ve.ins_h=ve.window[$t],ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[$t+1])&ve.hash_mask;ve.insert&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[$t+x-1])&ve.hash_mask,ve.prev[$t&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=$t,$t++,ve.insert--,!(ve.lookahead+ve.insert<x)););}while(ve.lookahead<b&&ve.strm.avail_in!==0)}function jt(ve,Pt){var pt=65535;for(pt>ve.pending_buf_size-5&&(pt=ve.pending_buf_size-5);;){if(ve.lookahead<=1){if(ht(ve),ve.lookahead===0&&Pt===l)return z;if(ve.lookahead===0)break}ve.strstart+=ve.lookahead,ve.lookahead=0;var Ne=ve.block_start+pt;if((ve.strstart===0||ve.strstart>=Ne)&&(ve.lookahead=ve.strstart-Ne,ve.strstart=Ne,Ct(ve,!1),ve.strm.avail_out===0)||ve.strstart-ve.block_start>=ve.w_size-b&&(Ct(ve,!1),ve.strm.avail_out===0))return z}return ve.insert=0,Pt===E?(Ct(ve,!0),ve.strm.avail_out===0?fe:me):(ve.strstart>ve.block_start&&(Ct(ve,!1),ve.strm.avail_out===0),z)}function Ve(ve,Pt){for(var pt,Ne;;){if(ve.lookahead<b){if(ht(ve),ve.lookahead<b&&Pt===l)return z;if(ve.lookahead===0)break}if(pt=0,ve.lookahead>=x&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+x-1])&ve.hash_mask,pt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart),pt!==0&&ve.strstart-pt<=ve.w_size-b&&(ve.match_length=rt(ve,pt)),ve.match_length>=x)if(Ne=e._tr_tally(ve,ve.strstart-ve.match_start,ve.match_length-x),ve.lookahead-=ve.match_length,ve.match_length<=ve.max_lazy_match&&ve.lookahead>=x){ve.match_length--;do ve.strstart++,ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+x-1])&ve.hash_mask,pt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart;while(--ve.match_length!==0);ve.strstart++}else ve.strstart+=ve.match_length,ve.match_length=0,ve.ins_h=ve.window[ve.strstart],ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+1])&ve.hash_mask;else Ne=e._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++;if(Ne&&(Ct(ve,!1),ve.strm.avail_out===0))return z}return ve.insert=ve.strstart<x-1?ve.strstart:x-1,Pt===E?(Ct(ve,!0),ve.strm.avail_out===0?fe:me):ve.last_lit&&(Ct(ve,!1),ve.strm.avail_out===0)?z:ne}function We(ve,Pt){for(var pt,Ne,vt;;){if(ve.lookahead<b){if(ht(ve),ve.lookahead<b&&Pt===l)return z;if(ve.lookahead===0)break}if(pt=0,ve.lookahead>=x&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+x-1])&ve.hash_mask,pt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart),ve.prev_length=ve.match_length,ve.prev_match=ve.match_start,ve.match_length=x-1,pt!==0&&ve.prev_length<ve.max_lazy_match&&ve.strstart-pt<=ve.w_size-b&&(ve.match_length=rt(ve,pt),ve.match_length<=5&&(ve.strategy===F||ve.match_length===x&&ve.strstart-ve.match_start>4096)&&(ve.match_length=x-1)),ve.prev_length>=x&&ve.match_length<=ve.prev_length){vt=ve.strstart+ve.lookahead-x,Ne=e._tr_tally(ve,ve.strstart-1-ve.prev_match,ve.prev_length-x),ve.lookahead-=ve.prev_length-1,ve.prev_length-=2;do++ve.strstart<=vt&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+x-1])&ve.hash_mask,pt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart);while(--ve.prev_length!==0);if(ve.match_available=0,ve.match_length=x-1,ve.strstart++,Ne&&(Ct(ve,!1),ve.strm.avail_out===0))return z}else if(ve.match_available){if(Ne=e._tr_tally(ve,0,ve.window[ve.strstart-1]),Ne&&Ct(ve,!1),ve.strstart++,ve.lookahead--,ve.strm.avail_out===0)return z}else ve.match_available=1,ve.strstart++,ve.lookahead--}return ve.match_available&&(Ne=e._tr_tally(ve,0,ve.window[ve.strstart-1]),ve.match_available=0),ve.insert=ve.strstart<x-1?ve.strstart:x-1,Pt===E?(Ct(ve,!0),ve.strm.avail_out===0?fe:me):ve.last_lit&&(Ct(ve,!1),ve.strm.avail_out===0)?z:ne}function Gt(ve,Pt){for(var pt,Ne,vt,ut,$t=ve.window;;){if(ve.lookahead<=S){if(ht(ve),ve.lookahead<=S&&Pt===l)return z;if(ve.lookahead===0)break}if(ve.match_length=0,ve.lookahead>=x&&ve.strstart>0&&(vt=ve.strstart-1,Ne=$t[vt],Ne===$t[++vt]&&Ne===$t[++vt]&&Ne===$t[++vt])){ut=ve.strstart+S;do;while(Ne===$t[++vt]&&Ne===$t[++vt]&&Ne===$t[++vt]&&Ne===$t[++vt]&&Ne===$t[++vt]&&Ne===$t[++vt]&&Ne===$t[++vt]&&Ne===$t[++vt]&&vt<ut);ve.match_length=S-(ut-vt),ve.match_length>ve.lookahead&&(ve.match_length=ve.lookahead)}if(ve.match_length>=x?(pt=e._tr_tally(ve,1,ve.match_length-x),ve.lookahead-=ve.match_length,ve.strstart+=ve.match_length,ve.match_length=0):(pt=e._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++),pt&&(Ct(ve,!1),ve.strm.avail_out===0))return z}return ve.insert=0,Pt===E?(Ct(ve,!0),ve.strm.avail_out===0?fe:me):ve.last_lit&&(Ct(ve,!1),ve.strm.avail_out===0)?z:ne}function wt(ve,Pt){for(var pt;;){if(ve.lookahead===0&&(ht(ve),ve.lookahead===0)){if(Pt===l)return z;break}if(ve.match_length=0,pt=e._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++,pt&&(Ct(ve,!1),ve.strm.avail_out===0))return z}return ve.insert=0,Pt===E?(Ct(ve,!0),ve.strm.avail_out===0?fe:me):ve.last_lit&&(Ct(ve,!1),ve.strm.avail_out===0)?z:ne}function Et(ve,Pt,pt,Ne,vt){this.good_length=ve,this.max_lazy=Pt,this.nice_length=pt,this.max_chain=Ne,this.func=vt}var Yt;Yt=[new Et(0,0,0,0,jt),new Et(4,4,8,4,Ve),new Et(4,5,16,8,Ve),new Et(4,6,32,32,Ve),new Et(4,4,16,16,We),new Et(8,16,32,32,We),new Et(8,16,128,128,We),new Et(8,32,128,256,We),new Et(32,128,258,1024,We),new Et(32,258,258,4096,We)];function Ce(ve){ve.window_size=2*ve.w_size,it(ve.head),ve.max_lazy_match=Yt[ve.level].max_lazy,ve.good_match=Yt[ve.level].good_length,ve.nice_match=Yt[ve.level].nice_length,ve.max_chain_length=Yt[ve.level].max_chain,ve.strstart=0,ve.block_start=0,ve.lookahead=0,ve.insert=0,ve.match_length=ve.prev_length=x-1,ve.match_available=0,ve.ins_h=0}function te(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ue,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new t.Buf16(c*2),this.dyn_dtree=new t.Buf16((2*v+1)*2),this.bl_tree=new t.Buf16((2*w+1)*2),it(this.dyn_ltree),it(this.dyn_dtree),it(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new t.Buf16(p+1),this.heap=new t.Buf16(2*d+1),it(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new t.Buf16(2*d+1),it(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ye(ve){var Pt;return!ve||!ve.state?Oe(ve,D):(ve.total_in=ve.total_out=0,ve.data_type=ie,Pt=ve.state,Pt.pending=0,Pt.pending_out=0,Pt.wrap<0&&(Pt.wrap=-Pt.wrap),Pt.status=Pt.wrap?T:Z,ve.adler=Pt.wrap===2?0:1,Pt.last_flush=l,e._tr_init(Pt),k)}function Le(ve){var Pt=ye(ve);return Pt===k&&Ce(ve.state),Pt}function Ue(ve,Pt){return!ve||!ve.state||ve.state.wrap!==2?D:(ve.state.gzhead=Pt,k)}function Qe(ve,Pt,pt,Ne,vt,ut){if(!ve)return D;var $t=1;if(Pt===B&&(Pt=6),Ne<0?($t=0,Ne=-Ne):Ne>15&&($t=2,Ne-=16),vt<1||vt>Q||pt!==ue||Ne<8||Ne>15||Pt<0||Pt>9||ut<0||ut>Y)return Oe(ve,D);Ne===8&&(Ne=9);var fi=new te;return ve.state=fi,fi.strm=ve,fi.wrap=$t,fi.gzhead=null,fi.w_bits=Ne,fi.w_size=1<<fi.w_bits,fi.w_mask=fi.w_size-1,fi.hash_bits=vt+7,fi.hash_size=1<<fi.hash_bits,fi.hash_mask=fi.hash_size-1,fi.hash_shift=~~((fi.hash_bits+x-1)/x),fi.window=new t.Buf8(fi.w_size*2),fi.head=new t.Buf16(fi.hash_size),fi.prev=new t.Buf16(fi.w_size),fi.lit_bufsize=1<<vt+6,fi.pending_buf_size=fi.lit_bufsize*4,fi.pending_buf=new t.Buf8(fi.pending_buf_size),fi.d_buf=1*fi.lit_bufsize,fi.l_buf=3*fi.lit_bufsize,fi.level=Pt,fi.strategy=ut,fi.method=pt,Le(ve)}function Ke(ve,Pt){return Qe(ve,Pt,ue,ce,he,J)}function De(ve,Pt){var pt,Ne,vt,ut;if(!ve||!ve.state||Pt>C||Pt<0)return ve?Oe(ve,D):D;if(Ne=ve.state,!ve.output||!ve.input&&ve.avail_in!==0||Ne.status===U&&Pt!==E)return Oe(ve,ve.avail_out===0?R:D);if(Ne.strm=ve,pt=Ne.last_flush,Ne.last_flush=Pt,Ne.status===T)if(Ne.wrap===2)ve.adler=0,nt(Ne,31),nt(Ne,139),nt(Ne,8),Ne.gzhead?(nt(Ne,(Ne.gzhead.text?1:0)+(Ne.gzhead.hcrc?2:0)+(Ne.gzhead.extra?4:0)+(Ne.gzhead.name?8:0)+(Ne.gzhead.comment?16:0)),nt(Ne,Ne.gzhead.time&255),nt(Ne,Ne.gzhead.time>>8&255),nt(Ne,Ne.gzhead.time>>16&255),nt(Ne,Ne.gzhead.time>>24&255),nt(Ne,Ne.level===9?2:Ne.strategy>=O||Ne.level<2?4:0),nt(Ne,Ne.gzhead.os&255),Ne.gzhead.extra&&Ne.gzhead.extra.length&&(nt(Ne,Ne.gzhead.extra.length&255),nt(Ne,Ne.gzhead.extra.length>>8&255)),Ne.gzhead.hcrc&&(ve.adler=o(ve.adler,Ne.pending_buf,Ne.pending,0)),Ne.gzindex=0,Ne.status=M):(nt(Ne,0),nt(Ne,0),nt(Ne,0),nt(Ne,0),nt(Ne,0),nt(Ne,Ne.level===9?2:Ne.strategy>=O||Ne.level<2?4:0),nt(Ne,de),Ne.status=Z);else{var $t=ue+(Ne.w_bits-8<<4)<<8,fi=-1;Ne.strategy>=O||Ne.level<2?fi=0:Ne.level<6?fi=1:Ne.level===6?fi=2:fi=3,$t|=fi<<6,Ne.strstart!==0&&($t|=h),$t+=31-$t%31,Ne.status=Z,Je(Ne,$t),Ne.strstart!==0&&(Je(Ne,ve.adler>>>16),Je(Ne,ve.adler&65535)),ve.adler=1}if(Ne.status===M)if(Ne.gzhead.extra){for(vt=Ne.pending;Ne.gzindex<(Ne.gzhead.extra.length&65535)&&!(Ne.pending===Ne.pending_buf_size&&(Ne.gzhead.hcrc&&Ne.pending>vt&&(ve.adler=o(ve.adler,Ne.pending_buf,Ne.pending-vt,vt)),ot(ve),vt=Ne.pending,Ne.pending===Ne.pending_buf_size));)nt(Ne,Ne.gzhead.extra[Ne.gzindex]&255),Ne.gzindex++;Ne.gzhead.hcrc&&Ne.pending>vt&&(ve.adler=o(ve.adler,Ne.pending_buf,Ne.pending-vt,vt)),Ne.gzindex===Ne.gzhead.extra.length&&(Ne.gzindex=0,Ne.status=j)}else Ne.status=j;if(Ne.status===j)if(Ne.gzhead.name){vt=Ne.pending;do{if(Ne.pending===Ne.pending_buf_size&&(Ne.gzhead.hcrc&&Ne.pending>vt&&(ve.adler=o(ve.adler,Ne.pending_buf,Ne.pending-vt,vt)),ot(ve),vt=Ne.pending,Ne.pending===Ne.pending_buf_size)){ut=1;break}Ne.gzindex<Ne.gzhead.name.length?ut=Ne.gzhead.name.charCodeAt(Ne.gzindex++)&255:ut=0,nt(Ne,ut)}while(ut!==0);Ne.gzhead.hcrc&&Ne.pending>vt&&(ve.adler=o(ve.adler,Ne.pending_buf,Ne.pending-vt,vt)),ut===0&&(Ne.gzindex=0,Ne.status=V)}else Ne.status=V;if(Ne.status===V)if(Ne.gzhead.comment){vt=Ne.pending;do{if(Ne.pending===Ne.pending_buf_size&&(Ne.gzhead.hcrc&&Ne.pending>vt&&(ve.adler=o(ve.adler,Ne.pending_buf,Ne.pending-vt,vt)),ot(ve),vt=Ne.pending,Ne.pending===Ne.pending_buf_size)){ut=1;break}Ne.gzindex<Ne.gzhead.comment.length?ut=Ne.gzhead.comment.charCodeAt(Ne.gzindex++)&255:ut=0,nt(Ne,ut)}while(ut!==0);Ne.gzhead.hcrc&&Ne.pending>vt&&(ve.adler=o(ve.adler,Ne.pending_buf,Ne.pending-vt,vt)),ut===0&&(Ne.status=ee)}else Ne.status=ee;if(Ne.status===ee&&(Ne.gzhead.hcrc?(Ne.pending+2>Ne.pending_buf_size&&ot(ve),Ne.pending+2<=Ne.pending_buf_size&&(nt(Ne,ve.adler&255),nt(Ne,ve.adler>>8&255),ve.adler=0,Ne.status=Z)):Ne.status=Z),Ne.pending!==0){if(ot(ve),ve.avail_out===0)return Ne.last_flush=-1,k}else if(ve.avail_in===0&&lt(Pt)<=lt(pt)&&Pt!==E)return Oe(ve,R);if(Ne.status===U&&ve.avail_in!==0)return Oe(ve,R);if(ve.avail_in!==0||Ne.lookahead!==0||Pt!==l&&Ne.status!==U){var kt=Ne.strategy===O?wt(Ne,Pt):Ne.strategy===N?Gt(Ne,Pt):Yt[Ne.level].func(Ne,Pt);if((kt===fe||kt===me)&&(Ne.status=U),kt===z||kt===fe)return ve.avail_out===0&&(Ne.last_flush=-1),k;if(kt===ne&&(Pt===m?e._tr_align(Ne):Pt!==C&&(e._tr_stored_block(Ne,0,0,!1),Pt===y&&(it(Ne.head),Ne.lookahead===0&&(Ne.strstart=0,Ne.block_start=0,Ne.insert=0))),ot(ve),ve.avail_out===0))return Ne.last_flush=-1,k}return Pt!==E?k:Ne.wrap<=0?A:(Ne.wrap===2?(nt(Ne,ve.adler&255),nt(Ne,ve.adler>>8&255),nt(Ne,ve.adler>>16&255),nt(Ne,ve.adler>>24&255),nt(Ne,ve.total_in&255),nt(Ne,ve.total_in>>8&255),nt(Ne,ve.total_in>>16&255),nt(Ne,ve.total_in>>24&255)):(Je(Ne,ve.adler>>>16),Je(Ne,ve.adler&65535)),ot(ve),Ne.wrap>0&&(Ne.wrap=-Ne.wrap),Ne.pending!==0?k:A)}function Vt(ve){var Pt;return!ve||!ve.state?D:(Pt=ve.state.status,Pt!==T&&Pt!==M&&Pt!==j&&Pt!==V&&Pt!==ee&&Pt!==Z&&Pt!==U?Oe(ve,D):(ve.state=null,Pt===Z?Oe(ve,P):k))}function At(ve,Pt){var pt=Pt.length,Ne,vt,ut,$t,fi,kt,Wt,Zi;if(!ve||!ve.state||(Ne=ve.state,$t=Ne.wrap,$t===2||$t===1&&Ne.status!==T||Ne.lookahead))return D;for($t===1&&(ve.adler=n(ve.adler,Pt,pt,0)),Ne.wrap=0,pt>=Ne.w_size&&($t===0&&(it(Ne.head),Ne.strstart=0,Ne.block_start=0,Ne.insert=0),Zi=new t.Buf8(Ne.w_size),t.arraySet(Zi,Pt,pt-Ne.w_size,Ne.w_size,0),Pt=Zi,pt=Ne.w_size),fi=ve.avail_in,kt=ve.next_in,Wt=ve.input,ve.avail_in=pt,ve.next_in=0,ve.input=Pt,ht(Ne);Ne.lookahead>=x;){vt=Ne.strstart,ut=Ne.lookahead-(x-1);do Ne.ins_h=(Ne.ins_h<<Ne.hash_shift^Ne.window[vt+x-1])&Ne.hash_mask,Ne.prev[vt&Ne.w_mask]=Ne.head[Ne.ins_h],Ne.head[Ne.ins_h]=vt,vt++;while(--ut);Ne.strstart=vt,Ne.lookahead=x-1,ht(Ne)}return Ne.strstart+=Ne.lookahead,Ne.block_start=Ne.strstart,Ne.insert=Ne.lookahead,Ne.lookahead=0,Ne.match_length=Ne.prev_length=x-1,Ne.match_available=0,ve.next_in=kt,ve.input=Wt,ve.avail_in=fi,Ne.wrap=$t,k}return deflate.deflateInit=Ke,deflate.deflateInit2=Qe,deflate.deflateReset=Le,deflate.deflateResetKeep=ye,deflate.deflateSetHeader=Ue,deflate.deflate=De,deflate.deflateEnd=Vt,deflate.deflateSetDictionary=At,deflate.deflateInfo="pako deflate (from Nodeca project)",deflate}var inflate={},inffast,hasRequiredInffast;function requireInffast(){if(hasRequiredInffast)return inffast;hasRequiredInffast=1;var t=30,e=12;return inffast=function(o,u){var l,m,y,E,C,k,A,D,P,R,B,F,O,N,Y,J,ie,ue,Q,ce,he,ke,L,d,v;l=o.state,m=o.next_in,d=o.input,y=m+(o.avail_in-5),E=o.next_out,v=o.output,C=E-(u-o.avail_out),k=E+(o.avail_out-257),A=l.dmax,D=l.wsize,P=l.whave,R=l.wnext,B=l.window,F=l.hold,O=l.bits,N=l.lencode,Y=l.distcode,J=(1<<l.lenbits)-1,ie=(1<<l.distbits)-1;e:do{O<15&&(F+=d[m++]<<O,O+=8,F+=d[m++]<<O,O+=8),ue=N[F&J];t:for(;;){if(Q=ue>>>24,F>>>=Q,O-=Q,Q=ue>>>16&255,Q===0)v[E++]=ue&65535;else if(Q&16){ce=ue&65535,Q&=15,Q&&(O<Q&&(F+=d[m++]<<O,O+=8),ce+=F&(1<<Q)-1,F>>>=Q,O-=Q),O<15&&(F+=d[m++]<<O,O+=8,F+=d[m++]<<O,O+=8),ue=Y[F&ie];i:for(;;){if(Q=ue>>>24,F>>>=Q,O-=Q,Q=ue>>>16&255,Q&16){if(he=ue&65535,Q&=15,O<Q&&(F+=d[m++]<<O,O+=8,O<Q&&(F+=d[m++]<<O,O+=8)),he+=F&(1<<Q)-1,he>A){o.msg="invalid distance too far back",l.mode=t;break e}if(F>>>=Q,O-=Q,Q=E-C,he>Q){if(Q=he-Q,Q>P&&l.sane){o.msg="invalid distance too far back",l.mode=t;break e}if(ke=0,L=B,R===0){if(ke+=D-Q,Q<ce){ce-=Q;do v[E++]=B[ke++];while(--Q);ke=E-he,L=v}}else if(R<Q){if(ke+=D+R-Q,Q-=R,Q<ce){ce-=Q;do v[E++]=B[ke++];while(--Q);if(ke=0,R<ce){Q=R,ce-=Q;do v[E++]=B[ke++];while(--Q);ke=E-he,L=v}}}else if(ke+=R-Q,Q<ce){ce-=Q;do v[E++]=B[ke++];while(--Q);ke=E-he,L=v}for(;ce>2;)v[E++]=L[ke++],v[E++]=L[ke++],v[E++]=L[ke++],ce-=3;ce&&(v[E++]=L[ke++],ce>1&&(v[E++]=L[ke++]))}else{ke=E-he;do v[E++]=v[ke++],v[E++]=v[ke++],v[E++]=v[ke++],ce-=3;while(ce>2);ce&&(v[E++]=v[ke++],ce>1&&(v[E++]=v[ke++]))}}else if(Q&64){o.msg="invalid distance code",l.mode=t;break e}else{ue=Y[(ue&65535)+(F&(1<<Q)-1)];continue i}break}}else if(Q&64)if(Q&32){l.mode=e;break e}else{o.msg="invalid literal/length code",l.mode=t;break e}else{ue=N[(ue&65535)+(F&(1<<Q)-1)];continue t}break}}while(m<y&&E<k);ce=O>>3,m-=ce,O-=ce<<3,F&=(1<<O)-1,o.next_in=m,o.next_out=E,o.avail_in=m<y?5+(y-m):5-(m-y),o.avail_out=E<k?257+(k-E):257-(E-k),l.hold=F,l.bits=O},inffast}var inftrees,hasRequiredInftrees;function requireInftrees(){if(hasRequiredInftrees)return inftrees;hasRequiredInftrees=1;var t=requireCommon(),e=15,n=852,o=592,u=0,l=1,m=2,y=[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],E=[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,72,78],C=[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],k=[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];return inftrees=function(D,P,R,B,F,O,N,Y){var J=Y.bits,ie=0,ue=0,Q=0,ce=0,he=0,ke=0,L=0,d=0,v=0,w=0,c,p,x,S,b,h=null,T=0,M,j=new t.Buf16(e+1),V=new t.Buf16(e+1),ee=null,Z=0,U,z,ne;for(ie=0;ie<=e;ie++)j[ie]=0;for(ue=0;ue<B;ue++)j[P[R+ue]]++;for(he=J,ce=e;ce>=1&&j[ce]===0;ce--);if(he>ce&&(he=ce),ce===0)return F[O++]=1<<24|64<<16|0,F[O++]=1<<24|64<<16|0,Y.bits=1,0;for(Q=1;Q<ce&&j[Q]===0;Q++);for(he<Q&&(he=Q),d=1,ie=1;ie<=e;ie++)if(d<<=1,d-=j[ie],d<0)return-1;if(d>0&&(D===u||ce!==1))return-1;for(V[1]=0,ie=1;ie<e;ie++)V[ie+1]=V[ie]+j[ie];for(ue=0;ue<B;ue++)P[R+ue]!==0&&(N[V[P[R+ue]]++]=ue);if(D===u?(h=ee=N,M=19):D===l?(h=y,T-=257,ee=E,Z-=257,M=256):(h=C,ee=k,M=-1),w=0,ue=0,ie=Q,b=O,ke=he,L=0,x=-1,v=1<<he,S=v-1,D===l&&v>n||D===m&&v>o)return 1;for(;;){U=ie-L,N[ue]<M?(z=0,ne=N[ue]):N[ue]>M?(z=ee[Z+N[ue]],ne=h[T+N[ue]]):(z=96,ne=0),c=1<<ie-L,p=1<<ke,Q=p;do p-=c,F[b+(w>>L)+p]=U<<24|z<<16|ne|0;while(p!==0);for(c=1<<ie-1;w&c;)c>>=1;if(c!==0?(w&=c-1,w+=c):w=0,ue++,--j[ie]===0){if(ie===ce)break;ie=P[R+N[ue]]}if(ie>he&&(w&S)!==x){for(L===0&&(L=he),b+=Q,ke=ie-L,d=1<<ke;ke+L<ce&&(d-=j[ke+L],!(d<=0));)ke++,d<<=1;if(v+=1<<ke,D===l&&v>n||D===m&&v>o)return 1;x=w&S,F[x]=he<<24|ke<<16|b-O|0}}return w!==0&&(F[b+w]=ie-L<<24|64<<16|0),Y.bits=he,0},inftrees}var hasRequiredInflate;function requireInflate(){if(hasRequiredInflate)return inflate;hasRequiredInflate=1;var t=requireCommon(),e=requireAdler32(),n=requireCrc32(),o=requireInffast(),u=requireInftrees(),l=0,m=1,y=2,E=4,C=5,k=6,A=0,D=1,P=2,R=-2,B=-3,F=-4,O=-5,N=8,Y=1,J=2,ie=3,ue=4,Q=5,ce=6,he=7,ke=8,L=9,d=10,v=11,w=12,c=13,p=14,x=15,S=16,b=17,h=18,T=19,M=20,j=21,V=22,ee=23,Z=24,U=25,z=26,ne=27,fe=28,me=29,de=30,Oe=31,lt=32,it=852,ot=592,Ct=15,nt=Ct;function Je(Qe){return(Qe>>>24&255)+(Qe>>>8&65280)+((Qe&65280)<<8)+((Qe&255)<<24)}function tt(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,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=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new t.Buf16(320),this.work=new t.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function rt(Qe){var Ke;return!Qe||!Qe.state?R:(Ke=Qe.state,Qe.total_in=Qe.total_out=Ke.total=0,Qe.msg="",Ke.wrap&&(Qe.adler=Ke.wrap&1),Ke.mode=Y,Ke.last=0,Ke.havedict=0,Ke.dmax=32768,Ke.head=null,Ke.hold=0,Ke.bits=0,Ke.lencode=Ke.lendyn=new t.Buf32(it),Ke.distcode=Ke.distdyn=new t.Buf32(ot),Ke.sane=1,Ke.back=-1,A)}function ht(Qe){var Ke;return!Qe||!Qe.state?R:(Ke=Qe.state,Ke.wsize=0,Ke.whave=0,Ke.wnext=0,rt(Qe))}function jt(Qe,Ke){var De,Vt;return!Qe||!Qe.state||(Vt=Qe.state,Ke<0?(De=0,Ke=-Ke):(De=(Ke>>4)+1,Ke<48&&(Ke&=15)),Ke&&(Ke<8||Ke>15))?R:(Vt.window!==null&&Vt.wbits!==Ke&&(Vt.window=null),Vt.wrap=De,Vt.wbits=Ke,ht(Qe))}function Ve(Qe,Ke){var De,Vt;return Qe?(Vt=new tt,Qe.state=Vt,Vt.window=null,De=jt(Qe,Ke),De!==A&&(Qe.state=null),De):R}function We(Qe){return Ve(Qe,nt)}var Gt=!0,wt,Et;function Yt(Qe){if(Gt){var Ke;for(wt=new t.Buf32(512),Et=new t.Buf32(32),Ke=0;Ke<144;)Qe.lens[Ke++]=8;for(;Ke<256;)Qe.lens[Ke++]=9;for(;Ke<280;)Qe.lens[Ke++]=7;for(;Ke<288;)Qe.lens[Ke++]=8;for(u(m,Qe.lens,0,288,wt,0,Qe.work,{bits:9}),Ke=0;Ke<32;)Qe.lens[Ke++]=5;u(y,Qe.lens,0,32,Et,0,Qe.work,{bits:5}),Gt=!1}Qe.lencode=wt,Qe.lenbits=9,Qe.distcode=Et,Qe.distbits=5}function Ce(Qe,Ke,De,Vt){var At,ve=Qe.state;return ve.window===null&&(ve.wsize=1<<ve.wbits,ve.wnext=0,ve.whave=0,ve.window=new t.Buf8(ve.wsize)),Vt>=ve.wsize?(t.arraySet(ve.window,Ke,De-ve.wsize,ve.wsize,0),ve.wnext=0,ve.whave=ve.wsize):(At=ve.wsize-ve.wnext,At>Vt&&(At=Vt),t.arraySet(ve.window,Ke,De-Vt,At,ve.wnext),Vt-=At,Vt?(t.arraySet(ve.window,Ke,De-Vt,Vt,0),ve.wnext=Vt,ve.whave=ve.wsize):(ve.wnext+=At,ve.wnext===ve.wsize&&(ve.wnext=0),ve.whave<ve.wsize&&(ve.whave+=At))),0}function te(Qe,Ke){var De,Vt,At,ve,Pt,pt,Ne,vt,ut,$t,fi,kt,Wt,Zi,Ut=0,Xt,Be,be,ge,oe,Ae,qe,bt,at=new t.Buf8(4),gt,ei,ii=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Qe||!Qe.state||!Qe.output||!Qe.input&&Qe.avail_in!==0)return R;De=Qe.state,De.mode===w&&(De.mode=c),Pt=Qe.next_out,At=Qe.output,Ne=Qe.avail_out,ve=Qe.next_in,Vt=Qe.input,pt=Qe.avail_in,vt=De.hold,ut=De.bits,$t=pt,fi=Ne,bt=A;e:for(;;)switch(De.mode){case Y:if(De.wrap===0){De.mode=c;break}for(;ut<16;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(De.wrap&2&&vt===35615){De.check=0,at[0]=vt&255,at[1]=vt>>>8&255,De.check=n(De.check,at,2,0),vt=0,ut=0,De.mode=J;break}if(De.flags=0,De.head&&(De.head.done=!1),!(De.wrap&1)||(((vt&255)<<8)+(vt>>8))%31){Qe.msg="incorrect header check",De.mode=de;break}if((vt&15)!==N){Qe.msg="unknown compression method",De.mode=de;break}if(vt>>>=4,ut-=4,qe=(vt&15)+8,De.wbits===0)De.wbits=qe;else if(qe>De.wbits){Qe.msg="invalid window size",De.mode=de;break}De.dmax=1<<qe,Qe.adler=De.check=1,De.mode=vt&512?d:w,vt=0,ut=0;break;case J:for(;ut<16;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(De.flags=vt,(De.flags&255)!==N){Qe.msg="unknown compression method",De.mode=de;break}if(De.flags&57344){Qe.msg="unknown header flags set",De.mode=de;break}De.head&&(De.head.text=vt>>8&1),De.flags&512&&(at[0]=vt&255,at[1]=vt>>>8&255,De.check=n(De.check,at,2,0)),vt=0,ut=0,De.mode=ie;case ie:for(;ut<32;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}De.head&&(De.head.time=vt),De.flags&512&&(at[0]=vt&255,at[1]=vt>>>8&255,at[2]=vt>>>16&255,at[3]=vt>>>24&255,De.check=n(De.check,at,4,0)),vt=0,ut=0,De.mode=ue;case ue:for(;ut<16;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}De.head&&(De.head.xflags=vt&255,De.head.os=vt>>8),De.flags&512&&(at[0]=vt&255,at[1]=vt>>>8&255,De.check=n(De.check,at,2,0)),vt=0,ut=0,De.mode=Q;case Q:if(De.flags&1024){for(;ut<16;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}De.length=vt,De.head&&(De.head.extra_len=vt),De.flags&512&&(at[0]=vt&255,at[1]=vt>>>8&255,De.check=n(De.check,at,2,0)),vt=0,ut=0}else De.head&&(De.head.extra=null);De.mode=ce;case ce:if(De.flags&1024&&(kt=De.length,kt>pt&&(kt=pt),kt&&(De.head&&(qe=De.head.extra_len-De.length,De.head.extra||(De.head.extra=new Array(De.head.extra_len)),t.arraySet(De.head.extra,Vt,ve,kt,qe)),De.flags&512&&(De.check=n(De.check,Vt,kt,ve)),pt-=kt,ve+=kt,De.length-=kt),De.length))break e;De.length=0,De.mode=he;case he:if(De.flags&2048){if(pt===0)break e;kt=0;do qe=Vt[ve+kt++],De.head&&qe&&De.length<65536&&(De.head.name+=String.fromCharCode(qe));while(qe&&kt<pt);if(De.flags&512&&(De.check=n(De.check,Vt,kt,ve)),pt-=kt,ve+=kt,qe)break e}else De.head&&(De.head.name=null);De.length=0,De.mode=ke;case ke:if(De.flags&4096){if(pt===0)break e;kt=0;do qe=Vt[ve+kt++],De.head&&qe&&De.length<65536&&(De.head.comment+=String.fromCharCode(qe));while(qe&&kt<pt);if(De.flags&512&&(De.check=n(De.check,Vt,kt,ve)),pt-=kt,ve+=kt,qe)break e}else De.head&&(De.head.comment=null);De.mode=L;case L:if(De.flags&512){for(;ut<16;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(vt!==(De.check&65535)){Qe.msg="header crc mismatch",De.mode=de;break}vt=0,ut=0}De.head&&(De.head.hcrc=De.flags>>9&1,De.head.done=!0),Qe.adler=De.check=0,De.mode=w;break;case d:for(;ut<32;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}Qe.adler=De.check=Je(vt),vt=0,ut=0,De.mode=v;case v:if(De.havedict===0)return Qe.next_out=Pt,Qe.avail_out=Ne,Qe.next_in=ve,Qe.avail_in=pt,De.hold=vt,De.bits=ut,P;Qe.adler=De.check=1,De.mode=w;case w:if(Ke===C||Ke===k)break e;case c:if(De.last){vt>>>=ut&7,ut-=ut&7,De.mode=ne;break}for(;ut<3;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}switch(De.last=vt&1,vt>>>=1,ut-=1,vt&3){case 0:De.mode=p;break;case 1:if(Yt(De),De.mode=M,Ke===k){vt>>>=2,ut-=2;break e}break;case 2:De.mode=b;break;case 3:Qe.msg="invalid block type",De.mode=de}vt>>>=2,ut-=2;break;case p:for(vt>>>=ut&7,ut-=ut&7;ut<32;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if((vt&65535)!==(vt>>>16^65535)){Qe.msg="invalid stored block lengths",De.mode=de;break}if(De.length=vt&65535,vt=0,ut=0,De.mode=x,Ke===k)break e;case x:De.mode=S;case S:if(kt=De.length,kt){if(kt>pt&&(kt=pt),kt>Ne&&(kt=Ne),kt===0)break e;t.arraySet(At,Vt,ve,kt,Pt),pt-=kt,ve+=kt,Ne-=kt,Pt+=kt,De.length-=kt;break}De.mode=w;break;case b:for(;ut<14;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(De.nlen=(vt&31)+257,vt>>>=5,ut-=5,De.ndist=(vt&31)+1,vt>>>=5,ut-=5,De.ncode=(vt&15)+4,vt>>>=4,ut-=4,De.nlen>286||De.ndist>30){Qe.msg="too many length or distance symbols",De.mode=de;break}De.have=0,De.mode=h;case h:for(;De.have<De.ncode;){for(;ut<3;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}De.lens[ii[De.have++]]=vt&7,vt>>>=3,ut-=3}for(;De.have<19;)De.lens[ii[De.have++]]=0;if(De.lencode=De.lendyn,De.lenbits=7,gt={bits:De.lenbits},bt=u(l,De.lens,0,19,De.lencode,0,De.work,gt),De.lenbits=gt.bits,bt){Qe.msg="invalid code lengths set",De.mode=de;break}De.have=0,De.mode=T;case T:for(;De.have<De.nlen+De.ndist;){for(;Ut=De.lencode[vt&(1<<De.lenbits)-1],Xt=Ut>>>24,Be=Ut>>>16&255,be=Ut&65535,!(Xt<=ut);){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(be<16)vt>>>=Xt,ut-=Xt,De.lens[De.have++]=be;else{if(be===16){for(ei=Xt+2;ut<ei;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(vt>>>=Xt,ut-=Xt,De.have===0){Qe.msg="invalid bit length repeat",De.mode=de;break}qe=De.lens[De.have-1],kt=3+(vt&3),vt>>>=2,ut-=2}else if(be===17){for(ei=Xt+3;ut<ei;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}vt>>>=Xt,ut-=Xt,qe=0,kt=3+(vt&7),vt>>>=3,ut-=3}else{for(ei=Xt+7;ut<ei;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}vt>>>=Xt,ut-=Xt,qe=0,kt=11+(vt&127),vt>>>=7,ut-=7}if(De.have+kt>De.nlen+De.ndist){Qe.msg="invalid bit length repeat",De.mode=de;break}for(;kt--;)De.lens[De.have++]=qe}}if(De.mode===de)break;if(De.lens[256]===0){Qe.msg="invalid code -- missing end-of-block",De.mode=de;break}if(De.lenbits=9,gt={bits:De.lenbits},bt=u(m,De.lens,0,De.nlen,De.lencode,0,De.work,gt),De.lenbits=gt.bits,bt){Qe.msg="invalid literal/lengths set",De.mode=de;break}if(De.distbits=6,De.distcode=De.distdyn,gt={bits:De.distbits},bt=u(y,De.lens,De.nlen,De.ndist,De.distcode,0,De.work,gt),De.distbits=gt.bits,bt){Qe.msg="invalid distances set",De.mode=de;break}if(De.mode=M,Ke===k)break e;case M:De.mode=j;case j:if(pt>=6&&Ne>=258){Qe.next_out=Pt,Qe.avail_out=Ne,Qe.next_in=ve,Qe.avail_in=pt,De.hold=vt,De.bits=ut,o(Qe,fi),Pt=Qe.next_out,At=Qe.output,Ne=Qe.avail_out,ve=Qe.next_in,Vt=Qe.input,pt=Qe.avail_in,vt=De.hold,ut=De.bits,De.mode===w&&(De.back=-1);break}for(De.back=0;Ut=De.lencode[vt&(1<<De.lenbits)-1],Xt=Ut>>>24,Be=Ut>>>16&255,be=Ut&65535,!(Xt<=ut);){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(Be&&!(Be&240)){for(ge=Xt,oe=Be,Ae=be;Ut=De.lencode[Ae+((vt&(1<<ge+oe)-1)>>ge)],Xt=Ut>>>24,Be=Ut>>>16&255,be=Ut&65535,!(ge+Xt<=ut);){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}vt>>>=ge,ut-=ge,De.back+=ge}if(vt>>>=Xt,ut-=Xt,De.back+=Xt,De.length=be,Be===0){De.mode=z;break}if(Be&32){De.back=-1,De.mode=w;break}if(Be&64){Qe.msg="invalid literal/length code",De.mode=de;break}De.extra=Be&15,De.mode=V;case V:if(De.extra){for(ei=De.extra;ut<ei;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}De.length+=vt&(1<<De.extra)-1,vt>>>=De.extra,ut-=De.extra,De.back+=De.extra}De.was=De.length,De.mode=ee;case ee:for(;Ut=De.distcode[vt&(1<<De.distbits)-1],Xt=Ut>>>24,Be=Ut>>>16&255,be=Ut&65535,!(Xt<=ut);){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(!(Be&240)){for(ge=Xt,oe=Be,Ae=be;Ut=De.distcode[Ae+((vt&(1<<ge+oe)-1)>>ge)],Xt=Ut>>>24,Be=Ut>>>16&255,be=Ut&65535,!(ge+Xt<=ut);){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}vt>>>=ge,ut-=ge,De.back+=ge}if(vt>>>=Xt,ut-=Xt,De.back+=Xt,Be&64){Qe.msg="invalid distance code",De.mode=de;break}De.offset=be,De.extra=Be&15,De.mode=Z;case Z:if(De.extra){for(ei=De.extra;ut<ei;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}De.offset+=vt&(1<<De.extra)-1,vt>>>=De.extra,ut-=De.extra,De.back+=De.extra}if(De.offset>De.dmax){Qe.msg="invalid distance too far back",De.mode=de;break}De.mode=U;case U:if(Ne===0)break e;if(kt=fi-Ne,De.offset>kt){if(kt=De.offset-kt,kt>De.whave&&De.sane){Qe.msg="invalid distance too far back",De.mode=de;break}kt>De.wnext?(kt-=De.wnext,Wt=De.wsize-kt):Wt=De.wnext-kt,kt>De.length&&(kt=De.length),Zi=De.window}else Zi=At,Wt=Pt-De.offset,kt=De.length;kt>Ne&&(kt=Ne),Ne-=kt,De.length-=kt;do At[Pt++]=Zi[Wt++];while(--kt);De.length===0&&(De.mode=j);break;case z:if(Ne===0)break e;At[Pt++]=De.length,Ne--,De.mode=j;break;case ne:if(De.wrap){for(;ut<32;){if(pt===0)break e;pt--,vt|=Vt[ve++]<<ut,ut+=8}if(fi-=Ne,Qe.total_out+=fi,De.total+=fi,fi&&(Qe.adler=De.check=De.flags?n(De.check,At,fi,Pt-fi):e(De.check,At,fi,Pt-fi)),fi=Ne,(De.flags?vt:Je(vt))!==De.check){Qe.msg="incorrect data check",De.mode=de;break}vt=0,ut=0}De.mode=fe;case fe:if(De.wrap&&De.flags){for(;ut<32;){if(pt===0)break e;pt--,vt+=Vt[ve++]<<ut,ut+=8}if(vt!==(De.total&4294967295)){Qe.msg="incorrect length check",De.mode=de;break}vt=0,ut=0}De.mode=me;case me:bt=D;break e;case de:bt=B;break e;case Oe:return F;case lt:default:return R}return Qe.next_out=Pt,Qe.avail_out=Ne,Qe.next_in=ve,Qe.avail_in=pt,De.hold=vt,De.bits=ut,(De.wsize||fi!==Qe.avail_out&&De.mode<de&&(De.mode<ne||Ke!==E))&&Ce(Qe,Qe.output,Qe.next_out,fi-Qe.avail_out),$t-=Qe.avail_in,fi-=Qe.avail_out,Qe.total_in+=$t,Qe.total_out+=fi,De.total+=fi,De.wrap&&fi&&(Qe.adler=De.check=De.flags?n(De.check,At,fi,Qe.next_out-fi):e(De.check,At,fi,Qe.next_out-fi)),Qe.data_type=De.bits+(De.last?64:0)+(De.mode===w?128:0)+(De.mode===M||De.mode===x?256:0),($t===0&&fi===0||Ke===E)&&bt===A&&(bt=O),bt}function ye(Qe){if(!Qe||!Qe.state)return R;var Ke=Qe.state;return Ke.window&&(Ke.window=null),Qe.state=null,A}function Le(Qe,Ke){var De;return!Qe||!Qe.state||(De=Qe.state,!(De.wrap&2))?R:(De.head=Ke,Ke.done=!1,A)}function Ue(Qe,Ke){var De=Ke.length,Vt,At,ve;return!Qe||!Qe.state||(Vt=Qe.state,Vt.wrap!==0&&Vt.mode!==v)?R:Vt.mode===v&&(At=1,At=e(At,Ke,De,0),At!==Vt.check)?B:(ve=Ce(Qe,Ke,De,De),ve?(Vt.mode=Oe,F):(Vt.havedict=1,A))}return inflate.inflateReset=ht,inflate.inflateReset2=jt,inflate.inflateResetKeep=rt,inflate.inflateInit=We,inflate.inflateInit2=Ve,inflate.inflate=te,inflate.inflateEnd=ye,inflate.inflateGetHeader=Le,inflate.inflateSetDictionary=Ue,inflate.inflateInfo="pako inflate (from Nodeca project)",inflate}var constants,hasRequiredConstants;function requireConstants(){return hasRequiredConstants||(hasRequiredConstants=1,constants={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}),constants}var hasRequiredBinding;function requireBinding(){return hasRequiredBinding||(hasRequiredBinding=1,function(t){var e=requireAssert$1(),n=requireZstream(),o=requireDeflate(),u=requireInflate(),l=requireConstants();for(var m in l)t[m]=l[m];t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7;var y=31,E=139;function C(k){if(typeof k!="number"||k<t.DEFLATE||k>t.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=k,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}C.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,e(this.init_done,"close before init"),e(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?o.deflateEnd(this.strm):(this.mode===t.INFLATE||this.mode===t.GUNZIP||this.mode===t.INFLATERAW||this.mode===t.UNZIP)&&u.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null},C.prototype.write=function(k,A,D,P,R,B,F){return this._write(!0,k,A,D,P,R,B,F)},C.prototype.writeSync=function(k,A,D,P,R,B,F){return this._write(!1,k,A,D,P,R,B,F)},C.prototype._write=function(k,A,D,P,R,B,F,O){if(e.equal(arguments.length,8),e(this.init_done,"write before init"),e(this.mode!==t.NONE,"already finalized"),e.equal(!1,this.write_in_progress,"write already in progress"),e.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,e.equal(!1,A===void 0,"must provide flush value"),this.write_in_progress=!0,A!==t.Z_NO_FLUSH&&A!==t.Z_PARTIAL_FLUSH&&A!==t.Z_SYNC_FLUSH&&A!==t.Z_FULL_FLUSH&&A!==t.Z_FINISH&&A!==t.Z_BLOCK)throw new Error("Invalid flush value");if(D==null&&(D=Buffer$C.alloc(0),R=0,P=0),this.strm.avail_in=R,this.strm.input=D,this.strm.next_in=P,this.strm.avail_out=O,this.strm.output=B,this.strm.next_out=F,this.flush=A,!k)return this._process(),this._checkError()?this._afterSync():void 0;var N=this;return process$1.nextTick(function(){N._process(),N._after()}),this},C.prototype._afterSync=function(){var k=this.strm.avail_out,A=this.strm.avail_in;return this.write_in_progress=!1,[A,k]},C.prototype._process=function(){var k=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=o.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(k=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(k===null)break;if(this.strm.input[k]===y){if(this.gzip_id_bytes_read=1,k++,this.strm.avail_in===1)break}else{this.mode=t.INFLATE;break}case 1:if(k===null)break;this.strm.input[k]===E?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:for(this.err=u.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=u.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=u.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&this.strm.next_in[0]!==0;)this.reset(),this.err=u.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},C.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return this.dictionary==null?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},C.prototype._after=function(){if(this._checkError()){var k=this.strm.avail_out,A=this.strm.avail_in;this.write_in_progress=!1,this.callback(A,k),this.pending_close&&this.close()}},C.prototype._error=function(k){this.strm.msg&&(k=this.strm.msg),this.onerror(k,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},C.prototype.init=function(k,A,D,P,R){e(arguments.length===4||arguments.length===5,"init(windowBits, level, memLevel, strategy, [dictionary])"),e(k>=8&&k<=15,"invalid windowBits"),e(A>=-1&&A<=9,"invalid compression level"),e(D>=1&&D<=9,"invalid memlevel"),e(P===t.Z_FILTERED||P===t.Z_HUFFMAN_ONLY||P===t.Z_RLE||P===t.Z_FIXED||P===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(A,k,D,P,R),this._setDictionary()},C.prototype.params=function(){throw new Error("deflateParams Not supported")},C.prototype.reset=function(){this._reset(),this._setDictionary()},C.prototype._init=function(k,A,D,P,R){switch(this.level=k,this.windowBits=A,this.memLevel=D,this.strategy=P,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,(this.mode===t.GZIP||this.mode===t.GUNZIP)&&(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),(this.mode===t.DEFLATERAW||this.mode===t.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new n,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=o.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=u.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=R,this.write_in_progress=!1,this.init_done=!0},C.prototype._setDictionary=function(){if(this.dictionary!=null){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=o.deflateSetDictionary(this.strm,this.dictionary);break}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},C.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=o.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=u.inflateReset(this.strm);break}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=C}(binding)),binding}var hasRequiredLib$5;function requireLib$5(){return hasRequiredLib$5||(hasRequiredLib$5=1,function(t){var e=require$$0$2.Buffer,n=requireStreamBrowserify().Transform,o=requireBinding(),u=util$6,l=requireAssert$1().ok,m=require$$0$2.kMaxLength,y="Cannot create final Buffer. It would be larger than 0x"+m.toString(16)+" bytes";o.Z_MIN_WINDOWBITS=8,o.Z_MAX_WINDOWBITS=15,o.Z_DEFAULT_WINDOWBITS=15,o.Z_MIN_CHUNK=64,o.Z_MAX_CHUNK=1/0,o.Z_DEFAULT_CHUNK=16*1024,o.Z_MIN_MEMLEVEL=1,o.Z_MAX_MEMLEVEL=9,o.Z_DEFAULT_MEMLEVEL=8,o.Z_MIN_LEVEL=-1,o.Z_MAX_LEVEL=9,o.Z_DEFAULT_LEVEL=o.Z_DEFAULT_COMPRESSION;for(var E=Object.keys(o),C=0;C<E.length;C++){var k=E[C];k.match(/^Z/)&&Object.defineProperty(t,k,{enumerable:!0,value:o[k],writable:!1})}for(var A={Z_OK:o.Z_OK,Z_STREAM_END:o.Z_STREAM_END,Z_NEED_DICT:o.Z_NEED_DICT,Z_ERRNO:o.Z_ERRNO,Z_STREAM_ERROR:o.Z_STREAM_ERROR,Z_DATA_ERROR:o.Z_DATA_ERROR,Z_MEM_ERROR:o.Z_MEM_ERROR,Z_BUF_ERROR:o.Z_BUF_ERROR,Z_VERSION_ERROR:o.Z_VERSION_ERROR},D=Object.keys(A),P=0;P<D.length;P++){var R=D[P];A[A[R]]=R}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(A),writable:!1}),t.Deflate=O,t.Inflate=N,t.Gzip=Y,t.Gunzip=J,t.DeflateRaw=ie,t.InflateRaw=ue,t.Unzip=Q,t.createDeflate=function(d){return new O(d)},t.createInflate=function(d){return new N(d)},t.createDeflateRaw=function(d){return new ie(d)},t.createInflateRaw=function(d){return new ue(d)},t.createGzip=function(d){return new Y(d)},t.createGunzip=function(d){return new J(d)},t.createUnzip=function(d){return new Q(d)},t.deflate=function(d,v,w){return typeof v=="function"&&(w=v,v={}),B(new O(v),d,w)},t.deflateSync=function(d,v){return F(new O(v),d)},t.gzip=function(d,v,w){return typeof v=="function"&&(w=v,v={}),B(new Y(v),d,w)},t.gzipSync=function(d,v){return F(new Y(v),d)},t.deflateRaw=function(d,v,w){return typeof v=="function"&&(w=v,v={}),B(new ie(v),d,w)},t.deflateRawSync=function(d,v){return F(new ie(v),d)},t.unzip=function(d,v,w){return typeof v=="function"&&(w=v,v={}),B(new Q(v),d,w)},t.unzipSync=function(d,v){return F(new Q(v),d)},t.inflate=function(d,v,w){return typeof v=="function"&&(w=v,v={}),B(new N(v),d,w)},t.inflateSync=function(d,v){return F(new N(v),d)},t.gunzip=function(d,v,w){return typeof v=="function"&&(w=v,v={}),B(new J(v),d,w)},t.gunzipSync=function(d,v){return F(new J(v),d)},t.inflateRaw=function(d,v,w){return typeof v=="function"&&(w=v,v={}),B(new ue(v),d,w)},t.inflateRawSync=function(d,v){return F(new ue(v),d)};function B(d,v,w){var c=[],p=0;d.on("error",S),d.on("end",b),d.end(v),x();function x(){for(var h;(h=d.read())!==null;)c.push(h),p+=h.length;d.once("readable",x)}function S(h){d.removeListener("end",b),d.removeListener("readable",x),w(h)}function b(){var h,T=null;p>=m?T=new RangeError(y):h=e.concat(c,p),c=[],d.close(),w(T,h)}}function F(d,v){if(typeof v=="string"&&(v=e.from(v)),!e.isBuffer(v))throw new TypeError("Not a string or buffer");var w=d._finishFlushFlag;return d._processChunk(v,w)}function O(d){if(!(this instanceof O))return new O(d);he.call(this,d,o.DEFLATE)}function N(d){if(!(this instanceof N))return new N(d);he.call(this,d,o.INFLATE)}function Y(d){if(!(this instanceof Y))return new Y(d);he.call(this,d,o.GZIP)}function J(d){if(!(this instanceof J))return new J(d);he.call(this,d,o.GUNZIP)}function ie(d){if(!(this instanceof ie))return new ie(d);he.call(this,d,o.DEFLATERAW)}function ue(d){if(!(this instanceof ue))return new ue(d);he.call(this,d,o.INFLATERAW)}function Q(d){if(!(this instanceof Q))return new Q(d);he.call(this,d,o.UNZIP)}function ce(d){return d===o.Z_NO_FLUSH||d===o.Z_PARTIAL_FLUSH||d===o.Z_SYNC_FLUSH||d===o.Z_FULL_FLUSH||d===o.Z_FINISH||d===o.Z_BLOCK}function he(d,v){var w=this;if(this._opts=d=d||{},this._chunkSize=d.chunkSize||t.Z_DEFAULT_CHUNK,n.call(this,d),d.flush&&!ce(d.flush))throw new Error("Invalid flush flag: "+d.flush);if(d.finishFlush&&!ce(d.finishFlush))throw new Error("Invalid flush flag: "+d.finishFlush);if(this._flushFlag=d.flush||o.Z_NO_FLUSH,this._finishFlushFlag=typeof d.finishFlush<"u"?d.finishFlush:o.Z_FINISH,d.chunkSize&&(d.chunkSize<t.Z_MIN_CHUNK||d.chunkSize>t.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+d.chunkSize);if(d.windowBits&&(d.windowBits<t.Z_MIN_WINDOWBITS||d.windowBits>t.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+d.windowBits);if(d.level&&(d.level<t.Z_MIN_LEVEL||d.level>t.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+d.level);if(d.memLevel&&(d.memLevel<t.Z_MIN_MEMLEVEL||d.memLevel>t.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+d.memLevel);if(d.strategy&&d.strategy!=t.Z_FILTERED&&d.strategy!=t.Z_HUFFMAN_ONLY&&d.strategy!=t.Z_RLE&&d.strategy!=t.Z_FIXED&&d.strategy!=t.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+d.strategy);if(d.dictionary&&!e.isBuffer(d.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new o.Zlib(v);var c=this;this._hadError=!1,this._handle.onerror=function(S,b){ke(c),c._hadError=!0;var h=new Error(S);h.errno=b,h.code=t.codes[b],c.emit("error",h)};var p=t.Z_DEFAULT_COMPRESSION;typeof d.level=="number"&&(p=d.level);var x=t.Z_DEFAULT_STRATEGY;typeof d.strategy=="number"&&(x=d.strategy),this._handle.init(d.windowBits||t.Z_DEFAULT_WINDOWBITS,p,d.memLevel||t.Z_DEFAULT_MEMLEVEL,x,d.dictionary),this._buffer=e.allocUnsafe(this._chunkSize),this._offset=0,this._level=p,this._strategy=x,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!w._handle},configurable:!0,enumerable:!0})}u.inherits(he,n),he.prototype.params=function(d,v,w){if(d<t.Z_MIN_LEVEL||d>t.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+d);if(v!=t.Z_FILTERED&&v!=t.Z_HUFFMAN_ONLY&&v!=t.Z_RLE&&v!=t.Z_FIXED&&v!=t.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+v);if(this._level!==d||this._strategy!==v){var c=this;this.flush(o.Z_SYNC_FLUSH,function(){l(c._handle,"zlib binding closed"),c._handle.params(d,v),c._hadError||(c._level=d,c._strategy=v,w&&w())})}else process$1.nextTick(w)},he.prototype.reset=function(){return l(this._handle,"zlib binding closed"),this._handle.reset()},he.prototype._flush=function(d){this._transform(e.alloc(0),"",d)},he.prototype.flush=function(d,v){var w=this,c=this._writableState;(typeof d=="function"||d===void 0&&!v)&&(v=d,d=o.Z_FULL_FLUSH),c.ended?v&&process$1.nextTick(v):c.ending?v&&this.once("end",v):c.needDrain?v&&this.once("drain",function(){return w.flush(d,v)}):(this._flushFlag=d,this.write(e.alloc(0),"",v))},he.prototype.close=function(d){ke(this,d),process$1.nextTick(L,this)};function ke(d,v){v&&process$1.nextTick(v),d._handle&&(d._handle.close(),d._handle=null)}function L(d){d.emit("close")}he.prototype._transform=function(d,v,w){var c,p=this._writableState,x=p.ending||p.ended,S=x&&(!d||p.length===d.length);if(d!==null&&!e.isBuffer(d))return w(new Error("invalid input"));if(!this._handle)return w(new Error("zlib binding closed"));S?c=this._finishFlushFlag:(c=this._flushFlag,d.length>=p.length&&(this._flushFlag=this._opts.flush||o.Z_NO_FLUSH)),this._processChunk(d,c,w)},he.prototype._processChunk=function(d,v,w){var c=d&&d.length,p=this._chunkSize-this._offset,x=0,S=this,b=typeof w=="function";if(!b){var h=[],T=0,M;this.on("error",function(U){M=U}),l(this._handle,"zlib binding closed");do var j=this._handle.writeSync(v,d,x,c,this._buffer,this._offset,p);while(!this._hadError&&Z(j[0],j[1]));if(this._hadError)throw M;if(T>=m)throw ke(this),new RangeError(y);var V=e.concat(h,T);return ke(this),V}l(this._handle,"zlib binding closed");var ee=this._handle.write(v,d,x,c,this._buffer,this._offset,p);ee.buffer=d,ee.callback=Z;function Z(U,z){if(this&&(this.buffer=null,this.callback=null),!S._hadError){var ne=p-z;if(l(ne>=0,"have should not go down"),ne>0){var fe=S._buffer.slice(S._offset,S._offset+ne);S._offset+=ne,b?S.push(fe):(h.push(fe),T+=fe.length)}if((z===0||S._offset>=S._chunkSize)&&(p=S._chunkSize,S._offset=0,S._buffer=e.allocUnsafe(S._chunkSize)),z===0){if(x+=c-U,c=U,!b)return!0;var me=S._handle.write(v,d,x,c,S._buffer,S._offset,S._chunkSize);me.callback=Z,me.buffer=d;return}if(!b)return!1;w()}}},u.inherits(O,he),u.inherits(N,he),u.inherits(Y,he),u.inherits(J,he),u.inherits(ie,he),u.inherits(ue,he),u.inherits(Q,he)}(lib$5)),lib$5}var awsSign2={exports:{}},hasRequiredAwsSign2;function requireAwsSign2(){if(hasRequiredAwsSign2)return awsSign2.exports;hasRequiredAwsSign2=1;/*!
+`).concat(M(Q),`
+`));var me=new E({actual:Q,expected:J,message:X,operator:z,stackStartFn:U});throw me.generatedMessage=de,me}}V.match=function Q(J,X,U){D(J,X,U,Q,"match")},V.doesNotMatch=function Q(J,X,U){D(J,X,U,Q,"doesNotMatch")};function O(){for(var Q=arguments.length,J=new Array(Q),X=0;X<Q;X++)J[X]=arguments[X];L.apply(void 0,[O,J.length].concat(J))}return V.strict=B(O,V,{equal:V.strictEqual,deepEqual:V.deepStrictEqual,notEqual:V.notStrictEqual,notDeepEqual:V.notDeepStrictEqual}),V.strict.strict=V.strict,assert.exports}var zstream,hasRequiredZstream;function requireZstream(){if(hasRequiredZstream)return zstream;hasRequiredZstream=1;function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}return zstream=n,zstream}var deflate={},common={},hasRequiredCommon;function requireCommon(){return hasRequiredCommon||(hasRequiredCommon=1,function(n){var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function o(u,h){return Object.prototype.hasOwnProperty.call(u,h)}n.assign=function(u){for(var h=Array.prototype.slice.call(arguments,1);h.length;){var v=h.shift();if(v){if(typeof v!="object")throw new TypeError(v+"must be non-object");for(var w in v)o(v,w)&&(u[w]=v[w])}}return u},n.shrinkBuf=function(u,h){return u.length===h?u:u.subarray?u.subarray(0,h):(u.length=h,u)};var l={arraySet:function(u,h,v,w,A){if(h.subarray&&u.subarray){u.set(h.subarray(v,v+w),A);return}for(var E=0;E<w;E++)u[A+E]=h[v+E]},flattenChunks:function(u){var h,v,w,A,E,C;for(w=0,h=0,v=u.length;h<v;h++)w+=u[h].length;for(C=new Uint8Array(w),A=0,h=0,v=u.length;h<v;h++)E=u[h],C.set(E,A),A+=E.length;return C}},t={arraySet:function(u,h,v,w,A){for(var E=0;E<w;E++)u[A+E]=h[v+E]},flattenChunks:function(u){return[].concat.apply([],u)}};n.setTyped=function(u){u?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,l)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,t))},n.setTyped(e)}(common)),common}var trees={},hasRequiredTrees;function requireTrees(){if(hasRequiredTrees)return trees;hasRequiredTrees=1;var n=requireCommon(),e=4,o=0,l=1,t=2;function u(te){for(var _e=te.length;--_e>=0;)te[_e]=0}var h=0,v=1,w=2,A=3,E=258,C=29,M=256,P=M+1+C,I=30,j=19,B=2*P+1,F=15,N=16,ee=7,Z=256,re=16,fe=17,V=18,le=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],he=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ye=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p=512,y=new Array((P+2)*2);u(y);var S=new Array(I*2);u(S);var c=new Array(p);u(c);var m=new Array(E-A+1);u(m);var x=new Array(C);u(x);var T=new Array(I);u(T);function b(te,_e,je,We,et){this.static_tree=te,this.extra_bits=_e,this.extra_base=je,this.elems=We,this.max_length=et,this.has_stree=te&&te.length}var d,k,D;function O(te,_e){this.dyn_tree=te,this.max_code=0,this.stat_desc=_e}function Q(te){return te<256?c[te]:c[256+(te>>>7)]}function J(te,_e){te.pending_buf[te.pending++]=_e&255,te.pending_buf[te.pending++]=_e>>>8&255}function X(te,_e,je){te.bi_valid>N-je?(te.bi_buf|=_e<<te.bi_valid&65535,J(te,te.bi_buf),te.bi_buf=_e>>N-te.bi_valid,te.bi_valid+=je-N):(te.bi_buf|=_e<<te.bi_valid&65535,te.bi_valid+=je)}function U(te,_e,je){X(te,je[_e*2],je[_e*2+1])}function z(te,_e){var je=0;do je|=te&1,te>>>=1,je<<=1;while(--_e>0);return je>>>1}function ie(te){te.bi_valid===16?(J(te,te.bi_buf),te.bi_buf=0,te.bi_valid=0):te.bi_valid>=8&&(te.pending_buf[te.pending++]=te.bi_buf&255,te.bi_buf>>=8,te.bi_valid-=8)}function de(te,_e){var je=_e.dyn_tree,We=_e.max_code,et=_e.stat_desc.static_tree,Ye=_e.stat_desc.has_stree,De=_e.stat_desc.extra_bits,Ht=_e.stat_desc.extra_base,Mt=_e.stat_desc.max_length,ge,Dt,yt,Ne,_t,pt,Bt=0;for(Ne=0;Ne<=F;Ne++)te.bl_count[Ne]=0;for(je[te.heap[te.heap_max]*2+1]=0,ge=te.heap_max+1;ge<B;ge++)Dt=te.heap[ge],Ne=je[je[Dt*2+1]*2+1]+1,Ne>Mt&&(Ne=Mt,Bt++),je[Dt*2+1]=Ne,!(Dt>We)&&(te.bl_count[Ne]++,_t=0,Dt>=Ht&&(_t=De[Dt-Ht]),pt=je[Dt*2],te.opt_len+=pt*(Ne+_t),Ye&&(te.static_len+=pt*(et[Dt*2+1]+_t)));if(Bt!==0){do{for(Ne=Mt-1;te.bl_count[Ne]===0;)Ne--;te.bl_count[Ne]--,te.bl_count[Ne+1]+=2,te.bl_count[Mt]--,Bt-=2}while(Bt>0);for(Ne=Mt;Ne!==0;Ne--)for(Dt=te.bl_count[Ne];Dt!==0;)yt=te.heap[--ge],!(yt>We)&&(je[yt*2+1]!==Ne&&(te.opt_len+=(Ne-je[yt*2+1])*je[yt*2],je[yt*2+1]=Ne),Dt--)}}function me(te,_e,je){var We=new Array(F+1),et=0,Ye,De;for(Ye=1;Ye<=F;Ye++)We[Ye]=et=et+je[Ye-1]<<1;for(De=0;De<=_e;De++){var Ht=te[De*2+1];Ht!==0&&(te[De*2]=z(We[Ht]++,Ht))}}function pe(){var te,_e,je,We,et,Ye=new Array(F+1);for(je=0,We=0;We<C-1;We++)for(x[We]=je,te=0;te<1<<le[We];te++)m[je++]=We;for(m[je-1]=We,et=0,We=0;We<16;We++)for(T[We]=et,te=0;te<1<<he[We];te++)c[et++]=We;for(et>>=7;We<I;We++)for(T[We]=et<<7,te=0;te<1<<he[We]-7;te++)c[256+et++]=We;for(_e=0;_e<=F;_e++)Ye[_e]=0;for(te=0;te<=143;)y[te*2+1]=8,te++,Ye[8]++;for(;te<=255;)y[te*2+1]=9,te++,Ye[9]++;for(;te<=279;)y[te*2+1]=7,te++,Ye[7]++;for(;te<=287;)y[te*2+1]=8,te++,Ye[8]++;for(me(y,P+1,Ye),te=0;te<I;te++)S[te*2+1]=5,S[te*2]=z(te,5);d=new b(y,le,M+1,P,F),k=new b(S,he,0,I,F),D=new b(new Array(0),ye,0,j,ee)}function qe(te){var _e;for(_e=0;_e<P;_e++)te.dyn_ltree[_e*2]=0;for(_e=0;_e<I;_e++)te.dyn_dtree[_e*2]=0;for(_e=0;_e<j;_e++)te.bl_tree[_e*2]=0;te.dyn_ltree[Z*2]=1,te.opt_len=te.static_len=0,te.last_lit=te.matches=0}function mt(te){te.bi_valid>8?J(te,te.bi_buf):te.bi_valid>0&&(te.pending_buf[te.pending++]=te.bi_buf),te.bi_buf=0,te.bi_valid=0}function st(te,_e,je,We){mt(te),J(te,je),J(te,~je),n.arraySet(te.pending_buf,te.window,_e,je,te.pending),te.pending+=je}function dt(te,_e,je,We){var et=_e*2,Ye=je*2;return te[et]<te[Ye]||te[et]===te[Ye]&&We[_e]<=We[je]}function Tt(te,_e,je){for(var We=te.heap[je],et=je<<1;et<=te.heap_len&&(et<te.heap_len&&dt(_e,te.heap[et+1],te.heap[et],te.depth)&&et++,!dt(_e,We,te.heap[et],te.depth));)te.heap[je]=te.heap[et],je=et,et<<=1;te.heap[je]=We}function lt(te,_e,je){var We,et,Ye=0,De,Ht;if(te.last_lit!==0)do We=te.pending_buf[te.d_buf+Ye*2]<<8|te.pending_buf[te.d_buf+Ye*2+1],et=te.pending_buf[te.l_buf+Ye],Ye++,We===0?U(te,et,_e):(De=m[et],U(te,De+M+1,_e),Ht=le[De],Ht!==0&&(et-=x[De],X(te,et,Ht)),We--,De=Q(We),U(te,De,je),Ht=he[De],Ht!==0&&(We-=T[De],X(te,We,Ht)));while(Ye<te.last_lit);U(te,Z,_e)}function Je(te,_e){var je=_e.dyn_tree,We=_e.stat_desc.static_tree,et=_e.stat_desc.has_stree,Ye=_e.stat_desc.elems,De,Ht,Mt=-1,ge;for(te.heap_len=0,te.heap_max=B,De=0;De<Ye;De++)je[De*2]!==0?(te.heap[++te.heap_len]=Mt=De,te.depth[De]=0):je[De*2+1]=0;for(;te.heap_len<2;)ge=te.heap[++te.heap_len]=Mt<2?++Mt:0,je[ge*2]=1,te.depth[ge]=0,te.opt_len--,et&&(te.static_len-=We[ge*2+1]);for(_e.max_code=Mt,De=te.heap_len>>1;De>=1;De--)Tt(te,je,De);ge=Ye;do De=te.heap[1],te.heap[1]=te.heap[te.heap_len--],Tt(te,je,1),Ht=te.heap[1],te.heap[--te.heap_max]=De,te.heap[--te.heap_max]=Ht,je[ge*2]=je[De*2]+je[Ht*2],te.depth[ge]=(te.depth[De]>=te.depth[Ht]?te.depth[De]:te.depth[Ht])+1,je[De*2+1]=je[Ht*2+1]=ge,te.heap[1]=ge++,Tt(te,je,1);while(te.heap_len>=2);te.heap[--te.heap_max]=te.heap[1],de(te,_e),me(je,Mt,te.bl_count)}function ht(te,_e,je){var We,et=-1,Ye,De=_e[0*2+1],Ht=0,Mt=7,ge=4;for(De===0&&(Mt=138,ge=3),_e[(je+1)*2+1]=65535,We=0;We<=je;We++)Ye=De,De=_e[(We+1)*2+1],!(++Ht<Mt&&Ye===De)&&(Ht<ge?te.bl_tree[Ye*2]+=Ht:Ye!==0?(Ye!==et&&te.bl_tree[Ye*2]++,te.bl_tree[re*2]++):Ht<=10?te.bl_tree[fe*2]++:te.bl_tree[V*2]++,Ht=0,et=Ye,De===0?(Mt=138,ge=3):Ye===De?(Mt=6,ge=3):(Mt=7,ge=4))}function at(te,_e,je){var We,et=-1,Ye,De=_e[0*2+1],Ht=0,Mt=7,ge=4;for(De===0&&(Mt=138,ge=3),We=0;We<=je;We++)if(Ye=De,De=_e[(We+1)*2+1],!(++Ht<Mt&&Ye===De)){if(Ht<ge)do U(te,Ye,te.bl_tree);while(--Ht!==0);else Ye!==0?(Ye!==et&&(U(te,Ye,te.bl_tree),Ht--),U(te,re,te.bl_tree),X(te,Ht-3,2)):Ht<=10?(U(te,fe,te.bl_tree),X(te,Ht-3,3)):(U(te,V,te.bl_tree),X(te,Ht-11,7));Ht=0,et=Ye,De===0?(Mt=138,ge=3):Ye===De?(Mt=6,ge=3):(Mt=7,ge=4)}}function bt(te){var _e;for(ht(te,te.dyn_ltree,te.l_desc.max_code),ht(te,te.dyn_dtree,te.d_desc.max_code),Je(te,te.bl_desc),_e=j-1;_e>=3&&te.bl_tree[L[_e]*2+1]===0;_e--);return te.opt_len+=3*(_e+1)+5+5+4,_e}function jt(te,_e,je,We){var et;for(X(te,_e-257,5),X(te,je-1,5),X(te,We-4,4),et=0;et<We;et++)X(te,te.bl_tree[L[et]*2+1],3);at(te,te.dyn_ltree,_e-1),at(te,te.dyn_dtree,je-1)}function Ge(te){var _e=4093624447,je;for(je=0;je<=31;je++,_e>>>=1)if(_e&1&&te.dyn_ltree[je*2]!==0)return o;if(te.dyn_ltree[9*2]!==0||te.dyn_ltree[10*2]!==0||te.dyn_ltree[13*2]!==0)return l;for(je=32;je<M;je++)if(te.dyn_ltree[je*2]!==0)return l;return o}var Qe=!1;function Wt(te){Qe||(pe(),Qe=!0),te.l_desc=new O(te.dyn_ltree,d),te.d_desc=new O(te.dyn_dtree,k),te.bl_desc=new O(te.bl_tree,D),te.bi_buf=0,te.bi_valid=0,qe(te)}function Et(te,_e,je,We){X(te,(h<<1)+(We?1:0),3),st(te,_e,je)}function Ct(te){X(te,v<<1,3),U(te,Z,y),ie(te)}function Kt(te,_e,je,We){var et,Ye,De=0;te.level>0?(te.strm.data_type===t&&(te.strm.data_type=Ge(te)),Je(te,te.l_desc),Je(te,te.d_desc),De=bt(te),et=te.opt_len+3+7>>>3,Ye=te.static_len+3+7>>>3,Ye<=et&&(et=Ye)):et=Ye=je+5,je+4<=et&&_e!==-1?Et(te,_e,je,We):te.strategy===e||Ye===et?(X(te,(v<<1)+(We?1:0),3),lt(te,y,S)):(X(te,(w<<1)+(We?1:0),3),jt(te,te.l_desc.max_code+1,te.d_desc.max_code+1,De+1),lt(te,te.dyn_ltree,te.dyn_dtree)),qe(te),We&&mt(te)}function Me(te,_e,je){return te.pending_buf[te.d_buf+te.last_lit*2]=_e>>>8&255,te.pending_buf[te.d_buf+te.last_lit*2+1]=_e&255,te.pending_buf[te.l_buf+te.last_lit]=je&255,te.last_lit++,_e===0?te.dyn_ltree[je*2]++:(te.matches++,_e--,te.dyn_ltree[(m[je]+M+1)*2]++,te.dyn_dtree[Q(_e)*2]++),te.last_lit===te.lit_bufsize-1}return trees._tr_init=Wt,trees._tr_stored_block=Et,trees._tr_flush_block=Kt,trees._tr_tally=Me,trees._tr_align=Ct,trees}var adler32_1,hasRequiredAdler32;function requireAdler32(){if(hasRequiredAdler32)return adler32_1;hasRequiredAdler32=1;function n(e,o,l,t){for(var u=e&65535|0,h=e>>>16&65535|0,v=0;l!==0;){v=l>2e3?2e3:l,l-=v;do u=u+o[t++]|0,h=h+u|0;while(--v);u%=65521,h%=65521}return u|h<<16|0}return adler32_1=n,adler32_1}var crc32_1,hasRequiredCrc32;function requireCrc32(){if(hasRequiredCrc32)return crc32_1;hasRequiredCrc32=1;function n(){for(var l,t=[],u=0;u<256;u++){l=u;for(var h=0;h<8;h++)l=l&1?3988292384^l>>>1:l>>>1;t[u]=l}return t}var e=n();function o(l,t,u,h){var v=e,w=h+u;l^=-1;for(var A=h;A<w;A++)l=l>>>8^v[(l^t[A])&255];return l^-1}return crc32_1=o,crc32_1}var messages,hasRequiredMessages;function requireMessages(){return hasRequiredMessages||(hasRequiredMessages=1,messages={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}),messages}var hasRequiredDeflate;function requireDeflate(){if(hasRequiredDeflate)return deflate;hasRequiredDeflate=1;var n=requireCommon(),e=requireTrees(),o=requireAdler32(),l=requireCrc32(),t=requireMessages(),u=0,h=1,v=3,w=4,A=5,E=0,C=1,M=-2,P=-3,I=-5,j=-1,B=1,F=2,N=3,ee=4,Z=0,re=2,fe=8,V=9,le=15,he=8,ye=29,L=256,p=L+1+ye,y=30,S=19,c=2*p+1,m=15,x=3,T=258,b=T+x+1,d=32,k=42,D=69,O=73,Q=91,J=103,X=113,U=666,z=1,ie=2,de=3,me=4,pe=3;function qe(ge,Dt){return ge.msg=t[Dt],Dt}function mt(ge){return(ge<<1)-(ge>4?9:0)}function st(ge){for(var Dt=ge.length;--Dt>=0;)ge[Dt]=0}function dt(ge){var Dt=ge.state,yt=Dt.pending;yt>ge.avail_out&&(yt=ge.avail_out),yt!==0&&(n.arraySet(ge.output,Dt.pending_buf,Dt.pending_out,yt,ge.next_out),ge.next_out+=yt,Dt.pending_out+=yt,ge.total_out+=yt,ge.avail_out-=yt,Dt.pending-=yt,Dt.pending===0&&(Dt.pending_out=0))}function Tt(ge,Dt){e._tr_flush_block(ge,ge.block_start>=0?ge.block_start:-1,ge.strstart-ge.block_start,Dt),ge.block_start=ge.strstart,dt(ge.strm)}function lt(ge,Dt){ge.pending_buf[ge.pending++]=Dt}function Je(ge,Dt){ge.pending_buf[ge.pending++]=Dt>>>8&255,ge.pending_buf[ge.pending++]=Dt&255}function ht(ge,Dt,yt,Ne){var _t=ge.avail_in;return _t>Ne&&(_t=Ne),_t===0?0:(ge.avail_in-=_t,n.arraySet(Dt,ge.input,ge.next_in,_t,yt),ge.state.wrap===1?ge.adler=o(ge.adler,Dt,_t,yt):ge.state.wrap===2&&(ge.adler=l(ge.adler,Dt,_t,yt)),ge.next_in+=_t,ge.total_in+=_t,_t)}function at(ge,Dt){var yt=ge.max_chain_length,Ne=ge.strstart,_t,pt,Bt=ge.prev_length,ur=ge.nice_match,kt=ge.strstart>ge.w_size-b?ge.strstart-(ge.w_size-b):0,Ut=ge.window,Wr=ge.w_mask,zt=ge.prev,Qt=ge.strstart+T,$e=Ut[Ne+Bt-1],be=Ut[Ne+Bt];ge.prev_length>=ge.good_match&&(yt>>=2),ur>ge.lookahead&&(ur=ge.lookahead);do if(_t=Dt,!(Ut[_t+Bt]!==be||Ut[_t+Bt-1]!==$e||Ut[_t]!==Ut[Ne]||Ut[++_t]!==Ut[Ne+1])){Ne+=2,_t++;do;while(Ut[++Ne]===Ut[++_t]&&Ut[++Ne]===Ut[++_t]&&Ut[++Ne]===Ut[++_t]&&Ut[++Ne]===Ut[++_t]&&Ut[++Ne]===Ut[++_t]&&Ut[++Ne]===Ut[++_t]&&Ut[++Ne]===Ut[++_t]&&Ut[++Ne]===Ut[++_t]&&Ne<Qt);if(pt=T-(Qt-Ne),Ne=Qt-T,pt>Bt){if(ge.match_start=Dt,Bt=pt,pt>=ur)break;$e=Ut[Ne+Bt-1],be=Ut[Ne+Bt]}}while((Dt=zt[Dt&Wr])>kt&&--yt!==0);return Bt<=ge.lookahead?Bt:ge.lookahead}function bt(ge){var Dt=ge.w_size,yt,Ne,_t,pt,Bt;do{if(pt=ge.window_size-ge.lookahead-ge.strstart,ge.strstart>=Dt+(Dt-b)){n.arraySet(ge.window,ge.window,Dt,Dt,0),ge.match_start-=Dt,ge.strstart-=Dt,ge.block_start-=Dt,Ne=ge.hash_size,yt=Ne;do _t=ge.head[--yt],ge.head[yt]=_t>=Dt?_t-Dt:0;while(--Ne);Ne=Dt,yt=Ne;do _t=ge.prev[--yt],ge.prev[yt]=_t>=Dt?_t-Dt:0;while(--Ne);pt+=Dt}if(ge.strm.avail_in===0)break;if(Ne=ht(ge.strm,ge.window,ge.strstart+ge.lookahead,pt),ge.lookahead+=Ne,ge.lookahead+ge.insert>=x)for(Bt=ge.strstart-ge.insert,ge.ins_h=ge.window[Bt],ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[Bt+1])&ge.hash_mask;ge.insert&&(ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[Bt+x-1])&ge.hash_mask,ge.prev[Bt&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=Bt,Bt++,ge.insert--,!(ge.lookahead+ge.insert<x)););}while(ge.lookahead<b&&ge.strm.avail_in!==0)}function jt(ge,Dt){var yt=65535;for(yt>ge.pending_buf_size-5&&(yt=ge.pending_buf_size-5);;){if(ge.lookahead<=1){if(bt(ge),ge.lookahead===0&&Dt===u)return z;if(ge.lookahead===0)break}ge.strstart+=ge.lookahead,ge.lookahead=0;var Ne=ge.block_start+yt;if((ge.strstart===0||ge.strstart>=Ne)&&(ge.lookahead=ge.strstart-Ne,ge.strstart=Ne,Tt(ge,!1),ge.strm.avail_out===0)||ge.strstart-ge.block_start>=ge.w_size-b&&(Tt(ge,!1),ge.strm.avail_out===0))return z}return ge.insert=0,Dt===w?(Tt(ge,!0),ge.strm.avail_out===0?de:me):(ge.strstart>ge.block_start&&(Tt(ge,!1),ge.strm.avail_out===0),z)}function Ge(ge,Dt){for(var yt,Ne;;){if(ge.lookahead<b){if(bt(ge),ge.lookahead<b&&Dt===u)return z;if(ge.lookahead===0)break}if(yt=0,ge.lookahead>=x&&(ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+x-1])&ge.hash_mask,yt=ge.prev[ge.strstart&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ge.strstart),yt!==0&&ge.strstart-yt<=ge.w_size-b&&(ge.match_length=at(ge,yt)),ge.match_length>=x)if(Ne=e._tr_tally(ge,ge.strstart-ge.match_start,ge.match_length-x),ge.lookahead-=ge.match_length,ge.match_length<=ge.max_lazy_match&&ge.lookahead>=x){ge.match_length--;do ge.strstart++,ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+x-1])&ge.hash_mask,yt=ge.prev[ge.strstart&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ge.strstart;while(--ge.match_length!==0);ge.strstart++}else ge.strstart+=ge.match_length,ge.match_length=0,ge.ins_h=ge.window[ge.strstart],ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+1])&ge.hash_mask;else Ne=e._tr_tally(ge,0,ge.window[ge.strstart]),ge.lookahead--,ge.strstart++;if(Ne&&(Tt(ge,!1),ge.strm.avail_out===0))return z}return ge.insert=ge.strstart<x-1?ge.strstart:x-1,Dt===w?(Tt(ge,!0),ge.strm.avail_out===0?de:me):ge.last_lit&&(Tt(ge,!1),ge.strm.avail_out===0)?z:ie}function Qe(ge,Dt){for(var yt,Ne,_t;;){if(ge.lookahead<b){if(bt(ge),ge.lookahead<b&&Dt===u)return z;if(ge.lookahead===0)break}if(yt=0,ge.lookahead>=x&&(ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+x-1])&ge.hash_mask,yt=ge.prev[ge.strstart&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ge.strstart),ge.prev_length=ge.match_length,ge.prev_match=ge.match_start,ge.match_length=x-1,yt!==0&&ge.prev_length<ge.max_lazy_match&&ge.strstart-yt<=ge.w_size-b&&(ge.match_length=at(ge,yt),ge.match_length<=5&&(ge.strategy===B||ge.match_length===x&&ge.strstart-ge.match_start>4096)&&(ge.match_length=x-1)),ge.prev_length>=x&&ge.match_length<=ge.prev_length){_t=ge.strstart+ge.lookahead-x,Ne=e._tr_tally(ge,ge.strstart-1-ge.prev_match,ge.prev_length-x),ge.lookahead-=ge.prev_length-1,ge.prev_length-=2;do++ge.strstart<=_t&&(ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+x-1])&ge.hash_mask,yt=ge.prev[ge.strstart&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ge.strstart);while(--ge.prev_length!==0);if(ge.match_available=0,ge.match_length=x-1,ge.strstart++,Ne&&(Tt(ge,!1),ge.strm.avail_out===0))return z}else if(ge.match_available){if(Ne=e._tr_tally(ge,0,ge.window[ge.strstart-1]),Ne&&Tt(ge,!1),ge.strstart++,ge.lookahead--,ge.strm.avail_out===0)return z}else ge.match_available=1,ge.strstart++,ge.lookahead--}return ge.match_available&&(Ne=e._tr_tally(ge,0,ge.window[ge.strstart-1]),ge.match_available=0),ge.insert=ge.strstart<x-1?ge.strstart:x-1,Dt===w?(Tt(ge,!0),ge.strm.avail_out===0?de:me):ge.last_lit&&(Tt(ge,!1),ge.strm.avail_out===0)?z:ie}function Wt(ge,Dt){for(var yt,Ne,_t,pt,Bt=ge.window;;){if(ge.lookahead<=T){if(bt(ge),ge.lookahead<=T&&Dt===u)return z;if(ge.lookahead===0)break}if(ge.match_length=0,ge.lookahead>=x&&ge.strstart>0&&(_t=ge.strstart-1,Ne=Bt[_t],Ne===Bt[++_t]&&Ne===Bt[++_t]&&Ne===Bt[++_t])){pt=ge.strstart+T;do;while(Ne===Bt[++_t]&&Ne===Bt[++_t]&&Ne===Bt[++_t]&&Ne===Bt[++_t]&&Ne===Bt[++_t]&&Ne===Bt[++_t]&&Ne===Bt[++_t]&&Ne===Bt[++_t]&&_t<pt);ge.match_length=T-(pt-_t),ge.match_length>ge.lookahead&&(ge.match_length=ge.lookahead)}if(ge.match_length>=x?(yt=e._tr_tally(ge,1,ge.match_length-x),ge.lookahead-=ge.match_length,ge.strstart+=ge.match_length,ge.match_length=0):(yt=e._tr_tally(ge,0,ge.window[ge.strstart]),ge.lookahead--,ge.strstart++),yt&&(Tt(ge,!1),ge.strm.avail_out===0))return z}return ge.insert=0,Dt===w?(Tt(ge,!0),ge.strm.avail_out===0?de:me):ge.last_lit&&(Tt(ge,!1),ge.strm.avail_out===0)?z:ie}function Et(ge,Dt){for(var yt;;){if(ge.lookahead===0&&(bt(ge),ge.lookahead===0)){if(Dt===u)return z;break}if(ge.match_length=0,yt=e._tr_tally(ge,0,ge.window[ge.strstart]),ge.lookahead--,ge.strstart++,yt&&(Tt(ge,!1),ge.strm.avail_out===0))return z}return ge.insert=0,Dt===w?(Tt(ge,!0),ge.strm.avail_out===0?de:me):ge.last_lit&&(Tt(ge,!1),ge.strm.avail_out===0)?z:ie}function Ct(ge,Dt,yt,Ne,_t){this.good_length=ge,this.max_lazy=Dt,this.nice_length=yt,this.max_chain=Ne,this.func=_t}var Kt;Kt=[new Ct(0,0,0,0,jt),new Ct(4,4,8,4,Ge),new Ct(4,5,16,8,Ge),new Ct(4,6,32,32,Ge),new Ct(4,4,16,16,Qe),new Ct(8,16,32,32,Qe),new Ct(8,16,128,128,Qe),new Ct(8,32,128,256,Qe),new Ct(32,128,258,1024,Qe),new Ct(32,258,258,4096,Qe)];function Me(ge){ge.window_size=2*ge.w_size,st(ge.head),ge.max_lazy_match=Kt[ge.level].max_lazy,ge.good_match=Kt[ge.level].good_length,ge.nice_match=Kt[ge.level].nice_length,ge.max_chain_length=Kt[ge.level].max_chain,ge.strstart=0,ge.block_start=0,ge.lookahead=0,ge.insert=0,ge.match_length=ge.prev_length=x-1,ge.match_available=0,ge.ins_h=0}function te(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=fe,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(c*2),this.dyn_dtree=new n.Buf16((2*y+1)*2),this.bl_tree=new n.Buf16((2*S+1)*2),st(this.dyn_ltree),st(this.dyn_dtree),st(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(m+1),this.heap=new n.Buf16(2*p+1),st(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*p+1),st(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function _e(ge){var Dt;return!ge||!ge.state?qe(ge,M):(ge.total_in=ge.total_out=0,ge.data_type=re,Dt=ge.state,Dt.pending=0,Dt.pending_out=0,Dt.wrap<0&&(Dt.wrap=-Dt.wrap),Dt.status=Dt.wrap?k:X,ge.adler=Dt.wrap===2?0:1,Dt.last_flush=u,e._tr_init(Dt),E)}function je(ge){var Dt=_e(ge);return Dt===E&&Me(ge.state),Dt}function We(ge,Dt){return!ge||!ge.state||ge.state.wrap!==2?M:(ge.state.gzhead=Dt,E)}function et(ge,Dt,yt,Ne,_t,pt){if(!ge)return M;var Bt=1;if(Dt===j&&(Dt=6),Ne<0?(Bt=0,Ne=-Ne):Ne>15&&(Bt=2,Ne-=16),_t<1||_t>V||yt!==fe||Ne<8||Ne>15||Dt<0||Dt>9||pt<0||pt>ee)return qe(ge,M);Ne===8&&(Ne=9);var ur=new te;return ge.state=ur,ur.strm=ge,ur.wrap=Bt,ur.gzhead=null,ur.w_bits=Ne,ur.w_size=1<<ur.w_bits,ur.w_mask=ur.w_size-1,ur.hash_bits=_t+7,ur.hash_size=1<<ur.hash_bits,ur.hash_mask=ur.hash_size-1,ur.hash_shift=~~((ur.hash_bits+x-1)/x),ur.window=new n.Buf8(ur.w_size*2),ur.head=new n.Buf16(ur.hash_size),ur.prev=new n.Buf16(ur.w_size),ur.lit_bufsize=1<<_t+6,ur.pending_buf_size=ur.lit_bufsize*4,ur.pending_buf=new n.Buf8(ur.pending_buf_size),ur.d_buf=1*ur.lit_bufsize,ur.l_buf=3*ur.lit_bufsize,ur.level=Dt,ur.strategy=pt,ur.method=yt,je(ge)}function Ye(ge,Dt){return et(ge,Dt,fe,le,he,Z)}function De(ge,Dt){var yt,Ne,_t,pt;if(!ge||!ge.state||Dt>A||Dt<0)return ge?qe(ge,M):M;if(Ne=ge.state,!ge.output||!ge.input&&ge.avail_in!==0||Ne.status===U&&Dt!==w)return qe(ge,ge.avail_out===0?I:M);if(Ne.strm=ge,yt=Ne.last_flush,Ne.last_flush=Dt,Ne.status===k)if(Ne.wrap===2)ge.adler=0,lt(Ne,31),lt(Ne,139),lt(Ne,8),Ne.gzhead?(lt(Ne,(Ne.gzhead.text?1:0)+(Ne.gzhead.hcrc?2:0)+(Ne.gzhead.extra?4:0)+(Ne.gzhead.name?8:0)+(Ne.gzhead.comment?16:0)),lt(Ne,Ne.gzhead.time&255),lt(Ne,Ne.gzhead.time>>8&255),lt(Ne,Ne.gzhead.time>>16&255),lt(Ne,Ne.gzhead.time>>24&255),lt(Ne,Ne.level===9?2:Ne.strategy>=F||Ne.level<2?4:0),lt(Ne,Ne.gzhead.os&255),Ne.gzhead.extra&&Ne.gzhead.extra.length&&(lt(Ne,Ne.gzhead.extra.length&255),lt(Ne,Ne.gzhead.extra.length>>8&255)),Ne.gzhead.hcrc&&(ge.adler=l(ge.adler,Ne.pending_buf,Ne.pending,0)),Ne.gzindex=0,Ne.status=D):(lt(Ne,0),lt(Ne,0),lt(Ne,0),lt(Ne,0),lt(Ne,0),lt(Ne,Ne.level===9?2:Ne.strategy>=F||Ne.level<2?4:0),lt(Ne,pe),Ne.status=X);else{var Bt=fe+(Ne.w_bits-8<<4)<<8,ur=-1;Ne.strategy>=F||Ne.level<2?ur=0:Ne.level<6?ur=1:Ne.level===6?ur=2:ur=3,Bt|=ur<<6,Ne.strstart!==0&&(Bt|=d),Bt+=31-Bt%31,Ne.status=X,Je(Ne,Bt),Ne.strstart!==0&&(Je(Ne,ge.adler>>>16),Je(Ne,ge.adler&65535)),ge.adler=1}if(Ne.status===D)if(Ne.gzhead.extra){for(_t=Ne.pending;Ne.gzindex<(Ne.gzhead.extra.length&65535)&&!(Ne.pending===Ne.pending_buf_size&&(Ne.gzhead.hcrc&&Ne.pending>_t&&(ge.adler=l(ge.adler,Ne.pending_buf,Ne.pending-_t,_t)),dt(ge),_t=Ne.pending,Ne.pending===Ne.pending_buf_size));)lt(Ne,Ne.gzhead.extra[Ne.gzindex]&255),Ne.gzindex++;Ne.gzhead.hcrc&&Ne.pending>_t&&(ge.adler=l(ge.adler,Ne.pending_buf,Ne.pending-_t,_t)),Ne.gzindex===Ne.gzhead.extra.length&&(Ne.gzindex=0,Ne.status=O)}else Ne.status=O;if(Ne.status===O)if(Ne.gzhead.name){_t=Ne.pending;do{if(Ne.pending===Ne.pending_buf_size&&(Ne.gzhead.hcrc&&Ne.pending>_t&&(ge.adler=l(ge.adler,Ne.pending_buf,Ne.pending-_t,_t)),dt(ge),_t=Ne.pending,Ne.pending===Ne.pending_buf_size)){pt=1;break}Ne.gzindex<Ne.gzhead.name.length?pt=Ne.gzhead.name.charCodeAt(Ne.gzindex++)&255:pt=0,lt(Ne,pt)}while(pt!==0);Ne.gzhead.hcrc&&Ne.pending>_t&&(ge.adler=l(ge.adler,Ne.pending_buf,Ne.pending-_t,_t)),pt===0&&(Ne.gzindex=0,Ne.status=Q)}else Ne.status=Q;if(Ne.status===Q)if(Ne.gzhead.comment){_t=Ne.pending;do{if(Ne.pending===Ne.pending_buf_size&&(Ne.gzhead.hcrc&&Ne.pending>_t&&(ge.adler=l(ge.adler,Ne.pending_buf,Ne.pending-_t,_t)),dt(ge),_t=Ne.pending,Ne.pending===Ne.pending_buf_size)){pt=1;break}Ne.gzindex<Ne.gzhead.comment.length?pt=Ne.gzhead.comment.charCodeAt(Ne.gzindex++)&255:pt=0,lt(Ne,pt)}while(pt!==0);Ne.gzhead.hcrc&&Ne.pending>_t&&(ge.adler=l(ge.adler,Ne.pending_buf,Ne.pending-_t,_t)),pt===0&&(Ne.status=J)}else Ne.status=J;if(Ne.status===J&&(Ne.gzhead.hcrc?(Ne.pending+2>Ne.pending_buf_size&&dt(ge),Ne.pending+2<=Ne.pending_buf_size&&(lt(Ne,ge.adler&255),lt(Ne,ge.adler>>8&255),ge.adler=0,Ne.status=X)):Ne.status=X),Ne.pending!==0){if(dt(ge),ge.avail_out===0)return Ne.last_flush=-1,E}else if(ge.avail_in===0&&mt(Dt)<=mt(yt)&&Dt!==w)return qe(ge,I);if(Ne.status===U&&ge.avail_in!==0)return qe(ge,I);if(ge.avail_in!==0||Ne.lookahead!==0||Dt!==u&&Ne.status!==U){var kt=Ne.strategy===F?Et(Ne,Dt):Ne.strategy===N?Wt(Ne,Dt):Kt[Ne.level].func(Ne,Dt);if((kt===de||kt===me)&&(Ne.status=U),kt===z||kt===de)return ge.avail_out===0&&(Ne.last_flush=-1),E;if(kt===ie&&(Dt===h?e._tr_align(Ne):Dt!==A&&(e._tr_stored_block(Ne,0,0,!1),Dt===v&&(st(Ne.head),Ne.lookahead===0&&(Ne.strstart=0,Ne.block_start=0,Ne.insert=0))),dt(ge),ge.avail_out===0))return Ne.last_flush=-1,E}return Dt!==w?E:Ne.wrap<=0?C:(Ne.wrap===2?(lt(Ne,ge.adler&255),lt(Ne,ge.adler>>8&255),lt(Ne,ge.adler>>16&255),lt(Ne,ge.adler>>24&255),lt(Ne,ge.total_in&255),lt(Ne,ge.total_in>>8&255),lt(Ne,ge.total_in>>16&255),lt(Ne,ge.total_in>>24&255)):(Je(Ne,ge.adler>>>16),Je(Ne,ge.adler&65535)),dt(ge),Ne.wrap>0&&(Ne.wrap=-Ne.wrap),Ne.pending!==0?E:C)}function Ht(ge){var Dt;return!ge||!ge.state?M:(Dt=ge.state.status,Dt!==k&&Dt!==D&&Dt!==O&&Dt!==Q&&Dt!==J&&Dt!==X&&Dt!==U?qe(ge,M):(ge.state=null,Dt===X?qe(ge,P):E))}function Mt(ge,Dt){var yt=Dt.length,Ne,_t,pt,Bt,ur,kt,Ut,Wr;if(!ge||!ge.state||(Ne=ge.state,Bt=Ne.wrap,Bt===2||Bt===1&&Ne.status!==k||Ne.lookahead))return M;for(Bt===1&&(ge.adler=o(ge.adler,Dt,yt,0)),Ne.wrap=0,yt>=Ne.w_size&&(Bt===0&&(st(Ne.head),Ne.strstart=0,Ne.block_start=0,Ne.insert=0),Wr=new n.Buf8(Ne.w_size),n.arraySet(Wr,Dt,yt-Ne.w_size,Ne.w_size,0),Dt=Wr,yt=Ne.w_size),ur=ge.avail_in,kt=ge.next_in,Ut=ge.input,ge.avail_in=yt,ge.next_in=0,ge.input=Dt,bt(Ne);Ne.lookahead>=x;){_t=Ne.strstart,pt=Ne.lookahead-(x-1);do Ne.ins_h=(Ne.ins_h<<Ne.hash_shift^Ne.window[_t+x-1])&Ne.hash_mask,Ne.prev[_t&Ne.w_mask]=Ne.head[Ne.ins_h],Ne.head[Ne.ins_h]=_t,_t++;while(--pt);Ne.strstart=_t,Ne.lookahead=x-1,bt(Ne)}return Ne.strstart+=Ne.lookahead,Ne.block_start=Ne.strstart,Ne.insert=Ne.lookahead,Ne.lookahead=0,Ne.match_length=Ne.prev_length=x-1,Ne.match_available=0,ge.next_in=kt,ge.input=Ut,ge.avail_in=ur,Ne.wrap=Bt,E}return deflate.deflateInit=Ye,deflate.deflateInit2=et,deflate.deflateReset=je,deflate.deflateResetKeep=_e,deflate.deflateSetHeader=We,deflate.deflate=De,deflate.deflateEnd=Ht,deflate.deflateSetDictionary=Mt,deflate.deflateInfo="pako deflate (from Nodeca project)",deflate}var inflate={},inffast,hasRequiredInffast;function requireInffast(){if(hasRequiredInffast)return inffast;hasRequiredInffast=1;var n=30,e=12;return inffast=function(l,t){var u,h,v,w,A,E,C,M,P,I,j,B,F,N,ee,Z,re,fe,V,le,he,ye,L,p,y;u=l.state,h=l.next_in,p=l.input,v=h+(l.avail_in-5),w=l.next_out,y=l.output,A=w-(t-l.avail_out),E=w+(l.avail_out-257),C=u.dmax,M=u.wsize,P=u.whave,I=u.wnext,j=u.window,B=u.hold,F=u.bits,N=u.lencode,ee=u.distcode,Z=(1<<u.lenbits)-1,re=(1<<u.distbits)-1;e:do{F<15&&(B+=p[h++]<<F,F+=8,B+=p[h++]<<F,F+=8),fe=N[B&Z];t:for(;;){if(V=fe>>>24,B>>>=V,F-=V,V=fe>>>16&255,V===0)y[w++]=fe&65535;else if(V&16){le=fe&65535,V&=15,V&&(F<V&&(B+=p[h++]<<F,F+=8),le+=B&(1<<V)-1,B>>>=V,F-=V),F<15&&(B+=p[h++]<<F,F+=8,B+=p[h++]<<F,F+=8),fe=ee[B&re];r:for(;;){if(V=fe>>>24,B>>>=V,F-=V,V=fe>>>16&255,V&16){if(he=fe&65535,V&=15,F<V&&(B+=p[h++]<<F,F+=8,F<V&&(B+=p[h++]<<F,F+=8)),he+=B&(1<<V)-1,he>C){l.msg="invalid distance too far back",u.mode=n;break e}if(B>>>=V,F-=V,V=w-A,he>V){if(V=he-V,V>P&&u.sane){l.msg="invalid distance too far back",u.mode=n;break e}if(ye=0,L=j,I===0){if(ye+=M-V,V<le){le-=V;do y[w++]=j[ye++];while(--V);ye=w-he,L=y}}else if(I<V){if(ye+=M+I-V,V-=I,V<le){le-=V;do y[w++]=j[ye++];while(--V);if(ye=0,I<le){V=I,le-=V;do y[w++]=j[ye++];while(--V);ye=w-he,L=y}}}else if(ye+=I-V,V<le){le-=V;do y[w++]=j[ye++];while(--V);ye=w-he,L=y}for(;le>2;)y[w++]=L[ye++],y[w++]=L[ye++],y[w++]=L[ye++],le-=3;le&&(y[w++]=L[ye++],le>1&&(y[w++]=L[ye++]))}else{ye=w-he;do y[w++]=y[ye++],y[w++]=y[ye++],y[w++]=y[ye++],le-=3;while(le>2);le&&(y[w++]=y[ye++],le>1&&(y[w++]=y[ye++]))}}else if(V&64){l.msg="invalid distance code",u.mode=n;break e}else{fe=ee[(fe&65535)+(B&(1<<V)-1)];continue r}break}}else if(V&64)if(V&32){u.mode=e;break e}else{l.msg="invalid literal/length code",u.mode=n;break e}else{fe=N[(fe&65535)+(B&(1<<V)-1)];continue t}break}}while(h<v&&w<E);le=F>>3,h-=le,F-=le<<3,B&=(1<<F)-1,l.next_in=h,l.next_out=w,l.avail_in=h<v?5+(v-h):5-(h-v),l.avail_out=w<E?257+(E-w):257-(w-E),u.hold=B,u.bits=F},inffast}var inftrees,hasRequiredInftrees;function requireInftrees(){if(hasRequiredInftrees)return inftrees;hasRequiredInftrees=1;var n=requireCommon(),e=15,o=852,l=592,t=0,u=1,h=2,v=[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],w=[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,72,78],A=[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],E=[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];return inftrees=function(M,P,I,j,B,F,N,ee){var Z=ee.bits,re=0,fe=0,V=0,le=0,he=0,ye=0,L=0,p=0,y=0,S=0,c,m,x,T,b,d=null,k=0,D,O=new n.Buf16(e+1),Q=new n.Buf16(e+1),J=null,X=0,U,z,ie;for(re=0;re<=e;re++)O[re]=0;for(fe=0;fe<j;fe++)O[P[I+fe]]++;for(he=Z,le=e;le>=1&&O[le]===0;le--);if(he>le&&(he=le),le===0)return B[F++]=1<<24|64<<16|0,B[F++]=1<<24|64<<16|0,ee.bits=1,0;for(V=1;V<le&&O[V]===0;V++);for(he<V&&(he=V),p=1,re=1;re<=e;re++)if(p<<=1,p-=O[re],p<0)return-1;if(p>0&&(M===t||le!==1))return-1;for(Q[1]=0,re=1;re<e;re++)Q[re+1]=Q[re]+O[re];for(fe=0;fe<j;fe++)P[I+fe]!==0&&(N[Q[P[I+fe]]++]=fe);if(M===t?(d=J=N,D=19):M===u?(d=v,k-=257,J=w,X-=257,D=256):(d=A,J=E,D=-1),S=0,fe=0,re=V,b=F,ye=he,L=0,x=-1,y=1<<he,T=y-1,M===u&&y>o||M===h&&y>l)return 1;for(;;){U=re-L,N[fe]<D?(z=0,ie=N[fe]):N[fe]>D?(z=J[X+N[fe]],ie=d[k+N[fe]]):(z=96,ie=0),c=1<<re-L,m=1<<ye,V=m;do m-=c,B[b+(S>>L)+m]=U<<24|z<<16|ie|0;while(m!==0);for(c=1<<re-1;S&c;)c>>=1;if(c!==0?(S&=c-1,S+=c):S=0,fe++,--O[re]===0){if(re===le)break;re=P[I+N[fe]]}if(re>he&&(S&T)!==x){for(L===0&&(L=he),b+=V,ye=re-L,p=1<<ye;ye+L<le&&(p-=O[ye+L],!(p<=0));)ye++,p<<=1;if(y+=1<<ye,M===u&&y>o||M===h&&y>l)return 1;x=S&T,B[x]=he<<24|ye<<16|b-F|0}}return S!==0&&(B[b+S]=re-L<<24|64<<16|0),ee.bits=he,0},inftrees}var hasRequiredInflate;function requireInflate(){if(hasRequiredInflate)return inflate;hasRequiredInflate=1;var n=requireCommon(),e=requireAdler32(),o=requireCrc32(),l=requireInffast(),t=requireInftrees(),u=0,h=1,v=2,w=4,A=5,E=6,C=0,M=1,P=2,I=-2,j=-3,B=-4,F=-5,N=8,ee=1,Z=2,re=3,fe=4,V=5,le=6,he=7,ye=8,L=9,p=10,y=11,S=12,c=13,m=14,x=15,T=16,b=17,d=18,k=19,D=20,O=21,Q=22,J=23,X=24,U=25,z=26,ie=27,de=28,me=29,pe=30,qe=31,mt=32,st=852,dt=592,Tt=15,lt=Tt;function Je(et){return(et>>>24&255)+(et>>>8&65280)+((et&65280)<<8)+((et&255)<<24)}function ht(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,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=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function at(et){var Ye;return!et||!et.state?I:(Ye=et.state,et.total_in=et.total_out=Ye.total=0,et.msg="",Ye.wrap&&(et.adler=Ye.wrap&1),Ye.mode=ee,Ye.last=0,Ye.havedict=0,Ye.dmax=32768,Ye.head=null,Ye.hold=0,Ye.bits=0,Ye.lencode=Ye.lendyn=new n.Buf32(st),Ye.distcode=Ye.distdyn=new n.Buf32(dt),Ye.sane=1,Ye.back=-1,C)}function bt(et){var Ye;return!et||!et.state?I:(Ye=et.state,Ye.wsize=0,Ye.whave=0,Ye.wnext=0,at(et))}function jt(et,Ye){var De,Ht;return!et||!et.state||(Ht=et.state,Ye<0?(De=0,Ye=-Ye):(De=(Ye>>4)+1,Ye<48&&(Ye&=15)),Ye&&(Ye<8||Ye>15))?I:(Ht.window!==null&&Ht.wbits!==Ye&&(Ht.window=null),Ht.wrap=De,Ht.wbits=Ye,bt(et))}function Ge(et,Ye){var De,Ht;return et?(Ht=new ht,et.state=Ht,Ht.window=null,De=jt(et,Ye),De!==C&&(et.state=null),De):I}function Qe(et){return Ge(et,lt)}var Wt=!0,Et,Ct;function Kt(et){if(Wt){var Ye;for(Et=new n.Buf32(512),Ct=new n.Buf32(32),Ye=0;Ye<144;)et.lens[Ye++]=8;for(;Ye<256;)et.lens[Ye++]=9;for(;Ye<280;)et.lens[Ye++]=7;for(;Ye<288;)et.lens[Ye++]=8;for(t(h,et.lens,0,288,Et,0,et.work,{bits:9}),Ye=0;Ye<32;)et.lens[Ye++]=5;t(v,et.lens,0,32,Ct,0,et.work,{bits:5}),Wt=!1}et.lencode=Et,et.lenbits=9,et.distcode=Ct,et.distbits=5}function Me(et,Ye,De,Ht){var Mt,ge=et.state;return ge.window===null&&(ge.wsize=1<<ge.wbits,ge.wnext=0,ge.whave=0,ge.window=new n.Buf8(ge.wsize)),Ht>=ge.wsize?(n.arraySet(ge.window,Ye,De-ge.wsize,ge.wsize,0),ge.wnext=0,ge.whave=ge.wsize):(Mt=ge.wsize-ge.wnext,Mt>Ht&&(Mt=Ht),n.arraySet(ge.window,Ye,De-Ht,Mt,ge.wnext),Ht-=Mt,Ht?(n.arraySet(ge.window,Ye,De-Ht,Ht,0),ge.wnext=Ht,ge.whave=ge.wsize):(ge.wnext+=Mt,ge.wnext===ge.wsize&&(ge.wnext=0),ge.whave<ge.wsize&&(ge.whave+=Mt))),0}function te(et,Ye){var De,Ht,Mt,ge,Dt,yt,Ne,_t,pt,Bt,ur,kt,Ut,Wr,zt=0,Qt,$e,be,ve,se,Pe,ze,xt,ot=new n.Buf8(4),wt,Yt,Jt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!et||!et.state||!et.output||!et.input&&et.avail_in!==0)return I;De=et.state,De.mode===S&&(De.mode=c),Dt=et.next_out,Mt=et.output,Ne=et.avail_out,ge=et.next_in,Ht=et.input,yt=et.avail_in,_t=De.hold,pt=De.bits,Bt=yt,ur=Ne,xt=C;e:for(;;)switch(De.mode){case ee:if(De.wrap===0){De.mode=c;break}for(;pt<16;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if(De.wrap&2&&_t===35615){De.check=0,ot[0]=_t&255,ot[1]=_t>>>8&255,De.check=o(De.check,ot,2,0),_t=0,pt=0,De.mode=Z;break}if(De.flags=0,De.head&&(De.head.done=!1),!(De.wrap&1)||(((_t&255)<<8)+(_t>>8))%31){et.msg="incorrect header check",De.mode=pe;break}if((_t&15)!==N){et.msg="unknown compression method",De.mode=pe;break}if(_t>>>=4,pt-=4,ze=(_t&15)+8,De.wbits===0)De.wbits=ze;else if(ze>De.wbits){et.msg="invalid window size",De.mode=pe;break}De.dmax=1<<ze,et.adler=De.check=1,De.mode=_t&512?p:S,_t=0,pt=0;break;case Z:for(;pt<16;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if(De.flags=_t,(De.flags&255)!==N){et.msg="unknown compression method",De.mode=pe;break}if(De.flags&57344){et.msg="unknown header flags set",De.mode=pe;break}De.head&&(De.head.text=_t>>8&1),De.flags&512&&(ot[0]=_t&255,ot[1]=_t>>>8&255,De.check=o(De.check,ot,2,0)),_t=0,pt=0,De.mode=re;case re:for(;pt<32;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}De.head&&(De.head.time=_t),De.flags&512&&(ot[0]=_t&255,ot[1]=_t>>>8&255,ot[2]=_t>>>16&255,ot[3]=_t>>>24&255,De.check=o(De.check,ot,4,0)),_t=0,pt=0,De.mode=fe;case fe:for(;pt<16;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}De.head&&(De.head.xflags=_t&255,De.head.os=_t>>8),De.flags&512&&(ot[0]=_t&255,ot[1]=_t>>>8&255,De.check=o(De.check,ot,2,0)),_t=0,pt=0,De.mode=V;case V:if(De.flags&1024){for(;pt<16;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}De.length=_t,De.head&&(De.head.extra_len=_t),De.flags&512&&(ot[0]=_t&255,ot[1]=_t>>>8&255,De.check=o(De.check,ot,2,0)),_t=0,pt=0}else De.head&&(De.head.extra=null);De.mode=le;case le:if(De.flags&1024&&(kt=De.length,kt>yt&&(kt=yt),kt&&(De.head&&(ze=De.head.extra_len-De.length,De.head.extra||(De.head.extra=new Array(De.head.extra_len)),n.arraySet(De.head.extra,Ht,ge,kt,ze)),De.flags&512&&(De.check=o(De.check,Ht,kt,ge)),yt-=kt,ge+=kt,De.length-=kt),De.length))break e;De.length=0,De.mode=he;case he:if(De.flags&2048){if(yt===0)break e;kt=0;do ze=Ht[ge+kt++],De.head&&ze&&De.length<65536&&(De.head.name+=String.fromCharCode(ze));while(ze&&kt<yt);if(De.flags&512&&(De.check=o(De.check,Ht,kt,ge)),yt-=kt,ge+=kt,ze)break e}else De.head&&(De.head.name=null);De.length=0,De.mode=ye;case ye:if(De.flags&4096){if(yt===0)break e;kt=0;do ze=Ht[ge+kt++],De.head&&ze&&De.length<65536&&(De.head.comment+=String.fromCharCode(ze));while(ze&&kt<yt);if(De.flags&512&&(De.check=o(De.check,Ht,kt,ge)),yt-=kt,ge+=kt,ze)break e}else De.head&&(De.head.comment=null);De.mode=L;case L:if(De.flags&512){for(;pt<16;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if(_t!==(De.check&65535)){et.msg="header crc mismatch",De.mode=pe;break}_t=0,pt=0}De.head&&(De.head.hcrc=De.flags>>9&1,De.head.done=!0),et.adler=De.check=0,De.mode=S;break;case p:for(;pt<32;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}et.adler=De.check=Je(_t),_t=0,pt=0,De.mode=y;case y:if(De.havedict===0)return et.next_out=Dt,et.avail_out=Ne,et.next_in=ge,et.avail_in=yt,De.hold=_t,De.bits=pt,P;et.adler=De.check=1,De.mode=S;case S:if(Ye===A||Ye===E)break e;case c:if(De.last){_t>>>=pt&7,pt-=pt&7,De.mode=ie;break}for(;pt<3;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}switch(De.last=_t&1,_t>>>=1,pt-=1,_t&3){case 0:De.mode=m;break;case 1:if(Kt(De),De.mode=D,Ye===E){_t>>>=2,pt-=2;break e}break;case 2:De.mode=b;break;case 3:et.msg="invalid block type",De.mode=pe}_t>>>=2,pt-=2;break;case m:for(_t>>>=pt&7,pt-=pt&7;pt<32;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if((_t&65535)!==(_t>>>16^65535)){et.msg="invalid stored block lengths",De.mode=pe;break}if(De.length=_t&65535,_t=0,pt=0,De.mode=x,Ye===E)break e;case x:De.mode=T;case T:if(kt=De.length,kt){if(kt>yt&&(kt=yt),kt>Ne&&(kt=Ne),kt===0)break e;n.arraySet(Mt,Ht,ge,kt,Dt),yt-=kt,ge+=kt,Ne-=kt,Dt+=kt,De.length-=kt;break}De.mode=S;break;case b:for(;pt<14;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if(De.nlen=(_t&31)+257,_t>>>=5,pt-=5,De.ndist=(_t&31)+1,_t>>>=5,pt-=5,De.ncode=(_t&15)+4,_t>>>=4,pt-=4,De.nlen>286||De.ndist>30){et.msg="too many length or distance symbols",De.mode=pe;break}De.have=0,De.mode=d;case d:for(;De.have<De.ncode;){for(;pt<3;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}De.lens[Jt[De.have++]]=_t&7,_t>>>=3,pt-=3}for(;De.have<19;)De.lens[Jt[De.have++]]=0;if(De.lencode=De.lendyn,De.lenbits=7,wt={bits:De.lenbits},xt=t(u,De.lens,0,19,De.lencode,0,De.work,wt),De.lenbits=wt.bits,xt){et.msg="invalid code lengths set",De.mode=pe;break}De.have=0,De.mode=k;case k:for(;De.have<De.nlen+De.ndist;){for(;zt=De.lencode[_t&(1<<De.lenbits)-1],Qt=zt>>>24,$e=zt>>>16&255,be=zt&65535,!(Qt<=pt);){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if(be<16)_t>>>=Qt,pt-=Qt,De.lens[De.have++]=be;else{if(be===16){for(Yt=Qt+2;pt<Yt;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if(_t>>>=Qt,pt-=Qt,De.have===0){et.msg="invalid bit length repeat",De.mode=pe;break}ze=De.lens[De.have-1],kt=3+(_t&3),_t>>>=2,pt-=2}else if(be===17){for(Yt=Qt+3;pt<Yt;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}_t>>>=Qt,pt-=Qt,ze=0,kt=3+(_t&7),_t>>>=3,pt-=3}else{for(Yt=Qt+7;pt<Yt;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}_t>>>=Qt,pt-=Qt,ze=0,kt=11+(_t&127),_t>>>=7,pt-=7}if(De.have+kt>De.nlen+De.ndist){et.msg="invalid bit length repeat",De.mode=pe;break}for(;kt--;)De.lens[De.have++]=ze}}if(De.mode===pe)break;if(De.lens[256]===0){et.msg="invalid code -- missing end-of-block",De.mode=pe;break}if(De.lenbits=9,wt={bits:De.lenbits},xt=t(h,De.lens,0,De.nlen,De.lencode,0,De.work,wt),De.lenbits=wt.bits,xt){et.msg="invalid literal/lengths set",De.mode=pe;break}if(De.distbits=6,De.distcode=De.distdyn,wt={bits:De.distbits},xt=t(v,De.lens,De.nlen,De.ndist,De.distcode,0,De.work,wt),De.distbits=wt.bits,xt){et.msg="invalid distances set",De.mode=pe;break}if(De.mode=D,Ye===E)break e;case D:De.mode=O;case O:if(yt>=6&&Ne>=258){et.next_out=Dt,et.avail_out=Ne,et.next_in=ge,et.avail_in=yt,De.hold=_t,De.bits=pt,l(et,ur),Dt=et.next_out,Mt=et.output,Ne=et.avail_out,ge=et.next_in,Ht=et.input,yt=et.avail_in,_t=De.hold,pt=De.bits,De.mode===S&&(De.back=-1);break}for(De.back=0;zt=De.lencode[_t&(1<<De.lenbits)-1],Qt=zt>>>24,$e=zt>>>16&255,be=zt&65535,!(Qt<=pt);){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if($e&&!($e&240)){for(ve=Qt,se=$e,Pe=be;zt=De.lencode[Pe+((_t&(1<<ve+se)-1)>>ve)],Qt=zt>>>24,$e=zt>>>16&255,be=zt&65535,!(ve+Qt<=pt);){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}_t>>>=ve,pt-=ve,De.back+=ve}if(_t>>>=Qt,pt-=Qt,De.back+=Qt,De.length=be,$e===0){De.mode=z;break}if($e&32){De.back=-1,De.mode=S;break}if($e&64){et.msg="invalid literal/length code",De.mode=pe;break}De.extra=$e&15,De.mode=Q;case Q:if(De.extra){for(Yt=De.extra;pt<Yt;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}De.length+=_t&(1<<De.extra)-1,_t>>>=De.extra,pt-=De.extra,De.back+=De.extra}De.was=De.length,De.mode=J;case J:for(;zt=De.distcode[_t&(1<<De.distbits)-1],Qt=zt>>>24,$e=zt>>>16&255,be=zt&65535,!(Qt<=pt);){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if(!($e&240)){for(ve=Qt,se=$e,Pe=be;zt=De.distcode[Pe+((_t&(1<<ve+se)-1)>>ve)],Qt=zt>>>24,$e=zt>>>16&255,be=zt&65535,!(ve+Qt<=pt);){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}_t>>>=ve,pt-=ve,De.back+=ve}if(_t>>>=Qt,pt-=Qt,De.back+=Qt,$e&64){et.msg="invalid distance code",De.mode=pe;break}De.offset=be,De.extra=$e&15,De.mode=X;case X:if(De.extra){for(Yt=De.extra;pt<Yt;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}De.offset+=_t&(1<<De.extra)-1,_t>>>=De.extra,pt-=De.extra,De.back+=De.extra}if(De.offset>De.dmax){et.msg="invalid distance too far back",De.mode=pe;break}De.mode=U;case U:if(Ne===0)break e;if(kt=ur-Ne,De.offset>kt){if(kt=De.offset-kt,kt>De.whave&&De.sane){et.msg="invalid distance too far back",De.mode=pe;break}kt>De.wnext?(kt-=De.wnext,Ut=De.wsize-kt):Ut=De.wnext-kt,kt>De.length&&(kt=De.length),Wr=De.window}else Wr=Mt,Ut=Dt-De.offset,kt=De.length;kt>Ne&&(kt=Ne),Ne-=kt,De.length-=kt;do Mt[Dt++]=Wr[Ut++];while(--kt);De.length===0&&(De.mode=O);break;case z:if(Ne===0)break e;Mt[Dt++]=De.length,Ne--,De.mode=O;break;case ie:if(De.wrap){for(;pt<32;){if(yt===0)break e;yt--,_t|=Ht[ge++]<<pt,pt+=8}if(ur-=Ne,et.total_out+=ur,De.total+=ur,ur&&(et.adler=De.check=De.flags?o(De.check,Mt,ur,Dt-ur):e(De.check,Mt,ur,Dt-ur)),ur=Ne,(De.flags?_t:Je(_t))!==De.check){et.msg="incorrect data check",De.mode=pe;break}_t=0,pt=0}De.mode=de;case de:if(De.wrap&&De.flags){for(;pt<32;){if(yt===0)break e;yt--,_t+=Ht[ge++]<<pt,pt+=8}if(_t!==(De.total&4294967295)){et.msg="incorrect length check",De.mode=pe;break}_t=0,pt=0}De.mode=me;case me:xt=M;break e;case pe:xt=j;break e;case qe:return B;case mt:default:return I}return et.next_out=Dt,et.avail_out=Ne,et.next_in=ge,et.avail_in=yt,De.hold=_t,De.bits=pt,(De.wsize||ur!==et.avail_out&&De.mode<pe&&(De.mode<ie||Ye!==w))&&Me(et,et.output,et.next_out,ur-et.avail_out),Bt-=et.avail_in,ur-=et.avail_out,et.total_in+=Bt,et.total_out+=ur,De.total+=ur,De.wrap&&ur&&(et.adler=De.check=De.flags?o(De.check,Mt,ur,et.next_out-ur):e(De.check,Mt,ur,et.next_out-ur)),et.data_type=De.bits+(De.last?64:0)+(De.mode===S?128:0)+(De.mode===D||De.mode===x?256:0),(Bt===0&&ur===0||Ye===w)&&xt===C&&(xt=F),xt}function _e(et){if(!et||!et.state)return I;var Ye=et.state;return Ye.window&&(Ye.window=null),et.state=null,C}function je(et,Ye){var De;return!et||!et.state||(De=et.state,!(De.wrap&2))?I:(De.head=Ye,Ye.done=!1,C)}function We(et,Ye){var De=Ye.length,Ht,Mt,ge;return!et||!et.state||(Ht=et.state,Ht.wrap!==0&&Ht.mode!==y)?I:Ht.mode===y&&(Mt=1,Mt=e(Mt,Ye,De,0),Mt!==Ht.check)?j:(ge=Me(et,Ye,De,De),ge?(Ht.mode=qe,B):(Ht.havedict=1,C))}return inflate.inflateReset=bt,inflate.inflateReset2=jt,inflate.inflateResetKeep=at,inflate.inflateInit=Qe,inflate.inflateInit2=Ge,inflate.inflate=te,inflate.inflateEnd=_e,inflate.inflateGetHeader=je,inflate.inflateSetDictionary=We,inflate.inflateInfo="pako inflate (from Nodeca project)",inflate}var constants,hasRequiredConstants;function requireConstants(){return hasRequiredConstants||(hasRequiredConstants=1,constants={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}),constants}var hasRequiredBinding;function requireBinding(){return hasRequiredBinding||(hasRequiredBinding=1,function(n){var e=requireAssert$1(),o=requireZstream(),l=requireDeflate(),t=requireInflate(),u=requireConstants();for(var h in u)n[h]=u[h];n.NONE=0,n.DEFLATE=1,n.INFLATE=2,n.GZIP=3,n.GUNZIP=4,n.DEFLATERAW=5,n.INFLATERAW=6,n.UNZIP=7;var v=31,w=139;function A(E){if(typeof E!="number"||E<n.DEFLATE||E>n.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=E,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}A.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,e(this.init_done,"close before init"),e(this.mode<=n.UNZIP),this.mode===n.DEFLATE||this.mode===n.GZIP||this.mode===n.DEFLATERAW?l.deflateEnd(this.strm):(this.mode===n.INFLATE||this.mode===n.GUNZIP||this.mode===n.INFLATERAW||this.mode===n.UNZIP)&&t.inflateEnd(this.strm),this.mode=n.NONE,this.dictionary=null},A.prototype.write=function(E,C,M,P,I,j,B){return this._write(!0,E,C,M,P,I,j,B)},A.prototype.writeSync=function(E,C,M,P,I,j,B){return this._write(!1,E,C,M,P,I,j,B)},A.prototype._write=function(E,C,M,P,I,j,B,F){if(e.equal(arguments.length,8),e(this.init_done,"write before init"),e(this.mode!==n.NONE,"already finalized"),e.equal(!1,this.write_in_progress,"write already in progress"),e.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,e.equal(!1,C===void 0,"must provide flush value"),this.write_in_progress=!0,C!==n.Z_NO_FLUSH&&C!==n.Z_PARTIAL_FLUSH&&C!==n.Z_SYNC_FLUSH&&C!==n.Z_FULL_FLUSH&&C!==n.Z_FINISH&&C!==n.Z_BLOCK)throw new Error("Invalid flush value");if(M==null&&(M=Buffer$C.alloc(0),I=0,P=0),this.strm.avail_in=I,this.strm.input=M,this.strm.next_in=P,this.strm.avail_out=F,this.strm.output=j,this.strm.next_out=B,this.flush=C,!E)return this._process(),this._checkError()?this._afterSync():void 0;var N=this;return process$1.nextTick(function(){N._process(),N._after()}),this},A.prototype._afterSync=function(){var E=this.strm.avail_out,C=this.strm.avail_in;return this.write_in_progress=!1,[C,E]},A.prototype._process=function(){var E=null;switch(this.mode){case n.DEFLATE:case n.GZIP:case n.DEFLATERAW:this.err=l.deflate(this.strm,this.flush);break;case n.UNZIP:switch(this.strm.avail_in>0&&(E=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(E===null)break;if(this.strm.input[E]===v){if(this.gzip_id_bytes_read=1,E++,this.strm.avail_in===1)break}else{this.mode=n.INFLATE;break}case 1:if(E===null)break;this.strm.input[E]===w?(this.gzip_id_bytes_read=2,this.mode=n.GUNZIP):this.mode=n.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case n.INFLATE:case n.GUNZIP:case n.INFLATERAW:for(this.err=t.inflate(this.strm,this.flush),this.err===n.Z_NEED_DICT&&this.dictionary&&(this.err=t.inflateSetDictionary(this.strm,this.dictionary),this.err===n.Z_OK?this.err=t.inflate(this.strm,this.flush):this.err===n.Z_DATA_ERROR&&(this.err=n.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===n.GUNZIP&&this.err===n.Z_STREAM_END&&this.strm.next_in[0]!==0;)this.reset(),this.err=t.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},A.prototype._checkError=function(){switch(this.err){case n.Z_OK:case n.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===n.Z_FINISH)return this._error("unexpected end of file"),!1;break;case n.Z_STREAM_END:break;case n.Z_NEED_DICT:return this.dictionary==null?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},A.prototype._after=function(){if(this._checkError()){var E=this.strm.avail_out,C=this.strm.avail_in;this.write_in_progress=!1,this.callback(C,E),this.pending_close&&this.close()}},A.prototype._error=function(E){this.strm.msg&&(E=this.strm.msg),this.onerror(E,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},A.prototype.init=function(E,C,M,P,I){e(arguments.length===4||arguments.length===5,"init(windowBits, level, memLevel, strategy, [dictionary])"),e(E>=8&&E<=15,"invalid windowBits"),e(C>=-1&&C<=9,"invalid compression level"),e(M>=1&&M<=9,"invalid memlevel"),e(P===n.Z_FILTERED||P===n.Z_HUFFMAN_ONLY||P===n.Z_RLE||P===n.Z_FIXED||P===n.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(C,E,M,P,I),this._setDictionary()},A.prototype.params=function(){throw new Error("deflateParams Not supported")},A.prototype.reset=function(){this._reset(),this._setDictionary()},A.prototype._init=function(E,C,M,P,I){switch(this.level=E,this.windowBits=C,this.memLevel=M,this.strategy=P,this.flush=n.Z_NO_FLUSH,this.err=n.Z_OK,(this.mode===n.GZIP||this.mode===n.GUNZIP)&&(this.windowBits+=16),this.mode===n.UNZIP&&(this.windowBits+=32),(this.mode===n.DEFLATERAW||this.mode===n.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new o,this.mode){case n.DEFLATE:case n.GZIP:case n.DEFLATERAW:this.err=l.deflateInit2(this.strm,this.level,n.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case n.INFLATE:case n.GUNZIP:case n.INFLATERAW:case n.UNZIP:this.err=t.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==n.Z_OK&&this._error("Init error"),this.dictionary=I,this.write_in_progress=!1,this.init_done=!0},A.prototype._setDictionary=function(){if(this.dictionary!=null){switch(this.err=n.Z_OK,this.mode){case n.DEFLATE:case n.DEFLATERAW:this.err=l.deflateSetDictionary(this.strm,this.dictionary);break}this.err!==n.Z_OK&&this._error("Failed to set dictionary")}},A.prototype._reset=function(){switch(this.err=n.Z_OK,this.mode){case n.DEFLATE:case n.DEFLATERAW:case n.GZIP:this.err=l.deflateReset(this.strm);break;case n.INFLATE:case n.INFLATERAW:case n.GUNZIP:this.err=t.inflateReset(this.strm);break}this.err!==n.Z_OK&&this._error("Failed to reset stream")},n.Zlib=A}(binding)),binding}var hasRequiredLib$5;function requireLib$5(){return hasRequiredLib$5||(hasRequiredLib$5=1,function(n){var e=require$$0$2.Buffer,o=requireStreamBrowserify().Transform,l=requireBinding(),t=util$6,u=requireAssert$1().ok,h=require$$0$2.kMaxLength,v="Cannot create final Buffer. It would be larger than 0x"+h.toString(16)+" bytes";l.Z_MIN_WINDOWBITS=8,l.Z_MAX_WINDOWBITS=15,l.Z_DEFAULT_WINDOWBITS=15,l.Z_MIN_CHUNK=64,l.Z_MAX_CHUNK=1/0,l.Z_DEFAULT_CHUNK=16*1024,l.Z_MIN_MEMLEVEL=1,l.Z_MAX_MEMLEVEL=9,l.Z_DEFAULT_MEMLEVEL=8,l.Z_MIN_LEVEL=-1,l.Z_MAX_LEVEL=9,l.Z_DEFAULT_LEVEL=l.Z_DEFAULT_COMPRESSION;for(var w=Object.keys(l),A=0;A<w.length;A++){var E=w[A];E.match(/^Z/)&&Object.defineProperty(n,E,{enumerable:!0,value:l[E],writable:!1})}for(var C={Z_OK:l.Z_OK,Z_STREAM_END:l.Z_STREAM_END,Z_NEED_DICT:l.Z_NEED_DICT,Z_ERRNO:l.Z_ERRNO,Z_STREAM_ERROR:l.Z_STREAM_ERROR,Z_DATA_ERROR:l.Z_DATA_ERROR,Z_MEM_ERROR:l.Z_MEM_ERROR,Z_BUF_ERROR:l.Z_BUF_ERROR,Z_VERSION_ERROR:l.Z_VERSION_ERROR},M=Object.keys(C),P=0;P<M.length;P++){var I=M[P];C[C[I]]=I}Object.defineProperty(n,"codes",{enumerable:!0,value:Object.freeze(C),writable:!1}),n.Deflate=F,n.Inflate=N,n.Gzip=ee,n.Gunzip=Z,n.DeflateRaw=re,n.InflateRaw=fe,n.Unzip=V,n.createDeflate=function(p){return new F(p)},n.createInflate=function(p){return new N(p)},n.createDeflateRaw=function(p){return new re(p)},n.createInflateRaw=function(p){return new fe(p)},n.createGzip=function(p){return new ee(p)},n.createGunzip=function(p){return new Z(p)},n.createUnzip=function(p){return new V(p)},n.deflate=function(p,y,S){return typeof y=="function"&&(S=y,y={}),j(new F(y),p,S)},n.deflateSync=function(p,y){return B(new F(y),p)},n.gzip=function(p,y,S){return typeof y=="function"&&(S=y,y={}),j(new ee(y),p,S)},n.gzipSync=function(p,y){return B(new ee(y),p)},n.deflateRaw=function(p,y,S){return typeof y=="function"&&(S=y,y={}),j(new re(y),p,S)},n.deflateRawSync=function(p,y){return B(new re(y),p)},n.unzip=function(p,y,S){return typeof y=="function"&&(S=y,y={}),j(new V(y),p,S)},n.unzipSync=function(p,y){return B(new V(y),p)},n.inflate=function(p,y,S){return typeof y=="function"&&(S=y,y={}),j(new N(y),p,S)},n.inflateSync=function(p,y){return B(new N(y),p)},n.gunzip=function(p,y,S){return typeof y=="function"&&(S=y,y={}),j(new Z(y),p,S)},n.gunzipSync=function(p,y){return B(new Z(y),p)},n.inflateRaw=function(p,y,S){return typeof y=="function"&&(S=y,y={}),j(new fe(y),p,S)},n.inflateRawSync=function(p,y){return B(new fe(y),p)};function j(p,y,S){var c=[],m=0;p.on("error",T),p.on("end",b),p.end(y),x();function x(){for(var d;(d=p.read())!==null;)c.push(d),m+=d.length;p.once("readable",x)}function T(d){p.removeListener("end",b),p.removeListener("readable",x),S(d)}function b(){var d,k=null;m>=h?k=new RangeError(v):d=e.concat(c,m),c=[],p.close(),S(k,d)}}function B(p,y){if(typeof y=="string"&&(y=e.from(y)),!e.isBuffer(y))throw new TypeError("Not a string or buffer");var S=p._finishFlushFlag;return p._processChunk(y,S)}function F(p){if(!(this instanceof F))return new F(p);he.call(this,p,l.DEFLATE)}function N(p){if(!(this instanceof N))return new N(p);he.call(this,p,l.INFLATE)}function ee(p){if(!(this instanceof ee))return new ee(p);he.call(this,p,l.GZIP)}function Z(p){if(!(this instanceof Z))return new Z(p);he.call(this,p,l.GUNZIP)}function re(p){if(!(this instanceof re))return new re(p);he.call(this,p,l.DEFLATERAW)}function fe(p){if(!(this instanceof fe))return new fe(p);he.call(this,p,l.INFLATERAW)}function V(p){if(!(this instanceof V))return new V(p);he.call(this,p,l.UNZIP)}function le(p){return p===l.Z_NO_FLUSH||p===l.Z_PARTIAL_FLUSH||p===l.Z_SYNC_FLUSH||p===l.Z_FULL_FLUSH||p===l.Z_FINISH||p===l.Z_BLOCK}function he(p,y){var S=this;if(this._opts=p=p||{},this._chunkSize=p.chunkSize||n.Z_DEFAULT_CHUNK,o.call(this,p),p.flush&&!le(p.flush))throw new Error("Invalid flush flag: "+p.flush);if(p.finishFlush&&!le(p.finishFlush))throw new Error("Invalid flush flag: "+p.finishFlush);if(this._flushFlag=p.flush||l.Z_NO_FLUSH,this._finishFlushFlag=typeof p.finishFlush<"u"?p.finishFlush:l.Z_FINISH,p.chunkSize&&(p.chunkSize<n.Z_MIN_CHUNK||p.chunkSize>n.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+p.chunkSize);if(p.windowBits&&(p.windowBits<n.Z_MIN_WINDOWBITS||p.windowBits>n.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+p.windowBits);if(p.level&&(p.level<n.Z_MIN_LEVEL||p.level>n.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+p.level);if(p.memLevel&&(p.memLevel<n.Z_MIN_MEMLEVEL||p.memLevel>n.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+p.memLevel);if(p.strategy&&p.strategy!=n.Z_FILTERED&&p.strategy!=n.Z_HUFFMAN_ONLY&&p.strategy!=n.Z_RLE&&p.strategy!=n.Z_FIXED&&p.strategy!=n.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+p.strategy);if(p.dictionary&&!e.isBuffer(p.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new l.Zlib(y);var c=this;this._hadError=!1,this._handle.onerror=function(T,b){ye(c),c._hadError=!0;var d=new Error(T);d.errno=b,d.code=n.codes[b],c.emit("error",d)};var m=n.Z_DEFAULT_COMPRESSION;typeof p.level=="number"&&(m=p.level);var x=n.Z_DEFAULT_STRATEGY;typeof p.strategy=="number"&&(x=p.strategy),this._handle.init(p.windowBits||n.Z_DEFAULT_WINDOWBITS,m,p.memLevel||n.Z_DEFAULT_MEMLEVEL,x,p.dictionary),this._buffer=e.allocUnsafe(this._chunkSize),this._offset=0,this._level=m,this._strategy=x,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!S._handle},configurable:!0,enumerable:!0})}t.inherits(he,o),he.prototype.params=function(p,y,S){if(p<n.Z_MIN_LEVEL||p>n.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+p);if(y!=n.Z_FILTERED&&y!=n.Z_HUFFMAN_ONLY&&y!=n.Z_RLE&&y!=n.Z_FIXED&&y!=n.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+y);if(this._level!==p||this._strategy!==y){var c=this;this.flush(l.Z_SYNC_FLUSH,function(){u(c._handle,"zlib binding closed"),c._handle.params(p,y),c._hadError||(c._level=p,c._strategy=y,S&&S())})}else process$1.nextTick(S)},he.prototype.reset=function(){return u(this._handle,"zlib binding closed"),this._handle.reset()},he.prototype._flush=function(p){this._transform(e.alloc(0),"",p)},he.prototype.flush=function(p,y){var S=this,c=this._writableState;(typeof p=="function"||p===void 0&&!y)&&(y=p,p=l.Z_FULL_FLUSH),c.ended?y&&process$1.nextTick(y):c.ending?y&&this.once("end",y):c.needDrain?y&&this.once("drain",function(){return S.flush(p,y)}):(this._flushFlag=p,this.write(e.alloc(0),"",y))},he.prototype.close=function(p){ye(this,p),process$1.nextTick(L,this)};function ye(p,y){y&&process$1.nextTick(y),p._handle&&(p._handle.close(),p._handle=null)}function L(p){p.emit("close")}he.prototype._transform=function(p,y,S){var c,m=this._writableState,x=m.ending||m.ended,T=x&&(!p||m.length===p.length);if(p!==null&&!e.isBuffer(p))return S(new Error("invalid input"));if(!this._handle)return S(new Error("zlib binding closed"));T?c=this._finishFlushFlag:(c=this._flushFlag,p.length>=m.length&&(this._flushFlag=this._opts.flush||l.Z_NO_FLUSH)),this._processChunk(p,c,S)},he.prototype._processChunk=function(p,y,S){var c=p&&p.length,m=this._chunkSize-this._offset,x=0,T=this,b=typeof S=="function";if(!b){var d=[],k=0,D;this.on("error",function(U){D=U}),u(this._handle,"zlib binding closed");do var O=this._handle.writeSync(y,p,x,c,this._buffer,this._offset,m);while(!this._hadError&&X(O[0],O[1]));if(this._hadError)throw D;if(k>=h)throw ye(this),new RangeError(v);var Q=e.concat(d,k);return ye(this),Q}u(this._handle,"zlib binding closed");var J=this._handle.write(y,p,x,c,this._buffer,this._offset,m);J.buffer=p,J.callback=X;function X(U,z){if(this&&(this.buffer=null,this.callback=null),!T._hadError){var ie=m-z;if(u(ie>=0,"have should not go down"),ie>0){var de=T._buffer.slice(T._offset,T._offset+ie);T._offset+=ie,b?T.push(de):(d.push(de),k+=de.length)}if((z===0||T._offset>=T._chunkSize)&&(m=T._chunkSize,T._offset=0,T._buffer=e.allocUnsafe(T._chunkSize)),z===0){if(x+=c-U,c=U,!b)return!0;var me=T._handle.write(y,p,x,c,T._buffer,T._offset,T._chunkSize);me.callback=X,me.buffer=p;return}if(!b)return!1;S()}}},t.inherits(F,he),t.inherits(N,he),t.inherits(ee,he),t.inherits(Z,he),t.inherits(re,he),t.inherits(fe,he),t.inherits(V,he)}(lib$5)),lib$5}var awsSign2={exports:{}},hasRequiredAwsSign2;function requireAwsSign2(){if(hasRequiredAwsSign2)return awsSign2.exports;hasRequiredAwsSign2=1;/*!
  *  Copyright 2010 LearnBoost <dev@learnboost.com>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -927,75 +774,75 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */var t=requireCryptoBrowserify(),e=require$$2$2.parse,n=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function o(A){return"AWS "+A.key+":"+l(A)}awsSign2.exports=o,awsSign2.exports.authorization=o;function u(A){return t.createHmac("sha1",A.secret).update(A.message).digest("base64")}awsSign2.exports.hmacSha1=u;function l(A){return A.message=y(A),u(A)}awsSign2.exports.sign=l;function m(A){return A.message=E(A),u(A)}awsSign2.exports.signQuery=m;function y(A){var D=A.amazonHeaders||"";D&&(D+=`
-`);var P=[A.verb,A.md5,A.contentType,A.date?A.date.toUTCString():"",D+A.resource];return P.join(`
-`)}awsSign2.exports.stringToSign=y;function E(A){return`GET
+ */var n=requireCryptoBrowserify(),e=require$$2$2.parse,o=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function l(C){return"AWS "+C.key+":"+u(C)}awsSign2.exports=l,awsSign2.exports.authorization=l;function t(C){return n.createHmac("sha1",C.secret).update(C.message).digest("base64")}awsSign2.exports.hmacSha1=t;function u(C){return C.message=v(C),t(C)}awsSign2.exports.sign=u;function h(C){return C.message=w(C),t(C)}awsSign2.exports.signQuery=h;function v(C){var M=C.amazonHeaders||"";M&&(M+=`
+`);var P=[C.verb,C.md5,C.contentType,C.date?C.date.toUTCString():"",M+C.resource];return P.join(`
+`)}awsSign2.exports.stringToSign=v;function w(C){return`GET
 
 
-`+A.date+`
-`+A.resource}awsSign2.exports.queryStringToSign=E;function C(A){for(var D=[],P=Object.keys(A),R=0,B=P.length;R<B;++R){var O=P[R],F=A[O],O=O.toLowerCase();O.indexOf("x-amz")===0&&D.push(O+":"+F)}return D.sort().join(`
-`)}awsSign2.exports.canonicalizeHeaders=C;function k(A){var D=e(A,!0),P=D.pathname,R=[];return Object.keys(D.query).forEach(function(B){if(~n.indexOf(B)){var F=D.query[B]==""?"":"="+encodeURIComponent(D.query[B]);R.push(B+F)}}),P+(R.length?"?"+R.sort().join("&"):"")}return awsSign2.exports.canonicalizeResource=k,awsSign2.exports}var aws4={};const require$$1$1=getAugmentedNamespace(querystring$2);var lru,hasRequiredLru;function requireLru(){if(hasRequiredLru)return lru;hasRequiredLru=1,lru=function(o){return new t(o)};function t(o){this.capacity=o|0,this.map=Object.create(null),this.list=new e}t.prototype.get=function(o){var u=this.map[o];if(u!=null)return this.used(u),u.val},t.prototype.set=function(o,u){var l=this.map[o];if(l!=null)l.val=u;else{if(this.capacity||this.prune(),!this.capacity)return!1;l=new n(o,u),this.map[o]=l,this.capacity--}return this.used(l),!0},t.prototype.used=function(o){this.list.moveToFront(o)},t.prototype.prune=function(){var o=this.list.pop();o!=null&&(delete this.map[o.key],this.capacity++)};function e(){this.firstNode=null,this.lastNode=null}e.prototype.moveToFront=function(o){this.firstNode!=o&&(this.remove(o),this.firstNode==null?(this.firstNode=o,this.lastNode=o,o.prev=null,o.next=null):(o.prev=null,o.next=this.firstNode,o.next.prev=o,this.firstNode=o))},e.prototype.pop=function(){var o=this.lastNode;return o!=null&&this.remove(o),o},e.prototype.remove=function(o){this.firstNode==o?this.firstNode=o.next:o.prev!=null&&(o.prev.next=o.next),this.lastNode==o?this.lastNode=o.prev:o.next!=null&&(o.next.prev=o.prev)};function n(o,u){this.key=o,this.val=u,this.prev=null,this.next=null}return lru}var hasRequiredAws4;function requireAws4(){return hasRequiredAws4||(hasRequiredAws4=1,function(t){var e=t,n=require$$2$2,o=require$$1$1,u=requireCryptoBrowserify(),l=requireLru(),m=l(1e3);function y(P,R,B){return u.createHmac("sha256",P).update(R,"utf8").digest(B)}function E(P,R){return u.createHash("sha256").update(P,"utf8").digest(R)}function C(P){return P.replace(/[!'()*]/g,function(R){return"%"+R.charCodeAt(0).toString(16).toUpperCase()})}function k(P){return C(encodeURIComponent(P))}var A={authorization:!0,connection:!0,"x-amzn-trace-id":!0,"user-agent":!0,expect:!0,"presigned-expires":!0,range:!0};function D(P,R){typeof P=="string"&&(P=n.parse(P));var B=P.headers=Object.assign({},P.headers||{}),F=(!this.service||!this.region)&&this.matchHost(P.hostname||P.host||B.Host||B.host);this.request=P,this.credentials=R||this.defaultCredentials(),this.service=P.service||F[0]||"",this.region=P.region||F[1]||"us-east-1",this.service==="email"&&(this.service="ses"),!P.method&&P.body&&(P.method="POST"),!B.Host&&!B.host&&(B.Host=P.hostname||P.host||this.createHost(),P.port&&(B.Host+=":"+P.port)),!P.hostname&&!P.host&&(P.hostname=B.Host||B.host),this.isCodeCommitGit=this.service==="codecommit"&&P.method==="GIT",this.extraHeadersToIgnore=P.extraHeadersToIgnore||Object.create(null),this.extraHeadersToInclude=P.extraHeadersToInclude||Object.create(null)}D.prototype.matchHost=function(P){var R=(P||"").match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/),B=(R||[]).slice(1,3);if((B[1]==="es"||B[1]==="aoss")&&(B=B.reverse()),B[1]=="s3")B[0]="s3",B[1]="us-east-1";else for(var F=0;F<2;F++)if(/^s3-/.test(B[F])){B[1]=B[F].slice(3),B[0]="s3";break}return B},D.prototype.isSingleRegion=function(){return["s3","sdb"].indexOf(this.service)>=0&&this.region==="us-east-1"?!0:["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0},D.prototype.createHost=function(){var P=this.isSingleRegion()?"":"."+this.region,R=this.service==="ses"?"email":this.service;return R+P+".amazonaws.com"},D.prototype.prepareRequest=function(){this.parsePath();var P=this.request,R=P.headers,B;P.signQuery?(this.parsedPath.query=B=this.parsedPath.query||{},this.credentials.sessionToken&&(B["X-Amz-Security-Token"]=this.credentials.sessionToken),this.service==="s3"&&!B["X-Amz-Expires"]&&(B["X-Amz-Expires"]=86400),B["X-Amz-Date"]?this.datetime=B["X-Amz-Date"]:B["X-Amz-Date"]=this.getDateTime(),B["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",B["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString(),B["X-Amz-SignedHeaders"]=this.signedHeaders()):(!P.doNotModifyHeaders&&!this.isCodeCommitGit&&(P.body&&!R["Content-Type"]&&!R["content-type"]&&(R["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8"),P.body&&!R["Content-Length"]&&!R["content-length"]&&(R["Content-Length"]=Buffer$C.byteLength(P.body)),this.credentials.sessionToken&&!R["X-Amz-Security-Token"]&&!R["x-amz-security-token"]&&(R["X-Amz-Security-Token"]=this.credentials.sessionToken),this.service==="s3"&&!R["X-Amz-Content-Sha256"]&&!R["x-amz-content-sha256"]&&(R["X-Amz-Content-Sha256"]=E(this.request.body||"","hex")),R["X-Amz-Date"]||R["x-amz-date"]?this.datetime=R["X-Amz-Date"]||R["x-amz-date"]:R["X-Amz-Date"]=this.getDateTime()),delete R.Authorization,delete R.authorization)},D.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query["X-Amz-Signature"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},D.prototype.getDateTime=function(){if(!this.datetime){var P=this.request.headers,R=new Date(P.Date||P.date||new Date);this.datetime=R.toISOString().replace(/[:\-]|\.\d{3}/g,""),this.isCodeCommitGit&&(this.datetime=this.datetime.slice(0,-1))}return this.datetime},D.prototype.getDate=function(){return this.getDateTime().substr(0,8)},D.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")},D.prototype.signature=function(){var P=this.getDate(),R=[this.credentials.secretAccessKey,P,this.region,this.service].join(),B,F,O,N=m.get(R);return N||(B=y("AWS4"+this.credentials.secretAccessKey,P),F=y(B,this.region),O=y(F,this.service),N=y(O,"aws4_request"),m.set(R,N)),y(N,this.stringToSign(),"hex")},D.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),E(this.canonicalString(),"hex")].join(`
-`)},D.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var P=this.parsedPath.path,R=this.parsedPath.query,B=this.request.headers,F="",O=this.service!=="s3",N=this.service==="s3"||this.request.doNotEncodePath,Y=this.service==="s3",J=this.service==="s3",ie;if(this.service==="s3"&&this.request.signQuery?ie="UNSIGNED-PAYLOAD":this.isCodeCommitGit?ie="":ie=B["X-Amz-Content-Sha256"]||B["x-amz-content-sha256"]||E(this.request.body||"","hex"),R){var ue=Object.keys(R).reduce(function(ce,he){return he&&(ce[k(he)]=Array.isArray(R[he])&&J?R[he][0]:R[he]),ce},{}),Q=[];Object.keys(ue).sort().forEach(function(ce){Array.isArray(ue[ce])?ue[ce].map(k).sort().forEach(function(he){Q.push(ce+"="+he)}):Q.push(ce+"="+k(ue[ce]))}),F=Q.join("&")}return P!=="/"&&(O&&(P=P.replace(/\/{2,}/g,"/")),P=P.split("/").reduce(function(ce,he){return O&&he===".."?ce.pop():(!O||he!==".")&&(N&&(he=decodeURIComponent(he.replace(/\+/g," "))),ce.push(k(he))),ce},[]).join("/"),P[0]!=="/"&&(P="/"+P),Y&&(P=P.replace(/%2F/g,"/"))),[this.request.method||"GET",P,F,this.canonicalHeaders()+`
-`,this.signedHeaders(),ie].join(`
-`)},D.prototype.filterHeaders=function(){var P=this.request.headers,R=this.extraHeadersToInclude,B=this.extraHeadersToIgnore;this.filteredHeaders=Object.keys(P).map(function(F){return[F.toLowerCase(),P[F]]}).filter(function(F){return R[F[0]]||A[F[0]]==null&&!B[F[0]]}).sort(function(F,O){return F[0]<O[0]?-1:1})},D.prototype.canonicalHeaders=function(){return this.filteredHeaders||this.filterHeaders(),this.filteredHeaders.map(function(P){return P[0]+":"+P[1].toString().trim().replace(/\s+/g," ")}).join(`
-`)},D.prototype.signedHeaders=function(){return this.filteredHeaders||this.filterHeaders(),this.filteredHeaders.map(function(P){return P[0]}).join(";")},D.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,"aws4_request"].join("/")},D.prototype.defaultCredentials=function(){var P=process$1.env;return{accessKeyId:P.AWS_ACCESS_KEY_ID||P.AWS_ACCESS_KEY,secretAccessKey:P.AWS_SECRET_ACCESS_KEY||P.AWS_SECRET_KEY,sessionToken:P.AWS_SESSION_TOKEN}},D.prototype.parsePath=function(){var P=this.request.path||"/";/[^0-9A-Za-z;,/?:@&=+$\-_.!~*'()#%]/.test(P)&&(P=encodeURI(decodeURI(P)));var R=P.indexOf("?"),B=null;R>=0&&(B=o.parse(P.slice(R+1)),P=P.slice(0,R)),this.parsedPath={path:P,query:B}},D.prototype.formatPath=function(){var P=this.parsedPath.path,R=this.parsedPath.query;return R?(R[""]!=null&&delete R[""],P+"?"+C(o.stringify(R))):P},e.RequestSigner=D,e.sign=function(P,R){return new D(P,R).sign()}}(aws4)),aws4}var assert_1,hasRequiredAssert;function requireAssert(){if(hasRequiredAssert)return assert_1;hasRequiredAssert=1;var t=requireAssert$1(),e=requireStreamBrowserify().Stream,n=util$6,o=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function u(k){return k.charAt(0).toUpperCase()+k.slice(1)}function l(k,A,D,P,R){throw new t.AssertionError({message:n.format("%s (%s) is required",k,A),actual:R===void 0?typeof P:R(P),expected:A,operator:D||"===",stackStartFunction:l.caller})}function m(k){return Object.prototype.toString.call(k).slice(8,-1)}function y(){}var E={bool:{check:function(k){return typeof k=="boolean"}},func:{check:function(k){return typeof k=="function"}},string:{check:function(k){return typeof k=="string"}},object:{check:function(k){return typeof k=="object"&&k!==null}},number:{check:function(k){return typeof k=="number"&&!isNaN(k)}},finite:{check:function(k){return typeof k=="number"&&!isNaN(k)&&isFinite(k)}},buffer:{check:function(k){return Buffer$C.isBuffer(k)},operator:"Buffer.isBuffer"},array:{check:function(k){return Array.isArray(k)},operator:"Array.isArray"},stream:{check:function(k){return k instanceof e},operator:"instanceof",actual:m},date:{check:function(k){return k instanceof Date},operator:"instanceof",actual:m},regexp:{check:function(k){return k instanceof RegExp},operator:"instanceof",actual:m},uuid:{check:function(k){return typeof k=="string"&&o.test(k)},operator:"isUUID"}};function C(k){var A=Object.keys(E),D;return process$1.env.NODE_NDEBUG?D=y:D=function(P,R){P||l(R,"true",P)},A.forEach(function(P){if(k){D[P]=y;return}var R=E[P];D[P]=function(B,F){R.check(B)||l(F,P,R.operator,B,R.actual)}}),A.forEach(function(P){var R="optional"+u(P);if(k){D[R]=y;return}var B=E[P];D[R]=function(F,O){F!=null&&(B.check(F)||l(O,P,B.operator,F,B.actual))}}),A.forEach(function(P){var R="arrayOf"+u(P);if(k){D[R]=y;return}var B=E[P],F="["+P+"]";D[R]=function(O,N){Array.isArray(O)||l(N,F,B.operator,O,B.actual);var Y;for(Y=0;Y<O.length;Y++)B.check(O[Y])||l(N,F,B.operator,O,B.actual)}}),A.forEach(function(P){var R="optionalArrayOf"+u(P);if(k){D[R]=y;return}var B=E[P],F="["+P+"]";D[R]=function(O,N){if(O!=null){Array.isArray(O)||l(N,F,B.operator,O,B.actual);var Y;for(Y=0;Y<O.length;Y++)B.check(O[Y])||l(N,F,B.operator,O,B.actual)}}}),Object.keys(t).forEach(function(P){if(P==="AssertionError"){D[P]=t[P];return}if(k){D[P]=y;return}D[P]=t[P]}),D._setExports=C,D}return assert_1=C(process$1.env.NODE_NDEBUG),assert_1}var safer_1,hasRequiredSafer;function requireSafer(){if(hasRequiredSafer)return safer_1;hasRequiredSafer=1;var t=require$$0$2,e=t.Buffer,n={},o;for(o in t)t.hasOwnProperty(o)&&(o==="SlowBuffer"||o==="Buffer"||(n[o]=t[o]));var u=n.Buffer={};for(o in e)e.hasOwnProperty(o)&&(o==="allocUnsafe"||o==="allocUnsafeSlow"||(u[o]=e[o]));if(n.Buffer.prototype=e.prototype,(!u.from||u.from===Uint8Array.from)&&(u.from=function(l,m,y){if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof l);if(l&&typeof l.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);return e(l,m,y)}),u.alloc||(u.alloc=function(l,m,y){if(typeof l!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof l);if(l<0||l>=2*(1<<30))throw new RangeError('The value "'+l+'" is invalid for option "size"');var E=e(l);return!m||m.length===0?E.fill(0):typeof y=="string"?E.fill(m,y):E.fill(m),E}),!n.kStringMaxLength)try{n.kStringMaxLength=process$1.binding("buffer").kStringMaxLength}catch{}return n.constants||(n.constants={MAX_LENGTH:n.kMaxLength},n.kStringMaxLength&&(n.constants.MAX_STRING_LENGTH=n.kStringMaxLength)),safer_1=n,safer_1}var algs,hasRequiredAlgs;function requireAlgs(){if(hasRequiredAlgs)return algs;hasRequiredAlgs=1;var t=requireSafer().Buffer,e={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};e.curve25519=e.ed25519;var n={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};n.curve25519=n.ed25519;var o={md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},u={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:t.from("00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff".replace(/ /g,""),"hex"),a:t.from("00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:t.from("5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b".replace(/ /g,""),"hex"),s:t.from("00c49d3608 86e70493 6a6678e1 139d26b7819f7e90".replace(/ /g,""),"hex"),n:t.from("00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551".replace(/ /g,""),"hex"),G:t.from("046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5".replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:t.from("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff".replace(/ /g,""),"hex"),a:t.from("00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC".replace(/ /g,""),"hex"),b:t.from("b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef".replace(/ /g,""),"hex"),s:t.from("00a335926a a319a27a 1d00896a 6773a4827acdac73".replace(/ /g,""),"hex"),n:t.from("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973".replace(/ /g,""),"hex"),G:t.from("04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f".replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:t.from("01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff".replace(/ /g,""),"hex"),a:t.from("01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:t.from("51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00".replace(/ /g,""),"hex"),s:t.from("00d09e8800 291cb853 96cc6717 393284aaa0da64ba".replace(/ /g,""),"hex"),n:t.from("01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409".replace(/ /g,""),"hex"),G:t.from("0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650".replace(/ /g,""),"hex")}};return algs={info:e,privInfo:n,hashAlgs:o,curves:u},algs}var errors$1,hasRequiredErrors$1;function requireErrors$1(){if(hasRequiredErrors$1)return errors$1;hasRequiredErrors$1=1,requireAssert();var t=util$6;function e(y,E){Error.captureStackTrace&&Error.captureStackTrace(this,e),this.name="FingerprintFormatError",this.fingerprint=y,this.format=E,this.message="Fingerprint format is not supported, or is invalid: ",y!==void 0&&(this.message+=" fingerprint = "+y),E!==void 0&&(this.message+=" format = "+E)}t.inherits(e,Error);function n(y){Error.captureStackTrace&&Error.captureStackTrace(this,n),this.name="InvalidAlgorithmError",this.algorithm=y,this.message='Algorithm "'+y+'" is not supported'}t.inherits(n,Error);function o(y,E,C){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name="KeyParseError",this.format=E,this.keyName=y,this.innerErr=C,this.message="Failed to parse "+y+" as a valid "+E+" format key: "+C.message}t.inherits(o,Error);function u(y,E,C){Error.captureStackTrace&&Error.captureStackTrace(this,u),this.name="SignatureParseError",this.type=y,this.format=E,this.innerErr=C,this.message="Failed to parse the given data as a "+y+" signature in "+E+" format: "+C.message}t.inherits(u,Error);function l(y,E,C){Error.captureStackTrace&&Error.captureStackTrace(this,l),this.name="CertificateParseError",this.format=E,this.certName=y,this.innerErr=C,this.message="Failed to parse "+y+" as a valid "+E+" format certificate: "+C.message}t.inherits(l,Error);function m(y,E){Error.captureStackTrace&&Error.captureStackTrace(this,m),this.name="KeyEncryptedError",this.format=E,this.keyName=y,this.message="The "+E+" format key "+y+" is encrypted (password-protected), and no passphrase was provided in `options`"}return t.inherits(m,Error),errors$1={FingerprintFormatError:e,InvalidAlgorithmError:n,KeyParseError:o,SignatureParseError:u,KeyEncryptedError:m,CertificateParseError:l},errors$1}var ber={exports:{}},errors,hasRequiredErrors;function requireErrors(){return hasRequiredErrors||(hasRequiredErrors=1,errors={newInvalidAsn1Error:function(t){var e=new Error;return e.name="InvalidAsn1Error",e.message=t||"",e}}),errors}var types,hasRequiredTypes;function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,types={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}),types}var reader,hasRequiredReader;function requireReader(){if(hasRequiredReader)return reader;hasRequiredReader=1;var t=requireAssert$1(),e=requireSafer().Buffer,n=requireTypes(),o=requireErrors(),u=o.newInvalidAsn1Error;function l(m){if(!m||!e.isBuffer(m))throw new TypeError("data must be a node Buffer");this._buf=m,this._size=m.length,this._len=0,this._offset=0}return Object.defineProperty(l.prototype,"length",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(l.prototype,"remain",{get:function(){return this._size-this._offset}}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}}),l.prototype.readByte=function(m){if(this._size-this._offset<1)return null;var y=this._buf[this._offset]&255;return m||(this._offset+=1),y},l.prototype.peek=function(){return this.readByte(!0)},l.prototype.readLength=function(m){if(m===void 0&&(m=this._offset),m>=this._size)return null;var y=this._buf[m++]&255;if(y===null)return null;if((y&128)===128){if(y&=127,y===0)throw u("Indefinite length not supported");if(y>4)throw u("encoding too long");if(this._size-m<y)return null;this._len=0;for(var E=0;E<y;E++)this._len=(this._len<<8)+(this._buf[m++]&255)}else this._len=y;return m},l.prototype.readSequence=function(m){var y=this.peek();if(y===null)return null;if(m!==void 0&&m!==y)throw u("Expected 0x"+m.toString(16)+": got 0x"+y.toString(16));var E=this.readLength(this._offset+1);return E===null?null:(this._offset=E,y)},l.prototype.readInt=function(){return this._readTag(n.Integer)},l.prototype.readBoolean=function(){return this._readTag(n.Boolean)!==0},l.prototype.readEnumeration=function(){return this._readTag(n.Enumeration)},l.prototype.readString=function(m,y){m||(m=n.OctetString);var E=this.peek();if(E===null)return null;if(E!==m)throw u("Expected 0x"+m.toString(16)+": got 0x"+E.toString(16));var C=this.readLength(this._offset+1);if(C===null||this.length>this._size-C)return null;if(this._offset=C,this.length===0)return y?e.alloc(0):"";var k=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,y?k:k.toString("utf8")},l.prototype.readOID=function(m){m||(m=n.OID);var y=this.readString(m,!0);if(y===null)return null;for(var E=[],C=0,k=0;k<y.length;k++){var A=y[k]&255;C<<=7,C+=A&127,A&128||(E.push(C),C=0)}return C=E.shift(),E.unshift(C%40),E.unshift(C/40>>0),E.join(".")},l.prototype._readTag=function(m){t.ok(m!==void 0);var y=this.peek();if(y===null)return null;if(y!==m)throw u("Expected 0x"+m.toString(16)+": got 0x"+y.toString(16));var E=this.readLength(this._offset+1);if(E===null)return null;if(this.length>4)throw u("Integer too long: "+this.length);if(this.length>this._size-E)return null;this._offset=E;for(var C=this._buf[this._offset],k=0,A=0;A<this.length;A++)k<<=8,k|=this._buf[this._offset++]&255;return(C&128)===128&&A!==4&&(k-=1<<A*8),k>>0},reader=l,reader}var writer,hasRequiredWriter;function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=1;var t=requireAssert$1(),e=requireSafer().Buffer,n=requireTypes(),o=requireErrors(),u=o.newInvalidAsn1Error,l={size:1024,growthFactor:8};function m(E,C){t.ok(E),t.equal(typeof E,"object"),t.ok(C),t.equal(typeof C,"object");var k=Object.getOwnPropertyNames(E);return k.forEach(function(A){if(!C[A]){var D=Object.getOwnPropertyDescriptor(E,A);Object.defineProperty(C,A,D)}}),C}function y(E){E=m(l,E||{}),this._buf=e.alloc(E.size||1024),this._size=this._buf.length,this._offset=0,this._options=E,this._seq=[]}return Object.defineProperty(y.prototype,"buffer",{get:function(){if(this._seq.length)throw u(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}}),y.prototype.writeByte=function(E){if(typeof E!="number")throw new TypeError("argument must be a Number");this._ensure(1),this._buf[this._offset++]=E},y.prototype.writeInt=function(E,C){if(typeof E!="number")throw new TypeError("argument must be a Number");typeof C!="number"&&(C=n.Integer);for(var k=4;(!(E&4286578688)||(E&4286578688)===-8388608)&&k>1;)k--,E<<=8;if(k>4)throw u("BER ints cannot be > 0xffffffff");for(this._ensure(2+k),this._buf[this._offset++]=C,this._buf[this._offset++]=k;k-- >0;)this._buf[this._offset++]=(E&4278190080)>>>24,E<<=8},y.prototype.writeNull=function(){this.writeByte(n.Null),this.writeByte(0)},y.prototype.writeEnumeration=function(E,C){if(typeof E!="number")throw new TypeError("argument must be a Number");return typeof C!="number"&&(C=n.Enumeration),this.writeInt(E,C)},y.prototype.writeBoolean=function(E,C){if(typeof E!="boolean")throw new TypeError("argument must be a Boolean");typeof C!="number"&&(C=n.Boolean),this._ensure(3),this._buf[this._offset++]=C,this._buf[this._offset++]=1,this._buf[this._offset++]=E?255:0},y.prototype.writeString=function(E,C){if(typeof E!="string")throw new TypeError("argument must be a string (was: "+typeof E+")");typeof C!="number"&&(C=n.OctetString);var k=e.byteLength(E);this.writeByte(C),this.writeLength(k),k&&(this._ensure(k),this._buf.write(E,this._offset),this._offset+=k)},y.prototype.writeBuffer=function(E,C){if(typeof C!="number")throw new TypeError("tag must be a number");if(!e.isBuffer(E))throw new TypeError("argument must be a buffer");this.writeByte(C),this.writeLength(E.length),this._ensure(E.length),E.copy(this._buf,this._offset,0,E.length),this._offset+=E.length},y.prototype.writeStringArray=function(E){if(!E instanceof Array)throw new TypeError("argument must be an Array[String]");var C=this;E.forEach(function(k){C.writeString(k)})},y.prototype.writeOID=function(E,C){if(typeof E!="string")throw new TypeError("argument must be a string");if(typeof C!="number"&&(C=n.OID),!/^([0-9]+\.){3,}[0-9]+$/.test(E))throw new Error("argument is not a valid OID string");function k(R,B){B<128?R.push(B):B<16384?(R.push(B>>>7|128),R.push(B&127)):B<2097152?(R.push(B>>>14|128),R.push((B>>>7|128)&255),R.push(B&127)):B<268435456?(R.push(B>>>21|128),R.push((B>>>14|128)&255),R.push((B>>>7|128)&255),R.push(B&127)):(R.push((B>>>28|128)&255),R.push((B>>>21|128)&255),R.push((B>>>14|128)&255),R.push((B>>>7|128)&255),R.push(B&127))}var A=E.split("."),D=[];D.push(parseInt(A[0],10)*40+parseInt(A[1],10)),A.slice(2).forEach(function(R){k(D,parseInt(R,10))});var P=this;this._ensure(2+D.length),this.writeByte(C),this.writeLength(D.length),D.forEach(function(R){P.writeByte(R)})},y.prototype.writeLength=function(E){if(typeof E!="number")throw new TypeError("argument must be a Number");if(this._ensure(4),E<=127)this._buf[this._offset++]=E;else if(E<=255)this._buf[this._offset++]=129,this._buf[this._offset++]=E;else if(E<=65535)this._buf[this._offset++]=130,this._buf[this._offset++]=E>>8,this._buf[this._offset++]=E;else if(E<=16777215)this._buf[this._offset++]=131,this._buf[this._offset++]=E>>16,this._buf[this._offset++]=E>>8,this._buf[this._offset++]=E;else throw u("Length too long (> 4 bytes)")},y.prototype.startSequence=function(E){typeof E!="number"&&(E=n.Sequence|n.Constructor),this.writeByte(E),this._seq.push(this._offset),this._ensure(3),this._offset+=3},y.prototype.endSequence=function(){var E=this._seq.pop(),C=E+3,k=this._offset-C;if(k<=127)this._shift(C,k,-2),this._buf[E]=k;else if(k<=255)this._shift(C,k,-1),this._buf[E]=129,this._buf[E+1]=k;else if(k<=65535)this._buf[E]=130,this._buf[E+1]=k>>8,this._buf[E+2]=k;else if(k<=16777215)this._shift(C,k,1),this._buf[E]=131,this._buf[E+1]=k>>16,this._buf[E+2]=k>>8,this._buf[E+3]=k;else throw u("Sequence too long")},y.prototype._shift=function(E,C,k){t.ok(E!==void 0),t.ok(C!==void 0),t.ok(k),this._buf.copy(this._buf,E+k,E,E+C),this._offset+=k},y.prototype._ensure=function(E){if(t.ok(E),this._size-this._offset<E){var C=this._size*this._options.growthFactor;C-this._offset<E&&(C+=E);var k=e.alloc(C);this._buf.copy(k,0,0,this._offset),this._buf=k,this._size=C}},writer=y,writer}var hasRequiredBer;function requireBer(){return hasRequiredBer||(hasRequiredBer=1,function(t){var e=requireErrors(),n=requireTypes(),o=requireReader(),u=requireWriter();t.exports={Reader:o,Writer:u};for(var l in n)n.hasOwnProperty(l)&&(t.exports[l]=n[l]);for(var m in e)e.hasOwnProperty(m)&&(t.exports[m]=e[m])}(ber)),ber.exports}var lib$4,hasRequiredLib$4;function requireLib$4(){if(hasRequiredLib$4)return lib$4;hasRequiredLib$4=1;var t=requireBer();return lib$4={Ber:t,BerReader:t.Reader,BerWriter:t.Writer},lib$4}var jsbn={exports:{}},hasRequiredJsbn;function requireJsbn(){return hasRequiredJsbn||(hasRequiredJsbn=1,function(t,e){(function(){var n,o=0xdeadbeefcafe,u=(o&16777215)==15715070;function l(xe,Ee,Ie){xe!=null&&(typeof xe=="number"?this.fromNumber(xe,Ee,Ie):Ee==null&&typeof xe!="string"?this.fromString(xe,256):this.fromString(xe,Ee))}function m(){return new l(null)}function y(xe,Ee,Ie,Xe,xt,Lt){for(;--Lt>=0;){var Ft=Ee*this[xe++]+Ie[Xe]+xt;xt=Math.floor(Ft/67108864),Ie[Xe++]=Ft&67108863}return xt}function E(xe,Ee,Ie,Xe,xt,Lt){for(var Ft=Ee&32767,Ot=Ee>>15;--Lt>=0;){var si=this[xe]&32767,yi=this[xe++]>>15,vi=Ot*si+yi*Ft;si=Ft*si+((vi&32767)<<15)+Ie[Xe]+(xt&1073741823),xt=(si>>>30)+(vi>>>15)+Ot*yi+(xt>>>30),Ie[Xe++]=si&1073741823}return xt}function C(xe,Ee,Ie,Xe,xt,Lt){for(var Ft=Ee&16383,Ot=Ee>>14;--Lt>=0;){var si=this[xe]&16383,yi=this[xe++]>>14,vi=Ot*si+yi*Ft;si=Ft*si+((vi&16383)<<14)+Ie[Xe]+xt,xt=(si>>28)+(vi>>14)+Ot*yi,Ie[Xe++]=si&268435455}return xt}var k=typeof navigator<"u";k&&u&&navigator.appName=="Microsoft Internet Explorer"?(l.prototype.am=E,n=30):k&&u&&navigator.appName!="Netscape"?(l.prototype.am=y,n=26):(l.prototype.am=C,n=28),l.prototype.DB=n,l.prototype.DM=(1<<n)-1,l.prototype.DV=1<<n;var A=52;l.prototype.FV=Math.pow(2,A),l.prototype.F1=A-n,l.prototype.F2=2*n-A;var D="0123456789abcdefghijklmnopqrstuvwxyz",P=new Array,R,B;for(R=48,B=0;B<=9;++B)P[R++]=B;for(R=97,B=10;B<36;++B)P[R++]=B;for(R=65,B=10;B<36;++B)P[R++]=B;function F(xe){return D.charAt(xe)}function O(xe,Ee){var Ie=P[xe.charCodeAt(Ee)];return Ie??-1}function N(xe){for(var Ee=this.t-1;Ee>=0;--Ee)xe[Ee]=this[Ee];xe.t=this.t,xe.s=this.s}function Y(xe){this.t=1,this.s=xe<0?-1:0,xe>0?this[0]=xe:xe<-1?this[0]=xe+this.DV:this.t=0}function J(xe){var Ee=m();return Ee.fromInt(xe),Ee}function ie(xe,Ee){var Ie;if(Ee==16)Ie=4;else if(Ee==8)Ie=3;else if(Ee==256)Ie=8;else if(Ee==2)Ie=1;else if(Ee==32)Ie=5;else if(Ee==4)Ie=2;else{this.fromRadix(xe,Ee);return}this.t=0,this.s=0;for(var Xe=xe.length,xt=!1,Lt=0;--Xe>=0;){var Ft=Ie==8?xe[Xe]&255:O(xe,Xe);if(Ft<0){xe.charAt(Xe)=="-"&&(xt=!0);continue}xt=!1,Lt==0?this[this.t++]=Ft:Lt+Ie>this.DB?(this[this.t-1]|=(Ft&(1<<this.DB-Lt)-1)<<Lt,this[this.t++]=Ft>>this.DB-Lt):this[this.t-1]|=Ft<<Lt,Lt+=Ie,Lt>=this.DB&&(Lt-=this.DB)}Ie==8&&xe[0]&128&&(this.s=-1,Lt>0&&(this[this.t-1]|=(1<<this.DB-Lt)-1<<Lt)),this.clamp(),xt&&l.ZERO.subTo(this,this)}function ue(){for(var xe=this.s&this.DM;this.t>0&&this[this.t-1]==xe;)--this.t}function Q(xe){if(this.s<0)return"-"+this.negate().toString(xe);var Ee;if(xe==16)Ee=4;else if(xe==8)Ee=3;else if(xe==2)Ee=1;else if(xe==32)Ee=5;else if(xe==4)Ee=2;else return this.toRadix(xe);var Ie=(1<<Ee)-1,Xe,xt=!1,Lt="",Ft=this.t,Ot=this.DB-Ft*this.DB%Ee;if(Ft-- >0)for(Ot<this.DB&&(Xe=this[Ft]>>Ot)>0&&(xt=!0,Lt=F(Xe));Ft>=0;)Ot<Ee?(Xe=(this[Ft]&(1<<Ot)-1)<<Ee-Ot,Xe|=this[--Ft]>>(Ot+=this.DB-Ee)):(Xe=this[Ft]>>(Ot-=Ee)&Ie,Ot<=0&&(Ot+=this.DB,--Ft)),Xe>0&&(xt=!0),xt&&(Lt+=F(Xe));return xt?Lt:"0"}function ce(){var xe=m();return l.ZERO.subTo(this,xe),xe}function he(){return this.s<0?this.negate():this}function ke(xe){var Ee=this.s-xe.s;if(Ee!=0)return Ee;var Ie=this.t;if(Ee=Ie-xe.t,Ee!=0)return this.s<0?-Ee:Ee;for(;--Ie>=0;)if((Ee=this[Ie]-xe[Ie])!=0)return Ee;return 0}function L(xe){var Ee=1,Ie;return(Ie=xe>>>16)!=0&&(xe=Ie,Ee+=16),(Ie=xe>>8)!=0&&(xe=Ie,Ee+=8),(Ie=xe>>4)!=0&&(xe=Ie,Ee+=4),(Ie=xe>>2)!=0&&(xe=Ie,Ee+=2),(Ie=xe>>1)!=0&&(xe=Ie,Ee+=1),Ee}function d(){return this.t<=0?0:this.DB*(this.t-1)+L(this[this.t-1]^this.s&this.DM)}function v(xe,Ee){var Ie;for(Ie=this.t-1;Ie>=0;--Ie)Ee[Ie+xe]=this[Ie];for(Ie=xe-1;Ie>=0;--Ie)Ee[Ie]=0;Ee.t=this.t+xe,Ee.s=this.s}function w(xe,Ee){for(var Ie=xe;Ie<this.t;++Ie)Ee[Ie-xe]=this[Ie];Ee.t=Math.max(this.t-xe,0),Ee.s=this.s}function c(xe,Ee){var Ie=xe%this.DB,Xe=this.DB-Ie,xt=(1<<Xe)-1,Lt=Math.floor(xe/this.DB),Ft=this.s<<Ie&this.DM,Ot;for(Ot=this.t-1;Ot>=0;--Ot)Ee[Ot+Lt+1]=this[Ot]>>Xe|Ft,Ft=(this[Ot]&xt)<<Ie;for(Ot=Lt-1;Ot>=0;--Ot)Ee[Ot]=0;Ee[Lt]=Ft,Ee.t=this.t+Lt+1,Ee.s=this.s,Ee.clamp()}function p(xe,Ee){Ee.s=this.s;var Ie=Math.floor(xe/this.DB);if(Ie>=this.t){Ee.t=0;return}var Xe=xe%this.DB,xt=this.DB-Xe,Lt=(1<<Xe)-1;Ee[0]=this[Ie]>>Xe;for(var Ft=Ie+1;Ft<this.t;++Ft)Ee[Ft-Ie-1]|=(this[Ft]&Lt)<<xt,Ee[Ft-Ie]=this[Ft]>>Xe;Xe>0&&(Ee[this.t-Ie-1]|=(this.s&Lt)<<xt),Ee.t=this.t-Ie,Ee.clamp()}function x(xe,Ee){for(var Ie=0,Xe=0,xt=Math.min(xe.t,this.t);Ie<xt;)Xe+=this[Ie]-xe[Ie],Ee[Ie++]=Xe&this.DM,Xe>>=this.DB;if(xe.t<this.t){for(Xe-=xe.s;Ie<this.t;)Xe+=this[Ie],Ee[Ie++]=Xe&this.DM,Xe>>=this.DB;Xe+=this.s}else{for(Xe+=this.s;Ie<xe.t;)Xe-=xe[Ie],Ee[Ie++]=Xe&this.DM,Xe>>=this.DB;Xe-=xe.s}Ee.s=Xe<0?-1:0,Xe<-1?Ee[Ie++]=this.DV+Xe:Xe>0&&(Ee[Ie++]=Xe),Ee.t=Ie,Ee.clamp()}function S(xe,Ee){var Ie=this.abs(),Xe=xe.abs(),xt=Ie.t;for(Ee.t=xt+Xe.t;--xt>=0;)Ee[xt]=0;for(xt=0;xt<Xe.t;++xt)Ee[xt+Ie.t]=Ie.am(0,Xe[xt],Ee,xt,0,Ie.t);Ee.s=0,Ee.clamp(),this.s!=xe.s&&l.ZERO.subTo(Ee,Ee)}function b(xe){for(var Ee=this.abs(),Ie=xe.t=2*Ee.t;--Ie>=0;)xe[Ie]=0;for(Ie=0;Ie<Ee.t-1;++Ie){var Xe=Ee.am(Ie,Ee[Ie],xe,2*Ie,0,1);(xe[Ie+Ee.t]+=Ee.am(Ie+1,2*Ee[Ie],xe,2*Ie+1,Xe,Ee.t-Ie-1))>=Ee.DV&&(xe[Ie+Ee.t]-=Ee.DV,xe[Ie+Ee.t+1]=1)}xe.t>0&&(xe[xe.t-1]+=Ee.am(Ie,Ee[Ie],xe,2*Ie,0,1)),xe.s=0,xe.clamp()}function h(xe,Ee,Ie){var Xe=xe.abs();if(!(Xe.t<=0)){var xt=this.abs();if(xt.t<Xe.t){Ee!=null&&Ee.fromInt(0),Ie!=null&&this.copyTo(Ie);return}Ie==null&&(Ie=m());var Lt=m(),Ft=this.s,Ot=xe.s,si=this.DB-L(Xe[Xe.t-1]);si>0?(Xe.lShiftTo(si,Lt),xt.lShiftTo(si,Ie)):(Xe.copyTo(Lt),xt.copyTo(Ie));var yi=Lt.t,vi=Lt[yi-1];if(vi!=0){var li=vi*(1<<this.F1)+(yi>1?Lt[yi-2]>>this.F2:0),Vi=this.FV/li,Ei=(1<<this.F1)/li,$i=1<<this.F2,xi=Ie.t,ir=xi-yi,Ji=Ee??m();for(Lt.dlShiftTo(ir,Ji),Ie.compareTo(Ji)>=0&&(Ie[Ie.t++]=1,Ie.subTo(Ji,Ie)),l.ONE.dlShiftTo(yi,Ji),Ji.subTo(Lt,Lt);Lt.t<yi;)Lt[Lt.t++]=0;for(;--ir>=0;){var ur=Ie[--xi]==vi?this.DM:Math.floor(Ie[xi]*Vi+(Ie[xi-1]+$i)*Ei);if((Ie[xi]+=Lt.am(0,ur,Ie,ir,0,yi))<ur)for(Lt.dlShiftTo(ir,Ji),Ie.subTo(Ji,Ie);Ie[xi]<--ur;)Ie.subTo(Ji,Ie)}Ee!=null&&(Ie.drShiftTo(yi,Ee),Ft!=Ot&&l.ZERO.subTo(Ee,Ee)),Ie.t=yi,Ie.clamp(),si>0&&Ie.rShiftTo(si,Ie),Ft<0&&l.ZERO.subTo(Ie,Ie)}}}function T(xe){var Ee=m();return this.abs().divRemTo(xe,null,Ee),this.s<0&&Ee.compareTo(l.ZERO)>0&&xe.subTo(Ee,Ee),Ee}function M(xe){this.m=xe}function j(xe){return xe.s<0||xe.compareTo(this.m)>=0?xe.mod(this.m):xe}function V(xe){return xe}function ee(xe){xe.divRemTo(this.m,null,xe)}function Z(xe,Ee,Ie){xe.multiplyTo(Ee,Ie),this.reduce(Ie)}function U(xe,Ee){xe.squareTo(Ee),this.reduce(Ee)}M.prototype.convert=j,M.prototype.revert=V,M.prototype.reduce=ee,M.prototype.mulTo=Z,M.prototype.sqrTo=U;function z(){if(this.t<1)return 0;var xe=this[0];if(!(xe&1))return 0;var Ee=xe&3;return Ee=Ee*(2-(xe&15)*Ee)&15,Ee=Ee*(2-(xe&255)*Ee)&255,Ee=Ee*(2-((xe&65535)*Ee&65535))&65535,Ee=Ee*(2-xe*Ee%this.DV)%this.DV,Ee>0?this.DV-Ee:-Ee}function ne(xe){this.m=xe,this.mp=xe.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<xe.DB-15)-1,this.mt2=2*xe.t}function fe(xe){var Ee=m();return xe.abs().dlShiftTo(this.m.t,Ee),Ee.divRemTo(this.m,null,Ee),xe.s<0&&Ee.compareTo(l.ZERO)>0&&this.m.subTo(Ee,Ee),Ee}function me(xe){var Ee=m();return xe.copyTo(Ee),this.reduce(Ee),Ee}function de(xe){for(;xe.t<=this.mt2;)xe[xe.t++]=0;for(var Ee=0;Ee<this.m.t;++Ee){var Ie=xe[Ee]&32767,Xe=Ie*this.mpl+((Ie*this.mph+(xe[Ee]>>15)*this.mpl&this.um)<<15)&xe.DM;for(Ie=Ee+this.m.t,xe[Ie]+=this.m.am(0,Xe,xe,Ee,0,this.m.t);xe[Ie]>=xe.DV;)xe[Ie]-=xe.DV,xe[++Ie]++}xe.clamp(),xe.drShiftTo(this.m.t,xe),xe.compareTo(this.m)>=0&&xe.subTo(this.m,xe)}function Oe(xe,Ee){xe.squareTo(Ee),this.reduce(Ee)}function lt(xe,Ee,Ie){xe.multiplyTo(Ee,Ie),this.reduce(Ie)}ne.prototype.convert=fe,ne.prototype.revert=me,ne.prototype.reduce=de,ne.prototype.mulTo=lt,ne.prototype.sqrTo=Oe;function it(){return(this.t>0?this[0]&1:this.s)==0}function ot(xe,Ee){if(xe>4294967295||xe<1)return l.ONE;var Ie=m(),Xe=m(),xt=Ee.convert(this),Lt=L(xe)-1;for(xt.copyTo(Ie);--Lt>=0;)if(Ee.sqrTo(Ie,Xe),(xe&1<<Lt)>0)Ee.mulTo(Xe,xt,Ie);else{var Ft=Ie;Ie=Xe,Xe=Ft}return Ee.revert(Ie)}function Ct(xe,Ee){var Ie;return xe<256||Ee.isEven()?Ie=new M(Ee):Ie=new ne(Ee),this.exp(xe,Ie)}l.prototype.copyTo=N,l.prototype.fromInt=Y,l.prototype.fromString=ie,l.prototype.clamp=ue,l.prototype.dlShiftTo=v,l.prototype.drShiftTo=w,l.prototype.lShiftTo=c,l.prototype.rShiftTo=p,l.prototype.subTo=x,l.prototype.multiplyTo=S,l.prototype.squareTo=b,l.prototype.divRemTo=h,l.prototype.invDigit=z,l.prototype.isEven=it,l.prototype.exp=ot,l.prototype.toString=Q,l.prototype.negate=ce,l.prototype.abs=he,l.prototype.compareTo=ke,l.prototype.bitLength=d,l.prototype.mod=T,l.prototype.modPowInt=Ct,l.ZERO=J(0),l.ONE=J(1);function nt(){var xe=m();return this.copyTo(xe),xe}function Je(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function tt(){return this.t==0?this.s:this[0]<<24>>24}function rt(){return this.t==0?this.s:this[0]<<16>>16}function ht(xe){return Math.floor(Math.LN2*this.DB/Math.log(xe))}function jt(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1}function Ve(xe){if(xe==null&&(xe=10),this.signum()==0||xe<2||xe>36)return"0";var Ee=this.chunkSize(xe),Ie=Math.pow(xe,Ee),Xe=J(Ie),xt=m(),Lt=m(),Ft="";for(this.divRemTo(Xe,xt,Lt);xt.signum()>0;)Ft=(Ie+Lt.intValue()).toString(xe).substr(1)+Ft,xt.divRemTo(Xe,xt,Lt);return Lt.intValue().toString(xe)+Ft}function We(xe,Ee){this.fromInt(0),Ee==null&&(Ee=10);for(var Ie=this.chunkSize(Ee),Xe=Math.pow(Ee,Ie),xt=!1,Lt=0,Ft=0,Ot=0;Ot<xe.length;++Ot){var si=O(xe,Ot);if(si<0){xe.charAt(Ot)=="-"&&this.signum()==0&&(xt=!0);continue}Ft=Ee*Ft+si,++Lt>=Ie&&(this.dMultiply(Xe),this.dAddOffset(Ft,0),Lt=0,Ft=0)}Lt>0&&(this.dMultiply(Math.pow(Ee,Lt)),this.dAddOffset(Ft,0)),xt&&l.ZERO.subTo(this,this)}function Gt(xe,Ee,Ie){if(typeof Ee=="number")if(xe<2)this.fromInt(1);else for(this.fromNumber(xe,Ie),this.testBit(xe-1)||this.bitwiseTo(l.ONE.shiftLeft(xe-1),Ue,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(Ee);)this.dAddOffset(2,0),this.bitLength()>xe&&this.subTo(l.ONE.shiftLeft(xe-1),this);else{var Xe=new Array,xt=xe&7;Xe.length=(xe>>3)+1,Ee.nextBytes(Xe),xt>0?Xe[0]&=(1<<xt)-1:Xe[0]=0,this.fromString(Xe,256)}}function wt(){var xe=this.t,Ee=new Array;Ee[0]=this.s;var Ie=this.DB-xe*this.DB%8,Xe,xt=0;if(xe-- >0)for(Ie<this.DB&&(Xe=this[xe]>>Ie)!=(this.s&this.DM)>>Ie&&(Ee[xt++]=Xe|this.s<<this.DB-Ie);xe>=0;)Ie<8?(Xe=(this[xe]&(1<<Ie)-1)<<8-Ie,Xe|=this[--xe]>>(Ie+=this.DB-8)):(Xe=this[xe]>>(Ie-=8)&255,Ie<=0&&(Ie+=this.DB,--xe)),Xe&128&&(Xe|=-256),xt==0&&(this.s&128)!=(Xe&128)&&++xt,(xt>0||Xe!=this.s)&&(Ee[xt++]=Xe);return Ee}function Et(xe){return this.compareTo(xe)==0}function Yt(xe){return this.compareTo(xe)<0?this:xe}function Ce(xe){return this.compareTo(xe)>0?this:xe}function te(xe,Ee,Ie){var Xe,xt,Lt=Math.min(xe.t,this.t);for(Xe=0;Xe<Lt;++Xe)Ie[Xe]=Ee(this[Xe],xe[Xe]);if(xe.t<this.t){for(xt=xe.s&this.DM,Xe=Lt;Xe<this.t;++Xe)Ie[Xe]=Ee(this[Xe],xt);Ie.t=this.t}else{for(xt=this.s&this.DM,Xe=Lt;Xe<xe.t;++Xe)Ie[Xe]=Ee(xt,xe[Xe]);Ie.t=xe.t}Ie.s=Ee(this.s,xe.s),Ie.clamp()}function ye(xe,Ee){return xe&Ee}function Le(xe){var Ee=m();return this.bitwiseTo(xe,ye,Ee),Ee}function Ue(xe,Ee){return xe|Ee}function Qe(xe){var Ee=m();return this.bitwiseTo(xe,Ue,Ee),Ee}function Ke(xe,Ee){return xe^Ee}function De(xe){var Ee=m();return this.bitwiseTo(xe,Ke,Ee),Ee}function Vt(xe,Ee){return xe&~Ee}function At(xe){var Ee=m();return this.bitwiseTo(xe,Vt,Ee),Ee}function ve(){for(var xe=m(),Ee=0;Ee<this.t;++Ee)xe[Ee]=this.DM&~this[Ee];return xe.t=this.t,xe.s=~this.s,xe}function Pt(xe){var Ee=m();return xe<0?this.rShiftTo(-xe,Ee):this.lShiftTo(xe,Ee),Ee}function pt(xe){var Ee=m();return xe<0?this.lShiftTo(-xe,Ee):this.rShiftTo(xe,Ee),Ee}function Ne(xe){if(xe==0)return-1;var Ee=0;return xe&65535||(xe>>=16,Ee+=16),xe&255||(xe>>=8,Ee+=8),xe&15||(xe>>=4,Ee+=4),xe&3||(xe>>=2,Ee+=2),xe&1||++Ee,Ee}function vt(){for(var xe=0;xe<this.t;++xe)if(this[xe]!=0)return xe*this.DB+Ne(this[xe]);return this.s<0?this.t*this.DB:-1}function ut(xe){for(var Ee=0;xe!=0;)xe&=xe-1,++Ee;return Ee}function $t(){for(var xe=0,Ee=this.s&this.DM,Ie=0;Ie<this.t;++Ie)xe+=ut(this[Ie]^Ee);return xe}function fi(xe){var Ee=Math.floor(xe/this.DB);return Ee>=this.t?this.s!=0:(this[Ee]&1<<xe%this.DB)!=0}function kt(xe,Ee){var Ie=l.ONE.shiftLeft(xe);return this.bitwiseTo(Ie,Ee,Ie),Ie}function Wt(xe){return this.changeBit(xe,Ue)}function Zi(xe){return this.changeBit(xe,Vt)}function Ut(xe){return this.changeBit(xe,Ke)}function Xt(xe,Ee){for(var Ie=0,Xe=0,xt=Math.min(xe.t,this.t);Ie<xt;)Xe+=this[Ie]+xe[Ie],Ee[Ie++]=Xe&this.DM,Xe>>=this.DB;if(xe.t<this.t){for(Xe+=xe.s;Ie<this.t;)Xe+=this[Ie],Ee[Ie++]=Xe&this.DM,Xe>>=this.DB;Xe+=this.s}else{for(Xe+=this.s;Ie<xe.t;)Xe+=xe[Ie],Ee[Ie++]=Xe&this.DM,Xe>>=this.DB;Xe+=xe.s}Ee.s=Xe<0?-1:0,Xe>0?Ee[Ie++]=Xe:Xe<-1&&(Ee[Ie++]=this.DV+Xe),Ee.t=Ie,Ee.clamp()}function Be(xe){var Ee=m();return this.addTo(xe,Ee),Ee}function be(xe){var Ee=m();return this.subTo(xe,Ee),Ee}function ge(xe){var Ee=m();return this.multiplyTo(xe,Ee),Ee}function oe(){var xe=m();return this.squareTo(xe),xe}function Ae(xe){var Ee=m();return this.divRemTo(xe,Ee,null),Ee}function qe(xe){var Ee=m();return this.divRemTo(xe,null,Ee),Ee}function bt(xe){var Ee=m(),Ie=m();return this.divRemTo(xe,Ee,Ie),new Array(Ee,Ie)}function at(xe){this[this.t]=this.am(0,xe-1,this,0,0,this.t),++this.t,this.clamp()}function gt(xe,Ee){if(xe!=0){for(;this.t<=Ee;)this[this.t++]=0;for(this[Ee]+=xe;this[Ee]>=this.DV;)this[Ee]-=this.DV,++Ee>=this.t&&(this[this.t++]=0),++this[Ee]}}function ei(){}function ii(xe){return xe}function Bi(xe,Ee,Ie){xe.multiplyTo(Ee,Ie)}function hi(xe,Ee){xe.squareTo(Ee)}ei.prototype.convert=ii,ei.prototype.revert=ii,ei.prototype.mulTo=Bi,ei.prototype.sqrTo=hi;function Di(xe){return this.exp(xe,new ei)}function ni(xe,Ee,Ie){var Xe=Math.min(this.t+xe.t,Ee);for(Ie.s=0,Ie.t=Xe;Xe>0;)Ie[--Xe]=0;var xt;for(xt=Ie.t-this.t;Xe<xt;++Xe)Ie[Xe+this.t]=this.am(0,xe[Xe],Ie,Xe,0,this.t);for(xt=Math.min(xe.t,Ee);Xe<xt;++Xe)this.am(0,xe[Xe],Ie,Xe,0,Ee-Xe);Ie.clamp()}function pi(xe,Ee,Ie){--Ee;var Xe=Ie.t=this.t+xe.t-Ee;for(Ie.s=0;--Xe>=0;)Ie[Xe]=0;for(Xe=Math.max(Ee-this.t,0);Xe<xe.t;++Xe)Ie[this.t+Xe-Ee]=this.am(Ee-Xe,xe[Xe],Ie,0,0,this.t+Xe-Ee);Ie.clamp(),Ie.drShiftTo(1,Ie)}function Ii(xe){this.r2=m(),this.q3=m(),l.ONE.dlShiftTo(2*xe.t,this.r2),this.mu=this.r2.divide(xe),this.m=xe}function Ci(xe){if(xe.s<0||xe.t>2*this.m.t)return xe.mod(this.m);if(xe.compareTo(this.m)<0)return xe;var Ee=m();return xe.copyTo(Ee),this.reduce(Ee),Ee}function zi(xe){return xe}function qi(xe){for(xe.drShiftTo(this.m.t-1,this.r2),xe.t>this.m.t+1&&(xe.t=this.m.t+1,xe.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);xe.compareTo(this.r2)<0;)xe.dAddOffset(1,this.m.t+1);for(xe.subTo(this.r2,xe);xe.compareTo(this.m)>=0;)xe.subTo(this.m,xe)}function Ai(xe,Ee){xe.squareTo(Ee),this.reduce(Ee)}function ji(xe,Ee,Ie){xe.multiplyTo(Ee,Ie),this.reduce(Ie)}Ii.prototype.convert=Ci,Ii.prototype.revert=zi,Ii.prototype.reduce=qi,Ii.prototype.mulTo=ji,Ii.prototype.sqrTo=Ai;function ki(xe,Ee){var Ie=xe.bitLength(),Xe,xt=J(1),Lt;if(Ie<=0)return xt;Ie<18?Xe=1:Ie<48?Xe=3:Ie<144?Xe=4:Ie<768?Xe=5:Xe=6,Ie<8?Lt=new M(Ee):Ee.isEven()?Lt=new Ii(Ee):Lt=new ne(Ee);var Ft=new Array,Ot=3,si=Xe-1,yi=(1<<Xe)-1;if(Ft[1]=Lt.convert(this),Xe>1){var vi=m();for(Lt.sqrTo(Ft[1],vi);Ot<=yi;)Ft[Ot]=m(),Lt.mulTo(vi,Ft[Ot-2],Ft[Ot]),Ot+=2}var li=xe.t-1,Vi,Ei=!0,$i=m(),xi;for(Ie=L(xe[li])-1;li>=0;){for(Ie>=si?Vi=xe[li]>>Ie-si&yi:(Vi=(xe[li]&(1<<Ie+1)-1)<<si-Ie,li>0&&(Vi|=xe[li-1]>>this.DB+Ie-si)),Ot=Xe;!(Vi&1);)Vi>>=1,--Ot;if((Ie-=Ot)<0&&(Ie+=this.DB,--li),Ei)Ft[Vi].copyTo(xt),Ei=!1;else{for(;Ot>1;)Lt.sqrTo(xt,$i),Lt.sqrTo($i,xt),Ot-=2;Ot>0?Lt.sqrTo(xt,$i):(xi=xt,xt=$i,$i=xi),Lt.mulTo($i,Ft[Vi],xt)}for(;li>=0&&!(xe[li]&1<<Ie);)Lt.sqrTo(xt,$i),xi=xt,xt=$i,$i=xi,--Ie<0&&(Ie=this.DB-1,--li)}return Lt.revert(xt)}function Ti(xe){var Ee=this.s<0?this.negate():this.clone(),Ie=xe.s<0?xe.negate():xe.clone();if(Ee.compareTo(Ie)<0){var Xe=Ee;Ee=Ie,Ie=Xe}var xt=Ee.getLowestSetBit(),Lt=Ie.getLowestSetBit();if(Lt<0)return Ee;for(xt<Lt&&(Lt=xt),Lt>0&&(Ee.rShiftTo(Lt,Ee),Ie.rShiftTo(Lt,Ie));Ee.signum()>0;)(xt=Ee.getLowestSetBit())>0&&Ee.rShiftTo(xt,Ee),(xt=Ie.getLowestSetBit())>0&&Ie.rShiftTo(xt,Ie),Ee.compareTo(Ie)>=0?(Ee.subTo(Ie,Ee),Ee.rShiftTo(1,Ee)):(Ie.subTo(Ee,Ie),Ie.rShiftTo(1,Ie));return Lt>0&&Ie.lShiftTo(Lt,Ie),Ie}function wi(xe){if(xe<=0)return 0;var Ee=this.DV%xe,Ie=this.s<0?xe-1:0;if(this.t>0)if(Ee==0)Ie=this[0]%xe;else for(var Xe=this.t-1;Xe>=0;--Xe)Ie=(Ee*Ie+this[Xe])%xe;return Ie}function oi(xe){var Ee=xe.isEven();if(this.isEven()&&Ee||xe.signum()==0)return l.ZERO;for(var Ie=xe.clone(),Xe=this.clone(),xt=J(1),Lt=J(0),Ft=J(0),Ot=J(1);Ie.signum()!=0;){for(;Ie.isEven();)Ie.rShiftTo(1,Ie),Ee?((!xt.isEven()||!Lt.isEven())&&(xt.addTo(this,xt),Lt.subTo(xe,Lt)),xt.rShiftTo(1,xt)):Lt.isEven()||Lt.subTo(xe,Lt),Lt.rShiftTo(1,Lt);for(;Xe.isEven();)Xe.rShiftTo(1,Xe),Ee?((!Ft.isEven()||!Ot.isEven())&&(Ft.addTo(this,Ft),Ot.subTo(xe,Ot)),Ft.rShiftTo(1,Ft)):Ot.isEven()||Ot.subTo(xe,Ot),Ot.rShiftTo(1,Ot);Ie.compareTo(Xe)>=0?(Ie.subTo(Xe,Ie),Ee&&xt.subTo(Ft,xt),Lt.subTo(Ot,Lt)):(Xe.subTo(Ie,Xe),Ee&&Ft.subTo(xt,Ft),Ot.subTo(Lt,Ot))}if(Xe.compareTo(l.ONE)!=0)return l.ZERO;if(Ot.compareTo(xe)>=0)return Ot.subtract(xe);if(Ot.signum()<0)Ot.addTo(xe,Ot);else return Ot;return Ot.signum()<0?Ot.add(xe):Ot}var zt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Qt=(1<<26)/zt[zt.length-1];function Si(xe){var Ee,Ie=this.abs();if(Ie.t==1&&Ie[0]<=zt[zt.length-1]){for(Ee=0;Ee<zt.length;++Ee)if(Ie[0]==zt[Ee])return!0;return!1}if(Ie.isEven())return!1;for(Ee=1;Ee<zt.length;){for(var Xe=zt[Ee],xt=Ee+1;xt<zt.length&&Xe<Qt;)Xe*=zt[xt++];for(Xe=Ie.modInt(Xe);Ee<xt;)if(Xe%zt[Ee++]==0)return!1}return Ie.millerRabin(xe)}function mi(xe){var Ee=this.subtract(l.ONE),Ie=Ee.getLowestSetBit();if(Ie<=0)return!1;var Xe=Ee.shiftRight(Ie);xe=xe+1>>1,xe>zt.length&&(xe=zt.length);for(var xt=m(),Lt=0;Lt<xe;++Lt){xt.fromInt(zt[Math.floor(Math.random()*zt.length)]);var Ft=xt.modPow(Xe,this);if(Ft.compareTo(l.ONE)!=0&&Ft.compareTo(Ee)!=0){for(var Ot=1;Ot++<Ie&&Ft.compareTo(Ee)!=0;)if(Ft=Ft.modPowInt(2,this),Ft.compareTo(l.ONE)==0)return!1;if(Ft.compareTo(Ee)!=0)return!1}}return!0}l.prototype.chunkSize=ht,l.prototype.toRadix=Ve,l.prototype.fromRadix=We,l.prototype.fromNumber=Gt,l.prototype.bitwiseTo=te,l.prototype.changeBit=kt,l.prototype.addTo=Xt,l.prototype.dMultiply=at,l.prototype.dAddOffset=gt,l.prototype.multiplyLowerTo=ni,l.prototype.multiplyUpperTo=pi,l.prototype.modInt=wi,l.prototype.millerRabin=mi,l.prototype.clone=nt,l.prototype.intValue=Je,l.prototype.byteValue=tt,l.prototype.shortValue=rt,l.prototype.signum=jt,l.prototype.toByteArray=wt,l.prototype.equals=Et,l.prototype.min=Yt,l.prototype.max=Ce,l.prototype.and=Le,l.prototype.or=Qe,l.prototype.xor=De,l.prototype.andNot=At,l.prototype.not=ve,l.prototype.shiftLeft=Pt,l.prototype.shiftRight=pt,l.prototype.getLowestSetBit=vt,l.prototype.bitCount=$t,l.prototype.testBit=fi,l.prototype.setBit=Wt,l.prototype.clearBit=Zi,l.prototype.flipBit=Ut,l.prototype.add=Be,l.prototype.subtract=be,l.prototype.multiply=ge,l.prototype.divide=Ae,l.prototype.remainder=qe,l.prototype.divideAndRemainder=bt,l.prototype.modPow=ki,l.prototype.modInverse=oi,l.prototype.pow=Di,l.prototype.gcd=Ti,l.prototype.isProbablePrime=Si,l.prototype.square=oe,l.prototype.Barrett=Ii;var ai,gi,Hi;function or(xe){gi[Hi++]^=xe&255,gi[Hi++]^=xe>>8&255,gi[Hi++]^=xe>>16&255,gi[Hi++]^=xe>>24&255,Hi>=st&&(Hi-=st)}function nr(){or(new Date().getTime())}if(gi==null){gi=new Array,Hi=0;var Gi;if(typeof window<"u"&&window.crypto){if(window.crypto.getRandomValues){var Mt=new Uint8Array(32);for(window.crypto.getRandomValues(Mt),Gi=0;Gi<32;++Gi)gi[Hi++]=Mt[Gi]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var er=window.crypto.random(32);for(Gi=0;Gi<er.length;++Gi)gi[Hi++]=er.charCodeAt(Gi)&255}}for(;Hi<st;)Gi=Math.floor(65536*Math.random()),gi[Hi++]=Gi>>>8,gi[Hi++]=Gi&255;Hi=0,nr()}function tr(){if(ai==null){for(nr(),ai=Ge(),ai.init(gi),Hi=0;Hi<gi.length;++Hi)gi[Hi]=0;Hi=0}return ai.next()}function br(xe){var Ee;for(Ee=0;Ee<xe.length;++Ee)xe[Ee]=tr()}function le(){}le.prototype.nextBytes=br;function we(){this.i=0,this.j=0,this.S=new Array}function $e(xe){var Ee,Ie,Xe;for(Ee=0;Ee<256;++Ee)this.S[Ee]=Ee;for(Ie=0,Ee=0;Ee<256;++Ee)Ie=Ie+this.S[Ee]+xe[Ee%xe.length]&255,Xe=this.S[Ee],this.S[Ee]=this.S[Ie],this.S[Ie]=Xe;this.i=0,this.j=0}function je(){var xe;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,xe=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=xe,this.S[xe+this.S[this.i]&255]}we.prototype.init=$e,we.prototype.next=je;function Ge(){return new we}var st=256;l.SecureRandom=le,l.BigInteger=l,t.exports=l}).call(commonjsGlobal$1)}(jsbn)),jsbn.exports}var ec,hasRequiredEc;function requireEc(){if(hasRequiredEc)return ec;hasRequiredEc=1;var t=requireJsbn().BigInteger,e=t.prototype.Barrett;function n(c,p){this.x=p,this.q=c}function o(c){return c==this?!0:this.q.equals(c.q)&&this.x.equals(c.x)}function u(){return this.x}function l(){return new n(this.q,this.x.negate().mod(this.q))}function m(c){return new n(this.q,this.x.add(c.toBigInteger()).mod(this.q))}function y(c){return new n(this.q,this.x.subtract(c.toBigInteger()).mod(this.q))}function E(c){return new n(this.q,this.x.multiply(c.toBigInteger()).mod(this.q))}function C(){return new n(this.q,this.x.square().mod(this.q))}function k(c){return new n(this.q,this.x.multiply(c.toBigInteger().modInverse(this.q)).mod(this.q))}n.prototype.equals=o,n.prototype.toBigInteger=u,n.prototype.negate=l,n.prototype.add=m,n.prototype.subtract=y,n.prototype.multiply=E,n.prototype.square=C,n.prototype.divide=k;function A(c,p,x,S){this.curve=c,this.x=p,this.y=x,S==null?this.z=t.ONE:this.z=S,this.zinv=null}function D(){this.zinv==null&&(this.zinv=this.z.modInverse(this.curve.q));var c=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(c),this.curve.fromBigInteger(c)}function P(){this.zinv==null&&(this.zinv=this.z.modInverse(this.curve.q));var c=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(c),this.curve.fromBigInteger(c)}function R(c){if(c==this)return!0;if(this.isInfinity())return c.isInfinity();if(c.isInfinity())return this.isInfinity();var p,x;return p=c.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(c.z)).mod(this.curve.q),p.equals(t.ZERO)?(x=c.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(c.z)).mod(this.curve.q),x.equals(t.ZERO)):!1}function B(){return this.x==null&&this.y==null?!0:this.z.equals(t.ZERO)&&!this.y.toBigInteger().equals(t.ZERO)}function F(){return new A(this.curve,this.x,this.y.negate(),this.z)}function O(c){if(this.isInfinity())return c;if(c.isInfinity())return this;var p=c.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(c.z)).mod(this.curve.q),x=c.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(c.z)).mod(this.curve.q);if(t.ZERO.equals(x))return t.ZERO.equals(p)?this.twice():this.curve.getInfinity();var S=new t("3"),b=this.x.toBigInteger(),h=this.y.toBigInteger();c.x.toBigInteger(),c.y.toBigInteger();var T=x.square(),M=T.multiply(x),j=b.multiply(T),V=p.square().multiply(this.z),ee=V.subtract(j.shiftLeft(1)).multiply(c.z).subtract(M).multiply(x).mod(this.curve.q),Z=j.multiply(S).multiply(p).subtract(h.multiply(M)).subtract(V.multiply(p)).multiply(c.z).add(p.multiply(M)).mod(this.curve.q),U=M.multiply(this.z).multiply(c.z).mod(this.curve.q);return new A(this.curve,this.curve.fromBigInteger(ee),this.curve.fromBigInteger(Z),U)}function N(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var c=new t("3"),p=this.x.toBigInteger(),x=this.y.toBigInteger(),S=x.multiply(this.z),b=S.multiply(x).mod(this.curve.q),h=this.curve.a.toBigInteger(),T=p.square().multiply(c);t.ZERO.equals(h)||(T=T.add(this.z.square().multiply(h))),T=T.mod(this.curve.q);var M=T.square().subtract(p.shiftLeft(3).multiply(b)).shiftLeft(1).multiply(S).mod(this.curve.q),j=T.multiply(c).multiply(p).subtract(b.shiftLeft(1)).shiftLeft(2).multiply(b).subtract(T.square().multiply(T)).mod(this.curve.q),V=S.square().multiply(S).shiftLeft(3).mod(this.curve.q);return new A(this.curve,this.curve.fromBigInteger(M),this.curve.fromBigInteger(j),V)}function Y(c){if(this.isInfinity())return this;if(c.signum()==0)return this.curve.getInfinity();var p=c,x=p.multiply(new t("3")),S=this.negate(),b=this,h;for(h=x.bitLength()-2;h>0;--h){b=b.twice();var T=x.testBit(h),M=p.testBit(h);T!=M&&(b=b.add(T?this:S))}return b}function J(c,p,x){var S;c.bitLength()>x.bitLength()?S=c.bitLength()-1:S=x.bitLength()-1;for(var b=this.curve.getInfinity(),h=this.add(p);S>=0;)b=b.twice(),c.testBit(S)?x.testBit(S)?b=b.add(h):b=b.add(this):x.testBit(S)&&(b=b.add(p)),--S;return b}A.prototype.getX=D,A.prototype.getY=P,A.prototype.equals=R,A.prototype.isInfinity=B,A.prototype.negate=F,A.prototype.add=O,A.prototype.twice=N,A.prototype.multiply=Y,A.prototype.multiplyTwo=J;function ie(c,p,x){this.q=c,this.a=this.fromBigInteger(p),this.b=this.fromBigInteger(x),this.infinity=new A(this,null,null),this.reducer=new e(this.q)}function ue(){return this.q}function Q(){return this.a}function ce(){return this.b}function he(c){return c==this?!0:this.q.equals(c.q)&&this.a.equals(c.a)&&this.b.equals(c.b)}function ke(){return this.infinity}function L(c){return new n(this.q,c)}function d(c){this.reducer.reduce(c)}function v(c){if(c.isInfinity())return"00";var p=c.getX().toBigInteger().toString(16),x=c.getY().toBigInteger().toString(16),S=this.getQ().toString(16).length;for(S%2!=0&&S++;p.length<S;)p="0"+p;for(;x.length<S;)x="0"+x;return"04"+p+x}ie.prototype.getQ=ue,ie.prototype.getA=Q,ie.prototype.getB=ce,ie.prototype.equals=he,ie.prototype.getInfinity=ke,ie.prototype.fromBigInteger=L,ie.prototype.reduce=d,ie.prototype.encodePointHex=v,ie.prototype.decodePointHex=function(c){var p;switch(parseInt(c.substr(0,2),16)){case 0:return this.infinity;case 2:p=!1;case 3:p==null&&(p=!0);var T=c.length-2,M=c.substr(2,T),x=this.fromBigInteger(new t(M,16)),S=x.multiply(x.square().add(this.getA())).add(this.getB()),b=S.sqrt();if(b==null)throw"Invalid point compression";var h=b.toBigInteger();return h.testBit(0)!=p&&(b=this.fromBigInteger(this.getQ().subtract(h))),new A(this,x,b);case 4:case 6:case 7:var T=(c.length-2)/2,M=c.substr(2,T),j=c.substr(T+2,T);return new A(this,this.fromBigInteger(new t(M,16)),this.fromBigInteger(new t(j,16)));default:return null}},ie.prototype.encodeCompressedPointHex=function(c){if(c.isInfinity())return"00";var p=c.getX().toBigInteger().toString(16),x=this.getQ().toString(16).length;for(x%2!=0&&x++;p.length<x;)p="0"+p;var S;return c.getY().toBigInteger().isEven()?S="02":S="03",S+p},n.prototype.getR=function(){if(this.r!=null)return this.r;this.r=null;var c=this.q.bitLength();if(c>128){var p=this.q.shiftRight(c-64);p.intValue()==-1&&(this.r=t.ONE.shiftLeft(c).subtract(this.q))}return this.r},n.prototype.modMult=function(c,p){return this.modReduce(c.multiply(p))},n.prototype.modReduce=function(c){if(this.getR()!=null){for(var p=q.bitLength();c.bitLength()>p+1;){var x=c.shiftRight(p),S=c.subtract(x.shiftLeft(p));this.getR().equals(t.ONE)||(x=x.multiply(this.getR())),c=x.add(S)}for(;c.compareTo(q)>=0;)c=c.subtract(q)}else c=c.mod(q);return c},n.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var c=new n(this.q,this.x.modPow(this.q.shiftRight(2).add(t.ONE),this.q));return c.square().equals(this)?c:null}var p=this.q.subtract(t.ONE),x=p.shiftRight(1);if(!this.x.modPow(x,this.q).equals(t.ONE))return null;var S=p.shiftRight(2),b=S.shiftLeft(1).add(t.ONE),h=this.x,T=modDouble(modDouble(h)),M,j;do{var V;do V=new t(this.q.bitLength(),new SecureRandom);while(V.compareTo(this.q)>=0||!V.multiply(V).subtract(T).modPow(x,this.q).equals(p));var ee=this.lucasSequence(V,h,b);if(M=ee[0],j=ee[1],this.modMult(j,j).equals(T))return j.testBit(0)&&(j=j.add(q)),j=j.shiftRight(1),new n(q,j)}while(M.equals(t.ONE)||M.equals(p));return null},n.prototype.lucasSequence=function(c,p,x){for(var S=x.bitLength(),b=x.getLowestSetBit(),h=t.ONE,T=t.TWO,M=c,j=t.ONE,V=t.ONE,ee=S-1;ee>=b+1;--ee)j=this.modMult(j,V),x.testBit(ee)?(V=this.modMult(j,p),h=this.modMult(h,M),T=this.modReduce(M.multiply(T).subtract(c.multiply(j))),M=this.modReduce(M.multiply(M).subtract(V.shiftLeft(1)))):(V=j,h=this.modReduce(h.multiply(T).subtract(j)),M=this.modReduce(M.multiply(T).subtract(c.multiply(j))),T=this.modReduce(T.multiply(T).subtract(j.shiftLeft(1))));j=this.modMult(j,V),V=this.modMult(j,p),h=this.modReduce(h.multiply(T).subtract(j)),T=this.modReduce(M.multiply(T).subtract(c.multiply(j))),j=this.modMult(j,V);for(var ee=1;ee<=b;++ee)h=this.modMult(h,T),T=this.modReduce(T.multiply(T).subtract(j.shiftLeft(1))),j=this.modMult(j,j);return[h,T]};var w={ECCurveFp:ie,ECPointFp:A,ECFieldElementFp:n};return ec=w,ec}function commonjsRequire(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var naclFast={exports:{}},hasRequiredNaclFast;function requireNaclFast(){return hasRequiredNaclFast||(hasRequiredNaclFast=1,function(t){(function(e){var n=function(Be){var be,ge=new Float64Array(16);if(Be)for(be=0;be<Be.length;be++)ge[be]=Be[be];return ge},o=function(){throw new Error("no PRNG")},u=new Uint8Array(16),l=new Uint8Array(32);l[0]=9;var m=n(),y=n([1]),E=n([56129,1]),C=n([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),k=n([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),A=n([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),D=n([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),P=n([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function R(Be,be,ge,oe){Be[be]=ge>>24&255,Be[be+1]=ge>>16&255,Be[be+2]=ge>>8&255,Be[be+3]=ge&255,Be[be+4]=oe>>24&255,Be[be+5]=oe>>16&255,Be[be+6]=oe>>8&255,Be[be+7]=oe&255}function B(Be,be,ge,oe,Ae){var qe,bt=0;for(qe=0;qe<Ae;qe++)bt|=Be[be+qe]^ge[oe+qe];return(1&bt-1>>>8)-1}function F(Be,be,ge,oe){return B(Be,be,ge,oe,16)}function O(Be,be,ge,oe){return B(Be,be,ge,oe,32)}function N(Be,be,ge,oe){for(var Ae=oe[0]&255|(oe[1]&255)<<8|(oe[2]&255)<<16|(oe[3]&255)<<24,qe=ge[0]&255|(ge[1]&255)<<8|(ge[2]&255)<<16|(ge[3]&255)<<24,bt=ge[4]&255|(ge[5]&255)<<8|(ge[6]&255)<<16|(ge[7]&255)<<24,at=ge[8]&255|(ge[9]&255)<<8|(ge[10]&255)<<16|(ge[11]&255)<<24,gt=ge[12]&255|(ge[13]&255)<<8|(ge[14]&255)<<16|(ge[15]&255)<<24,ei=oe[4]&255|(oe[5]&255)<<8|(oe[6]&255)<<16|(oe[7]&255)<<24,ii=be[0]&255|(be[1]&255)<<8|(be[2]&255)<<16|(be[3]&255)<<24,Bi=be[4]&255|(be[5]&255)<<8|(be[6]&255)<<16|(be[7]&255)<<24,hi=be[8]&255|(be[9]&255)<<8|(be[10]&255)<<16|(be[11]&255)<<24,Di=be[12]&255|(be[13]&255)<<8|(be[14]&255)<<16|(be[15]&255)<<24,ni=oe[8]&255|(oe[9]&255)<<8|(oe[10]&255)<<16|(oe[11]&255)<<24,pi=ge[16]&255|(ge[17]&255)<<8|(ge[18]&255)<<16|(ge[19]&255)<<24,Ii=ge[20]&255|(ge[21]&255)<<8|(ge[22]&255)<<16|(ge[23]&255)<<24,Ci=ge[24]&255|(ge[25]&255)<<8|(ge[26]&255)<<16|(ge[27]&255)<<24,zi=ge[28]&255|(ge[29]&255)<<8|(ge[30]&255)<<16|(ge[31]&255)<<24,qi=oe[12]&255|(oe[13]&255)<<8|(oe[14]&255)<<16|(oe[15]&255)<<24,Ai=Ae,ji=qe,ki=bt,Ti=at,wi=gt,oi=ei,zt=ii,Qt=Bi,Si=hi,mi=Di,ai=ni,gi=pi,Hi=Ii,or=Ci,nr=zi,Gi=qi,Mt,er=0;er<20;er+=2)Mt=Ai+Hi|0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e|0,ki=ki+bt|0,Ti=Ti+at|0,wi=wi+gt|0,oi=oi+ei|0,zt=zt+ii|0,Qt=Qt+Bi|0,Si=Si+hi|0,mi=mi+Di|0,ai=ai+ni|0,gi=gi+pi|0,Hi=Hi+Ii|0,or=or+Ci|0,nr=nr+zi|0,Gi=Gi+qi|0,Be[0]=Ai>>>0&255,Be[1]=Ai>>>8&255,Be[2]=Ai>>>16&255,Be[3]=Ai>>>24&255,Be[4]=ji>>>0&255,Be[5]=ji>>>8&255,Be[6]=ji>>>16&255,Be[7]=ji>>>24&255,Be[8]=ki>>>0&255,Be[9]=ki>>>8&255,Be[10]=ki>>>16&255,Be[11]=ki>>>24&255,Be[12]=Ti>>>0&255,Be[13]=Ti>>>8&255,Be[14]=Ti>>>16&255,Be[15]=Ti>>>24&255,Be[16]=wi>>>0&255,Be[17]=wi>>>8&255,Be[18]=wi>>>16&255,Be[19]=wi>>>24&255,Be[20]=oi>>>0&255,Be[21]=oi>>>8&255,Be[22]=oi>>>16&255,Be[23]=oi>>>24&255,Be[24]=zt>>>0&255,Be[25]=zt>>>8&255,Be[26]=zt>>>16&255,Be[27]=zt>>>24&255,Be[28]=Qt>>>0&255,Be[29]=Qt>>>8&255,Be[30]=Qt>>>16&255,Be[31]=Qt>>>24&255,Be[32]=Si>>>0&255,Be[33]=Si>>>8&255,Be[34]=Si>>>16&255,Be[35]=Si>>>24&255,Be[36]=mi>>>0&255,Be[37]=mi>>>8&255,Be[38]=mi>>>16&255,Be[39]=mi>>>24&255,Be[40]=ai>>>0&255,Be[41]=ai>>>8&255,Be[42]=ai>>>16&255,Be[43]=ai>>>24&255,Be[44]=gi>>>0&255,Be[45]=gi>>>8&255,Be[46]=gi>>>16&255,Be[47]=gi>>>24&255,Be[48]=Hi>>>0&255,Be[49]=Hi>>>8&255,Be[50]=Hi>>>16&255,Be[51]=Hi>>>24&255,Be[52]=or>>>0&255,Be[53]=or>>>8&255,Be[54]=or>>>16&255,Be[55]=or>>>24&255,Be[56]=nr>>>0&255,Be[57]=nr>>>8&255,Be[58]=nr>>>16&255,Be[59]=nr>>>24&255,Be[60]=Gi>>>0&255,Be[61]=Gi>>>8&255,Be[62]=Gi>>>16&255,Be[63]=Gi>>>24&255}function Y(Be,be,ge,oe){for(var Ae=oe[0]&255|(oe[1]&255)<<8|(oe[2]&255)<<16|(oe[3]&255)<<24,qe=ge[0]&255|(ge[1]&255)<<8|(ge[2]&255)<<16|(ge[3]&255)<<24,bt=ge[4]&255|(ge[5]&255)<<8|(ge[6]&255)<<16|(ge[7]&255)<<24,at=ge[8]&255|(ge[9]&255)<<8|(ge[10]&255)<<16|(ge[11]&255)<<24,gt=ge[12]&255|(ge[13]&255)<<8|(ge[14]&255)<<16|(ge[15]&255)<<24,ei=oe[4]&255|(oe[5]&255)<<8|(oe[6]&255)<<16|(oe[7]&255)<<24,ii=be[0]&255|(be[1]&255)<<8|(be[2]&255)<<16|(be[3]&255)<<24,Bi=be[4]&255|(be[5]&255)<<8|(be[6]&255)<<16|(be[7]&255)<<24,hi=be[8]&255|(be[9]&255)<<8|(be[10]&255)<<16|(be[11]&255)<<24,Di=be[12]&255|(be[13]&255)<<8|(be[14]&255)<<16|(be[15]&255)<<24,ni=oe[8]&255|(oe[9]&255)<<8|(oe[10]&255)<<16|(oe[11]&255)<<24,pi=ge[16]&255|(ge[17]&255)<<8|(ge[18]&255)<<16|(ge[19]&255)<<24,Ii=ge[20]&255|(ge[21]&255)<<8|(ge[22]&255)<<16|(ge[23]&255)<<24,Ci=ge[24]&255|(ge[25]&255)<<8|(ge[26]&255)<<16|(ge[27]&255)<<24,zi=ge[28]&255|(ge[29]&255)<<8|(ge[30]&255)<<16|(ge[31]&255)<<24,qi=oe[12]&255|(oe[13]&255)<<8|(oe[14]&255)<<16|(oe[15]&255)<<24,Ai=Ae,ji=qe,ki=bt,Ti=at,wi=gt,oi=ei,zt=ii,Qt=Bi,Si=hi,mi=Di,ai=ni,gi=pi,Hi=Ii,or=Ci,nr=zi,Gi=q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<18|Mt>>>14;Be[0]=Ai>>>0&255,Be[1]=Ai>>>8&255,Be[2]=Ai>>>16&255,Be[3]=Ai>>>24&255,Be[4]=oi>>>0&255,Be[5]=oi>>>8&255,Be[6]=oi>>>16&255,Be[7]=oi>>>24&255,Be[8]=ai>>>0&255,Be[9]=ai>>>8&255,Be[10]=ai>>>16&255,Be[11]=ai>>>24&255,Be[12]=Gi>>>0&255,Be[13]=Gi>>>8&255,Be[14]=Gi>>>16&255,Be[15]=Gi>>>24&255,Be[16]=zt>>>0&255,Be[17]=zt>>>8&255,Be[18]=zt>>>16&255,Be[19]=zt>>>24&255,Be[20]=Qt>>>0&255,Be[21]=Qt>>>8&255,Be[22]=Qt>>>16&255,Be[23]=Qt>>>24&255,Be[24]=Si>>>0&255,Be[25]=Si>>>8&255,Be[26]=Si>>>16&255,Be[27]=Si>>>24&255,Be[28]=mi>>>0&255,Be[29]=mi>>>8&255,Be[30]=mi>>>16&255,Be[31]=mi>>>24&255}function J(Be,be,ge,oe){N(Be,be,ge,oe)}function ie(Be,be,ge,oe){Y(Be,be,ge,oe)}var ue=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function Q(Be,be,ge,oe,Ae,qe,bt){var at=new Uint8Array(16),gt=new Uint8Array(64),ei,ii;for(ii=0;ii<16;ii++)at[ii]=0;for(ii=0;ii<8;ii++)at[ii]=qe[ii];for(;Ae>=64;){for(J(gt,at,bt,ue),ii=0;ii<64;ii++)Be[be+ii]=ge[oe+ii]^gt[ii];for(ei=1,ii=8;ii<16;ii++)ei=ei+(at[ii]&255)|0,at[ii]=ei&255,ei>>>=8;Ae-=64,be+=64,oe+=64}if(Ae>0)for(J(gt,at,bt,ue),ii=0;ii<Ae;ii++)Be[be+ii]=ge[oe+ii]^gt[ii];return 0}function ce(Be,be,ge,oe,Ae){var qe=new Uint8Array(16),bt=new Uint8Array(64),at,gt;for(gt=0;gt<16;gt++)qe[gt]=0;for(gt=0;gt<8;gt++)qe[gt]=oe[gt];for(;ge>=64;){for(J(bt,qe,Ae,ue),gt=0;gt<64;gt++)Be[be+gt]=bt[gt];for(at=1,gt=8;gt<16;gt++)at=at+(qe[gt]&255)|0,qe[gt]=at&255,at>>>=8;ge-=64,be+=64}if(ge>0)for(J(bt,qe,Ae,ue),gt=0;gt<ge;gt++)Be[be+gt]=bt[gt];return 0}function he(Be,be,ge,oe,Ae){var qe=new Uint8Array(32);ie(qe,oe,Ae,ue);for(var bt=new Uint8Array(8),at=0;at<8;at++)bt[at]=oe[at+16];return ce(Be,be,ge,bt,qe)}function ke(Be,be,ge,oe,Ae,qe,bt){var at=new Uint8Array(32);ie(at,qe,bt,ue);for(var gt=new Uint8Array(8),ei=0;ei<8;ei++)gt[ei]=qe[ei+16];return Q(Be,be,ge,oe,Ae,gt,at)}var L=function(Be){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var be,ge,oe,Ae,qe,bt,at,gt;be=Be[0]&255|(Be[1]&255)<<8,this.r[0]=be&8191,ge=Be[2]&255|(Be[3]&255)<<8,this.r[1]=(be>>>13|ge<<3)&8191,oe=Be[4]&255|(Be[5]&255)<<8,this.r[2]=(ge>>>10|oe<<6)&7939,Ae=Be[6]&255|(Be[7]&255)<<8,this.r[3]=(oe>>>7|Ae<<9)&8191,qe=Be[8]&255|(Be[9]&255)<<8,this.r[4]=(Ae>>>4|qe<<12)&255,this.r[5]=qe>>>1&8190,bt=Be[10]&255|(Be[11]&255)<<8,this.r[6]=(qe>>>14|bt<<2)&8191,at=Be[12]&255|(Be[13]&255)<<8,this.r[7]=(bt>>>11|at<<5)&8065,gt=Be[14]&255|(Be[15]&255)<<8,this.r[8]=(at>>>8|gt<<8)&8191,this.r[9]=gt>>>5&127,this.pad[0]=Be[16]&255|(Be[17]&255)<<8,this.pad[1]=Be[18]&255|(Be[19]&255)<<8,this.pad[2]=Be[20]&255|(Be[21]&255)<<8,this.pad[3]=Be[22]&255|(Be[23]&255)<<8,this.pad[4]=Be[24]&255|(Be[25]&255)<<8,this.pad[5]=Be[26]&255|(Be[27]&255)<<8,this.pad[6]=Be[28]&255|(Be[29]&255)<<8,this.pad[7]=Be[30]&255|(Be[31]&255)<<8};L.prototype.blocks=function(Be,be,ge){for(var oe=this.fin?0:2048,Ae,qe,bt,at,gt,ei,ii,Bi,hi,Di,ni,pi,Ii,Ci,zi,qi,Ai,ji,ki,Ti=this.h[0],wi=this.h[1],oi=this.h[2],zt=this.h[3],Qt=this.h[4],Si=this.h[5],mi=this.h[6],ai=this.h[7],gi=this.h[8],Hi=this.h[9],or=this.r[0],nr=this.r[1],Gi=this.r[2],Mt=this.r[3],er=this.r[4],tr=this.r[5],br=this.r[6],le=this.r[7],we=this.r[8],$e=this.r[9];ge>=16;)Ae=Be[be+0]&255|(Be[be+1]&255)<<8,Ti+=Ae&8191,qe=Be[be+2]&255|(Be[be+3]&255)<<8,wi+=(Ae>>>13|qe<<3)&8191,bt=Be[be+4]&255|(Be[be+5]&255)<<8,oi+=(qe>>>10|bt<<6)&8191,at=Be[be+6]&255|(Be[be+7]&255)<<8,zt+=(bt>>>7|at<<9)&8191,gt=Be[be+8]&255|(Be[be+9]&255)<<8,Qt+=(at>>>4|gt<<12)&8191,Si+=gt>>>1&8191,ei=Be[be+10]&255|(Be[be+11]&255)<<8,mi+=(gt>>>14|ei<<2)&8191,ii=Be[be+12]&255|(Be[be+13]&255)<<8,ai+=(ei>>>11|ii<<5)&8191,Bi=Be[be+14]&255|(Be[be+15]&255)<<8,gi+=(ii>>>8|Bi<<8)&8191,Hi+=Bi>>>5|oe,hi=0,Di=hi,Di+=Ti*or,Di+=wi*(5*$e),Di+=oi*(5*we),Di+=zt*(5*le),Di+=Qt*(5*br),hi=Di>>>13,Di&=8191,Di+=Si*(5*tr),Di+=mi*(5*er),Di+=ai*(5*Mt),Di+=gi*(5*Gi),Di+=Hi*(5*nr),hi+=Di>>>13,Di&=8191,ni=hi,ni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*Mt,hi=Ai>>>13,Ai&=8191,Ai+=Si*Gi,Ai+=mi*nr,Ai+=ai*or,Ai+=gi*(5*$e),Ai+=Hi*(5*we),hi+=Ai>>>13,Ai&=8191,ji=hi,ji+=Ti*we,ji+=wi*le,ji+=oi*br,ji+=zt*tr,ji+=Qt*er,hi=ji>>>13,ji&=8191,ji+=Si*Mt,ji+=mi*Gi,ji+=ai*nr,ji+=gi*or,ji+=Hi*(5*$e),hi+=ji>>>13,ji&=8191,ki=hi,ki+=Ti*$e,ki+=wi*we,ki+=oi*le,ki+=zt*br,ki+=Qt*tr,hi=ki>>>13,ki&=8191,ki+=Si*er,ki+=mi*Mt,ki+=ai*Gi,ki+=gi*nr,ki+=Hi*or,hi+=ki>>>13,ki&=8191,hi=(hi<<2)+hi|0,hi=hi+Di|0,Di=hi&8191,hi=hi>>>13,ni+=hi,Ti=Di,wi=ni,oi=pi,zt=Ii,Qt=Ci,Si=zi,mi=qi,ai=Ai,gi=ji,Hi=ki,be+=16,ge-=16;this.h[0]=Ti,this.h[1]=wi,this.h[2]=oi,this.h[3]=zt,this.h[4]=Qt,this.h[5]=Si,this.h[6]=mi,this.h[7]=ai,this.h[8]=gi,this.h[9]=Hi},L.prototype.finish=function(Be,be){var ge=new Uint16Array(10),oe,Ae,qe,bt;if(this.leftover){for(bt=this.leftover,this.buffer[bt++]=1;bt<16;bt++)this.buffer[bt]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(oe=this.h[1]>>>13,this.h[1]&=8191,bt=2;bt<10;bt++)this.h[bt]+=oe,oe=this.h[bt]>>>13,this.h[bt]&=8191;for(this.h[0]+=oe*5,oe=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=oe,oe=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=oe,ge[0]=this.h[0]+5,oe=ge[0]>>>13,ge[0]&=8191,bt=1;bt<10;bt++)ge[bt]=this.h[bt]+oe,oe=ge[bt]>>>13,ge[bt]&=8191;for(ge[9]-=8192,Ae=(oe^1)-1,bt=0;bt<10;bt++)ge[bt]&=Ae;for(Ae=~Ae,bt=0;bt<10;bt++)this.h[bt]=this.h[bt]&Ae|ge[bt];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,qe=this.h[0]+this.pad[0],this.h[0]=qe&65535,bt=1;bt<8;bt++)qe=(this.h[bt]+this.pad[bt]|0)+(qe>>>16)|0,this.h[bt]=qe&65535;Be[be+0]=this.h[0]>>>0&255,Be[be+1]=this.h[0]>>>8&255,Be[be+2]=this.h[1]>>>0&255,Be[be+3]=this.h[1]>>>8&255,Be[be+4]=this.h[2]>>>0&255,Be[be+5]=this.h[2]>>>8&255,Be[be+6]=this.h[3]>>>0&255,Be[be+7]=this.h[3]>>>8&255,Be[be+8]=this.h[4]>>>0&255,Be[be+9]=this.h[4]>>>8&255,Be[be+10]=this.h[5]>>>0&255,Be[be+11]=this.h[5]>>>8&255,Be[be+12]=this.h[6]>>>0&255,Be[be+13]=this.h[6]>>>8&255,Be[be+14]=this.h[7]>>>0&255,Be[be+15]=this.h[7]>>>8&255},L.prototype.update=function(Be,be,ge){var oe,Ae;if(this.leftover){for(Ae=16-this.leftover,Ae>ge&&(Ae=ge),oe=0;oe<Ae;oe++)this.buffer[this.leftover+oe]=Be[be+oe];if(ge-=Ae,be+=Ae,this.leftover+=Ae,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(ge>=16&&(Ae=ge-ge%16,this.blocks(Be,be,Ae),be+=Ae,ge-=Ae),ge){for(oe=0;oe<ge;oe++)this.buffer[this.leftover+oe]=Be[be+oe];this.leftover+=ge}};function d(Be,be,ge,oe,Ae,qe){var bt=new L(qe);return bt.update(ge,oe,Ae),bt.finish(Be,be),0}function v(Be,be,ge,oe,Ae,qe){var bt=new Uint8Array(16);return d(bt,0,ge,oe,Ae,qe),F(Be,be,bt,0)}function w(Be,be,ge,oe,Ae){var qe;if(ge<32)return-1;for(ke(Be,0,be,0,ge,oe,Ae),d(Be,16,Be,32,ge-32,Be),qe=0;qe<16;qe++)Be[qe]=0;return 0}function c(Be,be,ge,oe,Ae){var qe,bt=new Uint8Array(32);if(ge<32||(he(bt,0,32,oe,Ae),v(be,16,be,32,ge-32,bt)!==0))return-1;for(ke(Be,0,be,0,ge,oe,Ae),qe=0;qe<32;qe++)Be[qe]=0;return 0}function p(Be,be){var ge;for(ge=0;ge<16;ge++)Be[ge]=be[ge]|0}function x(Be){var be,ge,oe=1;for(be=0;be<16;be++)ge=Be[be]+oe+65535,oe=Math.floor(ge/65536),Be[be]=ge-oe*65536;Be[0]+=oe-1+37*(oe-1)}function S(Be,be,ge){for(var oe,Ae=~(ge-1),qe=0;qe<16;qe++)oe=Ae&(Be[qe]^be[qe]),Be[qe]^=oe,be[qe]^=oe}function b(Be,be){var ge,oe,Ae,qe=n(),bt=n();for(ge=0;ge<16;ge++)bt[ge]=be[ge];for(x(bt),x(bt),x(bt),oe=0;oe<2;oe++){for(qe[0]=bt[0]-65517,ge=1;ge<15;ge++)qe[ge]=bt[ge]-65535-(qe[ge-1]>>16&1),qe[ge-1]&=65535;qe[15]=bt[15]-32767-(qe[14]>>16&1),Ae=qe[15]>>16&1,qe[14]&=65535,S(bt,qe,1-Ae)}for(ge=0;ge<16;ge++)Be[2*ge]=bt[ge]&255,Be[2*ge+1]=bt[ge]>>8}function h(Be,be){var ge=new Uint8Array(32),oe=new Uint8Array(32);return b(ge,Be),b(oe,be),O(ge,0,oe,0)}function T(Be){var be=new Uint8Array(32);return b(be,Be),be[0]&1}function M(Be,be){var ge;for(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e*br,wi+=oe*le,oi+=oe*we,zt+=oe*$e,Qt+=oe*je,Si+=oe*Ge,mi+=oe*st,ai+=oe*xe,gi+=oe*Ee,Hi+=oe*Ie,or+=oe*Xe,nr+=oe*xt,Gi+=oe*Lt,qe+=38*ji,bt+=38*ki,at+=38*Ti,gt+=38*wi,ei+=38*oi,ii+=38*zt,Bi+=38*Qt,hi+=38*Si,Di+=38*mi,ni+=38*ai,pi+=38*gi,Ii+=38*Hi,Ci+=38*or,zi+=38*nr,qi+=38*Gi,Ae=1,oe=qe+Ae+65535,Ae=Math.floor(oe/65536),qe=oe-Ae*65536,oe=bt+Ae+65535,Ae=Math.floor(oe/65536),bt=oe-Ae*65536,oe=at+Ae+65535,Ae=Math.floor(oe/65536),at=oe-Ae*65536,oe=gt+Ae+65535,Ae=Math.floor(oe/65536),gt=oe-Ae*65536,oe=ei+Ae+65535,Ae=Math.floor(oe/65536),ei=oe-Ae*65536,oe=ii+Ae+65535,Ae=Math.floor(oe/65536),ii=oe-Ae*65536,oe=Bi+Ae+65535,Ae=Math.floor(oe/65536),Bi=oe-Ae*65536,oe=hi+Ae+65535,Ae=Math.floor(oe/65536),hi=oe-Ae*65536,oe=Di+Ae+65535,Ae=Math.floor(oe/65536),Di=oe-Ae*65536,oe=ni+Ae+65535,Ae=Math.floor(oe/65536),ni=oe-Ae*65536,oe=pi+Ae+65535,Ae=Math.floor(oe/65536),pi=oe-Ae*65536,oe=Ii+Ae+65535,Ae=Math.floor(oe/65536),Ii=oe-Ae*65536,oe=Ci+Ae+65535,Ae=Math.floor(oe/65536),Ci=oe-Ae*65536,oe=zi+Ae+65535,Ae=Math.floor(oe/65536),zi=oe-Ae*65536,oe=qi+Ae+65535,Ae=Math.floor(oe/65536),qi=oe-Ae*65536,oe=Ai+Ae+65535,Ae=Math.floor(oe/65536),Ai=oe-Ae*65536,qe+=Ae-1+37*(Ae-1),Ae=1,oe=qe+Ae+65535,Ae=Math.floor(oe/65536),qe=oe-Ae*65536,oe=bt+Ae+65535,Ae=Math.floor(oe/65536),bt=oe-Ae*65536,oe=at+Ae+65535,Ae=Math.floor(oe/65536),at=oe-Ae*65536,oe=gt+Ae+65535,Ae=Math.floor(oe/65536),gt=oe-Ae*65536,oe=ei+Ae+65535,Ae=Math.floor(oe/65536),ei=oe-Ae*65536,oe=ii+Ae+65535,Ae=Math.floor(oe/65536),ii=oe-Ae*65536,oe=Bi+Ae+65535,Ae=Math.floor(oe/65536),Bi=oe-Ae*65536,oe=hi+Ae+65535,Ae=Math.floor(oe/65536),hi=oe-Ae*65536,oe=Di+Ae+65535,Ae=Math.floor(oe/65536),Di=oe-Ae*65536,oe=ni+Ae+65535,Ae=Math.floor(oe/65536),ni=oe-Ae*65536,oe=pi+Ae+65535,Ae=Math.floor(oe/65536),pi=oe-Ae*65536,oe=Ii+Ae+65535,Ae=Math.floor(oe/65536),Ii=oe-Ae*65536,oe=Ci+Ae+65535,Ae=Math.floor(oe/65536),Ci=oe-Ae*65536,oe=zi+Ae+65535,Ae=Math.floor(oe/65536),zi=oe-Ae*65536,oe=qi+Ae+65535,Ae=Math.floor(oe/65536),qi=oe-Ae*65536,oe=Ai+Ae+65535,Ae=Math.floor(oe/65536),Ai=oe-Ae*65536,qe+=Ae-1+37*(Ae-1),Be[0]=qe,Be[1]=bt,Be[2]=at,Be[3]=gt,Be[4]=ei,Be[5]=ii,Be[6]=Bi,Be[7]=hi,Be[8]=Di,Be[9]=ni,Be[10]=pi,Be[11]=Ii,Be[12]=Ci,Be[13]=zi,Be[14]=qi,Be[15]=Ai}function Z(Be,be){ee(Be,be,be)}function U(Be,be){var ge=n(),oe;for(oe=0;oe<16;oe++)ge[oe]=be[oe];for(oe=253;oe>=0;oe--)Z(ge,ge),oe!==2&&oe!==4&&ee(ge,ge,be);for(oe=0;oe<16;oe++)Be[oe]=ge[oe]}function z(Be,be){var ge=n(),oe;for(oe=0;oe<16;oe++)ge[oe]=be[oe];for(oe=250;oe>=0;oe--)Z(ge,ge),oe!==1&&ee(ge,ge,be);for(oe=0;oe<16;oe++)Be[oe]=ge[oe]}function ne(Be,be,ge){var oe=new Uint8Array(32),Ae=new Float64Array(80),qe,bt,at=n(),gt=n(),ei=n(),ii=n(),Bi=n(),hi=n();for(bt=0;bt<31;bt++)oe[bt]=be[bt];for(oe[31]=be[31]&127|64,oe[0]&=248,M(Ae,ge),bt=0;bt<16;bt++)gt[bt]=Ae[bt],ii[bt]=at[bt]=ei[bt]=0;for(at[0]=ii[0]=1,bt=254;bt>=0;--bt)qe=oe[bt>>>3]>>>(bt&7)&1,S(at,gt,qe),S(ei,ii,qe),j(Bi,at,ei),V(at,at,ei),j(ei,gt,ii),V(gt,gt,ii),Z(ii,Bi),Z(hi,at),ee(at,ei,at),ee(ei,gt,Bi),j(Bi,at,ei),V(at,at,ei),Z(gt,at),V(ei,ii,hi),ee(at,ei,E),j(at,at,ii),ee(ei,ei,at),ee(at,ii,hi),ee(ii,gt,Ae),Z(gt,Bi),S(at,gt,qe),S(ei,ii,qe);for(bt=0;bt<16;bt++)Ae[bt+16]=at[bt],Ae[bt+32]=ei[bt],Ae[bt+48]=gt[bt],Ae[bt+64]=ii[bt];var Di=Ae.subarray(32),ni=Ae.subarray(16);return U(Di,Di),ee(ni,ni,Di),b(Be,ni),0}function fe(Be,be){return ne(Be,be,l)}function me(Be,be){return o(be,32),fe(Be,be)}function de(Be,be,ge){var oe=new Uint8Array(32);return ne(oe,ge,be),ie(Be,u,oe,ue)}var Oe=w,lt=c;function it(Be,be,ge,oe,Ae,qe){var bt=new Uint8Array(32);return de(bt,Ae,qe),Oe(Be,be,ge,oe,bt)}function ot(Be,be,ge,oe,Ae,qe){var bt=new Uint8Array(32);return de(bt,Ae,qe),lt(Be,be,ge,oe,bt)}var Ct=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function nt(Be,be,ge,oe){for(var Ae=new Int32Array(16),qe=new Int32Array(16),bt,at,gt,ei,ii,Bi,hi,Di,ni,pi,Ii,Ci,zi,qi,Ai,ji,ki,Ti,wi,oi,zt,Qt,Si,mi,ai,gi,Hi=Be[0],or=Be[1],nr=Be[2],Gi=Be[3],Mt=Be[4],er=Be[5],tr=Be[6],br=Be[7],le=be[0],we=be[1],$e=be[2],je=be[3],Ge=be[4],st=be[5],xe=be[6],Ee=be[7],Ie=0;oe>=128;){for(wi=0;wi<16;wi++)oi=8*wi+Ie,Ae[wi]=ge[oi+0]<<24|ge[oi+1]<<16|ge[oi+2]<<8|ge[oi+3],qe[wi]=ge[oi+4]<<24|ge[oi+5]<<16|ge[oi+6]<<8|ge[oi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535,mi+=Qt>>>16,ai+=zt&65535,gi+=zt>>>16,mi+=Si>>>16,ai+=mi>>>16,gi+=ai>>>16,Be[1]=or=ai&65535|gi<<16,be[1]=we=Si&65535|mi<<16,zt=nr,Qt=$e,Si=Qt&65535,mi=Qt>>>16,ai=zt&65535,gi=zt>>>16,zt=Be[2],Qt=be[2],Si+=Qt&65535,mi+=Qt>>>16,ai+=zt&65535,gi+=zt>>>16,mi+=Si>>>16,ai+=mi>>>16,gi+=ai>>>16,Be[2]=nr=ai&65535|gi<<16,be[2]=$e=Si&65535|mi<<16,zt=Gi,Qt=je,Si=Qt&65535,mi=Qt>>>16,ai=zt&65535,gi=zt>>>16,zt=Be[3],Qt=be[3],Si+=Qt&65535,mi+=Qt>>>16,ai+=zt&65535,gi+=zt>>>16,mi+=Si>>>16,ai+=mi>>>16,gi+=ai>>>16,Be[3]=Gi=ai&65535|gi<<16,be[3]=je=Si&65535|mi<<16,zt=Mt,Qt=Ge,Si=Qt&65535,mi=Qt>>>16,ai=zt&65535,gi=zt>>>16,zt=Be[4],Qt=be[4],Si+=Qt&65535,mi+=Qt>>>16,ai+=zt&65535,gi+=zt>>>16,mi+=Si>>>16,ai+=mi>>>16,gi+=ai>>>16,Be[4]=Mt=ai&65535|gi<<16,be[4]=Ge=Si&65535|mi<<16,zt=er,Qt=st,Si=Qt&65535,mi=Qt>>>16,ai=zt&65535,gi=zt>>>16,zt=Be[5],Qt=be[5],Si+=Qt&65535,mi+=Qt>>>16,ai+=zt&65535,gi+=zt>>>16,mi+=Si>>>16,ai+=mi>>>16,gi+=ai>>>16,Be[5]=er=ai&65535|gi<<16,be[5]=st=Si&65535|mi<<16,zt=tr,Qt=xe,Si=Qt&65535,mi=Qt>>>16,ai=zt&65535,gi=zt>>>16,zt=Be[6],Qt=be[6],Si+=Qt&65535,mi+=Qt>>>16,ai+=zt&65535,gi+=zt>>>16,mi+=Si>>>16,ai+=mi>>>16,gi+=ai>>>16,Be[6]=tr=ai&65535|gi<<16,be[6]=xe=Si&65535|mi<<16,zt=br,Qt=Ee,Si=Qt&65535,mi=Qt>>>16,ai=zt&65535,gi=zt>>>16,zt=Be[7],Qt=be[7],Si+=Qt&65535,mi+=Qt>>>16,ai+=zt&65535,gi+=zt>>>16,mi+=Si>>>16,ai+=mi>>>16,gi+=ai>>>16,Be[7]=br=ai&65535|gi<<16,be[7]=Ee=Si&65535|mi<<16,Ie+=128,oe-=128}return oe}function Je(Be,be,ge){var oe=new Int32Array(8),Ae=new Int32Array(8),qe=new Uint8Array(256),bt,at=ge;for(oe[0]=1779033703,oe[1]=3144134277,oe[2]=1013904242,oe[3]=2773480762,oe[4]=1359893119,oe[5]=2600822924,oe[6]=528734635,oe[7]=1541459225,Ae[0]=4089235720,Ae[1]=2227873595,Ae[2]=4271175723,Ae[3]=1595750129,Ae[4]=2917565137,Ae[5]=725511199,Ae[6]=4215389547,Ae[7]=327033209,nt(oe,Ae,be,ge),ge%=128,bt=0;bt<ge;bt++)qe[bt]=be[at-ge+bt];for(qe[ge]=128,ge=256-128*(ge<112?1:0),qe[ge-9]=0,R(qe,ge-8,at/536870912|0,at<<3),nt(oe,Ae,qe,ge),bt=0;bt<8;bt++)R(Be,8*bt,oe[bt],Ae[bt]);return 0}function tt(Be,be){var ge=n(),oe=n(),Ae=n(),qe=n(),bt=n(),at=n(),gt=n(),ei=n(),ii=n();V(ge,Be[1],Be[0]),V(ii,be[1],be[0]),ee(ge,ge,ii),j(oe,Be[0],Be[1]),j(ii,be[0],be[1]),ee(oe,oe,ii),ee(Ae,Be[3],be[3]),ee(Ae,Ae,k),ee(qe,Be[2],be[2]),j(qe,qe,qe),V(bt,oe,ge),V(at,qe,Ae),j(gt,qe,Ae),j(ei,oe,ge),ee(Be[0],bt,at),ee(Be[1],ei,gt),ee(Be[2],gt,at),ee(Be[3],bt,ei)}function rt(Be,be,ge){var oe;for(oe=0;oe<4;oe++)S(Be[oe],be[oe],ge)}function ht(Be,be){var ge=n(),oe=n(),Ae=n();U(Ae,be[2]),ee(ge,be[0],Ae),ee(oe,be[1],Ae),b(Be,oe),Be[31]^=T(ge)<<7}function jt(Be,be,ge){var oe,Ae;for(p(Be[0],m),p(Be[1],y),p(Be[2],y),p(Be[3],m),Ae=255;Ae>=0;--Ae)oe=ge[Ae/8|0]>>(Ae&7)&1,rt(Be,be,oe),tt(be,Be),tt(Be,Be),rt(Be,be,oe)}function Ve(Be,be){var ge=[n(),n(),n(),n()];p(ge[0],A),p(ge[1],D),p(ge[2],y),ee(ge[3],A,D),jt(Be,ge,be)}function We(Be,be,ge){var oe=new Uint8Array(64),Ae=[n(),n(),n(),n()],qe;for(ge||o(be,32),Je(oe,be,32),oe[0]&=248,oe[31]&=127,oe[31]|=64,Ve(Ae,oe),ht(Be,Ae),qe=0;qe<32;qe++)be[qe+32]=Be[qe];return 0}var Gt=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function wt(Be,be){var ge,oe,Ae,qe;for(oe=63;oe>=32;--oe){for(ge=0,Ae=oe-32,qe=oe-12;Ae<qe;++Ae)be[Ae]+=ge-16*be[oe]*Gt[Ae-(oe-32)],ge=be[Ae]+128>>8,be[Ae]-=ge*256;be[Ae]+=ge,be[oe]=0}for(ge=0,Ae=0;Ae<32;Ae++)be[Ae]+=ge-(be[31]>>4)*Gt[Ae],ge=be[Ae]>>8,be[Ae]&=255;for(Ae=0;Ae<32;Ae++)be[Ae]-=ge*Gt[Ae];for(oe=0;oe<32;oe++)be[oe+1]+=be[oe]>>8,Be[oe]=be[oe]&255}function Et(Be){var be=new Float64Array(64),ge;for(ge=0;ge<64;ge++)be[ge]=Be[ge];for(ge=0;ge<64;ge++)Be[ge]=0;wt(Be,be)}function Yt(Be,be,ge,oe){var Ae=new Uint8Array(64),qe=new Uint8Array(64),bt=new Uint8Array(64),at,gt,ei=new Float64Array(64),ii=[n(),n(),n(),n()];Je(Ae,oe,32),Ae[0]&=248,Ae[31]&=127,Ae[31]|=64;var Bi=ge+64;for(at=0;at<ge;at++)Be[64+at]=be[at];for(at=0;at<32;at++)Be[32+at]=Ae[32+at];for(Je(bt,Be.subarray(32),ge+32),Et(bt),Ve(ii,bt),ht(Be,ii),at=32;at<64;at++)Be[at]=oe[at];for(Je(qe,Be,ge+64),Et(qe),at=0;at<64;at++)ei[at]=0;for(at=0;at<32;at++)ei[at]=bt[at];for(at=0;at<32;at++)for(gt=0;gt<32;gt++)ei[at+gt]+=qe[at]*Ae[gt];return wt(Be.subarray(32),ei),Bi}function Ce(Be,be){var ge=n(),oe=n(),Ae=n(),qe=n(),bt=n(),at=n(),gt=n();return p(Be[2],y),M(Be[1],be),Z(Ae,Be[1]),ee(qe,Ae,C),V(Ae,Ae,Be[2]),j(qe,Be[2],qe),Z(bt,qe),Z(at,bt),ee(gt,at,bt),ee(ge,gt,Ae),ee(ge,ge,qe),z(ge,ge),ee(ge,ge,Ae),ee(ge,ge,qe),ee(ge,ge,qe),ee(Be[0],ge,qe),Z(oe,Be[0]),ee(oe,oe,qe),h(oe,Ae)&&ee(Be[0],Be[0],P),Z(oe,Be[0]),ee(oe,oe,qe),h(oe,Ae)?-1:(T(Be[0])===be[31]>>7&&V(Be[0],m,Be[0]),ee(Be[3],Be[0],Be[1]),0)}function te(Be,be,ge,oe){var Ae,qe,bt=new Uint8Array(32),at=new Uint8Array(64),gt=[n(),n(),n(),n()],ei=[n(),n(),n(),n()];if(qe=-1,ge<64||Ce(ei,oe))return-1;for(Ae=0;Ae<ge;Ae++)Be[Ae]=be[Ae];for(Ae=0;Ae<32;Ae++)Be[Ae+32]=oe[Ae];if(Je(at,Be,ge),Et(at),jt(gt,ei,at),Ve(ei,be.subarray(32)),tt(gt,ei),ht(bt,gt),ge-=64,O(be,0,bt,0)){for(Ae=0;Ae<ge;Ae++)Be[Ae]=0;return-1}for(Ae=0;Ae<ge;Ae++)Be[Ae]=be[Ae+64];return qe=ge,qe}var ye=32,Le=24,Ue=32,Qe=16,Ke=32,De=32,Vt=32,At=32,ve=32,Pt=Le,pt=Ue,Ne=Qe,vt=64,ut=32,$t=64,fi=32,kt=64;e.lowlevel={crypto_core_hsalsa20:ie,crypto_stream_xor:ke,crypto_stream:he,crypto_stream_salsa20_xor:Q,crypto_stream_salsa20:ce,crypto_onetimeauth:d,crypto_onetimeauth_verify:v,crypto_verify_16:F,crypto_verify_32:O,crypto_secretbox:w,crypto_secretbox_open:c,crypto_scalarmult:ne,crypto_scalarmult_base:fe,crypto_box_beforenm:de,crypto_box_afternm:Oe,crypto_box:it,crypto_box_open:ot,crypto_box_keypair:me,crypto_hash:Je,crypto_sign:Yt,crypto_sign_keypair:We,crypto_sign_open:te,crypto_secretbox_KEYBYTES:ye,crypto_secretbox_NONCEBYTES:Le,crypto_secretbox_ZEROBYTES:Ue,crypto_secretbox_BOXZEROBYTES:Qe,crypto_scalarmult_BYTES:Ke,crypto_scalarmult_SCALARBYTES:De,crypto_box_PUBLICKEYBYTES:Vt,crypto_box_SECRETKEYBYTES:At,crypto_box_BEFORENMBYTES:ve,crypto_box_NONCEBYTES:Pt,crypto_box_ZEROBYTES:pt,crypto_box_BOXZEROBYTES:Ne,crypto_sign_BYTES:vt,crypto_sign_PUBLICKEYBYTES:ut,crypto_sign_SECRETKEYBYTES:$t,crypto_sign_SEEDBYTES:fi,crypto_hash_BYTES:kt};function Wt(Be,be){if(Be.length!==ye)throw new Error("bad key size");if(be.length!==Le)throw new Error("bad nonce size")}function Zi(Be,be){if(Be.length!==Vt)throw new Error("bad public key size");if(be.length!==At)throw new Error("bad secret key size")}function Ut(){var Be,be;for(be=0;be<arguments.length;be++)if((Be=Object.prototype.toString.call(arguments[be]))!=="[object Uint8Array]")throw new TypeError("unexpected type "+Be+", use Uint8Array")}function Xt(Be){for(var be=0;be<Be.length;be++)Be[be]=0}e.util||(e.util={},e.util.decodeUTF8=e.util.encodeUTF8=e.util.encodeBase64=e.util.decodeBase64=function(){throw new Error("nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js")}),e.randomBytes=function(Be){var be=new Uint8Array(Be);return o(be,Be),be},e.secretbox=function(Be,be,ge){Ut(Be,be,ge),Wt(ge,be);for(var oe=new Uint8Array(Ue+Be.length),Ae=new Uint8Array(oe.length),qe=0;qe<Be.length;qe++)oe[qe+Ue]=Be[qe];return w(Ae,oe,oe.length,be,ge),Ae.subarray(Qe)},e.secretbox.open=function(Be,be,ge){Ut(Be,be,ge),Wt(ge,be);for(var oe=new Uint8Array(Qe+Be.length),Ae=new Uint8Array(oe.length),qe=0;qe<Be.length;qe++)oe[qe+Qe]=Be[qe];return oe.length<32||c(Ae,oe,oe.length,be,ge)!==0?!1:Ae.subarray(Ue)},e.secretbox.keyLength=ye,e.secretbox.nonceLength=Le,e.secretbox.overheadLength=Qe,e.scalarMult=function(Be,be){if(Ut(Be,be),Be.length!==De)throw new Error("bad n size");if(be.length!==Ke)throw new Error("bad p size");var ge=new Uint8Array(Ke);return ne(ge,Be,be),ge},e.scalarMult.base=function(Be){if(Ut(Be),Be.length!==De)throw new Error("bad n size");var be=new Uint8Array(Ke);return fe(be,Be),be},e.scalarMult.scalarLength=De,e.scalarMult.groupElementLength=Ke,e.box=function(Be,be,ge,oe){var Ae=e.box.before(ge,oe);return e.secretbox(Be,be,Ae)},e.box.before=function(Be,be){Ut(Be,be),Zi(Be,be);var ge=new Uint8Array(ve);return de(ge,Be,be),ge},e.box.after=e.secretbox,e.box.open=function(Be,be,ge,oe){var Ae=e.box.before(ge,oe);return e.secretbox.open(Be,be,Ae)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var Be=new Uint8Array(Vt),be=new Uint8Array(At);return me(Be,be),{publicKey:Be,secretKey:be}},e.box.keyPair.fromSecretKey=function(Be){if(Ut(Be),Be.length!==At)throw new Error("bad secret key size");var be=new Uint8Array(Vt);return fe(be,Be),{publicKey:be,secretKey:new Uint8Array(Be)}},e.box.publicKeyLength=Vt,e.box.secretKeyLength=At,e.box.sharedKeyLength=ve,e.box.nonceLength=Pt,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(Be,be){if(Ut(Be,be),be.length!==$t)throw new Error("bad secret key size");var ge=new Uint8Array(vt+Be.length);return Yt(ge,Be,Be.length,be),ge},e.sign.open=function(Be,be){if(arguments.length!==2)throw new Error("nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?");if(Ut(Be,be),be.length!==ut)throw new Error("bad public key size");var ge=new Uint8Array(Be.length),oe=te(ge,Be,Be.length,be);if(oe<0)return null;for(var Ae=new Uint8Array(oe),qe=0;qe<Ae.length;qe++)Ae[qe]=ge[qe];return Ae},e.sign.detached=function(Be,be){for(var ge=e.sign(Be,be),oe=new Uint8Array(vt),Ae=0;Ae<oe.length;Ae++)oe[Ae]=ge[Ae];return oe},e.sign.detached.verify=function(Be,be,ge){if(Ut(Be,be,ge),be.length!==vt)throw new Error("bad signature size");if(ge.length!==ut)throw new Error("bad public key size");var oe=new Uint8Array(vt+Be.length),Ae=new Uint8Array(vt+Be.length),qe;for(qe=0;qe<vt;qe++)oe[qe]=be[qe];for(qe=0;qe<Be.length;qe++)oe[qe+vt]=Be[qe];return te(Ae,oe,oe.length,ge)>=0},e.sign.keyPair=function(){var Be=new Uint8Array(ut),be=new Uint8Array($t);return We(Be,be),{publicKey:Be,secretKey:be}},e.sign.keyPair.fromSecretKey=function(Be){if(Ut(Be),Be.length!==$t)throw new Error("bad secret key size");for(var be=new Uint8Array(ut),ge=0;ge<be.length;ge++)be[ge]=Be[32+ge];return{publicKey:be,secretKey:new Uint8Array(Be)}},e.sign.keyPair.fromSeed=function(Be){if(Ut(Be),Be.length!==fi)throw new Error("bad seed size");for(var be=new Uint8Array(ut),ge=new Uint8Array($t),oe=0;oe<32;oe++)ge[oe]=Be[oe];return We(be,ge,!0),{publicKey:be,secretKey:ge}},e.sign.publicKeyLength=ut,e.sign.secretKeyLength=$t,e.sign.seedLength=fi,e.sign.signatureLength=vt,e.hash=function(Be){Ut(Be);var be=new Uint8Array(kt);return Je(be,Be,Be.length),be},e.hash.hashLength=kt,e.verify=function(Be,be){return Ut(Be,be),Be.length===0||be.length===0||Be.length!==be.length?!1:B(Be,0,be,0,Be.length)===0},e.setPRNG=function(Be){o=Be},function(){var Be=typeof self<"u"?self.crypto||self.msCrypto:null;if(Be&&Be.getRandomValues){var be=65536;e.setPRNG(function(ge,oe){var Ae,qe=new Uint8Array(oe);for(Ae=0;Ae<oe;Ae+=be)Be.getRandomValues(qe.subarray(Ae,Ae+Math.min(oe-Ae,be)));for(Ae=0;Ae<oe;Ae++)ge[Ae]=qe[Ae];Xt(qe)})}else typeof commonjsRequire<"u"&&(Be=requireCryptoBrowserify(),Be&&Be.randomBytes&&e.setPRNG(function(ge,oe){var Ae,qe=Be.randomBytes(oe);for(Ae=0;Ae<oe;Ae++)ge[Ae]=qe[Ae];Xt(qe)}))}()})(t.exports?t.exports:self.nacl=self.nacl||{})}(naclFast)),naclFast.exports}var utils$2,hasRequiredUtils$2;function requireUtils$2(){if(hasRequiredUtils$2)return utils$2;hasRequiredUtils$2=1,utils$2={bufferSplit:N,addRSAMissing:v,calculateDSAPublic:ke,calculateED25519Public:L,calculateX25519Public:d,mpNormalize:ue,mpDenormalize:Q,ecNormalize:Y,countZeros:O,assertCompatible:D,isCompatible:A,opensslKeyDeriv:B,opensshCipherInfo:c,publicFromPrivateECDSA:w,zeroPadToLength:ce,writeBitString:ie,readBitString:J,pbkdf2:F};var t=requireAssert(),e=requireSafer().Buffer,n=requirePrivateKey(),o=requireKey(),u=requireCryptoBrowserify(),l=requireAlgs(),m=requireLib$4(),y=requireEc(),E=requireJsbn().BigInteger,C=requireNaclFast(),k=3;function A(p,x,S){if(p===null||typeof p!="object")return!1;if(S===void 0&&(S=x.prototype._sshpkApiVersion),p instanceof x&&x.prototype._sshpkApiVersion[0]==S[0])return!0;for(var b=Object.getPrototypeOf(p),h=0;b.constructor.name!==x.name;)if(b=Object.getPrototypeOf(b),!b||++h>k)return!1;if(b.constructor.name!==x.name)return!1;var T=b._sshpkApiVersion;return T===void 0&&(T=x._oldVersionDetect(p)),!(T[0]!=S[0]||T[1]<S[1])}function D(p,x,S,b){if(b===void 0&&(b="object"),t.ok(p,b+" must not be null"),t.object(p,b+" must be an object"),S===void 0&&(S=x.prototype._sshpkApiVersion),!(p instanceof x&&x.prototype._sshpkApiVersion[0]==S[0])){for(var h=Object.getPrototypeOf(p),T=0;h.constructor.name!==x.name;)h=Object.getPrototypeOf(h),t.ok(h&&++T<=k,b+" must be a "+x.name+" instance");t.strictEqual(h.constructor.name,x.name,b+" must be a "+x.name+" instance");var M=h._sshpkApiVersion;M===void 0&&(M=x._oldVersionDetect(p)),t.ok(M[0]==S[0]&&M[1]>=S[1],b+" must be compatible with "+x.name+" klass version "+S[0]+"."+S[1])}}var P={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}},R=8;function B(p,x,S,b){t.buffer(x,"salt"),t.buffer(S,"passphrase"),t.number(b,"iteration count");var h=P[p];t.object(h,"supported cipher"),x=x.slice(0,R);for(var T,M,j,V=e.alloc(0);V.length<h.key+h.iv;){j=[],M&&j.push(M),j.push(S),j.push(x),T=e.concat(j);for(var ee=0;ee<b;++ee)T=u.createHash("md5").update(T).digest();V=e.concat([V,T]),M=T}return{key:V.slice(0,h.key),iv:V.slice(h.key,h.key+h.iv)}}function F(p,x,S,b,h){var T=e.alloc(x.length+4);x.copy(T);for(var M=0,j=[],V=1;M<b;){var ee=Z(V++);M+=ee.length,j.push(ee)}return e.concat(j).slice(0,b);function Z(U){T.writeUInt32BE(U,T.length-4);var z=u.createHmac(p,h);z.update(T);for(var ne=z.digest(),fe=ne,me=1;me++<S;){z=u.createHmac(p,h),z.update(fe),fe=z.digest();for(var de=0;de<ne.length;++de)ne[de]^=fe[de]}return ne}}function O(p){for(var x=0,S=8;x<p.length;){var b=1<<S;if((p[x]&b)===b)break;S--,S<0&&(x++,S=8)}return x*8+(8-S)-1}function N(p,x){t.buffer(p),t.string(x);for(var S=[],b=0,h=0,T=0;T<p.length;++T)if(p[T]===x.charCodeAt(h)?++h:p[T]===x.charCodeAt(0)?h=1:h=0,h>=x.length){var M=T+1;S.push(p.slice(b,M-h)),b=M,h=0}return b<=p.length&&S.push(p.slice(b,p.length)),S}function Y(p,x){if(t.buffer(p),p[0]===0&&p[1]===4)return x?p:p.slice(1);if(p[0]===4){if(!x)return p}else{for(;p[0]===0;)p=p.slice(1);if(p[0]===2||p[0]===3)throw new Error("Compressed elliptic curve points are not supported");if(p[0]!==4)throw new Error("Not a valid elliptic curve point");if(!x)return p}var S=e.alloc(p.length+1);return S[0]=0,p.copy(S,1),S}function J(p,x){x===void 0&&(x=m.Ber.BitString);var S=p.readString(x,!0);return t.strictEqual(S[0],0,"bit strings with unused bits are not supported (0x"+S[0].toString(16)+")"),S.slice(1)}function ie(p,x,S){S===void 0&&(S=m.Ber.BitString);var b=e.alloc(x.length+1);b[0]=0,x.copy(b,1),p.writeBuffer(b,S)}function ue(p){for(t.buffer(p);p.length>1&&p[0]===0&&!(p[1]&128);)p=p.slice(1);if((p[0]&128)===128){var x=e.alloc(p.length+1);x[0]=0,p.copy(x,1),p=x}return p}function Q(p){for(t.buffer(p);p.length>1&&p[0]===0;)p=p.slice(1);return p}function ce(p,x){for(t.buffer(p),t.number(x);p.length>x;)t.equal(p[0],0),p=p.slice(1);for(;p.length<x;){var S=e.alloc(p.length+1);S[0]=0,p.copy(S,1),p=S}return p}function he(p){var x=e.from(p.toByteArray());return x=ue(x),x}function ke(p,x,S){t.buffer(p),t.buffer(x),t.buffer(S),p=new E(p),x=new E(x),S=new E(S);var b=p.modPow(S,x),h=he(b);return h}function L(p){t.buffer(p);var x=C.sign.keyPair.fromSeed(new Uint8Array(p));return e.from(x.publicKey)}function d(p){t.buffer(p);var x=C.box.keyPair.fromSeed(new Uint8Array(p));return e.from(x.publicKey)}function v(p){t.object(p),D(p,n,[1,1]);var x=new E(p.part.d.data),S;if(!p.part.dmodp){var b=new E(p.part.p.data),h=x.mod(b.subtract(1));S=he(h),p.part.dmodp={name:"dmodp",data:S},p.parts.push(p.part.dmodp)}if(!p.part.dmodq){var T=new E(p.part.q.data),M=x.mod(T.subtract(1));S=he(M),p.part.dmodq={name:"dmodq",data:S},p.parts.push(p.part.dmodq)}}function w(p,x){t.string(p,"curveName"),t.buffer(x);var S=l.curves[p],b=new E(S.p),h=new E(S.a),T=new E(S.b),M=new y.ECCurveFp(b,h,T),j=M.decodePointHex(S.G.toString("hex")),V=new E(ue(x)),ee=j.multiply(V);ee=e.from(M.encodePointHex(ee),"hex");var Z=[];Z.push({name:"curve",data:e.from(p)}),Z.push({name:"Q",data:ee});var U=new o({type:"ecdsa",curve:M,parts:Z});return U}function c(p){var x={};switch(p){case"3des-cbc":x.keySize=24,x.blockSize=8,x.opensslName="des-ede3-cbc";break;case"blowfish-cbc":x.keySize=16,x.blockSize=8,x.opensslName="bf-cbc";break;case"aes128-cbc":case"aes128-ctr":case"aes128-gcm@openssh.com":x.keySize=16,x.blockSize=16,x.opensslName="aes-128-"+p.slice(7,10);break;case"aes192-cbc":case"aes192-ctr":case"aes192-gcm@openssh.com":x.keySize=24,x.blockSize=16,x.opensslName="aes-192-"+p.slice(7,10);break;case"aes256-cbc":case"aes256-ctr":case"aes256-gcm@openssh.com":x.keySize=32,x.blockSize=16,x.opensslName="aes-256-"+p.slice(7,10);break;default:throw new Error('Unsupported openssl cipher "'+p+'"')}return x}return utils$2}var sshBuffer,hasRequiredSshBuffer;function requireSshBuffer(){if(hasRequiredSshBuffer)return sshBuffer;hasRequiredSshBuffer=1,sshBuffer=n;var t=requireAssert(),e=requireSafer().Buffer;function n(o){t.object(o,"options"),o.buffer!==void 0&&t.buffer(o.buffer,"options.buffer"),this._size=o.buffer?o.buffer.length:1024,this._buffer=o.buffer||e.alloc(this._size),this._offset=0}return n.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},n.prototype.atEnd=function(){return this._offset>=this._buffer.length},n.prototype.remainder=function(){return this._buffer.slice(this._offset)},n.prototype.skip=function(o){this._offset+=o},n.prototype.expand=function(){this._size*=2;var o=e.alloc(this._size);this._buffer.copy(o,0),this._buffer=o},n.prototype.readPart=function(){return{data:this.readBuffer()}},n.prototype.readBuffer=function(){var o=this._buffer.readUInt32BE(this._offset);this._offset+=4,t.ok(this._offset+o<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var u=this._buffer.slice(this._offset,this._offset+o);return this._offset+=o,u},n.prototype.readString=function(){return this.readBuffer().toString()},n.prototype.readCString=function(){for(var o=this._offset;o<this._buffer.length&&this._buffer[o]!==0;)o++;t.ok(o<this._buffer.length,"c string does not terminate");var u=this._buffer.slice(this._offset,o).toString();return this._offset=o+1,u},n.prototype.readInt=function(){var o=this._buffer.readUInt32BE(this._offset);return this._offset+=4,o},n.prototype.readInt64=function(){t.ok(this._offset+8<this._buffer.length,"buffer not long enough to read Int64");var o=this._buffer.slice(this._offset,this._offset+8);return this._offset+=8,o},n.prototype.readChar=function(){var o=this._buffer[this._offset++];return o},n.prototype.writeBuffer=function(o){for(;this._offset+4+o.length>this._size;)this.expand();this._buffer.writeUInt32BE(o.length,this._offset),this._offset+=4,o.copy(this._buffer,this._offset),this._offset+=o.length},n.prototype.writeString=function(o){this.writeBuffer(e.from(o,"utf8"))},n.prototype.writeCString=function(o){for(;this._offset+1+o.length>this._size;)this.expand();this._buffer.write(o,this._offset),this._offset+=o.length,this._buffer[this._offset++]=0},n.prototype.writeInt=function(o){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(o,this._offset),this._offset+=4},n.prototype.writeInt64=function(o){if(t.buffer(o,"value"),o.length>8){for(var u=o.slice(0,o.length-8),l=0;l<u.length;++l)t.strictEqual(u[l],0,"must fit in 64 bits of precision");o=o.slice(o.length-8,o.length)}for(;this._offset+8>this._size;)this.expand();o.copy(this._buffer,this._offset),this._offset+=8},n.prototype.writeChar=function(o){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=o},n.prototype.writePart=function(o){this.writeBuffer(o.data)},n.prototype.write=function(o){for(;this._offset+o.length>this._size;)this.expand();o.copy(this._buffer,this._offset),this._offset+=o.length},sshBuffer}var signature,hasRequiredSignature;function requireSignature(){if(hasRequiredSignature)return signature;hasRequiredSignature=1,signature=E;var t=requireAssert(),e=requireSafer().Buffer;requireAlgs(),requireCryptoBrowserify();var n=requireErrors$1(),o=requireUtils$2(),u=requireLib$4(),l=requireSshBuffer(),m=n.InvalidAlgorithmError,y=n.SignatureParseError;function E(P){t.object(P,"options"),t.arrayOfObject(P.parts,"options.parts"),t.string(P.type,"options.type");for(var R={},B=0;B<P.parts.length;++B){var F=P.parts[B];R[F.name]=F}this.type=P.type,this.hashAlgorithm=P.hashAlgo,this.curve=P.curve,this.parts=P.parts,this.part=R}E.prototype.toBuffer=function(P){P===void 0&&(P="asn1"),t.string(P,"format");var R,B="ssh-"+this.type;switch(this.type){case"rsa":switch(this.hashAlgorithm){case"sha256":B="rsa-sha2-256";break;case"sha512":B="rsa-sha2-512";break;case"sha1":case void 0:break;default:throw new Error("SSH signature format does not support hash algorithm "+this.hashAlgorithm)}return P==="ssh"?(R=new l({}),R.writeString(B),R.writePart(this.part.sig),R.toBuffer()):this.part.sig.data;case"ed25519":return P==="ssh"?(R=new l({}),R.writeString(B),R.writePart(this.part.sig),R.toBuffer()):this.part.sig.data;case"dsa":case"ecdsa":var F,O;if(P==="asn1"){var N=new u.BerWriter;return N.startSequence(),F=o.mpNormalize(this.part.r.data),O=o.mpNormalize(this.part.s.data),N.writeBuffer(F,u.Ber.Integer),N.writeBuffer(O,u.Ber.Integer),N.endSequence(),N.buffer}else if(P==="ssh"&&this.type==="dsa"){if(R=new l({}),R.writeString("ssh-dss"),F=this.part.r.data,F.length>20&&F[0]===0&&(F=F.slice(1)),O=this.part.s.data,O.length>20&&O[0]===0&&(O=O.slice(1)),this.hashAlgorithm&&this.hashAlgorithm!=="sha1"||F.length+O.length!==40)throw new Error("OpenSSH only supports DSA signatures with SHA1 hash");return R.writeBuffer(e.concat([F,O])),R.toBuffer()}else if(P==="ssh"&&this.type==="ecdsa"){var Y=new l({});F=this.part.r.data,Y.writeBuffer(F),Y.writePart(this.part.s),R=new l({});var J;F[0]===0&&(F=F.slice(1));var ie=F.length*8;return ie===256?J="nistp256":ie===384?J="nistp384":ie===528&&(J="nistp521"),R.writeString("ecdsa-sha2-"+J),R.writeBuffer(Y.toBuffer()),R.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}},E.prototype.toString=function(P){return t.optionalString(P,"format"),this.toBuffer(P).toString("base64")},E.parse=function(P,R,B){typeof P=="string"&&(P=e.from(P,"base64")),t.buffer(P,"data"),t.string(B,"format"),t.string(R,"type");var F={};F.type=R.toLowerCase(),F.parts=[];try{switch(t.ok(P.length>0,"signature must not be empty"),F.type){case"rsa":return C(P,R,B,F);case"ed25519":return C(P,R,B,F);case"dsa":case"ecdsa":return B==="asn1"?k(P,R,B,F):F.type==="dsa"?A(P,R,B,F):D(P,R,B,F);default:throw new m(R)}}catch(O){throw O instanceof m?O:new y(R,B,O)}};function C(P,R,B,F){if(B==="ssh"){try{var O=new l({buffer:P}),N=O.readString()}catch{}if(O!==void 0){var Y="SSH signature does not match expected type (expected "+R+", got "+N+")";switch(N){case"ssh-rsa":t.strictEqual(R,"rsa",Y),F.hashAlgo="sha1";break;case"rsa-sha2-256":t.strictEqual(R,"rsa",Y),F.hashAlgo="sha256";break;case"rsa-sha2-512":t.strictEqual(R,"rsa",Y),F.hashAlgo="sha512";break;case"ssh-ed25519":t.strictEqual(R,"ed25519",Y),F.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature type: "+N)}var J=O.readPart();return t.ok(O.atEnd(),"extra trailing bytes"),J.name="sig",F.parts.push(J),new E(F)}}return F.parts.push({name:"sig",data:P}),new E(F)}function k(P,R,B,F){var O=new u.BerReader(P);O.readSequence();var N=O.readString(u.Ber.Integer,!0),Y=O.readString(u.Ber.Integer,!0);return F.parts.push({name:"r",data:o.mpNormalize(N)}),F.parts.push({name:"s",data:o.mpNormalize(Y)}),new E(F)}function A(P,R,B,F){if(P.length!=40){var O=new l({buffer:P}),N=O.readBuffer();N.toString("ascii")==="ssh-dss"&&(N=O.readBuffer()),t.ok(O.atEnd(),"extra trailing bytes"),t.strictEqual(N.length,40,"invalid inner length"),P=N}return F.parts.push({name:"r",data:P.slice(0,20)}),F.parts.push({name:"s",data:P.slice(20,40)}),new E(F)}function D(P,R,B,F){var O=new l({buffer:P}),N,Y,J=O.readBuffer(),ie=J.toString("ascii");if(ie.slice(0,6)==="ecdsa-"){var ue=ie.split("-");switch(t.strictEqual(ue[0],"ecdsa"),t.strictEqual(ue[1],"sha2"),F.curve=ue[2],F.curve){case"nistp256":F.hashAlgo="sha256";break;case"nistp384":F.hashAlgo="sha384";break;case"nistp521":F.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+F.curve)}J=O.readBuffer(),t.ok(O.atEnd(),"extra trailing bytes on outer"),O=new l({buffer:J}),N=O.readPart()}else N={data:J};return Y=O.readPart(),t.ok(O.atEnd(),"extra trailing bytes"),N.name="r",Y.name="s",F.parts.push(N),F.parts.push(Y),new E(F)}return E.isSignature=function(P,R){return o.isCompatible(P,E,R)},E.prototype._sshpkApiVersion=[2,1],E._oldVersionDetect=function(P){return t.func(P.toBuffer),P.hasOwnProperty("hashAlgorithm")?[2,0]:[1,0]},signature}var eccJsbn={},sec,hasRequiredSec;function requireSec(){if(hasRequiredSec)return sec;hasRequiredSec=1;var t=requireJsbn().BigInteger,e=requireEc().ECCurveFp;function n(B,F,O,N){this.curve=B,this.g=F,this.n=O,this.h=N}function o(){return this.curve}function u(){return this.g}function l(){return this.n}function m(){return this.h}n.prototype.getCurve=o,n.prototype.getG=u,n.prototype.getN=l,n.prototype.getH=m;function y(B){return new t(B,16)}function E(){var B=y("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"),F=y("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC"),O=y("E87579C11079F43DD824993C2CEE5ED3"),N=y("FFFFFFFE0000000075A30D1B9038A115"),Y=t.ONE,J=new e(B,F,O),ie=J.decodePointHex("04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83");return new n(J,ie,N,Y)}function C(){var B=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"),F=t.ZERO,O=y("7"),N=y("0100000000000000000001B8FA16DFAB9ACA16B6B3"),Y=t.ONE,J=new e(B,F,O),ie=J.decodePointHex("043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE");return new n(J,ie,N,Y)}function k(){var B=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF"),F=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC"),O=y("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45"),N=y("0100000000000000000001F4C8F927AED3CA752257"),Y=t.ONE,J=new e(B,F,O),ie=J.decodePointHex("044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32");return new n(J,ie,N,Y)}function A(){var B=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37"),F=t.ZERO,O=y("3"),N=y("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D"),Y=t.ONE,J=new e(B,F,O),ie=J.decodePointHex("04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D");return new n(J,ie,N,Y)}function D(){var B=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),F=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC"),O=y("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1"),N=y("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"),Y=t.ONE,J=new e(B,F,O),ie=J.decodePointHex("04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811");return new n(J,ie,N,Y)}function P(){var B=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001"),F=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE"),O=y("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4"),N=y("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"),Y=t.ONE,J=new e(B,F,O),ie=J.decodePointHex("04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34");return new n(J,ie,N,Y)}function R(){var B=y("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF"),F=y("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC"),O=y("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B"),N=y("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"),Y=t.ONE,J=new e(B,F,O),ie=J.decodePointHex("046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5");return new n(J,ie,N,Y)}return sec={secp128r1:E,secp160k1:C,secp160r1:k,secp192k1:A,secp192r1:D,secp224r1:P,secp256r1:R},sec}var hasRequiredEccJsbn;function requireEccJsbn(){if(hasRequiredEccJsbn)return eccJsbn;hasRequiredEccJsbn=1;var t=requireCryptoBrowserify(),e=requireJsbn().BigInteger;requireEc().ECPointFp;var n=requireSafer().Buffer;eccJsbn.ECCurves=requireSec();function o(u,l){return u.length>=l?u:o("0"+u,l)}return eccJsbn.ECKey=function(u,l,m){var y,E=u(),C=E.getN(),k=Math.floor(C.bitLength()/8);if(l)if(m){var u=E.getCurve();this.P=u.decodePointHex(l.toString("hex"))}else{if(l.length!=k)return!1;y=new e(l.toString("hex"),16)}else{var A=C.subtract(e.ONE),D=new e(t.randomBytes(C.bitLength()));y=D.mod(A).add(e.ONE),this.P=E.getG().multiply(y)}this.P&&(this.PublicKey=n.from(E.getCurve().encodeCompressedPointHex(this.P),"hex")),y&&(this.PrivateKey=n.from(o(y.toString(16),k*2),"hex"),this.deriveSharedSecret=function(P){if(!P||!P.P)return!1;var R=P.P.multiply(y);return n.from(o(R.getX().toBigInteger().toString(16),k*2),"hex")})},eccJsbn}var dhe,hasRequiredDhe;function requireDhe(){if(hasRequiredDhe)return dhe;hasRequiredDhe=1,dhe={DiffieHellman:A,generateECDSA:F,generateED25519:B};var t=requireAssert(),e=requireCryptoBrowserify(),n=requireSafer().Buffer,o=requireAlgs(),u=requireUtils$2(),l=requireNaclFast(),m=requireKey(),y=requirePrivateKey(),E=e.createECDH!==void 0;requireEccJsbn();var C=requireEc(),k=requireJsbn().BigInteger;function A(O){if(u.assertCompatible(O,m,[1,4],"key"),this._isPriv=y.isPrivateKey(O,[1,3]),this._algo=O.type,this._curve=O.curve,this._key=O,O.type==="dsa"){if(!E)throw new Error("Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH");this._dh=e.createDiffieHellman(O.part.p.data,void 0,O.part.g.data,void 0),this._p=O.part.p,this._g=O.part.g,this._isPriv&&this._dh.setPrivateKey(O.part.x.data),this._dh.setPublicKey(O.part.y.data)}else if(O.type==="ecdsa"){if(!E){this._ecParams=new D(this._curve),this._isPriv&&(this._priv=new R(this._ecParams,O.part.d.data));return}var N={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[O.curve];if(this._dh=e.createECDH(N),typeof this._dh!="object"||typeof this._dh.setPrivateKey!="function"){E=!1,A.call(this,O);return}this._isPriv&&this._dh.setPrivateKey(O.part.d.data),this._dh.setPublicKey(O.part.Q.data)}else if(O.type==="curve25519")this._isPriv&&(u.assertCompatible(O,y,[1,5],"key"),this._priv=O.part.k.data);else throw new Error("DH not supported for "+O.type+" keys")}A.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},A.prototype.getPrivateKey=function(){if(this._isPriv)return this._key},A.prototype.getKey=A.prototype.getPrivateKey,A.prototype._keyCheck=function(O,N){if(t.object(O,"key"),N||u.assertCompatible(O,y,[1,3],"key"),u.assertCompatible(O,m,[1,4],"key"),O.type!==this._algo)throw new Error("A "+O.type+" key cannot be used in "+this._algo+" Diffie-Hellman");if(O.curve!==this._curve)throw new Error("A key from the "+O.curve+" curve cannot be used with a "+this._curve+" Diffie-Hellman");O.type==="dsa"&&(t.deepEqual(O.part.p,this._p,"DSA key prime does not match"),t.deepEqual(O.part.g,this._g,"DSA key generator does not match"))},A.prototype.setKey=function(O){if(this._keyCheck(O),O.type==="dsa")this._dh.setPrivateKey(O.part.x.data),this._dh.setPublicKey(O.part.y.data);else if(O.type==="ecdsa")E?(this._dh.setPrivateKey(O.part.d.data),this._dh.setPublicKey(O.part.Q.data)):this._priv=new R(this._ecParams,O.part.d.data);else if(O.type==="curve25519"){var N=O.part.k;O.part.k||(N=O.part.r),this._priv=N.data,this._priv[0]===0&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)}this._key=O,this._isPriv=!0},A.prototype.setPrivateKey=A.prototype.setKey,A.prototype.computeSecret=function(O){if(this._keyCheck(O,!0),!this._isPriv)throw new Error("DH exchange has not been initialized with a private key yet");var N;if(this._algo==="dsa")return this._dh.computeSecret(O.part.y.data);if(this._algo==="ecdsa")return E?this._dh.computeSecret(O.part.Q.data):(N=new P(this._ecParams,O.part.Q.data),this._priv.deriveSharedSecret(N));if(this._algo==="curve25519"){for(N=O.part.A.data;N[0]===0&&N.length>32;)N=N.slice(1);var Y=this._priv;t.strictEqual(N.length,32),t.strictEqual(Y.length,32);var J=l.box.before(new Uint8Array(N),new Uint8Array(Y));return n.from(J)}throw new Error("Invalid algorithm: "+this._algo)},A.prototype.generateKey=function(){var O=[],N,Y;if(this._algo==="dsa")return this._dh.generateKeys(),O.push({name:"p",data:this._p.data}),O.push({name:"q",data:this._key.part.q.data}),O.push({name:"g",data:this._g.data}),O.push({name:"y",data:this._dh.getPublicKey()}),O.push({name:"x",data:this._dh.getPrivateKey()}),this._key=new y({type:"dsa",parts:O}),this._isPriv=!0,this._key;if(this._algo==="ecdsa"){if(E)return this._dh.generateKeys(),O.push({name:"curve",data:n.from(this._curve)}),O.push({name:"Q",data:this._dh.getPublicKey()}),O.push({name:"d",data:this._dh.getPrivateKey()}),this._key=new y({type:"ecdsa",curve:this._curve,parts:O}),this._isPriv=!0,this._key;var J=this._ecParams.getN(),ie=new k(e.randomBytes(J.bitLength())),ue=J.subtract(k.ONE);return N=ie.mod(ue).add(k.ONE),Y=this._ecParams.getG().multiply(N),N=n.from(N.toByteArray()),Y=n.from(this._ecParams.getCurve().encodePointHex(Y),"hex"),this._priv=new R(this._ecParams,N),O.push({name:"curve",data:n.from(this._curve)}),O.push({name:"Q",data:Y}),O.push({name:"d",data:N}),this._key=new y({type:"ecdsa",curve:this._curve,parts:O}),this._isPriv=!0,this._key}else if(this._algo==="curve25519"){var Q=l.box.keyPair();return N=n.from(Q.secretKey),Y=n.from(Q.publicKey),N=n.concat([N,Y]),t.strictEqual(N.length,64),t.strictEqual(Y.length,32),O.push({name:"A",data:Y}),O.push({name:"k",data:N}),this._key=new y({type:"curve25519",parts:O}),this._isPriv=!0,this._key}throw new Error("Invalid algorithm: "+this._algo)},A.prototype.generateKeys=A.prototype.generateKey;function D(O){var N=o.curves[O];t.object(N);var Y=new k(N.p),J=new k(N.a),ie=new k(N.b),ue=new k(N.n),Q=k.ONE,ce=new C.ECCurveFp(Y,J,ie),he=ce.decodePointHex(N.G.toString("hex"));this.curve=ce,this.g=he,this.n=ue,this.h=Q}D.prototype.getCurve=function(){return this.curve},D.prototype.getG=function(){return this.g},D.prototype.getN=function(){return this.n},D.prototype.getH=function(){return this.h};function P(O,N){this._params=O,N[0]===0&&(N=N.slice(1)),this._pub=O.getCurve().decodePointHex(N.toString("hex"))}function R(O,N){this._params=O,this._priv=new k(u.mpNormalize(N))}R.prototype.deriveSharedSecret=function(O){t.ok(O instanceof P);var N=O._pub.multiply(this._priv);return n.from(N.getX().toBigInteger().toByteArray())};function B(){var O=l.sign.keyPair(),N=n.from(O.secretKey),Y=n.from(O.publicKey);t.strictEqual(N.length,64),t.strictEqual(Y.length,32);var J=[];J.push({name:"A",data:Y}),J.push({name:"k",data:N.slice(0,32)});var ie=new y({type:"ed25519",parts:J});return ie}function F(O){var N=[],Y;if(E){var J={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[O],ie=e.createECDH(J);return ie.generateKeys(),N.push({name:"curve",data:n.from(O)}),N.push({name:"Q",data:ie.getPublicKey()}),N.push({name:"d",data:ie.getPrivateKey()}),Y=new y({type:"ecdsa",curve:O,parts:N}),Y}else{var ue=new D(O),Q=ue.getN(),ce=Math.ceil((Q.bitLength()+64)/8),he=new k(e.randomBytes(ce)),ke=Q.subtract(k.ONE),L=he.mod(ke).add(k.ONE),d=ue.getG().multiply(L);return L=n.from(L.toByteArray()),d=n.from(ue.getCurve().encodePointHex(d),"hex"),N.push({name:"curve",data:n.from(O)}),N.push({name:"Q",data:d}),N.push({name:"d",data:L}),Y=new y({type:"ecdsa",curve:O,parts:N}),Y}}return dhe}var edCompat,hasRequiredEdCompat;function requireEdCompat(){if(hasRequiredEdCompat)return edCompat;hasRequiredEdCompat=1,edCompat={Verifier:m,Signer:y};var t=requireNaclFast(),e=requireStreamBrowserify(),n=util$6,o=requireAssert(),u=requireSafer().Buffer,l=requireSignature();function m(E,C){if(C.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=E,this.chunks=[],e.Writable.call(this,{})}n.inherits(m,e.Writable),m.prototype._write=function(E,C,k){this.chunks.push(E),k()},m.prototype.update=function(E){typeof E=="string"&&(E=u.from(E,"binary")),this.chunks.push(E)},m.prototype.verify=function(E,C){var k;if(l.isSignature(E,[2,0])){if(E.type!=="ed25519")return!1;k=E.toBuffer("raw")}else if(typeof E=="string")k=u.from(E,"base64");else if(l.isSignature(E,[1,0]))throw new Error("signature was created by too old a version of sshpk and cannot be verified");return o.buffer(k),t.sign.detached.verify(new Uint8Array(u.concat(this.chunks)),new Uint8Array(k),new Uint8Array(this.key.part.A.data))};function y(E,C){if(C.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=E,this.chunks=[],e.Writable.call(this,{})}return n.inherits(y,e.Writable),y.prototype._write=function(E,C,k){this.chunks.push(E),k()},y.prototype.update=function(E){typeof E=="string"&&(E=u.from(E,"binary")),this.chunks.push(E)},y.prototype.sign=function(){var E=t.sign.detached(new Uint8Array(u.concat(this.chunks)),new Uint8Array(u.concat([this.key.part.k.data,this.key.part.A.data]))),C=u.from(E),k=l.parse(C,"ed25519","raw");return k.hashAlgorithm="sha512",k},edCompat}var pkcs8,hasRequiredPkcs8;function requirePkcs8(){if(hasRequiredPkcs8)return pkcs8;hasRequiredPkcs8=1,pkcs8={read:E,readPkcs8:A,write:C,writePkcs8:ce,pkcs8ToBuffer:Q,readECDSACurve:F,writeECDSACurve:v};var t=requireAssert(),e=requireLib$4(),n=requireSafer().Buffer,o=requireAlgs(),u=requireUtils$2(),l=requireKey(),m=requirePrivateKey(),y=requirePem();function E(S,b){return y.read(S,b,"pkcs8")}function C(S,b){return y.write(S,b,"pkcs8")}function k(S,b){return t.strictEqual(S.peek(),e.Ber.Integer,b+" is not an Integer"),u.mpNormalize(S.readString(e.Ber.Integer,!0))}function A(S,b,h){h.peek()===e.Ber.Integer&&(t.strictEqual(b,"private","unexpected Integer at start of public key"),h.readString(e.Ber.Integer,!0)),h.readSequence();var T=h.offset+h.length,M=h.readOID();switch(M){case"1.2.840.113549.1.1.1":return h._offset=T,b==="public"?D(h):P(h);case"1.2.840.10040.4.1":return b==="public"?R(h):B(h);case"1.2.840.10045.2.1":return b==="public"?N(h):O(h);case"1.3.101.112":return b==="public"?Y(h):ie(h);case"1.3.101.110":return b==="public"?J(h):ue(h);default:throw new Error("Unknown key type OID "+M)}}function D(S){S.readSequence(e.Ber.BitString),S.readByte(),S.readSequence();var b=k(S,"modulus"),h=k(S,"exponent"),T={type:"rsa",source:S.originalInput,parts:[{name:"e",data:h},{name:"n",data:b}]};return new l(T)}function P(S){S.readSequence(e.Ber.OctetString),S.readSequence();var b=k(S,"version");t.equal(b[0],0,"unknown RSA private key version");var h=k(S,"modulus"),T=k(S,"public exponent"),M=k(S,"private exponent"),j=k(S,"prime1"),V=k(S,"prime2"),ee=k(S,"exponent1"),Z=k(S,"exponent2"),U=k(S,"iqmp"),z={type:"rsa",parts:[{name:"n",data:h},{name:"e",data:T},{name:"d",data:M},{name:"iqmp",data:U},{name:"p",data:j},{name:"q",data:V},{name:"dmodp",data:ee},{name:"dmodq",data:Z}]};return new m(z)}function R(S){S.readSequence();var b=k(S,"p"),h=k(S,"q"),T=k(S,"g");S.readSequence(e.Ber.BitString),S.readByte();var M=k(S,"y"),j={type:"dsa",parts:[{name:"p",data:b},{name:"q",data:h},{name:"g",data:T},{name:"y",data:M}]};return new l(j)}function B(S){S.readSequence();var b=k(S,"p"),h=k(S,"q"),T=k(S,"g");S.readSequence(e.Ber.OctetString);var M=k(S,"x"),j=u.calculateDSAPublic(T,b,M),V={type:"dsa",parts:[{name:"p",data:b},{name:"q",data:h},{name:"g",data:T},{name:"y",data:j},{name:"x",data:M}]};return new m(V)}function F(S){var b,h,T,M,j;if(S.peek()===e.Ber.OID){var V=S.readOID();for(h=Object.keys(o.curves),T=0;T<h.length;++T)if(M=h[T],j=o.curves[M],j.pkcs8oid===V){b=M;break}}else{S.readSequence();var ee=S.readString(e.Ber.Integer,!0);t.strictEqual(ee[0],1,"ECDSA key not version 1");var Z={};S.readSequence();var U=S.readOID();t.strictEqual(U,"1.2.840.10045.1.1","ECDSA key is not from a prime-field");var z=Z.p=u.mpNormalize(S.readString(e.Ber.Integer,!0));Z.size=z.length*8-u.countZeros(z),S.readSequence(),Z.a=u.mpNormalize(S.readString(e.Ber.OctetString,!0)),Z.b=u.mpNormalize(S.readString(e.Ber.OctetString,!0)),S.peek()===e.Ber.BitString&&(Z.s=S.readString(e.Ber.BitString,!0)),Z.G=S.readString(e.Ber.OctetString,!0),t.strictEqual(Z.G[0],4,"uncompressed G is required"),Z.n=u.mpNormalize(S.readString(e.Ber.Integer,!0)),Z.h=u.mpNormalize(S.readString(e.Ber.Integer,!0)),t.strictEqual(Z.h[0],1,"a cofactor=1 curve is required"),h=Object.keys(o.curves);var ne=Object.keys(Z);for(T=0;T<h.length;++T){M=h[T],j=o.curves[M];for(var fe=!0,me=0;me<ne.length;++me){var de=ne[me];if(j[de]!==void 0){if(typeof j[de]=="object"&&j[de].equals!==void 0){if(!j[de].equals(Z[de])){fe=!1;break}}else if(n.isBuffer(j[de])){if(j[de].toString("binary")!==Z[de].toString("binary")){fe=!1;break}}else if(j[de]!==Z[de]){fe=!1;break}}}if(fe){b=M;break}}}return b}function O(S){var b=F(S);t.string(b,"a known elliptic curve"),S.readSequence(e.Ber.OctetString),S.readSequence();var h=k(S,"version");t.equal(h[0],1,"unknown version of ECDSA key");var T=S.readString(e.Ber.OctetString,!0),M;if(S.peek()==160&&(S.readSequence(160),S._offset+=S.length),S.peek()==161&&(S.readSequence(161),M=S.readString(e.Ber.BitString,!0),M=u.ecNormalize(M)),M===void 0){var j=u.publicFromPrivateECDSA(b,T);M=j.part.Q.data}var V={type:"ecdsa",parts:[{name:"curve",data:n.from(b)},{name:"Q",data:M},{name:"d",data:T}]};return new m(V)}function N(S){var b=F(S);t.string(b,"a known elliptic curve");var h=S.readString(e.Ber.BitString,!0);h=u.ecNormalize(h);var T={type:"ecdsa",parts:[{name:"curve",data:n.from(b)},{name:"Q",data:h}]};return new l(T)}function Y(S){S.peek()===0&&S.readByte();var b=u.readBitString(S),h={type:"ed25519",parts:[{name:"A",data:u.zeroPadToLength(b,32)}]};return new l(h)}function J(S){var b=u.readBitString(S),h={type:"curve25519",parts:[{name:"A",data:u.zeroPadToLength(b,32)}]};return new l(h)}function ie(S){S.peek()===0&&S.readByte(),S.readSequence(e.Ber.OctetString);var b=S.readString(e.Ber.OctetString,!0);b=u.zeroPadToLength(b,32);for(var h,T;(T=S.peek())!==null;)T===(e.Ber.Context|1)?h=u.readBitString(S,T):(S.readSequence(T),S._offset+=S.length);h===void 0&&(h=u.calculateED25519Public(b));var M={type:"ed25519",parts:[{name:"A",data:u.zeroPadToLength(h,32)},{name:"k",data:u.zeroPadToLength(b,32)}]};return new m(M)}function ue(S){S.peek()===0&&S.readByte(),S.readSequence(e.Ber.OctetString);var b=S.readString(e.Ber.OctetString,!0);b=u.zeroPadToLength(b,32);var h=u.calculateX25519Public(b),T={type:"curve25519",parts:[{name:"A",data:u.zeroPadToLength(h,32)},{name:"k",data:u.zeroPadToLength(b,32)}]};return new m(T)}function Q(S){var b=new e.BerWriter;return ce(b,S),b.buffer}function ce(S,b){if(S.startSequence(),m.isPrivateKey(b)){var h=0;b.type==="ed25519"&&(h=1);var T=n.from([h]);S.writeBuffer(T,e.Ber.Integer)}switch(S.startSequence(),b.type){case"rsa":S.writeOID("1.2.840.113549.1.1.1"),m.isPrivateKey(b)?he(b,S):ke(b,S);break;case"dsa":S.writeOID("1.2.840.10040.4.1"),m.isPrivateKey(b)?L(b,S):d(b,S);break;case"ecdsa":S.writeOID("1.2.840.10045.2.1"),m.isPrivateKey(b)?c(b,S):w(b,S);break;case"ed25519":S.writeOID("1.3.101.112"),m.isPrivateKey(b)?x(b,S):p(b,S);break;default:throw new Error("Unsupported key type: "+b.type)}S.endSequence()}function he(S,b){b.writeNull(),b.endSequence(),b.startSequence(e.Ber.OctetString),b.startSequence();var h=n.from([0]);b.writeBuffer(h,e.Ber.Integer),b.writeBuffer(S.part.n.data,e.Ber.Integer),b.writeBuffer(S.part.e.data,e.Ber.Integer),b.writeBuffer(S.part.d.data,e.Ber.Integer),b.writeBuffer(S.part.p.data,e.Ber.Integer),b.writeBuffer(S.part.q.data,e.Ber.Integer),(!S.part.dmodp||!S.part.dmodq)&&u.addRSAMissing(S),b.writeBuffer(S.part.dmodp.data,e.Ber.Integer),b.writeBuffer(S.part.dmodq.data,e.Ber.Integer),b.writeBuffer(S.part.iqmp.data,e.Ber.Integer),b.endSequence(),b.endSequence()}function ke(S,b){b.writeNull(),b.endSequence(),b.startSequence(e.Ber.BitString),b.writeByte(0),b.startSequence(),b.writeBuffer(S.part.n.data,e.Ber.Integer),b.writeBuffer(S.part.e.data,e.Ber.Integer),b.endSequence(),b.endSequence()}function L(S,b){b.startSequence(),b.writeBuffer(S.part.p.data,e.Ber.Integer),b.writeBuffer(S.part.q.data,e.Ber.Integer),b.writeBuffer(S.part.g.data,e.Ber.Integer),b.endSequence(),b.endSequence(),b.startSequence(e.Ber.OctetString),b.writeBuffer(S.part.x.data,e.Ber.Integer),b.endSequence()}function d(S,b){b.startSequence(),b.writeBuffer(S.part.p.data,e.Ber.Integer),b.writeBuffer(S.part.q.data,e.Ber.Integer),b.writeBuffer(S.part.g.data,e.Ber.Integer),b.endSequence(),b.endSequence(),b.startSequence(e.Ber.BitString),b.writeByte(0),b.writeBuffer(S.part.y.data,e.Ber.Integer),b.endSequence()}function v(S,b){var h=o.curves[S.curve];if(h.pkcs8oid)b.writeOID(h.pkcs8oid);else{b.startSequence();var T=n.from([1]);b.writeBuffer(T,e.Ber.Integer),b.startSequence(),b.writeOID("1.2.840.10045.1.1"),b.writeBuffer(h.p,e.Ber.Integer),b.endSequence(),b.startSequence();var M=h.p;M[0]===0&&(M=M.slice(1)),b.writeBuffer(M,e.Ber.OctetString),b.writeBuffer(h.b,e.Ber.OctetString),b.writeBuffer(h.s,e.Ber.BitString),b.endSequence(),b.writeBuffer(h.G,e.Ber.OctetString),b.writeBuffer(h.n,e.Ber.Integer);var j=h.h;j||(j=n.from([1])),b.writeBuffer(j,e.Ber.Integer),b.endSequence()}}function w(S,b){v(S,b),b.endSequence();var h=u.ecNormalize(S.part.Q.data,!0);b.writeBuffer(h,e.Ber.BitString)}function c(S,b){v(S,b),b.endSequence(),b.startSequence(e.Ber.OctetString),b.startSequence();var h=n.from([1]);b.writeBuffer(h,e.Ber.Integer),b.writeBuffer(S.part.d.data,e.Ber.OctetString),b.startSequence(161);var T=u.ecNormalize(S.part.Q.data,!0);b.writeBuffer(T,e.Ber.BitString),b.endSequence(),b.endSequence(),b.endSequence()}function p(S,b){b.endSequence(),u.writeBitString(b,S.part.A.data)}function x(S,b){b.endSequence(),b.startSequence(e.Ber.OctetString);for(var h=u.mpNormalize(S.part.k.data);h.length>32&&h[0]===0;)h=h.slice(1);b.writeBuffer(h,e.Ber.OctetString),b.endSequence(),u.writeBitString(b,S.part.A.data,e.Ber.Context|1)}return pkcs8}var pkcs1,hasRequiredPkcs1;function requirePkcs1(){if(hasRequiredPkcs1)return pkcs1;hasRequiredPkcs1=1,pkcs1={read:k,readPkcs1:P,write:A,writePkcs1:ie};var t=requireAssert(),e=requireLib$4(),n=requireSafer().Buffer,o=requireAlgs(),u=requireUtils$2(),l=requireKey(),m=requirePrivateKey(),y=requirePem(),E=requirePkcs8(),C=E.readECDSACurve;function k(w,c){return y.read(w,c,"pkcs1")}function A(w,c){return y.write(w,c,"pkcs1")}function D(w,c){return t.strictEqual(w.peek(),e.Ber.Integer,c+" is not an Integer"),u.mpNormalize(w.readString(e.Ber.Integer,!0))}function P(w,c,p){switch(w){case"RSA":if(c==="public")return R(p);if(c==="private")return B(p);throw new Error("Unknown key type: "+c);case"DSA":if(c==="public")return N(p);if(c==="private")return F(p);throw new Error("Unknown key type: "+c);case"EC":case"ECDSA":if(c==="private")return J(p);if(c==="public")return Y(p);throw new Error("Unknown key type: "+c);case"EDDSA":case"EdDSA":if(c==="private")return O(p);throw new Error(c+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+w)}}function R(w){var c=D(w,"modulus"),p=D(w,"exponent"),x={type:"rsa",parts:[{name:"e",data:p},{name:"n",data:c}]};return new l(x)}function B(w){var c=D(w,"version");t.strictEqual(c[0],0);var p=D(w,"modulus"),x=D(w,"public exponent"),S=D(w,"private exponent"),b=D(w,"prime1"),h=D(w,"prime2"),T=D(w,"exponent1"),M=D(w,"exponent2"),j=D(w,"iqmp"),V={type:"rsa",parts:[{name:"n",data:p},{name:"e",data:x},{name:"d",data:S},{name:"iqmp",data:j},{name:"p",data:b},{name:"q",data:h},{name:"dmodp",data:T},{name:"dmodq",data:M}]};return new m(V)}function F(w){var c=D(w,"version");t.strictEqual(c.readUInt8(0),0);var p=D(w,"p"),x=D(w,"q"),S=D(w,"g"),b=D(w,"y"),h=D(w,"x"),T={type:"dsa",parts:[{name:"p",data:p},{name:"q",data:x},{name:"g",data:S},{name:"y",data:b},{name:"x",data:h}]};return new m(T)}function O(w){var c=D(w,"version");t.strictEqual(c.readUInt8(0),1);var p=w.readString(e.Ber.OctetString,!0);w.readSequence(160);var x=w.readOID();t.strictEqual(x,"1.3.101.112","the ed25519 curve identifier"),w.readSequence(161);var S=u.readBitString(w),b={type:"ed25519",parts:[{name:"A",data:u.zeroPadToLength(S,32)},{name:"k",data:p}]};return new m(b)}function N(w){var c=D(w,"y"),p=D(w,"p"),x=D(w,"q"),S=D(w,"g"),b={type:"dsa",parts:[{name:"y",data:c},{name:"p",data:p},{name:"q",data:x},{name:"g",data:S}]};return new l(b)}function Y(w){w.readSequence();var c=w.readOID();t.strictEqual(c,"1.2.840.10045.2.1","must be ecPublicKey");for(var p=w.readOID(),x,S=Object.keys(o.curves),b=0;b<S.length;++b){var h=S[b],T=o.curves[h];if(T.pkcs8oid===p){x=h;break}}t.string(x,"a known ECDSA named curve");var M=w.readString(e.Ber.BitString,!0);M=u.ecNormalize(M);var j={type:"ecdsa",parts:[{name:"curve",data:n.from(x)},{name:"Q",data:M}]};return new l(j)}function J(w){var c=D(w,"version");t.strictEqual(c.readUInt8(0),1);var p=w.readString(e.Ber.OctetString,!0);w.readSequence(160);var x=C(w);t.string(x,"a known elliptic curve"),w.readSequence(161);var S=w.readString(e.Ber.BitString,!0);S=u.ecNormalize(S);var b={type:"ecdsa",parts:[{name:"curve",data:n.from(x)},{name:"Q",data:S},{name:"d",data:p}]};return new m(b)}function ie(w,c){switch(w.startSequence(),c.type){case"rsa":m.isPrivateKey(c)?Q(w,c):ue(w,c);break;case"dsa":m.isPrivateKey(c)?ce(w,c):he(w,c);break;case"ecdsa":m.isPrivateKey(c)?L(w,c):ke(w,c);break;case"ed25519":m.isPrivateKey(c)?d(w,c):v();break;default:throw new Error("Unknown key algo: "+c.type)}w.endSequence()}function ue(w,c){w.writeBuffer(c.part.n.data,e.Ber.Integer),w.writeBuffer(c.part.e.data,e.Ber.Integer)}function Q(w,c){var p=n.from([0]);w.writeBuffer(p,e.Ber.Integer),w.writeBuffer(c.part.n.data,e.Ber.Integer),w.writeBuffer(c.part.e.data,e.Ber.Integer),w.writeBuffer(c.part.d.data,e.Ber.Integer),w.writeBuffer(c.part.p.data,e.Ber.Integer),w.writeBuffer(c.part.q.data,e.Ber.Integer),(!c.part.dmodp||!c.part.dmodq)&&u.addRSAMissing(c),w.writeBuffer(c.part.dmodp.data,e.Ber.Integer),w.writeBuffer(c.part.dmodq.data,e.Ber.Integer),w.writeBuffer(c.part.iqmp.data,e.Ber.Integer)}function ce(w,c){var p=n.from([0]);w.writeBuffer(p,e.Ber.Integer),w.writeBuffer(c.part.p.data,e.Ber.Integer),w.writeBuffer(c.part.q.data,e.Ber.Integer),w.writeBuffer(c.part.g.data,e.Ber.Integer),w.writeBuffer(c.part.y.data,e.Ber.Integer),w.writeBuffer(c.part.x.data,e.Ber.Integer)}function he(w,c){w.writeBuffer(c.part.y.data,e.Ber.Integer),w.writeBuffer(c.part.p.data,e.Ber.Integer),w.writeBuffer(c.part.q.data,e.Ber.Integer),w.writeBuffer(c.part.g.data,e.Ber.Integer)}function ke(w,c){w.startSequence(),w.writeOID("1.2.840.10045.2.1");var p=c.part.curve.data.toString(),x=o.curves[p].pkcs8oid;t.string(x,"a known ECDSA named curve"),w.writeOID(x),w.endSequence();var S=u.ecNormalize(c.part.Q.data,!0);w.writeBuffer(S,e.Ber.BitString)}function L(w,c){var p=n.from([1]);w.writeBuffer(p,e.Ber.Integer),w.writeBuffer(c.part.d.data,e.Ber.OctetString),w.startSequence(160);var x=c.part.curve.data.toString(),S=o.curves[x].pkcs8oid;t.string(S,"a known ECDSA named curve"),w.writeOID(S),w.endSequence(),w.startSequence(161);var b=u.ecNormalize(c.part.Q.data,!0);w.writeBuffer(b,e.Ber.BitString),w.endSequence()}function d(w,c){var p=n.from([1]);w.writeBuffer(p,e.Ber.Integer),w.writeBuffer(c.part.k.data,e.Ber.OctetString),w.startSequence(160),w.writeOID("1.3.101.112"),w.endSequence(),w.startSequence(161),u.writeBitString(w,c.part.A.data),w.endSequence()}function v(w,c){throw new Error("Public keys are not supported for EdDSA PKCS#1")}return pkcs1}var rfc4253,hasRequiredRfc4253;function requireRfc4253(){if(hasRequiredRfc4253)return rfc4253;hasRequiredRfc4253=1,rfc4253={read:C.bind(void 0,!1,void 0),readType:C.bind(void 0,!1),write:k,readPartial:C.bind(void 0,!0),readInternal:C,keyTypeToAlg:E,algToKeyType:y};var t=requireAssert(),e=requireSafer().Buffer,n=requireAlgs(),o=requireUtils$2(),u=requireKey(),l=requirePrivateKey(),m=requireSshBuffer();function y(A){if(t.string(A),A==="ssh-dss")return"dsa";if(A==="ssh-rsa")return"rsa";if(A==="ssh-ed25519")return"ed25519";if(A==="ssh-curve25519")return"curve25519";if(A.match(/^ecdsa-sha2-/))return"ecdsa";throw new Error("Unknown algorithm "+A)}function E(A){if(t.object(A),A.type==="dsa")return"ssh-dss";if(A.type==="rsa")return"ssh-rsa";if(A.type==="ed25519")return"ssh-ed25519";if(A.type==="curve25519")return"ssh-curve25519";if(A.type==="ecdsa")return"ecdsa-sha2-"+A.part.curve.data.toString();throw new Error("Unknown key type "+A.type)}function C(A,D,P,R){typeof P=="string"&&(P=e.from(P)),t.buffer(P,"buf");var B={},F=B.parts=[],O=new m({buffer:P}),N=O.readString();t.ok(!O.atEnd(),"key must have at least one part"),B.type=y(N);var Y=n.info[B.type].parts.length;for(D&&D==="private"&&(Y=n.privInfo[B.type].parts.length);!O.atEnd()&&F.length<Y;)F.push(O.readPart());for(;!A&&!O.atEnd();)F.push(O.readPart());t.ok(F.length>=1,"key must have at least one part"),t.ok(A||O.atEnd(),"leftover bytes at end of key");var J=u,ie=n.info[B.type];if((D==="private"||ie.parts.length!==F.length)&&(ie=n.privInfo[B.type],J=l),t.strictEqual(ie.parts.length,F.length),B.type==="ecdsa"){var ue=/^ecdsa-sha2-(.+)$/.exec(N);t.ok(ue!==null),t.strictEqual(ue[1],F[0].data.toString())}for(var Q=!0,ce=0;ce<ie.parts.length;++ce){var he=F[ce];if(he.name=ie.parts[ce],B.type==="ed25519"&&he.name==="k"&&(he.data=he.data.slice(0,32)),he.name!=="curve"&&ie.normalize!==!1){var ke;B.type==="ed25519"?ke=o.zeroPadToLength(he.data,32):ke=o.mpNormalize(he.data),ke.toString("binary")!==he.data.toString("binary")&&(he.data=ke,Q=!1)}}return Q&&(B._rfc4253Cache=O.toBuffer()),A&&typeof A=="object"&&(A.remainder=O.remainder(),A.consumed=O._offset),new J(B)}function k(A,D){t.object(A);var P=E(A),R,B=n.info[A.type];l.isPrivateKey(A)&&(B=n.privInfo[A.type]);var F=B.parts,O=new m({});for(O.writeString(P),R=0;R<F.length;++R){var N=A.part[F[R]].data;B.normalize!==!1&&(A.type==="ed25519"?N=o.zeroPadToLength(N,32):N=o.mpNormalize(N)),A.type==="ed25519"&&F[R]==="k"&&(N=e.concat([N,A.part.A.data])),O.writeBuffer(N)}return O.toBuffer()}return rfc4253}var bcryptPbkdf,hasRequiredBcryptPbkdf;function requireBcryptPbkdf(){if(hasRequiredBcryptPbkdf)return bcryptPbkdf;hasRequiredBcryptPbkdf=1;var t=requireNaclFast().lowlevel.crypto_hash,e=0,n=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])],this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};function o(C,k,A){return(C[0][k[A+3]]+C[1][k[A+2]]^C[2][k[A+1]])+C[3][k[A]]}n.prototype.encipher=function(C,k){k===void 0&&(k=new Uint8Array(C.buffer),C.byteOffset!==0&&(k=k.subarray(C.byteOffset))),C[0]^=this.P[0];for(var A=1;A<16;A+=2)C[1]^=o(this.S,k,0)^this.P[A],C[0]^=o(this.S,k,4)^this.P[A+1];var D=C[0];C[0]=C[1]^this.P[17],C[1]=D},n.prototype.decipher=function(C){var k=new Uint8Array(C.buffer);C.byteOffset!==0&&(k=k.subarray(C.byteOffset)),C[0]^=this.P[17];for(var A=16;A>0;A-=2)C[1]^=o(this.S,k,0)^this.P[A],C[0]^=o(this.S,k,4)^this.P[A-1];var D=C[0];C[0]=C[1]^this.P[0],C[1]=D};function u(C,k){var A,D=0;for(A=0;A<4;A++,e++)e>=k&&(e=0),D=D<<8|C[e];return D}n.prototype.expand0state=function(C,k){var A=new Uint32Array(2),D,P,R=new Uint8Array(A.buffer);for(D=0,e=0;D<18;D++)this.P[D]^=u(C,k);for(e=0,D=0;D<18;D+=2)this.encipher(A,R),this.P[D]=A[0],this.P[D+1]=A[1];for(D=0;D<4;D++)for(P=0;P<256;P+=2)this.encipher(A,R),this.S[D][P]=A[0],this.S[D][P+1]=A[1]},n.prototype.expandstate=function(C,k,A,D){var P=new Uint32Array(2),R,B;for(R=0,e=0;R<18;R++)this.P[R]^=u(A,D);for(R=0,e=0;R<18;R+=2)P[0]^=u(C,k),P[1]^=u(C,k),this.encipher(P),this.P[R]=P[0],this.P[R+1]=P[1];for(R=0;R<4;R++)for(B=0;B<256;B+=2)P[0]^=u(C,k),P[1]^=u(C,k),this.encipher(P),this.S[R][B]=P[0],this.S[R][B+1]=P[1];e=0},n.prototype.enc=function(C,k){for(var A=0;A<k;A++)this.encipher(C.subarray(A*2))},n.prototype.dec=function(C,k){for(var A=0;A<k;A++)this.decipher(C.subarray(A*2))};var l=8,m=32;function y(C,k,A){var D=new n,P=new Uint32Array(l),R,B=new Uint8Array([79,120,121,99,104,114,111,109,97,116,105,99,66,108,111,119,102,105,115,104,83,119,97,116,68,121,110,97,109,105,116,101]);for(D.expandstate(k,64,C,64),R=0;R<64;R++)D.expand0state(k,64),D.expand0state(C,64);for(R=0;R<l;R++)P[R]=u(B,B.byteLength);for(R=0;R<64;R++)D.enc(P,P.byteLength/8);for(R=0;R<l;R++)A[4*R+3]=P[R]>>>24,A[4*R+2]=P[R]>>>16,A[4*R+1]=P[R]>>>8,A[4*R+0]=P[R]}function E(C,k,A,D,P,R,B){var F=new Uint8Array(64),O=new Uint8Array(64),N=new Uint8Array(m),Y=new Uint8Array(m),J=new Uint8Array(D+4),ie,ue,Q,ce,he,ke,L=R;if(B<1||k===0||D===0||R===0||R>N.byteLength*N.byteLength||D>1<<20)return-1;for(ce=Math.floor((R+N.byteLength-1)/N.byteLength),Q=Math.floor((R+ce-1)/ce),ie=0;ie<D;ie++)J[ie]=A[ie];for(t(F,C,k),ke=1;R>0;ke++){for(J[D+0]=ke>>>24,J[D+1]=ke>>>16,J[D+2]=ke>>>8,J[D+3]=ke,t(O,J,D+4),y(F,O,Y),ie=N.byteLength;ie--;)N[ie]=Y[ie];for(ie=1;ie<B;ie++)for(t(O,Y,Y.byteLength),y(F,O,Y),ue=0;ue<N.byteLength;ue++)N[ue]^=Y[ue];for(Q=Math.min(Q,R),ie=0;ie<Q&&(he=ie*ce+(ke-1),!(he>=L));ie++)P[he]=N[ie];R-=ie}return 0}return bcryptPbkdf={BLOCKS:l,HASHSIZE:m,hash:y,pbkdf:E},bcryptPbkdf}var sshPrivate,hasRequiredSshPrivate;function requireSshPrivate(){if(hasRequiredSshPrivate)return sshPrivate;hasRequiredSshPrivate=1,sshPrivate={read:k,readSSHPrivate:D,write:P};var t=requireAssert();requireLib$4();var e=requireSafer().Buffer;requireAlgs();var n=requireUtils$2(),o=requireCryptoBrowserify();requireKey();var u=requirePrivateKey(),l=requirePem(),m=requireRfc4253(),y=requireSshBuffer(),E=requireErrors$1(),C;function k(R,B){return l.read(R,B)}var A="openssh-key-v1";function D(R,B,F){B=new y({buffer:B});var O=B.readCString();t.strictEqual(O,A,"bad magic string");var N=B.readString(),Y=B.readString(),J=B.readBuffer(),ie=B.readInt();if(ie!==1)throw new Error("OpenSSH-format key file contains multiple keys: this is unsupported.");var ue=B.readBuffer();if(R==="public")return t.ok(B.atEnd(),"excess bytes left after key"),m.read(ue);var Q=B.readBuffer();t.ok(B.atEnd(),"excess bytes left after key");var ce=new y({buffer:J});switch(Y){case"none":if(N!=="none")throw new Error('OpenSSH-format key uses KDF "none" but specifies a cipher other than "none"');break;case"bcrypt":var he=ce.readBuffer(),ke=ce.readInt(),L=n.opensshCipherInfo(N);if(C===void 0&&(C=requireBcryptPbkdf()),typeof F.passphrase=="string"&&(F.passphrase=e.from(F.passphrase,"utf-8")),!e.isBuffer(F.passphrase))throw new E.KeyEncryptedError(F.filename,"OpenSSH");var d=new Uint8Array(F.passphrase),v=new Uint8Array(he),w=new Uint8Array(L.keySize+L.blockSize),c=C.pbkdf(d,d.length,v,v.length,w,w.length,ke);if(c!==0)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");w=e.from(w);var p=w.slice(0,L.keySize),x=w.slice(L.keySize,L.keySize+L.blockSize),S=o.createDecipheriv(L.opensslName,p,x);S.setAutoPadding(!1);var b,h=[];for(S.once("error",function(Z){throw Z.toString().indexOf("bad decrypt")!==-1?new Error("Incorrect passphrase supplied, could not decrypt key"):Z}),S.write(Q),S.end();(b=S.read())!==null;)h.push(b);Q=e.concat(h);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+Y+'"')}B=new y({buffer:Q});var T=B.readInt(),M=B.readInt();if(T!==M)throw new Error("Incorrect passphrase supplied, could not decrypt key");var j={},V=m.readInternal(j,"private",B.remainder());B.skip(j.consumed);var ee=B.readString();return V.comment=ee,V}function P(R,B){var F;u.isPrivateKey(R)?F=R.toPublic():F=R;var O="none",N="none",Y=e.alloc(0),J={blockSize:8},ie;B!==void 0&&(ie=B.passphrase,typeof ie=="string"&&(ie=e.from(ie,"utf-8")),ie!==void 0&&(t.buffer(ie,"options.passphrase"),t.optionalString(B.cipher,"options.cipher"),O=B.cipher,O===void 0&&(O="aes128-ctr"),J=n.opensshCipherInfo(O),N="bcrypt"));var ue;if(u.isPrivateKey(R)){ue=new y({});var Q=o.randomBytes(4).readUInt32BE(0);ue.writeInt(Q),ue.writeInt(Q),ue.write(R.toBuffer("rfc4253")),ue.writeString(R.comment||"");for(var ce=1;ue._offset%J.blockSize!==0;)ue.writeChar(ce++);ue=ue.toBuffer()}switch(N){case"none":break;case"bcrypt":var he=o.randomBytes(16),ke=16,L=new y({});L.writeBuffer(he),L.writeInt(ke),Y=L.toBuffer(),C===void 0&&(C=requireBcryptPbkdf());var d=new Uint8Array(ie),v=new Uint8Array(he),w=new Uint8Array(J.keySize+J.blockSize),c=C.pbkdf(d,d.length,v,v.length,w,w.length,ke);if(c!==0)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");w=e.from(w);var p=w.slice(0,J.keySize),x=w.slice(J.keySize,J.keySize+J.blockSize),S=o.createCipheriv(J.opensslName,p,x);S.setAutoPadding(!1);var b,h=[];for(S.once("error",function(z){throw z}),S.write(ue),S.end();(b=S.read())!==null;)h.push(b);ue=e.concat(h);break;default:throw new Error("Unsupported kdf "+N)}var T=new y({});T.writeCString(A),T.writeString(O),T.writeString(N),T.writeBuffer(Y),T.writeInt(1),T.writeBuffer(F.toBuffer("rfc4253")),ue&&T.writeBuffer(ue),T=T.toBuffer();var M;u.isPrivateKey(R)?M="OPENSSH PRIVATE KEY":M="OPENSSH PUBLIC KEY";var j=T.toString("base64"),V=j.length+j.length/70+18+16+M.length*2+10;T=e.alloc(V);var ee=0;ee+=T.write("-----BEGIN "+M+`-----
-`,ee);for(var Z=0;Z<j.length;){var U=Z+70;U>j.length&&(U=j.length),ee+=T.write(j.slice(Z,U),ee),T[ee++]=10,Z=U}return ee+=T.write("-----END "+M+`-----
-`,ee),T.slice(0,ee)}return sshPrivate}var pem,hasRequiredPem;function requirePem(){if(hasRequiredPem)return pem;hasRequiredPem=1,pem={read:F,write:O};var t=requireAssert(),e=requireLib$4(),n=requireCryptoBrowserify(),o=requireSafer().Buffer;requireAlgs();var u=requireUtils$2(),l=requireKey(),m=requirePrivateKey(),y=requirePkcs1(),E=requirePkcs8(),C=requireSshPrivate(),k=requireRfc4253(),A=requireErrors$1(),D="1.2.840.113549.1.5.13",P="1.2.840.113549.1.5.12",R={"1.2.840.113549.3.7":"3des-cbc","2.16.840.1.101.3.4.1.2":"aes128-cbc","2.16.840.1.101.3.4.1.42":"aes256-cbc"};Object.keys(R).forEach(function(N){});var B={"1.2.840.113549.2.7":"sha1","1.2.840.113549.2.9":"sha256","1.2.840.113549.2.11":"sha512"};Object.keys(B).forEach(function(N){});function F(N,Y,J){var ie=N;typeof N!="string"&&(t.buffer(N,"buf"),N=N.toString("ascii"));for(var ue=N.trim().split(/[\r\n]+/g),Q,ce=-1;!Q&&ce<ue.length;)Q=ue[++ce].match(/[-]+[ ]*BEGIN ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);t.ok(Q,"invalid PEM header");for(var he,ke=ue.length;!he&&ke>0;)he=ue[--ke].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);t.ok(he,"invalid PEM footer"),t.equal(Q[2],he[2]);var L=Q[2].toLowerCase(),d;Q[1]&&(t.equal(Q[1],he[1],"PEM header and footer mismatch"),d=Q[1].trim()),ue=ue.slice(ce,ke+1);for(var v={};ue=ue.slice(1),Q=ue[0].match(/^([A-Za-z0-9-]+): (.+)$/),!!Q;)v[Q[1].toLowerCase()]=Q[2];ue=ue.slice(0,-1).join(""),N=o.from(ue,"base64");var w,c,p;if(v["proc-type"]){var x=v["proc-type"].split(",");if(x[0]==="4"&&x[1]==="ENCRYPTED")if(typeof Y.passphrase=="string"&&(Y.passphrase=o.from(Y.passphrase,"utf-8")),o.isBuffer(Y.passphrase))x=v["dek-info"].split(","),t.ok(x.length===2),w=x[0].toLowerCase(),p=o.from(x[1],"hex"),c=u.opensslKeyDeriv(w,p,Y.passphrase,1).key;else throw new A.KeyEncryptedError(Y.filename,"PEM")}if(d&&d.toLowerCase()==="encrypted"){var S=new e.BerReader(N),b;S.readSequence(),S.readSequence(),b=S.offset+S.length;var h=S.readOID();if(h!==D)throw new Error("Unsupported PEM/PKCS8 encryption scheme: "+h);S.readSequence(),S.readSequence();var T=S.offset+S.length,M=S.readOID();if(M!==P)throw new Error("Unsupported PBES2 KDF: "+M);S.readSequence();var j=S.readString(e.Ber.OctetString,!0),V=S.readInt(),ee="sha1";if(S.offset<T){S.readSequence();var Z=S.readOID();if(ee=B[Z],ee===void 0)throw new Error("Unsupported PBKDF2 hash: "+Z)}S._offset=T,S.readSequence();var U=S.readOID();if(w=R[U],w===void 0)throw new Error("Unsupported PBES2 cipher: "+U);if(p=S.readString(e.Ber.OctetString,!0),S._offset=b,N=S.readString(e.Ber.OctetString,!0),typeof Y.passphrase=="string"&&(Y.passphrase=o.from(Y.passphrase,"utf-8")),!o.isBuffer(Y.passphrase))throw new A.KeyEncryptedError(Y.filename,"PEM");var z=u.opensshCipherInfo(w);w=z.opensslName,c=u.pbkdf2(ee,j,V,z.keySize,Y.passphrase),d=void 0}if(w&&c&&p){var ne=n.createDecipheriv(w,c,p),fe,me=[];for(ne.once("error",function(Oe){throw Oe.toString().indexOf("bad decrypt")!==-1?new Error("Incorrect passphrase supplied, could not decrypt key"):Oe}),ne.write(N),ne.end();(fe=ne.read())!==null;)me.push(fe);N=o.concat(me)}if(d&&d.toLowerCase()==="openssh")return C.readSSHPrivate(L,N,Y);if(d&&d.toLowerCase()==="ssh2")return k.readType(L,N,Y);var de=new e.BerReader(N);return de.originalInput=ie,de.readSequence(),d?(J&&t.strictEqual(J,"pkcs1"),y.readPkcs1(d,L,de)):(J&&t.strictEqual(J,"pkcs8"),E.readPkcs8(d,L,de))}function O(N,Y,J){t.object(N);var ie={ecdsa:"EC",rsa:"RSA",dsa:"DSA",ed25519:"EdDSA"}[N.type],ue,Q=new e.BerWriter;if(m.isPrivateKey(N))J&&J==="pkcs8"?(ue="PRIVATE KEY",E.writePkcs8(Q,N)):(J&&t.strictEqual(J,"pkcs1"),ue=ie+" PRIVATE KEY",y.writePkcs1(Q,N));else if(l.isKey(N))J&&J==="pkcs1"?(ue=ie+" PUBLIC KEY",y.writePkcs1(Q,N)):(J&&t.strictEqual(J,"pkcs8"),ue="PUBLIC KEY",E.writePkcs8(Q,N));else throw new Error("key is not a Key or PrivateKey");var ce=Q.buffer.toString("base64"),he=ce.length+ce.length/64+18+16+ue.length*2+10,ke=o.alloc(he),L=0;L+=ke.write("-----BEGIN "+ue+`-----
-`,L);for(var d=0;d<ce.length;){var v=d+64;v>ce.length&&(v=ce.length),L+=ke.write(ce.slice(d,v),L),ke[L++]=10,d=v}return L+=ke.write("-----END "+ue+`-----
-`,L),ke.slice(0,L)}return pem}var ssh,hasRequiredSsh;function requireSsh(){if(hasRequiredSsh)return ssh;hasRequiredSsh=1,ssh={read:m,write:y};var t=requireAssert(),e=requireSafer().Buffer,n=requireRfc4253();requireUtils$2();var o=requireKey();requirePrivateKey(),requireSshPrivate();var u=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([ \t]+([^ \t][^\n]*[\n]*)?)?$/,l=/^([a-z0-9-]+)[ \t\n]+([a-zA-Z0-9+\/][a-zA-Z0-9+\/ \t\n=]*)([^a-zA-Z0-9+\/ \t\n=].*)?$/;function m(E,C){typeof E!="string"&&(t.buffer(E,"buf"),E=E.toString("ascii"));var k=E.trim().replace(/[\\\r]/g,""),A=k.match(u);A||(A=k.match(l)),t.ok(A,"key must match regex");var D=n.algToKeyType(A[1]),P=e.from(A[2],"base64"),R,B={};if(A[4])try{R=n.read(P)}catch{A=k.match(l),t.ok(A,"key must match regex"),P=e.from(A[2],"base64"),R=n.readInternal(B,"public",P)}else R=n.readInternal(B,"public",P);if(t.strictEqual(D,R.type),A[4]&&A[4].length>0)R.comment=A[4];else if(B.consumed){var F=A[2]+(A[3]?A[3]:""),O=Math.ceil(B.consumed/3)*4;F=F.slice(0,O-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+F.slice(O-2);var N=B.consumed%3;for(N>0&&F.slice(O-1,O)!=="="&&O--;F.slice(O,O+1)==="=";)O++;var Y=F.slice(O);Y=Y.replace(/[\r\n]/g," ").replace(/^\s+/,""),Y.match(/^[a-zA-Z0-9]/)&&(R.comment=Y)}return R}function y(E,C){if(t.object(E),!o.isKey(E))throw new Error("Must be a public key");var k=[],A=n.keyTypeToAlg(E);k.push(A);var D=n.write(E);return k.push(D.toString("base64")),E.comment&&k.push(E.comment),e.from(k.join(" "))}return ssh}var dnssec,hasRequiredDnssec;function requireDnssec(){if(hasRequiredDnssec)return dnssec;hasRequiredDnssec=1,dnssec={read:y,write:F};var t=requireAssert(),e=requireSafer().Buffer,n=requireKey(),o=requirePrivateKey(),u=requireUtils$2();requireSshBuffer(),requireDhe();var l={"rsa-sha1":5,"rsa-sha256":8,"rsa-sha512":10,"ecdsa-p256-sha256":13,"ecdsa-p384-sha384":14},m={};Object.keys(l).forEach(function(O){m[l[O]]=O.toUpperCase()});function y(O,N){typeof O!="string"&&(t.buffer(O,"buf"),O=O.toString("ascii"));var Y=O.split(`
-`);if(Y[0].match(/^Private-key-format\: v1/)){var J=Y[1].split(" "),ie=parseInt(J[1],10),ue=J[2];if(!m[ie])throw new Error("Unsupported algorithm: "+ue);return A(ie,Y.slice(2))}for(var Q=0;Y[Q].match(/^\;/);)Q++;if((Y[Q].match(/\. IN KEY /)||Y[Q].match(/\. IN DNSKEY /))&&Y[Q+1].length===0)return E(Y[Q]);throw new Error("Cannot parse dnssec key")}function E(O){var N=O.split(" "),Y=parseInt(N[5],10);if(!m[Y])throw new Error("Unsupported algorithm: "+Y);var J=N.slice(6,N.length).join(),ie=e.from(J,"base64");if(m[Y].match(/^RSA-/)){var ue=ie.readUInt8(0);if(ue!=3&&ue!=1)throw new Error("Cannot parse dnssec key: unsupported exponent length");var Q=ie.slice(1,ue+1);Q=u.mpNormalize(Q);var ce=ie.slice(1+ue);ce=u.mpNormalize(ce);var he={type:"rsa",parts:[]};return he.parts.push({name:"e",data:Q}),he.parts.push({name:"n",data:ce}),new n(he)}if(m[Y]==="ECDSA-P384-SHA384"||m[Y]==="ECDSA-P256-SHA256"){var ke="nistp384",L=384;m[Y].match(/^ECDSA-P256-SHA256/)&&(ke="nistp256",L=256);var d={type:"ecdsa",curve:ke,size:L,parts:[{name:"curve",data:e.from(ke)},{name:"Q",data:u.ecNormalize(ie)}]};return new n(d)}throw new Error("Unsupported algorithm: "+m[Y])}function C(O){return e.from(O.split(" ")[1],"base64")}function k(O){var N={};O.forEach(function(J){J.split(" ")[0]==="Modulus:"?N.n=C(J):J.split(" ")[0]==="PublicExponent:"?N.e=C(J):J.split(" ")[0]==="PrivateExponent:"?N.d=C(J):J.split(" ")[0]==="Prime1:"?N.p=C(J):J.split(" ")[0]==="Prime2:"?N.q=C(J):J.split(" ")[0]==="Exponent1:"?N.dmodp=C(J):J.split(" ")[0]==="Exponent2:"?N.dmodq=C(J):J.split(" ")[0]==="Coefficient:"&&(N.iqmp=C(J))});var Y={type:"rsa",parts:[{name:"e",data:u.mpNormalize(N.e)},{name:"n",data:u.mpNormalize(N.n)},{name:"d",data:u.mpNormalize(N.d)},{name:"p",data:u.mpNormalize(N.p)},{name:"q",data:u.mpNormalize(N.q)},{name:"dmodp",data:u.mpNormalize(N.dmodp)},{name:"dmodq",data:u.mpNormalize(N.dmodq)},{name:"iqmp",data:u.mpNormalize(N.iqmp)}]};return new o(Y)}function A(O,N){if(m[O].match(/^RSA-/))return k(N);if(m[O]==="ECDSA-P384-SHA384"||m[O]==="ECDSA-P256-SHA256"){var Y=e.from(N[0].split(" ")[1],"base64"),J="nistp384",ie=384;m[O]==="ECDSA-P256-SHA256"&&(J="nistp256",ie=256);var ue=u.publicFromPrivateECDSA(J,Y),Q=ue.part.Q.data,ce={type:"ecdsa",curve:J,size:ie,parts:[{name:"curve",data:e.from(J)},{name:"d",data:Y},{name:"Q",data:Q}]};return new o(ce)}throw new Error("Unsupported algorithm: "+m[O])}function D(O){var N=O.getFullYear()+"",Y=O.getMonth()+1,J=N+Y+O.getUTCDate();return J+=""+O.getUTCHours()+O.getUTCMinutes(),J+=O.getUTCSeconds(),J}function P(O){if(!O||!O.hashAlgo||O.hashAlgo==="sha1")return"5 (RSASHA1)";if(O.hashAlgo==="sha256")return"8 (RSASHA256)";if(O.hashAlgo==="sha512")return"10 (RSASHA512)";throw new Error("Unknown or unsupported hash: "+O.hashAlgo)}function R(O,N){(!O.part.dmodp||!O.part.dmodq)&&u.addRSAMissing(O);var Y="";Y+=`Private-key-format: v1.3
-`,Y+="Algorithm: "+P(N)+`
-`;var J=u.mpDenormalize(O.part.n.data);Y+="Modulus: "+J.toString("base64")+`
-`;var ie=u.mpDenormalize(O.part.e.data);Y+="PublicExponent: "+ie.toString("base64")+`
-`;var ue=u.mpDenormalize(O.part.d.data);Y+="PrivateExponent: "+ue.toString("base64")+`
-`;var Q=u.mpDenormalize(O.part.p.data);Y+="Prime1: "+Q.toString("base64")+`
-`;var ce=u.mpDenormalize(O.part.q.data);Y+="Prime2: "+ce.toString("base64")+`
-`;var he=u.mpDenormalize(O.part.dmodp.data);Y+="Exponent1: "+he.toString("base64")+`
-`;var ke=u.mpDenormalize(O.part.dmodq.data);Y+="Exponent2: "+ke.toString("base64")+`
-`;var L=u.mpDenormalize(O.part.iqmp.data);Y+="Coefficient: "+L.toString("base64")+`
-`;var d=new Date;return Y+="Created: "+D(d)+`
-`,Y+="Publish: "+D(d)+`
-`,Y+="Activate: "+D(d)+`
-`,e.from(Y,"ascii")}function B(O,N){var Y="";if(Y+=`Private-key-format: v1.3
-`,O.curve==="nistp256")Y+=`Algorithm: 13 (ECDSAP256SHA256)
-`;else if(O.curve==="nistp384")Y+=`Algorithm: 14 (ECDSAP384SHA384)
-`;else throw new Error("Unsupported curve");var J=O.part.d.data.toString("base64");Y+="PrivateKey: "+J+`
-`;var ie=new Date;return Y+="Created: "+D(ie)+`
-`,Y+="Publish: "+D(ie)+`
-`,Y+="Activate: "+D(ie)+`
-`,e.from(Y,"ascii")}function F(O,N){if(o.isPrivateKey(O)){if(O.type==="rsa")return R(O,N);if(O.type==="ecdsa")return B(O);throw new Error("Unsupported algorithm: "+O.type)}else throw n.isKey(O)?new Error('Format "dnssec" only supports writing private keys'):new Error("key is not a Key or PrivateKey")}return dnssec}var putty,hasRequiredPutty;function requirePutty(){if(hasRequiredPutty)return putty;hasRequiredPutty=1,putty={read:E,write:A};var t=requireAssert(),e=requireSafer().Buffer,n=requireRfc4253(),o=requireKey(),u=requireSshBuffer(),l=requireCryptoBrowserify(),m=requirePrivateKey(),y=requireErrors$1();function E(P,R){for(var B=P.toString("ascii").split(/[\r\n]+/),F=!1,O,N=0,Y;N<B.length;)if(O=k(B[N++]),O&&(Y={"putty-user-key-file-2":2,"putty-user-key-file-3":3}[O[0].toLowerCase()],Y)){F=!0;break}if(!F)throw new Error("No PuTTY format first line found");var J=O[1];O=k(B[N++]),t.equal(O[0].toLowerCase(),"encryption");var ie=O[1];O=k(B[N++]),t.equal(O[0].toLowerCase(),"comment");var ue=O[1];O=k(B[N++]),t.equal(O[0].toLowerCase(),"public-lines");var Q=parseInt(O[1],10);if(!isFinite(Q)||Q<0||Q>B.length)throw new Error("Invalid public-lines count");var ce=e.from(B.slice(N,N+Q).join(""),"base64"),he=n.algToKeyType(J),ke=n.read(ce);if(ke.type!==he)throw new Error("Outer key algorithm mismatch");if(N+=Q,B[N]){O=k(B[N++]),t.equal(O[0].toLowerCase(),"private-lines");var L=parseInt(O[1],10);if(!isFinite(L)||L<0||L>B.length)throw new Error("Invalid private-lines count");var d=e.from(B.slice(N,N+L).join(""),"base64");if(ie!=="none"&&Y===3)throw new Error("Encrypted keys arenot supported for PuTTY format version 3");if(ie==="aes256-cbc"){if(!R.passphrase)throw new y.KeyEncryptedError(R.filename,"PEM");var v=e.alloc(16,0),w=l.createDecipheriv("aes-256-cbc",C(R.passphrase),v);w.setAutoPadding(!1),d=e.concat([w.update(d),w.final()])}if(ke=new m(ke),ke.type!==he)throw new Error("Outer key algorithm mismatch");var c=new u({buffer:d}),p;if(J==="ssh-dss")p=[{name:"x",data:c.readBuffer()}];else if(J==="ssh-rsa")p=[{name:"d",data:c.readBuffer()},{name:"p",data:c.readBuffer()},{name:"q",data:c.readBuffer()},{name:"iqmp",data:c.readBuffer()}];else if(J.match(/^ecdsa-sha2-nistp/))p=[{name:"d",data:c.readBuffer()}];else if(J==="ssh-ed25519")p=[{name:"k",data:c.readBuffer()}];else throw new Error("Unsupported PPK key type: "+J);ke=new m({type:ke.type,parts:ke.parts.concat(p)})}return ke.comment=ue,ke}function C(P){var R=l.createHash("sha1").update(e.concat([e.from([0,0,0,0]),e.from(P)])).digest(),B=l.createHash("sha1").update(e.concat([e.from([0,0,0,1]),e.from(P)])).digest();return e.concat([R,B]).slice(0,32)}function k(P){var R=P.indexOf(":");if(R===-1)return null;var B=P.slice(0,R);for(++R;P[R]===" ";)++R;var F=P.slice(R);return[B,F]}function A(P,R){if(t.object(P),!o.isKey(P))throw new Error("Must be a public key");var B=n.keyTypeToAlg(P),F=n.write(P),O=P.comment||"",N=F.toString("base64"),Y=D(N);return Y.unshift("Public-Lines: "+Y.length),Y.unshift("Comment: "+O),Y.unshift("Encryption: none"),Y.unshift("PuTTY-User-Key-File-2: "+B),e.from(Y.join(`
+`+C.date+`
+`+C.resource}awsSign2.exports.queryStringToSign=w;function A(C){for(var M=[],P=Object.keys(C),I=0,j=P.length;I<j;++I){var F=P[I],B=C[F],F=F.toLowerCase();F.indexOf("x-amz")===0&&M.push(F+":"+B)}return M.sort().join(`
+`)}awsSign2.exports.canonicalizeHeaders=A;function E(C){var M=e(C,!0),P=M.pathname,I=[];return Object.keys(M.query).forEach(function(j){if(~o.indexOf(j)){var B=M.query[j]==""?"":"="+encodeURIComponent(M.query[j]);I.push(j+B)}}),P+(I.length?"?"+I.sort().join("&"):"")}return awsSign2.exports.canonicalizeResource=E,awsSign2.exports}var aws4={};const require$$1$1=getAugmentedNamespace(querystring$2);var lru,hasRequiredLru;function requireLru(){if(hasRequiredLru)return lru;hasRequiredLru=1,lru=function(l){return new n(l)};function n(l){this.capacity=l|0,this.map=Object.create(null),this.list=new e}n.prototype.get=function(l){var t=this.map[l];if(t!=null)return this.used(t),t.val},n.prototype.set=function(l,t){var u=this.map[l];if(u!=null)u.val=t;else{if(this.capacity||this.prune(),!this.capacity)return!1;u=new o(l,t),this.map[l]=u,this.capacity--}return this.used(u),!0},n.prototype.used=function(l){this.list.moveToFront(l)},n.prototype.prune=function(){var l=this.list.pop();l!=null&&(delete this.map[l.key],this.capacity++)};function e(){this.firstNode=null,this.lastNode=null}e.prototype.moveToFront=function(l){this.firstNode!=l&&(this.remove(l),this.firstNode==null?(this.firstNode=l,this.lastNode=l,l.prev=null,l.next=null):(l.prev=null,l.next=this.firstNode,l.next.prev=l,this.firstNode=l))},e.prototype.pop=function(){var l=this.lastNode;return l!=null&&this.remove(l),l},e.prototype.remove=function(l){this.firstNode==l?this.firstNode=l.next:l.prev!=null&&(l.prev.next=l.next),this.lastNode==l?this.lastNode=l.prev:l.next!=null&&(l.next.prev=l.prev)};function o(l,t){this.key=l,this.val=t,this.prev=null,this.next=null}return lru}var hasRequiredAws4;function requireAws4(){return hasRequiredAws4||(hasRequiredAws4=1,function(n){var e=n,o=require$$2$2,l=require$$1$1,t=requireCryptoBrowserify(),u=requireLru(),h=u(1e3);function v(P,I,j){return t.createHmac("sha256",P).update(I,"utf8").digest(j)}function w(P,I){return t.createHash("sha256").update(P,"utf8").digest(I)}function A(P){return P.replace(/[!'()*]/g,function(I){return"%"+I.charCodeAt(0).toString(16).toUpperCase()})}function E(P){return A(encodeURIComponent(P))}var C={authorization:!0,connection:!0,"x-amzn-trace-id":!0,"user-agent":!0,expect:!0,"presigned-expires":!0,range:!0};function M(P,I){typeof P=="string"&&(P=o.parse(P));var j=P.headers=Object.assign({},P.headers||{}),B=(!this.service||!this.region)&&this.matchHost(P.hostname||P.host||j.Host||j.host);this.request=P,this.credentials=I||this.defaultCredentials(),this.service=P.service||B[0]||"",this.region=P.region||B[1]||"us-east-1",this.service==="email"&&(this.service="ses"),!P.method&&P.body&&(P.method="POST"),!j.Host&&!j.host&&(j.Host=P.hostname||P.host||this.createHost(),P.port&&(j.Host+=":"+P.port)),!P.hostname&&!P.host&&(P.hostname=j.Host||j.host),this.isCodeCommitGit=this.service==="codecommit"&&P.method==="GIT",this.extraHeadersToIgnore=P.extraHeadersToIgnore||Object.create(null),this.extraHeadersToInclude=P.extraHeadersToInclude||Object.create(null)}M.prototype.matchHost=function(P){var I=(P||"").match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/),j=(I||[]).slice(1,3);if((j[1]==="es"||j[1]==="aoss")&&(j=j.reverse()),j[1]=="s3")j[0]="s3",j[1]="us-east-1";else for(var B=0;B<2;B++)if(/^s3-/.test(j[B])){j[1]=j[B].slice(3),j[0]="s3";break}return j},M.prototype.isSingleRegion=function(){return["s3","sdb"].indexOf(this.service)>=0&&this.region==="us-east-1"?!0:["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0},M.prototype.createHost=function(){var P=this.isSingleRegion()?"":"."+this.region,I=this.service==="ses"?"email":this.service;return I+P+".amazonaws.com"},M.prototype.prepareRequest=function(){this.parsePath();var P=this.request,I=P.headers,j;P.signQuery?(this.parsedPath.query=j=this.parsedPath.query||{},this.credentials.sessionToken&&(j["X-Amz-Security-Token"]=this.credentials.sessionToken),this.service==="s3"&&!j["X-Amz-Expires"]&&(j["X-Amz-Expires"]=86400),j["X-Amz-Date"]?this.datetime=j["X-Amz-Date"]:j["X-Amz-Date"]=this.getDateTime(),j["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",j["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString(),j["X-Amz-SignedHeaders"]=this.signedHeaders()):(!P.doNotModifyHeaders&&!this.isCodeCommitGit&&(P.body&&!I["Content-Type"]&&!I["content-type"]&&(I["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8"),P.body&&!I["Content-Length"]&&!I["content-length"]&&(I["Content-Length"]=Buffer$C.byteLength(P.body)),this.credentials.sessionToken&&!I["X-Amz-Security-Token"]&&!I["x-amz-security-token"]&&(I["X-Amz-Security-Token"]=this.credentials.sessionToken),this.service==="s3"&&!I["X-Amz-Content-Sha256"]&&!I["x-amz-content-sha256"]&&(I["X-Amz-Content-Sha256"]=w(this.request.body||"","hex")),I["X-Amz-Date"]||I["x-amz-date"]?this.datetime=I["X-Amz-Date"]||I["x-amz-date"]:I["X-Amz-Date"]=this.getDateTime()),delete I.Authorization,delete I.authorization)},M.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query["X-Amz-Signature"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},M.prototype.getDateTime=function(){if(!this.datetime){var P=this.request.headers,I=new Date(P.Date||P.date||new Date);this.datetime=I.toISOString().replace(/[:\-]|\.\d{3}/g,""),this.isCodeCommitGit&&(this.datetime=this.datetime.slice(0,-1))}return this.datetime},M.prototype.getDate=function(){return this.getDateTime().substr(0,8)},M.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")},M.prototype.signature=function(){var P=this.getDate(),I=[this.credentials.secretAccessKey,P,this.region,this.service].join(),j,B,F,N=h.get(I);return N||(j=v("AWS4"+this.credentials.secretAccessKey,P),B=v(j,this.region),F=v(B,this.service),N=v(F,"aws4_request"),h.set(I,N)),v(N,this.stringToSign(),"hex")},M.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),w(this.canonicalString(),"hex")].join(`
+`)},M.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var P=this.parsedPath.path,I=this.parsedPath.query,j=this.request.headers,B="",F=this.service!=="s3",N=this.service==="s3"||this.request.doNotEncodePath,ee=this.service==="s3",Z=this.service==="s3",re;if(this.service==="s3"&&this.request.signQuery?re="UNSIGNED-PAYLOAD":this.isCodeCommitGit?re="":re=j["X-Amz-Content-Sha256"]||j["x-amz-content-sha256"]||w(this.request.body||"","hex"),I){var fe=Object.keys(I).reduce(function(le,he){return he&&(le[E(he)]=Array.isArray(I[he])&&Z?I[he][0]:I[he]),le},{}),V=[];Object.keys(fe).sort().forEach(function(le){Array.isArray(fe[le])?fe[le].map(E).sort().forEach(function(he){V.push(le+"="+he)}):V.push(le+"="+E(fe[le]))}),B=V.join("&")}return P!=="/"&&(F&&(P=P.replace(/\/{2,}/g,"/")),P=P.split("/").reduce(function(le,he){return F&&he===".."?le.pop():(!F||he!==".")&&(N&&(he=decodeURIComponent(he.replace(/\+/g," "))),le.push(E(he))),le},[]).join("/"),P[0]!=="/"&&(P="/"+P),ee&&(P=P.replace(/%2F/g,"/"))),[this.request.method||"GET",P,B,this.canonicalHeaders()+`
+`,this.signedHeaders(),re].join(`
+`)},M.prototype.filterHeaders=function(){var P=this.request.headers,I=this.extraHeadersToInclude,j=this.extraHeadersToIgnore;this.filteredHeaders=Object.keys(P).map(function(B){return[B.toLowerCase(),P[B]]}).filter(function(B){return I[B[0]]||C[B[0]]==null&&!j[B[0]]}).sort(function(B,F){return B[0]<F[0]?-1:1})},M.prototype.canonicalHeaders=function(){return this.filteredHeaders||this.filterHeaders(),this.filteredHeaders.map(function(P){return P[0]+":"+P[1].toString().trim().replace(/\s+/g," ")}).join(`
+`)},M.prototype.signedHeaders=function(){return this.filteredHeaders||this.filterHeaders(),this.filteredHeaders.map(function(P){return P[0]}).join(";")},M.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,"aws4_request"].join("/")},M.prototype.defaultCredentials=function(){var P=process$1.env;return{accessKeyId:P.AWS_ACCESS_KEY_ID||P.AWS_ACCESS_KEY,secretAccessKey:P.AWS_SECRET_ACCESS_KEY||P.AWS_SECRET_KEY,sessionToken:P.AWS_SESSION_TOKEN}},M.prototype.parsePath=function(){var P=this.request.path||"/";/[^0-9A-Za-z;,/?:@&=+$\-_.!~*'()#%]/.test(P)&&(P=encodeURI(decodeURI(P)));var I=P.indexOf("?"),j=null;I>=0&&(j=l.parse(P.slice(I+1)),P=P.slice(0,I)),this.parsedPath={path:P,query:j}},M.prototype.formatPath=function(){var P=this.parsedPath.path,I=this.parsedPath.query;return I?(I[""]!=null&&delete I[""],P+"?"+A(l.stringify(I))):P},e.RequestSigner=M,e.sign=function(P,I){return new M(P,I).sign()}}(aws4)),aws4}var assert_1,hasRequiredAssert;function requireAssert(){if(hasRequiredAssert)return assert_1;hasRequiredAssert=1;var n=requireAssert$1(),e=requireStreamBrowserify().Stream,o=util$6,l=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function t(E){return E.charAt(0).toUpperCase()+E.slice(1)}function u(E,C,M,P,I){throw new n.AssertionError({message:o.format("%s (%s) is required",E,C),actual:I===void 0?typeof P:I(P),expected:C,operator:M||"===",stackStartFunction:u.caller})}function h(E){return Object.prototype.toString.call(E).slice(8,-1)}function v(){}var w={bool:{check:function(E){return typeof E=="boolean"}},func:{check:function(E){return typeof E=="function"}},string:{check:function(E){return typeof E=="string"}},object:{check:function(E){return typeof E=="object"&&E!==null}},number:{check:function(E){return typeof E=="number"&&!isNaN(E)}},finite:{check:function(E){return typeof E=="number"&&!isNaN(E)&&isFinite(E)}},buffer:{check:function(E){return Buffer$C.isBuffer(E)},operator:"Buffer.isBuffer"},array:{check:function(E){return Array.isArray(E)},operator:"Array.isArray"},stream:{check:function(E){return E instanceof e},operator:"instanceof",actual:h},date:{check:function(E){return E instanceof Date},operator:"instanceof",actual:h},regexp:{check:function(E){return E instanceof RegExp},operator:"instanceof",actual:h},uuid:{check:function(E){return typeof E=="string"&&l.test(E)},operator:"isUUID"}};function A(E){var C=Object.keys(w),M;return process$1.env.NODE_NDEBUG?M=v:M=function(P,I){P||u(I,"true",P)},C.forEach(function(P){if(E){M[P]=v;return}var I=w[P];M[P]=function(j,B){I.check(j)||u(B,P,I.operator,j,I.actual)}}),C.forEach(function(P){var I="optional"+t(P);if(E){M[I]=v;return}var j=w[P];M[I]=function(B,F){B!=null&&(j.check(B)||u(F,P,j.operator,B,j.actual))}}),C.forEach(function(P){var I="arrayOf"+t(P);if(E){M[I]=v;return}var j=w[P],B="["+P+"]";M[I]=function(F,N){Array.isArray(F)||u(N,B,j.operator,F,j.actual);var ee;for(ee=0;ee<F.length;ee++)j.check(F[ee])||u(N,B,j.operator,F,j.actual)}}),C.forEach(function(P){var I="optionalArrayOf"+t(P);if(E){M[I]=v;return}var j=w[P],B="["+P+"]";M[I]=function(F,N){if(F!=null){Array.isArray(F)||u(N,B,j.operator,F,j.actual);var ee;for(ee=0;ee<F.length;ee++)j.check(F[ee])||u(N,B,j.operator,F,j.actual)}}}),Object.keys(n).forEach(function(P){if(P==="AssertionError"){M[P]=n[P];return}if(E){M[P]=v;return}M[P]=n[P]}),M._setExports=A,M}return assert_1=A(process$1.env.NODE_NDEBUG),assert_1}var safer_1,hasRequiredSafer;function requireSafer(){if(hasRequiredSafer)return safer_1;hasRequiredSafer=1;var n=require$$0$2,e=n.Buffer,o={},l;for(l in n)n.hasOwnProperty(l)&&(l==="SlowBuffer"||l==="Buffer"||(o[l]=n[l]));var t=o.Buffer={};for(l in e)e.hasOwnProperty(l)&&(l==="allocUnsafe"||l==="allocUnsafeSlow"||(t[l]=e[l]));if(o.Buffer.prototype=e.prototype,(!t.from||t.from===Uint8Array.from)&&(t.from=function(u,h,v){if(typeof u=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof u);if(u&&typeof u.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u);return e(u,h,v)}),t.alloc||(t.alloc=function(u,h,v){if(typeof u!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof u);if(u<0||u>=2*(1<<30))throw new RangeError('The value "'+u+'" is invalid for option "size"');var w=e(u);return!h||h.length===0?w.fill(0):typeof v=="string"?w.fill(h,v):w.fill(h),w}),!o.kStringMaxLength)try{o.kStringMaxLength=process$1.binding("buffer").kStringMaxLength}catch{}return o.constants||(o.constants={MAX_LENGTH:o.kMaxLength},o.kStringMaxLength&&(o.constants.MAX_STRING_LENGTH=o.kStringMaxLength)),safer_1=o,safer_1}var algs,hasRequiredAlgs;function requireAlgs(){if(hasRequiredAlgs)return algs;hasRequiredAlgs=1;var n=requireSafer().Buffer,e={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};e.curve25519=e.ed25519;var o={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};o.curve25519=o.ed25519;var l={md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},t={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:n.from("00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff".replace(/ /g,""),"hex"),a:n.from("00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:n.from("5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b".replace(/ /g,""),"hex"),s:n.from("00c49d3608 86e70493 6a6678e1 139d26b7819f7e90".replace(/ /g,""),"hex"),n:n.from("00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551".replace(/ /g,""),"hex"),G:n.from("046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5".replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:n.from("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff".replace(/ /g,""),"hex"),a:n.from("00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC".replace(/ /g,""),"hex"),b:n.from("b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef".replace(/ /g,""),"hex"),s:n.from("00a335926a a319a27a 1d00896a 6773a4827acdac73".replace(/ /g,""),"hex"),n:n.from("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973".replace(/ /g,""),"hex"),G:n.from("04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f".replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:n.from("01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff".replace(/ /g,""),"hex"),a:n.from("01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:n.from("51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00".replace(/ /g,""),"hex"),s:n.from("00d09e8800 291cb853 96cc6717 393284aaa0da64ba".replace(/ /g,""),"hex"),n:n.from("01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409".replace(/ /g,""),"hex"),G:n.from("0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650".replace(/ /g,""),"hex")}};return algs={info:e,privInfo:o,hashAlgs:l,curves:t},algs}var errors$1,hasRequiredErrors$1;function requireErrors$1(){if(hasRequiredErrors$1)return errors$1;hasRequiredErrors$1=1,requireAssert();var n=util$6;function e(v,w){Error.captureStackTrace&&Error.captureStackTrace(this,e),this.name="FingerprintFormatError",this.fingerprint=v,this.format=w,this.message="Fingerprint format is not supported, or is invalid: ",v!==void 0&&(this.message+=" fingerprint = "+v),w!==void 0&&(this.message+=" format = "+w)}n.inherits(e,Error);function o(v){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name="InvalidAlgorithmError",this.algorithm=v,this.message='Algorithm "'+v+'" is not supported'}n.inherits(o,Error);function l(v,w,A){Error.captureStackTrace&&Error.captureStackTrace(this,l),this.name="KeyParseError",this.format=w,this.keyName=v,this.innerErr=A,this.message="Failed to parse "+v+" as a valid "+w+" format key: "+A.message}n.inherits(l,Error);function t(v,w,A){Error.captureStackTrace&&Error.captureStackTrace(this,t),this.name="SignatureParseError",this.type=v,this.format=w,this.innerErr=A,this.message="Failed to parse the given data as a "+v+" signature in "+w+" format: "+A.message}n.inherits(t,Error);function u(v,w,A){Error.captureStackTrace&&Error.captureStackTrace(this,u),this.name="CertificateParseError",this.format=w,this.certName=v,this.innerErr=A,this.message="Failed to parse "+v+" as a valid "+w+" format certificate: "+A.message}n.inherits(u,Error);function h(v,w){Error.captureStackTrace&&Error.captureStackTrace(this,h),this.name="KeyEncryptedError",this.format=w,this.keyName=v,this.message="The "+w+" format key "+v+" is encrypted (password-protected), and no passphrase was provided in `options`"}return n.inherits(h,Error),errors$1={FingerprintFormatError:e,InvalidAlgorithmError:o,KeyParseError:l,SignatureParseError:t,KeyEncryptedError:h,CertificateParseError:u},errors$1}var ber={exports:{}},errors,hasRequiredErrors;function requireErrors(){return hasRequiredErrors||(hasRequiredErrors=1,errors={newInvalidAsn1Error:function(n){var e=new Error;return e.name="InvalidAsn1Error",e.message=n||"",e}}),errors}var types,hasRequiredTypes;function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,types={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}),types}var reader,hasRequiredReader;function requireReader(){if(hasRequiredReader)return reader;hasRequiredReader=1;var n=requireAssert$1(),e=requireSafer().Buffer,o=requireTypes(),l=requireErrors(),t=l.newInvalidAsn1Error;function u(h){if(!h||!e.isBuffer(h))throw new TypeError("data must be a node Buffer");this._buf=h,this._size=h.length,this._len=0,this._offset=0}return Object.defineProperty(u.prototype,"length",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(u.prototype,"remain",{get:function(){return this._size-this._offset}}),Object.defineProperty(u.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}}),u.prototype.readByte=function(h){if(this._size-this._offset<1)return null;var v=this._buf[this._offset]&255;return h||(this._offset+=1),v},u.prototype.peek=function(){return this.readByte(!0)},u.prototype.readLength=function(h){if(h===void 0&&(h=this._offset),h>=this._size)return null;var v=this._buf[h++]&255;if(v===null)return null;if((v&128)===128){if(v&=127,v===0)throw t("Indefinite length not supported");if(v>4)throw t("encoding too long");if(this._size-h<v)return null;this._len=0;for(var w=0;w<v;w++)this._len=(this._len<<8)+(this._buf[h++]&255)}else this._len=v;return h},u.prototype.readSequence=function(h){var v=this.peek();if(v===null)return null;if(h!==void 0&&h!==v)throw t("Expected 0x"+h.toString(16)+": got 0x"+v.toString(16));var w=this.readLength(this._offset+1);return w===null?null:(this._offset=w,v)},u.prototype.readInt=function(){return this._readTag(o.Integer)},u.prototype.readBoolean=function(){return this._readTag(o.Boolean)!==0},u.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},u.prototype.readString=function(h,v){h||(h=o.OctetString);var w=this.peek();if(w===null)return null;if(w!==h)throw t("Expected 0x"+h.toString(16)+": got 0x"+w.toString(16));var A=this.readLength(this._offset+1);if(A===null||this.length>this._size-A)return null;if(this._offset=A,this.length===0)return v?e.alloc(0):"";var E=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,v?E:E.toString("utf8")},u.prototype.readOID=function(h){h||(h=o.OID);var v=this.readString(h,!0);if(v===null)return null;for(var w=[],A=0,E=0;E<v.length;E++){var C=v[E]&255;A<<=7,A+=C&127,C&128||(w.push(A),A=0)}return A=w.shift(),w.unshift(A%40),w.unshift(A/40>>0),w.join(".")},u.prototype._readTag=function(h){n.ok(h!==void 0);var v=this.peek();if(v===null)return null;if(v!==h)throw t("Expected 0x"+h.toString(16)+": got 0x"+v.toString(16));var w=this.readLength(this._offset+1);if(w===null)return null;if(this.length>4)throw t("Integer too long: "+this.length);if(this.length>this._size-w)return null;this._offset=w;for(var A=this._buf[this._offset],E=0,C=0;C<this.length;C++)E<<=8,E|=this._buf[this._offset++]&255;return(A&128)===128&&C!==4&&(E-=1<<C*8),E>>0},reader=u,reader}var writer,hasRequiredWriter;function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=1;var n=requireAssert$1(),e=requireSafer().Buffer,o=requireTypes(),l=requireErrors(),t=l.newInvalidAsn1Error,u={size:1024,growthFactor:8};function h(w,A){n.ok(w),n.equal(typeof w,"object"),n.ok(A),n.equal(typeof A,"object");var E=Object.getOwnPropertyNames(w);return E.forEach(function(C){if(!A[C]){var M=Object.getOwnPropertyDescriptor(w,C);Object.defineProperty(A,C,M)}}),A}function v(w){w=h(u,w||{}),this._buf=e.alloc(w.size||1024),this._size=this._buf.length,this._offset=0,this._options=w,this._seq=[]}return Object.defineProperty(v.prototype,"buffer",{get:function(){if(this._seq.length)throw t(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}}),v.prototype.writeByte=function(w){if(typeof w!="number")throw new TypeError("argument must be a Number");this._ensure(1),this._buf[this._offset++]=w},v.prototype.writeInt=function(w,A){if(typeof w!="number")throw new TypeError("argument must be a Number");typeof A!="number"&&(A=o.Integer);for(var E=4;(!(w&4286578688)||(w&4286578688)===-8388608)&&E>1;)E--,w<<=8;if(E>4)throw t("BER ints cannot be > 0xffffffff");for(this._ensure(2+E),this._buf[this._offset++]=A,this._buf[this._offset++]=E;E-- >0;)this._buf[this._offset++]=(w&4278190080)>>>24,w<<=8},v.prototype.writeNull=function(){this.writeByte(o.Null),this.writeByte(0)},v.prototype.writeEnumeration=function(w,A){if(typeof w!="number")throw new TypeError("argument must be a Number");return typeof A!="number"&&(A=o.Enumeration),this.writeInt(w,A)},v.prototype.writeBoolean=function(w,A){if(typeof w!="boolean")throw new TypeError("argument must be a Boolean");typeof A!="number"&&(A=o.Boolean),this._ensure(3),this._buf[this._offset++]=A,this._buf[this._offset++]=1,this._buf[this._offset++]=w?255:0},v.prototype.writeString=function(w,A){if(typeof w!="string")throw new TypeError("argument must be a string (was: "+typeof w+")");typeof A!="number"&&(A=o.OctetString);var E=e.byteLength(w);this.writeByte(A),this.writeLength(E),E&&(this._ensure(E),this._buf.write(w,this._offset),this._offset+=E)},v.prototype.writeBuffer=function(w,A){if(typeof A!="number")throw new TypeError("tag must be a number");if(!e.isBuffer(w))throw new TypeError("argument must be a buffer");this.writeByte(A),this.writeLength(w.length),this._ensure(w.length),w.copy(this._buf,this._offset,0,w.length),this._offset+=w.length},v.prototype.writeStringArray=function(w){if(!w instanceof Array)throw new TypeError("argument must be an Array[String]");var A=this;w.forEach(function(E){A.writeString(E)})},v.prototype.writeOID=function(w,A){if(typeof w!="string")throw new TypeError("argument must be a string");if(typeof A!="number"&&(A=o.OID),!/^([0-9]+\.){3,}[0-9]+$/.test(w))throw new Error("argument is not a valid OID string");function E(I,j){j<128?I.push(j):j<16384?(I.push(j>>>7|128),I.push(j&127)):j<2097152?(I.push(j>>>14|128),I.push((j>>>7|128)&255),I.push(j&127)):j<268435456?(I.push(j>>>21|128),I.push((j>>>14|128)&255),I.push((j>>>7|128)&255),I.push(j&127)):(I.push((j>>>28|128)&255),I.push((j>>>21|128)&255),I.push((j>>>14|128)&255),I.push((j>>>7|128)&255),I.push(j&127))}var C=w.split("."),M=[];M.push(parseInt(C[0],10)*40+parseInt(C[1],10)),C.slice(2).forEach(function(I){E(M,parseInt(I,10))});var P=this;this._ensure(2+M.length),this.writeByte(A),this.writeLength(M.length),M.forEach(function(I){P.writeByte(I)})},v.prototype.writeLength=function(w){if(typeof w!="number")throw new TypeError("argument must be a Number");if(this._ensure(4),w<=127)this._buf[this._offset++]=w;else if(w<=255)this._buf[this._offset++]=129,this._buf[this._offset++]=w;else if(w<=65535)this._buf[this._offset++]=130,this._buf[this._offset++]=w>>8,this._buf[this._offset++]=w;else if(w<=16777215)this._buf[this._offset++]=131,this._buf[this._offset++]=w>>16,this._buf[this._offset++]=w>>8,this._buf[this._offset++]=w;else throw t("Length too long (> 4 bytes)")},v.prototype.startSequence=function(w){typeof w!="number"&&(w=o.Sequence|o.Constructor),this.writeByte(w),this._seq.push(this._offset),this._ensure(3),this._offset+=3},v.prototype.endSequence=function(){var w=this._seq.pop(),A=w+3,E=this._offset-A;if(E<=127)this._shift(A,E,-2),this._buf[w]=E;else if(E<=255)this._shift(A,E,-1),this._buf[w]=129,this._buf[w+1]=E;else if(E<=65535)this._buf[w]=130,this._buf[w+1]=E>>8,this._buf[w+2]=E;else if(E<=16777215)this._shift(A,E,1),this._buf[w]=131,this._buf[w+1]=E>>16,this._buf[w+2]=E>>8,this._buf[w+3]=E;else throw t("Sequence too long")},v.prototype._shift=function(w,A,E){n.ok(w!==void 0),n.ok(A!==void 0),n.ok(E),this._buf.copy(this._buf,w+E,w,w+A),this._offset+=E},v.prototype._ensure=function(w){if(n.ok(w),this._size-this._offset<w){var A=this._size*this._options.growthFactor;A-this._offset<w&&(A+=w);var E=e.alloc(A);this._buf.copy(E,0,0,this._offset),this._buf=E,this._size=A}},writer=v,writer}var hasRequiredBer;function requireBer(){return hasRequiredBer||(hasRequiredBer=1,function(n){var e=requireErrors(),o=requireTypes(),l=requireReader(),t=requireWriter();n.exports={Reader:l,Writer:t};for(var u in o)o.hasOwnProperty(u)&&(n.exports[u]=o[u]);for(var h in e)e.hasOwnProperty(h)&&(n.exports[h]=e[h])}(ber)),ber.exports}var lib$4,hasRequiredLib$4;function requireLib$4(){if(hasRequiredLib$4)return lib$4;hasRequiredLib$4=1;var n=requireBer();return lib$4={Ber:n,BerReader:n.Reader,BerWriter:n.Writer},lib$4}var jsbn={exports:{}},hasRequiredJsbn;function requireJsbn(){return hasRequiredJsbn||(hasRequiredJsbn=1,function(n,e){(function(){var o,l=0xdeadbeefcafe,t=(l&16777215)==15715070;function u(we,Ae,Re){we!=null&&(typeof we=="number"?this.fromNumber(we,Ae,Re):Ae==null&&typeof we!="string"?this.fromString(we,256):this.fromString(we,Ae))}function h(){return new u(null)}function v(we,Ae,Re,rt,St,Lt){for(;--Lt>=0;){var Ft=Ae*this[we++]+Re[rt]+St;St=Math.floor(Ft/67108864),Re[rt++]=Ft&67108863}return St}function w(we,Ae,Re,rt,St,Lt){for(var Ft=Ae&32767,$t=Ae>>15;--Lt>=0;){var nr=this[we]&32767,gr=this[we++]>>15,fr=$t*nr+gr*Ft;nr=Ft*nr+((fr&32767)<<15)+Re[rt]+(St&1073741823),St=(nr>>>30)+(fr>>>15)+$t*gr+(St>>>30),Re[rt++]=nr&1073741823}return St}function A(we,Ae,Re,rt,St,Lt){for(var Ft=Ae&16383,$t=Ae>>14;--Lt>=0;){var nr=this[we]&16383,gr=this[we++]>>14,fr=$t*nr+gr*Ft;nr=Ft*nr+((fr&16383)<<14)+Re[rt]+St,St=(nr>>28)+(fr>>14)+$t*gr,Re[rt++]=nr&268435455}return St}var E=typeof navigator<"u";E&&t&&navigator.appName=="Microsoft Internet Explorer"?(u.prototype.am=w,o=30):E&&t&&navigator.appName!="Netscape"?(u.prototype.am=v,o=26):(u.prototype.am=A,o=28),u.prototype.DB=o,u.prototype.DM=(1<<o)-1,u.prototype.DV=1<<o;var C=52;u.prototype.FV=Math.pow(2,C),u.prototype.F1=C-o,u.prototype.F2=2*o-C;var M="0123456789abcdefghijklmnopqrstuvwxyz",P=new Array,I,j;for(I=48,j=0;j<=9;++j)P[I++]=j;for(I=97,j=10;j<36;++j)P[I++]=j;for(I=65,j=10;j<36;++j)P[I++]=j;function B(we){return M.charAt(we)}function F(we,Ae){var Re=P[we.charCodeAt(Ae)];return Re??-1}function N(we){for(var Ae=this.t-1;Ae>=0;--Ae)we[Ae]=this[Ae];we.t=this.t,we.s=this.s}function ee(we){this.t=1,this.s=we<0?-1:0,we>0?this[0]=we:we<-1?this[0]=we+this.DV:this.t=0}function Z(we){var Ae=h();return Ae.fromInt(we),Ae}function re(we,Ae){var Re;if(Ae==16)Re=4;else if(Ae==8)Re=3;else if(Ae==256)Re=8;else if(Ae==2)Re=1;else if(Ae==32)Re=5;else if(Ae==4)Re=2;else{this.fromRadix(we,Ae);return}this.t=0,this.s=0;for(var rt=we.length,St=!1,Lt=0;--rt>=0;){var Ft=Re==8?we[rt]&255:F(we,rt);if(Ft<0){we.charAt(rt)=="-"&&(St=!0);continue}St=!1,Lt==0?this[this.t++]=Ft:Lt+Re>this.DB?(this[this.t-1]|=(Ft&(1<<this.DB-Lt)-1)<<Lt,this[this.t++]=Ft>>this.DB-Lt):this[this.t-1]|=Ft<<Lt,Lt+=Re,Lt>=this.DB&&(Lt-=this.DB)}Re==8&&we[0]&128&&(this.s=-1,Lt>0&&(this[this.t-1]|=(1<<this.DB-Lt)-1<<Lt)),this.clamp(),St&&u.ZERO.subTo(this,this)}function fe(){for(var we=this.s&this.DM;this.t>0&&this[this.t-1]==we;)--this.t}function V(we){if(this.s<0)return"-"+this.negate().toString(we);var Ae;if(we==16)Ae=4;else if(we==8)Ae=3;else if(we==2)Ae=1;else if(we==32)Ae=5;else if(we==4)Ae=2;else return this.toRadix(we);var Re=(1<<Ae)-1,rt,St=!1,Lt="",Ft=this.t,$t=this.DB-Ft*this.DB%Ae;if(Ft-- >0)for($t<this.DB&&(rt=this[Ft]>>$t)>0&&(St=!0,Lt=B(rt));Ft>=0;)$t<Ae?(rt=(this[Ft]&(1<<$t)-1)<<Ae-$t,rt|=this[--Ft]>>($t+=this.DB-Ae)):(rt=this[Ft]>>($t-=Ae)&Re,$t<=0&&($t+=this.DB,--Ft)),rt>0&&(St=!0),St&&(Lt+=B(rt));return St?Lt:"0"}function le(){var we=h();return u.ZERO.subTo(this,we),we}function he(){return this.s<0?this.negate():this}function ye(we){var Ae=this.s-we.s;if(Ae!=0)return Ae;var Re=this.t;if(Ae=Re-we.t,Ae!=0)return this.s<0?-Ae:Ae;for(;--Re>=0;)if((Ae=this[Re]-we[Re])!=0)return Ae;return 0}function L(we){var Ae=1,Re;return(Re=we>>>16)!=0&&(we=Re,Ae+=16),(Re=we>>8)!=0&&(we=Re,Ae+=8),(Re=we>>4)!=0&&(we=Re,Ae+=4),(Re=we>>2)!=0&&(we=Re,Ae+=2),(Re=we>>1)!=0&&(we=Re,Ae+=1),Ae}function p(){return this.t<=0?0:this.DB*(this.t-1)+L(this[this.t-1]^this.s&this.DM)}function y(we,Ae){var Re;for(Re=this.t-1;Re>=0;--Re)Ae[Re+we]=this[Re];for(Re=we-1;Re>=0;--Re)Ae[Re]=0;Ae.t=this.t+we,Ae.s=this.s}function S(we,Ae){for(var Re=we;Re<this.t;++Re)Ae[Re-we]=this[Re];Ae.t=Math.max(this.t-we,0),Ae.s=this.s}function c(we,Ae){var Re=we%this.DB,rt=this.DB-Re,St=(1<<rt)-1,Lt=Math.floor(we/this.DB),Ft=this.s<<Re&this.DM,$t;for($t=this.t-1;$t>=0;--$t)Ae[$t+Lt+1]=this[$t]>>rt|Ft,Ft=(this[$t]&St)<<Re;for($t=Lt-1;$t>=0;--$t)Ae[$t]=0;Ae[Lt]=Ft,Ae.t=this.t+Lt+1,Ae.s=this.s,Ae.clamp()}function m(we,Ae){Ae.s=this.s;var Re=Math.floor(we/this.DB);if(Re>=this.t){Ae.t=0;return}var rt=we%this.DB,St=this.DB-rt,Lt=(1<<rt)-1;Ae[0]=this[Re]>>rt;for(var Ft=Re+1;Ft<this.t;++Ft)Ae[Ft-Re-1]|=(this[Ft]&Lt)<<St,Ae[Ft-Re]=this[Ft]>>rt;rt>0&&(Ae[this.t-Re-1]|=(this.s&Lt)<<St),Ae.t=this.t-Re,Ae.clamp()}function x(we,Ae){for(var Re=0,rt=0,St=Math.min(we.t,this.t);Re<St;)rt+=this[Re]-we[Re],Ae[Re++]=rt&this.DM,rt>>=this.DB;if(we.t<this.t){for(rt-=we.s;Re<this.t;)rt+=this[Re],Ae[Re++]=rt&this.DM,rt>>=this.DB;rt+=this.s}else{for(rt+=this.s;Re<we.t;)rt-=we[Re],Ae[Re++]=rt&this.DM,rt>>=this.DB;rt-=we.s}Ae.s=rt<0?-1:0,rt<-1?Ae[Re++]=this.DV+rt:rt>0&&(Ae[Re++]=rt),Ae.t=Re,Ae.clamp()}function T(we,Ae){var Re=this.abs(),rt=we.abs(),St=Re.t;for(Ae.t=St+rt.t;--St>=0;)Ae[St]=0;for(St=0;St<rt.t;++St)Ae[St+Re.t]=Re.am(0,rt[St],Ae,St,0,Re.t);Ae.s=0,Ae.clamp(),this.s!=we.s&&u.ZERO.subTo(Ae,Ae)}function b(we){for(var Ae=this.abs(),Re=we.t=2*Ae.t;--Re>=0;)we[Re]=0;for(Re=0;Re<Ae.t-1;++Re){var rt=Ae.am(Re,Ae[Re],we,2*Re,0,1);(we[Re+Ae.t]+=Ae.am(Re+1,2*Ae[Re],we,2*Re+1,rt,Ae.t-Re-1))>=Ae.DV&&(we[Re+Ae.t]-=Ae.DV,we[Re+Ae.t+1]=1)}we.t>0&&(we[we.t-1]+=Ae.am(Re,Ae[Re],we,2*Re,0,1)),we.s=0,we.clamp()}function d(we,Ae,Re){var rt=we.abs();if(!(rt.t<=0)){var St=this.abs();if(St.t<rt.t){Ae!=null&&Ae.fromInt(0),Re!=null&&this.copyTo(Re);return}Re==null&&(Re=h());var Lt=h(),Ft=this.s,$t=we.s,nr=this.DB-L(rt[rt.t-1]);nr>0?(rt.lShiftTo(nr,Lt),St.lShiftTo(nr,Re)):(rt.copyTo(Lt),St.copyTo(Re));var gr=Lt.t,fr=Lt[gr-1];if(fr!=0){var ar=fr*(1<<this.F1)+(gr>1?Lt[gr-2]>>this.F2:0),Ur=this.FV/ar,Er=(1<<this.F1)/ar,Pr=1<<this.F2,_r=Re.t,ti=_r-gr,Qr=Ae??h();for(Lt.dlShiftTo(ti,Qr),Re.compareTo(Qr)>=0&&(Re[Re.t++]=1,Re.subTo(Qr,Re)),u.ONE.dlShiftTo(gr,Qr),Qr.subTo(Lt,Lt);Lt.t<gr;)Lt[Lt.t++]=0;for(;--ti>=0;){var ri=Re[--_r]==fr?this.DM:Math.floor(Re[_r]*Ur+(Re[_r-1]+Pr)*Er);if((Re[_r]+=Lt.am(0,ri,Re,ti,0,gr))<ri)for(Lt.dlShiftTo(ti,Qr),Re.subTo(Qr,Re);Re[_r]<--ri;)Re.subTo(Qr,Re)}Ae!=null&&(Re.drShiftTo(gr,Ae),Ft!=$t&&u.ZERO.subTo(Ae,Ae)),Re.t=gr,Re.clamp(),nr>0&&Re.rShiftTo(nr,Re),Ft<0&&u.ZERO.subTo(Re,Re)}}}function k(we){var Ae=h();return this.abs().divRemTo(we,null,Ae),this.s<0&&Ae.compareTo(u.ZERO)>0&&we.subTo(Ae,Ae),Ae}function D(we){this.m=we}function O(we){return we.s<0||we.compareTo(this.m)>=0?we.mod(this.m):we}function Q(we){return we}function J(we){we.divRemTo(this.m,null,we)}function X(we,Ae,Re){we.multiplyTo(Ae,Re),this.reduce(Re)}function U(we,Ae){we.squareTo(Ae),this.reduce(Ae)}D.prototype.convert=O,D.prototype.revert=Q,D.prototype.reduce=J,D.prototype.mulTo=X,D.prototype.sqrTo=U;function z(){if(this.t<1)return 0;var we=this[0];if(!(we&1))return 0;var Ae=we&3;return Ae=Ae*(2-(we&15)*Ae)&15,Ae=Ae*(2-(we&255)*Ae)&255,Ae=Ae*(2-((we&65535)*Ae&65535))&65535,Ae=Ae*(2-we*Ae%this.DV)%this.DV,Ae>0?this.DV-Ae:-Ae}function ie(we){this.m=we,this.mp=we.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<we.DB-15)-1,this.mt2=2*we.t}function de(we){var Ae=h();return we.abs().dlShiftTo(this.m.t,Ae),Ae.divRemTo(this.m,null,Ae),we.s<0&&Ae.compareTo(u.ZERO)>0&&this.m.subTo(Ae,Ae),Ae}function me(we){var Ae=h();return we.copyTo(Ae),this.reduce(Ae),Ae}function pe(we){for(;we.t<=this.mt2;)we[we.t++]=0;for(var Ae=0;Ae<this.m.t;++Ae){var Re=we[Ae]&32767,rt=Re*this.mpl+((Re*this.mph+(we[Ae]>>15)*this.mpl&this.um)<<15)&we.DM;for(Re=Ae+this.m.t,we[Re]+=this.m.am(0,rt,we,Ae,0,this.m.t);we[Re]>=we.DV;)we[Re]-=we.DV,we[++Re]++}we.clamp(),we.drShiftTo(this.m.t,we),we.compareTo(this.m)>=0&&we.subTo(this.m,we)}function qe(we,Ae){we.squareTo(Ae),this.reduce(Ae)}function mt(we,Ae,Re){we.multiplyTo(Ae,Re),this.reduce(Re)}ie.prototype.convert=de,ie.prototype.revert=me,ie.prototype.reduce=pe,ie.prototype.mulTo=mt,ie.prototype.sqrTo=qe;function st(){return(this.t>0?this[0]&1:this.s)==0}function dt(we,Ae){if(we>4294967295||we<1)return u.ONE;var Re=h(),rt=h(),St=Ae.convert(this),Lt=L(we)-1;for(St.copyTo(Re);--Lt>=0;)if(Ae.sqrTo(Re,rt),(we&1<<Lt)>0)Ae.mulTo(rt,St,Re);else{var Ft=Re;Re=rt,rt=Ft}return Ae.revert(Re)}function Tt(we,Ae){var Re;return we<256||Ae.isEven()?Re=new D(Ae):Re=new ie(Ae),this.exp(we,Re)}u.prototype.copyTo=N,u.prototype.fromInt=ee,u.prototype.fromString=re,u.prototype.clamp=fe,u.prototype.dlShiftTo=y,u.prototype.drShiftTo=S,u.prototype.lShiftTo=c,u.prototype.rShiftTo=m,u.prototype.subTo=x,u.prototype.multiplyTo=T,u.prototype.squareTo=b,u.prototype.divRemTo=d,u.prototype.invDigit=z,u.prototype.isEven=st,u.prototype.exp=dt,u.prototype.toString=V,u.prototype.negate=le,u.prototype.abs=he,u.prototype.compareTo=ye,u.prototype.bitLength=p,u.prototype.mod=k,u.prototype.modPowInt=Tt,u.ZERO=Z(0),u.ONE=Z(1);function lt(){var we=h();return this.copyTo(we),we}function Je(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function ht(){return this.t==0?this.s:this[0]<<24>>24}function at(){return this.t==0?this.s:this[0]<<16>>16}function bt(we){return Math.floor(Math.LN2*this.DB/Math.log(we))}function jt(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1}function Ge(we){if(we==null&&(we=10),this.signum()==0||we<2||we>36)return"0";var Ae=this.chunkSize(we),Re=Math.pow(we,Ae),rt=Z(Re),St=h(),Lt=h(),Ft="";for(this.divRemTo(rt,St,Lt);St.signum()>0;)Ft=(Re+Lt.intValue()).toString(we).substr(1)+Ft,St.divRemTo(rt,St,Lt);return Lt.intValue().toString(we)+Ft}function Qe(we,Ae){this.fromInt(0),Ae==null&&(Ae=10);for(var Re=this.chunkSize(Ae),rt=Math.pow(Ae,Re),St=!1,Lt=0,Ft=0,$t=0;$t<we.length;++$t){var nr=F(we,$t);if(nr<0){we.charAt($t)=="-"&&this.signum()==0&&(St=!0);continue}Ft=Ae*Ft+nr,++Lt>=Re&&(this.dMultiply(rt),this.dAddOffset(Ft,0),Lt=0,Ft=0)}Lt>0&&(this.dMultiply(Math.pow(Ae,Lt)),this.dAddOffset(Ft,0)),St&&u.ZERO.subTo(this,this)}function Wt(we,Ae,Re){if(typeof Ae=="number")if(we<2)this.fromInt(1);else for(this.fromNumber(we,Re),this.testBit(we-1)||this.bitwiseTo(u.ONE.shiftLeft(we-1),We,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(Ae);)this.dAddOffset(2,0),this.bitLength()>we&&this.subTo(u.ONE.shiftLeft(we-1),this);else{var rt=new Array,St=we&7;rt.length=(we>>3)+1,Ae.nextBytes(rt),St>0?rt[0]&=(1<<St)-1:rt[0]=0,this.fromString(rt,256)}}function Et(){var we=this.t,Ae=new Array;Ae[0]=this.s;var Re=this.DB-we*this.DB%8,rt,St=0;if(we-- >0)for(Re<this.DB&&(rt=this[we]>>Re)!=(this.s&this.DM)>>Re&&(Ae[St++]=rt|this.s<<this.DB-Re);we>=0;)Re<8?(rt=(this[we]&(1<<Re)-1)<<8-Re,rt|=this[--we]>>(Re+=this.DB-8)):(rt=this[we]>>(Re-=8)&255,Re<=0&&(Re+=this.DB,--we)),rt&128&&(rt|=-256),St==0&&(this.s&128)!=(rt&128)&&++St,(St>0||rt!=this.s)&&(Ae[St++]=rt);return Ae}function Ct(we){return this.compareTo(we)==0}function Kt(we){return this.compareTo(we)<0?this:we}function Me(we){return this.compareTo(we)>0?this:we}function te(we,Ae,Re){var rt,St,Lt=Math.min(we.t,this.t);for(rt=0;rt<Lt;++rt)Re[rt]=Ae(this[rt],we[rt]);if(we.t<this.t){for(St=we.s&this.DM,rt=Lt;rt<this.t;++rt)Re[rt]=Ae(this[rt],St);Re.t=this.t}else{for(St=this.s&this.DM,rt=Lt;rt<we.t;++rt)Re[rt]=Ae(St,we[rt]);Re.t=we.t}Re.s=Ae(this.s,we.s),Re.clamp()}function _e(we,Ae){return we&Ae}function je(we){var Ae=h();return this.bitwiseTo(we,_e,Ae),Ae}function We(we,Ae){return we|Ae}function et(we){var Ae=h();return this.bitwiseTo(we,We,Ae),Ae}function Ye(we,Ae){return we^Ae}function De(we){var Ae=h();return this.bitwiseTo(we,Ye,Ae),Ae}function Ht(we,Ae){return we&~Ae}function Mt(we){var Ae=h();return this.bitwiseTo(we,Ht,Ae),Ae}function ge(){for(var we=h(),Ae=0;Ae<this.t;++Ae)we[Ae]=this.DM&~this[Ae];return we.t=this.t,we.s=~this.s,we}function Dt(we){var Ae=h();return we<0?this.rShiftTo(-we,Ae):this.lShiftTo(we,Ae),Ae}function yt(we){var Ae=h();return we<0?this.lShiftTo(-we,Ae):this.rShiftTo(we,Ae),Ae}function Ne(we){if(we==0)return-1;var Ae=0;return we&65535||(we>>=16,Ae+=16),we&255||(we>>=8,Ae+=8),we&15||(we>>=4,Ae+=4),we&3||(we>>=2,Ae+=2),we&1||++Ae,Ae}function _t(){for(var we=0;we<this.t;++we)if(this[we]!=0)return we*this.DB+Ne(this[we]);return this.s<0?this.t*this.DB:-1}function pt(we){for(var Ae=0;we!=0;)we&=we-1,++Ae;return Ae}function Bt(){for(var we=0,Ae=this.s&this.DM,Re=0;Re<this.t;++Re)we+=pt(this[Re]^Ae);return we}function ur(we){var Ae=Math.floor(we/this.DB);return Ae>=this.t?this.s!=0:(this[Ae]&1<<we%this.DB)!=0}function kt(we,Ae){var Re=u.ONE.shiftLeft(we);return this.bitwiseTo(Re,Ae,Re),Re}function Ut(we){return this.changeBit(we,We)}function Wr(we){return this.changeBit(we,Ht)}function zt(we){return this.changeBit(we,Ye)}function Qt(we,Ae){for(var Re=0,rt=0,St=Math.min(we.t,this.t);Re<St;)rt+=this[Re]+we[Re],Ae[Re++]=rt&this.DM,rt>>=this.DB;if(we.t<this.t){for(rt+=we.s;Re<this.t;)rt+=this[Re],Ae[Re++]=rt&this.DM,rt>>=this.DB;rt+=this.s}else{for(rt+=this.s;Re<we.t;)rt+=we[Re],Ae[Re++]=rt&this.DM,rt>>=this.DB;rt+=we.s}Ae.s=rt<0?-1:0,rt>0?Ae[Re++]=rt:rt<-1&&(Ae[Re++]=this.DV+rt),Ae.t=Re,Ae.clamp()}function $e(we){var Ae=h();return this.addTo(we,Ae),Ae}function be(we){var Ae=h();return this.subTo(we,Ae),Ae}function ve(we){var Ae=h();return this.multiplyTo(we,Ae),Ae}function se(){var we=h();return this.squareTo(we),we}function Pe(we){var Ae=h();return this.divRemTo(we,Ae,null),Ae}function ze(we){var Ae=h();return this.divRemTo(we,null,Ae),Ae}function xt(we){var Ae=h(),Re=h();return this.divRemTo(we,Ae,Re),new Array(Ae,Re)}function ot(we){this[this.t]=this.am(0,we-1,this,0,0,this.t),++this.t,this.clamp()}function wt(we,Ae){if(we!=0){for(;this.t<=Ae;)this[this.t++]=0;for(this[Ae]+=we;this[Ae]>=this.DV;)this[Ae]-=this.DV,++Ae>=this.t&&(this[this.t++]=0),++this[Ae]}}function Yt(){}function Jt(we){return we}function wr(we,Ae,Re){we.multiplyTo(Ae,Re)}function lr(we,Ae){we.squareTo(Ae)}Yt.prototype.convert=Jt,Yt.prototype.revert=Jt,Yt.prototype.mulTo=wr,Yt.prototype.sqrTo=lr;function Rr(we){return this.exp(we,new Yt)}function vr(we,Ae,Re){var rt=Math.min(this.t+we.t,Ae);for(Re.s=0,Re.t=rt;rt>0;)Re[--rt]=0;var St;for(St=Re.t-this.t;rt<St;++rt)Re[rt+this.t]=this.am(0,we[rt],Re,rt,0,this.t);for(St=Math.min(we.t,Ae);rt<St;++rt)this.am(0,we[rt],Re,rt,0,Ae-rt);Re.clamp()}function dr(we,Ae,Re){--Ae;var rt=Re.t=this.t+we.t-Ae;for(Re.s=0;--rt>=0;)Re[rt]=0;for(rt=Math.max(Ae-this.t,0);rt<we.t;++rt)Re[this.t+rt-Ae]=this.am(Ae-rt,we[rt],Re,0,0,this.t+rt-Ae);Re.clamp(),Re.drShiftTo(1,Re)}function Ir(we){this.r2=h(),this.q3=h(),u.ONE.dlShiftTo(2*we.t,this.r2),this.mu=this.r2.divide(we),this.m=we}function kr(we){if(we.s<0||we.t>2*this.m.t)return we.mod(this.m);if(we.compareTo(this.m)<0)return we;var Ae=h();return we.copyTo(Ae),this.reduce(Ae),Ae}function Fr(we){return we}function jr(we){for(we.drShiftTo(this.m.t-1,this.r2),we.t>this.m.t+1&&(we.t=this.m.t+1,we.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);we.compareTo(this.r2)<0;)we.dAddOffset(1,this.m.t+1);for(we.subTo(this.r2,we);we.compareTo(this.m)>=0;)we.subTo(this.m,we)}function Cr(we,Ae){we.squareTo(Ae),this.reduce(Ae)}function Lr(we,Ae,Re){we.multiplyTo(Ae,Re),this.reduce(Re)}Ir.prototype.convert=kr,Ir.prototype.revert=Fr,Ir.prototype.reduce=jr,Ir.prototype.mulTo=Lr,Ir.prototype.sqrTo=Cr;function Ar(we,Ae){var Re=we.bitLength(),rt,St=Z(1),Lt;if(Re<=0)return St;Re<18?rt=1:Re<48?rt=3:Re<144?rt=4:Re<768?rt=5:rt=6,Re<8?Lt=new D(Ae):Ae.isEven()?Lt=new Ir(Ae):Lt=new ie(Ae);var Ft=new Array,$t=3,nr=rt-1,gr=(1<<rt)-1;if(Ft[1]=Lt.convert(this),rt>1){var fr=h();for(Lt.sqrTo(Ft[1],fr);$t<=gr;)Ft[$t]=h(),Lt.mulTo(fr,Ft[$t-2],Ft[$t]),$t+=2}var ar=we.t-1,Ur,Er=!0,Pr=h(),_r;for(Re=L(we[ar])-1;ar>=0;){for(Re>=nr?Ur=we[ar]>>Re-nr&gr:(Ur=(we[ar]&(1<<Re+1)-1)<<nr-Re,ar>0&&(Ur|=we[ar-1]>>this.DB+Re-nr)),$t=rt;!(Ur&1);)Ur>>=1,--$t;if((Re-=$t)<0&&(Re+=this.DB,--ar),Er)Ft[Ur].copyTo(St),Er=!1;else{for(;$t>1;)Lt.sqrTo(St,Pr),Lt.sqrTo(Pr,St),$t-=2;$t>0?Lt.sqrTo(St,Pr):(_r=St,St=Pr,Pr=_r),Lt.mulTo(Pr,Ft[Ur],St)}for(;ar>=0&&!(we[ar]&1<<Re);)Lt.sqrTo(St,Pr),_r=St,St=Pr,Pr=_r,--Re<0&&(Re=this.DB-1,--ar)}return Lt.revert(St)}function Tr(we){var Ae=this.s<0?this.negate():this.clone(),Re=we.s<0?we.negate():we.clone();if(Ae.compareTo(Re)<0){var rt=Ae;Ae=Re,Re=rt}var St=Ae.getLowestSetBit(),Lt=Re.getLowestSetBit();if(Lt<0)return Ae;for(St<Lt&&(Lt=St),Lt>0&&(Ae.rShiftTo(Lt,Ae),Re.rShiftTo(Lt,Re));Ae.signum()>0;)(St=Ae.getLowestSetBit())>0&&Ae.rShiftTo(St,Ae),(St=Re.getLowestSetBit())>0&&Re.rShiftTo(St,Re),Ae.compareTo(Re)>=0?(Ae.subTo(Re,Ae),Ae.rShiftTo(1,Ae)):(Re.subTo(Ae,Re),Re.rShiftTo(1,Re));return Lt>0&&Re.lShiftTo(Lt,Re),Re}function Sr(we){if(we<=0)return 0;var Ae=this.DV%we,Re=this.s<0?we-1:0;if(this.t>0)if(Ae==0)Re=this[0]%we;else for(var rt=this.t-1;rt>=0;--rt)Re=(Ae*Re+this[rt])%we;return Re}function rr(we){var Ae=we.isEven();if(this.isEven()&&Ae||we.signum()==0)return u.ZERO;for(var Re=we.clone(),rt=this.clone(),St=Z(1),Lt=Z(0),Ft=Z(0),$t=Z(1);Re.signum()!=0;){for(;Re.isEven();)Re.rShiftTo(1,Re),Ae?((!St.isEven()||!Lt.isEven())&&(St.addTo(this,St),Lt.subTo(we,Lt)),St.rShiftTo(1,St)):Lt.isEven()||Lt.subTo(we,Lt),Lt.rShiftTo(1,Lt);for(;rt.isEven();)rt.rShiftTo(1,rt),Ae?((!Ft.isEven()||!$t.isEven())&&(Ft.addTo(this,Ft),$t.subTo(we,$t)),Ft.rShiftTo(1,Ft)):$t.isEven()||$t.subTo(we,$t),$t.rShiftTo(1,$t);Re.compareTo(rt)>=0?(Re.subTo(rt,Re),Ae&&St.subTo(Ft,St),Lt.subTo($t,Lt)):(rt.subTo(Re,rt),Ae&&Ft.subTo(St,Ft),$t.subTo(Lt,$t))}if(rt.compareTo(u.ONE)!=0)return u.ZERO;if($t.compareTo(we)>=0)return $t.subtract(we);if($t.signum()<0)$t.addTo(we,$t);else return $t;return $t.signum()<0?$t.add(we):$t}var Nt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Gt=(1<<26)/Nt[Nt.length-1];function xr(we){var Ae,Re=this.abs();if(Re.t==1&&Re[0]<=Nt[Nt.length-1]){for(Ae=0;Ae<Nt.length;++Ae)if(Re[0]==Nt[Ae])return!0;return!1}if(Re.isEven())return!1;for(Ae=1;Ae<Nt.length;){for(var rt=Nt[Ae],St=Ae+1;St<Nt.length&&rt<Gt;)rt*=Nt[St++];for(rt=Re.modInt(rt);Ae<St;)if(rt%Nt[Ae++]==0)return!1}return Re.millerRabin(we)}function pr(we){var Ae=this.subtract(u.ONE),Re=Ae.getLowestSetBit();if(Re<=0)return!1;var rt=Ae.shiftRight(Re);we=we+1>>1,we>Nt.length&&(we=Nt.length);for(var St=h(),Lt=0;Lt<we;++Lt){St.fromInt(Nt[Math.floor(Math.random()*Nt.length)]);var Ft=St.modPow(rt,this);if(Ft.compareTo(u.ONE)!=0&&Ft.compareTo(Ae)!=0){for(var $t=1;$t++<Re&&Ft.compareTo(Ae)!=0;)if(Ft=Ft.modPowInt(2,this),Ft.compareTo(u.ONE)==0)return!1;if(Ft.compareTo(Ae)!=0)return!1}}return!0}u.prototype.chunkSize=bt,u.prototype.toRadix=Ge,u.prototype.fromRadix=Qe,u.prototype.fromNumber=Wt,u.prototype.bitwiseTo=te,u.prototype.changeBit=kt,u.prototype.addTo=Qt,u.prototype.dMultiply=ot,u.prototype.dAddOffset=wt,u.prototype.multiplyLowerTo=vr,u.prototype.multiplyUpperTo=dr,u.prototype.modInt=Sr,u.prototype.millerRabin=pr,u.prototype.clone=lt,u.prototype.intValue=Je,u.prototype.byteValue=ht,u.prototype.shortValue=at,u.prototype.signum=jt,u.prototype.toByteArray=Et,u.prototype.equals=Ct,u.prototype.min=Kt,u.prototype.max=Me,u.prototype.and=je,u.prototype.or=et,u.prototype.xor=De,u.prototype.andNot=Mt,u.prototype.not=ge,u.prototype.shiftLeft=Dt,u.prototype.shiftRight=yt,u.prototype.getLowestSetBit=_t,u.prototype.bitCount=Bt,u.prototype.testBit=ur,u.prototype.setBit=Ut,u.prototype.clearBit=Wr,u.prototype.flipBit=zt,u.prototype.add=$e,u.prototype.subtract=be,u.prototype.multiply=ve,u.prototype.divide=Pe,u.prototype.remainder=ze,u.prototype.divideAndRemainder=xt,u.prototype.modPow=Ar,u.prototype.modInverse=rr,u.prototype.pow=Rr,u.prototype.gcd=Tr,u.prototype.isProbablePrime=xr,u.prototype.square=se,u.prototype.Barrett=Ir;var tr,br,Nr;function Yr(we){br[Nr++]^=we&255,br[Nr++]^=we>>8&255,br[Nr++]^=we>>16&255,br[Nr++]^=we>>24&255,Nr>=ct&&(Nr-=ct)}function ei(){Yr(new Date().getTime())}if(br==null){br=new Array,Nr=0;var Hr;if(typeof window<"u"&&window.crypto){if(window.crypto.getRandomValues){var Pt=new Uint8Array(32);for(window.crypto.getRandomValues(Pt),Hr=0;Hr<32;++Hr)br[Nr++]=Pt[Hr]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var Jr=window.crypto.random(32);for(Hr=0;Hr<Jr.length;++Hr)br[Nr++]=Jr.charCodeAt(Hr)&255}}for(;Nr<ct;)Hr=Math.floor(65536*Math.random()),br[Nr++]=Hr>>>8,br[Nr++]=Hr&255;Nr=0,ei()}function Xr(){if(tr==null){for(ei(),tr=Xe(),tr.init(br),Nr=0;Nr<br.length;++Nr)br[Nr]=0;Nr=0}return tr.next()}function fi(we){var Ae;for(Ae=0;Ae<we.length;++Ae)we[Ae]=Xr()}function ce(){}ce.prototype.nextBytes=fi;function xe(){this.i=0,this.j=0,this.S=new Array}function Be(we){var Ae,Re,rt;for(Ae=0;Ae<256;++Ae)this.S[Ae]=Ae;for(Re=0,Ae=0;Ae<256;++Ae)Re=Re+this.S[Ae]+we[Ae%we.length]&255,rt=this.S[Ae],this.S[Ae]=this.S[Re],this.S[Re]=rt;this.i=0,this.j=0}function Fe(){var we;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,we=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=we,this.S[we+this.S[this.i]&255]}xe.prototype.init=Be,xe.prototype.next=Fe;function Xe(){return new xe}var ct=256;u.SecureRandom=ce,u.BigInteger=u,n.exports=u}).call(commonjsGlobal$1)}(jsbn)),jsbn.exports}var ec,hasRequiredEc;function requireEc(){if(hasRequiredEc)return ec;hasRequiredEc=1;var n=requireJsbn().BigInteger,e=n.prototype.Barrett;function o(c,m){this.x=m,this.q=c}function l(c){return c==this?!0:this.q.equals(c.q)&&this.x.equals(c.x)}function t(){return this.x}function u(){return new o(this.q,this.x.negate().mod(this.q))}function h(c){return new o(this.q,this.x.add(c.toBigInteger()).mod(this.q))}function v(c){return new o(this.q,this.x.subtract(c.toBigInteger()).mod(this.q))}function w(c){return new o(this.q,this.x.multiply(c.toBigInteger()).mod(this.q))}function A(){return new o(this.q,this.x.square().mod(this.q))}function E(c){return new o(this.q,this.x.multiply(c.toBigInteger().modInverse(this.q)).mod(this.q))}o.prototype.equals=l,o.prototype.toBigInteger=t,o.prototype.negate=u,o.prototype.add=h,o.prototype.subtract=v,o.prototype.multiply=w,o.prototype.square=A,o.prototype.divide=E;function C(c,m,x,T){this.curve=c,this.x=m,this.y=x,T==null?this.z=n.ONE:this.z=T,this.zinv=null}function M(){this.zinv==null&&(this.zinv=this.z.modInverse(this.curve.q));var c=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(c),this.curve.fromBigInteger(c)}function P(){this.zinv==null&&(this.zinv=this.z.modInverse(this.curve.q));var c=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(c),this.curve.fromBigInteger(c)}function I(c){if(c==this)return!0;if(this.isInfinity())return c.isInfinity();if(c.isInfinity())return this.isInfinity();var m,x;return m=c.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(c.z)).mod(this.curve.q),m.equals(n.ZERO)?(x=c.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(c.z)).mod(this.curve.q),x.equals(n.ZERO)):!1}function j(){return this.x==null&&this.y==null?!0:this.z.equals(n.ZERO)&&!this.y.toBigInteger().equals(n.ZERO)}function B(){return new C(this.curve,this.x,this.y.negate(),this.z)}function F(c){if(this.isInfinity())return c;if(c.isInfinity())return this;var m=c.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(c.z)).mod(this.curve.q),x=c.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(c.z)).mod(this.curve.q);if(n.ZERO.equals(x))return n.ZERO.equals(m)?this.twice():this.curve.getInfinity();var T=new n("3"),b=this.x.toBigInteger(),d=this.y.toBigInteger();c.x.toBigInteger(),c.y.toBigInteger();var k=x.square(),D=k.multiply(x),O=b.multiply(k),Q=m.square().multiply(this.z),J=Q.subtract(O.shiftLeft(1)).multiply(c.z).subtract(D).multiply(x).mod(this.curve.q),X=O.multiply(T).multiply(m).subtract(d.multiply(D)).subtract(Q.multiply(m)).multiply(c.z).add(m.multiply(D)).mod(this.curve.q),U=D.multiply(this.z).multiply(c.z).mod(this.curve.q);return new C(this.curve,this.curve.fromBigInteger(J),this.curve.fromBigInteger(X),U)}function N(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var c=new n("3"),m=this.x.toBigInteger(),x=this.y.toBigInteger(),T=x.multiply(this.z),b=T.multiply(x).mod(this.curve.q),d=this.curve.a.toBigInteger(),k=m.square().multiply(c);n.ZERO.equals(d)||(k=k.add(this.z.square().multiply(d))),k=k.mod(this.curve.q);var D=k.square().subtract(m.shiftLeft(3).multiply(b)).shiftLeft(1).multiply(T).mod(this.curve.q),O=k.multiply(c).multiply(m).subtract(b.shiftLeft(1)).shiftLeft(2).multiply(b).subtract(k.square().multiply(k)).mod(this.curve.q),Q=T.square().multiply(T).shiftLeft(3).mod(this.curve.q);return new C(this.curve,this.curve.fromBigInteger(D),this.curve.fromBigInteger(O),Q)}function ee(c){if(this.isInfinity())return this;if(c.signum()==0)return this.curve.getInfinity();var m=c,x=m.multiply(new n("3")),T=this.negate(),b=this,d;for(d=x.bitLength()-2;d>0;--d){b=b.twice();var k=x.testBit(d),D=m.testBit(d);k!=D&&(b=b.add(k?this:T))}return b}function Z(c,m,x){var T;c.bitLength()>x.bitLength()?T=c.bitLength()-1:T=x.bitLength()-1;for(var b=this.curve.getInfinity(),d=this.add(m);T>=0;)b=b.twice(),c.testBit(T)?x.testBit(T)?b=b.add(d):b=b.add(this):x.testBit(T)&&(b=b.add(m)),--T;return b}C.prototype.getX=M,C.prototype.getY=P,C.prototype.equals=I,C.prototype.isInfinity=j,C.prototype.negate=B,C.prototype.add=F,C.prototype.twice=N,C.prototype.multiply=ee,C.prototype.multiplyTwo=Z;function re(c,m,x){this.q=c,this.a=this.fromBigInteger(m),this.b=this.fromBigInteger(x),this.infinity=new C(this,null,null),this.reducer=new e(this.q)}function fe(){return this.q}function V(){return this.a}function le(){return this.b}function he(c){return c==this?!0:this.q.equals(c.q)&&this.a.equals(c.a)&&this.b.equals(c.b)}function ye(){return this.infinity}function L(c){return new o(this.q,c)}function p(c){this.reducer.reduce(c)}function y(c){if(c.isInfinity())return"00";var m=c.getX().toBigInteger().toString(16),x=c.getY().toBigInteger().toString(16),T=this.getQ().toString(16).length;for(T%2!=0&&T++;m.length<T;)m="0"+m;for(;x.length<T;)x="0"+x;return"04"+m+x}re.prototype.getQ=fe,re.prototype.getA=V,re.prototype.getB=le,re.prototype.equals=he,re.prototype.getInfinity=ye,re.prototype.fromBigInteger=L,re.prototype.reduce=p,re.prototype.encodePointHex=y,re.prototype.decodePointHex=function(c){var m;switch(parseInt(c.substr(0,2),16)){case 0:return this.infinity;case 2:m=!1;case 3:m==null&&(m=!0);var k=c.length-2,D=c.substr(2,k),x=this.fromBigInteger(new n(D,16)),T=x.multiply(x.square().add(this.getA())).add(this.getB()),b=T.sqrt();if(b==null)throw"Invalid point compression";var d=b.toBigInteger();return d.testBit(0)!=m&&(b=this.fromBigInteger(this.getQ().subtract(d))),new C(this,x,b);case 4:case 6:case 7:var k=(c.length-2)/2,D=c.substr(2,k),O=c.substr(k+2,k);return new C(this,this.fromBigInteger(new n(D,16)),this.fromBigInteger(new n(O,16)));default:return null}},re.prototype.encodeCompressedPointHex=function(c){if(c.isInfinity())return"00";var m=c.getX().toBigInteger().toString(16),x=this.getQ().toString(16).length;for(x%2!=0&&x++;m.length<x;)m="0"+m;var T;return c.getY().toBigInteger().isEven()?T="02":T="03",T+m},o.prototype.getR=function(){if(this.r!=null)return this.r;this.r=null;var c=this.q.bitLength();if(c>128){var m=this.q.shiftRight(c-64);m.intValue()==-1&&(this.r=n.ONE.shiftLeft(c).subtract(this.q))}return this.r},o.prototype.modMult=function(c,m){return this.modReduce(c.multiply(m))},o.prototype.modReduce=function(c){if(this.getR()!=null){for(var m=q.bitLength();c.bitLength()>m+1;){var x=c.shiftRight(m),T=c.subtract(x.shiftLeft(m));this.getR().equals(n.ONE)||(x=x.multiply(this.getR())),c=x.add(T)}for(;c.compareTo(q)>=0;)c=c.subtract(q)}else c=c.mod(q);return c},o.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var c=new o(this.q,this.x.modPow(this.q.shiftRight(2).add(n.ONE),this.q));return c.square().equals(this)?c:null}var m=this.q.subtract(n.ONE),x=m.shiftRight(1);if(!this.x.modPow(x,this.q).equals(n.ONE))return null;var T=m.shiftRight(2),b=T.shiftLeft(1).add(n.ONE),d=this.x,k=modDouble(modDouble(d)),D,O;do{var Q;do Q=new n(this.q.bitLength(),new SecureRandom);while(Q.compareTo(this.q)>=0||!Q.multiply(Q).subtract(k).modPow(x,this.q).equals(m));var J=this.lucasSequence(Q,d,b);if(D=J[0],O=J[1],this.modMult(O,O).equals(k))return O.testBit(0)&&(O=O.add(q)),O=O.shiftRight(1),new o(q,O)}while(D.equals(n.ONE)||D.equals(m));return null},o.prototype.lucasSequence=function(c,m,x){for(var T=x.bitLength(),b=x.getLowestSetBit(),d=n.ONE,k=n.TWO,D=c,O=n.ONE,Q=n.ONE,J=T-1;J>=b+1;--J)O=this.modMult(O,Q),x.testBit(J)?(Q=this.modMult(O,m),d=this.modMult(d,D),k=this.modReduce(D.multiply(k).subtract(c.multiply(O))),D=this.modReduce(D.multiply(D).subtract(Q.shiftLeft(1)))):(Q=O,d=this.modReduce(d.multiply(k).subtract(O)),D=this.modReduce(D.multiply(k).subtract(c.multiply(O))),k=this.modReduce(k.multiply(k).subtract(O.shiftLeft(1))));O=this.modMult(O,Q),Q=this.modMult(O,m),d=this.modReduce(d.multiply(k).subtract(O)),k=this.modReduce(D.multiply(k).subtract(c.multiply(O))),O=this.modMult(O,Q);for(var J=1;J<=b;++J)d=this.modMult(d,k),k=this.modReduce(k.multiply(k).subtract(O.shiftLeft(1))),O=this.modMult(O,O);return[d,k]};var S={ECCurveFp:re,ECPointFp:C,ECFieldElementFp:o};return ec=S,ec}function commonjsRequire(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var naclFast={exports:{}},hasRequiredNaclFast;function requireNaclFast(){return hasRequiredNaclFast||(hasRequiredNaclFast=1,function(n){(function(e){var o=function($e){var be,ve=new Float64Array(16);if($e)for(be=0;be<$e.length;be++)ve[be]=$e[be];return ve},l=function(){throw new Error("no PRNG")},t=new Uint8Array(16),u=new Uint8Array(32);u[0]=9;var h=o(),v=o([1]),w=o([56129,1]),A=o([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),E=o([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),C=o([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),M=o([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),P=o([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function I($e,be,ve,se){$e[be]=ve>>24&255,$e[be+1]=ve>>16&255,$e[be+2]=ve>>8&255,$e[be+3]=ve&255,$e[be+4]=se>>24&255,$e[be+5]=se>>16&255,$e[be+6]=se>>8&255,$e[be+7]=se&255}function j($e,be,ve,se,Pe){var ze,xt=0;for(ze=0;ze<Pe;ze++)xt|=$e[be+ze]^ve[se+ze];return(1&xt-1>>>8)-1}function B($e,be,ve,se){return j($e,be,ve,se,16)}function F($e,be,ve,se){return j($e,be,ve,se,32)}function N($e,be,ve,se){for(var Pe=se[0]&255|(se[1]&255)<<8|(se[2]&255)<<16|(se[3]&255)<<24,ze=ve[0]&255|(ve[1]&255)<<8|(ve[2]&255)<<16|(ve[3]&255)<<24,xt=ve[4]&255|(ve[5]&255)<<8|(ve[6]&255)<<16|(ve[7]&255)<<24,ot=ve[8]&255|(ve[9]&255)<<8|(ve[10]&255)<<16|(ve[11]&255)<<24,wt=ve[12]&255|(ve[13]&255)<<8|(ve[14]&255)<<16|(ve[15]&255)<<24,Yt=se[4]&255|(se[5]&255)<<8|(se[6]&255)<<16|(se[7]&255)<<24,Jt=be[0]&255|(be[1]&255)<<8|(be[2]&255)<<16|(be[3]&255)<<24,wr=be[4]&255|(be[5]&255)<<8|(be[6]&255)<<16|(be[7]&255)<<24,lr=be[8]&255|(be[9]&255)<<8|(be[10]&255)<<16|(be[11]&255)<<24,Rr=be[12]&255|(be[13]&255)<<8|(be[14]&255)<<16|(be[15]&255)<<24,vr=se[8]&255|(se[9]&255)<<8|(se[10]&255)<<16|(se[11]&255)<<24,dr=ve[16]&255|(ve[17]&255)<<8|(ve[18]&255)<<16|(ve[19]&255)<<24,Ir=ve[20]&255|(ve[21]&255)<<8|(ve[22]&255)<<16|(ve[23]&255)<<24,kr=ve[24]&255|(ve[25]&255)<<8|(ve[26]&255)<<16|(ve[27]&255)<<24,Fr=ve[28]&255|(ve[29]&255)<<8|(ve[30]&255)<<16|(ve[31]&255)<<24,jr=se[12]&255|(se[13]&255)<<8|(se[14]&255)<<16|(se[15]&255)<<24,Cr=Pe,Lr=ze,Ar=xt,Tr=ot,Sr=wt,rr=Yt,Nt=Jt,Gt=wr,xr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255,$e[47]=br>>>24&255,$e[48]=Nr>>>0&255,$e[49]=Nr>>>8&255,$e[50]=Nr>>>16&255,$e[51]=Nr>>>24&255,$e[52]=Yr>>>0&255,$e[53]=Yr>>>8&255,$e[54]=Yr>>>16&255,$e[55]=Yr>>>24&255,$e[56]=ei>>>0&255,$e[57]=ei>>>8&255,$e[58]=ei>>>16&255,$e[59]=ei>>>24&255,$e[60]=Hr>>>0&255,$e[61]=Hr>>>8&255,$e[62]=Hr>>>16&255,$e[63]=Hr>>>24&255}function ee($e,be,ve,se){for(var Pe=se[0]&255|(se[1]&255)<<8|(se[2]&255)<<16|(se[3]&255)<<24,ze=ve[0]&255|(ve[1]&255)<<8|(ve[2]&255)<<16|(ve[3]&255)<<24,xt=ve[4]&255|(ve[5]&255)<<8|(ve[6]&255)<<16|(ve[7]&255)<<24,ot=ve[8]&255|(ve[9]&255)<<8|(ve[10]&255)<<16|(ve[11]&255)<<24,wt=ve[12]&255|(ve[13]&255)<<8|(ve[14]&255)<<16|(ve[15]&255)<<24,Yt=se[4]&255|(se[5]&255)<<8|(se[6]&255)<<16|(se[7]&255)<<24,Jt=be[0]&255|(be[1]&255)<<8|(be[2]&255)<<16|(be[3]&255)<<24,wr=be[4]&255|(be[5]&255)<<8|(be[6]&255)<<16|(be[7]&255)<<24,lr=be[8]&255|(be[9]&255)<<8|(be[10]&255)<<16|(be[11]&255)<<24,Rr=be[12]&255|(be[13]&255)<<8|(be[14]&255)<<16|(be[15]&255)<<24,vr=se[8]&255|(se[9]&255)<<8|(se[10]&255)<<16|(se[11]&255)<<24,dr=ve[16]&255|(ve[17]&255)<<8|(ve[18]&255)<<16|(ve[19]&255)<<24,Ir=ve[20]&255|(ve[21]&255)<<8|(ve[22]&255)<<16|(ve[23]&255)<<24,kr=ve[24]&255|(ve[25]&255)<<8|(ve[26]&255)<<16|(ve[27]&255)<<24,Fr=ve[28]&255|(ve[29]&255)<<8|(ve[30]&255)<<16|(ve[31]&255)<<24,jr=se[12]&255|(se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xr+br|0,pr^=Pt<<13|Pt>>>19,Pt=pr+xr|0,tr^=Pt<<18|Pt>>>14,Pt=Hr+ei|0,Nr^=Pt<<7|Pt>>>25,Pt=Nr+Hr|0,Yr^=Pt<<9|Pt>>>23,Pt=Yr+Nr|0,ei^=Pt<<13|Pt>>>19,Pt=ei+Yr|0,Hr^=Pt<<18|Pt>>>14;$e[0]=Cr>>>0&255,$e[1]=Cr>>>8&255,$e[2]=Cr>>>16&255,$e[3]=Cr>>>24&255,$e[4]=rr>>>0&255,$e[5]=rr>>>8&255,$e[6]=rr>>>16&255,$e[7]=rr>>>24&255,$e[8]=tr>>>0&255,$e[9]=tr>>>8&255,$e[10]=tr>>>16&255,$e[11]=tr>>>24&255,$e[12]=Hr>>>0&255,$e[13]=Hr>>>8&255,$e[14]=Hr>>>16&255,$e[15]=Hr>>>24&255,$e[16]=Nt>>>0&255,$e[17]=Nt>>>8&255,$e[18]=Nt>>>16&255,$e[19]=Nt>>>24&255,$e[20]=Gt>>>0&255,$e[21]=Gt>>>8&255,$e[22]=Gt>>>16&255,$e[23]=Gt>>>24&255,$e[24]=xr>>>0&255,$e[25]=xr>>>8&255,$e[26]=xr>>>16&255,$e[27]=xr>>>24&255,$e[28]=pr>>>0&255,$e[29]=pr>>>8&255,$e[30]=pr>>>16&255,$e[31]=pr>>>24&255}function Z($e,be,ve,se){N($e,be,ve,se)}function re($e,be,ve,se){ee($e,be,ve,se)}var fe=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function V($e,be,ve,se,Pe,ze,xt){var ot=new Uint8Array(16),wt=new Uint8Array(64),Yt,Jt;for(Jt=0;Jt<16;Jt++)ot[Jt]=0;for(Jt=0;Jt<8;Jt++)ot[Jt]=ze[Jt];for(;Pe>=64;){for(Z(wt,ot,xt,fe),Jt=0;Jt<64;Jt++)$e[be+Jt]=ve[se+Jt]^wt[Jt];for(Yt=1,Jt=8;Jt<16;Jt++)Yt=Yt+(ot[Jt]&255)|0,ot[Jt]=Yt&255,Yt>>>=8;Pe-=64,be+=64,se+=64}if(Pe>0)for(Z(wt,ot,xt,fe),Jt=0;Jt<Pe;Jt++)$e[be+Jt]=ve[se+Jt]^wt[Jt];return 0}function le($e,be,ve,se,Pe){var ze=new Uint8Array(16),xt=new Uint8Array(64),ot,wt;for(wt=0;wt<16;wt++)ze[wt]=0;for(wt=0;wt<8;wt++)ze[wt]=se[wt];for(;ve>=64;){for(Z(xt,ze,Pe,fe),wt=0;wt<64;wt++)$e[be+wt]=xt[wt];for(ot=1,wt=8;wt<16;wt++)ot=ot+(ze[wt]&255)|0,ze[wt]=ot&255,ot>>>=8;ve-=64,be+=64}if(ve>0)for(Z(xt,ze,Pe,fe),wt=0;wt<ve;wt++)$e[be+wt]=xt[wt];return 0}function he($e,be,ve,se,Pe){var ze=new Uint8Array(32);re(ze,se,Pe,fe);for(var xt=new Uint8Array(8),ot=0;ot<8;ot++)xt[ot]=se[ot+16];return le($e,be,ve,xt,ze)}function ye($e,be,ve,se,Pe,ze,xt){var ot=new Uint8Array(32);re(ot,ze,xt,fe);for(var wt=new Uint8Array(8),Yt=0;Yt<8;Yt++)wt[Yt]=ze[Yt+16];return V($e,be,ve,se,Pe,wt,ot)}var L=function($e){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var be,ve,se,Pe,ze,xt,ot,wt;be=$e[0]&255|($e[1]&255)<<8,this.r[0]=be&8191,ve=$e[2]&255|($e[3]&255)<<8,this.r[1]=(be>>>13|ve<<3)&8191,se=$e[4]&255|($e[5]&255)<<8,this.r[2]=(ve>>>10|se<<6)&7939,Pe=$e[6]&255|($e[7]&255)<<8,this.r[3]=(se>>>7|Pe<<9)&8191,ze=$e[8]&255|($e[9]&255)<<8,this.r[4]=(Pe>>>4|ze<<12)&255,this.r[5]=ze>>>1&8190,xt=$e[10]&255|($e[11]&255)<<8,this.r[6]=(ze>>>14|xt<<2)&8191,ot=$e[12]&255|($e[13]&255)<<8,this.r[7]=(xt>>>11|ot<<5)&8065,wt=$e[14]&255|($e[15]&255)<<8,this.r[8]=(ot>>>8|wt<<8)&8191,this.r[9]=wt>>>5&127,this.pad[0]=$e[16]&255|($e[17]&255)<<8,this.pad[1]=$e[18]&255|($e[19]&255)<<8,this.pad[2]=$e[20]&255|($e[21]&255)<<8,this.pad[3]=$e[22]&255|($e[23]&255)<<8,this.pad[4]=$e[24]&255|($e[25]&255)<<8,this.pad[5]=$e[26]&255|($e[27]&255)<<8,this.pad[6]=$e[28]&255|($e[29]&255)<<8,this.pad[7]=$e[30]&255|($e[31]&255)<<8};L.prototype.blocks=function($e,be,ve){for(var se=this.fin?0:2048,Pe,ze,xt,ot,wt,Yt,Jt,wr,lr,Rr,vr,dr,Ir,kr,Fr,jr,Cr,Lr,Ar,Tr=this.h[0],Sr=this.h[1],rr=this.h[2],Nt=this.h[3],Gt=this.h[4],xr=this.h[5],pr=this.h[6],tr=this.h[7],br=this.h[8],Nr=this.h[9],Yr=this.r[0],ei=this.r[1],Hr=this.r[2],Pt=this.r[3],Jr=this.r[4],Xr=this.r[5],fi=this.r[6],ce=this.r[7],xe=this.r[8],Be=this.r[9];ve>=16;)Pe=$e[be+0]&255|($e[be+1]&255)<<8,Tr+=Pe&8191,ze=$e[be+2]&255|($e[be+3]&255)<<8,Sr+=(Pe>>>13|ze<<3)&8191,xt=$e[be+4]&255|($e[be+5]&255)<<8,rr+=(ze>>>10|xt<<6)&8191,ot=$e[be+6]&255|($e[be+7]&255)<<8,Nt+=(xt>>>7|ot<<9)&8191,wt=$e[be+8]&255|($e[be+9]&255)<<8,Gt+=(ot>>>4|wt<<12)&8191,xr+=wt>>>1&8191,Yt=$e[be+10]&255|($e[be+11]&255)<<8,pr+=(wt>>>14|Yt<<2)&8191,Jt=$e[be+12]&255|($e[be+13]&255)<<8,tr+=(Yt>>>11|Jt<<5)&8191,wr=$e[be+14]&255|($e[be+15]&255)<<8,br+=(Jt>>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xt=this.leftover,this.buffer[xt++]=1;xt<16;xt++)this.buffer[xt]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(se=this.h[1]>>>13,this.h[1]&=8191,xt=2;xt<10;xt++)this.h[xt]+=se,se=this.h[xt]>>>13,this.h[xt]&=8191;for(this.h[0]+=se*5,se=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=se,se=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=se,ve[0]=this.h[0]+5,se=ve[0]>>>13,ve[0]&=8191,xt=1;xt<10;xt++)ve[xt]=this.h[xt]+se,se=ve[xt]>>>13,ve[xt]&=8191;for(ve[9]-=8192,Pe=(se^1)-1,xt=0;xt<10;xt++)ve[xt]&=Pe;for(Pe=~Pe,xt=0;xt<10;xt++)this.h[xt]=this.h[xt]&Pe|ve[xt];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,ze=this.h[0]+this.pad[0],this.h[0]=ze&65535,xt=1;xt<8;xt++)ze=(this.h[xt]+this.pad[xt]|0)+(ze>>>16)|0,this.h[xt]=ze&65535;$e[be+0]=this.h[0]>>>0&255,$e[be+1]=this.h[0]>>>8&255,$e[be+2]=this.h[1]>>>0&255,$e[be+3]=this.h[1]>>>8&255,$e[be+4]=this.h[2]>>>0&255,$e[be+5]=this.h[2]>>>8&255,$e[be+6]=this.h[3]>>>0&255,$e[be+7]=this.h[3]>>>8&255,$e[be+8]=this.h[4]>>>0&255,$e[be+9]=this.h[4]>>>8&255,$e[be+10]=this.h[5]>>>0&255,$e[be+11]=this.h[5]>>>8&255,$e[be+12]=this.h[6]>>>0&255,$e[be+13]=this.h[6]>>>8&255,$e[be+14]=this.h[7]>>>0&255,$e[be+15]=this.h[7]>>>8&255},L.prototype.update=function($e,be,ve){var se,Pe;if(this.leftover){for(Pe=16-this.leftover,Pe>ve&&(Pe=ve),se=0;se<Pe;se++)this.buffer[this.leftover+se]=$e[be+se];if(ve-=Pe,be+=Pe,this.leftover+=Pe,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(ve>=16&&(Pe=ve-ve%16,this.blocks($e,be,Pe),be+=Pe,ve-=Pe),ve){for(se=0;se<ve;se++)this.buffer[this.leftover+se]=$e[be+se];this.leftover+=ve}};function p($e,be,ve,se,Pe,ze){var xt=new L(ze);return xt.update(ve,se,Pe),xt.finish($e,be),0}function y($e,be,ve,se,Pe,ze){var xt=new Uint8Array(16);return p(xt,0,ve,se,Pe,ze),B($e,be,xt,0)}function S($e,be,ve,se,Pe){var ze;if(ve<32)return-1;for(ye($e,0,be,0,ve,se,Pe),p($e,16,$e,32,ve-32,$e),ze=0;ze<16;ze++)$e[ze]=0;return 0}function c($e,be,ve,se,Pe){var ze,xt=new Uint8Array(32);if(ve<32||(he(xt,0,32,se,Pe),y(be,16,be,32,ve-32,xt)!==0))return-1;for(ye($e,0,be,0,ve,se,Pe),ze=0;ze<32;ze++)$e[ze]=0;return 0}function m($e,be){var ve;for(ve=0;ve<16;ve++)$e[ve]=be[ve]|0}function x($e){var be,ve,se=1;for(be=0;be<16;be++)ve=$e[be]+se+65535,se=Math.floor(ve/65536),$e[be]=ve-se*65536;$e[0]+=se-1+37*(se-1)}function T($e,be,ve){for(var se,Pe=~(ve-1),ze=0;ze<16;ze++)se=Pe&($e[ze]^be[ze]),$e[ze]^=se,be[ze]^=se}function b($e,be){var ve,se,Pe,ze=o(),xt=o();for(ve=0;ve<16;ve++)xt[ve]=be[ve];for(x(xt),x(xt),x(xt),se=0;se<2;se++){for(ze[0]=xt[0]-65517,ve=1;ve<15;ve++)ze[ve]=xt[ve]-65535-(ze[ve-1]>>16&1),ze[ve-1]&=65535;ze[15]=xt[15]-32767-(ze[14]>>16&1),Pe=ze[15]>>16&1,ze[14]&=65535,T(xt,ze,1-Pe)}for(ve=0;ve<16;ve++)$e[2*ve]=xt[ve]&255,$e[2*ve+1]=xt[ve]>>8}function d($e,be){var ve=new Uint8Array(32),se=new Uint8Array(32);return b(ve,$e),b(se,be),F(ve,0,se,0)}function k($e){var be=new Uint8Array(32);return b(be,$e),be[0]&1}function D($e,be){var ve;for(ve=0;ve<16;ve++)$e[ve]=be[2*ve]+(be[2*ve+1]<<8);$e[15]&=32767}function O($e,be,ve){for(var se=0;se<16;se++)$e[se]=be[se]+ve[se]}function Q($e,be,ve){for(var se=0;se<16;se++)$e[se]=be[se]-ve[se]}function J($e,be,ve){var se,Pe,ze=0,xt=0,ot=0,wt=0,Yt=0,Jt=0,wr=0,lr=0,Rr=0,vr=0,dr=0,Ir=0,kr=0,Fr=0,jr=0,Cr=0,Lr=0,Ar=0,Tr=0,Sr=0,rr=0,Nt=0,Gt=0,xr=0,pr=0,tr=0,br=0,Nr=0,Yr=0,ei=0,Hr=0,Pt=ve[0],Jr=ve[1],Xr=ve[2],fi=ve[3],ce=ve[4],xe=ve[5],Be=ve[6],Fe=ve[7],Xe=ve[8],ct=ve[9],we=ve[10],Ae=ve[11],Re=ve[12],rt=ve[13],St=ve[14],Lt=ve[15];se=be[0],ze+=se*Pt,xt+=se*Jr,ot+=se*Xr,wt+=se*fi,Yt+=se*ce,Jt+=se*xe,wr+=se*Be,lr+=se*Fe,Rr+=se*Xe,vr+=se*ct,dr+=se*we,Ir+=se*Ae,kr+=se*Re,Fr+=se*rt,jr+=se*St,Cr+=se*Lt,se=be[1],xt+=se*Pt,ot+=se*Jr,wt+=se*Xr,Yt+=se*fi,Jt+=se*ce,wr+=se*xe,lr+=se*Be,Rr+=se*Fe,vr+=se*Xe,dr+=se*ct,Ir+=se*we,kr+=se*Ae,Fr+=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i,Tr+=se*ce,Sr+=se*xe,rr+=se*Be,Nt+=se*Fe,Gt+=se*Xe,xr+=se*ct,pr+=se*we,tr+=se*Ae,br+=se*Re,Nr+=se*rt,Yr+=se*St,ei+=se*Lt,se=be[15],Cr+=se*Pt,Lr+=se*Jr,Ar+=se*Xr,Tr+=se*fi,Sr+=se*ce,rr+=se*xe,Nt+=se*Be,Gt+=se*Fe,xr+=se*Xe,pr+=se*ct,tr+=se*we,br+=se*Ae,Nr+=se*Re,Yr+=se*rt,ei+=se*St,Hr+=se*Lt,ze+=38*Lr,xt+=38*Ar,ot+=38*Tr,wt+=38*Sr,Yt+=38*rr,Jt+=38*Nt,wr+=38*Gt,lr+=38*xr,Rr+=38*pr,vr+=38*tr,dr+=38*br,Ir+=38*Nr,kr+=38*Yr,Fr+=38*ei,jr+=38*Hr,Pe=1,se=ze+Pe+65535,Pe=Math.floor(se/65536),ze=se-Pe*65536,se=xt+Pe+65535,Pe=Math.floor(se/65536),xt=se-Pe*65536,se=ot+Pe+65535,Pe=Math.floor(se/65536),ot=se-Pe*65536,se=wt+Pe+65535,Pe=Math.floor(se/65536),wt=se-Pe*65536,se=Yt+Pe+65535,Pe=Math.floor(se/65536),Yt=se-Pe*65536,se=Jt+Pe+65535,Pe=Math.floor(se/65536),Jt=se-Pe*65536,se=wr+Pe+65535,Pe=Math.floor(se/65536),wr=se-Pe*65536,se=lr+Pe+65535,Pe=Math.floor(se/65536),lr=se-Pe*65536,se=Rr+Pe+65535,Pe=Math.floor(se/65536),Rr=se-Pe*65536,se=vr+Pe+65535,Pe=Math.floor(se/65536),vr=se-Pe*65536,se=dr+Pe+65535,Pe=Math.floor(se/65536),dr=se-Pe*65536,se=Ir+Pe+65535,Pe=Math.floor(se/65536),Ir=se-Pe*65536,se=kr+Pe+65535,Pe=Math.floor(se/65536),kr=se-Pe*65536,se=Fr+Pe+65535,Pe=Math.floor(se/65536),Fr=se-Pe*65536,se=jr+Pe+65535,Pe=Math.floor(se/65536),jr=se-Pe*65536,se=Cr+Pe+65535,Pe=Math.floor(se/65536),Cr=se-Pe*65536,ze+=Pe-1+37*(Pe-1),Pe=1,se=ze+Pe+65535,Pe=Math.floor(se/65536),ze=se-Pe*65536,se=xt+Pe+65535,Pe=Math.floor(se/65536),xt=se-Pe*65536,se=ot+Pe+65535,Pe=Math.floor(se/65536),ot=se-Pe*65536,se=wt+Pe+65535,Pe=Math.floor(se/65536),wt=se-Pe*65536,se=Yt+Pe+65535,Pe=Math.floor(se/65536),Yt=se-Pe*65536,se=Jt+Pe+65535,Pe=Math.floor(se/65536),Jt=se-Pe*65536,se=wr+Pe+65535,Pe=Math.floor(se/65536),wr=se-Pe*65536,se=lr+Pe+65535,Pe=Math.floor(se/65536),lr=se-Pe*65536,se=Rr+Pe+65535,Pe=Math.floor(se/65536),Rr=se-Pe*65536,se=vr+Pe+65535,Pe=Math.floor(se/65536),vr=se-Pe*65536,se=dr+Pe+65535,Pe=Math.floor(se/65536),dr=se-Pe*65536,se=Ir+Pe+65535,Pe=Math.floor(se/65536),Ir=se-Pe*65536,se=kr+Pe+65535,Pe=Math.floor(se/65536),kr=se-Pe*65536,se=Fr+Pe+65535,Pe=Math.floor(se/65536),Fr=se-Pe*65536,se=jr+Pe+65535,Pe=Math.floor(se/65536),jr=se-Pe*65536,se=Cr+Pe+65535,Pe=Math.floor(se/65536),Cr=se-Pe*65536,ze+=Pe-1+37*(Pe-1),$e[0]=ze,$e[1]=xt,$e[2]=ot,$e[3]=wt,$e[4]=Yt,$e[5]=Jt,$e[6]=wr,$e[7]=lr,$e[8]=Rr,$e[9]=vr,$e[10]=dr,$e[11]=Ir,$e[12]=kr,$e[13]=Fr,$e[14]=jr,$e[15]=Cr}function X($e,be){J($e,be,be)}function U($e,be){var ve=o(),se;for(se=0;se<16;se++)ve[se]=be[se];for(se=253;se>=0;se--)X(ve,ve),se!==2&&se!==4&&J(ve,ve,be);for(se=0;se<16;se++)$e[se]=ve[se]}function z($e,be){var ve=o(),se;for(se=0;se<16;se++)ve[se]=be[se];for(se=250;se>=0;se--)X(ve,ve),se!==1&&J(ve,ve,be);for(se=0;se<16;se++)$e[se]=ve[se]}function ie($e,be,ve){var se=new Uint8Array(32),Pe=new Float64Array(80),ze,xt,ot=o(),wt=o(),Yt=o(),Jt=o(),wr=o(),lr=o();for(xt=0;xt<31;xt++)se[xt]=be[xt];for(se[31]=be[31]&127|64,se[0]&=248,D(Pe,ve),xt=0;xt<16;xt++)wt[xt]=Pe[xt],Jt[xt]=ot[xt]=Yt[xt]=0;for(ot[0]=Jt[0]=1,xt=254;xt>=0;--xt)ze=se[xt>>>3]>>>(xt&7)&1,T(ot,wt,ze),T(Yt,Jt,ze),O(wr,ot,Yt),Q(ot,ot,Yt),O(Yt,wt,Jt),Q(wt,wt,Jt),X(Jt,wr),X(lr,ot),J(ot,Yt,ot),J(Yt,wt,wr),O(wr,ot,Yt),Q(ot,ot,Yt),X(wt,ot),Q(Yt,Jt,lr),J(ot,Yt,w),O(ot,ot,Jt),J(Yt,Yt,ot),J(ot,Jt,lr),J(Jt,wt,Pe),X(wt,wr),T(ot,wt,ze),T(Yt,Jt,ze);for(xt=0;xt<16;xt++)Pe[xt+16]=ot[xt],Pe[xt+32]=Yt[xt],Pe[xt+48]=wt[xt],Pe[xt+64]=Jt[xt];var Rr=Pe.subarray(32),vr=Pe.subarray(16);return U(Rr,Rr),J(vr,vr,Rr),b($e,vr),0}function de($e,be){return ie($e,be,u)}function me($e,be){return l(be,32),de($e,be)}function pe($e,be,ve){var se=new Uint8Array(32);return ie(se,ve,be),re($e,t,se,fe)}var qe=S,mt=c;function st($e,be,ve,se,Pe,ze){var xt=new Uint8Array(32);return pe(xt,Pe,ze),qe($e,be,ve,se,xt)}function dt($e,be,ve,se,Pe,ze){var xt=new Uint8Array(32);return pe(xt,Pe,ze),mt($e,be,ve,se,xt)}var Tt=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function lt($e,be,ve,se){for(var Pe=new Int32Array(16),ze=new Int32Array(16),xt,ot,wt,Yt,Jt,wr,lr,Rr,vr,dr,Ir,kr,Fr,jr,Cr,Lr,Ar,Tr,Sr,rr,Nt,Gt,xr,pr,tr,br,Nr=$e[0],Yr=$e[1],ei=$e[2],Hr=$e[3],Pt=$e[4],Jr=$e[5],Xr=$e[6],fi=$e[7],ce=be[0],xe=be[1],Be=be[2],Fe=be[3],Xe=be[4],ct=be[5],we=be[6],Ae=be[7],Re=0;se>=128;){for(Sr=0;Sr<16;Sr++)rr=8*Sr+Re,Pe[Sr]=ve[rr+0]<<24|ve[rr+1]<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+=Nt&65535,br+=Nt>>>16,pr+=xr>>>16,tr+=pr>>>16,br+=tr>>>16,$e[0]=Nr=tr&65535|br<<16,be[0]=ce=xr&65535|pr<<16,Nt=Yr,Gt=xe,xr=Gt&65535,pr=Gt>>>16,tr=Nt&65535,br=Nt>>>16,Nt=$e[1],Gt=be[1],xr+=Gt&65535,pr+=Gt>>>16,tr+=Nt&65535,br+=Nt>>>16,pr+=xr>>>16,tr+=pr>>>16,br+=tr>>>16,$e[1]=Yr=tr&65535|br<<16,be[1]=xe=xr&65535|pr<<16,Nt=ei,Gt=Be,xr=Gt&65535,pr=Gt>>>16,tr=Nt&65535,br=Nt>>>16,Nt=$e[2],Gt=be[2],xr+=Gt&65535,pr+=Gt>>>16,tr+=Nt&65535,br+=Nt>>>16,pr+=xr>>>16,tr+=pr>>>16,br+=tr>>>16,$e[2]=ei=tr&65535|br<<16,be[2]=Be=xr&65535|pr<<16,Nt=Hr,Gt=Fe,xr=Gt&65535,pr=Gt>>>16,tr=Nt&65535,br=Nt>>>16,Nt=$e[3],Gt=be[3],xr+=Gt&65535,pr+=Gt>>>16,tr+=Nt&65535,br+=Nt>>>16,pr+=xr>>>16,tr+=pr>>>16,br+=tr>>>16,$e[3]=Hr=tr&65535|br<<16,be[3]=Fe=xr&65535|pr<<16,Nt=Pt,Gt=Xe,xr=Gt&65535,pr=Gt>>>16,tr=Nt&65535,br=Nt>>>16,Nt=$e[4],Gt=be[4],xr+=Gt&65535,pr+=Gt>>>16,tr+=Nt&65535,br+=Nt>>>16,pr+=xr>>>16,tr+=pr>>>16,br+=tr>>>16,$e[4]=Pt=tr&65535|br<<16,be[4]=Xe=xr&65535|pr<<16,Nt=Jr,Gt=ct,xr=Gt&65535,pr=Gt>>>16,tr=Nt&65535,br=Nt>>>16,Nt=$e[5],Gt=be[5],xr+=Gt&65535,pr+=Gt>>>16,tr+=Nt&65535,br+=Nt>>>16,pr+=xr>>>16,tr+=pr>>>16,br+=tr>>>16,$e[5]=Jr=tr&65535|br<<16,be[5]=ct=xr&65535|pr<<16,Nt=Xr,Gt=we,xr=Gt&65535,pr=Gt>>>16,tr=Nt&65535,br=Nt>>>16,Nt=$e[6],Gt=be[6],xr+=Gt&65535,pr+=Gt>>>16,tr+=Nt&65535,br+=Nt>>>16,pr+=xr>>>16,tr+=pr>>>16,br+=tr>>>16,$e[6]=Xr=tr&65535|br<<16,be[6]=we=xr&65535|pr<<16,Nt=fi,Gt=Ae,xr=Gt&65535,pr=Gt>>>16,tr=Nt&65535,br=Nt>>>16,Nt=$e[7],Gt=be[7],xr+=Gt&65535,pr+=Gt>>>16,tr+=Nt&65535,br+=Nt>>>16,pr+=xr>>>16,tr+=pr>>>16,br+=tr>>>16,$e[7]=fi=tr&65535|br<<16,be[7]=Ae=xr&65535|pr<<16,Re+=128,se-=128}return se}function Je($e,be,ve){var se=new Int32Array(8),Pe=new Int32Array(8),ze=new Uint8Array(256),xt,ot=ve;for(se[0]=1779033703,se[1]=3144134277,se[2]=1013904242,se[3]=2773480762,se[4]=1359893119,se[5]=2600822924,se[6]=528734635,se[7]=1541459225,Pe[0]=4089235720,Pe[1]=2227873595,Pe[2]=4271175723,Pe[3]=1595750129,Pe[4]=2917565137,Pe[5]=725511199,Pe[6]=4215389547,Pe[7]=327033209,lt(se,Pe,be,ve),ve%=128,xt=0;xt<ve;xt++)ze[xt]=be[ot-ve+xt];for(ze[ve]=128,ve=256-128*(ve<112?1:0),ze[ve-9]=0,I(ze,ve-8,ot/536870912|0,ot<<3),lt(se,Pe,ze,ve),xt=0;xt<8;xt++)I($e,8*xt,se[xt],Pe[xt]);return 0}function ht($e,be){var ve=o(),se=o(),Pe=o(),ze=o(),xt=o(),ot=o(),wt=o(),Yt=o(),Jt=o();Q(ve,$e[1],$e[0]),Q(Jt,be[1],be[0]),J(ve,ve,Jt),O(se,$e[0],$e[1]),O(Jt,be[0],be[1]),J(se,se,Jt),J(Pe,$e[3],be[3]),J(Pe,Pe,E),J(ze,$e[2],be[2]),O(ze,ze,ze),Q(xt,se,ve),Q(ot,ze,Pe),O(wt,ze,Pe),O(Yt,se,ve),J($e[0],xt,ot),J($e[1],Yt,wt),J($e[2],wt,ot),J($e[3],xt,Yt)}function at($e,be,ve){var se;for(se=0;se<4;se++)T($e[se],be[se],ve)}function bt($e,be){var ve=o(),se=o(),Pe=o();U(Pe,be[2]),J(ve,be[0],Pe),J(se,be[1],Pe),b($e,se),$e[31]^=k(ve)<<7}function jt($e,be,ve){var se,Pe;for(m($e[0],h),m($e[1],v),m($e[2],v),m($e[3],h),Pe=255;Pe>=0;--Pe)se=ve[Pe/8|0]>>(Pe&7)&1,at($e,be,se),ht(be,$e),ht($e,$e),at($e,be,se)}function Ge($e,be){var ve=[o(),o(),o(),o()];m(ve[0],C),m(ve[1],M),m(ve[2],v),J(ve[3],C,M),jt($e,ve,be)}function Qe($e,be,ve){var se=new Uint8Array(64),Pe=[o(),o(),o(),o()],ze;for(ve||l(be,32),Je(se,be,32),se[0]&=248,se[31]&=127,se[31]|=64,Ge(Pe,se),bt($e,Pe),ze=0;ze<32;ze++)be[ze+32]=$e[ze];return 0}var Wt=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function Et($e,be){var ve,se,Pe,ze;for(se=63;se>=32;--se){for(ve=0,Pe=se-32,ze=se-12;Pe<ze;++Pe)be[Pe]+=ve-16*be[se]*Wt[Pe-(se-32)],ve=be[Pe]+128>>8,be[Pe]-=ve*256;be[Pe]+=ve,be[se]=0}for(ve=0,Pe=0;Pe<32;Pe++)be[Pe]+=ve-(be[31]>>4)*Wt[Pe],ve=be[Pe]>>8,be[Pe]&=255;for(Pe=0;Pe<32;Pe++)be[Pe]-=ve*Wt[Pe];for(se=0;se<32;se++)be[se+1]+=be[se]>>8,$e[se]=be[se]&255}function Ct($e){var be=new Float64Array(64),ve;for(ve=0;ve<64;ve++)be[ve]=$e[ve];for(ve=0;ve<64;ve++)$e[ve]=0;Et($e,be)}function Kt($e,be,ve,se){var Pe=new Uint8Array(64),ze=new Uint8Array(64),xt=new Uint8Array(64),ot,wt,Yt=new Float64Array(64),Jt=[o(),o(),o(),o()];Je(Pe,se,32),Pe[0]&=248,Pe[31]&=127,Pe[31]|=64;var wr=ve+64;for(ot=0;ot<ve;ot++)$e[64+ot]=be[ot];for(ot=0;ot<32;ot++)$e[32+ot]=Pe[32+ot];for(Je(xt,$e.subarray(32),ve+32),Ct(xt),Ge(Jt,xt),bt($e,Jt),ot=32;ot<64;ot++)$e[ot]=se[ot];for(Je(ze,$e,ve+64),Ct(ze),ot=0;ot<64;ot++)Yt[ot]=0;for(ot=0;ot<32;ot++)Yt[ot]=xt[ot];for(ot=0;ot<32;ot++)for(wt=0;wt<32;wt++)Yt[ot+wt]+=ze[ot]*Pe[wt];return Et($e.subarray(32),Yt),wr}function Me($e,be){var ve=o(),se=o(),Pe=o(),ze=o(),xt=o(),ot=o(),wt=o();return m($e[2],v),D($e[1],be),X(Pe,$e[1]),J(ze,Pe,A),Q(Pe,Pe,$e[2]),O(ze,$e[2],ze),X(xt,ze),X(ot,xt),J(wt,ot,xt),J(ve,wt,Pe),J(ve,ve,ze),z(ve,ve),J(ve,ve,Pe),J(ve,ve,ze),J(ve,ve,ze),J($e[0],ve,ze),X(se,$e[0]),J(se,se,ze),d(se,Pe)&&J($e[0],$e[0],P),X(se,$e[0]),J(se,se,ze),d(se,Pe)?-1:(k($e[0])===be[31]>>7&&Q($e[0],h,$e[0]),J($e[3],$e[0],$e[1]),0)}function te($e,be,ve,se){var Pe,ze,xt=new Uint8Array(32),ot=new Uint8Array(64),wt=[o(),o(),o(),o()],Yt=[o(),o(),o(),o()];if(ze=-1,ve<64||Me(Yt,se))return-1;for(Pe=0;Pe<ve;Pe++)$e[Pe]=be[Pe];for(Pe=0;Pe<32;Pe++)$e[Pe+32]=se[Pe];if(Je(ot,$e,ve),Ct(ot),jt(wt,Yt,ot),Ge(Yt,be.subarray(32)),ht(wt,Yt),bt(xt,wt),ve-=64,F(be,0,xt,0)){for(Pe=0;Pe<ve;Pe++)$e[Pe]=0;return-1}for(Pe=0;Pe<ve;Pe++)$e[Pe]=be[Pe+64];return ze=ve,ze}var _e=32,je=24,We=32,et=16,Ye=32,De=32,Ht=32,Mt=32,ge=32,Dt=je,yt=We,Ne=et,_t=64,pt=32,Bt=64,ur=32,kt=64;e.lowlevel={crypto_core_hsalsa20:re,crypto_stream_xor:ye,crypto_stream:he,crypto_stream_salsa20_xor:V,crypto_stream_salsa20:le,crypto_onetimeauth:p,crypto_onetimeauth_verify:y,crypto_verify_16:B,crypto_verify_32:F,crypto_secretbox:S,crypto_secretbox_open:c,crypto_scalarmult:ie,crypto_scalarmult_base:de,crypto_box_beforenm:pe,crypto_box_afternm:qe,crypto_box:st,crypto_box_open:dt,crypto_box_keypair:me,crypto_hash:Je,crypto_sign:Kt,crypto_sign_keypair:Qe,crypto_sign_open:te,crypto_secretbox_KEYBYTES:_e,crypto_secretbox_NONCEBYTES:je,crypto_secretbox_ZEROBYTES:We,crypto_secretbox_BOXZEROBYTES:et,crypto_scalarmult_BYTES:Ye,crypto_scalarmult_SCALARBYTES:De,crypto_box_PUBLICKEYBYTES:Ht,crypto_box_SECRETKEYBYTES:Mt,crypto_box_BEFORENMBYTES:ge,crypto_box_NONCEBYTES:Dt,crypto_box_ZEROBYTES:yt,crypto_box_BOXZEROBYTES:Ne,crypto_sign_BYTES:_t,crypto_sign_PUBLICKEYBYTES:pt,crypto_sign_SECRETKEYBYTES:Bt,crypto_sign_SEEDBYTES:ur,crypto_hash_BYTES:kt};function Ut($e,be){if($e.length!==_e)throw new Error("bad key size");if(be.length!==je)throw new Error("bad nonce size")}function Wr($e,be){if($e.length!==Ht)throw new Error("bad public key size");if(be.length!==Mt)throw new Error("bad secret key size")}function zt(){var $e,be;for(be=0;be<arguments.length;be++)if(($e=Object.prototype.toString.call(arguments[be]))!=="[object Uint8Array]")throw new TypeError("unexpected type "+$e+", use Uint8Array")}function Qt($e){for(var be=0;be<$e.length;be++)$e[be]=0}e.util||(e.util={},e.util.decodeUTF8=e.util.encodeUTF8=e.util.encodeBase64=e.util.decodeBase64=function(){throw new Error("nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js")}),e.randomBytes=function($e){var be=new Uint8Array($e);return l(be,$e),be},e.secretbox=function($e,be,ve){zt($e,be,ve),Ut(ve,be);for(var se=new Uint8Array(We+$e.length),Pe=new Uint8Array(se.length),ze=0;ze<$e.length;ze++)se[ze+We]=$e[ze];return S(Pe,se,se.length,be,ve),Pe.subarray(et)},e.secretbox.open=function($e,be,ve){zt($e,be,ve),Ut(ve,be);for(var se=new Uint8Array(et+$e.length),Pe=new Uint8Array(se.length),ze=0;ze<$e.length;ze++)se[ze+et]=$e[ze];return se.length<32||c(Pe,se,se.length,be,ve)!==0?!1:Pe.subarray(We)},e.secretbox.keyLength=_e,e.secretbox.nonceLength=je,e.secretbox.overheadLength=et,e.scalarMult=function($e,be){if(zt($e,be),$e.length!==De)throw new Error("bad n size");if(be.length!==Ye)throw new Error("bad p size");var ve=new Uint8Array(Ye);return ie(ve,$e,be),ve},e.scalarMult.base=function($e){if(zt($e),$e.length!==De)throw new Error("bad n size");var be=new Uint8Array(Ye);return de(be,$e),be},e.scalarMult.scalarLength=De,e.scalarMult.groupElementLength=Ye,e.box=function($e,be,ve,se){var Pe=e.box.before(ve,se);return e.secretbox($e,be,Pe)},e.box.before=function($e,be){zt($e,be),Wr($e,be);var ve=new Uint8Array(ge);return pe(ve,$e,be),ve},e.box.after=e.secretbox,e.box.open=function($e,be,ve,se){var Pe=e.box.before(ve,se);return e.secretbox.open($e,be,Pe)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var $e=new Uint8Array(Ht),be=new Uint8Array(Mt);return me($e,be),{publicKey:$e,secretKey:be}},e.box.keyPair.fromSecretKey=function($e){if(zt($e),$e.length!==Mt)throw new Error("bad secret key size");var be=new Uint8Array(Ht);return de(be,$e),{publicKey:be,secretKey:new Uint8Array($e)}},e.box.publicKeyLength=Ht,e.box.secretKeyLength=Mt,e.box.sharedKeyLength=ge,e.box.nonceLength=Dt,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function($e,be){if(zt($e,be),be.length!==Bt)throw new Error("bad secret key size");var ve=new Uint8Array(_t+$e.length);return Kt(ve,$e,$e.length,be),ve},e.sign.open=function($e,be){if(arguments.length!==2)throw new Error("nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?");if(zt($e,be),be.length!==pt)throw new Error("bad public key size");var ve=new Uint8Array($e.length),se=te(ve,$e,$e.length,be);if(se<0)return null;for(var Pe=new Uint8Array(se),ze=0;ze<Pe.length;ze++)Pe[ze]=ve[ze];return Pe},e.sign.detached=function($e,be){for(var ve=e.sign($e,be),se=new Uint8Array(_t),Pe=0;Pe<se.length;Pe++)se[Pe]=ve[Pe];return se},e.sign.detached.verify=function($e,be,ve){if(zt($e,be,ve),be.length!==_t)throw new Error("bad signature size");if(ve.length!==pt)throw new Error("bad public key size");var se=new Uint8Array(_t+$e.length),Pe=new Uint8Array(_t+$e.length),ze;for(ze=0;ze<_t;ze++)se[ze]=be[ze];for(ze=0;ze<$e.length;ze++)se[ze+_t]=$e[ze];return te(Pe,se,se.length,ve)>=0},e.sign.keyPair=function(){var $e=new Uint8Array(pt),be=new Uint8Array(Bt);return Qe($e,be),{publicKey:$e,secretKey:be}},e.sign.keyPair.fromSecretKey=function($e){if(zt($e),$e.length!==Bt)throw new Error("bad secret key size");for(var be=new Uint8Array(pt),ve=0;ve<be.length;ve++)be[ve]=$e[32+ve];return{publicKey:be,secretKey:new Uint8Array($e)}},e.sign.keyPair.fromSeed=function($e){if(zt($e),$e.length!==ur)throw new Error("bad seed size");for(var be=new Uint8Array(pt),ve=new Uint8Array(Bt),se=0;se<32;se++)ve[se]=$e[se];return Qe(be,ve,!0),{publicKey:be,secretKey:ve}},e.sign.publicKeyLength=pt,e.sign.secretKeyLength=Bt,e.sign.seedLength=ur,e.sign.signatureLength=_t,e.hash=function($e){zt($e);var be=new Uint8Array(kt);return Je(be,$e,$e.length),be},e.hash.hashLength=kt,e.verify=function($e,be){return zt($e,be),$e.length===0||be.length===0||$e.length!==be.length?!1:j($e,0,be,0,$e.length)===0},e.setPRNG=function($e){l=$e},function(){var $e=typeof self<"u"?self.crypto||self.msCrypto:null;if($e&&$e.getRandomValues){var be=65536;e.setPRNG(function(ve,se){var Pe,ze=new Uint8Array(se);for(Pe=0;Pe<se;Pe+=be)$e.getRandomValues(ze.subarray(Pe,Pe+Math.min(se-Pe,be)));for(Pe=0;Pe<se;Pe++)ve[Pe]=ze[Pe];Qt(ze)})}else typeof commonjsRequire<"u"&&($e=requireCryptoBrowserify(),$e&&$e.randomBytes&&e.setPRNG(function(ve,se){var Pe,ze=$e.randomBytes(se);for(Pe=0;Pe<se;Pe++)ve[Pe]=ze[Pe];Qt(ze)}))}()})(n.exports?n.exports:self.nacl=self.nacl||{})}(naclFast)),naclFast.exports}var utils$2,hasRequiredUtils$2;function requireUtils$2(){if(hasRequiredUtils$2)return utils$2;hasRequiredUtils$2=1,utils$2={bufferSplit:N,addRSAMissing:y,calculateDSAPublic:ye,calculateED25519Public:L,calculateX25519Public:p,mpNormalize:fe,mpDenormalize:V,ecNormalize:ee,countZeros:F,assertCompatible:M,isCompatible:C,opensslKeyDeriv:j,opensshCipherInfo:c,publicFromPrivateECDSA:S,zeroPadToLength:le,writeBitString:re,readBitString:Z,pbkdf2:B};var n=requireAssert(),e=requireSafer().Buffer,o=requirePrivateKey(),l=requireKey(),t=requireCryptoBrowserify(),u=requireAlgs(),h=requireLib$4(),v=requireEc(),w=requireJsbn().BigInteger,A=requireNaclFast(),E=3;function C(m,x,T){if(m===null||typeof m!="object")return!1;if(T===void 0&&(T=x.prototype._sshpkApiVersion),m instanceof x&&x.prototype._sshpkApiVersion[0]==T[0])return!0;for(var b=Object.getPrototypeOf(m),d=0;b.constructor.name!==x.name;)if(b=Object.getPrototypeOf(b),!b||++d>E)return!1;if(b.constructor.name!==x.name)return!1;var k=b._sshpkApiVersion;return k===void 0&&(k=x._oldVersionDetect(m)),!(k[0]!=T[0]||k[1]<T[1])}function M(m,x,T,b){if(b===void 0&&(b="object"),n.ok(m,b+" must not be null"),n.object(m,b+" must be an object"),T===void 0&&(T=x.prototype._sshpkApiVersion),!(m instanceof x&&x.prototype._sshpkApiVersion[0]==T[0])){for(var d=Object.getPrototypeOf(m),k=0;d.constructor.name!==x.name;)d=Object.getPrototypeOf(d),n.ok(d&&++k<=E,b+" must be a "+x.name+" instance");n.strictEqual(d.constructor.name,x.name,b+" must be a "+x.name+" instance");var D=d._sshpkApiVersion;D===void 0&&(D=x._oldVersionDetect(m)),n.ok(D[0]==T[0]&&D[1]>=T[1],b+" must be compatible with "+x.name+" klass version "+T[0]+"."+T[1])}}var P={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}},I=8;function j(m,x,T,b){n.buffer(x,"salt"),n.buffer(T,"passphrase"),n.number(b,"iteration count");var d=P[m];n.object(d,"supported cipher"),x=x.slice(0,I);for(var k,D,O,Q=e.alloc(0);Q.length<d.key+d.iv;){O=[],D&&O.push(D),O.push(T),O.push(x),k=e.concat(O);for(var J=0;J<b;++J)k=t.createHash("md5").update(k).digest();Q=e.concat([Q,k]),D=k}return{key:Q.slice(0,d.key),iv:Q.slice(d.key,d.key+d.iv)}}function B(m,x,T,b,d){var k=e.alloc(x.length+4);x.copy(k);for(var D=0,O=[],Q=1;D<b;){var J=X(Q++);D+=J.length,O.push(J)}return e.concat(O).slice(0,b);function X(U){k.writeUInt32BE(U,k.length-4);var z=t.createHmac(m,d);z.update(k);for(var ie=z.digest(),de=ie,me=1;me++<T;){z=t.createHmac(m,d),z.update(de),de=z.digest();for(var pe=0;pe<ie.length;++pe)ie[pe]^=de[pe]}return ie}}function F(m){for(var x=0,T=8;x<m.length;){var b=1<<T;if((m[x]&b)===b)break;T--,T<0&&(x++,T=8)}return x*8+(8-T)-1}function N(m,x){n.buffer(m),n.string(x);for(var T=[],b=0,d=0,k=0;k<m.length;++k)if(m[k]===x.charCodeAt(d)?++d:m[k]===x.charCodeAt(0)?d=1:d=0,d>=x.length){var D=k+1;T.push(m.slice(b,D-d)),b=D,d=0}return b<=m.length&&T.push(m.slice(b,m.length)),T}function ee(m,x){if(n.buffer(m),m[0]===0&&m[1]===4)return x?m:m.slice(1);if(m[0]===4){if(!x)return m}else{for(;m[0]===0;)m=m.slice(1);if(m[0]===2||m[0]===3)throw new Error("Compressed elliptic curve points are not supported");if(m[0]!==4)throw new Error("Not a valid elliptic curve point");if(!x)return m}var T=e.alloc(m.length+1);return T[0]=0,m.copy(T,1),T}function Z(m,x){x===void 0&&(x=h.Ber.BitString);var T=m.readString(x,!0);return n.strictEqual(T[0],0,"bit strings with unused bits are not supported (0x"+T[0].toString(16)+")"),T.slice(1)}function re(m,x,T){T===void 0&&(T=h.Ber.BitString);var b=e.alloc(x.length+1);b[0]=0,x.copy(b,1),m.writeBuffer(b,T)}function fe(m){for(n.buffer(m);m.length>1&&m[0]===0&&!(m[1]&128);)m=m.slice(1);if((m[0]&128)===128){var x=e.alloc(m.length+1);x[0]=0,m.copy(x,1),m=x}return m}function V(m){for(n.buffer(m);m.length>1&&m[0]===0;)m=m.slice(1);return m}function le(m,x){for(n.buffer(m),n.number(x);m.length>x;)n.equal(m[0],0),m=m.slice(1);for(;m.length<x;){var T=e.alloc(m.length+1);T[0]=0,m.copy(T,1),m=T}return m}function he(m){var x=e.from(m.toByteArray());return x=fe(x),x}function ye(m,x,T){n.buffer(m),n.buffer(x),n.buffer(T),m=new w(m),x=new w(x),T=new w(T);var b=m.modPow(T,x),d=he(b);return d}function L(m){n.buffer(m);var x=A.sign.keyPair.fromSeed(new Uint8Array(m));return e.from(x.publicKey)}function p(m){n.buffer(m);var x=A.box.keyPair.fromSeed(new Uint8Array(m));return e.from(x.publicKey)}function y(m){n.object(m),M(m,o,[1,1]);var x=new w(m.part.d.data),T;if(!m.part.dmodp){var b=new w(m.part.p.data),d=x.mod(b.subtract(1));T=he(d),m.part.dmodp={name:"dmodp",data:T},m.parts.push(m.part.dmodp)}if(!m.part.dmodq){var k=new w(m.part.q.data),D=x.mod(k.subtract(1));T=he(D),m.part.dmodq={name:"dmodq",data:T},m.parts.push(m.part.dmodq)}}function S(m,x){n.string(m,"curveName"),n.buffer(x);var T=u.curves[m],b=new w(T.p),d=new w(T.a),k=new w(T.b),D=new v.ECCurveFp(b,d,k),O=D.decodePointHex(T.G.toString("hex")),Q=new w(fe(x)),J=O.multiply(Q);J=e.from(D.encodePointHex(J),"hex");var X=[];X.push({name:"curve",data:e.from(m)}),X.push({name:"Q",data:J});var U=new l({type:"ecdsa",curve:D,parts:X});return U}function c(m){var x={};switch(m){case"3des-cbc":x.keySize=24,x.blockSize=8,x.opensslName="des-ede3-cbc";break;case"blowfish-cbc":x.keySize=16,x.blockSize=8,x.opensslName="bf-cbc";break;case"aes128-cbc":case"aes128-ctr":case"aes128-gcm@openssh.com":x.keySize=16,x.blockSize=16,x.opensslName="aes-128-"+m.slice(7,10);break;case"aes192-cbc":case"aes192-ctr":case"aes192-gcm@openssh.com":x.keySize=24,x.blockSize=16,x.opensslName="aes-192-"+m.slice(7,10);break;case"aes256-cbc":case"aes256-ctr":case"aes256-gcm@openssh.com":x.keySize=32,x.blockSize=16,x.opensslName="aes-256-"+m.slice(7,10);break;default:throw new Error('Unsupported openssl cipher "'+m+'"')}return x}return utils$2}var sshBuffer,hasRequiredSshBuffer;function requireSshBuffer(){if(hasRequiredSshBuffer)return sshBuffer;hasRequiredSshBuffer=1,sshBuffer=o;var n=requireAssert(),e=requireSafer().Buffer;function o(l){n.object(l,"options"),l.buffer!==void 0&&n.buffer(l.buffer,"options.buffer"),this._size=l.buffer?l.buffer.length:1024,this._buffer=l.buffer||e.alloc(this._size),this._offset=0}return o.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},o.prototype.atEnd=function(){return this._offset>=this._buffer.length},o.prototype.remainder=function(){return this._buffer.slice(this._offset)},o.prototype.skip=function(l){this._offset+=l},o.prototype.expand=function(){this._size*=2;var l=e.alloc(this._size);this._buffer.copy(l,0),this._buffer=l},o.prototype.readPart=function(){return{data:this.readBuffer()}},o.prototype.readBuffer=function(){var l=this._buffer.readUInt32BE(this._offset);this._offset+=4,n.ok(this._offset+l<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var t=this._buffer.slice(this._offset,this._offset+l);return this._offset+=l,t},o.prototype.readString=function(){return this.readBuffer().toString()},o.prototype.readCString=function(){for(var l=this._offset;l<this._buffer.length&&this._buffer[l]!==0;)l++;n.ok(l<this._buffer.length,"c string does not terminate");var t=this._buffer.slice(this._offset,l).toString();return this._offset=l+1,t},o.prototype.readInt=function(){var l=this._buffer.readUInt32BE(this._offset);return this._offset+=4,l},o.prototype.readInt64=function(){n.ok(this._offset+8<this._buffer.length,"buffer not long enough to read Int64");var l=this._buffer.slice(this._offset,this._offset+8);return this._offset+=8,l},o.prototype.readChar=function(){var l=this._buffer[this._offset++];return l},o.prototype.writeBuffer=function(l){for(;this._offset+4+l.length>this._size;)this.expand();this._buffer.writeUInt32BE(l.length,this._offset),this._offset+=4,l.copy(this._buffer,this._offset),this._offset+=l.length},o.prototype.writeString=function(l){this.writeBuffer(e.from(l,"utf8"))},o.prototype.writeCString=function(l){for(;this._offset+1+l.length>this._size;)this.expand();this._buffer.write(l,this._offset),this._offset+=l.length,this._buffer[this._offset++]=0},o.prototype.writeInt=function(l){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(l,this._offset),this._offset+=4},o.prototype.writeInt64=function(l){if(n.buffer(l,"value"),l.length>8){for(var t=l.slice(0,l.length-8),u=0;u<t.length;++u)n.strictEqual(t[u],0,"must fit in 64 bits of precision");l=l.slice(l.length-8,l.length)}for(;this._offset+8>this._size;)this.expand();l.copy(this._buffer,this._offset),this._offset+=8},o.prototype.writeChar=function(l){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=l},o.prototype.writePart=function(l){this.writeBuffer(l.data)},o.prototype.write=function(l){for(;this._offset+l.length>this._size;)this.expand();l.copy(this._buffer,this._offset),this._offset+=l.length},sshBuffer}var signature,hasRequiredSignature;function requireSignature(){if(hasRequiredSignature)return signature;hasRequiredSignature=1,signature=w;var n=requireAssert(),e=requireSafer().Buffer;requireAlgs(),requireCryptoBrowserify();var o=requireErrors$1(),l=requireUtils$2(),t=requireLib$4(),u=requireSshBuffer(),h=o.InvalidAlgorithmError,v=o.SignatureParseError;function w(P){n.object(P,"options"),n.arrayOfObject(P.parts,"options.parts"),n.string(P.type,"options.type");for(var I={},j=0;j<P.parts.length;++j){var B=P.parts[j];I[B.name]=B}this.type=P.type,this.hashAlgorithm=P.hashAlgo,this.curve=P.curve,this.parts=P.parts,this.part=I}w.prototype.toBuffer=function(P){P===void 0&&(P="asn1"),n.string(P,"format");var I,j="ssh-"+this.type;switch(this.type){case"rsa":switch(this.hashAlgorithm){case"sha256":j="rsa-sha2-256";break;case"sha512":j="rsa-sha2-512";break;case"sha1":case void 0:break;default:throw new Error("SSH signature format does not support hash algorithm "+this.hashAlgorithm)}return P==="ssh"?(I=new u({}),I.writeString(j),I.writePart(this.part.sig),I.toBuffer()):this.part.sig.data;case"ed25519":return P==="ssh"?(I=new u({}),I.writeString(j),I.writePart(this.part.sig),I.toBuffer()):this.part.sig.data;case"dsa":case"ecdsa":var B,F;if(P==="asn1"){var N=new t.BerWriter;return N.startSequence(),B=l.mpNormalize(this.part.r.data),F=l.mpNormalize(this.part.s.data),N.writeBuffer(B,t.Ber.Integer),N.writeBuffer(F,t.Ber.Integer),N.endSequence(),N.buffer}else if(P==="ssh"&&this.type==="dsa"){if(I=new u({}),I.writeString("ssh-dss"),B=this.part.r.data,B.length>20&&B[0]===0&&(B=B.slice(1)),F=this.part.s.data,F.length>20&&F[0]===0&&(F=F.slice(1)),this.hashAlgorithm&&this.hashAlgorithm!=="sha1"||B.length+F.length!==40)throw new Error("OpenSSH only supports DSA signatures with SHA1 hash");return I.writeBuffer(e.concat([B,F])),I.toBuffer()}else if(P==="ssh"&&this.type==="ecdsa"){var ee=new u({});B=this.part.r.data,ee.writeBuffer(B),ee.writePart(this.part.s),I=new u({});var Z;B[0]===0&&(B=B.slice(1));var re=B.length*8;return re===256?Z="nistp256":re===384?Z="nistp384":re===528&&(Z="nistp521"),I.writeString("ecdsa-sha2-"+Z),I.writeBuffer(ee.toBuffer()),I.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}},w.prototype.toString=function(P){return n.optionalString(P,"format"),this.toBuffer(P).toString("base64")},w.parse=function(P,I,j){typeof P=="string"&&(P=e.from(P,"base64")),n.buffer(P,"data"),n.string(j,"format"),n.string(I,"type");var B={};B.type=I.toLowerCase(),B.parts=[];try{switch(n.ok(P.length>0,"signature must not be empty"),B.type){case"rsa":return A(P,I,j,B);case"ed25519":return A(P,I,j,B);case"dsa":case"ecdsa":return j==="asn1"?E(P,I,j,B):B.type==="dsa"?C(P,I,j,B):M(P,I,j,B);default:throw new h(I)}}catch(F){throw F instanceof h?F:new v(I,j,F)}};function A(P,I,j,B){if(j==="ssh"){try{var F=new u({buffer:P}),N=F.readString()}catch{}if(F!==void 0){var ee="SSH signature does not match expected type (expected "+I+", got "+N+")";switch(N){case"ssh-rsa":n.strictEqual(I,"rsa",ee),B.hashAlgo="sha1";break;case"rsa-sha2-256":n.strictEqual(I,"rsa",ee),B.hashAlgo="sha256";break;case"rsa-sha2-512":n.strictEqual(I,"rsa",ee),B.hashAlgo="sha512";break;case"ssh-ed25519":n.strictEqual(I,"ed25519",ee),B.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature type: "+N)}var Z=F.readPart();return n.ok(F.atEnd(),"extra trailing bytes"),Z.name="sig",B.parts.push(Z),new w(B)}}return B.parts.push({name:"sig",data:P}),new w(B)}function E(P,I,j,B){var F=new t.BerReader(P);F.readSequence();var N=F.readString(t.Ber.Integer,!0),ee=F.readString(t.Ber.Integer,!0);return B.parts.push({name:"r",data:l.mpNormalize(N)}),B.parts.push({name:"s",data:l.mpNormalize(ee)}),new w(B)}function C(P,I,j,B){if(P.length!=40){var F=new u({buffer:P}),N=F.readBuffer();N.toString("ascii")==="ssh-dss"&&(N=F.readBuffer()),n.ok(F.atEnd(),"extra trailing bytes"),n.strictEqual(N.length,40,"invalid inner length"),P=N}return B.parts.push({name:"r",data:P.slice(0,20)}),B.parts.push({name:"s",data:P.slice(20,40)}),new w(B)}function M(P,I,j,B){var F=new u({buffer:P}),N,ee,Z=F.readBuffer(),re=Z.toString("ascii");if(re.slice(0,6)==="ecdsa-"){var fe=re.split("-");switch(n.strictEqual(fe[0],"ecdsa"),n.strictEqual(fe[1],"sha2"),B.curve=fe[2],B.curve){case"nistp256":B.hashAlgo="sha256";break;case"nistp384":B.hashAlgo="sha384";break;case"nistp521":B.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+B.curve)}Z=F.readBuffer(),n.ok(F.atEnd(),"extra trailing bytes on outer"),F=new u({buffer:Z}),N=F.readPart()}else N={data:Z};return ee=F.readPart(),n.ok(F.atEnd(),"extra trailing bytes"),N.name="r",ee.name="s",B.parts.push(N),B.parts.push(ee),new w(B)}return w.isSignature=function(P,I){return l.isCompatible(P,w,I)},w.prototype._sshpkApiVersion=[2,1],w._oldVersionDetect=function(P){return n.func(P.toBuffer),P.hasOwnProperty("hashAlgorithm")?[2,0]:[1,0]},signature}var eccJsbn={},sec,hasRequiredSec;function requireSec(){if(hasRequiredSec)return sec;hasRequiredSec=1;var n=requireJsbn().BigInteger,e=requireEc().ECCurveFp;function o(j,B,F,N){this.curve=j,this.g=B,this.n=F,this.h=N}function l(){return this.curve}function t(){return this.g}function u(){return this.n}function h(){return this.h}o.prototype.getCurve=l,o.prototype.getG=t,o.prototype.getN=u,o.prototype.getH=h;function v(j){return new n(j,16)}function w(){var j=v("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"),B=v("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC"),F=v("E87579C11079F43DD824993C2CEE5ED3"),N=v("FFFFFFFE0000000075A30D1B9038A115"),ee=n.ONE,Z=new e(j,B,F),re=Z.decodePointHex("04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83");return new o(Z,re,N,ee)}function A(){var j=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"),B=n.ZERO,F=v("7"),N=v("0100000000000000000001B8FA16DFAB9ACA16B6B3"),ee=n.ONE,Z=new e(j,B,F),re=Z.decodePointHex("043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE");return new o(Z,re,N,ee)}function E(){var j=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF"),B=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC"),F=v("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45"),N=v("0100000000000000000001F4C8F927AED3CA752257"),ee=n.ONE,Z=new e(j,B,F),re=Z.decodePointHex("044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32");return new o(Z,re,N,ee)}function C(){var j=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37"),B=n.ZERO,F=v("3"),N=v("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D"),ee=n.ONE,Z=new e(j,B,F),re=Z.decodePointHex("04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D");return new o(Z,re,N,ee)}function M(){var j=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),B=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC"),F=v("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1"),N=v("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"),ee=n.ONE,Z=new e(j,B,F),re=Z.decodePointHex("04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811");return new o(Z,re,N,ee)}function P(){var j=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001"),B=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE"),F=v("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4"),N=v("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"),ee=n.ONE,Z=new e(j,B,F),re=Z.decodePointHex("04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34");return new o(Z,re,N,ee)}function I(){var j=v("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF"),B=v("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC"),F=v("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B"),N=v("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"),ee=n.ONE,Z=new e(j,B,F),re=Z.decodePointHex("046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5");return new o(Z,re,N,ee)}return sec={secp128r1:w,secp160k1:A,secp160r1:E,secp192k1:C,secp192r1:M,secp224r1:P,secp256r1:I},sec}var hasRequiredEccJsbn;function requireEccJsbn(){if(hasRequiredEccJsbn)return eccJsbn;hasRequiredEccJsbn=1;var n=requireCryptoBrowserify(),e=requireJsbn().BigInteger;requireEc().ECPointFp;var o=requireSafer().Buffer;eccJsbn.ECCurves=requireSec();function l(t,u){return t.length>=u?t:l("0"+t,u)}return eccJsbn.ECKey=function(t,u,h){var v,w=t(),A=w.getN(),E=Math.floor(A.bitLength()/8);if(u)if(h){var t=w.getCurve();this.P=t.decodePointHex(u.toString("hex"))}else{if(u.length!=E)return!1;v=new e(u.toString("hex"),16)}else{var C=A.subtract(e.ONE),M=new e(n.randomBytes(A.bitLength()));v=M.mod(C).add(e.ONE),this.P=w.getG().multiply(v)}this.P&&(this.PublicKey=o.from(w.getCurve().encodeCompressedPointHex(this.P),"hex")),v&&(this.PrivateKey=o.from(l(v.toString(16),E*2),"hex"),this.deriveSharedSecret=function(P){if(!P||!P.P)return!1;var I=P.P.multiply(v);return o.from(l(I.getX().toBigInteger().toString(16),E*2),"hex")})},eccJsbn}var dhe,hasRequiredDhe;function requireDhe(){if(hasRequiredDhe)return dhe;hasRequiredDhe=1,dhe={DiffieHellman:C,generateECDSA:B,generateED25519:j};var n=requireAssert(),e=requireCryptoBrowserify(),o=requireSafer().Buffer,l=requireAlgs(),t=requireUtils$2(),u=requireNaclFast(),h=requireKey(),v=requirePrivateKey(),w=e.createECDH!==void 0;requireEccJsbn();var A=requireEc(),E=requireJsbn().BigInteger;function C(F){if(t.assertCompatible(F,h,[1,4],"key"),this._isPriv=v.isPrivateKey(F,[1,3]),this._algo=F.type,this._curve=F.curve,this._key=F,F.type==="dsa"){if(!w)throw new Error("Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH");this._dh=e.createDiffieHellman(F.part.p.data,void 0,F.part.g.data,void 0),this._p=F.part.p,this._g=F.part.g,this._isPriv&&this._dh.setPrivateKey(F.part.x.data),this._dh.setPublicKey(F.part.y.data)}else if(F.type==="ecdsa"){if(!w){this._ecParams=new M(this._curve),this._isPriv&&(this._priv=new I(this._ecParams,F.part.d.data));return}var N={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[F.curve];if(this._dh=e.createECDH(N),typeof this._dh!="object"||typeof this._dh.setPrivateKey!="function"){w=!1,C.call(this,F);return}this._isPriv&&this._dh.setPrivateKey(F.part.d.data),this._dh.setPublicKey(F.part.Q.data)}else if(F.type==="curve25519")this._isPriv&&(t.assertCompatible(F,v,[1,5],"key"),this._priv=F.part.k.data);else throw new Error("DH not supported for "+F.type+" keys")}C.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},C.prototype.getPrivateKey=function(){if(this._isPriv)return this._key},C.prototype.getKey=C.prototype.getPrivateKey,C.prototype._keyCheck=function(F,N){if(n.object(F,"key"),N||t.assertCompatible(F,v,[1,3],"key"),t.assertCompatible(F,h,[1,4],"key"),F.type!==this._algo)throw new Error("A "+F.type+" key cannot be used in "+this._algo+" Diffie-Hellman");if(F.curve!==this._curve)throw new Error("A key from the "+F.curve+" curve cannot be used with a "+this._curve+" Diffie-Hellman");F.type==="dsa"&&(n.deepEqual(F.part.p,this._p,"DSA key prime does not match"),n.deepEqual(F.part.g,this._g,"DSA key generator does not match"))},C.prototype.setKey=function(F){if(this._keyCheck(F),F.type==="dsa")this._dh.setPrivateKey(F.part.x.data),this._dh.setPublicKey(F.part.y.data);else if(F.type==="ecdsa")w?(this._dh.setPrivateKey(F.part.d.data),this._dh.setPublicKey(F.part.Q.data)):this._priv=new I(this._ecParams,F.part.d.data);else if(F.type==="curve25519"){var N=F.part.k;F.part.k||(N=F.part.r),this._priv=N.data,this._priv[0]===0&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)}this._key=F,this._isPriv=!0},C.prototype.setPrivateKey=C.prototype.setKey,C.prototype.computeSecret=function(F){if(this._keyCheck(F,!0),!this._isPriv)throw new Error("DH exchange has not been initialized with a private key yet");var N;if(this._algo==="dsa")return this._dh.computeSecret(F.part.y.data);if(this._algo==="ecdsa")return w?this._dh.computeSecret(F.part.Q.data):(N=new P(this._ecParams,F.part.Q.data),this._priv.deriveSharedSecret(N));if(this._algo==="curve25519"){for(N=F.part.A.data;N[0]===0&&N.length>32;)N=N.slice(1);var ee=this._priv;n.strictEqual(N.length,32),n.strictEqual(ee.length,32);var Z=u.box.before(new Uint8Array(N),new Uint8Array(ee));return o.from(Z)}throw new Error("Invalid algorithm: "+this._algo)},C.prototype.generateKey=function(){var F=[],N,ee;if(this._algo==="dsa")return this._dh.generateKeys(),F.push({name:"p",data:this._p.data}),F.push({name:"q",data:this._key.part.q.data}),F.push({name:"g",data:this._g.data}),F.push({name:"y",data:this._dh.getPublicKey()}),F.push({name:"x",data:this._dh.getPrivateKey()}),this._key=new v({type:"dsa",parts:F}),this._isPriv=!0,this._key;if(this._algo==="ecdsa"){if(w)return this._dh.generateKeys(),F.push({name:"curve",data:o.from(this._curve)}),F.push({name:"Q",data:this._dh.getPublicKey()}),F.push({name:"d",data:this._dh.getPrivateKey()}),this._key=new v({type:"ecdsa",curve:this._curve,parts:F}),this._isPriv=!0,this._key;var Z=this._ecParams.getN(),re=new E(e.randomBytes(Z.bitLength())),fe=Z.subtract(E.ONE);return N=re.mod(fe).add(E.ONE),ee=this._ecParams.getG().multiply(N),N=o.from(N.toByteArray()),ee=o.from(this._ecParams.getCurve().encodePointHex(ee),"hex"),this._priv=new I(this._ecParams,N),F.push({name:"curve",data:o.from(this._curve)}),F.push({name:"Q",data:ee}),F.push({name:"d",data:N}),this._key=new v({type:"ecdsa",curve:this._curve,parts:F}),this._isPriv=!0,this._key}else if(this._algo==="curve25519"){var V=u.box.keyPair();return N=o.from(V.secretKey),ee=o.from(V.publicKey),N=o.concat([N,ee]),n.strictEqual(N.length,64),n.strictEqual(ee.length,32),F.push({name:"A",data:ee}),F.push({name:"k",data:N}),this._key=new v({type:"curve25519",parts:F}),this._isPriv=!0,this._key}throw new Error("Invalid algorithm: "+this._algo)},C.prototype.generateKeys=C.prototype.generateKey;function M(F){var N=l.curves[F];n.object(N);var ee=new E(N.p),Z=new E(N.a),re=new E(N.b),fe=new E(N.n),V=E.ONE,le=new A.ECCurveFp(ee,Z,re),he=le.decodePointHex(N.G.toString("hex"));this.curve=le,this.g=he,this.n=fe,this.h=V}M.prototype.getCurve=function(){return this.curve},M.prototype.getG=function(){return this.g},M.prototype.getN=function(){return this.n},M.prototype.getH=function(){return this.h};function P(F,N){this._params=F,N[0]===0&&(N=N.slice(1)),this._pub=F.getCurve().decodePointHex(N.toString("hex"))}function I(F,N){this._params=F,this._priv=new E(t.mpNormalize(N))}I.prototype.deriveSharedSecret=function(F){n.ok(F instanceof P);var N=F._pub.multiply(this._priv);return o.from(N.getX().toBigInteger().toByteArray())};function j(){var F=u.sign.keyPair(),N=o.from(F.secretKey),ee=o.from(F.publicKey);n.strictEqual(N.length,64),n.strictEqual(ee.length,32);var Z=[];Z.push({name:"A",data:ee}),Z.push({name:"k",data:N.slice(0,32)});var re=new v({type:"ed25519",parts:Z});return re}function B(F){var N=[],ee;if(w){var Z={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[F],re=e.createECDH(Z);return re.generateKeys(),N.push({name:"curve",data:o.from(F)}),N.push({name:"Q",data:re.getPublicKey()}),N.push({name:"d",data:re.getPrivateKey()}),ee=new v({type:"ecdsa",curve:F,parts:N}),ee}else{var fe=new M(F),V=fe.getN(),le=Math.ceil((V.bitLength()+64)/8),he=new E(e.randomBytes(le)),ye=V.subtract(E.ONE),L=he.mod(ye).add(E.ONE),p=fe.getG().multiply(L);return L=o.from(L.toByteArray()),p=o.from(fe.getCurve().encodePointHex(p),"hex"),N.push({name:"curve",data:o.from(F)}),N.push({name:"Q",data:p}),N.push({name:"d",data:L}),ee=new v({type:"ecdsa",curve:F,parts:N}),ee}}return dhe}var edCompat,hasRequiredEdCompat;function requireEdCompat(){if(hasRequiredEdCompat)return edCompat;hasRequiredEdCompat=1,edCompat={Verifier:h,Signer:v};var n=requireNaclFast(),e=requireStreamBrowserify(),o=util$6,l=requireAssert(),t=requireSafer().Buffer,u=requireSignature();function h(w,A){if(A.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=w,this.chunks=[],e.Writable.call(this,{})}o.inherits(h,e.Writable),h.prototype._write=function(w,A,E){this.chunks.push(w),E()},h.prototype.update=function(w){typeof w=="string"&&(w=t.from(w,"binary")),this.chunks.push(w)},h.prototype.verify=function(w,A){var E;if(u.isSignature(w,[2,0])){if(w.type!=="ed25519")return!1;E=w.toBuffer("raw")}else if(typeof w=="string")E=t.from(w,"base64");else if(u.isSignature(w,[1,0]))throw new Error("signature was created by too old a version of sshpk and cannot be verified");return l.buffer(E),n.sign.detached.verify(new Uint8Array(t.concat(this.chunks)),new Uint8Array(E),new Uint8Array(this.key.part.A.data))};function v(w,A){if(A.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=w,this.chunks=[],e.Writable.call(this,{})}return o.inherits(v,e.Writable),v.prototype._write=function(w,A,E){this.chunks.push(w),E()},v.prototype.update=function(w){typeof w=="string"&&(w=t.from(w,"binary")),this.chunks.push(w)},v.prototype.sign=function(){var w=n.sign.detached(new Uint8Array(t.concat(this.chunks)),new Uint8Array(t.concat([this.key.part.k.data,this.key.part.A.data]))),A=t.from(w),E=u.parse(A,"ed25519","raw");return E.hashAlgorithm="sha512",E},edCompat}var pkcs8,hasRequiredPkcs8;function requirePkcs8(){if(hasRequiredPkcs8)return pkcs8;hasRequiredPkcs8=1,pkcs8={read:w,readPkcs8:C,write:A,writePkcs8:le,pkcs8ToBuffer:V,readECDSACurve:B,writeECDSACurve:y};var n=requireAssert(),e=requireLib$4(),o=requireSafer().Buffer,l=requireAlgs(),t=requireUtils$2(),u=requireKey(),h=requirePrivateKey(),v=requirePem();function w(T,b){return v.read(T,b,"pkcs8")}function A(T,b){return v.write(T,b,"pkcs8")}function E(T,b){return n.strictEqual(T.peek(),e.Ber.Integer,b+" is not an Integer"),t.mpNormalize(T.readString(e.Ber.Integer,!0))}function C(T,b,d){d.peek()===e.Ber.Integer&&(n.strictEqual(b,"private","unexpected Integer at start of public key"),d.readString(e.Ber.Integer,!0)),d.readSequence();var k=d.offset+d.length,D=d.readOID();switch(D){case"1.2.840.113549.1.1.1":return d._offset=k,b==="public"?M(d):P(d);case"1.2.840.10040.4.1":return b==="public"?I(d):j(d);case"1.2.840.10045.2.1":return b==="public"?N(d):F(d);case"1.3.101.112":return b==="public"?ee(d):re(d);case"1.3.101.110":return b==="public"?Z(d):fe(d);default:throw new Error("Unknown key type OID "+D)}}function M(T){T.readSequence(e.Ber.BitString),T.readByte(),T.readSequence();var b=E(T,"modulus"),d=E(T,"exponent"),k={type:"rsa",source:T.originalInput,parts:[{name:"e",data:d},{name:"n",data:b}]};return new u(k)}function P(T){T.readSequence(e.Ber.OctetString),T.readSequence();var b=E(T,"version");n.equal(b[0],0,"unknown RSA private key version");var d=E(T,"modulus"),k=E(T,"public exponent"),D=E(T,"private exponent"),O=E(T,"prime1"),Q=E(T,"prime2"),J=E(T,"exponent1"),X=E(T,"exponent2"),U=E(T,"iqmp"),z={type:"rsa",parts:[{name:"n",data:d},{name:"e",data:k},{name:"d",data:D},{name:"iqmp",data:U},{name:"p",data:O},{name:"q",data:Q},{name:"dmodp",data:J},{name:"dmodq",data:X}]};return new h(z)}function I(T){T.readSequence();var b=E(T,"p"),d=E(T,"q"),k=E(T,"g");T.readSequence(e.Ber.BitString),T.readByte();var D=E(T,"y"),O={type:"dsa",parts:[{name:"p",data:b},{name:"q",data:d},{name:"g",data:k},{name:"y",data:D}]};return new u(O)}function j(T){T.readSequence();var b=E(T,"p"),d=E(T,"q"),k=E(T,"g");T.readSequence(e.Ber.OctetString);var D=E(T,"x"),O=t.calculateDSAPublic(k,b,D),Q={type:"dsa",parts:[{name:"p",data:b},{name:"q",data:d},{name:"g",data:k},{name:"y",data:O},{name:"x",data:D}]};return new h(Q)}function B(T){var b,d,k,D,O;if(T.peek()===e.Ber.OID){var Q=T.readOID();for(d=Object.keys(l.curves),k=0;k<d.length;++k)if(D=d[k],O=l.curves[D],O.pkcs8oid===Q){b=D;break}}else{T.readSequence();var J=T.readString(e.Ber.Integer,!0);n.strictEqual(J[0],1,"ECDSA key not version 1");var X={};T.readSequence();var U=T.readOID();n.strictEqual(U,"1.2.840.10045.1.1","ECDSA key is not from a prime-field");var z=X.p=t.mpNormalize(T.readString(e.Ber.Integer,!0));X.size=z.length*8-t.countZeros(z),T.readSequence(),X.a=t.mpNormalize(T.readString(e.Ber.OctetString,!0)),X.b=t.mpNormalize(T.readString(e.Ber.OctetString,!0)),T.peek()===e.Ber.BitString&&(X.s=T.readString(e.Ber.BitString,!0)),X.G=T.readString(e.Ber.OctetString,!0),n.strictEqual(X.G[0],4,"uncompressed G is required"),X.n=t.mpNormalize(T.readString(e.Ber.Integer,!0)),X.h=t.mpNormalize(T.readString(e.Ber.Integer,!0)),n.strictEqual(X.h[0],1,"a cofactor=1 curve is required"),d=Object.keys(l.curves);var ie=Object.keys(X);for(k=0;k<d.length;++k){D=d[k],O=l.curves[D];for(var de=!0,me=0;me<ie.length;++me){var pe=ie[me];if(O[pe]!==void 0){if(typeof O[pe]=="object"&&O[pe].equals!==void 0){if(!O[pe].equals(X[pe])){de=!1;break}}else if(o.isBuffer(O[pe])){if(O[pe].toString("binary")!==X[pe].toString("binary")){de=!1;break}}else if(O[pe]!==X[pe]){de=!1;break}}}if(de){b=D;break}}}return b}function F(T){var b=B(T);n.string(b,"a known elliptic curve"),T.readSequence(e.Ber.OctetString),T.readSequence();var d=E(T,"version");n.equal(d[0],1,"unknown version of ECDSA key");var k=T.readString(e.Ber.OctetString,!0),D;if(T.peek()==160&&(T.readSequence(160),T._offset+=T.length),T.peek()==161&&(T.readSequence(161),D=T.readString(e.Ber.BitString,!0),D=t.ecNormalize(D)),D===void 0){var O=t.publicFromPrivateECDSA(b,k);D=O.part.Q.data}var Q={type:"ecdsa",parts:[{name:"curve",data:o.from(b)},{name:"Q",data:D},{name:"d",data:k}]};return new h(Q)}function N(T){var b=B(T);n.string(b,"a known elliptic curve");var d=T.readString(e.Ber.BitString,!0);d=t.ecNormalize(d);var k={type:"ecdsa",parts:[{name:"curve",data:o.from(b)},{name:"Q",data:d}]};return new u(k)}function ee(T){T.peek()===0&&T.readByte();var b=t.readBitString(T),d={type:"ed25519",parts:[{name:"A",data:t.zeroPadToLength(b,32)}]};return new u(d)}function Z(T){var b=t.readBitString(T),d={type:"curve25519",parts:[{name:"A",data:t.zeroPadToLength(b,32)}]};return new u(d)}function re(T){T.peek()===0&&T.readByte(),T.readSequence(e.Ber.OctetString);var b=T.readString(e.Ber.OctetString,!0);b=t.zeroPadToLength(b,32);for(var d,k;(k=T.peek())!==null;)k===(e.Ber.Context|1)?d=t.readBitString(T,k):(T.readSequence(k),T._offset+=T.length);d===void 0&&(d=t.calculateED25519Public(b));var D={type:"ed25519",parts:[{name:"A",data:t.zeroPadToLength(d,32)},{name:"k",data:t.zeroPadToLength(b,32)}]};return new h(D)}function fe(T){T.peek()===0&&T.readByte(),T.readSequence(e.Ber.OctetString);var b=T.readString(e.Ber.OctetString,!0);b=t.zeroPadToLength(b,32);var d=t.calculateX25519Public(b),k={type:"curve25519",parts:[{name:"A",data:t.zeroPadToLength(d,32)},{name:"k",data:t.zeroPadToLength(b,32)}]};return new h(k)}function V(T){var b=new e.BerWriter;return le(b,T),b.buffer}function le(T,b){if(T.startSequence(),h.isPrivateKey(b)){var d=0;b.type==="ed25519"&&(d=1);var k=o.from([d]);T.writeBuffer(k,e.Ber.Integer)}switch(T.startSequence(),b.type){case"rsa":T.writeOID("1.2.840.113549.1.1.1"),h.isPrivateKey(b)?he(b,T):ye(b,T);break;case"dsa":T.writeOID("1.2.840.10040.4.1"),h.isPrivateKey(b)?L(b,T):p(b,T);break;case"ecdsa":T.writeOID("1.2.840.10045.2.1"),h.isPrivateKey(b)?c(b,T):S(b,T);break;case"ed25519":T.writeOID("1.3.101.112"),h.isPrivateKey(b)?x(b,T):m(b,T);break;default:throw new Error("Unsupported key type: "+b.type)}T.endSequence()}function he(T,b){b.writeNull(),b.endSequence(),b.startSequence(e.Ber.OctetString),b.startSequence();var d=o.from([0]);b.writeBuffer(d,e.Ber.Integer),b.writeBuffer(T.part.n.data,e.Ber.Integer),b.writeBuffer(T.part.e.data,e.Ber.Integer),b.writeBuffer(T.part.d.data,e.Ber.Integer),b.writeBuffer(T.part.p.data,e.Ber.Integer),b.writeBuffer(T.part.q.data,e.Ber.Integer),(!T.part.dmodp||!T.part.dmodq)&&t.addRSAMissing(T),b.writeBuffer(T.part.dmodp.data,e.Ber.Integer),b.writeBuffer(T.part.dmodq.data,e.Ber.Integer),b.writeBuffer(T.part.iqmp.data,e.Ber.Integer),b.endSequence(),b.endSequence()}function ye(T,b){b.writeNull(),b.endSequence(),b.startSequence(e.Ber.BitString),b.writeByte(0),b.startSequence(),b.writeBuffer(T.part.n.data,e.Ber.Integer),b.writeBuffer(T.part.e.data,e.Ber.Integer),b.endSequence(),b.endSequence()}function L(T,b){b.startSequence(),b.writeBuffer(T.part.p.data,e.Ber.Integer),b.writeBuffer(T.part.q.data,e.Ber.Integer),b.writeBuffer(T.part.g.data,e.Ber.Integer),b.endSequence(),b.endSequence(),b.startSequence(e.Ber.OctetString),b.writeBuffer(T.part.x.data,e.Ber.Integer),b.endSequence()}function p(T,b){b.startSequence(),b.writeBuffer(T.part.p.data,e.Ber.Integer),b.writeBuffer(T.part.q.data,e.Ber.Integer),b.writeBuffer(T.part.g.data,e.Ber.Integer),b.endSequence(),b.endSequence(),b.startSequence(e.Ber.BitString),b.writeByte(0),b.writeBuffer(T.part.y.data,e.Ber.Integer),b.endSequence()}function y(T,b){var d=l.curves[T.curve];if(d.pkcs8oid)b.writeOID(d.pkcs8oid);else{b.startSequence();var k=o.from([1]);b.writeBuffer(k,e.Ber.Integer),b.startSequence(),b.writeOID("1.2.840.10045.1.1"),b.writeBuffer(d.p,e.Ber.Integer),b.endSequence(),b.startSequence();var D=d.p;D[0]===0&&(D=D.slice(1)),b.writeBuffer(D,e.Ber.OctetString),b.writeBuffer(d.b,e.Ber.OctetString),b.writeBuffer(d.s,e.Ber.BitString),b.endSequence(),b.writeBuffer(d.G,e.Ber.OctetString),b.writeBuffer(d.n,e.Ber.Integer);var O=d.h;O||(O=o.from([1])),b.writeBuffer(O,e.Ber.Integer),b.endSequence()}}function S(T,b){y(T,b),b.endSequence();var d=t.ecNormalize(T.part.Q.data,!0);b.writeBuffer(d,e.Ber.BitString)}function c(T,b){y(T,b),b.endSequence(),b.startSequence(e.Ber.OctetString),b.startSequence();var d=o.from([1]);b.writeBuffer(d,e.Ber.Integer),b.writeBuffer(T.part.d.data,e.Ber.OctetString),b.startSequence(161);var k=t.ecNormalize(T.part.Q.data,!0);b.writeBuffer(k,e.Ber.BitString),b.endSequence(),b.endSequence(),b.endSequence()}function m(T,b){b.endSequence(),t.writeBitString(b,T.part.A.data)}function x(T,b){b.endSequence(),b.startSequence(e.Ber.OctetString);for(var d=t.mpNormalize(T.part.k.data);d.length>32&&d[0]===0;)d=d.slice(1);b.writeBuffer(d,e.Ber.OctetString),b.endSequence(),t.writeBitString(b,T.part.A.data,e.Ber.Context|1)}return pkcs8}var pkcs1,hasRequiredPkcs1;function requirePkcs1(){if(hasRequiredPkcs1)return pkcs1;hasRequiredPkcs1=1,pkcs1={read:E,readPkcs1:P,write:C,writePkcs1:re};var n=requireAssert(),e=requireLib$4(),o=requireSafer().Buffer,l=requireAlgs(),t=requireUtils$2(),u=requireKey(),h=requirePrivateKey(),v=requirePem(),w=requirePkcs8(),A=w.readECDSACurve;function E(S,c){return v.read(S,c,"pkcs1")}function C(S,c){return v.write(S,c,"pkcs1")}function M(S,c){return n.strictEqual(S.peek(),e.Ber.Integer,c+" is not an Integer"),t.mpNormalize(S.readString(e.Ber.Integer,!0))}function P(S,c,m){switch(S){case"RSA":if(c==="public")return I(m);if(c==="private")return j(m);throw new Error("Unknown key type: "+c);case"DSA":if(c==="public")return N(m);if(c==="private")return B(m);throw new Error("Unknown key type: "+c);case"EC":case"ECDSA":if(c==="private")return Z(m);if(c==="public")return ee(m);throw new Error("Unknown key type: "+c);case"EDDSA":case"EdDSA":if(c==="private")return F(m);throw new Error(c+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+S)}}function I(S){var c=M(S,"modulus"),m=M(S,"exponent"),x={type:"rsa",parts:[{name:"e",data:m},{name:"n",data:c}]};return new u(x)}function j(S){var c=M(S,"version");n.strictEqual(c[0],0);var m=M(S,"modulus"),x=M(S,"public exponent"),T=M(S,"private exponent"),b=M(S,"prime1"),d=M(S,"prime2"),k=M(S,"exponent1"),D=M(S,"exponent2"),O=M(S,"iqmp"),Q={type:"rsa",parts:[{name:"n",data:m},{name:"e",data:x},{name:"d",data:T},{name:"iqmp",data:O},{name:"p",data:b},{name:"q",data:d},{name:"dmodp",data:k},{name:"dmodq",data:D}]};return new h(Q)}function B(S){var c=M(S,"version");n.strictEqual(c.readUInt8(0),0);var m=M(S,"p"),x=M(S,"q"),T=M(S,"g"),b=M(S,"y"),d=M(S,"x"),k={type:"dsa",parts:[{name:"p",data:m},{name:"q",data:x},{name:"g",data:T},{name:"y",data:b},{name:"x",data:d}]};return new h(k)}function F(S){var c=M(S,"version");n.strictEqual(c.readUInt8(0),1);var m=S.readString(e.Ber.OctetString,!0);S.readSequence(160);var x=S.readOID();n.strictEqual(x,"1.3.101.112","the ed25519 curve identifier"),S.readSequence(161);var T=t.readBitString(S),b={type:"ed25519",parts:[{name:"A",data:t.zeroPadToLength(T,32)},{name:"k",data:m}]};return new h(b)}function N(S){var c=M(S,"y"),m=M(S,"p"),x=M(S,"q"),T=M(S,"g"),b={type:"dsa",parts:[{name:"y",data:c},{name:"p",data:m},{name:"q",data:x},{name:"g",data:T}]};return new u(b)}function ee(S){S.readSequence();var c=S.readOID();n.strictEqual(c,"1.2.840.10045.2.1","must be ecPublicKey");for(var m=S.readOID(),x,T=Object.keys(l.curves),b=0;b<T.length;++b){var d=T[b],k=l.curves[d];if(k.pkcs8oid===m){x=d;break}}n.string(x,"a known ECDSA named curve");var D=S.readString(e.Ber.BitString,!0);D=t.ecNormalize(D);var O={type:"ecdsa",parts:[{name:"curve",data:o.from(x)},{name:"Q",data:D}]};return new u(O)}function Z(S){var c=M(S,"version");n.strictEqual(c.readUInt8(0),1);var m=S.readString(e.Ber.OctetString,!0);S.readSequence(160);var x=A(S);n.string(x,"a known elliptic curve"),S.readSequence(161);var T=S.readString(e.Ber.BitString,!0);T=t.ecNormalize(T);var b={type:"ecdsa",parts:[{name:"curve",data:o.from(x)},{name:"Q",data:T},{name:"d",data:m}]};return new h(b)}function re(S,c){switch(S.startSequence(),c.type){case"rsa":h.isPrivateKey(c)?V(S,c):fe(S,c);break;case"dsa":h.isPrivateKey(c)?le(S,c):he(S,c);break;case"ecdsa":h.isPrivateKey(c)?L(S,c):ye(S,c);break;case"ed25519":h.isPrivateKey(c)?p(S,c):y();break;default:throw new Error("Unknown key algo: "+c.type)}S.endSequence()}function fe(S,c){S.writeBuffer(c.part.n.data,e.Ber.Integer),S.writeBuffer(c.part.e.data,e.Ber.Integer)}function V(S,c){var m=o.from([0]);S.writeBuffer(m,e.Ber.Integer),S.writeBuffer(c.part.n.data,e.Ber.Integer),S.writeBuffer(c.part.e.data,e.Ber.Integer),S.writeBuffer(c.part.d.data,e.Ber.Integer),S.writeBuffer(c.part.p.data,e.Ber.Integer),S.writeBuffer(c.part.q.data,e.Ber.Integer),(!c.part.dmodp||!c.part.dmodq)&&t.addRSAMissing(c),S.writeBuffer(c.part.dmodp.data,e.Ber.Integer),S.writeBuffer(c.part.dmodq.data,e.Ber.Integer),S.writeBuffer(c.part.iqmp.data,e.Ber.Integer)}function le(S,c){var m=o.from([0]);S.writeBuffer(m,e.Ber.Integer),S.writeBuffer(c.part.p.data,e.Ber.Integer),S.writeBuffer(c.part.q.data,e.Ber.Integer),S.writeBuffer(c.part.g.data,e.Ber.Integer),S.writeBuffer(c.part.y.data,e.Ber.Integer),S.writeBuffer(c.part.x.data,e.Ber.Integer)}function he(S,c){S.writeBuffer(c.part.y.data,e.Ber.Integer),S.writeBuffer(c.part.p.data,e.Ber.Integer),S.writeBuffer(c.part.q.data,e.Ber.Integer),S.writeBuffer(c.part.g.data,e.Ber.Integer)}function ye(S,c){S.startSequence(),S.writeOID("1.2.840.10045.2.1");var m=c.part.curve.data.toString(),x=l.curves[m].pkcs8oid;n.string(x,"a known ECDSA named curve"),S.writeOID(x),S.endSequence();var T=t.ecNormalize(c.part.Q.data,!0);S.writeBuffer(T,e.Ber.BitString)}function L(S,c){var m=o.from([1]);S.writeBuffer(m,e.Ber.Integer),S.writeBuffer(c.part.d.data,e.Ber.OctetString),S.startSequence(160);var x=c.part.curve.data.toString(),T=l.curves[x].pkcs8oid;n.string(T,"a known ECDSA named curve"),S.writeOID(T),S.endSequence(),S.startSequence(161);var b=t.ecNormalize(c.part.Q.data,!0);S.writeBuffer(b,e.Ber.BitString),S.endSequence()}function p(S,c){var m=o.from([1]);S.writeBuffer(m,e.Ber.Integer),S.writeBuffer(c.part.k.data,e.Ber.OctetString),S.startSequence(160),S.writeOID("1.3.101.112"),S.endSequence(),S.startSequence(161),t.writeBitString(S,c.part.A.data),S.endSequence()}function y(S,c){throw new Error("Public keys are not supported for EdDSA PKCS#1")}return pkcs1}var rfc4253,hasRequiredRfc4253;function requireRfc4253(){if(hasRequiredRfc4253)return rfc4253;hasRequiredRfc4253=1,rfc4253={read:A.bind(void 0,!1,void 0),readType:A.bind(void 0,!1),write:E,readPartial:A.bind(void 0,!0),readInternal:A,keyTypeToAlg:w,algToKeyType:v};var n=requireAssert(),e=requireSafer().Buffer,o=requireAlgs(),l=requireUtils$2(),t=requireKey(),u=requirePrivateKey(),h=requireSshBuffer();function v(C){if(n.string(C),C==="ssh-dss")return"dsa";if(C==="ssh-rsa")return"rsa";if(C==="ssh-ed25519")return"ed25519";if(C==="ssh-curve25519")return"curve25519";if(C.match(/^ecdsa-sha2-/))return"ecdsa";throw new Error("Unknown algorithm "+C)}function w(C){if(n.object(C),C.type==="dsa")return"ssh-dss";if(C.type==="rsa")return"ssh-rsa";if(C.type==="ed25519")return"ssh-ed25519";if(C.type==="curve25519")return"ssh-curve25519";if(C.type==="ecdsa")return"ecdsa-sha2-"+C.part.curve.data.toString();throw new Error("Unknown key type "+C.type)}function A(C,M,P,I){typeof P=="string"&&(P=e.from(P)),n.buffer(P,"buf");var j={},B=j.parts=[],F=new h({buffer:P}),N=F.readString();n.ok(!F.atEnd(),"key must have at least one part"),j.type=v(N);var ee=o.info[j.type].parts.length;for(M&&M==="private"&&(ee=o.privInfo[j.type].parts.length);!F.atEnd()&&B.length<ee;)B.push(F.readPart());for(;!C&&!F.atEnd();)B.push(F.readPart());n.ok(B.length>=1,"key must have at least one part"),n.ok(C||F.atEnd(),"leftover bytes at end of key");var Z=t,re=o.info[j.type];if((M==="private"||re.parts.length!==B.length)&&(re=o.privInfo[j.type],Z=u),n.strictEqual(re.parts.length,B.length),j.type==="ecdsa"){var fe=/^ecdsa-sha2-(.+)$/.exec(N);n.ok(fe!==null),n.strictEqual(fe[1],B[0].data.toString())}for(var V=!0,le=0;le<re.parts.length;++le){var he=B[le];if(he.name=re.parts[le],j.type==="ed25519"&&he.name==="k"&&(he.data=he.data.slice(0,32)),he.name!=="curve"&&re.normalize!==!1){var ye;j.type==="ed25519"?ye=l.zeroPadToLength(he.data,32):ye=l.mpNormalize(he.data),ye.toString("binary")!==he.data.toString("binary")&&(he.data=ye,V=!1)}}return V&&(j._rfc4253Cache=F.toBuffer()),C&&typeof C=="object"&&(C.remainder=F.remainder(),C.consumed=F._offset),new Z(j)}function E(C,M){n.object(C);var P=w(C),I,j=o.info[C.type];u.isPrivateKey(C)&&(j=o.privInfo[C.type]);var B=j.parts,F=new h({});for(F.writeString(P),I=0;I<B.length;++I){var N=C.part[B[I]].data;j.normalize!==!1&&(C.type==="ed25519"?N=l.zeroPadToLength(N,32):N=l.mpNormalize(N)),C.type==="ed25519"&&B[I]==="k"&&(N=e.concat([N,C.part.A.data])),F.writeBuffer(N)}return F.toBuffer()}return rfc4253}var bcryptPbkdf,hasRequiredBcryptPbkdf;function requireBcryptPbkdf(){if(hasRequiredBcryptPbkdf)return bcryptPbkdf;hasRequiredBcryptPbkdf=1;var n=requireNaclFast().lowlevel.crypto_hash,e=0,o=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])],this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};function l(A,E,C){return(A[0][E[C+3]]+A[1][E[C+2]]^A[2][E[C+1]])+A[3][E[C]]}o.prototype.encipher=function(A,E){E===void 0&&(E=new Uint8Array(A.buffer),A.byteOffset!==0&&(E=E.subarray(A.byteOffset))),A[0]^=this.P[0];for(var C=1;C<16;C+=2)A[1]^=l(this.S,E,0)^this.P[C],A[0]^=l(this.S,E,4)^this.P[C+1];var M=A[0];A[0]=A[1]^this.P[17],A[1]=M},o.prototype.decipher=function(A){var E=new Uint8Array(A.buffer);A.byteOffset!==0&&(E=E.subarray(A.byteOffset)),A[0]^=this.P[17];for(var C=16;C>0;C-=2)A[1]^=l(this.S,E,0)^this.P[C],A[0]^=l(this.S,E,4)^this.P[C-1];var M=A[0];A[0]=A[1]^this.P[0],A[1]=M};function t(A,E){var C,M=0;for(C=0;C<4;C++,e++)e>=E&&(e=0),M=M<<8|A[e];return M}o.prototype.expand0state=function(A,E){var C=new Uint32Array(2),M,P,I=new Uint8Array(C.buffer);for(M=0,e=0;M<18;M++)this.P[M]^=t(A,E);for(e=0,M=0;M<18;M+=2)this.encipher(C,I),this.P[M]=C[0],this.P[M+1]=C[1];for(M=0;M<4;M++)for(P=0;P<256;P+=2)this.encipher(C,I),this.S[M][P]=C[0],this.S[M][P+1]=C[1]},o.prototype.expandstate=function(A,E,C,M){var P=new Uint32Array(2),I,j;for(I=0,e=0;I<18;I++)this.P[I]^=t(C,M);for(I=0,e=0;I<18;I+=2)P[0]^=t(A,E),P[1]^=t(A,E),this.encipher(P),this.P[I]=P[0],this.P[I+1]=P[1];for(I=0;I<4;I++)for(j=0;j<256;j+=2)P[0]^=t(A,E),P[1]^=t(A,E),this.encipher(P),this.S[I][j]=P[0],this.S[I][j+1]=P[1];e=0},o.prototype.enc=function(A,E){for(var C=0;C<E;C++)this.encipher(A.subarray(C*2))},o.prototype.dec=function(A,E){for(var C=0;C<E;C++)this.decipher(A.subarray(C*2))};var u=8,h=32;function v(A,E,C){var M=new o,P=new Uint32Array(u),I,j=new Uint8Array([79,120,121,99,104,114,111,109,97,116,105,99,66,108,111,119,102,105,115,104,83,119,97,116,68,121,110,97,109,105,116,101]);for(M.expandstate(E,64,A,64),I=0;I<64;I++)M.expand0state(E,64),M.expand0state(A,64);for(I=0;I<u;I++)P[I]=t(j,j.byteLength);for(I=0;I<64;I++)M.enc(P,P.byteLength/8);for(I=0;I<u;I++)C[4*I+3]=P[I]>>>24,C[4*I+2]=P[I]>>>16,C[4*I+1]=P[I]>>>8,C[4*I+0]=P[I]}function w(A,E,C,M,P,I,j){var B=new Uint8Array(64),F=new Uint8Array(64),N=new Uint8Array(h),ee=new Uint8Array(h),Z=new Uint8Array(M+4),re,fe,V,le,he,ye,L=I;if(j<1||E===0||M===0||I===0||I>N.byteLength*N.byteLength||M>1<<20)return-1;for(le=Math.floor((I+N.byteLength-1)/N.byteLength),V=Math.floor((I+le-1)/le),re=0;re<M;re++)Z[re]=C[re];for(n(B,A,E),ye=1;I>0;ye++){for(Z[M+0]=ye>>>24,Z[M+1]=ye>>>16,Z[M+2]=ye>>>8,Z[M+3]=ye,n(F,Z,M+4),v(B,F,ee),re=N.byteLength;re--;)N[re]=ee[re];for(re=1;re<j;re++)for(n(F,ee,ee.byteLength),v(B,F,ee),fe=0;fe<N.byteLength;fe++)N[fe]^=ee[fe];for(V=Math.min(V,I),re=0;re<V&&(he=re*le+(ye-1),!(he>=L));re++)P[he]=N[re];I-=re}return 0}return bcryptPbkdf={BLOCKS:u,HASHSIZE:h,hash:v,pbkdf:w},bcryptPbkdf}var sshPrivate,hasRequiredSshPrivate;function requireSshPrivate(){if(hasRequiredSshPrivate)return sshPrivate;hasRequiredSshPrivate=1,sshPrivate={read:E,readSSHPrivate:M,write:P};var n=requireAssert();requireLib$4();var e=requireSafer().Buffer;requireAlgs();var o=requireUtils$2(),l=requireCryptoBrowserify();requireKey();var t=requirePrivateKey(),u=requirePem(),h=requireRfc4253(),v=requireSshBuffer(),w=requireErrors$1(),A;function E(I,j){return u.read(I,j)}var C="openssh-key-v1";function M(I,j,B){j=new v({buffer:j});var F=j.readCString();n.strictEqual(F,C,"bad magic string");var N=j.readString(),ee=j.readString(),Z=j.readBuffer(),re=j.readInt();if(re!==1)throw new Error("OpenSSH-format key file contains multiple keys: this is unsupported.");var fe=j.readBuffer();if(I==="public")return n.ok(j.atEnd(),"excess bytes left after key"),h.read(fe);var V=j.readBuffer();n.ok(j.atEnd(),"excess bytes left after key");var le=new v({buffer:Z});switch(ee){case"none":if(N!=="none")throw new Error('OpenSSH-format key uses KDF "none" but specifies a cipher other than "none"');break;case"bcrypt":var he=le.readBuffer(),ye=le.readInt(),L=o.opensshCipherInfo(N);if(A===void 0&&(A=requireBcryptPbkdf()),typeof B.passphrase=="string"&&(B.passphrase=e.from(B.passphrase,"utf-8")),!e.isBuffer(B.passphrase))throw new w.KeyEncryptedError(B.filename,"OpenSSH");var p=new Uint8Array(B.passphrase),y=new Uint8Array(he),S=new Uint8Array(L.keySize+L.blockSize),c=A.pbkdf(p,p.length,y,y.length,S,S.length,ye);if(c!==0)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");S=e.from(S);var m=S.slice(0,L.keySize),x=S.slice(L.keySize,L.keySize+L.blockSize),T=l.createDecipheriv(L.opensslName,m,x);T.setAutoPadding(!1);var b,d=[];for(T.once("error",function(X){throw X.toString().indexOf("bad decrypt")!==-1?new Error("Incorrect passphrase supplied, could not decrypt key"):X}),T.write(V),T.end();(b=T.read())!==null;)d.push(b);V=e.concat(d);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+ee+'"')}j=new v({buffer:V});var k=j.readInt(),D=j.readInt();if(k!==D)throw new Error("Incorrect passphrase supplied, could not decrypt key");var O={},Q=h.readInternal(O,"private",j.remainder());j.skip(O.consumed);var J=j.readString();return Q.comment=J,Q}function P(I,j){var B;t.isPrivateKey(I)?B=I.toPublic():B=I;var F="none",N="none",ee=e.alloc(0),Z={blockSize:8},re;j!==void 0&&(re=j.passphrase,typeof re=="string"&&(re=e.from(re,"utf-8")),re!==void 0&&(n.buffer(re,"options.passphrase"),n.optionalString(j.cipher,"options.cipher"),F=j.cipher,F===void 0&&(F="aes128-ctr"),Z=o.opensshCipherInfo(F),N="bcrypt"));var fe;if(t.isPrivateKey(I)){fe=new v({});var V=l.randomBytes(4).readUInt32BE(0);fe.writeInt(V),fe.writeInt(V),fe.write(I.toBuffer("rfc4253")),fe.writeString(I.comment||"");for(var le=1;fe._offset%Z.blockSize!==0;)fe.writeChar(le++);fe=fe.toBuffer()}switch(N){case"none":break;case"bcrypt":var he=l.randomBytes(16),ye=16,L=new v({});L.writeBuffer(he),L.writeInt(ye),ee=L.toBuffer(),A===void 0&&(A=requireBcryptPbkdf());var p=new Uint8Array(re),y=new Uint8Array(he),S=new Uint8Array(Z.keySize+Z.blockSize),c=A.pbkdf(p,p.length,y,y.length,S,S.length,ye);if(c!==0)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");S=e.from(S);var m=S.slice(0,Z.keySize),x=S.slice(Z.keySize,Z.keySize+Z.blockSize),T=l.createCipheriv(Z.opensslName,m,x);T.setAutoPadding(!1);var b,d=[];for(T.once("error",function(z){throw z}),T.write(fe),T.end();(b=T.read())!==null;)d.push(b);fe=e.concat(d);break;default:throw new Error("Unsupported kdf "+N)}var k=new v({});k.writeCString(C),k.writeString(F),k.writeString(N),k.writeBuffer(ee),k.writeInt(1),k.writeBuffer(B.toBuffer("rfc4253")),fe&&k.writeBuffer(fe),k=k.toBuffer();var D;t.isPrivateKey(I)?D="OPENSSH PRIVATE KEY":D="OPENSSH PUBLIC KEY";var O=k.toString("base64"),Q=O.length+O.length/70+18+16+D.length*2+10;k=e.alloc(Q);var J=0;J+=k.write("-----BEGIN "+D+`-----
+`,J);for(var X=0;X<O.length;){var U=X+70;U>O.length&&(U=O.length),J+=k.write(O.slice(X,U),J),k[J++]=10,X=U}return J+=k.write("-----END "+D+`-----
+`,J),k.slice(0,J)}return sshPrivate}var pem,hasRequiredPem;function requirePem(){if(hasRequiredPem)return pem;hasRequiredPem=1,pem={read:B,write:F};var n=requireAssert(),e=requireLib$4(),o=requireCryptoBrowserify(),l=requireSafer().Buffer;requireAlgs();var t=requireUtils$2(),u=requireKey(),h=requirePrivateKey(),v=requirePkcs1(),w=requirePkcs8(),A=requireSshPrivate(),E=requireRfc4253(),C=requireErrors$1(),M="1.2.840.113549.1.5.13",P="1.2.840.113549.1.5.12",I={"1.2.840.113549.3.7":"3des-cbc","2.16.840.1.101.3.4.1.2":"aes128-cbc","2.16.840.1.101.3.4.1.42":"aes256-cbc"};Object.keys(I).forEach(function(N){});var j={"1.2.840.113549.2.7":"sha1","1.2.840.113549.2.9":"sha256","1.2.840.113549.2.11":"sha512"};Object.keys(j).forEach(function(N){});function B(N,ee,Z){var re=N;typeof N!="string"&&(n.buffer(N,"buf"),N=N.toString("ascii"));for(var fe=N.trim().split(/[\r\n]+/g),V,le=-1;!V&&le<fe.length;)V=fe[++le].match(/[-]+[ ]*BEGIN ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);n.ok(V,"invalid PEM header");for(var he,ye=fe.length;!he&&ye>0;)he=fe[--ye].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);n.ok(he,"invalid PEM footer"),n.equal(V[2],he[2]);var L=V[2].toLowerCase(),p;V[1]&&(n.equal(V[1],he[1],"PEM header and footer mismatch"),p=V[1].trim()),fe=fe.slice(le,ye+1);for(var y={};fe=fe.slice(1),V=fe[0].match(/^([A-Za-z0-9-]+): (.+)$/),!!V;)y[V[1].toLowerCase()]=V[2];fe=fe.slice(0,-1).join(""),N=l.from(fe,"base64");var S,c,m;if(y["proc-type"]){var x=y["proc-type"].split(",");if(x[0]==="4"&&x[1]==="ENCRYPTED")if(typeof ee.passphrase=="string"&&(ee.passphrase=l.from(ee.passphrase,"utf-8")),l.isBuffer(ee.passphrase))x=y["dek-info"].split(","),n.ok(x.length===2),S=x[0].toLowerCase(),m=l.from(x[1],"hex"),c=t.opensslKeyDeriv(S,m,ee.passphrase,1).key;else throw new C.KeyEncryptedError(ee.filename,"PEM")}if(p&&p.toLowerCase()==="encrypted"){var T=new e.BerReader(N),b;T.readSequence(),T.readSequence(),b=T.offset+T.length;var d=T.readOID();if(d!==M)throw new Error("Unsupported PEM/PKCS8 encryption scheme: "+d);T.readSequence(),T.readSequence();var k=T.offset+T.length,D=T.readOID();if(D!==P)throw new Error("Unsupported PBES2 KDF: "+D);T.readSequence();var O=T.readString(e.Ber.OctetString,!0),Q=T.readInt(),J="sha1";if(T.offset<k){T.readSequence();var X=T.readOID();if(J=j[X],J===void 0)throw new Error("Unsupported PBKDF2 hash: "+X)}T._offset=k,T.readSequence();var U=T.readOID();if(S=I[U],S===void 0)throw new Error("Unsupported PBES2 cipher: "+U);if(m=T.readString(e.Ber.OctetString,!0),T._offset=b,N=T.readString(e.Ber.OctetString,!0),typeof ee.passphrase=="string"&&(ee.passphrase=l.from(ee.passphrase,"utf-8")),!l.isBuffer(ee.passphrase))throw new C.KeyEncryptedError(ee.filename,"PEM");var z=t.opensshCipherInfo(S);S=z.opensslName,c=t.pbkdf2(J,O,Q,z.keySize,ee.passphrase),p=void 0}if(S&&c&&m){var ie=o.createDecipheriv(S,c,m),de,me=[];for(ie.once("error",function(qe){throw qe.toString().indexOf("bad decrypt")!==-1?new Error("Incorrect passphrase supplied, could not decrypt key"):qe}),ie.write(N),ie.end();(de=ie.read())!==null;)me.push(de);N=l.concat(me)}if(p&&p.toLowerCase()==="openssh")return A.readSSHPrivate(L,N,ee);if(p&&p.toLowerCase()==="ssh2")return E.readType(L,N,ee);var pe=new e.BerReader(N);return pe.originalInput=re,pe.readSequence(),p?(Z&&n.strictEqual(Z,"pkcs1"),v.readPkcs1(p,L,pe)):(Z&&n.strictEqual(Z,"pkcs8"),w.readPkcs8(p,L,pe))}function F(N,ee,Z){n.object(N);var re={ecdsa:"EC",rsa:"RSA",dsa:"DSA",ed25519:"EdDSA"}[N.type],fe,V=new e.BerWriter;if(h.isPrivateKey(N))Z&&Z==="pkcs8"?(fe="PRIVATE KEY",w.writePkcs8(V,N)):(Z&&n.strictEqual(Z,"pkcs1"),fe=re+" PRIVATE KEY",v.writePkcs1(V,N));else if(u.isKey(N))Z&&Z==="pkcs1"?(fe=re+" PUBLIC KEY",v.writePkcs1(V,N)):(Z&&n.strictEqual(Z,"pkcs8"),fe="PUBLIC KEY",w.writePkcs8(V,N));else throw new Error("key is not a Key or PrivateKey");var le=V.buffer.toString("base64"),he=le.length+le.length/64+18+16+fe.length*2+10,ye=l.alloc(he),L=0;L+=ye.write("-----BEGIN "+fe+`-----
+`,L);for(var p=0;p<le.length;){var y=p+64;y>le.length&&(y=le.length),L+=ye.write(le.slice(p,y),L),ye[L++]=10,p=y}return L+=ye.write("-----END "+fe+`-----
+`,L),ye.slice(0,L)}return pem}var ssh,hasRequiredSsh;function requireSsh(){if(hasRequiredSsh)return ssh;hasRequiredSsh=1,ssh={read:h,write:v};var n=requireAssert(),e=requireSafer().Buffer,o=requireRfc4253();requireUtils$2();var l=requireKey();requirePrivateKey(),requireSshPrivate();var t=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([ \t]+([^ \t][^\n]*[\n]*)?)?$/,u=/^([a-z0-9-]+)[ \t\n]+([a-zA-Z0-9+\/][a-zA-Z0-9+\/ \t\n=]*)([^a-zA-Z0-9+\/ \t\n=].*)?$/;function h(w,A){typeof w!="string"&&(n.buffer(w,"buf"),w=w.toString("ascii"));var E=w.trim().replace(/[\\\r]/g,""),C=E.match(t);C||(C=E.match(u)),n.ok(C,"key must match regex");var M=o.algToKeyType(C[1]),P=e.from(C[2],"base64"),I,j={};if(C[4])try{I=o.read(P)}catch{C=E.match(u),n.ok(C,"key must match regex"),P=e.from(C[2],"base64"),I=o.readInternal(j,"public",P)}else I=o.readInternal(j,"public",P);if(n.strictEqual(M,I.type),C[4]&&C[4].length>0)I.comment=C[4];else if(j.consumed){var B=C[2]+(C[3]?C[3]:""),F=Math.ceil(j.consumed/3)*4;B=B.slice(0,F-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+B.slice(F-2);var N=j.consumed%3;for(N>0&&B.slice(F-1,F)!=="="&&F--;B.slice(F,F+1)==="=";)F++;var ee=B.slice(F);ee=ee.replace(/[\r\n]/g," ").replace(/^\s+/,""),ee.match(/^[a-zA-Z0-9]/)&&(I.comment=ee)}return I}function v(w,A){if(n.object(w),!l.isKey(w))throw new Error("Must be a public key");var E=[],C=o.keyTypeToAlg(w);E.push(C);var M=o.write(w);return E.push(M.toString("base64")),w.comment&&E.push(w.comment),e.from(E.join(" "))}return ssh}var dnssec,hasRequiredDnssec;function requireDnssec(){if(hasRequiredDnssec)return dnssec;hasRequiredDnssec=1,dnssec={read:v,write:B};var n=requireAssert(),e=requireSafer().Buffer,o=requireKey(),l=requirePrivateKey(),t=requireUtils$2();requireSshBuffer(),requireDhe();var u={"rsa-sha1":5,"rsa-sha256":8,"rsa-sha512":10,"ecdsa-p256-sha256":13,"ecdsa-p384-sha384":14},h={};Object.keys(u).forEach(function(F){h[u[F]]=F.toUpperCase()});function v(F,N){typeof F!="string"&&(n.buffer(F,"buf"),F=F.toString("ascii"));var ee=F.split(`
+`);if(ee[0].match(/^Private-key-format\: v1/)){var Z=ee[1].split(" "),re=parseInt(Z[1],10),fe=Z[2];if(!h[re])throw new Error("Unsupported algorithm: "+fe);return C(re,ee.slice(2))}for(var V=0;ee[V].match(/^\;/);)V++;if((ee[V].match(/\. IN KEY /)||ee[V].match(/\. IN DNSKEY /))&&ee[V+1].length===0)return w(ee[V]);throw new Error("Cannot parse dnssec key")}function w(F){var N=F.split(" "),ee=parseInt(N[5],10);if(!h[ee])throw new Error("Unsupported algorithm: "+ee);var Z=N.slice(6,N.length).join(),re=e.from(Z,"base64");if(h[ee].match(/^RSA-/)){var fe=re.readUInt8(0);if(fe!=3&&fe!=1)throw new Error("Cannot parse dnssec key: unsupported exponent length");var V=re.slice(1,fe+1);V=t.mpNormalize(V);var le=re.slice(1+fe);le=t.mpNormalize(le);var he={type:"rsa",parts:[]};return he.parts.push({name:"e",data:V}),he.parts.push({name:"n",data:le}),new o(he)}if(h[ee]==="ECDSA-P384-SHA384"||h[ee]==="ECDSA-P256-SHA256"){var ye="nistp384",L=384;h[ee].match(/^ECDSA-P256-SHA256/)&&(ye="nistp256",L=256);var p={type:"ecdsa",curve:ye,size:L,parts:[{name:"curve",data:e.from(ye)},{name:"Q",data:t.ecNormalize(re)}]};return new o(p)}throw new Error("Unsupported algorithm: "+h[ee])}function A(F){return e.from(F.split(" ")[1],"base64")}function E(F){var N={};F.forEach(function(Z){Z.split(" ")[0]==="Modulus:"?N.n=A(Z):Z.split(" ")[0]==="PublicExponent:"?N.e=A(Z):Z.split(" ")[0]==="PrivateExponent:"?N.d=A(Z):Z.split(" ")[0]==="Prime1:"?N.p=A(Z):Z.split(" ")[0]==="Prime2:"?N.q=A(Z):Z.split(" ")[0]==="Exponent1:"?N.dmodp=A(Z):Z.split(" ")[0]==="Exponent2:"?N.dmodq=A(Z):Z.split(" ")[0]==="Coefficient:"&&(N.iqmp=A(Z))});var ee={type:"rsa",parts:[{name:"e",data:t.mpNormalize(N.e)},{name:"n",data:t.mpNormalize(N.n)},{name:"d",data:t.mpNormalize(N.d)},{name:"p",data:t.mpNormalize(N.p)},{name:"q",data:t.mpNormalize(N.q)},{name:"dmodp",data:t.mpNormalize(N.dmodp)},{name:"dmodq",data:t.mpNormalize(N.dmodq)},{name:"iqmp",data:t.mpNormalize(N.iqmp)}]};return new l(ee)}function C(F,N){if(h[F].match(/^RSA-/))return E(N);if(h[F]==="ECDSA-P384-SHA384"||h[F]==="ECDSA-P256-SHA256"){var ee=e.from(N[0].split(" ")[1],"base64"),Z="nistp384",re=384;h[F]==="ECDSA-P256-SHA256"&&(Z="nistp256",re=256);var fe=t.publicFromPrivateECDSA(Z,ee),V=fe.part.Q.data,le={type:"ecdsa",curve:Z,size:re,parts:[{name:"curve",data:e.from(Z)},{name:"d",data:ee},{name:"Q",data:V}]};return new l(le)}throw new Error("Unsupported algorithm: "+h[F])}function M(F){var N=F.getFullYear()+"",ee=F.getMonth()+1,Z=N+ee+F.getUTCDate();return Z+=""+F.getUTCHours()+F.getUTCMinutes(),Z+=F.getUTCSeconds(),Z}function P(F){if(!F||!F.hashAlgo||F.hashAlgo==="sha1")return"5 (RSASHA1)";if(F.hashAlgo==="sha256")return"8 (RSASHA256)";if(F.hashAlgo==="sha512")return"10 (RSASHA512)";throw new Error("Unknown or unsupported hash: "+F.hashAlgo)}function I(F,N){(!F.part.dmodp||!F.part.dmodq)&&t.addRSAMissing(F);var ee="";ee+=`Private-key-format: v1.3
+`,ee+="Algorithm: "+P(N)+`
+`;var Z=t.mpDenormalize(F.part.n.data);ee+="Modulus: "+Z.toString("base64")+`
+`;var re=t.mpDenormalize(F.part.e.data);ee+="PublicExponent: "+re.toString("base64")+`
+`;var fe=t.mpDenormalize(F.part.d.data);ee+="PrivateExponent: "+fe.toString("base64")+`
+`;var V=t.mpDenormalize(F.part.p.data);ee+="Prime1: "+V.toString("base64")+`
+`;var le=t.mpDenormalize(F.part.q.data);ee+="Prime2: "+le.toString("base64")+`
+`;var he=t.mpDenormalize(F.part.dmodp.data);ee+="Exponent1: "+he.toString("base64")+`
+`;var ye=t.mpDenormalize(F.part.dmodq.data);ee+="Exponent2: "+ye.toString("base64")+`
+`;var L=t.mpDenormalize(F.part.iqmp.data);ee+="Coefficient: "+L.toString("base64")+`
+`;var p=new Date;return ee+="Created: "+M(p)+`
+`,ee+="Publish: "+M(p)+`
+`,ee+="Activate: "+M(p)+`
+`,e.from(ee,"ascii")}function j(F,N){var ee="";if(ee+=`Private-key-format: v1.3
+`,F.curve==="nistp256")ee+=`Algorithm: 13 (ECDSAP256SHA256)
+`;else if(F.curve==="nistp384")ee+=`Algorithm: 14 (ECDSAP384SHA384)
+`;else throw new Error("Unsupported curve");var Z=F.part.d.data.toString("base64");ee+="PrivateKey: "+Z+`
+`;var re=new Date;return ee+="Created: "+M(re)+`
+`,ee+="Publish: "+M(re)+`
+`,ee+="Activate: "+M(re)+`
+`,e.from(ee,"ascii")}function B(F,N){if(l.isPrivateKey(F)){if(F.type==="rsa")return I(F,N);if(F.type==="ecdsa")return j(F);throw new Error("Unsupported algorithm: "+F.type)}else throw o.isKey(F)?new Error('Format "dnssec" only supports writing private keys'):new Error("key is not a Key or PrivateKey")}return dnssec}var putty,hasRequiredPutty;function requirePutty(){if(hasRequiredPutty)return putty;hasRequiredPutty=1,putty={read:w,write:C};var n=requireAssert(),e=requireSafer().Buffer,o=requireRfc4253(),l=requireKey(),t=requireSshBuffer(),u=requireCryptoBrowserify(),h=requirePrivateKey(),v=requireErrors$1();function w(P,I){for(var j=P.toString("ascii").split(/[\r\n]+/),B=!1,F,N=0,ee;N<j.length;)if(F=E(j[N++]),F&&(ee={"putty-user-key-file-2":2,"putty-user-key-file-3":3}[F[0].toLowerCase()],ee)){B=!0;break}if(!B)throw new Error("No PuTTY format first line found");var Z=F[1];F=E(j[N++]),n.equal(F[0].toLowerCase(),"encryption");var re=F[1];F=E(j[N++]),n.equal(F[0].toLowerCase(),"comment");var fe=F[1];F=E(j[N++]),n.equal(F[0].toLowerCase(),"public-lines");var V=parseInt(F[1],10);if(!isFinite(V)||V<0||V>j.length)throw new Error("Invalid public-lines count");var le=e.from(j.slice(N,N+V).join(""),"base64"),he=o.algToKeyType(Z),ye=o.read(le);if(ye.type!==he)throw new Error("Outer key algorithm mismatch");if(N+=V,j[N]){F=E(j[N++]),n.equal(F[0].toLowerCase(),"private-lines");var L=parseInt(F[1],10);if(!isFinite(L)||L<0||L>j.length)throw new Error("Invalid private-lines count");var p=e.from(j.slice(N,N+L).join(""),"base64");if(re!=="none"&&ee===3)throw new Error("Encrypted keys arenot supported for PuTTY format version 3");if(re==="aes256-cbc"){if(!I.passphrase)throw new v.KeyEncryptedError(I.filename,"PEM");var y=e.alloc(16,0),S=u.createDecipheriv("aes-256-cbc",A(I.passphrase),y);S.setAutoPadding(!1),p=e.concat([S.update(p),S.final()])}if(ye=new h(ye),ye.type!==he)throw new Error("Outer key algorithm mismatch");var c=new t({buffer:p}),m;if(Z==="ssh-dss")m=[{name:"x",data:c.readBuffer()}];else if(Z==="ssh-rsa")m=[{name:"d",data:c.readBuffer()},{name:"p",data:c.readBuffer()},{name:"q",data:c.readBuffer()},{name:"iqmp",data:c.readBuffer()}];else if(Z.match(/^ecdsa-sha2-nistp/))m=[{name:"d",data:c.readBuffer()}];else if(Z==="ssh-ed25519")m=[{name:"k",data:c.readBuffer()}];else throw new Error("Unsupported PPK key type: "+Z);ye=new h({type:ye.type,parts:ye.parts.concat(m)})}return ye.comment=fe,ye}function A(P){var I=u.createHash("sha1").update(e.concat([e.from([0,0,0,0]),e.from(P)])).digest(),j=u.createHash("sha1").update(e.concat([e.from([0,0,0,1]),e.from(P)])).digest();return e.concat([I,j]).slice(0,32)}function E(P){var I=P.indexOf(":");if(I===-1)return null;var j=P.slice(0,I);for(++I;P[I]===" ";)++I;var B=P.slice(I);return[j,B]}function C(P,I){if(n.object(P),!l.isKey(P))throw new Error("Must be a public key");var j=o.keyTypeToAlg(P),B=o.write(P),F=P.comment||"",N=B.toString("base64"),ee=M(N);return ee.unshift("Public-Lines: "+ee.length),ee.unshift("Comment: "+F),ee.unshift("Encryption: none"),ee.unshift("PuTTY-User-Key-File-2: "+j),e.from(ee.join(`
 `)+`
-`)}function D(P,R){for(var B=[],F=0;F<P.length;)B.push(P.slice(F,F+64)),F+=64;return B}return putty}var auto,hasRequiredAuto;function requireAuto(){if(hasRequiredAuto)return auto;hasRequiredAuto=1,auto={read:E,write:P};var t=requireAssert(),e=requireSafer().Buffer;requireUtils$2(),requireKey(),requirePrivateKey();var n=requirePem(),o=requireSsh(),u=requireRfc4253(),l=requireDnssec(),m=requirePutty(),y="Private-key-format: v1";function E(R,B){if(typeof R=="string"){if(R.trim().match(/^[-]+[ ]*BEGIN/))return n.read(R,B);if(R.match(/^\s*ssh-[a-z]/)||R.match(/^\s*ecdsa-/))return o.read(R,B);if(R.match(/^putty-user-key-file-2:/i))return m.read(R,B);if(D(R))return l.read(R,B);R=e.from(R,"binary")}else{if(t.buffer(R),A(R))return n.read(R,B);if(k(R))return o.read(R,B);if(C(R))return m.read(R,B);if(D(R))return l.read(R,B)}if(R.readUInt32BE(0)<R.length)return u.read(R,B);throw new Error("Failed to auto-detect format of key")}function C(R){for(var B=0;B<R.length&&(R[B]===32||R[B]===10||R[B]===9);)++B;return B+22<=R.length&&R.slice(B,B+22).toString("ascii").toLowerCase()==="putty-user-key-file-2:"}function k(R){for(var B=0;B<R.length&&(R[B]===32||R[B]===10||R[B]===9);)++B;return B+4<=R.length&&R.slice(B,B+4).toString("ascii")==="ssh-"||B+6<=R.length&&R.slice(B,B+6).toString("ascii")==="ecdsa-"}function A(R){for(var B=0;B<R.length&&(R[B]===32||R[B]===10);)++B;if(R[B]!==45)return!1;for(;B<R.length&&R[B]===45;)++B;for(;B<R.length&&R[B]===32;)++B;return!(B+5>R.length||R.slice(B,B+5).toString("ascii")!=="BEGIN")}function D(R){if(R.length<=y.length)return!1;var B=R.slice(0,y.length);if(B.toString("ascii")===y)return!0;typeof R!="string"&&(R=R.toString("ascii"));for(var F=R.split(`
-`),O=0;F[O].match(/^\;/);)O++;return!!(F[O].toString("ascii").match(/\. IN KEY /)||F[O].toString("ascii").match(/\. IN DNSKEY /))}function P(R,B){throw new Error('"auto" format cannot be used for writing')}return auto}var privateKey,hasRequiredPrivateKey;function requirePrivateKey(){if(hasRequiredPrivateKey)return privateKey;hasRequiredPrivateKey=1,privateKey=F;var t=requireAssert(),e=requireSafer().Buffer,n=requireAlgs(),o=requireCryptoBrowserify();requireFingerprint();var u=requireSignature(),l=requireErrors$1(),m=util$6,y=requireUtils$2(),E=requireDhe(),C=E.generateECDSA,k=E.generateED25519,A=requireEdCompat(),D=requireNaclFast(),P=requireKey();l.InvalidAlgorithmError;var R=l.KeyParseError;l.KeyEncryptedError;var B={};B.auto=requireAuto(),B.pem=requirePem(),B.pkcs1=requirePkcs1(),B.pkcs8=requirePkcs8(),B.rfc4253=requireRfc4253(),B["ssh-private"]=requireSshPrivate(),B.openssh=B["ssh-private"],B.ssh=B["ssh-private"],B.dnssec=requireDnssec(),B.putty=requirePutty();function F(O){t.object(O,"options"),P.call(this,O),this._pubCache=void 0}return m.inherits(F,P),F.formats=B,F.prototype.toBuffer=function(O,N){return O===void 0&&(O="pkcs1"),t.string(O,"format"),t.object(B[O],"formats[format]"),t.optionalObject(N,"options"),B[O].write(this,N)},F.prototype.hash=function(O,N){return this.toPublic().hash(O,N)},F.prototype.fingerprint=function(O,N){return this.toPublic().fingerprint(O,N)},F.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var O=n.info[this.type],N=[],Y=0;Y<O.parts.length;++Y){var J=O.parts[Y];N.push(this.part[J])}return this._pubCache=new P({type:this.type,source:this,parts:N}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},F.prototype.derive=function(O){t.string(O,"type");var N,Y,J;if(this.type==="ed25519"&&O==="curve25519")return N=this.part.k.data,N[0]===0&&(N=N.slice(1)),J=D.box.keyPair.fromSecretKey(new Uint8Array(N)),Y=e.from(J.publicKey),new F({type:"curve25519",parts:[{name:"A",data:y.mpNormalize(Y)},{name:"k",data:y.mpNormalize(N)}]});if(this.type==="curve25519"&&O==="ed25519")return N=this.part.k.data,N[0]===0&&(N=N.slice(1)),J=D.sign.keyPair.fromSeed(new Uint8Array(N)),Y=e.from(J.publicKey),new F({type:"ed25519",parts:[{name:"A",data:y.mpNormalize(Y)},{name:"k",data:y.mpNormalize(N)}]});throw new Error("Key derivation not supported from "+this.type+" to "+O)},F.prototype.createVerify=function(O){return this.toPublic().createVerify(O)},F.prototype.createSign=function(O){if(O===void 0&&(O=this.defaultHashAlgorithm()),t.string(O,"hash algorithm"),this.type==="ed25519"&&A!==void 0)return new A.Signer(this,O);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for signing or verification");var N,Y,J;try{Y=O.toUpperCase(),N=o.createSign(Y)}catch(he){J=he}(N===void 0||J instanceof Error&&J.message.match(/Unknown message digest/))&&(Y="RSA-",Y+=O.toUpperCase(),N=o.createSign(Y)),t.ok(N,"failed to create verifier");var ie=N.sign.bind(N),ue=this.toBuffer("pkcs1"),Q=this.type,ce=this.curve;return N.sign=function(){var he=ie(ue);return typeof he=="string"&&(he=e.from(he,"binary")),he=u.parse(he,Q,"asn1"),he.hashAlgorithm=O,he.curve=ce,he},N},F.parse=function(O,N,Y){typeof O!="string"&&t.buffer(O,"data"),N===void 0&&(N="auto"),t.string(N,"format"),typeof Y=="string"&&(Y={filename:Y}),t.optionalObject(Y,"options"),Y===void 0&&(Y={}),t.optionalString(Y.filename,"options.filename"),Y.filename===void 0&&(Y.filename="(unnamed)"),t.object(B[N],"formats[format]");try{var J=B[N].read(O,Y);return t.ok(J instanceof F,"key is not a private key"),J.comment||(J.comment=Y.filename),J}catch(ie){throw ie.name==="KeyEncryptedError"?ie:new R(Y.filename,N,ie)}},F.isPrivateKey=function(O,N){return y.isCompatible(O,F,N)},F.generate=function(O,N){switch(N===void 0&&(N={}),t.object(N,"options"),O){case"ecdsa":return N.curve===void 0&&(N.curve="nistp256"),t.string(N.curve,"options.curve"),C(N.curve);case"ed25519":return k();default:throw new Error('Key generation not supported with key type "'+O+'"')}},F.prototype._sshpkApiVersion=[1,6],F._oldVersionDetect=function(O){return t.func(O.toPublic),t.func(O.createSign),O.derive?[1,3]:O.defaultHashAlgorithm?[1,2]:O.formats.auto?[1,1]:[1,0]},privateKey}var identity,hasRequiredIdentity;function requireIdentity(){if(hasRequiredIdentity)return identity;hasRequiredIdentity=1,identity=y;var t=requireAssert();requireAlgs(),requireCryptoBrowserify(),requireFingerprint(),requireSignature(),requireErrors$1();var e=requireUtils$2(),n=requireLib$4(),o=requireSafer().Buffer,u=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i,l={};l.cn="2.5.4.3",l.o="2.5.4.10",l.ou="2.5.4.11",l.l="2.5.4.7",l.s="2.5.4.8",l.c="2.5.4.6",l.sn="2.5.4.4",l.postalCode="2.5.4.17",l.serialNumber="2.5.4.5",l.street="2.5.4.9",l.x500UniqueIdentifier="2.5.4.45",l.role="2.5.4.72",l.telephoneNumber="2.5.4.20",l.description="2.5.4.13",l.dc="0.9.2342.19200300.100.1.25",l.uid="0.9.2342.19200300.100.1.1",l.mail="0.9.2342.19200300.100.1.3",l.title="2.5.4.12",l.gn="2.5.4.42",l.initials="2.5.4.43",l.pseudonym="2.5.4.65",l.emailAddress="1.2.840.113549.1.9.1";var m={};Object.keys(l).forEach(function(A){m[l[A]]=A});function y(A){var D=this;if(t.object(A,"options"),t.arrayOfObject(A.components,"options.components"),this.components=A.components,this.componentLookup={},this.components.forEach(function(P){P.name&&!P.oid&&(P.oid=l[P.name]),P.oid&&!P.name&&(P.name=m[P.oid]),D.componentLookup[P.name]===void 0&&(D.componentLookup[P.name]=[]),D.componentLookup[P.name].push(P)}),this.componentLookup.cn&&this.componentLookup.cn.length>0&&(this.cn=this.componentLookup.cn[0].value),t.optionalString(A.type,"options.type"),A.type===void 0)this.components.length===1&&this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(u)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length?(this.type="host",this.hostname=this.componentLookup.dc.map(function(P){return P.value}).join(".")):this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(u)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.uid&&this.componentLookup.uid.length===1?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.mail&&this.componentLookup.mail.length===1?(this.type="email",this.email=this.componentLookup.mail[0].value):this.componentLookup.cn&&this.componentLookup.cn.length===1?(this.type="user",this.uid=this.componentLookup.cn[0].value):this.type="unknown";else if(this.type=A.type,this.type==="host")this.hostname=A.hostname;else if(this.type==="user")this.uid=A.uid;else if(this.type==="email")this.email=A.email;else throw new Error("Unknown type "+this.type)}y.prototype.toString=function(){return this.components.map(function(A){var D=A.name.toUpperCase();D=D.replace(/=/g,"\\=");var P=A.value;return P=P.replace(/,/g,"\\,"),D+"="+P}).join(", ")},y.prototype.get=function(A,D){t.string(A,"name");var P=this.componentLookup[A];if(!(P===void 0||P.length===0)){if(!D&&P.length>1)throw new Error("Multiple values for attribute "+A);return D?P.map(function(R){return R.value}):P[0].value}},y.prototype.toArray=function(A){return this.components.map(function(D){return{name:D.name,value:D.value}})};var E=/[^a-zA-Z0-9 '(),+.\/:=?-]/,C=/[^\x00-\x7f]/;y.prototype.toAsn1=function(A,D){A.startSequence(D),this.components.forEach(function(P){if(A.startSequence(n.Ber.Constructor|n.Ber.Set),A.startSequence(),A.writeOID(P.oid),P.asn1type===n.Ber.Utf8String||P.value.match(C)){var R=o.from(P.value,"utf8");A.writeBuffer(R,n.Ber.Utf8String)}else if(P.asn1type===n.Ber.IA5String||P.value.match(E))A.writeString(P.value,n.Ber.IA5String);else{var B=n.Ber.PrintableString;P.asn1type!==void 0&&(B=P.asn1type),A.writeString(P.value,B)}A.endSequence(),A.endSequence()}),A.endSequence()};function k(A,D){if(A==="**"||D==="**")return!0;var P=A.split("."),R=D.split(".");if(P.length!==R.length)return!1;for(var B=0;B<P.length;++B)if(!(P[B]==="*"||R[B]==="*")&&P[B]!==R[B])return!1;return!0}return y.prototype.equals=function(A){if(!y.isIdentity(A,[1,0])||A.components.length!==this.components.length)return!1;for(var D=0;D<this.components.length;++D)if(this.components[D].oid!==A.components[D].oid||!k(this.components[D].value,A.components[D].value))return!1;return!0},y.forHost=function(A){return t.string(A,"hostname"),new y({type:"host",hostname:A,components:[{name:"cn",value:A}]})},y.forUser=function(A){return t.string(A,"uid"),new y({type:"user",uid:A,components:[{name:"uid",value:A}]})},y.forEmail=function(A){return t.string(A,"email"),new y({type:"email",email:A,components:[{name:"mail",value:A}]})},y.parseDN=function(A){t.string(A,"dn");for(var D=[""],P=0,R=A;R.length>0;){var B;if((B=/^,/.exec(R))!==null)D[++P]="",R=R.slice(B[0].length);else if((B=/^\\,/.exec(R))!==null)D[P]+=",",R=R.slice(B[0].length);else if((B=/^\\./.exec(R))!==null)D[P]+=B[0],R=R.slice(B[0].length);else if((B=/^[^\\,]+/.exec(R))!==null)D[P]+=B[0],R=R.slice(B[0].length);else throw new Error("Failed to parse DN")}var F=D.map(function(O){O=O.trim();for(var N=O.indexOf("=");N>0&&O.charAt(N-1)==="\\";)N=O.indexOf("=",N+1);if(N===-1)throw new Error("Failed to parse DN");var Y=O.slice(0,N).toLowerCase().replace(/\\=/g,"="),J=O.slice(N+1);return{name:Y,value:J}});return new y({components:F})},y.fromArray=function(A){return t.arrayOfObject(A,"components"),A.forEach(function(D){if(t.object(D,"component"),t.string(D.name,"component.name"),!o.isBuffer(D.value)&&typeof D.value!="string")throw new Error("Invalid component value")}),new y({components:A})},y.parseAsn1=function(A,D){var P=[];A.readSequence(D);for(var R=A.offset+A.length;A.offset<R;){A.readSequence(n.Ber.Constructor|n.Ber.Set);var B=A.offset+A.length;A.readSequence();var F=A.readOID(),O=A.peek(),N;switch(O){case n.Ber.PrintableString:case n.Ber.IA5String:case n.Ber.OctetString:case n.Ber.T61String:N=A.readString(O);break;case n.Ber.Utf8String:N=A.readString(O,!0),N=N.toString("utf8");break;case n.Ber.CharacterString:case n.Ber.BMPString:N=A.readString(O,!0),N=N.toString("utf16le");break;default:throw new Error("Unknown asn1 type "+O)}P.push({oid:F,asn1type:O,value:N}),A._offset=B}return A._offset=R,new y({components:P})},y.isIdentity=function(A,D){return e.isCompatible(A,y,D)},y.prototype._sshpkApiVersion=[1,0],y._oldVersionDetect=function(A){return[1,0]},identity}var opensshCert,hasRequiredOpensshCert;function requireOpensshCert(){if(hasRequiredOpensshCert)return opensshCert;hasRequiredOpensshCert=1,opensshCert={read:R,verify:A,sign:N,signAsync:Y,write:J,fromBuffer:B,toBuffer:ie};var t=requireAssert(),e=requireSshBuffer(),n=requireCryptoBrowserify(),o=requireSafer().Buffer,u=requireAlgs(),l=requireKey();requirePrivateKey();var m=requireIdentity(),y=requireRfc4253(),E=requireSignature(),C=requireUtils$2(),k=requireCertificate();function A(ce,he){return!1}var D={user:1,host:2};Object.keys(D).forEach(function(ce){D[D[ce]]=ce});var P=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function R(ce,he){o.isBuffer(ce)&&(ce=ce.toString("ascii"));var ke=ce.trim().split(/[ \t\n]+/g);if(ke.length<2||ke.length>3)throw new Error("Not a valid SSH certificate line");var L=ke[0],d=ke[1];return d=o.from(d,"base64"),B(d,L)}function B(ce,he,ke){var L=new e({buffer:ce}),d=L.readString();if(he!==void 0&&d!==he)throw new Error("SSH certificate algorithm mismatch");he===void 0&&(he=d);var v={};v.signatures={},v.signatures.openssh={},v.signatures.openssh.nonce=L.readBuffer();var w={},c=w.parts=[];w.type=ue(he);for(var p=u.info[w.type].parts.length;c.length<p;)c.push(L.readPart());t.ok(c.length>=1,"key must have at least one part");var x=u.info[w.type];if(w.type==="ecdsa"){var S=P.exec(he);t.ok(S!==null),t.strictEqual(S[1],c[0].data.toString())}for(var b=0;b<x.parts.length;++b)if(c[b].name=x.parts[b],c[b].name!=="curve"&&x.normalize!==!1){var h=c[b];h.data=C.mpNormalize(h.data)}v.subjectKey=new l(w),v.serial=L.readInt64();var T=D[L.readInt()];t.string(T,"valid cert type"),v.signatures.openssh.keyId=L.readString();for(var M=[],j=L.readBuffer(),V=new e({buffer:j});!V.atEnd();)M.push(V.readString());M.length===0&&(M=["*"]),v.subjects=M.map(function(fe){if(T==="user")return m.forUser(fe);if(T==="host")return m.forHost(fe);throw new Error("Unknown identity type "+T)}),v.validFrom=F(L.readInt64()),v.validUntil=F(L.readInt64());for(var ee=[],Z=new e({buffer:L.readBuffer()}),U;!Z.atEnd();)U={critical:!0},U.name=Z.readString(),U.data=Z.readBuffer(),ee.push(U);for(Z=new e({buffer:L.readBuffer()});!Z.atEnd();)U={critical:!1},U.name=Z.readString(),U.data=Z.readBuffer(),ee.push(U);v.signatures.openssh.exts=ee,L.readBuffer();var z=L.readBuffer();v.issuerKey=y.read(z),v.issuer=m.forHost("**");var ne=L.readBuffer();return v.signatures.openssh.signature=E.parse(ne,v.issuerKey.type,"ssh"),ke!==void 0&&(ke.remainder=L.remainder(),ke.consumed=L._offset),new k(v)}function F(ce){var he=ce.readUInt32BE(0)*4294967296;he+=ce.readUInt32BE(4);var ke=new Date;return ke.setTime(he*1e3),ke.sourceInt64=ce,ke}function O(ce){if(ce.sourceInt64!==void 0)return ce.sourceInt64;var he=Math.round(ce.getTime()/1e3),ke=Math.floor(he/4294967296),L=Math.floor(he%4294967296),d=o.alloc(8);return d.writeUInt32BE(ke,0),d.writeUInt32BE(L,4),d}function N(ce,he){ce.signatures.openssh===void 0&&(ce.signatures.openssh={});try{var ke=ie(ce,!0)}catch{return delete ce.signatures.openssh,!1}var L=ce.signatures.openssh,d=void 0;(he.type==="rsa"||he.type==="dsa")&&(d="sha1");var v=he.createSign(d);return v.write(ke),L.signature=v.sign(),!0}function Y(ce,he,ke){ce.signatures.openssh===void 0&&(ce.signatures.openssh={});try{var L=ie(ce,!0)}catch(v){delete ce.signatures.openssh,ke(v);return}var d=ce.signatures.openssh;he(L,function(v,w){if(v){ke(v);return}try{w.toBuffer("ssh")}catch(c){ke(c);return}d.signature=w,ke()})}function J(ce,he){he===void 0&&(he={});var ke=ie(ce),L=Q(ce.subjectKey)+" "+ke.toString("base64");return he.comment&&(L=L+" "+he.comment),L}function ie(ce,he){t.object(ce.signatures.openssh,"signature for openssh format");var ke=ce.signatures.openssh;ke.nonce===void 0&&(ke.nonce=n.randomBytes(16));var L=new e({});L.writeString(Q(ce.subjectKey)),L.writeBuffer(ke.nonce);var d=ce.subjectKey,v=u.info[d.type];v.parts.forEach(function(S){L.writePart(d.part[S])}),L.writeInt64(ce.serial);var w=ce.subjects[0].type;t.notStrictEqual(w,"unknown"),ce.subjects.forEach(function(S){t.strictEqual(S.type,w)}),w=D[w],L.writeInt(w),ke.keyId===void 0&&(ke.keyId=ce.subjects[0].type+"_"+(ce.subjects[0].uid||ce.subjects[0].hostname)),L.writeString(ke.keyId);var c=new e({});ce.subjects.forEach(function(S){w===D.host?c.writeString(S.hostname):w===D.user&&c.writeString(S.uid)}),L.writeBuffer(c.toBuffer()),L.writeInt64(O(ce.validFrom)),L.writeInt64(O(ce.validUntil));var p=ke.exts;p===void 0&&(p=[]);var x=new e({});return p.forEach(function(S){S.critical===!0&&(x.writeString(S.name),x.writeBuffer(S.data))}),L.writeBuffer(x.toBuffer()),x=new e({}),p.forEach(function(S){S.critical!==!0&&(x.writeString(S.name),x.writeBuffer(S.data))}),L.writeBuffer(x.toBuffer()),L.writeBuffer(o.alloc(0)),c=y.write(ce.issuerKey),L.writeBuffer(c),he||L.writeBuffer(ke.signature.toBuffer("ssh")),L.toBuffer()}function ue(ce){if(ce==="ssh-rsa-cert-v01@openssh.com")return"rsa";if(ce==="ssh-dss-cert-v01@openssh.com")return"dsa";if(ce.match(P))return"ecdsa";if(ce==="ssh-ed25519-cert-v01@openssh.com")return"ed25519";throw new Error("Unsupported cert type "+ce)}function Q(ce){if(ce.type==="rsa")return"ssh-rsa-cert-v01@openssh.com";if(ce.type==="dsa")return"ssh-dss-cert-v01@openssh.com";if(ce.type==="ecdsa")return"ecdsa-sha2-"+ce.curve+"-cert-v01@openssh.com";if(ce.type==="ed25519")return"ssh-ed25519-cert-v01@openssh.com";throw new Error("Unsupported key type "+ce.type)}return opensshCert}var x509,hasRequiredX509;function requireX509(){if(hasRequiredX509)return x509;hasRequiredX509=1,x509={read:R,verify:C,sign:v,signAsync:w,write:c};var t=requireAssert(),e=requireLib$4(),n=requireSafer().Buffer;requireAlgs();var o=requireUtils$2();requireKey(),requirePrivateKey(),requirePem();var u=requireIdentity(),l=requireSignature(),m=requireCertificate(),y=requirePkcs8();function E(b,h){return t.strictEqual(b.peek(),e.Ber.Integer,h+" is not an Integer"),o.mpNormalize(b.readString(e.Ber.Integer,!0))}function C(b,h){var T=b.signatures.x509;t.object(T,"x509 signature");var M=T.algo.split("-");if(M[0]!==h.type)return!1;var j=T.cache;if(j===void 0){var V=new e.BerWriter;p(b,V),j=V.buffer}var ee=h.createVerify(M[1]);return ee.write(j),ee.verify(T.signature)}function k(b){return e.Ber.Context|e.Ber.Constructor|b}function A(b){return e.Ber.Context|b}var D={"rsa-md5":"1.2.840.113549.1.1.4","rsa-sha1":"1.2.840.113549.1.1.5","rsa-sha256":"1.2.840.113549.1.1.11","rsa-sha384":"1.2.840.113549.1.1.12","rsa-sha512":"1.2.840.113549.1.1.13","dsa-sha1":"1.2.840.10040.4.3","dsa-sha256":"2.16.840.1.101.3.4.3.2","ecdsa-sha1":"1.2.840.10045.4.1","ecdsa-sha256":"1.2.840.10045.4.3.2","ecdsa-sha384":"1.2.840.10045.4.3.3","ecdsa-sha512":"1.2.840.10045.4.3.4","ed25519-sha512":"1.3.101.112"};Object.keys(D).forEach(function(b){D[D[b]]=b}),D["1.3.14.3.2.3"]="rsa-md5",D["1.3.14.3.2.29"]="rsa-sha1";var P={issuerKeyId:"2.5.29.35",altName:"2.5.29.17",basicConstraints:"2.5.29.19",keyUsage:"2.5.29.15",extKeyUsage:"2.5.29.37"};function R(b,h){typeof b=="string"&&(b=n.from(b,"binary")),t.buffer(b,"buf");var T=new e.BerReader(b);if(T.readSequence(),Math.abs(T.length-T.remain)>1)throw new Error("DER sequence does not contain whole byte stream");var M=T.offset;T.readSequence();var j=T.offset+T.length,V=j;if(T.peek()===k(0)){T.readSequence(k(0));var ee=T.readInt();t.ok(ee<=3,"only x.509 versions up to v3 supported")}var Z={};Z.signatures={};var U=Z.signatures.x509={};U.extras={},Z.serial=E(T,"serial"),T.readSequence();var z=T.offset+T.length,ne=T.readOID(),fe=D[ne];if(fe===void 0)throw new Error("unknown signature algorithm "+ne);if(T._offset=z,Z.issuer=u.parseAsn1(T),T.readSequence(),Z.validFrom=B(T),Z.validUntil=B(T),Z.subjects=[u.parseAsn1(T)],T.readSequence(),z=T.offset+T.length,Z.subjectKey=y.readPkcs8(void 0,"public",T),T._offset=z,T.peek()===k(1)&&(T.readSequence(k(1)),U.extras.issuerUniqueID=b.slice(T.offset,T.offset+T.length),T._offset+=T.length),T.peek()===k(2)&&(T.readSequence(k(2)),U.extras.subjectUniqueID=b.slice(T.offset,T.offset+T.length),T._offset+=T.length),T.peek()===k(3)){T.readSequence(k(3));var me=T.offset+T.length;for(T.readSequence();T.offset<me;)ie(Z,b,T);t.strictEqual(T.offset,me)}t.strictEqual(T.offset,j),T.readSequence(),z=T.offset+T.length;var de=T.readOID(),Oe=D[de];if(Oe===void 0)throw new Error("unknown signature algorithm "+de);T._offset=z;var lt=T.readString(e.Ber.BitString,!0);lt[0]===0&&(lt=lt.slice(1));var it=Oe.split("-");return U.signature=l.parse(lt,it[0],"asn1"),U.signature.hashAlgorithm=it[1],U.algo=Oe,U.cache=b.slice(M,V),new m(Z)}function B(b){if(b.peek()===e.Ber.UTCTime)return Q(b.readString(e.Ber.UTCTime));if(b.peek()===e.Ber.GeneralizedTime)return he(b.readString(e.Ber.GeneralizedTime));throw new Error("Unsupported date format")}function F(b,h){h.getUTCFullYear()>=2050||h.getUTCFullYear()<1950?b.writeString(d(h),e.Ber.GeneralizedTime):b.writeString(L(h),e.Ber.UTCTime)}var O={OtherName:k(0),RFC822Name:A(1),DNSName:A(2),X400Address:k(3),DirectoryName:k(4),EDIPartyName:k(5),URI:A(6),IPAddress:A(7),OID:A(8)},N={serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",joyentDocker:"1.3.6.1.4.1.38678.1.4.1",joyentCmon:"1.3.6.1.4.1.38678.1.4.2"},Y={};Object.keys(N).forEach(function(b){Y[N[b]]=b});var J=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function ie(b,h,T){T.readSequence();var M=T.offset+T.length,j=T.readOID(),V,ee=b.signatures.x509;ee.extras.exts||(ee.extras.exts=[]);var Z;switch(T.peek()===e.Ber.Boolean&&(Z=T.readBoolean()),j){case P.basicConstraints:T.readSequence(e.Ber.OctetString),T.readSequence();var U=T.offset+T.length,z=!1;T.peek()===e.Ber.Boolean&&(z=T.readBoolean()),b.purposes===void 0&&(b.purposes=[]),z===!0&&b.purposes.push("ca");var ne={oid:j,critical:Z};T.offset<U&&T.peek()===e.Ber.Integer&&(ne.pathLen=T.readInt()),ee.extras.exts.push(ne);break;case P.extKeyUsage:T.readSequence(e.Ber.OctetString),T.readSequence(),b.purposes===void 0&&(b.purposes=[]);for(var fe=T.offset+T.length;T.offset<fe;){var me=T.readOID();b.purposes.push(Y[me]||me)}b.purposes.indexOf("serverAuth")!==-1&&b.purposes.indexOf("clientAuth")===-1?b.subjects.forEach(function(Ct){Ct.type!=="host"&&(Ct.type="host",Ct.hostname=Ct.uid||Ct.email||Ct.components[0].value)}):b.purposes.indexOf("clientAuth")!==-1&&b.purposes.indexOf("serverAuth")===-1&&b.subjects.forEach(function(Ct){Ct.type!=="user"&&(Ct.type="user",Ct.uid=Ct.hostname||Ct.email||Ct.components[0].value)}),ee.extras.exts.push({oid:j,critical:Z});break;case P.keyUsage:T.readSequence(e.Ber.OctetString);var de=T.readString(e.Ber.BitString,!0),Oe=x(de,J);Oe.forEach(function(Ct){b.purposes===void 0&&(b.purposes=[]),b.purposes.indexOf(Ct)===-1&&b.purposes.push(Ct)}),ee.extras.exts.push({oid:j,critical:Z,bits:de});break;case P.altName:T.readSequence(e.Ber.OctetString),T.readSequence();for(var lt=T.offset+T.length;T.offset<lt;)switch(T.peek()){case O.OtherName:case O.EDIPartyName:T.readSequence(),T._offset+=T.length;break;case O.OID:T.readOID(O.OID);break;case O.RFC822Name:var it=T.readString(O.RFC822Name);V=u.forEmail(it),b.subjects[0].equals(V)||b.subjects.push(V);break;case O.DirectoryName:T.readSequence(O.DirectoryName),V=u.parseAsn1(T),b.subjects[0].equals(V)||b.subjects.push(V);break;case O.DNSName:var ot=T.readString(O.DNSName);V=u.forHost(ot),b.subjects[0].equals(V)||b.subjects.push(V);break;default:T.readString(T.peek());break}ee.extras.exts.push({oid:j,critical:Z});break;default:ee.extras.exts.push({oid:j,critical:Z,data:T.readString(e.Ber.OctetString,!0)});break}T._offset=M}var ue=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function Q(b){var h=b.match(ue);t.ok(h,"timestamps must be in UTC");var T=new Date,M=T.getUTCFullYear(),j=Math.floor(M/100)*100,V=parseInt(h[1],10);return M%100<50&&V>=60?V+=j-1:V+=j,T.setUTCFullYear(V,parseInt(h[2],10)-1,parseInt(h[3],10)),T.setUTCHours(parseInt(h[4],10),parseInt(h[5],10)),h[6]&&h[6].length>0&&T.setUTCSeconds(parseInt(h[6],10)),T}var ce=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function he(b){var h=b.match(ce);t.ok(h);var T=new Date;return T.setUTCFullYear(parseInt(h[1],10),parseInt(h[2],10)-1,parseInt(h[3],10)),T.setUTCHours(parseInt(h[4],10),parseInt(h[5],10)),h[6]&&h[6].length>0&&T.setUTCSeconds(parseInt(h[6],10)),T}function ke(b,h){h===void 0&&(h=2);for(var T=""+b;T.length<h;)T="0"+T;return T}function L(b){var h="";return h+=ke(b.getUTCFullYear()%100),h+=ke(b.getUTCMonth()+1),h+=ke(b.getUTCDate()),h+=ke(b.getUTCHours()),h+=ke(b.getUTCMinutes()),h+=ke(b.getUTCSeconds()),h+="Z",h}function d(b){var h="";return h+=ke(b.getUTCFullYear(),4),h+=ke(b.getUTCMonth()+1),h+=ke(b.getUTCDate()),h+=ke(b.getUTCHours()),h+=ke(b.getUTCMinutes()),h+=ke(b.getUTCSeconds()),h+="Z",h}function v(b,h){b.signatures.x509===void 0&&(b.signatures.x509={});var T=b.signatures.x509;if(T.algo=h.type+"-"+h.defaultHashAlgorithm(),D[T.algo]===void 0)return!1;var M=new e.BerWriter;p(b,M);var j=M.buffer;T.cache=j;var V=h.createSign();return V.write(j),b.signatures.x509.signature=V.sign(),!0}function w(b,h,T){b.signatures.x509===void 0&&(b.signatures.x509={});var M=b.signatures.x509,j=new e.BerWriter;p(b,j);var V=j.buffer;M.cache=V,h(V,function(ee,Z){if(ee){T(ee);return}if(M.algo=Z.type+"-"+Z.hashAlgorithm,D[M.algo]===void 0){T(new Error('Invalid signing algorithm "'+M.algo+'"'));return}M.signature=Z,T()})}function c(b,h){var T=b.signatures.x509;t.object(T,"x509 signature");var M=new e.BerWriter;M.startSequence(),T.cache?(M._ensure(T.cache.length),T.cache.copy(M._buf,M._offset),M._offset+=T.cache.length):p(b,M),M.startSequence(),M.writeOID(D[T.algo]),T.algo.match(/^rsa-/)&&M.writeNull(),M.endSequence();var j=T.signature.toBuffer("asn1"),V=n.alloc(j.length+1);return V[0]=0,j.copy(V,1),M.writeBuffer(V,e.Ber.BitString),M.endSequence(),M.buffer}function p(b,h){var T=b.signatures.x509;t.object(T,"x509 signature"),h.startSequence(),h.startSequence(k(0)),h.writeInt(2),h.endSequence(),h.writeBuffer(o.mpNormalize(b.serial),e.Ber.Integer),h.startSequence(),h.writeOID(D[T.algo]),T.algo.match(/^rsa-/)&&h.writeNull(),h.endSequence(),b.issuer.toAsn1(h),h.startSequence(),F(h,b.validFrom),F(h,b.validUntil),h.endSequence();var M=b.subjects[0],j=b.subjects.slice(1);if(M.toAsn1(h),y.writePkcs8(h,b.subjectKey),T.extras&&T.extras.issuerUniqueID&&h.writeBuffer(T.extras.issuerUniqueID,k(1)),T.extras&&T.extras.subjectUniqueID&&h.writeBuffer(T.extras.subjectUniqueID,k(2)),j.length>0||M.type==="host"||b.purposes!==void 0&&b.purposes.length>0||T.extras&&T.extras.exts){h.startSequence(k(3)),h.startSequence();var V=[];b.purposes!==void 0&&b.purposes.length>0&&(V.push({oid:P.basicConstraints,critical:!0}),V.push({oid:P.keyUsage,critical:!0}),V.push({oid:P.extKeyUsage,critical:!0})),V.push({oid:P.altName}),T.extras&&T.extras.exts&&(V=T.extras.exts);for(var ee=0;ee<V.length;++ee){if(h.startSequence(),h.writeOID(V[ee].oid),V[ee].critical!==void 0&&h.writeBoolean(V[ee].critical),V[ee].oid===P.altName){h.startSequence(e.Ber.OctetString),h.startSequence(),M.type==="host"&&h.writeString(M.hostname,A(2));for(var Z=0;Z<j.length;++Z)j[Z].type==="host"?h.writeString(j[Z].hostname,O.DNSName):j[Z].type==="email"?h.writeString(j[Z].email,O.RFC822Name):(h.startSequence(O.DirectoryName),j[Z].toAsn1(h),h.endSequence());h.endSequence(),h.endSequence()}else if(V[ee].oid===P.basicConstraints){h.startSequence(e.Ber.OctetString),h.startSequence();var U=b.purposes.indexOf("ca")!==-1,z=V[ee].pathLen;h.writeBoolean(U),z!==void 0&&h.writeInt(z),h.endSequence(),h.endSequence()}else if(V[ee].oid===P.extKeyUsage)h.startSequence(e.Ber.OctetString),h.startSequence(),b.purposes.forEach(function(fe){if(fe!=="ca"&&J.indexOf(fe)===-1){var me=fe;N[fe]!==void 0&&(me=N[fe]),h.writeOID(me)}}),h.endSequence(),h.endSequence();else if(V[ee].oid===P.keyUsage){if(h.startSequence(e.Ber.OctetString),V[ee].bits!==void 0)h.writeBuffer(V[ee].bits,e.Ber.BitString);else{var ne=S(b.purposes,J);h.writeBuffer(ne,e.Ber.BitString)}h.endSequence()}else h.writeBuffer(V[ee].data,e.Ber.OctetString);h.endSequence()}h.endSequence(),h.endSequence()}h.endSequence()}function x(b,h){for(var T=8*(b.length-1)-b[0],M={},j=0;j<T;++j){var V=1+Math.floor(j/8),ee=7-j%8,Z=1<<ee,U=(b[V]&Z)!==0,z=h[j];U&&typeof z=="string"&&(M[z]=!0)}return Object.keys(M)}function S(b,h){var T=h.length,M=Math.ceil(T/8),j=M*8-T,V=n.alloc(1+M);V[0]=j;for(var ee=0;ee<T;++ee){var Z=1+Math.floor(ee/8),U=7-ee%8,z=1<<U,ne=h[ee];if(ne!==void 0){var fe=b.indexOf(ne)!==-1;fe&&(V[Z]|=z)}}return V}return x509}var x509Pem,hasRequiredX509Pem;function requireX509Pem(){if(hasRequiredX509Pem)return x509Pem;hasRequiredX509Pem=1;var t=requireX509();x509Pem={read:o,verify:t.verify,sign:t.sign,write:u};var e=requireAssert();requireLib$4();var n=requireSafer().Buffer;requireAlgs(),requireUtils$2(),requireKey(),requirePrivateKey(),requirePem(),requireIdentity(),requireSignature(),requireCertificate();function o(l,m){typeof l!="string"&&(e.buffer(l,"buf"),l=l.toString("ascii"));for(var y=l.trim().split(/[\r\n]+/g),E,C=-1;!E&&C<y.length;)E=y[++C].match(/[-]+[ ]*BEGIN CERTIFICATE[ ]*[-]+/);e.ok(E,"invalid PEM header");for(var k,A=y.length;!k&&A>0;)k=y[--A].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/);e.ok(k,"invalid PEM footer"),y=y.slice(C,A+1);for(var D={};y=y.slice(1),E=y[0].match(/^([A-Za-z0-9-]+): (.+)$/),!!E;)D[E[1].toLowerCase()]=E[2];return y=y.slice(0,-1).join(""),l=n.from(y,"base64"),t.read(l,m)}function u(l,m){var y=t.write(l,m),E="CERTIFICATE",C=y.toString("base64"),k=C.length+C.length/64+18+16+E.length*2+10,A=n.alloc(k),D=0;D+=A.write("-----BEGIN "+E+`-----
-`,D);for(var P=0;P<C.length;){var R=P+64;R>C.length&&(R=C.length),D+=A.write(C.slice(P,R),D),A[D++]=10,P=R}return D+=A.write("-----END "+E+`-----
-`,D),A.slice(0,D)}return x509Pem}var certificate,hasRequiredCertificate;function requireCertificate(){if(hasRequiredCertificate)return certificate;hasRequiredCertificate=1,certificate=P;var t=requireAssert(),e=requireSafer().Buffer,n=requireAlgs(),o=requireCryptoBrowserify(),u=requireFingerprint();requireSignature();var l=requireErrors$1(),m=requireUtils$2(),y=requireKey(),E=requirePrivateKey(),C=requireIdentity(),k={};k.openssh=requireOpensshCert(),k.x509=requireX509(),k.pem=requireX509Pem();var A=l.CertificateParseError,D=l.InvalidAlgorithmError;function P(R){t.object(R,"options"),t.arrayOfObject(R.subjects,"options.subjects"),m.assertCompatible(R.subjects[0],C,[1,0],"options.subjects"),m.assertCompatible(R.subjectKey,y,[1,0],"options.subjectKey"),m.assertCompatible(R.issuer,C,[1,0],"options.issuer"),R.issuerKey!==void 0&&m.assertCompatible(R.issuerKey,y,[1,0],"options.issuerKey"),t.object(R.signatures,"options.signatures"),t.buffer(R.serial,"options.serial"),t.date(R.validFrom,"options.validFrom"),t.date(R.validUntil,"optons.validUntil"),t.optionalArrayOfString(R.purposes,"options.purposes"),this._hashCache={},this.subjects=R.subjects,this.issuer=R.issuer,this.subjectKey=R.subjectKey,this.issuerKey=R.issuerKey,this.signatures=R.signatures,this.serial=R.serial,this.validFrom=R.validFrom,this.validUntil=R.validUntil,this.purposes=R.purposes}return P.formats=k,P.prototype.toBuffer=function(R,B){return R===void 0&&(R="x509"),t.string(R,"format"),t.object(k[R],"formats[format]"),t.optionalObject(B,"options"),k[R].write(this,B)},P.prototype.toString=function(R,B){return R===void 0&&(R="pem"),this.toBuffer(R,B).toString()},P.prototype.fingerprint=function(R){R===void 0&&(R="sha256"),t.string(R,"algorithm");var B={type:"certificate",hash:this.hash(R),algorithm:R};return new u(B)},P.prototype.hash=function(R){if(t.string(R,"algorithm"),R=R.toLowerCase(),n.hashAlgs[R]===void 0)throw new D(R);if(this._hashCache[R])return this._hashCache[R];var B=o.createHash(R).update(this.toBuffer("x509")).digest();return this._hashCache[R]=B,B},P.prototype.isExpired=function(R){return R===void 0&&(R=new Date),!(R.getTime()>=this.validFrom.getTime()&&R.getTime()<this.validUntil.getTime())},P.prototype.isSignedBy=function(R){return m.assertCompatible(R,P,[1,0],"issuer"),!this.issuer.equals(R.subjects[0])||this.issuer.purposes&&this.issuer.purposes.length>0&&this.issuer.purposes.indexOf("ca")===-1?!1:this.isSignedByKey(R.subjectKey)},P.prototype.getExtension=function(R){t.string(R,"keyOrOid");var B=this.getExtensions().filter(function(F){return F.format==="x509"?F.oid===R:F.format==="openssh"?F.name===R:!1})[0];return B},P.prototype.getExtensions=function(){var R=[],B=this.signatures.x509;B&&B.extras&&B.extras.exts&&B.extras.exts.forEach(function(O){O.format="x509",R.push(O)});var F=this.signatures.openssh;return F&&F.exts&&F.exts.forEach(function(O){O.format="openssh",R.push(O)}),R},P.prototype.isSignedByKey=function(R){if(m.assertCompatible(R,y,[1,2],"issuerKey"),this.issuerKey!==void 0)return this.issuerKey.fingerprint("sha512").matches(R);var B=Object.keys(this.signatures)[0],F=k[B].verify(this,R);return F&&(this.issuerKey=R),F},P.prototype.signWith=function(R){m.assertCompatible(R,E,[1,2],"key");for(var B=Object.keys(k),F=!1,O=0;O<B.length;++O)if(B[O]!=="pem"){var N=k[B[O]].sign(this,R);N===!0&&(F=!0)}if(!F)throw new Error("Failed to sign the certificate for any available certificate formats")},P.createSelfSigned=function(R,B,F){var O;Array.isArray(R)?O=R:O=[R],t.arrayOfObject(O),O.forEach(function(ke){m.assertCompatible(ke,C,[1,0],"subject")}),m.assertCompatible(B,E,[1,2],"private key"),t.optionalObject(F,"options"),F===void 0&&(F={}),t.optionalObject(F.validFrom,"options.validFrom"),t.optionalObject(F.validUntil,"options.validUntil");var N=F.validFrom,Y=F.validUntil;if(N===void 0&&(N=new Date),Y===void 0){t.optionalNumber(F.lifetime,"options.lifetime");var J=F.lifetime;J===void 0&&(J=10*365*24*3600),Y=new Date,Y.setTime(Y.getTime()+J*1e3)}t.optionalBuffer(F.serial,"options.serial");var ie=F.serial;ie===void 0&&(ie=e.from("0000000000000001","hex"));var ue=F.purposes;if(ue===void 0&&(ue=[]),ue.indexOf("signature")===-1&&ue.push("signature"),ue.indexOf("ca")===-1&&ue.push("ca"),ue.indexOf("crl")===-1&&ue.push("crl"),ue.length<=3){var Q=O.filter(function(ke){return ke.type==="host"}),ce=O.filter(function(ke){return ke.type==="user"});Q.length>0&&ue.indexOf("serverAuth")===-1&&ue.push("serverAuth"),ce.length>0&&ue.indexOf("clientAuth")===-1&&ue.push("clientAuth"),(ce.length>0||Q.length>0)&&(ue.indexOf("keyAgreement")===-1&&ue.push("keyAgreement"),B.type==="rsa"&&ue.indexOf("encryption")===-1&&ue.push("encryption"))}var he=new P({subjects:O,issuer:O[0],subjectKey:B.toPublic(),issuerKey:B.toPublic(),signatures:{},serial:ie,validFrom:N,validUntil:Y,purposes:ue});return he.signWith(B),he},P.create=function(R,B,F,O,N){var Y;Array.isArray(R)?Y=R:Y=[R],t.arrayOfObject(Y),Y.forEach(function(d){m.assertCompatible(d,C,[1,0],"subject")}),m.assertCompatible(B,y,[1,0],"key"),E.isPrivateKey(B)&&(B=B.toPublic()),m.assertCompatible(F,C,[1,0],"issuer"),m.assertCompatible(O,E,[1,2],"issuer key"),t.optionalObject(N,"options"),N===void 0&&(N={}),t.optionalObject(N.validFrom,"options.validFrom"),t.optionalObject(N.validUntil,"options.validUntil");var J=N.validFrom,ie=N.validUntil;if(J===void 0&&(J=new Date),ie===void 0){t.optionalNumber(N.lifetime,"options.lifetime");var ue=N.lifetime;ue===void 0&&(ue=10*365*24*3600),ie=new Date,ie.setTime(ie.getTime()+ue*1e3)}t.optionalBuffer(N.serial,"options.serial");var Q=N.serial;Q===void 0&&(Q=e.from("0000000000000001","hex"));var ce=N.purposes;ce===void 0&&(ce=[]),ce.indexOf("signature")===-1&&ce.push("signature"),N.ca===!0&&(ce.indexOf("ca")===-1&&ce.push("ca"),ce.indexOf("crl")===-1&&ce.push("crl"));var he=Y.filter(function(d){return d.type==="host"}),ke=Y.filter(function(d){return d.type==="user"});he.length>0&&ce.indexOf("serverAuth")===-1&&ce.push("serverAuth"),ke.length>0&&ce.indexOf("clientAuth")===-1&&ce.push("clientAuth"),(ke.length>0||he.length>0)&&(ce.indexOf("keyAgreement")===-1&&ce.push("keyAgreement"),B.type==="rsa"&&ce.indexOf("encryption")===-1&&ce.push("encryption"));var L=new P({subjects:Y,issuer:F,subjectKey:B,issuerKey:O.toPublic(),signatures:{},serial:Q,validFrom:J,validUntil:ie,purposes:ce});return L.signWith(O),L},P.parse=function(R,B,F){typeof R!="string"&&t.buffer(R,"data"),B===void 0&&(B="auto"),t.string(B,"format"),typeof F=="string"&&(F={filename:F}),t.optionalObject(F,"options"),F===void 0&&(F={}),t.optionalString(F.filename,"options.filename"),F.filename===void 0&&(F.filename="(unnamed)"),t.object(k[B],"formats[format]");try{var O=k[B].read(R,F);return O}catch(N){throw new A(F.filename,B,N)}},P.isCertificate=function(R,B){return m.isCompatible(R,P,B)},P.prototype._sshpkApiVersion=[1,1],P._oldVersionDetect=function(R){return[1,0]},certificate}var fingerprint,hasRequiredFingerprint;function requireFingerprint(){if(hasRequiredFingerprint)return fingerprint;hasRequiredFingerprint=1,fingerprint=A;var t=requireAssert(),e=requireSafer().Buffer,n=requireAlgs(),o=requireCryptoBrowserify(),u=requireErrors$1(),l=requireKey(),m=requirePrivateKey(),y=requireCertificate(),E=requireUtils$2(),C=u.FingerprintFormatError,k=u.InvalidAlgorithmError;function A(O){if(t.object(O,"options"),t.string(O.type,"options.type"),t.buffer(O.hash,"options.hash"),t.string(O.algorithm,"options.algorithm"),this.algorithm=O.algorithm.toLowerCase(),n.hashAlgs[this.algorithm]!==!0)throw new k(this.algorithm);this.hash=O.hash,this.type=O.type,this.hashType=O.hashType}A.prototype.toString=function(O){switch(O===void 0&&(this.algorithm==="md5"||this.hashType==="spki"?O="hex":O="base64"),t.string(O),O){case"hex":return this.hashType==="spki"?this.hash.toString("hex"):R(this.hash.toString("hex"));case"base64":return this.hashType==="spki"?this.hash.toString("base64"):F(this.algorithm,this.hash.toString("base64"));default:throw new C(void 0,O)}},A.prototype.matches=function(O){t.object(O,"key or certificate"),this.type==="key"&&this.hashType!=="ssh"?(E.assertCompatible(O,l,[1,7],"key with spki"),m.isPrivateKey(O)&&E.assertCompatible(O,m,[1,6],"privatekey with spki support")):this.type==="key"?E.assertCompatible(O,l,[1,0],"key"):E.assertCompatible(O,y,[1,0],"certificate");var N=O.hash(this.algorithm,this.hashType),Y=o.createHash(this.algorithm).update(N).digest("base64");return this.hash2===void 0&&(this.hash2=o.createHash(this.algorithm).update(this.hash).digest("base64")),this.hash2===Y};var D=/^[A-Za-z0-9+\/=]+$/,P=/^[a-fA-F0-9]+$/;A.parse=function(O,N){t.string(O,"fingerprint");var Y,J,ie;Array.isArray(N)&&(ie=N,N={}),t.optionalObject(N,"options"),N===void 0&&(N={}),N.enAlgs!==void 0&&(ie=N.enAlgs),N.algorithms!==void 0&&(ie=N.algorithms),t.optionalArrayOfString(ie,"algorithms");var ue="ssh";N.hashType!==void 0&&(ue=N.hashType),t.string(ue,"options.hashType");var Q=O.split(":");if(Q.length==2){if(Y=Q[0].toLowerCase(),!D.test(Q[1]))throw new C(O);try{J=e.from(Q[1],"base64")}catch{throw new C(O)}}else if(Q.length>2){if(Y="md5",Q[0].toLowerCase()==="md5"&&(Q=Q.slice(1)),Q=Q.map(function(ce){for(;ce.length<2;)ce="0"+ce;if(ce.length>2)throw new C(O);return ce}),Q=Q.join(""),!P.test(Q)||Q.length%2!==0)throw new C(O);try{J=e.from(Q,"hex")}catch{throw new C(O)}}else{if(P.test(O))J=e.from(O,"hex");else if(D.test(O))J=e.from(O,"base64");else throw new C(O);switch(J.length){case 32:Y="sha256";break;case 16:Y="md5";break;case 20:Y="sha1";break;case 64:Y="sha512";break;default:throw new C(O)}N.hashType===void 0&&(ue="spki")}if(Y===void 0)throw new C(O);if(n.hashAlgs[Y]===void 0)throw new k(Y);if(ie!==void 0&&(ie=ie.map(function(ce){return ce.toLowerCase()}),ie.indexOf(Y)===-1))throw new k(Y);return new A({algorithm:Y,hash:J,type:N.type||"key",hashType:ue})};function R(O){return O.replace(/(.{2})(?=.)/g,"$1:")}function B(O){return O.replace(/=*$/,"")}function F(O,N){return O.toUpperCase()+":"+B(N)}return A.isFingerprint=function(O,N){return E.isCompatible(O,A,N)},A.prototype._sshpkApiVersion=[1,2],A._oldVersionDetect=function(O){return t.func(O.toString),t.func(O.matches),[1,0]},fingerprint}var key,hasRequiredKey;function requireKey(){if(hasRequiredKey)return key;hasRequiredKey=1,key=P;var t=requireAssert(),e=requireAlgs(),n=requireCryptoBrowserify(),o=requireFingerprint(),u=requireSignature(),l=requireDhe().DiffieHellman,m=requireErrors$1(),y=requireUtils$2(),E=requirePrivateKey(),C;try{C=requireEdCompat()}catch{}var k=m.InvalidAlgorithmError,A=m.KeyParseError,D={};D.auto=requireAuto(),D.pem=requirePem(),D.pkcs1=requirePkcs1(),D.pkcs8=requirePkcs8(),D.rfc4253=requireRfc4253(),D.ssh=requireSsh(),D["ssh-private"]=requireSshPrivate(),D.openssh=D["ssh-private"],D.dnssec=requireDnssec(),D.putty=requirePutty(),D.ppk=D.putty;function P(R){t.object(R,"options"),t.arrayOfObject(R.parts,"options.parts"),t.string(R.type,"options.type"),t.optionalString(R.comment,"options.comment");var B=e.info[R.type];if(typeof B!="object")throw new k(R.type);for(var F={},O=0;O<R.parts.length;++O){var N=R.parts[O];F[N.name]=N}this.type=R.type,this.parts=R.parts,this.part=F,this.comment=void 0,this.source=R.source,this._rfc4253Cache=R._rfc4253Cache,this._hashCache={};var Y;if(this.curve=void 0,this.type==="ecdsa"){var J=this.part.curve.data.toString();this.curve=J,Y=e.curves[J].size}else if(this.type==="ed25519"||this.type==="curve25519")Y=256,this.curve="curve25519";else{var ie=this.part[B.sizePart];Y=ie.data.length,Y=Y*8-y.countZeros(ie.data)}this.size=Y}return P.formats=D,P.prototype.toBuffer=function(R,B){return R===void 0&&(R="ssh"),t.string(R,"format"),t.object(D[R],"formats[format]"),t.optionalObject(B,"options"),R==="rfc4253"?(this._rfc4253Cache===void 0&&(this._rfc4253Cache=D.rfc4253.write(this)),this._rfc4253Cache):D[R].write(this,B)},P.prototype.toString=function(R,B){return this.toBuffer(R,B).toString()},P.prototype.hash=function(R,B){if(t.string(R,"algorithm"),t.optionalString(B,"type"),B===void 0&&(B="ssh"),R=R.toLowerCase(),e.hashAlgs[R]===void 0)throw new k(R);var F=R+"||"+B;if(this._hashCache[F])return this._hashCache[F];var O;if(B==="ssh")O=this.toBuffer("rfc4253");else if(B==="spki")O=D.pkcs8.pkcs8ToBuffer(this);else throw new Error("Hash type "+B+" not supported");var N=n.createHash(R).update(O).digest();return this._hashCache[F]=N,N},P.prototype.fingerprint=function(R,B){R===void 0&&(R="sha256"),B===void 0&&(B="ssh"),t.string(R,"algorithm"),t.string(B,"type");var F={type:"key",hash:this.hash(R,B),algorithm:R,hashType:B};return new o(F)},P.prototype.defaultHashAlgorithm=function(){var R="sha1";return this.type==="rsa"&&(R="sha256"),this.type==="dsa"&&this.size>1024&&(R="sha256"),this.type==="ed25519"&&(R="sha512"),this.type==="ecdsa"&&(this.size<=256?R="sha256":this.size<=384?R="sha384":R="sha512"),R},P.prototype.createVerify=function(R){if(R===void 0&&(R=this.defaultHashAlgorithm()),t.string(R,"hash algorithm"),this.type==="ed25519"&&C!==void 0)return new C.Verifier(this,R);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for signing or verification");var B,F,O;try{F=R.toUpperCase(),B=n.createVerify(F)}catch(ue){O=ue}(B===void 0||O instanceof Error&&O.message.match(/Unknown message digest/))&&(F="RSA-",F+=R.toUpperCase(),B=n.createVerify(F)),t.ok(B,"failed to create verifier");var N=B.verify.bind(B),Y=this.toBuffer("pkcs8"),J=this.curve,ie=this;return B.verify=function(ue,Q){if(u.isSignature(ue,[2,0]))return ue.type!==ie.type||ue.hashAlgorithm&&ue.hashAlgorithm!==R||ue.curve&&ie.type==="ecdsa"&&ue.curve!==J?!1:N(Y,ue.toBuffer("asn1"));if(typeof ue=="string"||Buffer$C.isBuffer(ue))return N(Y,ue,Q);throw u.isSignature(ue,[1,0])?new Error("signature was created by too old a version of sshpk and cannot be verified"):new TypeError("signature must be a string, Buffer, or Signature object")},B},P.prototype.createDiffieHellman=function(){if(this.type==="rsa")throw new Error("RSA keys do not support Diffie-Hellman");return new l(this)},P.prototype.createDH=P.prototype.createDiffieHellman,P.parse=function(R,B,F){typeof R!="string"&&t.buffer(R,"data"),B===void 0&&(B="auto"),t.string(B,"format"),typeof F=="string"&&(F={filename:F}),t.optionalObject(F,"options"),F===void 0&&(F={}),t.optionalString(F.filename,"options.filename"),F.filename===void 0&&(F.filename="(unnamed)"),t.object(D[B],"formats[format]");try{var O=D[B].read(R,F);return O instanceof E&&(O=O.toPublic()),O.comment||(O.comment=F.filename),O}catch(N){throw N.name==="KeyEncryptedError"?N:new A(F.filename,B,N)}},P.isKey=function(R,B){return y.isCompatible(R,P,B)},P.prototype._sshpkApiVersion=[1,7],P._oldVersionDetect=function(R){return t.func(R.toBuffer),t.func(R.fingerprint),R.createDH?[1,4]:R.defaultHashAlgorithm?[1,3]:R.formats.auto?[1,2]:R.formats.pkcs1?[1,1]:[1,0]},key}var lib$3,hasRequiredLib$3;function requireLib$3(){if(hasRequiredLib$3)return lib$3;hasRequiredLib$3=1;var t=requireKey(),e=requireFingerprint(),n=requireSignature(),o=requirePrivateKey(),u=requireCertificate(),l=requireIdentity(),m=requireErrors$1();return lib$3={Key:t,parseKey:t.parse,Fingerprint:e,parseFingerprint:e.parse,Signature:n,parseSignature:n.parse,PrivateKey:o,parsePrivateKey:o.parse,generatePrivateKey:o.generate,Certificate:u,parseCertificate:u.parse,createSelfSignedCertificate:u.createSelfSigned,createCertificate:u.create,Identity:l,identityFromDN:l.parseDN,identityForHost:l.forHost,identityForUser:l.forUser,identityForEmail:l.forEmail,identityFromArray:l.fromArray,FingerprintFormatError:m.FingerprintFormatError,InvalidAlgorithmError:m.InvalidAlgorithmError,KeyParseError:m.KeyParseError,SignatureParseError:m.SignatureParseError,KeyEncryptedError:m.KeyEncryptedError,CertificateParseError:m.CertificateParseError},lib$3}var utils$1,hasRequiredUtils$1;function requireUtils$1(){if(hasRequiredUtils$1)return utils$1;hasRequiredUtils$1=1;var t=requireAssert(),e=requireLib$3(),n=util$6,o={sha1:!0,sha256:!0,sha512:!0},u={rsa:!0,dsa:!0,ecdsa:!0};function l(E,C){Error.captureStackTrace&&Error.captureStackTrace(this,C||l),this.message=E,this.name=C.name}n.inherits(l,Error);function m(E){l.call(this,E,m)}n.inherits(m,l);function y(E){var C=E.toLowerCase().split("-");if(C.length!==2)throw new m(C[0].toUpperCase()+" is not a valid algorithm");if(C[0]!=="hmac"&&!u[C[0]])throw new m(C[0].toUpperCase()+" type keys are not supported");if(!o[C[1]])throw new m(C[1].toUpperCase()+" is not a supported hash algorithm");return C}return utils$1={HASH_ALGOS:o,PK_ALGOS:u,HttpSignatureError:l,InvalidAlgorithmError:m,validateAlgorithm:y,sshKeyToPEM:function(C){t.string(C,"ssh_key");var k=e.parseKey(C,"ssh");return k.toString("pem")},fingerprint:function(C){t.string(C,"ssh_key");var k=e.parseKey(C,"ssh");return k.fingerprint("md5").toString("hex")},pemToRsaSSHKey:function(C,k){t.equal("string",typeof C,"typeof pem");var A=e.parseKey(C,"pem");return A.comment=k,A.toString("ssh")}},utils$1}var parser,hasRequiredParser;function requireParser(){if(hasRequiredParser)return parser;hasRequiredParser=1;var t=requireAssert(),e=util$6,n=requireUtils$1();n.HASH_ALGOS,n.PK_ALGOS;var o=n.HttpSignatureError,u=n.InvalidAlgorithmError,l=n.validateAlgorithm,m={New:0,Params:1},y={Name:0,Quote:1,Value:2,Comma:3};function E(P){o.call(this,P,E)}e.inherits(E,o);function C(P){o.call(this,P,C)}e.inherits(C,o);function k(P){o.call(this,P,k)}e.inherits(k,o);function A(P){o.call(this,P,A)}e.inherits(A,o);function D(P){o.call(this,P,D)}return e.inherits(D,o),parser={parseRequest:function(R,B){t.object(R,"request"),t.object(R.headers,"request.headers"),B===void 0&&(B={}),B.headers===void 0&&(B.headers=[R.headers["x-date"]?"x-date":"date"]),t.object(B,"options"),t.arrayOfString(B.headers,"options.headers"),t.optionalFinite(B.clockSkew,"options.clockSkew");var F=B.authorizationHeaderName||"authorization";if(!R.headers[F])throw new A("no "+F+" header present in the request");B.clockSkew=B.clockSkew||300;var O=0,N=m.New,Y=y.Name,J="",ie="",ue={scheme:"",params:{},signingString:""},Q=R.headers[F];for(O=0;O<Q.length;O++){var ce=Q.charAt(O);switch(Number(N)){case m.New:ce!==" "?ue.scheme+=ce:N=m.Params;break;case m.Params:switch(Number(Y)){case y.Name:var he=ce.charCodeAt(0);if(he>=65&&he<=90||he>=97&&he<=122)J+=ce;else if(ce==="="){if(J.length===0)throw new C("bad param format");Y=y.Quote}else throw new C("bad param format");break;case y.Quote:if(ce==='"')ie="",Y=y.Value;else throw new C("bad param format");break;case y.Value:ce==='"'?(ue.params[J]=ie,Y=y.Comma):ie+=ce;break;case y.Comma:if(ce===",")J="",Y=y.Name;else throw new C("bad param format");break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(!ue.params.headers||ue.params.headers===""?R.headers["x-date"]?ue.params.headers=["x-date"]:ue.params.headers=["date"]:ue.params.headers=ue.params.headers.split(" "),!ue.scheme||ue.scheme!=="Signature")throw new C('scheme was not "Signature"');if(!ue.params.keyId)throw new C("keyId was not specified");if(!ue.params.algorithm)throw new C("algorithm was not specified");if(!ue.params.signature)throw new C("signature was not specified");ue.params.algorithm=ue.params.algorithm.toLowerCase();try{l(ue.params.algorithm)}catch(c){throw c instanceof u?new k(ue.params.algorithm+" is not supported"):c}for(O=0;O<ue.params.headers.length;O++){var ke=ue.params.headers[O].toLowerCase();if(ue.params.headers[O]=ke,ke==="request-line")if(!B.strict)ue.signingString+=R.method+" "+R.url+" HTTP/"+R.httpVersion;else throw new D("request-line is not a valid header with strict parsing enabled.");else if(ke==="(request-target)")ue.signingString+="(request-target): "+R.method.toLowerCase()+" "+R.url;else{var L=R.headers[ke];if(L===void 0)throw new A(ke+" was not in the request");ue.signingString+=ke+": "+L}O+1<ue.params.headers.length&&(ue.signingString+=`
-`)}var d;if(R.headers.date||R.headers["x-date"]){R.headers["x-date"]?d=new Date(R.headers["x-date"]):d=new Date(R.headers.date);var v=new Date,w=Math.abs(v.getTime()-d.getTime());if(w>B.clockSkew*1e3)throw new E("clock skew of "+w/1e3+"s was greater than "+B.clockSkew+"s")}if(B.headers.forEach(function(c){if(ue.params.headers.indexOf(c.toLowerCase())<0)throw new A(c+" was not a signed header")}),B.algorithms&&B.algorithms.indexOf(ue.params.algorithm)===-1)throw new k(ue.params.algorithm+" is not a supported algorithm");return ue.algorithm=ue.params.algorithm.toUpperCase(),ue.keyId=ue.params.keyId,ue}},parser}var jsprim={},extsprintf={},hasRequiredExtsprintf;function requireExtsprintf(){if(hasRequiredExtsprintf)return extsprintf;hasRequiredExtsprintf=1;var t=requireAssert$1(),e=util$6;extsprintf.sprintf=n,extsprintf.printf=o,extsprintf.fprintf=u;function n(y){var E=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),C=new RegExp(E),k=Array.prototype.slice.call(arguments,1),A,D,P,R,B,F,O,N,Y,J="",ie=1;for(t.equal("string",typeof y);(Y=C.exec(y))!==null;){if(J+=Y[1],y=y.substring(Y[0].length),A=Y[2]||"",D=Y[3]||0,P=Y[4]||"",R=Y[6],B=!1,O=!1,F=" ",R=="%"){J+="%";continue}if(k.length===0)throw new Error("too few args to sprintf");if(N=k.shift(),ie++,A.match(/[\' #]/))throw new Error("unsupported flags: "+A);if(P.length>0)throw new Error("non-zero precision not supported");switch(A.match(/-/)&&(B=!0),A.match(/0/)&&(F="0"),A.match(/\+/)&&(O=!0),R){case"s":if(N==null)throw new Error("argument "+ie+": attempted to print undefined or null as a string");J+=l(F,D,B,N.toString());break;case"d":N=Math.floor(N);case"f":O=O&&N>0?"+":"",J+=O+l(F,D,B,N.toString());break;case"x":J+=l(F,D,B,N.toString(16));break;case"j":D===0&&(D=10),J+=e.inspect(N,!1,D);break;case"r":J+=m(N);break;default:throw new Error("unsupported conversion: "+R)}}return J+=y,J}function o(){var y=Array.prototype.slice.call(arguments);y.unshift(process$1.stdout),u.apply(null,y)}function u(y){var E=Array.prototype.slice.call(arguments,1);return y.write(n.apply(this,E))}function l(y,E,C,k){for(var A=k;A.length<E;)C?A+=y:A=y+A;return A}function m(y){var E;if(!(y instanceof Error))throw new Error(n("invalid type for %%r: %j",y));if(E="EXCEPTION: "+y.constructor.name+": "+y.stack,y.cause&&typeof y.cause=="function"){var C=y.cause();C&&(E+=`
-Caused by: `+m(C))}return E}return extsprintf}var verror,hasRequiredVerror;function requireVerror(){if(hasRequiredVerror)return verror;hasRequiredVerror=1;var t=requireAssert(),e=util$6,n=requireExtsprintf(),o=util$3.isError,u=n.sprintf;verror=m,m.VError=m,m.SError=y,m.WError=C,m.MultiError=E;function l(k){var A,D,P,R,B;if(t.object(k,"args"),t.bool(k.strict,"args.strict"),t.array(k.argv,"args.argv"),A=k.argv,A.length===0)D={},P=[];else if(o(A[0]))D={cause:A[0]},P=A.slice(1);else if(typeof A[0]=="object"){D={};for(B in A[0])D[B]=A[0][B];P=A.slice(1)}else t.string(A[0],"first argument to VError, SError, or WError constructor must be a string, object, or Error"),D={},P=A;return t.object(D),!D.strict&&!k.strict&&(P=P.map(function(F){return F===null?"null":F===void 0?"undefined":F})),P.length===0?R="":R=u.apply(null,P),{options:D,shortmessage:R}}function m(){var k,A,D,P,R,B,F;if(k=Array.prototype.slice.call(arguments,0),!(this instanceof m))return A=Object.create(m.prototype),m.apply(A,arguments),A;if(D=l({argv:k,strict:!1}),D.options.name&&(t.string(D.options.name,`error's "name" must be a string`),this.name=D.options.name),this.jse_shortmsg=D.shortmessage,B=D.shortmessage,P=D.options.cause,P&&(t.ok(o(P),"cause is not an Error"),this.jse_cause=P,D.options.skipCauseMessage||(B+=": "+P.message)),this.jse_info={},D.options.info)for(F in D.options.info)this.jse_info[F]=D.options.info[F];return this.message=B,Error.call(this,B),Error.captureStackTrace&&(R=D.options.constructorOpt||this.constructor,Error.captureStackTrace(this,R)),this}e.inherits(m,Error),m.prototype.name="VError",m.prototype.toString=function(){var A=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(A+=": "+this.message),A},m.prototype.cause=function(){var A=m.cause(this);return A===null?void 0:A},m.cause=function(k){return t.ok(o(k),"err must be an Error"),o(k.jse_cause)?k.jse_cause:null},m.info=function(k){var A,D,P;if(t.ok(o(k),"err must be an Error"),D=m.cause(k),D!==null?A=m.info(D):A={},typeof k.jse_info=="object"&&k.jse_info!==null)for(P in k.jse_info)A[P]=k.jse_info[P];return A},m.findCauseByName=function(k,A){var D;for(t.ok(o(k),"err must be an Error"),t.string(A,"name"),t.ok(A.length>0,"name cannot be empty"),D=k;D!==null;D=m.cause(D))if(t.ok(o(D)),D.name==A)return D;return null},m.hasCauseWithName=function(k,A){return m.findCauseByName(k,A)!==null},m.fullStack=function(k){t.ok(o(k),"err must be an Error");var A=m.cause(k);return A?k.stack+`
-caused by: `+m.fullStack(A):k.stack},m.errorFromList=function(k){return t.arrayOfObject(k,"errors"),k.length===0?null:(k.forEach(function(A){t.ok(o(A))}),k.length==1?k[0]:new E(k))},m.errorForEach=function(k,A){t.ok(o(k),"err must be an Error"),t.func(A,"func"),k instanceof E?k.errors().forEach(function(P){A(P)}):A(k)};function y(){var k,A,D,P;return k=Array.prototype.slice.call(arguments,0),this instanceof y?(D=l({argv:k,strict:!0}),P=D.options,m.call(this,P,"%s",D.shortmessage),this):(A=Object.create(y.prototype),y.apply(A,arguments),A)}e.inherits(y,m);function E(k){t.array(k,"list of errors"),t.ok(k.length>0,"must be at least one error"),this.ase_errors=k,m.call(this,{cause:k[0]},"first of %d error%s",k.length,k.length==1?"":"s")}e.inherits(E,m),E.prototype.name="MultiError",E.prototype.errors=function(){return this.ase_errors.slice(0)};function C(){var k,A,D,P;return k=Array.prototype.slice.call(arguments,0),this instanceof C?(D=l({argv:k,strict:!1}),P=D.options,P.skipCauseMessage=!0,m.call(this,P,"%s",D.shortmessage),this):(A=Object.create(C.prototype),C.apply(A,k),A)}return e.inherits(C,m),C.prototype.name="WError",C.prototype.toString=function(){var A=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(A+=": "+this.message),this.jse_cause&&this.jse_cause.message&&(A+="; caused by "+this.jse_cause.toString()),A},C.prototype.cause=function(A){return o(A)&&(this.jse_cause=A),this.jse_cause},verror}var validate$1={exports:{}},hasRequiredValidate$1;function requireValidate$1(){return hasRequiredValidate$1||(hasRequiredValidate$1=1,function(t){(function(e,n){t.exports?t.exports=n():e.jsonSchema=n()})(commonjsGlobal$1,function(){var e=o;e.Integer={type:"integer"};var n={String,Boolean,Number,Object,Array,Date};e.validate=o;function o(u,l){return o(u,l,{changing:!1})}e.checkPropertyChange=function(u,l,m){return o(u,l,{changing:m||"property"})};var o=e._validate=function(u,l,m){m||(m={});var y=m.changing;function E(D){return D.type||n[D.name]==D&&D.name.toLowerCase()}var C=[];function k(D,P,R,B){var F;R+=R?typeof B=="number"?"["+B+"]":typeof B>"u"?"":"."+B:B;function O(ce){C.push({property:R,message:ce})}if((typeof P!="object"||P instanceof Array)&&(R||typeof P!="function")&&!(P&&E(P)))return typeof P=="function"?D instanceof P||O("is not an instance of the class/constructor "+P.name):P&&O("Invalid schema/property definition "+P),null;y&&P.readonly&&O("is a readonly field, it can not be changed"),P.extends&&k(D,P.extends,R,B);function N(ce,he){if(ce){if(typeof ce=="string"&&ce!="any"&&(ce=="null"?he!==null:typeof he!=ce)&&!(he instanceof Array&&ce=="array")&&!(he instanceof Date&&ce=="date")&&!(ce=="integer"&&he%1===0))return[{property:R,message:he+" - "+typeof he+" value found, but a "+ce+" is required"}];if(ce instanceof Array){for(var ke=[],L=0;L<ce.length&&(ke=N(ce[L],he)).length;L++);if(ke.length)return ke}else if(typeof ce=="object"){var d=C;C=[],k(he,ce,R);var v=C;return C=d,v}}return[]}if(D===void 0)P.required&&O("is missing and it is required");else if(C=C.concat(N(E(P),D)),P.disallow&&!N(P.disallow,D).length&&O(" disallowed value was matched"),D!==null){if(D instanceof Array){if(P.items){var Y=P.items instanceof Array,J=P.items;for(B=0,F=D.length;B<F;B+=1)Y&&(J=P.items[B]),m.coerce&&(D[B]=m.coerce(D[B],J)),C.concat(k(D[B],J,R,B))}P.minItems&&D.length<P.minItems&&O("There must be a minimum of "+P.minItems+" in the array"),P.maxItems&&D.length>P.maxItems&&O("There must be a maximum of "+P.maxItems+" in the array")}else(P.properties||P.additionalProperties)&&C.concat(A(D,P.properties,R,P.additionalProperties));if(P.pattern&&typeof D=="string"&&!D.match(P.pattern)&&O("does not match the regex pattern "+P.pattern),P.maxLength&&typeof D=="string"&&D.length>P.maxLength&&O("may only be "+P.maxLength+" characters long"),P.minLength&&typeof D=="string"&&D.length<P.minLength&&O("must be at least "+P.minLength+" characters long"),typeof P.minimum<"u"&&typeof D==typeof P.minimum&&P.minimum>D&&O("must have a minimum value of "+P.minimum),typeof P.maximum<"u"&&typeof D==typeof P.maximum&&P.maximum<D&&O("must have a maximum value of "+P.maximum),P.enum){var ie=P.enum;F=ie.length;for(var ue,Q=0;Q<F;Q++)if(ie[Q]===D){ue=1;break}ue||O("does not have a value in the enumeration "+ie.join(", "))}typeof P.maxDecimal=="number"&&D.toString().match(new RegExp("\\.[0-9]{"+(P.maxDecimal+1)+",}"))&&O("may only have "+P.maxDecimal+" digits of decimal places")}return null}function A(D,P,R,B){if(typeof P=="object"){(typeof D!="object"||D instanceof Array)&&C.push({property:R,message:"an object is required"});for(var F in P)if(P.hasOwnProperty(F)&&F!="__proto__"&&F!="constructor"){var O=D.hasOwnProperty(F)?D[F]:void 0;if(O===void 0&&m.existingOnly)continue;var N=P[F];O===void 0&&N.default&&(O=D[F]=N.default),m.coerce&&F in D&&(O=D[F]=m.coerce(O,N)),k(O,N,R,F)}}for(F in D){if(D.hasOwnProperty(F)&&!(F.charAt(0)=="_"&&F.charAt(1)=="_")&&P&&!P[F]&&B===!1)if(m.filter){delete D[F];continue}else C.push({property:R,message:"The property "+F+" is not defined in the schema and the schema does not allow additional properties"});var Y=P&&P[F]&&P[F].requires;Y&&!(Y in D)&&C.push({property:R,message:"the presence of the property "+F+" requires that "+Y+" also be present"}),O=D[F],B&&(!(P&&typeof P=="object")||!(F in P))&&(m.coerce&&(O=D[F]=m.coerce(O,B)),k(O,B,R,F)),!y&&O&&O.$schema&&(C=C.concat(k(O,O.$schema,R,F)))}return C}return l&&k(u,l,"",y||""),!y&&u&&u.$schema&&k(u,u.$schema,"",""),{valid:!C.length,errors:C}};return e.mustBeValid=function(u){if(!u.valid)throw new TypeError(u.errors.map(function(l){return"for property "+l.property+": "+l.message}).join(`, 
-`))},e})}(validate$1)),validate$1.exports}var hasRequiredJsprim;function requireJsprim(){if(hasRequiredJsprim)return jsprim;hasRequiredJsprim=1;var t=requireAssert(),e=requireExtsprintf(),n=requireVerror(),o=requireValidate$1();jsprim.deepCopy=u,jsprim.deepEqual=l,jsprim.isEmpty=m,jsprim.hasKey=y,jsprim.forEachKey=E,jsprim.pluck=C,jsprim.flattenObject=P,jsprim.flattenIter=A,jsprim.validateJsonObject=ne,jsprim.validateJsonObjectJS=ne,jsprim.randElt=fe,jsprim.extraProperties=nt,jsprim.mergeObjects=Je,jsprim.startsWith=R,jsprim.endsWith=B,jsprim.parseInteger=ee,jsprim.iso8601=F,jsprim.rfc1123=Y,jsprim.parseDateTime=J,jsprim.hrtimediff=de,jsprim.hrtimeDiff=de,jsprim.hrtimeAccum=ot,jsprim.hrtimeAdd=Ct,jsprim.hrtimeNanosec=Oe,jsprim.hrtimeMicrosec=lt,jsprim.hrtimeMillisec=it;function u(tt){var rt,ht,jt="__deepCopy";if(tt&&tt[jt])throw new Error("attempted deep copy of cyclic object");if(tt&&tt.constructor==Object){rt={},tt[jt]=!0;for(ht in tt)ht!=jt&&(rt[ht]=u(tt[ht]));return delete tt[jt],rt}if(tt&&tt.constructor==Array){for(rt=[],tt[jt]=!0,ht=0;ht<tt.length;ht++)rt.push(u(tt[ht]));return delete tt[jt],rt}return tt}function l(tt,rt){if(typeof tt!=typeof rt)return!1;if(tt===null||rt===null||typeof tt!="object")return tt===rt;if(tt.constructor!=rt.constructor)return!1;var ht;for(ht in tt)if(!rt.hasOwnProperty(ht)||!l(tt[ht],rt[ht]))return!1;for(ht in rt)if(!tt.hasOwnProperty(ht))return!1;return!0}function m(tt){var rt;for(rt in tt)return!1;return!0}function y(tt,rt){return t.equal(typeof rt,"string"),Object.prototype.hasOwnProperty.call(tt,rt)}function E(tt,rt){for(var ht in tt)y(tt,ht)&&rt(ht,tt[ht])}function C(tt,rt){return t.equal(typeof rt,"string"),k(tt,rt)}function k(tt,rt){if(!(tt===null||typeof tt!="object")){if(tt.hasOwnProperty(rt))return tt[rt];var ht=rt.indexOf(".");if(ht!=-1){var jt=rt.substr(0,ht);if(tt.hasOwnProperty(jt))return k(tt[jt],rt.substr(ht+1))}}}function A(tt,rt,ht){D(tt,rt,[],ht)}function D(tt,rt,ht,jt){var Ve,We;if(rt===0){Ve=ht.slice(0),Ve.push(tt),jt(Ve);return}t.ok(tt!==null),t.equal(typeof tt,"object"),t.equal(typeof rt,"number"),t.ok(rt>=0);for(We in tt)Ve=ht.slice(0),Ve.push(We),D(tt[We],rt-1,Ve,jt)}function P(tt,rt){if(rt===0)return[tt];t.ok(tt!==null),t.equal(typeof tt,"object"),t.equal(typeof rt,"number"),t.ok(rt>=0);var ht=[],jt;for(jt in tt)P(tt[jt],rt-1).forEach(function(Ve){ht.push([jt].concat(Ve))});return ht}function R(tt,rt){return tt.substr(0,rt.length)==rt}function B(tt,rt){return tt.substr(tt.length-rt.length,rt.length)==rt}function F(tt){return typeof tt=="number"&&(tt=new Date(tt)),t.ok(tt.constructor===Date),e.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",tt.getUTCFullYear(),tt.getUTCMonth()+1,tt.getUTCDate(),tt.getUTCHours(),tt.getUTCMinutes(),tt.getUTCSeconds(),tt.getUTCMilliseconds())}var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],N=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function Y(tt){return e.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",N[tt.getUTCDay()],tt.getUTCDate(),O[tt.getUTCMonth()],tt.getUTCFullYear(),tt.getUTCHours(),tt.getUTCMinutes(),tt.getUTCSeconds())}function J(tt){var rt=+tt;return isNaN(rt)?new Date(tt):new Date(rt)}var ie=Number.MAX_SAFE_INTEGER||9007199254740991,ue=Number.MIN_SAFE_INTEGER||-9007199254740991,Q={base:10,allowSign:!0,allowPrefix:!1,allowTrailing:!1,allowImprecise:!1,trimWhitespace:!1,leadingZeroIsOctal:!1},ce=48,he=57,ke=65,L=66,d=79,v=84,w=88,c=90,p=97,x=98,S=111,b=116,h=120,T=122,M=48,j=55,V=87;function ee(tt,rt){t.string(tt,"str"),t.optionalObject(rt,"options");var ht=!1,jt=Q;rt&&(ht=y(rt,"base"),jt=Je(jt,rt),t.number(jt.base,"options.base"),t.ok(jt.base>=2,"options.base >= 2"),t.ok(jt.base<=36,"options.base <= 36"),t.bool(jt.allowSign,"options.allowSign"),t.bool(jt.allowPrefix,"options.allowPrefix"),t.bool(jt.allowTrailing,"options.allowTrailing"),t.bool(jt.allowImprecise,"options.allowImprecise"),t.bool(jt.trimWhitespace,"options.trimWhitespace"),t.bool(jt.leadingZeroIsOctal,"options.leadingZeroIsOctal"),jt.leadingZeroIsOctal&&t.ok(!ht,'"base" and "leadingZeroIsOctal" are mutually exclusive'));var Ve,We=-1,Gt=jt.base,wt,Et=1,Yt=0,Ce=0,te=tt.length;if(jt.trimWhitespace)for(;Ce<te&&U(tt.charCodeAt(Ce));)++Ce;for(jt.allowSign&&(tt[Ce]==="-"?(Ce+=1,Et=-1):tt[Ce]==="+"&&(Ce+=1)),tt[Ce]==="0"&&(jt.allowPrefix&&(We=z(tt.charCodeAt(Ce+1)),We!==-1&&(!ht||We===Gt)&&(Gt=We,Ce+=2)),We===-1&&jt.leadingZeroIsOctal&&(Gt=8)),wt=Ce;Ce<te&&(Ve=Z(tt.charCodeAt(Ce)),Ve!==-1&&Ve<Gt);++Ce)Yt*=Gt,Yt+=Ve;if(wt===Ce)return new Error("invalid number: "+JSON.stringify(tt));if(jt.trimWhitespace)for(;Ce<te&&U(tt.charCodeAt(Ce));)++Ce;if(Ce<te&&!jt.allowTrailing)return new Error("trailing characters after number: "+JSON.stringify(tt.slice(Ce)));if(Yt===0)return 0;var ye=Yt*Et;return!jt.allowImprecise&&(Yt>ie||ye<ue)?new Error("number is outside of the supported range: "+JSON.stringify(tt.slice(wt,Ce))):ye}function Z(tt){return tt>=ce&&tt<=he?tt-M:tt>=ke&&tt<=c?tt-j:tt>=p&&tt<=T?tt-V:-1}function U(tt){return tt===32||tt>=9&&tt<=13||tt===160||tt===5760||tt===6158||tt>=8192&&tt<=8202||tt===8232||tt===8233||tt===8239||tt===8287||tt===12288||tt===65279}function z(tt){return tt===x||tt===L?2:tt===S||tt===d?8:tt===b||tt===v?10:tt===h||tt===w?16:-1}function ne(tt,rt){var ht=o.validate(rt,tt);if(ht.errors.length===0)return null;var jt=ht.errors[0],Ve=jt.property,We=jt.message.toLowerCase(),Gt,wt;(Gt=We.indexOf("the property "))!=-1&&(wt=We.indexOf(" is not defined in the schema and the schema does not allow additional properties"))!=-1&&(Gt+=13,Ve===""?Ve=We.substr(Gt,wt-Gt):Ve=Ve+"."+We.substr(Gt,wt-Gt),We="unsupported property");var Et=new n.VError('property "%s": %s',Ve,We);return Et.jsv_details=jt,Et}function fe(tt){return t.ok(Array.isArray(tt)&&tt.length>0,"randElt argument must be a non-empty array"),tt[Math.floor(Math.random()*tt.length)]}function me(tt){t.ok(tt[0]>=0&&tt[1]>=0,"negative numbers not allowed in hrtimes"),t.ok(tt[1]<1e9,"nanoseconds column overflow")}function de(tt,rt){me(tt),me(rt),t.ok(tt[0]>rt[0]||tt[0]==rt[0]&&tt[1]>=rt[1],"negative differences not allowed");var ht=[tt[0]-rt[0],0];return tt[1]>=rt[1]?ht[1]=tt[1]-rt[1]:(ht[0]--,ht[1]=1e9-(rt[1]-tt[1])),ht}function Oe(tt){return me(tt),Math.floor(tt[0]*1e9+tt[1])}function lt(tt){return me(tt),Math.floor(tt[0]*1e6+tt[1]/1e3)}function it(tt){return me(tt),Math.floor(tt[0]*1e3+tt[1]/1e6)}function ot(tt,rt){return me(tt),me(rt),tt[1]+=rt[1],tt[1]>=1e9&&(tt[0]++,tt[1]-=1e9),tt[0]+=rt[0],tt}function Ct(tt,rt){me(tt);var ht=[tt[0],tt[1]];return ot(ht,rt)}function nt(tt,rt){t.ok(typeof tt=="object"&&tt!==null,"obj argument must be a non-null object"),t.ok(Array.isArray(rt),"allowed argument must be an array of strings");for(var ht=0;ht<rt.length;ht++)t.ok(typeof rt[ht]=="string","allowed argument must be an array of strings");return Object.keys(tt).filter(function(jt){return rt.indexOf(jt)===-1})}function Je(tt,rt,ht){var jt,Ve;if(jt={},ht)for(Ve in ht)jt[Ve]=ht[Ve];if(tt)for(Ve in tt)jt[Ve]=tt[Ve];if(rt)for(Ve in rt)jt[Ve]=rt[Ve];return jt}return jsprim}var signer,hasRequiredSigner;function requireSigner(){if(hasRequiredSigner)return signer;hasRequiredSigner=1;var t=requireAssert(),e=requireCryptoBrowserify();requireStreamHttp();var n=util$6,o=requireLib$3(),u=requireJsprim(),l=requireUtils$1(),m=util$6.format,y=l.HASH_ALGOS,E=l.PK_ALGOS,C=l.InvalidAlgorithmError,k=l.HttpSignatureError,A=l.validateAlgorithm,D='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function P(F){k.call(this,F,P)}n.inherits(P,k);function R(F){k.call(this,F,R)}n.inherits(R,k);function B(F){t.object(F,"options");var O=[];if(F.algorithm!==void 0&&(t.string(F.algorithm,"options.algorithm"),O=A(F.algorithm)),this.rs_alg=O,F.sign!==void 0)t.func(F.sign,"options.sign"),this.rs_signFunc=F.sign;else if(O[0]==="hmac"&&F.key!==void 0){if(t.string(F.keyId,"options.keyId"),this.rs_keyId=F.keyId,typeof F.key!="string"&&!Buffer$C.isBuffer(F.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=e.createHmac(O[1].toUpperCase(),F.key),this.rs_signer.sign=function(){var Y=this.digest("base64");return{hashAlgorithm:O[1],toString:function(){return Y}}}}else if(F.key!==void 0){var N=F.key;if((typeof N=="string"||Buffer$C.isBuffer(N))&&(N=o.parsePrivateKey(N)),t.ok(o.PrivateKey.isPrivateKey(N,[1,2]),"options.key must be a sshpk.PrivateKey"),this.rs_key=N,t.string(F.keyId,"options.keyId"),this.rs_keyId=F.keyId,!E[N.type])throw new C(N.type.toUpperCase()+" type keys are not supported");if(O[0]!==void 0&&N.type!==O[0])throw new C("options.key must be a "+O[0].toUpperCase()+" key, was given a "+N.type.toUpperCase()+" key instead");this.rs_signer=N.createSign(O[1])}else throw new TypeError("options.sign (func) or options.key is required");this.rs_headers=[],this.rs_lines=[]}return B.prototype.writeHeader=function(F,O){if(t.string(F,"header"),F=F.toLowerCase(),t.string(O,"value"),this.rs_headers.push(F),this.rs_signFunc)this.rs_lines.push(F+": "+O);else{var N=F+": "+O;this.rs_headers.length>0&&(N=`
-`+N),this.rs_signer.update(N)}return O},B.prototype.writeDateHeader=function(){return this.writeHeader("date",u.rfc1123(new Date))},B.prototype.writeTarget=function(F,O){t.string(F,"method"),t.string(O,"path"),F=F.toLowerCase(),this.writeHeader("(request-target)",F+" "+O)},B.prototype.sign=function(F){if(t.func(F,"callback"),this.rs_headers.length<1)throw new Error("At least one header must be signed");var O,N;if(this.rs_signFunc){var Y=this.rs_lines.join(`
-`),J=this;this.rs_signFunc(Y,function(Q,ce){if(Q){F(Q);return}try{t.object(ce,"signature"),t.string(ce.keyId,"signature.keyId"),t.string(ce.algorithm,"signature.algorithm"),t.string(ce.signature,"signature.signature"),O=A(ce.algorithm),N=m(D,ce.keyId,ce.algorithm,J.rs_headers.join(" "),ce.signature)}catch(he){F(he);return}F(null,N)})}else{try{var ie=this.rs_signer.sign()}catch(Q){F(Q);return}O=(this.rs_alg[0]||this.rs_key.type)+"-"+ie.hashAlgorithm;var ue=ie.toString();N=m(D,this.rs_keyId,O,this.rs_headers.join(" "),ue),F(null,N)}},signer={isSigner:function(F){return typeof F=="object"&&F instanceof B},createSigner:function(O){return new B(O)},signRequest:function(O,N){t.object(O,"request"),t.object(N,"options"),t.optionalString(N.algorithm,"options.algorithm"),t.string(N.keyId,"options.keyId"),t.optionalArrayOfString(N.headers,"options.headers"),t.optionalString(N.httpVersion,"options.httpVersion"),O.getHeader("Date")||O.setHeader("Date",u.rfc1123(new Date)),N.headers||(N.headers=["date"]),N.httpVersion||(N.httpVersion="1.1");var Y=[];N.algorithm&&(N.algorithm=N.algorithm.toLowerCase(),Y=A(N.algorithm));var J,ie="";for(J=0;J<N.headers.length;J++){if(typeof N.headers[J]!="string")throw new TypeError("options.headers must be an array of Strings");var ue=N.headers[J].toLowerCase();if(ue==="request-line")if(!N.strict)ie+=O.method+" "+O.path+" HTTP/"+N.httpVersion;else throw new R("request-line is not a valid header with strict parsing enabled.");else if(ue==="(request-target)")ie+="(request-target): "+O.method.toLowerCase()+" "+O.path;else{var Q=O.getHeader(ue);if(Q===void 0||Q==="")throw new P(ue+" was not in the request");ie+=ue+": "+Q}J+1<N.headers.length&&(ie+=`
-`)}O.hasOwnProperty("_stringToSign")&&(O._stringToSign=ie);var ce;if(Y[0]==="hmac"){if(typeof N.key!="string"&&!Buffer$C.isBuffer(N.key))throw new TypeError("options.key must be a string or Buffer");var he=e.createHmac(Y[1].toUpperCase(),N.key);he.update(ie),ce=he.digest("base64")}else{var ke=N.key;if((typeof ke=="string"||Buffer$C.isBuffer(ke))&&(ke=o.parsePrivateKey(N.key)),t.ok(o.PrivateKey.isPrivateKey(ke,[1,2]),"options.key must be a sshpk.PrivateKey"),!E[ke.type])throw new C(ke.type.toUpperCase()+" type keys are not supported");if(Y[0]!==void 0&&ke.type!==Y[0])throw new C("options.key must be a "+Y[0].toUpperCase()+" key, was given a "+ke.type.toUpperCase()+" key instead");var L=ke.createSign(Y[1]);L.update(ie);var d=L.sign();if(!y[d.hashAlgorithm])throw new C(d.hashAlgorithm.toUpperCase()+" is not a supported hash algorithm");N.algorithm=ke.type+"-"+d.hashAlgorithm,ce=d.toString(),t.notStrictEqual(ce,"","empty signature produced")}var v=N.authorizationHeaderName||"Authorization";return O.setHeader(v,m(D,N.keyId,N.algorithm,N.headers.join(" "),ce)),!0}},signer}var verify,hasRequiredVerify;function requireVerify(){if(hasRequiredVerify)return verify;hasRequiredVerify=1;var t=requireAssert(),e=requireCryptoBrowserify(),n=requireLib$3(),o=requireUtils$1();o.HASH_ALGOS,o.PK_ALGOS,o.InvalidAlgorithmError,o.HttpSignatureError;var u=o.validateAlgorithm;return verify={verifySignature:function(m,y){t.object(m,"parsedSignature"),(typeof y=="string"||Buffer$C.isBuffer(y))&&(y=n.parseKey(y)),t.ok(n.Key.isKey(y,[1,1]),"pubkey must be a sshpk.Key");var E=u(m.algorithm);if(E[0]==="hmac"||E[0]!==y.type)return!1;var C=y.createVerify(E[1]);return C.update(m.signingString),C.verify(m.params.signature,"base64")},verifyHMAC:function(m,y){t.object(m,"parsedHMAC"),t.string(y,"secret");var E=u(m.algorithm);if(E[0]!=="hmac")return!1;var C=E[1].toUpperCase(),k=e.createHmac(C,y);k.update(m.signingString);var A=e.createHmac(C,y);A.update(k.digest()),A=A.digest();var D=e.createHmac(C,y);return D.update(new Buffer$C(m.params.signature,"base64")),D=D.digest(),typeof A=="string"?A===D:Buffer$C.isBuffer(A)&&!A.equals?A.toString("binary")===D.toString("binary"):A.equals(D)}},verify}var lib$2,hasRequiredLib$2;function requireLib$2(){if(hasRequiredLib$2)return lib$2;hasRequiredLib$2=1;var t=requireParser(),e=requireSigner(),n=requireVerify(),o=requireUtils$1();return lib$2={parse:t.parseRequest,parseRequest:t.parseRequest,sign:e.signRequest,signRequest:e.signRequest,createSigner:e.createSigner,isSigner:e.isSigner,sshKeyToPEM:o.sshKeyToPEM,sshKeyFingerprint:o.fingerprint,pemToRsaSSHKey:o.pemToRsaSSHKey,verify:n.verifySignature,verifySignature:n.verifySignature,verifyHMAC:n.verifyHMAC},lib$2}var caseless={exports:{}},hasRequiredCaseless;function requireCaseless(){if(hasRequiredCaseless)return caseless.exports;hasRequiredCaseless=1;function t(e){this.dict=e||{}}return t.prototype.set=function(e,n,o){if(typeof e=="object")for(var u in e)this.set(u,e[u],n);else{typeof o>"u"&&(o=!0);var l=this.has(e);return!o&&l?this.dict[l]=this.dict[l]+","+n:this.dict[l||e]=n,l}},t.prototype.has=function(o){for(var n=Object.keys(this.dict),o=o.toLowerCase(),u=0;u<n.length;u++)if(n[u].toLowerCase()===o)return n[u];return!1},t.prototype.get=function(e){e=e.toLowerCase();var n,o,u=this.dict;return Object.keys(u).forEach(function(l){o=l.toLowerCase(),e===o&&(n=u[l])}),n},t.prototype.swap=function(e){var n=this.has(e);if(n!==e){if(!n)throw new Error('There is no header than matches "'+e+'"');this.dict[e]=this.dict[n],delete this.dict[n]}},t.prototype.del=function(e){var n=this.has(e);return delete this.dict[n||e]},caseless.exports=function(e){return new t(e)},caseless.exports.httpify=function(e,n){var o=new t(n);return e.setHeader=function(u,l,m){if(!(typeof l>"u"))return o.set(u,l,m)},e.hasHeader=function(u){return o.has(u)},e.getHeader=function(u){return o.get(u)},e.removeHeader=function(u){return o.del(u)},e.headers=o.dict,o},caseless.exports}var foreverAgent,hasRequiredForeverAgent;function requireForeverAgent(){if(hasRequiredForeverAgent)return foreverAgent;hasRequiredForeverAgent=1,foreverAgent=m,m.SSL=y;var t=util$6,e=requireStreamHttp().Agent,n=require$$1$5,o=require$$1$5,u=requireHttpsBrowserify().Agent;function l(C,k){var A="";return typeof C=="string"?A=C+":"+k:A=C.host+":"+C.port+":"+(C.localAddress?C.localAddress+":":":"),A}function m(C){var k=this;k.options=C||{},k.requests={},k.sockets={},k.freeSockets={},k.maxSockets=k.options.maxSockets||e.defaultMaxSockets,k.minSockets=k.options.minSockets||m.defaultMinSockets,k.on("free",function(A,D,P){var R=l(D,P);if(k.requests[R]&&k.requests[R].length)k.requests[R].shift().onSocket(A);else if(k.sockets[R].length<k.minSockets){k.freeSockets[R]||(k.freeSockets[R]=[]),k.freeSockets[R].push(A);var B=function(){A.destroy()};A._onIdleError=B,A.on("error",B)}else A.destroy()})}t.inherits(m,e),m.defaultMinSockets=5,m.prototype.createConnection=n.createConnection,m.prototype.addRequestNoreuse=e.prototype.addRequest,m.prototype.addRequest=function(C,k,A){var D=l(k,A);if(typeof k!="string"){var P=k;A=P.port,k=P.host}if(this.freeSockets[D]&&this.freeSockets[D].length>0&&!C.useChunkedEncodingByDefault){var R=this.freeSockets[D].pop();R.removeListener("error",R._onIdleError),delete R._onIdleError,C._reusedSocket=!0,C.onSocket(R)}else this.addRequestNoreuse(C,k,A)},m.prototype.removeSocket=function(C,k,A,D){if(this.sockets[k]){var P=this.sockets[k].indexOf(C);P!==-1&&this.sockets[k].splice(P,1)}else this.sockets[k]&&this.sockets[k].length===0&&(delete this.sockets[k],delete this.requests[k]);if(this.freeSockets[k]){var P=this.freeSockets[k].indexOf(C);P!==-1&&(this.freeSockets[k].splice(P,1),this.freeSockets[k].length===0&&delete this.freeSockets[k])}this.requests[k]&&this.requests[k].length&&this.createSocket(k,A,D).emit("free")};function y(C){m.call(this,C)}t.inherits(y,m),y.prototype.createConnection=E,y.prototype.addRequestNoreuse=u.prototype.addRequest;function E(C,k,A){return typeof C=="object"?A=C:typeof k=="object"?A=k:typeof A=="object"?A=A:A={},typeof C=="number"&&(A.port=C),typeof k=="string"&&(A.host=k),o.connect(A)}return foreverAgent}var browser,hasRequiredBrowser;function requireBrowser(){return hasRequiredBrowser||(hasRequiredBrowser=1,browser=typeof self=="object"?self.FormData:window.FormData),browser}var isstream={exports:{}},hasRequiredIsstream;function requireIsstream(){if(hasRequiredIsstream)return isstream.exports;hasRequiredIsstream=1;var t=requireStreamBrowserify();function e(l){return l instanceof t.Stream}function n(l){return e(l)&&typeof l._read=="function"&&typeof l._readableState=="object"}function o(l){return e(l)&&typeof l._write=="function"&&typeof l._writableState=="object"}function u(l){return n(l)&&o(l)}return isstream.exports=e,isstream.exports.isReadable=n,isstream.exports.isWritable=o,isstream.exports.isDuplex=u,isstream.exports}var isTypedarray,hasRequiredIsTypedarray;function requireIsTypedarray(){if(hasRequiredIsTypedarray)return isTypedarray;hasRequiredIsTypedarray=1,isTypedarray=n,n.strict=o,n.loose=u;var t=Object.prototype.toString,e={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0};function n(l){return o(l)||u(l)}function o(l){return l instanceof Int8Array||l instanceof Int16Array||l instanceof Int32Array||l instanceof Uint8Array||l instanceof Uint8ClampedArray||l instanceof Uint16Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array}function u(l){return e[t.call(l)]}return isTypedarray}var getProxyFromURI_1,hasRequiredGetProxyFromURI;function requireGetProxyFromURI(){if(hasRequiredGetProxyFromURI)return getProxyFromURI_1;hasRequiredGetProxyFromURI=1;function t(u){return u.replace(/^\.*/,".").toLowerCase()}function e(u){u=u.trim().toLowerCase();var l=u.split(":",2),m=t(l[0]),y=l[1],E=u.indexOf(":")>-1;return{hostname:m,port:y,hasPort:E}}function n(u,l){var m=u.port||(u.protocol==="https:"?"443":"80"),y=t(u.hostname),E=l.split(",");return E.map(e).some(function(C){var k=y.indexOf(C.hostname),A=k>-1&&k===y.length-C.hostname.length;return C.hasPort?m===C.port&&A:A})}function o(u){var l=process$1.env.NO_PROXY||process$1.env.no_proxy||"";return l==="*"||l!==""&&n(u,l)?null:u.protocol==="http:"?process$1.env.HTTP_PROXY||process$1.env.http_proxy||null:u.protocol==="https:"&&(process$1.env.HTTPS_PROXY||process$1.env.https_proxy||process$1.env.HTTP_PROXY||process$1.env.http_proxy)||null}return getProxyFromURI_1=o,getProxyFromURI_1}var querystring={},utils,hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var t=Object.prototype.hasOwnProperty,e=function(){for(var A=[],D=0;D<256;++D)A.push("%"+((D<16?"0":"")+D.toString(16)).toUpperCase());return A}(),n=function(D){for(var P;D.length;){var R=D.pop();if(P=R.obj[R.prop],Array.isArray(P)){for(var B=[],F=0;F<P.length;++F)typeof P[F]<"u"&&B.push(P[F]);R.obj[R.prop]=B}}return P},o=function(D,P){for(var R=P&&P.plainObjects?Object.create(null):{},B=0;B<D.length;++B)typeof D[B]<"u"&&(R[B]=D[B]);return R},u=function A(D,P,R){if(!P)return D;if(typeof P!="object"){if(Array.isArray(D))D.push(P);else if(D&&typeof D=="object")(R&&(R.plainObjects||R.allowPrototypes)||!t.call(Object.prototype,P))&&(D[P]=!0);else return[D,P];return D}if(!D||typeof D!="object")return[D].concat(P);var B=D;return Array.isArray(D)&&!Array.isArray(P)&&(B=o(D,R)),Array.isArray(D)&&Array.isArray(P)?(P.forEach(function(F,O){if(t.call(D,O)){var N=D[O];N&&typeof N=="object"&&F&&typeof F=="object"?D[O]=A(N,F,R):D.push(F)}else D[O]=F}),D):Object.keys(P).reduce(function(F,O){var N=P[O];return t.call(F,O)?F[O]=A(F[O],N,R):F[O]=N,F},B)},l=function(D,P){return Object.keys(P).reduce(function(R,B){return R[B]=P[B],R},D)},m=function(A){try{return decodeURIComponent(A.replace(/\+/g," "))}catch{return A}},y=function(D){if(D.length===0)return D;for(var P=typeof D=="string"?D:String(D),R="",B=0;B<P.length;++B){var F=P.charCodeAt(B);if(F===45||F===46||F===95||F===126||F>=48&&F<=57||F>=65&&F<=90||F>=97&&F<=122){R+=P.charAt(B);continue}if(F<128){R=R+e[F];continue}if(F<2048){R=R+(e[192|F>>6]+e[128|F&63]);continue}if(F<55296||F>=57344){R=R+(e[224|F>>12]+e[128|F>>6&63]+e[128|F&63]);continue}B+=1,F=65536+((F&1023)<<10|P.charCodeAt(B)&1023),R+=e[240|F>>18]+e[128|F>>12&63]+e[128|F>>6&63]+e[128|F&63]}return R},E=function(D){for(var P=[{obj:{o:D},prop:"o"}],R=[],B=0;B<P.length;++B)for(var F=P[B],O=F.obj[F.prop],N=Object.keys(O),Y=0;Y<N.length;++Y){var J=N[Y],ie=O[J];typeof ie=="object"&&ie!==null&&R.indexOf(ie)===-1&&(P.push({obj:O,prop:J}),R.push(ie))}return n(P)},C=function(D){return Object.prototype.toString.call(D)==="[object RegExp]"},k=function(D){return D===null||typeof D>"u"?!1:!!(D.constructor&&D.constructor.isBuffer&&D.constructor.isBuffer(D))};return utils={arrayToObject:o,assign:l,compact:E,decode:m,encode:y,isBuffer:k,isRegExp:C,merge:u},utils}var formats,hasRequiredFormats$1;function requireFormats$1(){if(hasRequiredFormats$1)return formats;hasRequiredFormats$1=1;var t=String.prototype.replace,e=/%20/g;return formats={default:"RFC3986",formatters:{RFC1738:function(n){return t.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},formats}var stringify_1,hasRequiredStringify;function requireStringify(){if(hasRequiredStringify)return stringify_1;hasRequiredStringify=1;var t=requireUtils(),e=requireFormats$1(),n={brackets:function(k){return k+"[]"},indices:function(k,A){return k+"["+A+"]"},repeat:function(k){return k}},o=Array.isArray,u=Array.prototype.push,l=function(C,k){u.apply(C,o(k)?k:[k])},m=Date.prototype.toISOString,y={delimiter:"&",encode:!0,encoder:t.encode,encodeValuesOnly:!1,serializeDate:function(k){return m.call(k)},skipNulls:!1,strictNullHandling:!1},E=function C(k,A,D,P,R,B,F,O,N,Y,J,ie){var ue=k;if(typeof F=="function"?ue=F(A,ue):ue instanceof Date&&(ue=Y(ue)),ue===null){if(P)return B&&!ie?B(A,y.encoder):A;ue=""}if(typeof ue=="string"||typeof ue=="number"||typeof ue=="boolean"||t.isBuffer(ue)){if(B){var Q=ie?A:B(A,y.encoder);return[J(Q)+"="+J(B(ue,y.encoder))]}return[J(A)+"="+J(String(ue))]}var ce=[];if(typeof ue>"u")return ce;var he;if(o(F))he=F;else{var ke=Object.keys(ue);he=O?ke.sort(O):ke}for(var L=0;L<he.length;++L){var d=he[L];R&&ue[d]===null||(o(ue)?l(ce,C(ue[d],D(A,d),D,P,R,B,F,O,N,Y,J,ie)):l(ce,C(ue[d],A+(N?"."+d:"["+d+"]"),D,P,R,B,F,O,N,Y,J,ie)))}return ce};return stringify_1=function(C,k){var A=C,D=k?t.assign({},k):{};if(D.encoder!==null&&typeof D.encoder<"u"&&typeof D.encoder!="function")throw new TypeError("Encoder has to be a function.");var P=typeof D.delimiter>"u"?y.delimiter:D.delimiter,R=typeof D.strictNullHandling=="boolean"?D.strictNullHandling:y.strictNullHandling,B=typeof D.skipNulls=="boolean"?D.skipNulls:y.skipNulls,F=typeof D.encode=="boolean"?D.encode:y.encode,O=typeof D.encoder=="function"?D.encoder:y.encoder,N=typeof D.sort=="function"?D.sort:null,Y=typeof D.allowDots>"u"?!1:D.allowDots,J=typeof D.serializeDate=="function"?D.serializeDate:y.serializeDate,ie=typeof D.encodeValuesOnly=="boolean"?D.encodeValuesOnly:y.encodeValuesOnly;if(typeof D.format>"u")D.format=e.default;else if(!Object.prototype.hasOwnProperty.call(e.formatters,D.format))throw new TypeError("Unknown format option provided.");var ue=e.formatters[D.format],Q,ce;typeof D.filter=="function"?(ce=D.filter,A=ce("",A)):o(D.filter)&&(ce=D.filter,Q=ce);var he=[];if(typeof A!="object"||A===null)return"";var ke;D.arrayFormat in n?ke=D.arrayFormat:"indices"in D?ke=D.indices?"indices":"repeat":ke="indices";var L=n[ke];Q||(Q=Object.keys(A)),N&&Q.sort(N);for(var d=0;d<Q.length;++d){var v=Q[d];B&&A[v]===null||l(he,E(A[v],v,L,R,B,F?O:null,ce,N,Y,J,ue,ie))}var w=he.join(P),c=D.addQueryPrefix===!0?"?":"";return w.length>0?c+w:""},stringify_1}var parse,hasRequiredParse;function requireParse(){if(hasRequiredParse)return parse;hasRequiredParse=1;var t=requireUtils(),e=Object.prototype.hasOwnProperty,n={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:t.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},o=function(y,E){for(var C={},k=E.ignoreQueryPrefix?y.replace(/^\?/,""):y,A=E.parameterLimit===1/0?void 0:E.parameterLimit,D=k.split(E.delimiter,A),P=0;P<D.length;++P){var R=D[P],B=R.indexOf("]="),F=B===-1?R.indexOf("="):B+1,O,N;F===-1?(O=E.decoder(R,n.decoder),N=E.strictNullHandling?null:""):(O=E.decoder(R.slice(0,F),n.decoder),N=E.decoder(R.slice(F+1),n.decoder)),e.call(C,O)?C[O]=[].concat(C[O]).concat(N):C[O]=N}return C},u=function(m,y,E){for(var C=y,k=m.length-1;k>=0;--k){var A,D=m[k];if(D==="[]"&&E.parseArrays)A=[].concat(C);else{A=E.plainObjects?Object.create(null):{};var P=D.charAt(0)==="["&&D.charAt(D.length-1)==="]"?D.slice(1,-1):D,R=parseInt(P,10);!E.parseArrays&&P===""?A={0:C}:!isNaN(R)&&D!==P&&String(R)===P&&R>=0&&E.parseArrays&&R<=E.arrayLimit?(A=[],A[R]=C):P!=="__proto__"&&(A[P]=C)}C=A}return C},l=function(y,E,C){if(y){var k=C.allowDots?y.replace(/\.([^.[]+)/g,"[$1]"):y,A=/(\[[^[\]]*])/,D=/(\[[^[\]]*])/g,P=A.exec(k),R=P?k.slice(0,P.index):k,B=[];if(R){if(!C.plainObjects&&e.call(Object.prototype,R)&&!C.allowPrototypes)return;B.push(R)}for(var F=0;(P=D.exec(k))!==null&&F<C.depth;){if(F+=1,!C.plainObjects&&e.call(Object.prototype,P[1].slice(1,-1))&&!C.allowPrototypes)return;B.push(P[1])}return P&&B.push("["+k.slice(P.index)+"]"),u(B,E,C)}};return parse=function(m,y){var E=y?t.assign({},y):{};if(E.decoder!==null&&E.decoder!==void 0&&typeof E.decoder!="function")throw new TypeError("Decoder has to be a function.");if(E.ignoreQueryPrefix=E.ignoreQueryPrefix===!0,E.delimiter=typeof E.delimiter=="string"||t.isRegExp(E.delimiter)?E.delimiter:n.delimiter,E.depth=typeof E.depth=="number"?E.depth:n.depth,E.arrayLimit=typeof E.arrayLimit=="number"?E.arrayLimit:n.arrayLimit,E.parseArrays=E.parseArrays!==!1,E.decoder=typeof E.decoder=="function"?E.decoder:n.decoder,E.allowDots=typeof E.allowDots=="boolean"?E.allowDots:n.allowDots,E.plainObjects=typeof E.plainObjects=="boolean"?E.plainObjects:n.plainObjects,E.allowPrototypes=typeof E.allowPrototypes=="boolean"?E.allowPrototypes:n.allowPrototypes,E.parameterLimit=typeof E.parameterLimit=="number"?E.parameterLimit:n.parameterLimit,E.strictNullHandling=typeof E.strictNullHandling=="boolean"?E.strictNullHandling:n.strictNullHandling,m===""||m===null||typeof m>"u")return E.plainObjects?Object.create(null):{};for(var C=typeof m=="string"?o(m,E):m,k=E.plainObjects?Object.create(null):{},A=Object.keys(C),D=0;D<A.length;++D){var P=A[D],R=l(P,C[P],E);k=t.merge(k,R,E)}return t.compact(k)},parse}var lib$1,hasRequiredLib$1;function requireLib$1(){if(hasRequiredLib$1)return lib$1;hasRequiredLib$1=1;var t=requireStringify(),e=requireParse(),n=requireFormats$1();return lib$1={formats:n,parse:e,stringify:t},lib$1}var hasRequiredQuerystring;function requireQuerystring(){if(hasRequiredQuerystring)return querystring;hasRequiredQuerystring=1;var t=requireLib$1(),e=require$$1$1;function n(o){this.request=o,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}return n.prototype.init=function(o){this.lib||(this.useQuerystring=o.useQuerystring,this.lib=this.useQuerystring?e:t,this.parseOptions=o.qsParseOptions||{},this.stringifyOptions=o.qsStringifyOptions||{})},n.prototype.stringify=function(o){return this.useQuerystring?this.rfc3986(this.lib.stringify(o,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(o,this.stringifyOptions)},n.prototype.parse=function(o){return this.useQuerystring?this.lib.parse(o,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(o,this.parseOptions)},n.prototype.rfc3986=function(o){return o.replace(/[!'()*]/g,function(u){return"%"+u.charCodeAt(0).toString(16).toUpperCase()})},n.prototype.unescape=e.unescape,querystring.Querystring=n,querystring}var har={},promise={},uri_all={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */var hasRequiredUri_all;function requireUri_all(){return hasRequiredUri_all||(hasRequiredUri_all=1,function(t,e){(function(n,o){o(e)})(commonjsGlobal$1,function(n){function o(){for(var be=arguments.length,ge=Array(be),oe=0;oe<be;oe++)ge[oe]=arguments[oe];if(ge.length>1){ge[0]=ge[0].slice(0,-1);for(var Ae=ge.length-1,qe=1;qe<Ae;++qe)ge[qe]=ge[qe].slice(1,-1);return ge[Ae]=ge[Ae].slice(1),ge.join("")}else return ge[0]}function u(be){return"(?:"+be+")"}function l(be){return be===void 0?"undefined":be===null?"null":Object.prototype.toString.call(be).split(" ").pop().split("]").shift().toLowerCase()}function m(be){return be.toUpperCase()}function y(be){return be!=null?be instanceof Array?be:typeof be.length!="number"||be.split||be.setInterval||be.call?[be]:Array.prototype.slice.call(be):[]}function E(be,ge){var oe=be;if(ge)for(var Ae in ge)oe[Ae]=ge[Ae];return oe}function C(be){var ge="[A-Za-z]",oe="[0-9]",Ae=o(oe,"[A-Fa-f]"),qe=u(u("%[EFef]"+Ae+"%"+Ae+Ae+"%"+Ae+Ae)+"|"+u("%[89A-Fa-f]"+Ae+"%"+Ae+Ae)+"|"+u("%"+Ae+Ae)),bt="[\\:\\/\\?\\#\\[\\]\\@]",at="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",gt=o(bt,at),ei=be?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF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p(o("[^\\%\\[\\]\\:]",Bi,at),"g"),NOT_PATH:new RegExp(o("[^\\%\\/\\:\\@]",Bi,at),"g"),NOT_PATH_NOSCHEME:new RegExp(o("[^\\%\\/\\@]",Bi,at),"g"),NOT_QUERY:new RegExp(o("[^\\%]",Bi,at,"[\\:\\@\\/\\?]",ii),"g"),NOT_FRAGMENT:new RegExp(o("[^\\%]",Bi,at,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(o("[^]",Bi,at),"g"),UNRESERVED:new RegExp(Bi,"g"),OTHER_CHARS:new RegExp(o("[^\\%]",Bi,gt),"g"),PCT_ENCODED:new RegExp(qe,"g"),IPV4ADDRESS:new RegExp("^("+Di+")$"),IPV6ADDRESS:new RegExp("^\\[?("+oi+")"+u(u("\\%25|\\%(?!"+Ae+"{2})")+"("+zt+")")+"?\\]?$")}}var k=C(!1),A=C(!0),D=function(){function be(ge,oe){var Ae=[],qe=!0,bt=!1,at=void 0;try{for(var gt=ge[Symbol.iterator](),ei;!(qe=(ei=gt.next()).done)&&(Ae.push(ei.value),!(oe&&Ae.length===oe));qe=!0);}catch(ii){bt=!0,at=ii}finally{try{!qe&&gt.return&&gt.return()}finally{if(bt)throw at}}return Ae}return function(ge,oe){if(Array.isArray(ge))return ge;if(Symbol.iterator in Object(ge))return be(ge,oe);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),P=function(be){if(Array.isArray(be)){for(var ge=0,oe=Array(be.length);ge<be.length;ge++)oe[ge]=be[ge];return oe}else return Array.from(be)},R=2147483647,B=36,F=1,O=26,N=38,Y=700,J=72,ie=128,ue="-",Q=/^xn--/,ce=/[^\0-\x7E]/,he=/[\x2E\u3002\uFF0E\uFF61]/g,ke={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=B-F,d=Math.floor,v=String.fromCharCode;function w(be){throw new RangeError(ke[be])}function c(be,ge){for(var oe=[],Ae=be.length;Ae--;)oe[Ae]=ge(be[Ae]);return oe}function p(be,ge){var oe=be.split("@"),Ae="";oe.length>1&&(Ae=oe[0]+"@",be=oe[1]),be=be.replace(he,".");var qe=be.split("."),bt=c(qe,ge).join(".");return Ae+bt}function x(be){for(var ge=[],oe=0,Ae=be.length;oe<Ae;){var qe=be.charCodeAt(oe++);if(qe>=55296&&qe<=56319&&oe<Ae){var bt=be.charCodeAt(oe++);(bt&64512)==56320?ge.push(((qe&1023)<<10)+(bt&1023)+65536):(ge.push(qe),oe--)}else ge.push(qe)}return ge}var S=function(ge){return String.fromCodePoint.apply(String,P(ge))},b=function(ge){return ge-48<10?ge-22:ge-65<26?ge-65:ge-97<26?ge-97:B},h=function(ge,oe){return ge+22+75*(ge<26)-((oe!=0)<<5)},T=function(ge,oe,Ae){var qe=0;for(ge=Ae?d(ge/Y):ge>>1,ge+=d(ge/oe);ge>L*O>>1;qe+=B)ge=d(ge/L);return d(qe+(L+1)*ge/(ge+N))},M=function(ge){var oe=[],Ae=ge.length,qe=0,bt=ie,at=J,gt=ge.lastIndexOf(ue);gt<0&&(gt=0);for(var ei=0;ei<gt;++ei)ge.charCodeAt(ei)>=128&&w("not-basic"),oe.push(ge.charCodeAt(ei));for(var ii=gt>0?gt+1:0;ii<Ae;){for(var Bi=qe,hi=1,Di=B;;Di+=B){ii>=Ae&&w("invalid-input");var ni=b(ge.charCodeAt(ii++));(ni>=B||ni>d((R-qe)/hi))&&w("overflow"),qe+=ni*hi;var pi=Di<=at?F:Di>=at+O?O:Di-at;if(ni<pi)break;var Ii=B-pi;hi>d(R/Ii)&&w("overflow"),hi*=Ii}var Ci=oe.length+1;at=T(qe-Bi,Ci,Bi==0),d(qe/Ci)>R-bt&&w("overflow"),bt+=d(qe/Ci),qe%=Ci,oe.splice(qe++,0,bt)}return String.fromCodePoint.apply(String,oe)},j=function(ge){var oe=[];ge=x(ge);var Ae=ge.length,qe=ie,bt=0,at=J,gt=!0,ei=!1,ii=void 0;try{for(var Bi=ge[Symbol.iterator](),hi;!(gt=(hi=Bi.next()).done);gt=!0){var Di=hi.value;Di<128&&oe.push(v(Di))}}catch(Gi){ei=!0,ii=Gi}finally{try{!gt&&Bi.return&&Bi.return()}finally{if(ei)throw ii}}var ni=oe.length,pi=ni;for(ni&&oe.push(ue);pi<Ae;){var Ii=R,Ci=!0,zi=!1,qi=void 0;try{for(var Ai=ge[Symbol.iterator](),ji;!(Ci=(ji=Ai.next()).done);Ci=!0){var ki=ji.value;ki>=qe&&ki<Ii&&(Ii=ki)}}catch(Gi){zi=!0,qi=Gi}finally{try{!Ci&&Ai.return&&Ai.return()}finally{if(zi)throw qi}}var Ti=pi+1;Ii-qe>d((R-bt)/Ti)&&w("overflow"),bt+=(Ii-qe)*Ti,qe=Ii;var wi=!0,oi=!1,zt=void 0;try{for(var Qt=ge[Symbol.iterator](),Si;!(wi=(Si=Qt.next()).done);wi=!0){var mi=Si.value;if(mi<qe&&++bt>R&&w("overflow"),mi==qe){for(var ai=bt,gi=B;;gi+=B){var Hi=gi<=at?F:gi>=at+O?O:gi-at;if(ai<Hi)break;var or=ai-Hi,nr=B-Hi;oe.push(v(h(Hi+or%nr,0))),ai=d(or/nr)}oe.push(v(h(ai,0))),at=T(bt,Ti,pi==ni),bt=0,++pi}}}catch(Gi){oi=!0,zt=Gi}finally{try{!wi&&Qt.return&&Qt.return()}finally{if(oi)throw zt}}++bt,++qe}return oe.join("")},V=function(ge){return p(ge,function(oe){return Q.test(oe)?M(oe.slice(4).toLowerCase()):oe})},ee=function(ge){return p(ge,function(oe){return ce.test(oe)?"xn--"+j(oe):oe})},Z={version:"2.1.0",ucs2:{decode:x,encode:S},decode:M,encode:j,toASCII:ee,toUnicode:V},U={};function z(be){var ge=be.charCodeAt(0),oe=void 0;return ge<16?oe="%0"+ge.toString(16).toUpperCase():ge<128?oe="%"+ge.toString(16).toUpperCase():ge<2048?oe="%"+(ge>>6|192).toString(16).toUpperCase()+"%"+(ge&63|128).toString(16).toUpperCase():oe="%"+(ge>>12|224).toString(16).toUpperCase()+"%"+(ge>>6&63|128).toString(16).toUpperCase()+"%"+(ge&63|128).toString(16).toUpperCase(),oe}function ne(be){for(var ge="",oe=0,Ae=be.length;oe<Ae;){var qe=parseInt(be.substr(oe+1,2),16);if(qe<128)ge+=String.fromCharCode(qe),oe+=3;else if(qe>=194&&qe<224){if(Ae-oe>=6){var bt=parseInt(be.substr(oe+4,2),16);ge+=String.fromCharCode((qe&31)<<6|bt&63)}else ge+=be.substr(oe,6);oe+=6}else if(qe>=224){if(Ae-oe>=9){var at=parseInt(be.substr(oe+4,2),16),gt=parseInt(be.substr(oe+7,2),16);ge+=String.fromCharCode((qe&15)<<12|(at&63)<<6|gt&63)}else ge+=be.substr(oe,9);oe+=9}else ge+=be.substr(oe,3),oe+=3}return ge}function fe(be,ge){function oe(Ae){var qe=ne(Ae);return qe.match(ge.UNRESERVED)?qe:Ae}return be.scheme&&(be.scheme=String(be.scheme).replace(ge.PCT_ENCODED,oe).toLowerCase().replace(ge.NOT_SCHEME,"")),be.userinfo!==void 0&&(be.userinfo=String(be.userinfo).replace(ge.PCT_ENCODED,oe).replace(ge.NOT_USERINFO,z).replace(ge.PCT_ENCODED,m)),be.host!==void 0&&(be.host=String(be.host).replace(ge.PCT_ENCODED,oe).toLowerCase().replace(ge.NOT_HOST,z).replace(ge.PCT_ENCODED,m)),be.path!==void 0&&(be.path=String(be.path).replace(ge.PCT_ENCODED,oe).replace(be.scheme?ge.NOT_PATH:ge.NOT_PATH_NOSCHEME,z).replace(ge.PCT_ENCODED,m)),be.query!==void 0&&(be.query=String(be.query).replace(ge.PCT_ENCODED,oe).replace(ge.NOT_QUERY,z).replace(ge.PCT_ENCODED,m)),be.fragment!==void 0&&(be.fragment=String(be.fragment).replace(ge.PCT_ENCODED,oe).replace(ge.NOT_FRAGMENT,z).replace(ge.PCT_ENCODED,m)),be}function me(be){return be.replace(/^0*(.*)/,"$1")||"0"}function de(be,ge){var oe=be.match(ge.IPV4ADDRESS)||[],Ae=D(oe,2),qe=Ae[1];return qe?qe.split(".").map(me).join("."):be}function Oe(be,ge){var oe=be.match(ge.IPV6ADDRESS)||[],Ae=D(oe,3),qe=Ae[1],bt=Ae[2];if(qe){for(var at=qe.toLowerCase().split("::").reverse(),gt=D(at,2),ei=gt[0],ii=gt[1],Bi=ii?ii.split(":").map(me):[],hi=ei.split(":").map(me),Di=ge.IPV4ADDRESS.test(hi[hi.length-1]),ni=Di?7:8,pi=hi.length-ni,Ii=Array(ni),Ci=0;Ci<ni;++Ci)Ii[Ci]=Bi[Ci]||hi[pi+Ci]||"";Di&&(Ii[ni-1]=de(Ii[ni-1],ge));var zi=Ii.reduce(function(Ti,wi,oi){if(!wi||wi==="0"){var zt=Ti[Ti.length-1];zt&&zt.index+zt.length===oi?zt.length++:Ti.push({index:oi,length:1})}return Ti},[]),qi=zi.sort(function(Ti,wi){return wi.length-Ti.length})[0],Ai=void 0;if(qi&&qi.length>1){var ji=Ii.slice(0,qi.index),ki=Ii.slice(qi.index+qi.length);Ai=ji.join(":")+"::"+ki.join(":")}else Ai=Ii.join(":");return bt&&(Ai+="%"+bt),Ai}else return be}var lt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,it="".match(/(){0}/)[1]===void 0;function ot(be){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oe={},Ae=ge.iri!==!1?A:k;ge.reference==="suffix"&&(be=(ge.scheme?ge.scheme+":":"")+"//"+be);var qe=be.match(lt);if(qe){it?(oe.scheme=qe[1],oe.userinfo=qe[3],oe.host=qe[4],oe.port=parseInt(qe[5],10),oe.path=qe[6]||"",oe.query=qe[7],oe.fragment=qe[8],isNaN(oe.port)&&(oe.port=qe[5])):(oe.scheme=qe[1]||void 0,oe.userinfo=be.indexOf("@")!==-1?qe[3]:void 0,oe.host=be.indexOf("//")!==-1?qe[4]:void 0,oe.port=parseInt(qe[5],10),oe.path=qe[6]||"",oe.query=be.indexOf("?")!==-1?qe[7]:void 0,oe.fragment=be.indexOf("#")!==-1?qe[8]:void 0,isNaN(oe.port)&&(oe.port=be.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?qe[4]:void 0)),oe.host&&(oe.host=Oe(de(oe.host,Ae),Ae)),oe.scheme===void 0&&oe.userinfo===void 0&&oe.host===void 0&&oe.port===void 0&&!oe.path&&oe.query===void 0?oe.reference="same-document":oe.scheme===void 0?oe.reference="relative":oe.fragment===void 0?oe.reference="absolute":oe.reference="uri",ge.reference&&ge.reference!=="suffix"&&ge.reference!==oe.reference&&(oe.error=oe.error||"URI is not a "+ge.reference+" reference.");var bt=U[(ge.scheme||oe.scheme||"").toLowerCase()];if(!ge.unicodeSupport&&(!bt||!bt.unicodeSupport)){if(oe.host&&(ge.domainHost||bt&&bt.domainHost))try{oe.host=Z.toASCII(oe.host.replace(Ae.PCT_ENCODED,ne).toLowerCase())}catch(at){oe.error=oe.error||"Host's domain name can not be converted to ASCII via punycode: "+at}fe(oe,k)}else fe(oe,Ae);bt&&bt.parse&&bt.parse(oe,ge)}else oe.error=oe.error||"URI can not be parsed.";return oe}function Ct(be,ge){var oe=ge.iri!==!1?A:k,Ae=[];return be.userinfo!==void 0&&(Ae.push(be.userinfo),Ae.push("@")),be.host!==void 0&&Ae.push(Oe(de(String(be.host),oe),oe).replace(oe.IPV6ADDRESS,function(qe,bt,at){return"["+bt+(at?"%25"+at:"")+"]"})),(typeof be.port=="number"||typeof be.port=="string")&&(Ae.push(":"),Ae.push(String(be.port))),Ae.length?Ae.join(""):void 0}var nt=/^\.\.?\//,Je=/^\/\.(\/|$)/,tt=/^\/\.\.(\/|$)/,rt=/^\/?(?:.|\n)*?(?=\/|$)/;function ht(be){for(var ge=[];be.length;)if(be.match(nt))be=be.replace(nt,"");else if(be.match(Je))be=be.replace(Je,"/");else if(be.match(tt))be=be.replace(tt,"/"),ge.pop();else if(be==="."||be==="..")be="";else{var oe=be.match(rt);if(oe){var Ae=oe[0];be=be.slice(Ae.length),ge.push(Ae)}else throw new Error("Unexpected dot segment condition")}return ge.join("")}function jt(be){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oe=ge.iri?A:k,Ae=[],qe=U[(ge.scheme||be.scheme||"").toLowerCase()];if(qe&&qe.serialize&&qe.serialize(be,ge),be.host&&!oe.IPV6ADDRESS.test(be.host)){if(ge.domainHost||qe&&qe.domainHost)try{be.host=ge.iri?Z.toUnicode(be.host):Z.toASCII(be.host.replace(oe.PCT_ENCODED,ne).toLowerCase())}catch(gt){be.error=be.error||"Host's domain name can not be converted to "+(ge.iri?"Unicode":"ASCII")+" via punycode: "+gt}}fe(be,oe),ge.reference!=="suffix"&&be.scheme&&(Ae.push(be.scheme),Ae.push(":"));var bt=Ct(be,ge);if(bt!==void 0&&(ge.reference!=="suffix"&&Ae.push("//"),Ae.push(bt),be.path&&be.path.charAt(0)!=="/"&&Ae.push("/")),be.path!==void 0){var at=be.path;!ge.absolutePath&&(!qe||!qe.absolutePath)&&(at=ht(at)),bt===void 0&&(at=at.replace(/^\/\//,"/%2F")),Ae.push(at)}return be.query!==void 0&&(Ae.push("?"),Ae.push(be.query)),be.fragment!==void 0&&(Ae.push("#"),Ae.push(be.fragment)),Ae.join("")}function Ve(be,ge){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ae=arguments[3],qe={};return Ae||(be=ot(jt(be,oe),oe),ge=ot(jt(ge,oe),oe)),oe=oe||{},!oe.tolerant&&ge.scheme?(qe.scheme=ge.scheme,qe.userinfo=ge.userinfo,qe.host=ge.host,qe.port=ge.port,qe.path=ht(ge.path||""),qe.query=ge.query):(ge.userinfo!==void 0||ge.host!==void 0||ge.port!==void 0?(qe.userinfo=ge.userinfo,qe.host=ge.host,qe.port=ge.port,qe.path=ht(ge.path||""),qe.query=ge.query):(ge.path?(ge.path.charAt(0)==="/"?qe.path=ht(ge.path):((be.userinfo!==void 0||be.host!==void 0||be.port!==void 0)&&!be.path?qe.path="/"+ge.path:be.path?qe.path=be.path.slice(0,be.path.lastIndexOf("/")+1)+ge.path:qe.path=ge.path,qe.path=ht(qe.path)),qe.query=ge.query):(qe.path=be.path,ge.query!==void 0?qe.query=ge.query:qe.query=be.query),qe.userinfo=be.userinfo,qe.host=be.host,qe.port=be.port),qe.scheme=be.scheme),qe.fragment=ge.fragment,qe}function We(be,ge,oe){var Ae=E({scheme:"null"},oe);return jt(Ve(ot(be,Ae),ot(ge,Ae),Ae,!0),Ae)}function Gt(be,ge){return typeof be=="string"?be=jt(ot(be,ge),ge):l(be)==="object"&&(be=ot(jt(be,ge),ge)),be}function wt(be,ge,oe){return typeof be=="string"?be=jt(ot(be,oe),oe):l(be)==="object"&&(be=jt(be,oe)),typeof ge=="string"?ge=jt(ot(ge,oe),oe):l(ge)==="object"&&(ge=jt(ge,oe)),be===ge}function Et(be,ge){return be&&be.toString().replace(!ge||!ge.iri?k.ESCAPE:A.ESCAPE,z)}function Yt(be,ge){return be&&be.toString().replace(!ge||!ge.iri?k.PCT_ENCODED:A.PCT_ENCODED,ne)}var Ce={scheme:"http",domainHost:!0,parse:function(ge,oe){return ge.host||(ge.error=ge.error||"HTTP URIs must have a host."),ge},serialize:function(ge,oe){var Ae=String(ge.scheme).toLowerCase()==="https";return(ge.port===(Ae?443:80)||ge.port==="")&&(ge.port=void 0),ge.path||(ge.path="/"),ge}},te={scheme:"https",domainHost:Ce.domainHost,parse:Ce.parse,serialize:Ce.serialize};function ye(be){return typeof be.secure=="boolean"?be.secure:String(be.scheme).toLowerCase()==="wss"}var Le={scheme:"ws",domainHost:!0,parse:function(ge,oe){var Ae=ge;return Ae.secure=ye(Ae),Ae.resourceName=(Ae.path||"/")+(Ae.query?"?"+Ae.query:""),Ae.path=void 0,Ae.query=void 0,Ae},serialize:function(ge,oe){if((ge.port===(ye(ge)?443:80)||ge.port==="")&&(ge.port=void 0),typeof ge.secure=="boolean"&&(ge.scheme=ge.secure?"wss":"ws",ge.secure=void 0),ge.resourceName){var Ae=ge.resourceName.split("?"),qe=D(Ae,2),bt=qe[0],at=qe[1];ge.path=bt&&bt!=="/"?bt:void 0,ge.query=at,ge.resourceName=void 0}return ge.fragment=void 0,ge}},Ue={scheme:"wss",domainHost:Le.domainHost,parse:Le.parse,serialize:Le.serialize},Qe={},Ke="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",De="[0-9A-Fa-f]",Vt=u(u("%[EFef]"+De+"%"+De+De+"%"+De+De)+"|"+u("%[89A-Fa-f]"+De+"%"+De+De)+"|"+u("%"+De+De)),At="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",ve="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Pt=o(ve,'[\\"\\\\]'),pt="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Ne=new RegExp(Ke,"g"),vt=new RegExp(Vt,"g"),ut=new RegExp(o("[^]",At,"[\\.]",'[\\"]',Pt),"g"),$t=new RegExp(o("[^]",Ke,pt),"g"),fi=$t;function kt(be){var ge=ne(be);return ge.match(Ne)?ge:be}var Wt={scheme:"mailto",parse:function(ge,oe){var Ae=ge,qe=Ae.to=Ae.path?Ae.path.split(","):[];if(Ae.path=void 0,Ae.query){for(var bt=!1,at={},gt=Ae.query.split("&"),ei=0,ii=gt.length;ei<ii;++ei){var Bi=gt[ei].split("=");switch(Bi[0]){case"to":for(var hi=Bi[1].split(","),Di=0,ni=hi.length;Di<ni;++Di)qe.push(hi[Di]);break;case"subject":Ae.subject=Yt(Bi[1],oe);break;case"body":Ae.body=Yt(Bi[1],oe);break;default:bt=!0,at[Yt(Bi[0],oe)]=Yt(Bi[1],oe);break}}bt&&(Ae.headers=at)}Ae.query=void 0;for(var pi=0,Ii=qe.length;pi<Ii;++pi){var Ci=qe[pi].split("@");if(Ci[0]=Yt(Ci[0]),oe.unicodeSupport)Ci[1]=Yt(Ci[1],oe).toLowerCase();else try{Ci[1]=Z.toASCII(Yt(Ci[1],oe).toLowerCase())}catch(zi){Ae.error=Ae.error||"Email address's domain name can not be converted to ASCII via punycode: "+zi}qe[pi]=Ci.join("@")}return Ae},serialize:function(ge,oe){var Ae=ge,qe=y(ge.to);if(qe){for(var bt=0,at=qe.length;bt<at;++bt){var gt=String(qe[bt]),ei=gt.lastIndexOf("@"),ii=gt.slice(0,ei).replace(vt,kt).replace(vt,m).replace(ut,z),Bi=gt.slice(ei+1);try{Bi=oe.iri?Z.toUnicode(Bi):Z.toASCII(Yt(Bi,oe).toLowerCase())}catch(pi){Ae.error=Ae.error||"Email address's domain name can not be converted to "+(oe.iri?"Unicode":"ASCII")+" via punycode: "+pi}qe[bt]=ii+"@"+Bi}Ae.path=qe.join(",")}var hi=ge.headers=ge.headers||{};ge.subject&&(hi.subject=ge.subject),ge.body&&(hi.body=ge.body);var Di=[];for(var ni in hi)hi[ni]!==Qe[ni]&&Di.push(ni.replace(vt,kt).replace(vt,m).replace($t,z)+"="+hi[ni].replace(vt,kt).replace(vt,m).replace(fi,z));return Di.length&&(Ae.query=Di.join("&")),Ae}},Zi=/^([^\:]+)\:(.*)/,Ut={scheme:"urn",parse:function(ge,oe){var Ae=ge.path&&ge.path.match(Zi),qe=ge;if(Ae){var bt=oe.scheme||qe.scheme||"urn",at=Ae[1].toLowerCase(),gt=Ae[2],ei=bt+":"+(oe.nid||at),ii=U[ei];qe.nid=at,qe.nss=gt,qe.path=void 0,ii&&(qe=ii.parse(qe,oe))}else qe.error=qe.error||"URN can not be parsed.";return qe},serialize:function(ge,oe){var Ae=oe.scheme||ge.scheme||"urn",qe=ge.nid,bt=Ae+":"+(oe.nid||qe),at=U[bt];at&&(ge=at.serialize(ge,oe));var gt=ge,ei=ge.nss;return gt.path=(qe||oe.nid)+":"+ei,gt}},Xt=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Be={scheme:"urn:uuid",parse:function(ge,oe){var Ae=ge;return Ae.uuid=Ae.nss,Ae.nss=void 0,!oe.tolerant&&(!Ae.uuid||!Ae.uuid.match(Xt))&&(Ae.error=Ae.error||"UUID is not valid."),Ae},serialize:function(ge,oe){var Ae=ge;return Ae.nss=(ge.uuid||"").toLowerCase(),Ae}};U[Ce.scheme]=Ce,U[te.scheme]=te,U[Le.scheme]=Le,U[Ue.scheme]=Ue,U[Wt.scheme]=Wt,U[Ut.scheme]=Ut,U[Be.scheme]=Be,n.SCHEMES=U,n.pctEncChar=z,n.pctDecChars=ne,n.parse=ot,n.removeDotSegments=ht,n.serialize=jt,n.resolveComponents=Ve,n.resolve=We,n.normalize=Gt,n.equal=wt,n.escapeComponent=Et,n.unescapeComponent=Yt,Object.defineProperty(n,"__esModule",{value:!0})})}(uri_all,uri_all.exports)),uri_all.exports}var fastDeepEqual,hasRequiredFastDeepEqual;function requireFastDeepEqual(){return hasRequiredFastDeepEqual||(hasRequiredFastDeepEqual=1,fastDeepEqual=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var o,u,l;if(Array.isArray(e)){if(o=e.length,o!=n.length)return!1;for(u=o;u--!==0;)if(!t(e[u],n[u]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(l=Object.keys(e),o=l.length,o!==Object.keys(n).length)return!1;for(u=o;u--!==0;)if(!Object.prototype.hasOwnProperty.call(n,l[u]))return!1;for(u=o;u--!==0;){var m=l[u];if(!t(e[m],n[m]))return!1}return!0}return e!==e&&n!==n}),fastDeepEqual}var ucs2length,hasRequiredUcs2length;function requireUcs2length(){return hasRequiredUcs2length||(hasRequiredUcs2length=1,ucs2length=function(e){for(var n=0,o=e.length,u=0,l;u<o;)n++,l=e.charCodeAt(u++),l>=55296&&l<=56319&&u<o&&(l=e.charCodeAt(u),(l&64512)==56320&&u++);return n}),ucs2length}var util,hasRequiredUtil;function requireUtil(){if(hasRequiredUtil)return util;hasRequiredUtil=1,util={copy:t,checkDataType:e,checkDataTypes:n,coerceToTypes:u,toHash:l,getProperty:E,escapeQuotes:C,equal:requireFastDeepEqual(),ucs2length:requireUcs2length(),varOccurences:k,varReplace:A,schemaHasRules:D,schemaHasRulesExcept:P,schemaUnknownRules:R,toQuotedString:B,getPathExpr:F,getPath:O,getData:J,unescapeFragment:ue,unescapeJsonPointer:he,escapeFragment:Q,escapeJsonPointer:ce};function t(ke,L){L=L||{};for(var d in ke)L[d]=ke[d];return L}function e(ke,L,d,v){var w=v?" !== ":" === ",c=v?" || ":" && ",p=v?"!":"",x=v?"":"!";switch(ke){case"null":return L+w+"null";case"array":return p+"Array.isArray("+L+")";case"object":return"("+p+L+c+"typeof "+L+w+'"object"'+c+x+"Array.isArray("+L+"))";case"integer":return"(typeof "+L+w+'"number"'+c+x+"("+L+" % 1)"+c+L+w+L+(d?c+p+"isFinite("+L+")":"")+")";case"number":return"(typeof "+L+w+'"'+ke+'"'+(d?c+p+"isFinite("+L+")":"")+")";default:return"typeof "+L+w+'"'+ke+'"'}}function n(ke,L,d){switch(ke.length){case 1:return e(ke[0],L,d,!0);default:var v="",w=l(ke);w.array&&w.object&&(v=w.null?"(":"(!"+L+" || ",v+="typeof "+L+' !== "object")',delete w.null,delete w.array,delete w.object),w.number&&delete w.integer;for(var c in w)v+=(v?" && ":"")+e(c,L,d,!0);return v}}var o=l(["string","number","integer","boolean","null"]);function u(ke,L){if(Array.isArray(L)){for(var d=[],v=0;v<L.length;v++){var w=L[v];(o[w]||ke==="array"&&w==="array")&&(d[d.length]=w)}if(d.length)return d}else{if(o[L])return[L];if(ke==="array"&&L==="array")return["array"]}}function l(ke){for(var L={},d=0;d<ke.length;d++)L[ke[d]]=!0;return L}var m=/^[a-z$_][a-z$_0-9]*$/i,y=/'|\\/g;function E(ke){return typeof ke=="number"?"["+ke+"]":m.test(ke)?"."+ke:"['"+C(ke)+"']"}function C(ke){return ke.replace(y,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function k(ke,L){L+="[^0-9]";var d=ke.match(new RegExp(L,"g"));return d?d.length:0}function A(ke,L,d){return L+="([^0-9])",d=d.replace(/\$/g,"$$$$"),ke.replace(new RegExp(L,"g"),d+"$1")}function D(ke,L){if(typeof ke=="boolean")return!ke;for(var d in ke)if(L[d])return!0}function P(ke,L,d){if(typeof ke=="boolean")return!ke&&d!="not";for(var v in ke)if(v!=d&&L[v])return!0}function R(ke,L){if(typeof ke!="boolean"){for(var d in ke)if(!L[d])return d}}function B(ke){return"'"+C(ke)+"'"}function F(ke,L,d,v){var w=d?"'/' + "+L+(v?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):v?"'[' + "+L+" + ']'":"'[\\'' + "+L+" + '\\']'";return ie(ke,w)}function O(ke,L,d){var v=B(d?"/"+ce(L):E(L));return ie(ke,v)}var N=/^\/(?:[^~]|~0|~1)*$/,Y=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function J(ke,L,d){var v,w,c,p;if(ke==="")return"rootData";if(ke[0]=="/"){if(!N.test(ke))throw new Error("Invalid JSON-pointer: "+ke);w=ke,c="rootData"}else{if(p=ke.match(Y),!p)throw new Error("Invalid JSON-pointer: "+ke);if(v=+p[1],w=p[2],w=="#"){if(v>=L)throw new Error("Cannot access property/index "+v+" levels up, current level is "+L);return d[L-v]}if(v>L)throw new Error("Cannot access data "+v+" levels up, current level is "+L);if(c="data"+(L-v||""),!w)return c}for(var x=c,S=w.split("/"),b=0;b<S.length;b++){var h=S[b];h&&(c+=E(he(h)),x+=" && "+c)}return x}function ie(ke,L){return ke=='""'?L:(ke+" + "+L).replace(/([^\\])' \+ '/g,"$1")}function ue(ke){return he(decodeURIComponent(ke))}function Q(ke){return encodeURIComponent(ce(ke))}function ce(ke){return ke.replace(/~/g,"~0").replace(/\//g,"~1")}function he(ke){return ke.replace(/~1/g,"/").replace(/~0/g,"~")}return util}var schema_obj,hasRequiredSchema_obj;function requireSchema_obj(){if(hasRequiredSchema_obj)return schema_obj;hasRequiredSchema_obj=1;var t=requireUtil();schema_obj=e;function e(n){t.copy(n,this)}return schema_obj}var jsonSchemaTraverse={exports:{}},hasRequiredJsonSchemaTraverse;function requireJsonSchemaTraverse(){if(hasRequiredJsonSchemaTraverse)return jsonSchemaTraverse.exports;hasRequiredJsonSchemaTraverse=1;var t=jsonSchemaTraverse.exports=function(o,u,l){typeof u=="function"&&(l=u,u={}),l=u.cb||l;var m=typeof l=="function"?l:l.pre||function(){},y=l.post||function(){};e(u,m,y,o,"",o)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function e(o,u,l,m,y,E,C,k,A,D){if(m&&typeof m=="object"&&!Array.isArray(m)){u(m,y,E,C,k,A,D);for(var P in m){var R=m[P];if(Array.isArray(R)){if(P in t.arrayKeywords)for(var B=0;B<R.length;B++)e(o,u,l,R[B],y+"/"+P+"/"+B,E,y,P,m,B)}else if(P in t.propsKeywords){if(R&&typeof R=="object")for(var F in R)e(o,u,l,R[F],y+"/"+P+"/"+n(F),E,y,P,m,F)}else(P in t.keywords||o.allKeys&&!(P in t.skipKeywords))&&e(o,u,l,R,y+"/"+P,E,y,P,m)}l(m,y,E,C,k,A,D)}}function n(o){return o.replace(/~/g,"~0").replace(/\//g,"~1")}return jsonSchemaTraverse.exports}var resolve_1,hasRequiredResolve;function requireResolve(){if(hasRequiredResolve)return resolve_1;hasRequiredResolve=1;var t=requireUri_all(),e=requireFastDeepEqual(),n=requireUtil(),o=requireSchema_obj(),u=requireJsonSchemaTraverse();resolve_1=l,l.normalizeId=O,l.fullPath=R,l.url=N,l.ids=Y,l.inlineRef=A,l.schema=m;function l(J,ie,ue){var Q=this._refs[ue];if(typeof Q=="string")if(this._refs[Q])Q=this._refs[Q];else return l.call(this,J,ie,Q);if(Q=Q||this._schemas[ue],Q instanceof o)return A(Q.schema,this._opts.inlineRefs)?Q.schema:Q.validate||this._compile(Q);var ce=m.call(this,ie,ue),he,ke,L;return ce&&(he=ce.schema,ie=ce.root,L=ce.baseId),he instanceof o?ke=he.validate||J.call(this,he.schema,ie,void 0,L):he!==void 0&&(ke=A(he,this._opts.inlineRefs)?he:J.call(this,he,ie,void 0,L)),ke}function m(J,ie){var ue=t.parse(ie),Q=B(ue),ce=R(this._getId(J.schema));if(Object.keys(J.schema).length===0||Q!==ce){var he=O(Q),ke=this._refs[he];if(typeof ke=="string")return y.call(this,J,ke,ue);if(ke instanceof o)ke.validate||this._compile(ke),J=ke;else if(ke=this._schemas[he],ke instanceof o){if(ke.validate||this._compile(ke),he==O(ie))return{schema:ke,root:J,baseId:ce};J=ke}else return;if(!J.schema)return;ce=R(this._getId(J.schema))}return C.call(this,ue,ce,J.schema,J)}function y(J,ie,ue){var Q=m.call(this,J,ie);if(Q){var ce=Q.schema,he=Q.baseId;J=Q.root;var ke=this._getId(ce);return ke&&(he=N(he,ke)),C.call(this,ue,he,ce,J)}}var E=n.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function C(J,ie,ue,Q){if(J.fragment=J.fragment||"",J.fragment.slice(0,1)=="/"){for(var ce=J.fragment.split("/"),he=1;he<ce.length;he++){var ke=ce[he];if(ke){if(ke=n.unescapeFragment(ke),ue=ue[ke],ue===void 0)break;var L;if(!E[ke]&&(L=this._getId(ue),L&&(ie=N(ie,L)),ue.$ref)){var d=N(ie,ue.$ref),v=m.call(this,Q,d);v&&(ue=v.schema,Q=v.root,ie=v.baseId)}}}if(ue!==void 0&&ue!==Q.schema)return{schema:ue,root:Q,baseId:ie}}}var k=n.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function A(J,ie){if(ie===!1)return!1;if(ie===void 0||ie===!0)return D(J);if(ie)return P(J)<=ie}function D(J){var ie;if(Array.isArray(J)){for(var ue=0;ue<J.length;ue++)if(ie=J[ue],typeof ie=="object"&&!D(ie))return!1}else for(var Q in J)if(Q=="$ref"||(ie=J[Q],typeof ie=="object"&&!D(ie)))return!1;return!0}function P(J){var ie=0,ue;if(Array.isArray(J)){for(var Q=0;Q<J.length;Q++)if(ue=J[Q],typeof ue=="object"&&(ie+=P(ue)),ie==1/0)return 1/0}else for(var ce in J){if(ce=="$ref")return 1/0;if(k[ce])ie++;else if(ue=J[ce],typeof ue=="object"&&(ie+=P(ue)+1),ie==1/0)return 1/0}return ie}function R(J,ie){ie!==!1&&(J=O(J));var ue=t.parse(J);return B(ue)}function B(J){return t.serialize(J).split("#")[0]+"#"}var F=/#\/?$/;function O(J){return J?J.replace(F,""):""}function N(J,ie){return ie=O(ie),t.resolve(J,ie)}function Y(J){var ie=O(this._getId(J)),ue={"":ie},Q={"":R(ie,!1)},ce={},he=this;return u(J,{allKeys:!0},function(ke,L,d,v,w,c,p){if(L!==""){var x=he._getId(ke),S=ue[v],b=Q[v]+"/"+w;if(p!==void 0&&(b+="/"+(typeof p=="number"?p:n.escapeFragment(p))),typeof x=="string"){x=S=O(S?t.resolve(S,x):x);var h=he._refs[x];if(typeof h=="string"&&(h=he._refs[h]),h&&h.schema){if(!e(ke,h.schema))throw new Error('id "'+x+'" resolves to more than one schema')}else if(x!=O(b))if(x[0]=="#"){if(ce[x]&&!e(ke,ce[x]))throw new Error('id "'+x+'" resolves to more than one schema');ce[x]=ke}else he._refs[x]=b}ue[L]=S,Q[L]=b}}),ce}return resolve_1}var error_classes,hasRequiredError_classes;function requireError_classes(){if(hasRequiredError_classes)return error_classes;hasRequiredError_classes=1;var t=requireResolve();error_classes={Validation:o(e),MissingRef:o(n)};function e(u){this.message="validation failed",this.errors=u,this.ajv=this.validation=!0}n.message=function(u,l){return"can't resolve reference "+l+" from id "+u};function n(u,l,m){this.message=m||n.message(u,l),this.missingRef=t.url(u,l),this.missingSchema=t.normalizeId(t.fullPath(this.missingRef))}function o(u){return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}return error_classes}var fastJsonStableStringify,hasRequiredFastJsonStableStringify;function requireFastJsonStableStringify(){return hasRequiredFastJsonStableStringify||(hasRequiredFastJsonStableStringify=1,fastJsonStableStringify=function(t,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var n=typeof e.cycles=="boolean"?e.cycles:!1,o=e.cmp&&function(l){return function(m){return function(y,E){var C={key:y,value:m[y]},k={key:E,value:m[E]};return l(C,k)}}}(e.cmp),u=[];return function l(m){if(m&&m.toJSON&&typeof m.toJSON=="function"&&(m=m.toJSON()),m!==void 0){if(typeof m=="number")return isFinite(m)?""+m:"null";if(typeof m!="object")return JSON.stringify(m);var y,E;if(Array.isArray(m)){for(E="[",y=0;y<m.length;y++)y&&(E+=","),E+=l(m[y])||"null";return E+"]"}if(m===null)return"null";if(u.indexOf(m)!==-1){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var C=u.push(m)-1,k=Object.keys(m).sort(o&&o(m));for(E="",y=0;y<k.length;y++){var A=k[y],D=l(m[A]);D&&(E&&(E+=","),E+=JSON.stringify(A)+":"+D)}return u.splice(C,1),"{"+E+"}"}}(t)}),fastJsonStableStringify}var validate,hasRequiredValidate;function requireValidate(){return hasRequiredValidate||(hasRequiredValidate=1,validate=function(e,n,o){var u="",l=e.schema.$async===!0,m=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),y=e.self._getId(e.schema);if(e.opts.strictKeywords){var E=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(E){var C="unknown keyword: "+E;if(e.opts.strictKeywords==="log")e.logger.warn(C);else throw new Error(C)}}if(e.isTop&&(u+=" var validate = ",l&&(e.async=!0,u+="async "),u+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",y&&(e.opts.sourceCode||e.opts.processCode)&&(u+=" "+("/*# sourceURL="+y+" */")+" ")),typeof e.schema=="boolean"||!(m||e.schema.$ref)){var n="false schema",k=e.level,A=e.dataLevel,D=e.schema[n],P=e.schemaPath+e.util.getProperty(n),R=e.errSchemaPath+"/"+n,ie=!e.opts.allErrors,ce,B="data"+(A||""),J="valid"+k;if(e.schema===!1){e.isTop?ie=!0:u+=" var "+J+" = false; ";var F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(ce||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(R)+" , params: {} ",e.opts.messages!==!1&&(u+=" , message: 'boolean schema is false' "),e.opts.verbose&&(u+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+B+" "),u+=" } "):u+=" {} ";var O=u;u=F.pop(),!e.compositeRule&&ie?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?l?u+=" return data; ":u+=" validate.errors = null; return true; ":u+=" var "+J+" = true; ";return e.isTop&&(u+=" }; return validate; "),u}if(e.isTop){var N=e.isTop,k=e.level=0,A=e.dataLevel=0,B="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var Y="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(Y);else throw new Error(Y)}u+=" var vErrors = null; ",u+=" var errors = 0;     ",u+=" if (rootData === undefined) rootData = data; "}else{var k=e.level,A=e.dataLevel,B="data"+(A||"");if(y&&(e.baseId=e.resolve.url(e.baseId,y)),l&&!e.async)throw new Error("async schema in sync schema");u+=" var errs_"+k+" = errors;"}var J="valid"+k,ie=!e.opts.allErrors,ue="",Q="",ce,he=e.schema.type,ke=Array.isArray(he);if(he&&e.opts.nullable&&e.schema.nullable===!0&&(ke?he.indexOf("null")==-1&&(he=he.concat("null")):he!="null"&&(he=[he,"null"],ke=!0)),ke&&he.length==1&&(he=he[0],ke=!1),e.schema.$ref&&m){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(m=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(u+=" "+e.RULES.all.$comment.code(e,"$comment")),he){if(e.opts.coerceTypes)var L=e.util.coerceToTypes(e.opts.coerceTypes,he);var d=e.RULES.types[he];if(L||ke||d===!0||d&&!Je(d)){var P=e.schemaPath+".type",R=e.errSchemaPath+"/type",P=e.schemaPath+".type",R=e.errSchemaPath+"/type",v=ke?"checkDataTypes":"checkDataType";if(u+=" if ("+e.util[v](he,B,e.opts.strictNumbers,!0)+") { ",L){var w="dataType"+k,c="coerced"+k;u+=" var "+w+" = typeof "+B+"; var "+c+" = undefined; ",e.opts.coerceTypes=="array"&&(u+=" if ("+w+" == 'object' && Array.isArray("+B+") && "+B+".length == 1) { "+B+" = "+B+"[0]; "+w+" = typeof "+B+"; if ("+e.util.checkDataType(e.schema.type,B,e.opts.strictNumbers)+") "+c+" = "+B+"; } "),u+=" if ("+c+" !== undefined) ; ";var p=L;if(p)for(var x,S=-1,b=p.length-1;S<b;)x=p[S+=1],x=="string"?u+=" else if ("+w+" == 'number' || "+w+" == 'boolean') "+c+" = '' + "+B+"; else if ("+B+" === null) "+c+" = ''; ":x=="number"||x=="integer"?(u+=" else if ("+w+" == 'boolean' || "+B+" === null || ("+w+" == 'string' && "+B+" && "+B+" == +"+B+" ",x=="integer"&&(u+=" && !("+B+" % 1)"),u+=")) "+c+" = +"+B+"; "):x=="boolean"?u+=" else if ("+B+" === 'false' || "+B+" === 0 || "+B+" === null) "+c+" = false; else if ("+B+" === 'true' || "+B+" === 1) "+c+" = true; ":x=="null"?u+=" else if ("+B+" === '' || "+B+" === 0 || "+B+" === false) "+c+" = null; ":e.opts.coerceTypes=="array"&&x=="array"&&(u+=" else if ("+w+" == 'string' || "+w+" == 'number' || "+w+" == 'boolean' || "+B+" == null) "+c+" = ["+B+"]; ");u+=" else {   ";var F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(ce||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(R)+" , params: { type: '",ke?u+=""+he.join(","):u+=""+he,u+="' } ",e.opts.messages!==!1&&(u+=" , message: 'should be ",ke?u+=""+he.join(","):u+=""+he,u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+P+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+B+" "),u+=" } "):u+=" {} ";var O=u;u=F.pop(),!e.compositeRule&&ie?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } if ("+c+" !== undefined) {  ";var h=A?"data"+(A-1||""):"parentData",T=A?e.dataPathArr[A]:"parentDataProperty";u+=" "+B+" = "+c+"; ",A||(u+="if ("+h+" !== undefined)"),u+=" "+h+"["+T+"] = "+c+"; } "}else{var F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(ce||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(R)+" , params: { type: '",ke?u+=""+he.join(","):u+=""+he,u+="' } ",e.opts.messages!==!1&&(u+=" , message: 'should be ",ke?u+=""+he.join(","):u+=""+he,u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+P+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+B+" "),u+=" } "):u+=" {} ";var O=u;u=F.pop(),!e.compositeRule&&ie?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}u+=" } "}}if(e.schema.$ref&&!m)u+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",ie&&(u+=" } if (errors === ",N?u+="0":u+="errs_"+k,u+=") { ",Q+="}");else{var M=e.RULES;if(M){for(var d,j=-1,V=M.length-1;j<V;)if(d=M[j+=1],Je(d)){if(d.type&&(u+=" if ("+e.util.checkDataType(d.type,B,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(d.type=="object"&&e.schema.properties){var D=e.schema.properties,ee=Object.keys(D),Z=ee;if(Z)for(var U,z=-1,ne=Z.length-1;z<ne;){U=Z[z+=1];var fe=D[U];if(fe.default!==void 0){var me=B+e.util.getProperty(U);if(e.compositeRule){if(e.opts.strictDefaults){var Y="default is ignored for: "+me;if(e.opts.strictDefaults==="log")e.logger.warn(Y);else throw new Error(Y)}}else u+=" if ("+me+" === undefined ",e.opts.useDefaults=="empty"&&(u+=" || "+me+" === null || "+me+" === '' "),u+=" ) "+me+" = ",e.opts.useDefaults=="shared"?u+=" "+e.useDefault(fe.default)+" ":u+=" "+JSON.stringify(fe.default)+" ",u+="; "}}}else if(d.type=="array"&&Array.isArray(e.schema.items)){var de=e.schema.items;if(de){for(var fe,S=-1,Oe=de.length-1;S<Oe;)if(fe=de[S+=1],fe.default!==void 0){var me=B+"["+S+"]";if(e.compositeRule){if(e.opts.strictDefaults){var Y="default is ignored for: "+me;if(e.opts.strictDefaults==="log")e.logger.warn(Y);else throw new Error(Y)}}else u+=" if ("+me+" === undefined ",e.opts.useDefaults=="empty"&&(u+=" || "+me+" === null || "+me+" === '' "),u+=" ) "+me+" = ",e.opts.useDefaults=="shared"?u+=" "+e.useDefault(fe.default)+" ":u+=" "+JSON.stringify(fe.default)+" ",u+="; "}}}}var lt=d.rules;if(lt){for(var it,ot=-1,Ct=lt.length-1;ot<Ct;)if(it=lt[ot+=1],tt(it)){var nt=it.code(e,it.keyword,d.type);nt&&(u+=" "+nt+" ",ie&&(ue+="}"))}}if(ie&&(u+=" "+ue+" ",ue=""),d.type&&(u+=" } ",he&&he===d.type&&!L)){u+=" else { ";var P=e.schemaPath+".type",R=e.errSchemaPath+"/type",F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(ce||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(R)+" , params: { type: '",ke?u+=""+he.join(","):u+=""+he,u+="' } ",e.opts.messages!==!1&&(u+=" , message: 'should be ",ke?u+=""+he.join(","):u+=""+he,u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+P+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+B+" "),u+=" } "):u+=" {} ";var O=u;u=F.pop(),!e.compositeRule&&ie?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } "}ie&&(u+=" if (errors === ",N?u+="0":u+="errs_"+k,u+=") { ",Q+="}")}}}ie&&(u+=" "+Q+" "),N?(l?(u+=" if (errors === 0) return data;           ",u+=" else throw new ValidationError(vErrors); "):(u+=" validate.errors = vErrors; ",u+=" return errors === 0;       "),u+=" }; return validate;"):u+=" var "+J+" = errors === errs_"+k+";";function Je(ht){for(var jt=ht.rules,Ve=0;Ve<jt.length;Ve++)if(tt(jt[Ve]))return!0}function tt(ht){return e.schema[ht.keyword]!==void 0||ht.implements&&rt(ht)}function rt(ht){for(var jt=ht.implements,Ve=0;Ve<jt.length;Ve++)if(e.schema[jt[Ve]]!==void 0)return!0}return u}),validate}var compile_1,hasRequiredCompile;function requireCompile(){if(hasRequiredCompile)return compile_1;hasRequiredCompile=1;var t=requireResolve(),e=requireUtil(),n=requireError_classes(),o=requireFastJsonStableStringify(),u=requireValidate(),l=e.ucs2length,m=requireFastDeepEqual(),y=n.Validation;compile_1=E;function E(O,N,Y,J){var ie=this,ue=this._opts,Q=[void 0],ce={},he=[],ke={},L=[],d={},v=[];N=N||{schema:O,refVal:Q,refs:ce};var w=C.call(this,O,N,J),c=this._compilations[w.index];if(w.compiling)return c.callValidate=h;var p=this._formats,x=this.RULES;try{var S=T(O,N,Y,J);c.validate=S;var b=c.callValidate;return b&&(b.schema=S.schema,b.errors=null,b.refs=S.refs,b.refVal=S.refVal,b.root=S.root,b.$async=S.$async,ue.sourceCode&&(b.source=S.source)),S}finally{k.call(this,O,N,J)}function h(){var fe=c.validate,me=fe.apply(this,arguments);return h.errors=fe.errors,me}function T(fe,me,de,Oe){var lt=!me||me&&me.schema==fe;if(me.schema!=N.schema)return E.call(ie,fe,me,de,Oe);var it=fe.$async===!0,ot=u({isTop:!0,schema:fe,isRoot:lt,baseId:Oe,root:me,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:n.MissingRef,RULES:x,validate:u,util:e,resolve:t,resolveRef:M,usePattern:U,useDefault:z,useCustomRule:ne,opts:ue,formats:p,logger:ie.logger,self:ie});ot=F(Q,R)+F(he,D)+F(L,P)+F(v,B)+ot,ue.processCode&&(ot=ue.processCode(ot,fe));var Ct;try{var nt=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ot);Ct=nt(ie,x,p,N,Q,L,v,m,l,y),Q[0]=Ct}catch(Je){throw ie.logger.error("Error compiling schema, function code:",ot),Je}return Ct.schema=fe,Ct.errors=null,Ct.refs=ce,Ct.refVal=Q,Ct.root=lt?Ct:me,it&&(Ct.$async=!0),ue.sourceCode===!0&&(Ct.source={code:ot,patterns:he,defaults:L}),Ct}function M(fe,me,de){me=t.url(fe,me);var Oe=ce[me],lt,it;if(Oe!==void 0)return lt=Q[Oe],it="refVal["+Oe+"]",Z(lt,it);if(!de&&N.refs){var ot=N.refs[me];if(ot!==void 0)return lt=N.refVal[ot],it=j(me,lt),Z(lt,it)}it=j(me);var Ct=t.call(ie,T,N,me);if(Ct===void 0){var nt=Y&&Y[me];nt&&(Ct=t.inlineRef(nt,ue.inlineRefs)?nt:E.call(ie,nt,N,Y,fe))}if(Ct===void 0)V(me);else return ee(me,Ct),Z(Ct,it)}function j(fe,me){var de=Q.length;return Q[de]=me,ce[fe]=de,"refVal"+de}function V(fe){delete ce[fe]}function ee(fe,me){var de=ce[fe];Q[de]=me}function Z(fe,me){return typeof fe=="object"||typeof fe=="boolean"?{code:me,schema:fe,inline:!0}:{code:me,$async:fe&&!!fe.$async}}function U(fe){var me=ke[fe];return me===void 0&&(me=ke[fe]=he.length,he[me]=fe),"pattern"+me}function z(fe){switch(typeof fe){case"boolean":case"number":return""+fe;case"string":return e.toQuotedString(fe);case"object":if(fe===null)return"null";var me=o(fe),de=d[me];return de===void 0&&(de=d[me]=L.length,L[de]=fe),"default"+de}}function ne(fe,me,de,Oe){if(ie._opts.validateSchema!==!1){var lt=fe.definition.dependencies;if(lt&&!lt.every(function(jt){return Object.prototype.hasOwnProperty.call(de,jt)}))throw new Error("parent schema must have all required keywords: "+lt.join(","));var it=fe.definition.validateSchema;if(it){var ot=it(me);if(!ot){var Ct="keyword schema is invalid: "+ie.errorsText(it.errors);if(ie._opts.validateSchema=="log")ie.logger.error(Ct);else throw new Error(Ct)}}}var nt=fe.definition.compile,Je=fe.definition.inline,tt=fe.definition.macro,rt;if(nt)rt=nt.call(ie,me,de,Oe);else if(tt)rt=tt.call(ie,me,de,Oe),ue.validateSchema!==!1&&ie.validateSchema(rt,!0);else if(Je)rt=Je.call(ie,Oe,fe.keyword,me,de);else if(rt=fe.definition.validate,!rt)return;if(rt===void 0)throw new Error('custom keyword "'+fe.keyword+'"failed to compile');var ht=v.length;return v[ht]=rt,{code:"customRule"+ht,validate:rt}}}function C(O,N,Y){var J=A.call(this,O,N,Y);return J>=0?{index:J,compiling:!0}:(J=this._compilations.length,this._compilations[J]={schema:O,root:N,baseId:Y},{index:J,compiling:!1})}function k(O,N,Y){var J=A.call(this,O,N,Y);J>=0&&this._compilations.splice(J,1)}function A(O,N,Y){for(var J=0;J<this._compilations.length;J++){var ie=this._compilations[J];if(ie.schema==O&&ie.root==N&&ie.baseId==Y)return J}return-1}function D(O,N){return"var pattern"+O+" = new RegExp("+e.toQuotedString(N[O])+");"}function P(O){return"var default"+O+" = defaults["+O+"];"}function R(O,N){return N[O]===void 0?"":"var refVal"+O+" = refVal["+O+"];"}function B(O){return"var customRule"+O+" = customRules["+O+"];"}function F(O,N){if(!O.length)return"";for(var Y="",J=0;J<O.length;J++)Y+=N(J,O);return Y}return compile_1}var cache={exports:{}},hasRequiredCache;function requireCache(){if(hasRequiredCache)return cache.exports;hasRequiredCache=1;var t=cache.exports=function(){this._cache={}};return t.prototype.put=function(n,o){this._cache[n]=o},t.prototype.get=function(n){return this._cache[n]},t.prototype.del=function(n){delete this._cache[n]},t.prototype.clear=function(){this._cache={}},cache.exports}var formats_1,hasRequiredFormats;function requireFormats(){if(hasRequiredFormats)return formats_1;hasRequiredFormats=1;var t=requireUtil(),e=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31],o=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,u=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,l=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*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?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,y=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,E=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,C=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,k=/^(?:\/(?:[^~/]|~0|~1)*)*$/,A=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,D=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;formats_1=P;function P(Q){return Q=Q=="full"?"full":"fast",t.copy(P[Q])}P.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(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2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:ue,uuid:C,"json-pointer":k,"json-pointer-uri-fragment":A,"relative-json-pointer":D},P.full={date:B,time:F,"date-time":N,uri:J,"uri-reference":m,"uri-template":y,url:E,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:u,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:ue,uuid:C,"json-pointer":k,"json-pointer-uri-fragment":A,"relative-json-pointer":D};function R(Q){return Q%4===0&&(Q%100!==0||Q%400===0)}function B(Q){var ce=Q.match(e);if(!ce)return!1;var he=+ce[1],ke=+ce[2],L=+ce[3];return ke>=1&&ke<=12&&L>=1&&L<=(ke==2&&R(he)?29:n[ke])}function F(Q,ce){var he=Q.match(o);if(!he)return!1;var ke=he[1],L=he[2],d=he[3],v=he[5];return(ke<=23&&L<=59&&d<=59||ke==23&&L==59&&d==60)&&(!ce||v)}var O=/t|\s/i;function N(Q){var ce=Q.split(O);return ce.length==2&&B(ce[0])&&F(ce[1],!0)}var Y=/\/|:/;function J(Q){return Y.test(Q)&&l.test(Q)}var ie=/[^\\]\\Z/;function ue(Q){if(ie.test(Q))return!1;try{return new RegExp(Q),!0}catch{return!1}}return formats_1}var ref,hasRequiredRef;function requireRef(){return hasRequiredRef||(hasRequiredRef=1,ref=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.errSchemaPath+"/"+n,C=!e.opts.allErrors,k="data"+(m||""),A="valid"+l,D,P;if(y=="#"||y=="#/")e.isRoot?(D=e.async,P="validate"):(D=e.root.schema.$async===!0,P="root.refVal[0]");else{var R=e.resolveRef(e.baseId,y,e.isRoot);if(R===void 0){var B=e.MissingRefError.message(e.baseId,y);if(e.opts.missingRefs=="fail"){e.logger.error(B);var F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(E)+" , params: { ref: '"+e.util.escapeQuotes(y)+"' } ",e.opts.messages!==!1&&(u+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(y)+"' "),e.opts.verbose&&(u+=" , schema: "+e.util.toQuotedString(y)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+k+" "),u+=" } "):u+=" {} ";var O=u;u=F.pop(),!e.compositeRule&&C?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",C&&(u+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(B),C&&(u+=" if (true) { ");else throw new e.MissingRefError(e.baseId,y,B)}else if(R.inline){var N=e.util.copy(e);N.level++;var Y="valid"+N.level;N.schema=R.schema,N.schemaPath="",N.errSchemaPath=y;var J=e.validate(N).replace(/validate\.schema/g,R.code);u+=" "+J+" ",C&&(u+=" if ("+Y+") { ")}else D=R.$async===!0||e.async&&R.$async!==!1,P=R.code}if(P){var F=F||[];F.push(u),u="",e.opts.passContext?u+=" "+P+".call(this, ":u+=" "+P+"( ",u+=" "+k+", (dataPath || '')",e.errorPath!='""'&&(u+=" + "+e.errorPath);var ie=m?"data"+(m-1||""):"parentData",ue=m?e.dataPathArr[m]:"parentDataProperty";u+=" , "+ie+" , "+ue+", rootData)  ";var Q=u;if(u=F.pop(),D){if(!e.async)throw new Error("async schema referenced by sync schema");C&&(u+=" var "+A+"; "),u+=" try { await "+Q+"; ",C&&(u+=" "+A+" = true; "),u+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",C&&(u+=" "+A+" = false; "),u+=" } ",C&&(u+=" if ("+A+") { ")}else u+=" if (!"+Q+") { if (vErrors === null) vErrors = "+P+".errors; else vErrors = vErrors.concat("+P+".errors); errors = vErrors.length; } ",C&&(u+=" else { ")}return u}),ref}var allOf,hasRequiredAllOf;function requireAllOf(){return hasRequiredAllOf||(hasRequiredAllOf=1,allOf=function(e,n,o){var u=" ",l=e.schema[n],m=e.schemaPath+e.util.getProperty(n),y=e.errSchemaPath+"/"+n,E=!e.opts.allErrors,C=e.util.copy(e),k="";C.level++;var A="valid"+C.level,D=C.baseId,P=!0,R=l;if(R)for(var B,F=-1,O=R.length-1;F<O;)B=R[F+=1],(e.opts.strictKeywords?typeof B=="object"&&Object.keys(B).length>0||B===!1:e.util.schemaHasRules(B,e.RULES.all))&&(P=!1,C.schema=B,C.schemaPath=m+"["+F+"]",C.errSchemaPath=y+"/"+F,u+="  "+e.validate(C)+" ",C.baseId=D,E&&(u+=" if ("+A+") { ",k+="}"));return E&&(P?u+=" if (true) { ":u+=" "+k.slice(0,-1)+" "),u}),allOf}var anyOf,hasRequiredAnyOf;function requireAnyOf(){return hasRequiredAnyOf||(hasRequiredAnyOf=1,anyOf=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P="errs__"+l,R=e.util.copy(e),B="";R.level++;var F="valid"+R.level,O=y.every(function(ce){return e.opts.strictKeywords?typeof ce=="object"&&Object.keys(ce).length>0||ce===!1:e.util.schemaHasRules(ce,e.RULES.all)});if(O){var N=R.baseId;u+=" var "+P+" = errors; var "+D+" = false;  ";var Y=e.compositeRule;e.compositeRule=R.compositeRule=!0;var J=y;if(J)for(var ie,ue=-1,Q=J.length-1;ue<Q;)ie=J[ue+=1],R.schema=ie,R.schemaPath=E+"["+ue+"]",R.errSchemaPath=C+"/"+ue,u+="  "+e.validate(R)+" ",R.baseId=N,u+=" "+D+" = "+D+" || "+F+"; if (!"+D+") { ",B+="}";e.compositeRule=R.compositeRule=Y,u+=" "+B+" if (!"+D+") {   var err =   ",e.createErrors!==!1?(u+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: {} ",e.opts.messages!==!1&&(u+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&k&&(e.async?u+=" throw new ValidationError(vErrors); ":u+=" validate.errors = vErrors; return false; "),u+=" } else {  errors = "+P+"; if (vErrors !== null) { if ("+P+") vErrors.length = "+P+"; else vErrors = null; } ",e.opts.allErrors&&(u+=" } ")}else k&&(u+=" if (true) { ");return u}),anyOf}var comment,hasRequiredComment;function requireComment(){return hasRequiredComment||(hasRequiredComment=1,comment=function(e,n,o){var u=" ",l=e.schema[n],m=e.errSchemaPath+"/"+n;e.opts.allErrors;var y=e.util.toQuotedString(l);return e.opts.$comment===!0?u+=" console.log("+y+");":typeof e.opts.$comment=="function"&&(u+=" self._opts.$comment("+y+", "+e.util.toQuotedString(m)+", validate.root.schema);"),u}),comment}var _const,hasRequired_const;function require_const(){return hasRequired_const||(hasRequired_const=1,_const=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P=e.opts.$data&&y&&y.$data;P&&(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; "),P||(u+=" var schema"+l+" = validate.schema"+E+";"),u+="var "+D+" = equal("+A+", schema"+l+"); if (!"+D+") {   ";var R=R||[];R.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { allowedValue: schema"+l+" } ",e.opts.messages!==!1&&(u+=" , message: 'should be equal to constant' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var B=u;return u=R.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+B+"]); ":u+=" validate.errors = ["+B+"]; return false; ":u+=" var err = "+B+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" }",k&&(u+=" else { "),u}),_const}var contains,hasRequiredContains;function requireContains(){return hasRequiredContains||(hasRequiredContains=1,contains=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P="errs__"+l,R=e.util.copy(e),B="";R.level++;var F="valid"+R.level,O="i"+l,N=R.dataLevel=e.dataLevel+1,Y="data"+N,J=e.baseId,ie=e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all);if(u+="var "+P+" = errors;var "+D+";",ie){var ue=e.compositeRule;e.compositeRule=R.compositeRule=!0,R.schema=y,R.schemaPath=E,R.errSchemaPath=C,u+=" var "+F+" = false; for (var "+O+" = 0; "+O+" < "+A+".length; "+O+"++) { ",R.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0);var Q=A+"["+O+"]";R.dataPathArr[N]=O;var ce=e.validate(R);R.baseId=J,e.util.varOccurences(ce,Y)<2?u+=" "+e.util.varReplace(ce,Y,Q)+" ":u+=" var "+Y+" = "+Q+"; "+ce+" ",u+=" if ("+F+") break; }  ",e.compositeRule=R.compositeRule=ue,u+=" "+B+" if (!"+F+") {"}else u+=" if ("+A+".length == 0) {";var he=he||[];he.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: {} ",e.opts.messages!==!1&&(u+=" , message: 'should contain a valid item' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var ke=u;return u=he.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+ke+"]); ":u+=" validate.errors = ["+ke+"]; return false; ":u+=" var err = "+ke+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } else { ",ie&&(u+="  errors = "+P+"; if (vErrors !== null) { if ("+P+") vErrors.length = "+P+"; else vErrors = null; } "),e.opts.allErrors&&(u+=" } "),u}),contains}var dependencies,hasRequiredDependencies;function requireDependencies(){return hasRequiredDependencies||(hasRequiredDependencies=1,dependencies=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="errs__"+l,P=e.util.copy(e),R="";P.level++;var B="valid"+P.level,F={},O={},N=e.opts.ownProperties;for(ue in y)if(ue!="__proto__"){var Y=y[ue],J=Array.isArray(Y)?O:F;J[ue]=Y}u+="var "+D+" = errors;";var ie=e.errorPath;u+="var missing"+l+";";for(var ue in O)if(J=O[ue],J.length){if(u+=" if ( "+A+e.util.getProperty(ue)+" !== undefined ",N&&(u+=" && Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(ue)+"') "),k){u+=" && ( ";var Q=J;if(Q)for(var ce,he=-1,ke=Q.length-1;he<ke;){ce=Q[he+=1],he&&(u+=" || ");var L=e.util.getProperty(ce),d=A+L;u+=" ( ( "+d+" === undefined ",N&&(u+=" || ! Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(ce)+"') "),u+=") && (missing"+l+" = "+e.util.toQuotedString(e.opts.jsonPointers?ce:L)+") ) "}u+=")) {  ";var v="missing"+l,w="' + "+v+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(ie,v,!0):ie+" + "+v);var c=c||[];c.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { property: '"+e.util.escapeQuotes(ue)+"', missingProperty: '"+w+"', depsCount: "+J.length+", deps: '"+e.util.escapeQuotes(J.length==1?J[0]:J.join(", "))+"' } ",e.opts.messages!==!1&&(u+=" , message: 'should have ",J.length==1?u+="property "+e.util.escapeQuotes(J[0]):u+="properties "+e.util.escapeQuotes(J.join(", ")),u+=" when property "+e.util.escapeQuotes(ue)+" is present' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var p=u;u=c.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+p+"]); ":u+=" validate.errors = ["+p+"]; return false; ":u+=" var err = "+p+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{u+=" ) { ";var x=J;if(x)for(var ce,S=-1,b=x.length-1;S<b;){ce=x[S+=1];var L=e.util.getProperty(ce),w=e.util.escapeQuotes(ce),d=A+L;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(ie,ce,e.opts.jsonPointers)),u+=" if ( "+d+" === undefined ",N&&(u+=" || ! Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(ce)+"') "),u+=") {  var err =   ",e.createErrors!==!1?(u+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { property: '"+e.util.escapeQuotes(ue)+"', missingProperty: '"+w+"', depsCount: "+J.length+", deps: '"+e.util.escapeQuotes(J.length==1?J[0]:J.join(", "))+"' } ",e.opts.messages!==!1&&(u+=" , message: 'should have ",J.length==1?u+="property "+e.util.escapeQuotes(J[0]):u+="properties "+e.util.escapeQuotes(J.join(", ")),u+=" when property "+e.util.escapeQuotes(ue)+" is present' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}u+=" }   ",k&&(R+="}",u+=" else { ")}e.errorPath=ie;var h=P.baseId;for(var ue in F){var Y=F[ue];(e.opts.strictKeywords?typeof Y=="object"&&Object.keys(Y).length>0||Y===!1:e.util.schemaHasRules(Y,e.RULES.all))&&(u+=" "+B+" = true; if ( "+A+e.util.getProperty(ue)+" !== undefined ",N&&(u+=" && Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(ue)+"') "),u+=") { ",P.schema=Y,P.schemaPath=E+e.util.getProperty(ue),P.errSchemaPath=C+"/"+e.util.escapeFragment(ue),u+="  "+e.validate(P)+" ",P.baseId=h,u+=" }  ",k&&(u+=" if ("+B+") { ",R+="}"))}return k&&(u+="   "+R+" if ("+D+" == errors) {"),u}),dependencies}var _enum,hasRequired_enum;function require_enum(){return hasRequired_enum||(hasRequired_enum=1,_enum=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P=e.opts.$data&&y&&y.$data;P&&(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ");var R="i"+l,B="schema"+l;P||(u+=" var "+B+" = validate.schema"+E+";"),u+="var "+D+";",P&&(u+=" if (schema"+l+" === undefined) "+D+" = true; else if (!Array.isArray(schema"+l+")) "+D+" = false; else {"),u+=""+D+" = false;for (var "+R+"=0; "+R+"<"+B+".length; "+R+"++) if (equal("+A+", "+B+"["+R+"])) { "+D+" = true; break; }",P&&(u+="  }  "),u+=" if (!"+D+") {   ";var F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { allowedValues: schema"+l+" } ",e.opts.messages!==!1&&(u+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var O=u;return u=F.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" }",k&&(u+=" else { "),u}),_enum}var format,hasRequiredFormat;function requireFormat(){return hasRequiredFormat||(hasRequiredFormat=1,format=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||"");if(e.opts.format===!1)return k&&(u+=" if (true) { "),u;var D=e.opts.$data&&y&&y.$data,P;D?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",P="schema"+l):P=y;var R=e.opts.unknownFormats,B=Array.isArray(R);if(D){var F="format"+l,O="isObject"+l,N="formatType"+l;u+=" var "+F+" = formats["+P+"]; var "+O+" = typeof "+F+" == 'object' && !("+F+" instanceof RegExp) && "+F+".validate; var "+N+" = "+O+" && "+F+".type || 'string'; if ("+O+") { ",e.async&&(u+=" var async"+l+" = "+F+".async; "),u+=" "+F+" = "+F+".validate; } if (  ",D&&(u+=" ("+P+" !== undefined && typeof "+P+" != 'string') || "),u+=" (",R!="ignore"&&(u+=" ("+P+" && !"+F+" ",B&&(u+=" && self._opts.unknownFormats.indexOf("+P+") == -1 "),u+=") || "),u+=" ("+F+" && "+N+" == '"+o+"' && !(typeof "+F+" == 'function' ? ",e.async?u+=" (async"+l+" ? await "+F+"("+A+") : "+F+"("+A+")) ":u+=" "+F+"("+A+") ",u+=" : "+F+".test("+A+"))))) {"}else{var F=e.formats[y];if(!F){if(R=="ignore")return e.logger.warn('unknown format "'+y+'" ignored in schema at path "'+e.errSchemaPath+'"'),k&&(u+=" if (true) { "),u;if(B&&R.indexOf(y)>=0)return k&&(u+=" if (true) { "),u;throw new Error('unknown format "'+y+'" is used in schema at path "'+e.errSchemaPath+'"')}var O=typeof F=="object"&&!(F instanceof RegExp)&&F.validate,N=O&&F.type||"string";if(O){var Y=F.async===!0;F=F.validate}if(N!=o)return k&&(u+=" if (true) { "),u;if(Y){if(!e.async)throw new Error("async format in sync schema");var J="formats"+e.util.getProperty(y)+".validate";u+=" if (!(await "+J+"("+A+"))) { "}else{u+=" if (! ";var J="formats"+e.util.getProperty(y);O&&(J+=".validate"),typeof F=="function"?u+=" "+J+"("+A+") ":u+=" "+J+".test("+A+") ",u+=") { "}}var ie=ie||[];ie.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { format:  ",D?u+=""+P:u+=""+e.util.toQuotedString(y),u+="  } ",e.opts.messages!==!1&&(u+=` , message: 'should match format "`,D?u+="' + "+P+" + '":u+=""+e.util.escapeQuotes(y),u+=`"' `),e.opts.verbose&&(u+=" , schema:  ",D?u+="validate.schema"+E:u+=""+e.util.toQuotedString(y),u+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var ue=u;return u=ie.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+ue+"]); ":u+=" validate.errors = ["+ue+"]; return false; ":u+=" var err = "+ue+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } ",k&&(u+=" else { "),u}),format}var _if,hasRequired_if;function require_if(){return hasRequired_if||(hasRequired_if=1,_if=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P="errs__"+l,R=e.util.copy(e);R.level++;var B="valid"+R.level,F=e.schema.then,O=e.schema.else,N=F!==void 0&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all)),Y=O!==void 0&&(e.opts.strictKeywords?typeof O=="object"&&Object.keys(O).length>0||O===!1:e.util.schemaHasRules(O,e.RULES.all)),J=R.baseId;if(N||Y){var ie;R.createErrors=!1,R.schema=y,R.schemaPath=E,R.errSchemaPath=C,u+=" var "+P+" = errors; var "+D+" = true;  ";var ue=e.compositeRule;e.compositeRule=R.compositeRule=!0,u+="  "+e.validate(R)+" ",R.baseId=J,R.createErrors=!0,u+="  errors = "+P+"; if (vErrors !== null) { if ("+P+") vErrors.length = "+P+"; else vErrors = null; }  ",e.compositeRule=R.compositeRule=ue,N?(u+=" if ("+B+") {  ",R.schema=e.schema.then,R.schemaPath=e.schemaPath+".then",R.errSchemaPath=e.errSchemaPath+"/then",u+="  "+e.validate(R)+" ",R.baseId=J,u+=" "+D+" = "+B+"; ",N&&Y?(ie="ifClause"+l,u+=" var "+ie+" = 'then'; "):ie="'then'",u+=" } ",Y&&(u+=" else { ")):u+=" if (!"+B+") { ",Y&&(R.schema=e.schema.else,R.schemaPath=e.schemaPath+".else",R.errSchemaPath=e.errSchemaPath+"/else",u+="  "+e.validate(R)+" ",R.baseId=J,u+=" "+D+" = "+B+"; ",N&&Y?(ie="ifClause"+l,u+=" var "+ie+" = 'else'; "):ie="'else'",u+=" } "),u+=" if (!"+D+") {   var err =   ",e.createErrors!==!1?(u+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { failingKeyword: "+ie+" } ",e.opts.messages!==!1&&(u+=` , message: 'should match "' + `+ie+` + '" schema' `),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&k&&(e.async?u+=" throw new ValidationError(vErrors); ":u+=" validate.errors = vErrors; return false; "),u+=" }   ",k&&(u+=" else { ")}else k&&(u+=" if (true) { ");return u}),_if}var items,hasRequiredItems;function requireItems(){return hasRequiredItems||(hasRequiredItems=1,items=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P="errs__"+l,R=e.util.copy(e),B="";R.level++;var F="valid"+R.level,O="i"+l,N=R.dataLevel=e.dataLevel+1,Y="data"+N,J=e.baseId;if(u+="var "+P+" = errors;var "+D+";",Array.isArray(y)){var ie=e.schema.additionalItems;if(ie===!1){u+=" "+D+" = "+A+".length <= "+y.length+"; ";var ue=C;C=e.errSchemaPath+"/additionalItems",u+="  if (!"+D+") {   ";var Q=Q||[];Q.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { limit: "+y.length+" } ",e.opts.messages!==!1&&(u+=" , message: 'should NOT have more than "+y.length+" items' "),e.opts.verbose&&(u+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var ce=u;u=Q.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+ce+"]); ":u+=" validate.errors = ["+ce+"]; return false; ":u+=" var err = "+ce+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } ",C=ue,k&&(B+="}",u+=" else { ")}var he=y;if(he){for(var ke,L=-1,d=he.length-1;L<d;)if(ke=he[L+=1],e.opts.strictKeywords?typeof ke=="object"&&Object.keys(ke).length>0||ke===!1:e.util.schemaHasRules(ke,e.RULES.all)){u+=" "+F+" = true; if ("+A+".length > "+L+") { ";var v=A+"["+L+"]";R.schema=ke,R.schemaPath=E+"["+L+"]",R.errSchemaPath=C+"/"+L,R.errorPath=e.util.getPathExpr(e.errorPath,L,e.opts.jsonPointers,!0),R.dataPathArr[N]=L;var w=e.validate(R);R.baseId=J,e.util.varOccurences(w,Y)<2?u+=" "+e.util.varReplace(w,Y,v)+" ":u+=" var "+Y+" = "+v+"; "+w+" ",u+=" }  ",k&&(u+=" if ("+F+") { ",B+="}")}}if(typeof ie=="object"&&(e.opts.strictKeywords?typeof ie=="object"&&Object.keys(ie).length>0||ie===!1:e.util.schemaHasRules(ie,e.RULES.all))){R.schema=ie,R.schemaPath=e.schemaPath+".additionalItems",R.errSchemaPath=e.errSchemaPath+"/additionalItems",u+=" "+F+" = true; if ("+A+".length > "+y.length+") {  for (var "+O+" = "+y.length+"; "+O+" < "+A+".length; "+O+"++) { ",R.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0);var v=A+"["+O+"]";R.dataPathArr[N]=O;var w=e.validate(R);R.baseId=J,e.util.varOccurences(w,Y)<2?u+=" "+e.util.varReplace(w,Y,v)+" ":u+=" var "+Y+" = "+v+"; "+w+" ",k&&(u+=" if (!"+F+") break; "),u+=" } }  ",k&&(u+=" if ("+F+") { ",B+="}")}}else if(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)){R.schema=y,R.schemaPath=E,R.errSchemaPath=C,u+="  for (var "+O+" = 0; "+O+" < "+A+".length; "+O+"++) { ",R.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0);var v=A+"["+O+"]";R.dataPathArr[N]=O;var w=e.validate(R);R.baseId=J,e.util.varOccurences(w,Y)<2?u+=" "+e.util.varReplace(w,Y,v)+" ":u+=" var "+Y+" = "+v+"; "+w+" ",k&&(u+=" if (!"+F+") break; "),u+=" }"}return k&&(u+=" "+B+" if ("+P+" == errors) {"),u}),items}var _limit,hasRequired_limit;function require_limit(){return hasRequired_limit||(hasRequired_limit=1,_limit=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,J,A="data"+(m||""),D=e.opts.$data&&y&&y.$data,P;D?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",P="schema"+l):P=y;var R=n=="maximum",B=R?"exclusiveMaximum":"exclusiveMinimum",F=e.schema[B],O=e.opts.$data&&F&&F.$data,N=R?"<":">",Y=R?">":"<",J=void 0;if(!(D||typeof y=="number"||y===void 0))throw new Error(n+" must be number");if(!(O||F===void 0||typeof F=="number"||typeof F=="boolean"))throw new Error(B+" must be number or boolean");if(O){var ie=e.util.getData(F.$data,m,e.dataPathArr),ue="exclusive"+l,Q="exclType"+l,ce="exclIsNumber"+l,he="op"+l,ke="' + "+he+" + '";u+=" var schemaExcl"+l+" = "+ie+"; ",ie="schemaExcl"+l,u+=" var "+ue+"; var "+Q+" = typeof "+ie+"; if ("+Q+" != 'boolean' && "+Q+" != 'undefined' && "+Q+" != 'number') { ";var J=B,L=L||[];L.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(J||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: {} ",e.opts.messages!==!1&&(u+=" , message: '"+B+" should be boolean' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var d=u;u=L.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+d+"]); ":u+=" validate.errors = ["+d+"]; return false; ":u+=" var err = "+d+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } else if ( ",D&&(u+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),u+=" "+Q+" == 'number' ? ( ("+ue+" = "+P+" === undefined || "+ie+" "+N+"= "+P+") ? "+A+" "+Y+"= "+ie+" : "+A+" "+Y+" "+P+" ) : ( ("+ue+" = "+ie+" === true) ? "+A+" "+Y+"= "+P+" : "+A+" "+Y+" "+P+" ) || "+A+" !== "+A+") { var op"+l+" = "+ue+" ? '"+N+"' : '"+N+"='; ",y===void 0&&(J=B,C=e.errSchemaPath+"/"+B,P=ie,D=O)}else{var ce=typeof F=="number",ke=N;if(ce&&D){var he="'"+ke+"'";u+=" if ( ",D&&(u+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),u+=" ( "+P+" === undefined || "+F+" "+N+"= "+P+" ? "+A+" "+Y+"= "+F+" : "+A+" "+Y+" "+P+" ) || "+A+" !== "+A+") { "}else{ce&&y===void 0?(ue=!0,J=B,C=e.errSchemaPath+"/"+B,P=F,Y+="="):(ce&&(P=Math[R?"min":"max"](F,y)),F===(ce?P:!0)?(ue=!0,J=B,C=e.errSchemaPath+"/"+B,Y+="="):(ue=!1,ke+="="));var he="'"+ke+"'";u+=" if ( ",D&&(u+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),u+=" "+A+" "+Y+" "+P+" || "+A+" !== "+A+") { "}}J=J||n;var L=L||[];L.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(J||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { comparison: "+he+", limit: "+P+", exclusive: "+ue+" } ",e.opts.messages!==!1&&(u+=" , message: 'should be "+ke+" ",D?u+="' + "+P:u+=""+P+"'"),e.opts.verbose&&(u+=" , schema:  ",D?u+="validate.schema"+E:u+=""+y,u+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var d=u;return u=L.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+d+"]); ":u+=" validate.errors = ["+d+"]; return false; ":u+=" var err = "+d+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } ",k&&(u+=" else { "),u}),_limit}var _limitItems,hasRequired_limitItems;function require_limitItems(){return hasRequired_limitItems||(hasRequired_limitItems=1,_limitItems=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,B,A="data"+(m||""),D=e.opts.$data&&y&&y.$data,P;if(D?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",P="schema"+l):P=y,!(D||typeof y=="number"))throw new Error(n+" must be number");var R=n=="maxItems"?">":"<";u+="if ( ",D&&(u+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),u+=" "+A+".length "+R+" "+P+") { ";var B=n,F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(B||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { limit: "+P+" } ",e.opts.messages!==!1&&(u+=" , message: 'should NOT have ",n=="maxItems"?u+="more":u+="fewer",u+=" than ",D?u+="' + "+P+" + '":u+=""+y,u+=" items' "),e.opts.verbose&&(u+=" , schema:  ",D?u+="validate.schema"+E:u+=""+y,u+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var O=u;return u=F.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+="} ",k&&(u+=" else { "),u}),_limitItems}var _limitLength,hasRequired_limitLength;function require_limitLength(){return hasRequired_limitLength||(hasRequired_limitLength=1,_limitLength=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,B,A="data"+(m||""),D=e.opts.$data&&y&&y.$data,P;if(D?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",P="schema"+l):P=y,!(D||typeof y=="number"))throw new Error(n+" must be number");var R=n=="maxLength"?">":"<";u+="if ( ",D&&(u+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),e.opts.unicode===!1?u+=" "+A+".length ":u+=" ucs2length("+A+") ",u+=" "+R+" "+P+") { ";var B=n,F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(B||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { limit: "+P+" } ",e.opts.messages!==!1&&(u+=" , message: 'should NOT be ",n=="maxLength"?u+="longer":u+="shorter",u+=" than ",D?u+="' + "+P+" + '":u+=""+y,u+=" characters' "),e.opts.verbose&&(u+=" , schema:  ",D?u+="validate.schema"+E:u+=""+y,u+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var O=u;return u=F.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+="} ",k&&(u+=" else { "),u}),_limitLength}var _limitProperties,hasRequired_limitProperties;function require_limitProperties(){return hasRequired_limitProperties||(hasRequired_limitProperties=1,_limitProperties=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,B,A="data"+(m||""),D=e.opts.$data&&y&&y.$data,P;if(D?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",P="schema"+l):P=y,!(D||typeof y=="number"))throw new Error(n+" must be number");var R=n=="maxProperties"?">":"<";u+="if ( ",D&&(u+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),u+=" Object.keys("+A+").length "+R+" "+P+") { ";var B=n,F=F||[];F.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(B||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { limit: "+P+" } ",e.opts.messages!==!1&&(u+=" , message: 'should NOT have ",n=="maxProperties"?u+="more":u+="fewer",u+=" than ",D?u+="' + "+P+" + '":u+=""+y,u+=" properties' "),e.opts.verbose&&(u+=" , schema:  ",D?u+="validate.schema"+E:u+=""+y,u+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var O=u;return u=F.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+O+"]); ":u+=" validate.errors = ["+O+"]; return false; ":u+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+="} ",k&&(u+=" else { "),u}),_limitProperties}var multipleOf,hasRequiredMultipleOf;function requireMultipleOf(){return hasRequiredMultipleOf||(hasRequiredMultipleOf=1,multipleOf=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D=e.opts.$data&&y&&y.$data,P;if(D?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",P="schema"+l):P=y,!(D||typeof y=="number"))throw new Error(n+" must be number");u+="var division"+l+";if (",D&&(u+=" "+P+" !== undefined && ( typeof "+P+" != 'number' || "),u+=" (division"+l+" = "+A+" / "+P+", ",e.opts.multipleOfPrecision?u+=" Math.abs(Math.round(division"+l+") - division"+l+") > 1e-"+e.opts.multipleOfPrecision+" ":u+=" division"+l+" !== parseInt(division"+l+") ",u+=" ) ",D&&(u+="  )  "),u+=" ) {   ";var R=R||[];R.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { multipleOf: "+P+" } ",e.opts.messages!==!1&&(u+=" , message: 'should be multiple of ",D?u+="' + "+P:u+=""+P+"'"),e.opts.verbose&&(u+=" , schema:  ",D?u+="validate.schema"+E:u+=""+y,u+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var B=u;return u=R.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+B+"]); ":u+=" validate.errors = ["+B+"]; return false; ":u+=" var err = "+B+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+="} ",k&&(u+=" else { "),u}),multipleOf}var not,hasRequiredNot;function requireNot(){return hasRequiredNot||(hasRequiredNot=1,not=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="errs__"+l,P=e.util.copy(e);P.level++;var R="valid"+P.level;if(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)){P.schema=y,P.schemaPath=E,P.errSchemaPath=C,u+=" var "+D+" = errors;  ";var B=e.compositeRule;e.compositeRule=P.compositeRule=!0,P.createErrors=!1;var F;P.opts.allErrors&&(F=P.opts.allErrors,P.opts.allErrors=!1),u+=" "+e.validate(P)+" ",P.createErrors=!0,F&&(P.opts.allErrors=F),e.compositeRule=P.compositeRule=B,u+=" if ("+R+") {   ";var O=O||[];O.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: {} ",e.opts.messages!==!1&&(u+=" , message: 'should NOT be valid' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var N=u;u=O.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+N+"]); ":u+=" validate.errors = ["+N+"]; return false; ":u+=" var err = "+N+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } else {  errors = "+D+"; if (vErrors !== null) { if ("+D+") vErrors.length = "+D+"; else vErrors = null; } ",e.opts.allErrors&&(u+=" } ")}else u+="  var err =   ",e.createErrors!==!1?(u+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: {} ",e.opts.messages!==!1&&(u+=" , message: 'should NOT be valid' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",k&&(u+=" if (false) { ");return u}),not}var oneOf,hasRequiredOneOf;function requireOneOf(){return hasRequiredOneOf||(hasRequiredOneOf=1,oneOf=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P="errs__"+l,R=e.util.copy(e),B="";R.level++;var F="valid"+R.level,O=R.baseId,N="prevValid"+l,Y="passingSchemas"+l;u+="var "+P+" = errors , "+N+" = false , "+D+" = false , "+Y+" = null; ";var J=e.compositeRule;e.compositeRule=R.compositeRule=!0;var ie=y;if(ie)for(var ue,Q=-1,ce=ie.length-1;Q<ce;)ue=ie[Q+=1],(e.opts.strictKeywords?typeof ue=="object"&&Object.keys(ue).length>0||ue===!1:e.util.schemaHasRules(ue,e.RULES.all))?(R.schema=ue,R.schemaPath=E+"["+Q+"]",R.errSchemaPath=C+"/"+Q,u+="  "+e.validate(R)+" ",R.baseId=O):u+=" var "+F+" = true; ",Q&&(u+=" if ("+F+" && "+N+") { "+D+" = false; "+Y+" = ["+Y+", "+Q+"]; } else { ",B+="}"),u+=" if ("+F+") { "+D+" = "+N+" = true; "+Y+" = "+Q+"; }";return e.compositeRule=R.compositeRule=J,u+=""+B+"if (!"+D+") {   var err =   ",e.createErrors!==!1?(u+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { passingSchemas: "+Y+" } ",e.opts.messages!==!1&&(u+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&k&&(e.async?u+=" throw new ValidationError(vErrors); ":u+=" validate.errors = vErrors; return false; "),u+="} else {  errors = "+P+"; if (vErrors !== null) { if ("+P+") vErrors.length = "+P+"; else vErrors = null; }",e.opts.allErrors&&(u+=" } "),u}),oneOf}var pattern,hasRequiredPattern;function requirePattern(){return hasRequiredPattern||(hasRequiredPattern=1,pattern=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D=e.opts.$data&&y&&y.$data,P;D?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",P="schema"+l):P=y;var R=D?"(new RegExp("+P+"))":e.usePattern(y);u+="if ( ",D&&(u+=" ("+P+" !== undefined && typeof "+P+" != 'string') || "),u+=" !"+R+".test("+A+") ) {   ";var B=B||[];B.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { pattern:  ",D?u+=""+P:u+=""+e.util.toQuotedString(y),u+="  } ",e.opts.messages!==!1&&(u+=` , message: 'should match pattern "`,D?u+="' + "+P+" + '":u+=""+e.util.escapeQuotes(y),u+=`"' `),e.opts.verbose&&(u+=" , schema:  ",D?u+="validate.schema"+E:u+=""+e.util.toQuotedString(y),u+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var F=u;return u=B.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+F+"]); ":u+=" validate.errors = ["+F+"]; return false; ":u+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+="} ",k&&(u+=" else { "),u}),pattern}var properties$l,hasRequiredProperties;function requireProperties(){return hasRequiredProperties||(hasRequiredProperties=1,properties$l=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="errs__"+l,P=e.util.copy(e),R="";P.level++;var B="valid"+P.level,F="key"+l,O="idx"+l,N=P.dataLevel=e.dataLevel+1,Y="data"+N,J="dataProperties"+l,ie=Object.keys(y||{}).filter(S),ue=e.schema.patternProperties||{},Q=Object.keys(ue).filter(S),ce=e.schema.additionalProperties,he=ie.length||Q.length,ke=ce===!1,L=typeof ce=="object"&&Object.keys(ce).length,d=e.opts.removeAdditional,v=ke||L||d,w=e.opts.ownProperties,c=e.baseId,p=e.schema.required;if(p&&!(e.opts.$data&&p.$data)&&p.length<e.opts.loopRequired)var x=e.util.toHash(p);function S(wt){return wt!=="__proto__"}if(u+="var "+D+" = errors;var "+B+" = true;",w&&(u+=" var "+J+" = undefined;"),v){if(w?u+=" "+J+" = "+J+" || Object.keys("+A+"); for (var "+O+"=0; "+O+"<"+J+".length; "+O+"++) { var "+F+" = "+J+"["+O+"]; ":u+=" for (var "+F+" in "+A+") { ",he){if(u+=" var isAdditional"+l+" = !(false ",ie.length)if(ie.length>8)u+=" || validate.schema"+E+".hasOwnProperty("+F+") ";else{var b=ie;if(b)for(var h,T=-1,M=b.length-1;T<M;)h=b[T+=1],u+=" || "+F+" == "+e.util.toQuotedString(h)+" "}if(Q.length){var j=Q;if(j)for(var V,ee=-1,Z=j.length-1;ee<Z;)V=j[ee+=1],u+=" || "+e.usePattern(V)+".test("+F+") "}u+=" ); if (isAdditional"+l+") { "}if(d=="all")u+=" delete "+A+"["+F+"]; ";else{var U=e.errorPath,z="' + "+F+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,F,e.opts.jsonPointers)),ke)if(d)u+=" delete "+A+"["+F+"]; ";else{u+=" "+B+" = false; ";var ne=C;C=e.errSchemaPath+"/additionalProperties";var fe=fe||[];fe.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { additionalProperty: '"+z+"' } ",e.opts.messages!==!1&&(u+=" , message: '",e.opts._errorDataPathProperty?u+="is an invalid additional property":u+="should NOT have additional properties",u+="' "),e.opts.verbose&&(u+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var me=u;u=fe.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+me+"]); ":u+=" validate.errors = ["+me+"]; return false; ":u+=" var err = "+me+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",C=ne,k&&(u+=" break; ")}else if(L)if(d=="failing"){u+=" var "+D+" = errors;  ";var de=e.compositeRule;e.compositeRule=P.compositeRule=!0,P.schema=ce,P.schemaPath=e.schemaPath+".additionalProperties",P.errSchemaPath=e.errSchemaPath+"/additionalProperties",P.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,F,e.opts.jsonPointers);var Oe=A+"["+F+"]";P.dataPathArr[N]=F;var lt=e.validate(P);P.baseId=c,e.util.varOccurences(lt,Y)<2?u+=" "+e.util.varReplace(lt,Y,Oe)+" ":u+=" var "+Y+" = "+Oe+"; "+lt+" ",u+=" if (!"+B+") { errors = "+D+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+A+"["+F+"]; }  ",e.compositeRule=P.compositeRule=de}else{P.schema=ce,P.schemaPath=e.schemaPath+".additionalProperties",P.errSchemaPath=e.errSchemaPath+"/additionalProperties",P.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,F,e.opts.jsonPointers);var Oe=A+"["+F+"]";P.dataPathArr[N]=F;var lt=e.validate(P);P.baseId=c,e.util.varOccurences(lt,Y)<2?u+=" "+e.util.varReplace(lt,Y,Oe)+" ":u+=" var "+Y+" = "+Oe+"; "+lt+" ",k&&(u+=" if (!"+B+") break; ")}e.errorPath=U}he&&(u+=" } "),u+=" }  ",k&&(u+=" if ("+B+") { ",R+="}")}var it=e.opts.useDefaults&&!e.compositeRule;if(ie.length){var ot=ie;if(ot)for(var h,Ct=-1,nt=ot.length-1;Ct<nt;){h=ot[Ct+=1];var Je=y[h];if(e.opts.strictKeywords?typeof Je=="object"&&Object.keys(Je).length>0||Je===!1:e.util.schemaHasRules(Je,e.RULES.all)){var tt=e.util.getProperty(h),Oe=A+tt,rt=it&&Je.default!==void 0;P.schema=Je,P.schemaPath=E+tt,P.errSchemaPath=C+"/"+e.util.escapeFragment(h),P.errorPath=e.util.getPath(e.errorPath,h,e.opts.jsonPointers),P.dataPathArr[N]=e.util.toQuotedString(h);var lt=e.validate(P);if(P.baseId=c,e.util.varOccurences(lt,Y)<2){lt=e.util.varReplace(lt,Y,Oe);var ht=Oe}else{var ht=Y;u+=" var "+Y+" = "+Oe+"; "}if(rt)u+=" "+lt+" ";else{if(x&&x[h]){u+=" if ( "+ht+" === undefined ",w&&(u+=" || ! Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(h)+"') "),u+=") { "+B+" = false; ";var U=e.errorPath,ne=C,jt=e.util.escapeQuotes(h);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(U,h,e.opts.jsonPointers)),C=e.errSchemaPath+"/required";var fe=fe||[];fe.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { missingProperty: '"+jt+"' } ",e.opts.messages!==!1&&(u+=" , message: '",e.opts._errorDataPathProperty?u+="is a required property":u+="should have required property \\'"+jt+"\\'",u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var me=u;u=fe.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+me+"]); ":u+=" validate.errors = ["+me+"]; return false; ":u+=" var err = "+me+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",C=ne,e.errorPath=U,u+=" } else { "}else k?(u+=" if ( "+ht+" === undefined ",w&&(u+=" || ! Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(h)+"') "),u+=") { "+B+" = true; } else { "):(u+=" if ("+ht+" !== undefined ",w&&(u+=" &&   Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(h)+"') "),u+=" ) { ");u+=" "+lt+" } "}}k&&(u+=" if ("+B+") { ",R+="}")}}if(Q.length){var Ve=Q;if(Ve)for(var V,We=-1,Gt=Ve.length-1;We<Gt;){V=Ve[We+=1];var Je=ue[V];if(e.opts.strictKeywords?typeof Je=="object"&&Object.keys(Je).length>0||Je===!1:e.util.schemaHasRules(Je,e.RULES.all)){P.schema=Je,P.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(V),P.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(V),w?u+=" "+J+" = "+J+" || Object.keys("+A+"); for (var "+O+"=0; "+O+"<"+J+".length; "+O+"++) { var "+F+" = "+J+"["+O+"]; ":u+=" for (var "+F+" in "+A+") { ",u+=" if ("+e.usePattern(V)+".test("+F+")) { ",P.errorPath=e.util.getPathExpr(e.errorPath,F,e.opts.jsonPointers);var Oe=A+"["+F+"]";P.dataPathArr[N]=F;var lt=e.validate(P);P.baseId=c,e.util.varOccurences(lt,Y)<2?u+=" "+e.util.varReplace(lt,Y,Oe)+" ":u+=" var "+Y+" = "+Oe+"; "+lt+" ",k&&(u+=" if (!"+B+") break; "),u+=" } ",k&&(u+=" else "+B+" = true; "),u+=" }  ",k&&(u+=" if ("+B+") { ",R+="}")}}}return k&&(u+=" "+R+" if ("+D+" == errors) {"),u}),properties$l}var propertyNames,hasRequiredPropertyNames;function requirePropertyNames(){return hasRequiredPropertyNames||(hasRequiredPropertyNames=1,propertyNames=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="errs__"+l,P=e.util.copy(e),R="";P.level++;var B="valid"+P.level;if(u+="var "+D+" = errors;",e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)){P.schema=y,P.schemaPath=E,P.errSchemaPath=C;var F="key"+l,O="idx"+l,N="i"+l,Y="' + "+F+" + '",J=P.dataLevel=e.dataLevel+1,ie="data"+J,ue="dataProperties"+l,Q=e.opts.ownProperties,ce=e.baseId;Q&&(u+=" var "+ue+" = undefined; "),Q?u+=" "+ue+" = "+ue+" || Object.keys("+A+"); for (var "+O+"=0; "+O+"<"+ue+".length; "+O+"++) { var "+F+" = "+ue+"["+O+"]; ":u+=" for (var "+F+" in "+A+") { ",u+=" var startErrs"+l+" = errors; ";var he=F,ke=e.compositeRule;e.compositeRule=P.compositeRule=!0;var L=e.validate(P);P.baseId=ce,e.util.varOccurences(L,ie)<2?u+=" "+e.util.varReplace(L,ie,he)+" ":u+=" var "+ie+" = "+he+"; "+L+" ",e.compositeRule=P.compositeRule=ke,u+=" if (!"+B+") { for (var "+N+"=startErrs"+l+"; "+N+"<errors; "+N+"++) { vErrors["+N+"].propertyName = "+F+"; }   var err =   ",e.createErrors!==!1?(u+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { propertyName: '"+Y+"' } ",e.opts.messages!==!1&&(u+=" , message: 'property name \\'"+Y+"\\' is invalid' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&k&&(e.async?u+=" throw new ValidationError(vErrors); ":u+=" validate.errors = vErrors; return false; "),k&&(u+=" break; "),u+=" } }"}return k&&(u+=" "+R+" if ("+D+" == errors) {"),u}),propertyNames}var required$h,hasRequiredRequired;function requireRequired(){return hasRequiredRequired||(hasRequiredRequired=1,required$h=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P=e.opts.$data&&y&&y.$data;P&&(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ");var R="schema"+l;if(!P)if(y.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var B=[],F=y;if(F)for(var O,N=-1,Y=F.length-1;N<Y;){O=F[N+=1];var J=e.schema.properties[O];J&&(e.opts.strictKeywords?typeof J=="object"&&Object.keys(J).length>0||J===!1:e.util.schemaHasRules(J,e.RULES.all))||(B[B.length]=O)}}else var B=y;if(P||B.length){var ie=e.errorPath,ue=P||B.length>=e.opts.loopRequired,Q=e.opts.ownProperties;if(k)if(u+=" var missing"+l+"; ",ue){P||(u+=" var "+R+" = validate.schema"+E+"; ");var ce="i"+l,he="schema"+l+"["+ce+"]",ke="' + "+he+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(ie,he,e.opts.jsonPointers)),u+=" var "+D+" = true; ",P&&(u+=" if (schema"+l+" === undefined) "+D+" = true; else if (!Array.isArray(schema"+l+")) "+D+" = false; else {"),u+=" for (var "+ce+" = 0; "+ce+" < "+R+".length; "+ce+"++) { "+D+" = "+A+"["+R+"["+ce+"]] !== undefined ",Q&&(u+=" &&   Object.prototype.hasOwnProperty.call("+A+", "+R+"["+ce+"]) "),u+="; if (!"+D+") break; } ",P&&(u+="  }  "),u+="  if (!"+D+") {   ";var L=L||[];L.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { missingProperty: '"+ke+"' } ",e.opts.messages!==!1&&(u+=" , message: '",e.opts._errorDataPathProperty?u+="is a required property":u+="should have required property \\'"+ke+"\\'",u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var d=u;u=L.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+d+"]); ":u+=" validate.errors = ["+d+"]; return false; ":u+=" var err = "+d+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } else { "}else{u+=" if ( ";var v=B;if(v)for(var w,ce=-1,c=v.length-1;ce<c;){w=v[ce+=1],ce&&(u+=" || ");var p=e.util.getProperty(w),x=A+p;u+=" ( ( "+x+" === undefined ",Q&&(u+=" || ! Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(w)+"') "),u+=") && (missing"+l+" = "+e.util.toQuotedString(e.opts.jsonPointers?w:p)+") ) "}u+=") {  ";var he="missing"+l,ke="' + "+he+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(ie,he,!0):ie+" + "+he);var L=L||[];L.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { missingProperty: '"+ke+"' } ",e.opts.messages!==!1&&(u+=" , message: '",e.opts._errorDataPathProperty?u+="is a required property":u+="should have required property \\'"+ke+"\\'",u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var d=u;u=L.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+d+"]); ":u+=" validate.errors = ["+d+"]; return false; ":u+=" var err = "+d+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } else { "}else if(ue){P||(u+=" var "+R+" = validate.schema"+E+"; ");var ce="i"+l,he="schema"+l+"["+ce+"]",ke="' + "+he+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(ie,he,e.opts.jsonPointers)),P&&(u+=" if ("+R+" && !Array.isArray("+R+")) {  var err =   ",e.createErrors!==!1?(u+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { missingProperty: '"+ke+"' } ",e.opts.messages!==!1&&(u+=" , message: '",e.opts._errorDataPathProperty?u+="is a required property":u+="should have required property \\'"+ke+"\\'",u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+R+" !== undefined) { "),u+=" for (var "+ce+" = 0; "+ce+" < "+R+".length; "+ce+"++) { if ("+A+"["+R+"["+ce+"]] === undefined ",Q&&(u+=" || ! Object.prototype.hasOwnProperty.call("+A+", "+R+"["+ce+"]) "),u+=") {  var err =   ",e.createErrors!==!1?(u+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { missingProperty: '"+ke+"' } ",e.opts.messages!==!1&&(u+=" , message: '",e.opts._errorDataPathProperty?u+="is a required property":u+="should have required property \\'"+ke+"\\'",u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",P&&(u+="  }  ")}else{var S=B;if(S)for(var w,b=-1,h=S.length-1;b<h;){w=S[b+=1];var p=e.util.getProperty(w),ke=e.util.escapeQuotes(w),x=A+p;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(ie,w,e.opts.jsonPointers)),u+=" if ( "+x+" === undefined ",Q&&(u+=" || ! Object.prototype.hasOwnProperty.call("+A+", '"+e.util.escapeQuotes(w)+"') "),u+=") {  var err =   ",e.createErrors!==!1?(u+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { missingProperty: '"+ke+"' } ",e.opts.messages!==!1&&(u+=" , message: '",e.opts._errorDataPathProperty?u+="is a required property":u+="should have required property \\'"+ke+"\\'",u+="' "),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=ie}else k&&(u+=" if (true) {");return u}),required$h}var uniqueItems,hasRequiredUniqueItems;function requireUniqueItems(){return hasRequiredUniqueItems||(hasRequiredUniqueItems=1,uniqueItems=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A="data"+(m||""),D="valid"+l,P=e.opts.$data&&y&&y.$data,R;if(P?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",R="schema"+l):R=y,(y||P)&&e.opts.uniqueItems!==!1){P&&(u+=" var "+D+"; if ("+R+" === false || "+R+" === undefined) "+D+" = true; else if (typeof "+R+" != 'boolean') "+D+" = false; else { "),u+=" var i = "+A+".length , "+D+" = true , j; if (i > 1) { ";var B=e.schema.items&&e.schema.items.type,F=Array.isArray(B);if(!B||B=="object"||B=="array"||F&&(B.indexOf("object")>=0||B.indexOf("array")>=0))u+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+A+"[i], "+A+"[j])) { "+D+" = false; break outer; } } } ";else{u+=" var itemIndices = {}, item; for (;i--;) { var item = "+A+"[i]; ";var O="checkDataType"+(F?"s":"");u+=" if ("+e.util[O](B,"item",e.opts.strictNumbers,!0)+") continue; ",F&&(u+=` if (typeof item == 'string') item = '"' + item; `),u+=" if (typeof itemIndices[item] == 'number') { "+D+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}u+=" } ",P&&(u+="  }  "),u+=" if (!"+D+") {   ";var N=N||[];N.push(u),u="",e.createErrors!==!1?(u+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(u+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(u+=" , schema:  ",P?u+="validate.schema"+E:u+=""+y,u+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+A+" "),u+=" } "):u+=" {} ";var Y=u;u=N.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+Y+"]); ":u+=" validate.errors = ["+Y+"]; return false; ":u+=" var err = "+Y+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u+=" } ",k&&(u+=" else { ")}else k&&(u+=" if (true) { ");return u}),uniqueItems}var dotjs,hasRequiredDotjs;function requireDotjs(){return hasRequiredDotjs||(hasRequiredDotjs=1,dotjs={$ref:requireRef(),allOf:requireAllOf(),anyOf:requireAnyOf(),$comment:requireComment(),const:require_const(),contains:requireContains(),dependencies:requireDependencies(),enum:require_enum(),format:requireFormat(),if:require_if(),items:requireItems(),maximum:require_limit(),minimum:require_limit(),maxItems:require_limitItems(),minItems:require_limitItems(),maxLength:require_limitLength(),minLength:require_limitLength(),maxProperties:require_limitProperties(),minProperties:require_limitProperties(),multipleOf:requireMultipleOf(),not:requireNot(),oneOf:requireOneOf(),pattern:requirePattern(),properties:requireProperties(),propertyNames:requirePropertyNames(),required:requireRequired(),uniqueItems:requireUniqueItems(),validate:requireValidate()}),dotjs}var rules,hasRequiredRules;function requireRules(){if(hasRequiredRules)return rules;hasRequiredRules=1;var t=requireDotjs(),e=requireUtil().toHash;return rules=function(){var o=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],u=["type","$comment"],l=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],m=["number","integer","string","array","object","boolean","null"];return o.all=e(u),o.types=e(m),o.forEach(function(y){y.rules=y.rules.map(function(E){var C;if(typeof E=="object"){var k=Object.keys(E)[0];C=E[k],E=k,C.forEach(function(D){u.push(D),o.all[D]=!0})}u.push(E);var A=o.all[E]={keyword:E,code:t[E],implements:C};return A}),o.all.$comment={keyword:"$comment",code:t.$comment},y.type&&(o.types[y.type]=y)}),o.keywords=e(u.concat(l)),o.custom={},o},rules}var data,hasRequiredData;function requireData(){if(hasRequiredData)return data;hasRequiredData=1;var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return data=function(e,n){for(var o=0;o<n.length;o++){e=JSON.parse(JSON.stringify(e));var u=n[o].split("/"),l=e,m;for(m=1;m<u.length;m++)l=l[u[m]];for(m=0;m<t.length;m++){var y=t[m],E=l[y];E&&(l[y]={anyOf:[E,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e},data}var async,hasRequiredAsync;function requireAsync(){if(hasRequiredAsync)return async;hasRequiredAsync=1;var t=requireError_classes().MissingRef;async=e;function e(n,o,u){var l=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof o=="function"&&(u=o,o=void 0);var m=y(n).then(function(){var C=l._addSchema(n,void 0,o);return C.validate||E(C)});return u&&m.then(function(C){u(null,C)},u),m;function y(C){var k=C.$schema;return k&&!l.getSchema(k)?e.call(l,{$ref:k},!0):Promise.resolve()}function E(C){try{return l._compile(C)}catch(A){if(A instanceof t)return k(A);throw A}function k(A){var D=A.missingSchema;if(B(D))throw new Error("Schema "+D+" is loaded but "+A.missingRef+" cannot be resolved");var P=l._loadingSchemas[D];return P||(P=l._loadingSchemas[D]=l._opts.loadSchema(D),P.then(R,R)),P.then(function(F){if(!B(D))return y(F).then(function(){B(D)||l.addSchema(F,D,void 0,o)})}).then(function(){return E(C)});function R(){delete l._loadingSchemas[D]}function B(F){return l._refs[F]||l._schemas[F]}}}}return async}var custom,hasRequiredCustom;function requireCustom(){return hasRequiredCustom||(hasRequiredCustom=1,custom=function(e,n,o){var u=" ",l=e.level,m=e.dataLevel,y=e.schema[n],E=e.schemaPath+e.util.getProperty(n),C=e.errSchemaPath+"/"+n,k=!e.opts.allErrors,A,D="data"+(m||""),P="valid"+l,R="errs__"+l,B=e.opts.$data&&y&&y.$data,F;B?(u+=" var schema"+l+" = "+e.util.getData(y.$data,m,e.dataPathArr)+"; ",F="schema"+l):F=y;var O=this,N="definition"+l,Y=O.definition,J="",ie,ue,Q,ce,he;if(B&&Y.$data){he="keywordValidate"+l;var ke=Y.validateSchema;u+=" var "+N+" = RULES.custom['"+n+"'].definition; var "+he+" = "+N+".validate;"}else{if(ce=e.useCustomRule(O,y,e.schema,e),!ce)return;F="validate.schema"+E,he=ce.code,ie=Y.compile,ue=Y.inline,Q=Y.macro}var L=he+".errors",d="i"+l,v="ruleErr"+l,w=Y.async;if(w&&!e.async)throw new Error("async keyword in sync schema");if(ue||Q||(u+=""+L+" = null;"),u+="var "+R+" = errors;var "+P+";",B&&Y.$data&&(J+="}",u+=" if ("+F+" === undefined) { "+P+" = true; } else { ",ke&&(J+="}",u+=" "+P+" = "+N+".validateSchema("+F+"); if ("+P+") { ")),ue)Y.statements?u+=" "+ce.validate+" ":u+=" "+P+" = "+ce.validate+"; ";else if(Q){var c=e.util.copy(e),J="";c.level++;var p="valid"+c.level;c.schema=ce.validate,c.schemaPath="";var x=e.compositeRule;e.compositeRule=c.compositeRule=!0;var S=e.validate(c).replace(/validate\.schema/g,he);e.compositeRule=c.compositeRule=x,u+=" "+S}else{var b=b||[];b.push(u),u="",u+="  "+he+".call( ",e.opts.passContext?u+="this":u+="self",ie||Y.schema===!1?u+=" , "+D+" ":u+=" , "+F+" , "+D+" , validate.schema"+e.schemaPath+" ",u+=" , (dataPath || '')",e.errorPath!='""'&&(u+=" + "+e.errorPath);var h=m?"data"+(m-1||""):"parentData",T=m?e.dataPathArr[m]:"parentDataProperty";u+=" , "+h+" , "+T+" , rootData )  ";var M=u;u=b.pop(),Y.errors===!1?(u+=" "+P+" = ",w&&(u+="await "),u+=""+M+"; "):w?(L="customErrors"+l,u+=" var "+L+" = null; try { "+P+" = await "+M+"; } catch (e) { "+P+" = false; if (e instanceof ValidationError) "+L+" = e.errors; else throw e; } "):u+=" "+L+" = null; "+P+" = "+M+"; "}if(Y.modifying&&(u+=" if ("+h+") "+D+" = "+h+"["+T+"];"),u+=""+J,Y.valid)k&&(u+=" if (true) { ");else{u+=" if ( ",Y.valid===void 0?(u+=" !",Q?u+=""+p:u+=""+P):u+=" "+!Y.valid+" ",u+=") { ",A=O.keyword;var b=b||[];b.push(u),u="";var b=b||[];b.push(u),u="",e.createErrors!==!1?(u+=" { keyword: '"+(A||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { keyword: '"+O.keyword+"' } ",e.opts.messages!==!1&&(u+=` , message: 'should pass "`+O.keyword+`" keyword validation' `),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+D+" "),u+=" } "):u+=" {} ";var j=u;u=b.pop(),!e.compositeRule&&k?e.async?u+=" throw new ValidationError(["+j+"]); ":u+=" validate.errors = ["+j+"]; return false; ":u+=" var err = "+j+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var V=u;u=b.pop(),ue?Y.errors?Y.errors!="full"&&(u+="  for (var "+d+"="+R+"; "+d+"<errors; "+d+"++) { var "+v+" = vErrors["+d+"]; if ("+v+".dataPath === undefined) "+v+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+v+".schemaPath === undefined) { "+v+'.schemaPath = "'+C+'"; } ',e.opts.verbose&&(u+=" "+v+".schema = "+F+"; "+v+".data = "+D+"; "),u+=" } "):Y.errors===!1?u+=" "+V+" ":(u+=" if ("+R+" == errors) { "+V+" } else {  for (var "+d+"="+R+"; "+d+"<errors; "+d+"++) { var "+v+" = vErrors["+d+"]; if ("+v+".dataPath === undefined) "+v+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+v+".schemaPath === undefined) { "+v+'.schemaPath = "'+C+'"; } ',e.opts.verbose&&(u+=" "+v+".schema = "+F+"; "+v+".data = "+D+"; "),u+=" } } "):Q?(u+="   var err =   ",e.createErrors!==!1?(u+=" { keyword: '"+(A||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(C)+" , params: { keyword: '"+O.keyword+"' } ",e.opts.messages!==!1&&(u+=` , message: 'should pass "`+O.keyword+`" keyword validation' `),e.opts.verbose&&(u+=" , schema: validate.schema"+E+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+D+" "),u+=" } "):u+=" {} ",u+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&k&&(e.async?u+=" throw new ValidationError(vErrors); ":u+=" validate.errors = vErrors; return false; ")):Y.errors===!1?u+=" "+V+" ":(u+=" if (Array.isArray("+L+")) { if (vErrors === null) vErrors = "+L+"; else vErrors = vErrors.concat("+L+"); errors = vErrors.length;  for (var "+d+"="+R+"; "+d+"<errors; "+d+"++) { var "+v+" = vErrors["+d+"]; if ("+v+".dataPath === undefined) "+v+".dataPath = (dataPath || '') + "+e.errorPath+";  "+v+'.schemaPath = "'+C+'";  ',e.opts.verbose&&(u+=" "+v+".schema = "+F+"; "+v+".data = "+D+"; "),u+=" } } else { "+V+" } "),u+=" } ",k&&(u+=" else { ")}return u}),custom}const $schema$k="http://json-schema.org/draft-07/schema#",$id$k="http://json-schema.org/draft-07/schema#",title$1="Core schema meta-schema",definitions$1={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type$i=["object","boolean"],properties$k={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},require$$13$1={$schema:$schema$k,$id:$id$k,title:title$1,definitions:definitions$1,type:type$i,properties:properties$k,default:!0};var definition_schema,hasRequiredDefinition_schema;function requireDefinition_schema(){if(hasRequiredDefinition_schema)return definition_schema;hasRequiredDefinition_schema=1;var t=require$$13$1;return definition_schema={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:t.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:t.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},definition_schema}var keyword,hasRequiredKeyword;function requireKeyword(){if(hasRequiredKeyword)return keyword;hasRequiredKeyword=1;var t=/^[a-z_$][a-z0-9_$-]*$/i,e=requireCustom(),n=requireDefinition_schema();keyword={add:o,get:u,remove:l,validate:m};function o(y,E){var C=this.RULES;if(C.keywords[y])throw new Error("Keyword "+y+" is already defined");if(!t.test(y))throw new Error("Keyword "+y+" is not a valid identifier");if(E){this.validateKeyword(E,!0);var k=E.type;if(Array.isArray(k))for(var A=0;A<k.length;A++)P(y,k[A],E);else P(y,k,E);var D=E.metaSchema;D&&(E.$data&&this._opts.$data&&(D={anyOf:[D,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),E.validateSchema=this.compile(D,!0))}C.keywords[y]=C.all[y]=!0;function P(R,B,F){for(var O,N=0;N<C.length;N++){var Y=C[N];if(Y.type==B){O=Y;break}}O||(O={type:B,rules:[]},C.push(O));var J={keyword:R,definition:F,custom:!0,code:e,implements:F.implements};O.rules.push(J),C.custom[R]=J}return this}function u(y){var E=this.RULES.custom[y];return E?E.definition:this.RULES.keywords[y]||!1}function l(y){var E=this.RULES;delete E.keywords[y],delete E.all[y],delete E.custom[y];for(var C=0;C<E.length;C++)for(var k=E[C].rules,A=0;A<k.length;A++)if(k[A].keyword==y){k.splice(A,1);break}return this}function m(y,E){m.errors=null;var C=this._validateKeyword=this._validateKeyword||this.compile(n,!0);if(C(y))return!0;if(m.errors=C.errors,E)throw new Error("custom keyword definition is invalid: "+this.errorsText(C.errors));return!1}return keyword}const $schema$j="http://json-schema.org/draft-07/schema#",$id$j="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description="Meta-schema for $data reference (JSON Schema extension proposal)",type$h="object",required$g=["$data"],properties$j={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties=!1,require$$12$1={$schema:$schema$j,$id:$id$j,description,type:type$h,required:required$g,properties:properties$j,additionalProperties};var ajv,hasRequiredAjv;function requireAjv(){if(hasRequiredAjv)return ajv;hasRequiredAjv=1;var t=requireCompile(),e=requireResolve(),n=requireCache(),o=requireSchema_obj(),u=requireFastJsonStableStringify(),l=requireFormats(),m=requireRules(),y=requireData(),E=requireUtil();ajv=R,R.prototype.validate=B,R.prototype.compile=F,R.prototype.addSchema=O,R.prototype.addMetaSchema=N,R.prototype.validateSchema=Y,R.prototype.getSchema=ie,R.prototype.removeSchema=ce,R.prototype.addFormat=x,R.prototype.errorsText=p,R.prototype._addSchema=ke,R.prototype._compile=L,R.prototype.compileAsync=requireAsync();var C=requireKeyword();R.prototype.addKeyword=C.add,R.prototype.getKeyword=C.get,R.prototype.removeKeyword=C.remove,R.prototype.validateKeyword=C.validate;var k=requireError_classes();R.ValidationError=k.Validation,R.MissingRefError=k.MissingRef,R.$dataMetaSchema=y;var A="http://json-schema.org/draft-07/schema",D=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],P=["/properties"];function R(Z){if(!(this instanceof R))return new R(Z);Z=this._opts=E.copy(Z)||{},V(this),this._schemas={},this._refs={},this._fragments={},this._formats=l(Z.format),this._cache=Z.cache||new n,this._loadingSchemas={},this._compilations=[],this.RULES=m(),this._getId=d(Z),Z.loopRequired=Z.loopRequired||1/0,Z.errorDataPath=="property"&&(Z._errorDataPathProperty=!0),Z.serialize===void 0&&(Z.serialize=u),this._metaOpts=j(this),Z.formats&&h(this),Z.keywords&&T(this),S(this),typeof Z.meta=="object"&&this.addMetaSchema(Z.meta),Z.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),b(this)}function B(Z,U){var z;if(typeof Z=="string"){if(z=this.getSchema(Z),!z)throw new Error('no schema with key or ref "'+Z+'"')}else{var ne=this._addSchema(Z);z=ne.validate||this._compile(ne)}var fe=z(U);return z.$async!==!0&&(this.errors=z.errors),fe}function F(Z,U){var z=this._addSchema(Z,void 0,U);return z.validate||this._compile(z)}function O(Z,U,z,ne){if(Array.isArray(Z)){for(var fe=0;fe<Z.length;fe++)this.addSchema(Z[fe],void 0,z,ne);return this}var me=this._getId(Z);if(me!==void 0&&typeof me!="string")throw new Error("schema id must be string");return U=e.normalizeId(U||me),M(this,U),this._schemas[U]=this._addSchema(Z,z,ne,!0),this}function N(Z,U,z){return this.addSchema(Z,U,z,!0),this}function Y(Z,U){var z=Z.$schema;if(z!==void 0&&typeof z!="string")throw new Error("$schema must be a string");if(z=z||this._opts.defaultMeta||J(this),!z)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var ne=this.validate(z,Z);if(!ne&&U){var fe="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(fe);else throw new Error(fe)}return ne}function J(Z){var U=Z._opts.meta;return Z._opts.defaultMeta=typeof U=="object"?Z._getId(U)||U:Z.getSchema(A)?A:void 0,Z._opts.defaultMeta}function ie(Z){var U=Q(this,Z);switch(typeof U){case"object":return U.validate||this._compile(U);case"string":return this.getSchema(U);case"undefined":return ue(this,Z)}}function ue(Z,U){var z=e.schema.call(Z,{schema:{}},U);if(z){var ne=z.schema,fe=z.root,me=z.baseId,de=t.call(Z,ne,fe,void 0,me);return Z._fragments[U]=new o({ref:U,fragment:!0,schema:ne,root:fe,baseId:me,validate:de}),de}}function Q(Z,U){return U=e.normalizeId(U),Z._schemas[U]||Z._refs[U]||Z._fragments[U]}function ce(Z){if(Z instanceof RegExp)return he(this,this._schemas,Z),he(this,this._refs,Z),this;switch(typeof Z){case"undefined":return he(this,this._schemas),he(this,this._refs),this._cache.clear(),this;case"string":var U=Q(this,Z);return U&&this._cache.del(U.cacheKey),delete this._schemas[Z],delete this._refs[Z],this;case"object":var z=this._opts.serialize,ne=z?z(Z):Z;this._cache.del(ne);var fe=this._getId(Z);fe&&(fe=e.normalizeId(fe),delete this._schemas[fe],delete this._refs[fe])}return this}function he(Z,U,z){for(var ne in U){var fe=U[ne];!fe.meta&&(!z||z.test(ne))&&(Z._cache.del(fe.cacheKey),delete U[ne])}}function ke(Z,U,z,ne){if(typeof Z!="object"&&typeof Z!="boolean")throw new Error("schema should be object or boolean");var fe=this._opts.serialize,me=fe?fe(Z):Z,de=this._cache.get(me);if(de)return de;ne=ne||this._opts.addUsedSchema!==!1;var Oe=e.normalizeId(this._getId(Z));Oe&&ne&&M(this,Oe);var lt=this._opts.validateSchema!==!1&&!U,it;lt&&!(it=Oe&&Oe==e.normalizeId(Z.$schema))&&this.validateSchema(Z,!0);var ot=e.ids.call(this,Z),Ct=new o({id:Oe,schema:Z,localRefs:ot,cacheKey:me,meta:z});return Oe[0]!="#"&&ne&&(this._refs[Oe]=Ct),this._cache.put(me,Ct),lt&&it&&this.validateSchema(Z,!0),Ct}function L(Z,U){if(Z.compiling)return Z.validate=fe,fe.schema=Z.schema,fe.errors=null,fe.root=U||fe,Z.schema.$async===!0&&(fe.$async=!0),fe;Z.compiling=!0;var z;Z.meta&&(z=this._opts,this._opts=this._metaOpts);var ne;try{ne=t.call(this,Z.schema,U,Z.localRefs)}catch(me){throw delete Z.validate,me}finally{Z.compiling=!1,Z.meta&&(this._opts=z)}return Z.validate=ne,Z.refs=ne.refs,Z.refVal=ne.refVal,Z.root=ne.root,ne;function fe(){var me=Z.validate,de=me.apply(this,arguments);return fe.errors=me.errors,de}}function d(Z){switch(Z.schemaId){case"auto":return c;case"id":return v;default:return w}}function v(Z){return Z.$id&&this.logger.warn("schema $id ignored",Z.$id),Z.id}function w(Z){return Z.id&&this.logger.warn("schema id ignored",Z.id),Z.$id}function c(Z){if(Z.$id&&Z.id&&Z.$id!=Z.id)throw new Error("schema $id is different from id");return Z.$id||Z.id}function p(Z,U){if(Z=Z||this.errors,!Z)return"No errors";U=U||{};for(var z=U.separator===void 0?", ":U.separator,ne=U.dataVar===void 0?"data":U.dataVar,fe="",me=0;me<Z.length;me++){var de=Z[me];de&&(fe+=ne+de.dataPath+" "+de.message+z)}return fe.slice(0,-z.length)}function x(Z,U){return typeof U=="string"&&(U=new RegExp(U)),this._formats[Z]=U,this}function S(Z){var U;if(Z._opts.$data&&(U=require$$12$1,Z.addMetaSchema(U,U.$id,!0)),Z._opts.meta!==!1){var z=require$$13$1;Z._opts.$data&&(z=y(z,P)),Z.addMetaSchema(z,A,!0),Z._refs["http://json-schema.org/schema"]=A}}function b(Z){var U=Z._opts.schemas;if(U)if(Array.isArray(U))Z.addSchema(U);else for(var z in U)Z.addSchema(U[z],z)}function h(Z){for(var U in Z._opts.formats){var z=Z._opts.formats[U];Z.addFormat(U,z)}}function T(Z){for(var U in Z._opts.keywords){var z=Z._opts.keywords[U];Z.addKeyword(U,z)}}function M(Z,U){if(Z._schemas[U]||Z._refs[U])throw new Error('schema with key or id "'+U+'" already exists')}function j(Z){for(var U=E.copy(Z._opts),z=0;z<D.length;z++)delete U[D[z]];return U}function V(Z){var U=Z._opts.logger;if(U===!1)Z.logger={log:ee,warn:ee,error:ee};else{if(U===void 0&&(U=console),!(typeof U=="object"&&U.log&&U.warn&&U.error))throw new Error("logger must implement log, warn and error methods");Z.logger=U}}function ee(){}return ajv}var error,hasRequiredError;function requireError(){if(hasRequiredError)return error;hasRequiredError=1;function t(e){var n="validation failed";this.name="HARError",this.message=n,this.errors=e,typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(n).stack}return t.prototype=Error.prototype,error=t,error}const $id$i="afterRequest.json#",$schema$i="http://json-schema.org/draft-06/schema#",type$g="object",optional$4=!0,required$f=["lastAccess","eTag","hitCount"],properties$i={expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}},require$$0={$id:$id$i,$schema:$schema$i,type:type$g,optional:optional$4,required:required$f,properties:properties$i},$id$h="beforeRequest.json#",$schema$h="http://json-schema.org/draft-06/schema#",type$f="object",optional$3=!0,required$e=["lastAccess","eTag","hitCount"],properties$h={expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}},require$$1={$id:$id$h,$schema:$schema$h,type:type$f,optional:optional$3,required:required$e,properties:properties$h},$id$g="browser.json#",$schema$g="http://json-schema.org/draft-06/schema#",type$e="object",required$d=["name","version"],properties$g={name:{type:"string"},version:{type:"string"},comment:{type:"string"}},require$$2={$id:$id$g,$schema:$schema$g,type:type$e,required:required$d,properties:properties$g},$id$f="cache.json#",$schema$f="http://json-schema.org/draft-06/schema#",properties$f={beforeRequest:{oneOf:[{type:"null"},{$ref:"beforeRequest.json#"}]},afterRequest:{oneOf:[{type:"null"},{$ref:"afterRequest.json#"}]},comment:{type:"string"}},require$$3$1={$id:$id$f,$schema:$schema$f,properties:properties$f},$id$e="content.json#",$schema$e="http://json-schema.org/draft-06/schema#",type$d="object",required$c=["size","mimeType"],properties$e={size:{type:"integer"},compression:{type:"integer"},mimeType:{type:"string"},text:{type:"string"},encoding:{type:"string"},comment:{type:"string"}},require$$4={$id:$id$e,$schema:$schema$e,type:type$d,required:required$c,properties:properties$e},$id$d="cookie.json#",$schema$d="http://json-schema.org/draft-06/schema#",type$c="object",required$b=["name","value"],properties$d={name:{type:"string"},value:{type:"string"},path:{type:"string"},domain:{type:"string"},expires:{type:["string","null"],format:"date-time"},httpOnly:{type:"boolean"},secure:{type:"boolean"},comment:{type:"string"}},require$$5={$id:$id$d,$schema:$schema$d,type:type$c,required:required$b,properties:properties$d},$id$c="creator.json#",$schema$c="http://json-schema.org/draft-06/schema#",type$b="object",required$a=["name","version"],properties$c={name:{type:"string"},version:{type:"string"},comment:{type:"string"}},require$$6={$id:$id$c,$schema:$schema$c,type:type$b,required:required$a,properties:properties$c},$id$b="entry.json#",$schema$b="http://json-schema.org/draft-06/schema#",type$a="object",optional$2=!0,required$9=["startedDateTime","time","request","response","cache","timings"],properties$b={pageref:{type:"string"},startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},time:{type:"number",min:0},request:{$ref:"request.json#"},response:{$ref:"response.json#"},cache:{$ref:"cache.json#"},timings:{$ref:"timings.json#"},serverIPAddress:{type:"string",oneOf:[{format:"ipv4"},{format:"ipv6"}]},connection:{type:"string"},comment:{type:"string"}},require$$7={$id:$id$b,$schema:$schema$b,type:type$a,optional:optional$2,required:required$9,properties:properties$b},$id$a="har.json#",$schema$a="http://json-schema.org/draft-06/schema#",type$9="object",required$8=["log"],properties$a={log:{$ref:"log.json#"}},require$$8={$id:$id$a,$schema:$schema$a,type:type$9,required:required$8,properties:properties$a},$id$9="header.json#",$schema$9="http://json-schema.org/draft-06/schema#",type$8="object",required$7=["name","value"],properties$9={name:{type:"string"},value:{type:"string"},comment:{type:"string"}},require$$9={$id:$id$9,$schema:$schema$9,type:type$8,required:required$7,properties:properties$9},$id$8="log.json#",$schema$8="http://json-schema.org/draft-06/schema#",type$7="object",required$6=["version","creator","entries"],properties$8={version:{type:"string"},creator:{$ref:"creator.json#"},browser:{$ref:"browser.json#"},pages:{type:"array",items:{$ref:"page.json#"}},entries:{type:"array",items:{$ref:"entry.json#"}},comment:{type:"string"}},require$$10={$id:$id$8,$schema:$schema$8,type:type$7,required:required$6,properties:properties$8},$id$7="page.json#",$schema$7="http://json-schema.org/draft-06/schema#",type$6="object",optional$1=!0,required$5=["startedDateTime","id","title","pageTimings"],properties$7={startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},id:{type:"string",unique:!0},title:{type:"string"},pageTimings:{$ref:"pageTimings.json#"},comment:{type:"string"}},require$$11={$id:$id$7,$schema:$schema$7,type:type$6,optional:optional$1,required:required$5,properties:properties$7},$id$6="pageTimings.json#",$schema$6="http://json-schema.org/draft-06/schema#",type$5="object",properties$6={onContentLoad:{type:"number",min:-1},onLoad:{type:"number",min:-1},comment:{type:"string"}},require$$12={$id:$id$6,$schema:$schema$6,type:type$5,properties:properties$6},$id$5="postData.json#",$schema$5="http://json-schema.org/draft-06/schema#",type$4="object",optional=!0,required$4=["mimeType"],properties$5={mimeType:{type:"string"},text:{type:"string"},params:{type:"array",required:["name"],properties:{name:{type:"string"},value:{type:"string"},fileName:{type:"string"},contentType:{type:"string"},comment:{type:"string"}}},comment:{type:"string"}},require$$13={$id:$id$5,$schema:$schema$5,type:type$4,optional,required:required$4,properties:properties$5},$id$4="query.json#",$schema$4="http://json-schema.org/draft-06/schema#",type$3="object",required$3=["name","value"],properties$4={name:{type:"string"},value:{type:"string"},comment:{type:"string"}},require$$14={$id:$id$4,$schema:$schema$4,type:type$3,required:required$3,properties:properties$4},$id$3="request.json#",$schema$3="http://json-schema.org/draft-06/schema#",type$2="object",required$2=["method","url","httpVersion","cookies","headers","queryString","headersSize","bodySize"],properties$3={method:{type:"string"},url:{type:"string",format:"uri"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},queryString:{type:"array",items:{$ref:"query.json#"}},postData:{$ref:"postData.json#"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}},require$$15={$id:$id$3,$schema:$schema$3,type:type$2,required:required$2,properties:properties$3},$id$2="response.json#",$schema$2="http://json-schema.org/draft-06/schema#",type$1="object",required$1=["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],properties$2={status:{type:"integer"},statusText:{type:"string"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},content:{$ref:"content.json#"},redirectURL:{type:"string"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}},require$$16={$id:$id$2,$schema:$schema$2,type:type$1,required:required$1,properties:properties$2},$id$1="timings.json#",$schema$1="http://json-schema.org/draft-06/schema#",required=["send","wait","receive"],properties$1={dns:{type:"number",min:-1},connect:{type:"number",min:-1},blocked:{type:"number",min:-1},send:{type:"number",min:-1},wait:{type:"number",min:-1},receive:{type:"number",min:-1},ssl:{type:"number",min:-1},comment:{type:"string"}},require$$17={$id:$id$1,$schema:$schema$1,required,properties:properties$1};var lib,hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,lib={afterRequest:require$$0,beforeRequest:require$$1,browser:require$$2,cache:require$$3$1,content:require$$4,cookie:require$$5,creator:require$$6,entry:require$$7,har:require$$8,header:require$$9,log:require$$10,page:require$$11,pageTimings:require$$12,postData:require$$13,query:require$$14,request:require$$15,response:require$$16,timings:require$$17}),lib}const $schema="http://json-schema.org/draft-06/schema#",$id="http://json-schema.org/draft-06/schema#",title="Core schema meta-schema",definitions={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type=["object","boolean"],properties={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},title:{type:"string"},description:{type:"string"},default:{},examples:{type:"array",items:{}},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:{},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},require$$3={$schema,$id,title,definitions,type,properties,default:{}};var hasRequiredPromise;function requirePromise(){if(hasRequiredPromise)return promise;hasRequiredPromise=1;var t=requireAjv(),e=requireError(),n=requireLib(),o;function u(){var m=new t({allErrors:!0});return m.addMetaSchema(require$$3),m.addSchema(n),m}function l(m,y){y=y||{},o=o||u();var E=o.getSchema(m+".json");return new Promise(function(C,k){var A=E(y);A?C(y):k(new e(E.errors))})}return promise.afterRequest=function(m){return l("afterRequest",m)},promise.beforeRequest=function(m){return l("beforeRequest",m)},promise.browser=function(m){return l("browser",m)},promise.cache=function(m){return l("cache",m)},promise.content=function(m){return l("content",m)},promise.cookie=function(m){return l("cookie",m)},promise.creator=function(m){return l("creator",m)},promise.entry=function(m){return l("entry",m)},promise.har=function(m){return l("har",m)},promise.header=function(m){return l("header",m)},promise.log=function(m){return l("log",m)},promise.page=function(m){return l("page",m)},promise.pageTimings=function(m){return l("pageTimings",m)},promise.postData=function(m){return l("postData",m)},promise.query=function(m){return l("query",m)},promise.request=function(m){return l("request",m)},promise.response=function(m){return l("response",m)},promise.timings=function(m){return l("timings",m)},promise}var hasRequiredHar;function requireHar(){if(hasRequiredHar)return har;hasRequiredHar=1;var t=require$$1$5,e=require$$1$1,n=requirePromise(),o=extend$1;function u(l){this.request=l}return u.prototype.reducer=function(l,m){if(l[m.name]===void 0)return l[m.name]=m.value,l;var y=[l[m.name],m.value];return l[m.name]=y,l},u.prototype.prep=function(l){if(l.queryObj={},l.headersObj={},l.postData.jsonObj=!1,l.postData.paramsObj=!1,l.queryString&&l.queryString.length&&(l.queryObj=l.queryString.reduce(this.reducer,{})),l.headers&&l.headers.length&&(l.headersObj=l.headers.reduceRight(function(E,C){return E[C.name]=C.value,E},{})),l.cookies&&l.cookies.length){var m=l.cookies.map(function(E){return E.name+"="+E.value});m.length&&(l.headersObj.cookie=m.join("; "))}function y(E){return E.some(function(C){return l.postData.mimeType.indexOf(C)===0})}if(y(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"]))l.postData.mimeType="multipart/form-data";else if(y(["application/x-www-form-urlencoded"]))l.postData.params?(l.postData.paramsObj=l.postData.params.reduce(this.reducer,{}),l.postData.text=e.stringify(l.postData.paramsObj)):l.postData.text="";else if(y(["text/json","text/x-json","application/json","application/x-json"])&&(l.postData.mimeType="application/json",l.postData.text))try{l.postData.jsonObj=JSON.parse(l.postData.text)}catch(E){this.request.debug(E),l.postData.mimeType="text/plain"}return l},u.prototype.options=function(l){if(!l.har)return l;var m={};if(o(m,l.har),m.log&&m.log.entries&&(m=m.log.entries[0]),m.url=m.url||l.url||l.uri||l.baseUrl||"/",m.httpVersion=m.httpVersion||"HTTP/1.1",m.queryString=m.queryString||[],m.headers=m.headers||[],m.cookies=m.cookies||[],m.postData=m.postData||{},m.postData.mimeType=m.postData.mimeType||"application/octet-stream",m.bodySize=0,m.headersSize=0,m.postData.size=0,!n.request(m))return l;var y=this.prep(m);y.url&&(l.url=y.url),y.method&&(l.method=y.method),Object.keys(y.queryObj).length&&(l.qs=y.queryObj),Object.keys(y.headersObj).length&&(l.headers=y.headersObj);function E(C){return y.postData.mimeType.indexOf(C)===0}return E("application/x-www-form-urlencoded")?l.form=y.postData.paramsObj:E("application/json")?y.postData.jsonObj&&(l.body=y.postData.jsonObj,l.json=!0):E("multipart/form-data")?(l.formData={},y.postData.params.forEach(function(C){var k={};if(!C.fileName&&!C.contentType){l.formData[C.name]=C.value;return}C.fileName&&!C.value?k.value=t.createReadStream(C.fileName):C.value&&(k.value=C.value),C.fileName&&(k.options={filename:C.fileName,contentType:C.contentType?C.contentType:null}),l.formData[C.name]=k})):y.postData.text&&(l.body=y.postData.text),l},har.Har=u,har}var auth={},rngBrowser={exports:{}},hasRequiredRngBrowser;function requireRngBrowser(){if(hasRequiredRngBrowser)return rngBrowser.exports;hasRequiredRngBrowser=1;var t=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(t){var e=new Uint8Array(16);rngBrowser.exports=function(){return t(e),e}}else{var n=new Array(16);rngBrowser.exports=function(){for(var u=0,l;u<16;u++)u&3||(l=Math.random()*4294967296),n[u]=l>>>((u&3)<<3)&255;return n}}return rngBrowser.exports}var bytesToUuid_1,hasRequiredBytesToUuid;function requireBytesToUuid(){if(hasRequiredBytesToUuid)return bytesToUuid_1;hasRequiredBytesToUuid=1;for(var t=[],e=0;e<256;++e)t[e]=(e+256).toString(16).substr(1);function n(o,u){var l=u||0,m=t;return[m[o[l++]],m[o[l++]],m[o[l++]],m[o[l++]],"-",m[o[l++]],m[o[l++]],"-",m[o[l++]],m[o[l++]],"-",m[o[l++]],m[o[l++]],"-",m[o[l++]],m[o[l++]],m[o[l++]],m[o[l++]],m[o[l++]],m[o[l++]]].join("")}return bytesToUuid_1=n,bytesToUuid_1}var v4_1,hasRequiredV4;function requireV4(){if(hasRequiredV4)return v4_1;hasRequiredV4=1;var t=requireRngBrowser(),e=requireBytesToUuid();function n(o,u,l){var m=u&&l||0;typeof o=="string"&&(u=o==="binary"?new Array(16):null,o=null),o=o||{};var y=o.random||(o.rng||t)();if(y[6]=y[6]&15|64,y[8]=y[8]&63|128,u)for(var E=0;E<16;++E)u[m+E]=y[E];return u||e(y)}return v4_1=n,v4_1}var hasRequiredAuth;function requireAuth(){if(hasRequiredAuth)return auth;hasRequiredAuth=1;var t=requireCaseless(),e=requireV4(),n=helpers$1,o=n.md5,u=n.toBase64;function l(m){this.request=m,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}return l.prototype.basic=function(m,y,E){var C=this;(typeof m!="string"||y!==void 0&&typeof y!="string")&&C.request.emit("error",new Error("auth() received invalid user or password")),C.user=m,C.pass=y,C.hasAuth=!0;var k=m+":"+(y||"");if(E||typeof E>"u"){var A="Basic "+u(k);return C.sentAuth=!0,A}},l.prototype.bearer=function(m,y){var E=this;if(E.bearerToken=m,E.hasAuth=!0,y||typeof y>"u"){typeof m=="function"&&(m=m());var C="Bearer "+(m||"");return E.sentAuth=!0,C}},l.prototype.digest=function(m,y,E){for(var C=this,k={},A=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;;){var D=A.exec(E);if(!D)break;k[D[1]]=D[2]||D[3]}var P=function(ue,Q,ce,he,ke,L){var d=o(Q+":"+ce+":"+he);return ue&&ue.toLowerCase()==="md5-sess"?o(d+":"+ke+":"+L):d},R=/(^|,)\s*auth\s*($|,)/.test(k.qop)&&"auth",B=R&&"00000001",F=R&&e().replace(/-/g,""),O=P(k.algorithm,C.user,k.realm,C.pass,k.nonce,F),N=o(m+":"+y),Y=o(R?O+":"+k.nonce+":"+B+":"+F+":"+R+":"+N:O+":"+k.nonce+":"+N),J={username:C.user,realm:k.realm,nonce:k.nonce,uri:y,qop:R,response:Y,nc:B,cnonce:F,algorithm:k.algorithm,opaque:k.opaque};E=[];for(var ie in J)J[ie]&&(ie==="qop"||ie==="nc"||ie==="algorithm"?E.push(ie+"="+J[ie]):E.push(ie+'="'+J[ie]+'"'));return E="Digest "+E.join(", "),C.sentAuth=!0,E},l.prototype.onRequest=function(m,y,E,C){var k=this,A=k.request,D;C===void 0&&m===void 0?k.request.emit("error",new Error("no auth mechanism defined")):C!==void 0?D=k.bearer(C,E):D=k.basic(m,y,E),D&&A.setHeader("authorization",D)},l.prototype.onResponse=function(m){var y=this,E=y.request;if(!y.hasAuth||y.sentAuth)return null;var C=t(m.headers),k=C.get("www-authenticate"),A=k&&k.split(" ")[0].toLowerCase();switch(E.debug("reauth",A),A){case"basic":return y.basic(y.user,y.pass,!0);case"bearer":return y.bearer(y.bearerToken,!0);case"digest":return y.digest(E.method,E.path,k)}},auth.Auth=l,auth}var oauth={},oauthSign={},hasRequiredOauthSign;function requireOauthSign(){if(hasRequiredOauthSign)return oauthSign;hasRequiredOauthSign=1;var t=requireCryptoBrowserify();function e(D,P,R){return t.createHmac(R,D).update(P).digest("base64")}function n(D,P){return t.createSign("RSA-SHA1").update(P).sign(D,"base64")}function o(D){return encodeURIComponent(D).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function u(D){var P,R,B=[];for(P in D)if(R=D[P],Array.isArray(R))for(var F=0;F<R.length;F++)B.push([P,R[F]]);else if(typeof R=="object")for(var O in R)B.push([P+"["+O+"]",R[O]]);else B.push([P,R]);return B}function l(D,P){return D>P?1:D<P?-1:0}function m(D,P,R){var B=u(R).map(function(O){return[o(O[0]),o(O[1]||"")]}).sort(function(O,N){return l(O[0],N[0])||l(O[1],N[1])}).map(function(O){return O.join("=")}).join("&"),F=[o(D?D.toUpperCase():"GET"),o(P),o(B)].join("&");return F}function y(D,P,R,B,F){var O=m(D,P,R),N=[B||"",F||""].map(o).join("&");return e(N,O,"sha1")}function E(D,P,R,B,F){var O=m(D,P,R),N=[B||"",F||""].map(o).join("&");return e(N,O,"sha256")}function C(D,P,R,B,F){var O=m(D,P,R),N=B||"";return n(N,O)}function k(D,P){var R=[D||"",P||""].map(o).join("&");return R}function A(D,P,R,B,F,O){var N,Y=1;switch(D){case"RSA-SHA1":N=C;break;case"HMAC-SHA1":N=y;break;case"HMAC-SHA256":N=E;break;case"PLAINTEXT":N=k,Y=4;break;default:throw new Error("Signature method not supported: "+D)}return N.apply(null,[].slice.call(arguments,Y))}return oauthSign.hmacsign=y,oauthSign.hmacsign256=E,oauthSign.rsasign=C,oauthSign.plaintext=k,oauthSign.sign=A,oauthSign.rfc3986=o,oauthSign.generateBase=m,oauthSign}var hasRequiredOauth;function requireOauth(){if(hasRequiredOauth)return oauth;hasRequiredOauth=1;var t=require$$2$2,e=requireLib$1(),n=requireCaseless(),o=requireV4(),u=requireOauthSign(),l=requireCryptoBrowserify(),m=safeBufferExports$1.Buffer;function y(E){this.request=E,this.params=null}return y.prototype.buildParams=function(E,C,k,A,D,P){var R={};for(var B in E)R["oauth_"+B]=E[B];R.oauth_version||(R.oauth_version="1.0"),R.oauth_timestamp||(R.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),R.oauth_nonce||(R.oauth_nonce=o().replace(/-/g,"")),R.oauth_signature_method||(R.oauth_signature_method="HMAC-SHA1");var F=R.oauth_consumer_secret||R.oauth_private_key;delete R.oauth_consumer_secret,delete R.oauth_private_key;var O=R.oauth_token_secret;delete R.oauth_token_secret;var N=R.oauth_realm;delete R.oauth_realm,delete R.oauth_transport_method;var Y=C.protocol+"//"+C.host+C.pathname,J=P.parse([].concat(A,D,P.stringify(R)).join("&"));return R.oauth_signature=u.sign(R.oauth_signature_method,k,Y,J,F,O),N&&(R.realm=N),R},y.prototype.buildBodyHash=function(E,C){["HMAC-SHA1","RSA-SHA1"].indexOf(E.signature_method||"HMAC-SHA1")<0&&this.request.emit("error",new Error("oauth: "+E.signature_method+" signature_method not supported with body_hash signing."));var k=l.createHash("sha1");k.update(C||"");var A=k.digest("hex");return m.from(A,"hex").toString("base64")},y.prototype.concatParams=function(E,C,k){k=k||"";var A=Object.keys(E).filter(function(D){return D!=="realm"&&D!=="oauth_signature"}).sort();return E.realm&&A.splice(0,0,"realm"),A.push("oauth_signature"),A.map(function(D){return D+"="+k+u.rfc3986(E[D])+k}).join(C)},y.prototype.onRequest=function(E){var C=this;C.params=E;var k=C.request.uri||{},A=C.request.method||"",D=n(C.request.headers),P=C.request.body||"",R=C.request.qsLib||e,B,F,O=D.get("content-type")||"",N="application/x-www-form-urlencoded",Y=E.transport_method||"header";O.slice(0,N.length)===N&&(O=N,B=P),k.query&&(F=k.query),Y==="body"&&(A!=="POST"||O!==N)&&C.request.emit("error",new Error("oauth: transport_method of body requires POST and content-type "+N)),!B&&typeof E.body_hash=="boolean"&&(E.body_hash=C.buildBodyHash(E,C.request.body.toString()));var J=C.buildParams(E,k,A,F,B,R);switch(Y){case"header":C.request.setHeader("Authorization","OAuth "+C.concatParams(J,",",'"'));break;case"query":var ie=C.request.uri.href+=(F?"&":"?")+C.concatParams(J,"&");C.request.uri=t.parse(ie),C.request.path=C.request.uri.path;break;case"body":C.request.body=(B?B+"&":"")+C.concatParams(J,"&");break;default:C.request.emit("error",new Error("oauth: transport_method invalid"))}},oauth.OAuth=y,oauth}var hawk={},hasRequiredHawk;function requireHawk(){return hasRequiredHawk||(hasRequiredHawk=1,function(t){var e=requireCryptoBrowserify();function n(u){var l=(u+1)*6,m=e.randomBytes(Math.ceil(l/8)),y=m.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return y.slice(0,u)}function o(u,l,m){var y=e.createHash(l);return y.update(`hawk.1.payload
-`),y.update((m?m.split(";")[0].trim().toLowerCase():"")+`
-`),y.update(u||""),y.update(`
-`),y.digest("base64")}t.calculateMac=function(u,l){var m=`hawk.1.header
-`+l.ts+`
-`+l.nonce+`
-`+(l.method||"").toUpperCase()+`
-`+l.resource+`
-`+l.host.toLowerCase()+`
-`+l.port+`
-`+(l.hash||"")+`
-`;l.ext&&(m=m+l.ext.replace("\\","\\\\").replace(`
-`,"\\n")),m=m+`
-`,l.app&&(m=m+l.app+`
-`+(l.dlg||"")+`
-`);var y=e.createHmac(u.algorithm,u.key).update(m),E=y.digest("base64");return E},t.header=function(u,l,m){var y=m.timestamp||Math.floor((Date.now()+(m.localtimeOffsetMsec||0))/1e3),E=m.credentials;if(!E||!E.id||!E.key||!E.algorithm||["sha1","sha256"].indexOf(E.algorithm)===-1)return"";var C={ts:y,nonce:m.nonce||n(6),method:l,resource:u.pathname+(u.search||""),host:u.hostname,port:u.port||(u.protocol==="http:"?80:443),hash:m.hash,ext:m.ext,app:m.app,dlg:m.dlg};!C.hash&&(m.payload||m.payload==="")&&(C.hash=o(m.payload,E.algorithm,m.contentType));var k=t.calculateMac(E,C),A=C.ext!==null&&C.ext!==void 0&&C.ext!=="",D='Hawk id="'+E.id+'", ts="'+C.ts+'", nonce="'+C.nonce+(C.hash?'", hash="'+C.hash:"")+(A?'", ext="'+C.ext.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):"")+'", mac="'+k+'"';return C.app&&(D=D+', app="'+C.app+(C.dlg?'", dlg="'+C.dlg:"")+'"'),D}}(hawk)),hawk}var multipart={},delayed_stream,hasRequiredDelayed_stream;function requireDelayed_stream(){if(hasRequiredDelayed_stream)return delayed_stream;hasRequiredDelayed_stream=1;var t=requireStreamBrowserify().Stream,e=util$6;delayed_stream=n;function n(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return e.inherits(n,t),n.create=function(o,u){var l=new this;u=u||{};for(var m in u)l[m]=u[m];l.source=o;var y=o.emit;return o.emit=function(){return l._handleEmit(arguments),y.apply(o,arguments)},o.on("error",function(){}),l.pauseStream&&o.pause(),l},Object.defineProperty(n.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),n.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},n.prototype.resume=function(){this._released||this.release(),this.source.resume()},n.prototype.pause=function(){this.source.pause()},n.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(o){this.emit.apply(this,o)}).bind(this)),this._bufferedEvents=[]},n.prototype.pipe=function(){var o=t.prototype.pipe.apply(this,arguments);return this.resume(),o},n.prototype._handleEmit=function(o){if(this._released){this.emit.apply(this,o);return}o[0]==="data"&&(this.dataSize+=o[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(o)},n.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var o="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(o))}},delayed_stream}var combined_stream,hasRequiredCombined_stream;function requireCombined_stream(){if(hasRequiredCombined_stream)return combined_stream;hasRequiredCombined_stream=1;var t=util$6,e=requireStreamBrowserify().Stream,n=requireDelayed_stream();combined_stream=o;function o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return t.inherits(o,e),o.create=function(u){var l=new this;u=u||{};for(var m in u)l[m]=u[m];return l},o.isStreamLike=function(u){return typeof u!="function"&&typeof u!="string"&&typeof u!="boolean"&&typeof u!="number"&&!Buffer$C.isBuffer(u)},o.prototype.append=function(u){var l=o.isStreamLike(u);if(l){if(!(u instanceof n)){var m=n.create(u,{maxDataSize:1/0,pauseStream:this.pauseStreams});u.on("data",this._checkDataSize.bind(this)),u=m}this._handleErrors(u),this.pauseStreams&&u.pause()}return this._streams.push(u),this},o.prototype.pipe=function(u,l){return e.prototype.pipe.call(this,u,l),this.resume(),u},o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}},o.prototype._realGetNext=function(){var u=this._streams.shift();if(typeof u>"u"){this.end();return}if(typeof u!="function"){this._pipeNext(u);return}var l=u;l((function(m){var y=o.isStreamLike(m);y&&(m.on("data",this._checkDataSize.bind(this)),this._handleErrors(m)),this._pipeNext(m)}).bind(this))},o.prototype._pipeNext=function(u){this._currentStream=u;var l=o.isStreamLike(u);if(l){u.on("end",this._getNext.bind(this)),u.pipe(this,{end:!1});return}var m=u;this.write(m),this._getNext()},o.prototype._handleErrors=function(u){var l=this;u.on("error",function(m){l._emitError(m)})},o.prototype.write=function(u){this.emit("data",u)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))},o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var u="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(u))}},o.prototype._updateDataSize=function(){this.dataSize=0;var u=this;this._streams.forEach(function(l){l.dataSize&&(u.dataSize+=l.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(u){this._reset(),this.emit("error",u)},combined_stream}var hasRequiredMultipart;function requireMultipart(){if(hasRequiredMultipart)return multipart;hasRequiredMultipart=1;var t=requireV4(),e=requireCombined_stream(),n=requireIsstream(),o=safeBufferExports$1.Buffer;function u(l){this.request=l,this.boundary=t(),this.chunked=!1,this.body=null}return u.prototype.isChunked=function(l){var m=this,y=!1,E=l.data||l;return E.forEach||m.request.emit("error",new Error("Argument error, options.multipart.")),l.chunked!==void 0&&(y=l.chunked),m.request.getHeader("transfer-encoding")==="chunked"&&(y=!0),y||E.forEach(function(C){typeof C.body>"u"&&m.request.emit("error",new Error("Body attribute missing in multipart.")),n(C.body)&&(y=!0)}),y},u.prototype.setHeaders=function(l){var m=this;l&&!m.request.hasHeader("transfer-encoding")&&m.request.setHeader("transfer-encoding","chunked");var y=m.request.getHeader("content-type");!y||y.indexOf("multipart")===-1?m.request.setHeader("content-type","multipart/related; boundary="+m.boundary):y.indexOf("boundary")!==-1?m.boundary=y.replace(/.*boundary=([^\s;]+).*/,"$1"):m.request.setHeader("content-type",y+"; boundary="+m.boundary)},u.prototype.build=function(l,m){var y=this,E=m?new e:[];function C(k){return typeof k=="number"&&(k=k.toString()),m?E.append(k):E.push(o.from(k))}return y.request.preambleCRLF&&C(`\r
-`),l.forEach(function(k){var A="--"+y.boundary+`\r
-`;Object.keys(k).forEach(function(D){D!=="body"&&(A+=D+": "+k[D]+`\r
-`)}),A+=`\r
-`,C(A),C(k.body),C(`\r
-`)}),C("--"+y.boundary+"--"),y.request.postambleCRLF&&C(`\r
-`),E},u.prototype.onRequest=function(l){var m=this,y=m.isChunked(l),E=l.data||l;m.setHeaders(y),m.chunked=y,m.body=m.build(E,y)},multipart.Multipart=u,multipart}var redirect={},hasRequiredRedirect;function requireRedirect(){if(hasRequiredRedirect)return redirect;hasRequiredRedirect=1;var t=require$$2$2,e=/^https?:/;function n(o){this.request=o,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.followOriginalHttpMethod=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}return n.prototype.onRequest=function(o){var u=this;o.maxRedirects!==void 0&&(u.maxRedirects=o.maxRedirects),typeof o.followRedirect=="function"&&(u.allowRedirect=o.followRedirect),o.followRedirect!==void 0&&(u.followRedirects=!!o.followRedirect),o.followAllRedirects!==void 0&&(u.followAllRedirects=o.followAllRedirects),(u.followRedirects||u.followAllRedirects)&&(u.redirects=u.redirects||[]),o.removeRefererHeader!==void 0&&(u.removeRefererHeader=o.removeRefererHeader),o.followOriginalHttpMethod!==void 0&&(u.followOriginalHttpMethod=o.followOriginalHttpMethod)},n.prototype.redirectTo=function(o){var u=this,l=u.request,m=null;if(o.statusCode>=300&&o.statusCode<400&&o.caseless.has("location")){var y=o.caseless.get("location");if(l.debug("redirect",y),u.followAllRedirects)m=y;else if(u.followRedirects)switch(l.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:m=y;break}}else if(o.statusCode===401){var E=l._auth.onResponse(o);E&&(l.setHeader("authorization",E),m=l.uri)}return m},n.prototype.onResponse=function(o){var u=this,l=u.request,m=u.redirectTo(o);if(!m||!u.allowRedirect.call(l,o))return!1;if(l.debug("redirect to",m),o.resume&&o.resume(),u.redirectsFollowed>=u.maxRedirects)return l.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+l.uri.href)),!1;u.redirectsFollowed+=1,e.test(m)||(m=t.resolve(l.uri.href,m));var y=l.uri;return l.uri=t.parse(m),l.uri.protocol!==y.protocol&&delete l.agent,u.redirects.push({statusCode:o.statusCode,redirectUri:m}),u.followAllRedirects&&l.method!=="HEAD"&&o.statusCode!==401&&o.statusCode!==307&&(l.method=u.followOriginalHttpMethod?l.method:"GET"),delete l.src,delete l.req,delete l._started,o.statusCode!==401&&o.statusCode!==307&&(delete l.body,delete l._form,l.headers&&(l.removeHeader("host"),l.removeHeader("content-type"),l.removeHeader("content-length"),l.uri.hostname!==l.originalHost.split(":")[0]&&l.removeHeader("authorization"))),u.removeRefererHeader||l.setHeader("referer",y.href),l.emit("redirect"),l.init(),!0},redirect.Redirect=n,redirect}var tunnel={},tunnelAgent={},hasRequiredTunnelAgent;function requireTunnelAgent(){if(hasRequiredTunnelAgent)return tunnelAgent;hasRequiredTunnelAgent=1;var t=require$$1$5,e=requireStreamHttp(),n=requireHttpsBrowserify(),o=requireEvents(),u=requireAssert$1(),l=util$6,m=safeBufferExports$1.Buffer;tunnelAgent.httpOverHttp=y,tunnelAgent.httpsOverHttp=E,tunnelAgent.httpOverHttps=C,tunnelAgent.httpsOverHttps=k;function y(B){var F=new A(B);return F.request=e.request,F}function E(B){var F=new A(B);return F.request=e.request,F.createSocket=D,F.defaultPort=443,F}function C(B){var F=new A(B);return F.request=n.request,F}function k(B){var F=new A(B);return F.request=n.request,F.createSocket=D,F.defaultPort=443,F}function A(B){var F=this;F.options=B||{},F.proxyOptions=F.options.proxy||{},F.maxSockets=F.options.maxSockets||e.Agent.defaultMaxSockets,F.requests=[],F.sockets=[],F.on("free",function(N,Y,J){for(var ie=0,ue=F.requests.length;ie<ue;++ie){var Q=F.requests[ie];if(Q.host===Y&&Q.port===J){F.requests.splice(ie,1),Q.request.onSocket(N);return}}N.destroy(),F.removeSocket(N)})}l.inherits(A,o.EventEmitter),A.prototype.addRequest=function(F,O){var N=this;if(typeof O=="string"&&(O={host:O,port:arguments[2],path:arguments[3]}),N.sockets.length>=this.maxSockets){N.requests.push({host:O.host,port:O.port,request:F});return}N.createConnection({host:O.host,port:O.port,request:F})},A.prototype.createConnection=function(F){var O=this;O.createSocket(F,function(N){N.on("free",Y),N.on("close",J),N.on("agentRemove",J),F.request.onSocket(N);function Y(){O.emit("free",N,F.host,F.port)}function J(ie){O.removeSocket(N),N.removeListener("free",Y),N.removeListener("close",J),N.removeListener("agentRemove",J)}})},A.prototype.createSocket=function(F,O){var N=this,Y={};N.sockets.push(Y);var J=P({},N.proxyOptions,{method:"CONNECT",path:F.host+":"+F.port,agent:!1});J.proxyAuth&&(J.headers=J.headers||{},J.headers["Proxy-Authorization"]="Basic "+m.from(J.proxyAuth).toString("base64")),R("making CONNECT request");var ie=N.request(J);ie.useChunkedEncodingByDefault=!1,ie.once("response",ue),ie.once("upgrade",Q),ie.once("connect",ce),ie.once("error",he),ie.end();function ue(ke){ke.upgrade=!0}function Q(ke,L,d){process$1.nextTick(function(){ce(ke,L,d)})}function ce(ke,L,d){if(ie.removeAllListeners(),L.removeAllListeners(),ke.statusCode===200)u.equal(d.length,0),R("tunneling connection has established"),N.sockets[N.sockets.indexOf(Y)]=L,O(L);else{R("tunneling socket could not be established, statusCode=%d",ke.statusCode);var v=new Error("tunneling socket could not be established, statusCode="+ke.statusCode);v.code="ECONNRESET",F.request.emit("error",v),N.removeSocket(Y)}}function he(ke){ie.removeAllListeners(),R(`tunneling socket could not be established, cause=%s
-`,ke.message,ke.stack);var L=new Error("tunneling socket could not be established, cause="+ke.message);L.code="ECONNRESET",F.request.emit("error",L),N.removeSocket(Y)}},A.prototype.removeSocket=function(F){var O=this.sockets.indexOf(F);if(O!==-1){this.sockets.splice(O,1);var N=this.requests.shift();N&&this.createConnection(N)}};function D(B,F){var O=this;A.prototype.createSocket.call(O,B,function(N){var Y=t.connect(0,P({},O.options,{servername:B.host,socket:N}));O.sockets[O.sockets.indexOf(N)]=Y,F(Y)})}function P(B){for(var F=1,O=arguments.length;F<O;++F){var N=arguments[F];if(typeof N=="object")for(var Y=Object.keys(N),J=0,ie=Y.length;J<ie;++J){var ue=Y[J];N[ue]!==void 0&&(B[ue]=N[ue])}}return B}var R;return process$1.env.NODE_DEBUG&&/\btunnel\b/.test(process$1.env.NODE_DEBUG)?R=function(){var B=Array.prototype.slice.call(arguments);typeof B[0]=="string"?B[0]="TUNNEL: "+B[0]:B.unshift("TUNNEL:"),console.error.apply(console,B)}:R=function(){},tunnelAgent.debug=R,tunnelAgent}var hasRequiredTunnel;function requireTunnel(){if(hasRequiredTunnel)return tunnel;hasRequiredTunnel=1;var t=require$$2$2,e=requireTunnelAgent(),n=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"],o=["proxy-authorization"];function u(k){var A=k.port,D=k.protocol,P=k.hostname+":";return A?P+=A:D==="https:"?P+="443":P+="80",P}function l(k,A){var D=A.reduce(function(P,R){return P[R.toLowerCase()]=!0,P},{});return Object.keys(k).filter(function(P){return D[P.toLowerCase()]}).reduce(function(P,R){return P[R]=k[R],P},{})}function m(k,A){var D=k.proxy,P={proxy:{host:D.hostname,port:+D.port,proxyAuth:D.auth,headers:A},headers:k.headers,ca:k.ca,cert:k.cert,key:k.key,passphrase:k.passphrase,pfx:k.pfx,ciphers:k.ciphers,rejectUnauthorized:k.rejectUnauthorized,secureOptions:k.secureOptions,secureProtocol:k.secureProtocol};return P}function y(k,A){var D=k.protocol==="https:"?"https":"http",P=A.protocol==="https:"?"Https":"Http";return[D,P].join("Over")}function E(k){var A=k.uri,D=k.proxy,P=y(A,D);return e[P]}function C(k){this.request=k,this.proxyHeaderWhiteList=n,this.proxyHeaderExclusiveList=[],typeof k.tunnel<"u"&&(this.tunnelOverride=k.tunnel)}return C.prototype.isEnabled=function(){var k=this,A=k.request;return typeof k.tunnelOverride<"u"?k.tunnelOverride:A.uri.protocol==="https:"},C.prototype.setup=function(k){var A=this,D=A.request;if(k=k||{},typeof D.proxy=="string"&&(D.proxy=t.parse(D.proxy)),!D.proxy||!D.tunnel)return!1;k.proxyHeaderWhiteList&&(A.proxyHeaderWhiteList=k.proxyHeaderWhiteList),k.proxyHeaderExclusiveList&&(A.proxyHeaderExclusiveList=k.proxyHeaderExclusiveList);var P=A.proxyHeaderExclusiveList.concat(o),R=A.proxyHeaderWhiteList.concat(P),B=l(D.headers,R);B.host=u(D.uri),P.forEach(D.removeHeader,D);var F=E(D),O=m(D,B);return D.agent=F(O),!0},C.defaultProxyHeaderWhiteList=n,C.defaultProxyHeaderExclusiveList=o,tunnel.Tunnel=C,tunnel}var performanceNow={exports:{}},hasRequiredPerformanceNow;function requirePerformanceNow(){return hasRequiredPerformanceNow||(hasRequiredPerformanceNow=1,(function(){var t,e,n,o,u,l;typeof performance<"u"&&performance!==null&&performance.now?performanceNow.exports=function(){return performance.now()}:typeof process$1<"u"&&process$1!==null&&process$1.hrtime?(performanceNow.exports=function(){return(t()-u)/1e6},e=process$1.hrtime,t=function(){var m;return m=e(),m[0]*1e9+m[1]},o=t(),l=process$1.uptime()*1e9,u=o-l):Date.now?(performanceNow.exports=function(){return Date.now()-n},n=Date.now()):(performanceNow.exports=function(){return new Date().getTime()-n},n=new Date().getTime())}).call(commonjsGlobal$1)),performanceNow.exports}var request$2,hasRequiredRequest;function requireRequest(){if(hasRequiredRequest)return request$2;hasRequiredRequest=1;var t=requireStreamHttp(),e=requireHttpsBrowserify(),n=require$$2$2,o=util$6,u=requireStreamBrowserify(),l=requireLib$5(),m=requireAwsSign2(),y=requireAws4(),E=requireLib$2(),C=mimeTypes,k=requireCaseless(),A=requireForeverAgent(),D=requireBrowser(),P=extend$1,R=requireIsstream(),B=requireIsTypedarray().strict,F=helpers$1,O=cookies$1,N=requireGetProxyFromURI(),Y=requireQuerystring().Querystring,J=requireHar().Har,ie=requireAuth().Auth,ue=requireOauth().OAuth,Q=requireHawk(),ce=requireMultipart().Multipart,he=requireRedirect().Redirect,ke=requireTunnel().Tunnel,L=requirePerformanceNow(),d=safeBufferExports$1.Buffer,v=F.safeStringify,w=F.isReadStream,c=F.toBase64,p=F.defer,x=F.copy,S=F.version,b=O.jar(),h={};function T(U,z){var ne={};for(var fe in z){var me=U.indexOf(fe)===-1;me&&(ne[fe]=z[fe])}return ne}function M(U,z){var ne={};for(var fe in z){var me=U.indexOf(fe)!==-1,de=typeof z[fe]=="function";me&&de||(ne[fe]=z[fe])}return ne}function j(){var U=this;return{uri:U.uri,method:U.method,headers:U.headers}}function V(){var U=this;return{statusCode:U.statusCode,body:U.body,headers:U.headers,request:j.call(U.request)}}function ee(U){var z=this;U.har&&(z._har=new J(z),U=z._har.options(U)),u.Stream.call(z);var ne=Object.keys(ee.prototype),fe=T(ne,U);P(z,fe),U=M(ne,U),z.readable=!0,z.writable=!0,U.method&&(z.explicitMethod=!0),z._qs=new Y(z),z._auth=new ie(z),z._oauth=new ue(z),z._multipart=new ce(z),z._redirect=new he(z),z._tunnel=new ke(z),z.init(U)}o.inherits(ee,u.Stream),ee.debug=process$1.env.NODE_DEBUG&&/\brequest\b/.test(process$1.env.NODE_DEBUG);function Z(){ee.debug&&console.error("REQUEST %s",o.format.apply(o,arguments))}return ee.prototype.debug=Z,ee.prototype.init=function(U){var z=this;U||(U={}),z.headers=z.headers?x(z.headers):{};for(var ne in z.headers)typeof z.headers[ne]>"u"&&delete z.headers[ne];if(k.httpify(z,z.headers),z.method||(z.method=U.method||"GET"),z.localAddress||(z.localAddress=U.localAddress),z._qs.init(U),Z(U),!z.pool&&z.pool!==!1&&(z.pool=h),z.dests=z.dests||[],z.__isRequestRequest=!0,!z._callback&&z.callback&&(z._callback=z.callback,z.callback=function(){z._callbackCalled||(z._callbackCalled=!0,z._callback.apply(z,arguments))},z.on("error",z.callback.bind()),z.on("complete",z.callback.bind(z,null))),!z.uri&&z.url&&(z.uri=z.url,delete z.url),z.baseUrl){if(typeof z.baseUrl!="string")return z.emit("error",new Error("options.baseUrl must be a string"));if(typeof z.uri!="string")return z.emit("error",new Error("options.uri must be a string when using options.baseUrl"));if(z.uri.indexOf("//")===0||z.uri.indexOf("://")!==-1)return z.emit("error",new Error("options.uri must be a path when using options.baseUrl"));var fe=z.baseUrl.lastIndexOf("/")===z.baseUrl.length-1,me=z.uri.indexOf("/")===0;fe&&me?z.uri=z.baseUrl+z.uri.slice(1):fe||me?z.uri=z.baseUrl+z.uri:z.uri===""?z.uri=z.baseUrl:z.uri=z.baseUrl+"/"+z.uri,delete z.baseUrl}if(!z.uri)return z.emit("error",new Error("options.uri is a required argument"));if(typeof z.uri=="string"&&(z.uri=n.parse(z.uri)),z.uri.href||(z.uri.href=n.format(z.uri)),z.uri.protocol==="unix:")return z.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"));if(z.uri.host==="unix"&&z.enableUnixSocket(),z.strictSSL===!1&&(z.rejectUnauthorized=!1),z.uri.pathname||(z.uri.pathname="/"),!(z.uri.host||z.uri.hostname&&z.uri.port)&&!z.uri.isUnix){var de=n.format(z.uri),Oe='Invalid URI "'+de+'"';return Object.keys(U).length===0&&(Oe+=". This can be caused by a crappy redirection."),z.abort(),z.emit("error",new Error(Oe))}if(z.hasOwnProperty("proxy")||(z.proxy=N(z.uri)),z.tunnel=z._tunnel.isEnabled(),z.proxy&&z._tunnel.setup(U),z._redirect.onRequest(U),z.setHost=!1,!z.hasHeader("host")){var lt=z.originalHostHeaderName||"host";z.setHeader(lt,z.uri.host),z.uri.port&&(z.uri.port==="80"&&z.uri.protocol==="http:"||z.uri.port==="443"&&z.uri.protocol==="https:")&&z.setHeader(lt,z.uri.hostname),z.setHost=!0}if(z.jar(z._jar||U.jar),z.uri.port||(z.uri.protocol==="http:"?z.uri.port=80:z.uri.protocol==="https:"&&(z.uri.port=443)),z.proxy&&!z.tunnel?(z.port=z.proxy.port,z.host=z.proxy.hostname):(z.port=z.uri.port,z.host=z.uri.hostname),U.form&&z.form(U.form),U.formData){var it=U.formData,ot=z.form(),Ct=function(Yt,Ce){Ce&&Ce.hasOwnProperty("value")&&Ce.hasOwnProperty("options")?ot.append(Yt,Ce.value,Ce.options):ot.append(Yt,Ce)};for(var nt in it)if(it.hasOwnProperty(nt)){var Je=it[nt];if(Je instanceof Array)for(var tt=0;tt<Je.length;tt++)Ct(nt,Je[tt]);else Ct(nt,Je)}}if(U.qs&&z.qs(U.qs),z.uri.path?z.path=z.uri.path:z.path=z.uri.pathname+(z.uri.search||""),z.path.length===0&&(z.path="/"),U.aws&&z.aws(U.aws),U.hawk&&z.hawk(U.hawk),U.httpSignature&&z.httpSignature(U.httpSignature),U.auth&&(Object.prototype.hasOwnProperty.call(U.auth,"username")&&(U.auth.user=U.auth.username),Object.prototype.hasOwnProperty.call(U.auth,"password")&&(U.auth.pass=U.auth.password),z.auth(U.auth.user,U.auth.pass,U.auth.sendImmediately,U.auth.bearer)),z.gzip&&!z.hasHeader("accept-encoding")&&z.setHeader("accept-encoding","gzip, deflate"),z.uri.auth&&!z.hasHeader("authorization")){var rt=z.uri.auth.split(":").map(function(Yt){return z._qs.unescape(Yt)});z.auth(rt[0],rt.slice(1).join(":"),!0)}if(!z.tunnel&&z.proxy&&z.proxy.auth&&!z.hasHeader("proxy-authorization")){var ht=z.proxy.auth.split(":").map(function(Yt){return z._qs.unescape(Yt)}),jt="Basic "+c(ht.join(":"));z.setHeader("proxy-authorization",jt)}z.proxy&&!z.tunnel&&(z.path=z.uri.protocol+"//"+z.uri.host+z.path),U.json&&z.json(U.json),U.multipart&&z.multipart(U.multipart),U.time&&(z.timing=!0,z.elapsedTime=z.elapsedTime||0);function Ve(){if(B(z.body)&&(z.body=d.from(z.body)),!z.hasHeader("content-length")){var Yt;typeof z.body=="string"?Yt=d.byteLength(z.body):Array.isArray(z.body)?Yt=z.body.reduce(function(Ce,te){return Ce+te.length},0):Yt=z.body.length,Yt?z.setHeader("content-length",Yt):z.emit("error",new Error("Argument error, options.body."))}}z.body&&!R(z.body)&&Ve(),U.oauth?z.oauth(U.oauth):z._oauth.params&&z.hasHeader("authorization")&&z.oauth(z._oauth.params);var We=z.proxy&&!z.tunnel?z.proxy.protocol:z.uri.protocol,Gt={"http:":t,"https:":e},wt=z.httpModules||{};if(z.httpModule=wt[We]||Gt[We],!z.httpModule)return z.emit("error",new Error("Invalid protocol: "+We));if(U.ca&&(z.ca=U.ca),!z.agent)if(U.agentOptions&&(z.agentOptions=U.agentOptions),U.agentClass)z.agentClass=U.agentClass;else if(U.forever){var Et=S();Et.major===0&&Et.minor<=10?z.agentClass=We==="http:"?A:A.SSL:(z.agentClass=z.httpModule.Agent,z.agentOptions=z.agentOptions||{},z.agentOptions.keepAlive=!0)}else z.agentClass=z.httpModule.Agent;z.pool===!1?z.agent=!1:z.agent=z.agent||z.getNewAgent(),z.on("pipe",function(Yt){if(z.ntick&&z._started&&z.emit("error",new Error("You cannot pipe to this stream after the outbound request has started.")),z.src=Yt,w(Yt))z.hasHeader("content-type")||z.setHeader("content-type",C.lookup(Yt.path));else{if(Yt.headers)for(var Ce in Yt.headers)z.hasHeader(Ce)||z.setHeader(Ce,Yt.headers[Ce]);z._json&&!z.hasHeader("content-type")&&z.setHeader("content-type","application/json"),Yt.method&&!z.explicitMethod&&(z.method=Yt.method)}}),p(function(){if(!z._aborted){var Yt=function(){if(z._form&&(z._auth.hasAuth?z._auth.hasAuth&&z._auth.sentAuth&&z._form.pipe(z):z._form.pipe(z)),z._multipart&&z._multipart.chunked&&z._multipart.body.pipe(z),z.body)R(z.body)?z.body.pipe(z):(Ve(),Array.isArray(z.body)?z.body.forEach(function(Ce){z.write(Ce)}):z.write(z.body),z.end());else if(z.requestBodyStream)console.warn("options.requestBodyStream is deprecated, please pass the request object to stream.pipe."),z.requestBodyStream.pipe(z);else if(!z.src){if(z._auth.hasAuth&&!z._auth.sentAuth){z.end();return}z.method!=="GET"&&typeof z.method<"u"&&z.setHeader("content-length",0),z.end()}};z._form&&!z.hasHeader("content-length")?(z.setHeader(z._form.getHeaders(),!0),z._form.getLength(function(Ce,te){!Ce&&!isNaN(te)&&z.setHeader("content-length",te),Yt()})):Yt(),z.ntick=!0}})},ee.prototype.getNewAgent=function(){var U=this,z=U.agentClass,ne={};if(U.agentOptions)for(var fe in U.agentOptions)ne[fe]=U.agentOptions[fe];U.ca&&(ne.ca=U.ca),U.ciphers&&(ne.ciphers=U.ciphers),U.secureProtocol&&(ne.secureProtocol=U.secureProtocol),U.secureOptions&&(ne.secureOptions=U.secureOptions),typeof U.rejectUnauthorized<"u"&&(ne.rejectUnauthorized=U.rejectUnauthorized),U.cert&&U.key&&(ne.key=U.key,ne.cert=U.cert),U.pfx&&(ne.pfx=U.pfx),U.passphrase&&(ne.passphrase=U.passphrase);var me="";z!==U.httpModule.Agent&&(me+=z.name);var de=U.proxy;typeof de=="string"&&(de=n.parse(de));var Oe=de&&de.protocol==="https:"||this.uri.protocol==="https:";return Oe&&(ne.ca&&(me&&(me+=":"),me+=ne.ca),typeof ne.rejectUnauthorized<"u"&&(me&&(me+=":"),me+=ne.rejectUnauthorized),ne.cert&&(me&&(me+=":"),me+=ne.cert.toString("ascii")+ne.key.toString("ascii")),ne.pfx&&(me&&(me+=":"),me+=ne.pfx.toString("ascii")),ne.ciphers&&(me&&(me+=":"),me+=ne.ciphers),ne.secureProtocol&&(me&&(me+=":"),me+=ne.secureProtocol),ne.secureOptions&&(me&&(me+=":"),me+=ne.secureOptions)),U.pool===h&&!me&&Object.keys(ne).length===0&&U.httpModule.globalAgent?U.httpModule.globalAgent:(me=U.uri.protocol+me,U.pool[me]||(U.pool[me]=new z(ne),U.pool.maxSockets&&(U.pool[me].maxSockets=U.pool.maxSockets)),U.pool[me])},ee.prototype.start=function(){var U=this;if(U.timing)var z=new Date().getTime(),ne=L();if(!U._aborted){U._started=!0,U.method=U.method||"GET",U.href=U.uri.href,U.src&&U.src.stat&&U.src.stat.size&&!U.hasHeader("content-length")&&U.setHeader("content-length",U.src.stat.size),U._aws&&U.aws(U._aws,!0);var fe=x(U);delete fe.auth,Z("make request",U.uri.href),delete fe.timeout;try{U.req=U.httpModule.request(fe)}catch(de){U.emit("error",de);return}U.timing&&(U.startTime=z,U.startTimeNow=ne,U.timings={});var me;U.timeout&&!U.timeoutTimer&&(U.timeout<0?me=0:typeof U.timeout=="number"&&isFinite(U.timeout)&&(me=U.timeout)),U.req.on("response",U.onRequestResponse.bind(U)),U.req.on("error",U.onRequestError.bind(U)),U.req.on("drain",function(){U.emit("drain")}),U.req.on("socket",function(de){var Oe=de._connecting||de.connecting;if(U.timing&&(U.timings.socket=L()-U.startTimeNow,Oe)){var lt=function(){U.timings.lookup=L()-U.startTimeNow},it=function(){U.timings.connect=L()-U.startTimeNow};de.once("lookup",lt),de.once("connect",it),U.req.once("error",function(){de.removeListener("lookup",lt),de.removeListener("connect",it)})}var ot=function(){U.req.setTimeout(me,function(){if(U.req){U.abort();var nt=new Error("ESOCKETTIMEDOUT");nt.code="ESOCKETTIMEDOUT",nt.connect=!1,U.emit("error",nt)}})};if(me!==void 0)if(Oe){var Ct=function(){de.removeListener("connect",Ct),U.clearTimeout(),ot()};de.on("connect",Ct),U.req.on("error",function(nt){de.removeListener("connect",Ct)}),U.timeoutTimer=setTimeout(function(){de.removeListener("connect",Ct),U.abort();var nt=new Error("ETIMEDOUT");nt.code="ETIMEDOUT",nt.connect=!0,U.emit("error",nt)},me)}else ot();U.emit("socket",de)}),U.emit("request",U.req)}},ee.prototype.onRequestError=function(U){var z=this;if(!z._aborted){if(z.req&&z.req._reusedSocket&&U.code==="ECONNRESET"&&z.agent.addRequestNoreuse){z.agent={addRequest:z.agent.addRequestNoreuse.bind(z.agent)},z.start(),z.req.end();return}z.clearTimeout(),z.emit("error",U)}},ee.prototype.onRequestResponse=function(U){var z=this;if(z.timing&&(z.timings.response=L()-z.startTimeNow),Z("onRequestResponse",z.uri.href,U.statusCode,U.headers),U.on("end",function(){z.timing&&(z.timings.end=L()-z.startTimeNow,U.timingStart=z.startTime,z.timings.socket||(z.timings.socket=0),z.timings.lookup||(z.timings.lookup=z.timings.socket),z.timings.connect||(z.timings.connect=z.timings.lookup),z.timings.response||(z.timings.response=z.timings.connect),Z("elapsed time",z.timings.end),z.elapsedTime+=Math.round(z.timings.end),U.elapsedTime=z.elapsedTime,U.timings=z.timings,U.timingPhases={wait:z.timings.socket,dns:z.timings.lookup-z.timings.socket,tcp:z.timings.connect-z.timings.lookup,firstByte:z.timings.response-z.timings.connect,download:z.timings.end-z.timings.response,total:z.timings.end}),Z("response end",z.uri.href,U.statusCode,U.headers)}),z._aborted){Z("aborted",z.uri.href),U.resume();return}if(z.response=U,U.request=z,U.toJSON=V,z.httpModule===e&&z.strictSSL&&(!U.hasOwnProperty("socket")||!U.socket.authorized)){Z("strict ssl error",z.uri.href);var ne=U.hasOwnProperty("socket")?U.socket.authorizationError:z.uri.href+" does not support SSL";z.emit("error",new Error("SSL Error: "+ne));return}z.originalHost=z.getHeader("host"),z.originalHostHeaderName||(z.originalHostHeaderName=z.hasHeader("host")),z.setHost&&z.removeHeader("host"),z.clearTimeout();var fe=z._jar&&z._jar.setCookie?z._jar:b,me=function(Ct){try{fe.setCookie(Ct,z.uri.href,{ignoreError:!0})}catch(nt){z.emit("error",nt)}};if(U.caseless=k(U.headers),U.caseless.has("set-cookie")&&!z._disableCookies){var de=U.caseless.has("set-cookie");Array.isArray(U.headers[de])?U.headers[de].forEach(me):me(U.headers[de])}if(!z._redirect.onResponse(U)){{U.on("close",function(){z._ended||z.response.emit("end")}),U.once("end",function(){z._ended=!0});var Oe=function(Ct){return z.method==="HEAD"||Ct>=100&&Ct<200||Ct===204||Ct===304},lt;if(z.gzip&&!Oe(U.statusCode)){var it=U.headers["content-encoding"]||"identity";it=it.trim().toLowerCase();var ot={flush:l.Z_SYNC_FLUSH,finishFlush:l.Z_SYNC_FLUSH};it==="gzip"?(lt=l.createGunzip(ot),U.pipe(lt)):it==="deflate"?(lt=l.createInflate(ot),U.pipe(lt)):(it!=="identity"&&Z("ignoring unrecognized Content-Encoding "+it),lt=U)}else lt=U;z.encoding&&(z.dests.length!==0?console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid."):lt.setEncoding(z.encoding)),z._paused&&lt.pause(),z.responseContent=lt,z.emit("response",U),z.dests.forEach(function(Ct){z.pipeDest(Ct)}),lt.on("data",function(Ct){z.timing&&!z.responseStarted&&(z.responseStartTime=new Date().getTime(),U.responseStartTime=z.responseStartTime),z._destdata=!0,z.emit("data",Ct)}),lt.once("end",function(Ct){z.emit("end",Ct)}),lt.on("error",function(Ct){z.emit("error",Ct)}),lt.on("close",function(){z.emit("close")}),z.callback?z.readResponseBody(U):z.on("end",function(){if(z._aborted){Z("aborted",z.uri.href);return}z.emit("complete",U)})}Z("finish init function",z.uri.href)}},ee.prototype.readResponseBody=function(U){var z=this;Z("reading response's body");var ne=[],fe=0,me=[];z.on("data",function(de){d.isBuffer(de)?de.length&&(fe+=de.length,ne.push(de)):me.push(de)}),z.on("end",function(){if(Z("end event",z.uri.href),z._aborted){Z("aborted",z.uri.href),ne=[],fe=0;return}if(fe?(Z("has body",z.uri.href,fe),U.body=d.concat(ne,fe),z.encoding!==null&&(U.body=U.body.toString(z.encoding)),ne=[],fe=0):me.length&&(z.encoding==="utf8"&&me[0].length>0&&me[0][0]==="\uFEFF"&&(me[0]=me[0].substring(1)),U.body=me.join("")),z._json)try{U.body=JSON.parse(U.body,z._jsonReviver)}catch{Z("invalid JSON received",z.uri.href)}Z("emitting complete",z.uri.href),typeof U.body>"u"&&!z._json&&(U.body=z.encoding===null?d.alloc(0):""),z.emit("complete",U,U.body)})},ee.prototype.abort=function(){var U=this;U._aborted=!0,U.req?U.req.abort():U.response&&U.response.destroy(),U.clearTimeout(),U.emit("abort")},ee.prototype.pipeDest=function(U){var z=this,ne=z.response;if(U.headers&&!U.headersSent){if(ne.caseless.has("content-type")){var fe=ne.caseless.has("content-type");U.setHeader?U.setHeader(fe,ne.headers[fe]):U.headers[fe]=ne.headers[fe]}if(ne.caseless.has("content-length")){var me=ne.caseless.has("content-length");U.setHeader?U.setHeader(me,ne.headers[me]):U.headers[me]=ne.headers[me]}}if(U.setHeader&&!U.headersSent){for(var de in ne.headers)(!z.gzip||de!=="content-encoding")&&U.setHeader(de,ne.headers[de]);U.statusCode=ne.statusCode}z.pipefilter&&z.pipefilter(ne,U)},ee.prototype.qs=function(U,z){var ne=this,fe;!z&&ne.uri.query?fe=ne._qs.parse(ne.uri.query):fe={};for(var me in U)fe[me]=U[me];var de=ne._qs.stringify(fe);return de===""||(ne.uri=n.parse(ne.uri.href.split("?")[0]+"?"+de),ne.url=ne.uri,ne.path=ne.uri.path,ne.uri.host==="unix"&&ne.enableUnixSocket()),ne},ee.prototype.form=function(U){var z=this;return U?(/^application\/x-www-form-urlencoded\b/.test(z.getHeader("content-type"))||z.setHeader("content-type","application/x-www-form-urlencoded"),z.body=typeof U=="string"?z._qs.rfc3986(U.toString("utf8")):z._qs.stringify(U).toString("utf8"),z):(z._form=new D,z._form.on("error",function(ne){ne.message="form-data: "+ne.message,z.emit("error",ne),z.abort()}),z._form)},ee.prototype.multipart=function(U){var z=this;return z._multipart.onRequest(U),z._multipart.chunked||(z.body=z._multipart.body),z},ee.prototype.json=function(U){var z=this;return z.hasHeader("accept")||z.setHeader("accept","application/json"),typeof z.jsonReplacer=="function"&&(z._jsonReplacer=z.jsonReplacer),z._json=!0,typeof U=="boolean"?z.body!==void 0&&(/^application\/x-www-form-urlencoded\b/.test(z.getHeader("content-type"))?z.body=z._qs.rfc3986(z.body):z.body=v(z.body,z._jsonReplacer),z.hasHeader("content-type")||z.setHeader("content-type","application/json")):(z.body=v(U,z._jsonReplacer),z.hasHeader("content-type")||z.setHeader("content-type","application/json")),typeof z.jsonReviver=="function"&&(z._jsonReviver=z.jsonReviver),z},ee.prototype.getHeader=function(U,z){var ne=this,fe,me,de;return z||(z=ne.headers),Object.keys(z).forEach(function(Oe){Oe.length===U.length&&(me=new RegExp(U,"i"),de=Oe.match(me),de&&(fe=z[Oe]))}),fe},ee.prototype.enableUnixSocket=function(){var U=this.uri.path.split(":"),z=U[0],ne=U[1];this.socketPath=z,this.uri.pathname=ne,this.uri.path=ne,this.uri.host=z,this.uri.hostname=z,this.uri.isUnix=!0},ee.prototype.auth=function(U,z,ne,fe){var me=this;return me._auth.onRequest(U,z,ne,fe),me},ee.prototype.aws=function(U,z){var ne=this;if(!z)return ne._aws=U,ne;if(U.sign_version===4||U.sign_version==="4"){var fe={host:ne.uri.host,path:ne.uri.path,method:ne.method,headers:ne.headers,body:ne.body};U.service&&(fe.service=U.service);var me=y.sign(fe,{accessKeyId:U.key,secretAccessKey:U.secret,sessionToken:U.session});ne.setHeader("authorization",me.headers.Authorization),ne.setHeader("x-amz-date",me.headers["X-Amz-Date"]),me.headers["X-Amz-Security-Token"]&&ne.setHeader("x-amz-security-token",me.headers["X-Amz-Security-Token"])}else{var de=new Date;ne.setHeader("date",de.toUTCString());var Oe={key:U.key,secret:U.secret,verb:ne.method.toUpperCase(),date:de,contentType:ne.getHeader("content-type")||"",md5:ne.getHeader("content-md5")||"",amazonHeaders:m.canonicalizeHeaders(ne.headers)},lt=ne.uri.path;U.bucket&&lt?Oe.resource="/"+U.bucket+lt:U.bucket&&!lt?Oe.resource="/"+U.bucket:!U.bucket&&lt?Oe.resource=lt:!U.bucket&&!lt&&(Oe.resource="/"),Oe.resource=m.canonicalizeResource(Oe.resource),ne.setHeader("authorization",m.authorization(Oe))}return ne},ee.prototype.httpSignature=function(U){var z=this;return E.signRequest({getHeader:function(ne){return z.getHeader(ne,z.headers)},setHeader:function(ne,fe){z.setHeader(ne,fe)},method:z.method,path:z.path},U),Z("httpSignature authorization",z.getHeader("authorization")),z},ee.prototype.hawk=function(U){var z=this;z.setHeader("Authorization",Q.header(z.uri,z.method,U))},ee.prototype.oauth=function(U){var z=this;return z._oauth.onRequest(U),z},ee.prototype.jar=function(U){var z=this,ne;if(z._redirect.redirectsFollowed===0&&(z.originalCookieHeader=z.getHeader("cookie")),!U)ne=!1,z._disableCookies=!0;else{var fe=U.getCookieString?U:b,me=z.uri.href;fe&&(ne=fe.getCookieString(me))}return ne&&ne.length&&(z.originalCookieHeader?z.setHeader("cookie",z.originalCookieHeader+"; "+ne):z.setHeader("cookie",ne)),z._jar=U,z},ee.prototype.pipe=function(U,z){var ne=this;if(ne.response)if(ne._destdata)ne.emit("error",new Error("You cannot pipe after data has been emitted from the response."));else if(ne._ended)ne.emit("error",new Error("You cannot pipe after the response has been ended."));else return u.Stream.prototype.pipe.call(ne,U,z),ne.pipeDest(U),U;else return ne.dests.push(U),u.Stream.prototype.pipe.call(ne,U,z),U},ee.prototype.write=function(){var U=this;if(!U._aborted&&(U._started||U.start(),U.req))return U.req.write.apply(U.req,arguments)},ee.prototype.end=function(U){var z=this;z._aborted||(U&&z.write(U),z._started||z.start(),z.req&&z.req.end())},ee.prototype.pause=function(){var U=this;U.responseContent?U.responseContent.pause.apply(U.responseContent,arguments):U._paused=!0},ee.prototype.resume=function(){var U=this;U.responseContent?U.responseContent.resume.apply(U.responseContent,arguments):U._paused=!1},ee.prototype.destroy=function(){var U=this;this.clearTimeout(),U._ended?U.response&&U.response.destroy():U.end()},ee.prototype.clearTimeout=function(){this.timeoutTimer&&(clearTimeout(this.timeoutTimer),this.timeoutTimer=null)},ee.defaultProxyHeaderWhiteList=ke.defaultProxyHeaderWhiteList.slice(),ee.defaultProxyHeaderExclusiveList=ke.defaultProxyHeaderExclusiveList.slice(),ee.prototype.toJSON=j,request$2=ee,request$2}var extend=extend$1,cookies=cookies$1,helpers=helpers$1,paramsHaveRequestBody=helpers.paramsHaveRequestBody;function initParams(t,e,n){typeof e=="function"&&(n=e);var o={};return e!==null&&typeof e=="object"?extend(o,e,{uri:t}):typeof t=="string"?extend(o,{uri:t}):extend(o,t),o.callback=n||o.callback,o}function request$1(t,e,n){if(typeof t>"u")throw new Error("undefined is not a valid uri or options object.");var o=initParams(t,e,n);if(o.method==="HEAD"&&paramsHaveRequestBody(o))throw new Error("HTTP HEAD requests MUST NOT include a request body.");return new request$1.Request(o)}function verbFunc(t){var e=t.toUpperCase();return function(n,o,u){var l=initParams(n,o,u);return l.method=e,request$1(l,l.callback)}}request$1.get=verbFunc("get"),request$1.head=verbFunc("head"),request$1.options=verbFunc("options"),request$1.post=verbFunc("post"),request$1.put=verbFunc("put"),request$1.patch=verbFunc("patch"),request$1.del=verbFunc("delete"),request$1.delete=verbFunc("delete"),request$1.jar=function(t){return cookies.jar(t)},request$1.cookie=function(t){return cookies.parse(t)};function wrapRequestMethod(t,e,n,o){return function(u,l,m){var y=initParams(u,l,m),E={};return extend(!0,E,e,y),E.pool=y.pool||e.pool,o&&(E.method=o.toUpperCase()),typeof n=="function"&&(t=n),t(E,E.callback)}}request$1.defaults=function(t,e){var n=this;t=t||{},typeof t=="function"&&(e=t,t={});var o=wrapRequestMethod(n,t,e),u=["get","head","post","put","patch","del","delete"];return u.forEach(function(l){o[l]=wrapRequestMethod(n[l],t,e,l)}),o.cookie=wrapRequestMethod(n.cookie,t,e),o.jar=n.jar,o.defaults=n.defaults,o},request$1.forever=function(t,e){var n={};return e&&extend(n,e),t&&(n.agentOptions=t),n.forever=!0,request$1.defaults(n)};var request_1=request$1;request$1.Request=requireRequest(),request$1.initParams=initParams,Object.defineProperty(request$1,"debug",{enumerable:!0,get:function(){return request$1.Request.debug},set:function(t){request$1.Request.debug=t}});var sha1$1={exports:{}},crypt={exports:{}};(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(n,o){return n<<o|n>>>32-o},rotr:function(n,o){return n<<32-o|n>>>o},endian:function(n){if(n.constructor==Number)return e.rotl(n,8)&16711935|e.rotl(n,24)&4278255360;for(var o=0;o<n.length;o++)n[o]=e.endian(n[o]);return n},randomBytes:function(n){for(var o=[];n>0;n--)o.push(Math.floor(Math.random()*256));return o},bytesToWords:function(n){for(var o=[],u=0,l=0;u<n.length;u++,l+=8)o[l>>>5]|=n[u]<<24-l%32;return o},wordsToBytes:function(n){for(var o=[],u=0;u<n.length*32;u+=8)o.push(n[u>>>5]>>>24-u%32&255);return o},bytesToHex:function(n){for(var o=[],u=0;u<n.length;u++)o.push((n[u]>>>4).toString(16)),o.push((n[u]&15).toString(16));return o.join("")},hexToBytes:function(n){for(var o=[],u=0;u<n.length;u+=2)o.push(parseInt(n.substr(u,2),16));return o},bytesToBase64:function(n){for(var o=[],u=0;u<n.length;u+=3)for(var l=n[u]<<16|n[u+1]<<8|n[u+2],m=0;m<4;m++)u*8+m*6<=n.length*8?o.push(t.charAt(l>>>6*(3-m)&63)):o.push("=");return o.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var o=[],u=0,l=0;u<n.length;l=++u%4)l!=0&&o.push((t.indexOf(n.charAt(u-1))&Math.pow(2,-2*l+8)-1)<<l*2|t.indexOf(n.charAt(u))>>>6-l*2);return o}};crypt.exports=e})();var cryptExports=crypt.exports,charenc={utf8:{stringToBytes:function(t){return charenc.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(charenc.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(t.charCodeAt(n)&255);return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}},charenc_1=charenc;(function(){var t=cryptExports,e=charenc_1.utf8,n=charenc_1.bin,o=function(l){l.constructor==String?l=e.stringToBytes(l):typeof Buffer$C<"u"&&typeof Buffer$C.isBuffer=="function"&&Buffer$C.isBuffer(l)?l=Array.prototype.slice.call(l,0):Array.isArray(l)||(l=l.toString());var m=t.bytesToWords(l),y=l.length*8,E=[],C=1732584193,k=-271733879,A=-1732584194,D=271733878,P=-1009589776;m[y>>5]|=128<<24-y%32,m[(y+64>>>9<<4)+15]=y;for(var R=0;R<m.length;R+=16){for(var B=C,F=k,O=A,N=D,Y=P,J=0;J<80;J++){if(J<16)E[J]=m[R+J];else{var ie=E[J-3]^E[J-8]^E[J-14]^E[J-16];E[J]=ie<<1|ie>>>31}var ue=(C<<5|C>>>27)+P+(E[J]>>>0)+(J<20?(k&A|~k&D)+1518500249:J<40?(k^A^D)+1859775393:J<60?(k&A|k&D|A&D)-1894007588:(k^A^D)-899497514);P=D,D=A,A=k<<30|k>>>2,k=C,C=ue}C+=B,k+=F,A+=O,D+=N,P+=Y}return[C,k,A,D,P]},u=function(l,m){var y=t.wordsToBytes(o(l));return m&&m.asBytes?y:m&&m.asString?n.bytesToString(y):t.bytesToHex(y)};u._blocksize=16,u._digestsize=20,sha1$1.exports=u})();var sha1Exports=sha1$1.exports,php2js$1={rawurlencode:function(t){return t=(t+"").toString(),encodeURIComponent(t).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/\+/g," ")},http_build_query:function(t,e,n){var o,u,l=[],m=function(E,C,k){var A,D=[];if(C===!0?C="1":C===!1&&(C="0"),C!=null)if(typeof C=="object"){for(A in C)C[A]!=null&&D.push(m(E+"["+A+"]",C[A],k));return D.join(k)}else{if(typeof C!="function")return php2js$1.urlencode(E)+"="+php2js$1.urlencode(C);throw new Error("There was an error processing for http_build_query().")}else return""};n||(n="&");for(u in t){o=t[u],e&&!isNaN(u)&&(u=String(e)+u);var y=m(u,o,n);y!==""&&l.push(y)}return l.join(n)},urlencode:function(t){return t=(t+"").toString(),encodeURIComponent(t).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")}},php2js_1=php2js$1,request=request_1,sha1=sha1Exports,php2js=php2js_1,APIConfig={url:"http://api.jwplatform.com/v1/videos/create",key:"",secret:"",format:"json",kit:"php-1.4"},jwplayer$1={makeRequest:function(t,e){request({url:t,method:"GET",headers:{"Content-Type":"MyContentType","Custom-Header":"Custom Value"}},e)},setArguments:function(t,e){t.api_nonce=Math.floor(Math.random()*1e8),t.api_timestamp=Math.floor(Date.now()/1e3),t.api_key=APIConfig.key,t.api_format=APIConfig.format,t.api_kit=APIConfig.kit;var n={};Object.keys(t).sort().forEach(function(l){n[l]=t[l]});var o="";Object.keys(n).forEach(function(l){o!=""&&(o+="&"),o+=php2js.rawurlencode(l)+"="+php2js.rawurlencode(n[l])}),t.api_signature=sha1(o+APIConfig.secret);var u=APIConfig.url+"?"+php2js.http_build_query(t,"","&");jwplayer$1.makeRequest(u,e)}},jwplayer_1=jwplayer$1;const JwpPlayerWidget=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){var n={},o=jwplayer_1.Player(this.$[0]),u=!1,l=!0;typeof this.video>"u"&&(this.video=this.media.video),n.file=this.video,n.primary="flash",n.fallback=!1,n.controls=!1,n.width=this.width,this.height&&(n.height=this.height),this.autostart,this.url_transform&&(n.file=this.url_transform(n.file));var m=this.media;m.on("setcurrenttime",function(E){u=l,o.seek(E/1e3)}),m.on("setvolume",function(E){o.setVolume(Math.floor(E*100)),m.volume=E}),m.on("setmuted",function(E){o.setMute(E),m.muted=E}),m.on("setplay",function(){o.play(!0),m.paused=!1}),m.on("setpause",function(){o.pause(!0),m.paused=!0});function y(){m.muted=o.getMute(),m.volume=o.getVolume()/100}n.events={onReady:function(){y(),m.currentTime=new t.Model.Time(1e3*o.getPosition()||0),m.trigger("loadedmetadata")},onTime:function(E){u?(o.pause(!0),u=!1):l&&o.getState()==="PLAYING"&&(l=!1,m.trigger("play")),m.trigger("timeupdate",new t.Model.Time(E.position*1e3))},onPlay:function(){u||(l=!1,m.trigger("play"))},onPause:function(){l=!0,m.trigger("pause")},onSeek:function(){m.trigger("seeked")},onMute:function(E){m.muted=E.mute,m.trigger("volumechange")},onVolume:function(E){m.volume=E.volume/100,m.trigger("volumechange")}},o=o.setup(n),this.jwplayer=o}},Fi(e,"defaults",{}),e},latestAnnotationStyles={},LatestAnnotation=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}importUsers(){if(!this.source.users_data){this.usernames=Array();var n=this,o=this.getWidgetAnnotations(),u="";return o.forEach(function(l){n.usernames.indexOf(l.creator)==-1&&n.usernames.push(l.creator)}),this.usernames.forEach(function(l){u+=l+","}),u=u.substring(0,u.length-1),_url=mustache.render(this.api_users_endpoint,{usernames_list_string:encodeURIComponent(u),usernames_list_length:this.usernames.length}),jQuery.ajax({async:!1,url:_url,type:"GET",success:function(l){n.source.users_data=l.objects},error:function(l,m,y){console.log(l),console.log(m),console.log(y)}})}}draw(){var n=this;this.renderTemplate(),this.annotationContainer_$=this.$.find(".Ldt-LatestAnnotation"),this.selectable_annotations&&(this.onMdpEvent("AnnotationsList.refresh",function(){n.getWidgetAnnotations().forEach(function(o){o.off("click"),o.on("click",function(){var u={},l="",m=this.source.users_data.filter(function(y){return y.username==o.creator});m.length==0?u.username=o.creator:u=m[0],l=n.make_name_string_function(u),_html=mustache.render(n.annotationTemplate,{annotation_created:o.created.toLocaleDateString()+", "+o.created.toLocaleTimeString(),annotation_creator:l,annotation_title:o.title,annotation_content:o.description,copy_and_edit_button:n.copy_and_edit_button,button_text:n.l10n.copy_and_edit}),n.annotationContainer_$.html(_html),n.selectedAnnotation=!0})})}),this.segments=n.source.getAnnotationsByTypeTitle(this.segments_annotation_type),this.segments.forEach(function(o){o.on("click",function(){n.selectedAnnotation=!1})}),this.currentSegment=!1),this.onMediaEvent("timeupdate",function(){n.refresh()}),this.onMediaEvent("settimerange",function(o){n.refresh(o)}),this.starts_hidden?(this.visible=!0,this.hide()):(this.visible=!1,this.show()),this.selectedAnnotation=!1,this.player.trigger("AnnotationsList.refresh"),this.refresh()}refresh(n){n=typeof n<"u"?n:!1;var o=this;if(this.hide_without_segment){if(!n&&!this.media.getTimeRange()){var u=this.media.getCurrentTime(),l=this.segments.filter(function(R){return u>=R.begin&&u<=R.end});l.length==0?(this.currentSegment=!1,this.selectedAnnotation=!1):this.currentSegment=l[0]}else{var m=n?n[0]:this.media.getTimeRange()[0],y=n?n[1]:this.media.getTimeRange()[1];if(!this.currentSegment||this.currentSegment.begin!=m||this.currentSegment.end!=y){var l=this.segments.filter(function(B){return B.begin==m&&B.end==y});l.length>0&&(this.selectedAnnotation=!1,this.currentSegment=l[0])}}this.currentSegment?this.visible||this.show():this.visible&&this.hide()}if(this.visible&&!this.selectedAnnotation){var E=this.getWidgetAnnotations();this.filter_by_segment&&(this.currentSegment?E=E.filter(function(R){return _annotationTime=(R.begin+R.end)/2,o.currentSegment.begin<=_annotationTime&&o.currentSegment.end>=_annotationTime}):E=E.filter(function(R){return!1})),E=E.sortBy(function(R){return R.created});var C=!1,k="",A="",D={};if(E.length!=0)C=E.pop(),_users=this.source.users_data.filter(function(R){return R.username==C.creator}),_users.length==0?D.username=C.creator:D=_users[0],A=this.make_name_string_function(D),k=mustache.render(this.annotationTemplate,{annotation_created:C.created.toLocaleDateString()+", "+C.created.toLocaleTimeString(),annotation_creator:A,annotation_title:C.title,annotation_content:C.description,copy_and_edit_button:this.copy_and_edit_button,button_text:this.l10n.copy_and_edit});else{var P=this.l10n.empty;this.empty_message&&(P=this.empty_message),k="<div class='Ldt-LatestAnnotation-Element Ldt-LatestAnnotation-NoAnnotation'>"+P+"</div>"}this.annotationContainer_$.html(k)}this.copy_and_edit_button&&(this.copyAndEditButton_$=this.$.find(".Ldt-LatestAnnotation-CopyEditButton"),this.copyAndEditButton_$.click(this.functionWrapper("copy_and_edit")))}copy_and_edit(){this.player.trigger("CreateAnnotation.show"),this.hide_annotations_list&&this.player.trigger("AnnotationsList.hide"),annotationText=jQuery(".Ldt-LatestAnnotation-Content").get(0).innerHTML,jQuery(".Ldt-CreateAnnotation-Description").removeClass("empty"),jQuery(".Ldt-CreateAnnotation-Description").val(annotationText)}hide(){this.visible&&(this.visible=!1,this.$.find(".Ldt-LatestAnnotation-header").hide(),this.annotationContainer_$.hide())}show(){this.visible||(this.visible=!0,this.$.find(".Ldt-LatestAnnotation-header").show(),this.annotationContainer_$.show())}},Fi(e,"defaults",{pre_draw_callback:function(){return this.importUsers()},from_user:!1,filter_by_segment:!1,segments_annotation_type:"chap",hide_without_segment:!1,annotation_type:"contribution",show_only_annotation_from_user:!1,copy_and_edit_button:!1,hide_annotations_list:!1,selectable_annotations:!1,empty_message:!1,starts_hidden:!1,show_header:!1,custom_header:!1,make_name_string_function:function(n){return n.username?n.username:"Anonymous"}}),Fi(e,"messages",{fr:{copy_and_edit:"Copier et Editer",empty:"Aucune annotation à afficher",header:"Dernière annotation"},en:{copy_and_edit:"Copy and Edit",empty:"No annotation to display",header:"Last annotation"}}),Fi(e,"template","{{#show_header}}<p class='Ldt-LatestAnnotation-header'>{{#custom_header}}{{custom_header}}{{/custom_header}}{{^custom_header}}{{l10n.header}}{{/custom_header}}</p>{{/show_header}}<div class='Ldt-LatestAnnotation'></div>"),Fi(e,"annotationTemplate","<div class='Ldt-LatestAnnotation-Box'>{{#copy_and_edit_button}}<div class='Ldt-LatestAnnotation-CopyEditButton'>{{button_text}}</div>{{/copy_and_edit_button}}<div class='Ldt-LatestAnnotation-Element Ldt-LatestAnnotation-CreationDate'>{{{annotation_created}}}</div><div class='Ldt-LatestAnnotation-Element Ldt-LatestAnnotation-Title'>{{{annotation_creator}}}{{#annotation_title}}: {{{annotation_title}}}{{/annotation_title}}</div><div class='Ldt-LatestAnnotation-Element Ldt-LatestAnnotation-Content'>{{{annotation_content}}}</div></div>"),e},mashupPlayerStyles={},MashupPlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),this.is_mashup=!0}draw(){var n=this,o=this.media,u=null,l=null,m,y,E=0,C=!1,k,A,D=o.getMedias();o.paused=!this.autostart&&!this.autoplay;function P(){E>=o.duration&&(o.paused||(o.paused=!0,o.trigger("pause")),E=0);var O=o.getAnnotationAtTime(E);if(typeof O>"u"){u&&(u.pause(),o.paused||(o.paused=!0,o.trigger("pause")));return}if(O!==l){l=O,m=l.annotation.begin.milliseconds,y=l.annotation.end.milliseconds,A=m-l.begin.milliseconds,u=l.getMedia();for(var N=0;N<D.length;N++)D[N].id!==u.id?(n.split_screen||D[N].hide(),D[N].pause()):D[N].show();var Y=[],J=o.getAnnotations().filter(function(ie){return ie.begin>=l.end&&ie.getMedia()!==u});_$1(J).each(function(ie){var ue=ie.getMedia();_$1(Y).indexOf(ue.id)===-1&&(Y.push(ue.id),ue.setCurrentTime(ie.annotation.begin.getSeconds()),ue.seeking=!0)})}u.setCurrentTime(E+A),u.seeking=!0,o.paused||(u.play(),C=!0,k.show()),o.trigger("timeupdate",new t.Model.Time(E))}this.height||(this.height=Math.floor(this.width/this.aspect_ratio),this.$.css({height:this.height})),this.$.css({background:this.background});var R=Math.ceil(Math.sqrt(D.length)),B=this.split_screen?this.width/R:this.width,F=this.split_screen?this.height/R:this.height;_$1(D).each(function(O,N){var Y=jQuery('<div class="Ldt-MashupPlayer-Media"><div class="Ldt-MashupPlayer-Subwidget"></div></div>');Y.css({top:n.split_screen?F*Math.floor(N/R):0,left:n.split_screen?B*(N%R):0,height:F,width:B,display:n.split_screen?"block":"none"}),n.$.append(Y),n.insertSubwidget(Y.find(".Ldt-MashupPlayer-Subwidget"),_$1({type:n.player_type,media_id:O.id,height:F,width:B,url_transform:n.url_transform}).extend(n.player_options)),O.loadedMetadata=!1,O.show=function(){Y.show()},O.hide=function(){Y.hide()},O.on("loadedmetadata",function(){O.loadedMetadata=!0;for(var J=!0,ie=0;ie<D.length;ie++)J=J&&D[ie].loadedMetadata;J&&(k.fadeOut(),P(),o.trigger("loadedmetadata"))}),O.on("timeupdate",function(J){!o.paused&&O===u&&!O.seeking&&(J<y?J>=m?E=J-A:(E=m-A,O.setCurrentTime(m)):(E=y-A,O.pause(),P()),o.trigger("timeupdate",new t.Model.Time(E)))}),O.on("seeked",function(){O.seeking=!1,O===u&&C&&(C=!1,k.hide())}),O.on("play",function(){O===u&&o.trigger("play")}),O.on("pause",function(){O===u&&o.trigger("pause")}),O.on("volumechange",function(){o.muted=O.muted,o.volume=O.volume,o.trigger("volumechange")})}),k=jQuery('<div class="Ldt-MashupPlayer-Waiting"></div>'),this.$.append(k),o.on("setcurrenttime",function(O){E=O,P()}),o.on("setvolume",function(O){for(var N=0;N<D.length;N++)D[N].setVolume(O);o.volume=O}),o.on("setmuted",function(O){for(var N=0;N<D.length;N++)D[N].setMuted(O);o.muted=O}),o.on("setplay",function(){o.paused=!1,P()}),o.on("setpause",function(){o.paused=!0,u&&u.pause()}),o.on("loadedmetadata",P)}},Fi(e,"defaults",{aspect_ratio:14/9,split_screen:!1,player_type:"PopcornPlayer",background:"#000000"}),e},Mediafragment=function(t){return class extends t.Widgets.Widget{constructor(e,n){if(super(e,n),this.last_hash_key="",this.last_hash_value="",this.last_extra_key="",this.last_extra_value="",window.onhashchange=this.functionWrapper("goToHash"),typeof window.addEventListener<"u"){var o=this;window.addEventListener("message",function(u){/^#/.test(u.data)&&o.setWindowHash(u.data)})}this.onMdpEvent("Mediafragment.setHashToAnnotation","setHashToAnnotation"),this.blocked=!1}draw(){this.onMediaEvent("setpause","setHashToTime");var e=this;this.getWidgetAnnotations().forEach(function(n){n.on("click",function(){e.setHashToAnnotation(n)})}),this.media.loadedMetadata?this.goToHash():this.onMediaEvent("loadedmetadata","goToHash")}setWindowHash(e){typeof window.history<"u"&&typeof window.history.replaceState<"u"?window.history.replaceState({},"",e):document.location.hash=e}getLastHash(){var e=document.location.hash.replace(/^#/,"").split("&");return e=_$1(e).filter(function(n){return n&&!/^(id|t)=/.test(n)}),this.last_hash_key&&e.push(this.last_hash_key+"="+this.last_hash_value),this.last_extra_key&&e.push(this.last_extra_key+"="+this.last_extra_value),"#"+e.join("&")}goToHash(){if(document.location.hash!==this.getLastHash())for(var e=document.location.hash.replace(/^#/,"").split("&"),n=0;n<e.length;n++){var o=e[n].split("=");if(o[0]=="id"||o[0]=="t"){if(this.last_hash_key=o[0],this.last_hash_value=o[1],this.last_hash_key=="id"){var u=this.source.getElement(this.last_hash_value);if(typeof u<"u")this.media.setCurrentTime(u.begin);else continue}this.last_hash_key=="t"&&this.media.setCurrentTime(1e3*this.last_hash_value);break}}}setHashToAnnotation(e){this.setHash("id",e.id,"t",e.begin/1e3)}setHashToTime(){this.setHash("t",this.media.getCurrentTime().getSeconds())}setHash(e,n,o,u){if(!this.blocked&&(this.last_hash_key!==e||this.last_hash_value!==n)){this.last_hash_key=e,this.last_hash_value=n,this.last_extra_key=o,this.last_extra_value=u;var l=this.getLastHash();this.setWindowHash(l),window.parent!==window&&window.parent.postMessage(l,"*"),this.block()}}unblock(){typeof this.blockTimeout<"u"&&window.clearTimeout(this.blockTimeout),this.blockTimeout=void 0,this.blocked=!1}block(){typeof this.blockTimeout<"u"&&window.clearTimeout(this.blockTimeout),this.blocked=!0,this.blockTimeout=window.setTimeout(this.functionWrapper("unblock"),1500)}}},mediaListStyles={},MediaList=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),this.lastMedia=!1}onSearch(n){this.searchString=typeof n<"u"?n:"";var o=this.refresh(!0);this.searchString&&(o?this.player.trigger("search.matchFound"):this.player.trigger("search.noMatchFound"))}draw(){this.$.addClass("Ldt-MediaListWidget"),this.renderTemplate();var n=this;typeof this.media.getMedias=="function"&&this.media.on("enter-annotation",function(o){n.redraw(o.getMedia())}),this.redraw()}getSegments(n){var o=this,u=this.$.width()/n.duration.milliseconds;return this.getWidgetAnnotations().filter(function(l){return l.getMedia().id==n.id}).map(function(l){var m=l.type=l.annotation;return{left:u*m.begin,width:u*(m.end-m.begin),color:typeof m.color<"u"&&m.color?m.color:o.default_color}})}redraw(n){if(typeof n<"u"){this.$.find(".Ldt-MediaList-Other h2").html(this.l10n.other_media),this.$.find(".Ldt-MediaList-NowPlaying").show(),this.$.find(".Ldt-MediaList-Now-Thumbnail").attr("src",n.thumbnail||this.default_thumbnail),this.$.find(".Ldt-MediaList-Now-Title a").html(n.title),this.$.find(".Ldt-MediaList-Now-Description").html(n.description);var o=n.url||mustache.render(this.media_url_template,{media:n.id});this.$.find(".Ldt-MediaList-NowContainer a").attr("href",o);var u=mustache.render(this.mediaViewTemplate,{segments:this.getSegments(n)});this.$.find(".Ldt-MediaList-Now-MediaView").html(u)}else this.$.find(".Ldt-MediaList-Other h2").html(this.l10n.all_media),this.$.find(".Ldt-MediaList-NowPlaying").hide();var l=this,m=this.source.getMedias().filter(function(E){return E.id!==l.lastMedia});if(m.length){this.$.find(".Ldt-MediaList-Other").show();var y=m.map(function(E){return mustache.render(l.mediaTemplate,{thumbnail:E.thumbnail||l.default_thumbnail,url:E.url||mustache.render(l.media_url_template,{media:E.id}),title:E.title,description:E.description,segments:l.getSegments(E)})}).join("");this.$.find(".Ldt-MediaList-OtherList").html(y)}else this.$.find(".Ldt-MediaList-Other").hide()}},Fi(e,"messages",{fr:{now_playing:"Vidéo en cours",all_media:"Toutes les vidéos",other_media:"Autres vidéos"},en:{now_playing:"Now playing",all_media:"All videos",other_media:"Other videos"}}),Fi(e,"defaults",{default_thumbnail:"https://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png",media_url_template:"https://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/",default_color:"#000080"}),Fi(e,"template",'<div class="Ldt-MediaList-NowPlaying"><h2>{{l10n.now_playing}}</h2><hr /><div class="Ldt-MediaList-NowContainer"><div class="Ldt-MediaList-Now-ThumbContainer"><a href="" target="_blank"><img class="Ldt-MediaList-Now-Thumbnail" src="" /></a></div><h3 class="Ldt-MediaList-Now-Title"><a href="" target="_blank"></a></h3><p class="Ldt-MediaList-Now-Description"></p><div class="Ldt-MediaList-Now-MediaView"></div></div></div><div class="Ldt-MediaList-Other"><h2></h2><hr /><ul class="Ldt-MediaList-OtherList"></ul></div>'),Fi(e,"mediaViewTemplate",'<div class="Ldt-MediaList-MediaView-Background"></div>{{#segments}}<div class="Ldt-MediaList-Segment" style="background: {{color}}; left: {{left}}px; width: {{width}}px;"></div>{{/segments}}'),Fi(e,"mediaTemplate",'<li class="Ldt-MediaList-OtherList-li"><div class="Ldt-MediaList-Other-ThumbContainer"><a href="{{url}}" target="_blank"><img class="Ldt-MediaList-Other-Thumbnail" src="{{thumbnail}}" /></a></div><h3 class="Ldt-MediaList-Other-Title"><a href="{{url}}" target="_blank">{{title}}</a></h3><p class="Ldt-MediaList-Other-Description">{{description}}</p><div class="Ldt-MediaList-Other-MediaView">'+MediaList.mediaViewTemplate+"</div></li>"),e},noteTakingStyles={},NoteTaking=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){var n=this,o,u=jQuery;n.renderTemplate(),o=n.$.find(".Ldt-NoteTaking-Text");function l(){u(o).val(window.localStorage[n.editable_storage])}function m(){window.localStorage[n.editable_storage]=u(o).val()}window.localStorage[n.editable_storage]&&l(),u.fn.insertAtCaret=function(E){return this.each(function(){if(this.selectionStart!==void 0){var C=this.selectionStart,k=this.selectionEnd,A=this.scrollTop;this.value=this.value.substring(0,C)+E+this.value.substring(k,this.value.length),this.focus(),this.selectionStart=C+E.length,this.selectionEnd=C+E.length,this.scrollTop=A}else this.value+=E,this.focus(),this.value=this.value})};function y(E,C){var k=E.selectionStart;return E.value.substring(k-C,k+C)}u(o).keydown(function(E){if(E.keyCode==13&&(E.ctrlKey||E.metaKey)){E.preventDefault();var C=/\[([\d:]+)\]/.exec(y(o[0],8));C?n.media.setCurrentTime(t.timestamp2ms(C[1])):(u(o).insertAtCaret("["+new t.Model.Time(n.media.getCurrentTime()).toString()+"]"),m())}}).on("input",function(E){m()}).on("dblclick",function(E){var C=/\[([\d:]+)\]/.exec(y(o[0],8));C&&(E.preventDefault(),n.media.setCurrentTime(t.timestamp2ms(C[1])))})}},Fi(e,"defaults",{editable_storage:""}),Fi(e,"template",'<textarea class="Ldt-NoteTaking-Text"></textarea>'),e},placeholderPlayerStyles={},PlaceholderPlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){this.renderTemplate();var n=!0,o=0,u=new t.Model.Time(0),l=this.media,m=this.$.find(".Ldt-PlaceholderPlayer");function y(){n||(u=new t.Model.Time(new Date().valueOf()-o),u<=l.duration?(l.trigger("timeupdate",u),setTimeout(y,100)):(u=l.duration,l.pause())),m.text(u.toString(!0))}l.on("setcurrenttime",function(E){o=new Date().valueOf()-E,u=new t.Model.Time(E),l.trigger("seeked"),l.trigger("timeupdate",u),m.text(u.toString(!0))}),l.on("setplay",function(){n=!1,o=new Date().valueOf()-u,l.trigger("play"),y()}),l.on("setpause",function(){n=!0,l.trigger("pause"),y()}),l.trigger("loadedmetadata"),l.trigger("setcurrenttime",0),this.autostart&&l.trigger("setplay")}},Fi(e,"defaults",{autostart:!1}),Fi(e,"template",'<div class="Ldt-PlaceholderPlayer">(loading)</div>'),e},polemicStyles={},Polemic=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}getPolemics(n){return(typeof n>"u"||!n)&&(n=this.default_version),this.polemics.constructor===Array?this.polemics:this.polemics[n]}drawNoStackgraph(n,o){var u=this;if(this.is_stackgraph=!1,n){let m=function(y,E,O,k,A){var D=mustache.render('<div class="Ldt-Polemic-TweetDiv Ldt-TraceMe" trace-info="annotation-id:{{id}}, media-id:{{media_id}}, polemic:{{polemic}}, time:{{time}}" polemic-color="{{color}}" tweet-title="{{title}}" annotation-id="{{id}}" style="width: {{width}}px; height: {{height}}px; top: {{top}}px; left: {{left}}px; background: {{color}}"></div>',{id:A.id,media_id:u.source.currentMedia.id,polemic:O,left:y,top:E,color:k,width:u.element_width-1,height:u.element_height,title:A.title,time:A.begin.toString()}),P=jQuery(D);P.on("mouseover",function(){A.trigger("select")}).on("mouseout",function(){A.trigger("unselect")}).on("click",function(){return A.trigger("click"),!1}),t.attachDndData(P,{title:A.title,description:A.description,image:A.thumbnail,uri:typeof A.url<"u"?A.url:document.location.href.replace(/#.*$/,"")+"#id="+A.id,text:"["+A.begin.toString()+"] "+A.title});for(var R=[],B=A.content&&A.content.polemic_version||u.default_version,F=u.getPolemics(B)||[],O,N,Y=0;Y<F.length;Y++)O=F[Y],N=t.Model.regexpFromTextOrArray(O.keywords),N.test(A.description)&&R.push(O.color);A.on("select",function(){u.tooltip&&u.tooltip.show(+Math.floor(y+(u.element_width-1)/2),+E,A.title,R.length>1?R:k),u.$tweets.each(function(){var J=jQuery(this);J.css("opacity",J.attr("annotation-id")==A.id?1:.3)})}),A.on("unselect",function(){u.tooltip&&u.tooltip.hide(),u.$tweets.css("opacity",1)}),A.on("found",function(){P.css({background:u.foundcolor,opacity:1})}),A.on("not-found",function(){P.css({background:k,opacity:.3})}),u.$zone.append(P)};this.height=(2+n)*this.element_height,this.$zone.css({width:this.width+"px",height:this.height+"px",position:"relative"});var l=0;_$1(o).forEach(function(y){var E=u.height;y.annotations.forEach(function(C){E-=u.element_height,m(l,E,"none",u.defaultcolor,C)}),_$1(y.polemicStacks).forEach(function(C){var k=C.polemicDef.color,A=C.polemicDef.name;C.annotations.forEach(function(D){E-=u.element_height,m(l,E,A,k,D)})}),l+=u.element_width}),this.$tweets=this.$.find(".Ldt-Polemic-TweetDiv"),this.source.getAnnotations().on("search-cleared",function(){u.$tweets.each(function(){var y=jQuery(this);y.css({background:y.attr("polemic-color"),opacity:1})})})}else this.$zone.hide()}drawStackgraph(n,o){this.is_stackgraph=!0;var u=this;this.height=(2+this.max_elements)*this.element_height,this.$zone.css({width:this.width+"px",height:this.height+"px",position:"relative"});var l=0,m="",y=this.max_elements*this.element_height/n;function E(C,k,A,D,P,R,B,F){m+=mustache.render('<div class="Ldt-Polemic-TweetDiv Ldt-TraceMe" trace-info="annotation-block, media-id={{media_id}}, polemic={{polemic}}, time:{{begin}}" pos-x="{{posx}}" pos-y="{{top}}" annotation-counts="{{nums}}" begin-time="{{begin}}" end-time="{{end}}" style="width: {{width}}px; height: {{height}}px; top: {{top}}px; left: {{left}}px; background: {{color}}"></div>',{nums:P,posx:Math.floor(C+(u.element_width-1)/2),media_id:u.source.currentMedia.id,polemic:F,left:C,top:k,color:D,width:u.element_width-1,height:A,begin:R,end:B})}_$1(o).forEach(function(C){var k=u.height,A=C.annotations.length+"|"+u.defaultcolor+","+_$1(C.polemicStacks).map(function(P){return P.annotations.length+"|"+P.polemicDef.color}).join(",");if(C.annotations.length){var D=Math.ceil(y*C.annotations.length);k-=D,E(l,k,D,u.defaultcolor,A,C.begin,C.end,"none")}_$1(C.polemicStacks).forEach(function(P){if(P.annotations.length){var R=P.polemicDef.color,B=P.polemicDef.name,F=Math.ceil(y*P.annotations.length);k-=F,E(l,k,F,R,A,C.begin,C.end,B)}}),l+=u.element_width}),this.$zone.append(m),this.$tweets=this.$.find(".Ldt-Polemic-TweetDiv"),this.$tweets.mouseover(function(){var C=jQuery(this),k=C.attr("annotation-counts").split(","),A="<p>"+u.l10n.from_+C.attr("begin-time")+u.l10n._to_+C.attr("end-time")+"</p>";A=_$1.reduce(k,function(D,P){var R=P.split("|");return D+='<div class="Ldt-Tooltip-AltColor" style="background: '+R[1]+'"></div><p>'+R[0]+u.l10n._annotations+"</p>",D},A),u.tooltip&&u.tooltip.show(+C.attr("pos-x"),+C.attr("pos-y"),A)}).mouseout(function(){u.tooltip&&u.tooltip.hide()})}draw(){this.onMediaEvent("timeupdate","onTimeupdate"),this.$zone=jQuery("<div>"),this.$zone.addClass("Ldt-Polemic"),this.$.append(this.$zone),this.$elapsed=jQuery("<div>").css({background:"#cccccc",position:"absolute",top:0,left:0,width:0,height:"100%"}),this.$zone.append(this.$elapsed);for(var n=[],o=Math.floor(this.width/this.element_width),u=this.source.getDuration(),l=0,m=this.getWidgetAnnotations(),y=this,E=0;E<o;E++){var C=new t.Model.Time(E*u/o),k=new t.Model.Time((E+1)*u/o),A=0,D={begin:C.toString(),end:k.toString(),annotations:m.filter(function(P){return P.begin>=C&&P.begin<k}),polemicStacks:{}};D.annotations=D.annotations.filter(function(P){for(var R=P.content&&P.content.polemic_version||y.default_version,B=y.getPolemics(R)||[],F,O,N,Y,J=!0,ie=0;ie<B.length;ie++)F=B[ie],Y=t.Model.regexpFromTextOrArray(F.keywords),Y.test(P.description)&&(O=R+"_"+F.name,N=D.polemicStacks[O]||(D.polemicStacks[O]={polemicDef:F,annotations:[]}),N.annotations.push(P),J=!1,A++);return J}),A+=D.annotations.length,l=Math.max(l,A),n.push(D)}l<this.max_elements?this.drawNoStackgraph(l,n):this.drawStackgraph(l,n),this.$position=jQuery("<div>").addClass("Ldt-Polemic-Position"),this.$zone.append(this.$position),this.$zone.on("click",function(P){var R=P.pageX-y.$zone.offset().left;y.media.setCurrentTime(y.media.duration*R/y.width)}),this.$.append('<div class="Ldt-Polemic-Tooltip"></div>'),this.insertSubwidget(this.$.find(".Ldt-Polemic-Tooltip"),{type:"Tooltip",min_x:0,max_x:this.width},"tooltip")}onTimeupdate(n){var o=Math.floor(this.width*n/this.media.duration);this.$elapsed.css({width:o+"px"}),this.$position.css({left:o+"px"})}},Fi(e,"messages",{fr:{from_:"de ",_to_:" à ",_annotations:" annotation(s)"},en:{from_:"from ",_to_:" to ",_annotations:" annotation(s)"}}),Fi(e,"defaults",{element_width:5,element_height:5,max_elements:20,annotation_type:"tweet",defaultcolor:"#585858",foundcolor:"#fc00ff",default_version:"1",polemics:{1:[{name:"OK",keywords:["++"],color:"#1D973D"},{name:"KO",keywords:["--"],color:"#CE0A15"},{name:"REF",keywords:["==","http://"],color:"#C5A62D"},{name:"Q",keywords:["?"],color:"#036AAE"}],2:[{name:"OK",keywords:["++"],color:"#1D973D"},{name:"KO",keywords:["!!"],color:"#CE0A15"},{name:"REF",keywords:["==","http://"],color:"#C5A62D"},{name:"Q",keywords:["?"],color:"#036AAE"}]}}),e},PopcornPlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){typeof this.video>"u"&&(this.video=this.media.video),this.url_transform&&(this.video=this.url_transform(this.video));var n=this.video;if(/^(https?:\/\/)?(www\.)?youtube\.com/.test(this.video)){for(var o=this.video.split(/[?&]/),u={},l=1;l<o.length;l++){var m=o[l].split("=");u[m[0]]=decodeURIComponent(m[1])}u.controls=0,u.modestbranding=1,(this.autostart||this.autoplay)&&(u.autoplay=1),n=o[0]+"?"+jQuery.param(u)}var y=global$1.Popcorn.smart("#"+this.container,n);(this.autostart||this.autoplay)&&y.autoplay(!0);var E=this.media;E.on("setcurrenttime",function(k){y.currentTime(k/1e3)}),E.on("setvolume",function(k){y.volume(k),E.volume=k}),E.on("setmuted",function(k){y.muted(k),E.muted=k}),E.on("setplay",function(){y.play()}),E.on("setpause",function(){y.pause()}),E.on("settimerange",function(k){E.timeRange=k;try{(E.getCurrentTime()>k[0]||E.getCurrentTime()<k)&&y.currentTime(k[0]/1e3)}catch{}}),E.on("resettimerange",function(){E.timeRange=!1});function C(){E.muted=y.muted(),E.volume=y.volume()}y.on("loadedmetadata",function(){C(),E.trigger("loadedmetadata"),E.trigger("volumechange")}),y.on("timeupdate",function(){E.trigger("timeupdate",new t.Model.Time(1e3*y.currentTime()))}),y.on("volumechange",function(){C(),E.trigger("volumechange")}),y.on("play",function(k){E.trigger("play")}),y.on("pause",function(){E.trigger("pause")}),y.on("seeked",function(){E.trigger("seeked")})}},Fi(e,"defaults",{}),e},quizStyles={},Quiz=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}update(n){var o=this;if(this.quiz_activated&&this.correct[n.id]!=1&&this.correct[n.id]!=0){o.quiz_displayed=!0,this.media.pause(),this.annotation=n;var u=n.content.data.question,l=n.content.data.answers,m=n.content.data.resource;jQuery(".Ldt-Quiz-Votes").hide(),jQuery(".Ldt-Pause-Add-Question").hide(),jQuery(".Ldt-Quiz-Container .Ldt-Quiz-Title").html(u);var y=0,E=mustache.render('<span class="Ldt-Quiz-Correct-Answer">{{ correctness.0 }}</span> / <span class="Ldt-Quiz-Incorrect-Answer">{{ correctness.1 }}</span>',{correctness:this.globalScore()});jQuery(".Ldt-Quiz-Index").html(mustache.render("Q{{index}}/{{total}}",{index:n.number+1,total:this.totalAmount})),jQuery(".Ldt-Quiz-Score").html(E),this.question=new t.Widgets.UniqueChoiceQuestion(n),this.resource=new t.Widgets.UniqueChoiceQuestion(m),n.content.data.type=="multiple_choice"?(this.question=new t.Widgets.MultipleChoiceQuestion(n),this.resource=new t.Widgets.MultipleChoiceQuestion(m)):n.content.data.type=="unique_choice"&&(this.question=new t.Widgets.UniqueChoiceQuestion(n),this.resource=new t.Widgets.UniqueChoiceQuestion(m));var C="";for(y=0;y<l.length;y++)C+='<div class="quiz-question-block"><p>'+this.question.renderQuizTemplate(l[y],y)+'<span class="quiz-question-label">'+l[y].content+"</span></p></div>";var k="";m!=null&&(k='<div class="quiz-resource-block" id="resource" >'+m+"</div>"),jQuery(".Ldt-Quiz-Questions").html(k+C),jQuery(".Ldt-Quiz-Overlay").fadeIn(),jQuery(".Ldt-Quiz-Submit").fadeIn(),jQuery(".quiz-question-label").click(function(){var A=jQuery(this).siblings("input");A.prop("checked")&&A.prop("type")=="radio"?o.answer():A.prop("checked",!A.prop("checked"))}),jQuery(".Ldt-Quiz-Submit-Skip-Link").click({media:this.media},function(A){o.hide(),o.player.trigger("QuizCreator.skip"),A.data.media.play()})}}hide(){var n=this;jQuery(".Ldt-Quiz-Votes").hide(),jQuery(".Ldt-Quiz-Overlay").hide(),jQuery(".Ldt-Pause-Add-Question").hide(),n.quiz_displayed=!1}answer(){var n=this;function o(A){return(A||"").replace(/\s(\d+:\d+)/,function(D,P){return' <a href="#t='+t.timestamp2ms(P)/1e3+'">'+P+"</a>"})}var u=n.annotation.content.data.answers,l=0,m=0,y=[];n.$.find(".Ldt-Quiz-Question-Check").each(function(A){var D=jQuery(this).is(":checked");y.push(D?1:0);var P=u[l];P.correct&&!D||!P.correct&&D?(m+=1,jQuery(this).parents(".quiz-question-block").append('<div class="quiz-question-feedback quiz-question-incorrect-feedback">'+o(P.feedback)+"</div>")):jQuery(this).parents(".quiz-question-block").append('<div class="quiz-question-feedback quiz-question-correct-feedback">'+o(P.feedback)+"</div>"),l++}),m?(jQuery(".Ldt-Quiz-Result").html("Mauvaise réponse"),jQuery(".Ldt-Quiz-Result").css({"background-color":"red"}),this.correct[this.annotation.id]=0):(jQuery(".Ldt-Quiz-Result").html("Bonne réponse !"),jQuery(".Ldt-Quiz-Result").css({"background-color":"green"}),this.correct[this.annotation.id]=1),jQuery(".Ldt-Quiz-Result").animate({height:"100%"},500,"linear",function(){jQuery(".Ldt-Quiz-Result").delay(2e3).animate({height:"0%"},500)});var E=this.annotation.number+1,C=this.globalScore(),k="";k+='<span class="Ldt-Quiz-Correct-Answer">'+C[0]+'</span> / <span class="Ldt-Quiz-Incorrect-Answer">'+C[1]+"</span>",jQuery(".Ldt-Quiz-Index").html("Q"+E+"/"+this.totalAmount),jQuery(".Ldt-Quiz-Score").html(k),this.submit(this.user,this.userid,this.annotation.id,m?"wrong_answer":"right_answer",y.join("")),jQuery(".Ldt-Quiz-Submit").fadeOut(400,function(){jQuery(".Ldt-Quiz-Votes").show()})}globalScore(){var n=_.values(this.correct),o=n.filter(function(l){return l==1}).length,u=n.filter(function(l){return l==0}).length;return[o,u]}refresh(){var n=this.getWidgetAnnotations().sortBy(function(u){return u.begin}),o=this;o.totalAmount=n.length,o.number=0,o.correct={},o.keys={},n.forEach(function(u){o.correct[u.id]=-1,o.keys[o.number]=u.id,u.number=o.number++})}draw(){var n=this;n.quiz_displayed=!1,this.onMediaEvent("enter-annotation",function(o){var u=n.getWidgetAnnotations().filter(function(l){return l===o});u.number===void 0&&n.refresh(),u.length&&n.update(u[0])}),this.onMdpEvent("Quiz.activate",function(){n.quiz_activated=!0}),this.onMdpEvent("Quiz.deactivate",function(){n.quiz_activated=!1,n.hide()}),this.onMdpEvent("Quiz.hide",function(){n.hide()}),this.onMdpEvent("Quiz.refresh",function(){n.refresh()}),this.onMediaEvent("pause",function(){n.quiz_displayed||jQuery(".Ldt-Pause-Add-Question").show()}),this.onMediaEvent("play",function(){jQuery(".Ldt-Pause-Add-Question").hide()}),n.overlay=jQuery("<div class='Ldt-Quiz-Overlay'></div>").appendTo(jQuery("#"+n.container)),n.PauseAddQuestion=jQuery("<div class='Ldt-Pause-Add-Question' title='Ajoutez une question !'>").on("click",function(){n.player.trigger("QuizCreator.create")}).appendTo(jQuery("#"+n.container)),n.overlay.html(this.template),jQuery(".Ldt-Quiz-Overlay").hide(),jQuery(".Ldt-Quiz-Submit input").click(function(){n.answer()}),jQuery(".Ldt-Quiz-Submit-Skip-Link").click({media:this.media},function(o){n.submit(n.user,n.userid,n.annotation.id,"skipped_answer",0),n.hide(),n.player.trigger("QuizCreator.skip"),o.data.media.play()}),jQuery('.Ldt-Quiz-Votes-Buttons input[type="button"], .Ldt-Quiz-Votes-Buttons a').click({media:this.media},function(o){var u,l;jQuery(this).hasClass("Ldt-Quiz-Vote-Useful")?(u="useful",l=1):jQuery(this).hasClass("Ldt-Quiz-Vote-Useless")?(u="useless",l=-1,jQuery(".Ldt-Ctrl-Quiz-Create").addClass("button_highlight").delay(5e3).queue(function(){jQuery(this).removeClass("button_highlight").dequeue()})):(u="skipped_vote",l=0),n.submit(n.user,n.userid,n.annotation.id,u,l),o.data.media.play(),n.hide(),jQuery(".Ldt-Pause-Add-Question").hide(),n.player.trigger("QuizCreator.skip")}),n.refresh()}},Fi(e,"defaults",{quiz_activated:!0,api_serializer:"ldt_annotate",analytics_api:"",api_method:"POST",user:"",userid:""}),Fi(e,"template",'<div class="Ldt-Quiz-Container"><div class="Ldt-Quiz-Header">  <div class="Ldt-Quiz-Index"></div><div class="Ldt-Quiz-Score"></div></div><div class="Ldt-Quiz-Content">  <h1 class="Ldt-Quiz-Title">{{question}}</h1>  <div class="Ldt-Quiz-Questions">  </div></div><div class="Ldt-Quiz-Footer">  <div class="Ldt-Quiz-Votes">      <span class="Ldt-Quiz-Votes-Question">Avez-vous trouvé cette question utile ?</span>      <div class="Ldt-Quiz-Votes-Buttons">          <div class="Ldt-Quiz-Vote-Skip-Block"><a href="#" class="Ldt-Quiz-Vote-Skip">Passer</a></div>          <div><input type="button" value="Non" class="Ldt-Quiz-Vote-Useless" /></div>          <div><input type="button" value="Oui" class="Ldt-Quiz-Vote-Useful" /></div>      </div>  </div>  <div class="Ldt-Quiz-Submit">      <div class="Ldt-Quiz-Submit-Button"><input type="button" value="Valider" /></div>      <div class="Ldt-Quiz-Submit-Skip-Link"><a href="#">Passer</a></div><div style="clear:both;"></div>  </div>  <div class="Ldt-Quiz-Result">Bonne réponse</div></div></div>'),Fi(e,"annotationTemplate",""),e},UniqueChoiceQuestion=function(t){return class extends t.Widgets.Widget{constructor(e){this.annotation=e}renderQuizTemplate(e,n){return'<input type="radio" class="quiz-question Ldt-Quiz-Question-Check Ldt-Quiz-Question-Check-'+n+'" name="question" data-question="'+n+'" value="'+n+'" />'}renderTemplate(e,n){var o=this.generateUid();return'<input type="radio" id="'+o+'" class="quiz-question-edition Ldt-Quiz-Question-Check Ldt-Quiz-Question-Check-'+n+'" name="question" data-question="'+n+'" value="'+n+'" /><label for="'+o+'" title="Veuillez sélectionner la réponse correcte"></label>'}renderFullTemplate(e,n){var o=e&&e.correct?"checked":"",u=this.generateUid();return'<input type="radio" id="'+u+'" '+o+' class="quiz-question-edition Ldt-Quiz-Question-Check Ldt-Quiz-Question-Check-'+n+'" name="question" data-question="'+n+'" value="'+n+'" /><label for="'+u+'"></label>'}}},MultipleChoiceQuestion=function(t){return class extends t.Widgets.Widget{constructor(e){this.annotation=e}renderQuizTemplate(e,n){return'<input type="checkbox" class="quiz-question Ldt-Quiz-Question-Check Ldt-Quiz-Question-Check-'+n+'" name="question['+n+']" data-question="'+n+'" value="'+n+'" /> '}renderTemplate(e,n){var o=this.generateUid();return'<input type="checkbox" id="'+o+'" class="quiz-question-edition Ldt-Quiz-Question-Check" name="question['+n+']" data-question="'+n+'" value="'+n+'" /><label for="'+o+'" title="Veuillez sélectionner la ou les réponses correctes"></label>'}renderFullTemplate(e,n){var o=e&&e.correct?"checked":"",u=this.generateUid();return'<input type="checkbox" id="'+u+'" '+o+' class="quiz-question-edition Ldt-Quiz-Question-Check" name="question['+n+']" data-question="'+n+'" value="'+n+'" /><label for="'+u+'"></label> '}submit(e,n,o,u,l){var m=this,y=mustache.render(this.analytics_api,{id:this.source.projectId}),E={username:e,useruuid:n,subject:o,property:u,value:l,session:m.session_id};jQuery.ajax({url:y,type:this.api_method,contentType:"application/json",data:JSON.stringify(E),success:function(C){},error:function(C,k,A){t.log("Error when sending annotation",A)}})}}},quizCreatorStyles={},QuizCreator=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}skip(){this.$.find(".Ldt-QuizCreator-Time").val(""),this.$.find(".Ldt-QuizCreator-Question-Area").val(""),this.$.find(".Ldt-QuizCreator-Resource-Area").val(""),this.$.find(".Ldt-QuizCreator-Questions-Block").html(""),this.current_annotation=void 0}nbAnswers(){var n=this.$.find(".Ldt-QuizCreator-Questions-Answer").length;return n}draw(){var n=this;this.onMediaEvent("timeupdate",function(o){n.setBegin(o)}),this.onMdpEvent("QuizCreator.show",function(){n.setBegin(n.media.currentTime)}),this.onMdpEvent("QuizCreator.create",function(){n.skip(),n.setBegin(n.media.currentTime)}),this.onMdpEvent("QuizCreator.skip",function(){n.skip()}),this.onMdpEvent("QuizCreator.edit",function(o){n.skip(),n.addQuestion(o)}),this.$.on("click",".Ldt-QuizCreator-Remove",function(){jQuery(this).parents(".Ldt-QuizCreator-Questions-Answer").remove()}),this.begin=new t.Model.Time,this.end=this.source.getDuration(),this.answers=[],this.renderTemplate(),this.question=new t.Widgets.UniqueChoiceQuestion,this.$.find(".Ldt-QuizCreator-Question-Type").bind("change",this.functionWrapper("onQuestionTypeChange")),this.$.find(".Ldt-QuizCreator-Question-Add").bind("click",this.functionWrapper("onQuestionAdd")),this.$.find(".Ldt-QuizCreator-Question-Save").bind("click",this.functionWrapper("onSave")),this.$.find(".Ldt-QuizCreator-Time").keyup(function(){var o=n.$.find(".Ldt-QuizCreator-Time").val();n.begin=t.timestamp2ms(o),n.end=n.begin+1e3}),this.onMediaEvent("timeupdate",function(o){n.getDescription()&&n.setBegin(o)})}getDescription(){return this.$.find(".Ldt-QuizCreator-Question-Area").val().trim()}addQuestion(n,o){var u=this;n.content.data.type=="multiple_choice"?this.question=new t.Widgets.MultipleChoiceQuestion(n):n.content.data.type=="unique_choice"&&(this.question=new t.Widgets.UniqueChoiceQuestion(n));var l=n.content.data.answers;this.answers=[],this.$.find(".Ldt-QuizCreator-Time").val(n.begin),this.$.find(".Ldt-QuizCreator-Question-Area").val(n.content.data.question),this.$.find(".Ldt-QuizCreator-Resource-Area").val(n.content.data.resource),this.$.find(".Ldt-QuizCreator-Questions-Block").html(""),l.forEach(function(m){u.onQuestionAdd(null,m)}),u.current_annotation=n}onQuestionTypeChange(n){var o=this.$.find(".Ldt-QuizCreator-Question-Type"),u=o.val(),l=this;switch(u){case"unique_choice":this.question=new t.Widgets.UniqueChoiceQuestion;break;case"multiple_choice":this.question=new t.Widgets.MultipleChoiceQuestion;break}var m="";l.$.find(".Ldt-QuizCreator-Questions-Block").html(m),this.pauseOnWrite()}onQuestionAdd(n,o){var u='<div class="Ldt-QuizCreator-Questions-Answer">Réponse <div class="Ldt-QuizCreator-Questions-Answer-Correct">'+this.question.renderFullTemplate(o,this.nbAnswers())+'</div><br /><div class="Ldt-QuizCreator-Questions-Answer-Content"><input type="text" class="Ldt-QuizCreator-Answer-Content" data-question="'+this.nbAnswers()+'" id="question'+this.nbAnswers()+'"'+(o?' value="'+o.content+'"':"")+'/><br />Commentaire <br/><textarea class="Ldt-QuizCreator-Answer-Feedback" data-question="'+this.nbAnswers()+'" id="feedback'+this.nbAnswers()+'">'+(o?o.feedback:"")+'</textarea></div><div class="Ldt-QuizCreator-Questions-Answer-Delete"><div class="Ldt-QuizCreator-Remove">&nbsp;</div></div></div>';this.$.find(".Ldt-QuizCreator-Questions-Block").append(u),this.$.find(".Ldt-QuizCreator-Answer-Content").last().focus(),this.pauseOnWrite()}pauseOnWrite(){this.pause_on_write&&!this.media.getPaused()&&this.media.pause()}setBegin(n){this.begin=new t.Model.Time(n||0),this.end=this.begin+500,this.$.find(".Ldt-QuizCreator-Time").val(this.begin.toString())}get_local_annotation(n){return this.player.getLocalAnnotation(n)}save_local_annotations(){this.player.saveLocalAnnotations(),this.source.merge(this.player.localSource)}delete_local_annotation(n){this.source.getAnnotations().removeId(n),this.player.deleteLocalAnnotation(n),this.current_annotation=void 0,this.refresh(!0)}show(){this.$.find(".Ldt-QuizCreator-Question-Area").focus()}hide(){this.$.find(".Ldt-QuizCreator-Questions-Block").html(""),this.$.find(".Ldt-QuizCreator-Question-Area").val(""),this.$.find(".Ldt-QuizCreator-Resource-Area").val(""),this.$.find(".Ldt-QuizCreator-Time").val("")}onSave(n,o){var u=!1;if(this.nbAnswers()<=0)return alert("Vous devez spécifier au moins une réponse à votre question !"),!1;if(!this.$.find(".quiz-question-edition:checked").length)return alert("Vous n'avez pas indiqué de bonne réponse."),!1;var l;if(this.current_annotation)u=!1,l=this.current_annotation;else{u=!0;var m=this.source.getAnnotationTypes().searchByTitle(this.annotation_type,!0),y=m.length?m[0]:new t.Model.AnnotationType(!1,this.player.localSource);m.length||(y.dont_send_id=!0,y.title=this.annotation_type),l=new t.Model.Annotation(!1,this.player.localSource),l.created=new Date,l.creator=this.creator_name,l.setAnnotationType(y.id),this.player.localSource.getMedias().push(this.source.currentMedia),l.setMedia(this.source.currentMedia.id)}l.setBeginEnd(this.begin,this.end),l.modified=new Date,l.contributor=this.creator_name,l.description=this.getDescription(),l.title=l.description,l.content={},l.content.data={},l.content.data.type=this.$.find(".Ldt-QuizCreator-Question-Type").val(),l.content.data.question=l.description,l.content.data.resource=this.$.find(".Ldt-QuizCreator-Resource-Area").val(),l.content.data.answers=jQuery.makeArray(jQuery(".Ldt-QuizCreator-Questions-Answer").map(function(E){return{content:jQuery(this).find(".Ldt-QuizCreator-Answer-Content").val(),feedback:jQuery(this).find(".Ldt-QuizCreator-Answer-Feedback").val(),correct:jQuery(this).find(".Ldt-Quiz-Question-Check").is(":checked")}})),this.current_annotation=l,u?(this.player.addLocalAnnotation(l),this.source.merge([l]),this.player.trigger("Annotation.create",l)):(this.player.saveLocalAnnotations(),this.player.trigger("Annotation.update",l)),this.player.trigger("AnnotationsList.update"),this.player.trigger("Quiz.refresh")}},Fi(e,"defaults",{creator_name:"",tags:!1,tag_titles:!1,pause_on_write:!0,annotation_type:"Quiz",api_serializer:"ldt_annotate",api_endpoint_template:"",api_method:"POST"}),Fi(e,"messages",{en:{},fr:{}}),Fi(e,"template",'<div class="Ldt-QuizCreator-Ui Ldt-TraceMe"><div class="Ldt-QuizCreator-Question-Form"><textarea class="Ldt-QuizCreator-Question-Area" placeholder="Votre question"></textarea><br /><textarea class="Ldt-QuizCreator-Resource-Area" placeholder="Ressources (lien vers une image, etc.)"></textarea><br /></div><p>Type de question  <select name="type" class="Ldt-QuizCreator-Question-Type"><option value="unique_choice">Choix unique</option><option value="multiple_choice">Choix multiple</option></select> à <input type="text" placeholder="hh:mm:ss" size="6" class="Ldt-QuizCreator-Time" /><div class="Ldt-QuizCreator-Questions-Block"></div><div>  <button class="Ldt-QuizCreator-Question-Add">Ajouter une réponse</button><hr>  <button class="Ldt-QuizCreator-Question-Save">Sauvegarder</button></div></div>'),e},segmentsStyles={},Segments=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}do_draw(n){this.width!=this.$.parent().width()&&this.scale_to_parent&&(this.width=this.$.parent().width(),this.$.css({width:this.width+"px"}));var o=this,u=this.getWidgetAnnotations().filter(function(k){return k.getDuration()>0&&k.getMedia().id==o.media.id}),l=this.width/this.source.getDuration(),m=this.$.find(".Ldt-Segments-List"),y=[],E=1;function C(k,A,D,P){function R(F){return Math.floor(240*(1-P)+F*P)}for(var B=(65536*R(k)+256*R(A)+R(D)).toString(16);B.length<6;)B="0"+B;return"#"+B}n&&this.$.find(".Ldt-Segments-Segment").remove(),u.forEach(function(k,A){var D=k.begin*l,P=k.getDuration()*l,R=Math.floor(D+P/2),B=k.title+(k.description?"<br/>"+k.description:""),F=_$1(y).find(function(L){return!_$1(L.annotations).find(function(d){return d.begin<k.end&&d.end>k.begin})});F||(F={index:y.length,annotations:[]},y.push(F)),F.annotations.push(k);var O=(1-o.overlap)*F.index*o.line_height,N=typeof k.color<"u"&&k.color?k.color:o.colors[A%o.colors.length],Y=parseInt(N.substr(1,2),16),J=parseInt(N.substr(3,2),16),ie=parseInt(N.substr(5,2),16),ue=C(Y,J,ie,.5),Q=C(Y,J,ie,.2),ce={color:N,medcolor:ue,lowcolor:Q,text:(k.creator?k.creator+" : ":"")+B.replace(/(\n|\r|\r\n)/gm," ").replace(/(^.{120,140})[\s].+$/m,"$1&hellip;"),left:D,width:P,top:O,height:o.line_height-1,id:k.id,media_id:k.getMedia().id,from:k.begin.toString(),to:k.end.toString()},he=mustache.render(o.constructor.annotationTemplate,ce),ke=jQuery(he);ke.on("mouseover",function(){k.trigger("select")}).on("mouseout",function(){k.trigger("unselect")}).on("click",function(){o.use_timerange&&(o.media.getTimeRange()?o.media.getTimeRange()[0]==k.begin||o.media.getTimeRange()[1]==k.end?(o.media.resetTimeRange(),o.$segments.each(function(){var L=jQuery(this);L.css("background",Q).removeClass("selected"),k.trigger("select")})):(o.media.setCurrentTime(k.begin),o.media.setTimeRange(k.begin,k.end),o.media.play(),o.$segments.each(function(){var L=jQuery(this);L.css("background",Q).removeClass("selected")}),ke.css("background",o.selected_color).addClass("selected")):(o.media.setCurrentTime(k.begin),o.media.setTimeRange(k.begin,k.end),o.media.play(),o.$segments.each(function(){var L=jQuery(this);L.css("background",Q).removeClass("selected")}),ke.css("background",o.selected_color).addClass("selected"))),k.trigger("click")}).appendTo(m),t.attachDndData(ke,{title:k.title,description:k.description,uri:typeof k.url<"u"?k.url:document.location.href.replace(/#.*$/,"")+"#id="+k.id,image:k.thumbnail,text:"["+k.begin.toString()+"] "+k.title}),k.on("select",function(){o.$segments.each(function(){var L=jQuery(this);L.css({background:L.hasClass("found")?o.faded_found_color:L.attr("data-low-color")}),L.css({background:L.hasClass("selected")?o.faded_selected_color:L.attr("data-low-color")})}),ke.css({background:ke.hasClass("found")?o.found_color:N,background:ke.hasClass("selected")?o.selected_color:N,"z-index":++E}),o.tooltip&&o.tooltip.show(R,O,ce.text,ce.color)}),k.on("unselect",function(){o.tooltip&&o.tooltip.hide(),o.$segments.each(function(){var L=jQuery(this);L.css("background",L.hasClass("found")?o.found_color:L.attr("data-medium-color")),L.css("background",L.hasClass("selected")?o.selected_color:L.attr("data-medium-color"))})}),k.on("found",function(){ke.css("background",o.found_color).addClass("found")}),k.on("not-found",function(){ke.css("background",Q).removeClass("found")})}),this.onMediaEvent("resettimerange",function(){o.$segments.each(function(){var k=jQuery(this);k.removeClass("selected")})}),this.$.css({width:this.width+"px",height:((1-this.overlap)*y.length+this.overlap)*this.line_height+"px",background:this.background,margin:"1px 0"}),this.$segments=this.$.find(".Ldt-Segments-Segment")}draw(){var n=this;n.onMediaEvent("timeupdate","onTimeupdate"),n.renderTemplate(),n.do_draw(),this.no_tooltip||n.insertSubwidget(n.$.find(".Ldt-Segments-Tooltip"),{type:"Tooltip",min_x:0,max_x:this.width},"tooltip"),n.source.getAnnotations().on("search",function(){searching=!0}),n.source.getAnnotations().on("search-cleared",function(){searching=!1,_this.$segments.each(function(){var o=jQuery(this);o.css("background",o.attr("data-medium-color")).removeClass("found")})}),this.$.on("resize",function(){n.do_draw(!0)})}onTimeupdate(n){var o=Math.floor(this.width*n/this.media.duration);this.$.find(".Ldt-Segments-Position").css({left:o+"px"})}},Fi(e,"defaults",{annotation_type:"chap",colors:["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5"],line_height:8,background:"#e0e0e0",overlap:.25,found_color:"#FF00FC",faded_found_color:"#ff80fc",selected_color:"#74d600",faded_selected_color:"#baf9b5",no_tooltip:!1,use_timerange:!1,scale_to_parent:!0}),Fi(e,"template",'<div class="Ldt-Segments-List"></div><div class="Ldt-Segments-Position"></div><div class="Ldt-Segments-Tooltip"></div>'),Fi(e,"annotationTemplate",'<div class="Ldt-Segments-Segment Ldt-TraceMe" trace-info="segment-id:{{id}}, media-id:{{media_id}}, from:{{from}}, to:{{to}}" segment-text="{{text}}"style="top:{{top}}px; height:{{height}}px; left:{{left}}px; width:{{width}}px; background:{{medcolor}}" data-base-color="{{color}}" data-low-color="{{lowcolor}}" data-medium-color="{{medcolor}}"></div>'),e},shortcutsStyles={},Shortcuts=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){var n=this;Mousetrap.bindGlobal("ctrl+space",function(o){return o.preventDefault(),n.media.getPaused()?n.media.play():n.media.pause(),!1}),Mousetrap.bindGlobal("ctrl+left",function(o){return o.preventDefault(),n.media.setCurrentTime(Math.max(0,n.media.getCurrentTime()-n.time_increment)),!1}),Mousetrap.bindGlobal("ctrl+shift+left",function(o){return o.preventDefault(),n.media.setCurrentTime(Math.max(0,n.media.getCurrentTime()-5*n.time_increment)),!1}),Mousetrap.bindGlobal("ctrl+right",function(o){return o.preventDefault(),n.media.setCurrentTime(Math.min(n.media.duration,n.media.getCurrentTime()+n.time_increment)),!1}),Mousetrap.bindGlobal("ctrl+shift+right",function(o){return o.preventDefault(),n.media.setCurrentTime(Math.min(n.media.duration,n.media.getCurrentTime()+5*n.time_increment)),!1}),Mousetrap.bindGlobal("ctrl+a",function(o){return o.preventDefault(),n.player.trigger("CreateAnnotation.toggle"),!1})}},Fi(e,"defaults",{time_increment:2e3}),e},sliceStyles={},Slice=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),this.sliding=!1}draw(){this.renderTemplate(),this.$slider=this.$.find(".Ldt-Slice"),this.show_arrow&&this.insertSubwidget(this.$.find(".Ldt-Slice-Arrow"),{type:"Arrow"},"arrow"),this.min=0,this.max=this.media.duration.valueOf();var n=this,o;this.$slider.slider({range:!0,values:[0,this.max],min:0,max:this.max,change:function(u,l){n.arrow&&n.arrow.moveToTime((l.values[0]+l.values[1])/2),n.onBoundsChanged&&n.onBoundsChanged(l.values[0],l.values[1])},start:function(){n.sliding=!0,n.media.getPaused()||n.media.pause(),o=n.media.getCurrentTime()},slide:function(u,l){n.media.setCurrentTime(l.value)},stop:function(){n.sliding=!1,n.media.setCurrentTime(o)}}),this.$slider.find(".ui-slider-handle:first").addClass("Ldt-Slice-left-handle"),this.$slider.find(".ui-slider-handle:last").addClass("Ldt-Slice-right-handle"),this.getWidgetAnnotations().forEach(function(u){u.on("enter",function(){n.setBounds(u.begin,u.end)})}),this.player.on("annotation-click",function(u){n.setBounds(u.begin,u.end)})}setBounds(n,o){this.$slider.slider("values",[n,o])}show(){this.$slider.show()}hide(){this.$slider.hide()}},Fi(e,"defaults",{show_arrow:!1}),Fi(e,"template",'<div class="Ldt-Slice"></div>{{#show_arrow}}<div class="Ldt-Slice-Arrow"></div>{{/show_arrow}}'),e},slidePreviewStyles={},SlidePreview=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){this.getWidgetAnnotations().sortBy(function(u){return u.begin});var n=this;n.renderTemplate();var o=n.$.find(".Ldt-SlidePreview-Slides");this.getWidgetAnnotations().forEach(function(u){var l={id:u.id,content:t.textFieldHtml(u.title),begin:u.begin.toString(),ms:u.begin.milliseconds,thumbnail:u.thumbnail},m=mustache.render(n.annotationTemplate,l),y=jQuery(m);o.append(y)}),n.$.on("click",".Ldt-SlidePreview-Item",function(){n.media.setCurrentTime(Number(this.dataset.timecode))})}},Fi(e,"defaults",{annotation_type:"Slides"}),Fi(e,"template",'<div class="Ldt-SlidePreview-Container"><div class="Ldt-SlidePreview-Slides"></div></div>'),Fi(e,"annotationTemplate",'<div data-id="{{ id }}" data-timecode="{{ ms }}" class="Ldt-SlidePreview-Item"><img title="{{ begin }} - {{ atitle }}" class="Ldt-AnnotationsList-Thumbnail" src="{{ thumbnail }}"></div>'),e},sliderStyles={},Slider=function(t){var e;return e=class extends t.Widgets.Widget{constructor(o,u){super(o,u);Fi(this,"calculateHandleCss",function(o){return{height:2+o+"px",width:2+o+"px","margin-left":-Math.ceil(2+o/2)+"px"}})}draw(){this.renderTemplate(),this.$time=this.$.find(".Ldt-Slider-Time"),this.$slider=this.$.find(".Ldt-Slider");var o=this;this.$slider.slider({range:"min",value:0,min:0,max:this.source.getDuration().milliseconds,slide:function(u,l){o.media.setCurrentTime(l.value),o.player.trigger("Mediafragment.setHashToTime")}}),this.$handle=this.$slider.find(".ui-slider-handle"),this.onMediaEvent("timeupdate","onTimeupdate"),this.onMdpEvent("Player.MouseOver","onMouseover"),this.onMdpEvent("Player.MouseOut","onMouseout"),this.minimize_timeout&&(this.$slider.css(this.calculateSliderCss(this.minimized_height)),this.$handle.css(this.calculateHandleCss(this.minimized_height)),this.maximized=!1,this.timeoutId=!1),this.$slider.mouseover(function(){o.$time.show(),o.onMouseover()}).mouseout(this.functionWrapper("onMouseout")).mousemove(function(u){var l=u.pageX-o.$.offset().left,m=new t.Model.Time(o.media.duration*l/o.width);o.$time.text(m.toString()).css("left",l)})}onTimeupdate(o){this.$slider.slider("value",o),this.player.trigger("Arrow.updatePosition",{widget:this.type,time:o})}onMouseover(){this.minimize_timeout&&(this.timeoutId&&(window.clearTimeout(this.timeoutId),this.timeoutId=!1),this.maximized||(this.animateToHeight(this.maximized_height),this.maximized=!0))}onMouseout(){if(this.$time.hide(),this.minimize_timeout){this.timeoutId&&(window.clearTimeout(this.timeoutId),this.timeoutId=!1);var o=this;this.timeoutId=window.setTimeout(function(){o.maximized&&(o.animateToHeight(o.minimized_height),o.maximized=!1),o.timeoutId=!1},this.minimize_timeout)}}animateToHeight(o){this.$slider.stop().animate(this.calculateSliderCss(o),500,function(){jQuery(this).css("overflow","visible")}),this.$handle.stop().animate(this.calculateHandleCss(o),500,function(){jQuery(this).css("overflow","visible")})}calculateSliderCss(o){return{height:o+"px","margin-top":this.minimized_height-o+"px"}}},Fi(e,"defaults",{minimized_height:4,maximized_height:4,minimize_timeout:1500}),Fi(e,"template",'<div class="Ldt-Slider"></div><div class="Ldt-Slider-Time">00:00</div>'),e},slideVideoPlayerStyles={},SlideVideoPlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(o,u){super(o,u);Fi(this,"template",'<div class="Ldt-SlideVideoPlayer">  <div class="Ldt-SlideVideoPlayer-slide Ldt-SlideVideoPlayer-panel">  </div>  <div class="Ldt-SlideVideoPlayer-video Ldt-SlideVideoPlayer-panel">  </div></div>')}draw(){var o=this;o.renderTemplate(),this.insertSubwidget(o.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-slide"),{type:"ImageDisplay",annotation_type:o.annotation_type},"slide"),this.insertSubwidget(o.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-video"),{type:o.playerModule,video:o.video,width:"100%",url_transform:o.url_transform},"player"),o.mode=="pip"?(o.$.find(".Ldt-SlideVideoPlayer-panel").append('<div class="Ldt-SlideVideoPlayer-pip-menu"><div class="Ldt-SlideVideoPlayer-pip-menu-toggle"></div></div>'),o.$.on("click",".Ldt-SlideVideoPlayer-pip-menu-toggle",function(){o.toggleMainDisplay()}),window.setTimeout(function(){o.setMainDisplay("video")},1500)):window.setTimeout(function(){o.$.find(".Ldt-SlideVideoPlayer").touchSplit({orientation:screen.height>screen.width?"vertical":"horizontal",leftMin:20,topMin:20})},1500)}toggleMainDisplay(){this.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-video").hasClass("Ldt-SlideVideoPlayer-pip-main")?this.setMainDisplay("slides"):this.setMainDisplay("video")}setMainDisplay(o){var u=this.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-video"),l=this.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-slide");if(o=="slides"){var m=u;u=l,l=m}u.removeClass("Ldt-SlideVideoPlayer-pip-pip").addClass("Ldt-SlideVideoPlayer-pip-main"),l.removeClass("Ldt-SlideVideoPlayer-pip-main").addClass("Ldt-SlideVideoPlayer-pip-pip")}},Fi(e,"defaults",{playerModule:"HtmlPlayer",mode:"sidebyside"}),e},socialStyles={},Social=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){this.renderTemplate(),this.clipId=_$1.uniqueId("Ldt-Social-CopyBtn-"),this.$.find(".Ldt-Social-CopyBtn").attr("id",this.clipId);var n=this;this.$.find(".Ldt-Social-Url").click(function(){return n.toggleCopy(),!1}).on("dragstart",function(o){o.originalEvent.dataTransfer.setData("text/x-iri-title",n.text),o.originalEvent.dataTransfer.setData("text/x-iri-uri",n.url)}),this.$.find(".Ldt-Social-Input").focus(function(){this.select()}),this.$.find(".Ldt-Social-Ext").click(function(){return window.open(jQuery(this).attr("href"),"_blank","height=300,width=450,left=100,top=100,toolbar=0,menubar=0,status=0,location=0"),!1}),this.updateUrls(this.url,this.text)}toggleCopy(){var n=this.$.find(".Ldt-Social-UrlPop");n.toggle(),this.$.find(".Ldt-Social-Input").val(this.url).focus()}updateUrls(n,o){this.url=n,this.text=o,this.$.find(".Ldt-Social-Fb").attr("href","http://www.facebook.com/share.php?"+jQuery.param({u:n,t:o})),this.$.find(".Ldt-Social-Twitter").attr("href","https://twitter.com/intent/tweet?"+jQuery.param({url:n,text:o})),this.$.find(".Ldt-Social-Gplus").attr("href","https://plus.google.com/share?"+jQuery.param({url:n,title:o})),this.$.find(".Ldt-Social-Mail").attr("href","mailto:?"+jQuery.param({subject:o,body:o+": "+n}))}},Fi(e,"defaults",{text:"",url:"",show_url:!0,show_twitter:!0,show_fb:!0,show_gplus:!0,show_mail:!0}),Fi(e,"template",'<span class="Ldt-Social">{{#show_url}}<div class="Ldt-Social-Url-Container"><a href="#" draggable="true" target="_blank" class="Ldt-Social-Square Ldt-Social-Url Ldt-TraceMe" title="{{l10n.share_link}}"></a><div class="Ldt-Social-UrlPop"><input class="Ldt-Social-Input"/></div></div>{{/show_url}}{{#show_fb}}<a href="#" target="_blank" class="Ldt-Social-Fb Ldt-Social-Ext Ldt-TraceMe" title="{{l10n.share_on}} Facebook"></a>{{/show_fb}}{{#show_twitter}}<a href="#" target="_blank" class="Ldt-Social-Twitter Ldt-Social-Ext Ldt-TraceMe" title="{{l10n.share_on}} Twitter"></a>{{/show_twitter}}{{#show_gplus}}<a href="#" target="_blank" class="Ldt-Social-Gplus Ldt-Social-Ext Ldt-TraceMe" title="{{l10n.share_on}} Google+"></a>{{/show_gplus}}{{#show_mail}}<a href="#" target="_blank" class="Ldt-Social-Mail Ldt-TraceMe" title="{{l10n.share_mail}}"></a>{{/show_mail}}</span>'),Fi(e,"messages",{fr:{share_on:"Partager sur",share_mail:"Envoyer par courriel",share_link:"Partager le lien hypertexte",copy:"Copier"},en:{share_on:"Share on",share_mail:"Share by e-mail",share_link:"Share hypertext link",copy:"Copy"}}),e},Sparkline=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){for(var n=[],o=this.source.getDuration(),u=0,l=this.getWidgetAnnotations(),m=0;m<this.slice_count;m++){var y=m*o/this.slice_count,E=(m+1)*o/this.slice_count,C=0;l.forEach(function(F){if(F.begin<E&&F.end>=y){var O=F.getDuration().milliseconds;O?C+=(Math.min(F.end,E)-Math.max(F.begin,y))/O:C+=1}}),u=Math.max(u,C),n.push(C)}if(u){this.paper=new Raphael(this.$[0],this.width,this.height);var k=(this.height-this.margin)/u,A=this.width/this.slice_count,D=this,P=_$1(n).map(function(F){return D.margin+D.height-k*F}).value(),R=_$1(P).reduce(function(F,O,N){return F+(N?"C"+N*A+" "+P[N-1]+" "+N*A+" "+O+" "+(N+.5)*A+" "+O:"M0 "+O+"L"+.5*A+" "+O)},"")+"L"+this.width+" "+P[P.length-1],B=R+"L"+this.width+" "+this.height+"L0 "+this.height;this.paper.path(B).attr({stroke:"none",fill:this.fillColor}),this.paper.path(R).attr({fill:"none",stroke:this.lineColor,"stroke-width":this.lineWidth}),this.rectangleProgress=this.paper.rect(0,0,0,this.height).attr({stroke:"none",fill:"#808080",opacity:.3}),this.ligneProgress=this.paper.path("M0 0L0 "+this.height).attr({stroke:"#ff00ff","line-width":2}),this.$.click(function(F){var O=F.pageX-D.$.offset().left;D.media.setCurrentTime(D.media.duration*O/D.width)}),this.onMediaEvent("timeupdate","onTimeupdate")}}onTimeupdate(n){var o=Math.floor(this.width*n/this.media.duration);this.rectangleProgress.attr({width:o}),this.ligneProgress.attr({path:"M"+o+" 0L"+o+" "+this.height})}},Fi(e,"defaults",{lineColor:"#7492b4",fillColor:"#aeaeb8",lineWidth:2,slice_count:20,height:50,margin:5}),e},SpelSyncHtml=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),console.log("Calling IriSP.Widget's constructor from IriSP.HelloWorldWidget")}draw(){this.renderTemplate();var n=this.$.find("iframe")[0],o=this.src.replace(/#.*$/,"");this.getWidgetAnnotations().forEach(function(u){u.on("enter",function(){u.content&&u.content.data&&u.content.data.ref_text&&(n.src=o+"#"+u.content.data.ref_text)})})}},Fi(e,"defaults",{src:"about:blank"}),Fi(e,"template",'<div class="Ldt-SpelSyncHtml"><iframe src="{{src}}" {{#width}}width="{{width}}"{{/width}} {{#height}}height="{{height}}"{{/height}}</div>'),e},tagcloudStyles={},Tagcloud=function(t){var e;return e=class extends t.Widgets.Widget{constructor(o,u){super(o,u);Fi(this,"stopword_lists",{fr:["aussi","avec","aux","bien","car","cette","comme","dans","des","donc","dont","elle","encore","entre","est","être","eux","faire","fait","http","ici","ils","les","leur","leurs","mais","mes","même","mon","notre","non","nos","nous","ont","par","pas","peu","peut","plus","pour","quand","que","qui","quoi","sans","ses","son","sont","sur","tes","très","the","ton","tous","tout","une","votre","vos","vous"],en:["about","again","are","and","because","being","but","can","done","have","for","from","get","here","http","like","more","one","our","she","that","the","their","then","there","they","this","very","what","when","where","who","why","will","with","www","you","your"]});this.stopwords=_$1.uniq([].concat(this.custom_stopwords).concat(this.stopword_lists[this.stopword_language]))}draw(){if(this.segment_annotation_type){var o=this;this.source.getAnnotationsByTypeTitle(this.segment_annotation_type).forEach(function(u){u.on("enter",function(){o.redraw(u.begin,u.end)})})}else this.redraw()}redraw(o,u){var l=/https?:\/\/[0-9a-zA-Z\.%\/-_]+/g,m={},y=this,E=this.getWidgetAnnotations();if(!this.include_titles&&!this.include_descriptions)var C=/[^\.&;,'"!\?\d\(\)\+\[\]\\\…\-«»\/]{3,}/g;else var C=/[^\s\.&;,'"!\?\d\(\)\+\[\]\\\…\-«»:\/]{3,}/g;if(typeof o<"u"&&typeof u<"u"&&(E=E.filter(function(P){return P.begin>=o&&P.end<=u})),this.remove_zero_duration&&(E=E.filter(function(P){return P.getDuration()>0})),E.forEach(function(P){var R=(y.include_titles?P.title:"")+" "+(y.include_descriptions?P.description:"")+" "+(y.include_tag_texts?P.getTagTexts():"");_$1(R.toLowerCase().replace(l,"").match(C)).each(function(B){B=B.trim(),_$1(y.stopwords).indexOf(B)==-1&&(!y.exclude_pattern||!y.exclude_pattern.test(B))&&(m[B]=1+(m[B]||0))})}),m=_$1(m).chain().map(function(P,R){return{word:R,count:P}}).filter(function(P){return P.count>y.min_count}).sortBy(function(P){return-P.count}).first(this.tag_count).value(),m&&m.length){var k=m[0].count,A=Math.min(m[m.length-1].count,k-1),D=(this.max_font_size-this.min_font_size)/Math.sqrt(k-A);_$1(m).each(function(P){P.size=Math.floor(y.min_font_size+D*Math.sqrt(P.count-A))})}this.$.html(mustache.render(this.constructor.template,{words:m})),this.$.find(".Ldt-Tagcloud-item").click(function(){var P=jQuery(this).attr("content");y.source.getAnnotations().searchByTags(P)}),this.source.getAnnotations().on("search",this.functionWrapper("onSearch")),this.source.getAnnotations().on("search-cleared",this.functionWrapper("onSearch"))}onSearch(o){if(o=typeof o<"u"?o:"",o)var u=t.Model.regexpFromTextOrArray(o);this.$.find(".Ldt-Tagcloud-item").each(function(){var l=jQuery(this),m=l.attr("content");o?l.html(m.replace(u,'<span class="Ldt-Tagcloud-active">$1</span>')):l.html(m)})}},Fi(e,"template",'<div class="Ldt-Tagcloud-Container"><ul class="Ldt-Tagcloud-List">{{#words}}<li class="Ldt-Tagcloud-item Ldt-TraceMe" trace-info="tag:{{word}}" content="{{word}}" style="font-size: {{size}}px">{{word}}</li>{{/words}}</ul></div>'),Fi(e,"defaults",{include_titles:!0,include_descriptions:!0,include_tag_texts:!0,tag_count:30,stopword_language:"fr",custom_stopwords:[],exclude_pattern:!1,annotation_type:!1,segment_annotation_type:!1,min_font_size:10,max_font_size:26,min_count:2,remove_zero_duration:!1}),e},Title=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){this.renderTemplate()}},Fi(e,"defaults",{media_title:!1}),Fi(e,"template",'<div class="Ldt-TitleWidget"><h2>{{#media_title}}{{media.title}}{{/media_title}}{{^media_title}}{{source.title}}{{/media_title}}</h2></div>'),e},tooltipStyles={},Tooltip=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){const n=this;this.renderTemplate(),this.$.parent().css({position:"relative"}),this.$tooltip=this.$.find(".Ldt-Tooltip"),this.$tip=this.$.find(".Ldt-Tooltip-Tip"),this.$sw=this.$.find(".Ldt-Tooltip-Border-SW"),this.$se=this.$.find(".Ldt-Tooltip-Border-SE"),this.__halfWidth=Math.floor((this.$.find(".Ldt-Tooltip-Main").width()||192)/2),this.__borderWidth=this.$.find(".Ldt-Tooltip-Border-Left").width(),this.__tipDelta=this.__halfWidth-Math.floor(this.$tip.width()/2),this.__maxShift=this.__tipDelta-this.__borderWidth,this.$.mouseover(function(){n.$tooltip.hide()}),this.hide()}show(n,o,u,l){if(typeof l<"u")if(typeof l=="string")this.$.find(".Ldt-Tooltip-Color").html(""),this.$.find(".Ldt-Tooltip-Color").show().css("background-color",l),this.$.find(".Ldt-Tooltip-Color").show().css("height","");else{var m=this.$.find(".Ldt-Tooltip-Color");m.html(""),m.show();for(var y=0;y<l.length;y++)m.append('<div style="float: left; height: 10px; width: 10px; background-color: '+l[y]+'">');this.$.find(".Ldt-Tooltip-Color").css("height",l.length*10+"px")}else this.$.find(".Ldt-Tooltip-Color").hide();this.$.find(".Ldt-Tooltip-Text").html(u),this.$tooltip.show();var E=0;typeof this.min_x<"u"&&n-this.__halfWidth<this.min_x&&(E=Math.max(n-this.__halfWidth-this.min_x,-this.__maxShift)),typeof this.max_x<"u"&&+n+this.__halfWidth>this.max_x&&(E=Math.min(+n+this.__halfWidth-this.max_x,this.__maxShift)),this.$tooltip.css({left:n-E+"px",top:o+"px"}),this.$tip.css({left:this.__tipDelta+E+"px"}),this.$sw.css({width:this.__tipDelta+E-this.__borderWidth+"px"}),this.$se.css({width:this.__tipDelta-E-this.__borderWidth+"px"})}hide(){this.$tooltip.hide()}},Fi(e,"defaults",{}),Fi(e,"template",'<div class="Ldt-Tooltip"><div class="Ldt-Tooltip-Main"><div class="Ldt-Tooltip-Corner-NW"></div><div class="Ldt-Tooltip-Border-Top"></div><div class="Ldt-Tooltip-Corner-NE"></div><div class="Ldt-Tooltip-Border-Left"></div><div class="Ldt-Tooltip-Border-Right"></div><div class="Ldt-Tooltip-Corner-SW"></div><div class="Ldt-Tooltip-Border-SW"></div><div class="Ldt-Tooltip-Tip"></div><div class="Ldt-Tooltip-Border-SE"></div><div class="Ldt-Tooltip-Corner-SE"></div><div class="Ldt-Tooltip-Inner"><div class="Ldt-Tooltip-Color"></div><p class="Ldt-Tooltip-Text"></p></div></div></div>'),e},transcriptStyles={},Transcript=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){var n=this.getWidgetAnnotations(),o=this,u;if(o.renderTemplate(),u=o.$.find(".Ldt-TranscriptWidget"),o.use_vtt_track){var l=o.player.widgets.filter(function(y){return y.type=="HtmlPlayer"});if(l){var m=l[0].$.find("video")[0];m.addEventListener("loadedmetadata",function(){var y=m.textTracks[0],E=y.cues,C=1;Array.prototype.forEach.apply(E,[function(k){k.id="cue"+C;var A=mustache.render(o.annotationTemplate,{id:k.id,content:k.text,begin:1e3*k.startTime,end:1e3*k.endTime});C+=1;var D=jQuery(A);u.append(D)}]),y.addEventListener("cuechange",function(){var k=y.activeCues;k.length>0&&(o.$.find(".Ldt-Transcript-Annotation.active").removeClass("active"),Array.prototype.forEach.apply(k,[function(A){o.$.find("#"+A.id).addClass("active")}]))},!1),u.on("click",".Ldt-Transcript-Annotation",function(){o.media.setCurrentTime(this.dataset.begin)})})}else console.log("cannot find a video object")}else n.forEach(function(y){var E={id:y.id,content:t.textFieldHtml(y.title),begin:y.begin.toString(),end:y.end.toString()},C=mustache.render(o.annotationTemplate,E),k=jQuery(C);u.append(k)})}},Fi(e,"defaults",{annotation_type:"Caption",use_vtt_track:!1}),Fi(e,"template",'<div class="Ldt-TranscriptWidget"></div>'),Fi(e,"annotationTemplate",'<span data-begin="{{ begin }}" data-end="{{ end }}" data-id="{{ id }}" class="Ldt-Transcript-Annotation">{{ content }}</span>  '),e},tweetStyles={},Tweet=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o),this.lastAnnotation=!1}draw(){this.renderTemplate(),this.pinned=this.pin_at_start;var n=this;this.$.find(".Ldt-Tweet-Pin").click(function(){n.pinned=!n.pinned;var o=jQuery(this);n.pinned?(o.addClass("active").attr("title",n.l10n.dont_keep_visible),n.cancelTimeout()):(o.removeClass("active").attr("title",n.l10n.keep_visible),n.hideTimeout())}),this.$.find(".Ldt-Tweet-Close").click(function(){n.hide()}),this.$.hide(),this.getWidgetAnnotations().forEach(function(o){o.on("click",function(){n.show(o)})})}show(n){if(typeof n<"u"&&typeof n.source<"u"){var o=[[/#(\w+)/gm,function(D){return'<a href="http://twitter.com/search?q=%23'+D[1]+'" target="_blank">'},"</a>"]],u=_$1(n.source.entities.urls).sortBy(function(D){return D.indices[0]}),l=0,m="";_$1(u).each(function(D){D.indices[0]>=l&&(m+=n.source.text.substring(l,D.indices[0]),m+=typeof D.expanded_url<"u"&&D.expanded_url!==null?D.expanded_url:D.url,l=D.indices[1])}),m+=n.source.text.substring(l);for(var y=0;y<this.polemics.length;y++){var E=t.Model.regexpFromTextOrArray(this.polemics[y].keywords);o.push([E,'<span style="background: '+this.polemics[y].color+'">',"</span>"])}var E=n.found&&_this.source.getAnnotations().regexp||!1,C=n.source.user?n.source.user.profile_image_url:n.source.profile_image_url,k=n.source.user?n.source.user.screen_name:n.source.from_user,A=n.source.user?n.source.user.name:n.source.from_user_name;this.$.find(".Ldt-Tweet-Avatar").attr("src",C),this.$.find(".Ldt-Tweet-ScreenName").html("@"+k),this.$.find(".Ldt-Tweet-ProfileLink").attr("href","https://twitter.com/"+k),this.$.find(".Ldt-Tweet-FullName").html(A),this.$.find(".Ldt-Tweet-Contents").html(t.textFieldHtml(m,E,o)),this.$.find(".Ldt-Tweet-Time").html(this.l10n.original_time+new Date(n.source.created_at).toLocaleTimeString()+" / "+this.l10n.video_time+n.begin.toString()),this.$.find(".Ldt-Tweet-Retweet").attr("href","https://twitter.com/intent/retweet?tweet_id="+n.source.id_str),this.$.find(".Ldt-Tweet-Reply").attr("href","https://twitter.com/intent/tweet?in_reply_to="+n.source.id_str),this.$.find(".Ldt-Tweet-Original").attr("href","https://twitter.com/"+k+"/status/"+n.source.id_str),this.player.trigger("Annotation.minimize"),this.$.slideDown(),this.cancelTimeout(),this.pinned||this.hideTimeout()}else this.hide()}hide(){this.player.trigger("Annotation.maximize"),this.$.slideUp(),this.cancelTimeout()}cancelTimeout(){typeof this.hide_timer<"u"&&(window.clearTimeout(this.hide_timer),this.hide_timer=void 0)}hideTimeout(){this.cancelTimeout(),this.hide_timer=window.setTimeout(this.functionWrapper("hide"),this.hide_timeout)}},Fi(e,"defaults",{hide_timeout:1e4,polemics:[{keywords:["++"],color:"#30d765"},{keywords:["--"],color:"#f51123"},{keywords:["=="],color:"#f1e24a"},{keywords:["??"],color:"#05aae6"}],annotation_type:"tweet",pin_at_start:!1}),Fi(e,"messages",{fr:{retweet:"Retweeter",reply:"Répondre",keep_visible:"Empêcher la fermeture automatique",dont_keep_visible:"Permettre la fermeture automatique",close_widget:"Fermer l'affichage du tweet",original_time:"Heure d'envoi : ",video_time:"Temps de la vidéo : ",show_original:"Voir l'original"},en:{retweet:"Retweet",reply:"Reply",keep_visible:"Keep visible",dont_keep_visible:"Don't keep visible",close_widget:"Close tweet display",original_time:"Tweet sent at: ",video_time:"Video time: ",show_original:"Show original"}}),Fi(e,"template",'<div class="Ldt-Tweet-Widget"><div class="Ldt-Tweet-Inner"><div class="Ldt-Tweet-PinClose-Buttons"><a href="#" class="Ldt-Tweet-Pin Ldt-TraceMe{{#pin_at_start}} active" title="{{l10n.dont_keep_visible}}{{/pin_at_start}}{{^pin_at_start}}" title="{{l10n.keep_visible}}{{/pin_at_start}}"></a><a href="#" class="Ldt-Tweet-Close Ldt-TraceMe" title="{{l10n.close_widget}}"></a></div><div class="Ldt-Tweet-AvatarContainer"><a href="#" class="Ldt-Tweet-ProfileLink" target="_blank"><img src="" class="Ldt-Tweet-Avatar"/></a></div><h3><a href="#" class="Ldt-Tweet-ProfileLink Ldt-Tweet-ScreenName" target="_blank"></a> (<span class="Ldt-Tweet-FullName"></span>)</h3><p class="Ldt-Tweet-Contents"></p><div class="Ldt-Tweet-Bottom"><span class="Ldt-Tweet-Time"></span><a class="Ldt-Tweet-Original" href="" target="_blank">{{l10n.show_original}}</a><a href="" target="_blank" class="Ldt-Tweet-Retweet"><div class="Ldt-Tweet-Icon"></div>{{l10n.retweet}}</a><a href="" target="_blank" class="Ldt-Tweet-Reply"><div class="Ldt-Tweet-Icon"></div>{{l10n.reply}}</a></div></div></div>'),e},AutoPlayer=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){typeof this.video>"u"&&(this.video=this.media.video);var n=["live","provider","autostart","streamer","video","height","width","url_transform"],o={},u=[{regexp:/\.(mp4|m4v|mp3)$/,type:"AdaptivePlayer"},{regexp:/\.(ogg|ogv|webm)$/,type:"HtmlPlayer"},{regexp:/^(https?:\/\/)?(www\.)?youtube\.com/,type:"VideojsPlayer"},{regexp:/^(https?:\/\/)?(www\.)?vimeo\.com/,type:"VideojsPlayer"},{regexp:/^(https?:\/\/)?(www\.)?dailymotion\.com/,type:"DailymotionPlayer"}];if(this.video){for(var l=0;l<u.length;l++)if(u[l].regexp.test(this.video.toLowerCase())){o.type=u[l].type;break}}if(typeof o.type>"u"&&(o.type=this.default_type),o.type==="AdaptivePlayer"){var m=document.createElement("video").canPlayType('video/mp4; codecs="avc1.42E01E"');o.type=m!=="no"?"HtmlPlayer":"JwpPlayer"}for(var l=0;l<n.length;l++)typeof this[n[l]]<"u"&&(o[n[l]]=this[n[l]]);this.insertSubwidget(this.$,o)}},Fi(e,"defaults",{default_type:"HtmlPlayer"}),e},MultiSegments=function(t){var e;return e=class extends t.Widgets.Widget{constructor(n,o){super(n,o)}draw(){var n=this,o=[],u=null,l={},m={};_$1(this).each(function(y,E){/^segments_/.test(E)&&(l[E.replace(/^segments_/,"")]=y),/^annotation_/.test(E)&&(m[E.replace(/^annotation_/,"")]=y)}),this.source.getAnnotationTypes().forEach(function(y){var E=y.getAnnotations().filter(function(A){return A.getDuration()>0&&A.getMedia().id==n.media.id});if(E.length){var C=!1,k={segmentWidget:jQuery("<div>"),annotationWidget:jQuery("<div>"),hasSegmentsNow:function(){var A=n.media.getCurrentTime();return!!E.filter(function(D){return D.begin<=A&&D.end>A}).length},hide:function(){C&&(C=!1,this.annotationWidget.slideUp())},show:function(){C||(C=!0,this.annotationWidget.slideDown())}};k.segmentWidget.addClass("Ldt-MultiSegments-Segment").appendTo(n.$),n.show_all||k.segmentWidget.on("mouseenter",function(){k.hasSegmentsNow()&&(u=k)}),k.annotationWidget.addClass("Ldt-MultiSegments-Annotation").appendTo(n.$).hide(),n.insertSubwidget(k.segmentWidget,_$1({type:"Segments",annotation_type:y,width:"100%"}).extend(l).value()),n.insertSubwidget(k.annotationWidget,_$1({type:"Annotation",annotation_type:y,width:"100%"}).extend(m).value()),o.push(k)}}),jQuery(document).on("click",".Ldt-Segments-Segment",function(y){!n.show_all&&u&&!u.hasSegmentsNow()&&(u=void 0),_$1(o).each(function(E){jQuery(y.target).parent().parent()[0]==E.segmentWidget[0]?(u=E,E.show()):E.hide()})})}},Fi(e,"defaults",{annotation_show_arrow:!0,annotation_start_minimized:!1,annotation_show_annotation_type:!0,show_all:!1}),e};function widgets(t){return{AdaptivePlayer:AdaptivePlayer(t),AutoPlayer:AutoPlayer(t),HelloWorld:HelloWorld(t),Annotation:Annotation(t),AnnotationsController:AnnotationsController(t),AnnotationsList:AnnotationsList(t),Arrow:Arrow(t),Controller:Controller(t),CreateAnnotation:CreateAnnotation(t),CurrentSegmentInfobox:CurrentSegmentInfobox(t),DailymotionPlayer:DailymotionPlayer(t),EnrichedPlan:EnrichedPlan(t),Highlighter:Highlighter(t),HtmlMashupPlayer:HtmlMashupPlayer(t),HtmlPlayer:HtmlPlayer(t),ImageDisplay:ImageDisplay(t),JwpPlayer:JwpPlayerWidget(t),LatestAnnotation:LatestAnnotation(t),MashupPlayer:MashupPlayer(t),Mediafragment:Mediafragment(t),MediaList:MediaList(t),MultiSegments:MultiSegments(t),NoteTaking:NoteTaking(t),PlaceholderPlayer:PlaceholderPlayer(t),Polemic:Polemic(t),PopcornPlayer:PopcornPlayer(t),Quiz:Quiz(t),UniqueChoiceQuestion:UniqueChoiceQuestion(t),MultipleChoiceQuestion:MultipleChoiceQuestion(t),QuizCreator:QuizCreator(t),Segments:Segments(t),Shortcuts:Shortcuts(t),Slice:Slice(t),SlidePreview:SlidePreview(t),Slider:Slider(t),SlideVideoPlayer:SlideVideoPlayer(t),Social:Social(t),Sparkline:Sparkline(t),SpelSyncHtml:SpelSyncHtml(t),Tagcloud:Tagcloud(t),Title:Title(t),Tooltip:Tooltip(t),Transcript:Transcript(t),Tweet:Tweet(t),VideojsPlayer:VideojsPlayerWidget(t),styles:{annotationStyles,helloWorldStyles,annotationsControllerStyles,annotationsListStyles,controllerStyles,createAnnotationStyles,currentSegmentInfoboxStyles,enrichedPlanStyles,highlighterStyles,imageDisplayStyles,latestAnnotationStyles,mashupPlayerStyles,mediaListStyles,noteTakingStyles,placeholderPlayerStyles,polemicStyles,quizStyles,quizCreatorStyles,segmentsStyles,shortcutsStyles,sliceStyles,slidePreviewStyles,sliderStyles,slideVideoPlayerStyles,socialStyles,tagcloudStyles,tooltipStyles,transcriptStyles,tweetStyles,videojsStyles}}}typeof window.IriSP>"u"&&(window.IriSP=IriSP$1),IriSP$1.Model=Model(IriSP$1),IriSP$1.htmlPlayer=htmlPlayer,Object.assign(IriSP$1,utils$s(IriSP$1)),IriSP$1.iFrameUpdater=iFrameUpdater,IriSP$1.serializers=serializers(IriSP$1),Object.assign(IriSP$1,defaults()),metadataplayer(IriSP$1),IriSP$1.Widgets=widgetsBase(IriSP$1),Object.assign(IriSP$1.Widgets,widgets(IriSP$1));const main={IriSP:IriSP$1,style};return main});
+`)}function M(P,I){for(var j=[],B=0;B<P.length;)j.push(P.slice(B,B+64)),B+=64;return j}return putty}var auto,hasRequiredAuto;function requireAuto(){if(hasRequiredAuto)return auto;hasRequiredAuto=1,auto={read:w,write:P};var n=requireAssert(),e=requireSafer().Buffer;requireUtils$2(),requireKey(),requirePrivateKey();var o=requirePem(),l=requireSsh(),t=requireRfc4253(),u=requireDnssec(),h=requirePutty(),v="Private-key-format: v1";function w(I,j){if(typeof I=="string"){if(I.trim().match(/^[-]+[ ]*BEGIN/))return o.read(I,j);if(I.match(/^\s*ssh-[a-z]/)||I.match(/^\s*ecdsa-/))return l.read(I,j);if(I.match(/^putty-user-key-file-2:/i))return h.read(I,j);if(M(I))return u.read(I,j);I=e.from(I,"binary")}else{if(n.buffer(I),C(I))return o.read(I,j);if(E(I))return l.read(I,j);if(A(I))return h.read(I,j);if(M(I))return u.read(I,j)}if(I.readUInt32BE(0)<I.length)return t.read(I,j);throw new Error("Failed to auto-detect format of key")}function A(I){for(var j=0;j<I.length&&(I[j]===32||I[j]===10||I[j]===9);)++j;return j+22<=I.length&&I.slice(j,j+22).toString("ascii").toLowerCase()==="putty-user-key-file-2:"}function E(I){for(var j=0;j<I.length&&(I[j]===32||I[j]===10||I[j]===9);)++j;return j+4<=I.length&&I.slice(j,j+4).toString("ascii")==="ssh-"||j+6<=I.length&&I.slice(j,j+6).toString("ascii")==="ecdsa-"}function C(I){for(var j=0;j<I.length&&(I[j]===32||I[j]===10);)++j;if(I[j]!==45)return!1;for(;j<I.length&&I[j]===45;)++j;for(;j<I.length&&I[j]===32;)++j;return!(j+5>I.length||I.slice(j,j+5).toString("ascii")!=="BEGIN")}function M(I){if(I.length<=v.length)return!1;var j=I.slice(0,v.length);if(j.toString("ascii")===v)return!0;typeof I!="string"&&(I=I.toString("ascii"));for(var B=I.split(`
+`),F=0;B[F].match(/^\;/);)F++;return!!(B[F].toString("ascii").match(/\. IN KEY /)||B[F].toString("ascii").match(/\. IN DNSKEY /))}function P(I,j){throw new Error('"auto" format cannot be used for writing')}return auto}var privateKey,hasRequiredPrivateKey;function requirePrivateKey(){if(hasRequiredPrivateKey)return privateKey;hasRequiredPrivateKey=1,privateKey=B;var n=requireAssert(),e=requireSafer().Buffer,o=requireAlgs(),l=requireCryptoBrowserify();requireFingerprint();var t=requireSignature(),u=requireErrors$1(),h=util$6,v=requireUtils$2(),w=requireDhe(),A=w.generateECDSA,E=w.generateED25519,C=requireEdCompat(),M=requireNaclFast(),P=requireKey();u.InvalidAlgorithmError;var I=u.KeyParseError;u.KeyEncryptedError;var j={};j.auto=requireAuto(),j.pem=requirePem(),j.pkcs1=requirePkcs1(),j.pkcs8=requirePkcs8(),j.rfc4253=requireRfc4253(),j["ssh-private"]=requireSshPrivate(),j.openssh=j["ssh-private"],j.ssh=j["ssh-private"],j.dnssec=requireDnssec(),j.putty=requirePutty();function B(F){n.object(F,"options"),P.call(this,F),this._pubCache=void 0}return h.inherits(B,P),B.formats=j,B.prototype.toBuffer=function(F,N){return F===void 0&&(F="pkcs1"),n.string(F,"format"),n.object(j[F],"formats[format]"),n.optionalObject(N,"options"),j[F].write(this,N)},B.prototype.hash=function(F,N){return this.toPublic().hash(F,N)},B.prototype.fingerprint=function(F,N){return this.toPublic().fingerprint(F,N)},B.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var F=o.info[this.type],N=[],ee=0;ee<F.parts.length;++ee){var Z=F.parts[ee];N.push(this.part[Z])}return this._pubCache=new P({type:this.type,source:this,parts:N}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},B.prototype.derive=function(F){n.string(F,"type");var N,ee,Z;if(this.type==="ed25519"&&F==="curve25519")return N=this.part.k.data,N[0]===0&&(N=N.slice(1)),Z=M.box.keyPair.fromSecretKey(new Uint8Array(N)),ee=e.from(Z.publicKey),new B({type:"curve25519",parts:[{name:"A",data:v.mpNormalize(ee)},{name:"k",data:v.mpNormalize(N)}]});if(this.type==="curve25519"&&F==="ed25519")return N=this.part.k.data,N[0]===0&&(N=N.slice(1)),Z=M.sign.keyPair.fromSeed(new Uint8Array(N)),ee=e.from(Z.publicKey),new B({type:"ed25519",parts:[{name:"A",data:v.mpNormalize(ee)},{name:"k",data:v.mpNormalize(N)}]});throw new Error("Key derivation not supported from "+this.type+" to "+F)},B.prototype.createVerify=function(F){return this.toPublic().createVerify(F)},B.prototype.createSign=function(F){if(F===void 0&&(F=this.defaultHashAlgorithm()),n.string(F,"hash algorithm"),this.type==="ed25519"&&C!==void 0)return new C.Signer(this,F);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for signing or verification");var N,ee,Z;try{ee=F.toUpperCase(),N=l.createSign(ee)}catch(he){Z=he}(N===void 0||Z instanceof Error&&Z.message.match(/Unknown message digest/))&&(ee="RSA-",ee+=F.toUpperCase(),N=l.createSign(ee)),n.ok(N,"failed to create verifier");var re=N.sign.bind(N),fe=this.toBuffer("pkcs1"),V=this.type,le=this.curve;return N.sign=function(){var he=re(fe);return typeof he=="string"&&(he=e.from(he,"binary")),he=t.parse(he,V,"asn1"),he.hashAlgorithm=F,he.curve=le,he},N},B.parse=function(F,N,ee){typeof F!="string"&&n.buffer(F,"data"),N===void 0&&(N="auto"),n.string(N,"format"),typeof ee=="string"&&(ee={filename:ee}),n.optionalObject(ee,"options"),ee===void 0&&(ee={}),n.optionalString(ee.filename,"options.filename"),ee.filename===void 0&&(ee.filename="(unnamed)"),n.object(j[N],"formats[format]");try{var Z=j[N].read(F,ee);return n.ok(Z instanceof B,"key is not a private key"),Z.comment||(Z.comment=ee.filename),Z}catch(re){throw re.name==="KeyEncryptedError"?re:new I(ee.filename,N,re)}},B.isPrivateKey=function(F,N){return v.isCompatible(F,B,N)},B.generate=function(F,N){switch(N===void 0&&(N={}),n.object(N,"options"),F){case"ecdsa":return N.curve===void 0&&(N.curve="nistp256"),n.string(N.curve,"options.curve"),A(N.curve);case"ed25519":return E();default:throw new Error('Key generation not supported with key type "'+F+'"')}},B.prototype._sshpkApiVersion=[1,6],B._oldVersionDetect=function(F){return n.func(F.toPublic),n.func(F.createSign),F.derive?[1,3]:F.defaultHashAlgorithm?[1,2]:F.formats.auto?[1,1]:[1,0]},privateKey}var identity,hasRequiredIdentity;function requireIdentity(){if(hasRequiredIdentity)return identity;hasRequiredIdentity=1,identity=v;var n=requireAssert();requireAlgs(),requireCryptoBrowserify(),requireFingerprint(),requireSignature(),requireErrors$1();var e=requireUtils$2(),o=requireLib$4(),l=requireSafer().Buffer,t=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i,u={};u.cn="2.5.4.3",u.o="2.5.4.10",u.ou="2.5.4.11",u.l="2.5.4.7",u.s="2.5.4.8",u.c="2.5.4.6",u.sn="2.5.4.4",u.postalCode="2.5.4.17",u.serialNumber="2.5.4.5",u.street="2.5.4.9",u.x500UniqueIdentifier="2.5.4.45",u.role="2.5.4.72",u.telephoneNumber="2.5.4.20",u.description="2.5.4.13",u.dc="0.9.2342.19200300.100.1.25",u.uid="0.9.2342.19200300.100.1.1",u.mail="0.9.2342.19200300.100.1.3",u.title="2.5.4.12",u.gn="2.5.4.42",u.initials="2.5.4.43",u.pseudonym="2.5.4.65",u.emailAddress="1.2.840.113549.1.9.1";var h={};Object.keys(u).forEach(function(C){h[u[C]]=C});function v(C){var M=this;if(n.object(C,"options"),n.arrayOfObject(C.components,"options.components"),this.components=C.components,this.componentLookup={},this.components.forEach(function(P){P.name&&!P.oid&&(P.oid=u[P.name]),P.oid&&!P.name&&(P.name=h[P.oid]),M.componentLookup[P.name]===void 0&&(M.componentLookup[P.name]=[]),M.componentLookup[P.name].push(P)}),this.componentLookup.cn&&this.componentLookup.cn.length>0&&(this.cn=this.componentLookup.cn[0].value),n.optionalString(C.type,"options.type"),C.type===void 0)this.components.length===1&&this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(t)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length?(this.type="host",this.hostname=this.componentLookup.dc.map(function(P){return P.value}).join(".")):this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(t)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.uid&&this.componentLookup.uid.length===1?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.mail&&this.componentLookup.mail.length===1?(this.type="email",this.email=this.componentLookup.mail[0].value):this.componentLookup.cn&&this.componentLookup.cn.length===1?(this.type="user",this.uid=this.componentLookup.cn[0].value):this.type="unknown";else if(this.type=C.type,this.type==="host")this.hostname=C.hostname;else if(this.type==="user")this.uid=C.uid;else if(this.type==="email")this.email=C.email;else throw new Error("Unknown type "+this.type)}v.prototype.toString=function(){return this.components.map(function(C){var M=C.name.toUpperCase();M=M.replace(/=/g,"\\=");var P=C.value;return P=P.replace(/,/g,"\\,"),M+"="+P}).join(", ")},v.prototype.get=function(C,M){n.string(C,"name");var P=this.componentLookup[C];if(!(P===void 0||P.length===0)){if(!M&&P.length>1)throw new Error("Multiple values for attribute "+C);return M?P.map(function(I){return I.value}):P[0].value}},v.prototype.toArray=function(C){return this.components.map(function(M){return{name:M.name,value:M.value}})};var w=/[^a-zA-Z0-9 '(),+.\/:=?-]/,A=/[^\x00-\x7f]/;v.prototype.toAsn1=function(C,M){C.startSequence(M),this.components.forEach(function(P){if(C.startSequence(o.Ber.Constructor|o.Ber.Set),C.startSequence(),C.writeOID(P.oid),P.asn1type===o.Ber.Utf8String||P.value.match(A)){var I=l.from(P.value,"utf8");C.writeBuffer(I,o.Ber.Utf8String)}else if(P.asn1type===o.Ber.IA5String||P.value.match(w))C.writeString(P.value,o.Ber.IA5String);else{var j=o.Ber.PrintableString;P.asn1type!==void 0&&(j=P.asn1type),C.writeString(P.value,j)}C.endSequence(),C.endSequence()}),C.endSequence()};function E(C,M){if(C==="**"||M==="**")return!0;var P=C.split("."),I=M.split(".");if(P.length!==I.length)return!1;for(var j=0;j<P.length;++j)if(!(P[j]==="*"||I[j]==="*")&&P[j]!==I[j])return!1;return!0}return v.prototype.equals=function(C){if(!v.isIdentity(C,[1,0])||C.components.length!==this.components.length)return!1;for(var M=0;M<this.components.length;++M)if(this.components[M].oid!==C.components[M].oid||!E(this.components[M].value,C.components[M].value))return!1;return!0},v.forHost=function(C){return n.string(C,"hostname"),new v({type:"host",hostname:C,components:[{name:"cn",value:C}]})},v.forUser=function(C){return n.string(C,"uid"),new v({type:"user",uid:C,components:[{name:"uid",value:C}]})},v.forEmail=function(C){return n.string(C,"email"),new v({type:"email",email:C,components:[{name:"mail",value:C}]})},v.parseDN=function(C){n.string(C,"dn");for(var M=[""],P=0,I=C;I.length>0;){var j;if((j=/^,/.exec(I))!==null)M[++P]="",I=I.slice(j[0].length);else if((j=/^\\,/.exec(I))!==null)M[P]+=",",I=I.slice(j[0].length);else if((j=/^\\./.exec(I))!==null)M[P]+=j[0],I=I.slice(j[0].length);else if((j=/^[^\\,]+/.exec(I))!==null)M[P]+=j[0],I=I.slice(j[0].length);else throw new Error("Failed to parse DN")}var B=M.map(function(F){F=F.trim();for(var N=F.indexOf("=");N>0&&F.charAt(N-1)==="\\";)N=F.indexOf("=",N+1);if(N===-1)throw new Error("Failed to parse DN");var ee=F.slice(0,N).toLowerCase().replace(/\\=/g,"="),Z=F.slice(N+1);return{name:ee,value:Z}});return new v({components:B})},v.fromArray=function(C){return n.arrayOfObject(C,"components"),C.forEach(function(M){if(n.object(M,"component"),n.string(M.name,"component.name"),!l.isBuffer(M.value)&&typeof M.value!="string")throw new Error("Invalid component value")}),new v({components:C})},v.parseAsn1=function(C,M){var P=[];C.readSequence(M);for(var I=C.offset+C.length;C.offset<I;){C.readSequence(o.Ber.Constructor|o.Ber.Set);var j=C.offset+C.length;C.readSequence();var B=C.readOID(),F=C.peek(),N;switch(F){case o.Ber.PrintableString:case o.Ber.IA5String:case o.Ber.OctetString:case o.Ber.T61String:N=C.readString(F);break;case o.Ber.Utf8String:N=C.readString(F,!0),N=N.toString("utf8");break;case o.Ber.CharacterString:case o.Ber.BMPString:N=C.readString(F,!0),N=N.toString("utf16le");break;default:throw new Error("Unknown asn1 type "+F)}P.push({oid:B,asn1type:F,value:N}),C._offset=j}return C._offset=I,new v({components:P})},v.isIdentity=function(C,M){return e.isCompatible(C,v,M)},v.prototype._sshpkApiVersion=[1,0],v._oldVersionDetect=function(C){return[1,0]},identity}var opensshCert,hasRequiredOpensshCert;function requireOpensshCert(){if(hasRequiredOpensshCert)return opensshCert;hasRequiredOpensshCert=1,opensshCert={read:I,verify:C,sign:N,signAsync:ee,write:Z,fromBuffer:j,toBuffer:re};var n=requireAssert(),e=requireSshBuffer(),o=requireCryptoBrowserify(),l=requireSafer().Buffer,t=requireAlgs(),u=requireKey();requirePrivateKey();var h=requireIdentity(),v=requireRfc4253(),w=requireSignature(),A=requireUtils$2(),E=requireCertificate();function C(le,he){return!1}var M={user:1,host:2};Object.keys(M).forEach(function(le){M[M[le]]=le});var P=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function I(le,he){l.isBuffer(le)&&(le=le.toString("ascii"));var ye=le.trim().split(/[ \t\n]+/g);if(ye.length<2||ye.length>3)throw new Error("Not a valid SSH certificate line");var L=ye[0],p=ye[1];return p=l.from(p,"base64"),j(p,L)}function j(le,he,ye){var L=new e({buffer:le}),p=L.readString();if(he!==void 0&&p!==he)throw new Error("SSH certificate algorithm mismatch");he===void 0&&(he=p);var y={};y.signatures={},y.signatures.openssh={},y.signatures.openssh.nonce=L.readBuffer();var S={},c=S.parts=[];S.type=fe(he);for(var m=t.info[S.type].parts.length;c.length<m;)c.push(L.readPart());n.ok(c.length>=1,"key must have at least one part");var x=t.info[S.type];if(S.type==="ecdsa"){var T=P.exec(he);n.ok(T!==null),n.strictEqual(T[1],c[0].data.toString())}for(var b=0;b<x.parts.length;++b)if(c[b].name=x.parts[b],c[b].name!=="curve"&&x.normalize!==!1){var d=c[b];d.data=A.mpNormalize(d.data)}y.subjectKey=new u(S),y.serial=L.readInt64();var k=M[L.readInt()];n.string(k,"valid cert type"),y.signatures.openssh.keyId=L.readString();for(var D=[],O=L.readBuffer(),Q=new e({buffer:O});!Q.atEnd();)D.push(Q.readString());D.length===0&&(D=["*"]),y.subjects=D.map(function(de){if(k==="user")return h.forUser(de);if(k==="host")return h.forHost(de);throw new Error("Unknown identity type "+k)}),y.validFrom=B(L.readInt64()),y.validUntil=B(L.readInt64());for(var J=[],X=new e({buffer:L.readBuffer()}),U;!X.atEnd();)U={critical:!0},U.name=X.readString(),U.data=X.readBuffer(),J.push(U);for(X=new e({buffer:L.readBuffer()});!X.atEnd();)U={critical:!1},U.name=X.readString(),U.data=X.readBuffer(),J.push(U);y.signatures.openssh.exts=J,L.readBuffer();var z=L.readBuffer();y.issuerKey=v.read(z),y.issuer=h.forHost("**");var ie=L.readBuffer();return y.signatures.openssh.signature=w.parse(ie,y.issuerKey.type,"ssh"),ye!==void 0&&(ye.remainder=L.remainder(),ye.consumed=L._offset),new E(y)}function B(le){var he=le.readUInt32BE(0)*4294967296;he+=le.readUInt32BE(4);var ye=new Date;return ye.setTime(he*1e3),ye.sourceInt64=le,ye}function F(le){if(le.sourceInt64!==void 0)return le.sourceInt64;var he=Math.round(le.getTime()/1e3),ye=Math.floor(he/4294967296),L=Math.floor(he%4294967296),p=l.alloc(8);return p.writeUInt32BE(ye,0),p.writeUInt32BE(L,4),p}function N(le,he){le.signatures.openssh===void 0&&(le.signatures.openssh={});try{var ye=re(le,!0)}catch{return delete le.signatures.openssh,!1}var L=le.signatures.openssh,p=void 0;(he.type==="rsa"||he.type==="dsa")&&(p="sha1");var y=he.createSign(p);return y.write(ye),L.signature=y.sign(),!0}function ee(le,he,ye){le.signatures.openssh===void 0&&(le.signatures.openssh={});try{var L=re(le,!0)}catch(y){delete le.signatures.openssh,ye(y);return}var p=le.signatures.openssh;he(L,function(y,S){if(y){ye(y);return}try{S.toBuffer("ssh")}catch(c){ye(c);return}p.signature=S,ye()})}function Z(le,he){he===void 0&&(he={});var ye=re(le),L=V(le.subjectKey)+" "+ye.toString("base64");return he.comment&&(L=L+" "+he.comment),L}function re(le,he){n.object(le.signatures.openssh,"signature for openssh format");var ye=le.signatures.openssh;ye.nonce===void 0&&(ye.nonce=o.randomBytes(16));var L=new e({});L.writeString(V(le.subjectKey)),L.writeBuffer(ye.nonce);var p=le.subjectKey,y=t.info[p.type];y.parts.forEach(function(T){L.writePart(p.part[T])}),L.writeInt64(le.serial);var S=le.subjects[0].type;n.notStrictEqual(S,"unknown"),le.subjects.forEach(function(T){n.strictEqual(T.type,S)}),S=M[S],L.writeInt(S),ye.keyId===void 0&&(ye.keyId=le.subjects[0].type+"_"+(le.subjects[0].uid||le.subjects[0].hostname)),L.writeString(ye.keyId);var c=new e({});le.subjects.forEach(function(T){S===M.host?c.writeString(T.hostname):S===M.user&&c.writeString(T.uid)}),L.writeBuffer(c.toBuffer()),L.writeInt64(F(le.validFrom)),L.writeInt64(F(le.validUntil));var m=ye.exts;m===void 0&&(m=[]);var x=new e({});return m.forEach(function(T){T.critical===!0&&(x.writeString(T.name),x.writeBuffer(T.data))}),L.writeBuffer(x.toBuffer()),x=new e({}),m.forEach(function(T){T.critical!==!0&&(x.writeString(T.name),x.writeBuffer(T.data))}),L.writeBuffer(x.toBuffer()),L.writeBuffer(l.alloc(0)),c=v.write(le.issuerKey),L.writeBuffer(c),he||L.writeBuffer(ye.signature.toBuffer("ssh")),L.toBuffer()}function fe(le){if(le==="ssh-rsa-cert-v01@openssh.com")return"rsa";if(le==="ssh-dss-cert-v01@openssh.com")return"dsa";if(le.match(P))return"ecdsa";if(le==="ssh-ed25519-cert-v01@openssh.com")return"ed25519";throw new Error("Unsupported cert type "+le)}function V(le){if(le.type==="rsa")return"ssh-rsa-cert-v01@openssh.com";if(le.type==="dsa")return"ssh-dss-cert-v01@openssh.com";if(le.type==="ecdsa")return"ecdsa-sha2-"+le.curve+"-cert-v01@openssh.com";if(le.type==="ed25519")return"ssh-ed25519-cert-v01@openssh.com";throw new Error("Unsupported key type "+le.type)}return opensshCert}var x509,hasRequiredX509;function requireX509(){if(hasRequiredX509)return x509;hasRequiredX509=1,x509={read:I,verify:A,sign:y,signAsync:S,write:c};var n=requireAssert(),e=requireLib$4(),o=requireSafer().Buffer;requireAlgs();var l=requireUtils$2();requireKey(),requirePrivateKey(),requirePem();var t=requireIdentity(),u=requireSignature(),h=requireCertificate(),v=requirePkcs8();function w(b,d){return n.strictEqual(b.peek(),e.Ber.Integer,d+" is not an Integer"),l.mpNormalize(b.readString(e.Ber.Integer,!0))}function A(b,d){var k=b.signatures.x509;n.object(k,"x509 signature");var D=k.algo.split("-");if(D[0]!==d.type)return!1;var O=k.cache;if(O===void 0){var Q=new e.BerWriter;m(b,Q),O=Q.buffer}var J=d.createVerify(D[1]);return J.write(O),J.verify(k.signature)}function E(b){return e.Ber.Context|e.Ber.Constructor|b}function C(b){return e.Ber.Context|b}var M={"rsa-md5":"1.2.840.113549.1.1.4","rsa-sha1":"1.2.840.113549.1.1.5","rsa-sha256":"1.2.840.113549.1.1.11","rsa-sha384":"1.2.840.113549.1.1.12","rsa-sha512":"1.2.840.113549.1.1.13","dsa-sha1":"1.2.840.10040.4.3","dsa-sha256":"2.16.840.1.101.3.4.3.2","ecdsa-sha1":"1.2.840.10045.4.1","ecdsa-sha256":"1.2.840.10045.4.3.2","ecdsa-sha384":"1.2.840.10045.4.3.3","ecdsa-sha512":"1.2.840.10045.4.3.4","ed25519-sha512":"1.3.101.112"};Object.keys(M).forEach(function(b){M[M[b]]=b}),M["1.3.14.3.2.3"]="rsa-md5",M["1.3.14.3.2.29"]="rsa-sha1";var P={issuerKeyId:"2.5.29.35",altName:"2.5.29.17",basicConstraints:"2.5.29.19",keyUsage:"2.5.29.15",extKeyUsage:"2.5.29.37"};function I(b,d){typeof b=="string"&&(b=o.from(b,"binary")),n.buffer(b,"buf");var k=new e.BerReader(b);if(k.readSequence(),Math.abs(k.length-k.remain)>1)throw new Error("DER sequence does not contain whole byte stream");var D=k.offset;k.readSequence();var O=k.offset+k.length,Q=O;if(k.peek()===E(0)){k.readSequence(E(0));var J=k.readInt();n.ok(J<=3,"only x.509 versions up to v3 supported")}var X={};X.signatures={};var U=X.signatures.x509={};U.extras={},X.serial=w(k,"serial"),k.readSequence();var z=k.offset+k.length,ie=k.readOID(),de=M[ie];if(de===void 0)throw new Error("unknown signature algorithm "+ie);if(k._offset=z,X.issuer=t.parseAsn1(k),k.readSequence(),X.validFrom=j(k),X.validUntil=j(k),X.subjects=[t.parseAsn1(k)],k.readSequence(),z=k.offset+k.length,X.subjectKey=v.readPkcs8(void 0,"public",k),k._offset=z,k.peek()===E(1)&&(k.readSequence(E(1)),U.extras.issuerUniqueID=b.slice(k.offset,k.offset+k.length),k._offset+=k.length),k.peek()===E(2)&&(k.readSequence(E(2)),U.extras.subjectUniqueID=b.slice(k.offset,k.offset+k.length),k._offset+=k.length),k.peek()===E(3)){k.readSequence(E(3));var me=k.offset+k.length;for(k.readSequence();k.offset<me;)re(X,b,k);n.strictEqual(k.offset,me)}n.strictEqual(k.offset,O),k.readSequence(),z=k.offset+k.length;var pe=k.readOID(),qe=M[pe];if(qe===void 0)throw new Error("unknown signature algorithm "+pe);k._offset=z;var mt=k.readString(e.Ber.BitString,!0);mt[0]===0&&(mt=mt.slice(1));var st=qe.split("-");return U.signature=u.parse(mt,st[0],"asn1"),U.signature.hashAlgorithm=st[1],U.algo=qe,U.cache=b.slice(D,Q),new h(X)}function j(b){if(b.peek()===e.Ber.UTCTime)return V(b.readString(e.Ber.UTCTime));if(b.peek()===e.Ber.GeneralizedTime)return he(b.readString(e.Ber.GeneralizedTime));throw new Error("Unsupported date format")}function B(b,d){d.getUTCFullYear()>=2050||d.getUTCFullYear()<1950?b.writeString(p(d),e.Ber.GeneralizedTime):b.writeString(L(d),e.Ber.UTCTime)}var F={OtherName:E(0),RFC822Name:C(1),DNSName:C(2),X400Address:E(3),DirectoryName:E(4),EDIPartyName:E(5),URI:C(6),IPAddress:C(7),OID:C(8)},N={serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",joyentDocker:"1.3.6.1.4.1.38678.1.4.1",joyentCmon:"1.3.6.1.4.1.38678.1.4.2"},ee={};Object.keys(N).forEach(function(b){ee[N[b]]=b});var Z=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function re(b,d,k){k.readSequence();var D=k.offset+k.length,O=k.readOID(),Q,J=b.signatures.x509;J.extras.exts||(J.extras.exts=[]);var X;switch(k.peek()===e.Ber.Boolean&&(X=k.readBoolean()),O){case P.basicConstraints:k.readSequence(e.Ber.OctetString),k.readSequence();var U=k.offset+k.length,z=!1;k.peek()===e.Ber.Boolean&&(z=k.readBoolean()),b.purposes===void 0&&(b.purposes=[]),z===!0&&b.purposes.push("ca");var ie={oid:O,critical:X};k.offset<U&&k.peek()===e.Ber.Integer&&(ie.pathLen=k.readInt()),J.extras.exts.push(ie);break;case P.extKeyUsage:k.readSequence(e.Ber.OctetString),k.readSequence(),b.purposes===void 0&&(b.purposes=[]);for(var de=k.offset+k.length;k.offset<de;){var me=k.readOID();b.purposes.push(ee[me]||me)}b.purposes.indexOf("serverAuth")!==-1&&b.purposes.indexOf("clientAuth")===-1?b.subjects.forEach(function(Tt){Tt.type!=="host"&&(Tt.type="host",Tt.hostname=Tt.uid||Tt.email||Tt.components[0].value)}):b.purposes.indexOf("clientAuth")!==-1&&b.purposes.indexOf("serverAuth")===-1&&b.subjects.forEach(function(Tt){Tt.type!=="user"&&(Tt.type="user",Tt.uid=Tt.hostname||Tt.email||Tt.components[0].value)}),J.extras.exts.push({oid:O,critical:X});break;case P.keyUsage:k.readSequence(e.Ber.OctetString);var pe=k.readString(e.Ber.BitString,!0),qe=x(pe,Z);qe.forEach(function(Tt){b.purposes===void 0&&(b.purposes=[]),b.purposes.indexOf(Tt)===-1&&b.purposes.push(Tt)}),J.extras.exts.push({oid:O,critical:X,bits:pe});break;case P.altName:k.readSequence(e.Ber.OctetString),k.readSequence();for(var mt=k.offset+k.length;k.offset<mt;)switch(k.peek()){case F.OtherName:case F.EDIPartyName:k.readSequence(),k._offset+=k.length;break;case F.OID:k.readOID(F.OID);break;case F.RFC822Name:var st=k.readString(F.RFC822Name);Q=t.forEmail(st),b.subjects[0].equals(Q)||b.subjects.push(Q);break;case F.DirectoryName:k.readSequence(F.DirectoryName),Q=t.parseAsn1(k),b.subjects[0].equals(Q)||b.subjects.push(Q);break;case F.DNSName:var dt=k.readString(F.DNSName);Q=t.forHost(dt),b.subjects[0].equals(Q)||b.subjects.push(Q);break;default:k.readString(k.peek());break}J.extras.exts.push({oid:O,critical:X});break;default:J.extras.exts.push({oid:O,critical:X,data:k.readString(e.Ber.OctetString,!0)});break}k._offset=D}var fe=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function V(b){var d=b.match(fe);n.ok(d,"timestamps must be in UTC");var k=new Date,D=k.getUTCFullYear(),O=Math.floor(D/100)*100,Q=parseInt(d[1],10);return D%100<50&&Q>=60?Q+=O-1:Q+=O,k.setUTCFullYear(Q,parseInt(d[2],10)-1,parseInt(d[3],10)),k.setUTCHours(parseInt(d[4],10),parseInt(d[5],10)),d[6]&&d[6].length>0&&k.setUTCSeconds(parseInt(d[6],10)),k}var le=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function he(b){var d=b.match(le);n.ok(d);var k=new Date;return k.setUTCFullYear(parseInt(d[1],10),parseInt(d[2],10)-1,parseInt(d[3],10)),k.setUTCHours(parseInt(d[4],10),parseInt(d[5],10)),d[6]&&d[6].length>0&&k.setUTCSeconds(parseInt(d[6],10)),k}function ye(b,d){d===void 0&&(d=2);for(var k=""+b;k.length<d;)k="0"+k;return k}function L(b){var d="";return d+=ye(b.getUTCFullYear()%100),d+=ye(b.getUTCMonth()+1),d+=ye(b.getUTCDate()),d+=ye(b.getUTCHours()),d+=ye(b.getUTCMinutes()),d+=ye(b.getUTCSeconds()),d+="Z",d}function p(b){var d="";return d+=ye(b.getUTCFullYear(),4),d+=ye(b.getUTCMonth()+1),d+=ye(b.getUTCDate()),d+=ye(b.getUTCHours()),d+=ye(b.getUTCMinutes()),d+=ye(b.getUTCSeconds()),d+="Z",d}function y(b,d){b.signatures.x509===void 0&&(b.signatures.x509={});var k=b.signatures.x509;if(k.algo=d.type+"-"+d.defaultHashAlgorithm(),M[k.algo]===void 0)return!1;var D=new e.BerWriter;m(b,D);var O=D.buffer;k.cache=O;var Q=d.createSign();return Q.write(O),b.signatures.x509.signature=Q.sign(),!0}function S(b,d,k){b.signatures.x509===void 0&&(b.signatures.x509={});var D=b.signatures.x509,O=new e.BerWriter;m(b,O);var Q=O.buffer;D.cache=Q,d(Q,function(J,X){if(J){k(J);return}if(D.algo=X.type+"-"+X.hashAlgorithm,M[D.algo]===void 0){k(new Error('Invalid signing algorithm "'+D.algo+'"'));return}D.signature=X,k()})}function c(b,d){var k=b.signatures.x509;n.object(k,"x509 signature");var D=new e.BerWriter;D.startSequence(),k.cache?(D._ensure(k.cache.length),k.cache.copy(D._buf,D._offset),D._offset+=k.cache.length):m(b,D),D.startSequence(),D.writeOID(M[k.algo]),k.algo.match(/^rsa-/)&&D.writeNull(),D.endSequence();var O=k.signature.toBuffer("asn1"),Q=o.alloc(O.length+1);return Q[0]=0,O.copy(Q,1),D.writeBuffer(Q,e.Ber.BitString),D.endSequence(),D.buffer}function m(b,d){var k=b.signatures.x509;n.object(k,"x509 signature"),d.startSequence(),d.startSequence(E(0)),d.writeInt(2),d.endSequence(),d.writeBuffer(l.mpNormalize(b.serial),e.Ber.Integer),d.startSequence(),d.writeOID(M[k.algo]),k.algo.match(/^rsa-/)&&d.writeNull(),d.endSequence(),b.issuer.toAsn1(d),d.startSequence(),B(d,b.validFrom),B(d,b.validUntil),d.endSequence();var D=b.subjects[0],O=b.subjects.slice(1);if(D.toAsn1(d),v.writePkcs8(d,b.subjectKey),k.extras&&k.extras.issuerUniqueID&&d.writeBuffer(k.extras.issuerUniqueID,E(1)),k.extras&&k.extras.subjectUniqueID&&d.writeBuffer(k.extras.subjectUniqueID,E(2)),O.length>0||D.type==="host"||b.purposes!==void 0&&b.purposes.length>0||k.extras&&k.extras.exts){d.startSequence(E(3)),d.startSequence();var Q=[];b.purposes!==void 0&&b.purposes.length>0&&(Q.push({oid:P.basicConstraints,critical:!0}),Q.push({oid:P.keyUsage,critical:!0}),Q.push({oid:P.extKeyUsage,critical:!0})),Q.push({oid:P.altName}),k.extras&&k.extras.exts&&(Q=k.extras.exts);for(var J=0;J<Q.length;++J){if(d.startSequence(),d.writeOID(Q[J].oid),Q[J].critical!==void 0&&d.writeBoolean(Q[J].critical),Q[J].oid===P.altName){d.startSequence(e.Ber.OctetString),d.startSequence(),D.type==="host"&&d.writeString(D.hostname,C(2));for(var X=0;X<O.length;++X)O[X].type==="host"?d.writeString(O[X].hostname,F.DNSName):O[X].type==="email"?d.writeString(O[X].email,F.RFC822Name):(d.startSequence(F.DirectoryName),O[X].toAsn1(d),d.endSequence());d.endSequence(),d.endSequence()}else if(Q[J].oid===P.basicConstraints){d.startSequence(e.Ber.OctetString),d.startSequence();var U=b.purposes.indexOf("ca")!==-1,z=Q[J].pathLen;d.writeBoolean(U),z!==void 0&&d.writeInt(z),d.endSequence(),d.endSequence()}else if(Q[J].oid===P.extKeyUsage)d.startSequence(e.Ber.OctetString),d.startSequence(),b.purposes.forEach(function(de){if(de!=="ca"&&Z.indexOf(de)===-1){var me=de;N[de]!==void 0&&(me=N[de]),d.writeOID(me)}}),d.endSequence(),d.endSequence();else if(Q[J].oid===P.keyUsage){if(d.startSequence(e.Ber.OctetString),Q[J].bits!==void 0)d.writeBuffer(Q[J].bits,e.Ber.BitString);else{var ie=T(b.purposes,Z);d.writeBuffer(ie,e.Ber.BitString)}d.endSequence()}else d.writeBuffer(Q[J].data,e.Ber.OctetString);d.endSequence()}d.endSequence(),d.endSequence()}d.endSequence()}function x(b,d){for(var k=8*(b.length-1)-b[0],D={},O=0;O<k;++O){var Q=1+Math.floor(O/8),J=7-O%8,X=1<<J,U=(b[Q]&X)!==0,z=d[O];U&&typeof z=="string"&&(D[z]=!0)}return Object.keys(D)}function T(b,d){var k=d.length,D=Math.ceil(k/8),O=D*8-k,Q=o.alloc(1+D);Q[0]=O;for(var J=0;J<k;++J){var X=1+Math.floor(J/8),U=7-J%8,z=1<<U,ie=d[J];if(ie!==void 0){var de=b.indexOf(ie)!==-1;de&&(Q[X]|=z)}}return Q}return x509}var x509Pem,hasRequiredX509Pem;function requireX509Pem(){if(hasRequiredX509Pem)return x509Pem;hasRequiredX509Pem=1;var n=requireX509();x509Pem={read:l,verify:n.verify,sign:n.sign,write:t};var e=requireAssert();requireLib$4();var o=requireSafer().Buffer;requireAlgs(),requireUtils$2(),requireKey(),requirePrivateKey(),requirePem(),requireIdentity(),requireSignature(),requireCertificate();function l(u,h){typeof u!="string"&&(e.buffer(u,"buf"),u=u.toString("ascii"));for(var v=u.trim().split(/[\r\n]+/g),w,A=-1;!w&&A<v.length;)w=v[++A].match(/[-]+[ ]*BEGIN CERTIFICATE[ ]*[-]+/);e.ok(w,"invalid PEM header");for(var E,C=v.length;!E&&C>0;)E=v[--C].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/);e.ok(E,"invalid PEM footer"),v=v.slice(A,C+1);for(var M={};v=v.slice(1),w=v[0].match(/^([A-Za-z0-9-]+): (.+)$/),!!w;)M[w[1].toLowerCase()]=w[2];return v=v.slice(0,-1).join(""),u=o.from(v,"base64"),n.read(u,h)}function t(u,h){var v=n.write(u,h),w="CERTIFICATE",A=v.toString("base64"),E=A.length+A.length/64+18+16+w.length*2+10,C=o.alloc(E),M=0;M+=C.write("-----BEGIN "+w+`-----
+`,M);for(var P=0;P<A.length;){var I=P+64;I>A.length&&(I=A.length),M+=C.write(A.slice(P,I),M),C[M++]=10,P=I}return M+=C.write("-----END "+w+`-----
+`,M),C.slice(0,M)}return x509Pem}var certificate,hasRequiredCertificate;function requireCertificate(){if(hasRequiredCertificate)return certificate;hasRequiredCertificate=1,certificate=P;var n=requireAssert(),e=requireSafer().Buffer,o=requireAlgs(),l=requireCryptoBrowserify(),t=requireFingerprint();requireSignature();var u=requireErrors$1(),h=requireUtils$2(),v=requireKey(),w=requirePrivateKey(),A=requireIdentity(),E={};E.openssh=requireOpensshCert(),E.x509=requireX509(),E.pem=requireX509Pem();var C=u.CertificateParseError,M=u.InvalidAlgorithmError;function P(I){n.object(I,"options"),n.arrayOfObject(I.subjects,"options.subjects"),h.assertCompatible(I.subjects[0],A,[1,0],"options.subjects"),h.assertCompatible(I.subjectKey,v,[1,0],"options.subjectKey"),h.assertCompatible(I.issuer,A,[1,0],"options.issuer"),I.issuerKey!==void 0&&h.assertCompatible(I.issuerKey,v,[1,0],"options.issuerKey"),n.object(I.signatures,"options.signatures"),n.buffer(I.serial,"options.serial"),n.date(I.validFrom,"options.validFrom"),n.date(I.validUntil,"optons.validUntil"),n.optionalArrayOfString(I.purposes,"options.purposes"),this._hashCache={},this.subjects=I.subjects,this.issuer=I.issuer,this.subjectKey=I.subjectKey,this.issuerKey=I.issuerKey,this.signatures=I.signatures,this.serial=I.serial,this.validFrom=I.validFrom,this.validUntil=I.validUntil,this.purposes=I.purposes}return P.formats=E,P.prototype.toBuffer=function(I,j){return I===void 0&&(I="x509"),n.string(I,"format"),n.object(E[I],"formats[format]"),n.optionalObject(j,"options"),E[I].write(this,j)},P.prototype.toString=function(I,j){return I===void 0&&(I="pem"),this.toBuffer(I,j).toString()},P.prototype.fingerprint=function(I){I===void 0&&(I="sha256"),n.string(I,"algorithm");var j={type:"certificate",hash:this.hash(I),algorithm:I};return new t(j)},P.prototype.hash=function(I){if(n.string(I,"algorithm"),I=I.toLowerCase(),o.hashAlgs[I]===void 0)throw new M(I);if(this._hashCache[I])return this._hashCache[I];var j=l.createHash(I).update(this.toBuffer("x509")).digest();return this._hashCache[I]=j,j},P.prototype.isExpired=function(I){return I===void 0&&(I=new Date),!(I.getTime()>=this.validFrom.getTime()&&I.getTime()<this.validUntil.getTime())},P.prototype.isSignedBy=function(I){return h.assertCompatible(I,P,[1,0],"issuer"),!this.issuer.equals(I.subjects[0])||this.issuer.purposes&&this.issuer.purposes.length>0&&this.issuer.purposes.indexOf("ca")===-1?!1:this.isSignedByKey(I.subjectKey)},P.prototype.getExtension=function(I){n.string(I,"keyOrOid");var j=this.getExtensions().filter(function(B){return B.format==="x509"?B.oid===I:B.format==="openssh"?B.name===I:!1})[0];return j},P.prototype.getExtensions=function(){var I=[],j=this.signatures.x509;j&&j.extras&&j.extras.exts&&j.extras.exts.forEach(function(F){F.format="x509",I.push(F)});var B=this.signatures.openssh;return B&&B.exts&&B.exts.forEach(function(F){F.format="openssh",I.push(F)}),I},P.prototype.isSignedByKey=function(I){if(h.assertCompatible(I,v,[1,2],"issuerKey"),this.issuerKey!==void 0)return this.issuerKey.fingerprint("sha512").matches(I);var j=Object.keys(this.signatures)[0],B=E[j].verify(this,I);return B&&(this.issuerKey=I),B},P.prototype.signWith=function(I){h.assertCompatible(I,w,[1,2],"key");for(var j=Object.keys(E),B=!1,F=0;F<j.length;++F)if(j[F]!=="pem"){var N=E[j[F]].sign(this,I);N===!0&&(B=!0)}if(!B)throw new Error("Failed to sign the certificate for any available certificate formats")},P.createSelfSigned=function(I,j,B){var F;Array.isArray(I)?F=I:F=[I],n.arrayOfObject(F),F.forEach(function(ye){h.assertCompatible(ye,A,[1,0],"subject")}),h.assertCompatible(j,w,[1,2],"private key"),n.optionalObject(B,"options"),B===void 0&&(B={}),n.optionalObject(B.validFrom,"options.validFrom"),n.optionalObject(B.validUntil,"options.validUntil");var N=B.validFrom,ee=B.validUntil;if(N===void 0&&(N=new Date),ee===void 0){n.optionalNumber(B.lifetime,"options.lifetime");var Z=B.lifetime;Z===void 0&&(Z=10*365*24*3600),ee=new Date,ee.setTime(ee.getTime()+Z*1e3)}n.optionalBuffer(B.serial,"options.serial");var re=B.serial;re===void 0&&(re=e.from("0000000000000001","hex"));var fe=B.purposes;if(fe===void 0&&(fe=[]),fe.indexOf("signature")===-1&&fe.push("signature"),fe.indexOf("ca")===-1&&fe.push("ca"),fe.indexOf("crl")===-1&&fe.push("crl"),fe.length<=3){var V=F.filter(function(ye){return ye.type==="host"}),le=F.filter(function(ye){return ye.type==="user"});V.length>0&&fe.indexOf("serverAuth")===-1&&fe.push("serverAuth"),le.length>0&&fe.indexOf("clientAuth")===-1&&fe.push("clientAuth"),(le.length>0||V.length>0)&&(fe.indexOf("keyAgreement")===-1&&fe.push("keyAgreement"),j.type==="rsa"&&fe.indexOf("encryption")===-1&&fe.push("encryption"))}var he=new P({subjects:F,issuer:F[0],subjectKey:j.toPublic(),issuerKey:j.toPublic(),signatures:{},serial:re,validFrom:N,validUntil:ee,purposes:fe});return he.signWith(j),he},P.create=function(I,j,B,F,N){var ee;Array.isArray(I)?ee=I:ee=[I],n.arrayOfObject(ee),ee.forEach(function(p){h.assertCompatible(p,A,[1,0],"subject")}),h.assertCompatible(j,v,[1,0],"key"),w.isPrivateKey(j)&&(j=j.toPublic()),h.assertCompatible(B,A,[1,0],"issuer"),h.assertCompatible(F,w,[1,2],"issuer key"),n.optionalObject(N,"options"),N===void 0&&(N={}),n.optionalObject(N.validFrom,"options.validFrom"),n.optionalObject(N.validUntil,"options.validUntil");var Z=N.validFrom,re=N.validUntil;if(Z===void 0&&(Z=new Date),re===void 0){n.optionalNumber(N.lifetime,"options.lifetime");var fe=N.lifetime;fe===void 0&&(fe=10*365*24*3600),re=new Date,re.setTime(re.getTime()+fe*1e3)}n.optionalBuffer(N.serial,"options.serial");var V=N.serial;V===void 0&&(V=e.from("0000000000000001","hex"));var le=N.purposes;le===void 0&&(le=[]),le.indexOf("signature")===-1&&le.push("signature"),N.ca===!0&&(le.indexOf("ca")===-1&&le.push("ca"),le.indexOf("crl")===-1&&le.push("crl"));var he=ee.filter(function(p){return p.type==="host"}),ye=ee.filter(function(p){return p.type==="user"});he.length>0&&le.indexOf("serverAuth")===-1&&le.push("serverAuth"),ye.length>0&&le.indexOf("clientAuth")===-1&&le.push("clientAuth"),(ye.length>0||he.length>0)&&(le.indexOf("keyAgreement")===-1&&le.push("keyAgreement"),j.type==="rsa"&&le.indexOf("encryption")===-1&&le.push("encryption"));var L=new P({subjects:ee,issuer:B,subjectKey:j,issuerKey:F.toPublic(),signatures:{},serial:V,validFrom:Z,validUntil:re,purposes:le});return L.signWith(F),L},P.parse=function(I,j,B){typeof I!="string"&&n.buffer(I,"data"),j===void 0&&(j="auto"),n.string(j,"format"),typeof B=="string"&&(B={filename:B}),n.optionalObject(B,"options"),B===void 0&&(B={}),n.optionalString(B.filename,"options.filename"),B.filename===void 0&&(B.filename="(unnamed)"),n.object(E[j],"formats[format]");try{var F=E[j].read(I,B);return F}catch(N){throw new C(B.filename,j,N)}},P.isCertificate=function(I,j){return h.isCompatible(I,P,j)},P.prototype._sshpkApiVersion=[1,1],P._oldVersionDetect=function(I){return[1,0]},certificate}var fingerprint,hasRequiredFingerprint;function requireFingerprint(){if(hasRequiredFingerprint)return fingerprint;hasRequiredFingerprint=1,fingerprint=C;var n=requireAssert(),e=requireSafer().Buffer,o=requireAlgs(),l=requireCryptoBrowserify(),t=requireErrors$1(),u=requireKey(),h=requirePrivateKey(),v=requireCertificate(),w=requireUtils$2(),A=t.FingerprintFormatError,E=t.InvalidAlgorithmError;function C(F){if(n.object(F,"options"),n.string(F.type,"options.type"),n.buffer(F.hash,"options.hash"),n.string(F.algorithm,"options.algorithm"),this.algorithm=F.algorithm.toLowerCase(),o.hashAlgs[this.algorithm]!==!0)throw new E(this.algorithm);this.hash=F.hash,this.type=F.type,this.hashType=F.hashType}C.prototype.toString=function(F){switch(F===void 0&&(this.algorithm==="md5"||this.hashType==="spki"?F="hex":F="base64"),n.string(F),F){case"hex":return this.hashType==="spki"?this.hash.toString("hex"):I(this.hash.toString("hex"));case"base64":return this.hashType==="spki"?this.hash.toString("base64"):B(this.algorithm,this.hash.toString("base64"));default:throw new A(void 0,F)}},C.prototype.matches=function(F){n.object(F,"key or certificate"),this.type==="key"&&this.hashType!=="ssh"?(w.assertCompatible(F,u,[1,7],"key with spki"),h.isPrivateKey(F)&&w.assertCompatible(F,h,[1,6],"privatekey with spki support")):this.type==="key"?w.assertCompatible(F,u,[1,0],"key"):w.assertCompatible(F,v,[1,0],"certificate");var N=F.hash(this.algorithm,this.hashType),ee=l.createHash(this.algorithm).update(N).digest("base64");return this.hash2===void 0&&(this.hash2=l.createHash(this.algorithm).update(this.hash).digest("base64")),this.hash2===ee};var M=/^[A-Za-z0-9+\/=]+$/,P=/^[a-fA-F0-9]+$/;C.parse=function(F,N){n.string(F,"fingerprint");var ee,Z,re;Array.isArray(N)&&(re=N,N={}),n.optionalObject(N,"options"),N===void 0&&(N={}),N.enAlgs!==void 0&&(re=N.enAlgs),N.algorithms!==void 0&&(re=N.algorithms),n.optionalArrayOfString(re,"algorithms");var fe="ssh";N.hashType!==void 0&&(fe=N.hashType),n.string(fe,"options.hashType");var V=F.split(":");if(V.length==2){if(ee=V[0].toLowerCase(),!M.test(V[1]))throw new A(F);try{Z=e.from(V[1],"base64")}catch{throw new A(F)}}else if(V.length>2){if(ee="md5",V[0].toLowerCase()==="md5"&&(V=V.slice(1)),V=V.map(function(le){for(;le.length<2;)le="0"+le;if(le.length>2)throw new A(F);return le}),V=V.join(""),!P.test(V)||V.length%2!==0)throw new A(F);try{Z=e.from(V,"hex")}catch{throw new A(F)}}else{if(P.test(F))Z=e.from(F,"hex");else if(M.test(F))Z=e.from(F,"base64");else throw new A(F);switch(Z.length){case 32:ee="sha256";break;case 16:ee="md5";break;case 20:ee="sha1";break;case 64:ee="sha512";break;default:throw new A(F)}N.hashType===void 0&&(fe="spki")}if(ee===void 0)throw new A(F);if(o.hashAlgs[ee]===void 0)throw new E(ee);if(re!==void 0&&(re=re.map(function(le){return le.toLowerCase()}),re.indexOf(ee)===-1))throw new E(ee);return new C({algorithm:ee,hash:Z,type:N.type||"key",hashType:fe})};function I(F){return F.replace(/(.{2})(?=.)/g,"$1:")}function j(F){return F.replace(/=*$/,"")}function B(F,N){return F.toUpperCase()+":"+j(N)}return C.isFingerprint=function(F,N){return w.isCompatible(F,C,N)},C.prototype._sshpkApiVersion=[1,2],C._oldVersionDetect=function(F){return n.func(F.toString),n.func(F.matches),[1,0]},fingerprint}var key,hasRequiredKey;function requireKey(){if(hasRequiredKey)return key;hasRequiredKey=1,key=P;var n=requireAssert(),e=requireAlgs(),o=requireCryptoBrowserify(),l=requireFingerprint(),t=requireSignature(),u=requireDhe().DiffieHellman,h=requireErrors$1(),v=requireUtils$2(),w=requirePrivateKey(),A;try{A=requireEdCompat()}catch{}var E=h.InvalidAlgorithmError,C=h.KeyParseError,M={};M.auto=requireAuto(),M.pem=requirePem(),M.pkcs1=requirePkcs1(),M.pkcs8=requirePkcs8(),M.rfc4253=requireRfc4253(),M.ssh=requireSsh(),M["ssh-private"]=requireSshPrivate(),M.openssh=M["ssh-private"],M.dnssec=requireDnssec(),M.putty=requirePutty(),M.ppk=M.putty;function P(I){n.object(I,"options"),n.arrayOfObject(I.parts,"options.parts"),n.string(I.type,"options.type"),n.optionalString(I.comment,"options.comment");var j=e.info[I.type];if(typeof j!="object")throw new E(I.type);for(var B={},F=0;F<I.parts.length;++F){var N=I.parts[F];B[N.name]=N}this.type=I.type,this.parts=I.parts,this.part=B,this.comment=void 0,this.source=I.source,this._rfc4253Cache=I._rfc4253Cache,this._hashCache={};var ee;if(this.curve=void 0,this.type==="ecdsa"){var Z=this.part.curve.data.toString();this.curve=Z,ee=e.curves[Z].size}else if(this.type==="ed25519"||this.type==="curve25519")ee=256,this.curve="curve25519";else{var re=this.part[j.sizePart];ee=re.data.length,ee=ee*8-v.countZeros(re.data)}this.size=ee}return P.formats=M,P.prototype.toBuffer=function(I,j){return I===void 0&&(I="ssh"),n.string(I,"format"),n.object(M[I],"formats[format]"),n.optionalObject(j,"options"),I==="rfc4253"?(this._rfc4253Cache===void 0&&(this._rfc4253Cache=M.rfc4253.write(this)),this._rfc4253Cache):M[I].write(this,j)},P.prototype.toString=function(I,j){return this.toBuffer(I,j).toString()},P.prototype.hash=function(I,j){if(n.string(I,"algorithm"),n.optionalString(j,"type"),j===void 0&&(j="ssh"),I=I.toLowerCase(),e.hashAlgs[I]===void 0)throw new E(I);var B=I+"||"+j;if(this._hashCache[B])return this._hashCache[B];var F;if(j==="ssh")F=this.toBuffer("rfc4253");else if(j==="spki")F=M.pkcs8.pkcs8ToBuffer(this);else throw new Error("Hash type "+j+" not supported");var N=o.createHash(I).update(F).digest();return this._hashCache[B]=N,N},P.prototype.fingerprint=function(I,j){I===void 0&&(I="sha256"),j===void 0&&(j="ssh"),n.string(I,"algorithm"),n.string(j,"type");var B={type:"key",hash:this.hash(I,j),algorithm:I,hashType:j};return new l(B)},P.prototype.defaultHashAlgorithm=function(){var I="sha1";return this.type==="rsa"&&(I="sha256"),this.type==="dsa"&&this.size>1024&&(I="sha256"),this.type==="ed25519"&&(I="sha512"),this.type==="ecdsa"&&(this.size<=256?I="sha256":this.size<=384?I="sha384":I="sha512"),I},P.prototype.createVerify=function(I){if(I===void 0&&(I=this.defaultHashAlgorithm()),n.string(I,"hash algorithm"),this.type==="ed25519"&&A!==void 0)return new A.Verifier(this,I);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for signing or verification");var j,B,F;try{B=I.toUpperCase(),j=o.createVerify(B)}catch(fe){F=fe}(j===void 0||F instanceof Error&&F.message.match(/Unknown message digest/))&&(B="RSA-",B+=I.toUpperCase(),j=o.createVerify(B)),n.ok(j,"failed to create verifier");var N=j.verify.bind(j),ee=this.toBuffer("pkcs8"),Z=this.curve,re=this;return j.verify=function(fe,V){if(t.isSignature(fe,[2,0]))return fe.type!==re.type||fe.hashAlgorithm&&fe.hashAlgorithm!==I||fe.curve&&re.type==="ecdsa"&&fe.curve!==Z?!1:N(ee,fe.toBuffer("asn1"));if(typeof fe=="string"||Buffer$C.isBuffer(fe))return N(ee,fe,V);throw t.isSignature(fe,[1,0])?new Error("signature was created by too old a version of sshpk and cannot be verified"):new TypeError("signature must be a string, Buffer, or Signature object")},j},P.prototype.createDiffieHellman=function(){if(this.type==="rsa")throw new Error("RSA keys do not support Diffie-Hellman");return new u(this)},P.prototype.createDH=P.prototype.createDiffieHellman,P.parse=function(I,j,B){typeof I!="string"&&n.buffer(I,"data"),j===void 0&&(j="auto"),n.string(j,"format"),typeof B=="string"&&(B={filename:B}),n.optionalObject(B,"options"),B===void 0&&(B={}),n.optionalString(B.filename,"options.filename"),B.filename===void 0&&(B.filename="(unnamed)"),n.object(M[j],"formats[format]");try{var F=M[j].read(I,B);return F instanceof w&&(F=F.toPublic()),F.comment||(F.comment=B.filename),F}catch(N){throw N.name==="KeyEncryptedError"?N:new C(B.filename,j,N)}},P.isKey=function(I,j){return v.isCompatible(I,P,j)},P.prototype._sshpkApiVersion=[1,7],P._oldVersionDetect=function(I){return n.func(I.toBuffer),n.func(I.fingerprint),I.createDH?[1,4]:I.defaultHashAlgorithm?[1,3]:I.formats.auto?[1,2]:I.formats.pkcs1?[1,1]:[1,0]},key}var lib$3,hasRequiredLib$3;function requireLib$3(){if(hasRequiredLib$3)return lib$3;hasRequiredLib$3=1;var n=requireKey(),e=requireFingerprint(),o=requireSignature(),l=requirePrivateKey(),t=requireCertificate(),u=requireIdentity(),h=requireErrors$1();return lib$3={Key:n,parseKey:n.parse,Fingerprint:e,parseFingerprint:e.parse,Signature:o,parseSignature:o.parse,PrivateKey:l,parsePrivateKey:l.parse,generatePrivateKey:l.generate,Certificate:t,parseCertificate:t.parse,createSelfSignedCertificate:t.createSelfSigned,createCertificate:t.create,Identity:u,identityFromDN:u.parseDN,identityForHost:u.forHost,identityForUser:u.forUser,identityForEmail:u.forEmail,identityFromArray:u.fromArray,FingerprintFormatError:h.FingerprintFormatError,InvalidAlgorithmError:h.InvalidAlgorithmError,KeyParseError:h.KeyParseError,SignatureParseError:h.SignatureParseError,KeyEncryptedError:h.KeyEncryptedError,CertificateParseError:h.CertificateParseError},lib$3}var utils$1,hasRequiredUtils$1;function requireUtils$1(){if(hasRequiredUtils$1)return utils$1;hasRequiredUtils$1=1;var n=requireAssert(),e=requireLib$3(),o=util$6,l={sha1:!0,sha256:!0,sha512:!0},t={rsa:!0,dsa:!0,ecdsa:!0};function u(w,A){Error.captureStackTrace&&Error.captureStackTrace(this,A||u),this.message=w,this.name=A.name}o.inherits(u,Error);function h(w){u.call(this,w,h)}o.inherits(h,u);function v(w){var A=w.toLowerCase().split("-");if(A.length!==2)throw new h(A[0].toUpperCase()+" is not a valid algorithm");if(A[0]!=="hmac"&&!t[A[0]])throw new h(A[0].toUpperCase()+" type keys are not supported");if(!l[A[1]])throw new h(A[1].toUpperCase()+" is not a supported hash algorithm");return A}return utils$1={HASH_ALGOS:l,PK_ALGOS:t,HttpSignatureError:u,InvalidAlgorithmError:h,validateAlgorithm:v,sshKeyToPEM:function(A){n.string(A,"ssh_key");var E=e.parseKey(A,"ssh");return E.toString("pem")},fingerprint:function(A){n.string(A,"ssh_key");var E=e.parseKey(A,"ssh");return E.fingerprint("md5").toString("hex")},pemToRsaSSHKey:function(A,E){n.equal("string",typeof A,"typeof pem");var C=e.parseKey(A,"pem");return C.comment=E,C.toString("ssh")}},utils$1}var parser,hasRequiredParser;function requireParser(){if(hasRequiredParser)return parser;hasRequiredParser=1;var n=requireAssert(),e=util$6,o=requireUtils$1();o.HASH_ALGOS,o.PK_ALGOS;var l=o.HttpSignatureError,t=o.InvalidAlgorithmError,u=o.validateAlgorithm,h={New:0,Params:1},v={Name:0,Quote:1,Value:2,Comma:3};function w(P){l.call(this,P,w)}e.inherits(w,l);function A(P){l.call(this,P,A)}e.inherits(A,l);function E(P){l.call(this,P,E)}e.inherits(E,l);function C(P){l.call(this,P,C)}e.inherits(C,l);function M(P){l.call(this,P,M)}return e.inherits(M,l),parser={parseRequest:function(I,j){n.object(I,"request"),n.object(I.headers,"request.headers"),j===void 0&&(j={}),j.headers===void 0&&(j.headers=[I.headers["x-date"]?"x-date":"date"]),n.object(j,"options"),n.arrayOfString(j.headers,"options.headers"),n.optionalFinite(j.clockSkew,"options.clockSkew");var B=j.authorizationHeaderName||"authorization";if(!I.headers[B])throw new C("no "+B+" header present in the request");j.clockSkew=j.clockSkew||300;var F=0,N=h.New,ee=v.Name,Z="",re="",fe={scheme:"",params:{},signingString:""},V=I.headers[B];for(F=0;F<V.length;F++){var le=V.charAt(F);switch(Number(N)){case h.New:le!==" "?fe.scheme+=le:N=h.Params;break;case h.Params:switch(Number(ee)){case v.Name:var he=le.charCodeAt(0);if(he>=65&&he<=90||he>=97&&he<=122)Z+=le;else if(le==="="){if(Z.length===0)throw new A("bad param format");ee=v.Quote}else throw new A("bad param format");break;case v.Quote:if(le==='"')re="",ee=v.Value;else throw new A("bad param format");break;case v.Value:le==='"'?(fe.params[Z]=re,ee=v.Comma):re+=le;break;case v.Comma:if(le===",")Z="",ee=v.Name;else throw new A("bad param format");break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(!fe.params.headers||fe.params.headers===""?I.headers["x-date"]?fe.params.headers=["x-date"]:fe.params.headers=["date"]:fe.params.headers=fe.params.headers.split(" "),!fe.scheme||fe.scheme!=="Signature")throw new A('scheme was not "Signature"');if(!fe.params.keyId)throw new A("keyId was not specified");if(!fe.params.algorithm)throw new A("algorithm was not specified");if(!fe.params.signature)throw new A("signature was not specified");fe.params.algorithm=fe.params.algorithm.toLowerCase();try{u(fe.params.algorithm)}catch(c){throw c instanceof t?new E(fe.params.algorithm+" is not supported"):c}for(F=0;F<fe.params.headers.length;F++){var ye=fe.params.headers[F].toLowerCase();if(fe.params.headers[F]=ye,ye==="request-line")if(!j.strict)fe.signingString+=I.method+" "+I.url+" HTTP/"+I.httpVersion;else throw new M("request-line is not a valid header with strict parsing enabled.");else if(ye==="(request-target)")fe.signingString+="(request-target): "+I.method.toLowerCase()+" "+I.url;else{var L=I.headers[ye];if(L===void 0)throw new C(ye+" was not in the request");fe.signingString+=ye+": "+L}F+1<fe.params.headers.length&&(fe.signingString+=`
+`)}var p;if(I.headers.date||I.headers["x-date"]){I.headers["x-date"]?p=new Date(I.headers["x-date"]):p=new Date(I.headers.date);var y=new Date,S=Math.abs(y.getTime()-p.getTime());if(S>j.clockSkew*1e3)throw new w("clock skew of "+S/1e3+"s was greater than "+j.clockSkew+"s")}if(j.headers.forEach(function(c){if(fe.params.headers.indexOf(c.toLowerCase())<0)throw new C(c+" was not a signed header")}),j.algorithms&&j.algorithms.indexOf(fe.params.algorithm)===-1)throw new E(fe.params.algorithm+" is not a supported algorithm");return fe.algorithm=fe.params.algorithm.toUpperCase(),fe.keyId=fe.params.keyId,fe}},parser}var jsprim={},extsprintf={},hasRequiredExtsprintf;function requireExtsprintf(){if(hasRequiredExtsprintf)return extsprintf;hasRequiredExtsprintf=1;var n=requireAssert$1(),e=util$6;extsprintf.sprintf=o,extsprintf.printf=l,extsprintf.fprintf=t;function o(v){var w=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),A=new RegExp(w),E=Array.prototype.slice.call(arguments,1),C,M,P,I,j,B,F,N,ee,Z="",re=1;for(n.equal("string",typeof v);(ee=A.exec(v))!==null;){if(Z+=ee[1],v=v.substring(ee[0].length),C=ee[2]||"",M=ee[3]||0,P=ee[4]||"",I=ee[6],j=!1,F=!1,B=" ",I=="%"){Z+="%";continue}if(E.length===0)throw new Error("too few args to sprintf");if(N=E.shift(),re++,C.match(/[\' #]/))throw new Error("unsupported flags: "+C);if(P.length>0)throw new Error("non-zero precision not supported");switch(C.match(/-/)&&(j=!0),C.match(/0/)&&(B="0"),C.match(/\+/)&&(F=!0),I){case"s":if(N==null)throw new Error("argument "+re+": attempted to print undefined or null as a string");Z+=u(B,M,j,N.toString());break;case"d":N=Math.floor(N);case"f":F=F&&N>0?"+":"",Z+=F+u(B,M,j,N.toString());break;case"x":Z+=u(B,M,j,N.toString(16));break;case"j":M===0&&(M=10),Z+=e.inspect(N,!1,M);break;case"r":Z+=h(N);break;default:throw new Error("unsupported conversion: "+I)}}return Z+=v,Z}function l(){var v=Array.prototype.slice.call(arguments);v.unshift(process$1.stdout),t.apply(null,v)}function t(v){var w=Array.prototype.slice.call(arguments,1);return v.write(o.apply(this,w))}function u(v,w,A,E){for(var C=E;C.length<w;)A?C+=v:C=v+C;return C}function h(v){var w;if(!(v instanceof Error))throw new Error(o("invalid type for %%r: %j",v));if(w="EXCEPTION: "+v.constructor.name+": "+v.stack,v.cause&&typeof v.cause=="function"){var A=v.cause();A&&(w+=`
+Caused by: `+h(A))}return w}return extsprintf}var verror,hasRequiredVerror;function requireVerror(){if(hasRequiredVerror)return verror;hasRequiredVerror=1;var n=requireAssert(),e=util$6,o=requireExtsprintf(),l=util$3.isError,t=o.sprintf;verror=h,h.VError=h,h.SError=v,h.WError=A,h.MultiError=w;function u(E){var C,M,P,I,j;if(n.object(E,"args"),n.bool(E.strict,"args.strict"),n.array(E.argv,"args.argv"),C=E.argv,C.length===0)M={},P=[];else if(l(C[0]))M={cause:C[0]},P=C.slice(1);else if(typeof C[0]=="object"){M={};for(j in C[0])M[j]=C[0][j];P=C.slice(1)}else n.string(C[0],"first argument to VError, SError, or WError constructor must be a string, object, or Error"),M={},P=C;return n.object(M),!M.strict&&!E.strict&&(P=P.map(function(B){return B===null?"null":B===void 0?"undefined":B})),P.length===0?I="":I=t.apply(null,P),{options:M,shortmessage:I}}function h(){var E,C,M,P,I,j,B;if(E=Array.prototype.slice.call(arguments,0),!(this instanceof h))return C=Object.create(h.prototype),h.apply(C,arguments),C;if(M=u({argv:E,strict:!1}),M.options.name&&(n.string(M.options.name,`error's "name" must be a string`),this.name=M.options.name),this.jse_shortmsg=M.shortmessage,j=M.shortmessage,P=M.options.cause,P&&(n.ok(l(P),"cause is not an Error"),this.jse_cause=P,M.options.skipCauseMessage||(j+=": "+P.message)),this.jse_info={},M.options.info)for(B in M.options.info)this.jse_info[B]=M.options.info[B];return this.message=j,Error.call(this,j),Error.captureStackTrace&&(I=M.options.constructorOpt||this.constructor,Error.captureStackTrace(this,I)),this}e.inherits(h,Error),h.prototype.name="VError",h.prototype.toString=function(){var C=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(C+=": "+this.message),C},h.prototype.cause=function(){var C=h.cause(this);return C===null?void 0:C},h.cause=function(E){return n.ok(l(E),"err must be an Error"),l(E.jse_cause)?E.jse_cause:null},h.info=function(E){var C,M,P;if(n.ok(l(E),"err must be an Error"),M=h.cause(E),M!==null?C=h.info(M):C={},typeof E.jse_info=="object"&&E.jse_info!==null)for(P in E.jse_info)C[P]=E.jse_info[P];return C},h.findCauseByName=function(E,C){var M;for(n.ok(l(E),"err must be an Error"),n.string(C,"name"),n.ok(C.length>0,"name cannot be empty"),M=E;M!==null;M=h.cause(M))if(n.ok(l(M)),M.name==C)return M;return null},h.hasCauseWithName=function(E,C){return h.findCauseByName(E,C)!==null},h.fullStack=function(E){n.ok(l(E),"err must be an Error");var C=h.cause(E);return C?E.stack+`
+caused by: `+h.fullStack(C):E.stack},h.errorFromList=function(E){return n.arrayOfObject(E,"errors"),E.length===0?null:(E.forEach(function(C){n.ok(l(C))}),E.length==1?E[0]:new w(E))},h.errorForEach=function(E,C){n.ok(l(E),"err must be an Error"),n.func(C,"func"),E instanceof w?E.errors().forEach(function(P){C(P)}):C(E)};function v(){var E,C,M,P;return E=Array.prototype.slice.call(arguments,0),this instanceof v?(M=u({argv:E,strict:!0}),P=M.options,h.call(this,P,"%s",M.shortmessage),this):(C=Object.create(v.prototype),v.apply(C,arguments),C)}e.inherits(v,h);function w(E){n.array(E,"list of errors"),n.ok(E.length>0,"must be at least one error"),this.ase_errors=E,h.call(this,{cause:E[0]},"first of %d error%s",E.length,E.length==1?"":"s")}e.inherits(w,h),w.prototype.name="MultiError",w.prototype.errors=function(){return this.ase_errors.slice(0)};function A(){var E,C,M,P;return E=Array.prototype.slice.call(arguments,0),this instanceof A?(M=u({argv:E,strict:!1}),P=M.options,P.skipCauseMessage=!0,h.call(this,P,"%s",M.shortmessage),this):(C=Object.create(A.prototype),A.apply(C,E),C)}return e.inherits(A,h),A.prototype.name="WError",A.prototype.toString=function(){var C=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(C+=": "+this.message),this.jse_cause&&this.jse_cause.message&&(C+="; caused by "+this.jse_cause.toString()),C},A.prototype.cause=function(C){return l(C)&&(this.jse_cause=C),this.jse_cause},verror}var validate$1={exports:{}},hasRequiredValidate$1;function requireValidate$1(){return hasRequiredValidate$1||(hasRequiredValidate$1=1,function(n){(function(e,o){n.exports?n.exports=o():e.jsonSchema=o()})(commonjsGlobal$1,function(){var e=l;e.Integer={type:"integer"};var o={String,Boolean,Number,Object,Array,Date};e.validate=l;function l(t,u){return l(t,u,{changing:!1})}e.checkPropertyChange=function(t,u,h){return l(t,u,{changing:h||"property"})};var l=e._validate=function(t,u,h){h||(h={});var v=h.changing;function w(M){return M.type||o[M.name]==M&&M.name.toLowerCase()}var A=[];function E(M,P,I,j){var B;I+=I?typeof j=="number"?"["+j+"]":typeof j>"u"?"":"."+j:j;function F(le){A.push({property:I,message:le})}if((typeof P!="object"||P instanceof Array)&&(I||typeof P!="function")&&!(P&&w(P)))return typeof P=="function"?M instanceof P||F("is not an instance of the class/constructor "+P.name):P&&F("Invalid schema/property definition "+P),null;v&&P.readonly&&F("is a readonly field, it can not be changed"),P.extends&&E(M,P.extends,I,j);function N(le,he){if(le){if(typeof le=="string"&&le!="any"&&(le=="null"?he!==null:typeof he!=le)&&!(he instanceof Array&&le=="array")&&!(he instanceof Date&&le=="date")&&!(le=="integer"&&he%1===0))return[{property:I,message:he+" - "+typeof he+" value found, but a "+le+" is required"}];if(le instanceof Array){for(var ye=[],L=0;L<le.length&&(ye=N(le[L],he)).length;L++);if(ye.length)return ye}else if(typeof le=="object"){var p=A;A=[],E(he,le,I);var y=A;return A=p,y}}return[]}if(M===void 0)P.required&&F("is missing and it is required");else if(A=A.concat(N(w(P),M)),P.disallow&&!N(P.disallow,M).length&&F(" disallowed value was matched"),M!==null){if(M instanceof Array){if(P.items){var ee=P.items instanceof Array,Z=P.items;for(j=0,B=M.length;j<B;j+=1)ee&&(Z=P.items[j]),h.coerce&&(M[j]=h.coerce(M[j],Z)),A.concat(E(M[j],Z,I,j))}P.minItems&&M.length<P.minItems&&F("There must be a minimum of "+P.minItems+" in the array"),P.maxItems&&M.length>P.maxItems&&F("There must be a maximum of "+P.maxItems+" in the array")}else(P.properties||P.additionalProperties)&&A.concat(C(M,P.properties,I,P.additionalProperties));if(P.pattern&&typeof M=="string"&&!M.match(P.pattern)&&F("does not match the regex pattern "+P.pattern),P.maxLength&&typeof M=="string"&&M.length>P.maxLength&&F("may only be "+P.maxLength+" characters long"),P.minLength&&typeof M=="string"&&M.length<P.minLength&&F("must be at least "+P.minLength+" characters long"),typeof P.minimum<"u"&&typeof M==typeof P.minimum&&P.minimum>M&&F("must have a minimum value of "+P.minimum),typeof P.maximum<"u"&&typeof M==typeof P.maximum&&P.maximum<M&&F("must have a maximum value of "+P.maximum),P.enum){var re=P.enum;B=re.length;for(var fe,V=0;V<B;V++)if(re[V]===M){fe=1;break}fe||F("does not have a value in the enumeration "+re.join(", "))}typeof P.maxDecimal=="number"&&M.toString().match(new RegExp("\\.[0-9]{"+(P.maxDecimal+1)+",}"))&&F("may only have "+P.maxDecimal+" digits of decimal places")}return null}function C(M,P,I,j){if(typeof P=="object"){(typeof M!="object"||M instanceof Array)&&A.push({property:I,message:"an object is required"});for(var B in P)if(P.hasOwnProperty(B)&&B!="__proto__"&&B!="constructor"){var F=M.hasOwnProperty(B)?M[B]:void 0;if(F===void 0&&h.existingOnly)continue;var N=P[B];F===void 0&&N.default&&(F=M[B]=N.default),h.coerce&&B in M&&(F=M[B]=h.coerce(F,N)),E(F,N,I,B)}}for(B in M){if(M.hasOwnProperty(B)&&!(B.charAt(0)=="_"&&B.charAt(1)=="_")&&P&&!P[B]&&j===!1)if(h.filter){delete M[B];continue}else A.push({property:I,message:"The property "+B+" is not defined in the schema and the schema does not allow additional properties"});var ee=P&&P[B]&&P[B].requires;ee&&!(ee in M)&&A.push({property:I,message:"the presence of the property "+B+" requires that "+ee+" also be present"}),F=M[B],j&&(!(P&&typeof P=="object")||!(B in P))&&(h.coerce&&(F=M[B]=h.coerce(F,j)),E(F,j,I,B)),!v&&F&&F.$schema&&(A=A.concat(E(F,F.$schema,I,B)))}return A}return u&&E(t,u,"",v||""),!v&&t&&t.$schema&&E(t,t.$schema,"",""),{valid:!A.length,errors:A}};return e.mustBeValid=function(t){if(!t.valid)throw new TypeError(t.errors.map(function(u){return"for property "+u.property+": "+u.message}).join(`, 
+`))},e})}(validate$1)),validate$1.exports}var hasRequiredJsprim;function requireJsprim(){if(hasRequiredJsprim)return jsprim;hasRequiredJsprim=1;var n=requireAssert(),e=requireExtsprintf(),o=requireVerror(),l=requireValidate$1();jsprim.deepCopy=t,jsprim.deepEqual=u,jsprim.isEmpty=h,jsprim.hasKey=v,jsprim.forEachKey=w,jsprim.pluck=A,jsprim.flattenObject=P,jsprim.flattenIter=C,jsprim.validateJsonObject=ie,jsprim.validateJsonObjectJS=ie,jsprim.randElt=de,jsprim.extraProperties=lt,jsprim.mergeObjects=Je,jsprim.startsWith=I,jsprim.endsWith=j,jsprim.parseInteger=J,jsprim.iso8601=B,jsprim.rfc1123=ee,jsprim.parseDateTime=Z,jsprim.hrtimediff=pe,jsprim.hrtimeDiff=pe,jsprim.hrtimeAccum=dt,jsprim.hrtimeAdd=Tt,jsprim.hrtimeNanosec=qe,jsprim.hrtimeMicrosec=mt,jsprim.hrtimeMillisec=st;function t(ht){var at,bt,jt="__deepCopy";if(ht&&ht[jt])throw new Error("attempted deep copy of cyclic object");if(ht&&ht.constructor==Object){at={},ht[jt]=!0;for(bt in ht)bt!=jt&&(at[bt]=t(ht[bt]));return delete ht[jt],at}if(ht&&ht.constructor==Array){for(at=[],ht[jt]=!0,bt=0;bt<ht.length;bt++)at.push(t(ht[bt]));return delete ht[jt],at}return ht}function u(ht,at){if(typeof ht!=typeof at)return!1;if(ht===null||at===null||typeof ht!="object")return ht===at;if(ht.constructor!=at.constructor)return!1;var bt;for(bt in ht)if(!at.hasOwnProperty(bt)||!u(ht[bt],at[bt]))return!1;for(bt in at)if(!ht.hasOwnProperty(bt))return!1;return!0}function h(ht){var at;for(at in ht)return!1;return!0}function v(ht,at){return n.equal(typeof at,"string"),Object.prototype.hasOwnProperty.call(ht,at)}function w(ht,at){for(var bt in ht)v(ht,bt)&&at(bt,ht[bt])}function A(ht,at){return n.equal(typeof at,"string"),E(ht,at)}function E(ht,at){if(!(ht===null||typeof ht!="object")){if(ht.hasOwnProperty(at))return ht[at];var bt=at.indexOf(".");if(bt!=-1){var jt=at.substr(0,bt);if(ht.hasOwnProperty(jt))return E(ht[jt],at.substr(bt+1))}}}function C(ht,at,bt){M(ht,at,[],bt)}function M(ht,at,bt,jt){var Ge,Qe;if(at===0){Ge=bt.slice(0),Ge.push(ht),jt(Ge);return}n.ok(ht!==null),n.equal(typeof ht,"object"),n.equal(typeof at,"number"),n.ok(at>=0);for(Qe in ht)Ge=bt.slice(0),Ge.push(Qe),M(ht[Qe],at-1,Ge,jt)}function P(ht,at){if(at===0)return[ht];n.ok(ht!==null),n.equal(typeof ht,"object"),n.equal(typeof at,"number"),n.ok(at>=0);var bt=[],jt;for(jt in ht)P(ht[jt],at-1).forEach(function(Ge){bt.push([jt].concat(Ge))});return bt}function I(ht,at){return ht.substr(0,at.length)==at}function j(ht,at){return ht.substr(ht.length-at.length,at.length)==at}function B(ht){return typeof ht=="number"&&(ht=new Date(ht)),n.ok(ht.constructor===Date),e.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",ht.getUTCFullYear(),ht.getUTCMonth()+1,ht.getUTCDate(),ht.getUTCHours(),ht.getUTCMinutes(),ht.getUTCSeconds(),ht.getUTCMilliseconds())}var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],N=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function ee(ht){return e.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",N[ht.getUTCDay()],ht.getUTCDate(),F[ht.getUTCMonth()],ht.getUTCFullYear(),ht.getUTCHours(),ht.getUTCMinutes(),ht.getUTCSeconds())}function Z(ht){var at=+ht;return isNaN(at)?new Date(ht):new Date(at)}var re=Number.MAX_SAFE_INTEGER||9007199254740991,fe=Number.MIN_SAFE_INTEGER||-9007199254740991,V={base:10,allowSign:!0,allowPrefix:!1,allowTrailing:!1,allowImprecise:!1,trimWhitespace:!1,leadingZeroIsOctal:!1},le=48,he=57,ye=65,L=66,p=79,y=84,S=88,c=90,m=97,x=98,T=111,b=116,d=120,k=122,D=48,O=55,Q=87;function J(ht,at){n.string(ht,"str"),n.optionalObject(at,"options");var bt=!1,jt=V;at&&(bt=v(at,"base"),jt=Je(jt,at),n.number(jt.base,"options.base"),n.ok(jt.base>=2,"options.base >= 2"),n.ok(jt.base<=36,"options.base <= 36"),n.bool(jt.allowSign,"options.allowSign"),n.bool(jt.allowPrefix,"options.allowPrefix"),n.bool(jt.allowTrailing,"options.allowTrailing"),n.bool(jt.allowImprecise,"options.allowImprecise"),n.bool(jt.trimWhitespace,"options.trimWhitespace"),n.bool(jt.leadingZeroIsOctal,"options.leadingZeroIsOctal"),jt.leadingZeroIsOctal&&n.ok(!bt,'"base" and "leadingZeroIsOctal" are mutually exclusive'));var Ge,Qe=-1,Wt=jt.base,Et,Ct=1,Kt=0,Me=0,te=ht.length;if(jt.trimWhitespace)for(;Me<te&&U(ht.charCodeAt(Me));)++Me;for(jt.allowSign&&(ht[Me]==="-"?(Me+=1,Ct=-1):ht[Me]==="+"&&(Me+=1)),ht[Me]==="0"&&(jt.allowPrefix&&(Qe=z(ht.charCodeAt(Me+1)),Qe!==-1&&(!bt||Qe===Wt)&&(Wt=Qe,Me+=2)),Qe===-1&&jt.leadingZeroIsOctal&&(Wt=8)),Et=Me;Me<te&&(Ge=X(ht.charCodeAt(Me)),Ge!==-1&&Ge<Wt);++Me)Kt*=Wt,Kt+=Ge;if(Et===Me)return new Error("invalid number: "+JSON.stringify(ht));if(jt.trimWhitespace)for(;Me<te&&U(ht.charCodeAt(Me));)++Me;if(Me<te&&!jt.allowTrailing)return new Error("trailing characters after number: "+JSON.stringify(ht.slice(Me)));if(Kt===0)return 0;var _e=Kt*Ct;return!jt.allowImprecise&&(Kt>re||_e<fe)?new Error("number is outside of the supported range: "+JSON.stringify(ht.slice(Et,Me))):_e}function X(ht){return ht>=le&&ht<=he?ht-D:ht>=ye&&ht<=c?ht-O:ht>=m&&ht<=k?ht-Q:-1}function U(ht){return ht===32||ht>=9&&ht<=13||ht===160||ht===5760||ht===6158||ht>=8192&&ht<=8202||ht===8232||ht===8233||ht===8239||ht===8287||ht===12288||ht===65279}function z(ht){return ht===x||ht===L?2:ht===T||ht===p?8:ht===b||ht===y?10:ht===d||ht===S?16:-1}function ie(ht,at){var bt=l.validate(at,ht);if(bt.errors.length===0)return null;var jt=bt.errors[0],Ge=jt.property,Qe=jt.message.toLowerCase(),Wt,Et;(Wt=Qe.indexOf("the property "))!=-1&&(Et=Qe.indexOf(" is not defined in the schema and the schema does not allow additional properties"))!=-1&&(Wt+=13,Ge===""?Ge=Qe.substr(Wt,Et-Wt):Ge=Ge+"."+Qe.substr(Wt,Et-Wt),Qe="unsupported property");var Ct=new o.VError('property "%s": %s',Ge,Qe);return Ct.jsv_details=jt,Ct}function de(ht){return n.ok(Array.isArray(ht)&&ht.length>0,"randElt argument must be a non-empty array"),ht[Math.floor(Math.random()*ht.length)]}function me(ht){n.ok(ht[0]>=0&&ht[1]>=0,"negative numbers not allowed in hrtimes"),n.ok(ht[1]<1e9,"nanoseconds column overflow")}function pe(ht,at){me(ht),me(at),n.ok(ht[0]>at[0]||ht[0]==at[0]&&ht[1]>=at[1],"negative differences not allowed");var bt=[ht[0]-at[0],0];return ht[1]>=at[1]?bt[1]=ht[1]-at[1]:(bt[0]--,bt[1]=1e9-(at[1]-ht[1])),bt}function qe(ht){return me(ht),Math.floor(ht[0]*1e9+ht[1])}function mt(ht){return me(ht),Math.floor(ht[0]*1e6+ht[1]/1e3)}function st(ht){return me(ht),Math.floor(ht[0]*1e3+ht[1]/1e6)}function dt(ht,at){return me(ht),me(at),ht[1]+=at[1],ht[1]>=1e9&&(ht[0]++,ht[1]-=1e9),ht[0]+=at[0],ht}function Tt(ht,at){me(ht);var bt=[ht[0],ht[1]];return dt(bt,at)}function lt(ht,at){n.ok(typeof ht=="object"&&ht!==null,"obj argument must be a non-null object"),n.ok(Array.isArray(at),"allowed argument must be an array of strings");for(var bt=0;bt<at.length;bt++)n.ok(typeof at[bt]=="string","allowed argument must be an array of strings");return Object.keys(ht).filter(function(jt){return at.indexOf(jt)===-1})}function Je(ht,at,bt){var jt,Ge;if(jt={},bt)for(Ge in bt)jt[Ge]=bt[Ge];if(ht)for(Ge in ht)jt[Ge]=ht[Ge];if(at)for(Ge in at)jt[Ge]=at[Ge];return jt}return jsprim}var signer,hasRequiredSigner;function requireSigner(){if(hasRequiredSigner)return signer;hasRequiredSigner=1;var n=requireAssert(),e=requireCryptoBrowserify();requireStreamHttp();var o=util$6,l=requireLib$3(),t=requireJsprim(),u=requireUtils$1(),h=util$6.format,v=u.HASH_ALGOS,w=u.PK_ALGOS,A=u.InvalidAlgorithmError,E=u.HttpSignatureError,C=u.validateAlgorithm,M='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function P(B){E.call(this,B,P)}o.inherits(P,E);function I(B){E.call(this,B,I)}o.inherits(I,E);function j(B){n.object(B,"options");var F=[];if(B.algorithm!==void 0&&(n.string(B.algorithm,"options.algorithm"),F=C(B.algorithm)),this.rs_alg=F,B.sign!==void 0)n.func(B.sign,"options.sign"),this.rs_signFunc=B.sign;else if(F[0]==="hmac"&&B.key!==void 0){if(n.string(B.keyId,"options.keyId"),this.rs_keyId=B.keyId,typeof B.key!="string"&&!Buffer$C.isBuffer(B.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=e.createHmac(F[1].toUpperCase(),B.key),this.rs_signer.sign=function(){var ee=this.digest("base64");return{hashAlgorithm:F[1],toString:function(){return ee}}}}else if(B.key!==void 0){var N=B.key;if((typeof N=="string"||Buffer$C.isBuffer(N))&&(N=l.parsePrivateKey(N)),n.ok(l.PrivateKey.isPrivateKey(N,[1,2]),"options.key must be a sshpk.PrivateKey"),this.rs_key=N,n.string(B.keyId,"options.keyId"),this.rs_keyId=B.keyId,!w[N.type])throw new A(N.type.toUpperCase()+" type keys are not supported");if(F[0]!==void 0&&N.type!==F[0])throw new A("options.key must be a "+F[0].toUpperCase()+" key, was given a "+N.type.toUpperCase()+" key instead");this.rs_signer=N.createSign(F[1])}else throw new TypeError("options.sign (func) or options.key is required");this.rs_headers=[],this.rs_lines=[]}return j.prototype.writeHeader=function(B,F){if(n.string(B,"header"),B=B.toLowerCase(),n.string(F,"value"),this.rs_headers.push(B),this.rs_signFunc)this.rs_lines.push(B+": "+F);else{var N=B+": "+F;this.rs_headers.length>0&&(N=`
+`+N),this.rs_signer.update(N)}return F},j.prototype.writeDateHeader=function(){return this.writeHeader("date",t.rfc1123(new Date))},j.prototype.writeTarget=function(B,F){n.string(B,"method"),n.string(F,"path"),B=B.toLowerCase(),this.writeHeader("(request-target)",B+" "+F)},j.prototype.sign=function(B){if(n.func(B,"callback"),this.rs_headers.length<1)throw new Error("At least one header must be signed");var F,N;if(this.rs_signFunc){var ee=this.rs_lines.join(`
+`),Z=this;this.rs_signFunc(ee,function(V,le){if(V){B(V);return}try{n.object(le,"signature"),n.string(le.keyId,"signature.keyId"),n.string(le.algorithm,"signature.algorithm"),n.string(le.signature,"signature.signature"),F=C(le.algorithm),N=h(M,le.keyId,le.algorithm,Z.rs_headers.join(" "),le.signature)}catch(he){B(he);return}B(null,N)})}else{try{var re=this.rs_signer.sign()}catch(V){B(V);return}F=(this.rs_alg[0]||this.rs_key.type)+"-"+re.hashAlgorithm;var fe=re.toString();N=h(M,this.rs_keyId,F,this.rs_headers.join(" "),fe),B(null,N)}},signer={isSigner:function(B){return typeof B=="object"&&B instanceof j},createSigner:function(F){return new j(F)},signRequest:function(F,N){n.object(F,"request"),n.object(N,"options"),n.optionalString(N.algorithm,"options.algorithm"),n.string(N.keyId,"options.keyId"),n.optionalArrayOfString(N.headers,"options.headers"),n.optionalString(N.httpVersion,"options.httpVersion"),F.getHeader("Date")||F.setHeader("Date",t.rfc1123(new Date)),N.headers||(N.headers=["date"]),N.httpVersion||(N.httpVersion="1.1");var ee=[];N.algorithm&&(N.algorithm=N.algorithm.toLowerCase(),ee=C(N.algorithm));var Z,re="";for(Z=0;Z<N.headers.length;Z++){if(typeof N.headers[Z]!="string")throw new TypeError("options.headers must be an array of Strings");var fe=N.headers[Z].toLowerCase();if(fe==="request-line")if(!N.strict)re+=F.method+" "+F.path+" HTTP/"+N.httpVersion;else throw new I("request-line is not a valid header with strict parsing enabled.");else if(fe==="(request-target)")re+="(request-target): "+F.method.toLowerCase()+" "+F.path;else{var V=F.getHeader(fe);if(V===void 0||V==="")throw new P(fe+" was not in the request");re+=fe+": "+V}Z+1<N.headers.length&&(re+=`
+`)}F.hasOwnProperty("_stringToSign")&&(F._stringToSign=re);var le;if(ee[0]==="hmac"){if(typeof N.key!="string"&&!Buffer$C.isBuffer(N.key))throw new TypeError("options.key must be a string or Buffer");var he=e.createHmac(ee[1].toUpperCase(),N.key);he.update(re),le=he.digest("base64")}else{var ye=N.key;if((typeof ye=="string"||Buffer$C.isBuffer(ye))&&(ye=l.parsePrivateKey(N.key)),n.ok(l.PrivateKey.isPrivateKey(ye,[1,2]),"options.key must be a sshpk.PrivateKey"),!w[ye.type])throw new A(ye.type.toUpperCase()+" type keys are not supported");if(ee[0]!==void 0&&ye.type!==ee[0])throw new A("options.key must be a "+ee[0].toUpperCase()+" key, was given a "+ye.type.toUpperCase()+" key instead");var L=ye.createSign(ee[1]);L.update(re);var p=L.sign();if(!v[p.hashAlgorithm])throw new A(p.hashAlgorithm.toUpperCase()+" is not a supported hash algorithm");N.algorithm=ye.type+"-"+p.hashAlgorithm,le=p.toString(),n.notStrictEqual(le,"","empty signature produced")}var y=N.authorizationHeaderName||"Authorization";return F.setHeader(y,h(M,N.keyId,N.algorithm,N.headers.join(" "),le)),!0}},signer}var verify,hasRequiredVerify;function requireVerify(){if(hasRequiredVerify)return verify;hasRequiredVerify=1;var n=requireAssert(),e=requireCryptoBrowserify(),o=requireLib$3(),l=requireUtils$1();l.HASH_ALGOS,l.PK_ALGOS,l.InvalidAlgorithmError,l.HttpSignatureError;var t=l.validateAlgorithm;return verify={verifySignature:function(h,v){n.object(h,"parsedSignature"),(typeof v=="string"||Buffer$C.isBuffer(v))&&(v=o.parseKey(v)),n.ok(o.Key.isKey(v,[1,1]),"pubkey must be a sshpk.Key");var w=t(h.algorithm);if(w[0]==="hmac"||w[0]!==v.type)return!1;var A=v.createVerify(w[1]);return A.update(h.signingString),A.verify(h.params.signature,"base64")},verifyHMAC:function(h,v){n.object(h,"parsedHMAC"),n.string(v,"secret");var w=t(h.algorithm);if(w[0]!=="hmac")return!1;var A=w[1].toUpperCase(),E=e.createHmac(A,v);E.update(h.signingString);var C=e.createHmac(A,v);C.update(E.digest()),C=C.digest();var M=e.createHmac(A,v);return M.update(new Buffer$C(h.params.signature,"base64")),M=M.digest(),typeof C=="string"?C===M:Buffer$C.isBuffer(C)&&!C.equals?C.toString("binary")===M.toString("binary"):C.equals(M)}},verify}var lib$2,hasRequiredLib$2;function requireLib$2(){if(hasRequiredLib$2)return lib$2;hasRequiredLib$2=1;var n=requireParser(),e=requireSigner(),o=requireVerify(),l=requireUtils$1();return lib$2={parse:n.parseRequest,parseRequest:n.parseRequest,sign:e.signRequest,signRequest:e.signRequest,createSigner:e.createSigner,isSigner:e.isSigner,sshKeyToPEM:l.sshKeyToPEM,sshKeyFingerprint:l.fingerprint,pemToRsaSSHKey:l.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature,verifyHMAC:o.verifyHMAC},lib$2}var caseless={exports:{}},hasRequiredCaseless;function requireCaseless(){if(hasRequiredCaseless)return caseless.exports;hasRequiredCaseless=1;function n(e){this.dict=e||{}}return n.prototype.set=function(e,o,l){if(typeof e=="object")for(var t in e)this.set(t,e[t],o);else{typeof l>"u"&&(l=!0);var u=this.has(e);return!l&&u?this.dict[u]=this.dict[u]+","+o:this.dict[u||e]=o,u}},n.prototype.has=function(l){for(var o=Object.keys(this.dict),l=l.toLowerCase(),t=0;t<o.length;t++)if(o[t].toLowerCase()===l)return o[t];return!1},n.prototype.get=function(e){e=e.toLowerCase();var o,l,t=this.dict;return Object.keys(t).forEach(function(u){l=u.toLowerCase(),e===l&&(o=t[u])}),o},n.prototype.swap=function(e){var o=this.has(e);if(o!==e){if(!o)throw new Error('There is no header than matches "'+e+'"');this.dict[e]=this.dict[o],delete this.dict[o]}},n.prototype.del=function(e){var o=this.has(e);return delete this.dict[o||e]},caseless.exports=function(e){return new n(e)},caseless.exports.httpify=function(e,o){var l=new n(o);return e.setHeader=function(t,u,h){if(!(typeof u>"u"))return l.set(t,u,h)},e.hasHeader=function(t){return l.has(t)},e.getHeader=function(t){return l.get(t)},e.removeHeader=function(t){return l.del(t)},e.headers=l.dict,l},caseless.exports}var foreverAgent,hasRequiredForeverAgent;function requireForeverAgent(){if(hasRequiredForeverAgent)return foreverAgent;hasRequiredForeverAgent=1,foreverAgent=h,h.SSL=v;var n=util$6,e=requireStreamHttp().Agent,o=require$$1$5,l=require$$1$5,t=requireHttpsBrowserify().Agent;function u(A,E){var C="";return typeof A=="string"?C=A+":"+E:C=A.host+":"+A.port+":"+(A.localAddress?A.localAddress+":":":"),C}function h(A){var E=this;E.options=A||{},E.requests={},E.sockets={},E.freeSockets={},E.maxSockets=E.options.maxSockets||e.defaultMaxSockets,E.minSockets=E.options.minSockets||h.defaultMinSockets,E.on("free",function(C,M,P){var I=u(M,P);if(E.requests[I]&&E.requests[I].length)E.requests[I].shift().onSocket(C);else if(E.sockets[I].length<E.minSockets){E.freeSockets[I]||(E.freeSockets[I]=[]),E.freeSockets[I].push(C);var j=function(){C.destroy()};C._onIdleError=j,C.on("error",j)}else C.destroy()})}n.inherits(h,e),h.defaultMinSockets=5,h.prototype.createConnection=o.createConnection,h.prototype.addRequestNoreuse=e.prototype.addRequest,h.prototype.addRequest=function(A,E,C){var M=u(E,C);if(typeof E!="string"){var P=E;C=P.port,E=P.host}if(this.freeSockets[M]&&this.freeSockets[M].length>0&&!A.useChunkedEncodingByDefault){var I=this.freeSockets[M].pop();I.removeListener("error",I._onIdleError),delete I._onIdleError,A._reusedSocket=!0,A.onSocket(I)}else this.addRequestNoreuse(A,E,C)},h.prototype.removeSocket=function(A,E,C,M){if(this.sockets[E]){var P=this.sockets[E].indexOf(A);P!==-1&&this.sockets[E].splice(P,1)}else this.sockets[E]&&this.sockets[E].length===0&&(delete this.sockets[E],delete this.requests[E]);if(this.freeSockets[E]){var P=this.freeSockets[E].indexOf(A);P!==-1&&(this.freeSockets[E].splice(P,1),this.freeSockets[E].length===0&&delete this.freeSockets[E])}this.requests[E]&&this.requests[E].length&&this.createSocket(E,C,M).emit("free")};function v(A){h.call(this,A)}n.inherits(v,h),v.prototype.createConnection=w,v.prototype.addRequestNoreuse=t.prototype.addRequest;function w(A,E,C){return typeof A=="object"?C=A:typeof E=="object"?C=E:typeof C=="object"?C=C:C={},typeof A=="number"&&(C.port=A),typeof E=="string"&&(C.host=E),l.connect(C)}return foreverAgent}var browser,hasRequiredBrowser;function requireBrowser(){return hasRequiredBrowser||(hasRequiredBrowser=1,browser=typeof self=="object"?self.FormData:window.FormData),browser}var isstream={exports:{}},hasRequiredIsstream;function requireIsstream(){if(hasRequiredIsstream)return isstream.exports;hasRequiredIsstream=1;var n=requireStreamBrowserify();function e(u){return u instanceof n.Stream}function o(u){return e(u)&&typeof u._read=="function"&&typeof u._readableState=="object"}function l(u){return e(u)&&typeof u._write=="function"&&typeof u._writableState=="object"}function t(u){return o(u)&&l(u)}return isstream.exports=e,isstream.exports.isReadable=o,isstream.exports.isWritable=l,isstream.exports.isDuplex=t,isstream.exports}var isTypedarray,hasRequiredIsTypedarray;function requireIsTypedarray(){if(hasRequiredIsTypedarray)return isTypedarray;hasRequiredIsTypedarray=1,isTypedarray=o,o.strict=l,o.loose=t;var n=Object.prototype.toString,e={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0};function o(u){return l(u)||t(u)}function l(u){return u instanceof Int8Array||u instanceof Int16Array||u instanceof Int32Array||u instanceof Uint8Array||u instanceof Uint8ClampedArray||u instanceof Uint16Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array}function t(u){return e[n.call(u)]}return isTypedarray}var getProxyFromURI_1,hasRequiredGetProxyFromURI;function requireGetProxyFromURI(){if(hasRequiredGetProxyFromURI)return getProxyFromURI_1;hasRequiredGetProxyFromURI=1;function n(t){return t.replace(/^\.*/,".").toLowerCase()}function e(t){t=t.trim().toLowerCase();var u=t.split(":",2),h=n(u[0]),v=u[1],w=t.indexOf(":")>-1;return{hostname:h,port:v,hasPort:w}}function o(t,u){var h=t.port||(t.protocol==="https:"?"443":"80"),v=n(t.hostname),w=u.split(",");return w.map(e).some(function(A){var E=v.indexOf(A.hostname),C=E>-1&&E===v.length-A.hostname.length;return A.hasPort?h===A.port&&C:C})}function l(t){var u=process$1.env.NO_PROXY||process$1.env.no_proxy||"";return u==="*"||u!==""&&o(t,u)?null:t.protocol==="http:"?process$1.env.HTTP_PROXY||process$1.env.http_proxy||null:t.protocol==="https:"&&(process$1.env.HTTPS_PROXY||process$1.env.https_proxy||process$1.env.HTTP_PROXY||process$1.env.http_proxy)||null}return getProxyFromURI_1=l,getProxyFromURI_1}var querystring={},utils,hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var n=Object.prototype.hasOwnProperty,e=function(){for(var C=[],M=0;M<256;++M)C.push("%"+((M<16?"0":"")+M.toString(16)).toUpperCase());return C}(),o=function(M){for(var P;M.length;){var I=M.pop();if(P=I.obj[I.prop],Array.isArray(P)){for(var j=[],B=0;B<P.length;++B)typeof P[B]<"u"&&j.push(P[B]);I.obj[I.prop]=j}}return P},l=function(M,P){for(var I=P&&P.plainObjects?Object.create(null):{},j=0;j<M.length;++j)typeof M[j]<"u"&&(I[j]=M[j]);return I},t=function C(M,P,I){if(!P)return M;if(typeof P!="object"){if(Array.isArray(M))M.push(P);else if(M&&typeof M=="object")(I&&(I.plainObjects||I.allowPrototypes)||!n.call(Object.prototype,P))&&(M[P]=!0);else return[M,P];return M}if(!M||typeof M!="object")return[M].concat(P);var j=M;return Array.isArray(M)&&!Array.isArray(P)&&(j=l(M,I)),Array.isArray(M)&&Array.isArray(P)?(P.forEach(function(B,F){if(n.call(M,F)){var N=M[F];N&&typeof N=="object"&&B&&typeof B=="object"?M[F]=C(N,B,I):M.push(B)}else M[F]=B}),M):Object.keys(P).reduce(function(B,F){var N=P[F];return n.call(B,F)?B[F]=C(B[F],N,I):B[F]=N,B},j)},u=function(M,P){return Object.keys(P).reduce(function(I,j){return I[j]=P[j],I},M)},h=function(C){try{return decodeURIComponent(C.replace(/\+/g," "))}catch{return C}},v=function(M){if(M.length===0)return M;for(var P=typeof M=="string"?M:String(M),I="",j=0;j<P.length;++j){var B=P.charCodeAt(j);if(B===45||B===46||B===95||B===126||B>=48&&B<=57||B>=65&&B<=90||B>=97&&B<=122){I+=P.charAt(j);continue}if(B<128){I=I+e[B];continue}if(B<2048){I=I+(e[192|B>>6]+e[128|B&63]);continue}if(B<55296||B>=57344){I=I+(e[224|B>>12]+e[128|B>>6&63]+e[128|B&63]);continue}j+=1,B=65536+((B&1023)<<10|P.charCodeAt(j)&1023),I+=e[240|B>>18]+e[128|B>>12&63]+e[128|B>>6&63]+e[128|B&63]}return I},w=function(M){for(var P=[{obj:{o:M},prop:"o"}],I=[],j=0;j<P.length;++j)for(var B=P[j],F=B.obj[B.prop],N=Object.keys(F),ee=0;ee<N.length;++ee){var Z=N[ee],re=F[Z];typeof re=="object"&&re!==null&&I.indexOf(re)===-1&&(P.push({obj:F,prop:Z}),I.push(re))}return o(P)},A=function(M){return Object.prototype.toString.call(M)==="[object RegExp]"},E=function(M){return M===null||typeof M>"u"?!1:!!(M.constructor&&M.constructor.isBuffer&&M.constructor.isBuffer(M))};return utils={arrayToObject:l,assign:u,compact:w,decode:h,encode:v,isBuffer:E,isRegExp:A,merge:t},utils}var formats,hasRequiredFormats$1;function requireFormats$1(){if(hasRequiredFormats$1)return formats;hasRequiredFormats$1=1;var n=String.prototype.replace,e=/%20/g;return formats={default:"RFC3986",formatters:{RFC1738:function(o){return n.call(o,e,"+")},RFC3986:function(o){return String(o)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},formats}var stringify_1,hasRequiredStringify;function requireStringify(){if(hasRequiredStringify)return stringify_1;hasRequiredStringify=1;var n=requireUtils(),e=requireFormats$1(),o={brackets:function(E){return E+"[]"},indices:function(E,C){return E+"["+C+"]"},repeat:function(E){return E}},l=Array.isArray,t=Array.prototype.push,u=function(A,E){t.apply(A,l(E)?E:[E])},h=Date.prototype.toISOString,v={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(E){return h.call(E)},skipNulls:!1,strictNullHandling:!1},w=function A(E,C,M,P,I,j,B,F,N,ee,Z,re){var fe=E;if(typeof B=="function"?fe=B(C,fe):fe instanceof Date&&(fe=ee(fe)),fe===null){if(P)return j&&!re?j(C,v.encoder):C;fe=""}if(typeof fe=="string"||typeof fe=="number"||typeof fe=="boolean"||n.isBuffer(fe)){if(j){var V=re?C:j(C,v.encoder);return[Z(V)+"="+Z(j(fe,v.encoder))]}return[Z(C)+"="+Z(String(fe))]}var le=[];if(typeof fe>"u")return le;var he;if(l(B))he=B;else{var ye=Object.keys(fe);he=F?ye.sort(F):ye}for(var L=0;L<he.length;++L){var p=he[L];I&&fe[p]===null||(l(fe)?u(le,A(fe[p],M(C,p),M,P,I,j,B,F,N,ee,Z,re)):u(le,A(fe[p],C+(N?"."+p:"["+p+"]"),M,P,I,j,B,F,N,ee,Z,re)))}return le};return stringify_1=function(A,E){var C=A,M=E?n.assign({},E):{};if(M.encoder!==null&&typeof M.encoder<"u"&&typeof M.encoder!="function")throw new TypeError("Encoder has to be a function.");var P=typeof M.delimiter>"u"?v.delimiter:M.delimiter,I=typeof M.strictNullHandling=="boolean"?M.strictNullHandling:v.strictNullHandling,j=typeof M.skipNulls=="boolean"?M.skipNulls:v.skipNulls,B=typeof M.encode=="boolean"?M.encode:v.encode,F=typeof M.encoder=="function"?M.encoder:v.encoder,N=typeof M.sort=="function"?M.sort:null,ee=typeof M.allowDots>"u"?!1:M.allowDots,Z=typeof M.serializeDate=="function"?M.serializeDate:v.serializeDate,re=typeof M.encodeValuesOnly=="boolean"?M.encodeValuesOnly:v.encodeValuesOnly;if(typeof M.format>"u")M.format=e.default;else if(!Object.prototype.hasOwnProperty.call(e.formatters,M.format))throw new TypeError("Unknown format option provided.");var fe=e.formatters[M.format],V,le;typeof M.filter=="function"?(le=M.filter,C=le("",C)):l(M.filter)&&(le=M.filter,V=le);var he=[];if(typeof C!="object"||C===null)return"";var ye;M.arrayFormat in o?ye=M.arrayFormat:"indices"in M?ye=M.indices?"indices":"repeat":ye="indices";var L=o[ye];V||(V=Object.keys(C)),N&&V.sort(N);for(var p=0;p<V.length;++p){var y=V[p];j&&C[y]===null||u(he,w(C[y],y,L,I,j,B?F:null,le,N,ee,Z,fe,re))}var S=he.join(P),c=M.addQueryPrefix===!0?"?":"";return S.length>0?c+S:""},stringify_1}var parse,hasRequiredParse;function requireParse(){if(hasRequiredParse)return parse;hasRequiredParse=1;var n=requireUtils(),e=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},l=function(v,w){for(var A={},E=w.ignoreQueryPrefix?v.replace(/^\?/,""):v,C=w.parameterLimit===1/0?void 0:w.parameterLimit,M=E.split(w.delimiter,C),P=0;P<M.length;++P){var I=M[P],j=I.indexOf("]="),B=j===-1?I.indexOf("="):j+1,F,N;B===-1?(F=w.decoder(I,o.decoder),N=w.strictNullHandling?null:""):(F=w.decoder(I.slice(0,B),o.decoder),N=w.decoder(I.slice(B+1),o.decoder)),e.call(A,F)?A[F]=[].concat(A[F]).concat(N):A[F]=N}return A},t=function(h,v,w){for(var A=v,E=h.length-1;E>=0;--E){var C,M=h[E];if(M==="[]"&&w.parseArrays)C=[].concat(A);else{C=w.plainObjects?Object.create(null):{};var P=M.charAt(0)==="["&&M.charAt(M.length-1)==="]"?M.slice(1,-1):M,I=parseInt(P,10);!w.parseArrays&&P===""?C={0:A}:!isNaN(I)&&M!==P&&String(I)===P&&I>=0&&w.parseArrays&&I<=w.arrayLimit?(C=[],C[I]=A):P!=="__proto__"&&(C[P]=A)}A=C}return A},u=function(v,w,A){if(v){var E=A.allowDots?v.replace(/\.([^.[]+)/g,"[$1]"):v,C=/(\[[^[\]]*])/,M=/(\[[^[\]]*])/g,P=C.exec(E),I=P?E.slice(0,P.index):E,j=[];if(I){if(!A.plainObjects&&e.call(Object.prototype,I)&&!A.allowPrototypes)return;j.push(I)}for(var B=0;(P=M.exec(E))!==null&&B<A.depth;){if(B+=1,!A.plainObjects&&e.call(Object.prototype,P[1].slice(1,-1))&&!A.allowPrototypes)return;j.push(P[1])}return P&&j.push("["+E.slice(P.index)+"]"),t(j,w,A)}};return parse=function(h,v){var w=v?n.assign({},v):{};if(w.decoder!==null&&w.decoder!==void 0&&typeof w.decoder!="function")throw new TypeError("Decoder has to be a function.");if(w.ignoreQueryPrefix=w.ignoreQueryPrefix===!0,w.delimiter=typeof w.delimiter=="string"||n.isRegExp(w.delimiter)?w.delimiter:o.delimiter,w.depth=typeof w.depth=="number"?w.depth:o.depth,w.arrayLimit=typeof w.arrayLimit=="number"?w.arrayLimit:o.arrayLimit,w.parseArrays=w.parseArrays!==!1,w.decoder=typeof w.decoder=="function"?w.decoder:o.decoder,w.allowDots=typeof w.allowDots=="boolean"?w.allowDots:o.allowDots,w.plainObjects=typeof w.plainObjects=="boolean"?w.plainObjects:o.plainObjects,w.allowPrototypes=typeof w.allowPrototypes=="boolean"?w.allowPrototypes:o.allowPrototypes,w.parameterLimit=typeof w.parameterLimit=="number"?w.parameterLimit:o.parameterLimit,w.strictNullHandling=typeof w.strictNullHandling=="boolean"?w.strictNullHandling:o.strictNullHandling,h===""||h===null||typeof h>"u")return w.plainObjects?Object.create(null):{};for(var A=typeof h=="string"?l(h,w):h,E=w.plainObjects?Object.create(null):{},C=Object.keys(A),M=0;M<C.length;++M){var P=C[M],I=u(P,A[P],w);E=n.merge(E,I,w)}return n.compact(E)},parse}var lib$1,hasRequiredLib$1;function requireLib$1(){if(hasRequiredLib$1)return lib$1;hasRequiredLib$1=1;var n=requireStringify(),e=requireParse(),o=requireFormats$1();return lib$1={formats:o,parse:e,stringify:n},lib$1}var hasRequiredQuerystring;function requireQuerystring(){if(hasRequiredQuerystring)return querystring;hasRequiredQuerystring=1;var n=requireLib$1(),e=require$$1$1;function o(l){this.request=l,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}return o.prototype.init=function(l){this.lib||(this.useQuerystring=l.useQuerystring,this.lib=this.useQuerystring?e:n,this.parseOptions=l.qsParseOptions||{},this.stringifyOptions=l.qsStringifyOptions||{})},o.prototype.stringify=function(l){return this.useQuerystring?this.rfc3986(this.lib.stringify(l,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(l,this.stringifyOptions)},o.prototype.parse=function(l){return this.useQuerystring?this.lib.parse(l,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(l,this.parseOptions)},o.prototype.rfc3986=function(l){return l.replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})},o.prototype.unescape=e.unescape,querystring.Querystring=o,querystring}var har={},promise={},uri_all={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */var hasRequiredUri_all;function requireUri_all(){return hasRequiredUri_all||(hasRequiredUri_all=1,function(n,e){(function(o,l){l(e)})(commonjsGlobal$1,function(o){function l(){for(var be=arguments.length,ve=Array(be),se=0;se<be;se++)ve[se]=arguments[se];if(ve.length>1){ve[0]=ve[0].slice(0,-1);for(var Pe=ve.length-1,ze=1;ze<Pe;++ze)ve[ze]=ve[ze].slice(1,-1);return ve[Pe]=ve[Pe].slice(1),ve.join("")}else return ve[0]}function t(be){return"(?:"+be+")"}function u(be){return be===void 0?"undefined":be===null?"null":Object.prototype.toString.call(be).split(" ").pop().split("]").shift().toLowerCase()}function h(be){return be.toUpperCase()}function v(be){return be!=null?be instanceof Array?be:typeof be.length!="number"||be.split||be.setInterval||be.call?[be]:Array.prototype.slice.call(be):[]}function w(be,ve){var se=be;if(ve)for(var Pe in ve)se[Pe]=ve[Pe];return se}function A(be){var ve="[A-Za-z]",se="[0-9]",Pe=l(se,"[A-Fa-f]"),ze=t(t("%[EFef]"+Pe+"%"+Pe+Pe+"%"+Pe+Pe)+"|"+t("%[89A-Fa-f]"+Pe+"%"+Pe+Pe)+"|"+t("%"+Pe+Pe)),xt="[\\:\\/\\?\\#\\[\\]\\@]",ot="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",wt=l(xt,ot),Yt=be?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Jt=be?"[\\uE000-\\uF8FF]":"[]",wr=l(ve,se,"[\\-\\.\\_\\~]",Yt);t(ve+l(ve,se,"[\\+\\-\\.]")+"*"),t(t(ze+"|"+l(wr,ot,"[\\:]"))+"*");var lr=t(t("25[0-5]")+"|"+t("2[0-4]"+se)+"|"+t("1"+se+se)+"|"+t("0?[1-9]"+se)+"|0?0?"+se),Rr=t(lr+"\\."+lr+"\\."+lr+"\\."+lr),vr=t(Pe+"{1,4}"),dr=t(t(vr+"\\:"+vr)+"|"+Rr),Ir=t(t(vr+"\\:")+"{6}"+dr),kr=t("\\:\\:"+t(vr+"\\:")+"{5}"+dr),Fr=t(t(vr)+"?\\:\\:"+t(vr+"\\:")+"{4}"+dr),jr=t(t(t(vr+"\\:")+"{0,1}"+vr)+"?\\:\\:"+t(vr+"\\:")+"{3}"+dr),Cr=t(t(t(vr+"\\:")+"{0,2}"+vr)+"?\\:\\:"+t(vr+"\\:")+"{2}"+dr),Lr=t(t(t(vr+"\\:")+"{0,3}"+vr)+"?\\:\\:"+vr+"\\:"+dr),Ar=t(t(t(vr+"\\:")+"{0,4}"+vr)+"?\\:\\:"+dr),Tr=t(t(t(vr+"\\:")+"{0,5}"+vr)+"?\\:\\:"+vr),Sr=t(t(t(vr+"\\:")+"{0,6}"+vr)+"?\\:\\:"),rr=t([Ir,kr,Fr,jr,Cr,Lr,Ar,Tr,Sr].join("|")),Nt=t(t(wr+"|"+ze)+"+");t("[vV]"+Pe+"+\\."+l(wr,ot,"[\\:]")+"+"),t(t(ze+"|"+l(wr,ot))+"*");var Gt=t(ze+"|"+l(wr,ot,"[\\:\\@]"));return t(t(ze+"|"+l(wr,ot,"[\\@]"))+"+"),t(t(Gt+"|"+l("[\\/\\?]",Jt))+"*"),{NOT_SCHEME:new RegExp(l("[^]",ve,se,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(l("[^\\%\\:]",wr,ot),"g"),NOT_HOST:new RegExp(l("[^\\%\\[\\]\\:]",wr,ot),"g"),NOT_PATH:new RegExp(l("[^\\%\\/\\:\\@]",wr,ot),"g"),NOT_PATH_NOSCHEME:new RegExp(l("[^\\%\\/\\@]",wr,ot),"g"),NOT_QUERY:new RegExp(l("[^\\%]",wr,ot,"[\\:\\@\\/\\?]",Jt),"g"),NOT_FRAGMENT:new RegExp(l("[^\\%]",wr,ot,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(l("[^]",wr,ot),"g"),UNRESERVED:new RegExp(wr,"g"),OTHER_CHARS:new RegExp(l("[^\\%]",wr,wt),"g"),PCT_ENCODED:new RegExp(ze,"g"),IPV4ADDRESS:new RegExp("^("+Rr+")$"),IPV6ADDRESS:new RegExp("^\\[?("+rr+")"+t(t("\\%25|\\%(?!"+Pe+"{2})")+"("+Nt+")")+"?\\]?$")}}var E=A(!1),C=A(!0),M=function(){function be(ve,se){var Pe=[],ze=!0,xt=!1,ot=void 0;try{for(var wt=ve[Symbol.iterator](),Yt;!(ze=(Yt=wt.next()).done)&&(Pe.push(Yt.value),!(se&&Pe.length===se));ze=!0);}catch(Jt){xt=!0,ot=Jt}finally{try{!ze&&wt.return&&wt.return()}finally{if(xt)throw ot}}return Pe}return function(ve,se){if(Array.isArray(ve))return ve;if(Symbol.iterator in Object(ve))return be(ve,se);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),P=function(be){if(Array.isArray(be)){for(var ve=0,se=Array(be.length);ve<be.length;ve++)se[ve]=be[ve];return se}else return Array.from(be)},I=2147483647,j=36,B=1,F=26,N=38,ee=700,Z=72,re=128,fe="-",V=/^xn--/,le=/[^\0-\x7E]/,he=/[\x2E\u3002\uFF0E\uFF61]/g,ye={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=j-B,p=Math.floor,y=String.fromCharCode;function S(be){throw new RangeError(ye[be])}function c(be,ve){for(var se=[],Pe=be.length;Pe--;)se[Pe]=ve(be[Pe]);return se}function m(be,ve){var se=be.split("@"),Pe="";se.length>1&&(Pe=se[0]+"@",be=se[1]),be=be.replace(he,".");var ze=be.split("."),xt=c(ze,ve).join(".");return Pe+xt}function x(be){for(var ve=[],se=0,Pe=be.length;se<Pe;){var ze=be.charCodeAt(se++);if(ze>=55296&&ze<=56319&&se<Pe){var xt=be.charCodeAt(se++);(xt&64512)==56320?ve.push(((ze&1023)<<10)+(xt&1023)+65536):(ve.push(ze),se--)}else ve.push(ze)}return ve}var T=function(ve){return String.fromCodePoint.apply(String,P(ve))},b=function(ve){return ve-48<10?ve-22:ve-65<26?ve-65:ve-97<26?ve-97:j},d=function(ve,se){return ve+22+75*(ve<26)-((se!=0)<<5)},k=function(ve,se,Pe){var ze=0;for(ve=Pe?p(ve/ee):ve>>1,ve+=p(ve/se);ve>L*F>>1;ze+=j)ve=p(ve/L);return p(ze+(L+1)*ve/(ve+N))},D=function(ve){var se=[],Pe=ve.length,ze=0,xt=re,ot=Z,wt=ve.lastIndexOf(fe);wt<0&&(wt=0);for(var Yt=0;Yt<wt;++Yt)ve.charCodeAt(Yt)>=128&&S("not-basic"),se.push(ve.charCodeAt(Yt));for(var Jt=wt>0?wt+1:0;Jt<Pe;){for(var wr=ze,lr=1,Rr=j;;Rr+=j){Jt>=Pe&&S("invalid-input");var vr=b(ve.charCodeAt(Jt++));(vr>=j||vr>p((I-ze)/lr))&&S("overflow"),ze+=vr*lr;var dr=Rr<=ot?B:Rr>=ot+F?F:Rr-ot;if(vr<dr)break;var Ir=j-dr;lr>p(I/Ir)&&S("overflow"),lr*=Ir}var kr=se.length+1;ot=k(ze-wr,kr,wr==0),p(ze/kr)>I-xt&&S("overflow"),xt+=p(ze/kr),ze%=kr,se.splice(ze++,0,xt)}return String.fromCodePoint.apply(String,se)},O=function(ve){var se=[];ve=x(ve);var Pe=ve.length,ze=re,xt=0,ot=Z,wt=!0,Yt=!1,Jt=void 0;try{for(var wr=ve[Symbol.iterator](),lr;!(wt=(lr=wr.next()).done);wt=!0){var Rr=lr.value;Rr<128&&se.push(y(Rr))}}catch(Hr){Yt=!0,Jt=Hr}finally{try{!wt&&wr.return&&wr.return()}finally{if(Yt)throw Jt}}var vr=se.length,dr=vr;for(vr&&se.push(fe);dr<Pe;){var Ir=I,kr=!0,Fr=!1,jr=void 0;try{for(var Cr=ve[Symbol.iterator](),Lr;!(kr=(Lr=Cr.next()).done);kr=!0){var Ar=Lr.value;Ar>=ze&&Ar<Ir&&(Ir=Ar)}}catch(Hr){Fr=!0,jr=Hr}finally{try{!kr&&Cr.return&&Cr.return()}finally{if(Fr)throw jr}}var Tr=dr+1;Ir-ze>p((I-xt)/Tr)&&S("overflow"),xt+=(Ir-ze)*Tr,ze=Ir;var Sr=!0,rr=!1,Nt=void 0;try{for(var Gt=ve[Symbol.iterator](),xr;!(Sr=(xr=Gt.next()).done);Sr=!0){var pr=xr.value;if(pr<ze&&++xt>I&&S("overflow"),pr==ze){for(var tr=xt,br=j;;br+=j){var Nr=br<=ot?B:br>=ot+F?F:br-ot;if(tr<Nr)break;var Yr=tr-Nr,ei=j-Nr;se.push(y(d(Nr+Yr%ei,0))),tr=p(Yr/ei)}se.push(y(d(tr,0))),ot=k(xt,Tr,dr==vr),xt=0,++dr}}}catch(Hr){rr=!0,Nt=Hr}finally{try{!Sr&&Gt.return&&Gt.return()}finally{if(rr)throw Nt}}++xt,++ze}return se.join("")},Q=function(ve){return m(ve,function(se){return V.test(se)?D(se.slice(4).toLowerCase()):se})},J=function(ve){return m(ve,function(se){return le.test(se)?"xn--"+O(se):se})},X={version:"2.1.0",ucs2:{decode:x,encode:T},decode:D,encode:O,toASCII:J,toUnicode:Q},U={};function z(be){var ve=be.charCodeAt(0),se=void 0;return ve<16?se="%0"+ve.toString(16).toUpperCase():ve<128?se="%"+ve.toString(16).toUpperCase():ve<2048?se="%"+(ve>>6|192).toString(16).toUpperCase()+"%"+(ve&63|128).toString(16).toUpperCase():se="%"+(ve>>12|224).toString(16).toUpperCase()+"%"+(ve>>6&63|128).toString(16).toUpperCase()+"%"+(ve&63|128).toString(16).toUpperCase(),se}function ie(be){for(var ve="",se=0,Pe=be.length;se<Pe;){var ze=parseInt(be.substr(se+1,2),16);if(ze<128)ve+=String.fromCharCode(ze),se+=3;else if(ze>=194&&ze<224){if(Pe-se>=6){var xt=parseInt(be.substr(se+4,2),16);ve+=String.fromCharCode((ze&31)<<6|xt&63)}else ve+=be.substr(se,6);se+=6}else if(ze>=224){if(Pe-se>=9){var ot=parseInt(be.substr(se+4,2),16),wt=parseInt(be.substr(se+7,2),16);ve+=String.fromCharCode((ze&15)<<12|(ot&63)<<6|wt&63)}else ve+=be.substr(se,9);se+=9}else ve+=be.substr(se,3),se+=3}return ve}function de(be,ve){function se(Pe){var ze=ie(Pe);return ze.match(ve.UNRESERVED)?ze:Pe}return be.scheme&&(be.scheme=String(be.scheme).replace(ve.PCT_ENCODED,se).toLowerCase().replace(ve.NOT_SCHEME,"")),be.userinfo!==void 0&&(be.userinfo=String(be.userinfo).replace(ve.PCT_ENCODED,se).replace(ve.NOT_USERINFO,z).replace(ve.PCT_ENCODED,h)),be.host!==void 0&&(be.host=String(be.host).replace(ve.PCT_ENCODED,se).toLowerCase().replace(ve.NOT_HOST,z).replace(ve.PCT_ENCODED,h)),be.path!==void 0&&(be.path=String(be.path).replace(ve.PCT_ENCODED,se).replace(be.scheme?ve.NOT_PATH:ve.NOT_PATH_NOSCHEME,z).replace(ve.PCT_ENCODED,h)),be.query!==void 0&&(be.query=String(be.query).replace(ve.PCT_ENCODED,se).replace(ve.NOT_QUERY,z).replace(ve.PCT_ENCODED,h)),be.fragment!==void 0&&(be.fragment=String(be.fragment).replace(ve.PCT_ENCODED,se).replace(ve.NOT_FRAGMENT,z).replace(ve.PCT_ENCODED,h)),be}function me(be){return be.replace(/^0*(.*)/,"$1")||"0"}function pe(be,ve){var se=be.match(ve.IPV4ADDRESS)||[],Pe=M(se,2),ze=Pe[1];return ze?ze.split(".").map(me).join("."):be}function qe(be,ve){var se=be.match(ve.IPV6ADDRESS)||[],Pe=M(se,3),ze=Pe[1],xt=Pe[2];if(ze){for(var ot=ze.toLowerCase().split("::").reverse(),wt=M(ot,2),Yt=wt[0],Jt=wt[1],wr=Jt?Jt.split(":").map(me):[],lr=Yt.split(":").map(me),Rr=ve.IPV4ADDRESS.test(lr[lr.length-1]),vr=Rr?7:8,dr=lr.length-vr,Ir=Array(vr),kr=0;kr<vr;++kr)Ir[kr]=wr[kr]||lr[dr+kr]||"";Rr&&(Ir[vr-1]=pe(Ir[vr-1],ve));var Fr=Ir.reduce(function(Tr,Sr,rr){if(!Sr||Sr==="0"){var Nt=Tr[Tr.length-1];Nt&&Nt.index+Nt.length===rr?Nt.length++:Tr.push({index:rr,length:1})}return Tr},[]),jr=Fr.sort(function(Tr,Sr){return Sr.length-Tr.length})[0],Cr=void 0;if(jr&&jr.length>1){var Lr=Ir.slice(0,jr.index),Ar=Ir.slice(jr.index+jr.length);Cr=Lr.join(":")+"::"+Ar.join(":")}else Cr=Ir.join(":");return xt&&(Cr+="%"+xt),Cr}else return be}var mt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,st="".match(/(){0}/)[1]===void 0;function dt(be){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},se={},Pe=ve.iri!==!1?C:E;ve.reference==="suffix"&&(be=(ve.scheme?ve.scheme+":":"")+"//"+be);var ze=be.match(mt);if(ze){st?(se.scheme=ze[1],se.userinfo=ze[3],se.host=ze[4],se.port=parseInt(ze[5],10),se.path=ze[6]||"",se.query=ze[7],se.fragment=ze[8],isNaN(se.port)&&(se.port=ze[5])):(se.scheme=ze[1]||void 0,se.userinfo=be.indexOf("@")!==-1?ze[3]:void 0,se.host=be.indexOf("//")!==-1?ze[4]:void 0,se.port=parseInt(ze[5],10),se.path=ze[6]||"",se.query=be.indexOf("?")!==-1?ze[7]:void 0,se.fragment=be.indexOf("#")!==-1?ze[8]:void 0,isNaN(se.port)&&(se.port=be.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ze[4]:void 0)),se.host&&(se.host=qe(pe(se.host,Pe),Pe)),se.scheme===void 0&&se.userinfo===void 0&&se.host===void 0&&se.port===void 0&&!se.path&&se.query===void 0?se.reference="same-document":se.scheme===void 0?se.reference="relative":se.fragment===void 0?se.reference="absolute":se.reference="uri",ve.reference&&ve.reference!=="suffix"&&ve.reference!==se.reference&&(se.error=se.error||"URI is not a "+ve.reference+" reference.");var xt=U[(ve.scheme||se.scheme||"").toLowerCase()];if(!ve.unicodeSupport&&(!xt||!xt.unicodeSupport)){if(se.host&&(ve.domainHost||xt&&xt.domainHost))try{se.host=X.toASCII(se.host.replace(Pe.PCT_ENCODED,ie).toLowerCase())}catch(ot){se.error=se.error||"Host's domain name can not be converted to ASCII via punycode: "+ot}de(se,E)}else de(se,Pe);xt&&xt.parse&&xt.parse(se,ve)}else se.error=se.error||"URI can not be parsed.";return se}function Tt(be,ve){var se=ve.iri!==!1?C:E,Pe=[];return be.userinfo!==void 0&&(Pe.push(be.userinfo),Pe.push("@")),be.host!==void 0&&Pe.push(qe(pe(String(be.host),se),se).replace(se.IPV6ADDRESS,function(ze,xt,ot){return"["+xt+(ot?"%25"+ot:"")+"]"})),(typeof be.port=="number"||typeof be.port=="string")&&(Pe.push(":"),Pe.push(String(be.port))),Pe.length?Pe.join(""):void 0}var lt=/^\.\.?\//,Je=/^\/\.(\/|$)/,ht=/^\/\.\.(\/|$)/,at=/^\/?(?:.|\n)*?(?=\/|$)/;function bt(be){for(var ve=[];be.length;)if(be.match(lt))be=be.replace(lt,"");else if(be.match(Je))be=be.replace(Je,"/");else if(be.match(ht))be=be.replace(ht,"/"),ve.pop();else if(be==="."||be==="..")be="";else{var se=be.match(at);if(se){var Pe=se[0];be=be.slice(Pe.length),ve.push(Pe)}else throw new Error("Unexpected dot segment condition")}return ve.join("")}function jt(be){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},se=ve.iri?C:E,Pe=[],ze=U[(ve.scheme||be.scheme||"").toLowerCase()];if(ze&&ze.serialize&&ze.serialize(be,ve),be.host&&!se.IPV6ADDRESS.test(be.host)){if(ve.domainHost||ze&&ze.domainHost)try{be.host=ve.iri?X.toUnicode(be.host):X.toASCII(be.host.replace(se.PCT_ENCODED,ie).toLowerCase())}catch(wt){be.error=be.error||"Host's domain name can not be converted to "+(ve.iri?"Unicode":"ASCII")+" via punycode: "+wt}}de(be,se),ve.reference!=="suffix"&&be.scheme&&(Pe.push(be.scheme),Pe.push(":"));var xt=Tt(be,ve);if(xt!==void 0&&(ve.reference!=="suffix"&&Pe.push("//"),Pe.push(xt),be.path&&be.path.charAt(0)!=="/"&&Pe.push("/")),be.path!==void 0){var ot=be.path;!ve.absolutePath&&(!ze||!ze.absolutePath)&&(ot=bt(ot)),xt===void 0&&(ot=ot.replace(/^\/\//,"/%2F")),Pe.push(ot)}return be.query!==void 0&&(Pe.push("?"),Pe.push(be.query)),be.fragment!==void 0&&(Pe.push("#"),Pe.push(be.fragment)),Pe.join("")}function Ge(be,ve){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Pe=arguments[3],ze={};return Pe||(be=dt(jt(be,se),se),ve=dt(jt(ve,se),se)),se=se||{},!se.tolerant&&ve.scheme?(ze.scheme=ve.scheme,ze.userinfo=ve.userinfo,ze.host=ve.host,ze.port=ve.port,ze.path=bt(ve.path||""),ze.query=ve.query):(ve.userinfo!==void 0||ve.host!==void 0||ve.port!==void 0?(ze.userinfo=ve.userinfo,ze.host=ve.host,ze.port=ve.port,ze.path=bt(ve.path||""),ze.query=ve.query):(ve.path?(ve.path.charAt(0)==="/"?ze.path=bt(ve.path):((be.userinfo!==void 0||be.host!==void 0||be.port!==void 0)&&!be.path?ze.path="/"+ve.path:be.path?ze.path=be.path.slice(0,be.path.lastIndexOf("/")+1)+ve.path:ze.path=ve.path,ze.path=bt(ze.path)),ze.query=ve.query):(ze.path=be.path,ve.query!==void 0?ze.query=ve.query:ze.query=be.query),ze.userinfo=be.userinfo,ze.host=be.host,ze.port=be.port),ze.scheme=be.scheme),ze.fragment=ve.fragment,ze}function Qe(be,ve,se){var Pe=w({scheme:"null"},se);return jt(Ge(dt(be,Pe),dt(ve,Pe),Pe,!0),Pe)}function Wt(be,ve){return typeof be=="string"?be=jt(dt(be,ve),ve):u(be)==="object"&&(be=dt(jt(be,ve),ve)),be}function Et(be,ve,se){return typeof be=="string"?be=jt(dt(be,se),se):u(be)==="object"&&(be=jt(be,se)),typeof ve=="string"?ve=jt(dt(ve,se),se):u(ve)==="object"&&(ve=jt(ve,se)),be===ve}function Ct(be,ve){return be&&be.toString().replace(!ve||!ve.iri?E.ESCAPE:C.ESCAPE,z)}function Kt(be,ve){return be&&be.toString().replace(!ve||!ve.iri?E.PCT_ENCODED:C.PCT_ENCODED,ie)}var Me={scheme:"http",domainHost:!0,parse:function(ve,se){return ve.host||(ve.error=ve.error||"HTTP URIs must have a host."),ve},serialize:function(ve,se){var Pe=String(ve.scheme).toLowerCase()==="https";return(ve.port===(Pe?443:80)||ve.port==="")&&(ve.port=void 0),ve.path||(ve.path="/"),ve}},te={scheme:"https",domainHost:Me.domainHost,parse:Me.parse,serialize:Me.serialize};function _e(be){return typeof be.secure=="boolean"?be.secure:String(be.scheme).toLowerCase()==="wss"}var je={scheme:"ws",domainHost:!0,parse:function(ve,se){var Pe=ve;return Pe.secure=_e(Pe),Pe.resourceName=(Pe.path||"/")+(Pe.query?"?"+Pe.query:""),Pe.path=void 0,Pe.query=void 0,Pe},serialize:function(ve,se){if((ve.port===(_e(ve)?443:80)||ve.port==="")&&(ve.port=void 0),typeof ve.secure=="boolean"&&(ve.scheme=ve.secure?"wss":"ws",ve.secure=void 0),ve.resourceName){var Pe=ve.resourceName.split("?"),ze=M(Pe,2),xt=ze[0],ot=ze[1];ve.path=xt&&xt!=="/"?xt:void 0,ve.query=ot,ve.resourceName=void 0}return ve.fragment=void 0,ve}},We={scheme:"wss",domainHost:je.domainHost,parse:je.parse,serialize:je.serialize},et={},Ye="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",De="[0-9A-Fa-f]",Ht=t(t("%[EFef]"+De+"%"+De+De+"%"+De+De)+"|"+t("%[89A-Fa-f]"+De+"%"+De+De)+"|"+t("%"+De+De)),Mt="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",ge="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Dt=l(ge,'[\\"\\\\]'),yt="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Ne=new RegExp(Ye,"g"),_t=new RegExp(Ht,"g"),pt=new RegExp(l("[^]",Mt,"[\\.]",'[\\"]',Dt),"g"),Bt=new RegExp(l("[^]",Ye,yt),"g"),ur=Bt;function kt(be){var ve=ie(be);return ve.match(Ne)?ve:be}var Ut={scheme:"mailto",parse:function(ve,se){var Pe=ve,ze=Pe.to=Pe.path?Pe.path.split(","):[];if(Pe.path=void 0,Pe.query){for(var xt=!1,ot={},wt=Pe.query.split("&"),Yt=0,Jt=wt.length;Yt<Jt;++Yt){var wr=wt[Yt].split("=");switch(wr[0]){case"to":for(var lr=wr[1].split(","),Rr=0,vr=lr.length;Rr<vr;++Rr)ze.push(lr[Rr]);break;case"subject":Pe.subject=Kt(wr[1],se);break;case"body":Pe.body=Kt(wr[1],se);break;default:xt=!0,ot[Kt(wr[0],se)]=Kt(wr[1],se);break}}xt&&(Pe.headers=ot)}Pe.query=void 0;for(var dr=0,Ir=ze.length;dr<Ir;++dr){var kr=ze[dr].split("@");if(kr[0]=Kt(kr[0]),se.unicodeSupport)kr[1]=Kt(kr[1],se).toLowerCase();else try{kr[1]=X.toASCII(Kt(kr[1],se).toLowerCase())}catch(Fr){Pe.error=Pe.error||"Email address's domain name can not be converted to ASCII via punycode: "+Fr}ze[dr]=kr.join("@")}return Pe},serialize:function(ve,se){var Pe=ve,ze=v(ve.to);if(ze){for(var xt=0,ot=ze.length;xt<ot;++xt){var wt=String(ze[xt]),Yt=wt.lastIndexOf("@"),Jt=wt.slice(0,Yt).replace(_t,kt).replace(_t,h).replace(pt,z),wr=wt.slice(Yt+1);try{wr=se.iri?X.toUnicode(wr):X.toASCII(Kt(wr,se).toLowerCase())}catch(dr){Pe.error=Pe.error||"Email address's domain name can not be converted to "+(se.iri?"Unicode":"ASCII")+" via punycode: "+dr}ze[xt]=Jt+"@"+wr}Pe.path=ze.join(",")}var lr=ve.headers=ve.headers||{};ve.subject&&(lr.subject=ve.subject),ve.body&&(lr.body=ve.body);var Rr=[];for(var vr in lr)lr[vr]!==et[vr]&&Rr.push(vr.replace(_t,kt).replace(_t,h).replace(Bt,z)+"="+lr[vr].replace(_t,kt).replace(_t,h).replace(ur,z));return Rr.length&&(Pe.query=Rr.join("&")),Pe}},Wr=/^([^\:]+)\:(.*)/,zt={scheme:"urn",parse:function(ve,se){var Pe=ve.path&&ve.path.match(Wr),ze=ve;if(Pe){var xt=se.scheme||ze.scheme||"urn",ot=Pe[1].toLowerCase(),wt=Pe[2],Yt=xt+":"+(se.nid||ot),Jt=U[Yt];ze.nid=ot,ze.nss=wt,ze.path=void 0,Jt&&(ze=Jt.parse(ze,se))}else ze.error=ze.error||"URN can not be parsed.";return ze},serialize:function(ve,se){var Pe=se.scheme||ve.scheme||"urn",ze=ve.nid,xt=Pe+":"+(se.nid||ze),ot=U[xt];ot&&(ve=ot.serialize(ve,se));var wt=ve,Yt=ve.nss;return wt.path=(ze||se.nid)+":"+Yt,wt}},Qt=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,$e={scheme:"urn:uuid",parse:function(ve,se){var Pe=ve;return Pe.uuid=Pe.nss,Pe.nss=void 0,!se.tolerant&&(!Pe.uuid||!Pe.uuid.match(Qt))&&(Pe.error=Pe.error||"UUID is not valid."),Pe},serialize:function(ve,se){var Pe=ve;return Pe.nss=(ve.uuid||"").toLowerCase(),Pe}};U[Me.scheme]=Me,U[te.scheme]=te,U[je.scheme]=je,U[We.scheme]=We,U[Ut.scheme]=Ut,U[zt.scheme]=zt,U[$e.scheme]=$e,o.SCHEMES=U,o.pctEncChar=z,o.pctDecChars=ie,o.parse=dt,o.removeDotSegments=bt,o.serialize=jt,o.resolveComponents=Ge,o.resolve=Qe,o.normalize=Wt,o.equal=Et,o.escapeComponent=Ct,o.unescapeComponent=Kt,Object.defineProperty(o,"__esModule",{value:!0})})}(uri_all,uri_all.exports)),uri_all.exports}var fastDeepEqual,hasRequiredFastDeepEqual;function requireFastDeepEqual(){return hasRequiredFastDeepEqual||(hasRequiredFastDeepEqual=1,fastDeepEqual=function n(e,o){if(e===o)return!0;if(e&&o&&typeof e=="object"&&typeof o=="object"){if(e.constructor!==o.constructor)return!1;var l,t,u;if(Array.isArray(e)){if(l=e.length,l!=o.length)return!1;for(t=l;t--!==0;)if(!n(e[t],o[t]))return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===o.toString();if(u=Object.keys(e),l=u.length,l!==Object.keys(o).length)return!1;for(t=l;t--!==0;)if(!Object.prototype.hasOwnProperty.call(o,u[t]))return!1;for(t=l;t--!==0;){var h=u[t];if(!n(e[h],o[h]))return!1}return!0}return e!==e&&o!==o}),fastDeepEqual}var ucs2length,hasRequiredUcs2length;function requireUcs2length(){return hasRequiredUcs2length||(hasRequiredUcs2length=1,ucs2length=function(e){for(var o=0,l=e.length,t=0,u;t<l;)o++,u=e.charCodeAt(t++),u>=55296&&u<=56319&&t<l&&(u=e.charCodeAt(t),(u&64512)==56320&&t++);return o}),ucs2length}var util,hasRequiredUtil;function requireUtil(){if(hasRequiredUtil)return util;hasRequiredUtil=1,util={copy:n,checkDataType:e,checkDataTypes:o,coerceToTypes:t,toHash:u,getProperty:w,escapeQuotes:A,equal:requireFastDeepEqual(),ucs2length:requireUcs2length(),varOccurences:E,varReplace:C,schemaHasRules:M,schemaHasRulesExcept:P,schemaUnknownRules:I,toQuotedString:j,getPathExpr:B,getPath:F,getData:Z,unescapeFragment:fe,unescapeJsonPointer:he,escapeFragment:V,escapeJsonPointer:le};function n(ye,L){L=L||{};for(var p in ye)L[p]=ye[p];return L}function e(ye,L,p,y){var S=y?" !== ":" === ",c=y?" || ":" && ",m=y?"!":"",x=y?"":"!";switch(ye){case"null":return L+S+"null";case"array":return m+"Array.isArray("+L+")";case"object":return"("+m+L+c+"typeof "+L+S+'"object"'+c+x+"Array.isArray("+L+"))";case"integer":return"(typeof "+L+S+'"number"'+c+x+"("+L+" % 1)"+c+L+S+L+(p?c+m+"isFinite("+L+")":"")+")";case"number":return"(typeof "+L+S+'"'+ye+'"'+(p?c+m+"isFinite("+L+")":"")+")";default:return"typeof "+L+S+'"'+ye+'"'}}function o(ye,L,p){switch(ye.length){case 1:return e(ye[0],L,p,!0);default:var y="",S=u(ye);S.array&&S.object&&(y=S.null?"(":"(!"+L+" || ",y+="typeof "+L+' !== "object")',delete S.null,delete S.array,delete S.object),S.number&&delete S.integer;for(var c in S)y+=(y?" && ":"")+e(c,L,p,!0);return y}}var l=u(["string","number","integer","boolean","null"]);function t(ye,L){if(Array.isArray(L)){for(var p=[],y=0;y<L.length;y++){var S=L[y];(l[S]||ye==="array"&&S==="array")&&(p[p.length]=S)}if(p.length)return p}else{if(l[L])return[L];if(ye==="array"&&L==="array")return["array"]}}function u(ye){for(var L={},p=0;p<ye.length;p++)L[ye[p]]=!0;return L}var h=/^[a-z$_][a-z$_0-9]*$/i,v=/'|\\/g;function w(ye){return typeof ye=="number"?"["+ye+"]":h.test(ye)?"."+ye:"['"+A(ye)+"']"}function A(ye){return ye.replace(v,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function E(ye,L){L+="[^0-9]";var p=ye.match(new RegExp(L,"g"));return p?p.length:0}function C(ye,L,p){return L+="([^0-9])",p=p.replace(/\$/g,"$$$$"),ye.replace(new RegExp(L,"g"),p+"$1")}function M(ye,L){if(typeof ye=="boolean")return!ye;for(var p in ye)if(L[p])return!0}function P(ye,L,p){if(typeof ye=="boolean")return!ye&&p!="not";for(var y in ye)if(y!=p&&L[y])return!0}function I(ye,L){if(typeof ye!="boolean"){for(var p in ye)if(!L[p])return p}}function j(ye){return"'"+A(ye)+"'"}function B(ye,L,p,y){var S=p?"'/' + "+L+(y?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):y?"'[' + "+L+" + ']'":"'[\\'' + "+L+" + '\\']'";return re(ye,S)}function F(ye,L,p){var y=j(p?"/"+le(L):w(L));return re(ye,y)}var N=/^\/(?:[^~]|~0|~1)*$/,ee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Z(ye,L,p){var y,S,c,m;if(ye==="")return"rootData";if(ye[0]=="/"){if(!N.test(ye))throw new Error("Invalid JSON-pointer: "+ye);S=ye,c="rootData"}else{if(m=ye.match(ee),!m)throw new Error("Invalid JSON-pointer: "+ye);if(y=+m[1],S=m[2],S=="#"){if(y>=L)throw new Error("Cannot access property/index "+y+" levels up, current level is "+L);return p[L-y]}if(y>L)throw new Error("Cannot access data "+y+" levels up, current level is "+L);if(c="data"+(L-y||""),!S)return c}for(var x=c,T=S.split("/"),b=0;b<T.length;b++){var d=T[b];d&&(c+=w(he(d)),x+=" && "+c)}return x}function re(ye,L){return ye=='""'?L:(ye+" + "+L).replace(/([^\\])' \+ '/g,"$1")}function fe(ye){return he(decodeURIComponent(ye))}function V(ye){return encodeURIComponent(le(ye))}function le(ye){return ye.replace(/~/g,"~0").replace(/\//g,"~1")}function he(ye){return ye.replace(/~1/g,"/").replace(/~0/g,"~")}return util}var schema_obj,hasRequiredSchema_obj;function requireSchema_obj(){if(hasRequiredSchema_obj)return schema_obj;hasRequiredSchema_obj=1;var n=requireUtil();schema_obj=e;function e(o){n.copy(o,this)}return schema_obj}var jsonSchemaTraverse={exports:{}},hasRequiredJsonSchemaTraverse;function requireJsonSchemaTraverse(){if(hasRequiredJsonSchemaTraverse)return jsonSchemaTraverse.exports;hasRequiredJsonSchemaTraverse=1;var n=jsonSchemaTraverse.exports=function(l,t,u){typeof t=="function"&&(u=t,t={}),u=t.cb||u;var h=typeof u=="function"?u:u.pre||function(){},v=u.post||function(){};e(t,h,v,l,"",l)};n.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},n.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},n.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},n.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function e(l,t,u,h,v,w,A,E,C,M){if(h&&typeof h=="object"&&!Array.isArray(h)){t(h,v,w,A,E,C,M);for(var P in h){var I=h[P];if(Array.isArray(I)){if(P in n.arrayKeywords)for(var j=0;j<I.length;j++)e(l,t,u,I[j],v+"/"+P+"/"+j,w,v,P,h,j)}else if(P in n.propsKeywords){if(I&&typeof I=="object")for(var B in I)e(l,t,u,I[B],v+"/"+P+"/"+o(B),w,v,P,h,B)}else(P in n.keywords||l.allKeys&&!(P in n.skipKeywords))&&e(l,t,u,I,v+"/"+P,w,v,P,h)}u(h,v,w,A,E,C,M)}}function o(l){return l.replace(/~/g,"~0").replace(/\//g,"~1")}return jsonSchemaTraverse.exports}var resolve_1,hasRequiredResolve;function requireResolve(){if(hasRequiredResolve)return resolve_1;hasRequiredResolve=1;var n=requireUri_all(),e=requireFastDeepEqual(),o=requireUtil(),l=requireSchema_obj(),t=requireJsonSchemaTraverse();resolve_1=u,u.normalizeId=F,u.fullPath=I,u.url=N,u.ids=ee,u.inlineRef=C,u.schema=h;function u(Z,re,fe){var V=this._refs[fe];if(typeof V=="string")if(this._refs[V])V=this._refs[V];else return u.call(this,Z,re,V);if(V=V||this._schemas[fe],V instanceof l)return C(V.schema,this._opts.inlineRefs)?V.schema:V.validate||this._compile(V);var le=h.call(this,re,fe),he,ye,L;return le&&(he=le.schema,re=le.root,L=le.baseId),he instanceof l?ye=he.validate||Z.call(this,he.schema,re,void 0,L):he!==void 0&&(ye=C(he,this._opts.inlineRefs)?he:Z.call(this,he,re,void 0,L)),ye}function h(Z,re){var fe=n.parse(re),V=j(fe),le=I(this._getId(Z.schema));if(Object.keys(Z.schema).length===0||V!==le){var he=F(V),ye=this._refs[he];if(typeof ye=="string")return v.call(this,Z,ye,fe);if(ye instanceof l)ye.validate||this._compile(ye),Z=ye;else if(ye=this._schemas[he],ye instanceof l){if(ye.validate||this._compile(ye),he==F(re))return{schema:ye,root:Z,baseId:le};Z=ye}else return;if(!Z.schema)return;le=I(this._getId(Z.schema))}return A.call(this,fe,le,Z.schema,Z)}function v(Z,re,fe){var V=h.call(this,Z,re);if(V){var le=V.schema,he=V.baseId;Z=V.root;var ye=this._getId(le);return ye&&(he=N(he,ye)),A.call(this,fe,he,le,Z)}}var w=o.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function A(Z,re,fe,V){if(Z.fragment=Z.fragment||"",Z.fragment.slice(0,1)=="/"){for(var le=Z.fragment.split("/"),he=1;he<le.length;he++){var ye=le[he];if(ye){if(ye=o.unescapeFragment(ye),fe=fe[ye],fe===void 0)break;var L;if(!w[ye]&&(L=this._getId(fe),L&&(re=N(re,L)),fe.$ref)){var p=N(re,fe.$ref),y=h.call(this,V,p);y&&(fe=y.schema,V=y.root,re=y.baseId)}}}if(fe!==void 0&&fe!==V.schema)return{schema:fe,root:V,baseId:re}}}var E=o.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function C(Z,re){if(re===!1)return!1;if(re===void 0||re===!0)return M(Z);if(re)return P(Z)<=re}function M(Z){var re;if(Array.isArray(Z)){for(var fe=0;fe<Z.length;fe++)if(re=Z[fe],typeof re=="object"&&!M(re))return!1}else for(var V in Z)if(V=="$ref"||(re=Z[V],typeof re=="object"&&!M(re)))return!1;return!0}function P(Z){var re=0,fe;if(Array.isArray(Z)){for(var V=0;V<Z.length;V++)if(fe=Z[V],typeof fe=="object"&&(re+=P(fe)),re==1/0)return 1/0}else for(var le in Z){if(le=="$ref")return 1/0;if(E[le])re++;else if(fe=Z[le],typeof fe=="object"&&(re+=P(fe)+1),re==1/0)return 1/0}return re}function I(Z,re){re!==!1&&(Z=F(Z));var fe=n.parse(Z);return j(fe)}function j(Z){return n.serialize(Z).split("#")[0]+"#"}var B=/#\/?$/;function F(Z){return Z?Z.replace(B,""):""}function N(Z,re){return re=F(re),n.resolve(Z,re)}function ee(Z){var re=F(this._getId(Z)),fe={"":re},V={"":I(re,!1)},le={},he=this;return t(Z,{allKeys:!0},function(ye,L,p,y,S,c,m){if(L!==""){var x=he._getId(ye),T=fe[y],b=V[y]+"/"+S;if(m!==void 0&&(b+="/"+(typeof m=="number"?m:o.escapeFragment(m))),typeof x=="string"){x=T=F(T?n.resolve(T,x):x);var d=he._refs[x];if(typeof d=="string"&&(d=he._refs[d]),d&&d.schema){if(!e(ye,d.schema))throw new Error('id "'+x+'" resolves to more than one schema')}else if(x!=F(b))if(x[0]=="#"){if(le[x]&&!e(ye,le[x]))throw new Error('id "'+x+'" resolves to more than one schema');le[x]=ye}else he._refs[x]=b}fe[L]=T,V[L]=b}}),le}return resolve_1}var error_classes,hasRequiredError_classes;function requireError_classes(){if(hasRequiredError_classes)return error_classes;hasRequiredError_classes=1;var n=requireResolve();error_classes={Validation:l(e),MissingRef:l(o)};function e(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}o.message=function(t,u){return"can't resolve reference "+u+" from id "+t};function o(t,u,h){this.message=h||o.message(t,u),this.missingRef=n.url(t,u),this.missingSchema=n.normalizeId(n.fullPath(this.missingRef))}function l(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}return error_classes}var fastJsonStableStringify,hasRequiredFastJsonStableStringify;function requireFastJsonStableStringify(){return hasRequiredFastJsonStableStringify||(hasRequiredFastJsonStableStringify=1,fastJsonStableStringify=function(n,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var o=typeof e.cycles=="boolean"?e.cycles:!1,l=e.cmp&&function(u){return function(h){return function(v,w){var A={key:v,value:h[v]},E={key:w,value:h[w]};return u(A,E)}}}(e.cmp),t=[];return function u(h){if(h&&h.toJSON&&typeof h.toJSON=="function"&&(h=h.toJSON()),h!==void 0){if(typeof h=="number")return isFinite(h)?""+h:"null";if(typeof h!="object")return JSON.stringify(h);var v,w;if(Array.isArray(h)){for(w="[",v=0;v<h.length;v++)v&&(w+=","),w+=u(h[v])||"null";return w+"]"}if(h===null)return"null";if(t.indexOf(h)!==-1){if(o)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var A=t.push(h)-1,E=Object.keys(h).sort(l&&l(h));for(w="",v=0;v<E.length;v++){var C=E[v],M=u(h[C]);M&&(w&&(w+=","),w+=JSON.stringify(C)+":"+M)}return t.splice(A,1),"{"+w+"}"}}(n)}),fastJsonStableStringify}var validate,hasRequiredValidate;function requireValidate(){return hasRequiredValidate||(hasRequiredValidate=1,validate=function(e,o,l){var t="",u=e.schema.$async===!0,h=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),v=e.self._getId(e.schema);if(e.opts.strictKeywords){var w=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(w){var A="unknown keyword: "+w;if(e.opts.strictKeywords==="log")e.logger.warn(A);else throw new Error(A)}}if(e.isTop&&(t+=" var validate = ",u&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",v&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+v+" */")+" ")),typeof e.schema=="boolean"||!(h||e.schema.$ref)){var o="false schema",E=e.level,C=e.dataLevel,M=e.schema[o],P=e.schemaPath+e.util.getProperty(o),I=e.errSchemaPath+"/"+o,re=!e.opts.allErrors,le,j="data"+(C||""),Z="valid"+E;if(e.schema===!1){e.isTop?re=!0:t+=" var "+Z+" = false; ";var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(le||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(I)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+j+" "),t+=" } "):t+=" {} ";var F=t;t=B.pop(),!e.compositeRule&&re?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?u?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+Z+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var N=e.isTop,E=e.level=0,C=e.dataLevel=0,j="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var ee="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(ee);else throw new Error(ee)}t+=" var vErrors = null; ",t+=" var errors = 0;     ",t+=" if (rootData === undefined) rootData = data; "}else{var E=e.level,C=e.dataLevel,j="data"+(C||"");if(v&&(e.baseId=e.resolve.url(e.baseId,v)),u&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+E+" = errors;"}var Z="valid"+E,re=!e.opts.allErrors,fe="",V="",le,he=e.schema.type,ye=Array.isArray(he);if(he&&e.opts.nullable&&e.schema.nullable===!0&&(ye?he.indexOf("null")==-1&&(he=he.concat("null")):he!="null"&&(he=[he,"null"],ye=!0)),ye&&he.length==1&&(he=he[0],ye=!1),e.schema.$ref&&h){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(h=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),he){if(e.opts.coerceTypes)var L=e.util.coerceToTypes(e.opts.coerceTypes,he);var p=e.RULES.types[he];if(L||ye||p===!0||p&&!Je(p)){var P=e.schemaPath+".type",I=e.errSchemaPath+"/type",P=e.schemaPath+".type",I=e.errSchemaPath+"/type",y=ye?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[y](he,j,e.opts.strictNumbers,!0)+") { ",L){var S="dataType"+E,c="coerced"+E;t+=" var "+S+" = typeof "+j+"; var "+c+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+S+" == 'object' && Array.isArray("+j+") && "+j+".length == 1) { "+j+" = "+j+"[0]; "+S+" = typeof "+j+"; if ("+e.util.checkDataType(e.schema.type,j,e.opts.strictNumbers)+") "+c+" = "+j+"; } "),t+=" if ("+c+" !== undefined) ; ";var m=L;if(m)for(var x,T=-1,b=m.length-1;T<b;)x=m[T+=1],x=="string"?t+=" else if ("+S+" == 'number' || "+S+" == 'boolean') "+c+" = '' + "+j+"; else if ("+j+" === null) "+c+" = ''; ":x=="number"||x=="integer"?(t+=" else if ("+S+" == 'boolean' || "+j+" === null || ("+S+" == 'string' && "+j+" && "+j+" == +"+j+" ",x=="integer"&&(t+=" && !("+j+" % 1)"),t+=")) "+c+" = +"+j+"; "):x=="boolean"?t+=" else if ("+j+" === 'false' || "+j+" === 0 || "+j+" === null) "+c+" = false; else if ("+j+" === 'true' || "+j+" === 1) "+c+" = true; ":x=="null"?t+=" else if ("+j+" === '' || "+j+" === 0 || "+j+" === false) "+c+" = null; ":e.opts.coerceTypes=="array"&&x=="array"&&(t+=" else if ("+S+" == 'string' || "+S+" == 'number' || "+S+" == 'boolean' || "+j+" == null) "+c+" = ["+j+"]; ");t+=" else {   ";var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(le||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(I)+" , params: { type: '",ye?t+=""+he.join(","):t+=""+he,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",ye?t+=""+he.join(","):t+=""+he,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+P+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+j+" "),t+=" } "):t+=" {} ";var F=t;t=B.pop(),!e.compositeRule&&re?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+c+" !== undefined) {  ";var d=C?"data"+(C-1||""):"parentData",k=C?e.dataPathArr[C]:"parentDataProperty";t+=" "+j+" = "+c+"; ",C||(t+="if ("+d+" !== undefined)"),t+=" "+d+"["+k+"] = "+c+"; } "}else{var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(le||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(I)+" , params: { type: '",ye?t+=""+he.join(","):t+=""+he,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",ye?t+=""+he.join(","):t+=""+he,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+P+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+j+" "),t+=" } "):t+=" {} ";var F=t;t=B.pop(),!e.compositeRule&&re?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!h)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",re&&(t+=" } if (errors === ",N?t+="0":t+="errs_"+E,t+=") { ",V+="}");else{var D=e.RULES;if(D){for(var p,O=-1,Q=D.length-1;O<Q;)if(p=D[O+=1],Je(p)){if(p.type&&(t+=" if ("+e.util.checkDataType(p.type,j,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(p.type=="object"&&e.schema.properties){var M=e.schema.properties,J=Object.keys(M),X=J;if(X)for(var U,z=-1,ie=X.length-1;z<ie;){U=X[z+=1];var de=M[U];if(de.default!==void 0){var me=j+e.util.getProperty(U);if(e.compositeRule){if(e.opts.strictDefaults){var ee="default is ignored for: "+me;if(e.opts.strictDefaults==="log")e.logger.warn(ee);else throw new Error(ee)}}else t+=" if ("+me+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+me+" === null || "+me+" === '' "),t+=" ) "+me+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(de.default)+" ":t+=" "+JSON.stringify(de.default)+" ",t+="; "}}}else if(p.type=="array"&&Array.isArray(e.schema.items)){var pe=e.schema.items;if(pe){for(var de,T=-1,qe=pe.length-1;T<qe;)if(de=pe[T+=1],de.default!==void 0){var me=j+"["+T+"]";if(e.compositeRule){if(e.opts.strictDefaults){var ee="default is ignored for: "+me;if(e.opts.strictDefaults==="log")e.logger.warn(ee);else throw new Error(ee)}}else t+=" if ("+me+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+me+" === null || "+me+" === '' "),t+=" ) "+me+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(de.default)+" ":t+=" "+JSON.stringify(de.default)+" ",t+="; "}}}}var mt=p.rules;if(mt){for(var st,dt=-1,Tt=mt.length-1;dt<Tt;)if(st=mt[dt+=1],ht(st)){var lt=st.code(e,st.keyword,p.type);lt&&(t+=" "+lt+" ",re&&(fe+="}"))}}if(re&&(t+=" "+fe+" ",fe=""),p.type&&(t+=" } ",he&&he===p.type&&!L)){t+=" else { ";var P=e.schemaPath+".type",I=e.errSchemaPath+"/type",B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(le||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(I)+" , params: { type: '",ye?t+=""+he.join(","):t+=""+he,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",ye?t+=""+he.join(","):t+=""+he,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+P+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+j+" "),t+=" } "):t+=" {} ";var F=t;t=B.pop(),!e.compositeRule&&re?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}re&&(t+=" if (errors === ",N?t+="0":t+="errs_"+E,t+=") { ",V+="}")}}}re&&(t+=" "+V+" "),N?(u?(t+=" if (errors === 0) return data;           ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0;       "),t+=" }; return validate;"):t+=" var "+Z+" = errors === errs_"+E+";";function Je(bt){for(var jt=bt.rules,Ge=0;Ge<jt.length;Ge++)if(ht(jt[Ge]))return!0}function ht(bt){return e.schema[bt.keyword]!==void 0||bt.implements&&at(bt)}function at(bt){for(var jt=bt.implements,Ge=0;Ge<jt.length;Ge++)if(e.schema[jt[Ge]]!==void 0)return!0}return t}),validate}var compile_1,hasRequiredCompile;function requireCompile(){if(hasRequiredCompile)return compile_1;hasRequiredCompile=1;var n=requireResolve(),e=requireUtil(),o=requireError_classes(),l=requireFastJsonStableStringify(),t=requireValidate(),u=e.ucs2length,h=requireFastDeepEqual(),v=o.Validation;compile_1=w;function w(F,N,ee,Z){var re=this,fe=this._opts,V=[void 0],le={},he=[],ye={},L=[],p={},y=[];N=N||{schema:F,refVal:V,refs:le};var S=A.call(this,F,N,Z),c=this._compilations[S.index];if(S.compiling)return c.callValidate=d;var m=this._formats,x=this.RULES;try{var T=k(F,N,ee,Z);c.validate=T;var b=c.callValidate;return b&&(b.schema=T.schema,b.errors=null,b.refs=T.refs,b.refVal=T.refVal,b.root=T.root,b.$async=T.$async,fe.sourceCode&&(b.source=T.source)),T}finally{E.call(this,F,N,Z)}function d(){var de=c.validate,me=de.apply(this,arguments);return d.errors=de.errors,me}function k(de,me,pe,qe){var mt=!me||me&&me.schema==de;if(me.schema!=N.schema)return w.call(re,de,me,pe,qe);var st=de.$async===!0,dt=t({isTop:!0,schema:de,isRoot:mt,baseId:qe,root:me,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:o.MissingRef,RULES:x,validate:t,util:e,resolve:n,resolveRef:D,usePattern:U,useDefault:z,useCustomRule:ie,opts:fe,formats:m,logger:re.logger,self:re});dt=B(V,I)+B(he,M)+B(L,P)+B(y,j)+dt,fe.processCode&&(dt=fe.processCode(dt,de));var Tt;try{var lt=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",dt);Tt=lt(re,x,m,N,V,L,y,h,u,v),V[0]=Tt}catch(Je){throw re.logger.error("Error compiling schema, function code:",dt),Je}return Tt.schema=de,Tt.errors=null,Tt.refs=le,Tt.refVal=V,Tt.root=mt?Tt:me,st&&(Tt.$async=!0),fe.sourceCode===!0&&(Tt.source={code:dt,patterns:he,defaults:L}),Tt}function D(de,me,pe){me=n.url(de,me);var qe=le[me],mt,st;if(qe!==void 0)return mt=V[qe],st="refVal["+qe+"]",X(mt,st);if(!pe&&N.refs){var dt=N.refs[me];if(dt!==void 0)return mt=N.refVal[dt],st=O(me,mt),X(mt,st)}st=O(me);var Tt=n.call(re,k,N,me);if(Tt===void 0){var lt=ee&&ee[me];lt&&(Tt=n.inlineRef(lt,fe.inlineRefs)?lt:w.call(re,lt,N,ee,de))}if(Tt===void 0)Q(me);else return J(me,Tt),X(Tt,st)}function O(de,me){var pe=V.length;return V[pe]=me,le[de]=pe,"refVal"+pe}function Q(de){delete le[de]}function J(de,me){var pe=le[de];V[pe]=me}function X(de,me){return typeof de=="object"||typeof de=="boolean"?{code:me,schema:de,inline:!0}:{code:me,$async:de&&!!de.$async}}function U(de){var me=ye[de];return me===void 0&&(me=ye[de]=he.length,he[me]=de),"pattern"+me}function z(de){switch(typeof de){case"boolean":case"number":return""+de;case"string":return e.toQuotedString(de);case"object":if(de===null)return"null";var me=l(de),pe=p[me];return pe===void 0&&(pe=p[me]=L.length,L[pe]=de),"default"+pe}}function ie(de,me,pe,qe){if(re._opts.validateSchema!==!1){var mt=de.definition.dependencies;if(mt&&!mt.every(function(jt){return Object.prototype.hasOwnProperty.call(pe,jt)}))throw new Error("parent schema must have all required keywords: "+mt.join(","));var st=de.definition.validateSchema;if(st){var dt=st(me);if(!dt){var Tt="keyword schema is invalid: "+re.errorsText(st.errors);if(re._opts.validateSchema=="log")re.logger.error(Tt);else throw new Error(Tt)}}}var lt=de.definition.compile,Je=de.definition.inline,ht=de.definition.macro,at;if(lt)at=lt.call(re,me,pe,qe);else if(ht)at=ht.call(re,me,pe,qe),fe.validateSchema!==!1&&re.validateSchema(at,!0);else if(Je)at=Je.call(re,qe,de.keyword,me,pe);else if(at=de.definition.validate,!at)return;if(at===void 0)throw new Error('custom keyword "'+de.keyword+'"failed to compile');var bt=y.length;return y[bt]=at,{code:"customRule"+bt,validate:at}}}function A(F,N,ee){var Z=C.call(this,F,N,ee);return Z>=0?{index:Z,compiling:!0}:(Z=this._compilations.length,this._compilations[Z]={schema:F,root:N,baseId:ee},{index:Z,compiling:!1})}function E(F,N,ee){var Z=C.call(this,F,N,ee);Z>=0&&this._compilations.splice(Z,1)}function C(F,N,ee){for(var Z=0;Z<this._compilations.length;Z++){var re=this._compilations[Z];if(re.schema==F&&re.root==N&&re.baseId==ee)return Z}return-1}function M(F,N){return"var pattern"+F+" = new RegExp("+e.toQuotedString(N[F])+");"}function P(F){return"var default"+F+" = defaults["+F+"];"}function I(F,N){return N[F]===void 0?"":"var refVal"+F+" = refVal["+F+"];"}function j(F){return"var customRule"+F+" = customRules["+F+"];"}function B(F,N){if(!F.length)return"";for(var ee="",Z=0;Z<F.length;Z++)ee+=N(Z,F);return ee}return compile_1}var cache={exports:{}},hasRequiredCache;function requireCache(){if(hasRequiredCache)return cache.exports;hasRequiredCache=1;var n=cache.exports=function(){this._cache={}};return n.prototype.put=function(o,l){this._cache[o]=l},n.prototype.get=function(o){return this._cache[o]},n.prototype.del=function(o){delete this._cache[o]},n.prototype.clear=function(){this._cache={}},cache.exports}var formats_1,hasRequiredFormats;function requireFormats(){if(hasRequiredFormats)return formats_1;hasRequiredFormats=1;var n=requireUtil(),e=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31],l=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,t=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,u=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f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:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,v=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,w=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,A=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,E=/^(?:\/(?:[^~/]|~0|~1)*)*$/,C=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,M=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;formats_1=P;function P(V){return V=V=="full"?"full":"fast",n.copy(P[V])}P.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":v,url:w,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:t,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:fe,uuid:A,"json-pointer":E,"json-pointer-uri-fragment":C,"relative-json-pointer":M},P.full={date:j,time:B,"date-time":N,uri:Z,"uri-reference":h,"uri-template":v,url:w,email:/^[a-z0-9!#$%&'*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0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:fe,uuid:A,"json-pointer":E,"json-pointer-uri-fragment":C,"relative-json-pointer":M};function I(V){return V%4===0&&(V%100!==0||V%400===0)}function j(V){var le=V.match(e);if(!le)return!1;var he=+le[1],ye=+le[2],L=+le[3];return ye>=1&&ye<=12&&L>=1&&L<=(ye==2&&I(he)?29:o[ye])}function B(V,le){var he=V.match(l);if(!he)return!1;var ye=he[1],L=he[2],p=he[3],y=he[5];return(ye<=23&&L<=59&&p<=59||ye==23&&L==59&&p==60)&&(!le||y)}var F=/t|\s/i;function N(V){var le=V.split(F);return le.length==2&&j(le[0])&&B(le[1],!0)}var ee=/\/|:/;function Z(V){return ee.test(V)&&u.test(V)}var re=/[^\\]\\Z/;function fe(V){if(re.test(V))return!1;try{return new RegExp(V),!0}catch{return!1}}return formats_1}var ref,hasRequiredRef;function requireRef(){return hasRequiredRef||(hasRequiredRef=1,ref=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.errSchemaPath+"/"+o,A=!e.opts.allErrors,E="data"+(h||""),C="valid"+u,M,P;if(v=="#"||v=="#/")e.isRoot?(M=e.async,P="validate"):(M=e.root.schema.$async===!0,P="root.refVal[0]");else{var I=e.resolveRef(e.baseId,v,e.isRoot);if(I===void 0){var j=e.MissingRefError.message(e.baseId,v);if(e.opts.missingRefs=="fail"){e.logger.error(j);var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(w)+" , params: { ref: '"+e.util.escapeQuotes(v)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(v)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(v)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+E+" "),t+=" } "):t+=" {} ";var F=t;t=B.pop(),!e.compositeRule&&A?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",A&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(j),A&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,v,j)}else if(I.inline){var N=e.util.copy(e);N.level++;var ee="valid"+N.level;N.schema=I.schema,N.schemaPath="",N.errSchemaPath=v;var Z=e.validate(N).replace(/validate\.schema/g,I.code);t+=" "+Z+" ",A&&(t+=" if ("+ee+") { ")}else M=I.$async===!0||e.async&&I.$async!==!1,P=I.code}if(P){var B=B||[];B.push(t),t="",e.opts.passContext?t+=" "+P+".call(this, ":t+=" "+P+"( ",t+=" "+E+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var re=h?"data"+(h-1||""):"parentData",fe=h?e.dataPathArr[h]:"parentDataProperty";t+=" , "+re+" , "+fe+", rootData)  ";var V=t;if(t=B.pop(),M){if(!e.async)throw new Error("async schema referenced by sync schema");A&&(t+=" var "+C+"; "),t+=" try { await "+V+"; ",A&&(t+=" "+C+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",A&&(t+=" "+C+" = false; "),t+=" } ",A&&(t+=" if ("+C+") { ")}else t+=" if (!"+V+") { if (vErrors === null) vErrors = "+P+".errors; else vErrors = vErrors.concat("+P+".errors); errors = vErrors.length; } ",A&&(t+=" else { ")}return t}),ref}var allOf,hasRequiredAllOf;function requireAllOf(){return hasRequiredAllOf||(hasRequiredAllOf=1,allOf=function(e,o,l){var t=" ",u=e.schema[o],h=e.schemaPath+e.util.getProperty(o),v=e.errSchemaPath+"/"+o,w=!e.opts.allErrors,A=e.util.copy(e),E="";A.level++;var C="valid"+A.level,M=A.baseId,P=!0,I=u;if(I)for(var j,B=-1,F=I.length-1;B<F;)j=I[B+=1],(e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all))&&(P=!1,A.schema=j,A.schemaPath=h+"["+B+"]",A.errSchemaPath=v+"/"+B,t+="  "+e.validate(A)+" ",A.baseId=M,w&&(t+=" if ("+C+") { ",E+="}"));return w&&(P?t+=" if (true) { ":t+=" "+E.slice(0,-1)+" "),t}),allOf}var anyOf,hasRequiredAnyOf;function requireAnyOf(){return hasRequiredAnyOf||(hasRequiredAnyOf=1,anyOf=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P="errs__"+u,I=e.util.copy(e),j="";I.level++;var B="valid"+I.level,F=v.every(function(le){return e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)});if(F){var N=I.baseId;t+=" var "+P+" = errors; var "+M+" = false;  ";var ee=e.compositeRule;e.compositeRule=I.compositeRule=!0;var Z=v;if(Z)for(var re,fe=-1,V=Z.length-1;fe<V;)re=Z[fe+=1],I.schema=re,I.schemaPath=w+"["+fe+"]",I.errSchemaPath=A+"/"+fe,t+="  "+e.validate(I)+" ",I.baseId=N,t+=" "+M+" = "+M+" || "+B+"; if (!"+M+") { ",j+="}";e.compositeRule=I.compositeRule=ee,t+=" "+j+" if (!"+M+") {   var err =   ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&E&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else {  errors = "+P+"; if (vErrors !== null) { if ("+P+") vErrors.length = "+P+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else E&&(t+=" if (true) { ");return t}),anyOf}var comment,hasRequiredComment;function requireComment(){return hasRequiredComment||(hasRequiredComment=1,comment=function(e,o,l){var t=" ",u=e.schema[o],h=e.errSchemaPath+"/"+o;e.opts.allErrors;var v=e.util.toQuotedString(u);return e.opts.$comment===!0?t+=" console.log("+v+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+v+", "+e.util.toQuotedString(h)+", validate.root.schema);"),t}),comment}var _const,hasRequired_const;function require_const(){return hasRequired_const||(hasRequired_const=1,_const=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P=e.opts.$data&&v&&v.$data;P&&(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; "),P||(t+=" var schema"+u+" = validate.schema"+w+";"),t+="var "+M+" = equal("+C+", schema"+u+"); if (!"+M+") {   ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { allowedValue: schema"+u+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var j=t;return t=I.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",E&&(t+=" else { "),t}),_const}var contains,hasRequiredContains;function requireContains(){return hasRequiredContains||(hasRequiredContains=1,contains=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P="errs__"+u,I=e.util.copy(e),j="";I.level++;var B="valid"+I.level,F="i"+u,N=I.dataLevel=e.dataLevel+1,ee="data"+N,Z=e.baseId,re=e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===!1:e.util.schemaHasRules(v,e.RULES.all);if(t+="var "+P+" = errors;var "+M+";",re){var fe=e.compositeRule;e.compositeRule=I.compositeRule=!0,I.schema=v,I.schemaPath=w,I.errSchemaPath=A,t+=" var "+B+" = false; for (var "+F+" = 0; "+F+" < "+C+".length; "+F+"++) { ",I.errorPath=e.util.getPathExpr(e.errorPath,F,e.opts.jsonPointers,!0);var V=C+"["+F+"]";I.dataPathArr[N]=F;var le=e.validate(I);I.baseId=Z,e.util.varOccurences(le,ee)<2?t+=" "+e.util.varReplace(le,ee,V)+" ":t+=" var "+ee+" = "+V+"; "+le+" ",t+=" if ("+B+") break; }  ",e.compositeRule=I.compositeRule=fe,t+=" "+j+" if (!"+B+") {"}else t+=" if ("+C+".length == 0) {";var he=he||[];he.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var ye=t;return t=he.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+ye+"]); ":t+=" validate.errors = ["+ye+"]; return false; ":t+=" var err = "+ye+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",re&&(t+="  errors = "+P+"; if (vErrors !== null) { if ("+P+") vErrors.length = "+P+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),contains}var dependencies,hasRequiredDependencies;function requireDependencies(){return hasRequiredDependencies||(hasRequiredDependencies=1,dependencies=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="errs__"+u,P=e.util.copy(e),I="";P.level++;var j="valid"+P.level,B={},F={},N=e.opts.ownProperties;for(fe in v)if(fe!="__proto__"){var ee=v[fe],Z=Array.isArray(ee)?F:B;Z[fe]=ee}t+="var "+M+" = errors;";var re=e.errorPath;t+="var missing"+u+";";for(var fe in F)if(Z=F[fe],Z.length){if(t+=" if ( "+C+e.util.getProperty(fe)+" !== undefined ",N&&(t+=" && Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(fe)+"') "),E){t+=" && ( ";var V=Z;if(V)for(var le,he=-1,ye=V.length-1;he<ye;){le=V[he+=1],he&&(t+=" || ");var L=e.util.getProperty(le),p=C+L;t+=" ( ( "+p+" === undefined ",N&&(t+=" || ! Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(le)+"') "),t+=") && (missing"+u+" = "+e.util.toQuotedString(e.opts.jsonPointers?le:L)+") ) "}t+=")) {  ";var y="missing"+u,S="' + "+y+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(re,y,!0):re+" + "+y);var c=c||[];c.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { property: '"+e.util.escapeQuotes(fe)+"', missingProperty: '"+S+"', depsCount: "+Z.length+", deps: '"+e.util.escapeQuotes(Z.length==1?Z[0]:Z.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",Z.length==1?t+="property "+e.util.escapeQuotes(Z[0]):t+="properties "+e.util.escapeQuotes(Z.join(", ")),t+=" when property "+e.util.escapeQuotes(fe)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var m=t;t=c.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var x=Z;if(x)for(var le,T=-1,b=x.length-1;T<b;){le=x[T+=1];var L=e.util.getProperty(le),S=e.util.escapeQuotes(le),p=C+L;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(re,le,e.opts.jsonPointers)),t+=" if ( "+p+" === undefined ",N&&(t+=" || ! Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(le)+"') "),t+=") {  var err =   ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { property: '"+e.util.escapeQuotes(fe)+"', missingProperty: '"+S+"', depsCount: "+Z.length+", deps: '"+e.util.escapeQuotes(Z.length==1?Z[0]:Z.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",Z.length==1?t+="property "+e.util.escapeQuotes(Z[0]):t+="properties "+e.util.escapeQuotes(Z.join(", ")),t+=" when property "+e.util.escapeQuotes(fe)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" }   ",E&&(I+="}",t+=" else { ")}e.errorPath=re;var d=P.baseId;for(var fe in B){var ee=B[fe];(e.opts.strictKeywords?typeof ee=="object"&&Object.keys(ee).length>0||ee===!1:e.util.schemaHasRules(ee,e.RULES.all))&&(t+=" "+j+" = true; if ( "+C+e.util.getProperty(fe)+" !== undefined ",N&&(t+=" && Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(fe)+"') "),t+=") { ",P.schema=ee,P.schemaPath=w+e.util.getProperty(fe),P.errSchemaPath=A+"/"+e.util.escapeFragment(fe),t+="  "+e.validate(P)+" ",P.baseId=d,t+=" }  ",E&&(t+=" if ("+j+") { ",I+="}"))}return E&&(t+="   "+I+" if ("+M+" == errors) {"),t}),dependencies}var _enum,hasRequired_enum;function require_enum(){return hasRequired_enum||(hasRequired_enum=1,_enum=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P=e.opts.$data&&v&&v.$data;P&&(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ");var I="i"+u,j="schema"+u;P||(t+=" var "+j+" = validate.schema"+w+";"),t+="var "+M+";",P&&(t+=" if (schema"+u+" === undefined) "+M+" = true; else if (!Array.isArray(schema"+u+")) "+M+" = false; else {"),t+=""+M+" = false;for (var "+I+"=0; "+I+"<"+j+".length; "+I+"++) if (equal("+C+", "+j+"["+I+"])) { "+M+" = true; break; }",P&&(t+="  }  "),t+=" if (!"+M+") {   ";var B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { allowedValues: schema"+u+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var F=t;return t=B.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",E&&(t+=" else { "),t}),_enum}var format,hasRequiredFormat;function requireFormat(){return hasRequiredFormat||(hasRequiredFormat=1,format=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||"");if(e.opts.format===!1)return E&&(t+=" if (true) { "),t;var M=e.opts.$data&&v&&v.$data,P;M?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",P="schema"+u):P=v;var I=e.opts.unknownFormats,j=Array.isArray(I);if(M){var B="format"+u,F="isObject"+u,N="formatType"+u;t+=" var "+B+" = formats["+P+"]; var "+F+" = typeof "+B+" == 'object' && !("+B+" instanceof RegExp) && "+B+".validate; var "+N+" = "+F+" && "+B+".type || 'string'; if ("+F+") { ",e.async&&(t+=" var async"+u+" = "+B+".async; "),t+=" "+B+" = "+B+".validate; } if (  ",M&&(t+=" ("+P+" !== undefined && typeof "+P+" != 'string') || "),t+=" (",I!="ignore"&&(t+=" ("+P+" && !"+B+" ",j&&(t+=" && self._opts.unknownFormats.indexOf("+P+") == -1 "),t+=") || "),t+=" ("+B+" && "+N+" == '"+l+"' && !(typeof "+B+" == 'function' ? ",e.async?t+=" (async"+u+" ? await "+B+"("+C+") : "+B+"("+C+")) ":t+=" "+B+"("+C+") ",t+=" : "+B+".test("+C+"))))) {"}else{var B=e.formats[v];if(!B){if(I=="ignore")return e.logger.warn('unknown format "'+v+'" ignored in schema at path "'+e.errSchemaPath+'"'),E&&(t+=" if (true) { "),t;if(j&&I.indexOf(v)>=0)return E&&(t+=" if (true) { "),t;throw new Error('unknown format "'+v+'" is used in schema at path "'+e.errSchemaPath+'"')}var F=typeof B=="object"&&!(B instanceof RegExp)&&B.validate,N=F&&B.type||"string";if(F){var ee=B.async===!0;B=B.validate}if(N!=l)return E&&(t+=" if (true) { "),t;if(ee){if(!e.async)throw new Error("async format in sync schema");var Z="formats"+e.util.getProperty(v)+".validate";t+=" if (!(await "+Z+"("+C+"))) { "}else{t+=" if (! ";var Z="formats"+e.util.getProperty(v);F&&(Z+=".validate"),typeof B=="function"?t+=" "+Z+"("+C+") ":t+=" "+Z+".test("+C+") ",t+=") { "}}var re=re||[];re.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { format:  ",M?t+=""+P:t+=""+e.util.toQuotedString(v),t+="  } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,M?t+="' + "+P+" + '":t+=""+e.util.escapeQuotes(v),t+=`"' `),e.opts.verbose&&(t+=" , schema:  ",M?t+="validate.schema"+w:t+=""+e.util.toQuotedString(v),t+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var fe=t;return t=re.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+fe+"]); ":t+=" validate.errors = ["+fe+"]; return false; ":t+=" var err = "+fe+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",E&&(t+=" else { "),t}),format}var _if,hasRequired_if;function require_if(){return hasRequired_if||(hasRequired_if=1,_if=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P="errs__"+u,I=e.util.copy(e);I.level++;var j="valid"+I.level,B=e.schema.then,F=e.schema.else,N=B!==void 0&&(e.opts.strictKeywords?typeof B=="object"&&Object.keys(B).length>0||B===!1:e.util.schemaHasRules(B,e.RULES.all)),ee=F!==void 0&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all)),Z=I.baseId;if(N||ee){var re;I.createErrors=!1,I.schema=v,I.schemaPath=w,I.errSchemaPath=A,t+=" var "+P+" = errors; var "+M+" = true;  ";var fe=e.compositeRule;e.compositeRule=I.compositeRule=!0,t+="  "+e.validate(I)+" ",I.baseId=Z,I.createErrors=!0,t+="  errors = "+P+"; if (vErrors !== null) { if ("+P+") vErrors.length = "+P+"; else vErrors = null; }  ",e.compositeRule=I.compositeRule=fe,N?(t+=" if ("+j+") {  ",I.schema=e.schema.then,I.schemaPath=e.schemaPath+".then",I.errSchemaPath=e.errSchemaPath+"/then",t+="  "+e.validate(I)+" ",I.baseId=Z,t+=" "+M+" = "+j+"; ",N&&ee?(re="ifClause"+u,t+=" var "+re+" = 'then'; "):re="'then'",t+=" } ",ee&&(t+=" else { ")):t+=" if (!"+j+") { ",ee&&(I.schema=e.schema.else,I.schemaPath=e.schemaPath+".else",I.errSchemaPath=e.errSchemaPath+"/else",t+="  "+e.validate(I)+" ",I.baseId=Z,t+=" "+M+" = "+j+"; ",N&&ee?(re="ifClause"+u,t+=" var "+re+" = 'else'; "):re="'else'",t+=" } "),t+=" if (!"+M+") {   var err =   ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { failingKeyword: "+re+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+re+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&E&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" }   ",E&&(t+=" else { ")}else E&&(t+=" if (true) { ");return t}),_if}var items,hasRequiredItems;function requireItems(){return hasRequiredItems||(hasRequiredItems=1,items=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P="errs__"+u,I=e.util.copy(e),j="";I.level++;var B="valid"+I.level,F="i"+u,N=I.dataLevel=e.dataLevel+1,ee="data"+N,Z=e.baseId;if(t+="var "+P+" = errors;var "+M+";",Array.isArray(v)){var re=e.schema.additionalItems;if(re===!1){t+=" "+M+" = "+C+".length <= "+v.length+"; ";var fe=A;A=e.errSchemaPath+"/additionalItems",t+="  if (!"+M+") {   ";var V=V||[];V.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { limit: "+v.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+v.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var le=t;t=V.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+le+"]); ":t+=" validate.errors = ["+le+"]; return false; ":t+=" var err = "+le+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",A=fe,E&&(j+="}",t+=" else { ")}var he=v;if(he){for(var ye,L=-1,p=he.length-1;L<p;)if(ye=he[L+=1],e.opts.strictKeywords?typeof ye=="object"&&Object.keys(ye).length>0||ye===!1:e.util.schemaHasRules(ye,e.RULES.all)){t+=" "+B+" = true; if ("+C+".length > "+L+") { ";var y=C+"["+L+"]";I.schema=ye,I.schemaPath=w+"["+L+"]",I.errSchemaPath=A+"/"+L,I.errorPath=e.util.getPathExpr(e.errorPath,L,e.opts.jsonPointers,!0),I.dataPathArr[N]=L;var S=e.validate(I);I.baseId=Z,e.util.varOccurences(S,ee)<2?t+=" "+e.util.varReplace(S,ee,y)+" ":t+=" var "+ee+" = "+y+"; "+S+" ",t+=" }  ",E&&(t+=" if ("+B+") { ",j+="}")}}if(typeof re=="object"&&(e.opts.strictKeywords?typeof re=="object"&&Object.keys(re).length>0||re===!1:e.util.schemaHasRules(re,e.RULES.all))){I.schema=re,I.schemaPath=e.schemaPath+".additionalItems",I.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+B+" = true; if ("+C+".length > "+v.length+") {  for (var "+F+" = "+v.length+"; "+F+" < "+C+".length; "+F+"++) { ",I.errorPath=e.util.getPathExpr(e.errorPath,F,e.opts.jsonPointers,!0);var y=C+"["+F+"]";I.dataPathArr[N]=F;var S=e.validate(I);I.baseId=Z,e.util.varOccurences(S,ee)<2?t+=" "+e.util.varReplace(S,ee,y)+" ":t+=" var "+ee+" = "+y+"; "+S+" ",E&&(t+=" if (!"+B+") break; "),t+=" } }  ",E&&(t+=" if ("+B+") { ",j+="}")}}else if(e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===!1:e.util.schemaHasRules(v,e.RULES.all)){I.schema=v,I.schemaPath=w,I.errSchemaPath=A,t+="  for (var "+F+" = 0; "+F+" < "+C+".length; "+F+"++) { ",I.errorPath=e.util.getPathExpr(e.errorPath,F,e.opts.jsonPointers,!0);var y=C+"["+F+"]";I.dataPathArr[N]=F;var S=e.validate(I);I.baseId=Z,e.util.varOccurences(S,ee)<2?t+=" "+e.util.varReplace(S,ee,y)+" ":t+=" var "+ee+" = "+y+"; "+S+" ",E&&(t+=" if (!"+B+") break; "),t+=" }"}return E&&(t+=" "+j+" if ("+P+" == errors) {"),t}),items}var _limit,hasRequired_limit;function require_limit(){return hasRequired_limit||(hasRequired_limit=1,_limit=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,Z,C="data"+(h||""),M=e.opts.$data&&v&&v.$data,P;M?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",P="schema"+u):P=v;var I=o=="maximum",j=I?"exclusiveMaximum":"exclusiveMinimum",B=e.schema[j],F=e.opts.$data&&B&&B.$data,N=I?"<":">",ee=I?">":"<",Z=void 0;if(!(M||typeof v=="number"||v===void 0))throw new Error(o+" must be number");if(!(F||B===void 0||typeof B=="number"||typeof B=="boolean"))throw new Error(j+" must be number or boolean");if(F){var re=e.util.getData(B.$data,h,e.dataPathArr),fe="exclusive"+u,V="exclType"+u,le="exclIsNumber"+u,he="op"+u,ye="' + "+he+" + '";t+=" var schemaExcl"+u+" = "+re+"; ",re="schemaExcl"+u,t+=" var "+fe+"; var "+V+" = typeof "+re+"; if ("+V+" != 'boolean' && "+V+" != 'undefined' && "+V+" != 'number') { ";var Z=j,L=L||[];L.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(Z||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+j+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var p=t;t=L.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+p+"]); ":t+=" validate.errors = ["+p+"]; return false; ":t+=" var err = "+p+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",M&&(t+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),t+=" "+V+" == 'number' ? ( ("+fe+" = "+P+" === undefined || "+re+" "+N+"= "+P+") ? "+C+" "+ee+"= "+re+" : "+C+" "+ee+" "+P+" ) : ( ("+fe+" = "+re+" === true) ? "+C+" "+ee+"= "+P+" : "+C+" "+ee+" "+P+" ) || "+C+" !== "+C+") { var op"+u+" = "+fe+" ? '"+N+"' : '"+N+"='; ",v===void 0&&(Z=j,A=e.errSchemaPath+"/"+j,P=re,M=F)}else{var le=typeof B=="number",ye=N;if(le&&M){var he="'"+ye+"'";t+=" if ( ",M&&(t+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),t+=" ( "+P+" === undefined || "+B+" "+N+"= "+P+" ? "+C+" "+ee+"= "+B+" : "+C+" "+ee+" "+P+" ) || "+C+" !== "+C+") { "}else{le&&v===void 0?(fe=!0,Z=j,A=e.errSchemaPath+"/"+j,P=B,ee+="="):(le&&(P=Math[I?"min":"max"](B,v)),B===(le?P:!0)?(fe=!0,Z=j,A=e.errSchemaPath+"/"+j,ee+="="):(fe=!1,ye+="="));var he="'"+ye+"'";t+=" if ( ",M&&(t+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),t+=" "+C+" "+ee+" "+P+" || "+C+" !== "+C+") { "}}Z=Z||o;var L=L||[];L.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(Z||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { comparison: "+he+", limit: "+P+", exclusive: "+fe+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+ye+" ",M?t+="' + "+P:t+=""+P+"'"),e.opts.verbose&&(t+=" , schema:  ",M?t+="validate.schema"+w:t+=""+v,t+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var p=t;return t=L.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+p+"]); ":t+=" validate.errors = ["+p+"]; return false; ":t+=" var err = "+p+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",E&&(t+=" else { "),t}),_limit}var _limitItems,hasRequired_limitItems;function require_limitItems(){return hasRequired_limitItems||(hasRequired_limitItems=1,_limitItems=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,j,C="data"+(h||""),M=e.opts.$data&&v&&v.$data,P;if(M?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",P="schema"+u):P=v,!(M||typeof v=="number"))throw new Error(o+" must be number");var I=o=="maxItems"?">":"<";t+="if ( ",M&&(t+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),t+=" "+C+".length "+I+" "+P+") { ";var j=o,B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(j||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { limit: "+P+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",o=="maxItems"?t+="more":t+="fewer",t+=" than ",M?t+="' + "+P+" + '":t+=""+v,t+=" items' "),e.opts.verbose&&(t+=" , schema:  ",M?t+="validate.schema"+w:t+=""+v,t+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var F=t;return t=B.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",E&&(t+=" else { "),t}),_limitItems}var _limitLength,hasRequired_limitLength;function require_limitLength(){return hasRequired_limitLength||(hasRequired_limitLength=1,_limitLength=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,j,C="data"+(h||""),M=e.opts.$data&&v&&v.$data,P;if(M?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",P="schema"+u):P=v,!(M||typeof v=="number"))throw new Error(o+" must be number");var I=o=="maxLength"?">":"<";t+="if ( ",M&&(t+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),e.opts.unicode===!1?t+=" "+C+".length ":t+=" ucs2length("+C+") ",t+=" "+I+" "+P+") { ";var j=o,B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(j||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { limit: "+P+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",o=="maxLength"?t+="longer":t+="shorter",t+=" than ",M?t+="' + "+P+" + '":t+=""+v,t+=" characters' "),e.opts.verbose&&(t+=" , schema:  ",M?t+="validate.schema"+w:t+=""+v,t+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var F=t;return t=B.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",E&&(t+=" else { "),t}),_limitLength}var _limitProperties,hasRequired_limitProperties;function require_limitProperties(){return hasRequired_limitProperties||(hasRequired_limitProperties=1,_limitProperties=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,j,C="data"+(h||""),M=e.opts.$data&&v&&v.$data,P;if(M?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",P="schema"+u):P=v,!(M||typeof v=="number"))throw new Error(o+" must be number");var I=o=="maxProperties"?">":"<";t+="if ( ",M&&(t+=" ("+P+" !== undefined && typeof "+P+" != 'number') || "),t+=" Object.keys("+C+").length "+I+" "+P+") { ";var j=o,B=B||[];B.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(j||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { limit: "+P+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",o=="maxProperties"?t+="more":t+="fewer",t+=" than ",M?t+="' + "+P+" + '":t+=""+v,t+=" properties' "),e.opts.verbose&&(t+=" , schema:  ",M?t+="validate.schema"+w:t+=""+v,t+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var F=t;return t=B.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+F+"]); ":t+=" validate.errors = ["+F+"]; return false; ":t+=" var err = "+F+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",E&&(t+=" else { "),t}),_limitProperties}var multipleOf,hasRequiredMultipleOf;function requireMultipleOf(){return hasRequiredMultipleOf||(hasRequiredMultipleOf=1,multipleOf=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M=e.opts.$data&&v&&v.$data,P;if(M?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",P="schema"+u):P=v,!(M||typeof v=="number"))throw new Error(o+" must be number");t+="var division"+u+";if (",M&&(t+=" "+P+" !== undefined && ( typeof "+P+" != 'number' || "),t+=" (division"+u+" = "+C+" / "+P+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+u+") - division"+u+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+u+" !== parseInt(division"+u+") ",t+=" ) ",M&&(t+="  )  "),t+=" ) {   ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { multipleOf: "+P+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",M?t+="' + "+P:t+=""+P+"'"),e.opts.verbose&&(t+=" , schema:  ",M?t+="validate.schema"+w:t+=""+v,t+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var j=t;return t=I.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",E&&(t+=" else { "),t}),multipleOf}var not,hasRequiredNot;function requireNot(){return hasRequiredNot||(hasRequiredNot=1,not=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="errs__"+u,P=e.util.copy(e);P.level++;var I="valid"+P.level;if(e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===!1:e.util.schemaHasRules(v,e.RULES.all)){P.schema=v,P.schemaPath=w,P.errSchemaPath=A,t+=" var "+M+" = errors;  ";var j=e.compositeRule;e.compositeRule=P.compositeRule=!0,P.createErrors=!1;var B;P.opts.allErrors&&(B=P.opts.allErrors,P.opts.allErrors=!1),t+=" "+e.validate(P)+" ",P.createErrors=!0,B&&(P.opts.allErrors=B),e.compositeRule=P.compositeRule=j,t+=" if ("+I+") {   ";var F=F||[];F.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var N=t;t=F.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+N+"]); ":t+=" validate.errors = ["+N+"]; return false; ":t+=" var err = "+N+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else {  errors = "+M+"; if (vErrors !== null) { if ("+M+") vErrors.length = "+M+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+="  var err =   ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",E&&(t+=" if (false) { ");return t}),not}var oneOf,hasRequiredOneOf;function requireOneOf(){return hasRequiredOneOf||(hasRequiredOneOf=1,oneOf=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P="errs__"+u,I=e.util.copy(e),j="";I.level++;var B="valid"+I.level,F=I.baseId,N="prevValid"+u,ee="passingSchemas"+u;t+="var "+P+" = errors , "+N+" = false , "+M+" = false , "+ee+" = null; ";var Z=e.compositeRule;e.compositeRule=I.compositeRule=!0;var re=v;if(re)for(var fe,V=-1,le=re.length-1;V<le;)fe=re[V+=1],(e.opts.strictKeywords?typeof fe=="object"&&Object.keys(fe).length>0||fe===!1:e.util.schemaHasRules(fe,e.RULES.all))?(I.schema=fe,I.schemaPath=w+"["+V+"]",I.errSchemaPath=A+"/"+V,t+="  "+e.validate(I)+" ",I.baseId=F):t+=" var "+B+" = true; ",V&&(t+=" if ("+B+" && "+N+") { "+M+" = false; "+ee+" = ["+ee+", "+V+"]; } else { ",j+="}"),t+=" if ("+B+") { "+M+" = "+N+" = true; "+ee+" = "+V+"; }";return e.compositeRule=I.compositeRule=Z,t+=""+j+"if (!"+M+") {   var err =   ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { passingSchemas: "+ee+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&E&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else {  errors = "+P+"; if (vErrors !== null) { if ("+P+") vErrors.length = "+P+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}),oneOf}var pattern,hasRequiredPattern;function requirePattern(){return hasRequiredPattern||(hasRequiredPattern=1,pattern=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M=e.opts.$data&&v&&v.$data,P;M?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",P="schema"+u):P=v;var I=M?"(new RegExp("+P+"))":e.usePattern(v);t+="if ( ",M&&(t+=" ("+P+" !== undefined && typeof "+P+" != 'string') || "),t+=" !"+I+".test("+C+") ) {   ";var j=j||[];j.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { pattern:  ",M?t+=""+P:t+=""+e.util.toQuotedString(v),t+="  } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,M?t+="' + "+P+" + '":t+=""+e.util.escapeQuotes(v),t+=`"' `),e.opts.verbose&&(t+=" , schema:  ",M?t+="validate.schema"+w:t+=""+e.util.toQuotedString(v),t+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var B=t;return t=j.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+B+"]); ":t+=" validate.errors = ["+B+"]; return false; ":t+=" var err = "+B+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",E&&(t+=" else { "),t}),pattern}var properties$l,hasRequiredProperties;function requireProperties(){return hasRequiredProperties||(hasRequiredProperties=1,properties$l=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="errs__"+u,P=e.util.copy(e),I="";P.level++;var j="valid"+P.level,B="key"+u,F="idx"+u,N=P.dataLevel=e.dataLevel+1,ee="data"+N,Z="dataProperties"+u,re=Object.keys(v||{}).filter(T),fe=e.schema.patternProperties||{},V=Object.keys(fe).filter(T),le=e.schema.additionalProperties,he=re.length||V.length,ye=le===!1,L=typeof le=="object"&&Object.keys(le).length,p=e.opts.removeAdditional,y=ye||L||p,S=e.opts.ownProperties,c=e.baseId,m=e.schema.required;if(m&&!(e.opts.$data&&m.$data)&&m.length<e.opts.loopRequired)var x=e.util.toHash(m);function T(Et){return Et!=="__proto__"}if(t+="var "+M+" = errors;var "+j+" = true;",S&&(t+=" var "+Z+" = undefined;"),y){if(S?t+=" "+Z+" = "+Z+" || Object.keys("+C+"); for (var "+F+"=0; "+F+"<"+Z+".length; "+F+"++) { var "+B+" = "+Z+"["+F+"]; ":t+=" for (var "+B+" in "+C+") { ",he){if(t+=" var isAdditional"+u+" = !(false ",re.length)if(re.length>8)t+=" || validate.schema"+w+".hasOwnProperty("+B+") ";else{var b=re;if(b)for(var d,k=-1,D=b.length-1;k<D;)d=b[k+=1],t+=" || "+B+" == "+e.util.toQuotedString(d)+" "}if(V.length){var O=V;if(O)for(var Q,J=-1,X=O.length-1;J<X;)Q=O[J+=1],t+=" || "+e.usePattern(Q)+".test("+B+") "}t+=" ); if (isAdditional"+u+") { "}if(p=="all")t+=" delete "+C+"["+B+"]; ";else{var U=e.errorPath,z="' + "+B+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,B,e.opts.jsonPointers)),ye)if(p)t+=" delete "+C+"["+B+"]; ";else{t+=" "+j+" = false; ";var ie=A;A=e.errSchemaPath+"/additionalProperties";var de=de||[];de.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { additionalProperty: '"+z+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var me=t;t=de.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+me+"]); ":t+=" validate.errors = ["+me+"]; return false; ":t+=" var err = "+me+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",A=ie,E&&(t+=" break; ")}else if(L)if(p=="failing"){t+=" var "+M+" = errors;  ";var pe=e.compositeRule;e.compositeRule=P.compositeRule=!0,P.schema=le,P.schemaPath=e.schemaPath+".additionalProperties",P.errSchemaPath=e.errSchemaPath+"/additionalProperties",P.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,B,e.opts.jsonPointers);var qe=C+"["+B+"]";P.dataPathArr[N]=B;var mt=e.validate(P);P.baseId=c,e.util.varOccurences(mt,ee)<2?t+=" "+e.util.varReplace(mt,ee,qe)+" ":t+=" var "+ee+" = "+qe+"; "+mt+" ",t+=" if (!"+j+") { errors = "+M+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+C+"["+B+"]; }  ",e.compositeRule=P.compositeRule=pe}else{P.schema=le,P.schemaPath=e.schemaPath+".additionalProperties",P.errSchemaPath=e.errSchemaPath+"/additionalProperties",P.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,B,e.opts.jsonPointers);var qe=C+"["+B+"]";P.dataPathArr[N]=B;var mt=e.validate(P);P.baseId=c,e.util.varOccurences(mt,ee)<2?t+=" "+e.util.varReplace(mt,ee,qe)+" ":t+=" var "+ee+" = "+qe+"; "+mt+" ",E&&(t+=" if (!"+j+") break; ")}e.errorPath=U}he&&(t+=" } "),t+=" }  ",E&&(t+=" if ("+j+") { ",I+="}")}var st=e.opts.useDefaults&&!e.compositeRule;if(re.length){var dt=re;if(dt)for(var d,Tt=-1,lt=dt.length-1;Tt<lt;){d=dt[Tt+=1];var Je=v[d];if(e.opts.strictKeywords?typeof Je=="object"&&Object.keys(Je).length>0||Je===!1:e.util.schemaHasRules(Je,e.RULES.all)){var ht=e.util.getProperty(d),qe=C+ht,at=st&&Je.default!==void 0;P.schema=Je,P.schemaPath=w+ht,P.errSchemaPath=A+"/"+e.util.escapeFragment(d),P.errorPath=e.util.getPath(e.errorPath,d,e.opts.jsonPointers),P.dataPathArr[N]=e.util.toQuotedString(d);var mt=e.validate(P);if(P.baseId=c,e.util.varOccurences(mt,ee)<2){mt=e.util.varReplace(mt,ee,qe);var bt=qe}else{var bt=ee;t+=" var "+ee+" = "+qe+"; "}if(at)t+=" "+mt+" ";else{if(x&&x[d]){t+=" if ( "+bt+" === undefined ",S&&(t+=" || ! Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(d)+"') "),t+=") { "+j+" = false; ";var U=e.errorPath,ie=A,jt=e.util.escapeQuotes(d);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(U,d,e.opts.jsonPointers)),A=e.errSchemaPath+"/required";var de=de||[];de.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { missingProperty: '"+jt+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+jt+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var me=t;t=de.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+me+"]); ":t+=" validate.errors = ["+me+"]; return false; ":t+=" var err = "+me+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",A=ie,e.errorPath=U,t+=" } else { "}else E?(t+=" if ( "+bt+" === undefined ",S&&(t+=" || ! Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(d)+"') "),t+=") { "+j+" = true; } else { "):(t+=" if ("+bt+" !== undefined ",S&&(t+=" &&   Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(d)+"') "),t+=" ) { ");t+=" "+mt+" } "}}E&&(t+=" if ("+j+") { ",I+="}")}}if(V.length){var Ge=V;if(Ge)for(var Q,Qe=-1,Wt=Ge.length-1;Qe<Wt;){Q=Ge[Qe+=1];var Je=fe[Q];if(e.opts.strictKeywords?typeof Je=="object"&&Object.keys(Je).length>0||Je===!1:e.util.schemaHasRules(Je,e.RULES.all)){P.schema=Je,P.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(Q),P.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(Q),S?t+=" "+Z+" = "+Z+" || Object.keys("+C+"); for (var "+F+"=0; "+F+"<"+Z+".length; "+F+"++) { var "+B+" = "+Z+"["+F+"]; ":t+=" for (var "+B+" in "+C+") { ",t+=" if ("+e.usePattern(Q)+".test("+B+")) { ",P.errorPath=e.util.getPathExpr(e.errorPath,B,e.opts.jsonPointers);var qe=C+"["+B+"]";P.dataPathArr[N]=B;var mt=e.validate(P);P.baseId=c,e.util.varOccurences(mt,ee)<2?t+=" "+e.util.varReplace(mt,ee,qe)+" ":t+=" var "+ee+" = "+qe+"; "+mt+" ",E&&(t+=" if (!"+j+") break; "),t+=" } ",E&&(t+=" else "+j+" = true; "),t+=" }  ",E&&(t+=" if ("+j+") { ",I+="}")}}}return E&&(t+=" "+I+" if ("+M+" == errors) {"),t}),properties$l}var propertyNames,hasRequiredPropertyNames;function requirePropertyNames(){return hasRequiredPropertyNames||(hasRequiredPropertyNames=1,propertyNames=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="errs__"+u,P=e.util.copy(e),I="";P.level++;var j="valid"+P.level;if(t+="var "+M+" = errors;",e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===!1:e.util.schemaHasRules(v,e.RULES.all)){P.schema=v,P.schemaPath=w,P.errSchemaPath=A;var B="key"+u,F="idx"+u,N="i"+u,ee="' + "+B+" + '",Z=P.dataLevel=e.dataLevel+1,re="data"+Z,fe="dataProperties"+u,V=e.opts.ownProperties,le=e.baseId;V&&(t+=" var "+fe+" = undefined; "),V?t+=" "+fe+" = "+fe+" || Object.keys("+C+"); for (var "+F+"=0; "+F+"<"+fe+".length; "+F+"++) { var "+B+" = "+fe+"["+F+"]; ":t+=" for (var "+B+" in "+C+") { ",t+=" var startErrs"+u+" = errors; ";var he=B,ye=e.compositeRule;e.compositeRule=P.compositeRule=!0;var L=e.validate(P);P.baseId=le,e.util.varOccurences(L,re)<2?t+=" "+e.util.varReplace(L,re,he)+" ":t+=" var "+re+" = "+he+"; "+L+" ",e.compositeRule=P.compositeRule=ye,t+=" if (!"+j+") { for (var "+N+"=startErrs"+u+"; "+N+"<errors; "+N+"++) { vErrors["+N+"].propertyName = "+B+"; }   var err =   ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { propertyName: '"+ee+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+ee+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&E&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),E&&(t+=" break; "),t+=" } }"}return E&&(t+=" "+I+" if ("+M+" == errors) {"),t}),propertyNames}var required$h,hasRequiredRequired;function requireRequired(){return hasRequiredRequired||(hasRequiredRequired=1,required$h=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P=e.opts.$data&&v&&v.$data;P&&(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ");var I="schema"+u;if(!P)if(v.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var j=[],B=v;if(B)for(var F,N=-1,ee=B.length-1;N<ee;){F=B[N+=1];var Z=e.schema.properties[F];Z&&(e.opts.strictKeywords?typeof Z=="object"&&Object.keys(Z).length>0||Z===!1:e.util.schemaHasRules(Z,e.RULES.all))||(j[j.length]=F)}}else var j=v;if(P||j.length){var re=e.errorPath,fe=P||j.length>=e.opts.loopRequired,V=e.opts.ownProperties;if(E)if(t+=" var missing"+u+"; ",fe){P||(t+=" var "+I+" = validate.schema"+w+"; ");var le="i"+u,he="schema"+u+"["+le+"]",ye="' + "+he+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(re,he,e.opts.jsonPointers)),t+=" var "+M+" = true; ",P&&(t+=" if (schema"+u+" === undefined) "+M+" = true; else if (!Array.isArray(schema"+u+")) "+M+" = false; else {"),t+=" for (var "+le+" = 0; "+le+" < "+I+".length; "+le+"++) { "+M+" = "+C+"["+I+"["+le+"]] !== undefined ",V&&(t+=" &&   Object.prototype.hasOwnProperty.call("+C+", "+I+"["+le+"]) "),t+="; if (!"+M+") break; } ",P&&(t+="  }  "),t+="  if (!"+M+") {   ";var L=L||[];L.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { missingProperty: '"+ye+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+ye+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var p=t;t=L.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+p+"]); ":t+=" validate.errors = ["+p+"]; return false; ":t+=" var err = "+p+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var y=j;if(y)for(var S,le=-1,c=y.length-1;le<c;){S=y[le+=1],le&&(t+=" || ");var m=e.util.getProperty(S),x=C+m;t+=" ( ( "+x+" === undefined ",V&&(t+=" || ! Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(S)+"') "),t+=") && (missing"+u+" = "+e.util.toQuotedString(e.opts.jsonPointers?S:m)+") ) "}t+=") {  ";var he="missing"+u,ye="' + "+he+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(re,he,!0):re+" + "+he);var L=L||[];L.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { missingProperty: '"+ye+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+ye+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var p=t;t=L.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+p+"]); ":t+=" validate.errors = ["+p+"]; return false; ":t+=" var err = "+p+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(fe){P||(t+=" var "+I+" = validate.schema"+w+"; ");var le="i"+u,he="schema"+u+"["+le+"]",ye="' + "+he+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(re,he,e.opts.jsonPointers)),P&&(t+=" if ("+I+" && !Array.isArray("+I+")) {  var err =   ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { missingProperty: '"+ye+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+ye+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+I+" !== undefined) { "),t+=" for (var "+le+" = 0; "+le+" < "+I+".length; "+le+"++) { if ("+C+"["+I+"["+le+"]] === undefined ",V&&(t+=" || ! Object.prototype.hasOwnProperty.call("+C+", "+I+"["+le+"]) "),t+=") {  var err =   ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { missingProperty: '"+ye+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+ye+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",P&&(t+="  }  ")}else{var T=j;if(T)for(var S,b=-1,d=T.length-1;b<d;){S=T[b+=1];var m=e.util.getProperty(S),ye=e.util.escapeQuotes(S),x=C+m;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(re,S,e.opts.jsonPointers)),t+=" if ( "+x+" === undefined ",V&&(t+=" || ! Object.prototype.hasOwnProperty.call("+C+", '"+e.util.escapeQuotes(S)+"') "),t+=") {  var err =   ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { missingProperty: '"+ye+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+ye+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=re}else E&&(t+=" if (true) {");return t}),required$h}var uniqueItems,hasRequiredUniqueItems;function requireUniqueItems(){return hasRequiredUniqueItems||(hasRequiredUniqueItems=1,uniqueItems=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C="data"+(h||""),M="valid"+u,P=e.opts.$data&&v&&v.$data,I;if(P?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",I="schema"+u):I=v,(v||P)&&e.opts.uniqueItems!==!1){P&&(t+=" var "+M+"; if ("+I+" === false || "+I+" === undefined) "+M+" = true; else if (typeof "+I+" != 'boolean') "+M+" = false; else { "),t+=" var i = "+C+".length , "+M+" = true , j; if (i > 1) { ";var j=e.schema.items&&e.schema.items.type,B=Array.isArray(j);if(!j||j=="object"||j=="array"||B&&(j.indexOf("object")>=0||j.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+C+"[i], "+C+"[j])) { "+M+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+C+"[i]; ";var F="checkDataType"+(B?"s":"");t+=" if ("+e.util[F](j,"item",e.opts.strictNumbers,!0)+") continue; ",B&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+M+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",P&&(t+="  }  "),t+=" if (!"+M+") {   ";var N=N||[];N.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema:  ",P?t+="validate.schema"+w:t+=""+v,t+="         , parentSchema: validate.schema"+e.schemaPath+" , data: "+C+" "),t+=" } "):t+=" {} ";var ee=t;t=N.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+ee+"]); ":t+=" validate.errors = ["+ee+"]; return false; ":t+=" var err = "+ee+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",E&&(t+=" else { ")}else E&&(t+=" if (true) { ");return t}),uniqueItems}var dotjs,hasRequiredDotjs;function requireDotjs(){return hasRequiredDotjs||(hasRequiredDotjs=1,dotjs={$ref:requireRef(),allOf:requireAllOf(),anyOf:requireAnyOf(),$comment:requireComment(),const:require_const(),contains:requireContains(),dependencies:requireDependencies(),enum:require_enum(),format:requireFormat(),if:require_if(),items:requireItems(),maximum:require_limit(),minimum:require_limit(),maxItems:require_limitItems(),minItems:require_limitItems(),maxLength:require_limitLength(),minLength:require_limitLength(),maxProperties:require_limitProperties(),minProperties:require_limitProperties(),multipleOf:requireMultipleOf(),not:requireNot(),oneOf:requireOneOf(),pattern:requirePattern(),properties:requireProperties(),propertyNames:requirePropertyNames(),required:requireRequired(),uniqueItems:requireUniqueItems(),validate:requireValidate()}),dotjs}var rules,hasRequiredRules;function requireRules(){if(hasRequiredRules)return rules;hasRequiredRules=1;var n=requireDotjs(),e=requireUtil().toHash;return rules=function(){var l=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"],u=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],h=["number","integer","string","array","object","boolean","null"];return l.all=e(t),l.types=e(h),l.forEach(function(v){v.rules=v.rules.map(function(w){var A;if(typeof w=="object"){var E=Object.keys(w)[0];A=w[E],w=E,A.forEach(function(M){t.push(M),l.all[M]=!0})}t.push(w);var C=l.all[w]={keyword:w,code:n[w],implements:A};return C}),l.all.$comment={keyword:"$comment",code:n.$comment},v.type&&(l.types[v.type]=v)}),l.keywords=e(t.concat(u)),l.custom={},l},rules}var data,hasRequiredData;function requireData(){if(hasRequiredData)return data;hasRequiredData=1;var n=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return data=function(e,o){for(var l=0;l<o.length;l++){e=JSON.parse(JSON.stringify(e));var t=o[l].split("/"),u=e,h;for(h=1;h<t.length;h++)u=u[t[h]];for(h=0;h<n.length;h++){var v=n[h],w=u[v];w&&(u[v]={anyOf:[w,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return e},data}var async,hasRequiredAsync;function requireAsync(){if(hasRequiredAsync)return async;hasRequiredAsync=1;var n=requireError_classes().MissingRef;async=e;function e(o,l,t){var u=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof l=="function"&&(t=l,l=void 0);var h=v(o).then(function(){var A=u._addSchema(o,void 0,l);return A.validate||w(A)});return t&&h.then(function(A){t(null,A)},t),h;function v(A){var E=A.$schema;return E&&!u.getSchema(E)?e.call(u,{$ref:E},!0):Promise.resolve()}function w(A){try{return u._compile(A)}catch(C){if(C instanceof n)return E(C);throw C}function E(C){var M=C.missingSchema;if(j(M))throw new Error("Schema "+M+" is loaded but "+C.missingRef+" cannot be resolved");var P=u._loadingSchemas[M];return P||(P=u._loadingSchemas[M]=u._opts.loadSchema(M),P.then(I,I)),P.then(function(B){if(!j(M))return v(B).then(function(){j(M)||u.addSchema(B,M,void 0,l)})}).then(function(){return w(A)});function I(){delete u._loadingSchemas[M]}function j(B){return u._refs[B]||u._schemas[B]}}}}return async}var custom,hasRequiredCustom;function requireCustom(){return hasRequiredCustom||(hasRequiredCustom=1,custom=function(e,o,l){var t=" ",u=e.level,h=e.dataLevel,v=e.schema[o],w=e.schemaPath+e.util.getProperty(o),A=e.errSchemaPath+"/"+o,E=!e.opts.allErrors,C,M="data"+(h||""),P="valid"+u,I="errs__"+u,j=e.opts.$data&&v&&v.$data,B;j?(t+=" var schema"+u+" = "+e.util.getData(v.$data,h,e.dataPathArr)+"; ",B="schema"+u):B=v;var F=this,N="definition"+u,ee=F.definition,Z="",re,fe,V,le,he;if(j&&ee.$data){he="keywordValidate"+u;var ye=ee.validateSchema;t+=" var "+N+" = RULES.custom['"+o+"'].definition; var "+he+" = "+N+".validate;"}else{if(le=e.useCustomRule(F,v,e.schema,e),!le)return;B="validate.schema"+w,he=le.code,re=ee.compile,fe=ee.inline,V=ee.macro}var L=he+".errors",p="i"+u,y="ruleErr"+u,S=ee.async;if(S&&!e.async)throw new Error("async keyword in sync schema");if(fe||V||(t+=""+L+" = null;"),t+="var "+I+" = errors;var "+P+";",j&&ee.$data&&(Z+="}",t+=" if ("+B+" === undefined) { "+P+" = true; } else { ",ye&&(Z+="}",t+=" "+P+" = "+N+".validateSchema("+B+"); if ("+P+") { ")),fe)ee.statements?t+=" "+le.validate+" ":t+=" "+P+" = "+le.validate+"; ";else if(V){var c=e.util.copy(e),Z="";c.level++;var m="valid"+c.level;c.schema=le.validate,c.schemaPath="";var x=e.compositeRule;e.compositeRule=c.compositeRule=!0;var T=e.validate(c).replace(/validate\.schema/g,he);e.compositeRule=c.compositeRule=x,t+=" "+T}else{var b=b||[];b.push(t),t="",t+="  "+he+".call( ",e.opts.passContext?t+="this":t+="self",re||ee.schema===!1?t+=" , "+M+" ":t+=" , "+B+" , "+M+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var d=h?"data"+(h-1||""):"parentData",k=h?e.dataPathArr[h]:"parentDataProperty";t+=" , "+d+" , "+k+" , rootData )  ";var D=t;t=b.pop(),ee.errors===!1?(t+=" "+P+" = ",S&&(t+="await "),t+=""+D+"; "):S?(L="customErrors"+u,t+=" var "+L+" = null; try { "+P+" = await "+D+"; } catch (e) { "+P+" = false; if (e instanceof ValidationError) "+L+" = e.errors; else throw e; } "):t+=" "+L+" = null; "+P+" = "+D+"; "}if(ee.modifying&&(t+=" if ("+d+") "+M+" = "+d+"["+k+"];"),t+=""+Z,ee.valid)E&&(t+=" if (true) { ");else{t+=" if ( ",ee.valid===void 0?(t+=" !",V?t+=""+m:t+=""+P):t+=" "+!ee.valid+" ",t+=") { ",C=F.keyword;var b=b||[];b.push(t),t="";var b=b||[];b.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(C||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { keyword: '"+F.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+F.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+M+" "),t+=" } "):t+=" {} ";var O=t;t=b.pop(),!e.compositeRule&&E?e.async?t+=" throw new ValidationError(["+O+"]); ":t+=" validate.errors = ["+O+"]; return false; ":t+=" var err = "+O+";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var Q=t;t=b.pop(),fe?ee.errors?ee.errors!="full"&&(t+="  for (var "+p+"="+I+"; "+p+"<errors; "+p+"++) { var "+y+" = vErrors["+p+"]; if ("+y+".dataPath === undefined) "+y+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+y+".schemaPath === undefined) { "+y+'.schemaPath = "'+A+'"; } ',e.opts.verbose&&(t+=" "+y+".schema = "+B+"; "+y+".data = "+M+"; "),t+=" } "):ee.errors===!1?t+=" "+Q+" ":(t+=" if ("+I+" == errors) { "+Q+" } else {  for (var "+p+"="+I+"; "+p+"<errors; "+p+"++) { var "+y+" = vErrors["+p+"]; if ("+y+".dataPath === undefined) "+y+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+y+".schemaPath === undefined) { "+y+'.schemaPath = "'+A+'"; } ',e.opts.verbose&&(t+=" "+y+".schema = "+B+"; "+y+".data = "+M+"; "),t+=" } } "):V?(t+="   var err =   ",e.createErrors!==!1?(t+=" { keyword: '"+(C||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(A)+" , params: { keyword: '"+F.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+F.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+w+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+M+" "),t+=" } "):t+=" {} ",t+=";  if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&E&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):ee.errors===!1?t+=" "+Q+" ":(t+=" if (Array.isArray("+L+")) { if (vErrors === null) vErrors = "+L+"; else vErrors = vErrors.concat("+L+"); errors = vErrors.length;  for (var "+p+"="+I+"; "+p+"<errors; "+p+"++) { var "+y+" = vErrors["+p+"]; if ("+y+".dataPath === undefined) "+y+".dataPath = (dataPath || '') + "+e.errorPath+";  "+y+'.schemaPath = "'+A+'";  ',e.opts.verbose&&(t+=" "+y+".schema = "+B+"; "+y+".data = "+M+"; "),t+=" } } else { "+Q+" } "),t+=" } ",E&&(t+=" else { ")}return t}),custom}const $schema$k="http://json-schema.org/draft-07/schema#",$id$k="http://json-schema.org/draft-07/schema#",title$1="Core schema meta-schema",definitions$1={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type$i=["object","boolean"],properties$k={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},require$$13$1={$schema:$schema$k,$id:$id$k,title:title$1,definitions:definitions$1,type:type$i,properties:properties$k,default:!0};var definition_schema,hasRequiredDefinition_schema;function requireDefinition_schema(){if(hasRequiredDefinition_schema)return definition_schema;hasRequiredDefinition_schema=1;var n=require$$13$1;return definition_schema={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:n.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:n.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},definition_schema}var keyword,hasRequiredKeyword;function requireKeyword(){if(hasRequiredKeyword)return keyword;hasRequiredKeyword=1;var n=/^[a-z_$][a-z0-9_$-]*$/i,e=requireCustom(),o=requireDefinition_schema();keyword={add:l,get:t,remove:u,validate:h};function l(v,w){var A=this.RULES;if(A.keywords[v])throw new Error("Keyword "+v+" is already defined");if(!n.test(v))throw new Error("Keyword "+v+" is not a valid identifier");if(w){this.validateKeyword(w,!0);var E=w.type;if(Array.isArray(E))for(var C=0;C<E.length;C++)P(v,E[C],w);else P(v,E,w);var M=w.metaSchema;M&&(w.$data&&this._opts.$data&&(M={anyOf:[M,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),w.validateSchema=this.compile(M,!0))}A.keywords[v]=A.all[v]=!0;function P(I,j,B){for(var F,N=0;N<A.length;N++){var ee=A[N];if(ee.type==j){F=ee;break}}F||(F={type:j,rules:[]},A.push(F));var Z={keyword:I,definition:B,custom:!0,code:e,implements:B.implements};F.rules.push(Z),A.custom[I]=Z}return this}function t(v){var w=this.RULES.custom[v];return w?w.definition:this.RULES.keywords[v]||!1}function u(v){var w=this.RULES;delete w.keywords[v],delete w.all[v],delete w.custom[v];for(var A=0;A<w.length;A++)for(var E=w[A].rules,C=0;C<E.length;C++)if(E[C].keyword==v){E.splice(C,1);break}return this}function h(v,w){h.errors=null;var A=this._validateKeyword=this._validateKeyword||this.compile(o,!0);if(A(v))return!0;if(h.errors=A.errors,w)throw new Error("custom keyword definition is invalid: "+this.errorsText(A.errors));return!1}return keyword}const $schema$j="http://json-schema.org/draft-07/schema#",$id$j="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description="Meta-schema for $data reference (JSON Schema extension proposal)",type$h="object",required$g=["$data"],properties$j={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties=!1,require$$12$1={$schema:$schema$j,$id:$id$j,description,type:type$h,required:required$g,properties:properties$j,additionalProperties};var ajv,hasRequiredAjv;function requireAjv(){if(hasRequiredAjv)return ajv;hasRequiredAjv=1;var n=requireCompile(),e=requireResolve(),o=requireCache(),l=requireSchema_obj(),t=requireFastJsonStableStringify(),u=requireFormats(),h=requireRules(),v=requireData(),w=requireUtil();ajv=I,I.prototype.validate=j,I.prototype.compile=B,I.prototype.addSchema=F,I.prototype.addMetaSchema=N,I.prototype.validateSchema=ee,I.prototype.getSchema=re,I.prototype.removeSchema=le,I.prototype.addFormat=x,I.prototype.errorsText=m,I.prototype._addSchema=ye,I.prototype._compile=L,I.prototype.compileAsync=requireAsync();var A=requireKeyword();I.prototype.addKeyword=A.add,I.prototype.getKeyword=A.get,I.prototype.removeKeyword=A.remove,I.prototype.validateKeyword=A.validate;var E=requireError_classes();I.ValidationError=E.Validation,I.MissingRefError=E.MissingRef,I.$dataMetaSchema=v;var C="http://json-schema.org/draft-07/schema",M=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],P=["/properties"];function I(X){if(!(this instanceof I))return new I(X);X=this._opts=w.copy(X)||{},Q(this),this._schemas={},this._refs={},this._fragments={},this._formats=u(X.format),this._cache=X.cache||new o,this._loadingSchemas={},this._compilations=[],this.RULES=h(),this._getId=p(X),X.loopRequired=X.loopRequired||1/0,X.errorDataPath=="property"&&(X._errorDataPathProperty=!0),X.serialize===void 0&&(X.serialize=t),this._metaOpts=O(this),X.formats&&d(this),X.keywords&&k(this),T(this),typeof X.meta=="object"&&this.addMetaSchema(X.meta),X.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),b(this)}function j(X,U){var z;if(typeof X=="string"){if(z=this.getSchema(X),!z)throw new Error('no schema with key or ref "'+X+'"')}else{var ie=this._addSchema(X);z=ie.validate||this._compile(ie)}var de=z(U);return z.$async!==!0&&(this.errors=z.errors),de}function B(X,U){var z=this._addSchema(X,void 0,U);return z.validate||this._compile(z)}function F(X,U,z,ie){if(Array.isArray(X)){for(var de=0;de<X.length;de++)this.addSchema(X[de],void 0,z,ie);return this}var me=this._getId(X);if(me!==void 0&&typeof me!="string")throw new Error("schema id must be string");return U=e.normalizeId(U||me),D(this,U),this._schemas[U]=this._addSchema(X,z,ie,!0),this}function N(X,U,z){return this.addSchema(X,U,z,!0),this}function ee(X,U){var z=X.$schema;if(z!==void 0&&typeof z!="string")throw new Error("$schema must be a string");if(z=z||this._opts.defaultMeta||Z(this),!z)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var ie=this.validate(z,X);if(!ie&&U){var de="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(de);else throw new Error(de)}return ie}function Z(X){var U=X._opts.meta;return X._opts.defaultMeta=typeof U=="object"?X._getId(U)||U:X.getSchema(C)?C:void 0,X._opts.defaultMeta}function re(X){var U=V(this,X);switch(typeof U){case"object":return U.validate||this._compile(U);case"string":return this.getSchema(U);case"undefined":return fe(this,X)}}function fe(X,U){var z=e.schema.call(X,{schema:{}},U);if(z){var ie=z.schema,de=z.root,me=z.baseId,pe=n.call(X,ie,de,void 0,me);return X._fragments[U]=new l({ref:U,fragment:!0,schema:ie,root:de,baseId:me,validate:pe}),pe}}function V(X,U){return U=e.normalizeId(U),X._schemas[U]||X._refs[U]||X._fragments[U]}function le(X){if(X instanceof RegExp)return he(this,this._schemas,X),he(this,this._refs,X),this;switch(typeof X){case"undefined":return he(this,this._schemas),he(this,this._refs),this._cache.clear(),this;case"string":var U=V(this,X);return U&&this._cache.del(U.cacheKey),delete this._schemas[X],delete this._refs[X],this;case"object":var z=this._opts.serialize,ie=z?z(X):X;this._cache.del(ie);var de=this._getId(X);de&&(de=e.normalizeId(de),delete this._schemas[de],delete this._refs[de])}return this}function he(X,U,z){for(var ie in U){var de=U[ie];!de.meta&&(!z||z.test(ie))&&(X._cache.del(de.cacheKey),delete U[ie])}}function ye(X,U,z,ie){if(typeof X!="object"&&typeof X!="boolean")throw new Error("schema should be object or boolean");var de=this._opts.serialize,me=de?de(X):X,pe=this._cache.get(me);if(pe)return pe;ie=ie||this._opts.addUsedSchema!==!1;var qe=e.normalizeId(this._getId(X));qe&&ie&&D(this,qe);var mt=this._opts.validateSchema!==!1&&!U,st;mt&&!(st=qe&&qe==e.normalizeId(X.$schema))&&this.validateSchema(X,!0);var dt=e.ids.call(this,X),Tt=new l({id:qe,schema:X,localRefs:dt,cacheKey:me,meta:z});return qe[0]!="#"&&ie&&(this._refs[qe]=Tt),this._cache.put(me,Tt),mt&&st&&this.validateSchema(X,!0),Tt}function L(X,U){if(X.compiling)return X.validate=de,de.schema=X.schema,de.errors=null,de.root=U||de,X.schema.$async===!0&&(de.$async=!0),de;X.compiling=!0;var z;X.meta&&(z=this._opts,this._opts=this._metaOpts);var ie;try{ie=n.call(this,X.schema,U,X.localRefs)}catch(me){throw delete X.validate,me}finally{X.compiling=!1,X.meta&&(this._opts=z)}return X.validate=ie,X.refs=ie.refs,X.refVal=ie.refVal,X.root=ie.root,ie;function de(){var me=X.validate,pe=me.apply(this,arguments);return de.errors=me.errors,pe}}function p(X){switch(X.schemaId){case"auto":return c;case"id":return y;default:return S}}function y(X){return X.$id&&this.logger.warn("schema $id ignored",X.$id),X.id}function S(X){return X.id&&this.logger.warn("schema id ignored",X.id),X.$id}function c(X){if(X.$id&&X.id&&X.$id!=X.id)throw new Error("schema $id is different from id");return X.$id||X.id}function m(X,U){if(X=X||this.errors,!X)return"No errors";U=U||{};for(var z=U.separator===void 0?", ":U.separator,ie=U.dataVar===void 0?"data":U.dataVar,de="",me=0;me<X.length;me++){var pe=X[me];pe&&(de+=ie+pe.dataPath+" "+pe.message+z)}return de.slice(0,-z.length)}function x(X,U){return typeof U=="string"&&(U=new RegExp(U)),this._formats[X]=U,this}function T(X){var U;if(X._opts.$data&&(U=require$$12$1,X.addMetaSchema(U,U.$id,!0)),X._opts.meta!==!1){var z=require$$13$1;X._opts.$data&&(z=v(z,P)),X.addMetaSchema(z,C,!0),X._refs["http://json-schema.org/schema"]=C}}function b(X){var U=X._opts.schemas;if(U)if(Array.isArray(U))X.addSchema(U);else for(var z in U)X.addSchema(U[z],z)}function d(X){for(var U in X._opts.formats){var z=X._opts.formats[U];X.addFormat(U,z)}}function k(X){for(var U in X._opts.keywords){var z=X._opts.keywords[U];X.addKeyword(U,z)}}function D(X,U){if(X._schemas[U]||X._refs[U])throw new Error('schema with key or id "'+U+'" already exists')}function O(X){for(var U=w.copy(X._opts),z=0;z<M.length;z++)delete U[M[z]];return U}function Q(X){var U=X._opts.logger;if(U===!1)X.logger={log:J,warn:J,error:J};else{if(U===void 0&&(U=console),!(typeof U=="object"&&U.log&&U.warn&&U.error))throw new Error("logger must implement log, warn and error methods");X.logger=U}}function J(){}return ajv}var error,hasRequiredError;function requireError(){if(hasRequiredError)return error;hasRequiredError=1;function n(e){var o="validation failed";this.name="HARError",this.message=o,this.errors=e,typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(o).stack}return n.prototype=Error.prototype,error=n,error}const $id$i="afterRequest.json#",$schema$i="http://json-schema.org/draft-06/schema#",type$g="object",optional$4=!0,required$f=["lastAccess","eTag","hitCount"],properties$i={expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}},require$$0={$id:$id$i,$schema:$schema$i,type:type$g,optional:optional$4,required:required$f,properties:properties$i},$id$h="beforeRequest.json#",$schema$h="http://json-schema.org/draft-06/schema#",type$f="object",optional$3=!0,required$e=["lastAccess","eTag","hitCount"],properties$h={expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}},require$$1={$id:$id$h,$schema:$schema$h,type:type$f,optional:optional$3,required:required$e,properties:properties$h},$id$g="browser.json#",$schema$g="http://json-schema.org/draft-06/schema#",type$e="object",required$d=["name","version"],properties$g={name:{type:"string"},version:{type:"string"},comment:{type:"string"}},require$$2={$id:$id$g,$schema:$schema$g,type:type$e,required:required$d,properties:properties$g},$id$f="cache.json#",$schema$f="http://json-schema.org/draft-06/schema#",properties$f={beforeRequest:{oneOf:[{type:"null"},{$ref:"beforeRequest.json#"}]},afterRequest:{oneOf:[{type:"null"},{$ref:"afterRequest.json#"}]},comment:{type:"string"}},require$$3$1={$id:$id$f,$schema:$schema$f,properties:properties$f},$id$e="content.json#",$schema$e="http://json-schema.org/draft-06/schema#",type$d="object",required$c=["size","mimeType"],properties$e={size:{type:"integer"},compression:{type:"integer"},mimeType:{type:"string"},text:{type:"string"},encoding:{type:"string"},comment:{type:"string"}},require$$4={$id:$id$e,$schema:$schema$e,type:type$d,required:required$c,properties:properties$e},$id$d="cookie.json#",$schema$d="http://json-schema.org/draft-06/schema#",type$c="object",required$b=["name","value"],properties$d={name:{type:"string"},value:{type:"string"},path:{type:"string"},domain:{type:"string"},expires:{type:["string","null"],format:"date-time"},httpOnly:{type:"boolean"},secure:{type:"boolean"},comment:{type:"string"}},require$$5={$id:$id$d,$schema:$schema$d,type:type$c,required:required$b,properties:properties$d},$id$c="creator.json#",$schema$c="http://json-schema.org/draft-06/schema#",type$b="object",required$a=["name","version"],properties$c={name:{type:"string"},version:{type:"string"},comment:{type:"string"}},require$$6={$id:$id$c,$schema:$schema$c,type:type$b,required:required$a,properties:properties$c},$id$b="entry.json#",$schema$b="http://json-schema.org/draft-06/schema#",type$a="object",optional$2=!0,required$9=["startedDateTime","time","request","response","cache","timings"],properties$b={pageref:{type:"string"},startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},time:{type:"number",min:0},request:{$ref:"request.json#"},response:{$ref:"response.json#"},cache:{$ref:"cache.json#"},timings:{$ref:"timings.json#"},serverIPAddress:{type:"string",oneOf:[{format:"ipv4"},{format:"ipv6"}]},connection:{type:"string"},comment:{type:"string"}},require$$7={$id:$id$b,$schema:$schema$b,type:type$a,optional:optional$2,required:required$9,properties:properties$b},$id$a="har.json#",$schema$a="http://json-schema.org/draft-06/schema#",type$9="object",required$8=["log"],properties$a={log:{$ref:"log.json#"}},require$$8={$id:$id$a,$schema:$schema$a,type:type$9,required:required$8,properties:properties$a},$id$9="header.json#",$schema$9="http://json-schema.org/draft-06/schema#",type$8="object",required$7=["name","value"],properties$9={name:{type:"string"},value:{type:"string"},comment:{type:"string"}},require$$9={$id:$id$9,$schema:$schema$9,type:type$8,required:required$7,properties:properties$9},$id$8="log.json#",$schema$8="http://json-schema.org/draft-06/schema#",type$7="object",required$6=["version","creator","entries"],properties$8={version:{type:"string"},creator:{$ref:"creator.json#"},browser:{$ref:"browser.json#"},pages:{type:"array",items:{$ref:"page.json#"}},entries:{type:"array",items:{$ref:"entry.json#"}},comment:{type:"string"}},require$$10={$id:$id$8,$schema:$schema$8,type:type$7,required:required$6,properties:properties$8},$id$7="page.json#",$schema$7="http://json-schema.org/draft-06/schema#",type$6="object",optional$1=!0,required$5=["startedDateTime","id","title","pageTimings"],properties$7={startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},id:{type:"string",unique:!0},title:{type:"string"},pageTimings:{$ref:"pageTimings.json#"},comment:{type:"string"}},require$$11={$id:$id$7,$schema:$schema$7,type:type$6,optional:optional$1,required:required$5,properties:properties$7},$id$6="pageTimings.json#",$schema$6="http://json-schema.org/draft-06/schema#",type$5="object",properties$6={onContentLoad:{type:"number",min:-1},onLoad:{type:"number",min:-1},comment:{type:"string"}},require$$12={$id:$id$6,$schema:$schema$6,type:type$5,properties:properties$6},$id$5="postData.json#",$schema$5="http://json-schema.org/draft-06/schema#",type$4="object",optional=!0,required$4=["mimeType"],properties$5={mimeType:{type:"string"},text:{type:"string"},params:{type:"array",required:["name"],properties:{name:{type:"string"},value:{type:"string"},fileName:{type:"string"},contentType:{type:"string"},comment:{type:"string"}}},comment:{type:"string"}},require$$13={$id:$id$5,$schema:$schema$5,type:type$4,optional,required:required$4,properties:properties$5},$id$4="query.json#",$schema$4="http://json-schema.org/draft-06/schema#",type$3="object",required$3=["name","value"],properties$4={name:{type:"string"},value:{type:"string"},comment:{type:"string"}},require$$14={$id:$id$4,$schema:$schema$4,type:type$3,required:required$3,properties:properties$4},$id$3="request.json#",$schema$3="http://json-schema.org/draft-06/schema#",type$2="object",required$2=["method","url","httpVersion","cookies","headers","queryString","headersSize","bodySize"],properties$3={method:{type:"string"},url:{type:"string",format:"uri"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},queryString:{type:"array",items:{$ref:"query.json#"}},postData:{$ref:"postData.json#"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}},require$$15={$id:$id$3,$schema:$schema$3,type:type$2,required:required$2,properties:properties$3},$id$2="response.json#",$schema$2="http://json-schema.org/draft-06/schema#",type$1="object",required$1=["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],properties$2={status:{type:"integer"},statusText:{type:"string"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},content:{$ref:"content.json#"},redirectURL:{type:"string"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}},require$$16={$id:$id$2,$schema:$schema$2,type:type$1,required:required$1,properties:properties$2},$id$1="timings.json#",$schema$1="http://json-schema.org/draft-06/schema#",required=["send","wait","receive"],properties$1={dns:{type:"number",min:-1},connect:{type:"number",min:-1},blocked:{type:"number",min:-1},send:{type:"number",min:-1},wait:{type:"number",min:-1},receive:{type:"number",min:-1},ssl:{type:"number",min:-1},comment:{type:"string"}},require$$17={$id:$id$1,$schema:$schema$1,required,properties:properties$1};var lib,hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,lib={afterRequest:require$$0,beforeRequest:require$$1,browser:require$$2,cache:require$$3$1,content:require$$4,cookie:require$$5,creator:require$$6,entry:require$$7,har:require$$8,header:require$$9,log:require$$10,page:require$$11,pageTimings:require$$12,postData:require$$13,query:require$$14,request:require$$15,response:require$$16,timings:require$$17}),lib}const $schema="http://json-schema.org/draft-06/schema#",$id="http://json-schema.org/draft-06/schema#",title="Core schema meta-schema",definitions={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type=["object","boolean"],properties={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},title:{type:"string"},description:{type:"string"},default:{},examples:{type:"array",items:{}},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:{},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},require$$3={$schema,$id,title,definitions,type,properties,default:{}};var hasRequiredPromise;function requirePromise(){if(hasRequiredPromise)return promise;hasRequiredPromise=1;var n=requireAjv(),e=requireError(),o=requireLib(),l;function t(){var h=new n({allErrors:!0});return h.addMetaSchema(require$$3),h.addSchema(o),h}function u(h,v){v=v||{},l=l||t();var w=l.getSchema(h+".json");return new Promise(function(A,E){var C=w(v);C?A(v):E(new e(w.errors))})}return promise.afterRequest=function(h){return u("afterRequest",h)},promise.beforeRequest=function(h){return u("beforeRequest",h)},promise.browser=function(h){return u("browser",h)},promise.cache=function(h){return u("cache",h)},promise.content=function(h){return u("content",h)},promise.cookie=function(h){return u("cookie",h)},promise.creator=function(h){return u("creator",h)},promise.entry=function(h){return u("entry",h)},promise.har=function(h){return u("har",h)},promise.header=function(h){return u("header",h)},promise.log=function(h){return u("log",h)},promise.page=function(h){return u("page",h)},promise.pageTimings=function(h){return u("pageTimings",h)},promise.postData=function(h){return u("postData",h)},promise.query=function(h){return u("query",h)},promise.request=function(h){return u("request",h)},promise.response=function(h){return u("response",h)},promise.timings=function(h){return u("timings",h)},promise}var hasRequiredHar;function requireHar(){if(hasRequiredHar)return har;hasRequiredHar=1;var n=require$$1$5,e=require$$1$1,o=requirePromise(),l=extend$1;function t(u){this.request=u}return t.prototype.reducer=function(u,h){if(u[h.name]===void 0)return u[h.name]=h.value,u;var v=[u[h.name],h.value];return u[h.name]=v,u},t.prototype.prep=function(u){if(u.queryObj={},u.headersObj={},u.postData.jsonObj=!1,u.postData.paramsObj=!1,u.queryString&&u.queryString.length&&(u.queryObj=u.queryString.reduce(this.reducer,{})),u.headers&&u.headers.length&&(u.headersObj=u.headers.reduceRight(function(w,A){return w[A.name]=A.value,w},{})),u.cookies&&u.cookies.length){var h=u.cookies.map(function(w){return w.name+"="+w.value});h.length&&(u.headersObj.cookie=h.join("; "))}function v(w){return w.some(function(A){return u.postData.mimeType.indexOf(A)===0})}if(v(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"]))u.postData.mimeType="multipart/form-data";else if(v(["application/x-www-form-urlencoded"]))u.postData.params?(u.postData.paramsObj=u.postData.params.reduce(this.reducer,{}),u.postData.text=e.stringify(u.postData.paramsObj)):u.postData.text="";else if(v(["text/json","text/x-json","application/json","application/x-json"])&&(u.postData.mimeType="application/json",u.postData.text))try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(w){this.request.debug(w),u.postData.mimeType="text/plain"}return u},t.prototype.options=function(u){if(!u.har)return u;var h={};if(l(h,u.har),h.log&&h.log.entries&&(h=h.log.entries[0]),h.url=h.url||u.url||u.uri||u.baseUrl||"/",h.httpVersion=h.httpVersion||"HTTP/1.1",h.queryString=h.queryString||[],h.headers=h.headers||[],h.cookies=h.cookies||[],h.postData=h.postData||{},h.postData.mimeType=h.postData.mimeType||"application/octet-stream",h.bodySize=0,h.headersSize=0,h.postData.size=0,!o.request(h))return u;var v=this.prep(h);v.url&&(u.url=v.url),v.method&&(u.method=v.method),Object.keys(v.queryObj).length&&(u.qs=v.queryObj),Object.keys(v.headersObj).length&&(u.headers=v.headersObj);function w(A){return v.postData.mimeType.indexOf(A)===0}return w("application/x-www-form-urlencoded")?u.form=v.postData.paramsObj:w("application/json")?v.postData.jsonObj&&(u.body=v.postData.jsonObj,u.json=!0):w("multipart/form-data")?(u.formData={},v.postData.params.forEach(function(A){var E={};if(!A.fileName&&!A.contentType){u.formData[A.name]=A.value;return}A.fileName&&!A.value?E.value=n.createReadStream(A.fileName):A.value&&(E.value=A.value),A.fileName&&(E.options={filename:A.fileName,contentType:A.contentType?A.contentType:null}),u.formData[A.name]=E})):v.postData.text&&(u.body=v.postData.text),u},har.Har=t,har}var auth={},rngBrowser={exports:{}},hasRequiredRngBrowser;function requireRngBrowser(){if(hasRequiredRngBrowser)return rngBrowser.exports;hasRequiredRngBrowser=1;var n=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(n){var e=new Uint8Array(16);rngBrowser.exports=function(){return n(e),e}}else{var o=new Array(16);rngBrowser.exports=function(){for(var t=0,u;t<16;t++)t&3||(u=Math.random()*4294967296),o[t]=u>>>((t&3)<<3)&255;return o}}return rngBrowser.exports}var bytesToUuid_1,hasRequiredBytesToUuid;function requireBytesToUuid(){if(hasRequiredBytesToUuid)return bytesToUuid_1;hasRequiredBytesToUuid=1;for(var n=[],e=0;e<256;++e)n[e]=(e+256).toString(16).substr(1);function o(l,t){var u=t||0,h=n;return[h[l[u++]],h[l[u++]],h[l[u++]],h[l[u++]],"-",h[l[u++]],h[l[u++]],"-",h[l[u++]],h[l[u++]],"-",h[l[u++]],h[l[u++]],"-",h[l[u++]],h[l[u++]],h[l[u++]],h[l[u++]],h[l[u++]],h[l[u++]]].join("")}return bytesToUuid_1=o,bytesToUuid_1}var v4_1,hasRequiredV4;function requireV4(){if(hasRequiredV4)return v4_1;hasRequiredV4=1;var n=requireRngBrowser(),e=requireBytesToUuid();function o(l,t,u){var h=t&&u||0;typeof l=="string"&&(t=l==="binary"?new Array(16):null,l=null),l=l||{};var v=l.random||(l.rng||n)();if(v[6]=v[6]&15|64,v[8]=v[8]&63|128,t)for(var w=0;w<16;++w)t[h+w]=v[w];return t||e(v)}return v4_1=o,v4_1}var hasRequiredAuth;function requireAuth(){if(hasRequiredAuth)return auth;hasRequiredAuth=1;var n=requireCaseless(),e=requireV4(),o=helpers$1,l=o.md5,t=o.toBase64;function u(h){this.request=h,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}return u.prototype.basic=function(h,v,w){var A=this;(typeof h!="string"||v!==void 0&&typeof v!="string")&&A.request.emit("error",new Error("auth() received invalid user or password")),A.user=h,A.pass=v,A.hasAuth=!0;var E=h+":"+(v||"");if(w||typeof w>"u"){var C="Basic "+t(E);return A.sentAuth=!0,C}},u.prototype.bearer=function(h,v){var w=this;if(w.bearerToken=h,w.hasAuth=!0,v||typeof v>"u"){typeof h=="function"&&(h=h());var A="Bearer "+(h||"");return w.sentAuth=!0,A}},u.prototype.digest=function(h,v,w){for(var A=this,E={},C=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;;){var M=C.exec(w);if(!M)break;E[M[1]]=M[2]||M[3]}var P=function(fe,V,le,he,ye,L){var p=l(V+":"+le+":"+he);return fe&&fe.toLowerCase()==="md5-sess"?l(p+":"+ye+":"+L):p},I=/(^|,)\s*auth\s*($|,)/.test(E.qop)&&"auth",j=I&&"00000001",B=I&&e().replace(/-/g,""),F=P(E.algorithm,A.user,E.realm,A.pass,E.nonce,B),N=l(h+":"+v),ee=l(I?F+":"+E.nonce+":"+j+":"+B+":"+I+":"+N:F+":"+E.nonce+":"+N),Z={username:A.user,realm:E.realm,nonce:E.nonce,uri:v,qop:I,response:ee,nc:j,cnonce:B,algorithm:E.algorithm,opaque:E.opaque};w=[];for(var re in Z)Z[re]&&(re==="qop"||re==="nc"||re==="algorithm"?w.push(re+"="+Z[re]):w.push(re+'="'+Z[re]+'"'));return w="Digest "+w.join(", "),A.sentAuth=!0,w},u.prototype.onRequest=function(h,v,w,A){var E=this,C=E.request,M;A===void 0&&h===void 0?E.request.emit("error",new Error("no auth mechanism defined")):A!==void 0?M=E.bearer(A,w):M=E.basic(h,v,w),M&&C.setHeader("authorization",M)},u.prototype.onResponse=function(h){var v=this,w=v.request;if(!v.hasAuth||v.sentAuth)return null;var A=n(h.headers),E=A.get("www-authenticate"),C=E&&E.split(" ")[0].toLowerCase();switch(w.debug("reauth",C),C){case"basic":return v.basic(v.user,v.pass,!0);case"bearer":return v.bearer(v.bearerToken,!0);case"digest":return v.digest(w.method,w.path,E)}},auth.Auth=u,auth}var oauth={},oauthSign={},hasRequiredOauthSign;function requireOauthSign(){if(hasRequiredOauthSign)return oauthSign;hasRequiredOauthSign=1;var n=requireCryptoBrowserify();function e(M,P,I){return n.createHmac(I,M).update(P).digest("base64")}function o(M,P){return n.createSign("RSA-SHA1").update(P).sign(M,"base64")}function l(M){return encodeURIComponent(M).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function t(M){var P,I,j=[];for(P in M)if(I=M[P],Array.isArray(I))for(var B=0;B<I.length;B++)j.push([P,I[B]]);else if(typeof I=="object")for(var F in I)j.push([P+"["+F+"]",I[F]]);else j.push([P,I]);return j}function u(M,P){return M>P?1:M<P?-1:0}function h(M,P,I){var j=t(I).map(function(F){return[l(F[0]),l(F[1]||"")]}).sort(function(F,N){return u(F[0],N[0])||u(F[1],N[1])}).map(function(F){return F.join("=")}).join("&"),B=[l(M?M.toUpperCase():"GET"),l(P),l(j)].join("&");return B}function v(M,P,I,j,B){var F=h(M,P,I),N=[j||"",B||""].map(l).join("&");return e(N,F,"sha1")}function w(M,P,I,j,B){var F=h(M,P,I),N=[j||"",B||""].map(l).join("&");return e(N,F,"sha256")}function A(M,P,I,j,B){var F=h(M,P,I),N=j||"";return o(N,F)}function E(M,P){var I=[M||"",P||""].map(l).join("&");return I}function C(M,P,I,j,B,F){var N,ee=1;switch(M){case"RSA-SHA1":N=A;break;case"HMAC-SHA1":N=v;break;case"HMAC-SHA256":N=w;break;case"PLAINTEXT":N=E,ee=4;break;default:throw new Error("Signature method not supported: "+M)}return N.apply(null,[].slice.call(arguments,ee))}return oauthSign.hmacsign=v,oauthSign.hmacsign256=w,oauthSign.rsasign=A,oauthSign.plaintext=E,oauthSign.sign=C,oauthSign.rfc3986=l,oauthSign.generateBase=h,oauthSign}var hasRequiredOauth;function requireOauth(){if(hasRequiredOauth)return oauth;hasRequiredOauth=1;var n=require$$2$2,e=requireLib$1(),o=requireCaseless(),l=requireV4(),t=requireOauthSign(),u=requireCryptoBrowserify(),h=safeBufferExports$1.Buffer;function v(w){this.request=w,this.params=null}return v.prototype.buildParams=function(w,A,E,C,M,P){var I={};for(var j in w)I["oauth_"+j]=w[j];I.oauth_version||(I.oauth_version="1.0"),I.oauth_timestamp||(I.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),I.oauth_nonce||(I.oauth_nonce=l().replace(/-/g,"")),I.oauth_signature_method||(I.oauth_signature_method="HMAC-SHA1");var B=I.oauth_consumer_secret||I.oauth_private_key;delete I.oauth_consumer_secret,delete I.oauth_private_key;var F=I.oauth_token_secret;delete I.oauth_token_secret;var N=I.oauth_realm;delete I.oauth_realm,delete I.oauth_transport_method;var ee=A.protocol+"//"+A.host+A.pathname,Z=P.parse([].concat(C,M,P.stringify(I)).join("&"));return I.oauth_signature=t.sign(I.oauth_signature_method,E,ee,Z,B,F),N&&(I.realm=N),I},v.prototype.buildBodyHash=function(w,A){["HMAC-SHA1","RSA-SHA1"].indexOf(w.signature_method||"HMAC-SHA1")<0&&this.request.emit("error",new Error("oauth: "+w.signature_method+" signature_method not supported with body_hash signing."));var E=u.createHash("sha1");E.update(A||"");var C=E.digest("hex");return h.from(C,"hex").toString("base64")},v.prototype.concatParams=function(w,A,E){E=E||"";var C=Object.keys(w).filter(function(M){return M!=="realm"&&M!=="oauth_signature"}).sort();return w.realm&&C.splice(0,0,"realm"),C.push("oauth_signature"),C.map(function(M){return M+"="+E+t.rfc3986(w[M])+E}).join(A)},v.prototype.onRequest=function(w){var A=this;A.params=w;var E=A.request.uri||{},C=A.request.method||"",M=o(A.request.headers),P=A.request.body||"",I=A.request.qsLib||e,j,B,F=M.get("content-type")||"",N="application/x-www-form-urlencoded",ee=w.transport_method||"header";F.slice(0,N.length)===N&&(F=N,j=P),E.query&&(B=E.query),ee==="body"&&(C!=="POST"||F!==N)&&A.request.emit("error",new Error("oauth: transport_method of body requires POST and content-type "+N)),!j&&typeof w.body_hash=="boolean"&&(w.body_hash=A.buildBodyHash(w,A.request.body.toString()));var Z=A.buildParams(w,E,C,B,j,I);switch(ee){case"header":A.request.setHeader("Authorization","OAuth "+A.concatParams(Z,",",'"'));break;case"query":var re=A.request.uri.href+=(B?"&":"?")+A.concatParams(Z,"&");A.request.uri=n.parse(re),A.request.path=A.request.uri.path;break;case"body":A.request.body=(j?j+"&":"")+A.concatParams(Z,"&");break;default:A.request.emit("error",new Error("oauth: transport_method invalid"))}},oauth.OAuth=v,oauth}var hawk={},hasRequiredHawk;function requireHawk(){return hasRequiredHawk||(hasRequiredHawk=1,function(n){var e=requireCryptoBrowserify();function o(t){var u=(t+1)*6,h=e.randomBytes(Math.ceil(u/8)),v=h.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return v.slice(0,t)}function l(t,u,h){var v=e.createHash(u);return v.update(`hawk.1.payload
+`),v.update((h?h.split(";")[0].trim().toLowerCase():"")+`
+`),v.update(t||""),v.update(`
+`),v.digest("base64")}n.calculateMac=function(t,u){var h=`hawk.1.header
+`+u.ts+`
+`+u.nonce+`
+`+(u.method||"").toUpperCase()+`
+`+u.resource+`
+`+u.host.toLowerCase()+`
+`+u.port+`
+`+(u.hash||"")+`
+`;u.ext&&(h=h+u.ext.replace("\\","\\\\").replace(`
+`,"\\n")),h=h+`
+`,u.app&&(h=h+u.app+`
+`+(u.dlg||"")+`
+`);var v=e.createHmac(t.algorithm,t.key).update(h),w=v.digest("base64");return w},n.header=function(t,u,h){var v=h.timestamp||Math.floor((Date.now()+(h.localtimeOffsetMsec||0))/1e3),w=h.credentials;if(!w||!w.id||!w.key||!w.algorithm||["sha1","sha256"].indexOf(w.algorithm)===-1)return"";var A={ts:v,nonce:h.nonce||o(6),method:u,resource:t.pathname+(t.search||""),host:t.hostname,port:t.port||(t.protocol==="http:"?80:443),hash:h.hash,ext:h.ext,app:h.app,dlg:h.dlg};!A.hash&&(h.payload||h.payload==="")&&(A.hash=l(h.payload,w.algorithm,h.contentType));var E=n.calculateMac(w,A),C=A.ext!==null&&A.ext!==void 0&&A.ext!=="",M='Hawk id="'+w.id+'", ts="'+A.ts+'", nonce="'+A.nonce+(A.hash?'", hash="'+A.hash:"")+(C?'", ext="'+A.ext.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):"")+'", mac="'+E+'"';return A.app&&(M=M+', app="'+A.app+(A.dlg?'", dlg="'+A.dlg:"")+'"'),M}}(hawk)),hawk}var multipart={},delayed_stream,hasRequiredDelayed_stream;function requireDelayed_stream(){if(hasRequiredDelayed_stream)return delayed_stream;hasRequiredDelayed_stream=1;var n=requireStreamBrowserify().Stream,e=util$6;delayed_stream=o;function o(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return e.inherits(o,n),o.create=function(l,t){var u=new this;t=t||{};for(var h in t)u[h]=t[h];u.source=l;var v=l.emit;return l.emit=function(){return u._handleEmit(arguments),v.apply(l,arguments)},l.on("error",function(){}),u.pauseStream&&l.pause(),u},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach((function(l){this.emit.apply(this,l)}).bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var l=n.prototype.pipe.apply(this,arguments);return this.resume(),l},o.prototype._handleEmit=function(l){if(this._released){this.emit.apply(this,l);return}l[0]==="data"&&(this.dataSize+=l[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(l)},o.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var l="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(l))}},delayed_stream}var combined_stream,hasRequiredCombined_stream;function requireCombined_stream(){if(hasRequiredCombined_stream)return combined_stream;hasRequiredCombined_stream=1;var n=util$6,e=requireStreamBrowserify().Stream,o=requireDelayed_stream();combined_stream=l;function l(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return n.inherits(l,e),l.create=function(t){var u=new this;t=t||{};for(var h in t)u[h]=t[h];return u},l.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer$C.isBuffer(t)},l.prototype.append=function(t){var u=l.isStreamLike(t);if(u){if(!(t instanceof o)){var h=o.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=h}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this},l.prototype.pipe=function(t,u){return e.prototype.pipe.call(this,t,u),this.resume(),t},l.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}},l.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var u=t;u((function(h){var v=l.isStreamLike(h);v&&(h.on("data",this._checkDataSize.bind(this)),this._handleErrors(h)),this._pipeNext(h)}).bind(this))},l.prototype._pipeNext=function(t){this._currentStream=t;var u=l.isStreamLike(t);if(u){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var h=t;this.write(h),this._getNext()},l.prototype._handleErrors=function(t){var u=this;t.on("error",function(h){u._emitError(h)})},l.prototype.write=function(t){this.emit("data",t)},l.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))},l.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")},l.prototype.end=function(){this._reset(),this.emit("end")},l.prototype.destroy=function(){this._reset(),this.emit("close")},l.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},l.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}},l.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(u){u.dataSize&&(t.dataSize+=u.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},l.prototype._emitError=function(t){this._reset(),this.emit("error",t)},combined_stream}var hasRequiredMultipart;function requireMultipart(){if(hasRequiredMultipart)return multipart;hasRequiredMultipart=1;var n=requireV4(),e=requireCombined_stream(),o=requireIsstream(),l=safeBufferExports$1.Buffer;function t(u){this.request=u,this.boundary=n(),this.chunked=!1,this.body=null}return t.prototype.isChunked=function(u){var h=this,v=!1,w=u.data||u;return w.forEach||h.request.emit("error",new Error("Argument error, options.multipart.")),u.chunked!==void 0&&(v=u.chunked),h.request.getHeader("transfer-encoding")==="chunked"&&(v=!0),v||w.forEach(function(A){typeof A.body>"u"&&h.request.emit("error",new Error("Body attribute missing in multipart.")),o(A.body)&&(v=!0)}),v},t.prototype.setHeaders=function(u){var h=this;u&&!h.request.hasHeader("transfer-encoding")&&h.request.setHeader("transfer-encoding","chunked");var v=h.request.getHeader("content-type");!v||v.indexOf("multipart")===-1?h.request.setHeader("content-type","multipart/related; boundary="+h.boundary):v.indexOf("boundary")!==-1?h.boundary=v.replace(/.*boundary=([^\s;]+).*/,"$1"):h.request.setHeader("content-type",v+"; boundary="+h.boundary)},t.prototype.build=function(u,h){var v=this,w=h?new e:[];function A(E){return typeof E=="number"&&(E=E.toString()),h?w.append(E):w.push(l.from(E))}return v.request.preambleCRLF&&A(`\r
+`),u.forEach(function(E){var C="--"+v.boundary+`\r
+`;Object.keys(E).forEach(function(M){M!=="body"&&(C+=M+": "+E[M]+`\r
+`)}),C+=`\r
+`,A(C),A(E.body),A(`\r
+`)}),A("--"+v.boundary+"--"),v.request.postambleCRLF&&A(`\r
+`),w},t.prototype.onRequest=function(u){var h=this,v=h.isChunked(u),w=u.data||u;h.setHeaders(v),h.chunked=v,h.body=h.build(w,v)},multipart.Multipart=t,multipart}var redirect={},hasRequiredRedirect;function requireRedirect(){if(hasRequiredRedirect)return redirect;hasRequiredRedirect=1;var n=require$$2$2,e=/^https?:/;function o(l){this.request=l,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.followOriginalHttpMethod=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}return o.prototype.onRequest=function(l){var t=this;l.maxRedirects!==void 0&&(t.maxRedirects=l.maxRedirects),typeof l.followRedirect=="function"&&(t.allowRedirect=l.followRedirect),l.followRedirect!==void 0&&(t.followRedirects=!!l.followRedirect),l.followAllRedirects!==void 0&&(t.followAllRedirects=l.followAllRedirects),(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),l.removeRefererHeader!==void 0&&(t.removeRefererHeader=l.removeRefererHeader),l.followOriginalHttpMethod!==void 0&&(t.followOriginalHttpMethod=l.followOriginalHttpMethod)},o.prototype.redirectTo=function(l){var t=this,u=t.request,h=null;if(l.statusCode>=300&&l.statusCode<400&&l.caseless.has("location")){var v=l.caseless.get("location");if(u.debug("redirect",v),t.followAllRedirects)h=v;else if(t.followRedirects)switch(u.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:h=v;break}}else if(l.statusCode===401){var w=u._auth.onResponse(l);w&&(u.setHeader("authorization",w),h=u.uri)}return h},o.prototype.onResponse=function(l){var t=this,u=t.request,h=t.redirectTo(l);if(!h||!t.allowRedirect.call(u,l))return!1;if(u.debug("redirect to",h),l.resume&&l.resume(),t.redirectsFollowed>=t.maxRedirects)return u.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+u.uri.href)),!1;t.redirectsFollowed+=1,e.test(h)||(h=n.resolve(u.uri.href,h));var v=u.uri;return u.uri=n.parse(h),u.uri.protocol!==v.protocol&&delete u.agent,t.redirects.push({statusCode:l.statusCode,redirectUri:h}),t.followAllRedirects&&u.method!=="HEAD"&&l.statusCode!==401&&l.statusCode!==307&&(u.method=t.followOriginalHttpMethod?u.method:"GET"),delete u.src,delete u.req,delete u._started,l.statusCode!==401&&l.statusCode!==307&&(delete u.body,delete u._form,u.headers&&(u.removeHeader("host"),u.removeHeader("content-type"),u.removeHeader("content-length"),u.uri.hostname!==u.originalHost.split(":")[0]&&u.removeHeader("authorization"))),t.removeRefererHeader||u.setHeader("referer",v.href),u.emit("redirect"),u.init(),!0},redirect.Redirect=o,redirect}var tunnel={},tunnelAgent={},hasRequiredTunnelAgent;function requireTunnelAgent(){if(hasRequiredTunnelAgent)return tunnelAgent;hasRequiredTunnelAgent=1;var n=require$$1$5,e=requireStreamHttp(),o=requireHttpsBrowserify(),l=requireEvents(),t=requireAssert$1(),u=util$6,h=safeBufferExports$1.Buffer;tunnelAgent.httpOverHttp=v,tunnelAgent.httpsOverHttp=w,tunnelAgent.httpOverHttps=A,tunnelAgent.httpsOverHttps=E;function v(j){var B=new C(j);return B.request=e.request,B}function w(j){var B=new C(j);return B.request=e.request,B.createSocket=M,B.defaultPort=443,B}function A(j){var B=new C(j);return B.request=o.request,B}function E(j){var B=new C(j);return B.request=o.request,B.createSocket=M,B.defaultPort=443,B}function C(j){var B=this;B.options=j||{},B.proxyOptions=B.options.proxy||{},B.maxSockets=B.options.maxSockets||e.Agent.defaultMaxSockets,B.requests=[],B.sockets=[],B.on("free",function(N,ee,Z){for(var re=0,fe=B.requests.length;re<fe;++re){var V=B.requests[re];if(V.host===ee&&V.port===Z){B.requests.splice(re,1),V.request.onSocket(N);return}}N.destroy(),B.removeSocket(N)})}u.inherits(C,l.EventEmitter),C.prototype.addRequest=function(B,F){var N=this;if(typeof F=="string"&&(F={host:F,port:arguments[2],path:arguments[3]}),N.sockets.length>=this.maxSockets){N.requests.push({host:F.host,port:F.port,request:B});return}N.createConnection({host:F.host,port:F.port,request:B})},C.prototype.createConnection=function(B){var F=this;F.createSocket(B,function(N){N.on("free",ee),N.on("close",Z),N.on("agentRemove",Z),B.request.onSocket(N);function ee(){F.emit("free",N,B.host,B.port)}function Z(re){F.removeSocket(N),N.removeListener("free",ee),N.removeListener("close",Z),N.removeListener("agentRemove",Z)}})},C.prototype.createSocket=function(B,F){var N=this,ee={};N.sockets.push(ee);var Z=P({},N.proxyOptions,{method:"CONNECT",path:B.host+":"+B.port,agent:!1});Z.proxyAuth&&(Z.headers=Z.headers||{},Z.headers["Proxy-Authorization"]="Basic "+h.from(Z.proxyAuth).toString("base64")),I("making CONNECT request");var re=N.request(Z);re.useChunkedEncodingByDefault=!1,re.once("response",fe),re.once("upgrade",V),re.once("connect",le),re.once("error",he),re.end();function fe(ye){ye.upgrade=!0}function V(ye,L,p){process$1.nextTick(function(){le(ye,L,p)})}function le(ye,L,p){if(re.removeAllListeners(),L.removeAllListeners(),ye.statusCode===200)t.equal(p.length,0),I("tunneling connection has established"),N.sockets[N.sockets.indexOf(ee)]=L,F(L);else{I("tunneling socket could not be established, statusCode=%d",ye.statusCode);var y=new Error("tunneling socket could not be established, statusCode="+ye.statusCode);y.code="ECONNRESET",B.request.emit("error",y),N.removeSocket(ee)}}function he(ye){re.removeAllListeners(),I(`tunneling socket could not be established, cause=%s
+`,ye.message,ye.stack);var L=new Error("tunneling socket could not be established, cause="+ye.message);L.code="ECONNRESET",B.request.emit("error",L),N.removeSocket(ee)}},C.prototype.removeSocket=function(B){var F=this.sockets.indexOf(B);if(F!==-1){this.sockets.splice(F,1);var N=this.requests.shift();N&&this.createConnection(N)}};function M(j,B){var F=this;C.prototype.createSocket.call(F,j,function(N){var ee=n.connect(0,P({},F.options,{servername:j.host,socket:N}));F.sockets[F.sockets.indexOf(N)]=ee,B(ee)})}function P(j){for(var B=1,F=arguments.length;B<F;++B){var N=arguments[B];if(typeof N=="object")for(var ee=Object.keys(N),Z=0,re=ee.length;Z<re;++Z){var fe=ee[Z];N[fe]!==void 0&&(j[fe]=N[fe])}}return j}var I;return process$1.env.NODE_DEBUG&&/\btunnel\b/.test(process$1.env.NODE_DEBUG)?I=function(){var j=Array.prototype.slice.call(arguments);typeof j[0]=="string"?j[0]="TUNNEL: "+j[0]:j.unshift("TUNNEL:"),console.error.apply(console,j)}:I=function(){},tunnelAgent.debug=I,tunnelAgent}var hasRequiredTunnel;function requireTunnel(){if(hasRequiredTunnel)return tunnel;hasRequiredTunnel=1;var n=require$$2$2,e=requireTunnelAgent(),o=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"],l=["proxy-authorization"];function t(E){var C=E.port,M=E.protocol,P=E.hostname+":";return C?P+=C:M==="https:"?P+="443":P+="80",P}function u(E,C){var M=C.reduce(function(P,I){return P[I.toLowerCase()]=!0,P},{});return Object.keys(E).filter(function(P){return M[P.toLowerCase()]}).reduce(function(P,I){return P[I]=E[I],P},{})}function h(E,C){var M=E.proxy,P={proxy:{host:M.hostname,port:+M.port,proxyAuth:M.auth,headers:C},headers:E.headers,ca:E.ca,cert:E.cert,key:E.key,passphrase:E.passphrase,pfx:E.pfx,ciphers:E.ciphers,rejectUnauthorized:E.rejectUnauthorized,secureOptions:E.secureOptions,secureProtocol:E.secureProtocol};return P}function v(E,C){var M=E.protocol==="https:"?"https":"http",P=C.protocol==="https:"?"Https":"Http";return[M,P].join("Over")}function w(E){var C=E.uri,M=E.proxy,P=v(C,M);return e[P]}function A(E){this.request=E,this.proxyHeaderWhiteList=o,this.proxyHeaderExclusiveList=[],typeof E.tunnel<"u"&&(this.tunnelOverride=E.tunnel)}return A.prototype.isEnabled=function(){var E=this,C=E.request;return typeof E.tunnelOverride<"u"?E.tunnelOverride:C.uri.protocol==="https:"},A.prototype.setup=function(E){var C=this,M=C.request;if(E=E||{},typeof M.proxy=="string"&&(M.proxy=n.parse(M.proxy)),!M.proxy||!M.tunnel)return!1;E.proxyHeaderWhiteList&&(C.proxyHeaderWhiteList=E.proxyHeaderWhiteList),E.proxyHeaderExclusiveList&&(C.proxyHeaderExclusiveList=E.proxyHeaderExclusiveList);var P=C.proxyHeaderExclusiveList.concat(l),I=C.proxyHeaderWhiteList.concat(P),j=u(M.headers,I);j.host=t(M.uri),P.forEach(M.removeHeader,M);var B=w(M),F=h(M,j);return M.agent=B(F),!0},A.defaultProxyHeaderWhiteList=o,A.defaultProxyHeaderExclusiveList=l,tunnel.Tunnel=A,tunnel}var performanceNow={exports:{}},hasRequiredPerformanceNow;function requirePerformanceNow(){return hasRequiredPerformanceNow||(hasRequiredPerformanceNow=1,(function(){var n,e,o,l,t,u;typeof performance<"u"&&performance!==null&&performance.now?performanceNow.exports=function(){return performance.now()}:typeof process$1<"u"&&process$1!==null&&process$1.hrtime?(performanceNow.exports=function(){return(n()-t)/1e6},e=process$1.hrtime,n=function(){var h;return h=e(),h[0]*1e9+h[1]},l=n(),u=process$1.uptime()*1e9,t=l-u):Date.now?(performanceNow.exports=function(){return Date.now()-o},o=Date.now()):(performanceNow.exports=function(){return new Date().getTime()-o},o=new Date().getTime())}).call(commonjsGlobal$1)),performanceNow.exports}var request$2,hasRequiredRequest;function requireRequest(){if(hasRequiredRequest)return request$2;hasRequiredRequest=1;var n=requireStreamHttp(),e=requireHttpsBrowserify(),o=require$$2$2,l=util$6,t=requireStreamBrowserify(),u=requireLib$5(),h=requireAwsSign2(),v=requireAws4(),w=requireLib$2(),A=mimeTypes,E=requireCaseless(),C=requireForeverAgent(),M=requireBrowser(),P=extend$1,I=requireIsstream(),j=requireIsTypedarray().strict,B=helpers$1,F=cookies$1,N=requireGetProxyFromURI(),ee=requireQuerystring().Querystring,Z=requireHar().Har,re=requireAuth().Auth,fe=requireOauth().OAuth,V=requireHawk(),le=requireMultipart().Multipart,he=requireRedirect().Redirect,ye=requireTunnel().Tunnel,L=requirePerformanceNow(),p=safeBufferExports$1.Buffer,y=B.safeStringify,S=B.isReadStream,c=B.toBase64,m=B.defer,x=B.copy,T=B.version,b=F.jar(),d={};function k(U,z){var ie={};for(var de in z){var me=U.indexOf(de)===-1;me&&(ie[de]=z[de])}return ie}function D(U,z){var ie={};for(var de in z){var me=U.indexOf(de)!==-1,pe=typeof z[de]=="function";me&&pe||(ie[de]=z[de])}return ie}function O(){var U=this;return{uri:U.uri,method:U.method,headers:U.headers}}function Q(){var U=this;return{statusCode:U.statusCode,body:U.body,headers:U.headers,request:O.call(U.request)}}function J(U){var z=this;U.har&&(z._har=new Z(z),U=z._har.options(U)),t.Stream.call(z);var ie=Object.keys(J.prototype),de=k(ie,U);P(z,de),U=D(ie,U),z.readable=!0,z.writable=!0,U.method&&(z.explicitMethod=!0),z._qs=new ee(z),z._auth=new re(z),z._oauth=new fe(z),z._multipart=new le(z),z._redirect=new he(z),z._tunnel=new ye(z),z.init(U)}l.inherits(J,t.Stream),J.debug=process$1.env.NODE_DEBUG&&/\brequest\b/.test(process$1.env.NODE_DEBUG);function X(){J.debug&&console.error("REQUEST %s",l.format.apply(l,arguments))}return J.prototype.debug=X,J.prototype.init=function(U){var z=this;U||(U={}),z.headers=z.headers?x(z.headers):{};for(var ie in z.headers)typeof z.headers[ie]>"u"&&delete z.headers[ie];if(E.httpify(z,z.headers),z.method||(z.method=U.method||"GET"),z.localAddress||(z.localAddress=U.localAddress),z._qs.init(U),X(U),!z.pool&&z.pool!==!1&&(z.pool=d),z.dests=z.dests||[],z.__isRequestRequest=!0,!z._callback&&z.callback&&(z._callback=z.callback,z.callback=function(){z._callbackCalled||(z._callbackCalled=!0,z._callback.apply(z,arguments))},z.on("error",z.callback.bind()),z.on("complete",z.callback.bind(z,null))),!z.uri&&z.url&&(z.uri=z.url,delete z.url),z.baseUrl){if(typeof z.baseUrl!="string")return z.emit("error",new Error("options.baseUrl must be a string"));if(typeof z.uri!="string")return z.emit("error",new Error("options.uri must be a string when using options.baseUrl"));if(z.uri.indexOf("//")===0||z.uri.indexOf("://")!==-1)return z.emit("error",new Error("options.uri must be a path when using options.baseUrl"));var de=z.baseUrl.lastIndexOf("/")===z.baseUrl.length-1,me=z.uri.indexOf("/")===0;de&&me?z.uri=z.baseUrl+z.uri.slice(1):de||me?z.uri=z.baseUrl+z.uri:z.uri===""?z.uri=z.baseUrl:z.uri=z.baseUrl+"/"+z.uri,delete z.baseUrl}if(!z.uri)return z.emit("error",new Error("options.uri is a required argument"));if(typeof z.uri=="string"&&(z.uri=o.parse(z.uri)),z.uri.href||(z.uri.href=o.format(z.uri)),z.uri.protocol==="unix:")return z.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"));if(z.uri.host==="unix"&&z.enableUnixSocket(),z.strictSSL===!1&&(z.rejectUnauthorized=!1),z.uri.pathname||(z.uri.pathname="/"),!(z.uri.host||z.uri.hostname&&z.uri.port)&&!z.uri.isUnix){var pe=o.format(z.uri),qe='Invalid URI "'+pe+'"';return Object.keys(U).length===0&&(qe+=". This can be caused by a crappy redirection."),z.abort(),z.emit("error",new Error(qe))}if(z.hasOwnProperty("proxy")||(z.proxy=N(z.uri)),z.tunnel=z._tunnel.isEnabled(),z.proxy&&z._tunnel.setup(U),z._redirect.onRequest(U),z.setHost=!1,!z.hasHeader("host")){var mt=z.originalHostHeaderName||"host";z.setHeader(mt,z.uri.host),z.uri.port&&(z.uri.port==="80"&&z.uri.protocol==="http:"||z.uri.port==="443"&&z.uri.protocol==="https:")&&z.setHeader(mt,z.uri.hostname),z.setHost=!0}if(z.jar(z._jar||U.jar),z.uri.port||(z.uri.protocol==="http:"?z.uri.port=80:z.uri.protocol==="https:"&&(z.uri.port=443)),z.proxy&&!z.tunnel?(z.port=z.proxy.port,z.host=z.proxy.hostname):(z.port=z.uri.port,z.host=z.uri.hostname),U.form&&z.form(U.form),U.formData){var st=U.formData,dt=z.form(),Tt=function(Kt,Me){Me&&Me.hasOwnProperty("value")&&Me.hasOwnProperty("options")?dt.append(Kt,Me.value,Me.options):dt.append(Kt,Me)};for(var lt in st)if(st.hasOwnProperty(lt)){var Je=st[lt];if(Je instanceof Array)for(var ht=0;ht<Je.length;ht++)Tt(lt,Je[ht]);else Tt(lt,Je)}}if(U.qs&&z.qs(U.qs),z.uri.path?z.path=z.uri.path:z.path=z.uri.pathname+(z.uri.search||""),z.path.length===0&&(z.path="/"),U.aws&&z.aws(U.aws),U.hawk&&z.hawk(U.hawk),U.httpSignature&&z.httpSignature(U.httpSignature),U.auth&&(Object.prototype.hasOwnProperty.call(U.auth,"username")&&(U.auth.user=U.auth.username),Object.prototype.hasOwnProperty.call(U.auth,"password")&&(U.auth.pass=U.auth.password),z.auth(U.auth.user,U.auth.pass,U.auth.sendImmediately,U.auth.bearer)),z.gzip&&!z.hasHeader("accept-encoding")&&z.setHeader("accept-encoding","gzip, deflate"),z.uri.auth&&!z.hasHeader("authorization")){var at=z.uri.auth.split(":").map(function(Kt){return z._qs.unescape(Kt)});z.auth(at[0],at.slice(1).join(":"),!0)}if(!z.tunnel&&z.proxy&&z.proxy.auth&&!z.hasHeader("proxy-authorization")){var bt=z.proxy.auth.split(":").map(function(Kt){return z._qs.unescape(Kt)}),jt="Basic "+c(bt.join(":"));z.setHeader("proxy-authorization",jt)}z.proxy&&!z.tunnel&&(z.path=z.uri.protocol+"//"+z.uri.host+z.path),U.json&&z.json(U.json),U.multipart&&z.multipart(U.multipart),U.time&&(z.timing=!0,z.elapsedTime=z.elapsedTime||0);function Ge(){if(j(z.body)&&(z.body=p.from(z.body)),!z.hasHeader("content-length")){var Kt;typeof z.body=="string"?Kt=p.byteLength(z.body):Array.isArray(z.body)?Kt=z.body.reduce(function(Me,te){return Me+te.length},0):Kt=z.body.length,Kt?z.setHeader("content-length",Kt):z.emit("error",new Error("Argument error, options.body."))}}z.body&&!I(z.body)&&Ge(),U.oauth?z.oauth(U.oauth):z._oauth.params&&z.hasHeader("authorization")&&z.oauth(z._oauth.params);var Qe=z.proxy&&!z.tunnel?z.proxy.protocol:z.uri.protocol,Wt={"http:":n,"https:":e},Et=z.httpModules||{};if(z.httpModule=Et[Qe]||Wt[Qe],!z.httpModule)return z.emit("error",new Error("Invalid protocol: "+Qe));if(U.ca&&(z.ca=U.ca),!z.agent)if(U.agentOptions&&(z.agentOptions=U.agentOptions),U.agentClass)z.agentClass=U.agentClass;else if(U.forever){var Ct=T();Ct.major===0&&Ct.minor<=10?z.agentClass=Qe==="http:"?C:C.SSL:(z.agentClass=z.httpModule.Agent,z.agentOptions=z.agentOptions||{},z.agentOptions.keepAlive=!0)}else z.agentClass=z.httpModule.Agent;z.pool===!1?z.agent=!1:z.agent=z.agent||z.getNewAgent(),z.on("pipe",function(Kt){if(z.ntick&&z._started&&z.emit("error",new Error("You cannot pipe to this stream after the outbound request has started.")),z.src=Kt,S(Kt))z.hasHeader("content-type")||z.setHeader("content-type",A.lookup(Kt.path));else{if(Kt.headers)for(var Me in Kt.headers)z.hasHeader(Me)||z.setHeader(Me,Kt.headers[Me]);z._json&&!z.hasHeader("content-type")&&z.setHeader("content-type","application/json"),Kt.method&&!z.explicitMethod&&(z.method=Kt.method)}}),m(function(){if(!z._aborted){var Kt=function(){if(z._form&&(z._auth.hasAuth?z._auth.hasAuth&&z._auth.sentAuth&&z._form.pipe(z):z._form.pipe(z)),z._multipart&&z._multipart.chunked&&z._multipart.body.pipe(z),z.body)I(z.body)?z.body.pipe(z):(Ge(),Array.isArray(z.body)?z.body.forEach(function(Me){z.write(Me)}):z.write(z.body),z.end());else if(z.requestBodyStream)console.warn("options.requestBodyStream is deprecated, please pass the request object to stream.pipe."),z.requestBodyStream.pipe(z);else if(!z.src){if(z._auth.hasAuth&&!z._auth.sentAuth){z.end();return}z.method!=="GET"&&typeof z.method<"u"&&z.setHeader("content-length",0),z.end()}};z._form&&!z.hasHeader("content-length")?(z.setHeader(z._form.getHeaders(),!0),z._form.getLength(function(Me,te){!Me&&!isNaN(te)&&z.setHeader("content-length",te),Kt()})):Kt(),z.ntick=!0}})},J.prototype.getNewAgent=function(){var U=this,z=U.agentClass,ie={};if(U.agentOptions)for(var de in U.agentOptions)ie[de]=U.agentOptions[de];U.ca&&(ie.ca=U.ca),U.ciphers&&(ie.ciphers=U.ciphers),U.secureProtocol&&(ie.secureProtocol=U.secureProtocol),U.secureOptions&&(ie.secureOptions=U.secureOptions),typeof U.rejectUnauthorized<"u"&&(ie.rejectUnauthorized=U.rejectUnauthorized),U.cert&&U.key&&(ie.key=U.key,ie.cert=U.cert),U.pfx&&(ie.pfx=U.pfx),U.passphrase&&(ie.passphrase=U.passphrase);var me="";z!==U.httpModule.Agent&&(me+=z.name);var pe=U.proxy;typeof pe=="string"&&(pe=o.parse(pe));var qe=pe&&pe.protocol==="https:"||this.uri.protocol==="https:";return qe&&(ie.ca&&(me&&(me+=":"),me+=ie.ca),typeof ie.rejectUnauthorized<"u"&&(me&&(me+=":"),me+=ie.rejectUnauthorized),ie.cert&&(me&&(me+=":"),me+=ie.cert.toString("ascii")+ie.key.toString("ascii")),ie.pfx&&(me&&(me+=":"),me+=ie.pfx.toString("ascii")),ie.ciphers&&(me&&(me+=":"),me+=ie.ciphers),ie.secureProtocol&&(me&&(me+=":"),me+=ie.secureProtocol),ie.secureOptions&&(me&&(me+=":"),me+=ie.secureOptions)),U.pool===d&&!me&&Object.keys(ie).length===0&&U.httpModule.globalAgent?U.httpModule.globalAgent:(me=U.uri.protocol+me,U.pool[me]||(U.pool[me]=new z(ie),U.pool.maxSockets&&(U.pool[me].maxSockets=U.pool.maxSockets)),U.pool[me])},J.prototype.start=function(){var U=this;if(U.timing)var z=new Date().getTime(),ie=L();if(!U._aborted){U._started=!0,U.method=U.method||"GET",U.href=U.uri.href,U.src&&U.src.stat&&U.src.stat.size&&!U.hasHeader("content-length")&&U.setHeader("content-length",U.src.stat.size),U._aws&&U.aws(U._aws,!0);var de=x(U);delete de.auth,X("make request",U.uri.href),delete de.timeout;try{U.req=U.httpModule.request(de)}catch(pe){U.emit("error",pe);return}U.timing&&(U.startTime=z,U.startTimeNow=ie,U.timings={});var me;U.timeout&&!U.timeoutTimer&&(U.timeout<0?me=0:typeof U.timeout=="number"&&isFinite(U.timeout)&&(me=U.timeout)),U.req.on("response",U.onRequestResponse.bind(U)),U.req.on("error",U.onRequestError.bind(U)),U.req.on("drain",function(){U.emit("drain")}),U.req.on("socket",function(pe){var qe=pe._connecting||pe.connecting;if(U.timing&&(U.timings.socket=L()-U.startTimeNow,qe)){var mt=function(){U.timings.lookup=L()-U.startTimeNow},st=function(){U.timings.connect=L()-U.startTimeNow};pe.once("lookup",mt),pe.once("connect",st),U.req.once("error",function(){pe.removeListener("lookup",mt),pe.removeListener("connect",st)})}var dt=function(){U.req.setTimeout(me,function(){if(U.req){U.abort();var lt=new Error("ESOCKETTIMEDOUT");lt.code="ESOCKETTIMEDOUT",lt.connect=!1,U.emit("error",lt)}})};if(me!==void 0)if(qe){var Tt=function(){pe.removeListener("connect",Tt),U.clearTimeout(),dt()};pe.on("connect",Tt),U.req.on("error",function(lt){pe.removeListener("connect",Tt)}),U.timeoutTimer=setTimeout(function(){pe.removeListener("connect",Tt),U.abort();var lt=new Error("ETIMEDOUT");lt.code="ETIMEDOUT",lt.connect=!0,U.emit("error",lt)},me)}else dt();U.emit("socket",pe)}),U.emit("request",U.req)}},J.prototype.onRequestError=function(U){var z=this;if(!z._aborted){if(z.req&&z.req._reusedSocket&&U.code==="ECONNRESET"&&z.agent.addRequestNoreuse){z.agent={addRequest:z.agent.addRequestNoreuse.bind(z.agent)},z.start(),z.req.end();return}z.clearTimeout(),z.emit("error",U)}},J.prototype.onRequestResponse=function(U){var z=this;if(z.timing&&(z.timings.response=L()-z.startTimeNow),X("onRequestResponse",z.uri.href,U.statusCode,U.headers),U.on("end",function(){z.timing&&(z.timings.end=L()-z.startTimeNow,U.timingStart=z.startTime,z.timings.socket||(z.timings.socket=0),z.timings.lookup||(z.timings.lookup=z.timings.socket),z.timings.connect||(z.timings.connect=z.timings.lookup),z.timings.response||(z.timings.response=z.timings.connect),X("elapsed time",z.timings.end),z.elapsedTime+=Math.round(z.timings.end),U.elapsedTime=z.elapsedTime,U.timings=z.timings,U.timingPhases={wait:z.timings.socket,dns:z.timings.lookup-z.timings.socket,tcp:z.timings.connect-z.timings.lookup,firstByte:z.timings.response-z.timings.connect,download:z.timings.end-z.timings.response,total:z.timings.end}),X("response end",z.uri.href,U.statusCode,U.headers)}),z._aborted){X("aborted",z.uri.href),U.resume();return}if(z.response=U,U.request=z,U.toJSON=Q,z.httpModule===e&&z.strictSSL&&(!U.hasOwnProperty("socket")||!U.socket.authorized)){X("strict ssl error",z.uri.href);var ie=U.hasOwnProperty("socket")?U.socket.authorizationError:z.uri.href+" does not support SSL";z.emit("error",new Error("SSL Error: "+ie));return}z.originalHost=z.getHeader("host"),z.originalHostHeaderName||(z.originalHostHeaderName=z.hasHeader("host")),z.setHost&&z.removeHeader("host"),z.clearTimeout();var de=z._jar&&z._jar.setCookie?z._jar:b,me=function(Tt){try{de.setCookie(Tt,z.uri.href,{ignoreError:!0})}catch(lt){z.emit("error",lt)}};if(U.caseless=E(U.headers),U.caseless.has("set-cookie")&&!z._disableCookies){var pe=U.caseless.has("set-cookie");Array.isArray(U.headers[pe])?U.headers[pe].forEach(me):me(U.headers[pe])}if(!z._redirect.onResponse(U)){{U.on("close",function(){z._ended||z.response.emit("end")}),U.once("end",function(){z._ended=!0});var qe=function(Tt){return z.method==="HEAD"||Tt>=100&&Tt<200||Tt===204||Tt===304},mt;if(z.gzip&&!qe(U.statusCode)){var st=U.headers["content-encoding"]||"identity";st=st.trim().toLowerCase();var dt={flush:u.Z_SYNC_FLUSH,finishFlush:u.Z_SYNC_FLUSH};st==="gzip"?(mt=u.createGunzip(dt),U.pipe(mt)):st==="deflate"?(mt=u.createInflate(dt),U.pipe(mt)):(st!=="identity"&&X("ignoring unrecognized Content-Encoding "+st),mt=U)}else mt=U;z.encoding&&(z.dests.length!==0?console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid."):mt.setEncoding(z.encoding)),z._paused&&mt.pause(),z.responseContent=mt,z.emit("response",U),z.dests.forEach(function(Tt){z.pipeDest(Tt)}),mt.on("data",function(Tt){z.timing&&!z.responseStarted&&(z.responseStartTime=new Date().getTime(),U.responseStartTime=z.responseStartTime),z._destdata=!0,z.emit("data",Tt)}),mt.once("end",function(Tt){z.emit("end",Tt)}),mt.on("error",function(Tt){z.emit("error",Tt)}),mt.on("close",function(){z.emit("close")}),z.callback?z.readResponseBody(U):z.on("end",function(){if(z._aborted){X("aborted",z.uri.href);return}z.emit("complete",U)})}X("finish init function",z.uri.href)}},J.prototype.readResponseBody=function(U){var z=this;X("reading response's body");var ie=[],de=0,me=[];z.on("data",function(pe){p.isBuffer(pe)?pe.length&&(de+=pe.length,ie.push(pe)):me.push(pe)}),z.on("end",function(){if(X("end event",z.uri.href),z._aborted){X("aborted",z.uri.href),ie=[],de=0;return}if(de?(X("has body",z.uri.href,de),U.body=p.concat(ie,de),z.encoding!==null&&(U.body=U.body.toString(z.encoding)),ie=[],de=0):me.length&&(z.encoding==="utf8"&&me[0].length>0&&me[0][0]==="\uFEFF"&&(me[0]=me[0].substring(1)),U.body=me.join("")),z._json)try{U.body=JSON.parse(U.body,z._jsonReviver)}catch{X("invalid JSON received",z.uri.href)}X("emitting complete",z.uri.href),typeof U.body>"u"&&!z._json&&(U.body=z.encoding===null?p.alloc(0):""),z.emit("complete",U,U.body)})},J.prototype.abort=function(){var U=this;U._aborted=!0,U.req?U.req.abort():U.response&&U.response.destroy(),U.clearTimeout(),U.emit("abort")},J.prototype.pipeDest=function(U){var z=this,ie=z.response;if(U.headers&&!U.headersSent){if(ie.caseless.has("content-type")){var de=ie.caseless.has("content-type");U.setHeader?U.setHeader(de,ie.headers[de]):U.headers[de]=ie.headers[de]}if(ie.caseless.has("content-length")){var me=ie.caseless.has("content-length");U.setHeader?U.setHeader(me,ie.headers[me]):U.headers[me]=ie.headers[me]}}if(U.setHeader&&!U.headersSent){for(var pe in ie.headers)(!z.gzip||pe!=="content-encoding")&&U.setHeader(pe,ie.headers[pe]);U.statusCode=ie.statusCode}z.pipefilter&&z.pipefilter(ie,U)},J.prototype.qs=function(U,z){var ie=this,de;!z&&ie.uri.query?de=ie._qs.parse(ie.uri.query):de={};for(var me in U)de[me]=U[me];var pe=ie._qs.stringify(de);return pe===""||(ie.uri=o.parse(ie.uri.href.split("?")[0]+"?"+pe),ie.url=ie.uri,ie.path=ie.uri.path,ie.uri.host==="unix"&&ie.enableUnixSocket()),ie},J.prototype.form=function(U){var z=this;return U?(/^application\/x-www-form-urlencoded\b/.test(z.getHeader("content-type"))||z.setHeader("content-type","application/x-www-form-urlencoded"),z.body=typeof U=="string"?z._qs.rfc3986(U.toString("utf8")):z._qs.stringify(U).toString("utf8"),z):(z._form=new M,z._form.on("error",function(ie){ie.message="form-data: "+ie.message,z.emit("error",ie),z.abort()}),z._form)},J.prototype.multipart=function(U){var z=this;return z._multipart.onRequest(U),z._multipart.chunked||(z.body=z._multipart.body),z},J.prototype.json=function(U){var z=this;return z.hasHeader("accept")||z.setHeader("accept","application/json"),typeof z.jsonReplacer=="function"&&(z._jsonReplacer=z.jsonReplacer),z._json=!0,typeof U=="boolean"?z.body!==void 0&&(/^application\/x-www-form-urlencoded\b/.test(z.getHeader("content-type"))?z.body=z._qs.rfc3986(z.body):z.body=y(z.body,z._jsonReplacer),z.hasHeader("content-type")||z.setHeader("content-type","application/json")):(z.body=y(U,z._jsonReplacer),z.hasHeader("content-type")||z.setHeader("content-type","application/json")),typeof z.jsonReviver=="function"&&(z._jsonReviver=z.jsonReviver),z},J.prototype.getHeader=function(U,z){var ie=this,de,me,pe;return z||(z=ie.headers),Object.keys(z).forEach(function(qe){qe.length===U.length&&(me=new RegExp(U,"i"),pe=qe.match(me),pe&&(de=z[qe]))}),de},J.prototype.enableUnixSocket=function(){var U=this.uri.path.split(":"),z=U[0],ie=U[1];this.socketPath=z,this.uri.pathname=ie,this.uri.path=ie,this.uri.host=z,this.uri.hostname=z,this.uri.isUnix=!0},J.prototype.auth=function(U,z,ie,de){var me=this;return me._auth.onRequest(U,z,ie,de),me},J.prototype.aws=function(U,z){var ie=this;if(!z)return ie._aws=U,ie;if(U.sign_version===4||U.sign_version==="4"){var de={host:ie.uri.host,path:ie.uri.path,method:ie.method,headers:ie.headers,body:ie.body};U.service&&(de.service=U.service);var me=v.sign(de,{accessKeyId:U.key,secretAccessKey:U.secret,sessionToken:U.session});ie.setHeader("authorization",me.headers.Authorization),ie.setHeader("x-amz-date",me.headers["X-Amz-Date"]),me.headers["X-Amz-Security-Token"]&&ie.setHeader("x-amz-security-token",me.headers["X-Amz-Security-Token"])}else{var pe=new Date;ie.setHeader("date",pe.toUTCString());var qe={key:U.key,secret:U.secret,verb:ie.method.toUpperCase(),date:pe,contentType:ie.getHeader("content-type")||"",md5:ie.getHeader("content-md5")||"",amazonHeaders:h.canonicalizeHeaders(ie.headers)},mt=ie.uri.path;U.bucket&&mt?qe.resource="/"+U.bucket+mt:U.bucket&&!mt?qe.resource="/"+U.bucket:!U.bucket&&mt?qe.resource=mt:!U.bucket&&!mt&&(qe.resource="/"),qe.resource=h.canonicalizeResource(qe.resource),ie.setHeader("authorization",h.authorization(qe))}return ie},J.prototype.httpSignature=function(U){var z=this;return w.signRequest({getHeader:function(ie){return z.getHeader(ie,z.headers)},setHeader:function(ie,de){z.setHeader(ie,de)},method:z.method,path:z.path},U),X("httpSignature authorization",z.getHeader("authorization")),z},J.prototype.hawk=function(U){var z=this;z.setHeader("Authorization",V.header(z.uri,z.method,U))},J.prototype.oauth=function(U){var z=this;return z._oauth.onRequest(U),z},J.prototype.jar=function(U){var z=this,ie;if(z._redirect.redirectsFollowed===0&&(z.originalCookieHeader=z.getHeader("cookie")),!U)ie=!1,z._disableCookies=!0;else{var de=U.getCookieString?U:b,me=z.uri.href;de&&(ie=de.getCookieString(me))}return ie&&ie.length&&(z.originalCookieHeader?z.setHeader("cookie",z.originalCookieHeader+"; "+ie):z.setHeader("cookie",ie)),z._jar=U,z},J.prototype.pipe=function(U,z){var ie=this;if(ie.response)if(ie._destdata)ie.emit("error",new Error("You cannot pipe after data has been emitted from the response."));else if(ie._ended)ie.emit("error",new Error("You cannot pipe after the response has been ended."));else return t.Stream.prototype.pipe.call(ie,U,z),ie.pipeDest(U),U;else return ie.dests.push(U),t.Stream.prototype.pipe.call(ie,U,z),U},J.prototype.write=function(){var U=this;if(!U._aborted&&(U._started||U.start(),U.req))return U.req.write.apply(U.req,arguments)},J.prototype.end=function(U){var z=this;z._aborted||(U&&z.write(U),z._started||z.start(),z.req&&z.req.end())},J.prototype.pause=function(){var U=this;U.responseContent?U.responseContent.pause.apply(U.responseContent,arguments):U._paused=!0},J.prototype.resume=function(){var U=this;U.responseContent?U.responseContent.resume.apply(U.responseContent,arguments):U._paused=!1},J.prototype.destroy=function(){var U=this;this.clearTimeout(),U._ended?U.response&&U.response.destroy():U.end()},J.prototype.clearTimeout=function(){this.timeoutTimer&&(clearTimeout(this.timeoutTimer),this.timeoutTimer=null)},J.defaultProxyHeaderWhiteList=ye.defaultProxyHeaderWhiteList.slice(),J.defaultProxyHeaderExclusiveList=ye.defaultProxyHeaderExclusiveList.slice(),J.prototype.toJSON=O,request$2=J,request$2}var extend=extend$1,cookies=cookies$1,helpers=helpers$1,paramsHaveRequestBody=helpers.paramsHaveRequestBody;function initParams(n,e,o){typeof e=="function"&&(o=e);var l={};return e!==null&&typeof e=="object"?extend(l,e,{uri:n}):typeof n=="string"?extend(l,{uri:n}):extend(l,n),l.callback=o||l.callback,l}function request$1(n,e,o){if(typeof n>"u")throw new Error("undefined is not a valid uri or options object.");var l=initParams(n,e,o);if(l.method==="HEAD"&&paramsHaveRequestBody(l))throw new Error("HTTP HEAD requests MUST NOT include a request body.");return new request$1.Request(l)}function verbFunc(n){var e=n.toUpperCase();return function(o,l,t){var u=initParams(o,l,t);return u.method=e,request$1(u,u.callback)}}request$1.get=verbFunc("get"),request$1.head=verbFunc("head"),request$1.options=verbFunc("options"),request$1.post=verbFunc("post"),request$1.put=verbFunc("put"),request$1.patch=verbFunc("patch"),request$1.del=verbFunc("delete"),request$1.delete=verbFunc("delete"),request$1.jar=function(n){return cookies.jar(n)},request$1.cookie=function(n){return cookies.parse(n)};function wrapRequestMethod(n,e,o,l){return function(t,u,h){var v=initParams(t,u,h),w={};return extend(!0,w,e,v),w.pool=v.pool||e.pool,l&&(w.method=l.toUpperCase()),typeof o=="function"&&(n=o),n(w,w.callback)}}request$1.defaults=function(n,e){var o=this;n=n||{},typeof n=="function"&&(e=n,n={});var l=wrapRequestMethod(o,n,e),t=["get","head","post","put","patch","del","delete"];return t.forEach(function(u){l[u]=wrapRequestMethod(o[u],n,e,u)}),l.cookie=wrapRequestMethod(o.cookie,n,e),l.jar=o.jar,l.defaults=o.defaults,l},request$1.forever=function(n,e){var o={};return e&&extend(o,e),n&&(o.agentOptions=n),o.forever=!0,request$1.defaults(o)};var request_1=request$1;request$1.Request=requireRequest(),request$1.initParams=initParams,Object.defineProperty(request$1,"debug",{enumerable:!0,get:function(){return request$1.Request.debug},set:function(n){request$1.Request.debug=n}});var sha1$1={exports:{}},crypt={exports:{}};(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(o,l){return o<<l|o>>>32-l},rotr:function(o,l){return o<<32-l|o>>>l},endian:function(o){if(o.constructor==Number)return e.rotl(o,8)&16711935|e.rotl(o,24)&4278255360;for(var l=0;l<o.length;l++)o[l]=e.endian(o[l]);return o},randomBytes:function(o){for(var l=[];o>0;o--)l.push(Math.floor(Math.random()*256));return l},bytesToWords:function(o){for(var l=[],t=0,u=0;t<o.length;t++,u+=8)l[u>>>5]|=o[t]<<24-u%32;return l},wordsToBytes:function(o){for(var l=[],t=0;t<o.length*32;t+=8)l.push(o[t>>>5]>>>24-t%32&255);return l},bytesToHex:function(o){for(var l=[],t=0;t<o.length;t++)l.push((o[t]>>>4).toString(16)),l.push((o[t]&15).toString(16));return l.join("")},hexToBytes:function(o){for(var l=[],t=0;t<o.length;t+=2)l.push(parseInt(o.substr(t,2),16));return l},bytesToBase64:function(o){for(var l=[],t=0;t<o.length;t+=3)for(var u=o[t]<<16|o[t+1]<<8|o[t+2],h=0;h<4;h++)t*8+h*6<=o.length*8?l.push(n.charAt(u>>>6*(3-h)&63)):l.push("=");return l.join("")},base64ToBytes:function(o){o=o.replace(/[^A-Z0-9+\/]/ig,"");for(var l=[],t=0,u=0;t<o.length;u=++t%4)u!=0&&l.push((n.indexOf(o.charAt(t-1))&Math.pow(2,-2*u+8)-1)<<u*2|n.indexOf(o.charAt(t))>>>6-u*2);return l}};crypt.exports=e})();var cryptExports=crypt.exports,charenc={utf8:{stringToBytes:function(n){return charenc.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(charenc.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var e=[],o=0;o<n.length;o++)e.push(n.charCodeAt(o)&255);return e},bytesToString:function(n){for(var e=[],o=0;o<n.length;o++)e.push(String.fromCharCode(n[o]));return e.join("")}}},charenc_1=charenc;(function(){var n=cryptExports,e=charenc_1.utf8,o=charenc_1.bin,l=function(u){u.constructor==String?u=e.stringToBytes(u):typeof Buffer$C<"u"&&typeof Buffer$C.isBuffer=="function"&&Buffer$C.isBuffer(u)?u=Array.prototype.slice.call(u,0):Array.isArray(u)||(u=u.toString());var h=n.bytesToWords(u),v=u.length*8,w=[],A=1732584193,E=-271733879,C=-1732584194,M=271733878,P=-1009589776;h[v>>5]|=128<<24-v%32,h[(v+64>>>9<<4)+15]=v;for(var I=0;I<h.length;I+=16){for(var j=A,B=E,F=C,N=M,ee=P,Z=0;Z<80;Z++){if(Z<16)w[Z]=h[I+Z];else{var re=w[Z-3]^w[Z-8]^w[Z-14]^w[Z-16];w[Z]=re<<1|re>>>31}var fe=(A<<5|A>>>27)+P+(w[Z]>>>0)+(Z<20?(E&C|~E&M)+1518500249:Z<40?(E^C^M)+1859775393:Z<60?(E&C|E&M|C&M)-1894007588:(E^C^M)-899497514);P=M,M=C,C=E<<30|E>>>2,E=A,A=fe}A+=j,E+=B,C+=F,M+=N,P+=ee}return[A,E,C,M,P]},t=function(u,h){var v=n.wordsToBytes(l(u));return h&&h.asBytes?v:h&&h.asString?o.bytesToString(v):n.bytesToHex(v)};t._blocksize=16,t._digestsize=20,sha1$1.exports=t})();var sha1Exports=sha1$1.exports,php2js$1={rawurlencode:function(n){return n=(n+"").toString(),encodeURIComponent(n).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/\+/g," ")},http_build_query:function(n,e,o){var l,t,u=[],h=function(w,A,E){var C,M=[];if(A===!0?A="1":A===!1&&(A="0"),A!=null)if(typeof A=="object"){for(C in A)A[C]!=null&&M.push(h(w+"["+C+"]",A[C],E));return M.join(E)}else{if(typeof A!="function")return php2js$1.urlencode(w)+"="+php2js$1.urlencode(A);throw new Error("There was an error processing for http_build_query().")}else return""};o||(o="&");for(t in n){l=n[t],e&&!isNaN(t)&&(t=String(e)+t);var v=h(t,l,o);v!==""&&u.push(v)}return u.join(o)},urlencode:function(n){return n=(n+"").toString(),encodeURIComponent(n).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")}},php2js_1=php2js$1,request=request_1,sha1=sha1Exports,php2js=php2js_1,APIConfig={url:"http://api.jwplatform.com/v1/videos/create",key:"",secret:"",format:"json",kit:"php-1.4"},jwplayer$1={makeRequest:function(n,e){request({url:n,method:"GET",headers:{"Content-Type":"MyContentType","Custom-Header":"Custom Value"}},e)},setArguments:function(n,e){n.api_nonce=Math.floor(Math.random()*1e8),n.api_timestamp=Math.floor(Date.now()/1e3),n.api_key=APIConfig.key,n.api_format=APIConfig.format,n.api_kit=APIConfig.kit;var o={};Object.keys(n).sort().forEach(function(u){o[u]=n[u]});var l="";Object.keys(o).forEach(function(u){l!=""&&(l+="&"),l+=php2js.rawurlencode(u)+"="+php2js.rawurlencode(o[u])}),n.api_signature=sha1(l+APIConfig.secret);var t=APIConfig.url+"?"+php2js.http_build_query(n,"","&");jwplayer$1.makeRequest(t,e)}},jwplayer_1=jwplayer$1;const JwpPlayerWidget=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){var o={},l=jwplayer_1.Player(this.$[0]),t=!1,u=!0;typeof this.video>"u"&&(this.video=this.media.video),o.file=this.video,o.primary="flash",o.fallback=!1,o.controls=!1,o.width=this.width,this.height&&(o.height=this.height),this.autostart,this.url_transform&&(o.file=this.url_transform(o.file));var h=this.media;h.on("setcurrenttime",function(w){t=u,l.seek(w/1e3)}),h.on("setvolume",function(w){l.setVolume(Math.floor(w*100)),h.volume=w}),h.on("setmuted",function(w){l.setMute(w),h.muted=w}),h.on("setplay",function(){l.play(!0),h.paused=!1}),h.on("setpause",function(){l.pause(!0),h.paused=!0});function v(){h.muted=l.getMute(),h.volume=l.getVolume()/100}o.events={onReady:function(){v(),h.currentTime=new n.Model.Time(1e3*l.getPosition()||0),h.trigger("loadedmetadata")},onTime:function(w){t?(l.pause(!0),t=!1):u&&l.getState()==="PLAYING"&&(u=!1,h.trigger("play")),h.trigger("timeupdate",new n.Model.Time(w.position*1e3))},onPlay:function(){t||(u=!1,h.trigger("play"))},onPause:function(){u=!0,h.trigger("pause")},onSeek:function(){h.trigger("seeked")},onMute:function(w){h.muted=w.mute,h.trigger("volumechange")},onVolume:function(w){h.volume=w.volume/100,h.trigger("volumechange")}},l=l.setup(o),this.jwplayer=l}},Or(e,"defaults",{}),e},latestAnnotationStyles={},LatestAnnotation=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}importUsers(){if(!this.source.users_data){this.usernames=Array();var o=this,l=this.getWidgetAnnotations(),t="";return l.forEach(function(u){o.usernames.indexOf(u.creator)==-1&&o.usernames.push(u.creator)}),this.usernames.forEach(function(u){t+=u+","}),t=t.substring(0,t.length-1),_url=mustache.render(this.api_users_endpoint,{usernames_list_string:encodeURIComponent(t),usernames_list_length:this.usernames.length}),jQuery.ajax({async:!1,url:_url,type:"GET",success:function(u){o.source.users_data=u.objects},error:function(u,h,v){console.log(u),console.log(h),console.log(v)}})}}draw(){var o=this;this.renderTemplate(),this.annotationContainer_$=this.$.find(".Ldt-LatestAnnotation"),this.selectable_annotations&&(this.onMdpEvent("AnnotationsList.refresh",function(){o.getWidgetAnnotations().forEach(function(l){l.off("click"),l.on("click",function(){var t={},u="",h=this.source.users_data.filter(function(v){return v.username==l.creator});h.length==0?t.username=l.creator:t=h[0],u=o.make_name_string_function(t),_html=mustache.render(o.annotationTemplate,{annotation_created:l.created.toLocaleDateString()+", "+l.created.toLocaleTimeString(),annotation_creator:u,annotation_title:l.title,annotation_content:l.description,copy_and_edit_button:o.copy_and_edit_button,button_text:o.l10n.copy_and_edit}),o.annotationContainer_$.html(_html),o.selectedAnnotation=!0})})}),this.segments=o.source.getAnnotationsByTypeTitle(this.segments_annotation_type),this.segments.forEach(function(l){l.on("click",function(){o.selectedAnnotation=!1})}),this.currentSegment=!1),this.onMediaEvent("timeupdate",function(){o.refresh()}),this.onMediaEvent("settimerange",function(l){o.refresh(l)}),this.starts_hidden?(this.visible=!0,this.hide()):(this.visible=!1,this.show()),this.selectedAnnotation=!1,this.player.trigger("AnnotationsList.refresh"),this.refresh()}refresh(o){o=typeof o<"u"?o:!1;var l=this;if(this.hide_without_segment){if(!o&&!this.media.getTimeRange()){var t=this.media.getCurrentTime(),u=this.segments.filter(function(I){return t>=I.begin&&t<=I.end});u.length==0?(this.currentSegment=!1,this.selectedAnnotation=!1):this.currentSegment=u[0]}else{var h=o?o[0]:this.media.getTimeRange()[0],v=o?o[1]:this.media.getTimeRange()[1];if(!this.currentSegment||this.currentSegment.begin!=h||this.currentSegment.end!=v){var u=this.segments.filter(function(j){return j.begin==h&&j.end==v});u.length>0&&(this.selectedAnnotation=!1,this.currentSegment=u[0])}}this.currentSegment?this.visible||this.show():this.visible&&this.hide()}if(this.visible&&!this.selectedAnnotation){var w=this.getWidgetAnnotations();this.filter_by_segment&&(this.currentSegment?w=w.filter(function(I){return _annotationTime=(I.begin+I.end)/2,l.currentSegment.begin<=_annotationTime&&l.currentSegment.end>=_annotationTime}):w=w.filter(function(I){return!1})),w=w.sortBy(function(I){return I.created});var A=!1,E="",C="",M={};if(w.length!=0)A=w.pop(),_users=this.source.users_data.filter(function(I){return I.username==A.creator}),_users.length==0?M.username=A.creator:M=_users[0],C=this.make_name_string_function(M),E=mustache.render(this.annotationTemplate,{annotation_created:A.created.toLocaleDateString()+", "+A.created.toLocaleTimeString(),annotation_creator:C,annotation_title:A.title,annotation_content:A.description,copy_and_edit_button:this.copy_and_edit_button,button_text:this.l10n.copy_and_edit});else{var P=this.l10n.empty;this.empty_message&&(P=this.empty_message),E="<div class='Ldt-LatestAnnotation-Element Ldt-LatestAnnotation-NoAnnotation'>"+P+"</div>"}this.annotationContainer_$.html(E)}this.copy_and_edit_button&&(this.copyAndEditButton_$=this.$.find(".Ldt-LatestAnnotation-CopyEditButton"),this.copyAndEditButton_$.click(this.functionWrapper("copy_and_edit")))}copy_and_edit(){this.player.trigger("CreateAnnotation.show"),this.hide_annotations_list&&this.player.trigger("AnnotationsList.hide"),annotationText=jQuery(".Ldt-LatestAnnotation-Content").get(0).innerHTML,jQuery(".Ldt-CreateAnnotation-Description").removeClass("empty"),jQuery(".Ldt-CreateAnnotation-Description").val(annotationText)}hide(){this.visible&&(this.visible=!1,this.$.find(".Ldt-LatestAnnotation-header").hide(),this.annotationContainer_$.hide())}show(){this.visible||(this.visible=!0,this.$.find(".Ldt-LatestAnnotation-header").show(),this.annotationContainer_$.show())}},Or(e,"defaults",{pre_draw_callback:function(){return this.importUsers()},from_user:!1,filter_by_segment:!1,segments_annotation_type:"chap",hide_without_segment:!1,annotation_type:"contribution",show_only_annotation_from_user:!1,copy_and_edit_button:!1,hide_annotations_list:!1,selectable_annotations:!1,empty_message:!1,starts_hidden:!1,show_header:!1,custom_header:!1,make_name_string_function:function(o){return o.username?o.username:"Anonymous"}}),Or(e,"messages",{fr:{copy_and_edit:"Copier et Editer",empty:"Aucune annotation à afficher",header:"Dernière annotation"},en:{copy_and_edit:"Copy and Edit",empty:"No annotation to display",header:"Last annotation"}}),Or(e,"template","{{#show_header}}<p class='Ldt-LatestAnnotation-header'>{{#custom_header}}{{custom_header}}{{/custom_header}}{{^custom_header}}{{l10n.header}}{{/custom_header}}</p>{{/show_header}}<div class='Ldt-LatestAnnotation'></div>"),Or(e,"annotationTemplate","<div class='Ldt-LatestAnnotation-Box'>{{#copy_and_edit_button}}<div class='Ldt-LatestAnnotation-CopyEditButton'>{{button_text}}</div>{{/copy_and_edit_button}}<div class='Ldt-LatestAnnotation-Element Ldt-LatestAnnotation-CreationDate'>{{{annotation_created}}}</div><div class='Ldt-LatestAnnotation-Element Ldt-LatestAnnotation-Title'>{{{annotation_creator}}}{{#annotation_title}}: {{{annotation_title}}}{{/annotation_title}}</div><div class='Ldt-LatestAnnotation-Element Ldt-LatestAnnotation-Content'>{{{annotation_content}}}</div></div>"),e},mashupPlayerStyles={},MashupPlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),this.is_mashup=!0}draw(){var o=this,l=this.media,t=null,u=null,h,v,w=0,A=!1,E,C,M=l.getMedias();l.paused=!this.autostart&&!this.autoplay;function P(){w>=l.duration&&(l.paused||(l.paused=!0,l.trigger("pause")),w=0);var F=l.getAnnotationAtTime(w);if(typeof F>"u"){t&&(t.pause(),l.paused||(l.paused=!0,l.trigger("pause")));return}if(F!==u){u=F,h=u.annotation.begin.milliseconds,v=u.annotation.end.milliseconds,C=h-u.begin.milliseconds,t=u.getMedia();for(var N=0;N<M.length;N++)M[N].id!==t.id?(o.split_screen||M[N].hide(),M[N].pause()):M[N].show();var ee=[],Z=l.getAnnotations().filter(function(re){return re.begin>=u.end&&re.getMedia()!==t});_$1(Z).each(function(re){var fe=re.getMedia();_$1(ee).indexOf(fe.id)===-1&&(ee.push(fe.id),fe.setCurrentTime(re.annotation.begin.getSeconds()),fe.seeking=!0)})}t.setCurrentTime(w+C),t.seeking=!0,l.paused||(t.play(),A=!0,E.show()),l.trigger("timeupdate",new n.Model.Time(w))}this.height||(this.height=Math.floor(this.width/this.aspect_ratio),this.$.css({height:this.height})),this.$.css({background:this.background});var I=Math.ceil(Math.sqrt(M.length)),j=this.split_screen?this.width/I:this.width,B=this.split_screen?this.height/I:this.height;_$1(M).each(function(F,N){var ee=jQuery('<div class="Ldt-MashupPlayer-Media"><div class="Ldt-MashupPlayer-Subwidget"></div></div>');ee.css({top:o.split_screen?B*Math.floor(N/I):0,left:o.split_screen?j*(N%I):0,height:B,width:j,display:o.split_screen?"block":"none"}),o.$.append(ee),o.insertSubwidget(ee.find(".Ldt-MashupPlayer-Subwidget"),_$1({type:o.player_type,media_id:F.id,height:B,width:j,url_transform:o.url_transform}).extend(o.player_options)),F.loadedMetadata=!1,F.show=function(){ee.show()},F.hide=function(){ee.hide()},F.on("loadedmetadata",function(){F.loadedMetadata=!0;for(var Z=!0,re=0;re<M.length;re++)Z=Z&&M[re].loadedMetadata;Z&&(E.fadeOut(),P(),l.trigger("loadedmetadata"))}),F.on("timeupdate",function(Z){!l.paused&&F===t&&!F.seeking&&(Z<v?Z>=h?w=Z-C:(w=h-C,F.setCurrentTime(h)):(w=v-C,F.pause(),P()),l.trigger("timeupdate",new n.Model.Time(w)))}),F.on("seeked",function(){F.seeking=!1,F===t&&A&&(A=!1,E.hide())}),F.on("play",function(){F===t&&l.trigger("play")}),F.on("pause",function(){F===t&&l.trigger("pause")}),F.on("volumechange",function(){l.muted=F.muted,l.volume=F.volume,l.trigger("volumechange")})}),E=jQuery('<div class="Ldt-MashupPlayer-Waiting"></div>'),this.$.append(E),l.on("setcurrenttime",function(F){w=F,P()}),l.on("setvolume",function(F){for(var N=0;N<M.length;N++)M[N].setVolume(F);l.volume=F}),l.on("setmuted",function(F){for(var N=0;N<M.length;N++)M[N].setMuted(F);l.muted=F}),l.on("setplay",function(){l.paused=!1,P()}),l.on("setpause",function(){l.paused=!0,t&&t.pause()}),l.on("loadedmetadata",P)}},Or(e,"defaults",{aspect_ratio:14/9,split_screen:!1,player_type:"PopcornPlayer",background:"#000000"}),e},Mediafragment=function(n){return class extends n.Widgets.Widget{constructor(e,o){if(super(e,o),this.last_hash_key="",this.last_hash_value="",this.last_extra_key="",this.last_extra_value="",window.onhashchange=this.functionWrapper("goToHash"),typeof window.addEventListener<"u"){var l=this;window.addEventListener("message",function(t){/^#/.test(t.data)&&l.setWindowHash(t.data)})}this.onMdpEvent("Mediafragment.setHashToAnnotation","setHashToAnnotation"),this.blocked=!1}draw(){this.onMediaEvent("setpause","setHashToTime");var e=this;this.getWidgetAnnotations().forEach(function(o){o.on("click",function(){e.setHashToAnnotation(o)})}),this.media.loadedMetadata?this.goToHash():this.onMediaEvent("loadedmetadata","goToHash")}setWindowHash(e){typeof window.history<"u"&&typeof window.history.replaceState<"u"?window.history.replaceState({},"",e):document.location.hash=e}getLastHash(){var e=document.location.hash.replace(/^#/,"").split("&");return e=_$1(e).filter(function(o){return o&&!/^(id|t)=/.test(o)}),this.last_hash_key&&e.push(this.last_hash_key+"="+this.last_hash_value),this.last_extra_key&&e.push(this.last_extra_key+"="+this.last_extra_value),"#"+e.join("&")}goToHash(){if(document.location.hash!==this.getLastHash())for(var e=document.location.hash.replace(/^#/,"").split("&"),o=0;o<e.length;o++){var l=e[o].split("=");if(l[0]=="id"||l[0]=="t"){if(this.last_hash_key=l[0],this.last_hash_value=l[1],this.last_hash_key=="id"){var t=this.source.getElement(this.last_hash_value);if(typeof t<"u")this.media.setCurrentTime(t.begin);else continue}this.last_hash_key=="t"&&this.media.setCurrentTime(1e3*this.last_hash_value);break}}}setHashToAnnotation(e){this.setHash("id",e.id,"t",e.begin/1e3)}setHashToTime(){this.setHash("t",this.media.getCurrentTime().getSeconds())}setHash(e,o,l,t){if(!this.blocked&&(this.last_hash_key!==e||this.last_hash_value!==o)){this.last_hash_key=e,this.last_hash_value=o,this.last_extra_key=l,this.last_extra_value=t;var u=this.getLastHash();this.setWindowHash(u),window.parent!==window&&window.parent.postMessage(u,"*"),this.block()}}unblock(){typeof this.blockTimeout<"u"&&window.clearTimeout(this.blockTimeout),this.blockTimeout=void 0,this.blocked=!1}block(){typeof this.blockTimeout<"u"&&window.clearTimeout(this.blockTimeout),this.blocked=!0,this.blockTimeout=window.setTimeout(this.functionWrapper("unblock"),1500)}}},mediaListStyles={},MediaList=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),this.lastMedia=!1}onSearch(o){this.searchString=typeof o<"u"?o:"";var l=this.refresh(!0);this.searchString&&(l?this.player.trigger("search.matchFound"):this.player.trigger("search.noMatchFound"))}draw(){this.$.addClass("Ldt-MediaListWidget"),this.renderTemplate();var o=this;typeof this.media.getMedias=="function"&&this.media.on("enter-annotation",function(l){o.redraw(l.getMedia())}),this.redraw()}getSegments(o){var l=this,t=this.$.width()/o.duration.milliseconds;return this.getWidgetAnnotations().filter(function(u){return u.getMedia().id==o.id}).map(function(u){var h=u.type=u.annotation;return{left:t*h.begin,width:t*(h.end-h.begin),color:typeof h.color<"u"&&h.color?h.color:l.default_color}})}redraw(o){if(typeof o<"u"){this.$.find(".Ldt-MediaList-Other h2").html(this.l10n.other_media),this.$.find(".Ldt-MediaList-NowPlaying").show(),this.$.find(".Ldt-MediaList-Now-Thumbnail").attr("src",o.thumbnail||this.default_thumbnail),this.$.find(".Ldt-MediaList-Now-Title a").html(o.title),this.$.find(".Ldt-MediaList-Now-Description").html(o.description);var l=o.url||mustache.render(this.media_url_template,{media:o.id});this.$.find(".Ldt-MediaList-NowContainer a").attr("href",l);var t=mustache.render(this.mediaViewTemplate,{segments:this.getSegments(o)});this.$.find(".Ldt-MediaList-Now-MediaView").html(t)}else this.$.find(".Ldt-MediaList-Other h2").html(this.l10n.all_media),this.$.find(".Ldt-MediaList-NowPlaying").hide();var u=this,h=this.source.getMedias().filter(function(w){return w.id!==u.lastMedia});if(h.length){this.$.find(".Ldt-MediaList-Other").show();var v=h.map(function(w){return mustache.render(u.mediaTemplate,{thumbnail:w.thumbnail||u.default_thumbnail,url:w.url||mustache.render(u.media_url_template,{media:w.id}),title:w.title,description:w.description,segments:u.getSegments(w)})}).join("");this.$.find(".Ldt-MediaList-OtherList").html(v)}else this.$.find(".Ldt-MediaList-Other").hide()}},Or(e,"messages",{fr:{now_playing:"Vidéo en cours",all_media:"Toutes les vidéos",other_media:"Autres vidéos"},en:{now_playing:"Now playing",all_media:"All videos",other_media:"Other videos"}}),Or(e,"defaults",{default_thumbnail:"https://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png",media_url_template:"https://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/",default_color:"#000080"}),Or(e,"template",'<div class="Ldt-MediaList-NowPlaying"><h2>{{l10n.now_playing}}</h2><hr /><div class="Ldt-MediaList-NowContainer"><div class="Ldt-MediaList-Now-ThumbContainer"><a href="" target="_blank"><img class="Ldt-MediaList-Now-Thumbnail" src="" /></a></div><h3 class="Ldt-MediaList-Now-Title"><a href="" target="_blank"></a></h3><p class="Ldt-MediaList-Now-Description"></p><div class="Ldt-MediaList-Now-MediaView"></div></div></div><div class="Ldt-MediaList-Other"><h2></h2><hr /><ul class="Ldt-MediaList-OtherList"></ul></div>'),Or(e,"mediaViewTemplate",'<div class="Ldt-MediaList-MediaView-Background"></div>{{#segments}}<div class="Ldt-MediaList-Segment" style="background: {{color}}; left: {{left}}px; width: {{width}}px;"></div>{{/segments}}'),Or(e,"mediaTemplate",'<li class="Ldt-MediaList-OtherList-li"><div class="Ldt-MediaList-Other-ThumbContainer"><a href="{{url}}" target="_blank"><img class="Ldt-MediaList-Other-Thumbnail" src="{{thumbnail}}" /></a></div><h3 class="Ldt-MediaList-Other-Title"><a href="{{url}}" target="_blank">{{title}}</a></h3><p class="Ldt-MediaList-Other-Description">{{description}}</p><div class="Ldt-MediaList-Other-MediaView">'+MediaList.mediaViewTemplate+"</div></li>"),e},noteTakingStyles={},NoteTaking=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){var o=this,l,t=jQuery;o.renderTemplate(),l=o.$.find(".Ldt-NoteTaking-Text");function u(){t(l).val(window.localStorage[o.editable_storage])}function h(){window.localStorage[o.editable_storage]=t(l).val()}window.localStorage[o.editable_storage]&&u(),t.fn.insertAtCaret=function(w){return this.each(function(){if(this.selectionStart!==void 0){var A=this.selectionStart,E=this.selectionEnd,C=this.scrollTop;this.value=this.value.substring(0,A)+w+this.value.substring(E,this.value.length),this.focus(),this.selectionStart=A+w.length,this.selectionEnd=A+w.length,this.scrollTop=C}else this.value+=w,this.focus(),this.value=this.value})};function v(w,A){var E=w.selectionStart;return w.value.substring(E-A,E+A)}t(l).keydown(function(w){if(w.keyCode==13&&(w.ctrlKey||w.metaKey)){w.preventDefault();var A=/\[([\d:]+)\]/.exec(v(l[0],8));A?o.media.setCurrentTime(n.timestamp2ms(A[1])):(t(l).insertAtCaret("["+new n.Model.Time(o.media.getCurrentTime()).toString()+"]"),h())}}).on("input",function(w){h()}).on("dblclick",function(w){var A=/\[([\d:]+)\]/.exec(v(l[0],8));A&&(w.preventDefault(),o.media.setCurrentTime(n.timestamp2ms(A[1])))})}},Or(e,"defaults",{editable_storage:""}),Or(e,"template",'<textarea class="Ldt-NoteTaking-Text"></textarea>'),e},placeholderPlayerStyles={},PlaceholderPlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){this.renderTemplate();var o=!0,l=0,t=new n.Model.Time(0),u=this.media,h=this.$.find(".Ldt-PlaceholderPlayer");function v(){o||(t=new n.Model.Time(new Date().valueOf()-l),t<=u.duration?(u.trigger("timeupdate",t),setTimeout(v,100)):(t=u.duration,u.pause())),h.text(t.toString(!0))}u.on("setcurrenttime",function(w){l=new Date().valueOf()-w,t=new n.Model.Time(w),u.trigger("seeked"),u.trigger("timeupdate",t),h.text(t.toString(!0))}),u.on("setplay",function(){o=!1,l=new Date().valueOf()-t,u.trigger("play"),v()}),u.on("setpause",function(){o=!0,u.trigger("pause"),v()}),u.trigger("loadedmetadata"),u.trigger("setcurrenttime",0),this.autostart&&u.trigger("setplay")}},Or(e,"defaults",{autostart:!1}),Or(e,"template",'<div class="Ldt-PlaceholderPlayer">(loading)</div>'),e},polemicStyles={},Polemic=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}getPolemics(o){return(typeof o>"u"||!o)&&(o=this.default_version),this.polemics.constructor===Array?this.polemics:this.polemics[o]}drawNoStackgraph(o,l){var t=this;if(this.is_stackgraph=!1,o){let h=function(v,w,F,E,C){var M=mustache.render('<div class="Ldt-Polemic-TweetDiv Ldt-TraceMe" trace-info="annotation-id:{{id}}, media-id:{{media_id}}, polemic:{{polemic}}, time:{{time}}" polemic-color="{{color}}" tweet-title="{{title}}" annotation-id="{{id}}" style="width: {{width}}px; height: {{height}}px; top: {{top}}px; left: {{left}}px; background: {{color}}"></div>',{id:C.id,media_id:t.source.currentMedia.id,polemic:F,left:v,top:w,color:E,width:t.element_width-1,height:t.element_height,title:C.title,time:C.begin.toString()}),P=jQuery(M);P.on("mouseover",function(){C.trigger("select")}).on("mouseout",function(){C.trigger("unselect")}).on("click",function(){return C.trigger("click"),!1}),n.attachDndData(P,{title:C.title,description:C.description,image:C.thumbnail,uri:typeof C.url<"u"?C.url:document.location.href.replace(/#.*$/,"")+"#id="+C.id,text:"["+C.begin.toString()+"] "+C.title});for(var I=[],j=C.content&&C.content.polemic_version||t.default_version,B=t.getPolemics(j)||[],F,N,ee=0;ee<B.length;ee++)F=B[ee],N=n.Model.regexpFromTextOrArray(F.keywords),N.test(C.description)&&I.push(F.color);C.on("select",function(){t.tooltip&&t.tooltip.show(+Math.floor(v+(t.element_width-1)/2),+w,C.title,I.length>1?I:E),t.$tweets.each(function(){var Z=jQuery(this);Z.css("opacity",Z.attr("annotation-id")==C.id?1:.3)})}),C.on("unselect",function(){t.tooltip&&t.tooltip.hide(),t.$tweets.css("opacity",1)}),C.on("found",function(){P.css({background:t.foundcolor,opacity:1})}),C.on("not-found",function(){P.css({background:E,opacity:.3})}),t.$zone.append(P)};this.height=(2+o)*this.element_height,this.$zone.css({width:this.width+"px",height:this.height+"px",position:"relative"});var u=0;_$1(l).forEach(function(v){var w=t.height;v.annotations.forEach(function(A){w-=t.element_height,h(u,w,"none",t.defaultcolor,A)}),_$1(v.polemicStacks).forEach(function(A){var E=A.polemicDef.color,C=A.polemicDef.name;A.annotations.forEach(function(M){w-=t.element_height,h(u,w,C,E,M)})}),u+=t.element_width}),this.$tweets=this.$.find(".Ldt-Polemic-TweetDiv"),this.source.getAnnotations().on("search-cleared",function(){t.$tweets.each(function(){var v=jQuery(this);v.css({background:v.attr("polemic-color"),opacity:1})})})}else this.$zone.hide()}drawStackgraph(o,l){this.is_stackgraph=!0;var t=this;this.height=(2+this.max_elements)*this.element_height,this.$zone.css({width:this.width+"px",height:this.height+"px",position:"relative"});var u=0,h="",v=this.max_elements*this.element_height/o;function w(A,E,C,M,P,I,j,B){h+=mustache.render('<div class="Ldt-Polemic-TweetDiv Ldt-TraceMe" trace-info="annotation-block, media-id={{media_id}}, polemic={{polemic}}, time:{{begin}}" pos-x="{{posx}}" pos-y="{{top}}" annotation-counts="{{nums}}" begin-time="{{begin}}" end-time="{{end}}" style="width: {{width}}px; height: {{height}}px; top: {{top}}px; left: {{left}}px; background: {{color}}"></div>',{nums:P,posx:Math.floor(A+(t.element_width-1)/2),media_id:t.source.currentMedia.id,polemic:B,left:A,top:E,color:M,width:t.element_width-1,height:C,begin:I,end:j})}_$1(l).forEach(function(A){var E=t.height,C=A.annotations.length+"|"+t.defaultcolor+","+_$1(A.polemicStacks).map(function(P){return P.annotations.length+"|"+P.polemicDef.color}).join(",");if(A.annotations.length){var M=Math.ceil(v*A.annotations.length);E-=M,w(u,E,M,t.defaultcolor,C,A.begin,A.end,"none")}_$1(A.polemicStacks).forEach(function(P){if(P.annotations.length){var I=P.polemicDef.color,j=P.polemicDef.name,B=Math.ceil(v*P.annotations.length);E-=B,w(u,E,B,I,C,A.begin,A.end,j)}}),u+=t.element_width}),this.$zone.append(h),this.$tweets=this.$.find(".Ldt-Polemic-TweetDiv"),this.$tweets.mouseover(function(){var A=jQuery(this),E=A.attr("annotation-counts").split(","),C="<p>"+t.l10n.from_+A.attr("begin-time")+t.l10n._to_+A.attr("end-time")+"</p>";C=_$1.reduce(E,function(M,P){var I=P.split("|");return M+='<div class="Ldt-Tooltip-AltColor" style="background: '+I[1]+'"></div><p>'+I[0]+t.l10n._annotations+"</p>",M},C),t.tooltip&&t.tooltip.show(+A.attr("pos-x"),+A.attr("pos-y"),C)}).mouseout(function(){t.tooltip&&t.tooltip.hide()})}draw(){this.onMediaEvent("timeupdate","onTimeupdate"),this.$zone=jQuery("<div>"),this.$zone.addClass("Ldt-Polemic"),this.$.append(this.$zone),this.$elapsed=jQuery("<div>").css({background:"#cccccc",position:"absolute",top:0,left:0,width:0,height:"100%"}),this.$zone.append(this.$elapsed);for(var o=[],l=Math.floor(this.width/this.element_width),t=this.source.getDuration(),u=0,h=this.getWidgetAnnotations(),v=this,w=0;w<l;w++){var A=new n.Model.Time(w*t/l),E=new n.Model.Time((w+1)*t/l),C=0,M={begin:A.toString(),end:E.toString(),annotations:h.filter(function(P){return P.begin>=A&&P.begin<E}),polemicStacks:{}};M.annotations=M.annotations.filter(function(P){for(var I=P.content&&P.content.polemic_version||v.default_version,j=v.getPolemics(I)||[],B,F,N,ee,Z=!0,re=0;re<j.length;re++)B=j[re],ee=n.Model.regexpFromTextOrArray(B.keywords),ee.test(P.description)&&(F=I+"_"+B.name,N=M.polemicStacks[F]||(M.polemicStacks[F]={polemicDef:B,annotations:[]}),N.annotations.push(P),Z=!1,C++);return Z}),C+=M.annotations.length,u=Math.max(u,C),o.push(M)}u<this.max_elements?this.drawNoStackgraph(u,o):this.drawStackgraph(u,o),this.$position=jQuery("<div>").addClass("Ldt-Polemic-Position"),this.$zone.append(this.$position),this.$zone.on("click",function(P){var I=P.pageX-v.$zone.offset().left;v.media.setCurrentTime(v.media.duration*I/v.width)}),this.$.append('<div class="Ldt-Polemic-Tooltip"></div>'),this.insertSubwidget(this.$.find(".Ldt-Polemic-Tooltip"),{type:"Tooltip",min_x:0,max_x:this.width},"tooltip")}onTimeupdate(o){var l=Math.floor(this.width*o/this.media.duration);this.$elapsed.css({width:l+"px"}),this.$position.css({left:l+"px"})}},Or(e,"messages",{fr:{from_:"de ",_to_:" à ",_annotations:" annotation(s)"},en:{from_:"from ",_to_:" to ",_annotations:" annotation(s)"}}),Or(e,"defaults",{element_width:5,element_height:5,max_elements:20,annotation_type:"tweet",defaultcolor:"#585858",foundcolor:"#fc00ff",default_version:"1",polemics:{1:[{name:"OK",keywords:["++"],color:"#1D973D"},{name:"KO",keywords:["--"],color:"#CE0A15"},{name:"REF",keywords:["==","http://"],color:"#C5A62D"},{name:"Q",keywords:["?"],color:"#036AAE"}],2:[{name:"OK",keywords:["++"],color:"#1D973D"},{name:"KO",keywords:["!!"],color:"#CE0A15"},{name:"REF",keywords:["==","http://"],color:"#C5A62D"},{name:"Q",keywords:["?"],color:"#036AAE"}]}}),e},PopcornPlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){typeof this.video>"u"&&(this.video=this.media.video),this.url_transform&&(this.video=this.url_transform(this.video));var o=this.video;if(/^(https?:\/\/)?(www\.)?youtube\.com/.test(this.video)){for(var l=this.video.split(/[?&]/),t={},u=1;u<l.length;u++){var h=l[u].split("=");t[h[0]]=decodeURIComponent(h[1])}t.controls=0,t.modestbranding=1,(this.autostart||this.autoplay)&&(t.autoplay=1),o=l[0]+"?"+jQuery.param(t)}var v=global$1.Popcorn.smart("#"+this.container,o);(this.autostart||this.autoplay)&&v.autoplay(!0);var w=this.media;w.on("setcurrenttime",function(E){v.currentTime(E/1e3)}),w.on("setvolume",function(E){v.volume(E),w.volume=E}),w.on("setmuted",function(E){v.muted(E),w.muted=E}),w.on("setplay",function(){v.play()}),w.on("setpause",function(){v.pause()}),w.on("settimerange",function(E){w.timeRange=E;try{(w.getCurrentTime()>E[0]||w.getCurrentTime()<E)&&v.currentTime(E[0]/1e3)}catch{}}),w.on("resettimerange",function(){w.timeRange=!1});function A(){w.muted=v.muted(),w.volume=v.volume()}v.on("loadedmetadata",function(){A(),w.trigger("loadedmetadata"),w.trigger("volumechange")}),v.on("timeupdate",function(){w.trigger("timeupdate",new n.Model.Time(1e3*v.currentTime()))}),v.on("volumechange",function(){A(),w.trigger("volumechange")}),v.on("play",function(E){w.trigger("play")}),v.on("pause",function(){w.trigger("pause")}),v.on("seeked",function(){w.trigger("seeked")})}},Or(e,"defaults",{}),e},quizStyles={},Quiz=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}update(o){var l=this;if(this.quiz_activated&&this.correct[o.id]!=1&&this.correct[o.id]!=0){l.quiz_displayed=!0,this.media.pause(),this.annotation=o;var t=o.content.data.question,u=o.content.data.answers,h=o.content.data.resource;jQuery(".Ldt-Quiz-Votes").hide(),jQuery(".Ldt-Pause-Add-Question").hide(),jQuery(".Ldt-Quiz-Container .Ldt-Quiz-Title").html(t);var v=0,w=mustache.render('<span class="Ldt-Quiz-Correct-Answer">{{ correctness.0 }}</span> / <span class="Ldt-Quiz-Incorrect-Answer">{{ correctness.1 }}</span>',{correctness:this.globalScore()});jQuery(".Ldt-Quiz-Index").html(mustache.render("Q{{index}}/{{total}}",{index:o.number+1,total:this.totalAmount})),jQuery(".Ldt-Quiz-Score").html(w),this.question=new n.Widgets.UniqueChoiceQuestion(o),this.resource=new n.Widgets.UniqueChoiceQuestion(h),o.content.data.type=="multiple_choice"?(this.question=new n.Widgets.MultipleChoiceQuestion(o),this.resource=new n.Widgets.MultipleChoiceQuestion(h)):o.content.data.type=="unique_choice"&&(this.question=new n.Widgets.UniqueChoiceQuestion(o),this.resource=new n.Widgets.UniqueChoiceQuestion(h));var A="";for(v=0;v<u.length;v++)A+='<div class="quiz-question-block"><p>'+this.question.renderQuizTemplate(u[v],v)+'<span class="quiz-question-label">'+u[v].content+"</span></p></div>";var E="";h!=null&&(E='<div class="quiz-resource-block" id="resource" >'+h+"</div>"),jQuery(".Ldt-Quiz-Questions").html(E+A),jQuery(".Ldt-Quiz-Overlay").fadeIn(),jQuery(".Ldt-Quiz-Submit").fadeIn(),jQuery(".quiz-question-label").click(function(){var C=jQuery(this).siblings("input");C.prop("checked")&&C.prop("type")=="radio"?l.answer():C.prop("checked",!C.prop("checked"))}),jQuery(".Ldt-Quiz-Submit-Skip-Link").click({media:this.media},function(C){l.hide(),l.player.trigger("QuizCreator.skip"),C.data.media.play()})}}hide(){var o=this;jQuery(".Ldt-Quiz-Votes").hide(),jQuery(".Ldt-Quiz-Overlay").hide(),jQuery(".Ldt-Pause-Add-Question").hide(),o.quiz_displayed=!1}answer(){var o=this;function l(C){return(C||"").replace(/\s(\d+:\d+)/,function(M,P){return' <a href="#t='+n.timestamp2ms(P)/1e3+'">'+P+"</a>"})}var t=o.annotation.content.data.answers,u=0,h=0,v=[];o.$.find(".Ldt-Quiz-Question-Check").each(function(C){var M=jQuery(this).is(":checked");v.push(M?1:0);var P=t[u];P.correct&&!M||!P.correct&&M?(h+=1,jQuery(this).parents(".quiz-question-block").append('<div class="quiz-question-feedback quiz-question-incorrect-feedback">'+l(P.feedback)+"</div>")):jQuery(this).parents(".quiz-question-block").append('<div class="quiz-question-feedback quiz-question-correct-feedback">'+l(P.feedback)+"</div>"),u++}),h?(jQuery(".Ldt-Quiz-Result").html("Mauvaise réponse"),jQuery(".Ldt-Quiz-Result").css({"background-color":"red"}),this.correct[this.annotation.id]=0):(jQuery(".Ldt-Quiz-Result").html("Bonne réponse !"),jQuery(".Ldt-Quiz-Result").css({"background-color":"green"}),this.correct[this.annotation.id]=1),jQuery(".Ldt-Quiz-Result").animate({height:"100%"},500,"linear",function(){jQuery(".Ldt-Quiz-Result").delay(2e3).animate({height:"0%"},500)});var w=this.annotation.number+1,A=this.globalScore(),E="";E+='<span class="Ldt-Quiz-Correct-Answer">'+A[0]+'</span> / <span class="Ldt-Quiz-Incorrect-Answer">'+A[1]+"</span>",jQuery(".Ldt-Quiz-Index").html("Q"+w+"/"+this.totalAmount),jQuery(".Ldt-Quiz-Score").html(E),this.submit(this.user,this.userid,this.annotation.id,h?"wrong_answer":"right_answer",v.join("")),jQuery(".Ldt-Quiz-Submit").fadeOut(400,function(){jQuery(".Ldt-Quiz-Votes").show()})}globalScore(){var o=_.values(this.correct),l=o.filter(function(u){return u==1}).length,t=o.filter(function(u){return u==0}).length;return[l,t]}refresh(){var o=this.getWidgetAnnotations().sortBy(function(t){return t.begin}),l=this;l.totalAmount=o.length,l.number=0,l.correct={},l.keys={},o.forEach(function(t){l.correct[t.id]=-1,l.keys[l.number]=t.id,t.number=l.number++})}draw(){var o=this;o.quiz_displayed=!1,this.onMediaEvent("enter-annotation",function(l){var t=o.getWidgetAnnotations().filter(function(u){return u===l});t.number===void 0&&o.refresh(),t.length&&o.update(t[0])}),this.onMdpEvent("Quiz.activate",function(){o.quiz_activated=!0}),this.onMdpEvent("Quiz.deactivate",function(){o.quiz_activated=!1,o.hide()}),this.onMdpEvent("Quiz.hide",function(){o.hide()}),this.onMdpEvent("Quiz.refresh",function(){o.refresh()}),this.onMediaEvent("pause",function(){o.quiz_displayed||jQuery(".Ldt-Pause-Add-Question").show()}),this.onMediaEvent("play",function(){jQuery(".Ldt-Pause-Add-Question").hide()}),o.overlay=jQuery("<div class='Ldt-Quiz-Overlay'></div>").appendTo(jQuery("#"+o.container)),o.PauseAddQuestion=jQuery("<div class='Ldt-Pause-Add-Question' title='Ajoutez une question !'>").on("click",function(){o.player.trigger("QuizCreator.create")}).appendTo(jQuery("#"+o.container)),o.overlay.html(this.template),jQuery(".Ldt-Quiz-Overlay").hide(),jQuery(".Ldt-Quiz-Submit input").click(function(){o.answer()}),jQuery(".Ldt-Quiz-Submit-Skip-Link").click({media:this.media},function(l){o.submit(o.user,o.userid,o.annotation.id,"skipped_answer",0),o.hide(),o.player.trigger("QuizCreator.skip"),l.data.media.play()}),jQuery('.Ldt-Quiz-Votes-Buttons input[type="button"], .Ldt-Quiz-Votes-Buttons a').click({media:this.media},function(l){var t,u;jQuery(this).hasClass("Ldt-Quiz-Vote-Useful")?(t="useful",u=1):jQuery(this).hasClass("Ldt-Quiz-Vote-Useless")?(t="useless",u=-1,jQuery(".Ldt-Ctrl-Quiz-Create").addClass("button_highlight").delay(5e3).queue(function(){jQuery(this).removeClass("button_highlight").dequeue()})):(t="skipped_vote",u=0),o.submit(o.user,o.userid,o.annotation.id,t,u),l.data.media.play(),o.hide(),jQuery(".Ldt-Pause-Add-Question").hide(),o.player.trigger("QuizCreator.skip")}),o.refresh()}},Or(e,"defaults",{quiz_activated:!0,api_serializer:"ldt_annotate",analytics_api:"",api_method:"POST",user:"",userid:""}),Or(e,"template",'<div class="Ldt-Quiz-Container"><div class="Ldt-Quiz-Header">  <div class="Ldt-Quiz-Index"></div><div class="Ldt-Quiz-Score"></div></div><div class="Ldt-Quiz-Content">  <h1 class="Ldt-Quiz-Title">{{question}}</h1>  <div class="Ldt-Quiz-Questions">  </div></div><div class="Ldt-Quiz-Footer">  <div class="Ldt-Quiz-Votes">      <span class="Ldt-Quiz-Votes-Question">Avez-vous trouvé cette question utile ?</span>      <div class="Ldt-Quiz-Votes-Buttons">          <div class="Ldt-Quiz-Vote-Skip-Block"><a href="#" class="Ldt-Quiz-Vote-Skip">Passer</a></div>          <div><input type="button" value="Non" class="Ldt-Quiz-Button Ldt-Quiz-Vote-Useless" /></div>          <div><input type="button" value="Oui" class="Ldt-Quiz-Button Ldt-Quiz-Vote-Useful" /></div>      </div>  </div>  <div class="Ldt-Quiz-Submit">      <div class="Ldt-Quiz-Submit-Button"><input type="button" value="Valider" class="Ldt-Quiz-Button" /></div>      <div class="Ldt-Quiz-Submit-Skip-Link"><a href="#">Passer</a></div><div style="clear:both;"></div>  </div>  <div class="Ldt-Quiz-Result">Bonne réponse</div></div></div>'),Or(e,"annotationTemplate",""),e},UniqueChoiceQuestion=function(n){return class extends n.Widgets.Widget{constructor(e){this.annotation=e}renderQuizTemplate(e,o){return'<input type="radio" class="quiz-question Ldt-Quiz-Question-Check Ldt-Quiz-Question-Check-'+o+'" name="question" data-question="'+o+'" value="'+o+'" />'}renderTemplate(e,o){var l=this.generateUid();return'<input type="radio" id="'+l+'" class="quiz-question-edition Ldt-Quiz-Question-Check Ldt-Quiz-Question-Check-'+o+'" name="question" data-question="'+o+'" value="'+o+'" /><label for="'+l+'" title="Veuillez sélectionner la réponse correcte"></label>'}renderFullTemplate(e,o){var l=e&&e.correct?"checked":"",t=this.generateUid();return'<input type="radio" id="'+t+'" '+l+' class="quiz-question-edition Ldt-Quiz-Question-Check Ldt-Quiz-Question-Check-'+o+'" name="question" data-question="'+o+'" value="'+o+'" /><label for="'+t+'"></label>'}}},MultipleChoiceQuestion=function(n){return class extends n.Widgets.Widget{constructor(e){this.annotation=e}renderQuizTemplate(e,o){return'<input type="checkbox" class="quiz-question Ldt-Quiz-Question-Check Ldt-Quiz-Question-Check-'+o+'" name="question['+o+']" data-question="'+o+'" value="'+o+'" /> '}renderTemplate(e,o){var l=this.generateUid();return'<input type="checkbox" id="'+l+'" class="quiz-question-edition Ldt-Quiz-Question-Check" name="question['+o+']" data-question="'+o+'" value="'+o+'" /><label for="'+l+'" title="Veuillez sélectionner la ou les réponses correctes"></label>'}renderFullTemplate(e,o){var l=e&&e.correct?"checked":"",t=this.generateUid();return'<input type="checkbox" id="'+t+'" '+l+' class="quiz-question-edition Ldt-Quiz-Question-Check" name="question['+o+']" data-question="'+o+'" value="'+o+'" /><label for="'+t+'"></label> '}submit(e,o,l,t,u){var h=this,v=mustache.render(this.analytics_api,{id:this.source.projectId}),w={username:e,useruuid:o,subject:l,property:t,value:u,session:h.session_id};jQuery.ajax({url:v,type:this.api_method,contentType:"application/json",data:JSON.stringify(w),success:function(A){},error:function(A,E,C){n.log("Error when sending annotation",C)}})}}},quizCreatorStyles={},QuizCreator=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}skip(){this.$.find(".Ldt-QuizCreator-Time").val(""),this.$.find(".Ldt-QuizCreator-Question-Area").val(""),this.$.find(".Ldt-QuizCreator-Resource-Area").val(""),this.$.find(".Ldt-QuizCreator-Questions-Block").html(""),this.current_annotation=void 0}nbAnswers(){var o=this.$.find(".Ldt-QuizCreator-Questions-Answer").length;return o}draw(){var o=this;this.onMediaEvent("timeupdate",function(l){o.setBegin(l)}),this.onMdpEvent("QuizCreator.show",function(){o.setBegin(o.media.currentTime)}),this.onMdpEvent("QuizCreator.create",function(){o.skip(),o.setBegin(o.media.currentTime)}),this.onMdpEvent("QuizCreator.skip",function(){o.skip()}),this.onMdpEvent("QuizCreator.edit",function(l){o.skip(),o.addQuestion(l)}),this.$.on("click",".Ldt-QuizCreator-Remove",function(){jQuery(this).parents(".Ldt-QuizCreator-Questions-Answer").remove()}),this.begin=new n.Model.Time,this.end=this.source.getDuration(),this.answers=[],this.renderTemplate(),this.question=new n.Widgets.UniqueChoiceQuestion,this.$.find(".Ldt-QuizCreator-Question-Type").bind("change",this.functionWrapper("onQuestionTypeChange")),this.$.find(".Ldt-QuizCreator-Question-Add").bind("click",this.functionWrapper("onQuestionAdd")),this.$.find(".Ldt-QuizCreator-Question-Save").bind("click",this.functionWrapper("onSave")),this.$.find(".Ldt-QuizCreator-Time").keyup(function(){var l=o.$.find(".Ldt-QuizCreator-Time").val();o.begin=n.timestamp2ms(l),o.end=o.begin+1e3}),this.onMediaEvent("timeupdate",function(l){o.getDescription()&&o.setBegin(l)})}getDescription(){return this.$.find(".Ldt-QuizCreator-Question-Area").val().trim()}addQuestion(o,l){var t=this;o.content.data.type=="multiple_choice"?this.question=new n.Widgets.MultipleChoiceQuestion(o):o.content.data.type=="unique_choice"&&(this.question=new n.Widgets.UniqueChoiceQuestion(o));var u=o.content.data.answers;this.answers=[],this.$.find(".Ldt-QuizCreator-Time").val(o.begin),this.$.find(".Ldt-QuizCreator-Question-Area").val(o.content.data.question),this.$.find(".Ldt-QuizCreator-Resource-Area").val(o.content.data.resource),this.$.find(".Ldt-QuizCreator-Questions-Block").html(""),u.forEach(function(h){t.onQuestionAdd(null,h)}),t.current_annotation=o}onQuestionTypeChange(o){var l=this.$.find(".Ldt-QuizCreator-Question-Type"),t=l.val(),u=this;switch(t){case"unique_choice":this.question=new n.Widgets.UniqueChoiceQuestion;break;case"multiple_choice":this.question=new n.Widgets.MultipleChoiceQuestion;break}var h="";u.$.find(".Ldt-QuizCreator-Questions-Block").html(h),this.pauseOnWrite()}onQuestionAdd(o,l){var t='<div class="Ldt-QuizCreator-Questions-Answer">Réponse <div class="Ldt-QuizCreator-Questions-Answer-Correct">'+this.question.renderFullTemplate(l,this.nbAnswers())+'</div><br /><div class="Ldt-QuizCreator-Questions-Answer-Content"><input type="text" class="Ldt-QuizCreator-Answer-Content" data-question="'+this.nbAnswers()+'" id="question'+this.nbAnswers()+'"'+(l?' value="'+l.content+'"':"")+'/><br />Commentaire <br/><textarea class="Ldt-QuizCreator-Answer-Feedback" data-question="'+this.nbAnswers()+'" id="feedback'+this.nbAnswers()+'">'+(l?l.feedback:"")+'</textarea></div><div class="Ldt-QuizCreator-Questions-Answer-Delete"><div class="Ldt-QuizCreator-Remove">&nbsp;</div></div></div>';this.$.find(".Ldt-QuizCreator-Questions-Block").append(t),this.$.find(".Ldt-QuizCreator-Answer-Content").last().focus(),this.pauseOnWrite()}pauseOnWrite(){this.pause_on_write&&!this.media.getPaused()&&this.media.pause()}setBegin(o){this.begin=new n.Model.Time(o||0),this.end=this.begin+500,this.$.find(".Ldt-QuizCreator-Time").val(this.begin.toString())}get_local_annotation(o){return this.player.getLocalAnnotation(o)}save_local_annotations(){this.player.saveLocalAnnotations(),this.source.merge(this.player.localSource)}delete_local_annotation(o){this.source.getAnnotations().removeId(o),this.player.deleteLocalAnnotation(o),this.current_annotation=void 0,this.refresh(!0)}show(){this.$.find(".Ldt-QuizCreator-Question-Area").focus()}hide(){this.$.find(".Ldt-QuizCreator-Questions-Block").html(""),this.$.find(".Ldt-QuizCreator-Question-Area").val(""),this.$.find(".Ldt-QuizCreator-Resource-Area").val(""),this.$.find(".Ldt-QuizCreator-Time").val("")}onSave(o,l){var t=!1;if(this.nbAnswers()<=0)return alert("Vous devez spécifier au moins une réponse à votre question !"),!1;if(!this.$.find(".quiz-question-edition:checked").length)return alert("Vous n'avez pas indiqué de bonne réponse."),!1;var u;if(this.current_annotation)t=!1,u=this.current_annotation;else{t=!0;var h=this.source.getAnnotationTypes().searchByTitle(this.annotation_type,!0),v=h.length?h[0]:new n.Model.AnnotationType(!1,this.player.localSource);h.length||(v.dont_send_id=!0,v.title=this.annotation_type),u=new n.Model.Annotation(!1,this.player.localSource),u.created=new Date,u.creator=this.creator_name,u.setAnnotationType(v.id),this.player.localSource.getMedias().push(this.source.currentMedia),u.setMedia(this.source.currentMedia.id)}u.setBeginEnd(this.begin,this.end),u.modified=new Date,u.contributor=this.creator_name,u.description=this.getDescription(),u.title=u.description,u.content={},u.content.data={},u.content.data.type=this.$.find(".Ldt-QuizCreator-Question-Type").val(),u.content.data.question=u.description,u.content.data.resource=this.$.find(".Ldt-QuizCreator-Resource-Area").val(),u.content.data.answers=jQuery.makeArray(jQuery(".Ldt-QuizCreator-Questions-Answer").map(function(w){return{content:jQuery(this).find(".Ldt-QuizCreator-Answer-Content").val(),feedback:jQuery(this).find(".Ldt-QuizCreator-Answer-Feedback").val(),correct:jQuery(this).find(".Ldt-Quiz-Question-Check").is(":checked")}})),this.current_annotation=u,t?(this.player.addLocalAnnotation(u),this.source.merge([u]),this.player.trigger("Annotation.create",u)):(this.player.saveLocalAnnotations(),this.player.trigger("Annotation.update",u)),this.player.trigger("AnnotationsList.update"),this.player.trigger("Quiz.refresh")}},Or(e,"defaults",{creator_name:"",tags:!1,tag_titles:!1,pause_on_write:!0,annotation_type:"Quiz",api_serializer:"ldt_annotate",api_endpoint_template:"",api_method:"POST"}),Or(e,"messages",{en:{},fr:{}}),Or(e,"template",'<div class="Ldt-QuizCreator-Ui Ldt-TraceMe"><div class="Ldt-QuizCreator-Question-Form"><textarea class="Ldt-QuizCreator-Question-Area" placeholder="Votre question"></textarea><br /><textarea class="Ldt-QuizCreator-Resource-Area" placeholder="Ressources (lien vers une image, etc.)"></textarea><br /></div><p>Type de question  <select name="type" class="Ldt-QuizCreator-Question-Type"><option value="unique_choice">Choix unique</option><option value="multiple_choice">Choix multiple</option></select> à <input type="text" placeholder="hh:mm:ss" size="6" class="Ldt-QuizCreator-Time" /><div class="Ldt-QuizCreator-Questions-Block"></div><div>  <button class="Ldt-QuizCreator-Question-Add">Ajouter une réponse</button><hr>  <button class="Ldt-QuizCreator-Question-Save">Sauvegarder</button></div></div>'),e},segmentsStyles={},Segments=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}do_draw(o){this.width!=this.$.parent().width()&&this.scale_to_parent&&(this.width=this.$.parent().width(),this.$.css({width:this.width+"px"}));var l=this,t=this.getWidgetAnnotations().filter(function(E){return E.getDuration()>0&&E.getMedia().id==l.media.id}),u=this.width/this.source.getDuration(),h=this.$.find(".Ldt-Segments-List"),v=[],w=1;function A(E,C,M,P){function I(B){return Math.floor(240*(1-P)+B*P)}for(var j=(65536*I(E)+256*I(C)+I(M)).toString(16);j.length<6;)j="0"+j;return"#"+j}o&&this.$.find(".Ldt-Segments-Segment").remove(),t.forEach(function(E,C){var M=E.begin*u,P=E.getDuration()*u,I=Math.floor(M+P/2),j=E.title+(E.description?"<br/>"+E.description:""),B=_$1(v).find(function(L){return!_$1(L.annotations).find(function(p){return p.begin<E.end&&p.end>E.begin})});B||(B={index:v.length,annotations:[]},v.push(B)),B.annotations.push(E);var F=(1-l.overlap)*B.index*l.line_height,N=typeof E.color<"u"&&E.color?E.color:l.colors[C%l.colors.length],ee=parseInt(N.substr(1,2),16),Z=parseInt(N.substr(3,2),16),re=parseInt(N.substr(5,2),16),fe=A(ee,Z,re,.5),V=A(ee,Z,re,.2),le={color:N,medcolor:fe,lowcolor:V,text:(E.creator?E.creator+" : ":"")+j.replace(/(\n|\r|\r\n)/gm," ").replace(/(^.{120,140})[\s].+$/m,"$1&hellip;"),left:M,width:P,top:F,height:l.line_height-1,id:E.id,media_id:E.getMedia().id,from:E.begin.toString(),to:E.end.toString()},he=mustache.render(l.constructor.annotationTemplate,le),ye=jQuery(he);ye.on("mouseover",function(){E.trigger("select")}).on("mouseout",function(){E.trigger("unselect")}).on("click",function(){l.use_timerange&&(l.media.getTimeRange()?l.media.getTimeRange()[0]==E.begin||l.media.getTimeRange()[1]==E.end?(l.media.resetTimeRange(),l.$segments.each(function(){var L=jQuery(this);L.css("background",V).removeClass("selected"),E.trigger("select")})):(l.media.setCurrentTime(E.begin),l.media.setTimeRange(E.begin,E.end),l.media.play(),l.$segments.each(function(){var L=jQuery(this);L.css("background",V).removeClass("selected")}),ye.css("background",l.selected_color).addClass("selected")):(l.media.setCurrentTime(E.begin),l.media.setTimeRange(E.begin,E.end),l.media.play(),l.$segments.each(function(){var L=jQuery(this);L.css("background",V).removeClass("selected")}),ye.css("background",l.selected_color).addClass("selected"))),E.trigger("click")}).appendTo(h),n.attachDndData(ye,{title:E.title,description:E.description,uri:typeof E.url<"u"?E.url:document.location.href.replace(/#.*$/,"")+"#id="+E.id,image:E.thumbnail,text:"["+E.begin.toString()+"] "+E.title}),E.on("select",function(){l.$segments.each(function(){var L=jQuery(this);L.css({background:L.hasClass("found")?l.faded_found_color:L.attr("data-low-color")}),L.css({background:L.hasClass("selected")?l.faded_selected_color:L.attr("data-low-color")})}),ye.css({background:ye.hasClass("found")?l.found_color:N,background:ye.hasClass("selected")?l.selected_color:N,"z-index":++w}),l.tooltip&&l.tooltip.show(I,F,le.text,le.color)}),E.on("unselect",function(){l.tooltip&&l.tooltip.hide(),l.$segments.each(function(){var L=jQuery(this);L.css("background",L.hasClass("found")?l.found_color:L.attr("data-medium-color")),L.css("background",L.hasClass("selected")?l.selected_color:L.attr("data-medium-color"))})}),E.on("found",function(){ye.css("background",l.found_color).addClass("found")}),E.on("not-found",function(){ye.css("background",V).removeClass("found")})}),this.onMediaEvent("resettimerange",function(){l.$segments.each(function(){var E=jQuery(this);E.removeClass("selected")})}),this.$.css({width:this.width+"px",height:((1-this.overlap)*v.length+this.overlap)*this.line_height+"px",background:this.background,margin:"1px 0"}),this.$segments=this.$.find(".Ldt-Segments-Segment")}draw(){var o=this;o.onMediaEvent("timeupdate","onTimeupdate"),o.renderTemplate(),o.do_draw(),this.no_tooltip||o.insertSubwidget(o.$.find(".Ldt-Segments-Tooltip"),{type:"Tooltip",min_x:0,max_x:this.width},"tooltip"),o.source.getAnnotations().on("search",function(){searching=!0}),o.source.getAnnotations().on("search-cleared",function(){searching=!1,_this.$segments.each(function(){var l=jQuery(this);l.css("background",l.attr("data-medium-color")).removeClass("found")})}),this.$.on("resize",function(){o.do_draw(!0)})}onTimeupdate(o){var l=Math.floor(this.width*o/this.media.duration);this.$.find(".Ldt-Segments-Position").css({left:l+"px"})}},Or(e,"defaults",{annotation_type:"chap",colors:["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5"],line_height:8,background:"#e0e0e0",overlap:.25,found_color:"#FF00FC",faded_found_color:"#ff80fc",selected_color:"#74d600",faded_selected_color:"#baf9b5",no_tooltip:!1,use_timerange:!1,scale_to_parent:!0}),Or(e,"template",'<div class="Ldt-Segments-List"></div><div class="Ldt-Segments-Position"></div><div class="Ldt-Segments-Tooltip"></div>'),Or(e,"annotationTemplate",'<div class="Ldt-Segments-Segment Ldt-TraceMe" trace-info="segment-id:{{id}}, media-id:{{media_id}}, from:{{from}}, to:{{to}}" segment-text="{{text}}"style="top:{{top}}px; height:{{height}}px; left:{{left}}px; width:{{width}}px; background:{{medcolor}}" data-base-color="{{color}}" data-low-color="{{lowcolor}}" data-medium-color="{{medcolor}}"></div>'),e},shortcutsStyles={},Shortcuts=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){var o=this;Mousetrap.bindGlobal("ctrl+space",function(l){return l.preventDefault(),o.media.getPaused()?o.media.play():o.media.pause(),!1}),Mousetrap.bindGlobal("ctrl+left",function(l){return l.preventDefault(),o.media.setCurrentTime(Math.max(0,o.media.getCurrentTime()-o.time_increment)),!1}),Mousetrap.bindGlobal("ctrl+shift+left",function(l){return l.preventDefault(),o.media.setCurrentTime(Math.max(0,o.media.getCurrentTime()-5*o.time_increment)),!1}),Mousetrap.bindGlobal("ctrl+right",function(l){return l.preventDefault(),o.media.setCurrentTime(Math.min(o.media.duration,o.media.getCurrentTime()+o.time_increment)),!1}),Mousetrap.bindGlobal("ctrl+shift+right",function(l){return l.preventDefault(),o.media.setCurrentTime(Math.min(o.media.duration,o.media.getCurrentTime()+5*o.time_increment)),!1}),Mousetrap.bindGlobal("ctrl+a",function(l){return l.preventDefault(),o.player.trigger("CreateAnnotation.toggle"),!1})}},Or(e,"defaults",{time_increment:2e3}),e},sliceStyles={},Slice=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),this.sliding=!1}draw(){this.renderTemplate(),this.$slider=this.$.find(".Ldt-Slice"),this.show_arrow&&this.insertSubwidget(this.$.find(".Ldt-Slice-Arrow"),{type:"Arrow"},"arrow"),this.min=0,this.max=this.media.duration.valueOf();var o=this,l;this.$slider.slider({range:!0,values:[0,this.max],min:0,max:this.max,change:function(t,u){o.arrow&&o.arrow.moveToTime((u.values[0]+u.values[1])/2),o.onBoundsChanged&&o.onBoundsChanged(u.values[0],u.values[1])},start:function(){o.sliding=!0,o.media.getPaused()||o.media.pause(),l=o.media.getCurrentTime()},slide:function(t,u){o.media.setCurrentTime(u.value)},stop:function(){o.sliding=!1,o.media.setCurrentTime(l)}}),this.$slider.find(".ui-slider-handle:first").addClass("Ldt-Slice-left-handle"),this.$slider.find(".ui-slider-handle:last").addClass("Ldt-Slice-right-handle"),this.getWidgetAnnotations().forEach(function(t){t.on("enter",function(){o.setBounds(t.begin,t.end)})}),this.player.on("annotation-click",function(t){o.setBounds(t.begin,t.end)})}setBounds(o,l){this.$slider.slider("values",[o,l])}show(){this.$slider.show()}hide(){this.$slider.hide()}},Or(e,"defaults",{show_arrow:!1}),Or(e,"template",'<div class="Ldt-Slice"></div>{{#show_arrow}}<div class="Ldt-Slice-Arrow"></div>{{/show_arrow}}'),e},slidePreviewStyles={},SlidePreview=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){this.getWidgetAnnotations().sortBy(function(t){return t.begin});var o=this;o.renderTemplate();var l=o.$.find(".Ldt-SlidePreview-Slides");this.getWidgetAnnotations().forEach(function(t){var u={id:t.id,content:n.textFieldHtml(t.title),begin:t.begin.toString(),ms:t.begin.milliseconds,thumbnail:t.thumbnail},h=mustache.render(o.annotationTemplate,u),v=jQuery(h);l.append(v)}),o.$.on("click",".Ldt-SlidePreview-Item",function(){o.media.setCurrentTime(Number(this.dataset.timecode))})}},Or(e,"defaults",{annotation_type:"Slides"}),Or(e,"template",'<div class="Ldt-SlidePreview-Container"><div class="Ldt-SlidePreview-Slides"></div></div>'),Or(e,"annotationTemplate",'<div data-id="{{ id }}" data-timecode="{{ ms }}" class="Ldt-SlidePreview-Item"><img title="{{ begin }} - {{ atitle }}" class="Ldt-AnnotationsList-Thumbnail" src="{{ thumbnail }}"></div>'),e},sliderStyles={},Slider=function(n){var e;return e=class extends n.Widgets.Widget{constructor(l,t){super(l,t);Or(this,"calculateHandleCss",function(l){return{height:2+l+"px",width:2+l+"px","margin-left":-Math.ceil(2+l/2)+"px"}})}draw(){this.renderTemplate(),this.$time=this.$.find(".Ldt-Slider-Time"),this.$slider=this.$.find(".Ldt-Slider");var l=this;this.$slider.slider({range:"min",value:0,min:0,max:this.source.getDuration().milliseconds,slide:function(t,u){l.media.setCurrentTime(u.value),l.player.trigger("Mediafragment.setHashToTime")}}),this.$handle=this.$slider.find(".ui-slider-handle"),this.onMediaEvent("timeupdate","onTimeupdate"),this.onMdpEvent("Player.MouseOver","onMouseover"),this.onMdpEvent("Player.MouseOut","onMouseout"),this.minimize_timeout&&(this.$slider.css(this.calculateSliderCss(this.minimized_height)),this.$handle.css(this.calculateHandleCss(this.minimized_height)),this.maximized=!1,this.timeoutId=!1),this.$slider.mouseover(function(){l.$time.show(),l.onMouseover()}).mouseout(this.functionWrapper("onMouseout")).mousemove(function(t){var u=t.pageX-l.$.offset().left,h=new n.Model.Time(l.media.duration*u/l.width);l.$time.text(h.toString()).css("left",u)})}onTimeupdate(l){this.$slider.slider("value",l),this.player.trigger("Arrow.updatePosition",{widget:this.type,time:l})}onMouseover(){this.minimize_timeout&&(this.timeoutId&&(window.clearTimeout(this.timeoutId),this.timeoutId=!1),this.maximized||(this.animateToHeight(this.maximized_height),this.maximized=!0))}onMouseout(){if(this.$time.hide(),this.minimize_timeout){this.timeoutId&&(window.clearTimeout(this.timeoutId),this.timeoutId=!1);var l=this;this.timeoutId=window.setTimeout(function(){l.maximized&&(l.animateToHeight(l.minimized_height),l.maximized=!1),l.timeoutId=!1},this.minimize_timeout)}}animateToHeight(l){this.$slider.stop().animate(this.calculateSliderCss(l),500,function(){jQuery(this).css("overflow","visible")}),this.$handle.stop().animate(this.calculateHandleCss(l),500,function(){jQuery(this).css("overflow","visible")})}calculateSliderCss(l){return{height:l+"px","margin-top":this.minimized_height-l+"px"}}},Or(e,"defaults",{minimized_height:4,maximized_height:4,minimize_timeout:1500}),Or(e,"template",'<div class="Ldt-Slider"></div><div class="Ldt-Slider-Time">00:00</div>'),e},slideVideoPlayerStyles={},SlideVideoPlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(l,t){super(l,t);Or(this,"template",'<div class="Ldt-SlideVideoPlayer">  <div class="Ldt-SlideVideoPlayer-slide Ldt-SlideVideoPlayer-panel">  </div>  <div class="Ldt-SlideVideoPlayer-video Ldt-SlideVideoPlayer-panel">  </div></div>')}draw(){var l=this;l.renderTemplate(),this.insertSubwidget(l.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-slide"),{type:"ImageDisplay",annotation_type:l.annotation_type},"slide"),this.insertSubwidget(l.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-video"),{type:l.playerModule,video:l.video,width:"100%",url_transform:l.url_transform},"player"),l.mode=="pip"?(l.$.find(".Ldt-SlideVideoPlayer-panel").append('<div class="Ldt-SlideVideoPlayer-pip-menu"><div class="Ldt-SlideVideoPlayer-pip-menu-toggle"></div></div>'),l.$.on("click",".Ldt-SlideVideoPlayer-pip-menu-toggle",function(){l.toggleMainDisplay()}),window.setTimeout(function(){l.setMainDisplay("video")},1500)):window.setTimeout(function(){l.$.find(".Ldt-SlideVideoPlayer").touchSplit({orientation:screen.height>screen.width?"vertical":"horizontal",leftMin:20,topMin:20})},1500)}toggleMainDisplay(){this.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-video").hasClass("Ldt-SlideVideoPlayer-pip-main")?this.setMainDisplay("slides"):this.setMainDisplay("video")}setMainDisplay(l){var t=this.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-video"),u=this.$.find(".Ldt-SlideVideoPlayer-panel.Ldt-SlideVideoPlayer-slide");if(l=="slides"){var h=t;t=u,u=h}t.removeClass("Ldt-SlideVideoPlayer-pip-pip").addClass("Ldt-SlideVideoPlayer-pip-main"),u.removeClass("Ldt-SlideVideoPlayer-pip-main").addClass("Ldt-SlideVideoPlayer-pip-pip")}},Or(e,"defaults",{playerModule:"HtmlPlayer",mode:"sidebyside"}),e},socialStyles={},Social=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){this.renderTemplate(),this.clipId=_$1.uniqueId("Ldt-Social-CopyBtn-"),this.$.find(".Ldt-Social-CopyBtn").attr("id",this.clipId);var o=this;this.$.find(".Ldt-Social-Url").click(function(){return o.toggleCopy(),!1}).on("dragstart",function(l){l.originalEvent.dataTransfer.setData("text/x-iri-title",o.text),l.originalEvent.dataTransfer.setData("text/x-iri-uri",o.url)}),this.$.find(".Ldt-Social-Input").focus(function(){this.select()}),this.$.find(".Ldt-Social-Ext").click(function(){return window.open(jQuery(this).attr("href"),"_blank","height=300,width=450,left=100,top=100,toolbar=0,menubar=0,status=0,location=0"),!1}),this.updateUrls(this.url,this.text)}toggleCopy(){var o=this.$.find(".Ldt-Social-UrlPop");o.toggle(),this.$.find(".Ldt-Social-Input").val(this.url).focus()}updateUrls(o,l){this.url=o,this.text=l,this.$.find(".Ldt-Social-Fb").attr("href","http://www.facebook.com/share.php?"+jQuery.param({u:o,t:l})),this.$.find(".Ldt-Social-Twitter").attr("href","https://twitter.com/intent/tweet?"+jQuery.param({url:o,text:l})),this.$.find(".Ldt-Social-Gplus").attr("href","https://plus.google.com/share?"+jQuery.param({url:o,title:l})),this.$.find(".Ldt-Social-Mail").attr("href","mailto:?"+jQuery.param({subject:l,body:l+": "+o}))}},Or(e,"defaults",{text:"",url:"",show_url:!0,show_twitter:!0,show_fb:!0,show_gplus:!0,show_mail:!0}),Or(e,"template",'<span class="Ldt-Social">{{#show_url}}<div class="Ldt-Social-Url-Container"><a href="#" draggable="true" target="_blank" class="Ldt-Social-Square Ldt-Social-Url Ldt-TraceMe" title="{{l10n.share_link}}"></a><div class="Ldt-Social-UrlPop"><input class="Ldt-Social-Input"/></div></div>{{/show_url}}{{#show_fb}}<a href="#" target="_blank" class="Ldt-Social-Fb Ldt-Social-Ext Ldt-TraceMe" title="{{l10n.share_on}} Facebook"></a>{{/show_fb}}{{#show_twitter}}<a href="#" target="_blank" class="Ldt-Social-Twitter Ldt-Social-Ext Ldt-TraceMe" title="{{l10n.share_on}} Twitter"></a>{{/show_twitter}}{{#show_gplus}}<a href="#" target="_blank" class="Ldt-Social-Gplus Ldt-Social-Ext Ldt-TraceMe" title="{{l10n.share_on}} Google+"></a>{{/show_gplus}}{{#show_mail}}<a href="#" target="_blank" class="Ldt-Social-Mail Ldt-TraceMe" title="{{l10n.share_mail}}"></a>{{/show_mail}}</span>'),Or(e,"messages",{fr:{share_on:"Partager sur",share_mail:"Envoyer par courriel",share_link:"Partager le lien hypertexte",copy:"Copier"},en:{share_on:"Share on",share_mail:"Share by e-mail",share_link:"Share hypertext link",copy:"Copy"}}),e},Sparkline=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){for(var o=[],l=this.source.getDuration(),t=0,u=this.getWidgetAnnotations(),h=0;h<this.slice_count;h++){var v=h*l/this.slice_count,w=(h+1)*l/this.slice_count,A=0;u.forEach(function(B){if(B.begin<w&&B.end>=v){var F=B.getDuration().milliseconds;F?A+=(Math.min(B.end,w)-Math.max(B.begin,v))/F:A+=1}}),t=Math.max(t,A),o.push(A)}if(t){this.paper=new Raphael(this.$[0],this.width,this.height);var E=(this.height-this.margin)/t,C=this.width/this.slice_count,M=this,P=_$1(o).map(function(B){return M.margin+M.height-E*B}).value(),I=_$1(P).reduce(function(B,F,N){return B+(N?"C"+N*C+" "+P[N-1]+" "+N*C+" "+F+" "+(N+.5)*C+" "+F:"M0 "+F+"L"+.5*C+" "+F)},"")+"L"+this.width+" "+P[P.length-1],j=I+"L"+this.width+" "+this.height+"L0 "+this.height;this.paper.path(j).attr({stroke:"none",fill:this.fillColor}),this.paper.path(I).attr({fill:"none",stroke:this.lineColor,"stroke-width":this.lineWidth}),this.rectangleProgress=this.paper.rect(0,0,0,this.height).attr({stroke:"none",fill:"#808080",opacity:.3}),this.ligneProgress=this.paper.path("M0 0L0 "+this.height).attr({stroke:"#ff00ff","line-width":2}),this.$.click(function(B){var F=B.pageX-M.$.offset().left;M.media.setCurrentTime(M.media.duration*F/M.width)}),this.onMediaEvent("timeupdate","onTimeupdate")}}onTimeupdate(o){var l=Math.floor(this.width*o/this.media.duration);this.rectangleProgress.attr({width:l}),this.ligneProgress.attr({path:"M"+l+" 0L"+l+" "+this.height})}},Or(e,"defaults",{lineColor:"#7492b4",fillColor:"#aeaeb8",lineWidth:2,slice_count:20,height:50,margin:5}),e},SpelSyncHtml=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),console.log("Calling IriSP.Widget's constructor from IriSP.HelloWorldWidget")}draw(){this.renderTemplate();var o=this.$.find("iframe")[0],l=this.src.replace(/#.*$/,"");this.getWidgetAnnotations().forEach(function(t){t.on("enter",function(){t.content&&t.content.data&&t.content.data.ref_text&&(o.src=l+"#"+t.content.data.ref_text)})})}},Or(e,"defaults",{src:"about:blank"}),Or(e,"template",'<div class="Ldt-SpelSyncHtml"><iframe src="{{src}}" {{#width}}width="{{width}}"{{/width}} {{#height}}height="{{height}}"{{/height}}</div>'),e},tagcloudStyles={},Tagcloud=function(n){var e;return e=class extends n.Widgets.Widget{constructor(l,t){super(l,t);Or(this,"stopword_lists",{fr:["aussi","avec","aux","bien","car","cette","comme","dans","des","donc","dont","elle","encore","entre","est","être","eux","faire","fait","http","ici","ils","les","leur","leurs","mais","mes","même","mon","notre","non","nos","nous","ont","par","pas","peu","peut","plus","pour","quand","que","qui","quoi","sans","ses","son","sont","sur","tes","très","the","ton","tous","tout","une","votre","vos","vous"],en:["about","again","are","and","because","being","but","can","done","have","for","from","get","here","http","like","more","one","our","she","that","the","their","then","there","they","this","very","what","when","where","who","why","will","with","www","you","your"]});this.stopwords=_$1.uniq([].concat(this.custom_stopwords).concat(this.stopword_lists[this.stopword_language]))}draw(){if(this.segment_annotation_type){var l=this;this.source.getAnnotationsByTypeTitle(this.segment_annotation_type).forEach(function(t){t.on("enter",function(){l.redraw(t.begin,t.end)})})}else this.redraw()}redraw(l,t){var u=/https?:\/\/[0-9a-zA-Z\.%\/-_]+/g,h={},v=this,w=this.getWidgetAnnotations();if(!this.include_titles&&!this.include_descriptions)var A=/[^\.&;,'"!\?\d\(\)\+\[\]\\\…\-«»\/]{3,}/g;else var A=/[^\s\.&;,'"!\?\d\(\)\+\[\]\\\…\-«»:\/]{3,}/g;if(typeof l<"u"&&typeof t<"u"&&(w=w.filter(function(P){return P.begin>=l&&P.end<=t})),this.remove_zero_duration&&(w=w.filter(function(P){return P.getDuration()>0})),w.forEach(function(P){var I=(v.include_titles?P.title:"")+" "+(v.include_descriptions?P.description:"")+" "+(v.include_tag_texts?P.getTagTexts():"");_$1(I.toLowerCase().replace(u,"").match(A)).each(function(j){j=j.trim(),_$1(v.stopwords).indexOf(j)==-1&&(!v.exclude_pattern||!v.exclude_pattern.test(j))&&(h[j]=1+(h[j]||0))})}),h=_$1(h).chain().map(function(P,I){return{word:I,count:P}}).filter(function(P){return P.count>v.min_count}).sortBy(function(P){return-P.count}).first(this.tag_count).value(),h&&h.length){var E=h[0].count,C=Math.min(h[h.length-1].count,E-1),M=(this.max_font_size-this.min_font_size)/Math.sqrt(E-C);_$1(h).each(function(P){P.size=Math.floor(v.min_font_size+M*Math.sqrt(P.count-C))})}this.$.html(mustache.render(this.constructor.template,{words:h})),this.$.find(".Ldt-Tagcloud-item").click(function(){var P=jQuery(this).attr("content");v.source.getAnnotations().searchByTags(P)}),this.source.getAnnotations().on("search",this.functionWrapper("onSearch")),this.source.getAnnotations().on("search-cleared",this.functionWrapper("onSearch"))}onSearch(l){if(l=typeof l<"u"?l:"",l)var t=n.Model.regexpFromTextOrArray(l);this.$.find(".Ldt-Tagcloud-item").each(function(){var u=jQuery(this),h=u.attr("content");l?u.html(h.replace(t,'<span class="Ldt-Tagcloud-active">$1</span>')):u.html(h)})}},Or(e,"template",'<div class="Ldt-Tagcloud-Container"><ul class="Ldt-Tagcloud-List">{{#words}}<li class="Ldt-Tagcloud-item Ldt-TraceMe" trace-info="tag:{{word}}" content="{{word}}" style="font-size: {{size}}px">{{word}}</li>{{/words}}</ul></div>'),Or(e,"defaults",{include_titles:!0,include_descriptions:!0,include_tag_texts:!0,tag_count:30,stopword_language:"fr",custom_stopwords:[],exclude_pattern:!1,annotation_type:!1,segment_annotation_type:!1,min_font_size:10,max_font_size:26,min_count:2,remove_zero_duration:!1}),e},Title=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){this.renderTemplate()}},Or(e,"defaults",{media_title:!1}),Or(e,"template",'<div class="Ldt-TitleWidget"><h2>{{#media_title}}{{media.title}}{{/media_title}}{{^media_title}}{{source.title}}{{/media_title}}</h2></div>'),e},tooltipStyles={},Tooltip=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){const o=this;this.renderTemplate(),this.$.parent().css({position:"relative"}),this.$tooltip=this.$.find(".Ldt-Tooltip"),this.$tip=this.$.find(".Ldt-Tooltip-Tip"),this.$sw=this.$.find(".Ldt-Tooltip-Border-SW"),this.$se=this.$.find(".Ldt-Tooltip-Border-SE"),this.__halfWidth=Math.floor((this.$.find(".Ldt-Tooltip-Main").width()||192)/2),this.__borderWidth=this.$.find(".Ldt-Tooltip-Border-Left").width(),this.__tipDelta=this.__halfWidth-Math.floor(this.$tip.width()/2),this.__maxShift=this.__tipDelta-this.__borderWidth,this.$.mouseover(function(){o.$tooltip.hide()}),this.hide()}show(o,l,t,u){if(typeof u<"u")if(typeof u=="string")this.$.find(".Ldt-Tooltip-Color").html(""),this.$.find(".Ldt-Tooltip-Color").show().css("background-color",u),this.$.find(".Ldt-Tooltip-Color").show().css("height","");else{var h=this.$.find(".Ldt-Tooltip-Color");h.html(""),h.show();for(var v=0;v<u.length;v++)h.append('<div style="float: left; height: 10px; width: 10px; background-color: '+u[v]+'">');this.$.find(".Ldt-Tooltip-Color").css("height",u.length*10+"px")}else this.$.find(".Ldt-Tooltip-Color").hide();this.$.find(".Ldt-Tooltip-Text").html(t),this.$tooltip.show();var w=0;typeof this.min_x<"u"&&o-this.__halfWidth<this.min_x&&(w=Math.max(o-this.__halfWidth-this.min_x,-this.__maxShift)),typeof this.max_x<"u"&&+o+this.__halfWidth>this.max_x&&(w=Math.min(+o+this.__halfWidth-this.max_x,this.__maxShift)),this.$tooltip.css({left:o-w+"px",top:l+"px"}),this.$tip.css({left:this.__tipDelta+w+"px"}),this.$sw.css({width:this.__tipDelta+w-this.__borderWidth+"px"}),this.$se.css({width:this.__tipDelta-w-this.__borderWidth+"px"})}hide(){this.$tooltip.hide()}},Or(e,"defaults",{}),Or(e,"template",'<div class="Ldt-Tooltip"><div class="Ldt-Tooltip-Main"><div class="Ldt-Tooltip-Corner-NW"></div><div class="Ldt-Tooltip-Border-Top"></div><div class="Ldt-Tooltip-Corner-NE"></div><div class="Ldt-Tooltip-Border-Left"></div><div class="Ldt-Tooltip-Border-Right"></div><div class="Ldt-Tooltip-Corner-SW"></div><div class="Ldt-Tooltip-Border-SW"></div><div class="Ldt-Tooltip-Tip"></div><div class="Ldt-Tooltip-Border-SE"></div><div class="Ldt-Tooltip-Corner-SE"></div><div class="Ldt-Tooltip-Inner"><div class="Ldt-Tooltip-Color"></div><p class="Ldt-Tooltip-Text"></p></div></div></div>'),e},transcriptStyles={},Transcript=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){var o=this.getWidgetAnnotations(),l=this,t;if(l.renderTemplate(),t=l.$.find(".Ldt-TranscriptWidget"),l.use_vtt_track){var u=l.player.widgets.filter(function(v){return v.type=="HtmlPlayer"});if(u){var h=u[0].$.find("video")[0];h.addEventListener("loadedmetadata",function(){var v=h.textTracks[0],w=v.cues,A=1;Array.prototype.forEach.apply(w,[function(E){E.id="cue"+A;var C=mustache.render(l.annotationTemplate,{id:E.id,content:E.text,begin:1e3*E.startTime,end:1e3*E.endTime});A+=1;var M=jQuery(C);t.append(M)}]),v.addEventListener("cuechange",function(){var E=v.activeCues;E.length>0&&(l.$.find(".Ldt-Transcript-Annotation.active").removeClass("active"),Array.prototype.forEach.apply(E,[function(C){l.$.find("#"+C.id).addClass("active")}]))},!1),t.on("click",".Ldt-Transcript-Annotation",function(){l.media.setCurrentTime(this.dataset.begin)})})}else console.log("cannot find a video object")}else o.forEach(function(v){var w={id:v.id,content:n.textFieldHtml(v.title),begin:v.begin.toString(),end:v.end.toString()},A=mustache.render(l.annotationTemplate,w),E=jQuery(A);t.append(E)})}},Or(e,"defaults",{annotation_type:"Caption",use_vtt_track:!1}),Or(e,"template",'<div class="Ldt-TranscriptWidget"></div>'),Or(e,"annotationTemplate",'<span data-begin="{{ begin }}" data-end="{{ end }}" data-id="{{ id }}" class="Ldt-Transcript-Annotation">{{ content }}</span>  '),e},tweetStyles={},Tweet=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l),this.lastAnnotation=!1}draw(){this.renderTemplate(),this.pinned=this.pin_at_start;var o=this;this.$.find(".Ldt-Tweet-Pin").click(function(){o.pinned=!o.pinned;var l=jQuery(this);o.pinned?(l.addClass("active").attr("title",o.l10n.dont_keep_visible),o.cancelTimeout()):(l.removeClass("active").attr("title",o.l10n.keep_visible),o.hideTimeout())}),this.$.find(".Ldt-Tweet-Close").click(function(){o.hide()}),this.$.hide(),this.getWidgetAnnotations().forEach(function(l){l.on("click",function(){o.show(l)})})}show(o){if(typeof o<"u"&&typeof o.source<"u"){var l=[[/#(\w+)/gm,function(M){return'<a href="http://twitter.com/search?q=%23'+M[1]+'" target="_blank">'},"</a>"]],t=_$1(o.source.entities.urls).sortBy(function(M){return M.indices[0]}),u=0,h="";_$1(t).each(function(M){M.indices[0]>=u&&(h+=o.source.text.substring(u,M.indices[0]),h+=typeof M.expanded_url<"u"&&M.expanded_url!==null?M.expanded_url:M.url,u=M.indices[1])}),h+=o.source.text.substring(u);for(var v=0;v<this.polemics.length;v++){var w=n.Model.regexpFromTextOrArray(this.polemics[v].keywords);l.push([w,'<span style="background: '+this.polemics[v].color+'">',"</span>"])}var w=o.found&&_this.source.getAnnotations().regexp||!1,A=o.source.user?o.source.user.profile_image_url:o.source.profile_image_url,E=o.source.user?o.source.user.screen_name:o.source.from_user,C=o.source.user?o.source.user.name:o.source.from_user_name;this.$.find(".Ldt-Tweet-Avatar").attr("src",A),this.$.find(".Ldt-Tweet-ScreenName").html("@"+E),this.$.find(".Ldt-Tweet-ProfileLink").attr("href","https://twitter.com/"+E),this.$.find(".Ldt-Tweet-FullName").html(C),this.$.find(".Ldt-Tweet-Contents").html(n.textFieldHtml(h,w,l)),this.$.find(".Ldt-Tweet-Time").html(this.l10n.original_time+new Date(o.source.created_at).toLocaleTimeString()+" / "+this.l10n.video_time+o.begin.toString()),this.$.find(".Ldt-Tweet-Retweet").attr("href","https://twitter.com/intent/retweet?tweet_id="+o.source.id_str),this.$.find(".Ldt-Tweet-Reply").attr("href","https://twitter.com/intent/tweet?in_reply_to="+o.source.id_str),this.$.find(".Ldt-Tweet-Original").attr("href","https://twitter.com/"+E+"/status/"+o.source.id_str),this.player.trigger("Annotation.minimize"),this.$.slideDown(),this.cancelTimeout(),this.pinned||this.hideTimeout()}else this.hide()}hide(){this.player.trigger("Annotation.maximize"),this.$.slideUp(),this.cancelTimeout()}cancelTimeout(){typeof this.hide_timer<"u"&&(window.clearTimeout(this.hide_timer),this.hide_timer=void 0)}hideTimeout(){this.cancelTimeout(),this.hide_timer=window.setTimeout(this.functionWrapper("hide"),this.hide_timeout)}},Or(e,"defaults",{hide_timeout:1e4,polemics:[{keywords:["++"],color:"#30d765"},{keywords:["--"],color:"#f51123"},{keywords:["=="],color:"#f1e24a"},{keywords:["??"],color:"#05aae6"}],annotation_type:"tweet",pin_at_start:!1}),Or(e,"messages",{fr:{retweet:"Retweeter",reply:"Répondre",keep_visible:"Empêcher la fermeture automatique",dont_keep_visible:"Permettre la fermeture automatique",close_widget:"Fermer l'affichage du tweet",original_time:"Heure d'envoi : ",video_time:"Temps de la vidéo : ",show_original:"Voir l'original"},en:{retweet:"Retweet",reply:"Reply",keep_visible:"Keep visible",dont_keep_visible:"Don't keep visible",close_widget:"Close tweet display",original_time:"Tweet sent at: ",video_time:"Video time: ",show_original:"Show original"}}),Or(e,"template",'<div class="Ldt-Tweet-Widget"><div class="Ldt-Tweet-Inner"><div class="Ldt-Tweet-PinClose-Buttons"><a href="#" class="Ldt-Tweet-Pin Ldt-TraceMe{{#pin_at_start}} active" title="{{l10n.dont_keep_visible}}{{/pin_at_start}}{{^pin_at_start}}" title="{{l10n.keep_visible}}{{/pin_at_start}}"></a><a href="#" class="Ldt-Tweet-Close Ldt-TraceMe" title="{{l10n.close_widget}}"></a></div><div class="Ldt-Tweet-AvatarContainer"><a href="#" class="Ldt-Tweet-ProfileLink" target="_blank"><img src="" class="Ldt-Tweet-Avatar"/></a></div><h3><a href="#" class="Ldt-Tweet-ProfileLink Ldt-Tweet-ScreenName" target="_blank"></a> (<span class="Ldt-Tweet-FullName"></span>)</h3><p class="Ldt-Tweet-Contents"></p><div class="Ldt-Tweet-Bottom"><span class="Ldt-Tweet-Time"></span><a class="Ldt-Tweet-Original" href="" target="_blank">{{l10n.show_original}}</a><a href="" target="_blank" class="Ldt-Tweet-Retweet"><div class="Ldt-Tweet-Icon"></div>{{l10n.retweet}}</a><a href="" target="_blank" class="Ldt-Tweet-Reply"><div class="Ldt-Tweet-Icon"></div>{{l10n.reply}}</a></div></div></div>'),e},AutoPlayer=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){typeof this.video>"u"&&(this.video=this.media.video);var o=["live","provider","autostart","streamer","video","height","width","url_transform","dailymotionPlayerId"],l={},t=[{regexp:/\.(mp4|m4v|mp3)$/,type:"AdaptivePlayer"},{regexp:/\.(ogg|ogv|webm)$/,type:"HtmlPlayer"},{regexp:/^(https?:\/\/)?(www\.)?youtube\.com/,type:"VideojsPlayer"},{regexp:/^(https?:\/\/)?(www\.)?vimeo\.com/,type:"VideojsPlayer"},{regexp:/^(https?:\/\/)?(www\.)?dailymotion\.com/,type:"VideojsPlayer"}];if(this.video){for(var u=0;u<t.length;u++)if(t[u].regexp.test(this.video.toLowerCase())){l.type=t[u].type;break}}if(typeof l.type>"u"&&(l.type=this.default_type),l.type==="AdaptivePlayer"){var h=document.createElement("video").canPlayType('video/mp4; codecs="avc1.42E01E"');l.type=h!=="no"?"HtmlPlayer":"JwpPlayer"}for(var u=0;u<o.length;u++)typeof this[o[u]]<"u"&&(l[o[u]]=this[o[u]]);this.insertSubwidget(this.$,l)}},Or(e,"defaults",{default_type:"HtmlPlayer"}),e},MultiSegments=function(n){var e;return e=class extends n.Widgets.Widget{constructor(o,l){super(o,l)}draw(){var o=this,l=[],t=null,u={},h={};_$1(this).each(function(v,w){/^segments_/.test(w)&&(u[w.replace(/^segments_/,"")]=v),/^annotation_/.test(w)&&(h[w.replace(/^annotation_/,"")]=v)}),this.source.getAnnotationTypes().forEach(function(v){var w=v.getAnnotations().filter(function(C){return C.getDuration()>0&&C.getMedia().id==o.media.id});if(w.length){var A=!1,E={segmentWidget:jQuery("<div>"),annotationWidget:jQuery("<div>"),hasSegmentsNow:function(){var C=o.media.getCurrentTime();return!!w.filter(function(M){return M.begin<=C&&M.end>C}).length},hide:function(){A&&(A=!1,this.annotationWidget.slideUp())},show:function(){A||(A=!0,this.annotationWidget.slideDown())}};E.segmentWidget.addClass("Ldt-MultiSegments-Segment").appendTo(o.$),o.show_all||E.segmentWidget.on("mouseenter",function(){E.hasSegmentsNow()&&(t=E)}),E.annotationWidget.addClass("Ldt-MultiSegments-Annotation").appendTo(o.$).hide(),o.insertSubwidget(E.segmentWidget,_$1({type:"Segments",annotation_type:v,width:"100%"}).extend(u).value()),o.insertSubwidget(E.annotationWidget,_$1({type:"Annotation",annotation_type:v,width:"100%"}).extend(h).value()),l.push(E)}}),jQuery(document).on("click",".Ldt-Segments-Segment",function(v){!o.show_all&&t&&!t.hasSegmentsNow()&&(t=void 0),_$1(l).each(function(w){jQuery(v.target).parent().parent()[0]==w.segmentWidget[0]?(t=w,w.show()):w.hide()})})}},Or(e,"defaults",{annotation_show_arrow:!0,annotation_start_minimized:!1,annotation_show_annotation_type:!0,show_all:!1}),e};function widgets(n){return{AdaptivePlayer:AdaptivePlayer(n),AutoPlayer:AutoPlayer(n),HelloWorld:HelloWorld(n),Annotation:Annotation(n),AnnotationsController:AnnotationsController(n),AnnotationsList:AnnotationsList(n),Arrow:Arrow(n),Controller:Controller(n),CreateAnnotation:CreateAnnotation(n),CurrentSegmentInfobox:CurrentSegmentInfobox(n),DailymotionPlayer:DailymotionPlayer(n),EnrichedPlan:EnrichedPlan(n),Highlighter:Highlighter(n),HtmlMashupPlayer:HtmlMashupPlayer(n),HtmlPlayer:HtmlPlayer(n),ImageDisplay:ImageDisplay(n),JwpPlayer:JwpPlayerWidget(n),LatestAnnotation:LatestAnnotation(n),MashupPlayer:MashupPlayer(n),Mediafragment:Mediafragment(n),MediaList:MediaList(n),MultiSegments:MultiSegments(n),NoteTaking:NoteTaking(n),PlaceholderPlayer:PlaceholderPlayer(n),Polemic:Polemic(n),PopcornPlayer:PopcornPlayer(n),Quiz:Quiz(n),UniqueChoiceQuestion:UniqueChoiceQuestion(n),MultipleChoiceQuestion:MultipleChoiceQuestion(n),QuizCreator:QuizCreator(n),Segments:Segments(n),Shortcuts:Shortcuts(n),Slice:Slice(n),SlidePreview:SlidePreview(n),Slider:Slider(n),SlideVideoPlayer:SlideVideoPlayer(n),Social:Social(n),Sparkline:Sparkline(n),SpelSyncHtml:SpelSyncHtml(n),Tagcloud:Tagcloud(n),Title:Title(n),Tooltip:Tooltip(n),Transcript:Transcript(n),Tweet:Tweet(n),VideojsPlayer:VideojsPlayerWidget(n),styles:{annotationStyles,helloWorldStyles,annotationsControllerStyles,annotationsListStyles,controllerStyles,createAnnotationStyles,currentSegmentInfoboxStyles,enrichedPlanStyles,highlighterStyles,imageDisplayStyles,latestAnnotationStyles,mashupPlayerStyles,mediaListStyles,noteTakingStyles,placeholderPlayerStyles,polemicStyles,quizStyles,quizCreatorStyles,segmentsStyles,shortcutsStyles,sliceStyles,slidePreviewStyles,sliderStyles,slideVideoPlayerStyles,socialStyles,tagcloudStyles,tooltipStyles,transcriptStyles,tweetStyles,videojsStyles}}}typeof window.IriSP>"u"&&(window.IriSP=IriSP$1),IriSP$1.Model=Model(IriSP$1),IriSP$1.htmlPlayer=htmlPlayer,Object.assign(IriSP$1,utils$s(IriSP$1)),IriSP$1.iFrameUpdater=iFrameUpdater,IriSP$1.serializers=serializers(IriSP$1),Object.assign(IriSP$1,defaults()),metadataplayer(IriSP$1),IriSP$1.Widgets=widgetsBase(IriSP$1),Object.assign(IriSP$1.Widgets,widgets(IriSP$1));const main={IriSP:IriSP$1,style:style$1};return main});
 //# sourceMappingURL=LdtPlayer-core.js.map